/*
 * WiFi Guest — site institucional (wifiguest.com.br)
 * Identidade "Copa": verde-mata + verde-folha, Sora (títulos) + Manrope (texto).
 * Tudo local: nenhuma fonte, imagem ou script de terceiros (LGPD + CSP).
 */

/* ---------- Fontes (SIL OFL 1.1 — ver assets/fonts/OFL-*.txt) ---------- */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/sora-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/sora-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-700-normal.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --mata: #0d3b2e;
  --mata-2: #0a2e24;
  --mata-3: #154a3a;
  --folha: #2fb36b;
  --folha-2: #27a05f;
  --folha-ink: #177a45; /* verde para texto pequeno em fundo claro (AA) */
  --folha-light: #7be3a6; /* verde claro para texto pequeno em fundo escuro */
  --folha-soft: #e3f5ea;
  --ambar: #f5b52a;

  --bg: #f2f6f3;
  --surface: #ffffff;
  --border: #dce5df;
  --border-strong: #c9d6ce;
  --text: #15201b;
  --muted: #5f6d66;
  --on-dark: #ffffff;
  --on-dark-muted: #bbc8c4;
  --line-dark: rgba(255, 255, 255, 0.14);

  --focus: var(--folha-ink);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Sora", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r: 12px;
  --r-card: 18px;
  --r-lg: 22px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(21, 32, 27, 0.05), 0 2px 8px rgba(21, 32, 27, 0.04);
  --shadow-md: 0 2px 4px rgba(21, 32, 27, 0.04), 0 14px 34px rgba(21, 32, 27, 0.12);
  --shadow-lg: 0 4px 10px rgba(10, 46, 36, 0.08), 0 28px 60px rgba(10, 46, 36, 0.2);

  --gutter: 20px;
  --container: 1200px;
  --header-h: 64px;
}
@media (min-width: 768px) {
  :root {
    --gutter: 32px;
    --header-h: 72px;
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
p,
ul,
ol,
figure {
  margin: 0;
}
p {
  text-wrap: pretty;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
strong,
b {
  font-weight: 700;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: var(--folha-soft);
  color: var(--mata);
}

/* ---------- Utilitários ---------- */
.wrap {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--r);
  background: var(--mata);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--folha-ink);
}
.lead {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.21875rem);
  line-height: 1.6;
  color: var(--muted);
}
.caption {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.btn .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
.btn:active {
  transform: translateY(1px);
}
.btn-lg {
  min-height: 54px;
  padding: 0 26px;
  font-size: 1.0625rem;
}
.btn-sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.9375rem;
}
.btn-primary {
  background: var(--mata);
  color: #fff;
}
.btn-primary:hover {
  background: var(--mata-3);
}
.btn-outline {
  background: transparent;
  border-color: var(--mata);
  color: var(--mata);
}
.btn-outline:hover {
  background: var(--mata);
  color: #fff;
}
.btn-accent {
  background: var(--folha);
  color: var(--mata-2);
}
.btn-accent:hover {
  background: #45c27e;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 246, 243, 0.9);
  border-bottom: 1px solid rgba(201, 214, 206, 0.7);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
}
.brand img {
  width: 34px;
  height: 34px;
}
.brand-word {
  font-family: var(--display);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand .g {
  color: var(--folha-2);
}
.brand-light {
  color: #fff;
}
.brand-light .g {
  color: var(--folha);
}

.nav {
  display: none;
}
.nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  padding: 0;
}
.nav a {
  display: block;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav a:hover {
  background: rgba(13, 59, 46, 0.07);
  color: var(--mata);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.btn-panel .lbl-wide,
.btn-cta {
  display: none;
}
.btn-panel {
  padding: 0 14px;
}

/* Menu do celular: <details> funciona sem JS; site.js só fecha ao navegar/Esc. */
.mnav > summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--mata);
  cursor: pointer;
  list-style: none;
}
.mnav > summary::-webkit-details-marker {
  display: none;
}
.mnav > summary:hover {
  border-color: var(--mata);
}
.mnav .i-shut,
.mnav[open] .i-open {
  display: none;
}
.mnav[open] .i-shut {
  display: block;
}
.mnav-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: 8px var(--gutter) 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 40px rgba(10, 46, 36, 0.14);
}
.mnav-panel ul {
  list-style: none;
  padding: 0;
}
.mnav-panel li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 4px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
}
.mnav-panel li a .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.mnav-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
@media (min-width: 480px) {
  .btn-panel .lbl-wide {
    display: inline;
  }
  .btn-panel .lbl-narrow {
    display: none;
  }
  .mnav-actions {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 720px) {
  .btn-cta {
    display: inline-flex;
  }
}
@media (min-width: 1240px) {
  .header-inner {
    gap: 24px;
  }
  .nav {
    display: block;
    flex: 1;
  }
  .nav ul {
    justify-content: center;
  }
  .header-actions {
    margin-left: 0;
  }
  .mnav {
    display: none;
  }
}

/* Grades de uma coluna não podem crescer além da tela por causa do conteúdo. */
.hero-grid,
.money-grid,
.compat,
.faq,
.contact,
.benefits,
.legal-grid {
  grid-template-columns: minmax(0, 1fr);
}

/* ---------- Seções ---------- */
.section {
  padding-block: clamp(72px, 9vw, 120px);
}
.section-tint {
  background: var(--folha-soft);
}
.section-dark {
  background: var(--mata);
  color: var(--on-dark);
  --focus: var(--folha);
}
.section-dark .eyebrow {
  color: var(--folha);
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(1.875rem, 1.25rem + 2.3vw, 2.875rem);
}
.section-head > p:not(.eyebrow),
.section-head.split > p {
  margin-top: 18px;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  color: var(--muted);
}
.section-dark .section-head > p:not(.eyebrow) {
  color: var(--on-dark-muted);
}
@media (min-width: 1024px) {
  .section-head.split {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 64px;
    align-items: end;
    max-width: none;
  }
  .section-head.split > p {
    margin-top: 0;
    padding-bottom: 6px;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(36px, 5vw, 72px);
  padding-bottom: clamp(40px, 5vw, 64px);
  overflow-x: clip;
}
.hero-grid {
  display: grid;
  gap: clamp(44px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.0625rem, 1.3rem + 3.4vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: normal;
  color: var(--folha-ink);
}
.hero .lead {
  margin-top: 22px;
  max-width: 34em;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.proof {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
}
.proof .icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--folha-ink);
}
@media (max-width: 479px) {
  .hero-ctas .btn {
    flex: 1 1 100%;
  }
  .btn-lg {
    white-space: normal;
    padding-block: 12px;
  }
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  }
  .hero h1 {
    font-size: clamp(2.75rem, 1rem + 3.3vw, 3.75rem);
  }
}

/* Mockup do produto (decorativo, aria-hidden). Medidas em cqi = % da largura do palco. */
.showcase {
  width: 100%;
  max-width: 560px;
  justify-self: center;
}
.stage {
  position: relative;
  aspect-ratio: 1 / 1;
  container-type: inline-size;
  font-variant-numeric: tabular-nums;
}
.stage-bg {
  position: absolute;
  inset: 3% 2% 3% 2%;
  overflow: hidden;
  border-radius: 7cqi;
  background: var(--folha-soft);
}
.ring {
  position: absolute;
  left: 50.5%;
  top: 48%;
  aspect-ratio: 1;
  border: 1.5px solid rgba(13, 59, 46, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.ring-1 {
  width: 62%;
  background: rgba(255, 255, 255, 0.35);
}
.ring-2 {
  width: 90%;
}
.ring-3 {
  width: 118%;
}
.ring-4 {
  width: 146%;
}

.phone {
  position: absolute;
  left: 28%;
  top: 5%;
  width: 45%;
  height: 90%;
  padding: 1.1cqi;
  border-radius: 7cqi;
  background: var(--mata-2);
  box-shadow: 0 2cqi 6cqi rgba(10, 46, 36, 0.3), inset 0 0 0 0.3cqi rgba(255, 255, 255, 0.08);
}
.screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  overflow: hidden;
  padding: 2.2cqi 2.2cqi 2.4cqi;
  border-radius: 6cqi;
  background: #fff;
  color: var(--text);
  font-size: 2.4cqi;
  line-height: 1.3;
  text-align: center;
}
.sb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 0.7em;
  font-size: 0.82em;
  font-weight: 700;
}
.sb-icons {
  display: flex;
  align-items: flex-end;
  gap: 0.18em;
  height: 0.8em;
}
.sb-icons i {
  width: 0.22em;
  border-radius: 0.1em;
  background: var(--text);
}
.sb-icons i:nth-child(1) {
  height: 40%;
}
.sb-icons i:nth-child(2) {
  height: 70%;
}
.sb-icons i:nth-child(3) {
  height: 100%;
}
.sb-icons b {
  width: 1.4em;
  height: 0.72em;
  margin-left: 0.3em;
  border: 0.1em solid var(--text);
  border-radius: 0.22em;
  background: linear-gradient(90deg, var(--text) 70%, transparent 70%) content-box;
  padding: 0.08em;
}
.p-tile {
  display: grid;
  place-items: center;
  width: 3.6em;
  height: 3.6em;
  margin-top: 2em;
  border-radius: 1.05em;
  background: var(--mata);
  color: var(--folha);
}
.p-tile .icon {
  width: 56%;
  height: 56%;
  stroke-width: 2.2;
}
.p-ssid {
  margin-top: 0.85em;
  padding: 0.3em 0.85em;
  border-radius: 99px;
  background: var(--folha-soft);
  color: var(--folha-ink);
  font-size: 0.78em;
  font-weight: 700;
}
.p-h {
  margin-top: 0.55em;
  font-family: var(--display);
  font-size: 1.32em;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.p-lead {
  margin-top: 0.35em;
  color: var(--muted);
  font-size: 0.88em;
}
.p-opts {
  display: grid;
  gap: 0.6em;
  width: 100%;
  margin-top: 1.4em;
  padding: 0;
  list-style: none;
  text-align: left;
}
.p-opts li {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.75em 0.65em;
  border: 1px solid var(--border);
  border-radius: 0.95em;
  background: #fff;
}
.p-opts li.is-pay {
  border-color: var(--folha);
  background: #f3fbf6;
  box-shadow: 0 0 0 0.22em rgba(47, 179, 107, 0.16);
}
.p-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.1em;
  height: 2.1em;
  border-radius: 0.65em;
  background: var(--folha-soft);
  color: var(--mata);
}
.p-ico .icon {
  width: 1.2em;
  height: 1.2em;
}
.is-pay .p-ico {
  background: var(--mata);
  color: var(--folha);
}
.p-txt {
  min-width: 0;
}
.p-txt b {
  display: block;
  font-size: 0.98em;
  line-height: 1.2;
}
.p-txt small {
  display: block;
  margin-top: 0.12em;
  color: var(--muted);
  font-size: 0.8em;
}
.icon.p-chev {
  width: 1em;
  height: 1em;
  margin-left: auto;
  color: var(--muted);
}
.p-legal {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.7em;
}

.float {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 3.4cqi;
  background: #fff;
  box-shadow: var(--shadow-md);
  color: var(--text);
  font-size: 2.3cqi;
  line-height: 1.3;
}
.card-live {
  left: 0;
  top: 12%;
  width: 33%;
  padding: 2.4cqi 2.6cqi 2.6cqi;
}
.card-pix {
  right: 0;
  top: 50%;
  width: 34%;
}
.card-voucher {
  left: 0.5%;
  bottom: 13%;
  width: 34%;
}
.card-pix,
.card-voucher {
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 2cqi 2.4cqi;
}
.fl-label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: var(--muted);
  font-size: 0.9em;
  font-weight: 700;
}
.fl-num {
  margin-top: 0.15em;
  font-family: var(--display);
  font-size: 2.3em;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.fl-title {
  font-weight: 700;
  line-height: 1.25;
}
.fl-sub {
  color: var(--muted);
  font-size: 0.88em;
}
.fl-code {
  font-family: var(--display);
  font-size: 1.12em;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.fl-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.4em;
  height: 2.4em;
  border-radius: 0.75em;
  background: var(--folha-soft);
  color: var(--mata);
}
.fl-ico .icon {
  width: 1.3em;
  height: 1.3em;
}
.fl-ico.is-ok {
  border-radius: 50%;
  background: var(--folha);
  color: #fff;
}
.fl-ico.is-ok .icon {
  stroke-width: 2.6;
}
.live-dot {
  position: relative;
  width: 0.6em;
  height: 0.6em;
  flex: none;
  border-radius: 50%;
  background: var(--ambar);
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -0.25em;
  border-radius: 50%;
  background: rgba(245, 181, 42, 0.35);
}
@media (prefers-reduced-motion: no-preference) {
  .live-dot::after {
    animation: live 2s ease-out infinite;
  }
}
@keyframes live {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
.spark {
  display: flex;
  align-items: flex-end;
  gap: 0.28em;
  height: 2.6em;
  margin-top: 0.7em;
}
.spark i {
  flex: 1;
  border-radius: 0.2em 0.2em 0.1em 0.1em;
  background: #cdebd9;
}
.spark i:last-child {
  background: var(--folha);
}
.spark i:nth-child(1) { height: 28%; }
.spark i:nth-child(2) { height: 34%; }
.spark i:nth-child(3) { height: 30%; }
.spark i:nth-child(4) { height: 46%; }
.spark i:nth-child(5) { height: 58%; }
.spark i:nth-child(6) { height: 52%; }
.spark i:nth-child(7) { height: 66%; }
.spark i:nth-child(8) { height: 78%; }
.spark i:nth-child(9) { height: 72%; }
.spark i:nth-child(10) { height: 88%; }
.spark i:nth-child(11) { height: 84%; }
.spark i:nth-child(12) { height: 100%; }

/* Segmentos */
.segments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.segments-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--muted);
}
.segments-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 0;
  list-style: none;
}
.segments-list li {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--display);
  font-size: 0.9875rem;
  font-weight: 600;
  color: var(--mata);
}
.segments-list li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--folha);
}
@media (max-width: 767px) {
  .segments {
    gap: 14px;
  }
  .segments-list {
    gap: 8px;
  }
  .segments-list li {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 99px;
    background: var(--surface);
    font-size: 0.9375rem;
  }
  .segments-list li + li::before {
    display: none;
  }
}

/* ---------- Bloco escuro de benefícios ---------- */
.section-benefits {
  padding-top: clamp(8px, 2vw, 24px);
}
.benefits {
  position: relative;
  display: grid;
  gap: 40px;
  overflow: hidden;
  padding: clamp(32px, 5.5vw, 72px);
  border-radius: var(--r-xl);
  background: var(--mata);
  color: var(--on-dark);
  --focus: var(--folha);
}
.benefits::before,
.benefits::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(47, 179, 107, 0.12);
  pointer-events: none;
}
.benefits::before {
  width: 520px;
  height: 520px;
  right: -200px;
  bottom: -300px;
}
.benefits::after {
  width: 780px;
  height: 780px;
  right: -330px;
  bottom: -430px;
}
.benefits > * {
  position: relative;
}
.benefits h2 {
  font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.5rem);
}
.benefits-intro p {
  margin-top: 18px;
  color: var(--on-dark-muted);
}
.benefits-intro .btn {
  margin-top: 28px;
}
.benefits-list {
  display: grid;
  gap: 32px 40px;
  padding: 0;
  list-style: none;
}
.benefits-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  align-content: start;
}
.b-ico {
  display: grid;
  place-items: center;
  grid-row: span 2;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(47, 179, 107, 0.16);
  color: var(--folha);
}
.benefits-list h3 {
  align-self: center;
  font-size: 1.125rem;
  color: #fff;
}
.benefits-list p {
  color: var(--on-dark-muted);
  font-size: 0.98rem;
}
@media (max-width: 639px) {
  .benefits {
    padding: 28px 22px 32px;
  }
  .benefits-list li {
    row-gap: 12px;
  }
  .benefits-list p {
    grid-column: 1 / -1;
  }
  .b-ico {
    grid-row: auto;
  }
}
@media (min-width: 640px) {
  .benefits-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .benefits {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.5fr);
    gap: 64px;
    align-items: start;
  }
}

/* ---------- Recursos ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}
.feature {
  padding: 28px 24px 30px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.f-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--folha-soft);
  color: var(--mata);
}
.feature h3 {
  margin-top: 22px;
  font-size: 1.125rem;
}
.feature p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.96875rem;
  line-height: 1.6;
}
@media (max-width: 559px) {
  .feature {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
    padding: 20px 20px 22px;
  }
  .feature h3 {
    margin-top: 0;
  }
  .feature p {
    grid-column: 1 / -1;
    margin-top: 14px;
  }
}
@media (min-width: 1120px) {
  .features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Como funciona ---------- */
.steps {
  display: grid;
  gap: 16px;
  padding: 0;
  list-style: none;
}
.step {
  padding: 26px 24px 30px;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(13, 59, 46, 0.06);
}
.step-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.step-num {
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--folha-ink);
  font-variant-numeric: tabular-nums;
}
.step-top::after {
  content: "";
  order: 1;
  flex: 1;
  height: 1px;
  background: var(--border);
}
.step-ico {
  order: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--mata);
  color: var(--folha);
}
.step-ico .icon {
  width: 22px;
  height: 22px;
}
.step h3 {
  margin-top: 22px;
  font-size: 1.1875rem;
}
.step p {
  margin-top: 8px;
  color: var(--muted);
}
.steps-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 820px;
  margin-top: 32px;
  color: var(--mata);
  font-weight: 500;
}
.steps-note .icon {
  margin-top: 1px;
  color: var(--folha-ink);
}
@media (min-width: 720px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1120px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Monetização ---------- */
.money-grid {
  display: grid;
  gap: clamp(44px, 5vw, 72px);
  align-items: center;
}
.money-copy h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.125rem);
}
.money-copy .lead {
  margin-top: 20px;
  max-width: 32em;
}
.money-copy .btn {
  margin-top: 32px;
}
.money-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 34em;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}
.money-path li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--mata);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
}
.money-path li .icon {
  width: 22px;
  height: 22px;
  color: var(--folha-ink);
}
.money-path li + li::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--folha);
  border-right: 2px solid var(--folha);
  transform: translateY(-50%) rotate(45deg);
}
.money-path li.is-end {
  border-color: var(--mata);
  background: var(--mata);
  color: #fff;
}
.money-path li.is-end .icon {
  color: var(--folha);
}
@media (max-width: 479px) {
  .money-path {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .money-path li {
    flex-direction: row;
    align-items: center;
    padding: 12px 14px;
  }
  .money-path li + li::before {
    left: 24px;
    top: -15px;
    transform: rotate(135deg);
  }
}
.money-visual {
  width: 100%;
  max-width: 560px;
  justify-self: center;
}
.mv-stage {
  position: relative;
  aspect-ratio: 1 / 0.96;
  overflow: hidden;
  border-radius: clamp(22px, 3vw, 36px);
  background: var(--mata);
  container-type: inline-size;
  font-variant-numeric: tabular-nums;
}
.mv-ring {
  position: absolute;
  aspect-ratio: 1;
  border: 1.5px solid rgba(47, 179, 107, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.mv-ring-1 {
  left: 88%;
  top: 14%;
  width: 70%;
}
.mv-ring-2 {
  left: 88%;
  top: 14%;
  width: 112%;
}
.checkout {
  position: absolute;
  left: 7%;
  top: 8%;
  width: 60%;
  padding: 4cqi 4cqi 3.4cqi;
  border-radius: 4.4cqi;
  background: #fff;
  box-shadow: 0 2cqi 6cqi rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-size: 2.45cqi;
  line-height: 1.3;
}
.co-title {
  font-family: var(--display);
  font-size: 1.42em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.co-sub {
  margin-top: 0.3em;
  color: var(--muted);
  font-size: 0.86em;
}
.plans {
  display: grid;
  gap: 0.5em;
  margin-top: 1em;
  padding: 0;
  list-style: none;
}
.plans li {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.75em 0.85em;
  border: 1px solid var(--border);
  border-radius: 0.85em;
}
.plans li.is-on {
  border-color: var(--folha);
  background: #f3fbf6;
  box-shadow: 0 0 0 0.2em rgba(47, 179, 107, 0.16);
}
.radio {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  border: 0.13em solid var(--border-strong);
  border-radius: 50%;
}
.is-on .radio {
  border: 0.32em solid var(--folha-2);
}
.plan-name {
  font-weight: 700;
}
.plan-price {
  margin-left: auto;
  font-weight: 700;
  color: var(--mata);
}
.methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5em;
  margin-top: 0.9em;
}
.methods span {
  padding: 0.6em 0.75em;
  border: 1px solid var(--border);
  border-radius: 0.85em;
}
.methods span.is-on {
  border-color: var(--mata);
  box-shadow: inset 0 0 0 1px var(--mata);
}
.methods b {
  display: block;
  font-size: 0.98em;
}
.methods small {
  display: block;
  color: var(--muted);
  font-size: 0.76em;
}
.co-btn {
  display: block;
  margin-top: 1em;
  padding: 0.85em;
  border-radius: 0.85em;
  background: var(--mata);
  color: #fff;
  font-weight: 700;
  text-align: center;
}
.co-link {
  margin-top: 0.8em;
  color: var(--folha-ink);
  font-size: 0.82em;
  font-weight: 700;
  text-align: center;
}
.float2 {
  position: absolute;
  border-radius: 3.4cqi;
  background: #fff;
  box-shadow: 0 2cqi 5cqi rgba(0, 0, 0, 0.22);
  color: var(--text);
  font-size: 2.35cqi;
  line-height: 1.3;
}
.float2.sales {
  right: 5%;
  top: 11%;
  width: 33%;
  padding: 2.6cqi 2.8cqi;
}
.float2.sales .fl-num {
  font-size: 1.75em;
}
.float2.code {
  right: 4%;
  bottom: 9%;
  width: 52%;
  display: flex;
  align-items: center;
  gap: 0.8em;
  padding: 2.4cqi 2.6cqi;
}
.mono {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
}
.checks {
  display: grid;
  gap: 28px 32px;
  margin-top: clamp(56px, 6vw, 80px);
  padding: clamp(28px, 4vw, 44px) 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.c-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--folha-soft);
  color: var(--mata);
}
.c-ico .icon {
  width: 22px;
  height: 22px;
}
.checks h3 {
  font-size: 1.0625rem;
}
.checks p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.96875rem;
}
@media (min-width: 640px) {
  .checks {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .money-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .money-visual {
    order: -1;
    justify-self: start;
  }
  .checks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Compatibilidade ---------- */
.compat {
  display: grid;
  gap: 40px;
  align-items: center;
}
.compat-copy h2 {
  margin-top: 14px;
  font-size: clamp(1.875rem, 1.25rem + 2.3vw, 2.75rem);
}
.compat-copy > p:not(.eyebrow) {
  margin-top: 18px;
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}
.compat-copy > p.compat-more {
  color: var(--text);
  font-weight: 600;
}
.compat-more a,
.faq-head a,
.contact-client a {
  color: var(--folha-ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.compat-more a:hover,
.faq-head a:hover,
.contact-client a:hover {
  color: var(--mata);
}
.vendors {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}
.vendor {
  padding: 22px 22px 24px;
  border: 1px solid rgba(13, 59, 46, 0.08);
  border-radius: var(--r-card);
  background: var(--surface);
}
.vendor.is-live {
  border-color: var(--folha);
  box-shadow: 0 0 0 3px rgba(47, 179, 107, 0.14);
}
.vendor-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}
.vendor-name {
  font-family: var(--display);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}
.vendor p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9375rem;
}
@media (min-width: 520px) {
  .vendors {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .compat {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 72px;
  }
}

/* Selos de status (texto, sem logotipos de terceiros) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.badge .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.6;
}
.badge-live {
  background: var(--folha-soft);
  color: var(--folha-ink);
}
.badge-soon {
  background: #edf1ee;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--border);
}
.badge-live-dark {
  background: rgba(47, 179, 107, 0.16);
  color: var(--folha-light);
}

/* ---------- Integrações ---------- */
.integrations {
  display: grid;
  gap: 16px;
}
.int {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.int-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.int-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--folha-soft);
  color: var(--mata);
}
.int-name {
  margin-top: 22px;
  font-size: 1.25rem;
}
.int p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.96875rem;
}
.int-feature {
  position: relative;
  overflow: hidden;
  border-color: var(--mata);
  background: var(--mata);
  color: #fff;
}
.int-feature::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 380px;
  height: 380px;
  border: 1.5px solid rgba(47, 179, 107, 0.14);
  border-radius: 50%;
  pointer-events: none;
}
.int-feature .int-ico {
  background: var(--folha);
  color: var(--mata-2);
}
.int-feature .int-name {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
}
.int-feature .int-kicker {
  margin-top: 6px;
  color: var(--folha);
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 600;
}
.int-feature p:not(.int-kicker) {
  max-width: 40em;
  margin-top: 12px;
  color: var(--on-dark-muted);
  font-size: 1rem;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding: 22px 0 0;
  list-style: none;
}
.tags li {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 99px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
}
.tags-light li {
  border-color: var(--border);
  background: var(--bg);
  color: var(--mata);
  font-size: 0.8125rem;
}
@media (min-width: 720px) {
  .integrations {
    grid-template-columns: 1fr 1fr;
  }
  .int-feature {
    grid-column: span 2;
  }
}
@media (min-width: 1024px) {
  .integrations {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Segurança (escuro) ---------- */
.sec-grid {
  display: grid;
  gap: 0 40px;
  padding: 0;
  list-style: none;
}
.sec-grid > li {
  padding: 28px 0 32px;
  border-top: 1px solid var(--line-dark);
}
.s-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(47, 179, 107, 0.16);
  color: var(--folha);
}
.sec-grid h3 {
  margin-top: 18px;
  font-size: 1.125rem;
  color: #fff;
}
.sec-grid p {
  margin-top: 8px;
  color: var(--on-dark-muted);
  font-size: 0.96875rem;
}
.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}
.roles li {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
}
@media (min-width: 720px) {
  .sec-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .sec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Dúvidas ---------- */
.faq {
  display: grid;
  gap: 36px;
}
.faq-head h2 {
  margin-top: 14px;
  font-size: clamp(1.875rem, 1.25rem + 2.3vw, 2.75rem);
}
.faq-head p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
}
.faq-list {
  padding: 4px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.faq-list details + details {
  border-top: 1px solid var(--border);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:hover {
  color: var(--mata);
}
.chev {
  width: 22px;
  height: 22px;
  color: var(--folha-ink);
  transition: transform 0.2s ease;
}
details[open] > summary .chev {
  transform: rotate(180deg);
}
.answer {
  padding: 0 0 24px;
  color: var(--muted);
}
.answer p + p,
.answer p + ul {
  margin-top: 12px;
}
.answer ul {
  display: grid;
  gap: 8px;
  padding-left: 1.2em;
}
.answer li::marker {
  color: var(--folha-ink);
}
.answer strong {
  color: var(--text);
}
.answer a {
  color: var(--folha-ink);
  font-weight: 700;
  text-underline-offset: 3px;
}
@media (min-width: 640px) {
  .faq-list {
    padding: 8px 32px;
  }
  .faq-list summary {
    font-size: 1.125rem;
    padding: 22px 0;
  }
}
@media (min-width: 1024px) {
  .faq {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
    gap: 64px;
    align-items: start;
  }
  .faq-head {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

/* ---------- Contato ---------- */
.section-contact {
  padding-top: 0;
}
.contact {
  display: grid;
  gap: 32px;
  padding: clamp(22px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: var(--folha-soft);
}
.contact-copy h2 {
  margin-top: 14px;
  font-size: clamp(1.875rem, 1.25rem + 2.3vw, 2.75rem);
}
.contact-copy > p:not(.eyebrow) {
  margin-top: 18px;
  max-width: 34em;
  color: var(--muted);
}
.contact-copy > p.contact-client {
  color: var(--text);
  font-weight: 600;
}
.contact-list {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 0;
  list-style: none;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 14px 20px 14px 14px;
  border: 1px solid rgba(13, 59, 46, 0.08);
  border-radius: var(--r-card);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.contact-link:hover {
  border-color: var(--mata);
  box-shadow: var(--shadow-md);
}
.cl-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--folha-soft);
  color: var(--mata);
}
.cl-txt {
  min-width: 0;
}
.cl-txt small {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}
.cl-txt b {
  display: block;
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 419px) {
  .contact-link {
    gap: 14px;
    padding-right: 16px;
  }
  .cl-txt b {
    font-size: 1.0625rem;
  }
}
.icon.cl-arrow {
  width: 20px;
  height: 20px;
  margin-left: auto;
  color: var(--muted);
  transition: transform 0.16s ease;
}
.contact-link:hover .cl-arrow {
  transform: translateX(3px);
}
.contact-link.is-primary {
  border-color: var(--mata);
  background: var(--mata);
  color: #fff;
}
.contact-link.is-primary .cl-ico {
  background: var(--folha);
  color: var(--mata-2);
}
.contact-link.is-primary small,
.contact-link.is-primary .cl-arrow {
  color: var(--on-dark-muted);
}
.contact-link.is-primary:hover {
  background: var(--mata-3);
}
@media (min-width: 1024px) {
  .contact {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
    align-items: center;
  }
}

/* ---------- Rodapé ---------- */
.site-footer {
  padding: clamp(56px, 7vw, 88px) 0 32px;
  background: var(--mata-2);
  color: var(--on-dark-muted);
  --focus: var(--folha);
}
.footer-grid {
  display: grid;
  gap: 40px 32px;
}
.footer-brand p {
  max-width: 26em;
  margin-top: 18px;
  font-size: 0.96875rem;
}
.footer-title {
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--folha);
}
.footer-col ul {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}
.footer-col a {
  display: inline-block;
  padding: 5px 0;
  color: #fff;
  font-size: 0.96875rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer-col a:hover {
  color: var(--folha-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-col a[aria-current="page"] {
  color: var(--folha-light);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.875rem;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: auto;
  }
}

/* ---------- Páginas legais ---------- */
.legal-hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--border);
}
.legal-hero h1 {
  margin-top: 14px;
  font-size: clamp(2.125rem, 1.5rem + 2.4vw, 3.25rem);
  letter-spacing: -0.03em;
}
.updated {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
}
.legal-hero .lead {
  max-width: 46em;
  margin-top: 18px;
}
.legal-grid {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 4vw, 56px) 0 clamp(72px, 9vw, 112px);
}
.toc {
  display: none;
}
.toc-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.toc ol,
.toc-mobile ol {
  display: grid;
  gap: 2px;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.toc ol {
  margin-top: 14px;
}
.toc li,
.toc-mobile li {
  counter-increment: toc;
}
.toc a,
.toc-mobile a {
  display: flex;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}
.toc a::before,
.toc-mobile a::before {
  content: counter(toc) ".";
  min-width: 1.4em;
  color: var(--folha-ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.toc a:hover,
.toc-mobile a:hover {
  background: rgba(13, 59, 46, 0.06);
  color: var(--text);
}
.toc-mobile details {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
}
.toc-mobile summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 18px;
  font-family: var(--display);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.toc-mobile summary::-webkit-details-marker {
  display: none;
}
.toc-mobile ol {
  padding: 0 8px 12px;
}
@media (min-width: 1024px) {
  .legal-grid {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 72px;
  }
  .toc {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 32px);
    align-self: start;
    max-height: calc(100vh - var(--header-h) - 64px);
    overflow-y: auto;
  }
  .toc-mobile {
    display: none;
  }
}
.prose {
  max-width: 46rem;
  min-width: 0;
}
.prose h2 {
  margin-top: 56px;
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  letter-spacing: -0.02em;
}
.prose h3 {
  margin-top: 30px;
  font-size: 1.125rem;
}
.prose p,
.prose ul,
.prose ol,
.prose .table-wrap {
  margin-top: 14px;
}
.prose h2 + p,
.prose h2 + ul,
.prose h2 + ol,
.prose h3 + p,
.prose h3 + ul {
  margin-top: 12px;
}
.prose ul,
.prose ol {
  display: grid;
  gap: 8px;
  padding-left: 1.3em;
}
.prose li::marker {
  color: var(--folha-ink);
  font-weight: 700;
}
.prose a {
  color: var(--folha-ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.prose a:hover {
  color: var(--mata);
}
.summary {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-card);
  background: var(--folha-soft);
}
.prose .summary-title {
  margin-top: 0;
  font-size: 1.125rem;
}
.summary ul {
  margin-top: 12px;
}
.summary li::marker {
  content: none;
}
.summary ul {
  padding-left: 0;
  list-style: none;
}
.summary li {
  position: relative;
  padding-left: 28px;
}
.summary li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.45em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--folha-ink);
  border-bottom: 2px solid var(--folha-ink);
  transform: rotate(-45deg);
}
.see-also {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96875rem;
}
.prose th,
.prose td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: #f6f9f7;
  color: var(--mata);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.prose td + td {
  color: var(--muted);
}
.prose tbody td {
  border-top: 1px solid var(--border);
}
@media (max-width: 639px) {
  .prose table,
  .prose tbody,
  .prose tr,
  .prose td {
    display: block;
  }
  .prose thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .prose tbody tr:first-child td:first-child {
    border-top: 0;
  }
  .prose tbody td + td {
    border-top: 0;
    padding-top: 0;
  }
  .prose td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
