/* ==========================================================================
   WOWBet — folha de estilo única (pt-BR)
   Fundo claro · navy #2d3052 · acento único #8840fc
   Display: Sora · Texto: Inter
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Cores base da marca */
  --accent: #8840fc;
  --accent-strong: oklch(52% 0.235 296);
  --accent-deep: oklch(42% 0.2 296);
  --accent-soft: oklch(96.5% 0.026 300);
  --accent-line: oklch(88% 0.06 298);
  --navy: #2d3052;
  --navy-deep: oklch(23.5% 0.045 284);
  --navy-mid: oklch(31% 0.045 285);

  /* Superfícies */
  --bg: oklch(97.6% 0.006 288);
  --surface: #ffffff;
  --surface-2: oklch(95.2% 0.011 288);
  --surface-3: oklch(92.5% 0.016 288);

  /* Texto */
  --fg: #2d3052;
  --fg-soft: oklch(42% 0.035 286);
  --muted: oklch(50% 0.032 286);
  --on-dark: #ffffff;
  --on-dark-muted: oklch(80% 0.02 286);

  /* Linhas e sombras */
  --border: oklch(89.5% 0.012 288);
  --border-strong: oklch(82% 0.02 288);
  --ring: oklch(60% 0.19 296);
  --shadow-sm: 0 1px 2px oklch(30% 0.04 285 / 0.06), 0 1px 3px oklch(30% 0.04 285 / 0.05);
  --shadow-md: 0 10px 24px -12px oklch(30% 0.06 285 / 0.22), 0 2px 6px oklch(30% 0.04 285 / 0.06);
  --shadow-lg: 0 24px 60px -28px oklch(30% 0.09 288 / 0.35), 0 4px 12px oklch(30% 0.04 285 / 0.08);

  /* Estados */
  --ok: oklch(58% 0.15 155);
  --ok-soft: oklch(96% 0.03 155);
  --warn: oklch(66% 0.15 75);
  --danger: oklch(58% 0.19 22);
  --danger-soft: oklch(96% 0.03 22);

  /* Forma e ritmo */
  --radius-xs: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --container: 1180px;
  --gap: clamp(16px, 2.4vw, 28px);
  --section-y: clamp(40px, 6vw, 76px);
  --header-h: 68px;

  /* Tipografia */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  color-scheme: light;
}

/* 2. Reset e base ---------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
picture,
svg,
video { display: block; max-width: 100%; }

picture { display: block; }

img { height: auto; }

a { color: var(--accent-strong); text-decoration: none; }
a:hover { color: var(--accent-deep); text-decoration: underline; }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; }

hr { border: 0; border-top: 1px solid var(--border); margin: 28px 0; }

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 6px;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-xs) var(--radius-xs);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* 3. Tipografia ------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--fg);
  line-height: 1.16;
  letter-spacing: -0.015em;
  margin: 0 0 0.55em;
  text-wrap: balance;
  font-weight: 700;
}

h1 { font-size: clamp(29px, 4.2vw, 46px); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(23px, 2.7vw, 31px); margin-top: 0; }
h3 { font-size: clamp(19px, 1.9vw, 22px); font-weight: 600; }
h4 { font-size: 17px; font-weight: 600; }

p { margin: 0 0 1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--fg); }

.lead {
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.6;
  color: var(--fg-soft);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin: 0 0 12px;
  display: block;
}

.section-sub { color: var(--muted); max-width: 68ch; }

/* 4. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(28px, 4vw, 52px); }
.section--alt { background: var(--surface); border-block: 1px solid var(--border); }
.section--soft { background: var(--surface-2); }

.section-head { max-width: 74ch; margin-bottom: clamp(20px, 3vw, 34px); }
.section-head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-sidebar { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }

.stack > * + * { margin-top: 1.15em; }

/* 5. Botões ---------------------------------------------------------------- */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--navy);
  --btn-border: var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  --btn-bg: var(--accent);
  --btn-fg: #ffffff;
  --btn-border: var(--accent);
  box-shadow: 0 8px 20px -12px oklch(45% 0.2 296 / 0.85);
}
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.btn-primary:active { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-border: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--navy); color: var(--navy); }

.btn-quiet { --btn-bg: transparent; --btn-fg: var(--fg-soft); --btn-border: transparent; padding-inline: 12px; }
.btn-quiet:hover { background: var(--surface-2); color: var(--navy); }

.btn-dark { --btn-bg: var(--navy); --btn-fg: #fff; --btn-border: var(--navy); }
.btn-dark:hover { background: var(--navy-mid); border-color: var(--navy-mid); color: #fff; }

.btn-on-dark { --btn-bg: oklch(100% 0 0 / 0.1); --btn-fg: #fff; --btn-border: oklch(100% 0 0 / 0.32); }
.btn-on-dark:hover { background: oklch(100% 0 0 / 0.2); border-color: #fff; color: #fff; }

.btn-lg { min-height: 54px; padding: 15px 28px; font-size: 17px; }
.btn-sm { min-height: 40px; padding: 8px 15px; font-size: 14.5px; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* 6. Cabeçalho e navegação ------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: oklch(100% 0 0 / 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: clamp(126px, 16vw, 158px); height: auto; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.brand-name span { color: var(--accent-strong); }

.main-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list li { margin: 0; }
.nav-list a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-xs);
  color: var(--fg-soft);
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav-list a:hover { background: var(--surface-2); color: var(--navy); text-decoration: none; }
.nav-list a[aria-current="page"] { color: var(--accent-strong); background: var(--accent-soft); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 19px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.burger span { top: 50%; margin-top: -1px; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }
.burger:hover { background: var(--surface-2); }

/* 7. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle at center, oklch(88% 0.09 300 / 0.55), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(oklch(70% 0.03 288 / 0.3) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(120deg, #000 0%, transparent 55%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(34px, 5vw, 68px);
}

.hero-copy h1 { margin-bottom: 0.4em; }
.hero-copy .lead { margin-bottom: 1.3em; max-width: 56ch; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  margin-bottom: 20px;
  list-style: none;
  padding-left: 18px;
}
.hero-facts li { margin: 0; font-size: 14.5px; color: var(--muted); display: flex; align-items: baseline; gap: 8px; }
.hero-facts b { font-family: var(--font-display); font-size: 17px; color: var(--navy); font-weight: 700; }

.hero-visual { position: relative; max-width: max-content; margin: 0 auto; }
.hero-visual img {
  margin-inline: auto;
  max-height: min(72vh, 620px);
  width: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero-badge {
  position: absolute;
  left: 0;
  bottom: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  max-width: 250px;
}
.hero-badge b { display: block; font-family: var(--font-display); color: var(--navy); font-size: 15px; }
.hero-badge span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }

.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(26px, 3.6vw, 46px) clamp(22px, 3vw, 36px);
}
.page-hero h1 { max-width: 30ch; margin-bottom: 0.35em; }
.page-hero .lead { max-width: 68ch; }

/* 8. Breadcrumbs ----------------------------------------------------------- */
.breadcrumbs { padding-block: 14px; font-size: 14px; }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 7px; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; color: var(--border-strong); font-size: 16px; line-height: 1; }
.breadcrumbs a { color: var(--fg-soft); }
.breadcrumbs a:hover { color: var(--accent-strong); }
.breadcrumbs [aria-current="page"] { color: var(--muted); }

/* 9. Prosa / conteúdo ------------------------------------------------------ */
.prose { max-width: 76ch; }
.prose h2 { margin-top: 1.7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose > p, .prose > ul, .prose > ol { max-width: 74ch; }
.prose figure { margin: 0 0 1.6em; }

.figure {
  margin: 0 0 1.5em;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.figure img { width: 100%; height: auto; }
.img-link { display: block; position: relative; }
.img-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 var(--accent);
  transition: box-shadow 0.18s ease;
  pointer-events: none;
}
.img-link:hover::after { box-shadow: inset 0 0 0 3px var(--accent); }
.hero-visual .img-link { border-radius: var(--radius-lg); }
.figure figcaption {
  font-size: 13.5px;
  color: var(--muted);
  padding: 11px 15px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}

.callout {
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 0 0 1.6em;
}
.callout strong { color: var(--accent-deep); }
.callout--note { border-color: var(--border-strong); background: var(--surface-2); }
.callout--warn { border-color: oklch(84% 0.09 75); background: oklch(97% 0.035 80); }

/* 10. Table of Contents ---------------------------------------------------- */
.toc {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin: 0 0 2em;
  box-shadow: var(--shadow-sm);
}
.toc > summary {
  cursor: pointer;
  padding: 15px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  min-height: 52px;
}
.toc > summary::-webkit-details-marker { display: none; }
.toc > summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent-strong);
  border-bottom: 2px solid var(--accent-strong);
  transform: rotate(45deg);
  margin-left: auto;
  transition: transform 0.18s ease;
  flex: none;
}
.toc[open] > summary::after { transform: rotate(-135deg); }
.toc > summary:hover { background: var(--surface-2); border-radius: var(--radius) var(--radius) 0 0; }
.toc-icon {
  width: 22px; height: 22px; flex: none;
  border-radius: 6px; background: var(--accent-soft);
  display: grid; place-items: center;
  font-size: 12px; color: var(--accent-deep); font-weight: 700;
}
.toc-body { padding: 4px 18px 18px; border-top: 1px solid var(--border); }
.toc-body ol {
  columns: 2;
  column-gap: 32px;
  margin: 14px 0 0;
  padding-left: 1.1em;
  font-size: 15.5px;
}
.toc-body li { break-inside: avoid; margin-bottom: 0.5em; }
.toc-body a { color: var(--fg-soft); }
.toc-body a:hover { color: var(--accent-strong); }

/* 11. Tabelas -------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin: 0 0 1.6em;
  box-shadow: var(--shadow-sm);
}
.table-wrap:focus-within { border-color: var(--border-strong); }
.table-scroll-hint {
  font-size: 13px;
  color: var(--muted);
  margin: -1.1em 0 1.4em;
  display: none;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 15.5px;
}
caption {
  caption-side: top;
  text-align: left;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
th, td {
  padding: 12px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
thead th {
  background: var(--surface-2);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg-soft);
  white-space: nowrap;
}
tbody tr:last-child th,
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: oklch(97% 0.012 296); }
td strong { color: var(--navy); }

/* 12. Listas e passos ------------------------------------------------------ */
.list-check { list-style: none; padding-left: 0; }
.list-check li { position: relative; padding-left: 30px; margin-bottom: 0.6em; }
.list-check li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.list-check li::after {
  content: "";
  position: absolute;
  left: 4.5px; top: 0.62em;
  width: 8px; height: 4px;
  border-left: 2px solid var(--accent-deep);
  border-bottom: 2px solid var(--accent-deep);
  transform: rotate(-45deg);
}
.list-plain { list-style: none; padding-left: 0; }
.list-plain li { padding-left: 18px; position: relative; }
.list-plain li::before {
  content: "";
  position: absolute; left: 0; top: 0.66em;
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--accent);
}

.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li {
  position: relative;
  padding-left: 50px;
  margin-bottom: 1.05em;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -1px;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  display: grid; place-items: center;
}
.steps li b { display: block; font-family: var(--font-display); color: var(--navy); }

/* 13. Cards ---------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(18px, 2.2vw, 24px);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.card h3 { margin-bottom: 0.45em; }
.card p { color: var(--fg-soft); font-size: 15.5px; margin-bottom: 0; }

.card--link:hover { border-color: var(--accent-line); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.feature-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-deep);
  display: grid; place-items: center;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--surface);
  padding: 18px 20px;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.stat span { font-size: 14px; color: var(--muted); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-deep);
  font-size: 13.5px;
  font-weight: 600;
}
.pill--ok { background: var(--ok-soft); border-color: oklch(85% 0.07 155); color: oklch(40% 0.12 155); }
.pill--neutral { background: var(--surface-2); border-color: var(--border-strong); color: var(--fg-soft); }

/* 14. CTA (banda de conversão) -------------------------------------------- */
.cta-band {
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 40px);
  color: var(--on-dark);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(58% 0.2 296 / 0.4), transparent 65%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 0.35em; }
.cta-band p { color: var(--on-dark-muted); margin: 0; max-width: 60ch; }

/* 15. FAQ ------------------------------------------------------------------ */
.faq { border-top: 1px solid var(--border); }
.faq details {
  border-bottom: 1px solid var(--border);
  background: transparent;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 44px 18px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17.5px;
  color: var(--navy);
  position: relative;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 24px;
  width: 10px; height: 10px;
  border-right: 2px solid var(--accent-strong);
  border-bottom: 2px solid var(--accent-strong);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--accent-strong); }
.faq .faq-answer { padding: 0 44px 20px 0; color: var(--fg-soft); }
.faq .faq-answer p:last-child { margin-bottom: 0; }

/* 16. Autor ---------------------------------------------------------------- */
.author-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 26px);
  box-shadow: var(--shadow-sm);
  margin-bottom: clamp(24px, 3vw, 40px);
}
.author-avatar {
  flex: none;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  border: 3px solid var(--accent-line);
}
.author-card h2, .author-card h3 { font-size: 19px; margin-bottom: 0.15em; }
.author-role { font-size: 14px; color: var(--accent-strong); font-weight: 600; margin: 0 0 10px; }
.author-card p { font-size: 15.5px; color: var(--fg-soft); margin-bottom: 0.6em; }
.author-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.author-meta span { font-size: 13px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 4px 11px; }

/* 17. Rodapé --------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--on-dark-muted);
  margin-top: clamp(40px, 6vw, 72px);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
  padding-block: clamp(36px, 4.6vw, 60px);
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand img { width: clamp(130px, 15vw, 168px); }
.footer-brand p { font-size: 15px; line-height: 1.65; max-width: 42ch; }

.site-footer h3 {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1em;
  font-weight: 600;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6em; }
.footer-links a { color: var(--on-dark-muted); font-size: 15px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-badges a {
  display: block;
  background: oklch(100% 0 0 / 0.06);
  border: 1px solid oklch(100% 0 0 / 0.16);
  border-radius: var(--radius-xs);
  padding: 8px;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}
.footer-badges a:hover { background: oklch(100% 0 0 / 0.14); border-color: oklch(100% 0 0 / 0.4); }
.footer-badges img { width: 74px; height: 40px; object-fit: contain; }

/* Selos de confiança (espaços reservados para as imagens oficiais) */
.seal {
  display: grid;
  place-items: center;
  text-align: center;
  min-width: 92px;
  min-height: 46px;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  background: oklch(100% 0 0 / 0.06);
  border: 1px dashed oklch(100% 0 0 / 0.28);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.seal:hover { background: oklch(100% 0 0 / 0.14); border-color: oklch(100% 0 0 / 0.55); color: #fff; text-decoration: none; }

.pay-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pay-list li {
  background: oklch(100% 0 0 / 0.06);
  border: 1px solid oklch(100% 0 0 / 0.16);
  border-radius: var(--radius-xs);
  padding: 8px 14px;
  font-size: 13.5px;
  color: #fff;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid oklch(100% 0 0 / 0.12);
  padding-block: 22px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 13.5px; margin: 0; max-width: 78ch; }

.age-badge {
  flex: none;
  padding: 6px 16px;
  border-radius: 16px;
  border: 2px solid oklch(100% 0 0 / 0.45);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  text-align: center;
}
.age-badge small { display: block; font-size: 8.5px; font-weight: 600; letter-spacing: 0.06em; }

.footer-rate {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #fff;
}
.stars { display: inline-flex; gap: 3px; }
.stars i {
  width: 14px; height: 14px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.stars i.is-empty { background: oklch(100% 0 0 / 0.28); }

/* 18. Dock / modal de CTA -------------------------------------------------- */
.cta-dock {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 14px;
  transform: translate(-50%, 140%);
  width: min(420px, calc(100% - 24px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  transition: transform 0.28s cubic-bezier(0.22, 0.9, 0.3, 1);
  visibility: hidden;
}
.cta-dock.is-visible { transform: translate(-50%, 0); visibility: visible; }
.cta-dock-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-right: 30px;
}
.cta-dock-head b { font-family: var(--font-display); font-size: 15px; color: var(--navy); }
.cta-dock-head span { font-size: 12.5px; color: var(--muted); display: block; }
.cta-dock-close {
  position: absolute;
  right: 10px; top: 10px;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--fg-soft);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  display: grid; place-items: center;
  padding: 0;
}
.cta-dock-close:hover { background: var(--surface-3); color: var(--navy); }
.cta-dock-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cta-dock-note { font-size: 11.5px; color: var(--muted); margin: 10px 0 0; text-align: center; line-height: 1.4; }

.dock-tab {
  position: fixed;
  z-index: 89;
  right: 16px; bottom: 16px;
  height: 46px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: none;
}
.dock-tab:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.dock-tab.is-visible { display: inline-flex; align-items: center; gap: 8px; }

/* 19. Aviso legal ---------------------------------------------------------- */
.legal-note {
  font-size: 14px;
  color: var(--muted);
  border-left: 3px solid var(--border-strong);
  padding: 4px 0 4px 16px;
  margin: 0 0 1.4em;
}
.policy-body h2 { margin-top: 1.9em; }
.policy-body h3 { margin-top: 1.4em; }
.policy-body ul, .policy-body ol { max-width: 74ch; }
.policy-meta { font-size: 14px; color: var(--muted); margin-bottom: 1.6em; }

/* 20. Utilitários ---------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 1.1em; }
.mt-4 { margin-top: 1.8em; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* 21. Responsivo ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid-sidebar { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero::before { width: 520px; height: 520px; }

   .burger { display: block; }
  .header-cta .btn-ghost { display: none; }
  .header-inner { gap: 12px; }
  .header-cta { margin-left: auto; }
  .main-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
    padding: 10px clamp(16px, 4vw, 32px) 18px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { padding: 13px 12px; border-radius: var(--radius-xs); font-size: 16px; }
  .nav-list a[aria-current="page"] { background: var(--accent-soft); }
  .site-header { position: sticky; }
}

@media (max-width: 980px) {
 
 
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .toc-body ol { columns: 1; }
  .table-scroll-hint { display: block; }
}

@media (max-width: 700px) {
  body { font-size: 16.5px; }
   .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual img { max-height: 420px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .grid-2, .grid-3, .grid-4, .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-facts { gap: 10px 18px; padding: 14px; }
  .hero-visual img { max-height: 360px; }
  .hero-badge { position: static; margin-top: 14px; max-width: none; }
  .author-card { flex-direction: column; gap: 14px; }
  .btn-row .btn { flex: 1 1 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Dock vira barra fixa na base da tela */
  .cta-dock {
    width: 100%;
    left: 0;
    bottom: 0;
    transform: translateY(140%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-left: 0; border-right: 0; border-bottom: 0;
    padding: 8px 14px calc(12px + env(safe-area-inset-bottom));
  }
  .cta-dock .btn {height:40px;padding:4px 8px;min-height: auto;}
  .cta-dock.is-visible { transform: translateY(0); }
  .cta-dock-head { display: none; }
  .cta-dock-note { display: none; }
  .cta-dock-actions { gap: 8px; }
  .dock-tab { right: 12px; bottom: 12px; }
}

@media (max-width: 420px) {
  .brand img { width: 116px; }
  .btn { padding-inline: 16px; font-size: 15px; }
  .btn-lg { font-size: 16px; padding: 14px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-header, .cta-dock, .dock-tab, .site-footer, .toc { display: none; }
  body { font-size: 12pt; color: #000; background: #fff; }
}

.payments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 10px;
  justify-content: space-between;
}
.payment-item img {
  display: block;
  box-shadow: none;
  margin: 0 !important;
  border-radius: 0;
  border: none;
  max-width: 70px;
  max-height: 30px;
}
.footer-icons {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  gap: 10px;
}
.footer-icons .pay-icon {
  display: flex;
  align-items: center;
}
.footer-icons .pay-icon span {
  width: 30px;
  height: 30px;
  margin-left: 5px;
  font-size: 12px;
  border-radius: 100%;
  border: 1px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-icons .pay-icon img {
  filter: brightness(100);
}
.main-title {
  display: flex;
  align-items: center;
}

.main-title .__right {
  margin-left: 60px;
  flex: 0 0 240px;
}
@media (max-width:800px) {
  .payments-grid {
    gap: 16px;
  }
  .payment-item img {
    max-width: 65px;
    max-height: 30px;
  }

  .table-wrap {
    overflow-x: scroll;
  }

      .main-title .__right {
    margin-left: 20px;
    flex: 0 0 220px;
  }
}
@media (max-width:639.98px) {
      .main-title {
    flex-direction: column;
  }

  .main-title .__right {
    margin-left: 0;
    flex: inherit;
  }
  .main-title .__right img {
    width: 300px !important;
  }
}