/* ==========================================================
   CHEFER ENGENHARIA — LP
   Conceito: prancha técnica de engenharia que ganhou vida.
   Paleta da marca: preto-grafite, amarelo-sinalização, papel.
   ========================================================== */

:root {
  /* cores */
  --c-bg: #0C0F14;
  --c-surface: #161A22;
  --c-surface-2: #1D222C;
  --c-accent: #F5B800;
  --c-accent-dim: #C49500;
  --c-accent-glow: #FFD54F;
  --c-paper: #F7F5F0;
  --c-paper-2: #EDEAE4;
  --c-text: #E8E4DE;
  --c-muted: #9BA0A8;
  --c-ink: #1A1A1A;
  --c-ink-muted: #55575C;
  --line: rgba(232, 228, 222, .12);
  --line-accent: rgba(245, 184, 0, .3);
  --line-ink: rgba(26, 26, 26, .18);

  /* tipografia */
  --font-display: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-label: 'IBM Plex Mono', ui-monospace, Consolas, monospace;

  /* espaço */
  --space-xs: .5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: clamp(5rem, 9vw, 8rem);

  /* forma */
  --radius-sm: 2px;
  --radius-md: 4px;
  --shadow-hard: 5px 5px 0 rgba(245, 184, 0, .3);

  /* grid */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 68px;
  --cut: clamp(28px, 4.5vw, 72px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }
.paper :focus-visible { outline-color: var(--c-ink); }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 300;
  background: var(--c-accent); color: #0C0F14; padding: .6rem 1rem; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
@media (min-width: 1100px) { .wrap { padding-left: calc(var(--gutter) + 44px); } }

.mono {
  font-family: var(--font-label);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ---------- seções: variáveis por tema de fundo ---------- */
.sec {
  --fg: var(--c-text);
  --fg2: var(--c-muted);
  --ln: var(--line);
  position: relative;
  padding: var(--space-xl) 0;
  color: var(--fg);
}
.dark { background: var(--c-bg); }
.surface { background: var(--c-surface); }
.paper {
  --fg: var(--c-ink);
  --fg2: var(--c-ink-muted);
  --ln: var(--line-ink);
  background: var(--c-paper);
}
/* corte diagonal: a transição entre seções faz parte da identidade */
.cut {
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(var(--cut) * -1);
  padding-top: calc(var(--space-xl) + var(--cut));
}

.sec-label {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-label); font-size: .75rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--fg2);
}
.sec-n {
  display: inline-grid; place-items: center; min-width: 2.2rem; height: 1.6rem; padding: 0 .4rem;
  background: var(--c-accent); color: #0C0F14; font-weight: 500; letter-spacing: .05em;
}
.paper .sec-n { background: var(--c-ink); color: var(--c-accent); }

.h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.9rem, 7.2vw, 6.2rem); line-height: .92; letter-spacing: .01em;
  margin-top: 1.1rem; color: var(--fg);
}
.hl { color: var(--c-accent); }
.paper .hl {
  /* marca-texto só na altura das maiúsculas, para não cobrir a linha de cima */
  background: linear-gradient(transparent 17%, var(--c-accent) 17%, var(--c-accent) 83%, transparent 83%);
  color: #0C0F14; padding: 0 .14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  font-family: var(--font-body); font-weight: 700; font-size: .9rem; letter-spacing: .07em; text-transform: uppercase;
  padding: 1.05rem 1.7rem; border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--c-accent); color: #0C0F14; box-shadow: var(--shadow-hard); }
.btn-primary:hover { background: var(--c-accent-glow); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 rgba(245, 184, 0, .3); }
.btn-ghost { border-color: var(--line-accent); color: var(--c-text); }
.btn-ghost:hover { border-color: var(--c-accent); color: var(--c-accent); }
.btn-dark { background: #0C0F14; color: var(--c-accent); box-shadow: 5px 5px 0 rgba(12, 15, 20, .28); }
.btn-dark:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 rgba(12, 15, 20, .28); }
.btn-line-dark { border-color: rgba(12, 15, 20, .55); color: #0C0F14; }
.btn-line-dark:hover { background: #0C0F14; color: var(--c-accent); }

.ulink {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .3s var(--ease);
}
.ulink:hover { background-size: 100% 2px; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.hdr.scrolled { background: rgba(12, 15, 20, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-color: var(--line-accent); }
.hdr-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .6rem; }
.logo svg { width: 26px; height: 26px; color: var(--c-accent); flex: none; }
.logo-t { display: flex; flex-direction: column; line-height: 1; }
.logo-t b { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; letter-spacing: .08em; }
.logo-t small { font-family: var(--font-label); font-size: .56rem; letter-spacing: .34em; color: var(--c-accent); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) { font-family: var(--font-label); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--c-accent); }
.nav .btn { padding: .7rem 1.2rem; font-size: .8rem; box-shadow: none; }
.menu-btn { display: none; font-family: var(--font-label); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line-accent); padding: .6rem .9rem; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-bg); border-bottom: 1px solid var(--line-accent); padding: .5rem var(--gutter) 1.5rem;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .8rem; }
  .nav .btn { margin-top: 1.2rem; }
}

/* ---------- trilho lateral (progresso da "fiação") ---------- */
.rail { display: none; }
@media (min-width: 1100px) {
  .rail { display: block; position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 80; }
  .rail-line { position: absolute; left: 50%; top: -34px; bottom: -34px; width: 2px; background: var(--line); transform: translateX(-50%); }
  .rail-fill { position: absolute; inset: 0; background: var(--c-accent); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .rail ol { position: relative; display: flex; flex-direction: column; gap: 1.1rem; align-items: center; }
  .rail a {
    display: grid; place-items: center; width: 30px; height: 22px; font-family: var(--font-label); font-size: .62rem; letter-spacing: .04em;
    background: var(--c-bg); color: var(--c-muted); border: 1px solid var(--line); transition: all .25s var(--ease);
  }
  .rail a:hover { color: var(--c-accent); border-color: var(--c-accent); }
  .rail a.on { background: var(--c-accent); color: #0C0F14; border-color: var(--c-accent); transform: scale(1.12); box-shadow: 0 0 0 2px #0C0F14, 0 0 0 4px var(--c-accent); }
}

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 calc(var(--space-xl) + 20px);
  background: var(--c-bg);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .07;
  background-image: linear-gradient(var(--c-accent) 1px, transparent 1px), linear-gradient(90deg, var(--c-accent) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 65% 45%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 65% 45%, #000 15%, transparent 75%);
}
.hero-diagram {
  position: absolute; z-index: 0; color: var(--c-accent);
  right: calc(var(--gutter) * -.4); top: calc(var(--header-h) + 1.5rem);
  width: min(52vw, 660px); height: auto;
}
.hero-diagram text { font-family: var(--font-label); fill: currentColor; }
.hero-diagram .dim { fill: var(--c-muted); }
.hero-inner { position: relative; z-index: 1; width: 100%; }
.eyebrow { color: var(--c-accent); display: flex; align-items: center; gap: .9rem; margin-bottom: 1.6rem; }
.eyebrow::before { content: ""; width: 38px; height: 2px; background: var(--c-accent); flex: none; }
.hero-title {
  font-family: var(--font-display); font-weight: 400; color: var(--c-text);
  font-size: clamp(3.1rem, 11.5vw, 10.5rem); line-height: .86; letter-spacing: .01em;
}
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .ln > span { display: inline-block; }
.hero-title .hl { color: var(--c-accent); text-shadow: 0 0 10px var(--c-bg), 0 0 22px var(--c-bg), 0 0 40px var(--c-bg); }
.hero-title .ln:first-child { text-shadow: 0 0 22px var(--c-bg); }
.hero-sub { margin-top: 1.8rem; max-width: 46ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 300; color: var(--c-muted); line-height: 1.6; }
.hero-sub strong { color: var(--c-text); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem 1.2rem; margin-top: 2.4rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--c-muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: .6rem; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; background: var(--c-accent); }

@media (max-width: 760px) {
  .hero-diagram { width: 128vw; right: -34vw; top: calc(var(--header-h) + 1rem); opacity: .3; }
  .hero-title { line-height: .88; font-size: clamp(3.2rem, 14.5vw, 5.4rem); }
}

/* entrada do hero */
.js .hero-title .ln > span { transform: translateY(105%); animation: rise .9s var(--ease) forwards; }
.js .hero-title .ln:nth-child(2) > span { animation-delay: .12s; }
.js .hero-in { opacity: 0; transform: translateY(18px); animation: fadeUp .8s var(--ease) forwards; }
.js .hero-in.d1 { animation-delay: .35s; } .js .hero-in.d2 { animation-delay: .5s; } .js .hero-in.d3 { animation-delay: .65s; }
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* diagrama unifilar desenhando */
.js .hero-diagram .d { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.5s var(--ease) forwards; animation-delay: calc(var(--i, 0) * .1s + .2s); }
.js .hero-diagram text, .js .hero-diagram .pulse { opacity: 0; animation: fadeIn .6s ease forwards; animation-delay: 1.6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- faixa zebrada + marquee ---------- */
.hazard {
  height: 16px;
  background: repeating-linear-gradient(-45deg, var(--c-accent) 0 14px, #0C0F14 14px 28px);
}
.band-wrap { position: relative; z-index: 5; margin-top: -58px; height: 116px; overflow: hidden; pointer-events: none; }
.band {
  position: absolute; left: -4%; width: 108%; top: 30px; transform: rotate(-1.4deg);
  background: var(--c-accent); color: #0C0F14; overflow: hidden; padding: .55rem 0;
  border-block: 2px solid #0C0F14; box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.band-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.band-group { display: flex; flex: none; }
.band-group span { font-family: var(--font-display); font-size: 1.9rem; letter-spacing: .06em; line-height: 1; padding: .2rem 0; white-space: nowrap; display: inline-flex; align-items: center; }
.band-group span::after { content: ""; width: 14px; height: 14px; margin: 0 1.6rem; background: #0C0F14; clip-path: polygon(60% 0, 10% 58%, 46% 58%, 34% 100%, 92% 38%, 54% 38%); }
@keyframes slide { to { transform: translateX(-25%); } }
@media (prefers-reduced-motion: reduce) {
  .band-track { animation: none; }
}

/* ---------- 01 PROBLEMA (papel) ---------- */
.prob-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; margin-top: var(--space-md); }
.prob-list { display: flex; flex-direction: column; }
.prob-item { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding: 1.7rem 0; border-top: 1px solid var(--ln); }
.prob-item:last-child { border-bottom: 1px solid var(--ln); }
.prob-item .k { font-family: var(--font-display); font-size: 3.4rem; line-height: .8; color: var(--fg); opacity: .22; }
.prob-item p { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; line-height: 1.35; color: var(--fg); max-width: 34ch; }
.prob-item p small { display: block; margin-top: .5rem; font-size: .95rem; font-weight: 400; color: var(--fg2); }
.prob-answer {
  margin-top: var(--space-lg); background: #0C0F14; color: var(--c-text); padding: clamp(1.6rem, 4vw, 3rem);
  max-width: 820px; position: relative; margin-left: clamp(0px, 8vw, 120px);
}
.prob-answer::before { content: ""; position: absolute; left: -10px; top: 10px; bottom: -10px; width: 100%; border: 2px solid var(--c-accent); z-index: -1; }
.prob-answer p { font-family: var(--font-display); font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1; letter-spacing: .01em; }
.prob-answer p span { color: var(--c-accent); }
@media (max-width: 860px) { .prob-grid { grid-template-columns: 1fr; } .prob-answer { margin-left: 10px; } }

/* ---------- 02 SERVIÇOS (escuro) ---------- */
.svc-head { max-width: 900px; }
.svc-lead { margin-top: 1.4rem; max-width: 52ch; color: var(--fg2); font-weight: 300; font-size: 1.15rem; }
.svc-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1.5rem, 4vw, 4rem); margin-top: var(--space-lg); align-items: start; }
.spec:nth-child(2) { margin-top: clamp(0px, 7vw, 6.5rem); }
.spec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 3px solid var(--c-accent); }
.spec-hd h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 6vw, 5.2rem); line-height: .85; letter-spacing: .01em; }
.spec-hd .mono { color: var(--c-accent); padding-bottom: .4rem; }
.row {
  display: grid; grid-template-columns: 3.4rem 1fr auto; gap: 1rem; align-items: start;
  padding: 1.35rem .6rem 1.35rem 0; border-bottom: 1px solid var(--line);
  transition: background .25s ease, padding-left .25s var(--ease);
}
.row:hover, .row:focus-visible { background: var(--c-surface); padding-left: .9rem; }
.row .code { font-family: var(--font-label); font-size: .72rem; letter-spacing: .1em; color: var(--c-accent); padding-top: .45rem; }
.row h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.12rem; letter-spacing: .01em; line-height: 1.25; }
.row p { margin-top: .3rem; font-size: .95rem; color: var(--c-muted); font-weight: 300; line-height: 1.55; max-width: 48ch; }
.row .go { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-accent); color: var(--c-accent); transition: background .2s, color .2s, transform .2s var(--ease); }
.row .go svg { width: 16px; height: 16px; }
.row:hover .go { background: var(--c-accent); color: #0C0F14; transform: rotate(-45deg); }
.svc-extra { margin-top: var(--space-lg); }
.svc-extra .row { grid-template-columns: 3.4rem 1fr auto; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } .spec:nth-child(2) { margin-top: 0; } }

/* ---------- 03 PROCESSO (papel) ---------- */
.proc { position: relative; margin-top: var(--space-lg); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.6vw, 2.4rem); padding-top: 3.2rem; }
.proc::before, .proc::after { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 4px; }
.proc::before { background: var(--line-ink); }
.proc::after { background: var(--c-ink); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.proc.on::after { transform: scaleX(1); }
.step { position: relative; z-index: 1; }
.step:nth-child(even) { margin-top: 2.2rem; }
.step-dot {
  position: absolute; top: -3.2rem; left: 0; width: 28px; height: 28px; background: var(--c-paper); border: 4px solid var(--c-ink);
  display: grid; place-items: center; transition: background .3s ease, border-color .3s ease;
}
.step:nth-child(even) .step-dot { top: -5.4rem; }
.proc.on .step-dot { background: var(--c-accent); }
.proc.on .step:nth-child(2) .step-dot { transition-delay: .4s; }
.proc.on .step:nth-child(3) .step-dot { transition-delay: .8s; }
.proc.on .step:nth-child(4) .step-dot { transition-delay: 1.2s; }
.step .n { font-family: var(--font-display); font-size: clamp(3.4rem, 6vw, 5rem); line-height: .8; color: var(--fg); opacity: .16; }
.step h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.2rem); letter-spacing: .02em; margin-top: .7rem; line-height: 1; }
.step p { margin-top: .6rem; font-size: .98rem; color: var(--fg2); line-height: 1.55; }
@media (max-width: 860px) {
  .proc { grid-template-columns: 1fr; padding-top: 0; padding-left: 3rem; gap: 2.4rem; }
  .proc::before, .proc::after { left: 12px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .proc::after { transform-origin: 50% 0; transform: scaleY(0); }
  .proc.on::after { transform: scaleY(1); }
  .step:nth-child(even) { margin-top: 0; }
  .step-dot, .step:nth-child(even) .step-dot { top: .3rem; left: -3rem; }
}

/* ---------- 04 OBRAS (só aparece quando houver fotos reais) ---------- */
.obras-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; margin-top: var(--space-lg); }
.obra { position: relative; overflow: hidden; background: var(--c-surface); grid-column: span 4; aspect-ratio: 4 / 3; }
.obra:nth-child(1) { grid-column: span 8; aspect-ratio: 16 / 10; }
.obra:nth-child(4) { grid-column: span 5; }
.obra:nth-child(5) { grid-column: span 7; }
.obra img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.obra:hover img { transform: scale(1.04); }
.obra figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 2.2rem 1rem .9rem; background: linear-gradient(transparent, rgba(12, 15, 20, .88)); font-size: .9rem; }
.obra figcaption b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; letter-spacing: .03em; }
.obra figcaption span { font-family: var(--font-label); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); }
@media (max-width: 760px) { .obra, .obra:nth-child(n) { grid-column: span 12; } }

/* ---------- 05 SOBRE / ÁREA (superfície) ---------- */
.about-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 6vw, 6rem); margin-top: var(--space-md); align-items: end; }
.about-big { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .92; letter-spacing: .01em; }
.about-big span { color: var(--c-accent); }
.about-txt p { color: var(--c-muted); font-weight: 300; font-size: 1.1rem; }
.about-txt p + p { margin-top: 1rem; }
.about-txt p strong { color: var(--c-text); font-weight: 600; }
.area { margin-top: var(--space-lg); padding-top: 1.6rem; border-top: 1px solid var(--line); }
.area-track { position: relative; display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.area-track li { font-family: var(--font-label); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: .55rem 1rem; border: 1px solid var(--line-accent); color: var(--c-text); }
.area-track li:first-child { background: var(--c-accent); color: #0C0F14; border-color: var(--c-accent); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; align-items: start; } }

/* ---------- 06 DÚVIDAS (papel) ---------- */
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-side p { margin-top: 1.2rem; color: var(--fg2); max-width: 32ch; }
.faq-side .btn { margin-top: 1.6rem; }
.faq details { border-top: 1px solid var(--ln); }
.faq details:last-child { border-bottom: 1px solid var(--ln); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; font-weight: 700; font-size: clamp(1.1rem, 1.9vw, 1.35rem); line-height: 1.3; color: var(--fg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 22px; height: 22px; flex: none; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: var(--c-ink); transition: transform .25s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq details p { padding: 0 3rem 1.6rem 0; color: var(--fg2); max-width: 60ch; }

@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* ---------- 07 CTA (amarelo) ---------- */
.cta { background: var(--c-accent); color: #0C0F14; padding: var(--space-xl) 0 calc(var(--space-xl) * .8); position: relative; overflow: hidden; }
.cta-bolt { position: absolute; right: -4vw; bottom: -10%; width: min(42vw, 520px); height: auto; color: #0C0F14; opacity: .07; }
.cta .sec-label { color: rgba(12, 15, 20, .7); }
.cta .sec-n { background: #0C0F14; color: var(--c-accent); }
.cta h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(4.2rem, 14vw, 13rem); line-height: .82; letter-spacing: .005em; margin-top: 1.2rem; }
.cta-sub { margin-top: 1.6rem; max-width: 46ch; font-size: 1.2rem; font-weight: 500; line-height: 1.5; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 1rem 1.2rem; margin-top: 2.4rem; }
.cta-info { display: flex; flex-wrap: wrap; gap: .6rem 2.4rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 2px solid rgba(12, 15, 20, .85); }
.cta-info a, .cta-info span { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-label); font-size: .84rem; letter-spacing: .06em; }
.cta-info svg { width: 16px; height: 16px; }

/* ---------- FOOTER: carimbo de prancha ---------- */
.foot { background: var(--c-bg); padding: var(--space-lg) 0 var(--space-md); }
.stamp { display: grid; grid-template-columns: repeat(6, 1fr); border: 2px solid var(--c-accent); }
.stamp > div { padding: .9rem 1rem; border-right: 1px solid var(--line-accent); border-bottom: 1px solid var(--line-accent); min-width: 0; }
.stamp > div:nth-child(6n) { border-right: 0; }
.stamp .lbl { display: block; font-family: var(--font-label); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c-accent); margin-bottom: .25rem; }
.stamp .val { font-family: var(--font-label); font-size: .82rem; letter-spacing: .03em; color: var(--c-text); overflow-wrap: anywhere; }
.stamp .wide { grid-column: span 2; }
.stamp .brand { grid-column: span 3; display: flex; align-items: center; gap: .8rem; }
.stamp .brand svg { width: 28px; height: 28px; color: var(--c-accent); flex: none; }
.stamp .brand b { font-family: var(--font-display); font-weight: 400; font-size: 2rem; letter-spacing: .08em; line-height: 1; }
.stamp .links { grid-column: span 3; display: flex; gap: 1.6rem; align-items: center; }
.stamp .links a { font-family: var(--font-label); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .5rem; color: var(--c-text); }
.stamp .links a:hover { color: var(--c-accent); }
.stamp .links svg { width: 16px; height: 16px; }
.stamp > div.b-last { border-bottom: 0; }
.foot-note { margin-top: 1.4rem; color: var(--c-muted); font-size: .8rem; font-family: var(--font-label); letter-spacing: .06em; }
@media (max-width: 860px) {
  .stamp { grid-template-columns: 1fr 1fr; }
  .stamp > div, .stamp > div:nth-child(6n) { border-right: 1px solid var(--line-accent); }
  .stamp > div:nth-child(2n) { border-right: 0; }
  .stamp .brand, .stamp .links, .stamp .wide { grid-column: span 2; border-right: 0; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 54px; height: 54px; display: grid; place-items: center;
  background: var(--c-accent); color: #0C0F14; border: 2px solid #0C0F14; box-shadow: 4px 4px 0 rgba(0, 0, 0, .5);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wa-fab:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(0, 0, 0, .5); }
.wa-fab svg { width: 26px; height: 26px; }

/* ---------- revelação no scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s var(--ease); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="clip"].in { clip-path: inset(0 0 0 0); }
.js [data-reveal][data-d="1"] { transition-delay: .08s; }
.js [data-reveal][data-d="2"] { transition-delay: .16s; }
.js [data-reveal][data-d="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: none; transition: none; }
  .js .hero-title .ln > span, .js .hero-in { animation: none; transform: none; opacity: 1; }
  .js .hero-diagram .d { animation: none; stroke-dashoffset: 0; }
  .js .hero-diagram text, .js .hero-diagram .pulse { animation: none; opacity: 1; }
  .proc::after { transition: none; }
  * { scroll-behavior: auto !important; }
}
