/* =========================================================
   ÉLAN
   Clínica de Estética — Projeto Conceitual
========================================================= */

/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ebe7e1;
    color: #1c1b19;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
}

.container {
    width: min(1240px, calc(100% - 80px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 0;
    color: #fff;
    transition:
        background 0.4s ease,
        padding 0.4s ease,
        border 0.4s ease;
}

.header.scrolled {
    position: fixed;
    padding: 20px 0;
    background: rgba(28, 27, 25, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.logo-main {
    font-family: "Playfair Display", serif;
    font-size: 1.7rem;
    font-weight: 500;
    letter-spacing: -0.05em;
}

.logo-sub {
    margin-top: 5px;
    font-family: "DM Mono", monospace;
    font-size: 0.48rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.72;
}

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav a {
    position: relative;
    font-family: "DM Mono", monospace;
    font-size: 0.56rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.72;
    transition: opacity 0.3s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}

.nav a:hover {
    opacity: 1;
}

.nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}




/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 880px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #27231f;
    color: #fff;
}

.hero-image {
    position: absolute;
    inset: 0;
    background:
        url("assets/hero.jpg")
        center center / cover no-repeat;
    transform: scale(1.03);
    animation: heroZoom 12s ease-out forwards;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(22, 19, 17, 0.72) 0%,
            rgba(22, 19, 17, 0.36) 48%,
            rgba(22, 19, 17, 0.18) 100%
        ),
        linear-gradient(
            0deg,
            rgba(18, 16, 14, 0.72) 0%,
            transparent 45%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 100px;
}

.hero-text {
    max-width: 720px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 25px;
    font-family: "DM Mono", monospace;
    font-size: 0.56rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #e6d7c5;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.75;
}

.hero h1 {
    max-width: 680px;
    font-family: "Playfair Display", serif;
    font-size: clamp(56px, 7vw, 96px);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: -0.055em;
}

.hero h1 em {
    color: #dfcdb7;
    font-style: italic;
}

.hero-description {
    max-width: 480px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    line-height: 1.8;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 36px;
    padding: 15px 24px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    font-family: "DM Mono", monospace;
    font-size: 0.56rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        border 0.3s ease;
}

.button:hover {
    background: #fff;
    color: #1c1b19;
    border-color: #fff;
}


/* =========================================================
   INTRO
========================================================= */

.intro {
    padding: 150px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.3fr 1fr;
    gap: 100px;
}

.section-label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
    font-family: "DM Mono", monospace;
    font-size: 0.52rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #817970;
}

.section-label span:first-child {
    color: #9f876f;
}

.intro-content {
    max-width: 760px;
}

.intro-kicker {
    margin-bottom: 25px;
    font-family: "DM Mono", monospace;
    font-size: 0.56rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9f876f;
}

.intro h2 {
    max-width: 780px;
    font-family: "Playfair Display", serif;
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.045em;
}

.intro h2 em {
    color: #927961;
    font-style: italic;
}

.intro-content > p:last-child {
    max-width: 590px;
    margin-top: 40px;
    color: #68635e;
    font-size: 0.86rem;
    line-height: 1.9;
}


/* =========================================================
   TREATMENTS
========================================================= */

.treatments {
    padding: 120px 0 160px;
    background: #e2ddd5;
}

.section-heading {
    display: grid;
    grid-template-columns: 0.3fr 1fr;
    gap: 100px;
    margin-bottom: 80px;
}

.section-heading h2 {
    max-width: 700px;
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.045em;
}

.section-heading h2 em {
    color: #927961;
    font-style: italic;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 36px;
}

.treatment-card {
    position: relative;
}

.treatment-number {
    margin-bottom: 14px;
    font-family: "DM Mono", monospace;
    font-size: 0.53rem;
    letter-spacing: 0.12em;
    color: #8b8178;
}

.treatment-image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #d2cbc1;
}

.treatment-image img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.treatment-card:hover .treatment-image img {
    transform: scale(1.04);
}

.treatment-info {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    gap: 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(47, 43, 39, 0.18);
    margin-top: 18px;
}

.treatment-info h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.65rem;
    font-weight: 400;
}

.treatment-info p {
    max-width: 330px;
    color: #6e6862;
    font-size: 0.72rem;
    line-height: 1.8;
}


/* =========================================================
   EXPERIENCE
========================================================= */

.experience {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: #292522;
}

.experience-image {
    position: absolute;
    inset: 0;
    background:
        url("assets/detail.jpg")
        center center / cover no-repeat;
}

.experience::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(25, 21, 18, 0.84) 0%,
            rgba(25, 21, 18, 0.54) 50%,
            rgba(25, 21, 18, 0.28) 100%
        );
}

.experience-content {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 80px));
    margin: 0 auto;
}

.section-number {
    display: block;
    margin-bottom: 25px;
    font-family: "DM Mono", monospace;
    font-size: 0.53rem;
    letter-spacing: 0.12em;
    color: #dfcdb7;
}

.experience h2 {
    max-width: 650px;
    font-family: "Playfair Display", serif;
    font-size: clamp(48px, 6vw, 82px);
    font-weight: 400;
    line-height: 0.97;
    letter-spacing: -0.05em;
}

.experience h2 em {
    color: #dfcdb7;
    font-style: italic;
}

.experience-content > p:last-child {
    max-width: 440px;
    margin-top: 35px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.83rem;
    line-height: 1.85;
}


/* =========================================================
   PHILOSOPHY
========================================================= */

.philosophy {
    padding: 150px 0;
    background: #ebe7e1;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 0.3fr 1fr;
    gap: 100px;
}

.philosophy-content {
    max-width: 780px;
}

.philosophy h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(48px, 5.7vw, 78px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.philosophy h2 em {
    color: #927961;
    font-style: italic;
}

.philosophy-line {
    width: 100%;
    height: 1px;
    margin: 45px 0 32px;
    background: rgba(47, 43, 39, 0.2);
}

.philosophy-content p {
    max-width: 540px;
    color: #68635e;
    font-size: 0.84rem;
    line-height: 1.9;
}


/* =========================================================
   FAQ
========================================================= */

.faq {
    padding: 120px 0 150px;
    background: #ded8cf;
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.65fr 1fr;
    gap: 120px;
}

.faq .section-heading {
    display: block;
    margin-bottom: 0;
}

.faq .section-heading h2 {
    margin-top: 45px;
}

.faq-list {
    border-top: 1px solid rgba(47, 43, 39, 0.22);
}

.faq-list details {
    border-bottom: 1px solid rgba(47, 43, 39, 0.22);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 25px 0;
    cursor: pointer;
    list-style: none;
    font-family: "Playfair Display", serif;
    font-size: 1.15rem;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary span {
    font-family: "DM Mono", monospace;
    font-size: 0.9rem;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-list details[open] summary span {
    transform: rotate(45deg);
}

.faq-list details p {
    max-width: 580px;
    padding: 0 50px 28px 0;
    color: #6e6862;
    font-size: 0.76rem;
    line-height: 1.85;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    padding: 170px 0;
    background: #282420;
    color: #fff;
    text-align: center;
}

.contact-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact .eyebrow {
    margin-bottom: 25px;
}

.contact h2 {
    max-width: 800px;
    font-family: "Playfair Display", serif;
    font-size: clamp(52px, 6.5vw, 88px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.contact h2 em {
    color: #dfcdb7;
    font-style: italic;
}

.contact-text {
    max-width: 420px;
    margin-top: 32px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    line-height: 1.8;
}

.contact-button {
    display: inline-flex;
    margin-top: 38px;
    padding: 16px 28px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-family: "DM Mono", monospace;
    font-size: 0.55rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.contact-button:hover {
    background: #fff;
    color: #282420;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 75px 0 30px;
    background: #171513;
    color: #fff;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

.footer-brand .logo-main {
    color: #fff;
}

.footer-brand p {
    max-width: 230px;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.68rem;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 110px;
}

.footer-links > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links span {
    margin-bottom: 8px;
    font-family: "DM Mono", monospace;
    font-size: 0.5rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #dfcdb7;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.68rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 70px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: "DM Mono", monospace;
    font-size: 0.48rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.32);
}


/* =========================================================
   REVEAL
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes heroZoom {
    from {
        transform: scale(1.03);
    }

    to {
        transform: scale(1);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .container {
        width: min(100% - 48px, 1240px);
    }

    .nav {
        gap: 22px;
    }

    .hero {
        min-height: 760px;
    }

    .hero-content {
        padding-bottom: 80px;
    }

    .intro-grid,
    .section-heading,
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .section-label {
        padding-top: 0;
    }

    .treatment-grid {
        gap: 55px 24px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        gap: 70px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .container {
        width: calc(100% - 36px);
    }

    .header {
        padding: 22px 0;
    }

    .header.scrolled {
        padding: 18px 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        inset: 0;
        z-index: 105;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 26px;
        padding: 40px 30px;
        background: #292522;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition:
            opacity 0.35s ease,
            visibility 0.35s ease,
            transform 0.35s ease;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav a {
        font-family: "Playfair Display", serif;
        font-size: 2rem;
        letter-spacing: -0.03em;
        text-transform: none;
        opacity: 1;
    }

    .nav a::after {
        display: none;
    }

    .hero {
        min-height: 720px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(22, 19, 17, 0.7),
                rgba(22, 19, 17, 0.35)
            ),
            linear-gradient(
                0deg,
                rgba(18, 16, 14, 0.78),
                transparent 60%
            );
    }

    .hero-content {
        padding-bottom: 65px;
    }

    .hero h1 {
        font-size: clamp(48px, 14vw, 68px);
    }

    .hero-description {
        max-width: 390px;
        font-size: 0.78rem;
    }

    .intro,
    .philosophy {
        padding: 100px 0;
    }

    .intro h2,
    .section-heading h2,
    .philosophy h2 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .treatments {
        padding: 90px 0 110px;
    }

    .section-heading {
        margin-bottom: 55px;
    }

    .treatment-grid {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .treatment-image {
        aspect-ratio: 4 / 3;
    }

    .treatment-info {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .experience {
        min-height: 650px;
    }

    .experience-content {
        width: calc(100% - 36px);
    }

    .experience h2 {
        font-size: clamp(46px, 13vw, 66px);
    }

    .faq {
        padding: 90px 0 110px;
    }

    .faq .section-heading h2 {
        margin-top: 30px;
    }

    .faq-list summary {
        font-size: 1rem;
    }

    .faq-list details p {
        padding-right: 20px;
    }

    .contact {
        padding: 120px 0;
    }

    .contact h2 {
        font-size: clamp(48px, 13vw, 70px);
    }

    .footer {
        padding-top: 60px;
    }

    .footer-links {
        flex-direction: column;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        margin-top: 55px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
