/* ============================================================
   DR. PAULO AFONSO DE CARVALHO — Urologista · CRM 144270
   Direção de arte: "cinema editorial" — verde-noir profundo,
   marfim, menta e champanhe. Fraunces (display) + Inter.
   ============================================================ */

:root {
    --noir: #071812;
    --pine: #0C2B21;
    --moss: #14402F;
    --mint: #93CDAD;
    --mint-dim: rgba(147, 205, 173, .35);
    --champagne: #C8B37E;
    --ivory: #F4F1E8;
    --paper: #FBF9F3;
    --ink: #14241D;
    --ink-soft: #4E5D55;
    --on-dark: rgba(244, 241, 232, .82);
    --on-dark-dim: rgba(244, 241, 232, .55);
    --hairline-dark: rgba(147, 205, 173, .18);
    --hairline-light: rgba(20, 36, 29, .14);
    --error: #B04A4A;

    --serif: "Fraunces", Georgia, serif;
    --sans: "Inter", system-ui, sans-serif;

    --ease: cubic-bezier(.19, 1, .22, 1);
    --ease-io: cubic-bezier(.77, 0, .18, 1);
    --container: 1280px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    background: var(--noir);
    color: var(--on-dark);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
html { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--mint); color: var(--noir); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--noir); }
::-webkit-scrollbar-thumb { background: var(--moss); border-radius: 99px; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -.015em;
    margin: 0 0 .45em;
    text-wrap: balance;
}
h1 em, h2 em, h3 em, .sw { font-style: italic; font-weight: 300; }
p { margin: 0 0 1.1em; }

/* Seções claras */
.light { background: var(--ivory); color: var(--ink); }
.light p { color: var(--ink-soft); }

.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(22px, 5vw, 64px);
}

/* Rótulo de capítulo */
.chapter {
    display: flex;
    align-items: baseline;
    gap: 18px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--mint);
    margin: 0 0 clamp(28px, 4vw, 48px);
}
.light .chapter { color: var(--moss); }
.chapter span {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: 1.5rem;
    letter-spacing: 0;
    color: var(--champagne);
}
.chapter::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--hairline-dark);
    transform: translateY(-4px);
}
.light .chapter::after { background: var(--hairline-light); }

/* ---------- Cursor ---------- */
.cursor-dot, .cursor-halo {
    position: fixed;
    left: 0; top: 0;
    z-index: 2000;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: none;
}
.cursor-dot { width: 6px; height: 6px; background: var(--mint); }
.cursor-halo {
    width: 42px; height: 42px;
    border: 1px solid var(--mint-dim);
    transition: width .35s var(--ease), height .35s var(--ease),
                border-color .35s, background-color .35s;
}
.cursor-halo.grow {
    width: 76px; height: 76px;
    border-color: var(--mint);
    background: rgba(147, 205, 173, .08);
}
@media (pointer: fine) {
    body.has-cursor { cursor: none; }
    body.has-cursor a, body.has-cursor button,
    body.has-cursor input, body.has-cursor textarea, body.has-cursor label { cursor: none; }
    body.has-cursor .cursor-dot, body.has-cursor .cursor-halo { display: block; }
}

/* ---------- Barra de progresso ---------- */
.progress {
    position: fixed;
    inset: 0 auto auto 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--mint), var(--champagne));
    z-index: 900;
}

/* ---------- Intro cinematográfica ---------- */
html:not(.js) .intro, html:not(.js) .wipe { display: none; }
.intro {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: var(--noir);
    display: grid;
    place-items: center;
    transition: transform 1s var(--ease-io);
}
.intro.leave { transform: translateY(-102%); }
.intro.gone { display: none; }
.intro-inner { text-align: center; }
.intro-mark {
    display: block;
    width: clamp(140px, 18vw, 220px);
    height: auto;
    margin-inline: auto;
    object-fit: contain;
    opacity: 0;
    transform: scale(.7);
    transition: opacity .8s var(--ease), transform .9s var(--ease);
}
.intro-name {
    margin-top: 26px;
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2.6vw, 1.8rem);
    letter-spacing: .04em;
    color: var(--on-dark);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .8s var(--ease) .25s, transform .8s var(--ease) .25s;
}
.intro-sub {
    margin-top: 8px;
    font-size: .68rem;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--on-dark-dim);
    opacity: 0;
    transition: opacity .8s var(--ease) .5s;
}
.intro.play .intro-mark { opacity: 1; transform: none; }
.intro.play .intro-name { opacity: 1; transform: none; }
.intro.play .intro-sub { opacity: 1; }

/* ---------- Cortina de transição de páginas ---------- */
.wipe {
    position: fixed;
    inset: 0;
    z-index: 1400;
    background: var(--pine);
    transform: translateY(101%);
    pointer-events: none;
}
.wipe.on {
    transform: translateY(0);
    transition: transform .45s var(--ease-io);
}

/* ---------- Barra superior mínima ---------- */
.bar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 950;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px clamp(22px, 4vw, 48px);
    transition: background-color .4s, box-shadow .4s, padding .4s;
}
.bar:not(.scrolled) {
    padding-block: 10px;
}
.bar.scrolled {
    background: rgba(7, 24, 18, .72);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--hairline-dark);
    padding-block: 12px;
}
.bar-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.bar-logo {
    display: block;
    height: 66px;
    width: auto;
    user-select: none;
    transition: height .4s var(--ease);
}
.bar:not(.scrolled) .bar-logo {
    height: 82px;
}

.bar-right { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.bar-phone {
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .06em;
    color: var(--on-dark);
    border-bottom: 1px solid transparent;
    transition: color .25s, border-color .25s;
    padding: 10px 0;
}
.bar-phone:hover { color: var(--mint); border-color: var(--mint); }

.menu-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: 0;
    color: var(--ivory);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    padding: 12px 0;
    cursor: pointer;
}
.menu-btn i {
    display: grid;
    grid-template-columns: repeat(2, 5px);
    gap: 4px;
}
.menu-btn i b {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--mint);
    transition: transform .4s var(--ease), background-color .3s;
}
.menu-btn:hover i b:nth-child(1) { transform: translate(4.5px, 4.5px); }
.menu-btn:hover i b:nth-child(4) { transform: translate(-4.5px, -4.5px); }

/* ---------- Menu em tela cheia ---------- */
.menu-panel {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background:
        radial-gradient(1000px 600px at 85% 0%, rgba(147, 205, 173, .08), transparent 55%),
        var(--noir);
    transform: translateY(-102%);
    transition: transform .7s var(--ease-io), visibility 0s .7s;
    overflow-y: auto;
    visibility: hidden;
}
.menu-panel.open { transition: transform .7s var(--ease-io), visibility 0s; }
.menu-panel.open { transform: translateY(0); visibility: visible; }
.menu-close {
    position: absolute;
    top: 20px;
    right: clamp(22px, 4vw, 48px);
    background: none;
    border: 1px solid var(--hairline-dark);
    border-radius: 999px;
    color: var(--ivory);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    padding: 14px 26px;
    cursor: pointer;
    transition: border-color .3s, color .3s;
}
.menu-close:hover { border-color: var(--mint); color: var(--mint); }
.menu-grid {
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: center;
    max-width: var(--container);
    margin-inline: auto;
    padding: 110px clamp(22px, 5vw, 64px) 60px;
}
.menu-nav { display: grid; gap: 4px; }
.menu-nav a {
    display: flex;
    align-items: baseline;
    gap: 22px;
    text-decoration: none;
    font-family: var(--serif);
    font-size: clamp(1.9rem, 4.6vw, 3.4rem);
    line-height: 1.15;
    color: var(--ivory);
    padding: 6px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.menu-panel.open .menu-nav a { opacity: 1; transform: none; }
.menu-nav a:nth-child(1) { transition-delay: .12s; }
.menu-nav a:nth-child(2) { transition-delay: .18s; }
.menu-nav a:nth-child(3) { transition-delay: .24s; }
.menu-nav a:nth-child(4) { transition-delay: .30s; }
.menu-nav a:nth-child(5) { transition-delay: .36s; }
.menu-nav a:nth-child(6) { transition-delay: .42s; }
.menu-nav a:nth-child(7) { transition-delay: .48s; }
.menu-nav a small {
    font-family: var(--sans);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .28em;
    color: var(--champagne);
}
.menu-nav a em {
    font-style: italic;
    font-weight: 300;
    transition: color .3s, letter-spacing .4s var(--ease);
}
.menu-nav a:hover em { color: var(--mint); letter-spacing: .01em; }
.menu-aside {
    border-left: 1px solid var(--hairline-dark);
    padding-left: clamp(24px, 3vw, 56px);
    font-size: .95rem;
    color: var(--on-dark-dim);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease) .4s, transform .7s var(--ease) .4s;
}
.menu-panel.open .menu-aside { opacity: 1; transform: none; }
.menu-aside h3 {
    font-size: .72rem;
    font-family: var(--sans);
    font-weight: 600;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--mint);
    margin: 0 0 .9em;
}
.menu-aside p { margin-bottom: 1.6em; }
.menu-aside a { color: var(--ivory); text-decoration: none; border-bottom: 1px solid var(--hairline-dark); transition: border-color .3s, color .3s; }
.menu-aside a:hover { color: var(--mint); border-color: var(--mint); }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .7em;
    min-height: 54px;
    padding: 1em 2.1em;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform .25s var(--ease), background-color .3s, color .3s, border-color .3s;
    touch-action: manipulation;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
.light :focus-visible { outline-color: var(--moss); }

.btn-ivory { background: var(--ivory); color: var(--noir); }
.btn-ivory:hover { background: var(--mint); }
.btn-line { border-color: var(--hairline-dark); color: var(--ivory); }
.btn-line:hover { border-color: var(--mint); color: var(--mint); }
.btn-noir { background: var(--noir); color: var(--ivory); }
.btn-noir:hover { background: var(--moss); }
.btn-line-dark { border-color: var(--hairline-light); color: var(--ink); }
.btn-line-dark:hover { border-color: var(--ink); }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .7em;
    min-height: 44px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--mint);
    transition: gap .3s var(--ease);
}
.light .text-link { color: var(--moss); }
.text-link svg { width: 1.3em; height: 1.3em; }
.text-link:hover { gap: 1.1em; }

/* ---------- CTA orbital (flutuante) ---------- */
.orbit-cta {
    position: fixed;
    right: clamp(18px, 3vw, 38px);
    bottom: clamp(18px, 3vw, 38px);
    z-index: 800;
    width: 108px; height: 108px;
    display: grid;
    place-items: center;
    text-decoration: none;
    opacity: 0;
    transform: scale(.6);
    pointer-events: none;
    transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.orbit-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.orbit-cta .disc {
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    background: var(--pine);
    border: 1px solid var(--hairline-dark);
    box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .6);
    transition: background-color .3s, border-color .3s;
}
.orbit-cta:hover .disc { background: var(--moss); border-color: var(--mint); }
.orbit-cta .ring-text {
    position: absolute;
    inset: 0;
    animation: orbit 16s linear infinite;
}
.orbit-cta .ring-text text {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .35em;
    text-transform: uppercase;
    fill: var(--mint);
}
.orbit-cta .core {
    position: relative;
    width: 24px; height: 24px;
    color: var(--ivory);
}
@keyframes orbit { to { transform: rotate(360deg); } }

/* ---------- HERO (home) ---------- */
.hero {
    position: relative;
    min-height: min(100svh, 860px);
    max-height: 960px;
    display: flex;
    align-items: stretch;
    padding: clamp(72px, 9vh, 96px) clamp(48px, 6vw, 120px) clamp(56px, 7vh, 88px);
    overflow: clip;
    background:
        radial-gradient(1100px 700px at 82% 10%, rgba(20, 64, 47, .55), transparent 60%),
        radial-gradient(700px 500px at 8% 90%, rgba(147, 205, 173, .07), transparent 60%),
        var(--noir);
}

.ghost-word {
    position: absolute;
    z-index: 0;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(7rem, 22vw, 20rem);
    line-height: 1;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(147, 205, 173, .14);
    user-select: none;
    pointer-events: none;
}
.hero .ghost-word {
    left: -3vw;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(11rem, 18vw, 22rem);
    line-height: .85;
    color: rgba(243, 238, 227, .035);
    -webkit-text-stroke: 0;
    letter-spacing: -.04em;
}
.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(32px, 4vw, 72px);
    align-items: center;
}
.hero-text { min-width: 0; }
.hero h1 {
    font-family: var(--serif);
    font-size: clamp(3rem, 5.2vw, 5.5rem);
    line-height: .95;
    color: var(--ivory);
    font-weight: 500;
    margin: 0;
}
.hero h1 em {
    color: var(--mint);
    font-style: italic;
    font-weight: 300;
}
.hero h1 .ln, .page-hero h1 .ln { display: block; overflow: hidden; }
html.js .hero h1 .ln > span,
html.js .page-hero h1 .ln > span {
    display: block;
    transform: translateY(115%);
    transition: transform 1.1s var(--ease);
}
html.js .hero.go h1 .ln:nth-child(1) > span,
html.js .page-hero.go h1 .ln:nth-child(1) > span { transform: none; transition-delay: .05s; }
html.js .hero.go h1 .ln:nth-child(2) > span,
html.js .page-hero.go h1 .ln:nth-child(2) > span { transform: none; transition-delay: .18s; }
.hero-lead {
    margin: clamp(20px, 2.6vh, 32px) 0 0;
    max-width: 34em;
    font-size: clamp(1rem, 1.15vw, 1.15rem);
    line-height: 1.55;
    color: color-mix(in oklab, var(--mint) 78%, transparent);
    font-weight: 300;
}
.hero-cta-row {
    display: flex;
    align-items: center;
    gap: clamp(24px, 3vw, 48px);
    margin-top: clamp(28px, 4vh, 44px);
    flex-wrap: wrap;
}
.hero-cta-divider {
    width: 1px;
    height: 48px;
    background: color-mix(in oklab, var(--mint) 30%, transparent);
}
.hero-credentials-label {
    font-size: .62rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: color-mix(in oklab, var(--mint) 55%, transparent);
    margin: 0 0 6px;
    font-weight: 500;
}
.hero-credentials-list {
    display: flex;
    gap: 14px;
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ivory);
    font-weight: 500;
    margin: 0;
}
html.js .hero-fade {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s var(--ease) .4s, transform .9s var(--ease) .4s;
}
html.js .hero.go .hero-fade,
html.js .page-hero.go .hero-fade { opacity: 1; transform: none; }
html.js .hero.settled .hero-fade,
html.js .page-hero.settled .hero-fade { transition: none; }

.hero-portrait {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 4 / 5;
    will-change: transform;
}
.hero-arch-frame {
    position: absolute;
    inset: 0;
    border-radius: 999px 999px 0 0;
    border: 1px solid color-mix(in oklab, var(--mint) 22%, transparent);
    transform: translate(22px, 22px);
    z-index: 1;
    pointer-events: none;
}
.arch {
    margin: 0;
    border-radius: 999px 999px 18px 18px;
    overflow: hidden;
    border: 1px solid var(--hairline-dark);
    background: var(--ivory);
    box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7);
}
.arch img { width: 100%; object-fit: cover; }
.hero-portrait .arch {
    position: relative;
    height: 100%;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 999px 999px 0 0;
    border: 1px solid color-mix(in oklab, var(--ivory) 10%, transparent);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .65);
    z-index: 2;
}
.hero-portrait .arch img { height: 100%; object-position: center 20%; }
.arch-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, color-mix(in oklab, var(--noir) 55%, transparent), transparent 60%);
    pointer-events: none;
}
.portrait-badge {
    position: absolute;
    left: -28px;
    bottom: -22px;
    background: var(--noir);
    border: 1px solid color-mix(in oklab, var(--mint) 20%, transparent);
    padding: 18px 22px;
    z-index: 3;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .55);
}
.portrait-badge-eyebrow {
    display: block;
    font-size: .58rem;
    letter-spacing: .36em;
    text-transform: uppercase;
    color: color-mix(in oklab, var(--mint) 60%, transparent);
    margin-bottom: 4px;
    font-weight: 500;
}
.portrait-badge-name {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--ivory);
}
.hero-accent-line {
    position: absolute;
    top: 0;
    right: 0;
    width: 34%;
    height: 1px;
    background: linear-gradient(to left, color-mix(in oklab, var(--mint) 22%, transparent), transparent);
    z-index: 1;
    pointer-events: none;
}
.hero-accent-corner {
    position: absolute;
    bottom: clamp(48px, 8vh, 96px);
    left: clamp(48px, 6vw, 120px);
    width: 44px;
    height: 44px;
    border-left: 1px solid color-mix(in oklab, var(--mint) 22%, transparent);
    border-bottom: 1px solid color-mix(in oklab, var(--mint) 22%, transparent);
    z-index: 1;
    pointer-events: none;
}


/* ---------- Tiras cinéticas ---------- */
.kinetic {
    padding: clamp(40px, 7vh, 80px) 0;
    overflow: clip;
    border-block: 1px solid var(--hairline-dark);
    background: var(--noir);
}
.kinetic-row {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    width: max-content;
    font-family: var(--serif);
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 1.15;
    will-change: transform;
}
.kinetic-row + .kinetic-row { margin-top: 10px; }
.kinetic-row span { color: var(--ivory); }
.kinetic-row em {
    font-style: italic;
    font-weight: 300;
    color: transparent;
    -webkit-text-stroke: 1px rgba(147, 205, 173, .5);
}
.kinetic-row i {
    font-style: normal;
    color: var(--champagne);
    font-size: .5em;
    align-self: center;
}

/* ---------- Seções editoriais ---------- */
.section { padding-block: clamp(90px, 12vw, 160px); position: relative; overflow: clip; }

/* 01 — o médico */
.medico-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(36px, 6vw, 96px);
    align-items: center;
}
.medico-media { position: relative; will-change: transform; }
.medico-media .arch { aspect-ratio: 3 / 4; border-color: var(--hairline-light); }
.medico-media .arch img { height: 100%; }
.medico-media figcaption {
    margin-top: 14px;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--ink-soft);
    display: flex;
    justify-content: space-between;
}
.medico-copy h2 {
    font-size: clamp(2.2rem, 4.6vw, 3.9rem);
    color: var(--ink);
}
.medico-copy .big-quote {
    font-family: var(--serif);
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    font-style: italic;
    font-weight: 300;
    color: var(--ink);
    line-height: 1.5;
    border-left: 2px solid var(--champagne);
    padding-left: 26px;
    margin: 1.6em 0;
}
.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 40px;
    margin-top: 2em;
    padding-top: 1.6em;
    border-top: 1px solid var(--hairline-light);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.stats-row b {
    display: block;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.6rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--moss);
}

/* 02 — trajetória */
.traj { counter-reset: none; }
.traj-list { list-style: none; margin: 0; padding: 0; }
.traj-item {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: clamp(20px, 4vw, 60px);
    padding-block: clamp(26px, 3.5vw, 42px);
    border-top: 1px solid var(--hairline-dark);
    align-items: start;
}
.traj-item:last-child { border-bottom: 1px solid var(--hairline-dark); }
.traj-num {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--champagne);
    line-height: 1;
}
.traj-item h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); color: var(--ivory); margin-bottom: .3em; }
.traj-item p { max-width: 46em; margin: 0; color: var(--on-dark-dim); }
.traj-item .traj-tag {
    display: inline-block;
    margin-top: .9em;
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--mint);
    border: 1px solid var(--hairline-dark);
    border-radius: 99px;
    padding: 7px 16px;
}

/* ---------- Marquee ---------- */
.marquee-band {
    background: var(--pine);
    padding-block: 26px;
    overflow: hidden;
    border-block: 1px solid var(--hairline-dark);
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 54px;
    width: max-content;
    white-space: nowrap;
    animation: marquee 42s linear infinite;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: 1.25rem;
    color: var(--on-dark);
}
.marquee-track i { font-style: normal; color: var(--champagne); font-size: .75em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 03 — Galeria de especialidades (grid) ---------- */
.hgal { position: relative; padding-block: clamp(80px, 12vw, 140px); }
.hgal-sticky {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(22px, 5vw, 64px);
}
.hgal-head { margin-bottom: clamp(28px, 4vw, 48px); }
.hgal-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.2vw, 36px);
    align-items: stretch;
    width: 100%;
    transform: none !important;
}
.hpanel {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--hairline-light);
    border-radius: 26px;
    padding: clamp(20px, 2vw, 32px);
    text-decoration: none;
    color: var(--ink);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.hpanel:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px -40px rgba(12, 43, 33, .45);
}
.hpanel-media {
    margin: 0 0 clamp(18px, 2vw, 28px);
    border-radius: 999px 999px 14px 14px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}
.hpanel-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.hpanel:hover .hpanel-media img { transform: scale(1.07); }
.hpanel-num {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: 1.4rem;
    color: var(--champagne);
}
.hpanel h3 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); margin: .2em 0 .4em; }
.hpanel p { font-size: .95rem; color: var(--ink-soft); }
.hpanel .text-link { margin-top: auto; padding-top: 1.2em; }
.hgal-hint { display: none; }


/* ---------- 04 — Princípios (teaser) ---------- */
.principles-teaser { text-align: center; }
.principles-teaser .ghost-word { left: 50%; top: 6%; transform: translateX(-50%); font-size: clamp(5rem, 16vw, 13rem); }
.principles-teaser blockquote {
    margin: 0 auto;
    max-width: 21em;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(1.7rem, 3.6vw, 3rem);
    line-height: 1.3;
    color: var(--ivory);
    position: relative;
    z-index: 1;
}
.principles-teaser blockquote em { color: var(--mint); }
.principles-teaser .text-link { margin-top: 34px; }

/* ---------- 05 — Contato ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: clamp(36px, 6vw, 90px);
    align-items: start;
}
.contact-info h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); color: var(--ivory); }
.contact-list {
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
}
.contact-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding-block: 18px;
    border-top: 1px solid var(--hairline-dark);
    font-size: .95rem;
}
.contact-list li:last-child { border-bottom: 1px solid var(--hairline-dark); }
.contact-list strong {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--on-dark-dim);
}
.contact-list a, .contact-list span {
    color: var(--ivory);
    text-decoration: none;
    font-family: var(--serif);
    font-size: 1.15rem;
}
.contact-list a:hover { color: var(--mint); }

.contact-form {
    background: var(--paper);
    color: var(--ink);
    border-radius: 26px;
    padding: clamp(28px, 4vw, 52px);
    display: grid;
    gap: 20px;
    box-shadow: 0 50px 120px -60px rgba(0, 0, 0, .8);
}
.contact-form h3 {
    font-size: 1.5rem;
    margin: 0;
}
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.field label b { color: var(--error); }
.field input, .field textarea {
    font: inherit;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--hairline-light);
    border-radius: 0;
    padding: 10px 2px 12px;
    min-height: 46px;
    width: 100%;
    transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus {
    outline: none;
    border-bottom-color: var(--moss);
    box-shadow: 0 1px 0 var(--moss);
}
.field.invalid input, .field.invalid textarea { border-bottom-color: var(--error); }
.field-error { color: var(--error); font-size: .78rem; min-height: 1em; }
.form-note { font-size: .78rem; color: var(--ink-soft); margin: 0; }

/* ---------- Como chegar ---------- */
.location-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: center;
}
.location-info h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); color: var(--ink); }
.location-info address {
    font-style: normal;
    font-family: var(--serif);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    line-height: 1.45;
    color: var(--ink);
    margin: 0 0 1em;
}
.location-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.map-frame {
    border-radius: 999px 999px 22px 22px;
    overflow: hidden;
    border: 1px solid var(--hairline-light);
    filter: grayscale(1) sepia(.35) hue-rotate(96deg) saturate(.65) brightness(.98);
}
.map-frame iframe { display: block; width: 100%; height: 520px; border: 0; }

/* ---------- Nossos Pacientes / Google Reviews ---------- */
.reviews-head { margin-bottom: clamp(30px, 4vw, 56px); }
.reviews-headline {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.reviews-headline h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    margin: 0;
    max-width: 14ch;
}
.reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    font-size: .92rem;
    color: var(--ivory);
    margin: 0;
    background: rgba(255, 255, 255, .03);
}
.reviews-badge strong { font-size: 1.05rem; letter-spacing: .02em; }
.reviews-badge .stars-inline { color: #f5c451; letter-spacing: 2px; }
.reviews-badge .google-g { width: 18px; height: 18px; }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.review-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;
    padding: 26px 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
.review-card:hover {
    border-color: rgba(147, 205, 173, .45);
    background: rgba(255, 255, 255, .06);
    transform: translateY(-2px);
}
.review-head { display: flex; align-items: center; gap: 14px; }
.review-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--moss);
    color: var(--mint);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .04em;
    flex-shrink: 0;
}
.review-meta { display: flex; flex-direction: column; line-height: 1.25; }
.review-meta strong { color: var(--ivory); font-size: .98rem; }
.review-sub { color: var(--ivory-soft, rgba(240, 236, 226, .55)); font-size: .8rem; margin-top: 2px; }
.review-stars { color: #f5c451; letter-spacing: 3px; font-size: 1rem; }
.review-body {
    color: rgba(240, 236, 226, .82);
    font-size: .96rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}
.review-google {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    color: rgba(240, 236, 226, .5);
    margin: 4px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}
.g-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4285F4 0%, #34A853 40%, #FBBC05 70%, #EA4335 100%);
    color: #fff;
    font-weight: 700;
    font-size: .68rem;
    font-family: var(--sans, inherit);
}
.reviews-cta { margin-top: 34px; text-align: center; }

@media (max-width: 980px) {
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .reviews-headline { flex-direction: column; align-items: flex-start; }
    .reviews-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 82%;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin: 0 calc(var(--gutter, 20px) * -1);
        padding: 4px calc(var(--gutter, 20px));
        scrollbar-width: none;
    }
    .reviews-grid::-webkit-scrollbar { display: none; }
    .review-card { scroll-snap-align: start; }
}

/* ---------- CTA band (subpáginas) ---------- */
.cta-band {
    background:
        radial-gradient(900px 500px at 80% -20%, rgba(147, 205, 173, .12), transparent 60%),
        var(--pine);
    text-align: center;
    padding-block: clamp(80px, 10vw, 140px);
    border-block: 1px solid var(--hairline-dark);
}
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); color: var(--ivory); max-width: 16em; margin-inline: auto; }
.cta-band p { color: var(--on-dark-dim); max-width: 36em; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--noir); border-top: 1px solid var(--hairline-dark); }
.footer-grand {
    padding: clamp(70px, 9vw, 120px) 0 clamp(40px, 5vw, 70px);
    text-align: center;
}
.footer-grand p {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2rem, 5.2vw, 4.4rem);
    line-height: 1.15;
    color: var(--ivory);
    max-width: 14em;
    margin: 0 auto;
}
.footer-grand em { color: var(--mint); }
.footer-cols {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 36px;
    padding-block: 40px;
    border-top: 1px solid var(--hairline-dark);
    font-size: .9rem;
    color: var(--on-dark-dim);
}
.footer-cols h3 {
    font-family: var(--sans);
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--mint);
    margin: 0 0 1em;
}
.footer-cols a {
    display: block;
    color: var(--on-dark);
    text-decoration: none;
    padding: 5px 0;
    transition: color .25s;
}
.footer-cols a:hover { color: var(--mint); }
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
    padding-block: 22px;
    border-top: 1px solid var(--hairline-dark);
    font-size: .74rem;
    color: var(--on-dark-dim);
}
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: var(--mint); }

/* ---------- Página interna: hero ---------- */
.page-hero {
    position: relative;
    min-height: 78svh;
    display: flex;
    align-items: flex-end;
    padding: 160px 0 clamp(48px, 7vh, 80px);
    overflow: clip;
    background:
        radial-gradient(1000px 620px at 85% 0%, rgba(20, 64, 47, .5), transparent 60%),
        var(--noir);
}
.page-hero .ghost-word { right: -4vw; left: auto; top: 10vh; }
.page-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(22px, 5vw, 64px);
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: end;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--on-dark-dim);
    margin-bottom: 26px;
}
.breadcrumb a { color: var(--champagne); text-decoration: none; }
.breadcrumb a:hover { color: var(--mint); }
.page-hero h1 { font-size: clamp(2.9rem, 7vw, 6rem); color: var(--ivory); }
.page-hero .hero-lead { margin-top: 10px; }
.page-hero .arch { aspect-ratio: 3 / 4; max-width: 380px; justify-self: end; }
.page-hero .arch img { height: 100%; }

/* ---------- Página interna: blocos editoriais ---------- */
.duo {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(30px, 5vw, 90px);
    align-items: start;
}
.duo-sticky { position: sticky; top: 120px; }
.duo-sticky h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.light .duo-sticky h2 { color: var(--ink); }
.duo-body { font-size: 1.02rem; max-width: 46em; }
.duo-body .big-quote {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.2rem, 1.9vw, 1.5rem);
    line-height: 1.5;
    border-left: 2px solid var(--champagne);
    padding-left: 26px;
    margin: 1.8em 0;
    color: var(--ink);
}
.dark-sec .duo-body .big-quote { color: var(--ivory); }

.index-list { list-style: none; margin: 0; padding: 0; }
.index-list li {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: clamp(18px, 3vw, 44px);
    padding-block: clamp(22px, 3vw, 34px);
    border-top: 1px solid var(--hairline-light);
    align-items: start;
}
.dark-sec .index-list li { border-color: var(--hairline-dark); }
.index-list li:last-child { border-bottom: 1px solid var(--hairline-light); }
.dark-sec .index-list li:last-child { border-bottom-color: var(--hairline-dark); }
.index-list .idx {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: 1.4rem;
    color: var(--champagne);
}
.index-list h3 { font-size: 1.3rem; margin-bottom: .25em; }
.light .index-list h3 { color: var(--ink); }
.dark-sec .index-list h3 { color: var(--ivory); }
.index-list p { margin: 0; font-size: .95rem; }
.dark-sec .index-list p { color: var(--on-dark-dim); }

.note-card {
    margin-top: 2.2em;
    padding: 24px 28px;
    border: 1px solid var(--hairline-light);
    border-radius: 18px;
    font-size: .88rem;
    color: var(--ink-soft);
    background: var(--paper);
}
.dark-sec .note-card {
    border-color: var(--hairline-dark);
    background: rgba(147, 205, 173, .05);
    color: var(--on-dark-dim);
}

/* ---------- Reveals ---------- */
html.js .reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}
html.js .reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }

/* legacy: hero-actions-mobile removed with hero redesign */

.hide-mobile { display: block; }
.hide-desktop { display: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
    .hero { padding-inline: clamp(22px, 5vw, 48px); align-items: center; }
    .hero-inner, .page-hero-inner { grid-template-columns: 1fr; align-items: start; gap: 44px; }
    .hero-portrait { justify-self: center; max-width: 380px; margin-top: 8px; }
    .hero-arch-frame { transform: translate(14px, 14px); }
    .portrait-badge { left: 12px; bottom: -18px; }
    .hero-accent-line, .hero-accent-corner { display: none; }
    .page-hero .arch { justify-self: start; }
    .medico-grid, .contact-grid, .location-grid { grid-template-columns: 1fr; }
    .medico-media { max-width: 480px; }
    .duo { grid-template-columns: 1fr; }
    .duo-sticky { position: static; }
    .menu-grid { grid-template-columns: 1fr; align-content: start; gap: 40px; padding-top: 120px; }
    .menu-aside { border-left: 0; border-top: 1px solid var(--hairline-dark); padding: 32px 0 0; }
    .footer-cols { grid-template-columns: 1fr; text-align: center; }
    .hgal { padding-block: clamp(60px, 10vw, 90px); }
    .hgal-track { grid-template-columns: 1fr; }
    .hpanel { width: 100%; }
}

@media (max-width: 1024px) {
    /* Desliga parallax/drift no mobile e tablet — evita áreas vazias e overflow */
    [data-parallax], [data-drift] { transform: none !important; }
    .ghost-word { display: none; }
    .hero-portrait, .medico-media { transform: none !important; }
}

@media (max-width: 720px) {
    /* Header mais leve */
    .bar { padding-block: 8px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .bar.scrolled { background: rgba(7, 24, 18, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
    .bar-phone { display: none; }
    .bar-logo { height: 45px; width: auto; }
    .bar:not(.scrolled) .bar-logo { height: 56px; }

    .menu-btn { min-width: 44px; min-height: 44px; font-size: .72rem; }

    /* Hero mobile */
    .hero { padding-top: 96px; padding-bottom: 64px; min-height: auto; }
    .hero-inner { gap: 32px; }
    .hero h1 { font-size: clamp(2rem, 8.4vw, 2.7rem); line-height: 1.05; }
    .hero-lead { display: none; }
    .hero-cta-row { gap: 18px; margin-top: 22px; flex-wrap: wrap; }
    .hero-cta-row .btn { flex: 1 1 100%; justify-content: center; text-align: center; }
    .hero-cta-divider { display: none; }
    .hero-credentials-list { gap: 10px; font-size: .64rem; }
    .hero-portrait { width: 100%; max-width: 380px; margin-inline: auto; }
    .hero-portrait .arch img { object-position: center 22%; }
    .portrait-badge { padding: 14px 18px; }
    .portrait-badge-name { font-size: .95rem; }

    /* Marquees com fade suave nas laterais */
    .marquee-band { padding-block: 20px; }
    .marquee-track {
        font-size: 1.05rem;
        gap: 40px;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
                mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    }
    .kinetic { padding-block: 44px; }
    .kinetic-row {
        font-size: clamp(2rem, 9vw, 2.6rem);
        gap: 30px;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
                mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    }

    /* Seções: ritmo mais compacto e H2 menor */
    .section { padding-block: clamp(56px, 12vw, 80px); }
    h2 { font-size: clamp(1.8rem, 6.5vw, 2.3rem); }

    /* Bloco "Formação": legenda em coluna única */
    .medico-media > figcaption { display: flex; flex-direction: column; gap: 4px; font-size: .62rem; letter-spacing: .22em; }
    .medico-media > figcaption span { display: block; }

    /* Formulários/painéis */
    .field-row { grid-template-columns: 1fr; }
    .hpanel { grid-template-columns: 1fr; }
    .hpanel-media { max-height: none; aspect-ratio: 4 / 3; }
    .hpanel-media img { height: 100%; width: 100%; object-fit: cover; }
    .traj-item { grid-template-columns: 1fr; gap: 8px; }
    .map-frame iframe { height: 360px; }

    /* Selo flutuante Agendar: menor, mais discreto, longe do texto */
    .orbit-cta { width: 72px; height: 72px; right: 14px; bottom: 14px; }
    .orbit-cta .disc { inset: 8px; box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .55); }
    .orbit-cta .core { width: 18px; height: 18px; }
    .orbit-cta .ring-text { opacity: .85; }

    /* Contato: lista e botões compactos e lado a lado quando possível */
    .contact-list li { flex-direction: column; gap: 4px; }

    /* Carrossel de reviews: peek limpo, sem palavra cortada */
    .reviews-grid {
        grid-auto-columns: min(86vw, 340px);
        scroll-padding-inline: var(--gutter, 20px);
    }
    .review-card { padding: 22px 20px 18px; scroll-snap-align: center; }
    .review-body { font-size: .92rem; line-height: 1.55; }

    .page-hero .arch { max-width: 100%; justify-self: stretch; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    html.js .reveal { opacity: 1; transform: none; transition: none; }
    html.js .hero h1 .ln > span, html.js .page-hero h1 .ln > span,
    html.js .hero-fade { transform: none; opacity: 1; transition: none; }
    .intro, .wipe { display: none !important; }
    .marquee-track { animation: none; width: auto; flex-wrap: wrap; }
    .orbit-cta .ring-text { animation: none; }
    /* hero scroll cue removed with hero redesign */
    [data-parallax], [data-drift], .hgal-track { transform: none !important; }
    .hgal { height: auto; }
    .hgal-sticky { position: static; height: auto; padding-block: 80px; }
    .hgal-track { flex-direction: column; width: 100%; }
    .hpanel { width: 100%; }
    .menu-panel, .menu-nav a, .menu-aside { transition: none; }
}

/* Desktop notebook fit: keep hero content in viewport without cropping */
@media (min-width: 900px) and (max-height: 820px) {
    .hero {
        min-height: 100svh;
        max-height: none;
        padding-top: clamp(64px, 8vh, 80px);
        padding-bottom: clamp(36px, 5vh, 56px);
    }
    .hero h1 {
        font-size: clamp(2.9rem, 4.8vw, 4.2rem);
        line-height: .98;
    }
    .hero-lead {
        margin-top: 18px;
        font-size: .95rem;
        line-height: 1.45;
        max-width: 32em;
    }
    .hero-cta-row {
        margin-top: 22px;
        gap: clamp(18px, 2.6vw, 32px);
    }
    .hero-cta-divider { height: 40px; }
    .hero-portrait { max-width: 380px; }
    .portrait-badge { padding: 14px 18px; left: -22px; bottom: -18px; }
    .portrait-badge-name { font-size: .95rem; }
    .hero-arch-frame { transform: translate(16px, 16px); }
    .hero .ghost-word { top: 46%; font-size: 16vw; }
}
@media (min-width: 900px) and (max-height: 720px) {
    .hero { padding-top: 60px; padding-bottom: 28px; }
    .hero h1 { font-size: clamp(2.4rem, 4.2vw, 3.2rem); }
    .hero-lead { display: none; }
    .hero-cta-row { margin-top: 18px; }
    .hero-portrait { max-width: 320px; }
    .hero-arch-frame { transform: translate(12px, 12px); }
    .portrait-badge { padding: 12px 16px; }
    .hero-accent-corner { display: none; }
    .hero .ghost-word { font-size: 15vw; }
}

@media (min-width: 900px) and (max-height: 640px) {
    .hero { padding-top: 72px; padding-bottom: 20px; }
    .hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
    .hero-portrait { max-width: 240px; }
}

