/* GCM Brasil · site · rodada 2 (ajustes): cor, foto e conteúdo */
:root {
  --bg: #ffffff;
  --surface: #f2f5fb;
  --ink: #0e1b33;
  --ink-2: #47557a;
  --line: #e1e7f2;
  /* azuis: só a família marinho (sem azul saturado) */
  --blue-100: #e9eef7;
  --blue-200: #c9d3e5;
  --royal: #1c3a7a;
  --royal-deep: #142d63;
  --navy: #0b1f4b;
  --navy-2: #132a5e;
  --navy-3: #071536;
  --on-dark: #ffffff;
  --on-dark-2: #c3cde2;
  /* dourado vivo metálico (rodada 3) só para destaques; botões seguem o sistema .btn-gold/.btn-blue/.btn-light (rodada 6) */
  --gold: #eba70b;
  --gold-hi: #fbc91f;
  --gold-ink: #7d5f1c;
  --gold-soft: #fbefcc;
  --gold-metal: linear-gradient(135deg, #ffe680 0%, #fbc91f 38%, #eba70b 72%, #f6be22 100%);
  --gold-tag: linear-gradient(135deg, #e89208 0%, #c57406 55%, #b0640a 100%);
  --green: #23744b;

  --r-card: 16px;
  --r-img: 14px;
  --r-btn: 10px;
  --r-tag: 7px;

  --shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 18px 40px -22px rgba(0, 0, 0, .32);
  --shadow-lg: 0 4px 10px rgba(0, 0, 0, .08), 0 30px 60px -30px rgba(0, 0, 0, .45);
  --ease: cubic-bezier(.16, 1, .3, 1);

  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 9vw, 128px);
  --header-h: 76px;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-body: 1.0625rem;
  --fs-sub: 1.0625rem;
  --fs-h4: 1.1875rem;
  --fs-h3: 1.3125rem;
  --fs-h2: clamp(2rem, 3.6vw, 3.125rem);
  --fs-h1: clamp(2.25rem, 4.4vw, 3.875rem);
  --fs-display: clamp(2.6rem, 5.4vw, 4.75rem);
  --fs-lead: 1.125rem; /* subtítulo de hero/abertura (maior que --fs-sub) */
}
@media (max-width: 767px) { :root { --gutter: 24px; } } /* margem lateral global no celular/tablet estreito (rodada 13, autorizada) */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Onest", system-ui, sans-serif; font-size: var(--fs-body); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  caret-color: var(--royal); scrollbar-color: var(--blue-200) transparent;
}
::selection { background: var(--gold-hi); color: var(--navy); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; color: var(--navy); }
h3, h4 { font-weight: 700; letter-spacing: -.02em; line-height: 1.22; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: rgba(11, 31, 75, .12); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--gold-hi); }
.num { font-variant-numeric: tabular-nums; }
.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; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.pt0 { padding-top: 0; }
.pb { padding-bottom: var(--section); }
.surface { background: var(--surface); }
.dark { background: var(--navy); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3 { color: var(--on-dark); }
.royal { background: var(--navy); color: #fff; }
.royal h2, .royal h3 { color: #fff; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--royal); color: #fff; padding: 10px 16px; border-radius: var(--r-btn); text-decoration: none; }
.skip:focus { top: 12px; }

/* Títulos de seção: grande, pesado, subtítulo curto e leve */
.h2 { font-size: var(--fs-h2); }
.caps { text-transform: uppercase; letter-spacing: -.015em; }
.sub { margin-top: 14px; font-size: var(--fs-sub); color: var(--ink-2); max-width: 54ch; line-height: 1.55; }
.dark .sub, .royal .sub { color: var(--on-dark-2); }
.royal .sub { color: #e2e7f0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.rule-gold { display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--gold-metal); margin-bottom: 20px; }

/* ---------- Faixa superior + cabeçalho ---------- */
.topbar { background: var(--navy); color: var(--on-dark-2); font-size: var(--fs-xs); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar strong { color: var(--gold-hi); font-weight: 600; }
.topbar .social { display: flex; gap: 14px; align-items: center; }
.topbar .social a { display: inline-grid; place-items: center; width: 28px; height: 28px; color: var(--on-dark-2); }
.topbar .social a:hover { color: #fff; }

/* Cabeçalho azul-marinho (rodada 4): logo com contorno branco, sem selo branco */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .1); transition: box-shadow .3s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .55); }
.site-header :focus-visible { outline-color: var(--gold-hi); }
.topbar { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; justify-self: start; }
/* contorno branco do próprio recorte do logo (equivale ao feMorphology da dobra A, só com CSS) */
.brand img { width: 54px; height: auto; filter: drop-shadow(1.3px 0 0 #fff) drop-shadow(-1.3px 0 0 #fff) drop-shadow(0 1.3px 0 #fff) drop-shadow(0 -1.3px 0 #fff) drop-shadow(0 3px 8px rgba(0, 0, 0, .28)); }
.brand-name { font-weight: 800; font-size: 1rem; line-height: 1.05; letter-spacing: -.02em; color: #fff; }
.brand-name small { display: block; font-weight: 700; font-size: .8125rem; letter-spacing: -.01em; color: var(--on-dark-2); }

.nav { position: relative; display: flex; align-items: center; gap: 2px; justify-self: center; }
.nav a { display: inline-flex; align-items: center; padding: 10px 14px; border-radius: var(--r-btn); font-size: var(--fs-sm); font-weight: 600; color: var(--on-dark-2); text-decoration: none; transition: color .2s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav-ink { position: absolute; left: 0; bottom: 0; height: 3px; width: 1px; background: var(--gold-metal); border-radius: 3px; transform-origin: left center; opacity: 0; transition: transform .45s var(--ease), opacity .25s var(--ease); pointer-events: none; }
.header-end { justify-self: end; display: flex; align-items: center; gap: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--r-btn); font-size: var(--fs-sm); font-weight: 700; line-height: 1.2; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease), filter .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn[disabled] { opacity: .85; cursor: progress; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: var(--fs-xs); }

/* ===== Sistema de botões (rodada 6, 01/11) — contrato para todas as páginas =====
   .btn-gold  = SÓ CTA do Congresso (inscrição, vaga, programação, patrocínio, XV). Botão 2 de botoes.html.
   .btn-gold--luz = variação do botão 10 (luz oval no topo), uso eventual.
   .btn-blue  = todo o resto, sobre fundo claro. Sem brilho.
   .btn-light = qualquer botão não-Congresso sobre fundo azul (hero, seções .dark/.royal, cabeçalho, rodapé).
   Uso: <a class="btn btn-gold">, <a class="btn btn-blue btn-sm">. Nunca .btn-blue sobre fundo azul. */
@property --t { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --h { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --x { syntax: "<number>"; inherits: false; initial-value: 50; }
@keyframes btn-luz { from { --t: -1; } to { --t: 1; } }
/* imagem 3x a largura, período 2x: 100% -> 0% desloca exatamente 1 período, o loop emenda sem salto */
@keyframes btn-fluxo { from { background-position: 100% 0; } to { background-position: 0% 0; } }
@keyframes btn-vai { from { --x: 6; } to { --x: 94; } }

/* glow atrás (rodada 9): opacidade ~metade, raio menor e pulso mais sutil; cores e degradê intactos */
.btn-gold { --o: .22; --o2: .17; --r: 22px; --sh: 240, 136, 0; --c1: #F08800; --c2: #FFA41A; --c3: #FFD04A;
  color: #fff; font-weight: 800;
  background: linear-gradient(90deg, var(--c1) 0%, var(--c2) 18%, var(--c3) 33.333%, var(--c2) 48.667%, var(--c1) 66.667%, var(--c2) 84.667%, var(--c3) 100%) 0 0 / 300% 100%;
  box-shadow: 0 calc(4px + var(--h) * 2px) calc(14px + var(--h) * 4px) rgba(var(--sh), calc(var(--o) + var(--t) * .025)),
              0 0 calc(var(--r) + var(--t) * 2px + var(--h) * 4px) rgba(255, 199, 44, calc(var(--o2) + var(--t) * .025));
  animation: btn-luz 6s ease-in-out infinite alternate, btn-fluxo 4.5s linear infinite;
  transition: transform .2s ease, --h .25s ease; }
.btn-gold--luz { --sh: 230, 131, 0;
  background: radial-gradient(ellipse 40% 70% at calc(var(--x) * 1%) 0%, rgba(255, 216, 90, .95), transparent), linear-gradient(180deg, #FFA526, #E68300);
  animation: btn-luz 6s ease-in-out infinite alternate, btn-vai 4.5s ease-in-out infinite alternate; }
.btn-gold:hover { transform: translateY(-2px); --h: 1; }
.btn-gold:active { transform: translateY(1px); }
.btn-gold:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
/* fundo escuro: glow mais aberto e foco amarelo claro */
:is(.dark, .royal, .site-header, .page-hero, .xv-hero, .xv-band, .next-ed, .xv-card, .tier.is-master, .site-footer, .numbers, .mobile-panel) .btn-gold { --o: .28; --o2: .22; --r: 28px; }
:is(.dark, .royal, .site-header, .page-hero, .xv-hero, .xv-band, .next-ed, .xv-card, .tier.is-master, .site-footer, .numbers, .mobile-panel) .btn-gold:focus-visible { outline-color: #FFE27A; }

.btn-blue { background: linear-gradient(135deg, #1B3F86 0%, #16336F 100%); color: #fff; box-shadow: 0 2px 6px -2px rgba(11, 31, 75, .25); }
.btn-blue:hover { background: linear-gradient(135deg, #22499A 0%, #1B3F86 100%); }
.btn-blue:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

.btn-light { background: linear-gradient(135deg, #F3F6FD 0%, #FFFFFF 100%); color: var(--navy); box-shadow: 0 2px 8px -3px rgba(0, 0, 0, .3); }
.btn-light:hover { background: linear-gradient(135deg, #E4EAF8 0%, #F6F8FD 100%); }
.btn-light:focus-visible { outline: 3px solid #FFE27A; outline-offset: 3px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: var(--r-btn); border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle[aria-expanded="true"] .i-menu, .menu-toggle:not([aria-expanded="true"]) .i-close { display: none; }
.mobile-panel { display: none; }

@media (max-width: 1020px) {
  .nav, .header-end .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-row { grid-template-columns: 1fr auto; height: 68px; }
  :root { --header-h: 68px; }
  .brand img { width: 46px; }
  .topbar .t-extra { display: none; }
  .mobile-panel { display: block; position: absolute; top: 100%; left: 0; right: 0; z-index: 39; max-height: calc(100dvh - var(--header-h)); overflow: auto; overscroll-behavior: contain; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 8px var(--gutter) calc(28px + env(safe-area-inset-bottom)); opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; }
  .mobile-panel.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .mobile-panel a.m-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; text-decoration: none; color: var(--on-dark-2); border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .mobile-panel a.m-link[aria-current="page"] { color: #fff; }
  .mobile-panel .btn { width: 100%; margin-top: 20px; }
}

/* ---------- Peças comuns ---------- */
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: var(--fs-xs); color: var(--ink-2); }
.meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.dark .meta { color: var(--on-dark-2); }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-tag); background: var(--blue-100); color: var(--royal-deep); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }
.tag-solid { background: var(--royal); color: #fff; }
/* texto de tag/selo sempre branco (rodada 9): dourado puxado para o âmbar para o branco ler */
.tag-gold { background: var(--gold-tag); color: #fff; }
.tag-dark { background: rgba(11, 27, 58, .78); color: #fff; }
.photo-tag { position: absolute; left: 14px; top: 14px; z-index: 2; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 700; color: var(--royal); text-decoration: none; }
.dark .link-arrow, .royal .link-arrow { color: var(--gold-hi); }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.photo { position: relative; border-radius: var(--r-img); overflow: hidden; background: var(--navy-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
a:hover .photo img, .photo-link:hover img { transform: scale(1.04); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* cabeçalho de página: faixa azul-escura com foto */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; padding-block: clamp(64px, 8vw, 112px) clamp(56px, 7vw, 96px); }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 21, 54, .97) 0%, rgba(11, 31, 75, .9) 42%, rgba(19, 42, 94, .55) 100%), radial-gradient(60% 80% at 85% 10%, rgba(28, 58, 122, .45), transparent 70%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold-metal); }
.page-hero h1 { color: #fff; font-size: var(--fs-display); text-transform: uppercase; letter-spacing: -.02em; max-width: 16ch; }
.page-hero .sub { color: var(--on-dark-2); font-size: 1.125rem; max-width: 52ch; margin-top: 18px; }
.crumbs { display: flex; gap: 8px; font-size: var(--fs-xs); color: var(--on-dark-2); margin-bottom: 22px; }
.crumbs a { color: #fff; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 20px 48px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-stats b { display: block; font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.hero-stats span { display: block; margin-top: 6px; font-size: var(--fs-sm); color: var(--on-dark-2); }

/* ---------- Home: destaque ---------- */
.lead { padding-block: clamp(28px, 4vw, 48px) clamp(56px, 7vw, 88px); }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.lead-main { position: relative; display: block; min-height: 560px; border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; background: var(--navy); }
.lead-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.lead-main:hover img { transform: scale(1.03); }
.lead-main::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 16, 42, 0) 25%, rgba(6, 16, 42, .62) 55%, rgba(6, 16, 42, .96) 100%); }
.lead-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3.4vw, 44px); }
.lead-main h1 { color: #fff; font-size: clamp(2rem, 3.7vw, 3.375rem); max-width: 20ch; margin-top: 16px; }
.lead-main .dek { margin-top: 16px; max-width: 54ch; color: #e4e8f0; font-size: var(--fs-sub); }
.lead-main .meta { margin-top: 18px; color: #cbd2e0; }
.lead-side { display: grid; grid-template-rows: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.side-story { display: grid; grid-template-columns: 42% 1fr; gap: 18px; align-items: center; text-decoration: none; padding: 12px; border-radius: var(--r-card); background: var(--surface); transition: background-color .25s var(--ease); }
.side-story:hover { background: var(--blue-100); }
.side-story .photo { aspect-ratio: 4 / 3.4; height: 100%; }
.side-story h2 { font-size: 1.125rem; line-height: 1.25; letter-spacing: -.02em; font-weight: 700; }
.side-story .meta { margin-top: 10px; }

/* ---------- Home: grade editorial ---------- */
.ed-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .9fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.card { display: grid; gap: 16px; align-content: start; text-decoration: none; }
.card .photo { aspect-ratio: 3 / 2; }
.card h3 { font-size: var(--fs-h3); }
.card .dek { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.55; }
.card:hover h3, .card:hover h4, .side-story:hover h2, .row-story:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--gold); }
.card-xl .photo { aspect-ratio: 4 / 3; }
.card-xl h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.03em; font-weight: 800; }
.ed-col { display: grid; gap: clamp(24px, 3vw, 36px); }
.ed-col .card .photo { aspect-ratio: 16 / 10; }
.ed-list h3.list-title { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: var(--navy); padding-bottom: 14px; border-bottom: 1px solid var(--navy); }
.ed-list ol { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.ed-list li { border-bottom: 1px solid var(--line); }
.ed-list li a { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 18px 0; text-decoration: none; counter-increment: n; }
.ed-list li a::before { content: counter(n); font-size: 1.5rem; font-weight: 800; line-height: 1; color: var(--royal); letter-spacing: -.03em; }
.ed-list strong { display: block; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.ed-list li a:hover strong { color: var(--royal); }
.ed-list .meta { margin-top: 6px; }

/* ---------- Faixa do XV ---------- */
.xv-band { position: relative; overflow: hidden; isolation: isolate; }
.xv-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 78% 30%, rgba(28, 58, 122, .55), transparent 70%), radial-gradient(40% 50% at 10% 100%, rgba(28, 58, 122, .3), transparent 70%); }
.xv-band .beam { position: absolute; z-index: -1; top: -20%; right: 34%; width: 3px; height: 140%; background: var(--gold-metal); transform: rotate(24deg); opacity: .55; }
.xv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.xv-grid h2 { font-size: clamp(2rem, 3.3vw, 3rem); text-transform: uppercase; letter-spacing: -.02em; line-height: 1.02; }
.xv-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip-fact { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--r-btn); border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); font-size: var(--fs-sm); font-weight: 600; color: #fff; }
.chip-fact svg { color: var(--gold-hi); }
.cd { display: flex; gap: 12px; margin-top: 32px; }
.cd div { min-width: 92px; padding: 14px 12px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); text-align: center; }
.cd b { display: block; font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #fff; }
.cd div:first-child b { color: var(--gold-hi); }
.cd span { display: block; margin-top: 6px; font-size: var(--fs-xs); color: var(--on-dark-2); }
.collage { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 520px; }
.collage .photo:first-child { grid-row: span 2; }
.collage .photo { box-shadow: var(--shadow-lg); }

/* ---------- Por tema ---------- */
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.topic h3.topic-title { display: flex; align-items: center; justify-content: space-between; font-size: 1.125rem; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; color: var(--navy); padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--royal); }
.topic h3.topic-title a { font-size: var(--fs-xs); text-transform: none; letter-spacing: 0; font-weight: 700; color: var(--royal); text-decoration: none; }
.topic .card h4 { font-size: 1.1875rem; }
.topic ul { list-style: none; margin: 18px 0 0; padding: 0; }
.topic li a { display: block; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; line-height: 1.35; }
.topic li a:hover { color: var(--royal); }
.topic li span { display: block; margin-top: 4px; font-size: var(--fs-xs); font-weight: 400; color: var(--ink-2); }

/* ---------- Números ---------- */
.numbers { position: relative; overflow: hidden; isolation: isolate; }
.numbers .bg { position: absolute; inset: 0 0 0 52%; z-index: -2; }
.numbers .bg img { width: 100%; height: 100%; object-fit: cover; }
.numbers::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 46%, rgba(11, 31, 75, .85) 62%, rgba(11, 31, 75, .4) 100%); }
.numbers-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 40px 56px; margin-top: 48px; }
.numbers-grid b { display: block; font-size: clamp(2.75rem, 4.6vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.numbers-grid span { display: block; margin-top: 10px; padding-top: 12px; border-top: 2px solid rgba(255, 255, 255, .3); font-size: var(--fs-sm); color: #e2e7f0; line-height: 1.4; }
.numbers .h2 { max-width: 14ch; }

/* ---------- Galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--r-img); overflow: hidden; background: var(--navy-2); }
.gallery figure.g-wide { grid-column: span 2; }
.gallery figure.g-tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 36px 16px 14px; font-size: var(--fs-xs); font-weight: 600; color: #fff; background: linear-gradient(180deg, transparent, rgba(6, 16, 42, .88)); }

/* ---------- Parceiros ---------- */
.partners { display: grid; grid-template-columns: 220px 1fr; gap: 24px 48px; align-items: center; padding-block: 28px; border-top: 1px solid var(--line); }
.partners:last-child { border-bottom: 1px solid var(--line); }
.partners h3 { font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0; }
.logos { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.logos li { display: inline-flex; align-items: center; gap: 10px; height: 64px; padding: 0 22px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 800; letter-spacing: -.02em; color: var(--navy); font-size: 1.0625rem; }
.logos li svg { color: var(--royal); }
.logos li.is-real img { height: 40px; width: auto; }
.logos li small { display: block; font-size: .6875rem; font-weight: 600; letter-spacing: .08em; color: var(--ink-2); text-transform: uppercase; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-3); color: var(--on-dark-2); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold-metal); }
.newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 56px; align-items: center; padding-block: clamp(48px, 6vw, 72px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.newsletter h2 { color: #fff; font-size: clamp(1.75rem, 2.8vw, 2.375rem); }
.newsletter .sub { color: var(--on-dark-2); }
.nl-form { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-form label { flex: 1 1 260px; }
.nl-form input { width: 100%; height: 52px; padding: 0 16px; border-radius: var(--r-btn); border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: 1rem; }
.nl-form input::placeholder { color: #a9b3c8; }
.nl-form input:focus { outline: 0; border-color: var(--gold-hi); box-shadow: 0 0 0 3px rgba(247, 201, 72, .3); }
.nl-form .btn { min-height: 52px; }
.nl-msg { flex-basis: 100%; min-height: 1.4em; font-size: var(--fs-xs); color: var(--gold-hi); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-block: 56px 40px; }
.footer-brand .logo-chip { display: inline-grid; place-items: center; width: 84px; height: 64px; border-radius: 12px; background: #fff; }
.footer-brand .logo-chip img { width: 64px; }
.footer-brand p { margin-top: 18px; font-size: var(--fs-sm); line-height: 1.6; max-width: 34ch; }
.footer-brand strong { color: #fff; }
.site-footer h3 { font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--fs-sm); }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-btn); border: 1px solid rgba(255, 255, 255, .18); color: #fff; }
.footer-social a:hover { border-color: var(--gold-hi); text-decoration: none; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--fs-xs); }

/* botão flutuante de WhatsApp (injetado pelo site.js) */
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 35; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .55); animation: wa-pulse 2.4s ease-in-out infinite; }
.wa-float:hover { animation-play-state: paused; }
.wa-float:focus-visible { outline-color: var(--navy); }
@keyframes wa-pulse { 50% { transform: scale(1.08); } }

.proto-badge { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; padding: 6px 10px; border-radius: var(--r-tag); background: rgba(255, 255, 255, .95); font-size: .75rem; color: var(--ink-2); box-shadow: var(--shadow); margin: 0; }

/* ---------- Notícias ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; text-decoration: none; }
.feature .photo { aspect-ratio: 16 / 10; box-shadow: var(--shadow-lg); }
.feature h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); margin-top: 18px; }
.feature .dek { margin-top: 16px; font-size: var(--fs-sub); color: var(--ink-2); max-width: 48ch; }
.feature .meta { margin-top: 20px; }
.feature:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--gold); }
.toolbar { position: sticky; top: var(--header-h); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-block: 16px; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 40px; padding: 0 16px; border-radius: var(--r-btn); border: 1px solid var(--line); background: #fff; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.chip:hover { color: var(--royal); border-color: var(--blue-200); }
.chip[aria-pressed="true"] { color: #fff; background: var(--navy); border-color: var(--navy); }
.search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; width: min(100%, 300px); border: 1px solid var(--blue-200); border-radius: var(--r-btn); background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.search:focus-within { border-color: var(--royal); box-shadow: 0 0 0 3px var(--blue-100); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: var(--fs-sm); color: var(--ink); background: none; }
.search input::placeholder { color: #5a6888; }
.search svg { color: var(--ink-2); flex: none; }
.news-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px clamp(24px, 3vw, 40px); }
.news-item[hidden] { display: none; }
.news-item .card h3 { font-size: 1.25rem; }
.empty { padding: 64px 0; color: var(--ink-2); }
.empty button { margin-top: 12px; }
.more-row { display: flex; justify-content: center; padding-top: 56px; }

.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-100); color: var(--royal-deep); font-weight: 800; font-size: var(--fs-sm); flex: none; }
.dark .avatar { background: var(--gold-tag); color: #fff; }

/* ---------- Notícia ---------- */
.article-head { padding-top: clamp(32px, 4vw, 56px); }
.article-head .crumbs { color: var(--ink-2); }
.article-head .crumbs a { color: var(--royal); }
.article-head h1 { font-size: clamp(2.25rem, 4.4vw, 3.875rem); max-width: 22ch; margin-top: 16px; }
.article-head .dek { margin-top: 20px; font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-block: 18px; border-block: 1px solid var(--line); }
.author { display: flex; gap: 12px; align-items: center; font-size: var(--fs-sm); }
.author strong { display: block; font-weight: 700; color: var(--ink); }
.author span { color: var(--ink-2); }
.share { display: flex; gap: 8px; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: var(--r-btn); border: 1px solid var(--line); background: #fff; color: var(--royal); cursor: pointer; text-decoration: none; transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.icon-btn:hover { border-color: var(--royal); background: var(--royal); color: #fff; }
.share-msg { min-height: 1.4em; font-size: var(--fs-xs); color: var(--green); }
.article-hero { margin-block: 32px 0; }
.article-hero .photo { aspect-ratio: 21 / 9; }
figcaption { margin-top: 10px; font-size: var(--fs-xs); color: var(--ink-2); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 88px); padding-top: 48px; padding-bottom: var(--section); }
.prose { max-width: 68ch; font-size: 1.125rem; line-height: 1.7; }
.prose > p { margin-bottom: 1.35em; }
.prose > p:first-child::first-letter { float: left; font-size: 4.2em; line-height: .82; font-weight: 800; color: var(--royal); margin: .06em .1em 0 0; }
.prose h2 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); margin: 2em 0 .7em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose figure { margin: 2.2em 0; }
.prose figure .photo { aspect-ratio: 16 / 9; }
.prose blockquote { margin: 2.2em 0; padding: 32px 32px 28px; border-radius: var(--r-card); background: var(--navy); color: #fff; font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.38; position: relative; }
.prose blockquote::before { content: ""; display: block; width: 48px; height: 3px; border-radius: 3px; background: var(--gold-metal); margin-bottom: 18px; }
.prose blockquote cite { display: block; margin-top: 14px; font-size: var(--fs-sm); font-style: normal; font-weight: 400; letter-spacing: 0; color: var(--on-dark-2); }
.keypoints { margin: 2em 0; padding: 28px; border-radius: var(--r-card); background: var(--blue-100); }
.keypoints h3 { font-size: 1.125rem; color: var(--navy); margin-bottom: 14px; }
.keypoints ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 1.0625rem; }
.keypoints li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.keypoints li svg { margin-top: 5px; color: var(--royal); }
.prose-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 420px; margin-top: 12px; }
.prose-gallery .photo:first-child { grid-row: span 2; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags a { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: var(--r-tag); border: 1px solid var(--blue-200); font-size: var(--fs-xs); font-weight: 600; color: var(--royal-deep); text-decoration: none; }
.tags a:hover { background: var(--royal); color: #fff; border-color: var(--royal); }

.aside { display: flex; flex-direction: column; gap: 36px; font-size: var(--fs-sm); }
.aside h2 { font-size: .875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--navy); }
.toc { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 8px 0 8px 16px; border-left: 2px solid var(--line); color: var(--ink-2); text-decoration: none; line-height: 1.4; transition: color .2s var(--ease), border-color .2s var(--ease); }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--royal); border-left-color: var(--royal); font-weight: 700; }
.most { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.most li + li { border-top: 1px solid var(--line); }
.most a { display: grid; grid-template-columns: 26px 1fr 72px; gap: 12px; align-items: center; padding: 14px 0; text-decoration: none; counter-increment: n; }
.most a::before { content: counter(n); font-size: 1.375rem; font-weight: 800; color: var(--royal); letter-spacing: -.03em; }
.most strong { font-weight: 700; line-height: 1.3; }
.most a:hover strong { color: var(--royal); }
.most .photo { aspect-ratio: 1; border-radius: 10px; }
.sticky-group { position: sticky; top: calc(var(--header-h) + 28px); display: flex; flex-direction: column; gap: 36px; }
.xv-card { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.xv-card .photo { border-radius: 0; aspect-ratio: 16 / 9; }
.xv-card .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--navy)); }
.xv-card .in { padding: 4px 24px 24px; }
.xv-card h3 { font-size: 1.375rem; text-transform: uppercase; letter-spacing: -.01em; color: #fff; }
.xv-card p { margin-top: 8px; color: var(--on-dark-2); }
.xv-card .cd { margin-top: 18px; gap: 8px; }
.xv-card .cd div { min-width: 0; flex: 1; padding: 10px 6px; }
.xv-card .cd b { font-size: 1.75rem; }
.xv-card .btn { width: 100%; margin-top: 18px; }
.related-strip .card h3 { font-size: 1.25rem; }

/* ---------- Congressos ---------- */
.next-ed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); border-radius: 20px; overflow: hidden; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.next-ed .in { padding: clamp(32px, 4.4vw, 56px); position: relative; }
.next-ed h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.75rem); text-transform: uppercase; letter-spacing: -.02em; margin-top: 18px; }
.next-ed .sub { color: var(--on-dark-2); }
.next-ed .photo { border-radius: 0; min-height: 100%; }
.edition { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 64px); padding-block: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.edition .ed-year { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.edition .ed-year b { display: block; font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; color: var(--royal); font-variant-numeric: tabular-nums; }
.edition .ed-year span { display: block; margin-top: 10px; font-size: var(--fs-sm); font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; }
.edition h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.03em; font-weight: 800; }
.edition .place { margin-top: 8px; color: var(--ink-2); font-size: var(--fs-sm); }
.edition p.txt { margin-top: 14px; max-width: 64ch; }
.ed-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ed-photos { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-top: 28px; height: 300px; }
.ed-photos.two { grid-template-columns: 1.4fr 1fr; }
.older { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.older li { padding: 22px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); }
.older b { display: block; font-size: 1.5rem; font-weight: 800; color: var(--royal); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.older strong { display: block; margin-top: 4px; font-weight: 700; }
.older span { display: block; margin-top: 4px; font-size: var(--fs-sm); color: var(--ink-2); }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 1.1875rem; font-weight: 700; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; color: var(--royal); transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq summary:hover { color: var(--royal); }
.faq .ans { padding: 0 0 24px; color: var(--ink-2); max-width: 70ch; }

/* ---------- XV Congresso de Guardas ---------- */
.xv-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; padding-block: clamp(72px, 9vw, 128px) clamp(64px, 8vw, 104px); }
.xv-hero .bg { position: absolute; inset: 0; z-index: -2; }
.xv-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.xv-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7, 21, 54, .97) 0%, rgba(11, 31, 75, .88) 45%, rgba(19, 42, 94, .45) 100%), radial-gradient(50% 60% at 80% 20%, rgba(28, 58, 122, .5), transparent 70%); }
.xv-hero .beam { position: absolute; z-index: -1; top: -30%; right: 22%; width: 3px; height: 170%; background: var(--gold-metal); transform: rotate(22deg); opacity: .6; }
.xv-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.75rem); text-transform: uppercase; letter-spacing: -.025em; line-height: 1; max-width: 21ch; }
.xv-hero .lede { margin-top: 22px; font-size: 1.125rem; color: var(--on-dark-2); max-width: 52ch; }
.with { display: inline-flex; margin-top: 22px; padding: 10px 16px; border-radius: var(--r-btn); border: 1px solid rgba(255, 255, 255, .25); font-size: var(--fs-sm); color: #fff; }
.with strong { color: var(--gold-hi); margin-left: 6px; }
.subnav { position: sticky; top: var(--header-h); z-index: 20; background: var(--navy); }
/* LP do congresso: sem cabeçalho geral, só a barra de âncoras fixa no topo */
.lp { scroll-padding-top: 72px; }
.lp .subnav { top: 0; }
.subnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 8px 0; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; padding: 9px 14px; border-radius: var(--r-btn); font-size: var(--fs-sm); font-weight: 600; color: var(--on-dark-2); text-decoration: none; white-space: nowrap; }
.subnav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.subnav a.is-active { color: #fff; background: rgba(255, 255, 255, .14); box-shadow: inset 0 -2px 0 var(--gold-hi); }
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.why .photo { aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.why-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 32px; margin-top: 36px; }
.why-stats b { display: block; font-size: clamp(2.4rem, 3.6vw, 3.25rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--royal); font-variant-numeric: tabular-nums; }
.why-stats span { display: block; margin-top: 8px; font-size: var(--fs-sm); color: var(--ink-2); }
.tracks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 12px; background: var(--surface); margin-bottom: 28px; }
.tab { height: 44px; padding: 0 18px; border: 0; border-radius: var(--r-btn); background: none; color: var(--ink-2); font-size: var(--fs-sm); font-weight: 600; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .35); }
.agenda { list-style: none; margin: 0; padding: 0; }
.agenda li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 8px 28px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.agenda li:first-child { border-top: 1px solid var(--line); }
.agenda time { font-size: 1.125rem; font-weight: 800; letter-spacing: -.02em; color: var(--royal); font-variant-numeric: tabular-nums; }
.agenda strong { display: block; font-size: 1.125rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.agenda .who { display: block; margin-top: 4px; font-size: var(--fs-sm); color: var(--ink-2); }
[role="tabpanel"][hidden] { display: none; }
.tabpanel-in { animation: fadeIn .4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.speakers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; list-style: none; margin: 0; padding: 0; }
.speaker .sil { aspect-ratio: 1; border-radius: var(--r-img); overflow: hidden; background: radial-gradient(80% 60% at 50% 30%, var(--royal) 0%, var(--navy-2) 55%, var(--navy) 100%); position: relative; }
.speaker .sil svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 88%; }
.speaker strong { display: block; margin-top: 16px; font-size: 1.125rem; font-weight: 800; letter-spacing: -.02em; }
.speaker span { display: block; margin-top: 4px; font-size: var(--fs-sm); color: var(--on-dark-2); line-height: 1.4; }

.venue { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.venue .photo { aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.venue dl { margin: 28px 0 0; display: grid; gap: 18px; }
.venue dt { font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--royal); }
.venue dd { margin: 4px 0 0; }

.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.tier { display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); }
.tier.is-master { background: var(--navy); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.tier h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.tier.is-master h3 { color: #fff; }
.tier .size { margin-top: 6px; font-size: var(--fs-sm); color: var(--ink-2); }
.tier.is-master .size { color: var(--on-dark-2); }
.tier ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; font-size: var(--fs-sm); flex: 1; }
.tier li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.tier li svg { margin-top: 4px; color: var(--royal); }
.tier.is-master li svg { color: var(--gold-hi); }
.avail { margin-top: 22px; font-size: var(--fs-xs); color: var(--ink-2); }
.tier.is-master .avail { color: var(--on-dark-2); }
.bar { height: 6px; border-radius: 6px; background: var(--blue-100); margin-top: 8px; overflow: hidden; }
.tier.is-master .bar { background: rgba(255, 255, 255, .12); }
.bar i { display: block; height: 100%; border-radius: 6px; background: var(--royal); transform-origin: left; }
.tier.is-master .bar i { background: var(--gold-metal); }
.tier .btn { margin-top: 20px; width: 100%; }

.lots { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.lots li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); }
.lots li.is-on { background: rgba(28, 58, 122, .45); border-color: rgba(247, 201, 72, .6); }
.lots b { font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff; }
.lots li.is-on b { color: var(--gold-hi); }
.lots span { font-size: var(--fs-sm); color: var(--on-dark-2); }
.lots strong { display: block; color: #fff; font-weight: 700; }
.signup { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); }
.signup h2 { font-size: var(--fs-h2); text-transform: uppercase; letter-spacing: -.02em; }
.form-card { background: #fff; color: var(--ink); border-radius: 20px; padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow-lg); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: 6px; }
.field input, .field select { width: 100%; height: 50px; padding: 0 14px; border-radius: var(--r-btn); border: 1px solid var(--blue-200); background: #fff; color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230b1f4b' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input::placeholder { color: #5a6888; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--royal); box-shadow: 0 0 0 3px var(--blue-100); }
.field input[aria-invalid="true"] { border-color: #b23a2b; }
.field .err { margin-top: 6px; font-size: var(--fs-xs); color: #b23a2b; }
.form .btn { justify-self: start; }
.form-note { font-size: var(--fs-xs); color: var(--ink-2); }
.form-ok strong { color: var(--green); font-weight: 700; }
.form-ok .note { margin-top: 6px; color: var(--ink-2); }

/* ---------- Entrada animada ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { transform: none; clip-path: inset(0 0 100% 0 round 16px); transition: opacity .6s var(--ease), clip-path 1.1s var(--ease); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round 16px); }
.js .lead-main[data-reveal] img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.js .lead-main[data-reveal].is-in img { transform: scale(1); }
.js .lead-main[data-reveal].is-in:hover img { transform: scale(1.03); }
.js .bar i { transform: scaleX(0); transition: transform 1.2s var(--ease) .2s; }
.js .is-in .bar i, .js .bar.is-in i { transform: scaleX(1); }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .ed-grid { grid-template-columns: 1fr 1fr; }
  .ed-list { grid-column: 1 / -1; }
  .speakers { grid-template-columns: repeat(3, 1fr); }
  .tiers { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .lead-grid, .xv-grid, .feature, .article-grid, .next-ed, .why, .venue, .signup, .newsletter { grid-template-columns: 1fr; }
  .lead-main { min-height: 480px; }
  .lead-side { grid-template-rows: none; }
  .collage { height: 380px; }
  .topics { grid-template-columns: 1fr; gap: 48px; }
  .numbers .bg { inset: 0; opacity: .35; }
  .numbers::before { background: linear-gradient(180deg, rgba(11, 31, 75, .95), rgba(7, 21, 54, .92)); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .partners { grid-template-columns: 1fr; gap: 14px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .sticky-group { position: static; }
  .aside .a-toc { display: none; }
  .aside { padding-top: 40px; border-top: 1px solid var(--line); }
  .next-ed .photo { aspect-ratio: 16 / 9; order: -1; }
  .edition { grid-template-columns: 1fr; }
  .edition .ed-year { position: static; }
  .older { grid-template-columns: 1fr 1fr; }
  .article-hero .photo { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  /* escala tipográfica do celular (01/11): meta h1 <= 3 linhas e h2 ~2 linhas em 374 px; corpo 16 px.
     Páginas: use font-size: var(--fs-h1 | --fs-h2 | --fs-h3 | --fs-h4 | --fs-lead | --fs-sub) para herdar. */
  :root {
    --fs-display: clamp(1.75rem, 8vw, 2.125rem);
    --fs-h1: clamp(1.75rem, 7.4vw, 2rem);
    --fs-h2: clamp(1.5rem, 6.6vw, 1.75rem);
    --fs-h3: 1.1875rem;
    --fs-h4: 1.0625rem;
    --fs-lead: 1.0625rem;
    --fs-sub: 1rem;
    --fs-body: 1rem;
  }
  /* :where = especificidade zero: só vale para título sem tamanho próprio */
  :where(h1) { font-size: var(--fs-h1); }
  :where(h2) { font-size: var(--fs-h2); }
  :where(h3) { font-size: var(--fs-h3); }
  :where(h4) { font-size: var(--fs-h4); }
  /* sem barra de rolagem visível (página, menu e trilhos); a rolagem nativa, o toque e o Shift+roda continuam */
  * { scrollbar-width: none; }
  ::-webkit-scrollbar { display: none; }
  .btn { text-align: center; }
  .btn-sm { min-height: 44px; }
  .topbar .wrap { justify-content: center; }
  .topbar .social { display: none; }
  .brand-name { font-size: .875rem; }
  /* CTA do Congresso fixo no topo (04/11): compacto, em 2 linhas, ao lado do menu; cabe em 375 px */
  .header-row { grid-template-columns: auto minmax(0, 1fr); gap: 6px; }
  .brand { gap: 6px; }
  .brand img { width: 38px; }
  .header-end { gap: 4px; min-width: 0; }
  .header-end .btn-gold { display: inline-flex; min-height: 44px; padding: 4px 8px; font-size: .8125rem; line-height: 1.15; letter-spacing: -.02em; }
  .menu-toggle { width: 44px; height: 44px; flex: none; }
  .proto-badge { font-size: .8125rem; } /* nada abaixo de 13 px no celular */
  .lead { padding-top: 16px; }
  .lead-main { min-height: 520px; margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .lead-main h1 { font-size: 2rem; }
  .side-story { grid-template-columns: 38% 1fr; padding: 10px; gap: 14px; }
  .side-story h2 { font-size: 1.0625rem; }
  .ed-grid { grid-template-columns: 1fr; }
  .card-xl h3 { font-size: 1.5rem; }
  .cd { gap: 8px; }
  .cd div { min-width: 0; flex: 1; }
  .collage { height: 300px; grid-template-columns: 1fr 1fr; }
  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .gallery { grid-auto-rows: 140px; gap: 10px; }
  .gallery figure.g-wide { grid-column: span 2; }
  .logos li { height: 54px; padding: 0 16px; font-size: .9375rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .chip { flex: none; }
  .search { width: 100%; }
  .news-grid { grid-template-columns: 1fr; gap: 36px; }
  .byline { flex-direction: column; align-items: flex-start; }
  .prose { font-size: 1.0625rem; }
  .prose blockquote { padding: 24px 22px; font-size: 1.1875rem; }
  .prose-gallery { height: 300px; }
  .ed-photos, .ed-photos.two { grid-template-columns: 1fr 1fr; height: auto; }
  .ed-photos .photo { aspect-ratio: 4 / 3; }
  .ed-photos .photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .older { grid-template-columns: 1fr; }
  .speakers { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .speaker strong { font-size: 1rem; }
  .tiers { grid-template-columns: 1fr; }
  .agenda li { grid-template-columns: 64px minmax(0, 1fr); gap: 4px 16px; }
  .agenda .tag { grid-column: 2; justify-self: start; }
  .form-row { grid-template-columns: 1fr; }
  .form .btn, .actions .btn { width: 100%; }
  .hero-stats { gap: 20px 32px; }
  .wa-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: 52px; height: 52px; }
  .footer-legal { padding-bottom: calc(84px + env(safe-area-inset-bottom)); } /* o botão do WhatsApp não cobre o fim do rodapé */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-reveal="clip"] { transform: none; clip-path: none; transition: opacity .4s linear; transition-delay: 0s; }
  .js .lead-main[data-reveal] img, .js .lead-main[data-reveal].is-in img { transform: none; transition: none; }
  .js .bar i { transform: none; transition: none; }
  .photo img, a:hover .photo img, .gallery figure:hover img, .lead-main:hover img { transform: none; }
  .tabpanel-in { animation: none; }
  .wa-float { animation: none; }
  .btn-gold { animation: none; transition: none; }
  .btn-gold:hover, .btn-gold:active { transform: none; }
}
