/* ============================================================
   JuridicScribe — Landing
   Aesthetic: Yale Law Review × Mercury Bank × Stripe.
   Editorial-fiduciary. Light parchment, deep navy, gold as
   scalpel. Serif display (Newsreader) over sans body (Inter)
   with IBM Plex Mono for legal references.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;0,6..72,700;1,6..72,400;1,6..72,500;1,6..72,600&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --bg-base:        #FFFFFF;
  --bg-surface:     #F7F5F0;   /* pergaminho */
  --bg-dark:        #0E1A2B;
  --accent-navy:    #1B3A5F;
  --accent-navy-2:  #2A4F7A;   /* navy mais claro p/ MP vs juiz */
  --accent-gold:    #B8924A;
  --accent-gold-2:  #E2C58A;
  --text-primary:   #1A1F2E;
  --text-muted:     #5B6675;
  --text-faint:     #8A93A2;
  --border:         #E5E0D8;
  --border-strong:  #D6CFC0;
  --success:        #2E7D5B;
  --warn:           #B07A29;
  --error:          #A23A2E;

  --font-display:   'Newsreader', 'Source Serif 4', Georgia, serif;
  --font-body:      'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:      'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --max: 1180px;

  --shadow-sm: 0 1px 0 rgba(14, 26, 43, 0.04), 0 1px 2px rgba(14, 26, 43, 0.05);
  --shadow-md: 0 1px 0 rgba(14, 26, 43, 0.04), 0 8px 24px -8px rgba(14, 26, 43, 0.10);
  --shadow-lg: 0 1px 0 rgba(14, 26, 43, 0.04), 0 30px 60px -24px rgba(14, 26, 43, 0.18);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  font-feature-settings: "ss01", "cv02", "cv03", "cv04", "cv11";
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
code, .mono { font-family: var(--font-mono); font-size: 0.85em; letter-spacing: -0.01em; }

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

/* ── Layout helpers ─────────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
section { position: relative; }
.section-pad { padding: 120px 0; }
.alt { background: var(--bg-surface); }
.alt::before, .alt::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: var(--border);
}
.alt::before { top: 0; }
.alt::after { bottom: 0; }

/* serif italic emphasis is THE signature */
em { font-style: italic; font-family: var(--font-display); font-weight: 500; color: var(--accent-navy); }

/* monospace for legal refs */
code {
  background: rgba(184, 146, 74, 0.08);
  color: var(--accent-navy);
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 500;
}

/* gold accent on the i — the signature mark */
.i-accent {
  position: relative;
  color: inherit;
}
.i-accent::after {
  content: "";
  position: absolute;
  top: 0.07em;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 0 2px var(--bg-base);
}
/* In display/serif headlines, the dot is slightly larger */
.display .i-accent::after { top: 0.05em; width: 9px; height: 9px; }

/* ── Reveal ─────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ────────── TOPBAR ────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--accent-navy);
}
.brand-mark { display: inline-flex; }
.brand-word { line-height: 1; }

.nav-links {
  display: flex; gap: 32px; align-items: center; justify-content: center;
  font-size: 14.5px; font-weight: 500;
  color: var(--text-muted);
}
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--accent-navy); }
.nav-links a.nav-login {
  border-left: 1px solid var(--border);
  padding-left: 32px;
  color: var(--text-primary);
}
.nav-cta { display: flex; align-items: center; }

/* ────────── BUTTONS ────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14.5px; font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-primary {
  background: var(--accent-navy);
  color: #fff;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(255,255,255,0.06);
}
.btn-primary:hover {
  background: var(--bg-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.btn-ghost {
  background: transparent;
  color: var(--accent-navy);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--accent-navy);
  background: rgba(27, 58, 95, 0.03);
}

/* ────────── HERO ────────── */
.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 88% 14%, rgba(184, 146, 74, 0.06) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 4% 100%, rgba(27, 58, 95, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-navy);
  margin-bottom: 28px;
}
.eyebrow-rule {
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--accent-gold);
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--bg-dark);
  margin-bottom: 28px;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.display .num-accent {
  color: var(--accent-gold);
  font-style: italic;
  font-weight: 600;
}

.lede {
  font-size: 18.5px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 36px;
}

.cta-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 20px;
}

.micro {
  font-size: 13.5px;
  color: var(--text-faint);
}

/* ── Hero visual: transcript card ── */
.hero-visual {
  position: relative;
  min-height: 520px;
}
.transcript-card {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.transcript-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(247, 245, 240, 0.6), transparent);
}
.t-meta { display: flex; flex-direction: column; gap: 3px; }
.t-doc {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.t-doc code {
  background: transparent;
  padding: 0;
  color: var(--accent-navy);
  font-weight: 500;
}
.t-stage {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  font-style: italic;
}
.t-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid;
}
.t-badge-lgpd {
  color: var(--success);
  border-color: rgba(46, 125, 91, 0.30);
  background: rgba(46, 125, 91, 0.06);
}

.transcript-body {
  padding: 8px 0;
  background: var(--bg-base);
}
.t-line {
  display: grid;
  grid-template-columns: 64px 86px 1fr;
  gap: 14px;
  padding: 11px 20px;
  border-left: 2px solid transparent;
  font-size: 14px;
  line-height: 1.5;
  transition: background .25s ease;
}
.t-line + .t-line { border-top: 1px dashed var(--border); }
.t-ts {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  padding-top: 3px;
  letter-spacing: 0.02em;
}
.t-who {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 3px;
}
.t-text {
  color: var(--text-primary);
}
.t-text .t-gloss {
  background: rgba(184, 146, 74, 0.14);
  color: var(--accent-gold);
  padding: 1px 4px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.t-text .t-cite {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-navy);
  border-bottom: 1px dotted var(--accent-gold);
  padding-bottom: 1px;
}

/* Speaker color coding — subtle, left rule + label tint */
.t-juiz { border-left-color: var(--accent-navy); }
.t-juiz .t-who { color: var(--accent-navy); }
.t-mp { border-left-color: var(--accent-navy-2); }
.t-mp .t-who { color: var(--accent-navy-2); }
.t-adv { border-left-color: var(--accent-gold); }
.t-adv .t-who { color: var(--accent-gold); }
.t-test { border-left-color: var(--text-faint); }
.t-test .t-who { color: var(--text-muted); }

.t-line.typing .caret {
  display: inline-block;
  width: 1px;
  height: 1em;
  background: var(--accent-navy);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: caret-blink 1.05s steps(2) infinite;
}
@keyframes caret-blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

.transcript-foot {
  display: flex; align-items: center; gap: 0;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}
.t-stat {
  display: flex; flex-direction: column; gap: 1px;
  padding-right: 20px;
}
.t-stat-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-navy);
  letter-spacing: -0.01em;
}
.t-stat-lab {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.t-stat-divider {
  width: 1px; height: 24px;
  background: var(--border);
  margin-right: 20px;
}
.t-export {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent-navy);
  background: var(--accent-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}
.t-export code {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* sidecars */
.sidecar {
  position: absolute;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-md);
  font-size: 12px;
  z-index: 3;
}
.sidecar-h {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: inline-flex; align-items: center; gap: 8px;
}
.sidecar ul, .sidecar ol {
  display: flex; flex-direction: column; gap: 7px;
}
.sidecar li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  font-size: 12.5px;
}
.sidecar li span:first-child { color: var(--text-primary); font-weight: 500; }
.sidecar li code {
  background: transparent;
  padding: 0;
  color: var(--text-faint);
  font-size: 11px;
  letter-spacing: 0.01em;
}
.sidecar ol li { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); }
.sidecar ol li code { font-family: var(--font-mono); color: var(--accent-navy); font-weight: 500; }
.sidecar-gloss {
  top: -28px;
  right: -36px;
  width: 220px;
  transform: rotate(2.4deg);
  animation: float-a 8s ease-in-out infinite;
}
.sidecar-audit {
  bottom: 12px;
  left: -52px;
  width: 240px;
  transform: rotate(-2deg);
  animation: float-b 9s ease-in-out infinite;
}
@keyframes float-a { 0%, 100% { transform: rotate(2.4deg) translateY(0); } 50% { transform: rotate(2.4deg) translateY(-6px); } }
@keyframes float-b { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(5px); } }

.dot-live {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(46, 125, 91, 0.18);
  display: inline-block;
  animation: pulse-live 2.2s ease-in-out infinite;
}
@keyframes pulse-live { 0%, 100% { box-shadow: 0 0 0 3px rgba(46, 125, 91, 0.18); } 50% { box-shadow: 0 0 0 6px rgba(46, 125, 91, 0.06); } }

/* ────────── TRUST STRIP ────────── */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
  background: var(--bg-surface);
  position: relative;
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.trust-block {
  display: flex; gap: 16px; align-items: flex-start;
}
.trust-icon {
  flex-shrink: 0;
  display: inline-flex;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  color: var(--accent-navy);
}
.trust-icon svg { width: 20px; height: 20px; }
.trust-text h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--bg-dark);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.trust-text p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.trust-badges {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px dashed var(--border-strong);
}
.legal-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-base);
}
.legal-chip code {
  background: transparent;
  padding: 0;
  color: var(--accent-navy);
}

/* ────────── SECTION HEADS ────────── */
.section-head {
  margin-bottom: 64px;
  max-width: 760px;
}
.section-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.tag-num {
  color: var(--accent-gold);
  font-weight: 500;
}
.tag-rule {
  width: 24px; height: 1px; background: var(--accent-gold);
}
.tag-lab { color: var(--text-muted); }

.h-section {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--bg-dark);
  text-wrap: balance;
  font-optical-sizing: auto;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-top: 18px;
  max-width: 620px;
}

/* ────────── HOW ────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
.step {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-gold);
  letter-spacing: 0.16em;
  margin-bottom: 20px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.012em;
  color: var(--bg-dark);
}
.step p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.55;
}
.step-vis {
  border-top: 1px dashed var(--border);
  padding-top: 22px;
  min-height: 110px;
}

.upload-box {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 4px 12px;
  align-items: center;
}
.upload-icon {
  grid-row: 1 / 3;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--accent-navy);
}
.upload-meta strong {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  display: block;
}
.upload-meta span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
}
.upload-bar {
  grid-column: 1 / 3;
  margin-top: 8px;
  height: 4px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.upload-bar span {
  display: block;
  height: 100%;
  width: 78%;
  background: var(--accent-navy);
  border-radius: 999px;
  animation: bar-fill 3.4s ease-in-out infinite;
}
@keyframes bar-fill { 0% { width: 8%; } 60%, 100% { width: 92%; } }

.proc-row {
  display: grid;
  grid-template-columns: 12px 70px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}
.proc-dot { width: 8px; height: 8px; border-radius: 50%; }
.proc-dot-juiz { background: var(--accent-navy); }
.proc-dot-mp { background: var(--accent-navy-2); }
.proc-dot-adv { background: var(--accent-gold); }
.proc-dot-test { background: var(--text-faint); }
.proc-bar {
  height: 6px; background: var(--border); border-radius: 999px; overflow: hidden;
}
.proc-bar span {
  display: block; height: 100%;
  background: var(--accent-navy);
  border-radius: 999px;
  animation: bar-grow 2.6s var(--ease) infinite alternate;
}
.proc-dot-juiz ~ .proc-bar span { background: var(--accent-navy); }
.proc-row:nth-child(2) .proc-bar span { background: var(--accent-navy-2); animation-delay: .2s; }
.proc-row:nth-child(3) .proc-bar span { background: var(--accent-gold); animation-delay: .4s; }
.proc-row:nth-child(4) .proc-bar span { background: var(--text-faint); animation-delay: .6s; }
@keyframes bar-grow {
  0% { transform: scaleX(0.6); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

.step-vis-export {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.export-chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 11px;
}
.export-chip code {
  background: transparent;
  padding: 0;
  color: var(--accent-navy);
}

/* ────────── FEATURES ────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feature-wide {
  grid-column: span 2;
  grid-row: span 2;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 28px;
}
.feature-copy { display: flex; flex-direction: column; }
.feature-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-gold);
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--bg-dark);
  letter-spacing: -0.012em;
}
.feature-wide h3 { font-size: 28px; }
.feature p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}
.feature-bullets {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.feature-bullets li {
  position: relative;
  padding-left: 22px;
}
.feature-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 12px; height: 1px;
  background: var(--accent-gold);
}
.feature-bullets strong { color: var(--accent-navy); font-weight: 600; }

.feature-vis {
  margin-top: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
  min-height: 140px;
  display: flex; flex-direction: column; justify-content: center;
}

/* Feature 1 — Diarization waveform */
.feature-vis-diar {
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px 24px;
  min-height: 220px;
}
.diar-line {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
}
.diar-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.diar-juiz .diar-tag { color: var(--accent-navy); }
.diar-mp .diar-tag { color: var(--accent-navy-2); }
.diar-adv .diar-tag { color: var(--accent-gold); }
.diar-test .diar-tag { color: var(--text-faint); }
.diar-bars {
  display: flex; gap: 4px; align-items: flex-end;
  height: 26px;
}
.diar-bars span {
  display: block;
  width: 12px;
  border-radius: 2px;
  background: var(--accent-navy);
  animation: diar-pulse 1.8s ease-in-out infinite alternate;
}
.diar-juiz .diar-bars span { background: var(--accent-navy); height: 80%; }
.diar-juiz .diar-bars span:nth-child(2) { height: 50%; animation-delay: .1s; }
.diar-juiz .diar-bars span:nth-child(3) { height: 95%; animation-delay: .2s; }
.diar-juiz .diar-bars span:nth-child(4) { height: 65%; animation-delay: .3s; }
.diar-juiz .diar-bars span:nth-child(5) { height: 85%; animation-delay: .4s; }
.diar-juiz .diar-bars span:nth-child(6) { height: 40%; animation-delay: .5s; }
.diar-juiz .diar-bars span:nth-child(7) { height: 70%; animation-delay: .6s; }
.diar-juiz .diar-bars span:nth-child(8) { height: 90%; animation-delay: .7s; }
.diar-juiz .diar-bars span:nth-child(9) { height: 55%; animation-delay: .8s; }
.diar-juiz .diar-bars span:nth-child(10) { height: 75%; animation-delay: .9s; }
.diar-mp .diar-bars span { background: var(--accent-navy-2); }
.diar-mp .diar-bars span:nth-child(1) { height: 60%; }
.diar-mp .diar-bars span:nth-child(2) { height: 78%; animation-delay: .15s; }
.diar-mp .diar-bars span:nth-child(3) { height: 45%; animation-delay: .3s; }
.diar-mp .diar-bars span:nth-child(4) { height: 92%; animation-delay: .45s; }
.diar-mp .diar-bars span:nth-child(5) { height: 55%; animation-delay: .6s; }
.diar-mp .diar-bars span:nth-child(6) { height: 70%; animation-delay: .75s; }
.diar-adv .diar-bars span { background: var(--accent-gold); }
.diar-adv .diar-bars span:nth-child(1) { height: 70%; animation-delay: .05s; }
.diar-adv .diar-bars span:nth-child(2) { height: 85%; animation-delay: .2s; }
.diar-adv .diar-bars span:nth-child(3) { height: 50%; animation-delay: .35s; }
.diar-adv .diar-bars span:nth-child(4) { height: 95%; animation-delay: .5s; }
.diar-adv .diar-bars span:nth-child(5) { height: 60%; animation-delay: .65s; }
.diar-adv .diar-bars span:nth-child(6) { height: 78%; animation-delay: .8s; }
.diar-adv .diar-bars span:nth-child(7) { height: 42%; animation-delay: .95s; }
.diar-adv .diar-bars span:nth-child(8) { height: 88%; animation-delay: 1.1s; }
.diar-test .diar-bars span { background: var(--text-faint); }
.diar-test .diar-bars span:nth-child(1) { height: 50%; animation-delay: .1s; }
.diar-test .diar-bars span:nth-child(2) { height: 68%; animation-delay: .25s; }
.diar-test .diar-bars span:nth-child(3) { height: 38%; animation-delay: .4s; }
.diar-test .diar-bars span:nth-child(4) { height: 75%; animation-delay: .55s; }
.diar-test .diar-bars span:nth-child(5) { height: 60%; animation-delay: .7s; }
@keyframes diar-pulse { 0% { opacity: 0.5; } 100% { opacity: 1; } }
.diar-ruler {
  display: flex; justify-content: space-between;
  margin-top: 6px; padding-top: 10px;
  border-top: 1px dashed var(--border-strong);
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}

/* Feature 2 — OCR */
.feature-vis-ocr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
}
.ocr-paper {
  background: #F2EDDF;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 11px, rgba(14, 26, 43, 0.04) 11px, rgba(14, 26, 43, 0.04) 12px);
  border-radius: 6px;
  padding: 16px 12px;
  position: relative;
  overflow: hidden;
  min-height: 140px;
  border: 1px solid #E0D7C0;
}
.ocr-stamp {
  position: absolute;
  top: 8px; right: 8px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--error);
  border: 1.5px solid var(--error);
  padding: 4px 6px;
  border-radius: 3px;
  transform: rotate(-8deg);
  opacity: 0.65;
  text-align: center;
  line-height: 1.3;
}
.ocr-stamp code { background: transparent; padding: 0; color: var(--error); font-size: 7.5px; }
.ocr-line {
  height: 4px;
  background: rgba(14, 26, 43, 0.32);
  border-radius: 2px;
  margin-bottom: 7px;
  filter: blur(0.3px);
}
.ocr-line.short { width: 60%; }
.ocr-scan {
  position: absolute; left: 0; right: 0;
  height: 24px;
  background: linear-gradient(180deg, transparent, rgba(184, 146, 74, 0.30), transparent);
  animation: ocr-scan 3.2s ease-in-out infinite;
}
@keyframes ocr-scan { 0% { top: -20px; } 100% { top: 100%; } }

.ocr-output {
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding-left: 4px;
}
.ocr-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--success);
}
.ocr-output p {
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--text-primary);
  line-height: 1.45;
  margin: 0;
}
.ocr-output code {
  font-size: 11px;
  background: rgba(46, 125, 91, 0.10);
  color: var(--success);
}

/* Feature 3 — Glossary */
.feature-vis-gloss {
  gap: 10px;
  display: flex; flex-direction: column;
  padding: 18px;
}
.gloss-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
}
.gloss-wrong {
  color: var(--text-faint);
  text-decoration: line-through;
  text-decoration-color: var(--error);
  text-decoration-thickness: 1px;
  text-align: right;
}
.gloss-row svg { color: var(--accent-gold); }
.gloss-right {
  color: var(--accent-navy);
  font-weight: 500;
}

/* Feature 4 — Summary */
.feature-vis-summary {
  padding: 18px 20px;
}
.summary-list {
  display: flex; flex-direction: column; gap: 8px;
  counter-reset: sum;
}
.summary-list li {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: baseline;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  counter-increment: sum;
}
.summary-list li code {
  background: transparent;
  padding: 0;
  color: var(--accent-gold);
  font-size: 11px;
}

/* Feature 5 — ABNT */
.feature-vis-abnt {
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
}
.abnt-page {
  width: 110px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  padding: 14px 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
}
.abnt-line {
  height: 3px;
  background: var(--text-faint);
  border-radius: 1px;
  opacity: 0.5;
}
.abnt-line.short { width: 65%; }
.abnt-line.abnt-title {
  background: var(--accent-navy);
  opacity: 1;
  width: 70%;
  height: 4px;
  margin-bottom: 4px;
}
.abnt-margins {
  position: absolute;
  inset: 4px;
  pointer-events: none;
  border: 1px dashed rgba(184, 146, 74, 0.40);
  border-radius: 1px;
}
.abnt-margins span {
  display: none;
}

/* ────────── COMPARE ────────── */
.compare-wrap {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-base);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.compare-table th, .compare-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.compare-table thead th {
  background: var(--bg-surface);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--bg-dark);
  border-bottom: 1px solid var(--border-strong);
}
.compare-table thead th.col-us {
  color: var(--accent-navy);
  background: var(--bg-base);
  position: relative;
}
.compare-table thead th.col-us::after {
  content: "";
  position: absolute;
  left: 22px; right: 22px; bottom: -1px;
  height: 2px;
  background: var(--accent-gold);
}
.compare-table tbody th {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 14px;
  width: 28%;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(247, 245, 240, 0.5); }
.compare-table td.col-us {
  background: rgba(184, 146, 74, 0.025);
  color: var(--accent-navy);
  font-weight: 500;
}
.compare-table .em {
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  font-weight: 600;
}
.compare-table .em strong { font-style: normal; color: var(--accent-gold); font-weight: 700; }
.cell-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-faint);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.ok, .warn, .no {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px;
}
.ok::before, .warn::before, .no::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.ok { color: var(--success); }
.ok::before { background: var(--success); box-shadow: 0 0 0 2px rgba(46, 125, 91, 0.18); }
.warn { color: var(--warn); }
.warn::before { background: var(--warn); }
.no { color: var(--text-faint); }
.no::before { background: var(--text-faint); opacity: 0.4; }

.compare-footnote {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--text-faint);
  font-style: italic;
  font-family: var(--font-display);
}

/* ────────── PRICING ────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.plan {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 26px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-featured {
  background: var(--bg-dark);
  color: #fff;
  border-color: var(--bg-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}
.plan-featured:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); }
.plan-featured h3, .plan-featured .plan-tier { color: #fff; }
.plan-featured .plan-sub { color: rgba(255, 255, 255, 0.6); }
.plan-featured .plan-features { color: rgba(255, 255, 255, 0.78); }
.plan-featured .plan-features li::before { background: var(--accent-gold); }
.plan-featured .plan-note { color: rgba(255, 255, 255, 0.45); }
.plan-featured .currency { color: var(--accent-gold); }
.plan-featured .amount { color: #fff; }
.plan-featured .per { color: rgba(255, 255, 255, 0.55); }
.plan-featured code { background: rgba(184, 146, 74, 0.18); color: var(--accent-gold-2); }

.plan-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gold);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 4px 12px -2px rgba(184, 146, 74, 0.50);
}

.plan-tier {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--bg-dark);
  letter-spacing: -0.012em;
}
.plan-sub {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 2px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-style: italic;
}
.plan-price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 6px;
  margin-top: 8px;
}
.currency {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent-gold);
  font-weight: 600;
  align-self: flex-start;
  padding-top: 8px;
}
.amount {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--bg-dark);
  line-height: 1;
}
.per {
  font-size: 14px;
  color: var(--text-muted);
}
.plan-note {
  font-size: 12.5px;
  color: var(--text-faint);
  margin-bottom: 26px;
  font-family: var(--font-mono);
}
.plan-features {
  display: flex; flex-direction: column; gap: 11px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  flex-grow: 1;
}
.plan-features li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 12px; height: 1px;
  background: var(--accent-gold);
}
.plan-features code {
  font-size: 11.5px;
  background: rgba(184, 146, 74, 0.10);
}
.plan-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--accent-navy);
  font-size: 14px;
  font-weight: 500;
  transition: all .2s ease;
}
.plan-cta:hover {
  border-color: var(--accent-navy);
  background: rgba(27, 58, 95, 0.04);
}
.plan-cta-primary {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #fff;
}
.plan-cta-primary:hover {
  background: #A47F38;
  border-color: #A47F38;
  color: #fff;
}
.plan-featured .plan-cta {
  border-color: rgba(255, 255, 255, 0.20);
  color: #fff;
}
.plan-featured .plan-cta-primary {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #fff;
}

/* ────────── CASES ────────── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  display: flex; flex-direction: column;
}
.case::before {
  content: "“";
  position: absolute;
  top: 12px; right: 24px;
  font-family: var(--font-display);
  font-size: 90px;
  line-height: 1;
  color: var(--accent-gold);
  opacity: 0.20;
  font-style: italic;
}
.case blockquote {
  font-family: var(--font-display);
  font-size: 17.5px;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-weight: 400;
}
.case blockquote strong { color: var(--accent-gold); font-weight: 600; font-style: italic; }

.case-stat {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 0;
  margin-bottom: 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.case-stat-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: -0.01em;
}
.case-stat-lab {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case figcaption {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
}
.case-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent-navy);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.case-who { display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.case-who strong {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
}
.case-who span {
  font-size: 12.5px;
  color: var(--text-muted);
}
.case-who .case-loc {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

/* ────────── LGPD ────────── */
.lgpd-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.lgpd-head .h-section { font-size: clamp(28px, 3.5vw, 42px); }
.lgpd-cta { margin-top: 28px; }

.lgpd-spec {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 8px 0;
  box-shadow: var(--shadow-sm);
}
.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
}
.spec-row:last-child { border-bottom: none; }
.spec-row dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-navy);
  padding-top: 2px;
}
.spec-aside {
  font-family: var(--font-body);
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  display: block;
  margin-top: 2px;
}
.spec-row dd {
  font-size: 14.5px;
  color: var(--text-primary);
  line-height: 1.55;
}
.spec-row dd a { color: var(--accent-navy); text-decoration: underline; text-decoration-color: var(--accent-gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.spec-row dd a:hover { color: var(--accent-gold); }

/* ────────── FAQ ────────── */
.faq-list {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  transition: background .25s ease;
}
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 4px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--bg-dark);
  letter-spacing: -0.008em;
  list-style: none;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary code {
  background: rgba(184, 146, 74, 0.08);
  font-size: 0.78em;
}
.faq-item summary:hover { color: var(--accent-navy); }
.faq-icon {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--accent-navy);
  flex-shrink: 0;
  transition: transform .25s ease, background .2s ease;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-navy);
  color: #fff;
  border-color: var(--accent-navy);
}
.faq-body {
  padding: 0 4px 28px;
  max-width: 760px;
}
.faq-body p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-muted);
}
.faq-body p + p { margin-top: 12px; }
.faq-body strong { color: var(--accent-navy); font-weight: 600; }
.faq-body a { color: var(--accent-navy); text-decoration: underline; text-decoration-color: var(--accent-gold); text-underline-offset: 3px; }
.kbd {
  font-family: var(--font-mono);
  font-size: 11.5px;
  background: rgba(176, 122, 41, 0.12);
  color: var(--warn);
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid rgba(176, 122, 41, 0.30);
}

/* ────────── CTA FINAL ────────── */
.cta-final {
  padding: 100px 0 120px;
  background: var(--bg-base);
}
.cta-card {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(184, 146, 74, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(27, 58, 95, 0.30) 0%, transparent 55%);
  pointer-events: none;
}
.cta-rule {
  width: 48px; height: 2px;
  background: var(--accent-gold);
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
}
.cta-card h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  text-wrap: balance;
}
.cta-card h2 em { color: var(--accent-gold); }
.cta-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.cta-card p code {
  background: rgba(184, 146, 74, 0.18);
  color: var(--accent-gold-2);
}
.cta-card .cta-row {
  justify-content: center;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}
.cta-card .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}
.cta-card .btn-ghost:hover {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.05);
}

/* ────────── FOOTER ────────── */
.site-foot {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.foot-brand .brand {
  margin-bottom: 18px;
}
.foot-brand p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.55;
}
.foot-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.foot-col ul { display: flex; flex-direction: column; gap: 10px; }
.foot-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color .15s ease;
}
.foot-col a:hover { color: var(--accent-navy); }

.foot-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.foot-meta-block { display: flex; flex-direction: column; gap: 4px; }
.meta-lab {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.meta-val {
  font-size: 13.5px;
  color: var(--text-primary);
  font-weight: 500;
}
.meta-val a { color: var(--accent-navy); }
.meta-val code { background: transparent; padding: 0; color: var(--text-muted); font-weight: 400; }

.foot-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 12px;
}
.foot-tagline code { background: transparent; padding: 0; color: var(--accent-navy); font-weight: 500; }

/* ────────── RESPONSIVE ────────── */
@media (max-width: 1024px) {
  .wrap { padding: 0 28px; }
  .section-pad { padding: 96px 0; }

  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero { padding: 72px 0 60px; }
  .hero-visual { min-height: 480px; max-width: 560px; margin: 0 auto; }

  .trust-inner { grid-template-columns: 1fr; gap: 28px; }

  .steps { grid-template-columns: 1fr; gap: 20px; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-wide { grid-column: span 2; grid-row: auto; }

  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-featured { transform: none; }
  .plan-featured:hover { transform: translateY(-4px); }

  .cases-grid { grid-template-columns: 1fr; }

  .lgpd-grid { grid-template-columns: 1fr; gap: 48px; }

  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .foot-meta { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .section-pad { padding: 80px 0; }

  .topbar-inner { grid-template-columns: auto auto; height: 64px; }
  .nav-links { display: none; }
  .brand { font-size: 18px; }
  .brand-mark svg { width: 26px; height: 26px; }

  .hero { padding: 56px 0 48px; }
  .display { font-size: clamp(34px, 9vw, 44px); }
  .lede { font-size: 16.5px; }
  .hero-visual { min-height: 440px; }
  .sidecar-gloss { right: -8px; top: -20px; width: 180px; }
  .sidecar-audit { left: -8px; bottom: 4px; width: 200px; }

  .trust { padding: 48px 0; }
  .trust-badges { margin-top: 32px; padding-top: 24px; }

  .h-section { font-size: clamp(26px, 7vw, 36px); }
  .section-head { margin-bottom: 44px; }

  .feature-vis-ocr { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; padding: 28px; }
  .feature-wide h3 { font-size: 22px; }

  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 14px 12px; }
  .compare-table tbody th { width: 36%; }
  .compare-table .em { font-size: 15px; }

  .pricing-grid { grid-template-columns: 1fr; }
  .plan { padding: 28px 24px; }

  .case { padding: 28px; }
  .case blockquote { font-size: 16px; }

  .spec-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 20px; }
  .lgpd-spec { padding: 4px 0; }

  .faq-item summary { font-size: 16.5px; padding: 22px 4px; }
  .faq-body p { font-size: 15px; }

  .cta-final { padding: 72px 0 80px; }
  .cta-card { padding: 56px 28px; border-radius: var(--r-lg); }

  .foot-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .foot-meta { grid-template-columns: 1fr 1fr; gap: 20px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .btn { font-size: 13.5px; padding: 0 16px; }
  .nav-cta .btn-sm { padding: 0 12px; font-size: 12.5px; }
  .transcript-foot { flex-wrap: wrap; gap: 12px; }
  .t-stat-divider { display: none; }
  .t-export { margin-left: 0; width: 100%; justify-content: center; }
  .foot-meta { grid-template-columns: 1fr; }
}

/* High-contrast outline focus for accessibility */
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: 4px;
}
