* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


:root {
    --success: #15803D;
    --shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background: #FAFAF9;
}

a {
    text-decoration: none;
}

li {
    list-style-type: none;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 4px;
}

.contrast {
    color: #15803D;
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 1.5em;

    h2 {
        font-family: "Cormorant Garamond", sans-serif;
        /* font-size: 2.2em; */
        font-size: clamp(2.2em, 3.5vw, 3em);
    }

    p {
        color: #57534E;
    }
}


.whatsapp-fixed-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    /* Centraliza o SVG */
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #25D366;
    /* Cor Verde do WhatsApp */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-fixed-btn:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 60%;
    height: 60%;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* Animations */
.fade-up {
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    opacity: 0;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes letterAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealImage {
    from {
        opacity: 0;
        transform: scale(1.1);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.slide-in-skew {
    opacity: 0;
    transform: translate(-50px, 50px) scale(0.9) skewY(5deg);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-skew.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1) skewY(0deg);
}


/* Header */
#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 4%;
    gap: 1em;
    background: #FFF;
    z-index: 999;
}

#navbar.shadow {
    box-shadow: var(--shadow);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000;

    span {
        font-family: "Cormorant Garamond";
        font-size: 1.4em;
        font-weight: 700;
    }
}

.btn-mobile {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    z-index: 6;

    .close-menu {
        position: absolute;
        top: 0;
        right: 0;
        display: none;
    }

    .open-menu {
        display: none;
    }

}

#navigation {
    display: flex;
    gap: 1.4em;
    position: relative;
    z-index: 5;
    transition: 0.3s ease-out;

    li{
        display: flex;
        align-items: center;
        a {
            font-size: 1em;
            color: #57534E;
            font-weight: 500;
            transition: 0.3s ease;
        }
    
        a:hover {
            color: rgb(21, 128, 61);
        }
    }

    .schedule {
        display: inline-block;
        background: var(--success);
        color: #FFF;
        padding: 10px 16px;
        border-radius: 30px;
        transition: transform 0.3s ease;
    }

    .schedule:hover {
        color: #FFF;
        transform: translateY(-4px) scale(1.05);
    }
}

/* Hero */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-title .word {
    display: inline-block;
    white-space: nowrap;
}

.hero-title .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
}

.hero-title.is-visible .letter {
    animation: letterAppear 0.4s ease forwards;
}


.hero-image {
    opacity: 0;
    animation: revealImage 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.2s;
    will-change: transform, opacity;

    img {
        width: 100%;
    }
}

.hero-content {
    padding: 0 4%;
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    position: relative;
    z-index: 3;

    h1 {
        font-family: "Cormorant Garamond", sans-serif;
        font-size: clamp(3em, 5vw, 4.5em);
        font-weight: 550;
        line-height: 1;
    }

    .contrast,
    .relax {
        font-style: italic;
    }

    .relax {
        color: #CA8A04;
    }

    p {
        color: #57534E;
        font-size: 1.1em;
        line-height: 1.5;
    }

    small {
        text-transform: uppercase;
        color: #166534;
        font-weight: 700;
        background: #F0FDF4;
        padding: 8px 12px;
        border: 1px solid #E5E7EB;
        width: max-content;
        border-radius: 30px;
        letter-spacing: 1px;
    }
}

.cta-buttons {
    display: flex;
    gap: 1em;
    align-items: center;

    .schedule {
        background: var(--success);
        color: #FFF;
        padding: 12px;
        border-radius: 30px;
        transition: transform 0.3s ease;
    }

    .schedule:hover {
        transform: translateY(-4px) scale(1.05);
    }

    .see-treatments-wrapper{
        position: relative;
    }

    .see-treatments-wrapper::before{
        content: '';
        position: absolute;
        bottom: -4px; left: 0;
        width: 0%;
        /* width: 88%; */
        height: 1px;
        background: rgb(87, 83, 78);
        margin-top: 10px;
        transition: all 0.3s ease;
    }

    .see-treatments-wrapper:hover::before{
        width: 88%;
    }

    .see-treatments {
        color: #57534E;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

}


/* Main */
#benefits {
    background: #FFF;
    padding: 6em 0;

    .container {
        display: flex;
        align-items: center;
        gap: 2em;
    }

    .benefit-image {
        border-radius: 50px;
        position: relative;
        display: block;
        z-index: 1;

        img {
            width: 100%;
            border-radius: 50px;
            box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        }
    }

    .benefit-image::before {
        content: "";
        position: absolute;
        top: 10px;
        left: -10px;
        width: 100%;
        height: 100%;
        border: 2px solid rgba(202, 138, 4, .5);
        border-radius: 50px;
        z-index: -1;
    }

    .text-content {
        width: 50%;

        p {
            line-height: 1.4;
        }
    }

    .list-benefits {
        display: flex;
        flex-direction: column;
        gap: 1em;

        li {
            display: flex;
            align-items: center;
            gap: 12px;

            span {
                color: rgb(68, 64, 60);
                font-weight: 500;
            }
        }
    }
}

#treatments {
    padding: 5em 0;


    .treatments-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 1em;

        .small {
            text-transform: uppercase;
            color: var(--success);
            font-weight: 600;
            font-size: 0.9em;
        }

        h2 {
            font-size: 3em;
            font-weight: 500;
            font-family: "Cormorant Garamond", sans-serif;
        }

        p {
            color: #57534E;
            font-size: 1.1em;
        }
    }

    .cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        padding: 20px;
        margin-top: 2em;
    }

    .card {
        width: 100%;
        background: #FFF;
        border-radius: 12px;
        overflow: hidden;
        position: relative;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
        display: flex;
        flex-direction: column;
        transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
        cursor: pointer;

        .image-card {
            img {
                width: 100%;
            }
        }

        .line {
            width: 15%;
            height: 1.80px;
            background: #FACC15;
            transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)
        }

        .text-card {
            display: flex;
            flex-direction: column;
            gap: 1.2em;
            padding: 20px;

            h3 {
                font-family: "Cormorant Garamond", sans-serif;
                font-weight: 800;
                font-size: 1.5em;
            }

            .description {
                color: #57534E;
            }

            .cta-reserve {
                display: inline-block;
                border: 1px solid #E7E5E4;
                padding: 10px;
                text-align: center;
                color: #57534E;
                font-weight: 600;
                border-radius: 8px;
                transition: background 0.3s ease;
            }

            .cta-reserve:hover {
                color: #FFF;
                background: #15803D;
            }
        }
    }

    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    }

    .card:hover .line {
        width: 100%;
    }

    .time {
        display: flex;
        align-items: center;
        gap: 6px;
        background: #FFF;
        padding: 4px 6px;
        border-radius: 30px;
        position: absolute;
        top: 5%;
        right: 5%;

        img {
            width: 18px;
        }

        span {
            color: #454545;
            font-size: 0.8em;
            font-weight: 600;
        }
    }
}

#testimonials {
    padding: 5em 4%;
    position: relative;
    background-color: transparent;

    .testimonials-text-container {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 1em;
        margin-bottom: 3em;

        h2 {
            font-size: 2.2em;
            font-size: 3em;
            font-weight: 500;
            font-family: "Cormorant Garamond", sans-serif;
        }

        .overall-rating {
            display: flex;
            align-items: center;
            justify-content: center;
            background: #FFF;
            padding: 8px;
            border: 1px solid #E7E5E4;
            border-radius: 30px;
            max-width: 400px;
            gap: 10px;
            margin: 0 auto;

            p {
                font-weight: 600;
                font-size: 0.9em;
            }

            span {
                color: #A8A29E;
                font-size: 0.8em;
            }

            .reviews {
                display: flex;
                align-items: center;
                gap: 1px;
            }
        }
    }

    .swiper-container-inner {
        width: 100%;
        overflow: visible;
    }

    .mySwiper {
        width: 100%;
        overflow: hidden;
        padding: 20px 0 60px 0;
    }

    .testimonial-card {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 1.5em;
        background: #FFF;
        padding: 25px;
        border-radius: 15px;
        box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
        margin-bottom: 20px;

        .comment {
            color: #57534E;
            line-height: 1.4;
        }

        .client {
            display: flex;
            align-items: center;
            gap: 10px;

            .photo_client {
                width: 38px;
                height: 38px;
                background: #E7E5E4;
                border-radius: 50%;
                display: flex;
                justify-content: center;
                align-items: center;

                span {
                    font-weight: 600;
                }
            }

            .name-client {
                p {
                    font-size: 0.9em;
                }

                p:first-child {
                    font-weight: 600;
                }

                p:last-child {
                    color: #A8A29E;
                    font-size: 0.8em;
                    margin-top: 2px;
                }
            }
        }
    }

    .swiper-pagination {
        bottom: 10px !important;
    }

    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: #D6D3D1;
        opacity: 1;
    }

    .swiper-pagination-bullet-active {
        background: #57534E !important;
        width: 25px;
        border-radius: 5px;
    }
}

#about-us {
    width: 100%;
    height: 100%;
    padding: 5em 4%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3em;
    position: relative;
    z-index: 2;
    overflow: hidden;

    .about-us-text-container {
        display: flex;
        flex-direction: column;
        gap: 1em;
        margin-bottom: 3em;
        width: 50%;
        color: #FFF;
        position: relative;

        h2 {
            font-size: 3em;
            font-weight: 500;
            font-family: "Cormorant Garamond", sans-serif;
        }

        .contrast {
            color: greenyellow;
        }

        .small {
            color: greenyellow;
            text-transform: uppercase;
            font-size: 0.9em;
            font-weight: 500;
        }
    }

    .description {
        display: flex;
        flex-direction: column;
        gap: 1.5em;
        line-height: 1.7;

        p {
            font-size: 1.1em;
            font-weight: 500;
        }

        .cta-whatsapp {
            padding: 8px;
            border: 1px solid #FFF;
            border-radius: 30px;
            width: 160px;
            text-align: center;
            cursor: pointer;
            transition: background 0.3s ease, color 0.3s ease;
        }

        .cta-whatsapp:hover {
            background: rgb(173, 255, 47);
            border: 1px solid rgb(173, 255, 47);
            color: #000;
        }
    }

    .professional-image {
        img {
            width: 100%;
        }
    }

}

#about-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image: url('../assets/about-us-background.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    z-index: -2;
}

#about-us::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    /* A MÁGICA ESTÁ AQUI */
    -webkit-backdrop-filter: blur(8px);
    /* Suporte para Safari */
    z-index: -1;
}

#photos {
    padding: 5em 4%;

    .photos-text-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 1em;
        margin-bottom: 3em;

        .small {
            text-transform: uppercase;
            color: var(--success);
            font-weight: 600;
            font-size: 1em;
        }

        h2 {
            font-size: 3em;
            font-weight: 500;
            font-family: "Cormorant Garamond", sans-serif;
        }

        p {
            color: #57534E;
            font-size: 1.1em;
        }
    }

    .gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
        gap: 15px;
    }

    .img-box {
        width: 100%;
        height: 100%;
        overflow: hidden;
        border-radius: 12px;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        &:hover img {
            transform: scale(1.1);
        }
    }

    .tall {
        grid-row: span 2;
    }

    .wide {
        grid-column: span 1;
    }

    .gallery .img-box:nth-child(2) {
        grid-column: span 1;
        grid-row: span 2;
    }
}


#faq {
    padding: 5em 4%;
    background-color: #FFFFFF;
}

#faq .faq-text-content {
    text-align: center;
    margin-bottom: 3em;
}

#faq .faq-text-content h2 {
    font-size: 3em;
    font-family: "Cormorant Garamond", sans-serif;
    font-weight: 500;
}

#faq .faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#faq details {
    background: #FFF;
    border: 1px solid #E7E5E4;
    border-radius: 8px;
}

#faq summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-weight: 600;
    color: #1C1917;
    cursor: pointer;
    user-select: none;
}

#faq summary::-webkit-details-marker,
#faq summary::marker {
    display: none;
}

#faq details[open] {
    border-color: #2D5A27;
}

#faq details[open] summary {
    color: #2D5A27;
}

#faq .faq-icon {
    width: 14px;
    height: 14px;
    fill: #A8A29E;
}

#faq details[open] .faq-icon {
    transform: rotate(180deg);
    fill: #2D5A27;
}

#faq p {
    padding: 0 25px 20px;
    color: #57534E;
    line-height: 1.6;
    font-size: 0.95em;
}


/* Footer */
#main-footer {
    background-color: #1C1917;
    color: #A8A29E;
    padding: 5em 4% 2em;
    font-family: sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3em;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.2em;
    color: #FFF;
    margin-bottom: 0.8em;
}

.footer-column h4 {
    color: #FFF;
    font-size: 1.2em;
    margin-bottom: 1.5em;
    font-weight: 500;
}

.footer-column p {
    line-height: 1.6;
    font-size: 0.95em;
}

/* Redes Sociais */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 1.5em;
}

.social-links a {
    color: #A8A29E;
    background: rgba(255, 255, 255, 0.05);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-links a:hover {
    background: #2D5A27;
    color: #FFF;
}

/* Lista de Contato */
.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.2em;
    font-size: 0.9em;
}

.contact-list img {
    filter: brightness(0.7);
}

/* Tabela de Horários */
.hours-table {
    width: 100%;
    font-size: 0.9em;
    border-collapse: collapse;
}

.hours-table td {
    padding: 0.5em 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hours-table .time {
    text-align: right;
    color: #FFF;
}

.hours-table .time-closed {
    text-align: right;
    color: #57534E;
}

/* Iframe do Mapa */
.map-box {
    border-radius: 12px;
    overflow: hidden;
    filter: grayscale(0.5);
}

/* Rodapé Inferior */
.footer-bottom {
    max-width: 1200px;
    margin: 4em auto 0;
    padding-top: 2em;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1em;
    font-size: 0.8em;
}

.footer-bottom p:last-child {
    font-style: italic;
}


/* Responsive */

@media (max-width: 768px) {
    #faq .faq-text-content h2 {
        font-size: 2.2em;
    }

    #faq summary {
        padding: 15px 20px;
        font-size: 0.95em;
    }

    #faq p {
        padding: 0 20px 15px;
        font-size: 0.9em;
    }
}

@media (max-width: 890px) {
    #navbar {
        .open-menu {
            display: flex;
        }
    }

    #navigation {
        flex-direction: column;
        height: 100dvh;
        position: fixed;
        right: -300px;
        top: 0;
        width: 260px;
        background: #FFF;
        padding: 80px 40px;
        gap: 1.2em;
        box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);

        li {
            border-bottom: 1px solid #eeeaea;
            padding-bottom: 1.5em;
        }

        li:last-child {
            margin-top: 1em;
            border-bottom: none;
        }
    }

    #navigation.active {
        display: flex;
        right: 0px;
    }

    .hero {
        width: 100%;
        background-image: url('../assets/image-hero.png');
        min-height: 100vh;
        background-size: cover;
        background-position: top;
        position: relative;
        z-index: 1;
    }

    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #FFF;
        z-index: 2;
        opacity: 0.6;
    }

    .hero-image {
        display: none;
    }

    .hero-content {
        width: 100%;
        justify-content: center;
        align-items: center;

        h1,
        p {
            text-align: center;
        }
    }

    .cta-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    #benefits {
        .container {
            width: 90%;
            flex-direction: column;

            .text-content {
                width: 100%;
            }
        }

        .benefit-image {
            width: 100%;
        }
    }


    #about-us {
        flex-direction: column-reverse;

        .about-us-text-container {
            width: 100%;
        }
    }
}

@media screen and (orientation: landscape) and (max-height: 500px) {
    .hero {
        padding-top: 80px;
    }

    .hero-image {
        img {
            height: 120vh;
        }
    }
}


@media (max-width: 1024px) {
    #photos {
        .gallery {
            grid-template-columns: repeat(2, 1fr);
        }
    }
}

@media (max-width: 600px) {
    #photos {
        .gallery {
            grid-template-columns: 1fr;
            grid-auto-rows: 250px;
        }

        .tall,
        .wide {
            grid-row: span 1;
            grid-column: span 1;
        }
    }
}