/* Radar Bastidores · página de leitura (revista): fundo claro, capas das matérias, fonte sempre citada */
.radarpage { background: var(--paper); color: var(--ink); }
.radarpage .topbar::before { opacity: 1; }

/* Abertura clara, com a luz da marca bem suave vindo da direita */
.rd-intro { position: relative; padding: 150px 0 34px; overflow: hidden;
  background: radial-gradient(60% 120% at 105% -20%, rgba(169,196,224,.55), rgba(169,196,224,0) 60%), var(--paper); }
.rd-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: 40px; align-items: end; }
.rd-intro .eyebrow { color: var(--icon-ink); }
.rd-head h1 { font-size: clamp(38px, 4.6vw, 66px); font-weight: 450; line-height: 1.04; letter-spacing: -.05em; margin: 20px 0 0; max-width: 15ch; color: var(--ink); }
.rd-status { display: grid; gap: 16px; justify-items: start; }
.rd-status p { color: var(--muted-l); font-size: 16px; line-height: 1.7; max-width: 42ch; }
.rd-live { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 999px; font-size: 13px; color: var(--ink);
  background: #fff; box-shadow: 0 0 0 1px rgba(28,50,96,.1), 0 6px 18px -10px rgba(11,21,48,.3); }
.rd-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: rdpulse 2.4s infinite; }
@keyframes rdpulse { 0% { box-shadow: 0 0 0 0 rgba(240,80,42,.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(240,80,42,0); } }

/* Revista */
.rd-mag { padding: 16px 0 40px; }
.rd-card { opacity: 0; transform: translateY(14px); animation: rdin .8s var(--ease-out) forwards; animation-delay: calc(var(--i) * 60ms + 120ms); }
@keyframes rdin { to { opacity: 1; transform: none; } }
.rd-card > a { display: block; height: 100%; color: inherit; }
.rd-media { position: relative; overflow: hidden; background: radial-gradient(80% 90% at 90% 0%, rgba(169,196,224,.5), transparent 60%), #0e1838; }
.rd-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.rd-card:hover .rd-media img, .rd-card:focus-within .rd-media img { transform: scale(1.05); }
.rd-cat { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.rd-meta { font-size: 12.5px; color: var(--muted-l); }
.rd-meta b { font-weight: 600; color: inherit; }
.rd-num { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: #fff; padding: 6px 9px; border-radius: 8px;
  background: rgba(7,11,26,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }

/* Topo: destaque grande + dois laterais com o título sobre a imagem */
.rd-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(250px, 1fr)); gap: 20px; }
.rd-destaque { grid-row: span 2; min-height: 540px; }
.rd-destaque, .rd-lateral { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 50px -30px rgba(11,21,48,.55); }
.rd-destaque .rd-media, .rd-lateral .rd-media { position: absolute; inset: 0; }
.rd-destaque .rd-media::after, .rd-lateral .rd-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,11,26,0) 30%, rgba(7,11,26,.55) 58%, rgba(7,11,26,.92)); }
.rd-destaque .rd-num, .rd-lateral .rd-num { position: absolute; top: 16px; left: 16px; z-index: 2; }
.rd-over { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(20px, 2.6vw, 34px); display: grid; gap: 10px; color: #fff; }
.rd-over h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; line-height: 1.18; letter-spacing: -.02em; text-wrap: balance; }
.rd-destaque .rd-over h3 { font-size: clamp(26px, 2.7vw, 40px); line-height: 1.1; }
.rd-over p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.82); max-width: 56ch; }
.rd-over .rd-meta { color: rgba(255,255,255,.75); }
.rd-over .rd-cat { color: #ff7a55; }

.rd-sep { display: flex; align-items: center; gap: 16px; margin: 46px 0 22px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); }
.rd-sep::after { content: ""; flex: 1; height: 1px; background: var(--line-l); }
.rd-sep::before { content: ""; width: 26px; height: 1px; background: var(--accent); }

/* Grade: imagem em cima, texto embaixo, em cartão branco */
.rd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.rd-grade { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(28,50,96,.07), 0 18px 40px -28px rgba(11,21,48,.4); transition: transform .5s var(--ease-out), box-shadow .5s; }
.rd-grade:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(28,50,96,.1), 0 26px 50px -28px rgba(11,21,48,.5); }
.rd-grade .rd-media { aspect-ratio: 16 / 10; }
.rd-grade .rd-num { position: absolute; top: 12px; left: 12px; }
.rd-text { padding: 18px 20px 20px; display: grid; gap: 9px; }
.rd-text h3 { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; color: var(--ink); }
.rd-grade:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

.rd-sources { margin: 34px 0 0; font-size: 13px; line-height: 1.7; color: var(--muted-l); max-width: 90ch; }
.rd-sources b { color: var(--ink); font-weight: 500; }
.rd-ctawrap { padding: 20px 0 100px; }
.rd-card a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 14px; }

@media (max-width: 1000px) {
  .rd-head { grid-template-columns: 1fr; gap: 22px; }
  .rd-intro { padding-top: 185px; }
  .rd-top { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .rd-destaque { grid-column: 1 / -1; grid-row: auto; min-height: 460px; }
  .rd-lateral { min-height: 280px; }
  .rd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .rd-intro { padding: 170px 0 24px; }
  .rd-top { grid-template-columns: 1fr; gap: 14px; }
  .rd-destaque { min-height: 420px; }
  .rd-lateral { min-height: 250px; }
  .rd-grid { grid-template-columns: 1fr; gap: 16px; }
  .rd-over p { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rd-card { animation: none; opacity: 1; transform: none; } .rd-live i { animation: none; } }

/* Celular: com o Radar no menu são 6 itens; escondo Processo e Dúvidas para caber sem cortar */
@media (max-width: 700px) {
  .topbar .pill:has(a:nth-child(6)) a:nth-child(3), .topbar .pill:has(a:nth-child(6)) a:nth-child(5) { display: none; }
}
/* Capa da marca quando a fonte não publica imagem */
.rd-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center;
  font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.03em; color: rgba(246,241,228,.9);
  background: radial-gradient(70% 90% at 100% 0%, rgba(169,196,224,.45), transparent 60%), linear-gradient(160deg, #13204a, #070b1a); }
.rd-fallback::before, .rd-fallback::after { content: ""; position: absolute; width: 34px; height: 34px; border: 2px solid rgba(169,196,224,.7); }
.rd-fallback::before { left: 18px; top: 18px; border-right: 0; border-bottom: 0; }
.rd-fallback::after { right: 18px; bottom: 18px; border-left: 0; border-top: 0; }
.rd-media img { z-index: 1; }
/* Ajustes de leitura: título sempre legível, mesmo sobre fotos claras */
.rd-destaque .rd-media::after, .rd-lateral .rd-media::after {
  background: linear-gradient(180deg, rgba(7,11,26,0) 20%, rgba(7,11,26,.72) 52%, rgba(7,11,26,.96) 100%); z-index: 1; }
.rd-over h3, .rd-over p, .rd-over .rd-meta { text-shadow: 0 1px 14px rgba(7,11,26,.6); }
.rd-destaque .rd-num, .rd-lateral .rd-num { z-index: 3; }
.rd-grade .rd-num { left: auto; right: 12px; z-index: 2; }
.radarpage .topbar::before { background: rgba(7,11,26,.96); }
.radarpage .topbar, .radarpage footer { color: var(--on-dark); }
.radarpage footer { background: var(--dark); }
/* Grade de 7 sem buraco: 4 colunas, e o 5º cartão ocupa duas (4 + 3) */
.rd-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rd-grid > :nth-child(5) { grid-column: span 2; }
.rd-grid > :nth-child(5) .rd-media { aspect-ratio: 16 / 7.6; }
.rd-text h3 { font-size: 17px; }
@media (max-width: 1000px) {
  .rd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-grid > :nth-child(5) { grid-column: auto; }
  .rd-grid > :nth-child(5) .rd-media { aspect-ratio: 16 / 10; }
  .rd-grid > :last-child:nth-child(odd) { grid-column: span 2; }
}
@media (max-width: 700px) { .rd-grid > :last-child:nth-child(odd) { grid-column: auto; } }
/* Abertura em uma coluna: selo de atualização na linha do título da seção, texto logo abaixo do título */
.rd-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: 18px; border-bottom: 1px solid var(--line-l); }
.rd-intro h1 { font-size: clamp(40px, 5.4vw, 80px); font-weight: 450; line-height: 1.02; letter-spacing: -.05em; margin: 34px 0 18px; color: var(--ink); }
.rd-lead { color: var(--muted-l); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; max-width: 54ch; }
.rd-intro .rd-live { font-size: 12.5px; padding: 7px 13px; }
.rd-intro { padding-bottom: 40px; }
@media (max-width: 700px) { .rd-intro h1 { margin-top: 24px; } }
