/* ============================================================
   CÁLAMO & VIANNA — Advocacia de Alto Padrão
   Conceito: "A Casa da Precisão" (Art Déco + Bauhaus)
   Sistema visual: folha editorial com régua de mostrador,
   navbar-filete, hero com carta que invade o limite, índices
   tipográficos (sem cards), transições em corte diagonal.
   Paleta: tinta verde-bronze + papel de algodão + bronze.
   ============================================================ */

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

:root {
    --bg: #0A201B;
    --bg-2: #0D2822;
    --bg-3: #0F2A24;
    --paper: #F5F1EC;
    --paper-2: #ECE5DC;
    --paper-3: #E0D7CB;
    --ink: #2B2018;
    --ink-soft: #6E5F52;
    --text: #F1EAE0;
    --text-muted: #A9B8B0;
    --line: rgba(241, 234, 224, 0.16);
    --line-soft: rgba(241, 234, 224, 0.08);
    --line-paper: rgba(43, 32, 24, 0.18);
    --accent: #C9A76B;
    --accent-deep: #7A5C33;
    --accent-soft: rgba(201, 167, 107, 0.16);
    --radius: 0px;
    --radius-soft: 2px;
    --shadow: 0 40px 110px rgba(0, 0, 0, 0.55);
    --shadow-paper: 0 30px 70px rgba(43, 32, 24, 0.20);
    --font-display: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
    --font-body: 'EB Garamond', Georgia, serif;
    --font-mono: 'Space Mono', 'Courier New', monospace;
    --transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html, body { scroll-behavior: auto; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

html.lp-loading .js-personalize { visibility: hidden; }

a:focus-visible, button:focus-visible, [data-open-chat]:focus-visible, input:focus-visible {
    outline: 2px solid var(--accent); outline-offset: 3px;
}
.paper-folha a:focus-visible, .paper-folha button:focus-visible { outline-color: var(--accent-deep); }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ============ RÉGUA DE MOSTRADOR (folha lateral fixa — assinatura transversal) ============ */
.rail {
    position: fixed; top: 0; left: 0; bottom: 0; width: 64px; z-index: 999;
    border-right: 1px solid var(--line-soft);
    background: linear-gradient(180deg, var(--bg-2), var(--bg) 60%);
    display: flex; flex-direction: column; align-items: center;
    padding: 20px 0; gap: 18px;
}
.rail .rail-mark { width: 30px; height: 30px; }
.rail .rail-mark svg { width: 100%; height: 100%; }
.rail .rail-rule { width: 1px; flex: 1; background: var(--line-soft); position: relative; }
.rail .rail-rule .rail-dot { position: absolute; top: 0; left: -2.5px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: rail-fall 3.2s var(--ease) forwards; }
@keyframes rail-fall { 0% { top: 0; } 100% { top: calc(100% - 6px); } }
.rail .rail-folio {
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-family: var(--font-display); font-size: 34px; color: var(--accent);
    opacity: 0.5; line-height: 1; letter-spacing: 0.06em;
}
.rail .rail-ticks { display: flex; flex-direction: column; gap: 5px; }
.rail .rail-ticks .t { width: 2px; height: 8px; background: var(--line); display: block; }
.rail .rail-ticks .t:nth-child(4n) { height: 13px; background: var(--accent); opacity: 0.6; }
.rail .rail-soc { display: flex; flex-direction: column; gap: 10px; }
.rail .rail-soc a { color: var(--text-muted); }
.rail .rail-soc a svg { width: 15px; height: 15px; stroke: currentColor; }
.rail .rail-soc a:hover { color: var(--accent); }
@media (max-width: 1280px) { .rail { display: none; } }

/* offset do conteúdo pelo filete (desktop largo) */
@media (min-width: 1281px) {
    body { padding-left: 64px; }
}

/* ============ GUILLOCHÉ ============ */
.guilloche {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%23C9A76B' stroke-width='0.6' opacity='0.5'%3E%3Ccircle cx='120' cy='120' r='70'/%3E%3Ccircle cx='120' cy='120' r='88'/%3E%3Ccircle cx='120' cy='120' r='106'/%3E%3Ccircle cx='120' cy='120' r='124'/%3E%3Ccircle cx='120' cy='120' r='142'/%3E%3Cpath d='M120 44 L120 56 M120 184 L120 196 M44 120 L56 120 M184 120 L196 120 M62 62 L71 71 M169 169 L178 178 M178 62 L169 71 M71 169 L62 178'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat; background-size: 240px 240px;
}
.guilloche-paper {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%237A5C33' stroke-width='0.6' opacity='0.45'%3E%3Ccircle cx='120' cy='120' r='70'/%3E%3Ccircle cx='120' cy='120' r='88'/%3E%3Ccircle cx='120' cy='120' r='106'/%3E%3Ccircle cx='120' cy='120' r='124'/%3E%3Ccircle cx='120' cy='120' r='142'/%3E%3Cpath d='M120 44 L120 56 M120 184 L120 196 M44 120 L56 120 M184 120 L196 120 M62 62 L71 71 M169 169 L178 178 M178 62 L169 71 M71 169 L62 178'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat; background-size: 240px 240px;
}

/* ============ DISPOSITIVOS ============ */
.agrafe {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.30em;
    text-transform: uppercase; color: var(--accent);
}
.agrafe .an { font-style: normal; font-variant-numeric: tabular-nums; color: var(--accent); }
.agrafe .filete { display: inline-block; width: 46px; height: 1px; background: var(--accent); opacity: 0.7; }
.agrafe--paper { color: var(--accent-deep); }
.agrafe--paper .an, .agrafe--paper .filete { color: var(--accent-deep); background: var(--accent-deep); }

.selo { display: inline-grid; place-items: center; width: 64px; height: 64px; }
.selo svg { width: 100%; height: 100%; }

.ghost-num {
    position: absolute; z-index: 0; pointer-events: none;
    font-family: var(--font-display); font-weight: 500; line-height: 0.8;
    color: var(--text); opacity: 0.05; user-select: none;
}

/* ============ BOTÕES ============ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 26px; border-radius: 0;
    font-family: var(--font-mono); font-weight: 400;
    font-size: 11.5px; letter-spacing: 0.20em; text-transform: uppercase;
    border: 1px solid transparent; transition: var(--transition);
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #D9B87F; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.paper-folha .btn-outline { color: var(--ink); border-color: var(--line-paper); }
.paper-folha .btn-outline:hover { border-color: var(--accent-deep); color: var(--accent-deep); }
.btn-index { background: transparent; border: 1px solid var(--line); color: var(--accent); font-family: var(--font-mono); }
.btn-index:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* ============ NAVBAR — FILEte DE REVISTA ============ */
.navbar-wrapper {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: transform 0.4s var(--ease);
    border-bottom: 1px solid transparent;
}
.navbar-wrapper.hidden { transform: translateY(-100%); }
.navbar-wrapper.scrolled { border-bottom-color: var(--line-soft); background: rgba(10, 32, 27, 0.55); backdrop-filter: blur(8px); }
@media (min-width: 1281px) { .navbar-wrapper { left: 64px; } }
.navbar {
    height: 72px; padding: 0 34px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.navbar-brand { display: flex; align-items: center; gap: 13px; }
.brand-logo { width: 36px; height: 36px; object-fit: contain; }
.brand-name {
    font-family: var(--font-display); font-weight: 600; font-size: 16px;
    letter-spacing: 0.03em; color: var(--text); line-height: 1; display: flex; flex-direction: column;
}
.brand-name small { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--accent); font-weight: 400; margin-top: 4px; }
.navbar-mid { display: flex; align-items: center; }
.navbar-links { display: flex; align-items: center; }
.navbar-links > a, .navbar-links .nav-item > a {
    position: relative; padding: 22px 18px;
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--text-muted);
    border-left: 1px solid var(--line-soft); transition: color 0.3s;
    display: flex; align-items: center; gap: 8px;
}
.navbar-links > a:first-child { border-left: none; }
.navbar-links > a::before, .navbar-links .nav-item > a::before {
    content: ''; position: absolute; top: -1px; left: 50%;
    width: 1px; height: 7px; background: var(--accent);
    transform: translateX(-50%) scaleY(0); transform-origin: top; transition: transform 0.3s var(--ease);
}
.navbar-links > a:hover, .navbar-links > a.active,
.navbar-links .nav-item > a:hover { color: var(--text); }
.navbar-links > a.active::before, .navbar-links .nav-item:hover > a::before { transform: translateX(-50%) scaleY(1); }

/* Dropdown "Atuação" (mega menu índice) */
.nav-item { position: relative; }
.nav-drop {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    width: 720px; background: var(--bg-2);
    border: 1px solid var(--line-soft); border-top: 2px solid var(--accent);
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: var(--transition); padding: 34px 36px;
}
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { opacity: 1; visibility: visible; pointer-events: auto; }
.nav-drop-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
.nav-drop-links { display: flex; flex-direction: column; }
.nav-drop-links a {
    display: flex; align-items: baseline; gap: 16px;
    padding: 13px 4px; border-bottom: 1px solid var(--line-soft);
    font-family: var(--font-body); font-size: 18px; color: var(--text);
    transition: var(--transition);
}
.nav-drop-links a:last-child { border-bottom: none; }
.nav-drop-links a .dr { font-family: var(--font-mono); font-size: 10.5px; color: var(--accent); letter-spacing: 0.18em; }
.nav-drop-links a:hover { color: var(--accent); padding-left: 14px; }
.nav-drop-note { border-left: 1px solid var(--line-soft); padding-left: 30px; display: flex; flex-direction: column; gap: 16px; }
.nav-drop-note .nd-kicker { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); }
.nav-drop-note p { color: var(--text-muted); font-size: 14px; line-height: 1.65; }

.navbar-end { display: flex; align-items: center; gap: 16px; }
.navbar-cta { padding: 12px 20px; border: 1px solid var(--accent); color: var(--accent); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; transition: var(--transition); }
.navbar-cta:hover { background: var(--accent); color: var(--ink); }
.nav-winder { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--accent); position: relative; display: grid; place-items: center; }
.nav-winder::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.hamburger span { width: 24px; height: 1.5px; background: var(--text); }

/* ============ DRAWER MOBILE ============ */
.mobile-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 1100; }
.mobile-drawer-overlay.active { opacity: 1; visibility: visible; }
.mobile-drawer {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(380px, 92vw);
    background: var(--bg-2); border-right: 1px solid var(--line);
    transform: translateX(-100%); transition: transform 0.45s var(--ease); z-index: 1101;
    display: flex; flex-direction: column; padding: 26px 24px;
    overflow-y: auto; overscroll-behavior: contain;
}
.mobile-drawer.active { transform: translateX(0); }
.drawer-header { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.drawer-brand { display: flex; align-items: center; gap: 12px; }
.drawer-brand-logo { width: 38px; height: 38px; }
.drawer-brand-name { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.drawer-slogan { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-top: 3px; }
.drawer-close { background: none; border: none; color: var(--text-muted); font-size: 26px; line-height: 1; }
.drawer-nav { display: flex; flex-direction: column; margin: 20px 0; }
.drawer-nav a {
    display: flex; align-items: center; gap: 14px; padding: 15px 8px;
    border-bottom: 1px solid var(--line-soft);
    color: var(--text); font-family: var(--font-body); font-size: 17px;
    transition: var(--transition);
}
.drawer-nav a:last-child { border-bottom: none; }
.drawer-nav a:hover, .drawer-nav a.active { color: var(--accent); padding-left: 16px; }
.drawer-icon { width: 22px; display: inline-flex; justify-content: center; }
.drawer-icon svg { width: 20px; height: 20px; stroke: var(--accent); }
.drawer-nav a .dnum { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); letter-spacing: 0.2em; }
.drawer-contact { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--text-muted); font-family: var(--font-mono); }
.drawer-contact-item { display: flex; align-items: center; gap: 10px; }
.drawer-contact-item svg { width: 16px; height: 16px; stroke: var(--accent); flex: none; }
.drawer-footer { margin-top: auto; padding-top: 18px; }
.drawer-footer .btn { width: 100%; }

/* ============ HERO (anatomia única; figura invade o limite) ============ */
.hero {
    position: relative; overflow: visible;
    padding: 168px 0 0;
    background: var(--bg); color: var(--text);
}
.hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--line-soft) 30%, transparent 70%);
    opacity: 0.5;
}
.hero .ghost-num { font-size: clamp(240px, 44vw, 600px); top: 30px; left: -20px; }
.hero-layout {
    width: 100%; max-width: 1500px; margin: 0 auto; padding: 0 42px 0 60px;
    display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 60px; align-items: start;
}
.hero-layout > * { min-width: 0; }
.hero-copy { position: relative; z-index: 2; padding: 40px 0 110px; }
.hero-copy .agrafe { margin-bottom: 30px; }
.hero-copy h1 {
    font-family: var(--font-display); font-weight: 500;
    font-size: clamp(3rem, 7vw, 6rem); line-height: 0.96; letter-spacing: -0.015em;
    max-width: 12ch;
}
.hero-copy h1 .accent-word { color: var(--accent); font-style: normal; }
.hero-copy .lead { margin-top: 30px; max-width: 44ch; font-size: 19px; color: var(--text-muted); line-height: 1.62; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.hero-credencial { margin-top: 40px; display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); }
.hero-credencial .filete { width: 52px; height: 1px; background: var(--accent); }

/* Coluna da figura: campo guilloché + carta que invade o limite */
.hero-figure { position: relative; z-index: 3; align-self: start; }
.hero-field { position: absolute; top: -40px; right: -8%; bottom: 60px; left: -40px; z-index: 0; pointer-events: none; opacity: 0.85; }
.hero-field::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 62% 44%, rgba(201,167,107,0.14) 0%, transparent 58%),
        radial-gradient(circle at 30% 20%, rgba(201,167,107,0.06) 0%, transparent 50%);
}
.hero-field .guilloche { position: absolute; inset: 0; opacity: 0.4; -webkit-mask-image: radial-gradient(ellipse at 60% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 60% 45%, #000 20%, transparent 75%); }
.hero-rule { position: absolute; top: 0; bottom: 0; left: -40px; width: 1px; background: var(--line-soft); }
.hero-figure-inner { position: relative; z-index: 2; }

/* Carta selada (A10) — invade o limite inferior da hero */
.hero-chat-box {
    position: relative;
    background: var(--paper); color: var(--ink);
    max-width: 440px; margin-left: auto; margin-right: 0; width: 100%;
    padding: 18px 18px 0;
    transform: rotate(-1.6deg) translateY(56px);
    box-shadow: var(--shadow-paper);
    transition: transform 0.5s var(--ease);
    z-index: 2;
}
.hero-chat-box::before {
    content: ''; position: absolute; top: 0; right: 0; width: 66px; height: 66px;
    background: linear-gradient(225deg, var(--paper-3) 50%, transparent 50%);
    z-index: 3; pointer-events: none;
}
.hero-chat-box::after {
    content: ''; position: absolute; top: 11px; right: 11px; width: 7px; height: 7px;
    background: var(--accent-deep); border-radius: 50%; z-index: 4; pointer-events: none;
}
.hero-chat-box:hover { transform: rotate(-0.6deg) translateY(46px); }
.hero-chat-box.minimized { transform: rotate(-1.6deg) scale(0.94) translateY(72px); opacity: 0.25; pointer-events: none; }
.chat-seal { position: absolute; top: 26px; right: 26px; z-index: 5; width: 46px; height: 46px; }
.chat-seal svg { width: 100%; height: 100%; }
.chat-box-tag { position: absolute; top: -11px; left: 24px; z-index: 6; background: var(--accent-deep); color: #F5F1EC; padding: 5px 14px; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.26em; text-transform: uppercase; }
.chat-box-header { display: flex; align-items: center; gap: 13px; padding: 8px 0 14px; border-bottom: 1px solid var(--line-paper); }
.chat-box-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; animation: avatar-ring 2.8s ease-out infinite; }
@keyframes avatar-ring { 0% { box-shadow: 0 0 0 0 rgba(201,167,107,0.35); } 70% { box-shadow: 0 0 0 11px rgba(201,167,107,0); } 100% { box-shadow: 0 0 0 0 rgba(201,167,107,0); } }
.chat-box-info { flex: 1; min-width: 0; }
.chat-box-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); }
.chat-box-role { font-size: 11.5px; color: var(--ink-soft); }
.chat-box-status { font-size: 10px; color: var(--accent-deep); font-weight: 600; display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-deep); display: inline-block; animation: pulse-dot 1.8s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { box-shadow: 0 0 0 0 rgba(122,92,51,0.4); } 55% { box-shadow: 0 0 0 7px rgba(122,92,51,0); } }
.wave { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.wave b { width: 2px; height: 40%; background: var(--accent-deep); 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: 10px; padding: 16px 0; min-height: 170px; }
.chat-bubble { padding: 11px 15px; border-radius: 1px; font-size: 14px; line-height: 1.5; max-width: 86%; }
.chat-bubble.bot { background: var(--paper-2); border: 1px solid var(--line-paper); color: var(--ink); align-self: flex-start; }
.chat-teaser { position: absolute; left: 18px; right: 18px; bottom: 96px; display: flex; flex-direction: column; gap: 10px; 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 { display: flex; flex-direction: column; gap: 12px; padding: 16px 0 18px; }
.chat-box-cta .btn { width: 100%; }
.chat-box-statusbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.chat-box-statusbar .sb-live { display: flex; align-items: center; gap: 7px; }
.chat-box-statusbar .sb-ref { color: var(--accent-deep); }

/* Hero interno (figura = moldura de gravura que invade) */
.hero-inner { padding: 168px 0 0; }
.hero-inner .hero-copy { padding-bottom: 120px; }
.hero-inner .hero-copy h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); max-width: 16ch; }
.hero-inner .hero-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.hero-inner .fig-photo { aspect-ratio: 4 / 5; background: var(--bg-2); }
.fig-frame { position: relative; border: 1px solid var(--line); padding: 10px; }
.fig-frame::before, .fig-frame::after { content: ''; position: absolute; width: 26px; height: 26px; border: 1px solid var(--accent); opacity: 0.7; pointer-events: none; }
.fig-frame::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.fig-frame::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.fig-photo { overflow: hidden; position: relative; }
.fig-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) sepia(0.35) saturate(0.7) brightness(0.92) contrast(1.02); }
.fig-photo .fig-credit { position: absolute; left: 0; bottom: 0; right: 0; background: linear-gradient(to top, rgba(10,32,27,0.85), transparent); padding: 30px 14px 10px; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); }
.fig-caption { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.fig-caption b { color: var(--accent); font-weight: 400; }

/* ============ FOLHA DE PAPEL (momento editorial com corte diagonal) ============ */
.paper-folha {
    position: relative; overflow: hidden;
    background: var(--paper); color: var(--ink);
    padding: 150px 0 150px;
}
.paper-folha::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 120px; z-index: 1;
    background: var(--bg);
    clip-path: polygon(0 0, 100% 0, 100% 120px, 0 44px);
}
.paper-folha::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px; z-index: 1;
    background: var(--bg);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 76px);
}
.paper-folha > * { position: relative; z-index: 2; }
.paper-folha .ghost-num { color: var(--ink); opacity: 0.05; }
.folio {
    position: absolute; top: 150px; right: 40px; z-index: 2;
    font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent-deep);
    display: flex; align-items: center; gap: 10px;
}
.folio::before { content: ''; width: 30px; height: 1px; background: var(--accent-deep); }

/* Layout editorial de colunas largas */
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 60px; }
.editorial { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 90px; align-items: start; }
.editorial--narrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.editorial .lead-col h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 0.99; letter-spacing: -0.01em; }
.editorial .lead-col h2 .accent-word { color: var(--accent-deep); font-style: normal; }
.editorial .lead-col p { margin-top: 28px; color: var(--ink-soft); font-size: 18px; max-width: 44ch; }
.paper-folha .grafo { color: var(--ink-soft); font-size: 16.5px; line-height: 1.78; columns: 2; column-gap: 48px; }
.paper-folha .grafo p { margin-bottom: 18px; }
.paper-folha .grafo p.drop { color: var(--ink); }
.paper-folha .grafo p.drop::first-letter { font-family: var(--font-display); font-weight: 500; float: left; font-size: 62px; line-height: 0.82; padding: 6px 12px 0 0; color: var(--accent-deep); }

/* Números como dados (sem caixinhas) */
.data-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.data-cell { padding: 26px 30px 26px 0; border-left: 1px solid var(--line-paper); }
.data-cell:first-child { border-left: none; padding-left: 0; }
.data-cell .d-big { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 4.6vw, 4rem); color: var(--accent-deep); font-variant-numeric: tabular-nums; line-height: 1; display: block; }
.data-cell .d-lbl { display: block; margin-top: 14px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); }
.data-cell .d-sub { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 14px; }

/* ============ ÍNDICES TIPOGRÁFICOS (linhas com líder pontilhado) ============ */
.index-list { display: flex; flex-direction: column; }
.index-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 26px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.index-row:first-child { border-top: 1px solid var(--line-soft); }
.index-row .ix-num { font-family: var(--font-display); font-size: 22px; color: var(--accent); font-variant-numeric: tabular-nums; }
.index-row .ix-body h3 { font-family: var(--font-display); font-weight: 500; font-size: 26px; }
.index-row .ix-body p { color: var(--text-muted); font-size: 15px; margin-top: 6px; max-width: 64ch; }
.index-row .ix-tag { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.index-row--paper { border-bottom-color: var(--line-paper); }
.index-row--paper:first-child { border-top-color: var(--line-paper); }
.index-row--paper .ix-num { color: var(--accent-deep); }
.index-row--paper .ix-body p { color: var(--ink-soft); }
.index-row--paper .ix-tag { color: var(--accent-deep); }

/* ============ HOME — MANIFESTO (folha) ============ */
.manifesto { padding-top: 120px; }
.manifesto .editorial { gap: 80px; }
.manif-nums { margin-top: 70px; }
.manif-nums .data-row { border-top: 1px solid var(--line-paper); }

/* ============ HOME — ATUAÇÃO (régua horizontal, sem cards) ============ */
.atuacao { position: relative; padding: 170px 0 60px; overflow: hidden; }
.atuacao .ghost-num { font-size: clamp(200px, 36vw, 480px); top: -40px; right: -20px; left: auto; }
.atuacao-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 70px; }
.atuacao-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.0; }
.atuacao-head .hint { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.h-scroll { overflow: hidden; padding: 0 60px; }
.h-track { display: flex; gap: 0; width: max-content; padding: 4px 0 40px; will-change: transform; }
.mostrador {
    position: relative; width: 380px; min-height: 340px;
    padding: 34px 40px 30px 34px; display: flex; flex-direction: column;
    border-left: 1px solid var(--line-soft);
    transition: var(--transition);
}
.mostrador:last-child { border-right: 1px solid var(--line-soft); }
.mostrador:hover { background: rgba(201,167,107,0.05); }
.mostrador .m-dial { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.24em; color: var(--text-muted); }
.mostrador .m-dial .m-num { font-family: var(--font-display); font-size: 20px; color: var(--accent); }
.mostrador .m-dial .filete { width: 30px; height: 1px; background: var(--accent); opacity: 0.6; }
.mostrador h3 { font-family: var(--font-display); font-weight: 500; font-size: 30px; line-height: 1.04; margin: 34px 0 14px; }
.mostrador p { color: var(--text-muted); font-size: 15px; line-height: 1.65; max-width: 30ch; opacity: 0; max-height: 0; overflow: hidden; transition: var(--transition); }
.mostrador:hover p, .mostrador:focus-within p { opacity: 1; max-height: 200px; margin-top: 0; }
.mostrador .m-link { margin-top: auto; padding-top: 22px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.mostrador .m-link svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.mostrador:hover .m-link svg { transform: translateX(6px); }

/* ============ HOME — PROTOCOLO (índice) ============ */
.protocolo { position: relative; padding: 140px 0 170px; overflow: hidden; }
.protocolo .ghost-num { font-size: clamp(180px, 32vw, 420px); top: 40px; right: -30px; left: auto; }
.protocolo-head { max-width: 760px; margin-bottom: 80px; }
.protocolo-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.0; }
.protocolo-head h2 .accent-word { color: var(--accent); font-style: normal; }
.protocolo-head p { margin-top: 22px; color: var(--text-muted); font-size: 17px; max-width: 54ch; }

/* ============ NÚMEROS (dados em campo guilloché) ============ */
.numeros { position: relative; padding: 120px 0 170px; overflow: hidden; }
.numeros .ghost-num { font-size: clamp(180px, 32vw, 440px); bottom: -30px; right: -20px; left: auto; top: auto; }
.numeros-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 80px; }
.numeros-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 4rem); max-width: 14ch; line-height: 1.0; }
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-soft); }
.num-cell { padding: 34px 34px 20px 0; border-left: 1px solid var(--line-soft); position: relative; }
.num-cell:first-child { border-left: none; padding-left: 0; }
.num-cell .n-big { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.8rem, 5vw, 4.4rem); color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1; display: block; }
.num-cell .n-lbl { display: block; margin-top: 16px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); }
.num-cell .n-sub { display: block; margin-top: 6px; color: var(--text-muted); font-size: 14px; }

/* ============ PULLQUOTE (voz monumental) ============ */
.pullquote { position: relative; padding: 120px 0 140px; overflow: hidden; }
.pullquote .ghost-num { font-size: clamp(220px, 40vw, 520px); top: 10px; right: 0; left: auto; }
.pullquote blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.08; letter-spacing: -0.01em; max-width: 20ch; position: relative; z-index: 2; }
.pullquote blockquote .accent-word { color: var(--accent); font-style: normal; }
.pullquote .pq-foot { margin-top: 30px; display: flex; align-items: center; gap: 16px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); }
.pullquote .pq-foot .filete { width: 52px; height: 1px; background: var(--accent); }

/* ============ CTA FINAL ============ */
.cta-final { position: relative; padding: 130px 0 170px; overflow: hidden; }
.cta-final .ghost-num { font-size: clamp(220px, 40vw, 540px); bottom: -60px; left: 50%; transform: translateX(-50%); }
.cta-final h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 0.98; max-width: 15ch; }
.cta-final h2 .accent-word { color: var(--accent); font-style: normal; }
.cta-final p { margin: 26px 0 0; color: var(--text-muted); font-size: 18px; max-width: 46ch; }
.cta-actions { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }
.cta-final .selo { margin-top: 56px; }

/* ============ SOBRE — CRÔNICA (folha) ============ */
.cronica { padding-top: 120px; }
.cronica .editorial .lead-col { position: sticky; top: 110px; }

/* ============ SOBRE — TRAJETÓRIA (linha pinada de grandes anos) ============ */
.tl-section { position: relative; padding: 160px 0 60px; overflow: hidden; }
.tl-section .ghost-num { font-size: clamp(180px, 32vw, 420px); top: 0; left: 55%; }
.tl-head { margin-bottom: 60px; }
.tl-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.0; }
.tl-viewport { overflow: hidden; padding: 0 60px; }
.tl-track { display: flex; gap: 0; width: max-content; padding: 4px 0 40px; will-change: transform; }
.tl-card { position: relative; width: 360px; min-height: 260px; padding: 30px 38px 30px 30px; border-left: 1px solid var(--line-soft); display: flex; flex-direction: column; }
.tl-card:last-child { border-right: 1px solid var(--line-soft); }
.tl-card .tl-year { font-family: var(--font-display); font-size: 46px; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.tl-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin-top: 22px; }
.tl-card p { color: var(--text-muted); font-size: 14px; line-height: 1.65; margin-top: 10px; }
.tl-card::before { content: ''; position: absolute; top: -4px; left: -2px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* ============ SOBRE — PRINCÍPIOS (tríades tipográficas) ============ */
.principios { position: relative; padding: 120px 0 150px; overflow: hidden; }
.principios .ghost-num { font-size: clamp(180px, 32vw, 420px); bottom: -40px; left: -30px; top: auto; }
.principios-head { max-width: 780px; margin-bottom: 70px; }
.principios-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.0; }
.principios-head h2 .accent-word { color: var(--accent); font-style: normal; }
.triad-row { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.triad { padding: 36px 40px 10px 0; border-left: 1px solid var(--line-soft); }
.triad:first-child { border-left: none; padding-left: 0; }
.triad .t-triad { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.triad h3 { font-family: var(--font-display); font-weight: 500; font-size: 30px; margin: 26px 0 16px; }
.triad p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* ============ SOBRE — QUEM ATENDEMOS (índice) ============ */
.atendemos { position: relative; padding: 120px 0 170px; overflow: hidden; }
.atendemos .ghost-num { font-size: clamp(180px, 32vw, 420px); top: 0; right: -20px; left: auto; }
.atendemos-head { margin-bottom: 70px; }
.atendemos-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 4rem); max-width: 14ch; line-height: 1.0; }
.atend-grid { display: flex; flex-direction: column; }
.atend-card { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--line-soft); }
.atend-card:first-child { border-top: 1px solid var(--line-soft); }
.atend-card .at-num { font-family: var(--font-display); font-size: 30px; color: var(--accent); font-variant-numeric: tabular-nums; }
.atend-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 30px; }
.atend-card p { color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.atend-card .at-list { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }

/* ============ SOLUÇÕES — DOR (folha) ============ */
.dor { padding-top: 120px; }
.dor .editorial { gap: 70px; }
.dor-lines { display: flex; flex-direction: column; }
.dor-lines .dl { display: flex; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line-paper); align-items: baseline; }
.dor-lines .dl b { color: var(--accent-deep); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; min-width: 110px; }
.dor-lines .dl span { color: var(--ink-soft); font-size: 16px; }
.dor-note { margin-top: 46px; padding: 28px 0 0; border-top: 2px solid var(--accent-deep); color: var(--ink); font-family: var(--font-display); font-weight: 500; font-size: 22px; max-width: 52ch; }

/* ============ SOLUÇÕES — COMO FUNCIONA (índice + diagrama) ============ */
.como { position: relative; padding: 150px 0 170px; overflow: hidden; }
.como .ghost-num { font-size: clamp(180px, 32vw, 420px); top: 30px; right: -30px; left: auto; }
.como-head { max-width: 800px; margin-bottom: 80px; }
.como-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.0; }
.como-head h2 .accent-word { color: var(--accent); font-style: normal; }
.como-head p { margin-top: 22px; color: var(--text-muted); font-size: 17px; max-width: 56ch; }
.como-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.como-dia { position: relative; }
.dia-frame { border: 1px solid var(--line); padding: 12px; position: relative; }
.dia-frame::before { content: ''; position: absolute; top: -1px; left: -1px; width: 22px; height: 22px; border: 1px solid var(--accent); border-right: none; border-bottom: none; }
.dia-frame svg { width: 100%; height: auto; display: block; }
.dia-path { stroke-dasharray: 1200; stroke-dashoffset: 1200; }

/* ============ SOLUÇÕES — TIPOS (índice de 2 colunas) ============ */
.tipos { position: relative; padding: 100px 0 160px; overflow: hidden; }
.tipos-head { max-width: 760px; margin-bottom: 60px; }
.tipos-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.0; }
.tipos-head h2 .accent-word { color: var(--accent-deep); font-style: normal; }
.tipo-grid { display: grid; grid-template-columns: 1.2fr 1fr; column-gap: 70px; }
.tipo-item { padding: 30px 0; border-bottom: 1px solid var(--line-paper); }
.tipo-item .t-tag { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-deep); }
.tipo-item h3 { font-family: var(--font-display); font-weight: 500; font-size: 25px; margin: 12px 0 10px; }
.tipo-item p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; }

/* ============ SOLUÇÕES — BENEFÍCIOS (índice numerado) ============ */
.benef { position: relative; padding: 120px 0 160px; overflow: hidden; }
.benef .ghost-num { font-size: clamp(180px, 32vw, 420px); top: 30px; right: -30px; left: auto; }
.benef-head { max-width: 800px; margin-bottom: 70px; }
.benef-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.0; }
.benef-head h2 .accent-word { color: var(--accent); font-style: normal; }
.benef-grid { display: grid; grid-template-columns: 1fr 1fr; }
.benef-cell { padding: 34px 46px 34px 0; border-left: 1px solid var(--line-soft); position: relative; }
.benef-cell:first-child, .benef-cell:nth-child(2) { border-top: 1px solid var(--line-soft); }
.benef-cell:nth-child(odd) { border-left: none; padding-left: 0; }
.benef-cell .b-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--accent); }
.benef-cell h3 { font-family: var(--font-display); font-weight: 500; font-size: 25px; margin: 14px 0 10px; }
.benef-cell p { color: var(--text-muted); font-size: 14.5px; line-height: 1.65; }

/* ============ SOLUÇÕES — PROVAS (dados) ============ */
.provas { position: relative; padding: 120px 0 160px; overflow: hidden; }
.provas .ghost-num { font-size: clamp(180px, 32vw, 420px); bottom: -30px; left: -30px; top: auto; }
.provas-head { margin-bottom: 70px; }
.provas-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 4rem); max-width: 14ch; line-height: 1.0; }
.provas-head h2 .accent-word { color: var(--accent-deep); font-style: normal; }
.prova-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-paper); }
.prova-cell { padding: 30px 34px 20px 0; border-left: 1px solid var(--line-paper); }
.prova-cell:first-child { border-left: none; padding-left: 0; }
.prova-cell .p-num { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4vw, 3.6rem); color: var(--accent-deep); font-variant-numeric: tabular-nums; line-height: 1; display: block; }
.prova-cell .p-lbl { display: block; margin-top: 14px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.prova-cell p { margin-top: 8px; color: var(--ink-soft); font-size: 14px; }

/* ============ TRIBUTÁRIO — MAPEAMENTO (folha 60/40 + barras) ============ */
.mapeamento { padding-top: 120px; }
.mapeamento-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 90px; align-items: start; }
.mapeamento-left h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.0; }
.mapeamento-left h2 .accent-word { color: var(--accent-deep); font-style: normal; }
.mapeamento-left > p { margin-top: 26px; color: var(--ink-soft); font-size: 17.5px; max-width: 52ch; }
.mapa-checks { margin-top: 36px; display: flex; flex-direction: column; }
.mapa-check { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line-paper); align-items: baseline; }
.mapa-check:first-child { border-top: 1px solid var(--line-paper); }
.mapa-check svg { width: 18px; height: 18px; stroke: var(--accent-deep); flex: none; transform: translateY(3px); }
.mapa-check p { color: var(--ink); font-size: 16px; }
.mapeamento-right { position: sticky; top: 110px; }
.bar-list { display: flex; flex-direction: column; gap: 26px; }
.bar-item .bar-label { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.bar-track { height: 1px; background: var(--line-paper); position: relative; }
.bar-fill { position: absolute; left: 0; top: -1px; height: 3px; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); width: 0; transition: width 1.6s var(--ease); }

/* ============ TRIBUTÁRIO — FRENTES (índice) ============ */
.frentes { position: relative; padding: 140px 0 160px; overflow: hidden; }
.frentes .ghost-num { font-size: clamp(180px, 32vw, 420px); bottom: -30px; right: -30px; top: auto; left: auto; }
.frentes-head { margin-bottom: 60px; }
.frentes-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 4rem); max-width: 14ch; line-height: 1.0; }
.front-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 30px; padding: 30px 6px; border-bottom: 1px solid var(--line-soft); align-items: center; transition: var(--transition); }
.front-row:first-child { border-top: 1px solid var(--line-soft); }
.front-row:hover { background: rgba(201,167,107,0.05); padding-left: 18px; padding-right: 18px; }
.front-row .fr-num { font-family: var(--font-display); font-size: 26px; color: var(--accent); font-variant-numeric: tabular-nums; }
.front-row h3 { font-family: var(--font-display); font-weight: 500; font-size: 27px; }
.front-row p { color: var(--text-muted); font-size: 14.5px; }
.front-row .fr-cta { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }

/* ============ TRIBUTÁRIO — PAINEL DE DADOS (faixa full-bleed) ============ */
.data-panel { position: relative; padding: 130px 0; overflow: hidden; }
.data-panel .dp-kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); margin-bottom: 40px; }
.dp-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-soft); }
.dp-cell { padding: 34px 34px 10px 0; border-left: 1px solid var(--line-soft); }
.dp-cell:first-child { border-left: none; padding-left: 0; }
.dp-cell .dp-big { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 3.8vw, 3.6rem); color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1; display: block; }
.dp-cell .dp-lbl { display: block; margin-top: 14px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); }
.dp-cell .dp-sub { display: block; margin-top: 6px; color: var(--text-muted); font-size: 13.5px; }

/* ============ COMPLIANCE — PILARES (índice em 2 colunas) ============ */
.pilares { position: relative; padding: 150px 0 170px; overflow: hidden; }
.pilares .ghost-num { font-size: clamp(180px, 32vw, 420px); top: 20px; left: 55%; }
.pilares-head { max-width: 800px; margin-bottom: 70px; }
.pilares-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.0; }
.pilares-head h2 .accent-word { color: var(--accent); font-style: normal; }
.pilar-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; }
.pilar { padding: 34px 0; border-bottom: 1px solid var(--line-soft); }
.pilar .p-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--accent); }
.pilar h3 { font-family: var(--font-display); font-weight: 500; font-size: 27px; margin: 16px 0 12px; }
.pilar p { color: var(--text-muted); font-size: 14.5px; line-height: 1.65; }
.pilar ul { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-top: 14px; }
.pilar li { color: var(--text-muted); font-size: 14px; display: flex; gap: 10px; align-items: baseline; }
.pilar li::before { content: ''; width: 5px; height: 5px; background: var(--accent); transform: translateY(-2px); flex: none; }

/* ============ COMPLIANCE — MATURIDADE (linha horizontal) ============ */
.maturo { position: relative; padding: 100px 0 160px; overflow: hidden; }
.maturo .ghost-num { font-size: clamp(180px, 32vw, 420px); bottom: -40px; left: -30px; top: auto; }
.maturo-head { max-width: 760px; margin-bottom: 80px; }
.maturo-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.0; }
.maturo-head h2 .accent-word { color: var(--accent-deep); font-style: normal; }
.maturo-line { position: relative; padding-top: 30px; }
.maturo-line::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-paper); }
.maturo-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.maturo-step { position: relative; padding: 30px 30px 10px 0; }
.maturo-step::before { content: ''; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-deep); }
.maturo-step .ms-num { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; color: var(--accent-deep); }
.maturo-step h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin: 12px 0 8px; }
.maturo-step p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

/* ============ FAQ (índice editorial) ============ */
.faq { position: relative; padding: 120px 0 160px; overflow: hidden; }
.faq .ghost-num { font-size: clamp(180px, 32vw, 420px); top: 20px; right: -20px; left: auto; }
.faq-head { max-width: 760px; margin-bottom: 60px; }
.faq-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.0; }
.faq-head h2 .accent-word { color: var(--accent); font-style: normal; }
.faq-list { max-width: 960px; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item:first-child { border-top: 1px solid var(--line-soft); }
.faq-question { width: 100%; padding: 24px 6px; background: none; border: none; color: var(--text); font-family: var(--font-display); font-size: 20px; font-weight: 500; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq-question .fq-num { font-family: var(--font-mono); font-size: 10.5px; color: var(--accent); letter-spacing: 0.18em; }
.faq-question::after { content: '+'; font-size: 24px; color: var(--accent); font-family: var(--font-mono); }
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-answer p { padding: 0 6px 24px; color: var(--text-muted); font-size: 15.5px; line-height: 1.7; max-width: 70ch; }
.paper-folha .faq-item { border-bottom-color: var(--line-paper); }
.paper-folha .faq-item:first-child { border-top-color: var(--line-paper); }
.paper-folha .faq-question { color: var(--ink); }
.paper-folha .faq-question .fq-num { color: var(--accent-deep); }
.paper-folha .faq-question::after { color: var(--accent-deep); }
.paper-folha .faq-answer p { color: var(--ink-soft); }

/* ============ CONTATO — CANAIS (índice) ============ */
.canais { position: relative; padding: 120px 0 160px; overflow: hidden; }
.canais .ghost-num { font-size: clamp(180px, 32vw, 420px); top: 20px; right: -20px; left: auto; }
.canais-head { max-width: 820px; margin-bottom: 70px; }
.canais-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.0; }
.canais-head h2 .accent-word { color: var(--accent-deep); font-style: normal; }
.canais-head p { margin-top: 24px; color: var(--ink-soft); font-size: 17px; max-width: 54ch; }
.canal-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 30px; padding: 30px 6px; border-bottom: 1px solid var(--line-paper); align-items: center; transition: var(--transition); }
.canal-row:first-child { border-top: 1px solid var(--line-paper); }
.canal-row:hover { background: rgba(122,92,51,0.05); padding-left: 16px; padding-right: 16px; }
.canal-row .c-kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-deep); }
.canal-row .c-value { font-family: var(--font-display); font-weight: 500; font-size: 25px; color: var(--ink); }
.canal-row .c-value small { display: block; font-family: var(--font-body); font-size: 14px; color: var(--ink-soft); font-weight: 400; margin-top: 4px; }
.canal-row .c-cta { white-space: nowrap; }

/* Cartão da casa */
.card-casa { background: var(--bg-2); border: 1px solid var(--line); padding: 34px; position: relative; box-shadow: var(--shadow); transform: rotate(0.8deg); }
.card-casa .cc-head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.card-casa .cc-logo { width: 46px; height: 46px; }
.card-casa .cc-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.card-casa .cc-role { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.card-casa .cc-body { padding: 22px 0; display: flex; flex-direction: column; gap: 14px; }
.card-casa .cc-line { display: flex; justify-content: space-between; gap: 16px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--line-soft); padding-bottom: 12px; }
.card-casa .cc-line b { color: var(--text); font-weight: 400; }
.card-casa .cc-foot { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); display: flex; justify-content: space-between; }

/* ============ CONTATO — MAPA ============ */
.mapa { position: relative; padding: 130px 0; overflow: hidden; }
.mapa-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.map-frame { border: 1px solid var(--line); padding: 12px; position: relative; }
.map-frame::before { content: ''; position: absolute; bottom: -1px; right: -1px; width: 22px; height: 22px; border: 1px solid var(--accent); border-left: none; border-top: none; }
.map-frame svg { width: 100%; height: auto; display: block; }
.mapa-info h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.05; margin-top: 20px; }
.mapa-info .mi-line { margin-top: 18px; display: flex; gap: 14px; color: var(--text-muted); font-size: 15.5px; align-items: baseline; }
.mapa-info .mi-line svg { width: 18px; height: 18px; stroke: var(--accent); flex: none; transform: translateY(2px); }

/* ============ CONTATO — VÁZIO INTENCIONAL (canvas) ============ */
.void-space { min-height: 110vh; position: relative; overflow: hidden; display: flex; align-items: center; }
.void-space canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.75; }
.void-content { position: relative; z-index: 2; max-width: 540px; margin-left: 8vw; }
.void-content h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1.02; }
.void-content h2 .accent-word { color: var(--accent); font-style: normal; }
.void-content p { margin-top: 24px; color: var(--text-muted); font-size: 17px; }
.void-content .btn { margin-top: 36px; }

/* ============ PÁGINAS LEGAIS ============ */
.legal-body { position: relative; padding: 90px 0 140px; overflow: hidden; }
.legal-body .ghost-num { font-size: clamp(140px, 24vw, 320px); top: -20px; right: -20px; left: auto; color: var(--ink); opacity: 0.05; }
.legal-cols { columns: 2; column-gap: 60px; max-width: 1080px; }
.legal-block { break-inside: avoid; margin-bottom: 42px; }
.legal-block h3 { font-family: var(--font-display); font-weight: 500; font-size: 25px; color: var(--ink); margin-bottom: 14px; }
.legal-block p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.72; margin-bottom: 12px; }
.legal-block p.small { font-size: 13.5px; }
.legal-sign { margin-top: 56px; display: flex; align-items: center; gap: 22px; border-top: 2px solid var(--accent-deep); padding-top: 30px; }
.legal-sign .ls-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--ink); }
.legal-sign .ls-role { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-deep); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ============ RODAPÉ — COLOfão monumental ============ */
.footer { position: relative; overflow: hidden; background: var(--bg); color: var(--text); border-top: 1px solid var(--line-soft); }
.footer .ghost-num { font-size: clamp(300px, 52vw, 700px); bottom: -120px; right: -40px; top: auto; left: auto; opacity: 0.04; }
.footer-colophon { position: relative; padding: 120px 0 80px; }
.footer-colophon .wrap { position: relative; z-index: 2; }
.fc-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 0.98; max-width: 14ch; }
.fc-title .accent-word { color: var(--accent); font-style: normal; }
.fc-meta { margin-top: 30px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted); display: flex; align-items: center; gap: 14px; }
.fc-meta .filete { width: 52px; height: 1px; background: var(--accent); }
.footer-links { border-top: 1px solid var(--line-soft); padding: 60px 0 70px; }
.footer-links-grid { display: flex; flex-wrap: wrap; gap: 20px 0; }
.footer-links-grid > div { flex: 1 1 240px; border-left: 1px solid var(--line-soft); padding-left: 34px; }
.footer-links-grid > div:first-child { border-left: none; padding-left: 0; }
.footer-links-grid h4 { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.footer-links-grid a { display: block; color: var(--text-muted); font-size: 15px; padding: 6px 0; transition: var(--transition); }
.footer-links-grid a:hover { color: var(--text); }
.footer-brand-logo { width: 46px; height: 46px; margin-bottom: 14px; }
.footer-brand-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.footer-slogan { color: var(--text-muted); font-size: 14px; max-width: 30ch; line-height: 1.6; margin-top: 8px; }
.footer-legal { border-top: 1px solid var(--line-soft); padding: 26px 0 30px; }
.footer-legal .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.fl-copy { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--text-muted); transition: var(--transition); }
.footer-social a svg { width: 17px; height: 17px; stroke: currentColor; }
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-topo { 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(--accent); transition: var(--transition); }
.footer-topo:hover { letter-spacing: 0.26em; }
.footer-topo svg { width: 15px; height: 15px; stroke: currentColor; }

/* ============ BOT FLUTUANTE / MODAL ============ */
.floating-bot-container { position: fixed; bottom: 26px; right: 26px; z-index: 1050; }
.floating-bot { position: relative; width: 62px; height: 62px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; border: 2px solid var(--accent); background: var(--bg-2); box-shadow: 0 14px 34px rgba(0,0,0,0.45); opacity: 0; visibility: hidden; transform: scale(0.5); transition: var(--transition); }
.floating-bot.visible { opacity: 1; visibility: visible; transform: scale(1); }
.floating-bot img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.floating-pulse { position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent); animation: floating-ping 2.2s infinite; }
.floating-dot { position: absolute; bottom: 3px; right: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg-2); }
@keyframes floating-ping { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.35); opacity: 0; } }
.chat-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 1200; }
.chat-modal-overlay.active { opacity: 1; visibility: visible; }
.chat-modal { position: fixed; right: 0; top: 0; bottom: 0; width: min(440px, 100vw); background: var(--paper); color: var(--ink); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform 0.45s var(--ease); z-index: 1201; display: flex; flex-direction: column; }
.chat-modal.active { transform: translateX(0); }
.chat-modal-header { display: flex; align-items: center; gap: 13px; padding: 16px 20px; border-bottom: 1px solid var(--line-paper); background: var(--paper-2); }
.modal-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.modal-info { flex: 1; min-width: 0; }
.modal-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.modal-role { font-size: 11.5px; color: var(--ink-soft); }
.modal-status { font-size: 10px; color: var(--accent-deep); font-weight: 600; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; display: flex; align-items: center; gap: 7px; }
.chat-modal-close { background: none; border: none; color: var(--ink-soft); font-size: 24px; line-height: 1; }
.chat-modal-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.chat-modal-body .chat-bubble { max-width: 84%; }
.chat-modal-footer { display: flex; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--line-paper); background: var(--paper-2); }
.chat-modal-footer input { flex: 1; padding: 13px 16px; border-radius: 1px; background: var(--paper); border: 1px solid var(--line-paper); color: var(--ink); outline: none; font-family: var(--font-body); }
.chat-modal-footer input::placeholder { color: var(--ink-soft); }
.send-btn { width: 48px; border: none; background: var(--accent-deep); color: #F5F1EC; font-size: 16px; }
.typing-dots { display: inline-flex; gap: 4px; padding: 6px 2px; }
.typing-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-soft); animation: typing-bounce 1.2s infinite; }
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ============ RESPONSIVO (invariante: hero 1 coluna ≤900px) ============ */
@media (max-width: 900px) {
    .navbar-links, .navbar-end { display: none; }
    .hamburger { display: flex; }
    .navbar { height: 64px; padding: 0 20px; }
    .hero-layout, .hero-inner .hero-layout, .legal-hero .hero-layout { grid-template-columns: 1fr; gap: 30px; }
    .hero { padding-top: 120px; }
    .hero-layout { padding: 0 22px; }
    .hero-copy { padding: 20px 0 40px; }
    .hero-copy h1 { font-size: clamp(2.4rem, 10.5vw, 3.2rem); }
    .hero-figure-inner { max-width: 100%; }
    .hero-chat-box { margin: 0 auto; max-width: 100%; transform: none; }
    .hero-chat-box:hover, .hero-chat-box.minimized { transform: none; }
    .wrap { padding: 0 22px; }
    .editorial, .editorial--narrow { grid-template-columns: 1fr; gap: 40px; }
    .paper-folha { padding: 120px 0 130px; }
    .paper-folha::before { height: 70px; clip-path: polygon(0 0, 100% 0, 100% 70px, 0 30px); }
    .paper-folha::after { height: 70px; clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 40px); }
    .data-row, .num-grid, .dp-row { grid-template-columns: 1fr 1fr; }
    .data-cell, .num-cell, .dp-cell { border-left: none; border-top: 1px solid var(--line-paper); padding: 24px 10px 14px 0; }
    .data-cell:first-child, .num-cell:first-child, .dp-cell:first-child { border-top: none; }
    .atend-card { grid-template-columns: 1fr; gap: 10px; }
    .atend-card .at-num { font-size: 26px; }
    .como-grid, .mapeamento-grid, .mapa-grid { grid-template-columns: 1fr; gap: 40px; }
    .mapeamento-right { position: static; }
    .tipo-grid { grid-template-columns: 1fr; }
    .benef-grid, .pilar-grid { grid-template-columns: 1fr; }
    .benef-cell, .pilar { border-left: none; border-top: 1px solid var(--line-soft); padding: 26px 0; }
    .benef-cell:nth-child(2) { border-top: 1px solid var(--line-soft); }
    .prova-grid { grid-template-columns: 1fr 1fr; }
    .prova-cell { border-left: none; border-top: 1px solid var(--line-paper); padding: 22px 10px 10px 0; }
    .prova-cell:first-child { border-top: none; }
    .front-row { grid-template-columns: 60px 1fr; gap: 16px; }
    .front-row p { grid-column: 2; }
    .front-row .fr-cta { grid-column: 2; }
    .maturo-grid { grid-template-columns: 1fr 1fr; }
    .triad-row { grid-template-columns: 1fr; }
    .triad { border-left: none; border-top: 1px solid var(--line-soft); padding: 26px 0; }
    .triad:first-child { border-top: none; }
    .index-row { grid-template-columns: 60px 1fr; gap: 14px; }
    .index-row .ix-tag { grid-column: 2; }
    .canal-row { grid-template-columns: 1fr; gap: 8px; }
    .canal-row .c-cta { margin-top: 6px; }
    .footer-links-grid > div { flex: 1 1 100%; border-left: none; padding-left: 0; }
    .legal-cols { columns: 1; }
    .paper-folha .grafo { columns: 1; }
    .h-track, .tl-track { flex-wrap: wrap; width: 100% !important; gap: 0; }
    .mostrador, .tl-card { width: 100%; min-height: auto; }
    .h-scroll, .tl-viewport { overflow: visible; padding: 0 22px; }
    .mostrador p { opacity: 1; max-height: none; margin-top: 0; }
    .folio { display: none; }
    .atuacao-head { margin-bottom: 50px; }
}

@media (max-width: 560px) {
    .data-row, .num-grid, .dp-row, .prova-grid, .maturo-grid { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .void-content { margin-left: 22px; }
}

/* ============ COMPAT — mapeia o markup das páginas às novas estruturas ============ */
.manif-grid, .cronica-grid, .dor-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.manif-text h2, .cronica-lead h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 0.99; letter-spacing: -0.01em; }
.manif-text h2 .accent-word, .cronica-lead h2 .accent-word { color: var(--accent-deep); font-style: normal; }
.manif-text > p, .cronica-lead p { margin-top: 26px; color: var(--ink-soft); font-size: 17.5px; max-width: 46ch; }
.manif-nums { margin-top: 70px; border-top: 1px solid var(--line-paper); display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; }
.manif-num { display: flex; align-items: baseline; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line-paper); }
.manif-num .num { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4.4vw, 3.6rem); color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.manif-num .lbl { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); }
.cronica-lead { position: sticky; top: 110px; }
.cronica-text { color: var(--ink-soft); font-size: 16.5px; line-height: 1.78; columns: 2; column-gap: 48px; }
.cronica-text p { margin-bottom: 18px; }
.cronica-text p.drop { color: var(--ink); }
.cronica-text p.drop::first-letter { font-family: var(--font-display); font-weight: 500; float: left; font-size: 62px; line-height: 0.82; padding: 6px 12px 0 0; color: var(--accent-deep); }
.triad-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.triad-grid .triad { border-left: 1px solid var(--line-soft); }
.triad-grid .triad:first-child { border-left: none; padding-left: 0; }
.proto-steps, .como-steps { display: flex; flex-direction: column; }
.proto-step { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 26px; padding: 26px 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.proto-step:first-child { border-top: 1px solid var(--line-soft); }
.proto-step .ps-num { font-family: var(--font-display); font-size: 22px; color: var(--accent); font-variant-numeric: tabular-nums; }
.proto-step h3 { font-family: var(--font-display); font-weight: 500; font-size: 25px; }
.proto-step p { color: var(--text-muted); font-size: 15px; margin-top: 6px; max-width: 64ch; }
.proto-step .ps-tag { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.como-step { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.como-step .cs-num { font-family: var(--font-display); font-size: 22px; color: var(--accent); font-variant-numeric: tabular-nums; }
.como-step h3 { font-family: var(--font-display); font-weight: 500; font-size: 23px; }
.como-step p { color: var(--text-muted); font-size: 14.5px; margin-top: 6px; }
.tipo-grid { display: grid; grid-template-columns: 1.2fr 1fr; column-gap: 70px; }
.tipo-card { padding: 30px 0; border-bottom: 1px solid var(--line-paper); }
.tipo-card .t-tag { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-deep); }
.tipo-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 25px; margin: 12px 0 10px; }
.tipo-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.tipo-grid .tall { grid-column: 1; grid-row: span 2; }
.prova-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-paper); }
.prova-card { padding: 30px 34px 20px 0; border-left: 1px solid var(--line-paper); }
.prova-card:first-child { border-left: none; padding-left: 0; }
.prova-card .p-num { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4vw, 3.6rem); color: var(--accent-deep); font-variant-numeric: tabular-nums; line-height: 1; display: block; }
.prova-card .p-lbl { display: block; margin-top: 14px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.prova-card p { margin-top: 8px; color: var(--ink-soft); font-size: 14px; }
.dor-lines .dl:first-child { border-top: 1px solid var(--line-paper); }
.folio { position: absolute; top: 150px; right: 40px; z-index: 2; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent-deep); display: flex; align-items: center; gap: 10px; }
.folio::before { content: ''; width: 30px; height: 1px; background: var(--accent-deep); }
@media (max-width: 900px) {
    .manif-grid, .cronica-grid, .dor-grid { grid-template-columns: 1fr; gap: 40px; }
    .cronica-lead { position: static; }
    .cronica-text { columns: 1; }
    .triad-grid { grid-template-columns: 1fr; }
    .triad-grid .triad { border-left: none; border-top: 1px solid var(--line-soft); }
    .triad-grid .triad:first-child { border-top: none; }
    .manif-nums { grid-template-columns: 1fr; }
    .proto-step { grid-template-columns: 60px 1fr; gap: 16px; }
    .proto-step .ps-tag { grid-column: 2; }
    .tipo-grid { grid-template-columns: 1fr; }
    .tipo-grid .tall { grid-row: auto; }
    .prova-grid { grid-template-columns: 1fr; }
    .prova-card { border-left: none; border-top: 1px solid var(--line-paper); padding: 24px 10px 10px 0; }
    .prova-card:first-child { border-top: none; }
}

/* ============ ACABAMENTO (polish) ============ */
::selection { background: var(--accent); color: var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--accent), var(--accent-deep)); border: 3px solid var(--bg); border-radius: 8px; }
* { scrollbar-width: thin; scrollbar-color: var(--accent) var(--bg); }

/* Grão de filme sobre o site */
body::after {
    content: ''; position: fixed; inset: 0; z-index: 2147483000; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.04; mix-blend-mode: overlay;
}

/* Profundidade nos numerais de fundo */
.ghost-num { filter: blur(1.2px); }

/* Brilho sutil nas manchetes */
.hero-copy h1, .cta-final h2, .fc-title { text-shadow: 0 0 80px rgba(201, 167, 107, 0.16); }

/* Texto sem órfãos/balanceamento */
h1, h2, h3, blockquote { text-wrap: balance; }

/* Sheen nos botões (varredura de luz) */
.btn { position: relative; overflow: hidden; }
.btn::after {
    content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: skewX(-20deg); transition: left 0.7s var(--ease); pointer-events: none;
}
.btn:hover::after { left: 130%; }

/* Zoom sutil da foto na moldura de gravura */
.fig-photo img { transition: transform 1.4s var(--ease); }
.fig-frame:hover .fig-photo img { transform: scale(1.045); }
.fig-frame::before, .fig-frame::after { transition: opacity 0.35s var(--ease); }
.fig-frame:hover::before, .fig-frame:hover::after { opacity: 1; }

/* Carta: luz interna + sombra mais rica no hover */
.hero-chat-box { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), var(--shadow-paper); }
.hero-chat-box:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 50px 110px rgba(43, 32, 24, 0.26); }
.hero-chat-box::before { box-shadow: -4px 4px 10px rgba(43, 32, 24, 0.10); }

/* FAQ: fade suave */
.faq-answer { opacity: 0; }
.faq-item.active .faq-answer { opacity: 1; }

/* Drawer: entrada em cascata */
.mobile-drawer .drawer-header, .mobile-drawer .drawer-nav, .mobile-drawer .drawer-contact, .mobile-drawer .drawer-footer { opacity: 0; transform: translateY(10px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.mobile-drawer.active .drawer-header, .mobile-drawer.active .drawer-nav, .mobile-drawer.active .drawer-contact, .mobile-drawer.active .drawer-footer { opacity: 1; transform: none; }
.mobile-drawer.active .drawer-nav { transition-delay: 0.08s; }
.mobile-drawer.active .drawer-contact { transition-delay: 0.14s; }
.mobile-drawer.active .drawer-footer { transition-delay: 0.2s; }

/* Ícones sociais: micro-rotação */
.footer-social a svg { transition: transform 0.4s var(--ease); }
.footer-social a:hover svg { transform: rotate(-9deg); }

/* Indicador de progresso na régua de mostrador */
.rail-progress { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: linear-gradient(var(--accent), var(--accent-deep)); opacity: 0.55; transition: height 0.2s linear; }

/* Hover dos índices: número acende + linha à esquerda */
.index-row, .front-row, .canal-row, .atend-card, .tipo-item, .pilar, .benef-cell, .num-cell, .dp-cell, .prova-card, .data-cell { transition: background 0.4s var(--ease), padding 0.4s var(--ease); }
.index-row:hover .ix-num, .front-row:hover .fr-num, .atend-card:hover .at-num { color: var(--text); }

/* Divisor dos paper-folha: sombra de "folha empilhada" */
.paper-folha { box-shadow: 0 -40px 90px rgba(0, 0, 0, 0.18); }

/* ============ TELA DE LOADING ============ */
.loader {
    position: fixed; inset: 0; z-index: 2000;
    background: radial-gradient(ellipse at 50% 38%, var(--bg-3) 0%, var(--bg) 72%);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.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: 72px; height: 72px; animation: loader-breathe 2.4s var(--ease) infinite; }
.loader-seal svg { width: 100%; height: 100%; }
.loader-mark { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: 0.1em; color: var(--text); line-height: 1.15; }
.loader-mark small { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--text-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.06); opacity: 0.85; } }

/* ============ BARRA DE COOKIES / LGPD ============ */
.cookie-bar {
    position: fixed; left: 18px; bottom: 18px; z-index: 1400;
    max-width: 420px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    padding: 20px 22px;
    box-shadow: var(--shadow);
    transform: translateY(130%); opacity: 0; visibility: hidden;
    transition: transform 0.55s var(--ease), 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(--text-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(--text-muted);
    transition: var(--transition);
}
.cookie-btn--accept { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.cookie-btn--accept:hover { background: #D9B87F; }
.cookie-btn--essential:hover { border-color: var(--accent); color: var(--accent); }
@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: 440px; z-index: 1300;
    background:
        radial-gradient(ellipse at 82% 40%, rgba(201, 167, 107, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 18% 92%, rgba(241, 234, 224, 0.04) 0%, transparent 50%),
        var(--bg-2);
    border-right: 1px solid var(--line);
    transform: translateX(-100%);
    transition: transform 0.55s var(--ease);
    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-3); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--text-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(201, 167, 107, 0.08) 0%, transparent 62%);
    pointer-events: none;
}
.panel-selo { width: 100%; max-width: 300px; position: relative; z-index: 1; filter: drop-shadow(0 26px 60px rgba(0, 0, 0, 0.45)); }
.panel-selo svg { 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(--text-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(--text-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: 600; line-height: 1.14; color: var(--text);
    margin-bottom: 16px; max-width: 16ch;
}
.chat-panel-lead { color: var(--text-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(--text-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: 600; color: var(--text); }
.chat-panel-role { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-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(--text-muted); opacity: 0.75; }
@media (max-width: 1024px) { .chat-panel { display: none; } }
