* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --default: #99A1AF;
    --primary: #E6D17E;
    --bg-emotional: #171717;
}

body {
    background-color: #272526;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
li {
    font-family: "Playfair", serif;
}

p,
a,
button,
blockquote,
small {
    font-family: "Inter", sans-serif;
    color: #99A1AF;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

button,
a {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animation */
/* .motion-soft-up{
    opacity: 0;
    transform:
    translateY(-50px)
    scale(.96);

     transition:
        opacity .9s cubic-bezier(.22,1,.36,1),
        transform .9s cubic-bezier(.22,1,.36,1);
}
.motion-soft-up.active{
    opacity: 1;
    transform:
    translateY(0),
    scale(1);
} */

.fade-up {
    transform: translateY(30px);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.active {
    transform: translateY(0);
    opacity: 1;
}

.image-reveal {
    opacity: 0;
    transform: scale(1.1);
    filter: blur(5px);
    transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
}

.image-reveal.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

.fade-up-left {
    transform: translateX(-50px);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up-right {
    transform: translateX(50px);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up-left.active,
.fade-up-right.active {
    transform: translateX(0);
    opacity: 1;
}

.motion-card {
    opacity: 0;
    transform:
        translateY(25px) rotateX(20deg);

    transition:
        transform .8s cubic-bezier(.22, 1, .36, 1),
        opacity .8s;
}
.motion-card.active{
    opacity:1;

    transform:
        translateY(0)
        rotateX(0);
}



/* ---------- */

.contrast {
    color: var(--primary);
    font-style: italic;
}

.limit-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.cta-whatsapp {
    background-color: #CBA42A;
    padding: 12px 22px;
    border-radius: 60px;
    color: #0F0F0F;
    box-shadow: 0px 4px 20px 0 rgba(212, 175, 55, 0.30);
}

.cta-whatsapp-outline {
    color: var(--primary);
    border: 1px solid rgba(230, 209, 126, 0.50);
    padding: 18px;
}

.title-section {
    color: #FFFFFF;
    text-align: center;

    h2 {
        font-size: 2.4rem;
    }
}

/* Hero */
.hero {
    background-color: #2c3e50;
    background-image: url('../assets/bg-hero.webp');
    background-position: center center;
    background-size: cover;
    min-height: 600px;
    position: relative;

    >* {
        position: relative;
        z-index: 3;
    }

    .limit-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        padding: 3rem 1.2rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;

        h1 {
            color: #FFFFFF;
            font-weight: 500;
            font-size: clamp(2.4rem, 2vw + 1.8rem, 4rem);
        }

        .subtitle {
            line-height: 1.4;
            width: 80%;
        }

        .btn-container {
            margin-top: 1rem;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 1rem;

            .view-services {
                --bg-color: rgba(229, 211, 179, 0.6);
                color: var(--bg-color);
                border: 1px solid var(--bg-color);
                padding: 12px 16px;
                border-radius: 60px;
            }
        }
    }

    .hero-image {
        flex-basis: 60%;

        .hero-prof {
            width: 100%;
        }

        .logo {
            text-align: center;
            margin: 2rem 0;
            display: none;
        }
    }
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, #111111 50%, rgba(17, 17, 17, 0.8));
    z-index: 2;
}

main {

    section {
        padding: 80px 0;
    }

    #emotional {
        background-color: var(--bg-emotional);
        position: relative;
        padding: 80px 0 0;

        .emotional-ghost {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: -32px;
        }

        .limit-content {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            min-height: 600px;
            color: #D4D4D4;
            gap: 3rem;
            padding: 80px 1rem;

            .title-section {
                margin-bottom: 2rem;
            }

            .quest-container {
                display: flex;
                align-items: flex-start;
                justify-content: center;
                flex-direction: column;
                gap: 1rem;

                li {
                    font-size: 1.2rem;
                    position: relative;
                    border-bottom: 1px solid rgba(229, 229, 229, 0.2);
                    width: 100%;
                    padding-bottom: 1rem;
                }

                li::before {
                    content: '•';
                    margin-right: 12px;
                    color: var(--primary);
                    font-size: 1.2rem;
                }
            }

            .cta-whatsapp-outline {
                width: min(100%, 420px);
                text-align: center;

                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
            }
        }
    }

    #before-after {
        background: url('../assets/bg-eyelash.webp');
        background-size: cover;
        background-position: center center;
        width: 100%;
        min-height: 800px;
        position: relative;

        >* {
            position: relative;
            z-index: 3;
        }

        .cards {
            display: flex;
            gap: 4rem;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;

            .card {
                display: flex;
                align-items: flex-start;
                flex-direction: column;
                position: relative;
                gap: 1rem;

                .before-text,
                .after-text {
                    text-transform: uppercase;
                    font-family: "Playfair", serif;
                    font-size: 1.8rem;
                    letter-spacing: 1px;
                    font-weight: 700;
                }

                .before-text {
                    color: #FFFFFF;
                    margin-left: 20px;
                }

                .after-text {
                    color: #CBA42A;
                    margin-left: 90px;
                }

            }

            .card.mobileOn {
                display: none;
            }
        }

        .cards.mobile {
            .card.mobileOn {
                display: flex;
            }

            .card:nth-child(1),
            .card:nth-child(3) {
                .before-text {
                    margin-left: 20px;
                }

                .after-text {
                    margin-left: 90px;
                }
            }

            .card:nth-child(2) {
                .before-text {
                    margin-left: 110px;
                }

                .after-text {
                    margin-left: 10px;
                }
            }
        }

        @media (max-width: 768px) {
            .cards {
                flex-direction: column;
                align-items: stretch;
                gap: 3rem;
            }

            .cards>* {
                max-width: 80%;
            }

            .cards>*:nth-child(1),
            .cards>*:nth-child(3) {
                align-self: flex-start;
            }

            .cards>*:nth-child(2) {
                align-self: flex-end;
            }
        }
    }

    #before-after::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(22, 20, 18, 0.90);
        backdrop-filter: blur(6px);
        z-index: 2;
    }

    #services {
        width: 100%;
        min-height: 800px;
        background-image: url("../assets/bg-services.png");
        background-size: cover;
        background-position: center center;
        padding: 160px 0;
        margin-top: -80px;
        position: relative;
        z-index: 3;

        mask-image:
            url('../assets/wave-top.svg'),
            linear-gradient(#000, #000),
            url('../assets/wave-bottom.svg');
        mask-position: top center, center center, bottom center;
        mask-repeat: no-repeat, no-repeat, no-repeat;
        mask-size: 1920px auto, 100% calc(100% - 204px), 1920px auto;

        -webkit-mask-image:
            url('../assets/wave-top.svg'),
            linear-gradient(#000, #000),
            url('../assets/wave-bottom.svg');
        -webkit-mask-position: top center, center center, bottom center;
        -webkit-mask-repeat: no-repeat, no-repeat, no-repeat;
        -webkit-mask-size: 1920px auto, 100% calc(100% -204px), 1920px auto;

        .title-section {
            padding: 0 1.2rem;
        }

        .cards-service {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1rem;

            .card {
                background-color: #1D1D1D;
                border: 1px solid rgba(255, 255, 255, 0.05);
                border-radius: 8px;
                overflow: hidden;

                .card-image {
                    display: block;
                    position: relative;

                    img {
                        width: 100%;
                    }
                }

                .card-image::before {
                    content: '';
                    position: absolute;
                    inset: 0;
                    background: rgba(17, 17, 17, 0.30);
                }

                .text-content {
                    padding: 1.4rem;
                    display: flex;
                    align-items: flex-start;
                    justify-content: center;
                    flex-direction: column;
                    gap: 1.2rem;

                    span {
                        text-transform: uppercase;
                    }

                    h3 {
                        color: #FFFFFF;
                        font-size: 1.6rem;
                    }

                    .desc {
                        line-height: 1.4;
                        height: 120px;
                    }

                    .line {
                        width: 100%;
                        height: 1px;
                        background-color: rgba(255, 255, 255, 0.10);
                    }

                    .duration {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        width: 100%;

                        span {
                            color: #99A1AF;
                        }

                        .time {
                            color: rgba(230, 209, 126, 0.9);
                            font-family: "Inter", sans-serif;
                            font-weight: 400;
                        }
                    }

                    .investment {
                        span {
                            color: rgba(230, 209, 126, 0.6);
                            font-family: "Playfair", serif;
                            letter-spacing: 1px;
                            font-size: 0.7rem;
                        }

                        .price {
                            color: var(--primary);
                            font-size: 1.8rem;
                            font-family: "Playfair", serif;
                            font-weight: 700;
                        }
                    }

                    .cta-whatsapp-outline {
                        width: 100%;
                        text-align: center;
                        padding: 14px;
                    }
                }
            }
        }
    }

    #about-us {
        .limit-content {
            display: flex;
            align-items: flex-start;
            gap: 3rem;
        }

        .image-profissional {
            display: inline-block;
            position: relative;
            border-radius: 20px;
            overflow: hidden;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .image-profissional::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, transparent, #0A1416);
        }

        .text-content {
            display: flex;
            align-items: flex-start;
            flex-direction: column;
            gap: 2rem;
            flex-basis: 50%;
            text-align: start;

            .title-section {
                text-align: start;
                text-wrap: balance;
            }

            .desc {
                line-height: 1.8;
            }

            ul {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: 1rem;
                width: 100%;

                li {
                    background: #202020;
                    font-size: 1rem;
                    display: flex;
                    flex-direction: column;
                    padding: 1.3rem 1rem;
                    border-radius: 12px;

                    .title {
                        color: var(--primary);
                        letter-spacing: 1px;
                        font-family: "Inter", sans-serif;
                        text-transform: uppercase;
                    }

                    span {
                        color: #B8B8B8;
                    }
                }
            }
        }
    }

    #testimonials {
        margin: 1rem auto;

        .cards-testimonials {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;

            .card {
                background-color: #1D1D1D;
                padding: 1.4rem;
                display: flex;
                align-items: flex-start;
                gap: 1rem;
                flex-direction: column;
                border: 1px solid rgba(255, 255, 255, 0.10);
                border-radius: 12px;

                blockquote {
                    line-height: 1.4;
                    margin-bottom: auto;
                }

                .perfil {
                    display: flex;
                    align-items: center;
                    gap: 10px;

                    h4 {
                        color: #FFFFFF;
                        font-weight: 400;
                        margin-bottom: 3px;
                    }

                    small {
                        color: rgba(235, 226, 214, 0.30);
                    }
                }
            }

        }
    }

    #cta-end {
        position: relative;
        background: url('../assets/bg-eyelash.webp');
        background-position: center center;
        background-size: cover;

        >* {
            position: relative;
            z-index: 3;
        }

        .title-section {
            .subtitle {
                margin: 1rem 0;
            }

            .cta-whatsapp {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                max-width: 280px;
                width: 100%;
                margin: 0 auto;
            }
        }
    }

    #cta-end::before {
        content: '';
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.90);
        z-index: 2;
    }
}


/* Responsive */
@media (max-width: 520px) {
    .hero {
        .hero-image {
            .hero-prof {
                display: block;
                width: 90%;
                margin: 0 auto;
            }
        }

    }
}

@media (max-width: 920px) {
    .hero {
        .limit-content {
            flex-direction: column-reverse;
            padding: 0 1.2rem 3rem;

            .hero-content {
                text-align: center;
                justify-content: center;
                align-items: center;
                margin-top: -60px;
                z-index: 3;

                .logo {
                    display: none;
                }

                .subtitle {
                    width: 100%;
                }

                .btn-container {
                    margin: 0 auto;

                    a {
                        width: 90%;
                    }
                }
            }

            .hero-image {
                .logo {
                    display: block;

                    img {
                        width: 90px;
                    }
                }
            }
        }
    }

    .hero::before {
        background: linear-gradient(to top, #111111 50%, rgba(17, 17, 17, 0.8));
    }

    main {
        #emotional {
            .emotional-ghost {
                width: 280px;
                top: 40px;
                transform: translateY(0);
                left: -80px;
            }

            .title-section {
                text-align: right;
                width: 100%;

                h2 {
                    font-size: 2rem;
                }
            }
        }

        #services {
            .cards-service {
                gap: 3rem;
            }
        }

        #about-us {
            .limit-content {
                flex-direction: column;
                align-items: center;
            }

            .cta-whatsapp-outline {
                width: 100%;
                text-align: center;
            }
        }
    }
}