/* ==========================================================================
   Turfe na Tablada — portal informativo (jcpelotas.br.com)
   Identidade mantida: bordô / ouro sobre fundo escuro, Oswald (títulos) + Rubik (texto),
   emblema da ferradura. Fontes auto-hospedadas: nenhuma requisição a terceiros.
   Componentes no modelo do portal de referência (hero com até 2 botões + nota,
   section-head, cards, tiles, estado vazio, callouts, legal/TOC, FAQ, passos,
   media-split, rodapé em colunas, menu <details> abaixo de 1024 px, skip-link).
   ========================================================================== */

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/oswald-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/rubik-latin.woff2") format("woff2");
}

/* ---- 1. Tokens ---------------------------------------------------------- */
:root {
  color-scheme: dark;

  /* Marca (paleta original do site) */
  --red:        #E11D3A;   /* vermelho vivo: só decorativo / texto grande (≥ 3:1) */
  --red-deep:   #5A0F1D;   /* bordô: seções de destaque */
  --red-deep-2: #3C0912;   /* bordô escuro: rodapé */
  --red-mid:    #4E0E19;
  --gold:       #FFC531;   /* ouro: acentos e texto sobre escuro (≥ 8:1) */
  --gold-2:     #E0A21A;
  --gold-light: #FFDA6E;
  --ink:        #2A0E06;   /* texto sobre ouro (11:1) */

  /* Superfícies (tema escuro quente) */
  --bg:        #100A0C;
  --bg-alt:    #180E12;
  --surface:   #1E1319;
  --surface-2: #271821;

  /* Texto (contraste medido sobre --bg / --surface / --red-deep) */
  --text:        #F6EDEA;  /* 17:1 · 15,7:1 · 12:1 */
  --text-muted:  #C7ADB2;  /* 9,4:1 · 8,6:1 · 6,6:1 */
  --text-soft:   #B49AA0;  /* 7,5:1 · 6,9:1 · 5,3:1 */

  /* Linhas */
  --hairline:        #33222A;
  --hairline-strong: #4A2F39;
  --hairline-gold:   rgba(255, 197, 49, .38);
  --border-ui:       #8C6F77;  /* bordas de controles: ≥ 3:1 sobre todos os fundos */

  /* Raios: botões e cartões 10–14 px (ТЗ) */
  --r-sm: 10px;
  --r:    12px;
  --r-lg: 14px;
  --r-pill: 999px;

  --sh-sm: 0 1px 3px rgba(0, 0, 0, .4);
  --sh:    0 6px 20px rgba(0, 0, 0, .45);
  --sh-lg: 0 18px 50px rgba(0, 0, 0, .55);

  /* Tipografia */
  --font-head: "Oswald", "Archivo Narrow", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Rubik", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --fs-sm:   .875rem;                                  /* 14 px: serviço, rodapé */
  --fs-base: 1.0625rem;                                /* 17 px */
  --fs-md:   1.125rem;                                 /* 18 px */
  --fs-lg:   1.3rem;
  --fs-xl:   clamp(1.35rem, 1.1rem + 1vw, 1.7rem);
  --fs-2xl:  clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);  /* H2: 28–40 px */
  --fs-3xl:  clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);  /* H1: 36–60 px */
  --lh: 1.62;

  /* Layout: contêiner 1200; margens 16 / 24 / 32–40 */
  --container: 1200px;
  --container-narrow: 800px;
  --gutter: clamp(1rem, 3.2vw, 2.5rem);
  --header-h: 72px;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur: .2s;
}

/* ---- 2. Base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh);
  color: var(--text);
  background: var(--bg);
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
.ic { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -.17em; flex: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .01em;
  color: var(--text);
  overflow-wrap: anywhere;
}
h1, h2 { text-transform: uppercase; letter-spacing: .015em; }
h1 { font-size: var(--fs-3xl); font-weight: 700; line-height: 1.08; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h1 .gold, h2 .gold { color: var(--gold); }
p { color: var(--text-muted); }
strong { color: var(--text); font-weight: 600; }
small { font-size: var(--fs-sm); }

.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1rem; }
.prose ul { display: grid; gap: .5rem; }
.prose ul li { position: relative; padding-left: 1.4rem; color: var(--text-muted); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.prose a:not(.btn), .legal-body a:not(.btn), .callout a, .faq a, .card p a:not(.btn), .estado-vazio a:not(.btn) {
  color: var(--gold); font-weight: 500; text-decoration: underline; text-underline-offset: 3px;
}
.prose a:not(.btn):hover, .legal-body a:not(.btn):hover, .card p a:not(.btn):hover { color: var(--gold-light); }

/* ---- 3. Layout ---------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--hairline); }
.section--accent {
  background:
    radial-gradient(90% 120% at 90% 0%, rgba(255, 197, 49, .08), transparent 60%),
    linear-gradient(120deg, var(--red-deep) 0%, var(--red-deep-2) 100%);
  border-block: 1px solid rgba(255, 197, 49, .25);
}
.section--accent p, .section--accent li { color: var(--text); }
.section--accent .prose ul li { color: var(--text); }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); } }

/* ---- 4. Cabeçalhos de seção --------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; flex: none; }
.section-head { max-width: 66ch; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head h2 { margin-top: .5rem; }
.section-head .lead { margin-top: .75rem; font-size: var(--fs-md); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .eyebrow { justify-content: center; }

/* ---- 5. Botões (altura ≥ 48 px; toque ≥ 44 px) -------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.4rem; max-width: 100%;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .05em; line-height: 1.25; text-align: center;
  border: 2px solid transparent; border-radius: var(--r-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn .ic { width: 18px; height: 18px; }
.btn--gold { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-light); box-shadow: 0 0 0 1px rgba(255, 197, 49, .35), 0 6px 22px rgba(255, 197, 49, .22); }
.btn--outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--ink); }
.btn--ghost { background: rgba(255, 255, 255, .05); color: var(--text); border-color: var(--border-ui); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(255, 197, 49, .06); }
.btn--lg { min-height: 52px; padding: .9rem 1.75rem; font-size: 1.05rem; }
.btn--sm { min-height: 44px; padding: .5rem 1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 480px) { .btn-row .btn { width: 100%; } }

/* ---- 6. Selos ------------------------------------------------------------ */
.badge-18 {
  display: inline-grid; place-items: center; flex: none;
  width: 2.25rem; height: 2.25rem; padding: 0; border-radius: 50%;
  background: var(--gold); color: var(--red-deep-2); border: 2px solid var(--red-deep-2);
  font-family: var(--font-head); font-weight: 700; font-size: .875rem; line-height: 1; letter-spacing: 0;
}
.badge {
  display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem;
  border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600;
  background: rgba(255, 197, 49, .12); color: var(--gold); border: 1px solid var(--hairline-gold);
}
.badge .ic { width: 15px; height: 15px; }

/* ---- 7. Cartões ---------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm); min-width: 0;
}
.card--pad { padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.card--heritage { position: relative; overflow: hidden; }
.card--heritage::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, var(--red) 10px 20px); opacity: .85;
}
.card h3 { font-size: var(--fs-lg); display: flex; align-items: center; gap: .5rem; }
.card h3 .ic { color: var(--gold); }
.card p { margin-top: .6rem; }
.section--accent .card { background: rgba(16, 10, 12, .55); border-color: rgba(255, 197, 49, .22); }

/* ---- 8. Cabeçalho do site ------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, #1C1016 0%, #150C10 100%);
  border-bottom: 2px solid var(--gold);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, .5); }
.header-bar { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; min-width: 0; color: var(--text); }
.brand__logo { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: .05em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.brand__name em { font-style: normal; color: var(--gold); }
.brand__tag { font-size: .875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: .25rem; }

.nav-main { display: none; align-items: center; gap: .15rem; margin-left: auto; }
.nav-main a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .8rem;
  border-radius: var(--r-sm); font-family: var(--font-head); font-size: 1rem; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; color: var(--text); white-space: nowrap;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-main a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-main a:hover { color: var(--gold-light); }
.nav-main a:hover::after, .nav-main a[aria-current="page"]::after { transform: scaleX(1); }
.nav-main a[aria-current="page"] { color: var(--gold-light); }

/* Menu móvel <details>: funciona sem JS, não é modal (sem focus trap). */
.nav-mobile { margin-left: auto; }
.nav-mobile > summary {
  list-style: none; display: inline-flex; align-items: center; gap: .45rem;
  min-height: 44px; min-width: 44px; padding: .45rem .8rem;
  border: 1px solid var(--border-ui); border-radius: var(--r-sm);
  font-family: var(--font-head); font-size: 1rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text); cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile > summary:hover { border-color: var(--gold); color: var(--gold-light); }
.nav-toggle .ic { width: 20px; height: 20px; }
.nav-toggle__close { display: none; }
.nav-mobile[open] .nav-toggle__open { display: none; }
.nav-mobile[open] .nav-toggle__close { display: inline-flex; }
.nav-mobile__panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 65;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  background: var(--surface); border-bottom: 2px solid var(--gold); box-shadow: var(--sh-lg);
  padding: .75rem var(--gutter) 1rem;
}
.nav-mobile__panel a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 48px; padding: .7rem .9rem; border-radius: var(--r-sm);
  font-size: var(--fs-base); font-weight: 500; color: var(--text);
}
.nav-mobile__panel a .ic { width: 18px; height: 18px; color: var(--gold); }
.nav-mobile__panel a:hover { background: var(--surface-2); color: var(--gold-light); }
.nav-mobile__panel a[aria-current="page"] { background: var(--surface-2); color: var(--gold-light); font-weight: 600; }
.nav-mobile__meta { margin-top: .75rem; padding: .75rem .9rem 0; border-top: 1px solid var(--hairline); font-size: var(--fs-sm); color: var(--text-soft); }
@media (max-width: 440px) { .nav-toggle__label { display: none; } .brand__tag { display: none; } }
@media (max-width: 359px) { .brand__name { font-size: 1.1rem; } .brand__logo { width: 40px; height: 40px; } }
@media (min-width: 1024px) {
  .nav-main { display: flex; }
  .nav-mobile { display: none; }
  :root { --header-h: 80px; }
}

/* ---- 9. Herói (página inicial) ------------------------------------------ */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--red-mid); color: var(--text); }
.hero__art { position: absolute; inset: 0; z-index: -3; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(100deg, rgba(60, 9, 18, .97) 0%, rgba(78, 14, 25, .9) 45%, rgba(90, 15, 29, .7) 75%, rgba(90, 15, 29, .6) 100%);
}
.hero__scrim::after {
  content: ""; position: absolute; inset: 0; opacity: .1;
  background: url("../img/hero-pattern.svg") 0 0 / 380px;
}
.hero__inner { position: relative; display: grid; gap: 2.5rem; align-items: center; padding-block: clamp(3rem, 8vw, 6rem); }
.hero__content { min-width: 0; }
.hero h1 { color: #fff; margin-top: .9rem; max-width: 16ch; text-shadow: 0 2px 20px rgba(0, 0, 0, .4); }
.hero__lead { margin-top: 1rem; max-width: 52ch; font-size: var(--fs-md); color: var(--text); }
.hero__cta { margin-top: 1.6rem; }
.hero__note { display: flex; align-items: flex-start; gap: .7rem; margin-top: 1.25rem; max-width: 56ch; font-size: var(--fs-sm); color: var(--text); }
.hero__note .badge-18 { margin-top: .05rem; }
.hero__panel {
  background: rgba(16, 8, 11, .72); border: 1px solid var(--hairline-gold); border-radius: var(--r-lg);
  padding: 1.5rem; backdrop-filter: blur(6px); min-width: 0;
}
.hero__panel h2 { font-size: var(--fs-lg); color: var(--gold); margin-bottom: .6rem; }
.hero__panel a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px;
  padding: .8rem .25rem; border-top: 1px solid rgba(246, 237, 234, .16); font-weight: 500; color: var(--text);
}
.hero__panel a:first-of-type { border-top: 0; }
.hero__panel a .ic { color: var(--gold); width: 18px; height: 18px; }
.hero__panel a:hover { color: var(--gold-light); }
.hero__panel small { display: block; margin-top: .75rem; color: var(--text-muted); }
@media (min-width: 900px) { .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

/* ---- 10. Cabeçalho de página interna ------------------------------------ */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--red-deep); }
.page-hero__art { position: absolute; inset: 0; z-index: -2; }
.page-hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.page-hero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(60, 9, 18, .97) 10%, rgba(78, 14, 25, .9) 55%, rgba(90, 15, 29, .75) 100%); }
.page-hero__scrim::after { content: ""; position: absolute; inset: 0; opacity: .08; background: url("../img/hero-pattern.svg") 0 0 / 380px; }
.page-hero__inner { padding-block: clamp(2rem, 5vw, 3.25rem) clamp(2.25rem, 5vw, 3.5rem); }
.page-hero h1 { max-width: 24ch; margin-top: .5rem; color: #fff; }
.page-hero__lead { max-width: 64ch; margin-top: .9rem; font-size: var(--fs-md); color: var(--text); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; padding-bottom: .9rem; font-size: var(--fs-sm); color: var(--text-muted); }
.breadcrumb a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb .sep { opacity: .6; }

/* ---- 11. Avisos ----------------------------------------------------------- */
.aviso-idade {
  display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.2rem;
  border-radius: var(--r); border: 1px solid var(--hairline-gold); background: rgba(255, 197, 49, .07);
  font-size: var(--fs-sm);
}
.aviso-idade p { color: var(--text); margin: 0; }
.aviso-externo { font-size: var(--fs-sm); color: var(--text-soft); margin-bottom: .5rem; }
.callout { display: flex; gap: .85rem; padding: 1.1rem 1.25rem; border-radius: var(--r); border: 1px solid var(--hairline-strong); background: var(--surface); font-size: var(--fs-sm); }
.callout .ic { width: 22px; height: 22px; flex: none; margin-top: .1rem; color: var(--gold); }
.callout p { color: var(--text-muted); margin: 0; }
.callout--warn { border-color: rgba(225, 29, 58, .55); background: rgba(225, 29, 58, .08); }
.callout--warn .ic { color: #FF7385; }

/* ---- 12. Estado vazio ---------------------------------------------------- */
.estado-vazio {
  display: grid; gap: .75rem; justify-items: start; padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-lg); border: 1px solid var(--hairline-strong); background: var(--surface); box-shadow: var(--sh-sm);
}
.estado-vazio > .ic { width: 32px; height: 32px; color: var(--gold); }
.estado-vazio h3 { font-size: var(--fs-lg); }
.estado-vazio p { max-width: 64ch; }
.estado-vazio .btn-row, .estado-vazio > .btn { margin-top: .35rem; }

/* ---- 13. Seções úteis (tiles) -------------------------------------------- */
.tiles { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.tile {
  position: relative; display: flex; flex-direction: column; gap: .6rem; min-width: 0; padding: 1.5rem;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); color: var(--text);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.tile:hover { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(255, 197, 49, .35), 0 6px 22px rgba(255, 197, 49, .16); }
.tile__ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--r); background: rgba(255, 197, 49, .1); color: var(--gold); }
.tile__ic .ic { width: 26px; height: 26px; }
.tile h3 { font-size: var(--fs-lg); }
.tile p { font-size: var(--fs-base); }
.tile__link { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; min-height: 32px; font-family: var(--font-head); font-size: .95rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }
.tile__link .ic { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.tile:hover .tile__link .ic { transform: translateX(4px); }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- 14. FAQ (details nativo) -------------------------------------------- */
.faq { display: grid; gap: .7rem; max-width: 80ch; }
.faq--center { margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--hairline-strong); border-radius: var(--r); }
.faq details[open] { border-color: var(--hairline-gold); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 48px; padding: 1rem 1.2rem; font-weight: 600; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: .2rem;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--gold-light); }
.faq details > div { padding: 0 1.2rem 1.1rem; }

/* ---- 15. Passos ------------------------------------------------------------ */
.steps { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); counter-reset: passo; }
.steps li { position: relative; min-width: 0; padding: 1.4rem 1.4rem 1.4rem 4.4rem; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); }
.steps li::before {
  counter-increment: passo; content: counter(passo); position: absolute; left: 1.4rem; top: 1.3rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--ink); font-family: var(--font-head); font-weight: 700;
}
.steps h3 { font-size: var(--fs-lg); }
.steps p { margin-top: .35rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- 16. Termos (definições) ---------------------------------------------- */
.termos { display: grid; gap: .25rem 2rem; margin-top: 1rem; }
.termos div { padding: .9rem 0; border-top: 1px solid var(--hairline-strong); min-width: 0; }
.termos dt { font-family: var(--font-head); font-size: var(--fs-md); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--gold); }
.termos dd { margin: .3rem 0 0; color: var(--text-muted); }
@media (min-width: 720px) { .termos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- 17. Páginas de texto (legal, guia) ------------------------------------ */
.legal { display: grid; gap: 2.5rem; }
@media (min-width: 980px) { .legal { grid-template-columns: 250px minmax(0, 1fr); align-items: start; } }
.legal-toc {
  position: sticky; top: calc(var(--header-h) + 1rem); padding: 1.25rem;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); font-size: var(--fs-sm);
}
@media (max-width: 979px) { .legal-toc { position: static; } }
.legal-toc h2 { font-family: var(--font-head); font-size: var(--fs-sm); letter-spacing: .14em; color: var(--gold); margin-bottom: .6rem; }
.legal-toc a { display: flex; align-items: center; min-height: 40px; padding: .35rem 0 .35rem .9rem; color: var(--text-muted); border-left: 2px solid var(--hairline-strong); }
.legal-toc a:hover { color: var(--gold-light); border-color: var(--gold); }
.legal-body { max-width: 72ch; min-width: 0; }
.legal-body h2 { font-size: var(--fs-xl); margin-top: 2.5rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body .legal-updated + h2 { margin-top: 1.5rem; }
.legal-body h3 { font-size: var(--fs-lg); margin-top: 1.5rem; color: var(--gold); }
.legal-body p, .legal-body li { color: var(--text-muted); }
.legal-body p { margin-top: .9rem; }
.legal-body ul, .legal-body ol { margin-top: .9rem; display: grid; gap: .5rem; }
.legal-body ul li { position: relative; padding-left: 1.4rem; }
.legal-body ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.legal-body ol { list-style: decimal; padding-left: 1.4rem; }
.legal-body .aviso-idade, .legal-body .callout, .legal-body .support-card, .legal-body .estado-vazio { margin-top: 1.5rem; }
.legal-body .grid { margin-top: 1rem; }
.legal-body .btn { margin-top: .25rem; }
.legal-updated { font-size: var(--fs-sm); color: var(--text-soft); }
.legal-id { margin-top: .9rem; padding: 1rem 1.2rem; border: 1px solid var(--hairline-gold); background: var(--surface); border-radius: var(--r); }
.legal-id p { margin: 0; color: var(--text); }
.legal-id p + p { margin-top: .3rem; }

/* ---- 18. Apoio ------------------------------------------------------------ */
.support-card { padding: 1.4rem; border-radius: var(--r-lg); border: 1px solid var(--hairline-gold); background: var(--surface); }
.support-card h3 { font-size: var(--fs-lg); display: flex; align-items: center; gap: .5rem; color: var(--text); margin: 0; }
.support-card h3 .ic { color: var(--gold); }
.support-card p { margin-top: .5rem; }
.support-card .btn { margin-top: .75rem; }

/* ---- 19. Foto + texto ----------------------------------------------------- */
.media-split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.media-split > * { min-width: 0; }
.foto { display: block; border-radius: var(--r-lg); overflow: hidden; border: 2px solid var(--gold); box-shadow: var(--sh-lg); aspect-ratio: 16 / 10; }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto-legenda { margin-top: .6rem; font-size: var(--fs-sm); color: var(--text-soft); }
@media (min-width: 900px) { .media-split { grid-template-columns: repeat(2, minmax(0, 1fr)); } .media-split--inv > figure { order: 2; } }

/* ---- 20. Linha do tempo e ficha ------------------------------------------- */
.timeline { display: grid; gap: 0; margin-top: 1rem; border-left: 2px solid var(--hairline-gold); }
.timeline__item { position: relative; padding: .2rem 0 1.2rem 1.4rem; }
.timeline__item::before { content: ""; position: absolute; left: -7px; top: .55rem; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.timeline__year { font-family: var(--font-head); font-size: var(--fs-md); font-weight: 600; letter-spacing: .04em; color: var(--gold); }
.timeline__item p { margin-top: .2rem; }
.ficha { display: grid; gap: 0; margin-top: .75rem; }
.ficha div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: .75rem; padding: .6rem 0; border-top: 1px solid var(--hairline-strong); }
.ficha dt { font-weight: 600; color: var(--text); font-size: var(--fs-sm); }
.ficha dd { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); overflow-wrap: anywhere; }
@media (max-width: 420px) { .ficha div { grid-template-columns: minmax(0, 1fr); gap: .1rem; } }
.emblema { width: 140px; height: 140px; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); }
.emblema img { width: 100%; height: 100%; object-fit: cover; }

/* ---- 21. Grandes prêmios e documentos ------------------------------------- */
.gp-card { display: flex; flex-direction: column; gap: .75rem; }
.gp-card .badge { align-self: flex-start; }
.doc-list { display: grid; gap: .75rem; }
.doc { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .25rem 1rem; align-items: start; padding: 1.1rem 1.25rem; border: 1px solid var(--hairline-strong); border-radius: var(--r-lg); background: var(--surface); }
.doc > .ic { width: 26px; height: 26px; color: var(--gold); grid-row: span 2; margin-top: .15rem; }
.doc h3 { font-size: var(--fs-md); text-transform: none; letter-spacing: .02em; }
.doc p { margin: 0; font-size: var(--fs-sm); }

/* ---- 21a. Programas publicados / resultados (details) --------------------- */
.programas { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.programa { overflow: hidden; }
.programa[open] { border-color: var(--hairline-gold); }
.programa__head { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem 1.25rem; align-items: center; padding: 1.1rem 1.25rem; }
.programa__head::-webkit-details-marker { display: none; }
.programa__head:hover { background: var(--surface-2); }
.programa__data { display: grid; place-items: center; min-width: 4.4rem; padding: .5rem .6rem; border-radius: var(--r-sm); background: var(--red-deep); color: var(--gold); text-align: center; line-height: 1.1; }
.programa__data b { font-family: var(--font-head); font-size: 1.6rem; color: #fff; }
.programa__data span { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .06em; }
.programa__info { min-width: 0; }
.programa__titulo { font-family: var(--font-head); font-size: var(--fs-lg); font-weight: 600; color: var(--text); }
.programa__meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .3rem; font-size: var(--fs-sm); color: var(--text-muted); }
.programa__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.programa__acao { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: .4rem; min-height: 32px; font-weight: 600; color: var(--gold); font-size: var(--fs-sm); }
.programa[open] .programa__acao .ic { transform: rotate(180deg); }
.programa__body { border-top: 1px solid var(--hairline); padding: 1rem 1.25rem 1.25rem; display: grid; gap: 1rem; }
.programa__fonte { font-size: var(--fs-sm); color: var(--text-soft); overflow-wrap: anywhere; }
.programa__fonte a { color: var(--gold); text-decoration: underline; }
@media (min-width: 720px) { .programa__head { grid-template-columns: auto minmax(0, 1fr) auto; } .programa__acao { grid-column: auto; } }
.table-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--hairline-strong); border-radius: var(--r); background: var(--bg-alt); }
table.data { min-width: 560px; font-size: var(--fs-sm); }
table.data caption { text-align: left; padding: .9rem 1rem .4rem; font-weight: 600; color: var(--text); }
table.data th, table.data td { padding: .75rem 1rem; border-top: 1px solid var(--hairline); text-align: left; vertical-align: top; color: var(--text-muted); }
table.data thead th { color: var(--gold); font-family: var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
table.data tbody th { color: var(--text); }

/* ---- 21b. Faixa de direções (promo) --------------------------------------- */
.direcoes { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; padding-block: 1rem; }
.direcoes a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem .7rem; border-radius: var(--r-sm); font-family: var(--font-head); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text); }
.direcoes a .ic { width: 18px; height: 18px; color: var(--gold); }
.direcoes a:hover { color: var(--gold-light); background: var(--surface); }

/* ---- 22. Erro / página removida ------------------------------------------- */
.erro { min-height: 52vh; display: grid; place-items: center; text-align: center; }
.erro .container { display: grid; gap: 1.25rem; place-items: center; }
.erro h1 { font-size: var(--fs-2xl); max-width: 24ch; }
.erro p { max-width: 56ch; }
.erro .btn-row { justify-content: center; }

/* ---- 23. Contato ----------------------------------------------------------- */
.contato-bloco h2 { font-size: var(--fs-xl); margin-top: .5rem; }
.contato-bloco p { margin-top: .75rem; }
.contato-bloco .btn { margin-top: 1rem; }

/* ---- 24. Rodapé (texto ≥ 14 px) ------------------------------------------- */
.site-footer { background: var(--red-deep-2); border-top: 4px solid var(--gold); color: var(--text); font-size: var(--fs-sm); padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem; }
.footer-top { display: grid; gap: 2rem clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1fr); }
.footer-brand { max-width: 40ch; }
.footer-brand p { margin-top: 1rem; color: var(--text); font-size: var(--fs-sm); }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
.footer-col { min-width: 0; }
.footer-col h3 { font-size: var(--fs-sm); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: .6rem; }
.footer-col > a { display: flex; align-items: center; min-height: 36px; font-size: var(--fs-sm); color: var(--text); }
.footer-col > a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-col p { font-size: var(--fs-sm); color: var(--text); margin-top: .35rem; overflow-wrap: anywhere; }
.footer-col p a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.footer-col--editor { grid-column: 1 / -1; }
.footer-bottom {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(246, 237, 234, .18);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between;
  font-size: var(--fs-sm); color: var(--text);
}
.footer-18 { display: flex; align-items: center; gap: .75rem; max-width: 70ch; }
.footer-18 p { color: var(--text); margin: 0; }
@media (min-width: 640px) { .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
@media (min-width: 1024px) { .footer-cols { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.4fr); } .footer-col--editor { grid-column: auto; } }
@media (max-width: 480px) { .footer-cols { grid-template-columns: minmax(0, 1fr); } }

/* ---- 25. Utilitários ------------------------------------------------------- */
.skip-link {
  position: absolute; left: 50%; top: -90px; transform: translateX(-50%); z-index: 100;
  background: var(--gold); color: var(--ink); padding: .75rem 1.2rem; border-radius: 0 0 var(--r) var(--r);
  font-weight: 700; transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 1.5rem; }
.center { text-align: center; }
section[id], [id^="reuniao-"] { scroll-margin-top: calc(var(--header-h) + 1rem); }
.to-top {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 55; width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--ink); box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.no-js .to-top { display: none; }

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