:root {
    --destaque1: #6ED4A5;
    --destaque2: #4DA57F;

    /* h1 */
    --font-size-xg: clamp(32px, 4vw, 64px);
    /* Icones Header */
    --icon-size: clamp(2rem, 2.8vw, 2.5rem);
    /* h2 */
    --font-size-g: clamp(16px, 2vw, 32px);
    /* h3 */
    --font-size-m: clamp(12px, 1.5vw, 24px);
    /* p */
    --font-size-p: clamp(8px, 1vw, 16px);
}

main {
    margin-top: 100px;
    padding: 0 40px;
    width: 100vw;
    display: flex;
    flex-direction: column;
}

.hero {
    min-height: 85vh;
    margin-top: 30px;
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.hero>div {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.hero .collumn-right {
    display: flex;
    flex-direction: row;
    justify-content: end;
}

h1 {
    font-size: var(--font-size-xg);
    color: var(--destaque2);
    font-weight: 600;
}

h2 {
    line-break: normal;
    font-weight: 400;
    font-size: var(--font-size-g);
    color: #000000e5
}

.hero button {
    width: 60%;
    padding: 20px;
    font-size: var(--font-size-m);
    border-radius: 8px;
    margin-bottom: 20px;
}

.hero button:hover {
    scale: 1.02;
}

.hero button:active {
    scale: 1;
}

.hero #agendar {
    background-color: var(--destaque1);
    color: white;
    font-weight: 700;
    border: none;
}

.hero #servicos {
    background-color: white;
    font-weight: 700;
    border: none;
    color: var(--destaque2);
    border: 3px solid var(--destaque1);
}

.hero #servicos a,
.hero #agendar a {
    text-decoration: none;
    color: inherit;
}

.buttons-mobile {
    display: none;
}

.divisor {
    transform: translateX(-40px);
    width: 100vw;
    height: 100px;
    margin: 0 auto;
    background: rgb(110, 212, 165);
    background: linear-gradient(180deg, rgba(110, 212, 165, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.feedback {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    width: max-content;
}

.feedback .section-title {
    width: 100vw;
    transform: translateX(-40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.feedback-carrousel {
    display: flex;
    margin-top: 100px;
    gap: 10px;
    overflow-x: hidden;
}

.feedback-carrousel .feedback-card {
    background-color: white;
    border: 2px solid rgb(255, 210, 63);
    padding: 15px;
    border-radius: 10px;
    width: 90vw;
    max-width: 450px;
    flex-shrink: 0;
    /* Garante que os cards não encolham */
}

.feedback-card>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feedback-card .stars {
    color: rgb(255, 210, 63);
    font-size: var(--font-size-g);
}

.feedback-card h3 {
    display: inline-block;
    font-size: var(--font-size-g);
}

.feedback-card h4 {
    font-weight: 500;
    line-break: auto;
    font-size: var(--font-size-m);
}

/* Efeito de animação para rolagem infinita */
.feedback-carrousel {
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.feedback-carrousel:hover {
    animation-play-state: paused;
}


@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero .collumn-left {
        width: 100%;
        order: 1;
        /* Certifica-se de que o título vem primeiro */
    }

    .hero .collumn-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        order: 2;
        /* Imagem fica depois do título */
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }

    .hero .collumn-right img {
        width: 80%;
        /* Ajusta o tamanho da imagem */
        height: auto;
    }

    .hero #agendar,
    #servicos {
        display: none;
    }

    .buttons-mobile {
        width: 100%;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    #agendar_m {
        width: 100%;
        background-color: var(--destaque1);
        color: white;
        font-weight: 700;
        border: none;
    }

    #servicos_m {
        width: 100%;
        background-color: white;
        font-weight: 700;
        border: none;
        color: var(--destaque2);
        border: 3px solid var(--destaque1);
    }

    #servicos_m a,
    #agendar_m a {
        text-decoration: none;
        color: inherit;
    }

    .feedback-carrousel {
        white-space: wrap;
    }

    .feedback-card {
        width: 90vw;
    }

}