/* ==========================================================================
   UDO | Link na bio ("Palco"). Mobile first: o valor-base é o do celular de 320 px;
   telas maiores só acrescentam com min-width. Plano: prolink-udo/PLANO_VISUAL.md
   ========================================================================== */

:root {
  --petroleo: #132339;
  --petroleo-sombra: #07111b;
  --mar: #13365a;
  --ouro: #b99d6c;            /* só sobre escuro */
  --ouro-texto: #826a49;      /* sobre branco, a partir de 12px/600 (5,1:1) */
  --ouro-texto-neutro: #6e5a3c; /* ouro-texto escurecido para sobre #ededed (5,6:1); plano pedia #826a49 (4,4:1) */
  --neutro: #ededed;
  --branco: #ffffff;
  --cinza-texto: #646464;
  --urbano: #1d1d1b;
  --alegria: #f09132;
  --floresta: #29371d;
  --bordo: #591116;
  --influencia: #841714;
  --hairline: rgba(19, 35, 57, .08);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --assinatura: "Allura", cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--neutro);
  color: var(--petroleo);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, p, ul, ol, dl { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Foco visível: escuro sobre claro, dourado sobre escuro */
:focus-visible { outline: 2px solid var(--petroleo); outline-offset: 3px; }
.stories :focus-visible,
.nucleo-ingresso :focus-visible,
.tile:focus-visible { outline-color: var(--ouro); }
.stories:focus-visible { outline-offset: -4px; }

.pular {
  position: absolute; left: 12px; top: -64px; z-index: 40;
  background: var(--branco); color: var(--petroleo); font-weight: 600;
  padding: 12px 16px; border-radius: 999px; min-height: 44px;
  box-shadow: 0 0 0 1px var(--hairline);
  transition: top 220ms var(--ease);
}
.pular:focus { top: 12px; }

/* Placeholders [assim]: sempre visíveis na revisão */
.ph { font-style: italic; color: var(--ouro-texto); font-weight: 600; }
.stories .ph { color: var(--ouro); }

/* ---------- Coluna ---------- */
.coluna {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  padding: 0 16px;
  overflow-x: clip;
}

/* ---------- Pílulas e setas ---------- */
.seta {
  flex: none;
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--petroleo); color: var(--branco);
  font-size: 14px; line-height: 1;
  transition: transform 300ms var(--ease);
}

.pilula {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 8px 8px 16px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600; line-height: 1.1;
  transition: transform 160ms var(--ease);
}
.pilula--branca { background: var(--branco); color: var(--petroleo); }

a:active, button:active { transition-duration: 160ms; }
.pilula:active, .chip:active, .flutuante-botao:active { transform: scale(.98); }

@media (hover: hover) {
  .pilula:hover .seta,
  .chip:hover .seta,
  .card:hover .seta { transform: translate(2px, -1px) scale(1.05); }
}

/* ---------- Cabeçalho flutuante (vidro CLARO, só aqui) ---------- */
.flutuante {
  position: fixed; top: 12px; left: 0; right: 0; margin-inline: auto; z-index: 20;
  width: max-content; max-width: calc(100vw - 24px);
  display: flex; align-items: center; gap: 8px;
  padding: 4px 4px 4px 14px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 0 0 1px var(--hairline), 0 14px 30px -20px rgba(19, 35, 57, .5);
  border-radius: 999px;
  opacity: 0; visibility: hidden; transform: translateY(-16px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease), visibility 0s linear 420ms;
}
.flutuante.visivel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.flutuante-icone { width: 24px; height: 24px; border-radius: 7px; }
.flutuante-nome { display: none; font-size: 13px; font-weight: 600; color: var(--petroleo); white-space: nowrap; }
/* Em 320 px o nome some para a pílula caber; o ícone e o botão ficam */
@media (min-width: 360px) { .flutuante-nome { display: inline; } }
.flutuante-botao {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 14px; border-radius: 999px;
  background: var(--petroleo); color: var(--branco);
  font-size: 12px; font-weight: 600; white-space: nowrap;
  transition: transform 160ms var(--ease);
}

/* ==========================================================================
   Stories
   ========================================================================== */
.stories {
  position: relative;
  isolation: isolate;
  margin-inline: -16px;
  height: min(78dvh, 660px);
  min-height: 520px;
  background-color: var(--cor, var(--petroleo));
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
  transition: background-color 420ms var(--ease);
  animation: aparecer 500ms var(--ease) both;
}

.raios { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.raios line { stroke: var(--ouro); stroke-width: 1; vector-effect: non-scaling-stroke; }
.stories .raios line { opacity: .22; }

.zonas { position: absolute; inset: 0; z-index: 1; display: flex; }
.zona { border: 0; padding: 0; background: transparent; border-radius: 0; }
.zona-ant { flex: 0 0 30%; }
.zona-prox { flex: 1 1 auto; }

.slides { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
/* O slide não cria contexto de empilhamento: foto (1), scrim (2), raios compartilhados (3) e texto (4)
   ficam na mesma pilha, então os raios aparecem atrás do título e acima do scrim. */
.slide { position: absolute; inset: 0; }
.slide-foto, .slide-scrim, .slide-bloco {
  opacity: 0; visibility: hidden;
  transition: opacity 420ms var(--ease), visibility 0s linear 420ms;
}
.slide.is-ativo .slide-foto,
.slide.is-ativo .slide-scrim,
.slide.is-ativo .slide-bloco { opacity: 1; visibility: visible; transition-delay: 0s; }
.slides > .raios {
  z-index: 3;
  /* Revisão: os raios vivem na faixa sólida do título e somem antes do rosto (não riscam a foto). */
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 28%, rgba(0,0,0,.35) 50%, transparent 72%);
  mask-image: linear-gradient(to top, #000 0%, #000 28%, rgba(0,0,0,.35) 50%, transparent 72%);
}
.stories .slides > .raios line { opacity: .28; }

.slide-foto {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 86%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 86%);
  pointer-events: none;
}
.slide-scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, var(--cor) 0%, var(--cor) 22%, color-mix(in srgb, var(--cor) 80%, transparent) 36%, transparent 58%);
}

.slide-bloco {
  position: absolute; left: 20px; right: 64px; bottom: 41px; z-index: 4;
  display: flex; flex-direction: column; align-items: flex-start;
}
.slide-titulo {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 8.3vw, 39px); /* 88% do tamanho com Bodoni (Inter Tight é mais larga) */
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--branco);
  max-width: 15ch;
  text-wrap: balance;
}
/* Duas vozes: frase leve, palavra-chave em caixa alta, 700, na cor de destaque */
.slide-titulo strong { font-weight: 700; text-transform: uppercase; color: var(--ouro); }
.slide-apoio {
  margin-top: 8px;
  font-size: 14px; line-height: 1.4;
  color: rgba(255, 255, 255, .78);
  max-width: 34ch;
}
.slide.is-ativo .slide-titulo { animation: subir14 520ms var(--ease) both; }
.slide.is-ativo .slide-apoio { animation: subir14 520ms var(--ease) 60ms both; }

.chip {
  pointer-events: auto;
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; max-width: 100%;
  padding: 8px 8px 8px 14px;
  background: var(--branco);
  border-radius: 22px;
  transition: transform 160ms var(--ease);
}
.chip-rotulo { flex: none; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cinza-texto); }
.chip-nome { min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.2; color: var(--petroleo); }
.chip .seta { background: var(--cor); }
/* Em 320 px o nome do curso quebrava em duas linhas: o rótulo sai e o nome fica inteiro */
@media (max-width: 359px) { .chip-rotulo { display: none; } .chip-nome { white-space: nowrap; } }

.story-topo {
  position: absolute; top: 14px; left: 16px; right: 16px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
}
.story-topo > * { pointer-events: auto; }
.story-logo { display: grid; place-items: center; min-width: 44px; height: 44px; }
.story-logo img { width: 32px; height: auto; }
.pilula--branca .seta--pilula { background: var(--petroleo); }

.barras {
  position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 3;
  display: flex; gap: 4px; pointer-events: none;
}
.barra { flex: 1; height: 3px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .28); }
.barra-fill { display: block; width: 100%; height: 100%; background: var(--branco); transform: scaleX(0); transform-origin: left; }
.barra.cheia .barra-fill { transform: scaleX(1); }

.pausar {
  position: absolute; right: 12px; bottom: 41px; z-index: 3;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; padding: 0; background: transparent; border-radius: 50%;
}
.pausar-circulo {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--branco); color: var(--petroleo); font-size: 16px;
  transition: transform 160ms var(--ease);
}
.pausar:active .pausar-circulo { transform: scale(.94); }

/* Segurar para pausar: o texto some e a foto respira */
.stories.segurando .story-topo,
.stories.segurando .slide.is-ativo .slide-bloco { opacity: 0; transition-duration: 220ms; }
.stories.segurando .chip { pointer-events: none; }

/* ==========================================================================
   Assinatura
   ========================================================================== */
.assinatura {
  padding: 20px 4px 4px;
  animation: aparecer 500ms var(--ease) 120ms both;
}
.assin-linha {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  /* Plano: -40px. Com -40px o avatar cobre as barras de progresso, então a sobreposição ficou em 14px. */
  margin-top: -34px;
  position: relative; z-index: 5;
}
.avatar-wrap { position: relative; flex: none; width: 72px; height: 72px; }
.avatar {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  /* anel branco de 3px e filete externo dourado de 1px */
  box-shadow: 0 0 0 3px var(--branco), 0 0 0 4px var(--ouro), 0 10px 24px -12px rgba(19, 35, 57, .35);
}
.avatar-selo {
  position: absolute; right: -2px; bottom: -2px;
  width: 24px; height: 24px; border-radius: 50%; overflow: hidden;
  background: var(--ouro); box-shadow: 0 0 0 2px var(--branco);
}
.avatar-selo img { width: 100%; height: 100%; object-fit: cover; }
.assin-nome {
  margin-top: 14px;
  font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.1; letter-spacing: -0.01em;
  color: var(--petroleo);
}
.assin-frase { margin-top: 6px; max-width: 34ch; font-size: 15px; color: var(--cinza-texto); }
.assin-autoria { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--ouro-texto-neutro); }

/* ---------- Redes ---------- */
.redes { display: flex; gap: 8px; }
.redes--centro { justify-content: center; margin-top: 16px; }
.rede {
  position: relative;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--branco);
  box-shadow: 0 0 0 1px var(--hairline);
  color: var(--petroleo); font-size: 20px;
  transition: transform 160ms var(--ease);
}
.rede:active { transform: scale(.98); }

/* ==========================================================================
   Casca de borda dupla
   ========================================================================== */
.casca {
  padding: 6px; border-radius: 26px;
  background: rgba(19, 35, 57, .05);
  box-shadow: 0 0 0 1px var(--hairline);
}

/* ---------- Ingresso ---------- */
.ingresso { margin-top: 24px; animation: subir24 700ms var(--ease) 240ms both; }

.nucleo-ingresso {
  position: relative; overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--petroleo) 0%, var(--mar) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  color: var(--branco);
  /* recortes laterais do picote: --py é medido em js/main.js */
  -webkit-mask: radial-gradient(circle 9px at 0 var(--py), #0000 98%, #000) , radial-gradient(circle 9px at 100% var(--py), #0000 98%, #000);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle 9px at 0 var(--py), #0000 98%, #000), radial-gradient(circle 9px at 100% var(--py), #0000 98%, #000);
  mask-composite: intersect;
}
.raios--ingresso { inset: 0 0 auto auto; width: 75%; height: 100%; z-index: 0; }
.raios--ingresso line { opacity: .14; }

.ing-topo { position: relative; z-index: 1; padding: 18px 18px 20px; }
.ing-linha { display: flex; align-items: center; justify-content: space-between; }
.ing-rotulo { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ouro); line-height: 1.2; }
.ing-icone { width: 22px; height: 22px; border-radius: 6px; }
.ing-corpo { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: 16px; row-gap: 8px; }
.ing-numero { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -0.02em; }
.ing-texto { flex: 1 1 150px; min-width: 0; }
.ing-titulo { font-size: 15px; font-weight: 600; line-height: 1.3; }
.ing-apoio { margin-top: 4px; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .72); }
.ing-acao { margin-top: 14px; display: flex; justify-content: flex-end; }
.ing-acao .pilula { font-size: 14px; }

.picote {
  position: relative; z-index: 1;
  margin-inline: 12px;
  border-top: 1.5px dashed rgba(255, 255, 255, .28);
}
.beneficios {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 12px 18px 14px;
}
.beneficios li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 11.5px; font-weight: 600; line-height: 1.3; }
.beneficios i { font-size: 18px; color: var(--ouro); }

.brilho {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%);
  transform: translateX(-100%);
}
.ingresso.brilhar .brilho { animation: brilho 1100ms var(--ease) 1 both; }

/* ==========================================================================
   Seções, cards e tiles
   ========================================================================== */
.secao-titulo {
  margin: 40px 4px 14px;
  font-family: var(--display); font-weight: 600; font-size: 25px; line-height: 1.05; letter-spacing: -0.02em;
  color: var(--petroleo);
}
/* Filete dourado de abertura (padrão do deck) */
.secao-titulo::before { content: ""; display: block; width: 24px; height: 2px; margin-bottom: 10px; background: var(--ouro); }

.lista-cards { display: flex; flex-direction: column; gap: 12px; }
.casca--card { padding: 5px; border-radius: 24px; background: rgba(19, 35, 57, .04); }

.card {
  display: grid; grid-template-columns: 42% 1fr;
  min-height: 156px;
  border-radius: 19px; background: var(--branco); overflow: hidden;
  box-shadow: 0 18px 40px -28px rgba(19, 35, 57, .45);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.card:active { transform: scale(.98); box-shadow: 0 8px 20px -16px rgba(19, 35, 57, .45); }
.card-img { position: relative; display: block; background: var(--cor); overflow: hidden; }
.card-img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, #000 70%, transparent);
  mask-image: linear-gradient(to right, #000 70%, transparent);
}
.card-corpo { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 14px 12px 16px; min-width: 0; }
.card-tipo { font-size: 11px; font-weight: 600; line-height: 1.2; letter-spacing: .18em; text-transform: uppercase; color: var(--ouro-texto); }
.card-nome {
  margin-top: 4px;
  font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--petroleo); overflow-wrap: break-word; hyphens: auto;
}
.tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 5px 9px; border-radius: 999px; background: var(--neutro);
  color: var(--petroleo); font-size: 12px; font-weight: 500; line-height: 1;
}
.tag .ph, .tag.ph { color: var(--ouro-texto-neutro); font-weight: 600; }
.card-aux { margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--cinza-texto); }
.card-rodape { margin-top: auto; padding-top: 8px; align-self: flex-end; }
.card .seta { width: 36px; height: 36px; font-size: 16px; background: var(--cor); }
.card--claro .seta { background: var(--petroleo); }

/* ---------- Palestras ---------- */
.palestras {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 40px; padding: 24px; border-radius: 28px; scroll-margin-top: 72px;
  background: var(--petroleo); color: var(--neutro);
}
.palestras .raios { height: 60%; z-index: -1; }
.palestras .raios line { opacity: .18; }
.raios--palestras {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 40%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 40%);
}
.palestras.pre { opacity: 0; }
.palestras.entrou { animation: subir14 520ms var(--ease) both; }
.pal-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ouro); line-height: 1.2; }
.pal-eyebrow::before { content: ""; display: block; width: 24px; height: 2px; margin-bottom: 10px; background: var(--ouro); }
.pal-titulo { margin-top: 10px; font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.05; letter-spacing: -0.02em; color: var(--branco); }

.palco { position: relative; isolation: isolate; margin: 20px 0 0; border-radius: 20px; overflow: hidden; background: var(--petroleo); }
.palco img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.palco::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, #132339 0%, #132339 18%, transparent 55%);
}
.palco-ph {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  padding: 6px 10px; border-radius: 999px; background: #fff; color: #132339;
  font-size: 11px; font-weight: 600; line-height: 1.2;
}
.palco-texto { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: flex; flex-direction: column; gap: 2px; }
.palco-titulo { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.1; letter-spacing: -0.02em; color: var(--branco); }
.palco-titulo strong { font-weight: 700; text-transform: uppercase; color: var(--ouro); }
.palco-assin { font-family: var(--assinatura); font-size: 30px; line-height: 1.1; color: var(--ouro); }

.formatos { margin-top: 24px; border-top: 1px solid rgba(237, 237, 237, .14); }
.formatos li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(237, 237, 237, .14); }
.formato-n { flex: none; width: 22px; padding-top: 2px; font-family: var(--display); font-weight: 700; font-size: 14px; line-height: 1.2; color: var(--ouro); }
.formato-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.formato-txt strong { font-size: 16px; font-weight: 600; line-height: 1.25; color: var(--branco); }
.formato-txt span { font-size: 14px; font-weight: 400; line-height: 1.4; color: #c6c6c6; }
.formatos-nota { margin-top: 12px; font-size: 13px; line-height: 1.4; color: #c6c6c6; }
.palestras .ph { color: var(--ouro); }

.prova { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.prova dt { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.05; letter-spacing: -0.02em; color: var(--branco); }
.prova dd { margin: 2px 0 0; font-size: 12px; font-weight: 500; line-height: 1.3; color: #c6c6c6; }
.prova-nota { margin-top: 16px; font-size: 13px; line-height: 1.4; color: #c6c6c6; }

.pal-cta { display: flex; justify-content: space-between; width: 100%; min-height: 56px; margin-top: 28px; padding: 8px 8px 8px 22px; font-size: 16px; }
.pal-apoio { margin-top: 10px; text-align: center; font-size: 12px; line-height: 1.4; color: #c6c6c6; }

/* ---------- Frase-manifesto assinada (sem fundo próprio: vive no bloco escuro de Palestras) ---------- */
.manifesto { margin: 32px 0 0; padding: 0; color: var(--neutro); }
.manifesto-aspas { display: block; font-family: var(--display); font-weight: 700; font-size: 40px; line-height: .8; color: var(--ouro); }
.manifesto-frase {
  margin: 12px 0 0; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--neutro); text-wrap: balance;
}
.manifesto-frase strong { font-weight: 700; text-transform: uppercase; color: var(--ouro); }
.manifesto-assin { margin-top: 18px; }
.manifesto-filete { display: block; width: 24px; height: 2px; background: var(--ouro); }
.manifesto-nome { display: block; margin-top: 6px; font-family: var(--assinatura); font-size: 34px; line-height: 1.1; color: var(--ouro); }

.grade-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.casca--tile { padding: 5px; border-radius: 24px; background: rgba(19, 35, 57, .04); }
.tile {
  position: relative; display: block; isolation: isolate;
  aspect-ratio: 4 / 5;
  border-radius: 19px; overflow: hidden;
  background: var(--cor); color: var(--branco);
  box-shadow: 0 18px 40px -28px rgba(19, 35, 57, .45);
  transition: transform 160ms var(--ease);
}
.tile:active { transform: scale(.98); }
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 40%, transparent 85%);
}
.tile-texto {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
}
.tile-texto i { font-size: 22px; }
.tile-titulo { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.05; letter-spacing: -0.02em; }
.tile-sub { font-size: 12px; line-height: 1.3; color: rgba(255, 255, 255, .75); }
.tile::before { /* scrim na cor do produto, nunca preto translúcido */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, var(--cor) 0%, var(--cor) 30%, transparent 70%);
}

/* ---------- Rodapé ---------- */
.rodape {
  max-width: 460px; margin-inline: auto;
  padding: 48px 16px 40px; text-align: center;
}
.rodape-logo { width: 160px; margin-inline: auto; }
.rodape-logo img { width: 160px; height: auto; }
.rodape-copy { margin-top: 16px; font-size: 12px; color: var(--cinza-texto); }

.aviso-noscript { margin-top: 24px; padding: 16px; background: var(--branco); border-radius: 16px; }
.aviso-noscript a { font-weight: 600; text-decoration: underline; }

/* ==========================================================================
   Animações
   ========================================================================== */
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
@keyframes subir14 { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes subir24 { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes brilho { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ==========================================================================
   Telas maiores (só acrescentam)
   ========================================================================== */
@media (min-width: 492px) {
  .coluna { padding-top: 24px; }
  .palestras { padding: 32px; }
  .prova { flex-direction: row; gap: 12px; }
  .prova > div { flex: 1 1 0; min-width: 0; }
  .prova dt { font-size: 22px; white-space: nowrap; }
  .stories { margin-inline: 0; border-radius: 28px; }
  .assin-linha { margin-top: -34px; }
}

/* Telas baixas: o plano fixa min-height 520, então só cede em paisagem de celular */
@media (max-height: 520px) and (orientation: landscape) {
  .stories { min-height: 0; height: min(88dvh, 480px); }
  .slide-titulo { font-size: clamp(26px, 5vw, 34px); }
  .slide-apoio { display: none; }
  .chip { margin-top: 10px; }
}

/* ==========================================================================
   Movimento reduzido: sem avanço automático, sem Ken Burns, sem brilho, sem entrada.
   As trocas viram crossfade de 150ms.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .stories, .assinatura, .ingresso { animation: none; }
  .slide-foto, .slide-scrim, .slide-bloco { transition-duration: 150ms, 0s; transition-timing-function: linear; transition-delay: 0s, 150ms; }
  .slide.is-ativo .slide-foto, .slide.is-ativo .slide-scrim, .slide.is-ativo .slide-bloco { transition-delay: 0s; }
  .slide.is-ativo .slide-titulo,
  .slide.is-ativo .slide-apoio { animation: none; }
  .stories { transition: background-color 150ms linear; }
  .brilho { display: none; }
  .flutuante { transition: opacity 150ms linear, visibility 0s linear 150ms; transform: none; }
  .pausar { display: none; } /* nada se move sozinho, então não há o que pausar */
  .seta, .pilula, .chip, .card, .tile, .rede { transition-duration: .01ms; }
  html { scroll-behavior: auto; }
}
