/* ==========================================================================
   Investigação em Foco — estilos
   Direção: discreto, exato, noturno. Escritório de detetive à noite:
   papel manila, cortiça, luz âmbar de luminária, carimbo vermelho.
   Momentos: o detetive no anel (hero) e o quadro de evidências (sobre).
   Assinatura: a tachinha dourada com o fio vermelho.
   Mobile-first · breakpoints: 360 / 768 / 1024 / 1440
   ========================================================================== */

:root {
  /* rampa neutra quente */
  --bg-deep: #12110f;
  --bg: #161513;
  --card: #1c1a18;
  --raised: #262421;
  --line: rgba(239, 233, 222, .08);
  --line-2: rgba(239, 233, 222, .14);
  --text: #efe9de;
  --text-2: #aaa398;
  --text-3: #8a847a;

  /* acento: o dourado da marca */
  --accent: #C9A54C;
  --accent-hover: #D7B661;
  --accent-ink: #D9B865;
  --thread: #B5372B;

  /* marcas de terceiros */
  --wa: #25D366;
  --wa-ink: #128A42;

  /* aliases usados pelos momentos (quadro, HUD, detetive) */
  --gold: var(--accent);
  --gold-light: #E3C77A;
  --trench: #A68A64;
  --ice: var(--text);
  --muted: var(--text-3);
  --smoke: #2e2b27;
  --noir: var(--bg);
  --graphite: var(--bg-deep);
  --cyan: #4FD1C5;

  --f-brand: "Cinzel", "Trajan Pro", "Playfair Display", Georgia, serif;
  --f-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 160ms;
  --t-enter: 420ms;

  --r-sm: 6px;
  --r-ctl: 8px;
  --r-card: 12px;
  --r-panel: 16px;
  --radius: var(--r-card);

  --header-h: 64px;
  --gutter: 16px;
  --cookie-h: 0px;
  --det-w: 64px;
  --det-right: 12px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 72px; --det-w: 80px; --det-right: 20px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --det-w: 88px; --det-right: 24px; } }
@media (min-width: 1440px) { :root { --det-w: 112px; --det-right: 36px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
}
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
.ev-lens svg { max-width: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--bg-deep); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 400;
  padding: 8px 16px; background: var(--accent); color: var(--bg-deep); font-weight: 500;
  border-radius: var(--r-ctl); transform: translateY(-160%); transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus { transform: none; }
.icon { width: 18px; height: 18px; flex: none; stroke-width: 1.5; }

.container { width: 100%; max-width: calc(1200px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); position: relative; }

/* ---------- Tipografia ---------- */
/* Rótulo de seção com a assinatura: tachinha dourada + fio vermelho */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  font-size: .875rem; font-weight: 500; color: var(--text-2);
}
.eyebrow::before { /* tachinha */
  content: ""; order: -2; flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F2DDA0, var(--accent) 50%, #7a5f24);
}
.eyebrow::after { /* fio vermelho */
  content: ""; order: -1; flex: none; width: 20px; height: 1px; margin-left: -8px; background: var(--thread);
}
.gold-text { color: var(--text-2); }
.section-title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); letter-spacing: -.02em; margin-bottom: 20px; }
.lead { font-size: 1.0625rem; color: var(--text-2); max-width: 60ch; }
.section-intro { color: var(--text-2); max-width: 46ch; }
.fine-print { font-size: .8125rem; color: var(--text-3); }

/* ---------- Seções ---------- */
.section { position: relative; padding-block: 80px; }
.section--alt { background: var(--bg-deep); border-block: 1px solid var(--line); }
@media (min-width: 1024px) { .section { padding-block: 128px; } }
.section-head { display: grid; gap: 8px; margin-bottom: 48px; }
@media (min-width: 1024px) {
  .section-head { grid-template-columns: 1.2fr .8fr; align-items: end; gap: 48px; margin-bottom: 64px; }
  .section-head .section-intro { padding-bottom: 28px; }
}
.section-head--center { text-align: center; justify-items: center; }
@media (min-width: 1024px) { .section-head--center { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Superfícies ---------- */
.glass { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.icon-badge {
  display: inline-grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--text-2);
}
.icon-badge .icon { width: 18px; height: 18px; }
.icon-badge--wa .icon { color: var(--wa); }
.icon-badge--pix .icon { color: #32BCAD; width: 20px; height: 20px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px;
  border: 1px solid transparent; border-radius: var(--r-ctl);
  font-weight: 500; font-size: .9375rem; line-height: 1.2; text-align: center;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--gold { background: var(--accent); color: var(--bg-deep); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn--gold:hover { background: var(--accent-hover); }
.btn--outline, .btn--ig { background: var(--raised); border-color: var(--line-2); color: var(--text); }
.btn--outline:hover, .btn--ig:hover { background: #2e2b27; }
.btn--wa { background: var(--wa-ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn--wa:hover { background: #0F7A3A; }
.btn--sm { min-height: 36px; padding: 8px 16px; font-size: .875rem; }
.btn--lg { min-height: 48px; }
.btn--xl { min-height: 52px; padding: 14px 24px; font-size: 1rem; }
.btn--block { width: 100%; }
.wa-badge { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; margin-left: -4px; border-radius: 50%; background: var(--wa); color: #fff; }
.wa-badge .icon { width: 15px; height: 15px; }
.btn--wa .wa-badge { background: rgba(255, 255, 255, .16); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-enter) var(--ease), border-color var(--t-enter) var(--ease);
}
.site-header.is-scrolled, .menu-open .site-header { background: rgba(18, 17, 15, .94); border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-icon { width: 32px; height: 35px; flex: none; }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-family: var(--f-brand); font-weight: 600; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; line-height: 1.05; }
.bn-silver { color: var(--text); }
.bn-gold { color: var(--accent); }
.brand-tag {
  display: flex; align-items: center; gap: 6px; margin-top: 4px;
  font-size: .5rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--text-2); white-space: nowrap;
}
.brand-tag::before, .brand-tag::after { content: ""; flex: 1 1 8px; min-width: 8px; height: 1px; background: var(--accent); opacity: .7; }
@media (max-width: 359px) { .brand-name { font-size: .875rem; } .brand-tag { font-size: .44rem; } }

.main-nav { display: none; margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a { display: block; padding: 8px 12px; border-radius: var(--r-ctl); font-size: .875rem; color: var(--text-2); transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.main-nav a:hover { color: var(--text); background: var(--raised); }
.main-nav a[aria-current="true"] { color: var(--text); }
.header-cta { display: none; }
.burger { margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border: 1px solid var(--line-2); border-radius: var(--r-ctl); }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform var(--t-enter) var(--ease), opacity var(--t-fast); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (min-width: 768px) { .header-cta { display: inline-flex; margin-left: auto; } .burger { margin-left: 0; } }
@media (min-width: 1024px) { .main-nav { display: block; } .header-cta { margin-left: 8px; } .burger { display: none; } }
@media (min-width: 1024px) and (max-width: 1199px) { .brand-name { font-size: .875rem; } .main-nav a { padding: 8px 8px; } }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 55;
  display: flex; flex-direction: column; gap: 24px;
  padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--bg-deep);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 200ms;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu ul { display: grid; }
.mobile-menu li a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; font-family: var(--f-display); font-size: 1.75rem; border-bottom: 1px solid var(--line); }
.mm-num { font-family: var(--f-mono); font-size: .75rem; color: var(--text-3); }
.mm-note { font-size: .8125rem; color: var(--text-3); text-align: center; }
.menu-open { overflow: hidden; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
main { position: relative; }
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 48px) 0 80px; overflow: hidden; }
.hero-inner { display: grid; gap: 32px; align-items: center; }
.hero-visual { position: relative; justify-self: center; width: min(64vw, 272px); aspect-ratio: 1; display: grid; place-items: center; }
.hero-fp { position: absolute; width: 128%; height: 128%; left: -14%; top: -14%; color: var(--text); opacity: .05; stroke-width: .18; }
.hero-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-slot { position: relative; width: 50%; aspect-ratio: 200 / 220; margin-top: -4%; }
.hero-slot svg { width: 100%; height: 100%; }
.js.motion-ok .hero-slot svg { visibility: hidden; }
.hero-coords { position: absolute; left: 0; bottom: 4%; font-family: var(--f-mono); font-size: .75rem; color: var(--text-3); white-space: nowrap; }
.hero-copy { max-width: 640px; text-align: center; justify-self: center; }
.hero-title { font-size: clamp(2.375rem, 1.6rem + 3.6vw, 4.25rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 24px; }
.hero-title .accent { color: var(--accent-ink); }
.hero-sub { font-size: 1.125rem; line-height: 1.6; color: var(--text-2); max-width: 36rem; margin: 0 auto 32px; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; }
/* uma única entrada no carregamento */
.js .hero-copy > *, .js .hero-visual { opacity: 0; transform: translateY(8px); }
.is-ready .hero-copy > *, .is-ready .hero-visual { opacity: 1; transform: none; transition: opacity var(--t-enter) var(--ease), transform var(--t-enter) var(--ease); }
.is-ready .hero-copy > :nth-child(2) { transition-delay: 50ms; }
.is-ready .hero-copy > :nth-child(3) { transition-delay: 100ms; }
.is-ready .hero-copy > :nth-child(4) { transition-delay: 150ms; }
@media (min-width: 768px) { .hero-visual { width: 320px; } .hero-ctas { flex-direction: row; justify-content: center; } }
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 48px; }
  .hero-visual { order: 2; width: min(100%, 440px); }
  .hero-copy { text-align: left; justify-self: start; }
  .hero-sub { margin-left: 0; }
  .hero-ctas { justify-content: flex-start; }
}
@media (min-width: 1440px) { .hero-visual { width: 500px; } }

/* ---------- Sobre ---------- */
.about-intro { display: grid; justify-items: center; text-align: center; max-width: 840px; margin: 0 auto 48px; }
.about-intro .lead { margin-inline: auto; }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); width: min(100%, 600px); margin-top: 32px; }
.counter { padding: 0 12px; }
.counter + .counter { border-left: 1px solid var(--line-2); }
.counter-num { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }
.counter-label { display: block; margin-top: 4px; font-size: .8125rem; color: var(--text-3); line-height: 1.4; }

.about-board { display: grid; gap: 24px; }
@media (min-width: 1024px) {
  .about-board { grid-template-columns: 1.5fr 1fr; align-items: stretch; }
  .about-board .evidence { display: flex; flex-direction: column; }
  .about-board .ev-board { flex: 1; aspect-ratio: auto; min-height: 68.75cqw; }
}
.about-aside { display: grid; gap: 12px; }
.mv-card { display: flex; gap: 16px; padding: 20px; }
.mv-card h3 { font-size: 1.125rem; margin-bottom: 4px; }
.mv-card p { color: var(--text-2); font-size: .875rem; line-height: 1.55; }
.values { padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.values-title { font-family: var(--f-body); font-size: .875rem; font-weight: 500; color: var(--text-2); margin-bottom: 12px; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; }
.value-card { display: flex; gap: 12px; align-items: flex-start; padding: 4px; border-radius: var(--r-ctl); }
.value-card .icon-badge { width: 32px; height: 32px; }
.value-card .icon-badge .icon { width: 16px; height: 16px; }
.value-card h4 { font-family: var(--f-body); font-size: .875rem; font-weight: 500; line-height: 1.3; margin: 2px 0; }
.value-card p { color: var(--text-3); font-size: .8125rem; line-height: 1.45; }
@media (max-width: 380px) { .values-grid { grid-template-columns: 1fr; } }

/* Quadro de evidências — o momento rico da página */
.evidence { margin: 0; container-type: inline-size; }
.ev-board {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border: 1.1cqw solid #24190e; border-radius: var(--r-panel);
  background:
    radial-gradient(rgba(0, 0, 0, .2) 1px, transparent 1.6px) 0 0 / 7px 7px,
    radial-gradient(rgba(255, 220, 170, .06) 1px, transparent 1.6px) 3px 4px / 9px 9px,
    linear-gradient(160deg, #4b3822, #2d2014 60%, #1e160d);
  box-shadow: inset 0 0 3cqw rgba(0, 0, 0, .75), 0 24px 48px -28px rgba(0, 0, 0, .9);
}
.ev-board::before { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: radial-gradient(ellipse 55% 75% at 50% -8%, rgba(255, 228, 165, .3), rgba(255, 210, 140, .07) 45%, transparent 70%); mix-blend-mode: screen; }
.ev-board::after { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; background: radial-gradient(ellipse 85% 80% at 50% 35%, transparent 50%, rgba(0, 0, 0, .6) 100%); }
.ev-lamp { position: absolute; left: 50%; top: 0; z-index: 7; transform: translateX(-50%); width: 16cqw; height: 3.2cqw; }
.ev-lamp-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #2b2b30, #0e0e10); clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); }
.ev-lamp::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -.3cqw; height: .6cqw; border-radius: 50%; background: #fff3cf; box-shadow: 0 0 2cqw 1cqw rgba(255, 230, 170, .5); }
.ev-strings { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; overflow: visible; }
.ev-string { fill: none; stroke: var(--thread); stroke-width: 1.7; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.evidence.is-in .ev-string, html:not(.js) .ev-string { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease); transition-delay: calc(var(--si) * 60ms); }
.ev-string.is-lit { stroke: var(--gold-light); stroke-width: 2.2; }
.ev-item { position: absolute; z-index: 2; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: translateX(-50%) rotate(var(--r, 0deg)); box-shadow: 0 1.2cqw 2cqw rgba(0, 0, 0, .55); color: #2b2418; transition: transform var(--t-enter) var(--ease), box-shadow var(--t-enter) var(--ease); }
.ev-item::before { content: ""; position: absolute; left: 50%; top: -.8cqw; z-index: 4; width: 1.7cqw; height: 1.7cqw; margin-left: -.85cqw; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F6E2A5, #C9A54C 45%, #6e5420 100%); box-shadow: 0 .4cqw .6cqw rgba(0, 0, 0, .6); }
.evidence .ev-item.is-focus { transform: translateX(-50%) rotate(0deg) translateY(-.6cqw); box-shadow: 0 2cqw 3cqw rgba(0, 0, 0, .6), 0 0 0 .2cqw var(--gold-light); z-index: 4; }
.ev-item.is-done::after { content: "✔"; position: absolute; right: -.9cqw; top: -.9cqw; z-index: 5; width: 2.4cqw; height: 2.4cqw; border-radius: 50%; display: grid; place-items: center; background: #12110f; border: .2cqw solid var(--gold-light); color: var(--gold-light); font-size: 1.3cqw; line-height: 1; }
.ev-cap { display: block; margin-top: .8cqw; text-align: center; font-family: var(--f-mono); font-size: 1.05cqw; letter-spacing: .1em; color: #3a3226; }
.ev-lines i { display: block; height: .45cqw; margin-top: .75cqw; background: rgba(0, 0, 0, .22); }
.ev-lines i:nth-child(2) { width: 85%; } .ev-lines i:nth-child(3) { width: 70%; } .ev-lines i:nth-child(4) { width: 90%; }
.ev-folder { width: 22cqw; padding: 2.2cqw 1.8cqw 1.8cqw; background: linear-gradient(180deg, #d4b679, #c3a466); border-radius: .3cqw; }
.ev-tab { position: absolute; top: -2.1cqw; left: 1.4cqw; padding: .5cqw 1.2cqw; background: #d4b679; border-radius: .5cqw .5cqw 0 0; font-family: var(--f-mono); font-size: 1cqw; letter-spacing: .12em; }
.ev-folder b { display: block; font-family: var(--f-display); font-size: 2.6cqw; letter-spacing: .04em; }
.ev-stamp { position: absolute; right: 1.2cqw; bottom: 1.4cqw; padding: .3cqw .8cqw; border: .3cqw solid var(--thread); color: var(--thread); font-family: var(--f-mono); font-weight: 500; font-size: 1.2cqw; letter-spacing: .1em; transform: rotate(-12deg); opacity: .85; }
.ev-photo { width: 15cqw; padding: 1cqw 1cqw 0; background: #eee8db; }
.ev-pic { display: block; aspect-ratio: 1; background: linear-gradient(180deg, #3a3a40, #1d1d22); }
.ev-pic svg { width: 100%; height: 100%; display: block; }
.ev-pic circle, .ev-pic path { fill: #5b5b64; }
.ev-pic text { font-family: var(--f-display); font-size: 22px; font-weight: 600; fill: #E3C77A; }
.ev-photo .ev-cap { margin: .7cqw 0 1cqw; font-size: 1.3cqw; letter-spacing: .2em; color: var(--thread); }
.ev-news { width: 22cqw; padding: 1.4cqw 1.5cqw 1.6cqw; background: #e4ddc9; }
.ev-news-h { display: block; font-family: var(--f-display); font-weight: 700; font-size: 2.3cqw; line-height: 1.05; color: #1d1a14; }
.ev-news-s { display: block; margin-top: .6cqw; font-family: var(--f-display); font-size: 1.25cqw; color: #4a4232; }
.ev-note { width: 13cqw; padding: 1.6cqw 1.3cqw; background: linear-gradient(180deg, #ecd88c, #dcc475); }
.ev-note--b { background: linear-gradient(180deg, #e9cfa2, #d6b783); }
.ev-note span { font-family: var(--f-display); font-weight: 500; font-size: 1.55cqw; line-height: 1.3; color: #3b2c12; }
.ev-map { width: 22cqw; padding: .8cqw .8cqw 0; background: #f0e9d8; }
.ev-map svg { display: block; width: 100%; height: auto; }
.ev-map .ev-cap { margin: .6cqw 0 .8cqw; }
.ev-print { width: 13cqw; padding: 1.2cqw 1cqw 0; background: #ece5d3; display: grid; justify-items: center; }
.ev-print svg { width: 9cqw; height: 9cqw; color: #2b2b30; stroke-width: .9; }
.ev-print .ev-cap { margin: .4cqw 0 .9cqw; }
.ev-car { width: 18cqw; padding: 1.2cqw 1.2cqw 0; background: #ece5d3; display: grid; justify-items: center; }
.ev-car svg { width: 8cqw; height: 8cqw; color: #2b2b30; }
.ev-plate { margin-top: .3cqw; padding: .3cqw 1cqw; border: .25cqw solid #1d1d22; border-top-width: .8cqw; border-top-color: #2c5aa0; border-radius: .4cqw; background: #fff; font-family: var(--f-mono); font-weight: 500; font-size: 1.7cqw; letter-spacing: .08em; color: #111; }
.ev-car .ev-cap { margin: .6cqw 0 .9cqw; font-size: .95cqw; }
.ev-pulses { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.ev-pulse { position: absolute; width: 1cqw; height: 1cqw; margin: -.5cqw 0 0 -.5cqw; border-radius: 50%; background: #FFE9A8; }
.ev-lens { position: absolute; left: 0; top: 0; z-index: 8; width: 0; height: 0; pointer-events: none; transform: translate(50cqw, 30cqw); opacity: 0; transition: transform 900ms var(--ease), opacity var(--t-enter) var(--ease); }
.evidence.is-live .ev-lens { opacity: 1; }
.ev-lens svg { position: absolute; width: 13cqw; height: 13cqw; left: -4.63cqw; top: -4.63cqw; overflow: visible; filter: drop-shadow(0 1.2cqw 1.4cqw rgba(0, 0, 0, .55)); }
.ev-lens-glass { position: absolute; width: 6.4cqw; height: 6.4cqw; left: -3.2cqw; top: -3.2cqw; border-radius: 50%; -webkit-backdrop-filter: brightness(1.1) contrast(1.1); backdrop-filter: brightness(1.1) contrast(1.1); }
.ev-status {
  position: absolute; left: 1.4cqw; right: 1.4cqw; bottom: 1.2cqw; z-index: 8;
  display: flex; justify-content: space-between; gap: 1cqw; padding: .7cqw 1.2cqw;
  background: rgba(18, 17, 15, .88); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-family: var(--f-mono); font-size: max(10px, 1.1cqw); color: var(--text-3);
}
.ev-status b { color: var(--text); font-weight: 500; }
.ev-status-live { display: inline-flex; align-items: center; gap: .8cqw; }
.ev-status-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.evidence.is-live .ev-status-live i { background: var(--cyan); }
.evidence.is-done .ev-status-live i { background: var(--gold-light); }
@media (max-width: 600px) { .ev-status span:last-child { display: none; } }

/* ---------- Serviços ---------- */
.services-grid { display: grid; gap: 16px; }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.service-card:hover, .service-card:focus-within { border-color: var(--line-2); }
.service-num { position: absolute; top: 24px; right: 24px; font-family: var(--f-mono); font-size: .75rem; color: var(--text-3); }
.service-card h3 { font-size: 1.25rem; margin-top: 4px; }
.service-card p { color: var(--text-2); font-size: .9375rem; flex: 1; }
.service-link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 44px; font-weight: 500; font-size: .9375rem; color: var(--accent-ink); }
.service-link span[aria-hidden] { transition: transform var(--t-fast) var(--ease); }
.service-link:hover span[aria-hidden] { transform: translateX(4px); }
.service-link::after { content: ""; position: absolute; inset: 0; }
.service-list { display: grid; gap: 8px 24px; margin: 4px 0 8px; }
.service-list li { position: relative; padding-left: 20px; font-size: .9375rem; color: var(--text); line-height: 1.45; }
.service-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.service-card--list p { flex: 0 0 auto; }
.service-card--list .service-list { flex: 1; align-content: start; }
@media (min-width: 560px) { .service-card--list .service-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; } .service-card--wide { grid-column: span 2; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- Central de inteligência (relatório) ---------- */
.hud {
  --hud-line: var(--line-2);
  --hud-cyan: rgba(79, 209, 197, .16);
  position: relative; padding: 12px;
  border: 1px solid var(--line-2); border-radius: var(--r-panel);
  background: #0f0f0e;
  font-family: var(--f-mono); color: var(--text-3); overflow: hidden;
}
.hud-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 4px 4px 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); font-size: .75rem; }
.hud-top b { color: var(--text); font-weight: 500; }
.hud-status { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); }
.hud-blink { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.hud.is-done .hud-blink { background: var(--gold-light); }
.hud-body { display: grid; gap: 12px; }
.hud-side { display: grid; gap: 12px; align-content: start; }
.hud-panel { position: relative; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--bg-deep); }
.hud-gauge { display: grid; place-items: center; padding: 16px 12px 12px; }
.hud-radar { width: min(100%, 184px); height: auto; overflow: visible; }
.hud-num { position: absolute; display: grid; line-height: 1.2; }
.hud-num b { font-size: .75rem; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.hud-num small { font-size: .6875rem; color: var(--text-3); }
.hud-num--a { left: 12px; top: 12px; }
.hud-num--b { right: 12px; bottom: 12px; text-align: right; }
.hud-data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 12px; }
.hud-data div { display: grid; }
.hud-data dt { font-size: .6875rem; color: var(--text-3); }
.hud-data dd { margin: 0; font-size: .75rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-bar { display: flex; align-items: center; gap: 12px; font-size: .75rem; }
.hud-bar b { min-width: 3.4em; text-align: right; color: var(--text); font-weight: 500; }
.hud-bar-track { flex: 1; height: 6px; border-radius: 3px; background: var(--raised); overflow: hidden; }
.hud-bar-fill { display: block; height: 100%; width: 0%; background: var(--accent); transition: width .25s linear; }
.hud-minis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.hud-minis li { display: grid; justify-items: center; gap: 4px; font-size: .625rem; color: var(--text-3); }
.hud-mini { position: relative; width: 100%; max-width: 40px; aspect-ratio: 1; }
.hud-mini svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hud-mini .bg { fill: none; stroke: var(--raised); stroke-width: 3; }
.hud-mini .fg { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 900ms var(--ease); }
.hud-mini span { position: absolute; inset: 0; display: grid; place-items: center; font-size: .5625rem; color: var(--text); }
.hud-log { height: 7.6em; overflow: hidden; font-size: .6875rem; line-height: 1.55; color: var(--text-3); display: flex; flex-direction: column; justify-content: flex-end; }
.hud-log p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-log .ok { color: var(--text-2); }
.hud-log .gold { color: var(--gold-light); }
.hud-map { position: relative; order: -1; padding: 16px 12px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--bg-deep); }
.hud-map-head, .hud-map-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 12px; font-size: .6875rem; }
.hud-map-head { color: var(--text-2); margin-bottom: 8px; }
.hud-map-foot { margin-top: 8px; color: var(--text-3); flex-wrap: wrap; }
.hud-ticks { display: none; }
.hud-corner { display: none; }
.hud-world { display: block; width: 100%; height: auto; overflow: visible; }
.hd { fill: #6d6457; }
.hd--br { fill: var(--gold-light); }
.hud-arc { fill: none; stroke: var(--gold-light); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .85; animation: hudArc 900ms var(--ease) forwards; }
@keyframes hudArc { to { stroke-dashoffset: 0; } }
.hud-ping { display: none; }
.hud-ping-core { fill: var(--cyan); }
.hud-pin-core { fill: var(--gold-light); }
.hud-pin-ring { fill: none; stroke: var(--gold-light); stroke-width: 1; opacity: .5; }
.hud-pin-label { font-family: var(--f-mono); font-size: 9px; fill: var(--gold-light); }
.hud-scan-track { display: none; }
.hud-note { margin-top: 16px; text-align: center; }
@media (min-width: 1024px) {
  .hud { padding: 16px; }
  .hud-body { grid-template-columns: 300px 1fr; gap: 16px; }
  .hud-map { order: 0; padding: 20px 20px 16px; display: flex; flex-direction: column; justify-content: center; }
}
@media (max-width: 479px) { .hud-data { grid-template-columns: repeat(2, 1fr); } .hud-log { height: 6.2em; } }

/* ---------- Método ---------- */
.board { position: relative; padding: 40px 16px 32px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--bg); }
.board-strings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.board-string { fill: none; stroke: #5a4d3c; stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke var(--t-fast) var(--ease); }
.board.is-drawn .board-string { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease), stroke var(--t-fast) var(--ease); transition-delay: calc(var(--si) * 120ms), 0s; }
.board-string.is-lit { stroke: var(--thread); }
.board-notes { position: relative; display: grid; gap: 32px; }
.note {
  position: relative; z-index: 2; width: 88%;
  padding: 28px 20px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-ctl);
  transform: rotate(var(--r, 0deg));
  transition: border-color var(--t-fast) var(--ease), transform var(--t-enter) var(--ease);
}
.note:nth-child(even) { margin-left: auto; }
.note-pin { position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F2DDA0, var(--accent) 45%, #7a6128 100%); box-shadow: 0 2px 4px rgba(0, 0, 0, .5); }
.note-num { display: block; font-family: var(--f-mono); font-size: .75rem; color: var(--text-3); margin-bottom: 8px; }
.note-num::before { content: "Etapa "; }
.note h3 { font-size: 1.125rem; margin-bottom: 8px; }
.note h3 small { font-family: var(--f-body); font-size: .8125rem; color: var(--text-3); }
.note p { font-size: .875rem; color: var(--text-2); }
.note.is-active, .note:hover, .note:focus-visible { transform: rotate(0deg); border-color: var(--line-2); }
@media (min-width: 768px) { .board { padding: 48px 32px 40px; } .note { width: 72%; } }
@media (min-width: 1024px) {
  .board { padding: 64px 32px 88px; }
  .board-notes { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .note { width: auto; padding: 32px 20px 24px; }
  .note:nth-child(even) { margin-left: 0; margin-top: 88px; }
}

/* ---------- Avaliações: mural de relatos ---------- */
.quote-wall { columns: 1; column-gap: 20px; }
.quote {
  break-inside: avoid; margin-bottom: 20px;
  display: grid; gap: 16px; padding: 28px 24px 24px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
}
.quote-text p { color: var(--text); font-size: .9375rem; line-height: 1.65; }
.quote-text p::before { content: "“"; display: block; height: .5em; margin-bottom: 8px; font-family: var(--f-display); font-size: 3rem; line-height: 1; color: var(--accent); }
.quote--lead .quote-text p { font-family: var(--f-display); font-size: 1.375rem; line-height: 1.45; letter-spacing: -.01em; }
.quote-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .875rem; }
.quote-meta b { font-weight: 500; color: var(--text); }
.quote-meta span { color: var(--text-3); }
.review-stars { display: flex; gap: 4px; }
.star { position: relative; width: 16px; height: 16px; }
.star svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.star-bg { fill: none; stroke: var(--line-2); stroke-width: 1.4; }
.star-fill { fill: var(--accent); }
.reviews-footer { display: grid; justify-items: center; gap: 12px; margin-top: 28px; text-align: center; }
@media (min-width: 768px) { .quote-wall { columns: 2; } }
@media (min-width: 1024px) { .quote-wall { columns: 3; column-gap: 24px; } .quote { margin-bottom: 24px; } }

/* ---------- CTA ---------- */
.cta-band { position: relative; padding-block: 96px; text-align: center; background: var(--bg-deep); border-block: 1px solid var(--line); }
.cta-light { display: none; }
.cta-inner { display: grid; justify-items: center; gap: 8px; }
.cta-title { font-size: clamp(2rem, 1.4rem + 2.8vw, 3.25rem); letter-spacing: -.02em; max-width: 20ch; margin-bottom: 28px; }
.cta-note { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; color: var(--text-3); font-size: .875rem; }
.cta-note .icon { width: 16px; height: 16px; }
@media (min-width: 1024px) { .cta-band { padding-block: 128px; } }

/* ---------- Instagram ---------- */
.insta-grid { display: grid; gap: 48px; align-items: center; }
.insta-copy .lead { margin-bottom: 32px; }
.phone-wrap { justify-self: center; }
.phone {
  position: relative; width: 280px; aspect-ratio: 9 / 19.5; padding: 10px;
  border-radius: 44px; background: #1e1d1b; border: 1px solid var(--line-2);
  box-shadow: 0 32px 64px -32px rgba(0, 0, 0, .8);
}
.phone-notch { position: absolute; top: 18px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 12px; background: #050505; z-index: 2; }
.phone-screen { height: 100%; border-radius: 34px; overflow: hidden; background: #0c0c0c; padding: 44px 12px 0; display: flex; flex-direction: column; gap: 8px; }
.ig-top { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 8px; font-weight: 600; font-size: .78rem; color: var(--text); }
.ig-ico { width: 15px; height: 15px; color: var(--text); }
.ig-handle { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-profile { display: flex; gap: 10px; align-items: center; }
.ig-avatar { width: 58px; height: 58px; flex: none; border-radius: 50%; padding: 2.5px; background: #3a3a40; }
.ig-avatar img { width: 100%; height: 100%; border-radius: 50%; border: 2px solid #0c0c0c; display: block; }
.ig-meta { display: grid; gap: 4px; min-width: 0; }
.ig-meta strong { font-size: .62rem; font-weight: 600; line-height: 1.25; }
.ig-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px; }
.ig-stats span { display: grid; font-size: .54rem; color: var(--text-2); line-height: 1.2; }
.ig-stats b { font-size: .74rem; font-weight: 600; color: var(--text); }
.ig-bio p { font-size: .55rem; line-height: 1.5; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-actions { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 4px; }
.ig-actions span { display: inline-flex; align-items: center; justify-content: center; gap: 2px; padding: 5px 2px; border-radius: 7px; font-size: .55rem; font-weight: 600; background: #232323; color: var(--text); }
.ig-actions svg { width: 9px; height: 9px; }
.ig-actions .ig-wa { color: var(--wa); }
.ig-highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 2px; }
.ig-highlights span { display: grid; justify-items: center; gap: 3px; font-size: .5rem; color: var(--text-2); }
.ig-highlights i { width: 42px; height: 42px; border-radius: 50%; padding: 2px; background: #3a3a40; }
.ig-highlights img { width: 100%; height: 100%; border-radius: 50%; border: 1.5px solid #0c0c0c; display: block; }
.ig-tabs { display: grid; grid-template-columns: repeat(3, 1fr); justify-items: center; padding-top: 4px; border-bottom: 1px solid #2a2a2a; margin-inline: -12px; }
.ig-tabs svg { width: 15px; height: 15px; color: #6f6f6f; margin-bottom: 5px; }
.ig-tabs svg.is-on { color: var(--text); }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 0 -12px; flex: 1; align-content: start; }
.tile { aspect-ratio: 1; display: grid; place-items: center; background: #161513; overflow: hidden; color: var(--text-2); }
.tile svg { width: 44%; height: 44%; }
.tile b { font-family: var(--f-mono); font-size: .58rem; font-weight: 500; letter-spacing: .12em; }
.t1 svg { stroke-width: .8; width: 58%; height: 58%; }
.t5 { background: #1c1a18; }
.t5 svg { width: 64%; height: 64%; }
.t7 { background: var(--accent); color: var(--bg-deep); }
.pixel-fade { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
@media (min-width: 1024px) { .insta-grid { grid-template-columns: 1fr 1fr; gap: 80px; } .phone { width: 300px; } }

/* ---------- Contato ---------- */
.contact-grid { display: grid; gap: 40px; }
.contact-form { display: grid; gap: 16px; padding: 24px 20px; margin-top: 8px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .875rem; font-weight: 500; color: var(--text-2); }
.optional { color: var(--text-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--bg-deep); border: 1px solid var(--line-2); border-radius: var(--r-ctl); color: var(--text);
  transition: border-color var(--t-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23aaa398' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field select option { background: var(--card); color: var(--text); }
.field ::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: #e5484d; }
.form-error { color: #f0a090; font-size: .875rem; }
.form-error:empty { display: none; }
.form-note { display: flex; gap: 10px; font-size: .8125rem; color: var(--text-3); line-height: 1.6; }
.form-note .icon { width: 16px; height: 16px; margin-top: 3px; }
.form-note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.contact-info { align-self: start; display: grid; gap: 24px; padding: 24px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.contact-info-title { font-size: 1.25rem; }
.contact-info ul { display: grid; gap: 16px; }
.contact-info li { display: flex; gap: 12px; align-items: center; }
.contact-info li > div { display: grid; line-height: 1.4; }
.ci-label { font-size: .8125rem; color: var(--text-3); }
.contact-info a { color: var(--text); font-weight: 500; }
.contact-info a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-map { position: relative; border: 1px solid var(--line-2); border-radius: var(--r-ctl); overflow: hidden; background: var(--bg-deep); }
.contact-map iframe { display: block; width: 100%; height: 220px; border: 0; filter: grayscale(1) invert(.9) contrast(.9) brightness(.95) sepia(.2); }
.contact-map-load {
  width: 100%; height: 220px; display: grid; place-content: center; justify-items: center; gap: 4px;
  background: var(--bg-deep); color: var(--text); font-weight: 500; font-size: .9375rem;
  transition: background-color var(--t-fast) var(--ease);
}
.contact-map-load:hover { background: var(--raised); }
.contact-map-load .icon { width: 22px; height: 22px; color: var(--text-2); margin-bottom: 4px; }
.contact-map-load small { font-size: .8125rem; font-weight: 400; color: var(--text-3); }
.form-status { color: var(--text-2); font-size: .875rem; }
.form-status:empty { display: none; }
.contact-map-link {
  position: absolute; right: 8px; top: 8px;
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 8px 12px;
  border-radius: var(--r-ctl); background: var(--bg-deep); border: 1px solid var(--line-2);
  font-size: .8125rem; font-weight: 500; color: var(--text) !important;
}
.contact-map-link .icon { width: 15px; height: 15px; }
.contact-map-link:hover { text-decoration: none !important; background: var(--raised); }
.contact-seal { display: flex; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--text-3); }
.contact-seal .icon { width: 18px; height: 18px; margin-top: 2px; }
.contact-seal strong { color: var(--text-2); font-weight: 500; }
@media (min-width: 768px) {
  .contact-form { grid-template-columns: 1fr 1fr; padding: 32px; }
  .field--full, .contact-form .btn, .form-note, .form-error, .form-status { grid-column: 1 / -1; }
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.35fr .65fr; gap: 48px; align-items: end; } }

/* ---------- Rodapé ---------- */
.site-footer { position: relative; background: var(--bg-deep); border-top: 1px solid var(--line); padding: 64px 0 calc(112px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 32px; text-align: center; }
.footer-brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 16px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.brand--footer { display: flex; width: fit-content; gap: 12px; margin: 0 auto; }
.brand--footer .brand-icon { width: 52px; height: 57px; }
.brand--footer .brand-name { font-size: 1.25rem; }
.brand--footer .brand-tag { font-size: .58rem; margin-top: 6px; }
@media (max-width: 480px) { .brand--footer .brand-name { font-size: 1rem; } .brand--footer .brand-tag { font-size: .5rem; } .brand--footer .brand-icon { width: 44px; height: 48px; } }
.social-link { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-ctl); color: var(--text-2); transition: background-color var(--t-fast) var(--ease); }
.social-link:hover { background: var(--raised); color: var(--text); }
.footer-col h3 { font-family: var(--f-body); font-size: .875rem; font-weight: 500; color: var(--text); margin-bottom: 12px; }
.footer-col ul { display: grid; gap: 4px; justify-items: center; }
.footer-col li { color: var(--text-3); font-size: .875rem; }
.footer-col a { display: inline-block; padding: 4px 0; color: var(--text-2); transition: color var(--t-fast) var(--ease); }
.footer-col a:hover { color: var(--text); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 32px; } }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; justify-items: center; text-align: center; font-size: .8125rem; color: var(--text-3); }
.footer-legal a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--text); }
.footer-legal button { background: none; border: 0; padding: 0; font: inherit; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer-legal button:hover { color: var(--text); }
.footer-ai { max-width: 60ch; }
.to-top { margin-top: 16px; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; font-size: .8125rem; color: var(--text-2); transition: color var(--t-fast) var(--ease); }
.to-top-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color var(--t-fast) var(--ease); }
.to-top-icon .icon { width: 18px; height: 18px; transform: rotate(-90deg); }
.to-top:hover { color: var(--text); }
.to-top:hover .to-top-icon { background: var(--raised); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; z-index: 45;
  left: 16px; bottom: calc(16px + env(safe-area-inset-bottom) + var(--cookie-h));
  display: flex; align-items: center; gap: 8px;
  height: 56px; min-width: 56px; padding: 0 20px 0 4px;
  border-radius: 28px; background: var(--wa); color: #fff;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .6);
  transition: background-color var(--t-fast) var(--ease), bottom var(--t-enter) var(--ease);
}
.wa-float:hover { background: #2ee071; }
.wa-float-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; }
.wa-float-icon .icon { width: 28px; height: 28px; }
.wa-float-label { display: none; font-weight: 600; font-size: .9375rem; white-space: nowrap; color: #05351B; }
.wa-float-dot { display: none; }
@media (max-width: 767px) { .wa-float { width: 56px; padding: 0; justify-content: center; } }
@media (min-width: 768px) { .wa-float { left: 24px; bottom: calc(24px + var(--cookie-h)); } .wa-float-label { display: inline; } }

/* ---------- Detetive que acompanha a rolagem ---------- */
.detective {
  position: fixed; z-index: 40; right: var(--det-right);
  bottom: calc(16px + env(safe-area-inset-bottom) + var(--cookie-h));
  width: var(--det-w); aspect-ratio: 200 / 220; pointer-events: none; display: none;
  transition: bottom var(--t-enter) var(--ease);
}
.js .detective { display: block; }
@media (min-width: 1024px) { .detective { bottom: auto; top: calc(50% - var(--det-w) * .55); } }
.det-dock, .det-pose, .det-par, .det-svg { width: 100%; height: 100%; }
.det-dock { transform-origin: 0 0; will-change: transform; }
.det-pose { will-change: transform; transition: transform 900ms var(--ease); }
.has-gsap .det-pose { transition: none; }
.det-svg { overflow: visible; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .6)); }
.det-lupa { transform-box: view-box; transform-origin: 157px 136px; transition: transform 600ms var(--ease); }
.det-lens-flash { opacity: 0; }
.detective.is-hidden { opacity: 0; }
.js .detective { opacity: 0; }
.is-ready .detective:not(.is-hidden) { opacity: 1; transition: opacity var(--t-enter) var(--ease), bottom var(--t-enter) var(--ease); }

/* ---------- Cookies ---------- */
.cookie {
  position: fixed; z-index: 120; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid; gap: 12px; padding: 16px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-card);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .8);
  font-size: .8125rem; color: var(--text-2); line-height: 1.55;
}
.cookie[hidden] { display: none; }
.cookie a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
@media (min-width: 768px) {
  .cookie { left: 50%; right: auto; width: min(560px, calc(100% - 48px)); transform: translateX(-50%); grid-template-columns: 1fr auto; align-items: center; bottom: 24px; }
  .cookie-actions { flex-direction: column; }
}

/* ---------- Páginas legais ---------- */
.legal-page main { padding: calc(var(--header-h) + 56px) 0 96px; }
.legal { max-width: 720px; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); letter-spacing: -.02em; margin-bottom: 12px; }
.legal h2 { font-size: 1.25rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--text-2); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal .updated { font-size: .8125rem; color: var(--text-3); }
.legal-page .header-inner .back { margin-left: auto; }


/* ---------- Glow up: revelação, luz do serviço, luminária do hero ---------- */
/* Revelação suave ao rolar — uma vez por elemento, 12px, só transform/opacity */
.reveal-on .reveal:not(.is-in) { opacity: 0; transform: translateY(12px); }
.reveal-on .reveal {
  transition: opacity 520ms var(--ease), transform 520ms var(--ease),
    background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms), calc(var(--i, 0) * 60ms), 0s, 0s, 0s;
}

/* Serviços: um facho de luz quente segue o cursor dentro do card */
.service-card {
  background:
    radial-gradient(360px circle at var(--mx, -400px) var(--my, -400px), rgba(255, 232, 180, .055), transparent 60%),
    var(--card);
}
.service-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, -400px) var(--my, -400px), rgba(239, 233, 222, .28), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity var(--t-enter) var(--ease);
}
.service-card:hover::before { opacity: 1; }

/* Hero: luz âmbar de luminária atrás do anel (faz parte da cena, não do cromo) */
.hero-visual::before {
  content: ""; position: absolute; inset: -32%; pointer-events: none;
  background: radial-gradient(circle at 50% 42%, rgba(227, 199, 122, .13), rgba(227, 199, 122, .04) 38%, transparent 62%);
}
.hero-title { text-wrap: balance; }

/* Navegação: a seção atual ganha um pequeno marcador */
.main-nav a { position: relative; }
.main-nav a[aria-current="true"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent);
}

/* ---------- Hero em cena: foto do escritório em tela cheia ---------- */
.hero--scene { align-items: flex-end; padding-bottom: 64px; isolation: isolate; }
.hero-scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.hero-scene picture, .hero-scene img { display: block; width: 100%; height: 100%; }
.hero-scene img { object-fit: cover; object-position: center top; }
.hero-scene::after { /* no celular: a foto ocupa o alto e escurece até o texto */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22, 21, 19, .15) 0%, rgba(22, 21, 19, .35) 38%, rgba(22, 21, 19, .92) 62%, var(--bg) 82%);
}
.hero--scene .hero-inner { grid-template-columns: 1fr; }
.hero--scene .hero-copy { text-align: left; justify-self: start; max-width: 600px; }
.hero--scene .hero-sub { margin-left: 0; }
.hero--scene .hero-ctas { justify-content: flex-start; }
.js .hero-scene { opacity: 0; }
.is-ready .hero-scene { opacity: 1; transition: opacity 700ms var(--ease); }
@media (min-width: 768px) {
  .hero--scene { align-items: center; padding-bottom: 96px; }
  .hero-scene img { object-position: 72% center; }
  .hero-scene::after { /* lado esquerdo escuro para o título; base funde com a página */
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(22, 21, 19, .88) 26%, rgba(22, 21, 19, .35) 52%, rgba(22, 21, 19, 0) 70%),
      linear-gradient(180deg, rgba(22, 21, 19, .55) 0%, rgba(22, 21, 19, 0) 18%, rgba(22, 21, 19, 0) 72%, var(--bg) 100%);
  }
}
@media (min-width: 1024px) { .hero--scene .hero-copy { max-width: 620px; } }

/* Medalhão do detetive sobre a cena (identidade visual — aparece em todas as telas).
   Celular/tablet: menor, no alto à direita, acima e ao lado da luminária, na área das janelas.
   Computador: ~30% menor que o original, entre o título e a luminária. */
.hero--scene .hero-visual::before { /* disco escuro que separa o medalhão da foto */
  inset: -6%;
  background: radial-gradient(circle, rgba(18, 17, 15, .78) 0 52%, rgba(18, 17, 15, .4) 60%, rgba(18, 17, 15, 0) 70%);
}
@media (max-width: 1023px) {
  .hero--scene .hero-inner { position: static; } /* o medalhão se posiciona em relação à seção inteira */
  /* reserva o espaço do medalhão no alto: em telas baixas o texto nunca encosta nele */
  .hero--scene { padding-top: calc(var(--header-h) + 20px + clamp(120px, 36vw, 150px) + 28px); }
  .hero--scene .hero-visual {
    position: absolute; z-index: 1;
    top: calc(var(--header-h) + 20px); right: var(--gutter);
    width: clamp(120px, 36vw, 150px); margin: 0;
  }
  .hero--scene .hero-coords { display: none; }
  .hero--scene .hero-fp { width: 116%; height: 116%; left: -8%; top: -8%; }
}
@media (max-width: 767px) {
  .hero-scene img { object-position: 75% top; } /* luminária um pouco mais à esquerda, deixando o canto direito para o medalhão */
}
@media (min-width: 768px) and (max-width: 1023px) {
  /* no tablet a luminária fica no alto à direita: o medalhão vai para a área escura à esquerda */
  .hero--scene .hero-visual { width: 200px; top: calc(var(--header-h) + 32px); right: auto; left: var(--gutter); }
  .hero--scene { padding-top: calc(var(--header-h) + 32px + 200px + 40px); }
}
@media (min-width: 1024px) {
  .hero-scene img { object-position: 0% center; } /* empurra a luminária para a direita, abrindo espaço ao medalhão */
  .hero--scene .hero-inner { grid-template-columns: minmax(0, 560px) 280px; justify-content: start; gap: 56px; }
  .hero--scene .hero-visual { display: grid; order: 2; width: 280px; }
  .hero--scene .hero-coords { bottom: -2%; }
}
@media (min-width: 1440px) {
  .hero--scene .hero-inner { grid-template-columns: minmax(0, 620px) 320px; gap: 72px; }
  .hero--scene .hero-visual { width: 320px; }
}
@media (prefers-reduced-motion: reduce) { .js .hero-scene { opacity: 1; } }
.js .detective { transition: opacity var(--t-enter) var(--ease), bottom var(--t-enter) var(--ease); }

/* ---------- Página 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 48px) 0 64px; text-align: center; }
.notfound-code { font-family: var(--f-display); font-weight: 500; font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; letter-spacing: -.04em; color: var(--text); }
.notfound-code span { color: var(--accent-ink); }
.notfound h1 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 16px 0 12px; }
.notfound p { color: var(--text-2); max-width: 44ch; margin: 0 auto 32px; }
.notfound-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

@media (prefers-reduced-motion: reduce) { .reveal-on .reveal:not(.is-in) { opacity: 1; transform: none; } }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js .hero-copy > *, .js .hero-visual { opacity: 1 !important; transform: none !important; }
}
