/* ============================================================
   MORFÉ — Cirurgia Plástica & Lipo HD
   Conceito: ateliê de corpo / chiaroscuro editorial-cinemático
   Tradições: Luxo Contemporâneo (primária) + Cinematográfico (secundária)
   ============================================================ */

/* ---------- Fontes locais ---------- */
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('../fonts/cormorant-latin.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 500; font-display: swap; src: url('../fonts/jost-latin.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
    --bg: #17120E;
    --bg-alt: #F4EFE9;
    --surface: #211A14;
    --surface-alt: #FFFFFF;
    --text: #F3EEE7;
    --text-alt: #1B1512;
    --muted: #A89A8B;
    --muted-alt: #6E6355;
    --line: rgba(243, 238, 231, 0.14);
    --line-alt: rgba(27, 21, 18, 0.16);
    --accent: #C8794A;
    --accent-deep: #A85F34;
    --accent-soft: rgba(200, 121, 74, 0.16);
    --font-display: 'Cormorant', Georgia, serif;
    --font-body: 'Jost', 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius: 2px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.18s ease;
    --shadow-deep: 0 30px 80px rgba(0, 0, 0, 0.5);
    --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.32);
}

/* ---------- Anti-flash (sistema) ---------- */
html.lp-loading .js-personalize { visibility: hidden; }

/* Invariante técnico (não remover) */
html, body { overflow-x: hidden; }

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--accent); color: #17120E; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 56px);
}

/* ---------- Tipografia base ---------- */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--muted);
}
.kicker .plano { color: var(--accent); }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.04;
    text-wrap: balance;
}

p { color: inherit; }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 34px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), letter-spacing 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
.btn:hover { letter-spacing: 0.17em; }
.btn-primary {
    background: var(--accent);
    color: #17120E;
    box-shadow: 0 10px 34px rgba(200, 121, 74, 0.28);
}
.btn-primary:hover {
    background: #D99B6B;
    transform: translateY(-2px);
    box-shadow: 0 16px 44px rgba(200, 121, 74, 0.36);
}
.btn-ghost {
    background: transparent;
    color: inherit;
    border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark {
    background: var(--text-alt);
    color: var(--text);
}
.btn-dark:hover { background: #2b231c; transform: translateY(-2px); }
.btn-sm { padding: 11px 22px; font-size: 12px; }

/* ============================================================
   NAVBAR (desktop: masthead full-width / mobile: pill obrigatório)
   ============================================================ */
.navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 clamp(16px, 3.5vw, 48px);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.45s ease, background 0.4s ease;
}
.navbar-wrapper.hidden {
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
}
.navbar-wrapper.scrolled {
    background: rgba(23, 18, 14, 0.86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 74px;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.brand-logo { width: 38px; height: 38px; object-fit: contain; }
.brand-name {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 0.14em;
    font-weight: 500;
}
.navbar-links {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.4vw, 34px);
    margin: 0 auto;
}
.navbar-links a {
    position: relative;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 6px 0;
    transition: var(--transition-fast);
}
.navbar-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar-links a:hover { color: var(--text); }
.navbar-links a:hover::after { transform: scaleX(1); }
.navbar-cta { flex-shrink: 0; }
.navbar-cta .btn { border-radius: 0; }
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.hamburger span {
    width: 22px;
    height: 1.6px;
    background: var(--text);
    border-radius: 1px;
    transition: var(--transition);
}

/* ============================================================
   MOBILE DRAWER (abre pela esquerda)
   ============================================================ */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 8, 6, 0.6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.mobile-drawer-overlay.active { opacity: 1; visibility: visible; }
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 2001;
    width: 78%;
    max-width: 340px;
    background: var(--surface);
    border-right: 1px solid var(--line);
    transform: translateX(-100%);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    will-change: transform;
}
.mobile-drawer.active { transform: translateX(0); }
.drawer-header {
    padding: 30px 26px 22px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.drawer-brand { display: flex; align-items: center; gap: 12px; }
.drawer-brand img { width: 40px; height: 40px; object-fit: contain; }
.drawer-brand-name { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.12em; }
.drawer-slogan { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; margin-top: 2px; }
.drawer-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(243, 238, 231, 0.06);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--muted);
    font-size: 15px;
    transition: var(--transition);
}
.drawer-close:hover { background: var(--accent); color: #17120E; }
.drawer-nav { flex: 1; padding: 18px 26px; display: flex; flex-direction: column; gap: 4px; }
.drawer-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 12px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text);
    transition: var(--transition-fast);
}
.drawer-nav a .drawer-icon { width: 22px; display: flex; justify-content: center; color: var(--accent); }
.drawer-nav a:hover { background: rgba(200, 121, 74, 0.12); padding-left: 18px; }
.drawer-contact {
    padding: 18px 26px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.drawer-contact-item { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.drawer-contact-item .contact-icon { color: var(--accent); display: flex; }
.drawer-footer { padding: 14px 26px 28px; }
.drawer-footer .btn { width: 100%; justify-content: center; }

/* ============================================================
   HERO (capítulo 0)
   ============================================================ */
.hero {
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 18% 12%, rgba(200, 121, 74, 0.12), transparent 52%),
        radial-gradient(ellipse at 85% 85%, rgba(200, 121, 74, 0.07), transparent 50%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero-title {
    font-size: clamp(2.7rem, 5.6vw, 5.4rem);
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.02;
}
.hero-accent { color: var(--accent); }
.hero-lead {
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    color: var(--muted);
    max-width: 30em;
    line-height: 1.75;
}
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
    border: 1px solid var(--line);
    padding: 9px 16px;
    border-radius: 100px;
    transition: border-color 0.18s ease, color 0.18s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 6px; }
.hero-actions .btn-ghost { color: var(--text); }

.hero-hint {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 5;
}
.hero-hint > span:first-child {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
}
.hint-line {
    position: relative;
    width: 1px;
    height: 36px;
    background: rgba(200, 121, 74, 0.35);
    overflow: hidden;
}
.hint-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: -40%;
    width: 1px;
    height: 40%;
    background: var(--accent);
    animation: hint-drop 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes hint-drop {
    0% { top: -40%; }
    60%, 100% { top: 110%; }
}

.hero-figure {
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
}
.hero-canvas {
    position: relative;
    aspect-ratio: 3 / 3.4;
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow-deep);
}
.hero-canvas img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) sepia(1) saturate(2.1) hue-rotate(-8deg) brightness(0.82) contrast(1.08);
}
.hero-canvas::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 16%, rgba(217, 155, 107, 0.28), transparent 52%),
        linear-gradient(to top, rgba(23, 18, 14, 0.62), transparent 46%);
    pointer-events: none;
}
.fig-label {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text);
    background: rgba(23, 18, 14, 0.78);
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    padding: 12px 18px;
}
.fig-label span { color: var(--accent); }
.hero-canvas .fig-label {
    top: 0;
    bottom: auto;
    border-top: none;
    border-bottom: 1px solid var(--line);
}

/* ---------- Hero chat box — tratamento A5 (anel de luz) ---------- */
.hero-chat-box {
    position: relative;
    z-index: 4;
    margin-top: -70px;
    margin-left: clamp(0px, 3vw, 40px);
    background: linear-gradient(160deg, rgba(45, 36, 28, 0.94), rgba(26, 20, 15, 0.97));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 121, 74, 0.22);
    border-radius: 26px;
    padding: 26px 26px 22px;
    box-shadow:
        0 0 0 1px rgba(200, 121, 74, 0.12),
        0 30px 70px rgba(0, 0, 0, 0.55),
        0 0 60px rgba(200, 121, 74, 0.12);
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-chat-box:hover { transform: translateY(-4px); }
.hero-chat-box.minimized { opacity: 0; transform: scale(0.96); pointer-events: none; }
.chat-box-tag {
    position: absolute;
    top: -11px;
    left: 28px;
    z-index: 5;
    background: var(--accent);
    color: #17120E;
    padding: 5px 14px;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    border-radius: 2px;
    box-shadow: 0 8px 22px rgba(200, 121, 74, 0.35);
}
.chat-box-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.chat-box-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(200, 121, 74, 0.5);
    animation: avatar-ring 2.6s ease-out infinite;
}
@keyframes avatar-ring {
    0% { box-shadow: 0 0 0 0 rgba(200, 121, 74, 0.4); }
    70% { box-shadow: 0 0 0 9px rgba(200, 121, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(200, 121, 74, 0); }
}
.chat-box-info { flex: 1; min-width: 0; }
.chat-box-name { font-family: var(--font-display); font-size: 19px; font-weight: 500; }
.chat-box-role { font-size: 11.5px; color: var(--muted); margin-top: 2px; letter-spacing: 0.04em; }
.chat-box-status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: var(--accent);
    font-weight: 500;
    margin-top: 4px;
}
.chat-box-status .online-dot, .sb-live .online-dot, .modal-status .online-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-cu 2s infinite;
}
@keyframes pulse-cu {
    0%, 100% { box-shadow: 0 0 0 0 rgba(200, 121, 74, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(200, 121, 74, 0); }
}
.wave { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.wave b { width: 2px; height: 40%; background: var(--accent); border-radius: 1px; animation: wave 1.3s ease-in-out infinite; }
.wave b:nth-child(2) { animation-delay: 0.18s; }
.wave b:nth-child(3) { animation-delay: 0.36s; }
@keyframes wave { 0%, 100% { height: 35%; } 50% { height: 100%; } }
.chat-box-messages { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.chat-bubble {
    max-width: 85%;
    padding: 13px 17px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.55;
}
.chat-bubble.bot {
    background: rgba(243, 238, 231, 0.07);
    border: 1px solid rgba(243, 238, 231, 0.08);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.chat-teaser { position: absolute; left: 26px; right: 26px; bottom: 88px; display: flex; flex-direction: column; gap: 12px; opacity: 0; visibility: hidden; pointer-events: none; }
.chat-teaser.on { opacity: 1; visibility: visible; }
.chat-teaser .chat-bubble { opacity: 0; transform: translateY(8px); }
.chat-teaser.on .chat-teaser-typing { animation: teaser-cycle 9s infinite 0.5s; }
.chat-teaser.on .chat-teaser-msg { animation: teaser-cycle 9s infinite 4.8s; }
@keyframes teaser-cycle {
    0%, 6% { opacity: 0; transform: translateY(8px); }
    14%, 48% { opacity: 1; transform: none; }
    56%, 100% { opacity: 0; transform: translateY(-4px); }
}
.chat-box-cta { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.chat-box-cta .btn { width: 100%; justify-content: center; padding: 15px; font-size: 13px; }
.chat-box-statusbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}
.chat-box-statusbar .sb-live { display: flex; align-items: center; gap: 7px; }
.chat-box-statusbar .sb-live .online-dot { width: 6px; height: 6px; }
.chat-box-statusbar .sb-ref { color: var(--accent); font-weight: 500; }

/* ============================================================
   CAPÍTULO 1 — A INQUIETAÇÃO (spread editorial)
   ============================================================ */
.inquietacao {
    background: var(--bg);
    padding: clamp(90px, 12vh, 150px) 0;
    position: relative;
}
.spread {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: clamp(40px, 7vw, 110px);
    align-items: start;
}
.spread-main { min-width: 0; }
.spread-title {
    font-size: clamp(2.2rem, 4.6vw, 4rem);
    line-height: 1.08;
    margin-top: 30px;
    max-width: 14em;
}
.spread-side { position: relative; padding-left: 34px; min-width: 0; }
.spread-side .fio {
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    opacity: 0.8;
}
.spread-text {
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 24px;
}
.spread-text:last-child { margin-bottom: 0; }
.accent-line { color: var(--accent); font-weight: 400; }

/* ============================================================
   CAPÍTULO 2 — A TÉCNICA (diagrama que se desenha)
   ============================================================ */
.tecnica {
    background: var(--bg);
    padding: clamp(70px, 9vh, 120px) 0 clamp(90px, 11vh, 140px);
    position: relative;
}
.tecnica-inner { display: flex; flex-direction: column; gap: 56px; }
.tecnica-head { max-width: 720px; }
.tecnica-title {
    font-size: clamp(2.2rem, 4.6vw, 4rem);
    margin-top: 26px;
    line-height: 1.06;
}
.tecnica-lead {
    margin-top: 24px;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    color: var(--muted);
    line-height: 1.8;
    max-width: 34em;
}
.tecnica-diagram {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 20px 0 30px;
}
.silhouette { width: 100%; height: auto; display: block; }
.silhouette-stroke {
    fill: rgba(200, 121, 74, 0.05);
    stroke: var(--text);
    stroke-width: 1.4;
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
}
.silhouette-line {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    stroke-dasharray: 260;
    stroke-dashoffset: 260;
}
.sil-dot { fill: var(--accent); }
.annot {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}
.annot .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.annot-a { left: -4px; top: 55%; }
.annot-b { right: -4px; top: 40%; }
.annot-c { left: 50%; transform: translateX(-50%); top: 72%; }
.diagram-tag {
    position: absolute;
    right: 0;
    bottom: 0;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}
.tecnica-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 4vw, 60px);
    border-top: 1px solid var(--line);
    padding-top: 44px;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    color: var(--accent);
    line-height: 1;
}
.stat-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ============================================================
   CAPÍTULO 3 — O PERCURSO (timeline vertical)
   ============================================================ */
.etapas {
    background: var(--bg);
    padding: clamp(70px, 9vh, 120px) 0 clamp(100px, 12vh, 160px);
    position: relative;
}
.etapas-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 70px; }
.etapas-title {
    font-size: clamp(2.2rem, 4.6vw, 4rem);
    line-height: 1.06;
}
.timeline { position: relative; }
.timeline-spine {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, var(--accent), rgba(200, 121, 74, 0.12));
}
.tl-item {
    position: relative;
    width: 50%;
    padding: 0 60px 60px 0;
}
.tl-item.tl-right { margin-left: 50%; padding: 0 0 60px 60px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-node {
    position: absolute;
    top: 0;
    right: -13px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bg);
    border: 1.5px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 0 6px var(--bg);
}
.tl-item.tl-right .tl-node { left: -13px; right: auto; }
.tl-card {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 30px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}
.tl-card:hover { border-color: rgba(200, 121, 74, 0.4); transform: translateY(-3px); }
.tl-tag {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--accent);
}
.tl-title { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 12px 0 10px; }
.tl-text { color: var(--muted); font-size: 15px; line-height: 1.75; }

/* ============================================================
   CAPÍTULO 4 — A GALERIA (scroll horizontal / luz)
   ============================================================ */
.galeria {
    background: var(--bg-alt);
    color: var(--text-alt);
    padding: clamp(80px, 10vh, 140px) 0 40px;
    overflow: hidden;
}
.galeria-head {
    padding: 0 clamp(20px, 4vw, 56px);
    max-width: 1280px;
    margin: 0 auto 54px;
}
.galeria .kicker { color: var(--muted-alt); }
.galeria .kicker .plano { color: var(--accent-deep); }
.galeria-title {
    font-size: clamp(2.2rem, 4.6vw, 4rem);
    margin-top: 22px;
    line-height: 1.06;
}
.galeria-lead { margin-top: 18px; color: var(--muted-alt); max-width: 34em; font-size: 1.05rem; }
.galeria-track {
    display: flex;
    gap: clamp(20px, 3vw, 40px);
    padding: 12px clamp(20px, 4vw, 56px) 30px;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.galeria-track::-webkit-scrollbar { display: none; }
.galeria.pinned .galeria-track { overflow: visible; scroll-snap-type: none; }
.work { position: relative; flex: 0 0 auto; scroll-snap-align: start; width: clamp(300px, 36vw, 520px); aspect-ratio: 3 / 3.6; display: flex; flex-direction: column; background: var(--surface-alt); border: 1px solid var(--line-alt); box-shadow: 0 24px 60px rgba(27, 21, 18, 0.14); transition: box-shadow 0.5s ease; }
.work img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) sepia(0.3) saturate(1.4) brightness(0.98) contrast(1.03); transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.work:hover { box-shadow: 0 34px 80px rgba(27, 21, 18, 0.22); }
.work:hover img { transform: scale(1.05); }
.work:hover figcaption .obra-num { letter-spacing: 0.32em; }
.work figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--text-alt);
    background: var(--bg-alt);
    border-top: 1px solid var(--line-alt);
    border-right: 1px solid var(--line-alt);
    padding: 12px 18px;
}
.work figcaption .obra-num { color: var(--accent-deep); transition: letter-spacing 0.45s ease; }
.work-light { background: var(--bg-alt); align-items: center; justify-content: center; }
.light-study { width: 78%; height: auto; }
.work-type {
    background: var(--text-alt);
    color: var(--text);
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
    padding: 34px;
    border: none;
}
.work-type .type-super {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent);
}
.work-type .type-main {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.02;
}
.work-type .type-sub {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
}
.work-type figcaption { position: absolute; background: var(--text-alt); color: var(--text); border-color: rgba(243, 238, 231, 0.16); }
.work-type figcaption .obra-num { color: var(--accent); }
.galeria-note {
    max-width: 1280px;
    margin: 0 auto;
    padding: 26px clamp(20px, 4vw, 56px) 60px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-alt);
}

/* ============================================================
   CAPÍTULO 5 — O CIRURGIÃO (split assimétrico 7/5)
   ============================================================ */
.cirurgiao {
    background: var(--bg-alt);
    color: var(--text-alt);
    padding: clamp(80px, 10vh, 140px) 0;
}
.cirurgiao-inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}
.cirurgiao-figure { position: relative; }
.cirurgiao-figure img {
    width: 100%;
    aspect-ratio: 4 / 4.6;
    object-fit: cover;
    filter: grayscale(0.25) sepia(0.32) saturate(1.35) brightness(0.97) contrast(1.04);
    border: 1px solid var(--line-alt);
}
.cirurgiao-figure .fig-label {
    background: var(--bg-alt);
    color: var(--text-alt);
    border-color: var(--line-alt);
}
.cirurgiao-figure .fig-label span { color: var(--accent-deep); }
.cirurgiao-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.cirurgiao .kicker { color: var(--muted-alt); }
.cirurgiao .kicker .plano { color: var(--accent-deep); }
.cirurgiao-title { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.06; }
.cirurgiao-text { color: var(--muted-alt); font-size: 1.1rem; line-height: 1.8; }
.credenciais { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line-alt); margin-top: 6px; }
.credenciais li {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-alt);
}
.cred-num {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--accent-deep);
    letter-spacing: 0.14em;
    width: 22px;
    flex-shrink: 0;
}
.cred-text { font-size: 14px; font-weight: 400; letter-spacing: 0.04em; }
.cirurgiao-copy .btn-dark { align-self: flex-start; margin-top: 8px; }

/* ============================================================
   CAPÍTULO 6 — CUIDADO E TRANSPARÊNCIA (acordeão)
   ============================================================ */
.faq {
    background: var(--bg-alt);
    color: var(--text-alt);
    padding: clamp(40px, 6vh, 80px) 0 clamp(90px, 11vh, 150px);
}
.faq-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq .kicker { color: var(--muted-alt); }
.faq .kicker .plano { color: var(--accent-deep); }
.faq-title { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.08; margin-top: 22px; }
.faq-list { min-width: 0; }
.faq-item { border-bottom: 1px solid var(--line-alt); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 0;
    text-align: left;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    color: var(--text-alt);
    transition: var(--transition-fast);
}
.faq-question:hover { color: var(--accent-deep); }
.faq-num {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--accent-deep);
    letter-spacing: 0.14em;
    width: 26px;
    flex-shrink: 0;
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-answer p {
    padding: 0 0 26px 44px;
    color: var(--muted-alt);
    font-size: 15px;
    line-height: 1.8;
    max-width: 40em;
}
.faq-contact {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line-alt);
    margin-top: 10px;
    padding-top: 34px;
}
.faq-contact-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted-alt);
}
.faq-contact-links { display: flex; gap: 14px; flex-wrap: wrap; }
.faq-contact-links .btn-ghost { border-color: var(--line-alt); color: var(--text-alt); }

/* ============================================================
   CAPÍTULO 7 — VOZES (mosaico editorial)
   ============================================================ */
.vozes {
    background: var(--bg-alt);
    color: var(--text-alt);
    padding: clamp(40px, 6vh, 80px) 0 clamp(110px, 13vh, 180px);
}
.vozes .kicker { color: var(--muted-alt); }
.vozes .kicker .plano { color: var(--accent-deep); }
.vozes-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    margin: 22px 0 70px;
    max-width: 18em;
}
.vozes-mosaic {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(30px, 4vw, 70px);
    align-items: start;
}
.voze {
    border: none;
    font-family: var(--font-display);
    color: var(--text-alt);
    line-height: 1.25;
    letter-spacing: -0.01em;
}
.voze::before { content: '“'; display: block; font-family: var(--font-display); font-size: 64px; line-height: 0.6; color: var(--accent-deep); margin-bottom: 18px; }
.voze cite {
    display: block;
    margin-top: 18px;
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted-alt);
}
.voze-lg { font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
.voze-md { font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
.voze-sm { font-size: clamp(1.15rem, 1.9vw, 1.6rem); }
.voze-offset { margin-top: clamp(20px, 4vw, 60px); }

/* ============================================================
   CAPÍTULO 8 — CTA FINAL
   ============================================================ */
.cta-final {
    background: var(--bg);
    padding: clamp(100px, 14vh, 180px) 0;
    position: relative;
    overflow: hidden;
}
.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(200, 121, 74, 0.14), transparent 55%);
    pointer-events: none;
}
.cta-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.cta-title {
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    line-height: 1.02;
}
.cta-text {
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 34em;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cta-actions .btn-ghost { color: var(--text); }
.cta-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 34px;
    justify-content: center;
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ============================================================
   FOOTER — COLOFÃO
   ============================================================ */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--line);
    padding: 0 0 40px;
    position: relative;
}
.colofao {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: clamp(70px, 10vh, 120px) 20px 50px;
    text-align: center;
    position: relative;
}
.colofao-edition {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--muted);
}
.colofao-mark {
    font-family: var(--font-display);
    font-size: clamp(4rem, 13vw, 11rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    color: var(--text);
    background: linear-gradient(to bottom, #F3EEE7 30%, rgba(243, 238, 231, 0.25));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 46px 0 34px;
    border-top: 1px solid var(--line);
}
.footer-brand { min-width: 0; }
.footer-brand-logo { width: 40px; height: 40px; object-fit: contain; margin-bottom: 14px; }
.footer-brand .brand-name { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.14em; margin-bottom: 10px; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.8; max-width: 280px; }
.footer-col h5 {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    font-size: 13.5px;
    color: var(--muted);
    padding: 5px 0;
    transition: var(--transition-fast);
}
.footer-col a:hover { color: var(--text); padding-left: 4px; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(243, 238, 231, 0.05);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer-social a svg { width: 15px; height: 15px; fill: var(--muted); transition: var(--transition); }
.footer-social a:hover svg { fill: #17120E; }
.topo-link {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    transition: var(--transition-fast);
}
.topo-link:hover { color: var(--accent); }

/* ============================================================
   FLOATING BOT
   ============================================================ */
.floating-bot {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-soft);
}
.floating-bot.visible { opacity: 1; visibility: visible; transform: scale(1); }
.floating-bot:hover { transform: scale(1.08); }
.floating-bot img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(200, 121, 74, 0.6);
}
.floating-bot .floating-pulse {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    animation: floating-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes floating-ping {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}
.floating-bot .floating-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border: 2px solid var(--bg);
    border-radius: 50%;
}

/* ============================================================
   CHAT MODAL (entra pela direita)
   ============================================================ */
.chat-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(10, 8, 6, 0.62);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.chat-modal-overlay.active { opacity: 1; visibility: visible; }
.chat-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    width: 430px;
    max-width: 100%;
    background: var(--surface);
    border-left: 1px solid rgba(200, 121, 74, 0.22);
    box-shadow: -16px 0 80px rgba(0, 0, 0, 0.55);
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    will-change: transform;
}
.chat-modal.active { transform: translateX(0); }
.chat-modal-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
    background: linear-gradient(160deg, rgba(45, 36, 28, 0.9), rgba(26, 20, 15, 0.95));
}
.chat-modal-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent), rgba(200, 121, 74, 0.25));
}
.chat-modal-header .modal-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(200, 121, 74, 0.5);
}
.chat-modal-header .modal-info { flex: 1; min-width: 0; }
.chat-modal-header .modal-name { font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.chat-modal-header .modal-role { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.chat-modal-header .modal-status { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--accent); font-weight: 500; margin-top: 3px; }
.chat-modal-header .modal-status .online-dot { width: 7px; height: 7px; }
.chat-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(243, 238, 231, 0.06);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--muted);
    font-size: 17px;
    transition: var(--transition);
    flex-shrink: 0;
}
.chat-modal-close:hover { background: var(--accent); color: #17120E; }
.chat-modal-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.chat-modal-body .chat-bubble { animation: none; opacity: 1; }
.modal-typing {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 13px 17px;
    background: rgba(243, 238, 231, 0.07);
    border: 1px solid rgba(243, 238, 231, 0.08);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    max-width: 85%;
}
.typing-dots { display: flex; gap: 4px; }
.typing-dots span {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}
.chat-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.chat-modal-footer input {
    flex: 1;
    min-width: 0;
    padding: 13px 16px;
    background: rgba(243, 238, 231, 0.06);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}
.chat-modal-footer input:focus { border-color: var(--accent); }
.chat-modal-footer input::placeholder { color: var(--muted); }
.chat-modal-footer .send-btn {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: var(--radius);
    background: var(--accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #17120E;
    font-size: 16px;
    transition: var(--transition);
}
.chat-modal-footer .send-btn:hover { background: #D99B6B; transform: scale(1.05); }

/* ---------- Fluxo do chat (tema escuro) ---------- */
.chat-flow-input {
    flex: 1;
    min-width: 0;
    background: rgba(243, 238, 231, 0.06);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 13px;
    color: var(--text);
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
}
.chat-flow-input:focus { border-color: var(--accent); }
.chat-flow-send {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: var(--radius);
    background: var(--accent);
    border: none;
    color: #17120E;
    cursor: pointer;
    font-size: 16px;
}
.chat-options-container { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.chat-option-btn {
    width: 100%;
    padding: 13px;
    background: rgba(243, 238, 231, 0.06);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}
.chat-option-btn:hover { background: rgba(200, 121, 74, 0.14); border-color: var(--accent); }
.chat-checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px;
    background: rgba(243, 238, 231, 0.04);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    cursor: pointer;
    font-size: 14px;
}
.chat-checkbox-option.checked { background: rgba(200, 121, 74, 0.14); border-color: var(--accent); }
.chat-flow-continue {
    width: 100%;
    padding: 13px;
    border-radius: var(--radius);
    margin-top: 8px;
    background: var(--accent);
    color: #17120E;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.chat-summary { width: 100%; max-width: 100%; }
.chat-summary-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.chat-summary-table td { padding: 6px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
.chat-summary-table td:first-child { font-weight: 400; color: var(--muted); }
.chat-summary-table td:last-child { color: var(--text); text-align: right; }
.chat-lgpd { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 12px; color: var(--muted); }
.chat-lgpd input { margin-top: 2px; }
.chat-end-actions { display: flex; gap: 10px; margin-top: 15px; width: 100%; }
.chat-end-actions .btn { flex: 1; text-align: center; font-size: 12px; padding: 12px 14px; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 900px) {
    .navbar-links { display: none; }
    .navbar-cta { display: none; }
    .hamburger { display: flex; }
    .navbar-wrapper {
        top: 12px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: calc(100% - 24px);
        max-width: 560px;
        padding: 0;
    }
    .navbar-wrapper.hidden { transform: translateX(-50%) translateY(-130%); }
    .navbar {
        height: auto;
        border-radius: 100px;
        border: 1px solid var(--line);
        background: rgba(23, 18, 14, 0.86);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        padding: 10px 18px;
        box-shadow: 0 14px 44px rgba(0, 0, 0, 0.4);
    }
    .navbar-wrapper.scrolled { background: transparent; border-bottom: none; }
    .brand-logo { width: 34px; height: 34px; }
    .brand-name { font-size: 19px; }

    .hero { padding: 120px 0 70px; }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 54px;
    }
    .hero-title { font-size: clamp(2.3rem, 9vw, 3.2rem); }
    .hero-figure { width: 100%; }
    .hero-canvas { aspect-ratio: 4 / 3.4; }
    .hero-chat-box { margin-top: -64px; margin-left: 0; }
    .hero-chat-box:hover { transform: none; }

    .spread { grid-template-columns: 1fr; gap: 44px; }
    .spread-side { padding-left: 0; }
    .spread-side .fio { top: -34px; left: 0; right: 0; width: auto; height: 1px; background: linear-gradient(to right, var(--accent), transparent); }

    .annot-a { left: 0; top: 52%; }
    .annot-b { right: 0; top: 38%; }
    .annot-c { left: 50%; transform: translateX(-50%); top: 74%; }
    .tecnica-stats { grid-template-columns: 1fr; gap: 34px; }

    .timeline-spine { left: 13px; }
    .tl-item, .tl-item.tl-right { width: 100%; margin-left: 0; padding: 0 0 46px 46px; }
    .tl-node, .tl-item.tl-right .tl-node { left: 0; right: auto; }

    .galeria-track { padding-left: 20px; padding-right: 20px; }
    .work { width: 78vw; }

    .cirurgiao-inner { grid-template-columns: 1fr; }
    .cirurgiao-figure img { aspect-ratio: 4 / 3.6; }

    .faq-inner { grid-template-columns: 1fr; }
    .vozes-mosaic { grid-template-columns: 1fr; }
    .voze-offset { margin-top: 34px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
    .chat-modal { width: 100%; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-chips { gap: 8px; }
    .chip { font-size: 9.5px; padding: 8px 13px; }
    .hero-actions .btn { width: 100%; }
}

/* ============ TELA DE LOADING ============ */
.loader {
    position: fixed; inset: 0; z-index: 10002;
    background: radial-gradient(ellipse at 50% 38%, var(--surface) 0%, var(--bg) 72%);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.loader-seal { width: 84px; height: 84px; border-radius: 50%; border: 1px solid rgba(200, 121, 74, 0.4); padding: 16px; animation: loader-breathe 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.loader-seal img { width: 100%; height: 100%; object-fit: contain; }
.loader-mark { font-family: var(--font-display); font-weight: 500; font-size: 28px; letter-spacing: 0.22em; color: var(--text); line-height: 1.1; }
.loader-mark small { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.loader-track { width: 190px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.loader-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); }
.loader-pct { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.24em; color: var(--accent); }
@keyframes loader-breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.85; } }

/* ============ BARRA DE COOKIES / LGPD ============ */
.cookie-bar {
    position: fixed; left: 18px; bottom: 18px; z-index: 10001;
    max-width: 420px;
    background: var(--surface);
    border: 1px solid rgba(200, 121, 74, 0.3);
    padding: 20px 22px;
    box-shadow: var(--shadow-deep);
    transform: translateY(130%); opacity: 0; visibility: hidden;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, visibility 0.4s ease;
}
.cookie-bar.show { transform: translateY(0); opacity: 1; visibility: visible; }
.cookie-texto { margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.cookie-acoes { display: flex; gap: 10px; }
.cookie-btn {
    padding: 10px 16px; font-family: var(--font-mono); font-size: 10.5px;
    letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
    border: 1px solid var(--line); background: transparent; color: var(--muted);
    transition: var(--transition); border-radius: var(--radius);
}
.cookie-btn--accept { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.cookie-btn--accept:hover { background: #D88C5E; }
.cookie-btn--essential:hover { border-color: var(--accent); color: var(--text); }
@media (max-width: 640px) {
    .cookie-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ============ PAINEL COMPLEMENTAR (desktop — abre junto com a modal de chat) ============ */
.chat-panel {
    position: fixed; top: 0; bottom: 0; left: 0; right: 430px; z-index: 9999;
    background:
        radial-gradient(ellipse at 82% 40%, rgba(200, 121, 74, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 18% 92%, rgba(243, 238, 231, 0.04) 0%, transparent 50%),
        var(--surface);
    border-right: 1px solid rgba(200, 121, 74, 0.22);
    transform: translateX(-100%);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex; flex-direction: column;
    overflow-y: auto; overscroll-behavior: contain;
}
.chat-panel.active { transform: translateX(0); }
.chat-panel-close {
    position: absolute; top: 18px; right: 18px;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--muted); font-size: 14px;
    transition: var(--transition); z-index: 3;
}
.chat-panel-close:hover { color: var(--accent); border-color: var(--accent); }
.chat-panel-inner {
    padding: clamp(32px, 5.5vh, 56px) clamp(36px, 4.5vw, 64px);
    display: flex; flex-direction: column; flex: 1;
}
.chat-panel-main {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(28px, 3.5vw, 56px);
    align-items: center; flex: 1;
}
.chat-panel-copy { min-width: 0; }
.chat-panel-figure { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.chat-panel-figure::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: min(30vw, 420px); aspect-ratio: 1;
    transform: translate(-50%, -50%); border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 121, 74, 0.1) 0%, transparent 62%);
    pointer-events: none;
}
.panel-selo { width: 100%; max-width: 260px; position: relative; z-index: 1; filter: drop-shadow(0 26px 60px rgba(0, 0, 0, 0.5)); }
.panel-selo img { width: 100%; height: auto; }
.panel-selo-caption { position: relative; z-index: 1; margin-top: 16px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.chat-panel-kicker {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 24px;
}
.chat-panel-kicker::before { content: ''; width: 30px; height: 2px; background: var(--accent); }
.chat-panel-title {
    font-family: var(--font-display); font-size: clamp(30px, 3vw, 46px);
    font-weight: 500; line-height: 1.1; color: var(--text);
    margin-bottom: 16px; max-width: 17ch;
}
.chat-panel-lead { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 30px; max-width: 40ch; }
.chat-panel-steps { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid var(--line); }
.chat-panel-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.cps-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--accent); padding-top: 4px; }
.cps-body { min-width: 0; }
.cps-body h4 { font-size: 15.5px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.cps-body p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.chat-panel-foot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); min-width: 0; }
.chat-panel-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); flex-shrink: 0; }
.chat-panel-foot-info { min-width: 0; }
.chat-panel-who { font-family: var(--font-display); font-size: 16px; font-weight: 500; color: var(--text); }
.chat-panel-role { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.chat-panel-lgpd { margin-top: 18px; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); opacity: 0.75; }
@media (max-width: 1024px) { .chat-panel { display: none; } }
