/*
  Starta Contabilidade — Home (hi-fi)
  Dark editorial · CSS vars · mobile-first · respeita prefers-reduced-motion
  Cards opacos com profundidade · magenta como acento cirúrgico
*/

:root {
  /* Cores — briefing v3 (refinado 2026-04-28, D-020) */
  --bg-starta: #08080A; /* Ink Black, era #070709 */
  --surface-1: #101015;
  --surface-2: #17171d;
  --surface-3: #1e1e25;
  --ink-0: #F2F2F0;     /* Bone White, evita branco-morto (D-020) */
  --ink-pure: #ffffff;
  --ink-100: #d7d9df;
  --ink-300: #9ba1ac;
  --ink-500: #6b7180;
  --line: rgba(242, 242, 240, 0.10);
  --line-strong: rgba(242, 242, 240, 0.18);
  --brand: #E80073;
  --brand-700: #ab0055;
  --brand-glow: rgba(232, 0, 115, 0.18);

  /* Tipografia */
  --font-heading: "Alexandria", "Inter", system-ui, sans-serif;
  --font-body: "Montserrat", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Motion */
  --ease: cubic-bezier(0.2, 0, 0.2, 1);
  --dur-1: 220ms;
  --dur-2: 320ms;
  --dur-3: 600ms;

  /* Layout */
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-starta);
  color: var(--ink-100);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* ───────────────────── GRAIN OVERLAY (D-020) ────────────────────
   SVG noise global, 3-4% opacidade, sobre toda a página.
*/
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}
@media (prefers-reduced-motion: reduce) {
  body::before { opacity: 0.025; }
}
/* (D-AWW-3) GRAIN OVERLAY segunda camada — 4.5%, numOctaves 3 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}
@media (prefers-reduced-motion: reduce) {
  body::after { opacity: 0.025; }
}

/* Skip link — visível apenas no foco (a11y) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 99999;
  padding: 12px 24px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.skip-link:focus { left: 0; }

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

::selection { background: var(--brand); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--ink-0);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

p { margin: 0; }

.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ───────────────────────────── HEADER ─────────────────────────── */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 0;
  background: linear-gradient(to bottom, rgba(7,7,9,0.85), rgba(7,7,9,0.55));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--line);
  background: rgba(7,7,9,0.92);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__logo {
  height: 28px;
  width: auto;
  display: block;
}

/* ────── Logo header SVG inline animado (D-017 / DEC-EXP-01) ──────
   Substitui o MP4 por SVG inline que anima na primeira carga
   (oneshot via sessionStorage). Strokes desenham, depois fill aparece.
*/
.header__logo-svg {
  height: 28px;
  width: auto;
  display: block;
  overflow: visible;
}
.header__logo-svg path {
  /* default state (after animation): filled, visible */
  opacity: 1;
}
/* Animation: only when class is-animating is present */
.header__logo-svg.is-animating .glyph-pink,
.header__logo-svg.is-animating .glyph-white {
  opacity: 0;
  animation: logoGlyphIn 700ms var(--ease) forwards;
}
.header__logo-svg.is-animating .glyph-pink { animation-delay: 80ms; }
.header__logo-svg.is-animating .glyph-white {
  animation-delay: 220ms;
}
.header__logo-svg.is-animating .glyph-w-1 { animation-delay: 240ms; }
.header__logo-svg.is-animating .glyph-w-2 { animation-delay: 300ms; }
.header__logo-svg.is-animating .glyph-w-3 { animation-delay: 360ms; }
.header__logo-svg.is-animating .glyph-w-4 { animation-delay: 420ms; }
.header__logo-svg.is-animating .glyph-w-5 { animation-delay: 480ms; }
.header__logo-svg.is-animating .glyph-w-6 { animation-delay: 540ms; }
@keyframes logoGlyphIn {
  0%   { opacity: 0; transform: translateY(8px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.header__logo-svg path { transform-origin: 50% 50%; }
@media (prefers-reduced-motion: reduce) {
  .header__logo-svg.is-animating .glyph-pink,
  .header__logo-svg.is-animating .glyph-white { opacity: 1; animation: none; }
}
.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-0);
  transition: all var(--dur-1) var(--ease);
}
.header__cta:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-1px);
}
.header__cta::before {
  content: "";
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-glow);
  transition: background var(--dur-1) var(--ease);
}
.header__cta:hover::before {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.18);
}
.header__menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-100);
  transition: all var(--dur-1) var(--ease);
}
.header__menu-btn:hover { border-color: var(--line-strong); color: var(--ink-0); }
.header__menu-btn .bars { display: inline-flex; flex-direction: column; gap: 3px; }
.header__menu-btn .bars span { width: 14px; height: 1.5px; background: currentColor; }

.header__actions { display: flex; align-items: center; gap: 12px; }

/* Off-canvas menu */
.offcanvas {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease);
}
.offcanvas[data-open="true"] { opacity: 1; pointer-events: auto; }
.offcanvas__scrim {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
}
.offcanvas__panel {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: min(440px, 92vw);
  background: var(--surface-1);
  border-left: 1px solid var(--line);
  padding: 28px var(--gutter);
  transform: translateX(100%);
  transition: transform var(--dur-3) var(--ease);
  display: flex; flex-direction: column;
}
.offcanvas[data-open="true"] .offcanvas__panel { transform: translateX(0); }
.offcanvas__close {
  align-self: flex-end;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-100);
}
.offcanvas__close:hover { border-color: var(--brand); color: var(--ink-0); }
.offcanvas__nav {
  margin-top: 36px;
  display: flex; flex-direction: column; gap: 4px;
}
.offcanvas__nav a {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 500;
  color: var(--ink-0);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--dur-1) var(--ease);
}
.offcanvas__nav a:hover { color: var(--brand); }
.offcanvas__nav a .num {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink-500);
  font-weight: 400;
}
.offcanvas__foot {
  margin-top: auto;
  padding-top: 28px;
  font-size: 12px;
  color: var(--ink-300);
}
.offcanvas__foot strong { color: var(--ink-0); display: block; font-weight: 500; }

/* ───────────────────────────── HERO (Direção A) ─────────────────── */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow-x: clip;
  overflow-y: visible;
}

/* Ghost mark gigante atrás do hero (D-022 / DEC-EXP-02)
   3% opacity, parallax 1-2° amarrado ao scroll, off em reduced-motion */
.hero__ghost {
  position: absolute;
  right: -18%;
  top: 50%;
  width: 78vw;
  max-width: 980px;
  aspect-ratio: 1 / 1;
  pointer-events: none;
  opacity: 0.055;
  z-index: 0;
  transform: translateY(-50%) rotate(var(--ghost-rot, 0deg));
  transition: transform 200ms linear;
  will-change: transform;
}
.hero__ghost svg, .hero__ghost img { width: 100%; height: 100%; display: block; }
.hero .shell { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero__ghost { transform: translateY(-50%) rotate(0deg) !important; }
}
@media (max-width: 960px) {
  .hero__ghost { right: -30%; opacity: 0.07; }
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
}
.hero__copy { display: flex; flex-direction: column; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em; /* D-023 / DEC-EXP-08 */
  text-transform: uppercase;
  color: var(--ink-300);
  margin-bottom: 28px;
}
.hero__eyebrow::before {
  content: "";
  width: 28px; height: 1px; background: var(--brand);
}
.hero__intro {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--ink-300);
  line-height: 1.25;
  margin-bottom: 14px;
}
.hero__h1 {
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-left: -0.03em;
}
.hero__h1 .accent { color: var(--brand); }
/* Highlight magenta sólido — 1× por página, no climax do hero (D-021) */
.hero__h1 .mark-magenta {
  background: var(--brand);
  color: #fff;
  padding: 0.04em 0.22em 0.14em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  border-radius: 2px;
}
.hero__h1 .stroke {
  position: relative;
  display: inline-block;
}
.hero__h1 .stroke::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 3px;
  background: var(--brand);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 900ms var(--ease) 400ms;
}
.is-animated .hero__h1 .stroke::after { transform: scaleX(1); }

.hero__lede {
  margin-top: 26px;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-100);
}

.hero__actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: all var(--dur-2) var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 0 var(--brand-glow), 0 16px 40px -16px var(--brand);
}
.btn--primary:hover {
  background: #ff1b85;
  transform: translateY(-2px);
  box-shadow: 0 0 0 8px var(--brand-glow), 0 22px 48px -16px var(--brand);
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink-0);
}
.btn--ghost:hover {
  border-color: var(--ink-0);
  background: rgba(255,255,255,0.04);
}
.btn .arrow { transition: transform var(--dur-2) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn .wa-glyph {
  width: 16px; height: 16px;
  display: inline-block;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  position: relative;
}
.btn .wa-glyph::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  border-bottom-left-radius: 6px;
}

.hero__meta {
  margin-top: 56px;
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-300);
}
.hero__meta strong { color: var(--ink-0); font-weight: 500; }
.hero__meta-sep {
  width: 1px; height: 16px; background: var(--line);
}

/* Hero photo */
.hero__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-1);
  border: 1px solid var(--line);
  min-height: 560px;
  isolation: isolate;
}
.hero__photo .placeholder {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, #18181d 0%, #0c0c10 100%);
}
.hero__photo .placeholder::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
}
.hero__photo .placeholder-label {
  position: absolute;
  bottom: 22px; left: 22px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-300);
}
.hero__photo .placeholder-label::before {
  content: "";
  display: inline-block;
  width: 18px; height: 1px;
  background: var(--brand);
  margin-right: 10px;
  vertical-align: middle;
}

.hero__photo .floating-card {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(16,16,20,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 320px;
}
.hero__photo .floating-card .pulse {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--brand);
  position: relative;
  flex: none;
}
.hero__photo .floating-card .pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.hero__photo .floating-card .label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-bottom: 2px;
}
.hero__photo .floating-card .place {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--ink-0);
}

.hero__photo .top-mark {
  position: absolute;
  top: 22px; right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7,7,9,0.6);
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-100);
}
.hero__photo .top-mark .star { color: var(--brand); }

/* ───────────────────────────── TRUST STRIP ─────────────────────── */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-1);
  padding: 22px 0;
}
.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
.trust__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust__k {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-0);
  letter-spacing: -0.01em;
}
.trust__k.brand { color: var(--brand); }
.trust__k .stars {
  display: inline-block;
  margin-right: 8px;
  font-size: 14px;
  color: var(--brand);
  vertical-align: 2px;
  letter-spacing: 0.08em;
}
.trust__v {
  font-size: 12px;
  color: var(--ink-300);
  letter-spacing: 0.04em;
}

/* ───────────────────────────── SECTION HEADER ──────────────────── */
.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}
.section--surface { background: var(--surface-1); }

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em; /* D-023 / DEC-EXP-08 — Alexandria 500, .22em */
  text-transform: uppercase;
  color: var(--ink-300);
  margin-bottom: 18px;
}
.section__eyebrow .num {
  color: var(--brand);
  font-family: var(--font-heading);
  font-size: 14px;
}
.section__title {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  max-width: 18ch;
}
.section__title .accent { color: var(--brand); }
.section__sub {
  font-size: 14px;
  color: var(--ink-300);
  max-width: 32ch;
  line-height: 1.55;
}

/* ───────────────── POR ONDE COMEÇAR (conversacional) ───────────── */
.start {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.start__opener {
  position: sticky;
  top: 110px;
}
.start__opener .lede {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400;
  color: var(--ink-300);
  line-height: 1.25;
  margin-bottom: 16px;
}
.start__opener .lede em {
  color: var(--ink-0);
  font-style: normal;
  font-weight: 500;
}
.start__opener .q {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink-0);
}
.start__opener .q .accent { color: var(--brand); }
.start__opener .footnote {
  margin-top: 26px;
  font-size: 13px;
  color: var(--ink-300);
  max-width: 36ch;
  line-height: 1.6;
}

.start__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.start__row {
  display: grid;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  grid-template-columns: 36px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
  cursor: pointer;
  position: relative;
}
.start__row::before {
  content: "";
  position: absolute;
  left: -16px; right: -16px;
  top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--brand-glow), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease);
  border-radius: 6px;
  z-index: -1;
}
.start__row:hover { padding-left: 16px; }
.start__row:hover::before { opacity: 1; }
.start__row:hover .start__q { color: var(--brand); }
.start__row:hover .start__arrow { color: var(--brand); transform: translateX(4px); }

.start__num {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--ink-500);
  letter-spacing: 0.05em;
}
.start__q {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  color: var(--ink-0);
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color var(--dur-2) var(--ease);
}
.start__arrow {
  font-size: 22px;
  color: var(--ink-500);
  transition: all var(--dur-2) var(--ease);
}

/* ───────────────────────────── SERVIÇOS ──────────────────────── */
.servicos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.serv-card {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}
.serv-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--brand), transparent 40%) border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease);
  pointer-events: none;
}
.serv-card:hover {
  transform: translateY(-4px);
  background: var(--surface-3);
  border-color: var(--line-strong);
}
.serv-card:hover::before { opacity: 1; }

.serv-card__num {
  font-family: var(--font-heading);
  font-size: 12px;
  color: var(--ink-500);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Ícones chunky-afiados (D-019 / DEC-EXP-05) — preenchidos magenta,
   ângulos agudos coerentes com o mark Starta. Veto a outline blueprint. */
.serv-card__icon {
  width: 44px; height: 44px;
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
}
.serv-card__icon svg {
  width: 100%; height: 100%;
  fill: var(--brand);
  stroke: none;
  transition: transform var(--dur-2) var(--ease), filter var(--dur-2) var(--ease);
}
.serv-card:hover .serv-card__icon svg {
  transform: translateY(-1px) rotate(-2deg);
  filter: drop-shadow(0 6px 14px rgba(232,0,115,0.35));
}
.serv-card__num {
  align-items: flex-start;
}
.serv-card__num > span:first-child {
  padding-top: 12px;
}

.serv-card__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink-0);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.serv-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-300);
  margin-bottom: 22px;
}
.serv-card__for {
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.serv-card__for-list {
  font-size: 13px;
  color: var(--ink-100);
  line-height: 1.5;
  margin-bottom: 24px;
}
.serv-card__cta {
  margin-top: auto;
  font-size: 13px;
  color: var(--ink-0);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.serv-card:hover .serv-card__cta { color: var(--brand); }
.serv-card__cta .arrow { transition: transform var(--dur-2) var(--ease); }
.serv-card:hover .serv-card__cta .arrow { transform: translateX(4px); }

/* ───────────────────────────── REVIEWS ────────────────────────── */
.reviews {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.reviews__score {
  position: sticky;
  top: 110px;
}
.reviews__big {
  font-family: var(--font-heading);
  font-size: clamp(80px, 10vw, 140px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink-0);
}
.reviews__big .comma { color: var(--brand); }
.reviews__stars {
  margin-top: 12px;
  font-size: 22px;
  color: var(--brand);
  letter-spacing: 0.12em;
}
.reviews__count {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-300);
}
.reviews__source {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-100);
  letter-spacing: 0.06em;
}
.reviews__source::before {
  content: "G";
  width: 22px; height: 22px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  display: inline-grid; place-items: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
}
.reviews__list { display: flex; flex-direction: column; gap: 14px; }
.review {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.review:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.review__quote {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.45;
  color: var(--ink-0);
  letter-spacing: -0.005em;
}
.review__quote::before {
  content: "“";
  position: absolute;
  top: 4px; left: 16px;
  font-family: var(--font-heading);
  font-size: 56px;
  color: var(--brand);
  line-height: 1;
}
.review__foot {
  margin-top: 22px;
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
  color: var(--ink-300);
}
.review__avatar {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2a2a32, #15151b);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--ink-100);
}
.review__name { color: var(--ink-0); font-weight: 500; }
.review__stars { color: var(--brand); margin-left: auto; font-size: 12px; letter-spacing: 0.1em; }

/* ───────────────────────────── QUEM CUIDA ─────────────────────── */
.qc__head { margin-bottom: clamp(40px, 6vw, 72px); }
.qc__head h2 { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.0; max-width: 18ch; }
.qc__head h2 .accent { color: var(--brand); }
.qc__head p {
  margin-top: 22px;
  font-size: 16px;
  color: var(--ink-100);
  max-width: 60ch;
  line-height: 1.6;
}
.qc__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.person {
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.person__photo {
  aspect-ratio: 4 / 5;
  position: relative;
  background: linear-gradient(155deg, #1a1a22 0%, #0a0a0e 100%);
  overflow: hidden;
}
.person__photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 50% 35%, rgba(255,255,255,0.06), transparent 70%),
    linear-gradient(180deg, transparent 60%, rgba(7,7,9,0.85));
  pointer-events: none;
  z-index: 1;
}
.person__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  z-index: 0;
}
.person__label {
  position: absolute;
  bottom: 16px; left: 18px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-300);
}
.person__label::before {
  content: ""; display: inline-block;
  width: 18px; height: 1px; background: var(--brand);
  margin-right: 10px; vertical-align: middle;
}
.person__body { padding: 28px; }
.person__name {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  color: var(--ink-0);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.person__creds {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 18px;
}
.cred {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-100);
}
.cred--brand {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(232,0,115,0.06);
}
.cred .dot { width: 4px; height: 4px; border-radius: 999px; background: currentColor; }

/* Quote de pessoa — borda magenta nos 4 lados (D-018 / DEC-EXP-03)
   Replica fielmente os anúncios oficiais 2 e 3. Voz Editorial. */
.person__quote {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-0);
  border: 1.5px solid var(--brand);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 0;
  letter-spacing: -0.005em;
  background: rgba(232, 0, 115, 0.04);
}

/* Callout inline curto — só borda esquerda 2px (D-018, segundo ritmo) */
.callout-inline {
  border-left: 2px solid var(--brand);
  padding: 4px 0 4px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-100);
  line-height: 1.6;
  margin: 0;
}
.person__bio {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-300);
  line-height: 1.6;
}

/* ───────────────────────────── PROCESSO ──────────────────────── */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process__step {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background var(--dur-2) var(--ease);
}
.process__step:last-child { border-right: none; }
.process__step:hover { background: var(--surface-2); }
.process__num {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--brand);
  font-weight: 400;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.process__num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.process__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-0);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.process__desc {
  font-size: 13px;
  color: var(--ink-300);
  line-height: 1.6;
}

/* ───────────────────────────── FAQ ──────────────────────── */
.faq {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.faq__list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 400;
  color: var(--ink-0);
  letter-spacing: -0.005em;
  transition: color var(--dur-1) var(--ease);
}
.faq__q:hover { color: var(--brand); }
.faq__plus {
  width: 28px; height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  position: relative;
  flex: none;
  transition: all var(--dur-2) var(--ease);
}
.faq__plus::before, .faq__plus::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.faq__plus::before { top: 50%; left: 8px; right: 8px; height: 1.5px; transform: translateY(-50%); }
.faq__plus::after { left: 50%; top: 8px; bottom: 8px; width: 1.5px; transform: translateX(-50%); transition: transform var(--dur-2) var(--ease); }
.faq__item[data-open="true"] .faq__plus { background: var(--brand); border-color: var(--brand); color: #fff; }
.faq__item[data-open="true"] .faq__plus::after { transform: translateX(-50%) scaleY(0); }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-3) var(--ease);
}
.faq__item[data-open="true"] .faq__a { max-height: 240px; }
.faq__a-inner {
  padding-bottom: 24px;
  font-size: 14px;
  color: var(--ink-100);
  line-height: 1.7;
  max-width: 60ch;
}

/* ───────────────────────────── CTA FINAL ─────────────────────── */
.cta-final {
  position: relative;
  text-align: center;
  padding: clamp(80px, 12vw, 140px) 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
/* Ghost mark no CTA final (D-022 / DEC-EXP-02) */
.cta-final__ghost {
  position: absolute;
  left: 50%; top: 50%;
  width: 90vw;
  max-width: 1100px;
  aspect-ratio: 1 / 1;
  pointer-events: none;
  opacity: 0.05;
  transform: translate(-50%, -50%) rotate(var(--ghost-rot-2, 0deg));
  transition: transform 200ms linear;
  will-change: transform;
}
.cta-final__ghost img, .cta-final__ghost svg { width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) {
  .cta-final__ghost { transform: translate(-50%, -50%) rotate(0deg) !important; }
}

.cta-final__inner { position: relative; z-index: 1; }
.cta-final__eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-bottom: 24px;
}
.cta-final h2 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.0;
  font-weight: 500;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin: 0 auto;
}
.cta-final h2 .accent { color: var(--brand); }
.cta-final__sub {
  margin-top: 24px;
  color: var(--ink-100);
  font-size: 16px;
  line-height: 1.5;
}
.cta-final__sub strong { color: var(--ink-0); font-weight: 500; }
.cta-final__btn { margin-top: 44px; }

/* ───────────────────────────── FOOTER ─────────────────────────── */
/* Footer (D-010 / DEC-EXP-06) — Logo Prata + borda topo magenta 1px */
.footer {
  background: #050507;
  padding: 64px 0 28px;
  border-top: 1px solid var(--brand); /* magenta 1px conecta cromaticamente */
  font-size: 13px;
  color: var(--ink-300);
  line-height: 1.7;
}
.footer__brand img {
  height: 32px;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.08));
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer__brand img { height: 24px; margin-bottom: 16px; }
.footer__brand p { max-width: 32ch; }
.footer__col h3 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-0);
  margin-bottom: 14px;
}
.footer__col a { display: block; padding: 4px 0; transition: color var(--dur-1) var(--ease); }
.footer__col a:hover { color: var(--brand); }
.footer__bot {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: 0.06em;
}

/* ───────────────────────────── REVEAL ANIMATION ───────────────── */
/* D-039: substituído transition por @keyframes pra eliminar bug de stuck-baseline.
   transition exige que o browser pinte opacity:0 ANTES de mudar pra 1, senão a
   animação congela em 0 (vide RELATORIO-FORENSE-BPO §6, D-038). Animation não
   tem essa dependência — toca os keyframes incondicionalmente quando .in entra. */
@keyframes revealIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes revealInStagger {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
}
.reveal.in {
  animation: revealIn 700ms var(--ease) forwards;
}
.reveal--stagger > * {
  opacity: 0;
  transform: translateY(18px);
}
.reveal--stagger.in > * {
  animation: revealInStagger 600ms var(--ease) forwards;
}
.reveal--stagger.in > *:nth-child(1) { animation-delay: 0ms; }
.reveal--stagger.in > *:nth-child(2) { animation-delay: 80ms; }
.reveal--stagger.in > *:nth-child(3) { animation-delay: 160ms; }
.reveal--stagger.in > *:nth-child(4) { animation-delay: 240ms; }
.reveal--stagger.in > *:nth-child(5) { animation-delay: 320ms; }
.reveal--stagger.in > *:nth-child(6) { animation-delay: 400ms; }

/* Sticky WhatsApp button (mobile-friendly) */
.float-cta {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 40;
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 12px 30px -8px var(--brand);
  transition: transform var(--dur-2) var(--ease);
}
.float-cta:hover { transform: scale(1.05); }
.float-cta svg { width: 26px; height: 26px; fill: #fff; }

/* ───────────────────────────── RESPONSIVE ─────────────────────── */
@media (max-width: 960px) {
  .hero { padding-top: 120px; padding-bottom: 60px; }
  .hero__h1 { font-size: clamp(44px, 11vw, 80px); line-height: 0.96; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__photo { min-height: 380px; }
  .trust__inner { grid-template-columns: 1fr 1fr; gap: 18px; }
  .servicos { grid-template-columns: 1fr 1fr; }
  .section__head { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .section__title { max-width: 22ch; }
  .start { grid-template-columns: 1fr; }
  .start__opener { position: static; }
  .reviews { grid-template-columns: 1fr; }
  .reviews__score { position: static; }
  .qc__pair { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .process__step { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .process__step:nth-child(2n) { border-right: none; }
  .faq { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .servicos { grid-template-columns: 1fr; }
  .trust__inner { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; }
  .process__step { border-right: none; }
  .footer__top { grid-template-columns: 1fr; }
  .header__cta span { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__h1 .stroke::after { transform: scaleX(1) !important; }
}

/* MONO DNA — metadata, números, índices, timestamps */
.hero__eyebrow,
.hero__meta,
.trust__v,
.section__eyebrow,
.section__eyebrow .num,
.start__num,
.serv-card__num,
.serv-card__for,
.reviews__source,
.review__foot,
.qc__pair .cred,
.cta-final__eyebrow,
.footer__col h3,
.footer__bot,
.meta-bar {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1, "ss01" 1;
}

.hero__eyebrow,
.section__eyebrow,
.cta-final__eyebrow {
  letter-spacing: 0.14em;
  font-weight: 500;
}

.meta-bar {
  position: relative;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 8px 24px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.meta-bar span:nth-child(2) { color: var(--brand); }
