/* Site da PublicaMED: sistema visual.
   Base: o app da PublicaMED Residência (neutros e medidas Apple) com a marca: navy #1D3557, teal #3ABFA0,
   off-white e Inter. Tom editorial (The Economist, Monocle): tipografia forte, muito respiro, dado como imagem.
   Sem degradê berrante, sem granulação, sem sombra pesada. *//* inter-cyrillic-ext-opsz-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/inter-cyrillic-ext-opsz-normal.CfYZpDVp.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* inter-cyrillic-opsz-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/inter-cyrillic-opsz-normal.BFQXbQ-f.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* inter-greek-ext-opsz-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/inter-greek-ext-opsz-normal.BmPQvyvo.woff2) format('woff2-variations');
  unicode-range: U+1F00-1FFF;
}

/* inter-greek-opsz-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/inter-greek-opsz-normal.BM0NlUE_.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* inter-vietnamese-opsz-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/inter-vietnamese-opsz-normal.Ci9T9ieq.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* inter-latin-ext-opsz-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/inter-latin-ext-opsz-normal.DpK-iCPk.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* inter-latin-opsz-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/inter-latin-opsz-normal.BwkfbSeq.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  /* superfícies */
  --branco: #FFFFFF;
  --papel: #F5F5F7;          /* seção alternada clara */
  --papel-2: #EDEDF0;
  --navy: #1D3557;           /* marca */
  --navy-fundo: #12233A;     /* seção escura da Escola: o navy da marca, mais fundo */
  --navy-fundo-2: #1A2F4C;
  --preto: #000000;          /* seção escura da Residência, como o app */
  --grafite: #1C1C1E;
  --grafite-2: #2C2C2E;
  --teal: #3ABFA0;
  --teal-claro: #3ECFAE;
  --teal-tinta: #0B6B56;     /* texto em teal sobre claro */
  --teal-fundo: #E2F3EF;     /* fundo teal claro da marca */
  --teal-sobre: #06281F;

  /* texto */
  --tinta: #1D1D1F;
  --tinta-2: #6E6E73;
  --tinta-3: #86868B;
  --tinta-inv: #F5F5F7;
  --tinta-inv-2: #A1A1A6;

  /* fios e sombras */
  --fio: rgba(0, 0, 0, 0.08);
  --fio-2: #D2D2D7;
  --fio-inv: rgba(255, 255, 255, 0.12);
  --sombra-1: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.05);
  --sombra-2: 0 2px 6px rgba(0, 0, 0, 0.05), 0 24px 60px rgba(17, 30, 50, 0.12);
  --sombra-papel: 0 1px 1px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(18, 35, 58, 0.10), 0 30px 80px rgba(18, 35, 58, 0.10);

  /* tipografia */
  --fonte: 'Inter Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --fonte-mono: ui-monospace, 'SF Mono', 'IBM Plex Mono', Menlo, Consolas, monospace;

  /* medidas */
  --largura: 1180px;
  --largura-texto: 680px;
  --margem: 24px;
  --secao: 88px;
  --raio: 18px;
  --raio-p: 12px;
  --barra-global: 48px;
  --barra-local: 52px;
  --curva: cubic-bezier(0.22, 0.61, 0.36, 1);
  --curva-apple: cubic-bezier(0.4, 0, 0.6, 1);
}

/* quebras da Apple: 734px e 1068px (pesquisa 03) */
@media (min-width: 734px) { :root { --margem: 40px; --secao: 112px; } }
@media (min-width: 1068px) { :root { --margem: 48px; --secao: 144px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--barra-local) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--branco); color: var(--tinta);
  font-family: var(--fonte); font-optical-sizing: auto; font-size: 17px; line-height: 1.53; letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(58, 191, 160, 0.28); }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a.sr:focus { position: fixed; top: 10px; left: 10px; z-index: 100; width: auto; height: auto; clip: auto; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--navy); font-weight: 600; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16); }
button, a, [role="button"], label, summary { touch-action: manipulation; }

/* ---------- moldura ---------- */
.moldura { width: 100%; max-width: calc(var(--largura) + 2 * var(--margem)); margin: 0 auto; padding: 0 var(--margem); }
.moldura.estreita { max-width: calc(var(--largura-texto) + 2 * var(--margem)); }
.secao { padding: var(--secao) 0; position: relative; }
.secao.curta { padding: calc(var(--secao) * 0.6) 0; }
.secao.papel { background: var(--papel); }
.secao.teal { background: var(--teal-fundo); }
.secao.escura { background: var(--navy-fundo); color: var(--tinta-inv); }
.secao.preta { background: var(--preto); color: var(--tinta-inv); }
.secao.escura .c2, .secao.preta .c2 { color: var(--tinta-inv-2); }
.c2 { color: var(--tinta-2); }
.c3 { color: var(--tinta-3); }
.centro { text-align: center; }
.centro .lide { margin-left: auto; margin-right: auto; }

/* ---------- tipografia ---------- */
.d1, .d2, .d3, .t1, .t2 { color: var(--navy); }
.escura :is(.d1, .d2, .d3, .t1, .t2), .preta :is(.d1, .d2, .d3, .t1, .t2) { color: #fff; }
.sobre { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-tinta); margin-bottom: 16px; }
.escura .sobre, .preta .sobre { color: var(--teal-claro); }
.sobre .ponto { display: none; }
/* escala em degraus (celular, tablet a partir de 734px, computador a partir de 1068px); peso 800 só do título de seção para cima */
.d1 { font-size: 44px; line-height: 1.04; font-weight: 800; letter-spacing: -0.026em; word-spacing: 0.02em; }
.d2 { font-size: 32px; line-height: 1.09; font-weight: 800; letter-spacing: -0.022em; word-spacing: 0.02em; }
.d3 { font-size: 28px; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; word-spacing: 0.02em; }
.t1 { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.t2 { font-size: 19px; line-height: 1.26; font-weight: 700; letter-spacing: -0.018em; }
.t3 { font-size: 17px; line-height: 1.35; font-weight: 700; letter-spacing: -0.016em; }
.lide { font-size: 19px; line-height: 1.42; font-weight: 450; letter-spacing: -0.014em; color: var(--tinta-2); max-width: 680px; margin-top: 20px; }
@media (min-width: 734px) {
  .d1 { font-size: 72px; line-height: 1.03; }
  .d2 { font-size: 40px; line-height: 1.08; }
  .d3 { font-size: 32px; }
  .t1 { font-size: 24px; }
  .t2 { font-size: 21px; }
  .lide { font-size: 21px; line-height: 1.38; }
}
@media (min-width: 1068px) {
  .d1 { font-size: 88px; line-height: 1.03; letter-spacing: -0.03em; }
  .d2 { font-size: 48px; line-height: 1.08; letter-spacing: -0.024em; }
  .d3 { font-size: 36px; }
  .t1 { font-size: 28px; }
}
.escura .lide, .preta .lide { color: var(--tinta-inv-2); }
.escura .corpo, .preta .corpo { color: var(--tinta-inv-2); }
.corpo { font-size: 17px; line-height: 1.6; color: var(--tinta-2); }
.pequeno { font-size: 14px; line-height: 1.45; }
.mini { font-size: 12px; line-height: 1.4; letter-spacing: 0; }
.rotulo { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tinta-3); }
.destaque-teal { color: var(--teal-tinta); }
.escura .destaque-teal, .preta .destaque-teal { color: var(--teal-claro); }
.cinza { color: var(--tinta-3); }
.escura .cinza, .preta .cinza { color: #6E6E73; }
/* marca-texto da marca, em teal, sob a palavra de destaque */
.grifo { background: linear-gradient(transparent 62%, rgba(58, 191, 160, 0.38) 62%, rgba(58, 191, 160, 0.38) 92%, transparent 92%); padding: 0 2px; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; font-size: 16px; line-height: 20px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; background: var(--navy); color: #fff; transition: transform 0.15s var(--curva), background 0.2s, opacity 0.2s, box-shadow 0.2s; user-select: none; -webkit-user-select: none; }
.btn:active { transform: scale(0.97); }
.btn.conversao { background: var(--teal); color: var(--teal-sobre); }
.btn.claro { background: #fff; color: var(--tinta); }
.btn.vidro { background: rgba(255, 255, 255, 0.14); color: #fff; }
.btn.cinza { background: rgba(118, 118, 128, 0.12); color: var(--tinta); }
.btn.contorno { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--fio-2); }
.escura .btn.contorno, .preta .btn.contorno { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28); }
.btn.grande { height: 52px; padding: 0 28px; font-size: 17px; }
.btn.pequeno { height: 32px; padding: 0 14px; font-size: 14px; }
.btn.largo { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.4; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: 4px; color: var(--navy); font-weight: 600; }
.escura .link, .preta .link { color: var(--teal-claro); }
.link svg { transition: transform 0.2s var(--curva); }
.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 34px; }
.centro .acoes { justify-content: center; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { opacity: 0.88; }
  .btn.conversao:hover { opacity: 1; background: #45CBAB; }
  .link:hover svg { transform: translateX(3px); }
  .link:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
}

/* ---------- barra global: marca, seletor das três seções e ações ---------- */
.global { position: relative; z-index: 50; background: rgba(255, 255, 255, 0.78); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid var(--fio); }
.global.no-escuro { background: rgba(18, 18, 20, 0.72); border-bottom-color: rgba(255, 255, 255, 0.08); color: #fff; }
.global-dentro { height: var(--barra-global); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.marca { display: inline-flex; align-items: baseline; font-size: 19px; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; color: var(--navy); }
.no-escuro .marca { color: #fff; }
.marca b { font-weight: 800; }
.marca span { font-weight: 400; }
.seletor { display: flex; padding: 3px; border-radius: 999px; background: rgba(118, 118, 128, 0.12); }
.no-escuro .seletor { background: rgba(255, 255, 255, 0.10); }
.seletor a { position: relative; height: 32px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; color: var(--tinta-2); transition: color 0.2s, background 0.2s; white-space: nowrap; }
.no-escuro .seletor a { color: rgba(255, 255, 255, 0.72); }
.seletor a[aria-current="true"] { background: #fff; color: var(--tinta); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.10), 0 0 0 0.5px rgba(0, 0, 0, 0.04); }
.no-escuro .seletor a[aria-current="true"] { background: rgba(255, 255, 255, 0.92); color: #000; }
.global-acoes { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.global-acoes .entrar { font-size: 14px; font-weight: 500; color: var(--tinta-2); padding: 6px 10px; border-radius: 8px; }
.no-escuro .global-acoes .entrar { color: rgba(255, 255, 255, 0.78); }
@media (hover: hover) and (pointer: fine) {
  .seletor a:not([aria-current="true"]):hover { color: var(--tinta); }
  .no-escuro .seletor a:not([aria-current="true"]):hover { color: #fff; }
  .global-acoes .entrar:hover { color: var(--tinta); }
  .no-escuro .global-acoes .entrar:hover { color: #fff; }
}
/* no celular, o seletor desce para uma linha própria, de ponta a ponta */
.seletor-celular { display: none; }
@media (max-width: 860px) {
  .global-dentro { grid-template-columns: 1fr auto; }
  .global-dentro > .seletor { display: none; }
  .seletor-celular { display: block; padding: 0 var(--margem) 10px; }
  .seletor-celular .seletor a { flex: 1; justify-content: center; padding: 0 8px; }
  .global-acoes .entrar { padding: 6px 0; }
}

/* ---------- barra local de cada seção (estilo página de produto da Apple) ---------- */
.local { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.72); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid var(--fio); }
.local.no-escuro { background: rgba(0, 0, 0, 0.62); color: #fff; border-bottom-color: rgba(255, 255, 255, 0.10); }
.local-dentro { height: var(--barra-local); display: flex; align-items: center; gap: 24px; }
.local-titulo { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.local-acoes { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.grupo-topo { display: none; }
.global-acoes .grupo-topo { height: 30px; padding: 0 12px; gap: 6px; font-size: 13px; }
.local nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.local nav a { font-size: 13px; color: var(--tinta-2); white-space: nowrap; }
.local.no-escuro nav a { color: rgba(255, 255, 255, 0.72); }
.local nav a[aria-current="page"] { color: var(--tinta); font-weight: 600; }
.local.no-escuro nav a[aria-current="page"] { color: #fff; }
@media (hover: hover) and (pointer: fine) { .local nav a:hover { color: var(--teal-tinta); } .local.no-escuro nav a:hover { color: var(--teal-claro); } }
.local .btn { height: 30px; padding: 0 14px; font-size: 13px; }
@media (max-width: 860px) {
  .local nav { display: none; }
  .local nav.aberta { display: flex; position: absolute; top: var(--barra-local); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--margem) 16px; background: #fff; backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid var(--fio); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08); }
  .local.no-escuro nav.aberta { background: #121214; border-bottom-color: rgba(255, 255, 255, 0.10); }
  .local.no-escuro nav.aberta a { border-bottom-color: rgba(255, 255, 255, 0.10); }
  .local nav.aberta a { font-size: 17px; padding: 12px 0; border-bottom: 1px solid var(--fio); }
  .local-abrir { display: inline-flex !important; }
  .local-dentro { gap: 8px; }
  .local-titulo { font-size: 17px; }
  .local-acoes { margin-left: auto; }
  .local .grupo-barra { display: none; }
  .grupo-topo { display: inline-flex; }
}
.local-abrir { display: none; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; color: var(--tinta-2); transition: transform 0.25s var(--curva); }
.local-abrir[aria-expanded="true"] { transform: rotate(180deg); }

/* ---------- topo de página ---------- */
.topo { padding: clamp(64px, 9vw, 128px) 0 clamp(48px, 6vw, 88px); }
.topo.centro .lide { margin-left: auto; margin-right: auto; }

/* ---------- grades ---------- */
.grade { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 734px) { .grade.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grade.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grade.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1068px) { .grade.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grade.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.divide { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1000px) { .divide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } .divide.texto-largo { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } .divide.inverte > :first-child { order: 2; } }

/* ---------- cartões ---------- */
.cartao { background: var(--branco); border-radius: var(--raio); padding: 32px; box-shadow: var(--sombra-1); position: relative; }
.papel .cartao { box-shadow: none; }
.cartao.papel-c { background: var(--papel); box-shadow: none; }
.escura .cartao { background: var(--navy-fundo-2); color: var(--tinta-inv); box-shadow: none; }
.preta .cartao { background: var(--grafite); color: var(--tinta-inv); box-shadow: none; }
.cartao .t2 + p, .cartao .t3 + p { margin-top: 10px; }
a.cartao { display: block; transition: transform 0.35s var(--curva), box-shadow 0.35s var(--curva); }
@media (hover: hover) and (pointer: fine) { a.cartao:hover { transform: translateY(-3px); box-shadow: var(--sombra-2); } .papel a.cartao:hover { box-shadow: var(--sombra-1); } }

/* números grandes como imagem */
.numeros { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
@media (min-width: 1000px) { .numeros { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.numero b { display: block; font-size: clamp(44px, 5.6vw, 72px); line-height: 1; font-weight: 800; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.numero span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.4; color: var(--tinta-2); max-width: 220px; }
.escura .numero span, .preta .numero span { color: var(--tinta-inv-2); }

/* passos numerados */
.passos { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); counter-reset: passo; }
@media (min-width: 900px) { .passos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; } }
.passo { position: relative; padding: 24px 0; border-top: 1px solid var(--fio); counter-increment: passo; }
.escura .passo, .preta .passo { border-top-color: var(--fio-inv); }
@media (min-width: 900px) { .passo { padding: 28px 0 0; } }
.passo::before { content: '0' counter(passo); display: block; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--teal-tinta); margin-bottom: 18px; letter-spacing: 0.06em; }
.escura .passo::before, .preta .passo::before { color: var(--teal-claro); }
.passo p { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--tinta-2); }
.escura .passo p, .preta .passo p { color: var(--tinta-inv-2); }

/* listas com visto */
.vistos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.vistos li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 16px; line-height: 1.5; }
.vistos li svg { margin-top: 2px; color: var(--teal-tinta); }
.escura .vistos li svg, .preta .vistos li svg { color: var(--teal-claro); }
.vistos.nao li svg { color: var(--tinta-3); }

/* perguntas */
.perguntas { border-top: 1px solid var(--fio); }
.escura .perguntas, .preta .perguntas { border-top-color: var(--fio-inv); }
.pergunta { border-bottom: 1px solid var(--fio); }
.escura .pergunta, .preta .pergunta { border-bottom-color: var(--fio-inv); }
.pergunta summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; font-size: 19px; font-weight: 600; letter-spacing: -0.016em; }
.pergunta summary::-webkit-details-marker { display: none; }
.pergunta summary .mais { flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(118, 118, 128, 0.12); display: inline-flex; align-items: center; justify-content: center; transition: transform 0.3s var(--curva); }
.pergunta[open] summary .mais { transform: rotate(45deg); }
.pergunta .resposta { padding: 0 48px 26px 0; font-size: 17px; line-height: 1.6; color: var(--tinta-2); }
.escura .pergunta .resposta, .preta .pergunta .resposta { color: var(--tinta-inv-2); }

/* fichas e selos */
.selo { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0; background: rgba(118, 118, 128, 0.12); color: var(--tinta-2); white-space: nowrap; }
.selo.teal { background: rgba(58, 191, 160, 0.14); color: var(--teal-tinta); }
.selo.navy { background: rgba(29, 53, 87, 0.08); color: var(--navy); }
.escura .selo.teal, .preta .selo.teal { color: var(--teal-claro); background: rgba(62, 207, 174, 0.16); }

/* ficha técnica */
.ficha { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--fio); }
.ficha > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--fio); font-size: 16px; }
.ficha dt { color: var(--tinta-2); }
.ficha dd { margin: 0; font-weight: 600; }

/* ---------- rodapé ---------- */
.rodape { background: var(--papel); color: var(--tinta-2); font-size: 12px; line-height: 1.5; padding: 44px 0 28px; }
.rodape-nota { padding-bottom: 18px; border-bottom: 1px solid var(--fio-2); }
.rodape-nota p + p { margin-top: 10px; }
.rodape-colunas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding: 26px 0; }
@media (min-width: 900px) { .rodape-colunas { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.rodape-colunas h3 { font-size: 12px; font-weight: 600; color: var(--tinta); margin-bottom: 10px; letter-spacing: 0; }
.rodape-colunas ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
@media (hover: hover) and (pointer: fine) { .rodape a:hover { text-decoration: underline; color: var(--tinta); } }
.rodape-base { border-top: 1px solid var(--fio-2); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }

/* ---------- entrada suave ao rolar ---------- */
.surge { opacity: 0; transform: translateY(12px); transition: opacity 0.36s var(--curva-apple), transform 0.9s var(--curva); }
.surge.visto { opacity: 1; transform: none; }
.surge.d1s { transition-delay: 0.08s; } .surge.d2s { transition-delay: 0.16s; } .surge.d3s { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .surge { opacity: 1; transform: none; transition: none; } }
html.sem-js .surge { opacity: 1; transform: none; }
body.escuro { background: #000; }
