/* Rangel Lopes · versão 4 (09/11/2026): com as cores das postagens do Instagram.
   Azul-noite, laranja com brilho, títulos em serifa e letra normal (nada de caixa alta),
   o Rangel à direita e objetos de vidro e luz. O extrato continua sendo o único papel claro.
   Tudo local. Os movimentos respeitam quem pediu menos animação no aparelho. */

@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("assets/fontes/montserrat-500.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("assets/fontes/montserrat-700.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-display: swap; src: url("assets/fontes/montserrat-800.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 900; font-display: swap; src: url("assets/fontes/montserrat-900.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fontes/playfair-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 500; font-style: italic; font-display: swap; src: url("assets/fontes/playfair-500-italic.woff2") format("woff2"); }

:root {
  --noite: #050B1A;
  --noite-2: #081229;
  --noite-3: #0D1A38;
  --laranja: #FF6C00;
  --laranja-texto: #C24E00;
  --azul: #1E7BFF;
  --branco: #FFFFFF;
  --tinta: #0E1219;
  --texto: rgba(255, 255, 255, .84);
  --texto-fraco: rgba(255, 255, 255, .6);
  --linha-escura: rgba(255, 255, 255, .12);
  --brilho: 0 0 28px rgba(255, 108, 0, .55);
  --serifa: "Playfair Display", Georgia, serif;
  --miolo: 1180px;
  --curva: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--noite); }
body {
  font-family: "Montserrat", system-ui, sans-serif; font-weight: 500;
  font-size: 18px; line-height: 1.6; color: var(--texto); background: var(--noite);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--branco); }
h2 { font-family: var(--serifa); font-weight: 700; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -.012em; }
h3 { font-weight: 800; line-height: 1.2; }
h1 em, h2 em, .destaque__frase em { font-style: italic; font-weight: 500; color: var(--laranja); text-shadow: var(--brilho); }
.miolo { width: min(var(--miolo), 100% - 48px); margin-inline: auto; }
.pular { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--tinta); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.pular:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--laranja); outline-offset: 3px; }

.rotulo { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; font-size: 15px; letter-spacing: .01em; color: var(--laranja); margin-bottom: 18px; }
.rotulo::before { content: ""; width: 34px; height: 3px; background: currentColor; box-shadow: 0 0 12px var(--laranja); flex: none; }
.lead { margin-top: 22px; font-size: 20px; max-width: 36em; }

/* barra de leitura no topo */
.progresso { position: fixed; inset: 0 0 auto; height: 3px; z-index: 70; pointer-events: none; }
.progresso span { display: block; height: 100%; width: 100%; background: var(--laranja); box-shadow: 0 0 10px var(--laranja); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- topo ---------- */
.topo { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.topo.solido { background: rgba(5, 11, 26, .88); backdrop-filter: blur(14px); border-color: var(--linha-escura); }
.topo__linha { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.topo__marca img { width: 118px; height: auto; }
.topo__menu { display: flex; gap: 32px; }
.topo__menu a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; opacity: .78; position: relative; }
.topo__menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--laranja); box-shadow: 0 0 8px var(--laranja); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--curva); }
.topo__menu a:hover { opacity: 1; }
.topo__menu a:hover::after { transform: scaleX(1); }

/* ---------- botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  background: var(--laranja); color: var(--noite); text-decoration: none; border: 0; cursor: pointer;
  font: 800 17px/1.2 "Montserrat", sans-serif; padding: 18px 30px; border-radius: 14px;
  transition: transform .2s var(--curva), background .2s, box-shadow .2s; box-shadow: 0 0 30px rgba(255, 108, 0, .42);
}
.botao::after { content: "→"; transition: transform .2s var(--curva); }
.botao:hover { background: #FF801F; transform: translateY(-2px); box-shadow: 0 0 44px rgba(255, 108, 0, .6); }
.botao:hover::after { transform: translateX(4px); }
.botao--pequeno { padding: 11px 20px; font-size: 14px; box-shadow: none; }
.botao--grande { padding: 22px 42px; font-size: 19px; }
.botao--vazado, .botao--azul { background: rgba(255, 255, 255, .04); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .34); }
.botao--azul { box-shadow: inset 0 0 0 2px var(--azul); }
.botao--vazado:hover, .botao--azul:hover { background: rgba(255, 108, 0, .12); box-shadow: inset 0 0 0 2px var(--laranja), 0 0 24px rgba(255, 108, 0, .35); color: #fff; }

/* ---------- abertura: o mesmo desenho da capa do carrossel ---------- */
.abertura { position: relative; background: var(--noite); color: #fff; overflow: hidden; isolation: isolate; }
.abertura::after {             /* luz laranja que acompanha o mouse */
  content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; border-radius: 50%;
  left: calc(var(--mx, 30%) - 450px); top: calc(var(--my, 40%) - 450px);
  background: radial-gradient(circle, rgba(255, 108, 0, .1), transparent 62%); transition: left .6s var(--curva), top .6s var(--curva);
}
.abertura__grade {
  position: relative; width: 100%; min-height: min(860px, 92vh); display: flex; align-items: center;
  padding: 120px max(24px, calc((100% - var(--miolo)) / 2)) 56px;
}
.abertura__texto { position: relative; z-index: 2; width: min(700px, 60%); }
.manchete { font-family: var(--serifa); font-weight: 700; color: #fff; font-size: clamp(42px, 5.8vw, 84px); line-height: 1.02; letter-spacing: -.02em; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.manchete__linha { display: block; }
.manchete__destaque { color: var(--laranja); font-style: italic; font-weight: 500; text-shadow: 0 0 34px rgba(255, 108, 0, .6), 0 4px 30px rgba(0, 0, 0, .6); }
.troca { display: block; position: relative; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.troca__palavra { display: inline-block; color: #fff; }
.troca__palavra.sai { animation: sai .45s var(--curva) forwards; }
.troca__palavra.entra { animation: entra-palavra .55s var(--curva) both; }
@keyframes sai { to { transform: translateY(-100%); opacity: 0; } }
@keyframes entra-palavra { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
.abertura__sub { margin-top: 26px; max-width: 31em; font-size: 20px; color: rgba(255, 255, 255, .9); text-shadow: 0 2px 16px rgba(0, 0, 0, .8); }
.abertura__acoes { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.abertura__onde { margin-top: 28px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--texto-fraco); }
.ponto { width: 8px; height: 8px; border-radius: 50%; background: #34C759; box-shadow: 0 0 0 0 rgba(52, 199, 89, .6); animation: pulsa 2.4s infinite; flex: none; }
@keyframes pulsa { 70% { box-shadow: 0 0 0 10px rgba(52, 199, 89, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); } }

.abertura__foto { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; height: 100%; aspect-ratio: 4 / 5; max-width: 62%; }
.abertura__foto img {
  width: 100%; height: 100%; object-fit: cover; object-position: 100% 20%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%), linear-gradient(180deg, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 24%), linear-gradient(180deg, #000 82%, transparent 100%);
  mask-composite: intersect;
}

.numeros { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--linha-escura); position: relative; z-index: 2; }
.numeros li { padding: 28px 24px 42px 0; display: grid; gap: 6px; align-content: start; }
.numeros li + li { padding-left: 28px; border-left: 1px solid var(--linha-escura); }
.numeros strong { font-family: var(--serifa); font-weight: 700; font-size: clamp(34px, 3.6vw, 50px); line-height: 1; color: var(--laranja); text-shadow: var(--brilho); }
.numeros span { font-size: 14px; color: var(--texto-fraco); line-height: 1.4; }

/* ---------- letreiro com a tese: a linha de luz dos posts ---------- */
.letreiro { position: relative; background: var(--noite-2); overflow: hidden; padding: 24px 0; border-block: 2px solid var(--laranja); box-shadow: 0 0 26px rgba(255, 108, 0, .4); }
.letreiro__trilho { display: flex; align-items: center; gap: 36px; width: max-content; animation: corre 38s linear infinite; }
.letreiro span { font-family: var(--serifa); font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); color: #fff; white-space: nowrap; }
.letreiro span:nth-of-type(even) { color: var(--laranja); font-style: italic; font-weight: 500; text-shadow: var(--brilho); }
.letreiro i { width: 9px; height: 9px; background: var(--laranja); box-shadow: 0 0 12px var(--laranja); border-radius: 50%; flex: none; }
@keyframes corre { to { transform: translateX(-33.333%); } }

/* ---------- o extrato: o único papel claro da página ---------- */
.extrato-secao { padding: 120px 0; overflow: hidden; background: radial-gradient(90% 70% at 85% 60%, #0f2a66 0%, var(--noite) 62%); }
.extrato-grade { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.extrato-aviso { margin-top: 26px; font-size: 13px; font-weight: 700; color: var(--texto-fraco); letter-spacing: .02em; }
.extrato {
  position: relative; background: #FFFEFB; border-radius: 16px;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .75), 0 0 60px rgba(30, 123, 255, .18); padding: 28px 30px 24px;
  font-variant-numeric: tabular-nums; transform: rotate(-1.2deg); margin-right: 200px;
}
.extrato__topo, .extrato__rodape { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: #6E7684; }
.extrato__topo { padding-bottom: 14px; border-bottom: 2px solid var(--tinta); }
.extrato__linhas { list-style: none; }
.extrato__linhas li {
  position: relative; display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center;
  padding: 13px 0; border-bottom: 1px dashed #E2DFD9; font-size: 15px; color: var(--tinta); font-weight: 500;
}
.extrato__linhas li span:first-child { color: #6E7684; font-weight: 700; font-size: 13px; }
.extrato__linhas li span:last-child { font-weight: 700; }
.extrato__linhas .mais { color: #1C7C54; }
.extrato__linhas li.alvo::before {        /* o traço da caneta laranja */
  content: ""; position: absolute; left: 40px; right: -6px; bottom: 7px; height: 3px; border-radius: 3px;
  background: var(--laranja); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--curva);
}
.extrato__linhas li.alvo::after {         /* a anotação na margem */
  content: attr(data-nota); position: absolute; left: calc(100% + 48px); top: 50%; width: 170px;
  font-family: var(--serifa); font-style: italic; font-weight: 500; font-size: 17px; line-height: 1.25; color: var(--laranja); text-shadow: 0 0 18px rgba(255, 108, 0, .4);
  opacity: 0; transform: translate(-8px, -50%); transition: opacity .6s .5s, transform .6s .5s var(--curva);
}
.extrato__linhas li.alvo.marcado::before { transform: scaleX(1); }
.extrato__linhas li.alvo.marcado::after { opacity: 1; transform: translate(0, -50%); }
.extrato__rodape { padding-top: 16px; align-items: baseline; }
.extrato__rodape strong { font-size: 22px; letter-spacing: 0; color: #C0392B; font-variant-numeric: tabular-nums; }

/* ---------- o teste ---------- */
.teste-secao { padding: 120px 0; position: relative; overflow: hidden; background: var(--noite-2); }
.teste-grade { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.teste-texto { position: sticky; top: 110px; }
.teste-texto::after {
  content: ""; display: block; margin-top: 8px; aspect-ratio: 900 / 720; max-width: 400px;
  background: url("assets/web-obj-bussola.jpg") center bottom / 100% auto no-repeat;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent); mask-image: radial-gradient(closest-side, #000 62%, transparent);
}
.teste { display: grid; gap: 14px; }
.teste fieldset { border: 1px solid var(--linha-escura); border-radius: 16px; padding: 22px 24px; background: rgba(255, 255, 255, .035); transition: border-color .3s, box-shadow .3s; }
.teste fieldset.respondido { border-color: rgba(255, 108, 0, .65); box-shadow: 0 0 22px rgba(255, 108, 0, .14); }
.teste legend { float: left; width: 100%; font-weight: 700; color: #fff; font-size: 17px; line-height: 1.4; margin-bottom: 16px; }
.teste label { display: inline-block; margin: 0 8px 0 0; cursor: pointer; }
.teste input { position: absolute; opacity: 0; pointer-events: none; }
.teste label span { display: inline-block; padding: 11px 20px; border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, .24); font-weight: 700; font-size: 15px; color: rgba(255, 255, 255, .88); transition: all .2s; }
.teste label:hover span { border-color: var(--laranja); color: #fff; }
.teste input:checked + span { background: var(--laranja); border-color: var(--laranja); color: var(--noite); box-shadow: 0 0 18px rgba(255, 108, 0, .45); }
.teste input:focus-visible + span { outline: 3px solid var(--laranja); outline-offset: 3px; }
.teste__falta { font-size: 14px; color: var(--texto-fraco); padding: 6px 4px; }
.teste__resultado { border-radius: 18px; padding: 32px; background: var(--noite-3); border: 2px solid var(--laranja); box-shadow: 0 0 34px rgba(255, 108, 0, .25); animation: aparece .6s var(--curva); }
@keyframes aparece { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.medidor { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; margin-bottom: 22px; }
.medidor span { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #F5B041, var(--laranja), #E0452F); transition: width 1s var(--curva); }
.teste__nota { font-family: var(--serifa); font-weight: 700; font-size: 28px; line-height: 1.15; color: #fff; margin-bottom: 12px; }
.teste__resultado p + p { margin-bottom: 22px; }

/* ---------- seções comuns ---------- */
.secao { padding: 120px 0; }
.secao--cinza { background: var(--noite-2); }
.cabeca { max-width: 860px; margin-bottom: 56px; }

/* como funciona: três cards como os do carrossel, texto em cima e objeto embaixo */
.linha-tempo { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 56px; }
.linha-tempo li {
  position: relative; padding: 32px 30px 345px; border-radius: 18px; border: 1px solid var(--linha-escura);
  background: var(--noite-2) var(--objeto) center bottom / 100% auto no-repeat; overflow: hidden;
}
.linha-tempo li::before { content: ""; position: absolute; inset: 0 0 auto; height: 62%; background: linear-gradient(180deg, var(--noite-2) 72%, transparent); }
.linha-tempo li > * { position: relative; }
.linha-tempo li:nth-child(1) { --objeto: url("assets/web-obj-cofre.jpg"); }
.linha-tempo li:nth-child(2) { --objeto: url("assets/web-obj-balanca.jpg"); }
.linha-tempo li:nth-child(3) { --objeto: url("assets/web-obj-relogio.jpg"); }
.linha-tempo__numero { display: block; font-family: var(--serifa); font-weight: 700; font-size: 64px; line-height: 1; letter-spacing: -.02em; color: var(--laranja); text-shadow: var(--brilho); margin-bottom: 16px; }
.linha-tempo h3 { font-size: 23px; margin-bottom: 12px; }
.linha-tempo p { font-size: 16px; }
.linha-tempo .nota { margin-top: 14px; font-size: 14px; font-weight: 800; color: var(--laranja); }
.foto-larga img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 30%; border-radius: 18px; }
.foto-larga figcaption { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--texto-fraco); }

/* provas */
.provas { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.provas li { padding: 30px 28px; background: rgba(255, 255, 255, .035); border: 1px solid var(--linha-escura); border-radius: 18px; transition: transform .35s var(--curva), border-color .35s, box-shadow .35s; }
.provas li:hover { transform: translateY(-6px); border-color: rgba(255, 108, 0, .65); box-shadow: 0 0 26px rgba(255, 108, 0, .16); }
.provas__n { display: block; font-family: var(--serifa); font-style: italic; font-weight: 500; font-size: 24px; color: var(--laranja); text-shadow: var(--brilho); margin-bottom: 16px; }
.provas h3 { font-size: 20px; margin-bottom: 10px; }
.provas p { font-size: 16px; color: rgba(255, 255, 255, .76); }
#experiencia { background: var(--noite-2); }

/* frase: um post inteiro, texto à esquerda e o xadrez à direita */
.destaque { position: relative; padding: 130px 0; overflow: hidden; background: var(--noite); isolation: isolate; }
.destaque::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: min(46%, 640px);
  background: url("assets/web-obj-xadrez.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%);
}
.destaque__frase { font-family: var(--serifa); font-weight: 700; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.1; letter-spacing: -.015em; color: #fff; max-width: 13.5em; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.destaque__nota { margin-top: 30px; max-width: 32em; font-size: 19px; text-shadow: 0 2px 16px rgba(0, 0, 0, .8); }

/* quem sou */
.sobre { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.sobre__foto { position: sticky; top: 110px; }
.sobre__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border-radius: 18px; box-shadow: 0 0 60px rgba(30, 123, 255, .2); }
.sobre__cargo { font-weight: 800; color: var(--laranja); margin: 10px 0 26px; }
.sobre__texto > p { margin-bottom: 18px; }
.formacao { margin-top: 32px; padding: 26px 28px; background: rgba(255, 255, 255, .035); border: 1px solid var(--linha-escura); border-radius: 16px; }
.formacao h3 { font-size: 16px; font-weight: 800; color: var(--laranja); margin-bottom: 16px; }
.formacao ul { list-style: none; display: grid; gap: 10px; }
.formacao li { padding-left: 24px; position: relative; font-weight: 700; color: #fff; font-size: 16px; }
.formacao li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 3px; background: var(--laranja); border-radius: 2px; }
.sobre__links { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.sobre__insta { font-weight: 800; color: var(--laranja); text-underline-offset: 4px; }

/* perguntas */
.perguntas { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.perguntas h2 { font-size: clamp(30px, 3.4vw, 44px); }
.perguntas__lista details { border-bottom: 1px solid var(--linha-escura); }
.perguntas__lista details:first-child { border-top: 1px solid var(--linha-escura); }
.perguntas__lista summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative; font-weight: 800; font-size: 19px; color: #fff; line-height: 1.35; }
.perguntas__lista summary::-webkit-details-marker { display: none; }
.perguntas__lista summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: var(--laranja); font-size: 22px; font-weight: 700; transition: transform .3s var(--curva), background .3s, color .3s; }
.perguntas__lista details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--laranja); color: var(--noite); }
.perguntas__lista details p { padding: 0 0 28px; max-width: 40em; }

/* final: o card de convite do carrossel */
.final { position: relative; overflow: hidden; background: var(--noite); isolation: isolate; }
.final .miolo { position: relative; z-index: 2; padding: 130px 0 120px; min-height: 680px; display: flex; flex-direction: column; justify-content: center; }
.final__foto { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; height: 100%; aspect-ratio: 4 / 5; max-width: 60%; }
.final__foto img {
  width: 100%; height: 100%; object-fit: cover; object-position: 100% 12%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%); mask-image: linear-gradient(90deg, transparent 0, #000 26%);
}
.final__titulo { font-size: clamp(46px, 7vw, 104px); line-height: 1; letter-spacing: -.025em; max-width: 7.6em; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.final__texto { max-width: 26em; margin-top: 26px; font-size: 20px; text-shadow: 0 2px 16px rgba(0, 0, 0, .8); }
.final__acoes { margin-top: 38px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.final__insta { font-size: 16px; font-weight: 700; color: var(--texto-fraco); text-underline-offset: 4px; }
.final__insta:hover { color: var(--laranja); }

/* rodapé */
.rodape { background: var(--noite); color: var(--texto-fraco); padding: 40px 0; font-size: 14px; border-top: 1px solid var(--linha-escura); }
.rodape__linha { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.rodape img { width: 104px; height: auto; }
.rodape__nota { font-size: 12px; max-width: 30em; }
.zap-fixo { display: none; }

/* ---------- artigos ---------- */
.pagina-artigo { padding: 130px 0 96px; background: radial-gradient(90% 40% at 80% 0%, #0f2a66 0%, var(--noite) 70%); }
.artigo { width: min(740px, 100% - 48px); margin-inline: auto; }
.artigo__volta { display: block; width: fit-content; margin-bottom: 28px; font-size: 15px; font-weight: 700; color: var(--texto-fraco); text-decoration: none; }
.artigo__volta:hover { color: var(--laranja); }
.artigo__titulo { font-family: var(--serifa); font-weight: 700; font-size: clamp(36px, 4.8vw, 56px); line-height: 1.08; letter-spacing: -.015em; color: #fff; }
.artigo__titulo em { font-style: italic; font-weight: 500; color: var(--laranja); text-shadow: var(--brilho); }
.artigo__resumo { margin-top: 22px; font-size: 21px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.artigo__autor { margin-top: 20px; padding-bottom: 34px; border-bottom: 1px solid var(--linha-escura); font-size: 14px; font-weight: 700; color: var(--texto-fraco); }
.artigo__autor a { color: var(--laranja); text-decoration: none; }
.artigo__corpo { margin-top: 38px; font-size: 19px; line-height: 1.7; }
.artigo__corpo p { margin-top: 18px; }
.artigo__corpo h2 { margin-top: 52px; font-size: clamp(27px, 3vw, 34px); line-height: 1.15; }
.artigo__corpo strong { color: #fff; }
.artigo__corpo a { color: var(--laranja); text-underline-offset: 3px; }
.artigo__corpo ul, .artigo__corpo ol { margin: 18px 0 0 24px; display: grid; gap: 12px; }
.artigo__corpo li::marker { color: var(--laranja); font-weight: 800; }
.artigo__nota { padding: 18px 22px; border-left: 3px solid var(--azul); background: rgba(255, 255, 255, .035); border-radius: 0 12px 12px 0; font-size: 16px; line-height: 1.55; }
.artigo__tabela { margin-top: 24px; overflow-x: auto; border: 1px solid var(--linha-escura); border-radius: 14px; }
.artigo__tabela table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.4; }
.artigo__tabela th, .artigo__tabela td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linha-escura); }
.artigo__tabela tr:last-child th, .artigo__tabela tr:last-child td { border-bottom: 0; }
.artigo__tabela thead th { color: var(--laranja); font-weight: 800; background: rgba(255, 255, 255, .035); }
.artigo__tabela tbody th { color: #fff; font-weight: 700; }
.artigo__acao { margin-top: 44px; padding: 24px 26px; border: 2px solid var(--laranja); border-radius: 16px; background: rgba(255, 108, 0, .08); box-shadow: 0 0 26px rgba(255, 108, 0, .16); }
.artigo__acao strong { color: var(--laranja); }
.artigo__acao p { margin-top: 8px; }
.convite { margin-top: 56px; padding: 38px 36px; border-radius: 18px; text-align: left; background: var(--noite-3); border: 1px solid var(--linha-escura); }
.convite h2 { font-size: clamp(28px, 3.4vw, 38px); }
.convite p { margin: 12px 0 24px; }
.quem { margin-top: 28px; display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: center; font-size: 16px; line-height: 1.5; }
.quem img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; }
.quem strong { color: #fff; }
.quem a { color: var(--laranja); text-underline-offset: 3px; }
.tambem { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--linha-escura); }
.tambem h2 { font-size: 24px; }
.tambem ul { list-style: none; margin-top: 12px; display: grid; gap: 10px; }
.tambem a { font-weight: 700; color: var(--laranja); text-underline-offset: 3px; }
.lista-artigos { list-style: none; margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lista-artigos a { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 0 28px 30px; overflow: hidden; color: inherit; text-decoration: none; border: 1px solid var(--linha-escura); border-radius: 18px; background: var(--noite-2); transition: transform .3s var(--curva), border-color .3s, box-shadow .3s; }
.lista-artigos a:hover { transform: translateY(-4px); border-color: rgba(255, 108, 0, .65); box-shadow: 0 0 26px rgba(255, 108, 0, .16); }
.lista-artigos img { width: calc(100% + 56px); max-width: none; margin: 0 -28px 12px; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 62%; }
.lista-artigos__rotulo { font-size: 14px; font-weight: 700; color: var(--laranja); }
.lista-artigos strong { font-family: var(--serifa); font-weight: 700; font-size: 27px; line-height: 1.15; color: #fff; }
.rodape__link { color: #fff; font-weight: 700; text-underline-offset: 4px; }
.rodape__link:hover { color: var(--laranja); }

/* ---------- entrada das seções ao rolar ---------- */
.revela { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--curva), transform .8s var(--curva); }
.revela.visivel { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revela { opacity: 1; transform: none; }
  .extrato__linhas li.alvo::before { transform: scaleX(1); }
  .extrato__linhas li.alvo::after { opacity: 1; transform: translate(0, -50%); }
  .letreiro__trilho { flex-wrap: wrap; width: auto; }
}

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .extrato-grade { grid-template-columns: 1fr; gap: 48px; }
  .extrato { max-width: 620px; margin-right: 210px; }
}
@media (max-width: 980px) {
  .topo__menu { display: none; }
  /* no aparelho estreito a foto fica em cima e o texto entra por cima da parte que se apaga */
  .abertura__grade { min-height: 0; display: block; padding: 340px 24px 44px; }
  .abertura__texto { width: 100%; max-width: 640px; }
  .abertura__foto { bottom: auto; height: 440px; aspect-ratio: auto; width: min(100%, 560px); max-width: none; }
  .abertura__foto img {
    object-position: 100% 12%;
    -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%); -webkit-mask-composite: source-over;
    mask-image: linear-gradient(180deg, #000 58%, transparent 100%); mask-composite: add;
  }
  .numeros { grid-template-columns: 1fr 1fr; }
  .numeros li:nth-child(3) { padding-left: 0; border-left: 0; }
  .numeros li:nth-child(n + 3) { border-top: 1px solid var(--linha-escura); padding-top: 26px; }
  .teste-grade, .sobre, .perguntas { grid-template-columns: 1fr; gap: 44px; }
  .teste-texto { position: static; }
  .teste-texto::after { display: none; }
  .linha-tempo { grid-template-columns: 1fr; }
  .linha-tempo li { padding-bottom: 400px; background-size: min(100%, 460px) auto; }
  .provas { grid-template-columns: 1fr 1fr; }
  .sobre__foto { position: static; max-width: 380px; }
  .secao, .extrato-secao, .teste-secao { padding: 84px 0; }
  .destaque { padding: 84px 0 340px; }
  .destaque::after { top: auto; left: 0; right: 0; width: 100%; height: 340px; background-position: center 60%; background-size: min(100%, 460px) auto; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); mask-image: linear-gradient(180deg, transparent, #000 30%); }
  .final .miolo { min-height: 0; padding: 410px 0 84px; }
  .final__foto { bottom: auto; height: 460px; aspect-ratio: auto; width: min(100%, 560px); max-width: none; }
  .final__foto img { object-position: 100% 8%; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
}

/* ---------- celular ---------- */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .miolo { width: calc(100% - 36px); }
  .topo__marca img { width: 98px; }
  .topo .botao { display: none; }
  .abertura__grade { width: 100%; padding: 276px 18px 40px; }
  .abertura__foto { height: 360px; }
  .abertura__foto img { -webkit-mask-image: linear-gradient(180deg, #000 42%, transparent 76%); mask-image: linear-gradient(180deg, #000 42%, transparent 76%); }
  .manchete { font-size: min(12vw, 50px); }
  .abertura__sub, .lead { font-size: 18px; }
  .abertura__acoes .botao, .final .botao, .sobre__links .botao, .teste__resultado .botao { width: 100%; }
  .extrato { margin-right: 0; padding: 22px 18px 18px; transform: none; }
  .extrato__linhas li { grid-template-columns: 26px 1fr auto; gap: 10px; font-size: 14px; }
  /* no celular a anotação desce para baixo da linha, em vez de ir para a margem */
  .extrato__linhas li.alvo { padding-bottom: 38px; }
  .extrato__linhas li.alvo::after { left: 36px; top: auto; bottom: 8px; width: auto; right: 0; font-size: 15px; color: var(--laranja-texto); text-shadow: none; transform: translateY(6px); }
  .extrato__linhas li.alvo.marcado::after { transform: none; }
  .extrato__linhas li.alvo::before { bottom: 34px; left: 36px; }
  .pagina-artigo { padding: 100px 0 90px; }
  .artigo { width: calc(100% - 36px); }
  .artigo__corpo { font-size: 18px; }
  .artigo__tabela table { font-size: 14px; }
  .artigo__tabela th, .artigo__tabela td { padding: 11px 10px; }
  .convite { padding: 28px 22px; }
  .convite .botao { width: 100%; }
  .lista-artigos { grid-template-columns: 1fr; }
  .provas { grid-template-columns: 1fr; }
  .teste fieldset { padding: 18px; }
  .teste label { margin-bottom: 8px; }
  .linha-tempo__numero { font-size: 50px; }
  .foto-larga img { aspect-ratio: 4 / 3; }
  .zap-fixo {
    display: flex; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60; justify-content: center;
    background: var(--laranja); color: var(--noite); text-decoration: none; font-weight: 800; padding: 16px; border-radius: 14px;
    box-shadow: 0 0 30px rgba(255, 108, 0, .5);
  }
  .rodape { padding-bottom: 100px; }
}
