/* ==================================================
   FONTS LOCAIS
================================================== */

@font-face {
    font-family: 'Leckerli One';
    src: url('../fonts/LeckerliOne-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-VariableFont_wght.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ==================================================
   TOKENS
================================================== */

:root {
    --rose: #b5838d;
    --rose-dark: #9d6b75;
    --rose-darker: #7d5a62;
    --blush: #e4b7c0;
    --blush-light: #f3dee2;
    --cream: #f8f4f6;
    --plum: #6d6875;
    --ink: #3d3a3f;
    --ink-deep: #221f23;
    --text: #555555;
    --text-muted: #7a7a7a;
    /* tons da própria clínica: parede verde e cortina de linho */
    --wall: #5f7a7f;
    --wall-deep: #3f5a5f;
    --linen: #eef2f0;
    --line: rgba(109, 104, 117, .15);
    --shadow-sm: 0 10px 25px rgba(109, 104, 117, 0.1);
    --shadow-md: 0 22px 48px rgba(109, 104, 117, 0.16);
    --shadow-primary: 0 14px 30px rgba(181, 131, 141, .35);
    --shadow-primary-hover: 0 18px 40px rgba(181, 131, 141, .45);
    --focus-ring: 0 0 0 3px rgba(181, 131, 141, .45);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-pill: 999px;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Jost', sans-serif;
    --font-script: 'Leckerli One', cursive;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --duration-fast: .18s;
}

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

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    position: relative;
    background: #ffffff;
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

.footer-liliane {
    flex-shrink: 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url('../img/plano-de-fundo.webp') center center / cover no-repeat;
    opacity: 0.06;
    mix-blend-mode: multiply;
    pointer-events: none;
}

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

h1, h2, h3 {
    font-family: var(--font-serif);
}

a {
    color: inherit;
}

.container {
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 32px);
}

.section {
    padding-block: clamp(72px, 10vw, 128px);
}

.section-alt {
    background: var(--cream);
}

.text-center { text-align: center; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: 1rem; }
.mt-5 { margin-top: 3rem; }

.eyebrow {
    display: inline-block;
    font-size: 12.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--rose-dark);
    background: var(--blush-light);
    padding: 8px 18px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.eyebrow-light {
    color: #fff;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .35);
}

.section-title {
    font-weight: 700;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    color: var(--ink);
    margin: 0 0 14px;
}

.section-title-light {
    color: #fff;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 520px;
}

.section-head {
    text-align: center;
    margin-bottom: 56px;
}

.section-head .section-subtitle {
    margin-inline: auto;
}

.accent-script {
    font-family: var(--font-script);
    color: var(--rose);
}

.highlight-quote {
    display: block;
    margin-top: 18px;
    font-size: 21px;
    line-height: 1.5;
}

.highlight-quote-light {
    color: var(--blush-light);
}

/* ==================================================
   BOTÕES
================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--rose), var(--rose-dark));
    color: #ffffff;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary-hover);
}

.btn-primary:active {
    transform: translateY(-1px) scale(.98);
    box-shadow: var(--shadow-primary);
}

.btn-ghost-dark {
    background: rgba(255, 255, 255, .5);
    color: var(--ink);
    border: 1px solid rgba(61, 58, 63, .3);
}

.btn-ghost-dark:hover {
    background: rgba(255, 255, 255, .85);
    border-color: var(--rose);
    transform: translateY(-3px);
}

.btn-ghost-dark:active {
    background: #fff;
    transform: translateY(-1px);
}

.btn-ghost-light {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .5);
    backdrop-filter: blur(6px);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, .22);
    transform: translateY(-3px);
}

.btn-ghost-light:active {
    background: rgba(255, 255, 255, .3);
    transform: translateY(-1px);
}

/* ==================================================
   ESTADOS DE FOCO (teclado)
================================================== */

a:focus-visible,
button:focus-visible,
.nav-toggle:focus-visible,
.treatment-media:focus-visible,
.faq-item summary:focus-visible,
.clinic-arrow:focus-visible,
.clinic-dot:focus-visible,
.lightbox-arrow:focus-visible,
.lightbox-close:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-md);
}

.nav-link:focus-visible {
    border-radius: 4px;
}

.clinic-dot:focus-visible {
    border-radius: 50%;
}

.instagram-fixo a:focus-visible,
#whatsapp-btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: 50%;
}

.nav-toggle:active span,
.clinic-arrow:active,
.lightbox-arrow:active,
.lightbox-close:active {
    transform: scale(.92);
}

/* ==================================================
   COOKIE BANNER
================================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .08);
    padding: 20px;
    z-index: 999;
    display: none;
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
    color: var(--text);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-accept {
    background-color: var(--rose);
    color: #fff;
    border: none;
    padding: 9px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: .3s;
}

.btn-accept:hover {
    background-color: var(--rose-dark);
}

.btn-reject {
    background-color: #eee;
    border: none;
    padding: 9px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-sans);
}

.cookie-content a {
    color: var(--rose);
    font-weight: 600;
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

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

.site-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 200;
    padding-block: 16px;
    background: rgba(228, 183, 192, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .4s var(--ease), background .4s ease, box-shadow .4s ease, padding .4s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .88);
    box-shadow: var(--shadow-sm);
    padding-block: 10px;
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand img {
    border-radius: 50%;
}

.brand span {
    font-family: var(--font-script);
    font-size: 22px;
    color: var(--rose-dark);
    letter-spacing: .5px;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--ink);
    font-size: 15px;
    padding-block: 4px;
    transition: color .3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -4px;
    height: 2px;
    background: var(--rose);
    transition: right .35s var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--rose-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    right: 0;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
    width: 26px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 210;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .35s var(--ease), opacity .35s ease;
}

@media (max-width: 860px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        inset: 0;
        top: 0;
        background: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8%);
        transition: opacity .4s ease, visibility .4s ease, transform .4s var(--ease);
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .site-header.menu-open {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        transform: none;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .nav-link {
        font-size: 22px;
    }

    .nav-toggle.is-open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* ==================================================
   ANIMAÇÕES DE ENTRADA (HERO)
================================================== */

@keyframes heroIn {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

@keyframes heroZoom {
    from { transform: scale(1.08); }
    to { transform: scale(1.18); }
}

@keyframes scrollCue {
    0% { opacity: 1; transform: translate(-50%, 0); }
    70% { opacity: 0; transform: translate(-50%, 14px); }
    100% { opacity: 0; transform: translate(-50%, 14px); }
}

.hero-in {
    opacity: 0;
    filter: blur(16px);
    transform: translateY(30px);
    animation: heroIn 1s var(--ease) both;
}

.eyebrow.hero-in { animation-delay: .2s; }
.hero-title.hero-in { animation-delay: .35s; }
.hero-lead.hero-in { animation-delay: .55s; }
.hero-actions.hero-in { animation-delay: .75s; }
.hero-scroll-cue.hero-in { animation-delay: 1.1s; }

/* ==================================================
   ANIMAÇÕES DE SCROLL (BLUR + ROTATE)
================================================== */

.reveal {
    opacity: 0;
    filter: blur(24px);
    transform: translateY(64px) scale(.95);
    transition: opacity 1.1s var(--ease), filter 1.1s var(--ease), transform 1.1s var(--ease);
    will-change: opacity, filter, transform;
}

.reveal.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

.reveal-rotate {
    opacity: 0;
    filter: blur(28px);
    transform: translateY(40px) rotate(-9deg) scale(.86);
    transition: opacity 1.15s var(--ease), filter 1.15s var(--ease), transform 1.15s var(--ease);
    will-change: opacity, filter, transform;
}

.reveal-rotate.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) rotate(0) scale(1);
}

.process-steps .process-step:nth-child(2) { transition-delay: .1s; }
.process-steps .process-step:nth-child(3) { transition-delay: .2s; }
.process-steps .process-step:nth-child(4) { transition-delay: .3s; }

.contato-grid .contato-card:nth-child(2) { transition-delay: .1s; }
.contato-grid .contato-card:nth-child(3) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-rotate, .hero-in, .hero-media, .faq-answer {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }
}

/* ==================================================
   SEÇÃO INÍCIO / HERO
================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #fcf8f9 0%, var(--cream) 45%, var(--blush-light) 100%);
}

.hero-media {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(54%, 820px);
    overflow: hidden;
}

.hero-media picture {
    display: block;
    height: 100%;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(55% 60% at 18% 55%, rgba(228, 183, 192, .35) 0%, rgba(228, 183, 192, 0) 70%);
}

@media (min-width: 861px) {
    /* a borda esquerda da foto se dissolve no fundo, sem linha dura */
    .hero-media {
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
        mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
    }

    .hero .hero-content {
        max-width: 52%;
        padding-right: 0;
    }

    .hero-title {
        font-size: clamp(40px, 4.4vw, 62px);
    }
}

.br-desktop {
    display: none;
}

@media (min-width: 861px) {
    .br-desktop {
        display: inline;
    }
}

.hero .container {
    margin-inline: 0;
    max-width: none;
    padding-inline: clamp(24px, 8vw, 110px);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--ink);
    max-width: 720px;
    padding-block: 170px 130px;
}

.hero-title {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 22px;
}

.hero-lead {
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.75;
    color: var(--text);
    max-width: 560px;
    margin: 0 0 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-scroll-cue {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 26px;
    height: 44px;
    border: 2px solid rgba(125, 90, 98, .45);
    border-radius: 20px;
}

.hero-scroll-cue span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: var(--rose-dark);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollCue 1.8s ease infinite;
}

/* No celular a foto vem em cima e o texto embaixo, para o texto
   nunca cobrir o rosto da Liliane. */
@media (max-width: 860px) {
    .hero {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        background: var(--cream);
    }

    .hero-media {
        position: relative;
        width: 100%;
        height: 62vh;
        min-height: 400px;
    }

    .hero-media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(248, 244, 246, 0) 50%, var(--cream) 100%);
    }

    .hero-photo {
        object-position: 62% 0;
    }

    .hero-scrim,
    .hero-scroll-cue {
        display: none;
    }

    .hero-content {
        margin-top: -88px;
        padding-block: 0 72px;
    }
}

/* ==================================================
   FAIXA
================================================== */

.ticker {
    position: relative;
    background: var(--blush-light);
    overflow-x: auto;
    overflow-y: hidden;
    padding-block: 16px;
    scrollbar-width: none;
}

.ticker::-webkit-scrollbar {
    display: none;
}

@media (min-width: 761px) {
    .ticker {
        display: flex;
        justify-content: center;
    }
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 16px;
    width: max-content;
    padding-inline: clamp(20px, 5vw, 32px);
}

.ticker-item {
    font-family: var(--font-script);
    font-size: clamp(17px, 2.4vw, 22px);
    color: var(--rose-darker);
    white-space: nowrap;
}

.ticker-dot {
    color: var(--rose);
    font-size: 9px;
}

/* ==================================================
   SEÇÃO TRATAMENTOS
================================================== */

#tratamentos {
    position: relative;
    background:
        repeating-linear-gradient(135deg,
            rgba(181, 131, 141, .06) 0px,
            rgba(181, 131, 141, .06) 1px,
            transparent 1px,
            transparent 15px),
        linear-gradient(180deg, var(--cream) 0%, #fdfbfc 100%);
}

.treatments {
    display: grid;
    gap: clamp(64px, 9vw, 120px);
}

.treatment {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: center;
}

.treatment-reverse .treatment-media {
    order: 2;
}

.treatment-media {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: var(--blush-light);
    cursor: zoom-in;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.treatment-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

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

.treatment-media:active img {
    transform: scale(1.02);
}

.treatment-media-label {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(61, 58, 63, .55);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transition: background var(--duration-fast) ease;
}

.treatment-media:hover .treatment-media-label {
    background: rgba(61, 58, 63, .75);
}

.treatment-kicker {
    display: block;
    font-family: var(--font-script);
    font-size: 22px;
    color: var(--rose);
    margin-bottom: 8px;
}

.treatment-body h3 {
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.15;
    color: var(--ink);
    margin: 0 0 18px;
}

.treatment-body p {
    line-height: 1.8;
    margin: 0 0 16px;
    max-width: 54ch;
}

.treatment-facts {
    list-style: none;
    margin: 28px 0 32px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
}

.treatment-facts li {
    padding: 18px 16px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
}

.treatment-facts li + li {
    padding-left: 16px;
    border-left: 1px solid var(--line);
}

.treatment-facts strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 26px;
    line-height: 1.1;
    color: var(--plum);
    margin-bottom: 4px;
}

@media (max-width: 860px) {
    .treatment {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .treatment-reverse .treatment-media {
        order: 0;
    }

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

@media (max-width: 420px) {
    .treatment-facts strong {
        font-size: 21px;
    }

    .treatment-facts li {
        font-size: 13px;
        padding-right: 10px;
    }

    .treatment-facts li + li {
        padding-left: 10px;
    }
}

/* ==================================================
   SEÇÃO COMO FUNCIONA
================================================== */

.process-layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

.process-media {
    position: sticky;
    top: 110px;
    margin: 0;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.process-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.section-head-left {
    text-align: left;
    margin-bottom: 40px;
}

.section-head-left .section-subtitle {
    margin-inline: 0;
}

.process-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.process-step {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 24px;
    padding-block: 28px;
    border-top: 1px solid var(--line);
}

.process-step:last-child {
    border-bottom: 1px solid var(--line);
}

.process-number {
    position: relative;
    display: block;
    font-family: var(--font-script);
    font-size: 46px;
    color: var(--blush);
    line-height: 1;
    padding-bottom: 14px;
    align-self: start;
}

.process-number::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    background: var(--rose);
}

.process-step h3 {
    font-size: 21px;
    color: var(--plum);
    margin: 4px 0 8px;
}

.process-step p {
    font-size: 15.5px;
    line-height: 1.75;
    margin: 0;
}

@media (max-width: 860px) {
    .process-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .process-media {
        position: relative;
        top: auto;
        aspect-ratio: 4 / 3;
        order: 2;
    }

    .process-step {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 16px;
    }

    .process-number {
        font-size: 38px;
    }
}

/* ==================================================
   SEÇÃO QUEM SOU
================================================== */

.quem-sou-section {
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

.quem-sou-grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.quem-sou-text {
    position: relative;
    z-index: 1;
    max-width: 560px;
    background: rgba(255, 255, 255, .95);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 52px);
    box-shadow: var(--shadow-md);
}

.quem-sou-text p {
    line-height: 1.85;
    margin-bottom: 18px;
    color: var(--text);
}

.highlight-box {
    background: var(--blush-light);
    border-left: 4px solid var(--rose);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-top: 8px;
}

.quem-sou-portrait {
    position: relative;
    z-index: 1;
    order: -1;
    margin: 0;
    width: min(100%, 300px);
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 8px solid #ffffff;
    outline: 2px solid var(--blush);
    transform: rotate(-3deg);
}

.quem-sou-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

@media (min-width: 901px) {
    .quem-sou-grid {
        display: grid;
        grid-template-columns: 1.15fr .85fr;
        align-items: center;
        gap: clamp(32px, 5vw, 64px);
    }

    .quem-sou-portrait {
        order: 0;
        width: min(100%, 340px);
        justify-self: center;
        transform: rotate(-4deg);
    }
}

/* ==================================================
   LIGHTBOX
================================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 18, 20, .92);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-stage {
    max-width: min(900px, 90vw);
    max-height: 82vh;
}

.lightbox-stage img {
    width: 100%;
    height: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transition: transform .15s var(--ease);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: background .3s ease, transform .15s var(--ease);
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, .22);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-arrow[hidden] { display: none; }

@media (max-width: 640px) {
    .lightbox-close { top: 14px; right: 16px; }
    .lightbox-arrow { width: 40px; height: 40px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

/* ==================================================
   SEÇÃO ANTES E DEPOIS
================================================== */

.compare {
    position: relative;
    max-width: 720px;
    margin-inline: auto;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: ew-resize;
    user-select: none;
    touch-action: none;
}

.compare-hint {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    background: rgba(34, 31, 35, .45);
    backdrop-filter: blur(4px);
    padding: 7px 16px;
    border-radius: 999px;
    white-space: nowrap;
    pointer-events: none;
}

.compare-after,
.compare-before {
    position: absolute;
    inset: 0;
}

.compare-after img,
.compare-before img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.compare-before {
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.compare-label {
    position: absolute;
    bottom: 16px;
    z-index: 2;
    background: rgba(34, 31, 35, .6);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 999px;
    pointer-events: none;
}

.compare-label-before { left: 16px; }
.compare-label-after { right: 16px; }

.compare-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 3px;
    background: #fff;
    transform: translateX(-50%);
    z-index: 3;
    cursor: ew-resize;
}

.compare-handle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: var(--shadow-sm);
}

.compare-handle-grip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--ink);
    display: flex;
    gap: 2px;
}

.compare-handle:focus-visible::after {
    box-shadow: var(--focus-ring);
}

.compare-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    max-width: 520px;
    margin: 20px auto 0;
}

/* ==================================================
   SEÇÃO CLÍNICA
================================================== */

/* As fotos do espaço são verticais (celular): mostradas no formato
   original para não cortar móveis. No celular viram uma faixa que
   desliza para o lado. */
.clinic-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 900px;
    margin-inline: auto;
}

.clinic-gallery-item {
    margin: 0;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--blush-light);
}

.clinic-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 760px) {
    .clinic-gallery {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 72%;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        margin-inline: calc(-1 * clamp(20px, 5vw, 32px));
        padding-inline: clamp(20px, 5vw, 32px);
        padding-bottom: 24px;
        scroll-padding-inline: clamp(20px, 5vw, 32px);
    }

    .clinic-gallery::-webkit-scrollbar {
        display: none;
    }

    .clinic-gallery-item {
        scroll-snap-align: start;
        box-shadow: var(--shadow-sm);
    }
}

/* ==================================================
   SEÇÃO DÚVIDAS
================================================== */

.faq {
    background: var(--linen);
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: 110px;
}

.faq-intro p {
    margin: 0 0 28px;
    max-width: 36ch;
}

.faq-list {
    border-top: 1px solid rgba(63, 90, 95, .2);
}

.faq-item {
    border-bottom: 1px solid rgba(63, 90, 95, .2);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-block: 24px;
    font-family: var(--font-serif);
    font-size: clamp(19px, 2.2vw, 23px);
    font-weight: 600;
    color: var(--ink);
    transition: color var(--duration-fast) ease;
}

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

.faq-item summary:hover {
    color: var(--rose-dark);
}

.faq-icon {
    flex: none;
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(63, 90, 95, .35);
    transition: transform .35s var(--ease), background var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    background: var(--wall);
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item summary:hover .faq-icon {
    border-color: var(--wall);
}

.faq-item summary:active .faq-icon {
    transform: scale(.92);
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: var(--wall);
    border-color: var(--wall);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
    background: #fff;
}

.faq-answer {
    padding: 0 56px 28px 0;
}

.faq-item[open] .faq-answer {
    animation: faqIn .3s var(--ease);
}

@keyframes faqIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

.faq-answer p {
    margin: 0 0 12px;
    line-height: 1.8;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer h4 {
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--wall-deep);
    margin: 20px 0 6px;
}

.faq-answer h4:first-child {
    margin-top: 0;
}

@media (max-width: 860px) {
    .faq-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .faq-intro {
        position: static;
    }

    .faq-answer {
        padding-right: 0;
    }
}

/* ==================================================
   SEÇÃO CONTATO
================================================== */

.section-contato {
    background: linear-gradient(180deg, var(--cream) 0%, #ffffff 100%);
}

.contato-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 48px;
}

.contato-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 38px 26px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.contato-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.contato-icon {
    width: 30px;
    height: 30px;
    fill: var(--rose);
    margin-bottom: 16px;
}

.contato-card h3 {
    color: var(--rose-dark);
    font-size: 18px;
    margin: 0 0 12px;
}

.contato-card p {
    color: var(--text);
    margin: 0 0 6px;
}

@media (max-width: 860px) {
    .contato-grid {
        grid-template-columns: 1fr;
    }
}

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

.footer-liliane {
    background-color: var(--blush);
    padding: 36px 20px;
    text-align: center;
}

.footer-texto {
    font-size: 14px;
    color: #6b5158;
    line-height: 1.8;
}

.footer-texto a {
    color: #6b5158;
    text-decoration: underline;
}

/* ==================================================
   BOTÕES FIXOS
================================================== */

.botoes-fixos {
    transition: opacity .4s ease, transform .4s ease;
}

.botoes-fixos.hide-fixed {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.instagram-fixo {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 150;
}

.instagram-fixo a {
    display: flex;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: radial-gradient(circle at 30% 107%,
            #fdf497 0%,
            #fdf497 5%,
            #fd5949 45%,
            #d6249f 60%,
            #285AEB 90%);
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease;
}

.instagram-fixo a:hover {
    transform: scale(1.1);
}

.icon-instagram {
    width: 36px;
    fill: #fff;
}

#whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 150;
    cursor: pointer;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .25));
    transition: transform .3s ease;
}

#whatsapp-btn:hover {
    transform: scale(1.1);
}

/* ==================================================
   PÁGINAS LEGAIS (política / termos)
================================================== */

.legal {
    padding-block: 150px 90px;
    min-height: 100vh;
}

.legal h1 {
    font-size: clamp(30px, 4vw, 42px);
    color: var(--ink);
    margin-bottom: 24px;
}

.legal h2 {
    font-size: 19px;
    color: var(--rose-dark);
    margin: 32px 0 10px;
}

.legal p {
    line-height: 1.8;
    color: var(--text);
    margin: 0 0 6px;
}

.legal .btn {
    margin-top: 28px;
}

/* ==================================================
   RESPONSIVIDADE GERAL
================================================== */

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
