/* ═══════════════════════════════════════════
   STYLE.CSS — LP Dr. Dharien
   Premium Editorial Dark — Skill v1
═══════════════════════════════════════════ */

/* 1. RESET & BASE */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: auto;
    overflow-x: clip;
    max-width: 100vw;
}

body {
    background: var(--clr-bg);
    color: var(--clr-text);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.65;
    overflow-x: clip;
    max-width: 100vw;
    cursor: none;
}

/* NEXUS OMEGA: Scrollbar Premium */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--clr-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(163, 121, 64, 0.35);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--core-gold-dark);
}

/* NEXUS OMEGA: Seleção de texto Premium */
::selection {
    background: var(--core-gold-dark);
    color: var(--core-white);
    text-shadow: none;
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    background: none;
    border: none;
    cursor: none;
    color: inherit;
    font: inherit;
}

ul {
    list-style: none;
}

/* 2. CSS CUSTOM PROPERTIES (legacy aliases — usam variables.css como fonte) */
:root {
    --bg: var(--clr-bg);
    --bg-2: var(--clr-surface);
    --fg: var(--clr-text);
    --fg-2: var(--clr-text-muted);
    --accent-1: var(--clr-accent-dark);
    /* Dark Gold */
    --accent-2: var(--clr-accent);
    /* Light Gold */
    --accent-3: var(--clr-accent-light);
    /* Light Gold hover */
    --accent-4: var(--clr-primary);
    /* Deep Blue */
    --accent-5: var(--clr-accent-dark);
    /* Dark Gold */
    --border: var(--clr-border);
    --container: var(--container-max);
    --pad: var(--container-pad);
    --section-py: clamp(3.5rem, 7vw, 6.5rem);
}

/* 3. TYPOGRAPHY HELPERS */
.display {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.serif {
    font-family: var(--font-heading);
    font-weight: 300;
    font-style: italic;
}

.italic {
    font-style: italic;
}

.mono {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-label {
    display: inline-block;
    color: var(--text-accent);
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 500;
}

/* Logo image na nav */
.nav__logo-img {
    height: 56px;
    width: auto;
    display: block;
    object-fit: contain;
    /* sem filtro: logo já é escuro, ideal para fundo claro */
}

/* Logo símbolo no loader */
.loader__logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 1rem;
    opacity: 0;
    /* será animado pelo GSAP junto com brand text */
}

/* 4. GRAIN */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.018;
    /* ainda mais sutil no fundo claro */
}

/* 5. GRID LINES */
.grid-lines {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: flex;
    pointer-events: none;
    padding-inline: var(--pad);
}

.grid-lines span {
    flex: 1;
    border-right: 1px solid var(--border);
}

.grid-lines span:first-child {
    border-left: 1px solid var(--border);
}

/* 6. CURSOR */
.cursor-ring {
    position: fixed;
    z-index: 10000;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--clr-primary);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-expo), height 0.3s var(--ease-expo), opacity 0.3s;
    will-change: transform;
    opacity: 0.5;
}

.cursor-dot {
    position: fixed;
    z-index: 10001;
    width: 6px;
    height: 6px;
    background: var(--clr-accent-dark);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    will-change: transform;
}

body:hover .cursor-ring {
    opacity: 1;
}

a:hover~.cursor-ring,
button:hover~.cursor-ring {
    width: 56px;
    height: 56px;
}

/* 7. SCROLL PROGRESS */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--clr-accent-dark), var(--clr-accent));
    transition: width 0.05s linear;
}

/* 8. LOADER */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader__cols {
    position: absolute;
    inset: 0;
    display: flex;
}

.loader__cols span {
    flex: 1;
    background: var(--clr-surface-2);
    transform-origin: bottom;
    transform: scaleY(1);
}

.loader__center {
    position: relative;
    z-index: 2;
    text-align: center;
}

.loader__logo-main {
    width: clamp(380px, 65vw, 750px);
    height: auto;
    object-fit: contain;
}

/* 9. NAV */
.nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    padding: 1.5rem var(--pad);
    opacity: 0;
    transition: background 0.4s, padding 0.4s;
}

.nav.scrolled {
    background: rgba(246, 246, 246, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding-block: 1rem;
    box-shadow: 0 1px 0 var(--clr-border);
}

.nav__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__logo {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--fg);
    margin-right: auto;
}

.nav__links {
    display: flex;
    gap: 2rem;
}

.nav__links a {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--text-body);
    transition: color 0.3s;
}

.nav__links a:hover {
    color: var(--link-hover);
}

.nav__cta {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 1px solid var(--core-navy);
    border-radius: 2px;
    color: var(--core-navy);
    font-weight: 500;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.nav__cta:hover {
    background: var(--core-navy);
    color: var(--core-white);
    border-color: var(--core-navy);
}

/* Hero CTA — gold editorial */
.hero-cta.btn-primary {
    background: var(--core-gold-dark);
    color: var(--core-offwhite);
    border-color: var(--core-gold-dark);
}

.hero-cta.btn-primary::before {
    background: var(--core-navy);
}

.hero-cta.btn-primary:hover {
    color: var(--core-white);
}

.about-img-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.pqe-card {
    padding: 0;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    background: var(--surface-card);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 2px 16px rgba(5, 28, 81, 0.06);
    display: flex;
    flex-direction: column;
}

.pqe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(5, 28, 81, 0.1);
}

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 6px;
}

.nav__burger span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--fg);
    transition: transform 0.3s, opacity 0.3s;
}

/* 10. MOBILE MENU */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 450;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-expo);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu ul {
    text-align: center;
}

.mobile-menu__link {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    letter-spacing: 0.05em;
    color: var(--fg-2);
    padding: 0.25rem 0;
    transition: color 0.3s;
}

.mobile-menu__link:hover {
    color: var(--fg);
}

.mobile-menu__cta {
    color: var(--accent-2) !important;
}

/* 11. SECTIONS BASE */
.section {
    padding-block: var(--section-py);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--pad);
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    position: relative;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    background: var(--core-white);
    color: var(--core-navy);
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.4s ease;
    overflow: hidden;
    z-index: 1;
    font-weight: 600;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--core-navy);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.btn-primary:hover {
    background: transparent;
    color: var(--core-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.s-newsletter .btn-primary::before {
    background: var(--core-gold-dark);
}

/* override antigo removido — .s-contact .btn-primary agora na seção 19 */

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 0.8rem;
}

.btn-outline {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    color: var(--text-display);
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.btn-outline:hover {
    background: var(--core-navy);
    color: var(--core-white);
    border-color: var(--core-navy);
}

/* 12. HERO */
.s-hero {
    position: relative;
    height: 100svh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}


#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

.hero-inner {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    width: 100%;
    padding-left: var(--pad);
    padding-right: 0;
    padding-bottom: clamp(2rem, 6vw, 4.5rem);
    position: relative;
    z-index: 2;
    pointer-events: none;
    gap: 0;
}

.hero-content {
    flex: 0 0 auto;
    width: 70%;
    max-width: 900px;
    opacity: 0;
    transform: translateY(30px);
    pointer-events: auto;
    position: relative;
    z-index: 5;
    /* invade o espaço da imagem — efeito editorial */
    margin-right: -14%;
    padding-right: 0;
    margin-bottom: clamp(2rem, 12vh, 8rem);
    /* Eleva o texto para não tampar o rosto */
}

.hero-image-wrapper {
    flex: 0 0 auto;
    width: 42%;
    max-width: 400px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
    z-index: 2;
    margin-left: 0;
    pointer-events: auto;
    border-radius: 12px;
    overflow: hidden;
}

/* Gradiente REMOVIDO — usando overlap editorial limpo */

/* Photo: doctor in hero */
.hero-doctor-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    max-height: 82vh;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
    display: block;
    opacity: 0;
    position: relative;
    z-index: 1;
    animation: fadeInPlaceholder 1.2s ease forwards 1.8s;
}

@keyframes fadeInPlaceholder {
    to {
        opacity: 1;
    }
}

/* Imagem de resultado no hero — apenas mobile */
.hero-result-img-mobile {
    display: none;
}

/* ═══════════════════════════════════════════════════════
   SPLASH SCREEN
   4 fases · GPU-accel · cubic-bezier(0.25, 1, 0.5, 1)
═══════════════════════════════════════════════════════ */
#splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #F6F6F6;
    will-change: opacity;
    pointer-events: auto;
    opacity: 1;
}

#splash.splash--hidden {
    pointer-events: none;
    display: none;
}

.splash__inner {
    position: absolute;
    top: 50%;
    /* Desktop: centro perfeito */
    left: 50%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transform: translate(-50%, -50%);
}

/* Mobile: valores calibrados pelo cliente — NÃO ALTERAR */
@media (max-width: 767px) {
    .splash__inner {
        top: 50%;
        /* ⚠️ CALIBRADO — NÃO ALTERAR. Valor final aprovado pelo cliente. */
        left: 50%;
        /* ⚠️ CALIBRADO — NÃO ALTERAR. Valor final aprovado pelo cliente. */
    }
}

/* ── Logo (Fase 1) ── */
.splash__logo {
    will-change: transform, opacity;
    animation: splashLogoIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0ms both;
}

.splash__logo-img {
    width: clamp(160px, 25vw, 240px);
    height: auto;
    display: block;
}

@keyframes splashLogoIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ── Tipografia em cascata (Fase 2) ── */
.splash__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
}

/* Máscara: cada wrap tem overflow:hidden → o texto sobe de dentro */
.splash__title-wrap,
.splash__sub-wrap {
    overflow: hidden;
    line-height: 1.1;
}

.splash__title {
    display: block;
    font-size: clamp(0.9rem, 2.5vw, 1.3rem);
    letter-spacing: 0.25em;
    color: #A37940;
    font-weight: 600;
    will-change: transform, opacity;
    animation: splashLineUp 0.65s cubic-bezier(0.25, 1, 0.5, 1) 400ms both;
}

.splash__sub {
    display: block;
    font-size: clamp(0.7rem, 1.8vw, 0.95rem);
    letter-spacing: 0.2em;
    color: #051C51;
    font-weight: 400;
    will-change: transform, opacity;
    animation: splashLineUp 0.65s cubic-bezier(0.25, 1, 0.5, 1) 550ms both;
}

@keyframes splashLineUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Exit (Fase 4 — classe adicionada via JS) ── */
#splash.splash--exit {
    animation: splashFadeOut 0.48s cubic-bezier(0.25, 1, 0.5, 1) both;
    pointer-events: none;
}

@keyframes splashFadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* Reduced motion — não anima, some imediatamente */
@media (prefers-reduced-motion: reduce) {

    .splash__logo,
    .splash__title,
    .splash__sub {
        animation: none !important;
    }
}

.hero-label {
    color: var(--text-accent);
    margin-bottom: 1.5rem;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-heading {
    line-height: 1.05;
    margin-bottom: 2rem;
}

.hero-line--display {
    display: block;
    font-size: clamp(3.5rem, 7.5vw, 7rem);
    color: var(--text-display);
    line-height: 1.05;
}

.hero-line--serif {
    display: block;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    color: var(--accent-2);
    line-height: 1;
}

/* Notebooks e telas curtas (altura ≤ 800px) */
@media (max-height: 800px) and (min-width: 1024px) {
    .hero-line--display {
        font-size: clamp(3rem, 6vw, 5.5rem);
    }

    .hero-line--serif {
        font-size: clamp(2.4rem, 4.8vw, 4.5rem);
    }

    .hero-heading {
        margin-bottom: 1.25rem;
    }

    .hero-sub {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        margin-bottom: clamp(1rem, 5vh, 3rem);
        width: 74%;
        margin-right: -17%;
    }
}

.hero-sub {
    max-width: 560px;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: rgba(5, 28, 81, 0.75);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-scroll-cue {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--fg-2);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    opacity: 0;
    margin-top: 2rem;
    pointer-events: none;
}

.hero-scroll-line {
    width: 40px;
    height: 1px;
    background: var(--fg-2);
}

/* ─────────────────────────────────────
   12. RUPTURA
───────────────────────────────────── */
.s-ruptura {
    background: var(--bg);
}

.ruptura-header {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.ruptura-heading {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 1.05;
    color: var(--fg);
    margin-top: 0.75rem;
}

.ruptura-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}

.ruptura-lead-col {
    position: sticky;
    top: 120px;
}

.ruptura-lead {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: var(--fg-2);
    line-height: 1.7;
    max-width: 520px;
    border-left: 2px solid var(--accent-1, #C5AA7A);
    padding-left: 1.5rem;
}

.ruptura-dores {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ruptura-dor {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    background: var(--surface-card, rgba(255,255,255,0.6));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    border-left: 3px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ruptura-dor:hover {
    border-left-color: var(--accent-1, #C5AA7A);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.ruptura-dor__num {
    font-size: 0.8rem;
    color: var(--accent-1);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.ruptura-dor p {
    color: var(--fg-2);
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

/* 13. ZOOM */
.s-zoom {
    padding-block: clamp(4rem, 8vw, 7rem);
    overflow: hidden;
}

.zoom-container {
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--pad);
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2em 0.6em;
    line-height: 1;
}

.zoom-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px);
}

.zoom-word.display {
    font-size: clamp(2.5rem, 7vw, 6rem);
    color: var(--fg);
}

.zoom-word.serif {
    font-size: clamp(2rem, 6vw, 5.5rem);
    color: var(--accent-2);
}

.zoom-break {
    flex-basis: 100%;
    height: 0;
}

/* 14. ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 8rem);
    align-items: start;
}

.about-right {
    padding-top: clamp(8rem, 20vw, 18rem);
}

.about-heading {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1.05;
    color: var(--fg);
    margin-top: 2rem;
}

/* Swiper Antes & Depois CSS */
.about-transformation {
    margin-top: 3rem;
}

.about-swiper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: var(--core-white);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.about-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-swiper img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.swiper-pagination-bullet-active {
    background: var(--core-gold-dark) !important;
}

.about-lead {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--fg);
    margin-bottom: 1.5rem;
}

.about-body {
    color: var(--fg-2);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-quote {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: #c4a15a;
    /* Slightly darker gold for readability on light bg */
    line-height: 1.5;
    padding-left: 1.5rem;
    border-left: 2px solid var(--accent-2);
    margin-bottom: 3rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.about-value {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

/* Bloco de transformação (imagem antes e depois) abaixo do título */
.about-transformation {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    overflow: hidden;
}

/* ─── Swiper Carousel fix ───────────────────────────────── */
.about-swiper {
    width: 100% !important;
    height: 560px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.about-swiper .swiper-wrapper {
    width: 100% !important;
}

.about-swiper .swiper-slide {
    width: 100% !important;
    height: 560px;
    flex-shrink: 0;
    position: relative;
    background: var(--core-offwhite);
    overflow: hidden;
}

/* Enquadramento individual por slide */
.about-swiper .swiper-slide:nth-child(1) img {
    object-position: center top;
}

.about-swiper .swiper-slide:nth-child(2) img {
    object-position: center 30%;
}

.about-swiper .swiper-slide:nth-child(3) img {
    object-position: center top;
}

.about-swiper .swiper-slide:nth-child(4) img {
    object-position: center 20%;
}

.about-swiper .swiper-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.about-swiper .swiper-pagination {
    bottom: 12px;
}

.about-swiper .swiper-pagination-bullet {
    background: var(--core-navy);
    opacity: 0.35;
    width: 8px;
    height: 8px;
}

.about-swiper .swiper-pagination-bullet-active {
    background: var(--core-gold-dark);
    opacity: 1;
    width: 24px;
    border-radius: 4px;
    transition: width 0.3s ease;
}



.about-transformation .about-carousel-label {
    font-size: 0.6rem;
    color: var(--text-accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.about-img-bf {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
}

.about-value__num {
    color: var(--accent-1);
    padding-top: 0.15rem;
    flex-shrink: 0;
}

.about-value p {
    color: var(--fg-2);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* h-intro fora da área pinada */
.h-intro-outer {
    padding-bottom: 0;
}

.h-intro-heading {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 1.05;
    margin-top: 1rem;
}

/* 15. HORIZONTAL SCROLL */
.s-horizontal {
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.h-counter-bar {
    padding: 1.25rem var(--pad);
    flex-shrink: 0;
}

.h-counter {
    color: var(--fg-2);
}

.h-track {
    flex: 1;
    display: flex;
    gap: 2px;
    /* width deixa o conteúdo determinar a largura real */
    width: max-content;
    /* height ocupa o restante da seção após a counter-bar */
    height: calc(100vh - 4rem);
    will-change: transform;
    /* Garante que o flex do pai não colapse a largura */
    min-width: 100vw;
}

.h-item {
    position: relative;
    width: clamp(280px, 35vw, 480px);
    height: clamp(400px, 60vh, 700px);
    overflow: hidden;
    flex-shrink: 0;
}

.h-item-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s var(--ease-expo);
}

.h-item:hover .h-item-bg {
    transform: scale(1.05);
}

.h-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.3) 60%, transparent 100%);
}

.h-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 2rem;
}

.h-item-deco {
    color: #E9D199;
    /* Light Gold — legível sobre fotos escurecidas */
    margin-bottom: 0.5rem;
    display: block;
}

.h-item-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 0.95;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
    /* sempre branco sobre a foto */
}

.h-item-content p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    /* branco semitransparente */
    line-height: 1.6;
}

/* 16. STACKING CARDS */
.s-stack {
    padding-block: var(--section-py);
}

.stack-header {
    margin-bottom: clamp(3rem, 6vw, 5rem);
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--pad);
}

.stack-heading {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 1.05;
}

.stack-cards {
    position: relative;
    max-width: 940px;
    margin: 0 auto;
    padding-inline: var(--pad);
}

.stack-card {
    position: sticky;
    top: calc(6rem + var(--card-offset, 0px));
    background: var(--bg-2);
    border: 1px solid rgba(5, 28, 81, 0.12);
    border-left: 3px solid rgba(5, 28, 81, 0.15);
    border-radius: 4px;
    padding: clamp(2rem, 5vw, 4rem);
    margin-bottom: 2px;
    overflow: hidden;
    will-change: transform;
    box-shadow: 0 2px 16px rgba(5, 28, 81, 0.06), 0 1px 4px rgba(5, 28, 81, 0.04);
    transition: border-left-color 0.4s ease, box-shadow 0.4s ease;
}

.stack-card:hover {
    border-left-color: var(--accent-2);
    box-shadow: 0 6px 28px rgba(5, 28, 81, 0.1), 0 2px 8px rgba(5, 28, 81, 0.06);
}

.stack-card:nth-child(1) {
    --card-offset: 0px;
}

.stack-card:nth-child(2) {
    --card-offset: 8px;
}

.stack-card:nth-child(3) {
    --card-offset: 16px;
}

.stack-card:nth-child(4) {
    --card-offset: 24px;
}

.stack-card:nth-child(5) {
    --card-offset: 32px;
}

.stack-card__num {
    color: var(--fg-2);
    margin-bottom: 1.5rem;
    display: block;
}

.stack-card__title {
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    padding-right: 0.1em;
}

.stack-card__desc {
    max-width: 500px;
    color: var(--fg-2);
    line-height: 1.8;
}

.stack-card__accent {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 30%;
    background: var(--card-accent-color, var(--accent-1));
}

.stack-card__bg-num {
    position: absolute;
    right: 2rem;
    bottom: -1rem;
    font-size: 10rem;
    line-height: 1;
    color: rgba(237, 232, 224, 0.03);
    pointer-events: none;
}

/* 17. TESTIMONIALS */
.s-testimonials {
    padding-block: var(--section-py);
}

.testimonials-header {
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.testimonials-heading {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1.05;
    margin-top: 1rem;
}

.testimonials-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 2rem;
    scrollbar-width: thin;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 1rem;
    -webkit-overflow-scrolling: touch;
    user-select: none;
    scroll-behavior: smooth;
}

.testimonials-grid::-webkit-scrollbar {
    height: 8px;
}
.testimonials-grid::-webkit-scrollbar-track {
    background: transparent;
}
.testimonials-grid::-webkit-scrollbar-thumb {
    background-color: var(--border);
    border-radius: 10px;
}

.testimonial-card {
    flex: 0 0 clamp(300px, 80vw, 360px);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem;
    background: var(--surface-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.8s var(--ease-expo), opacity 0.8s, box-shadow 0.3s;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-card.revealed {
    opacity: 1;
    clip-path: inset(0% 0 0 0);
}

.testimonial-text {
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.975rem;
    line-height: 1.8;
    color: var(--fg-2);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: var(--accent-2);
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.testimonial-author small {
    color: var(--fg-2);
    font-size: 0.65rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    color: var(--accent-1);
    margin-bottom: 1.25rem;
}

.testimonial-verify {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--fg-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
}

/* ─── 18. PARA QUEM É ───────────────────────────────── */
.s-paraquem {
    background: var(--bg);
}

.paraquem-header {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.paraquem-heading {
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 1.05;
    color: var(--fg);
    margin-top: 0.75rem;
}

/* ── Card inner padding (herda de .pqe-card que é padding: 0) ── */
.pqe-card-inner {
    height: 100%;
    padding: 2.5rem 2.5rem 3rem;
}

/* ── Card SIM (verde) ── */
.pqe-card--sim {
    background: linear-gradient(180deg, rgba(46, 125, 50, 0.08) 0%, #ffffff 45%);
    border-color: rgba(46, 125, 50, 0.15);
}

.pqe-card--sim:hover {
    border-color: rgba(46, 125, 50, 0.3);
}

/* ── Card NÃO (vermelho/rosa) ── */
.pqe-card--nao {
    background: linear-gradient(180deg, rgba(192, 57, 43, 0.08) 0%, #ffffff 45%);
    border-color: rgba(192, 57, 43, 0.12);
}

.pqe-card--nao:hover {
    border-color: rgba(192, 57, 43, 0.25);
}

/* ── Ícone check/X (sem borda, apenas cor) ── */
.paraquem-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

/* Check verde */
.pqe-card--sim .paraquem-icon {
    color: #2e7d32;
}

/* X vermelho */
.paraquem-icon--nao {
    color: #c0392b;
    background: transparent;
    border: none;
    border-color: transparent;
}

/* ── Título do card ── */
.paraquem-col-title {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--core-navy);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Accent "É" — cor do navy */
.pqe-accent {
    color: var(--core-navy);
}

/* Accent "NÃO É" — cor vermelha escura */
.pqe-accent-nao {
    color: #8b1a1a;
    font-weight: 700;
}

/* Título dentro do card NÃO */
.paraquem-col--nao .paraquem-col-title {
    color: var(--core-navy);
}

/* ── Lista de itens ── */
.paraquem-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pqe-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--fg-2);
    line-height: 1.6;
}

/* ── Bullets (SVG circles) ── */
.pqe-icon-sim {
    flex-shrink: 0;
    margin-top: 0.35rem;
}

.pqe-icon-sim svg {
    fill: #2e7d32;
    width: 10px;
    height: 10px;
}

.pqe-icon-nao {
    flex-shrink: 0;
    margin-top: 0.35rem;
}

.pqe-icon-nao svg {
    fill: #c0392b;
    width: 10px;
    height: 10px;
}

/* ── Para Quem — Mobile Adjustments ── */

/* Header wrapper (ícone + título) — desktop: coluna */
.pqe-card-header {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    /* Card menos padding = mais preenchido */
    .pqe-card-inner {
        padding: 1.5rem 1.25rem 2rem;
    }

    /* Ícone + título lado a lado no mobile */
    .pqe-card-header {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .pqe-card-header .paraquem-icon {
        margin-bottom: 0;
        width: 32px;
        height: 32px;
    }

    .pqe-card-header .paraquem-icon svg {
        width: 22px;
        height: 22px;
    }

    .pqe-card-header .paraquem-col-title {
        margin-bottom: 0;
        white-space: nowrap;
        font-size: clamp(0.95rem, 3.8vw, 1.2rem);
    }

    /* Lista mais compacta e preenchida */
    .paraquem-list {
        gap: 0.6rem;
    }

    .pqe-list-item {
        font-size: 0.9rem;
        line-height: 1.5;
        gap: 0.6rem;
    }
}


/* ─── 19. CONTACT ───────────────────────────────────── */
.s-contact {
    background: var(--core-navy);
    padding: clamp(6rem, 12vw, 10rem) 0;
}

.contact-inner {
    max-width: 800px;
}

.s-contact .section-label {
    color: var(--accent-2);
    border-bottom: 2px solid rgba(198, 168, 124, 0.4);
    display: inline-block;
    padding-bottom: 0.4rem;
    margin-bottom: 2.5rem;
}

.contact-heading {
    font-size: clamp(3rem, 7.5vw, 7.5rem);
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 2rem;
    margin-top: 0;
    letter-spacing: -0.02em;
    overflow: visible;
    padding-bottom: 0.1em;
}

.contact-sub {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    color: var(--accent-2);
    margin-bottom: 2rem;
    line-height: 1.4;
    font-weight: 400;
}

.contact-body {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 3.5rem;
}

/* Botão retangular dourado — mesma cor do CTA Hero (#A37940) */
.s-contact .btn-primary {
    background: var(--core-gold-dark);
    color: var(--core-white);
    border-color: var(--core-gold-dark);
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 1.2rem 2.5rem;
}

.s-contact .btn-primary::before {
    background: var(--core-navy);
}

.s-contact .btn-primary:hover {
    color: var(--core-white);
}

/* ─────────────────────────────────────
   8. MARQUEE / LETREIRO
───────────────────────────────────── */
.s-marquee {
    overflow: hidden;
    padding: 3.5rem 0;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    user-select: none;
}

.marquee-row {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.marquee-inner {
    display: flex;
    width: max-content;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    white-space: nowrap;
    padding-right: 2.5rem;
}

.marquee-track .display {
    font-size: clamp(1rem, 2vw, 1.8rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--core-navy);
    font-family: var(--font-heading);
    font-weight: 700;
}

.marquee-track .serif {
    font-size: clamp(0.9rem, 1.5vw, 1.5rem);
    color: var(--accent-2);
    font-family: var(--font-serif);
    font-style: normal;
}

.marquee-row--right .marquee-track .serif {
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    color: var(--accent-2);
    font-style: italic;
    font-weight: 400;
    letter-spacing: normal;
}

.marquee-row--right .marquee-track .display {
    font-size: clamp(0.9rem, 1.5vw, 1.5rem);
    color: var(--core-navy);
    font-family: var(--font-serif);
    font-weight: normal;
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation-play-state: paused;
    }
}

.blog-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blog-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-accent);
}

.blog-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #111;
    border-bottom: 1px solid var(--border-subtle);
}

.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    font-size: 0.65rem;
    color: var(--accent-1);
    margin-bottom: 0.75rem;
    display: block;
}

.blog-card-title {
    font-size: 1.05rem;
    line-height: 1.35;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--fg);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Formulário à direita */
.blog-newsletter {
    background: var(--surface-inverse);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-title {
    color: var(--core-gold-light);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.newsletter-disclaimer {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    margin-top: 1rem;
    text-align: center;
    line-height: 1.5;
}

.blog-skeleton {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    aspect-ratio: 9 / 16;
    animation: skeletonPulse 1.5s infinite;
}

@keyframes skeletonPulse {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 0.4;
    }
}

@media (max-width: 1024px) {
    .dif-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dif-card {
        padding: 2rem 1.5rem;
    }

    .dif-heading {
        font-size: 2.25rem;
        line-height: 1.1;
    }

    .dif-num {
        font-size: 0.75rem;
        margin-bottom: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Remove padding-top excessivo quando a col empilha */
    .about-right {
        padding-top: 0;
    }

    .h-item {
        width: clamp(250px, 70vw, 380px);
        height: clamp(350px, 55vh, 550px);
    }

    /* Ruptura empilha em tablet */
    .ruptura-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ruptura-lead-col {
        position: static;
    }

    .ruptura-lead {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        /* Reduz espaçamento de seções no mobile */
        --section-py: clamp(2rem, 5vw, 3.5rem);
    }


    .nav__links {
        display: none;
    }

    .nav__cta {
        display: none;
    }

    .nav__burger {
        display: flex;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .stack-card {
        /* Restaura o card-offset p/ stacking visual funcionar igual ao desktop */
        top: calc(4.5rem + var(--card-offset, 0px));
    }

    .zoom-word.display {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }

    .zoom-word.serif {
        font-size: clamp(2rem, 10vw, 4rem);
    }

    .hero-line--display {
        font-size: clamp(2.4rem, 13vw, 5rem);
    }

    .hero-line--serif {
        font-size: clamp(2rem, 11vw, 4rem);
    }

    .about-heading {
        font-size: clamp(3rem, 14vw, 6rem);
    }

    /* Hero mobile: empilha conteúdo + imagem */
    /* ── Hero mobile: colapsa height para evitar espaço fantasma ── */
    .s-hero {
        height: auto;
        /* remove o 100svh que criava espaço vazio */
        min-height: 100svh;
        /* garante fullscreen na primeira dobra */
        align-items: flex-start;
        /* conteúdo a partir do topo */
    }

    .hero-inner {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        /* conteúdo vai para o topo, sem espaço embaixo */
        padding-left: var(--pad);
        padding-right: var(--pad);
        padding-top: 6rem;
        /* compensa a nav transparente */
        padding-bottom: 3rem;
        gap: 1.5rem;
    }

    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        text-align: center;
    }

    .hero-label,
    .hero-sub {
        text-align: center;
    }

    .hero-cta.btn-primary {
        display: block;
        width: 100%;
        text-align: center;
    }

    .hero-image-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center;
        order: -1;
        max-height: 40vh;
        overflow: hidden;
    }

    .hero-doctor-img {
        width: 100%;
        max-height: 38vh;
        object-fit: cover;
        object-position: top center;
        border-radius: 8px;
    }

    /* hero-image-wrapper some no mobile (foto aparece no meio via hero-result-img-mobile) */
    .hero-image-wrapper {
        display: none !important;
    }

    /* Para quem é: empilha em tablet */
    .paraquem-grid {
        grid-template-columns: 1fr;
    }

    /* Paraquem heading sem overflow */
    .paraquem-heading {
        font-size: clamp(2rem, 10vw, 3.8rem) !important;
        overflow: visible;
        line-height: 1.05;
    }



    /* Contact heading — sem overflow, quebra via <br> no HTML */
    .contact-heading {
        font-size: clamp(2.5rem, 14vw, 5rem);
        overflow: visible;
    }

    .contact-heading .line-wrap {
        overflow: visible !important;
    }

    /* Swiper antes/depois: menor em mobile */
    .about-swiper .swiper-slide img {
        max-height: 55vw;
        object-fit: cover;
        object-position: top center;
        border-radius: 8px;
    }

    .about-transformation {
        margin-top: 1.5rem;
    }

    /* Stack heading sem corte */
    .stack-heading {
        font-size: clamp(1.8rem, 8.5vw, 3rem) !important;
        overflow: visible;
        line-height: 1.1;
    }

    /* Imagem de resultado mobile — centralizada e proporcional */
    .hero-result-img-mobile {
        display: block;
        width: 88%;
        max-width: 320px;
        border-radius: 12px;
        overflow: hidden;
        margin: 0.5rem auto 1rem;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
        /* altura controlada para mostrar rosto + ombros */
        height: 56vw;
        max-height: 260px;
    }

    .hero-result-img-mobile img {
        width: 100%;
        height: 100%;
        display: block;
        border-radius: 12px;
        object-fit: cover;
        /* centraliza no rosto do médico */
        object-position: center 55%;
    }

    /* Swiper corrigido: altura definida no container, imagens com object-fit */
    .about-swiper {
        height: 68vw !important;
        max-height: 320px;
        overflow: hidden !important;
    }

    .about-swiper .swiper-wrapper {
        height: 100% !important;
    }

    .about-swiper .swiper-slide {
        height: 100% !important;
    }

    .about-swiper .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
        border-radius: 8px;
        display: block;
    }
}

/* ── Mobile: forçar visibilidade de elementos animados pelo GSAP ── */
/* ScrollTrigger miscalcula posições por causa do scroll horizontal,
   fazendo conteúdo ficar invisível ao descer. Este override garante
   que tudo apareça no mobile independente do JS. */
@media (max-width: 768px) {
    /* Contact section */
    .contact-sub,
    .contact-body,
    .s-contact .btn-primary,
    .s-contact .btn-lg,
    .contact-info span,
    .contact-social a,
    .ch-line {
        opacity: 1 !important;
        transform: none !important;
    }

    /* FAQ section */
    .faq-item,
    .fh-line {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Newsletter / Blog section */
    .newsletter-field,
    .newsletter-btn,
    .newsletter-disclaimer,
    .newsletter-sub,
    .nh-line,
    .blog-card {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Footer */
    .footer-brand,
    .footer-col,
    .footer-bottom {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ── Mobile performance: desativa elementos puramente decorativos ── */
@media (max-width: 768px) {

    /* Grain e grid-lines são pesados no mobile — remove */
    .grain,
    .grid-lines {
        display: none !important;
    }

    /* GPU acceleration no track do scroll horizontal */
    .h-track {
        will-change: transform;
        backface-visibility: hidden;
    }

    /* s-horizontal: mantém overflow-x hidden para o GSAP translateX não vazar */
    .s-horizontal {
        height: 100vh;
        /* GSAP precisa de altura fixa para calcular o pin */
        overflow: hidden;
        overflow-x: hidden;
    }

    /* h-track: GSAP controla via translateX — não usar overflow-x:scroll */
    .h-track {
        height: calc(100vh - 4rem) !important;
        overflow-x: visible;
        /* GSAP anima via transform, não scroll */
        width: max-content !important;
        max-width: none;
        flex-shrink: 0;
    }

    /* Cards mobile: mais largos e menos altos */
    .h-item {
        width: 88vw !important;
        height: 68vh !important;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .h-item {
        width: 85vw;
        height: 60vh;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        margin-top: 2rem;
    }

    .hero-actions .nav__cta {
        display: flex;
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 1rem;
    }

    .paraquem-header h2 {
        font-size: clamp(2rem, 9vw, 3.5rem);
        overflow: visible;
        line-height: 1.1;
    }

    .pqe-card {
        padding: 2.5rem 1.5rem;
    }

    /* Hero ultra-mobile */
    .hero-line--display {
        font-size: clamp(2rem, 11.5vw, 3.5rem);
    }

    .hero-line--serif {
        font-size: clamp(1.7rem, 10vw, 3rem);
    }

    .hero-image-wrapper {
        max-height: 35vh;
    }

    .hero-doctor-img {
        max-height: 33vh;
    }

    /* Section heading menor em telas muito pequenas */
    .stack-heading,
    .faq-heading,
    .testimonials-heading {
        font-size: clamp(1.6rem, 8.5vw, 3rem);
    }

    .ruptura-heading {
        font-size: clamp(2.4rem, 10vw, 4rem);
    }

    /* Stacking cards padding menor + mantém stacking visual */
    .stack-card {
        padding: 1.5rem 1.25rem;
        top: calc(4.5rem + var(--card-offset, 0px));
    }

    .stack-card__title {
        font-size: clamp(1.6rem, 8vw, 2.5rem);
    }

    /* Imagem mobile hero: esconder quando em 480px (já usamos hero-doctor-img) */
    .hero-result-img-mobile {
        max-height: 48vw;
        overflow: hidden;
    }
}

/* ── ANIMATION HELPERS ─────────────────────────────────── */
.line-wrap {
    display: block;
    overflow: hidden;
}

/* Stack cards — hover premium */
.stack-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.stack-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(197, 170, 122, 0.12);
    border-color: rgba(197, 170, 122, 0.25);
}

/* Testimonial cards — leve lift */
.testimonial-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

/* (ruptura hover agora no bloco principal – removido daqui) */

/* Dif cards — cursor spotlight via CSS var já implementado */
.dif-card {
    transition: transform 0.35s ease;
}

.dif-card:hover {
    transform: translateY(-4px);
}


/* ─── 20. FAQ ───────────────────────────────────────── */
.s-faq {
    background: var(--bg);
}

.faq-header {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.faq-heading {
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 1.05;
    margin-top: 0.75rem;
    color: var(--fg);
}

.faq-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
    transition: border-color 0.3s ease;
}



.faq-item.open,
.faq-item:hover {
    border-color: rgba(197, 170, 122, 0.3);
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 500;
    color: var(--fg);
    gap: 1rem;
    transition: color 0.2s;
}

.faq-q:hover {
    color: var(--accent-1);
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent-1);
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.faq-item.open .faq-a {
    max-height: 400px;
}

.faq-a p {
    padding-bottom: 1.5rem;
    color: var(--fg-2);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 680px;
}

/* ─── 21. FOOTER ───────────────────────────────────── */
.footer {
    background: var(--fg);
    color: var(--core-offwhite);
    padding-block: clamp(3rem, 6vw, 5rem);
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.05;
    color: var(--core-offwhite);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: rgba(246, 246, 246, 0.55);
    max-width: 560px;
    line-height: 1.6;
}

/* Section labels — slide underline */
.section-label {
    position: relative;
    display: inline-block;
}


.section-label::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.4s ease;
}

.section:hover .section-label::after {
    width: 100%;
}

/* ── NEWSLETTER ────────────────────────────────────────── */
/* Newsletter está inserida no footer navy — estilos forçam texto invertido */
.s-newsletter {
    background: var(--surface-inverse);
    border-top: 1px solid rgba(246, 246, 246, 0.08);
    padding: 8rem 0;
}

/* Footer bottom bar */
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(246, 246, 246, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: rgba(246, 246, 246, 0.35);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
}

.newsletter-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.newsletter-heading {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 0.95;
    margin: 1rem 0 1.5rem;
    color: var(--text-inverse);
}

.newsletter-sub {
    font-size: 1.1rem;
    color: rgba(246, 246, 246, 0.6);
    line-height: 1.6;
}

/* Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-field {
    position: relative;
}

.newsletter-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(246, 246, 246, 0.2);
    color: var(--text-inverse);
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    padding: 1rem 0;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(246, 246, 246, 0.35);
}

.newsletter-input:focus {
    border-bottom-color: var(--core-gold-light);
}

.newsletter-btn {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.nl-btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.newsletter-btn:hover .nl-btn-arrow {
    transform: translateX(6px);
}

.newsletter-disclaimer {
    font-size: 0.7rem;
    color: rgba(246, 246, 246, 0.3);
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* Success state */
.newsletter-success {
    display: none;
    padding: 1rem;
    border: 1px solid rgba(123, 174, 140, 0.4);
    color: #7BAE8C;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

.newsletter-success.visible {
    display: block;
}

@media (max-width: 768px) {
    .newsletter-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .newsletter-heading {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
}

/* ═══════════════════════════════════════════
   FEATURES DIFERENCIAIS — migrado do inline
═══════════════════════════════════════════ */
#features-diferenciais {
    background: #f2f2f5;
    padding: 96px 24px 112px;
}

.fd-container {
    max-width: 1280px;
    margin: 0 auto;
}

.fd-inner {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.fd-title-col {
    max-width: 860px;
}

.fd-title {
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.05;
    color: #0d1e4f;
    text-transform: uppercase;
}

.fd-title-word-wrap {
    overflow: hidden;
    display: block;
}

.fd-title-word {
    display: block;
    white-space: nowrap;
}

.fd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fd-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    padding: 32px;
    border: 1px solid transparent;
    will-change: transform;
    opacity: 0;
    transform: translateY(40px);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.fd-card.fd-visible {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.fd-card:hover,
.fd-card.fd-visible:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    border-color: #c9a050;
}

.fd-card-num {
    display: inline-block;
    color: #c9a050;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    font-weight: 700;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.fd-card:hover .fd-card-num {
    transform: scale(1.15);
}

.fd-card-title {
    color: #0d1e4f;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.fd-card-text {
    color: #5a6070;
    font-size: 0.95rem;
    line-height: 1.65;
}

@media (max-width: 1023px) {
    .fd-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 639px) {
    #features-diferenciais {
        padding: 64px 20px 80px;
    }

    .fd-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fd-title-word {
        transform: none !important;
        transition: none !important;
    }

    .fd-card {
        opacity: 1 !important;
        transform: none !important;
        transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
    }

    .fd-card:hover {
        transform: none !important;
    }

    .fd-card-num {
        transition: none !important;
    }
}

/* ═══════════════════════════════════
   18.5 BLOG / NEWSLETTER
═══════════════════════════════════ */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: stretch;
}

.blog-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blog-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-accent);
}

.blog-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #111;
    border-bottom: 1px solid var(--border-subtle);
}

.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    font-size: 0.65rem;
    color: var(--accent-1);
    margin-bottom: 0.75rem;
    display: block;
}

.blog-card-title {
    font-size: 1.05rem;
    line-height: 1.35;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--fg);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-size: 0.85rem;
    color: var(--fg-2);
    line-height: 1.6;
    margin-top: 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Formulário à direita */
.blog-newsletter {
    background: var(--surface-inverse);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-title {
    color: var(--core-gold-light);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.newsletter-disclaimer {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    margin-top: 1rem;
    text-align: center;
    line-height: 1.5;
}

.blog-skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 25%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.02) 75%);
    background-size: 400% 100%;
    animation: skeletonShine 1.5s infinite linear;
    aspect-ratio: 3/4;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

@keyframes skeletonShine {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-newsletter {
        order: -1;
        /* Coloca a newsletter em cima no mobile para priorizar a captura de lead */
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .blog-feed {
        grid-template-columns: 1fr;
    }
    
    .blog-newsletter {
        order: 99;
    }
}

/* ── Background images das h-items (Autoridade) ─────────── */
.h-bg-1 {
    background-image: url('assets/BAS03269_Original.webp');
}

.h-bg-2 {
    background-image: url('assets/IMG_2193.webp');
}

.h-bg-3 {
    background-image: url('assets/DSC06436_Original.webp');
}

.h-bg-4 {
    background-image: url('assets/IMG_3779.webp');
}

.h-bg-5 {
    background-image: url('assets/NUTROLOGY_PALESTRA_rita lima_RIT09489_Original.webp');
}

.h-bg-6 {
    background-image: url('assets/IMG_8989.webp');
}

/* ── Blog header utilities ───────────────────────────────── */
.blog-header-style {
    margin-bottom: 3rem;
}

.blog-label-style {
    color: var(--core-gold-light);
}

.blog-heading-style {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 0.8rem;
    line-height: 1.05;
}

.blog-sub-style {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--fg-2);
}

.newsletter-display-none {
    display: none;
}

.newsletter-btn-style {
    width: 100%;
}

/* ── Newsletter form states ──────────────────────────────── */
.newsletter-form {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.newsletter-form.form--submitting {
    opacity: 0.6;
    pointer-events: none;
}

.newsletter-form.form--success {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

#nlSuccess.visible {
    display: block !important;
    color: var(--clr-success);
    margin-top: 1rem;
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Sticky CTA Mobile ───────────────────────────── */
.sticky-cta-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 800;
    /* Padding pequeno p/ safe area do iOS */
    padding: 0.75rem 0.875rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: rgba(246, 246, 246, 0.97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.sticky-cta-mobile.is-visible {
    transform: translateY(0);
    pointer-events: auto;
}

.sticky-cta-mobile__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    /* Não ocupa 100% — fica só do tamanho do conteúdo */
    text-align: center;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-sm);
    background: var(--core-gold-dark);
    color: var(--core-offwhite);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: 0 -4px 24px rgba(163, 121, 64, 0.28);
    transition: background var(--t-fast), transform 0.2s;
}

.sticky-cta-mobile__btn:hover,
.sticky-cta-mobile__btn:focus-visible {
    background: var(--core-navy);
    transform: translateY(-2px);
}

.sticky-cta-mobile__btn svg {
    flex-shrink: 0;
}

/* sticky CTA mobile desativado — usa botão WhatsApp fixo */
@media (max-width: 767px) {
    .sticky-cta-mobile {
        display: none !important;
    }
}

/* ── Social Counters ─────────────────────────────────────── */
.social-counters {
    display: flex;
    gap: clamp(2rem, 5vw, 4rem);
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.social-counter {
    display: flex;
    flex-direction: column;
}

.social-counter__num {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-display);
    line-height: 1;
}

.social-counter__label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-accent);
    margin-top: 0.4rem;
}

/* 27. WHATSAPP FLOAT SAFE */
.wa-float-safe {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 52px;
    height: 52px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
    opacity: 0;
    pointer-events: none;
    animation: waFadeInSafe 0.6s ease forwards 2.5s;
    transition: transform 0.3s;
}

.wa-float-safe:hover {
    transform: scale(1.1);
}

.wa-float-safe svg {
    width: 26px;
    height: 26px;
}

@keyframes waFadeInSafe {
    to { 
        opacity: 1; 
        pointer-events: auto;
    }
}

@media (max-width: 768px) {
    .wa-float-safe {
        width: 46px;
        height: 46px;
        bottom: 20px;
        right: 20px;
    }
    .wa-float-safe svg {
        width: 22px;
        height: 22px;
    }
}
 . t e s t i m o n i a l - r a t i n g   { 
         d i s p l a y :   f l e x ; 
         g a p :   2 p x ; 
         m a r g i n - b o t t o m :   1 r e m ; 
         c o l o r :   # F B B C 0 5 ; 
 } 
 
 . t e s t i m o n i a l - v e r i f y   { 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         g a p :   6 p x ; 
         m a r g i n - t o p :   6 p x ; 
         f o n t - s i z e :   v a r ( - - s i z e - x s ) ; 
         c o l o r :   v a r ( - - c l r - t e x t - m u t e d ) ; 
         f o n t - w e i g h t :   5 0 0 ; 
         o p a c i t y :   0 . 8 5 ; 
 } 
 
 




