/* ───────────────────────────────────────────────────────────────
   CobraAí — shared design system (#N-D111)
   Tokens + reusable component classes translated from Hillary's
   single-file React mock (the `C` palette + atoms). Scoped to the
   public marketing site for now via the .brand wrapper class; other
   pages are migrated in a follow-up PR, so this file deliberately does
   NOT restyle bare element selectors that main.css owns.
   No @import (strict CSP: font-src 'self'); DM Sans is self-hosted below
   from same-origin /fonts/*.woff2 so it loads under font-src 'self' (no CDN,
   no policy change) — #N-D118 / DESIGN-PLAYBOOK B1. Without this the stack
   silently fell back to system fonts and the site didn't match the mock.
   ─────────────────────────────────────────────────────────────── */

/* DM Sans (variable, wght 300–800) — self-hosted, OFL.
   latin covers Portuguese accents (U+00C0–00FF); latin-ext adds the rest. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #0C1F3F;
  --navy-deep: #071428;
  --navy-mid: #1A3660;
  --amber: #C98B0A;
  --amber-light: #FDF6E3;
  --amber-bright: #E5A012;
  --bg: #F6F4F0;
  --white: #FFFFFF;
  --green: #146B45;
  --green-light: #EBF7F2;
  --red: #B83232;
  --red-light: #FDF0F0;
  --text: #111827;
  --muted: #6B7280;
  --faint: #9CA3AF;
  --border: #E5E2DC;
  --border-dark: #CCC9C2;
  --info-bg: #EFF4FD;
  --info-text: #1D4ED8;

  --font-sans: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --section-pad: 96px 24px;
  --container: 1100px;
}

/* ── Scoped reset/base — only on pages that opt in with .brand ── */
.brand,
.brand * {
  box-sizing: border-box;
}
.brand {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.brand h1,
.brand h2,
.brand h3,
.brand h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.brand p { margin: 0; }
/* Link reset must NOT clobber .btn anchors: `.brand a` (0,0,1,1) outranks the
   single-class `.btn--*` colour rules (0,0,1,0), which made <a class="btn">
   CTAs inherit dark body text instead of their variant colour (dark-on-navy,
   unreadable). Exclude buttons so the variant colours win. (#N-D119) */
.brand a:not(.btn) { color: inherit; }
.brand img { max-width: 100%; }
.brand ul { list-style: none; padding: 0; margin: 0; }

/* ── Layout helpers ── */
.brand-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.brand-section { padding: var(--section-pad); }

.brand-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
}

/* ── Wordmark ── */
.brand-wordmark {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -1px;
  text-decoration: none;
  display: inline-block;
}
.brand-wordmark .dot { color: var(--amber); }
.brand-wordmark--light { color: var(--white); }

/* ── Buttons (mock variants) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .15s, transform .1s;
}
.btn:hover { opacity: .9; }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--full { width: 100%; }

.btn--primary { background: var(--amber); color: var(--white); }
.btn--navy    { background: var(--navy); color: var(--white); }
.btn--outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn--ghost   { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn--green   { background: var(--green); color: var(--white); }
.btn--white   { background: var(--white); color: var(--navy); }
.btn--woutline{ background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.7); }
.btn--wa      { background: #25D366; color: var(--white); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Card ── */
.brand-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px 32px;
}

/* ───────────────────────────────────────────────────────────────
   Public site components
   ─────────────────────────────────────────────────────────────── */

/* ── Nav ── */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}
.site-nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-nav__wordmark { font-size: 24px; white-space: nowrap; }
.site-nav__links { display: flex; gap: 2px; align-items: center; }
.site-nav__link {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 8px 8px 0 0;
  transition: color .15s;
}
.site-nav__link:hover { color: var(--navy); }
.site-nav__actions { display: flex; gap: 8px; align-items: center; }
.site-nav__legal {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  color: var(--faint);
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 8px;
}
.site-nav__legal:hover { color: var(--muted); }
.site-nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 20px;
  color: var(--navy);
}

/* ── Hero ── */
.hero {
  background: var(--navy-deep);
  overflow: hidden;
  position: relative;
}
.hero__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero__ring--1 { top: -80px; right: -80px; width: 400px; height: 400px; border: 1px solid rgba(212,146,14,0.15); }
.hero__ring--2 { top: 40px; right: 60px; width: 200px; height: 200px; border: 1px solid rgba(212,146,14,0.10); }
.hero__ring--3 { bottom: -60px; left: -40px; width: 320px; height: 320px; border: 1px solid rgba(255,255,255,0.04); }
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,146,14,0.12);
  border: 1px solid rgba(212,146,14,0.3);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 32px;
  font-size: 13px;
  color: #F0C060;
  font-weight: 500;
}
.hero__badge .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--amber-bright); display: inline-block; }
/* `.brand .hero__title` (0,0,2,0) so the white colour + margin beat the
   `.brand h1` base (0,0,1,1, navy) — otherwise the hero title rendered navy
   on the dark hero and was unreadable. (#N-D119) */
.brand .hero__title {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero__title .accent { color: var(--amber-bright); }
.hero__lead {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero__pills { display: flex; gap: 10px; margin-bottom: 44px; flex-wrap: wrap; }
.hero__pill {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0; /* allow the desc to wrap instead of overflowing the pill */
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 8px 14px;
}
.hero__pill .check { color: var(--amber); font-size: 13px; }
.hero__pill-label { font-size: 13px; color: rgba(255,255,255,0.9); font-weight: 600; line-height: 1; }
.hero__pill-desc { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__cta .btn { font-size: 15px; padding: 16px 28px; }
.hero__trust { margin-top: 24px; display: flex; gap: 20px; flex-wrap: wrap; }
.hero__trust span { font-size: 12px; color: rgba(255,255,255,0.35); display: flex; align-items: center; gap: 5px; }
.hero__trust .check { color: var(--amber); }

.hero__card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
}
.hero__card-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero__card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.3;
}
.hero__card-row {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
}
.hero__card-row .k { font-size: 12px; color: rgba(255,255,255,0.4); }
.hero__card-row .v { font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 500; }
.hero__card .btn { margin-top: 24px; }
.hero__card-note { text-align: center; font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 10px; }

/* ── Section heading block ── */
.section-head { text-align: center; margin-bottom: 72px; }
.section-head h2 {
  font-size: 44px;
  margin-top: 12px;
  letter-spacing: -1.5px;
}
.section-head p { color: var(--muted); font-size: 17px; margin: 12px auto 0; max-width: 520px; }

/* ── How it works ── */
.how { background: var(--white); }
.how__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
}
.how__step {
  position: relative;
  padding: 40px 28px 36px;
  background: var(--white);
  border: 1px solid var(--border);
  /* overflow stays visible so the connector arrow that bridges two cards
     isn't clipped at the card's right edge (was cut in half by overflow:hidden) */
  overflow: visible;
}
.how__step:nth-child(odd) { background: var(--bg); }
.how__step:first-child { border-radius: 16px 0 0 16px; }
.how__step:last-child { border-radius: 0 16px 16px 0; }
.how__bignum {
  position: absolute;
  /* kept fully inside the card so the step no longer needs overflow:hidden
     (which was clipping the connector arrows) */
  top: 6px;
  right: 12px;
  font-size: 140px;
  font-family: var(--font-serif);
  font-weight: 700;
  color: rgba(12,31,63,0.05);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.how__head { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; position: relative; }
.how__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.how__icon svg { width: 22px; height: 22px; display: block; }
.how__icon--1 { background: #EBF1FB; color: var(--navy); }
.how__icon--2 { background: var(--green-light); color: var(--green); }
.how__icon--3 { background: var(--amber-light); color: var(--amber); }
.how__icon--4 { background: var(--red-light); color: var(--red); }
.how__etapa { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--amber); text-transform: uppercase; }
.how__title { font-family: var(--font-serif); font-size: 20px; color: var(--navy); font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.how__sub { font-size: 13px; color: var(--amber); font-weight: 600; margin-bottom: 16px; }
.how__step li {
  font-size: 13px;
  color: var(--muted);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.how__step li .check { color: var(--green); font-weight: 700; font-size: 11px; }
.how__arrow {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: var(--amber);
  color: var(--white);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  border: 2px solid var(--white);
}
.how__footer { text-align: center; margin-top: 48px; }
.how__footer .btn { font-size: 16px; padding: 16px 36px; }

/* ── Pricing ── */
.pricing { background: var(--bg); }
.pricing__inner { max-width: 700px; margin: 0 auto; }
.pricing__head { text-align: center; margin-bottom: 52px; }
.pricing__head h2 { font-size: 44px; margin-top: 12px; letter-spacing: -1.5px; }
.pricing__success { display: block; font-size: 0.66em; color: var(--amber); margin-top: 12px; letter-spacing: -0.5px; }
.pricing__head p { color: var(--muted); font-size: 16px; margin-top: 10px; }
.pricing__table {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.pricing__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
}
.pricing__row:last-child { border-bottom: none; }
.pricing__row--popular { background: var(--amber-light); }
.pricing__row--success { background: rgba(12,31,63,0.03); }
.pricing__row--success .pricing__row-label { font-weight: 600; }
.pricing__row-label { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 14px; color: var(--text); }
.pricing__row--popular .pricing__row-label { font-weight: 600; }
.pricing__tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--amber);
  background: rgba(201,139,10,0.12);
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.pricing__tag--success { color: var(--navy); background: rgba(12,31,63,0.08); }
.pricing__price { font-family: var(--font-serif); font-size: 22px; color: var(--navy); font-weight: 700; white-space: nowrap; padding-left: 16px; }
.pricing__notes { display: flex; flex-direction: column; gap: 8px; margin-bottom: 40px; }
.pricing__note { font-size: 12px; color: var(--faint); padding-left: 12px; border-left: 2px solid var(--border); }
.pricing__cta { text-align: center; }
.pricing__cta .btn { font-size: 16px; padding: 16px 40px; }

/* ── B2B ── */
.b2b { background: var(--navy-deep); position: relative; overflow: hidden; }
.b2b__ring { position: absolute; border-radius: 50%; pointer-events: none; }
.b2b__ring--1 { top: -120px; right: -120px; width: 500px; height: 500px; border: 1px solid rgba(212,146,14,0.08); }
.b2b__ring--2 { bottom: -80px; left: -80px; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,0.04); }
.b2b__inner { max-width: 1000px; margin: 0 auto; position: relative; }
.b2b__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: flex-start; }
.b2b h2 { font-size: 42px; color: var(--white); margin-top: 12px; margin-bottom: 20px; line-height: 1.15; letter-spacing: -1px; }
.b2b h2 .accent { color: var(--amber-bright); }
.b2b__lead { color: rgba(255,255,255,0.55); font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.b2b__lead--last { margin-bottom: 48px; }
.b2b__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.b2b__usecases {
  margin-top: 32px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
}
.b2b__usecases-title { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 10px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.b2b__usecase { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.b2b__usecase .chev { color: var(--amber); font-size: 12px; font-weight: 700; }
.b2b__usecase span:last-child { font-size: 13px; color: rgba(255,255,255,0.65); }
.b2b__benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.b2b__benefit {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  padding: 20px 18px;
}
.b2b__benefit .ico { font-size: 24px; margin-bottom: 10px; color: var(--amber-bright); }
.b2b__benefit .ico svg { width: 26px; height: 26px; display: block; }
.b2b__benefit-title { font-weight: 700; color: var(--white); font-size: 13px; margin-bottom: 6px; }
.b2b__benefit-desc { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.65; }

/* ── Quem somos ── */
.quem { background: var(--white); }
.quem__inner { max-width: 900px; margin: 0 auto; }
.quem__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.quem h2 { font-size: 40px; margin-top: 12px; margin-bottom: 20px; line-height: 1.2; letter-spacing: -1px; }
.quem__lead { color: var(--muted); font-size: 16px; line-height: 1.8; margin-bottom: 20px; }
.quem__lead--last { margin-bottom: 32px; }
.quem__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.quem__values { display: flex; flex-direction: column; gap: 20px; }
.quem__value {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}
.quem__value .ico { font-size: 24px; line-height: 1; color: var(--amber); }
.quem__value .ico svg { width: 26px; height: 26px; display: block; }
.quem__value-title { font-weight: 700; color: var(--navy); margin-bottom: 4px; font-size: 14px; }
.quem__value-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── Blog ── */
.blog { background: var(--bg); }
.blog__inner { max-width: 1000px; margin: 0 auto; }
.blog__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; flex-wrap: wrap; gap: 16px; }
.blog__head h2 { font-size: 40px; margin-top: 10px; letter-spacing: -1px; }
.blog__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.blog__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog__cover { height: 160px; display: flex; align-items: flex-end; padding: 20px 24px; }
.blog__cover--1 { background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-deep) 100%); }
.blog__cover--2 { background: linear-gradient(135deg, var(--green) 0%, var(--navy-deep) 100%); }
.blog__cover--3 { background: linear-gradient(135deg, #8B4513 0%, var(--navy-deep) 100%); }
.blog__cat {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.blog__body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.blog__meta { font-size: 11px; color: var(--faint); margin-bottom: 10px; }
.blog__title { font-family: var(--font-serif); font-size: 18px; color: var(--navy); font-weight: 700; line-height: 1.35; margin-bottom: 12px; }
.blog__excerpt { font-size: 13px; color: var(--muted); line-height: 1.7; flex: 1; }
.blog__more {
  background: none; border: none; cursor: pointer;
  color: var(--amber); font-size: 13px; font-weight: 700;
  font-family: inherit; text-align: left; margin-top: 16px; padding: 0;
  text-decoration: none;
}

/* ── FAQ ── */
.faq { background: var(--white); }
.faq__inner { max-width: 760px; margin: 0 auto; }
.faq__head { text-align: center; margin-bottom: 56px; }
.faq__head h2 { font-size: 40px; margin-top: 12px; letter-spacing: -1px; }
.faq__list { display: flex; flex-direction: column; gap: 2px; }
.faq__item { border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.faq__item:first-child { border-radius: 12px 12px 4px 4px; }
.faq__item:last-child { border-radius: 4px 4px 12px 12px; }
.faq__q {
  width: 100%;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  gap: 12px;
}
.faq__item.open .faq__q { background: var(--bg); }
.faq__sign { font-size: 20px; color: var(--amber); flex-shrink: 0; transition: transform .2s; }
.faq__item.open .faq__sign { transform: rotate(45deg); }
.faq__a { padding: 0 24px 20px; background: var(--bg); display: none; }
.faq__item.open .faq__a { display: block; }
.faq__a p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.faq__contact {
  text-align: center;
  margin-top: 40px;
  padding: 28px;
  background: var(--amber-light);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.faq__contact-title { font-size: 15px; color: var(--navy); font-weight: 600; margin-bottom: 8px; }
.faq__contact-sub { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

/* ── Footer ── */
.site-footer { background: var(--navy-deep); padding: 64px 24px 32px; color: rgba(255,255,255,0.6); }
.site-footer__inner { max-width: 1000px; margin: 0 auto; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.site-footer__wordmark { font-size: 26px; margin-bottom: 16px; }
.site-footer__about { font-size: 13px; line-height: 1.8; max-width: 240px; }
.site-footer__wa { margin-top: 16px; }
.site-footer__col-title { font-size: 12px; font-weight: 700; color: var(--white); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.site-footer__link {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-family: inherit;
  padding: 5px 0;
  text-align: left;
  text-decoration: none;
}
.site-footer__link:hover { color: var(--white); }
.site-footer__bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer__bar p { font-size: 12px; }

/* ───────────────────────────────────────────────────────────────
   Standalone legal page (etica.html) — narrow document layout
   ─────────────────────────────────────────────────────────────── */
.legal-page { background: var(--bg); min-height: 100vh; }
.legal-doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.legal-doc__back {
  display: inline-block;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 24px;
}
.legal-doc__back:hover { color: var(--navy); }
.legal-doc h1 { font-size: 36px; letter-spacing: -1px; margin-bottom: 8px; }
.legal-doc__sub { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 32px; }
.principle { display: flex; gap: 14px; margin-bottom: 22px; }
.principle__num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--amber-light);
  border: 1px solid var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--amber);
  flex-shrink: 0; margin-top: 2px;
}
.principle__title { font-weight: 700; color: var(--navy); margin-bottom: 3px; font-size: 15px; }
.principle__desc { font-size: 14px; color: var(--muted); line-height: 1.7; }
.legal-doc__footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }

/* Document prose — the long-form legal pages (termos / privacidade /
   regras, #N-D115). Styles the bare heading/paragraph/list elements that
   the legal copy uses, scoped to .legal-doc__prose so it doesn't leak. */
.legal-doc__version {
  color: var(--faint);
  font-size: 13px;
  margin-bottom: 28px;
}
.legal-doc__prose h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin: 36px 0 12px;
}
.legal-doc__prose h3 {
  font-size: 17px;
  color: var(--navy);
  margin: 24px 0 10px;
}
.legal-doc__prose p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-doc__prose ul {
  list-style: disc;
  margin: 0 0 16px 1.3em;
  padding: 0;
}
.legal-doc__prose li {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 6px;
}
.legal-doc__prose strong { color: var(--navy); }
.legal-doc__prose em { color: var(--text); }
.legal-doc__prose a { color: var(--amber); font-weight: 600; text-decoration: none; }
.legal-doc__prose a:hover { text-decoration: underline; }
.legal-doc__prose p.muted { color: var(--muted); font-size: 14px; }

/* ───────────────────────────────────────────────────────────────
   Responsive
   ─────────────────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .brand .hero__title { font-size: 44px; }
  .b2b__grid { grid-template-columns: 1fr; gap: 40px; }
  .quem__grid { grid-template-columns: 1fr; gap: 40px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .site-nav__links { display: none; }
  .site-nav__legal { display: none; }
  .site-nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav--open .site-nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px;
    gap: 4px;
    align-items: stretch;
  }
  .b2b__benefits { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .section-head h2, .pricing__head h2 { font-size: 34px; }
  .brand .hero__title { font-size: 36px; letter-spacing: -1px; }

  /* ── Standardized mobile spacing (single scale across the whole site) ──
     Sections used a fixed 96px vertical gap with no mobile override, which
     left huge empty bands between areas on phones. Tighten every section to
     one consistent rhythm. */
  .brand-section { padding: 56px 20px; }
  .hero__inner { padding: 40px 20px 52px; gap: 32px; }
  .section-head,
  .pricing__head,
  .faq__head,
  .blog__head { margin-bottom: 36px; }
  .how__footer { margin-top: 32px; }

  /* Hero: keep clear air between the lead copy and the persona pills, and
     stack the persona pills full-width so their descriptions always have
     room (were reading as cut-off / overlapping). */
  .hero__lead { margin-bottom: 32px; }
  .hero__pills { flex-direction: column; align-items: stretch; }
  /* The three advantages wrapped 2 + 1 and read as ragged. Stack them into
     a clean one-per-line list at a single size. */
  .hero__trust { flex-direction: column; gap: 10px; margin-top: 20px; }

  /* ── "Como funciona" cards stacked vertically ──
     Force a single column so corner-rounding + the connector arrow are
     predictable, round the right corners (first/last get top/bottom), move
     the arrow to the bottom edge pointing down, and stop clipping it
     (overflow:hidden was cutting the arrow circle in half). */
  .how__grid { grid-template-columns: 1fr; }
  .how__step { overflow: visible; border-radius: 0; }
  .how__step:first-child { border-radius: 16px 16px 0 0; }
  .how__step:last-child { border-radius: 0 0 16px 16px; }
  .how__bignum { display: none; }
  .how__arrow {
    top: auto;
    right: auto;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
  .how__step:last-child .how__arrow { display: none; }
}
