/* =========================================================================
   Viés da Notícia — design system do portal
   Compartilhado entre o protótipo e o tema WordPress.
   ========================================================================= */

:root {
  --ink: #141416;
  --head-bg: #050506;      /* fundo do logo */
  --nav-bg: #1d1d20;       /* faixa do menu: preto quase cinza */
  --nav-line: #2c2c30;
  --char: #3a3a3c;
  --muted: #6b6b70;
  --paper: #fafaf7;
  --white: #ffffff;
  --line: #e7e5df;
  --gold: #e3b22f;
  --gold-hi: #f4cc35;
  --gold-deep: #a87a1c;      /* dourado legível sobre branco (texto) */
  --alert: #c0261c;

  --f-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-ui: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gap: 28px;
  --r: 6px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  --t-fast: .2s;
  --t-med: .5s;
  --t-slow: 1.1s;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 16px/1.55 var(--f-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.screen-reader-text, .sr {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 999; clip: auto; width: auto; height: auto;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--r);
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* ---------- Tipografia de notícia ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font: 700 11.5px/1 var(--f-ui); letter-spacing: .09em; text-transform: uppercase;
  color: var(--gold-deep);
}
.kicker::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  transition: transform var(--t-med) var(--ease-spring);
}
.card:hover .kicker::before { transform: scale(1.5); }

.title {
  font-family: var(--f-head); font-weight: 700; letter-spacing: -.012em;
  line-height: 1.16; margin: 8px 0 0; text-wrap: balance;
}
.title a {
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat;
  transition: background-size var(--t-med) var(--ease-out);
  padding-bottom: 1px;
}
.card:hover .title a, .title a:hover, .title a:focus-visible { background-size: 100% 2px; }

.t-xl { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.07; }
.t-l  { font-size: clamp(22px, 2vw, 27px); }
.t-m  { font-size: 19px; }
.t-s  { font-size: 16.5px; line-height: 1.25; }

.dek { color: var(--char); font-size: 16.5px; line-height: 1.5; margin: 12px 0 0; }
.meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 12px;
  font: 500 12.5px/1.2 var(--f-ui); color: var(--muted);
}
.meta b { color: var(--ink); font-weight: 600; }
.meta svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; opacity: .7; }

/* ---------- Mídia com zoom lento ---------- */
.media {
  position: relative; display: block; overflow: hidden; border-radius: var(--r); background: #ecebe6;
  aspect-ratio: 16 / 10;
}
.media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out), opacity .7s ease, filter .7s ease;
}
.card:hover .media img { transform: scale(1.045); }
.js .media img[loading="lazy"]:not(.is-loaded) { opacity: 0; filter: blur(8px); }
.media .badge-lock {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: var(--gold-hi);
  font: 700 11px/1 var(--f-ui); letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 9px; border-radius: 999px;
}
.media .play {
  position: absolute; inset: auto auto 12px 12px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); display: grid; place-items: center;
  transition: transform var(--t-med) var(--ease-spring);
}
.media .play::after {
  content: ""; border-left: 14px solid var(--ink); border-top: 9px solid transparent;
  border-bottom: 9px solid transparent; margin-left: 4px;
}
.card:hover .play { transform: scale(1.15); }

/* =========================================================================
   Cabeçalho
   ========================================================================= */
.topbar { background: var(--head-bg); border-bottom: 1px solid #1a1a1d; color: #d9d9dc; font: 500 12.5px/1 var(--f-ui); }
.topbar .wrap { display: flex; align-items: center; gap: 18px; height: 40px; }
.topbar__date { white-space: nowrap; color: #a4a4aa; }

.ticker { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; overflow: hidden; }
.ticker__label {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-hi); font-size: 11px;
}
.ticker__label i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--alert);
  animation: pulse 1.8s ease-out infinite;
}
.ticker__viewport {
  flex: 1; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track a { padding-right: 46px; white-space: nowrap; color: #ececef; transition: color var(--t-fast); }
.ticker__track a::before { content: "•"; color: var(--gold); margin-right: 12px; }
.ticker__track a:hover { color: var(--gold-hi); }

.social { display: flex; gap: 4px; }
.social a {
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  color: #c9c9cd; transition: background var(--t-fast), color var(--t-fast), transform var(--t-med) var(--ease-spring);
}
.social a:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.social svg { width: 15px; height: 15px; fill: currentColor; }

/* Masthead + navegação: um único bloco fixo que se compacta */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--head-bg); color: #fff;
  transition: box-shadow var(--t-med) ease;
}
.site-header.is-compact { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .55); }

.masthead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  height: 92px; transition: height var(--t-med) var(--ease-out); }
.is-compact .masthead { height: 60px; }
.brand { justify-self: center; display: block; }
.brand img { height: 58px; width: auto; transition: height var(--t-med) var(--ease-out); }
.is-compact .brand img { height: 38px; }
.masthead__left, .masthead__right { display: flex; align-items: center; gap: 10px; }
.masthead__right { justify-content: flex-end; }

.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  border: 0; background: transparent; color: var(--ink);
  transition: background var(--t-fast), color var(--t-fast);
}
.icon-btn:hover { background: #f1efe9; }
.site-header .icon-btn, .drawer .icon-btn { color: #ececef; }
.site-header .icon-btn:hover, .drawer .icon-btn:hover { background: #1f1f23; color: var(--gold-hi); }
.site-header .btn--ghost { border-color: #5a5a60; color: #fff; }
.site-header .btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }

.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 18px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 13.5px/1 var(--f-ui); letter-spacing: .01em; white-space: nowrap;
  transition: transform var(--t-med) var(--ease-spring), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--gold { background: linear-gradient(100deg, var(--gold), var(--gold-hi)); color: var(--ink); }
.btn--gold::after {   /* brilho que atravessa o botão no hover */
  content: ""; position: absolute; inset: 0 auto 0 -60%; width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent);
  transform: skewX(-20deg); transition: left .8s var(--ease-out);
}
.btn--gold:hover::after { left: 120%; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }

/* Navegação com o pingo dourado que desliza */
.nav { position: relative; background: var(--nav-bg); border-top: 1px solid var(--nav-line); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px;
  overflow-x: auto; scrollbar-width: none; }
.nav ul::-webkit-scrollbar { display: none; }
.nav a {
  display: block; padding: 14px 14px 16px; white-space: nowrap;
  font: 650 14px/1 var(--f-ui); color: #b9b9bf; transition: color var(--t-fast);
}
.nav a:hover, .nav .current-menu-item > a, .nav .current-cat > a, .nav a[aria-current] { color: #fff; }
.nav__dot {
  position: absolute; left: 0; bottom: 5px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); pointer-events: none; opacity: 0;
  transition: transform .55s var(--ease-spring), opacity .3s ease, width .35s var(--ease-out);
}
.nav__dot.is-on { opacity: 1; }
.nav__dot.is-moving { width: 18px; border-radius: 6px; }

/* Barra de leitura (matérias) */
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-hi)); transform: scaleX(0);
}
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
}

/* Busca em overlay */
.search-panel {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: start center; padding-top: 14vh;
  background: rgba(20, 20, 22, .55); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
}
.search-panel.is-open { opacity: 1; visibility: visible; }
.search-panel form {
  width: min(92vw, 720px); display: flex; background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5);
  transform: translateY(-20px) scale(.98); transition: transform .5s var(--ease-spring);
}
.search-panel.is-open form { transform: none; }
.search-panel input { flex: 1; border: 0; padding: 22px 24px; font: 500 20px var(--f-ui); outline: none; }
.search-panel button { border: 0; background: var(--gold); padding: 0 26px; font-weight: 700; }

/* Menu mobile */
.drawer {
  position: fixed; inset: 0; z-index: 95; visibility: hidden; pointer-events: none;
}
.drawer__bg { position: absolute; inset: 0; background: rgba(20, 20, 22, .5); opacity: 0; transition: opacity .4s ease; }
.drawer__panel {
  position: absolute; inset: 0 auto 0 0; width: min(86vw, 360px); background: var(--head-bg); color: #fff;
  padding: 22px 26px; overflow-y: auto; transform: translateX(-100%); transition: transform .55s var(--ease-out);
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer ul { list-style: none; padding: 0; margin: 22px 0; }
.drawer li { opacity: 0; transform: translateX(-16px); transition: opacity .4s ease, transform .5s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 40ms + 120ms); }
.drawer.is-open li { opacity: 1; transform: none; }
.drawer li a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--nav-line);
  font: 700 19px var(--f-head); }
.drawer li a::after { content: "→"; color: var(--gold); transition: transform var(--t-med) var(--ease-spring); }
.drawer li a:hover::after { transform: translateX(5px); }

/* =========================================================================
   Publicidade
   ========================================================================= */
.ad {
  position: relative; display: grid; place-items: center; margin-inline: auto;
  background: repeating-linear-gradient(-45deg, #f6f5f1 0 10px, #f1efea 10px 20px);
  color: #a3a19b; font: 600 11px/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase;
  border-radius: 4px;
}
.ad::before { content: "Publicidade"; position: absolute; top: -16px; left: 0; color: #b1afa9; font-size: 10px; }
.ad--filled { background: none; }
.ad--leader { width: min(100%, 970px); min-height: 250px; margin-block: 34px 6px; }
.ad--feed { width: min(100%, 728px); min-height: 90px; margin-block: 46px; }
.ad--rect { width: 300px; min-height: 250px; margin-top: 18px; }
.ad--half { width: 300px; min-height: 600px; margin-top: 18px; }
.ad--inarticle { width: min(100%, 336px); min-height: 280px; margin: 38px auto; }
/* Vaga do parceiro (GPT): 680×180 no desktop, 300×300 no celular.
   A altura fica reservada para a página não "pular" quando o anúncio carrega. */
.ad--parceiro { width: min(100%, 680px); min-height: 180px; margin: 40px auto; }
.list .ad--parceiro { margin: 34px auto 30px; }
.ad--parceiro .ad-slot > div, .ad--parceiro iframe { max-width: 100%; }
.only-phone { display: none; }
@media (max-width: 727px) {
  .ad--parceiro { width: 300px; min-height: 300px; }
  .only-desk { display: none; }
  .only-phone { display: inline; }
}
.ad-slot { min-height: inherit; width: 100%; display: grid; place-items: center; }

.ad-sticky-mobile {
  display: none; position: fixed; inset: auto 0 0 0; z-index: 60; background: #fff;
  border-top: 1px solid var(--line); padding: 6px 0; text-align: center;
  transform: translateY(100%); transition: transform .5s var(--ease-out);
}
.ad-sticky-mobile.is-on { transform: none; }
.ad-sticky-mobile .ad { width: 320px; min-height: 50px; }
.ad-sticky-mobile .ad::before { display: none; }
.ad-sticky-mobile__close {
  position: absolute; top: -26px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 50% 50% 0 0;
  background: #fff; box-shadow: 0 -4px 10px -6px rgba(0,0,0,.3);
}

/* =========================================================================
   Home
   ========================================================================= */
.hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--gap); margin-top: 34px;
  padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.hero > *, .row-4 > *, .grid-3 > *, .cat-block > *, .cat-pair > *, .premium-grid > *, .video-grid > *, .layout > * { min-width: 0; }
.hero__main .media { aspect-ratio: 16 / 9; border-radius: 8px; }
.hero__lead { margin-top: 20px; }
.hero__lead .title { margin-top: 10px; font-size: clamp(30px, 3.1vw, 46px); line-height: 1.08; }
.hero__lead .dek { max-width: 62ch; }
.hero__side { display: flex; flex-direction: column; gap: 0; border-left: 1px solid var(--line); padding-left: var(--gap); }
.hero__side .card { padding: 16px 0; border-bottom: 1px solid var(--line); }
.hero__side .card:first-child { padding-top: 0; }
.hero__side .card:last-child { border-bottom: 0; }
.hero__side .media { aspect-ratio: 16 / 9; margin-bottom: 10px; }

/* Revelação da manchete palavra a palavra */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%);
  animation: wordUp .9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 38ms + 150ms); }

.row-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 34px; }
.row-4 .media { margin-bottom: 12px; }

.section-head {
  display: flex; align-items: center; gap: 16px; margin: 58px 0 24px;
}
.section-head h2 {
  margin: 0; font: 800 15px/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.section-head h2::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.section-head__line { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.section-head__line::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0);
  transform-origin: 0 50%; transition: transform 1.2s var(--ease-out) .15s; }
.section-head.in .section-head__line::after { transform: scaleX(1); }
.section-head__more {
  font: 700 13px var(--f-ui); color: var(--char); display: inline-flex; gap: 6px; align-items: center;
}
.section-head__more span { transition: transform var(--t-med) var(--ease-spring); }
.section-head__more:hover span { transform: translateX(4px); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
.sidebar { position: relative; }
.sidebar__sticky { position: sticky; top: 168px; }

.list .card { display: grid; grid-template-columns: 220px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.list .card:first-child { padding-top: 0; }
.list .media { aspect-ratio: 3 / 2; }

/* Mais lidas */
.ranked { counter-reset: r; list-style: none; padding: 0; margin: 0; }
.ranked li { counter-increment: r; display: grid; grid-template-columns: 44px 1fr; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ranked li::before {
  content: counter(r); font: 800 34px/1 var(--f-head); color: transparent;
  -webkit-text-stroke: 1.4px var(--gold-deep); transition: color var(--t-med) ease;
}
.ranked li:hover::before { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.box-title { font: 800 13px/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 6px;
  display: flex; align-items: center; gap: 9px; }
.box-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }

/* Newsletter / WhatsApp */
.newsbox {
  margin-top: 26px; padding: 22px; border-radius: 12px; background: var(--ink); color: #fff; position: relative; overflow: hidden;
}
.newsbox::after { content: ""; position: absolute; width: 160px; height: 160px; right: -50px; top: -60px;
  border-radius: 50%; background: radial-gradient(circle, var(--gold-hi), transparent 70%); opacity: .35;
  animation: float 9s ease-in-out infinite; }
.newsbox h3 { margin: 0 0 8px; font: 700 20px/1.2 var(--f-head); }
.newsbox p { margin: 0 0 16px; color: #c9c9ce; font-size: 14px; }
.newsbox form { display: flex; gap: 8px; }
.newsbox input { flex: 1; min-width: 0; height: 40px; border-radius: 999px; border: 0; padding: 0 16px; font: 500 14px var(--f-ui); }

/* Faixa premium (assinantes) */
.band { margin-top: 70px; padding: 54px 0 60px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 204, 53, .32), transparent 65%); animation: float 14s ease-in-out infinite;
}
.band .section-head { margin-top: 0; }
.band .section-head__line { background: #34343a; }
.band .section-head__line::after { background: var(--gold); }
.band .section-head__more { color: #d6d6da; }
.band .title { color: #fff; }
.band .dek, .band .meta { color: #a9a9b0; }
.band .meta b { color: #fff; }
.band .kicker { color: var(--gold-hi); }
.premium-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--gap); position: relative; }
.premium-grid .card:first-child .media { aspect-ratio: 16 / 11; }
.premium-grid .media { margin-bottom: 14px; background: #26262a; }
.band__cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px;
  padding: 22px 26px; border: 1px solid #34343a; border-radius: 12px; position: relative; }
.band__cta p { margin: 0; font: 600 17px var(--f-head); }
.band__cta p span { color: var(--gold-hi); }

.videos { background: #0d0d0f; }
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.video-grid .media { aspect-ratio: 16 / 9; margin-bottom: 12px; }

/* TikTok: embed oficial (tempo real) dentro de uma faixa grafite */
.tiktok { background: var(--nav-bg); }
.tiktok::before { left: -180px; right: auto; top: auto; bottom: -300px;
  background: radial-gradient(circle, rgba(255, 0, 80, .16), transparent 65%); }
.tiktok__grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 48px; align-items: center; position: relative; }
.tiktok__badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: #0b0b0d; border: 1px solid #34343a; font: 700 13px var(--f-ui); color: #fff; }
.tiktok__intro h3 { margin: 18px 0 10px; font: 700 clamp(24px, 2.4vw, 32px)/1.15 var(--f-head); }
.tiktok__intro p { margin: 0 0 22px; color: #a9a9b0; font-size: 15px; }
.tiktok__embed { min-height: 340px; border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); display: grid; }
.tiktok__embed:not(.is-ready) { place-items: center; background: #26262b; }
.tiktok__embed:not(.is-ready) blockquote { color: #a9a9b0; }
.tiktok__embed blockquote, .tiktok__embed iframe { margin: 0 !important; max-width: 100% !important; width: 100% !important; }

/* Blocos de editoria */
.cat-block { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--gap); }
.cat-block--flip { grid-template-columns: 1fr 1.35fr; }
.cat-block--flip .cat-block__lead { order: 2; }
.cat-block__lead .media { aspect-ratio: 16 / 10; margin-bottom: 14px; }
.cat-block__list .card { display: grid; grid-template-columns: 1fr 120px; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cat-block__list .card:first-child { padding-top: 0; }
.cat-block__list .media { aspect-ratio: 1; }
.cat-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cat-pair .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cat-pair .media { margin-bottom: 10px; }

/* =========================================================================
   Editoria (arquivo de categoria)
   ========================================================================= */
.archive-head { padding: 46px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 34px; position: relative; overflow: hidden; }
.archive-head h1 { margin: 6px 0 0; font: 800 clamp(40px, 6vw, 76px)/1 var(--f-head); letter-spacing: -.025em; }
.archive-head h1 .dot { color: var(--gold); }
.archive-head p { margin: 10px 0 0; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px var(--gap); }
.grid-3 .media { margin-bottom: 12px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 50px 0 10px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 999px;
  border: 1px solid var(--line); font-weight: 700; font-size: 14px; transition: background var(--t-fast), border-color var(--t-fast);
}
.pagination a:hover { border-color: var(--ink); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* =========================================================================
   Matéria
   ========================================================================= */
.article { max-width: 760px; margin: 40px auto 0; }
.article__head .title { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; }
.article__head .dek { font-size: 19.5px; color: var(--char); margin-top: 16px; }
.article__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin: 22px 0 0; padding: 16px 0; border-block: 1px solid var(--line); }
.share { display: flex; gap: 6px; }
.share a, .share button {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink); transition: transform var(--t-med) var(--ease-spring), background var(--t-fast), border-color var(--t-fast);
}
.share a:hover, .share button:hover { transform: translateY(-3px); background: var(--gold); border-color: var(--gold); }
.share svg { width: 15px; height: 15px; fill: currentColor; }
.article__figure { margin: 30px auto 0; max-width: 1040px; }
.article__figure .media { aspect-ratio: 16 / 9; border-radius: 10px; }
.article__figure figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; max-width: 760px; margin-inline: auto; }

.entry { font: 400 19px/1.72 var(--f-head); color: #1d1d20; margin-top: 30px; }
.entry > * { margin: 0 0 1.15em; }
.entry > .ad { margin: 46px auto 40px; }
.entry > p:first-of-type::first-letter {
  float: left; font: 800 4.1em/.82 var(--f-head); margin: .06em .1em 0 0; color: var(--gold-deep);
}
.entry a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); transition: box-shadow var(--t-med) var(--ease-out); }
.entry a:hover { box-shadow: inset 0 -1.2em 0 rgba(244, 204, 53, .45); }
.entry h2, .entry h3 { font-family: var(--f-head); line-height: 1.2; margin-top: 1.6em; }
.entry blockquote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--gold);
  font-size: 1.15em; font-style: italic; color: var(--char); }
.entry img { border-radius: 8px; }
.entry img[width="1"], .entry img[src*="ebc.png"], .entry img[src*="ebc.gif"] { display: none; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0; }
.tags a { padding: 8px 14px; border-radius: 999px; background: #f2f0ea; font: 600 13px var(--f-ui);
  transition: background var(--t-fast), transform var(--t-med) var(--ease-spring); }
.tags a:hover { background: var(--gold); transform: translateY(-2px); }

/* Paywall */
.paywall { position: relative; margin-top: -140px; padding-top: 140px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 120px); }
.paywall__box { text-align: center; padding: 38px 28px; border-radius: 16px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.paywall__box::before { content: ""; position: absolute; width: 300px; height: 300px; left: 50%; top: -200px; translate: -50% 0;
  border-radius: 50%; background: radial-gradient(circle, rgba(244,204,53,.45), transparent 65%); }
.paywall__box h3 { position: relative; margin: 0 0 10px; font: 700 28px/1.15 var(--f-head); }
.paywall__box p { position: relative; color: #c4c4ca; margin: 0 auto 22px; max-width: 460px; }
.paywall__box .actions { position: relative; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.paywall__box .btn--ghost { color: #fff; border-color: #fff; }
.paywall__box .btn--ghost:hover { background: #fff; color: var(--ink); }

.related { margin-top: 20px; }

/* =========================================================================
   Rodapé
   ========================================================================= */
.site-footer { margin-top: 90px; background: var(--head-bg); color: #fff; border-top: 4px solid var(--gold); padding: 54px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 2fr 1fr; gap: 40px; }
.footer-grid img { height: 54px; width: auto; }
.footer-grid p { color: #9d9da4; font-size: 14px; max-width: 300px; }
.footer-cats { columns: 3; column-gap: 26px; list-style: none; padding: 0; margin: 0; }
.footer-cats a { display: inline-block; padding: 5px 0; font-weight: 600; font-size: 14.5px; color: #c4c4ca; transition: color var(--t-fast), transform var(--t-med) var(--ease-spring); }
.footer-cats a:hover { color: var(--gold-hi); transform: translateX(4px); }
.footer-h { font: 800 12px/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin: 6px 0 16px; }
.site-footer .social a { background: #1d1d20; color: #ececef; width: 36px; height: 36px; }
.site-footer .btn--dark { background: #1d1d20; border-color: #3a3a40; }
.site-footer .btn--dark:hover { border-color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 44px; padding: 20px 0 22px;
  font-size: 13px; color: #9d9da4; background: var(--nav-bg); box-shadow: 0 0 0 100vmax var(--nav-bg); clip-path: inset(0 -100vmax); }
.footer-bottom ul { display: flex; gap: 18px; list-style: none; padding: 0; margin: 0; }
.footer-bottom a:hover { color: #fff; }

.to-top {
  position: fixed; right: 20px; bottom: 22px; z-index: 55; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--ink); color: var(--gold-hi); display: grid; place-items: center;
  opacity: 0; transform: translateY(16px) scale(.8); transition: opacity .4s ease, transform .5s var(--ease-spring);
}
.to-top.is-on { opacity: 1; transform: none; }
.to-top:hover { background: var(--gold); color: var(--ink); }

/* =========================================================================
   Revelação no scroll (só com JS ativo)
   ========================================================================= */
.js .rv { opacity: 0; transform: translateY(22px);
  transition: opacity .8s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 70ms); }
.js .rv.in { opacity: 1; transform: none; }

/* =========================================================================
   Transição entre páginas (View Transitions API)
   A foto do card clicado vira a foto de capa da matéria.
   ========================================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .32s var(--ease-out) both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease-out) both; }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: var(--ease-out); }
::view-transition-group(site-header) { animation: none; }
.site-header { view-transition-name: site-header; }

/* =========================================================================
   Keyframes
   ========================================================================= */
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(192, 38, 28, .7); } 100% { box-shadow: 0 0 0 9px rgba(192, 38, 28, 0); } }
@keyframes wordUp { to { transform: none; } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 24px); } }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(16px); } }

/* =========================================================================
   Responsivo
   ========================================================================= */
.only-mobile { display: none; }
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__side { border-left: 0; padding-left: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
  .hero__side .card { border-bottom: 0; padding: 0; }
  .hero__side .card:nth-child(n+4) { display: none; }
  .row-4, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: 1fr; }
  .sidebar__sticky { position: static; }
  .ad--half { display: none; }
}
@media (max-width: 860px) {
  .topbar__date, .topbar .social { display: none; }
  .masthead { height: 70px; }
  .brand img { height: 42px; }
  .masthead__right .btn--ghost, .nav { display: none; }
  .only-mobile { display: grid; }
  .cat-block, .cat-block--flip, .cat-pair, .premium-grid, .tiktok__grid { grid-template-columns: 1fr; }
  .cat-block--flip .cat-block__lead { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .band__cta { flex-direction: column; align-items: flex-start; }
  .ad--leader { min-height: 100px; width: 320px; }
  .ad-sticky-mobile { display: block; }
  .site-footer { padding-bottom: 66px; }  /* espaço para o anúncio fixo do celular */
}
@media (max-width: 600px) {
  :root { --gap: 20px; }
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .hero__side, .row-4, .video-grid, .grid-3, .cat-pair .row-2 { grid-template-columns: 1fr; }
  .list .card { grid-template-columns: 1fr 112px; gap: 14px; }
  .list .card .media { order: 2; aspect-ratio: 1; }
  .list .card .dek { display: none; }
  .entry { font-size: 18px; }
  .masthead__right .btn--gold { padding: 0 14px; }
  .footer-cats { columns: 2; }
}

/* Quem pede menos movimento no sistema vê tudo estático */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv, .split .w > span { opacity: 1 !important; transform: none !important; }
  @view-transition { navigation: none; }
}

/* =========================================================================
   WordPress: conteúdo do editor, busca, comentários
   ========================================================================= */
.row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.archive-lead { margin-bottom: 8px; }
.entry--page > p:first-of-type::first-letter { float: none; font: inherit; margin: 0; color: inherit; }
.entry .wp-caption, .entry figure { max-width: 100%; }
.entry figcaption, .entry .wp-caption-text, .entry .wp-element-caption { font: 400 13px/1.4 var(--f-ui); color: var(--muted); margin-top: 8px; }
.entry .alignwide, .entry .alignfull { width: 100%; }
.entry .aligncenter { margin-inline: auto; }
.entry .alignleft { float: left; margin: .3em 1.2em .6em 0; max-width: 50%; }
.entry .alignright { float: right; margin: .3em 0 .6em 1.2em; max-width: 50%; }
.entry iframe, .entry video, .entry .wp-block-embed__wrapper { max-width: 100%; }
.entry .wp-block-embed { margin-inline: 0; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry table { width: 100%; border-collapse: collapse; font: 15px/1.4 var(--f-ui); }
.entry td, .entry th { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; }
.entry #gpt-passback { margin: 40px auto; text-align: center; }

.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; font: 500 15px var(--f-ui); }
.search-form .search-submit { height: 44px; border: 0; border-radius: 999px; padding: 0 20px; background: var(--ink); color: #fff; font: 700 14px var(--f-ui); }

.comments-wrap { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); font-family: var(--f-ui); }
.comments-wrap h2, .comments-wrap h3 { font: 700 22px var(--f-head); }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-meta { font-size: 13px; color: var(--muted); }
.comment-meta .avatar { border-radius: 50%; float: left; margin-right: 10px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: 15px var(--f-ui); }
.comment-form .submit { border: 0; border-radius: 999px; padding: 12px 22px; background: var(--gold); font: 700 14px var(--f-ui); cursor: pointer; }

.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } .row-3 { grid-template-columns: 1fr !important; } }

/* Faixa acima do rodapé (banner próprio ou anúncio largo) */
.ad--rodape { margin: 70px auto -40px; min-height: 0; background: none; }
.ad--rodape img { width: 100%; height: auto; border-radius: 8px; transition: transform var(--t-slow) var(--ease-out); }
.ad--rodape a:hover img { transform: scale(1.01); }
.layout .ad--parceiro { margin: 34px auto; }
.ad.ad--empty { display: none; }


/* =========================================================================
   Aviso de cookies
   ========================================================================= */
.consent {
  position: fixed; left: 50%; bottom: 18px; z-index: 120; width: min(100% - 28px, 760px);
  display: flex; align-items: center; gap: 20px; padding: 18px 20px; border-radius: 14px;
  background: var(--ink); color: #d6d6da; border: 1px solid #2c2c30; box-shadow: 0 24px 60px -20px rgba(0,0,0,.6);
  font: 400 14px/1.5 var(--f-ui);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .55s var(--ease-out), opacity .4s ease;
}
.consent[hidden] { display: none; }
.consent.is-on { transform: translate(-50%, 0); opacity: 1; }
.consent strong { color: #fff; display: block; margin-bottom: 2px; }
.consent a { color: var(--gold-hi); text-decoration: underline; }
.consent__actions { display: flex; gap: 8px; flex: none; }
.consent .btn--ghost { color: #fff; border-color: #5a5a60; }
.consent .btn--ghost:hover { background: #fff; color: var(--ink); }
.link-btn { background: none; border: 0; padding: 0; margin-left: 12px; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: #fff; }
.tiktok__embed { position: relative; }
.tiktok__gate { position: absolute; inset: 0; display: grid; place-content: center; gap: 14px; padding: 24px; text-align: center; background: #26262b; color: #c4c4ca; font-size: 14px; }
.tiktok__gate p { margin: 0; }
@media (max-width: 700px) {
  .consent { flex-direction: column; align-items: stretch; bottom: 10px; gap: 14px; }
  .consent__actions .btn { flex: 1; justify-content: center; }
}

/* Legenda e crédito da foto de capa */
.article__figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.foto-credito { margin-left: auto; font: 600 11.5px/1.4 var(--f-ui); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.foto-legenda { flex: 1 1 60%; }
