/* =========================================================
   Rio Carnaval & Turismo
   Paleta das logos oficiais: azul-marinho, vermelho e dourado,
   com prata/branco.
   ========================================================= */

@font-face { font-family: "Unbounded"; src: url("../assets/fonts/unbounded-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("../assets/fonts/unbounded-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("../assets/fonts/unbounded-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../assets/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../assets/fonts/instrument-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../assets/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --azul: #0D285C;
  --azul-deep: #071A3D;
  --azul-soft: #1A3F7E;
  --vermelho: #E3141B;
  --ouro: #E9B526;
  --celeste: #2F7FC1;
  --papel: #F5F7FB;
  --tinta: #0A1A38;
  --cinza: #55607A;
  --linha: #D8DEE9;
  --sol: #FFF3D6;
  --prata: #E7E9EF;

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* escala 1.25 */
  --s-1: .8rem; --s0: 1rem; --s1: 1.25rem; --s2: 1.563rem; --s3: 1.953rem; --s4: 2.441rem; --s5: 3.052rem;

  --pad: clamp(1.1rem, 5vw, 4rem);
  --max: 1200px;
  --top-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); font-size: var(--s0); line-height: 1.55; color: var(--tinta); background: var(--papel); }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.ic-big { width: 2.6rem; height: 2.6rem; color: var(--vermelho); margin: 0 auto .6rem; display: block; }
.muted { color: var(--cinza); }
.small { font-size: var(--s-1); }
[hidden] { display: none !important; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ouro); color: var(--tinta); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 1rem; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent; font-weight: 600; text-decoration: none; line-height: 1.1; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--vermelho); color: #fff; }
.btn-primary:hover { background: #C10F15; }
.btn-dark { background: var(--azul); color: #fff; }
.btn-dark:hover { background: var(--azul-soft); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost-dark { border-color: var(--tinta); color: var(--tinta); background: transparent; }
.btn-ghost-dark:hover { background: rgba(10,26,56,.06); }
.btn-small { min-height: 38px; padding: .5em 1em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-sub { background: var(--ouro); color: var(--tinta); min-height: 40px; padding: .5em 1.1em; }
.btn-sub:hover { background: #F2C64A; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: inherit; position: relative; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: rgba(120,135,170,.16); }

/* ---------- Cabeçalho ---------- */
.topbar { position: sticky; top: 0; z-index: 40; height: var(--top-h); display: flex; align-items: center; gap: 1rem; padding: 0 var(--pad); background: var(--azul); color: #fff; transition: box-shadow .2s; }
.topbar.scrolled { box-shadow: 0 6px 24px rgba(7,26,61,.35); }
.brand { display: inline-flex; align-items: center; text-decoration: none; line-height: 1; color: #fff; flex: none; }
.brand img { height: 42px; width: auto; display: block; }
.brand-foot img { height: 64px; }
.brand-small { font-size: .62rem; letter-spacing: .02em; opacity: .85; }
.brand-big { white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: clamp(.95rem, 3.6vw, 1.12rem); letter-spacing: -.02em; color: var(--ouro); margin: .1em 0; }
.mainnav { display: none; gap: .2rem; margin-left: auto; }
.mainnav a { text-decoration: none; padding: .5rem .7rem; border-radius: 999px; font-weight: 600; font-size: .93rem; }
.mainnav a:hover { background: rgba(255,255,255,.1); }
.tools { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.lang { display: inline-flex; border: 1.5px solid rgba(255,255,255,.4); border-radius: 999px; padding: 2px; margin-right: .3rem; }
.lang button { border: 0; background: transparent; border-radius: 999px; padding: .28rem .55rem; font-size: .75rem; font-weight: 600; min-width: 36px; min-height: 32px; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--azul); }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--vermelho); color: #fff; font-size: .7rem; font-weight: 600; display: grid; place-items: center; }
.hide-sm { display: none; }

.drawer { position: fixed; inset: var(--top-h) 0 0 0; z-index: 39; background: var(--azul); color: #fff; padding: 1.5rem var(--pad) 2rem; overflow-y: auto; display: flex; flex-direction: column; gap: 2rem; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { font-family: var(--display); font-weight: 700; font-size: var(--s2); text-decoration: none; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.drawer-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

@media (min-width: 640px) { .hide-sm { display: inline-flex; } }
@media (min-width: 1180px) {
  .mainnav { display: flex; }
  .tools { margin-left: .5rem; }
  .menu-btn { display: none; }
}

/* ---------- HERO ---------- */
.hero { position: relative; background: var(--azul); color: #fff; padding: 1.5rem var(--pad) 5.5rem; display: grid; gap: 1.5rem; overflow: hidden; }
.hero::before { /* luz de holofote atrás da capa */
  content: ""; position: absolute; width: 90vmin; height: 90vmin; right: -20vmin; top: -18vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,20,27,.55), rgba(227,20,27,0) 65%); pointer-events: none;
}
.hero-text { position: relative; z-index: 1; max-width: 36rem; order: 2; }
.hero-kicker { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ouro); margin-bottom: .8rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--vermelho); box-shadow: 0 0 0 4px rgba(227,20,27,.25); }
.hero h1 { font-size: clamp(1.9rem, 6.4vw, 3.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; margin-bottom: .45em; text-wrap: balance; }
.hero-lead { font-size: var(--s1); line-height: 1.5; color: #D5DDEE; max-width: 32em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 1.6rem; }
.countdown { display: flex; align-items: baseline; gap: .6rem; margin: 0; color: #D5DDEE; }
.countdown b { font-family: var(--display); font-weight: 800; font-size: var(--s4); color: var(--ouro); line-height: 1; }

.hero-cover { position: relative; z-index: 1; order: 1; display: grid; justify-items: center; perspective: 1600px; }
.cover-stage { border: 0; padding: 0; background: none; width: min(58vw, 300px); transform-style: preserve-3d; border-radius: 4px; }
.cover-3d { display: block; transform: rotateY(-16deg) rotateX(5deg) rotateZ(1deg); transform-style: preserve-3d; transform-origin: 20% 50%;
  box-shadow: 1px 0 0 #fff, 3px 1px 0 #E6EAF2, 5px 2px 0 #fff, 7px 3px 0 #D7DDEA, 9px 4px 0 #fff, 30px 40px 60px rgba(3,10,28,.55);
  border-radius: 3px; animation: coverIn 1.3s cubic-bezier(.2,.8,.2,1) both .1s; transition: transform .4s ease; }
.cover-stage:hover .cover-3d, .cover-stage:focus-visible .cover-3d { transform: rotateY(-6deg) rotateX(2deg); }
.cover-wide { width: min(88vw, 560px); }
.cover-wide .cover-3d { animation-name: coverInWide; transform: rotateY(-12deg) rotateX(4deg); box-shadow: 30px 40px 60px rgba(3,10,28,.55); border-radius: 6px; overflow: hidden; }
.cover-wide .cover-3d img { display: block; width: 100%; height: auto; }
.cover-wide:hover .cover-3d, .cover-wide:focus-visible .cover-3d { transform: rotateY(-4deg) rotateX(1deg); }
@keyframes coverInWide { from { transform: rotateY(-60deg) rotateX(8deg) translateX(-30px); opacity: 0; } 60% { opacity: 1; } to { transform: rotateY(-12deg) rotateX(4deg); } }
.cover-hint { font-size: var(--s-1); color: #AEBBD8; margin: 1rem 0 0; }
@keyframes coverIn {
  from { transform: rotateY(-75deg) rotateX(10deg) translateX(-30px); opacity: 0; }
  60% { opacity: 1; }
  to { transform: rotateY(-16deg) rotateX(5deg) rotateZ(1deg); }
}
.hero-sky { position: absolute; left: 0; right: 0; bottom: 30px; height: clamp(70px, 9vw, 120px); z-index: 0; pointer-events: none; }
.hero-sky .skyline { width: 100%; height: 100%; display: block; }
.serpentina { z-index: 1; position: absolute; left: 0; right: 0; bottom: -2px; height: 70px; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 70V44C150 10 300 70 450 40S750 6 900 36s240 20 300 4V70Z' fill='%23F5F7FB'/%3E%3Cpath d='M0 40C150 6 300 66 450 36S750 2 900 32s240 20 300 4' fill='none' stroke='%23E9B526' stroke-width='5'/%3E%3Cpath d='M0 30C160 0 310 56 460 26S760-4 910 22s230 18 290 2' fill='none' stroke='%23E3141B' stroke-width='4'/%3E%3Cpath d='M0 52C140 22 300 78 450 50S760 18 900 46s240 18 300 2' fill='none' stroke='%23E7E9EF' stroke-width='3'/%3E%3C/svg%3E") bottom/100% 100% no-repeat; }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr .9fr; align-items: center; padding-top: 3.5rem; padding-bottom: 7rem; min-height: min(86vh, 760px); }
  .hero-text { order: 1; }
  .hero-cover { order: 2; }
  .cover-stage { width: min(30vw, 380px); }
  .cover-wide { width: min(44vw, 620px); }
}

/* ---------- CAPA (componente reutilizado) ---------- */
.cv { --ink: #fff; container-type: inline-size; position: relative; aspect-ratio: 1 / 1.414; width: 100%; overflow: hidden; border-radius: 3px;
  background: var(--c1); color: var(--ink); display: flex; flex-direction: column; text-align: left; font-family: var(--text); }
.cv-light { --ink: var(--tinta); }
.cv-img { aspect-ratio: 970 / 1300; background: var(--azul-deep); }
.cv-img::after { display: none; }
.cv-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-soon { background: radial-gradient(ellipse at 50% 20%, #1A3F7E, #071A3D 70%); color: #fff; box-shadow: inset 0 0 0 1.2cqw #071A3D, inset 0 0 0 1.6cqw var(--ouro); }
.cv-soon .cv-logo { width: 74%; margin: 9cqw auto 0; position: relative; z-index: 1; }
.cv-soon .cv-art { bottom: 31%; height: 38%; opacity: .9; }
.cv-soon .cv-foot { text-align: center; padding: 0 7cqw 9cqw; }
.cv-badge { display: inline-block; background: var(--ouro); color: var(--azul-deep); font-weight: 600; font-size: 3.6cqw; padding: .6cqw 3cqw; border-radius: 99px; margin: 0 0 2cqw; }
.cv-kicker { font-family: var(--text); font-weight: 600; font-size: 4.4cqw; margin: 0; color: var(--ouro); }
.cv-soon .cv-title { font-family: var(--display); font-size: 10.4cqw; letter-spacing: -.04em; margin: 0 0 2cqw; }
.cv-name { font-size: 3.8cqw; font-weight: 600; margin: 0 0 1cqw; }
.cv-release { font-size: 3.3cqw; margin: 0; opacity: .85; border-top: .3cqw solid rgba(255,255,255,.35); padding-top: 2cqw; }
.cv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.18), rgba(255,255,255,0) 40%); pointer-events: none; }
.cv-mast, .cv-meta { position: relative; z-index: 1; }
.cv-mast { display: flex; flex-direction: column; padding: 6cqw 6cqw 0; line-height: .95; }
.cv-mast span { font-size: 3.6cqw; font-weight: 600; }
.cv-mast b { font-family: var(--display); font-weight: 800; font-size: 11.6cqw; letter-spacing: -.04em; margin: .08em 0; }
.cv-meta { display: flex; align-items: center; gap: 2cqw; font-size: 3.2cqw; font-weight: 600; padding: 2.4cqw 6cqw 0; opacity: .92; }
.cv-meta i { display: inline-block; width: 6cqw; height: .6cqw; background: currentColor; }
.cv-art { position: absolute; left: -10%; right: -10%; bottom: 17%; height: 54%; }
.cv-art svg { width: 100%; height: 100%; }
.cv-foot { margin-top: auto; position: relative; z-index: 1; padding: 0 6cqw 6cqw; }
.cv-sub { font-size: 3.6cqw; font-weight: 600; margin: 0 0 1cqw; background: var(--c3); color: var(--c1); display: inline-block; padding: .4cqw 2cqw; border-radius: 1cqw; }
.cv-title { font-family: var(--display); font-weight: 800; font-size: 13cqw; line-height: .95; letter-spacing: -.04em; margin: 0 0 3cqw; text-shadow: 0 .6cqw 3cqw rgba(0,0,0,.18); }
.cv-light .cv-title { text-shadow: none; }
.cv-lines { list-style: none; margin: 0; padding: 0; font-size: 3.4cqw; line-height: 1.25; font-weight: 600; }
.cv-lines li { padding: 1cqw 0; border-top: .4cqw solid currentColor; }

/* ---------- Seções ---------- */
.block { padding: 4rem max(var(--pad), calc((100% - var(--max)) / 2)); }
.block-head { max-width: 44rem; margin-bottom: 1.8rem; }
.block-head h2 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: .3em; }
.block-head p { color: var(--cinza); font-size: var(--s1); margin: 0; }
.block-ink { background: var(--azul); color: #fff; }
.block-ink .block-head p { color: #C5D0E6; }
.block-sun { background: var(--sol); }
.block-rosa { background: var(--vermelho); color: var(--tinta); }
h3.sub { font-size: var(--s2); margin-top: 2.6rem; }

.chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; margin-bottom: 1.4rem; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: .45rem; border: 1.5px solid var(--linha); background: #fff; border-radius: 999px; padding: .5rem 1rem; font-weight: 600; font-size: .92rem; min-height: 40px; }
.chip i { width: 10px; height: 10px; border-radius: 50%; }
.chip[aria-pressed="true"] { background: var(--azul); border-color: var(--azul); color: #fff; }
.chips-tight { margin-bottom: .8rem; }

/* ---------- Notícias ---------- */
.news { display: grid; gap: 1.2rem; }
.story { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--linha); }
.story-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.art { display: block; width: 100%; height: 100%; }
.story-art { position: relative; height: 190px; background: var(--tone); overflow: hidden; }
.story-art > .art, .story-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story-link:hover .story-art > .art, .story-link:hover .story-art > img { transform: scale(1.04); }
.story-pill { position: absolute; left: .8rem; top: .8rem; background: var(--papel); color: var(--tinta); font-weight: 600; font-size: .8rem; padding: .25rem .7rem; border-radius: 999px; }
.story-text { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.story-cat { font-weight: 600; color: var(--vermelho); margin: 0 0 .35rem; font-size: .9rem; }
.story h3 { font-size: var(--s1); line-height: 1.22; }
.story-link:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.story-sum { color: var(--cinza); }
.story-meta { color: var(--cinza); font-size: .85rem; margin: auto 0 0; }
@media (min-width: 700px) {
  .news { grid-template-columns: repeat(2, 1fr); }
  .story-lead { grid-column: 1 / -1; }
  .story-lead .story-link { flex-direction: row; }
  .story-lead .story-art { height: auto; min-height: 300px; flex: 1.1; }
  .story-lead .story-text { flex: 1; padding: 2rem; justify-content: center; }
  .story-lead h3 { font-size: var(--s3); }
}
@media (min-width: 1000px) { .news { grid-template-columns: repeat(3, 1fr); } .story-lead { grid-column: span 2; grid-row: span 2; } .story-lead .story-link { flex-direction: column; } .story-lead .story-art { min-height: 340px; flex: 1; } .story-lead .story-text { flex: none; justify-content: flex-start; } }

/* ---------- Anúncio ---------- */
.adslot { display: block; margin: 0; padding: 0 max(var(--pad), calc((100% - var(--max)) / 2)); }
.adslot-wide { padding-top: 3.5rem; }
.adslot-label { display: block; font-size: .75rem; color: var(--cinza); margin-bottom: .35rem; }
.banner { display: grid; grid-template-columns: 1fr; text-decoration: none; background: #fff; border: 1px solid var(--linha); border-radius: 18px; overflow: hidden; align-items: center; }
.banner-art { display: block; height: 130px; overflow: hidden; }
.banner-text { display: grid; gap: .3rem; padding: 1.1rem 1.3rem .4rem; }
.banner-text b { font-family: var(--display); font-weight: 700; font-size: var(--s1); line-height: 1.2; }
.banner-text span { color: var(--cinza); }
.banner .btn { margin: .8rem 1.3rem 1.2rem; justify-self: start; }
.banner-meio { background: var(--azul); border-color: var(--azul); color: #fff; }
.banner-meio .banner-text span { color: #C5D0E6; }
.banner:hover .banner-text b { text-decoration: underline; text-underline-offset: 3px; }
.banner-img img { width: 100%; border-radius: 14px; display: block; }
@media (min-width: 760px) {
  .banner { grid-template-columns: 34% 1fr auto; min-height: 170px; }
  .banner-art { height: 100%; min-height: 170px; }
  .banner-text { padding: 1.4rem 1.6rem; }
  .banner .btn { margin: 0 1.8rem 0 0; }
}

/* ---------- Agenda ---------- */
.agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.ev { --c: var(--vermelho); display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; background: #fff; border-radius: 16px; padding: .9rem 1rem; border: 1px solid var(--linha); border-left: 6px solid var(--c); }
.ev-ensaio { --c: var(--ouro); } .ev-bloco { --c: var(--celeste); } .ev-show { --c: var(--azul); }
.ev-date { display: grid; justify-items: center; line-height: 1; }
.ev-date b { font-family: var(--display); font-weight: 800; font-size: 1.9rem; }
.ev-date span { font-size: .85rem; font-weight: 600; color: var(--cinza); text-transform: lowercase; }
.ev-type { margin: 0 0 .2rem; font-size: .85rem; font-weight: 600; color: var(--cinza); }
.tbc { display: inline-block; margin-left: .35rem; padding: .05rem .5rem; border-radius: 6px; background: #FFF2CC; color: #6B4E00; font-size: .76rem; }
.ev h3 { font-size: 1.05rem; margin: 0 0 .25rem; font-family: var(--display); font-weight: 700; }
.ev-where { margin: 0; color: var(--cinza); font-size: .9rem; display: flex; gap: .3rem; align-items: center; flex-wrap: wrap; }
.ev-add { color: var(--azul); }
.empty { padding: 1.5rem; text-align: center; color: var(--cinza); background: #fff; border-radius: 16px; }
@media (min-width: 900px) { .agenda { grid-template-columns: 1fr 1fr; } }

/* ---------- Edições ---------- */
.mag-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.mag-tabs::-webkit-scrollbar { display: none; }
.mag-tabs button { flex: none; display: grid; gap: .15rem; text-align: left; border: 1.5px solid rgba(255,255,255,.28); background: transparent; color: #fff; border-radius: 16px; padding: .75rem 1.1rem; min-height: 56px; }
.mag-tabs button { font-family: var(--display); font-weight: 700; font-size: .98rem; line-height: 1.15; }
.mag-tabs button span { font-family: var(--text); font-weight: 400; font-size: .8rem; color: #C5D0E6; }
.mag-tabs button[aria-selected="true"] { background: #fff; color: var(--azul); border-color: #fff; }
.mag-tabs button[aria-selected="true"] span { color: var(--cinza); }
.mag-tabs button:hover { border-color: #fff; }
.arch-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.field { display: flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.28); border-radius: 999px; padding: 0 1rem; min-height: 48px; }
.field input, .field select { background: transparent; border: 0; outline: 0; min-height: 44px; width: 100%; }
.field select option { color: var(--tinta); }
.field input::placeholder { color: #AEBBD8; }
.field:focus-within { border-color: var(--ouro); }
.field-grow { flex: 1 1 260px; }
.field-light { background: #fff; border-color: var(--linha); border-radius: 14px; margin-bottom: 1rem; }
.field-light input::placeholder { color: var(--cinza); }
.shelf { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
.issue-cover { border: 0; padding: 0; background: none; width: 100%; display: block; border-radius: 3px; box-shadow: 4px 4px 0 rgba(255,255,255,.12), 14px 18px 30px rgba(3,10,28,.45); transition: transform .25s; }
.issue-cover:hover { transform: translateY(-4px) rotate(-1deg); }
.issue-info { padding-top: .9rem; }
.issue-info h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.issue-info p { color: #C5D0E6; font-size: .9rem; margin-bottom: .6rem; }
.issue-tags { display: flex; gap: .35rem; flex-wrap: wrap; min-height: 0; margin: 0 0 .45rem !important; }
.tag { display: inline-flex; align-items: center; gap: .25rem; font-size: .75rem; font-weight: 600; padding: .15rem .55rem; border-radius: 6px; background: rgba(255,255,255,.14); color: #fff; }
.tag-gold { background: var(--ouro); color: var(--tinta); }
.issue-actions { display: flex; align-items: center; gap: .3rem; }
.issue-pages { font-size: .8rem; color: #AEBBD8 !important; margin: .5rem 0 0 !important; }
.issue-actions { flex-wrap: wrap; gap: .4rem; }
.shelf-head { grid-column: 1 / -1; font-size: var(--s2); margin: 1.2rem 0 -.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.18); }
.shelf-head:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 520px) { .mag-tabs button { flex: 1 1 calc(50% - .5rem); padding: .6rem .8rem; } }
.issue-cover-static { box-shadow: 14px 18px 30px rgba(3,10,28,.45); border-radius: 3px; overflow: hidden; }
.issue-soon { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(150px, 42%) 1fr; gap: 1.4rem; align-items: center; }
.issue-soon .issue-info h3 { font-size: var(--s3); }
.issue-soon .issue-info p { font-size: 1rem; max-width: 34em; }
.issue-release { color: var(--ouro) !important; font-weight: 600; }
.issue-soon .issue-actions { flex-wrap: wrap; gap: .5rem; }
@media (max-width: 599px) { .issue-soon { grid-template-columns: 1fr; } .issue-soon .issue-cover-static { width: min(62%, 240px); } .issue-soon .issue-info h3 { font-size: var(--s2); } }
@media (min-width: 700px) { .issue-soon { grid-template-columns: minmax(200px, 300px) 1fr; } }
.issue-current { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(130px, 42%) 1fr; gap: 1.2rem; align-items: end; }
.issue-current .issue-info h3 { font-size: var(--s2); }
.block-ink .empty { background: rgba(255,255,255,.08); color: #fff; grid-column: 1 / -1; }
@media (min-width: 700px) { .shelf { grid-template-columns: repeat(4, 1fr); } .issue-current { grid-column: span 2; grid-row: span 2; grid-template-columns: 1fr; align-items: start; align-content: start; } }
@media (min-width: 1000px) { .shelf { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: .6rem; }
.g-tile { position: relative; border: 0; padding: 0; border-radius: 14px; overflow: hidden; display: block; text-align: left; color: #fff; background: var(--azul); }
.g-tile > .art, .g-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-tile:hover > .art, .g-tile:hover > img { transform: scale(1.04); }
.g-tag { position: absolute; top: .6rem; left: .6rem; font-size: .72rem; font-weight: 600; background: rgba(7,26,61,.72); color: #fff; padding: .15rem .55rem; border-radius: 999px; }
.g-big { grid-column: span 2; grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-cap { z-index: 1; position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .8rem .7rem; font-size: .86rem; font-weight: 600; background: linear-gradient(transparent, rgba(5,16,40,.7)); }
.g-play { z-index: 1; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--azul); }
.g-play svg { width: 22px; height: 22px; margin-left: 3px; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; } }

/* ---------- Turismo ---------- */
.tour-grid { display: grid; gap: 2rem; }
.routes h3, .mapwrap h3, .partners h3 { font-size: var(--s1); }
.tabs { display: inline-flex; background: #fff; border-radius: 999px; padding: 4px; gap: 2px; margin-bottom: 1rem; border: 1px solid #EBD9A0; flex-wrap: wrap; }
.tabs button { border: 0; background: none; border-radius: 999px; padding: .55rem 1rem; font-weight: 600; min-height: 40px; }
.tabs button[aria-selected="true"] { background: var(--azul); color: #fff; }
.route-when { font-weight: 600; color: #6B4E00; }
.route-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.route-steps li { counter-increment: s; position: relative; padding: .2rem 0 1.1rem 3rem; min-height: 2.4rem; }
.route-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; background: var(--vermelho); color: #fff; font-family: var(--display); font-weight: 700; font-size: .9rem; }
.route-steps li::after { content: ""; position: absolute; left: 1.02rem; top: 2.2rem; bottom: .1rem; width: 2px; background: #EBC66A; }
.route-steps li:last-child::after { display: none; }
.map { height: 380px; border-radius: 18px; overflow: hidden; background: #E3E7EE; border: 1px solid #EBD9A0; z-index: 0; }
.map-off { padding: 2rem; text-align: center; color: var(--cinza); }
.guia { margin: 2.6rem 0 0; display: grid; gap: 1.2rem; align-items: center; background: var(--azul-deep); color: #fff; border-radius: 22px; padding: 12px; }
.guia-img { border: 0; padding: 0; background: none; border-radius: 14px; overflow: hidden; display: block; cursor: zoom-in; }
.guia-img img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.guia-img:hover img { transform: scale(1.03); }
.guia figcaption { padding: .4rem 1rem 1rem; }
.guia h3 { font-size: var(--s3); }
.guia p { color: #C5D0E6; }
.guia .btn-dark { background: var(--vermelho); }
@media (min-width: 900px) { .guia { grid-template-columns: 1.7fr 1fr; padding: 14px; } .guia figcaption { padding: 1rem 1.6rem; } }
.lb-zoom { max-height: 78vh; overflow: auto; }
.lb-zoom img { width: 100%; min-width: 820px; display: block; }
.modal-guide { width: min(1240px, calc(100% - 1rem)); }
.tips { display: grid; gap: 1rem; }
.tip { background: #fff; border-radius: 18px; padding: 1.3rem 1.4rem; border-top: 6px solid var(--vermelho); }
.tip-transporte { border-top-color: var(--celeste); } .tip-gastronomia { border-top-color: var(--ouro); }
.tip h4 { font-size: 1.1rem; }
.tip ul { margin: 0; padding-left: 1.1rem; }
.tip li { margin-bottom: .45rem; }
.partners { margin-top: 2.6rem; display: grid; gap: 1.2rem; align-items: center; }
.partners p { margin: 0; color: #5C4A12; }
.partner-slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.partner-slots li { border: 2px dashed #D9B95A; border-radius: 14px; padding: .9rem; display: grid; gap: .15rem; min-height: 80px; align-content: center; }
.partner-slots span { font-size: .8rem; color: #7A6320; }
.partners .btn { justify-self: start; }
@media (min-width: 900px) {
  .tour-grid { grid-template-columns: 1fr 1.3fr; }
  .tips { grid-template-columns: repeat(3, 1fr); }
  .partners { grid-template-columns: 1fr 2fr auto; }
  .partner-slots { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Comunidade ---------- */
.comm-grid { display: grid; gap: 1rem; }
.panel { background: #fff; border-radius: 20px; padding: 1.5rem; border: 1px solid var(--linha); }
.panel h3 { font-size: var(--s1); }
.poll-q { font-weight: 600; font-size: 1.05rem; }
.poll fieldset { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: inline-block; padding: .5rem .9rem; border-radius: 999px; border: 1.5px solid var(--linha); font-weight: 600; font-size: .9rem; cursor: pointer; }
.opt input:checked + span, .opt-on span { background: var(--vermelho); border-color: var(--vermelho); color: #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--ouro); outline-offset: 2px; }
.poll fieldset[disabled] .opt span { cursor: default; opacity: .75; }
.poll fieldset[disabled] .opt-on span { opacity: 1; }
.newsletter form { display: grid; gap: .6rem; }
.newsletter input, .contact input, .contact textarea, .comments input, .comments textarea { width: 100%; border: 1.5px solid var(--linha); border-radius: 12px; padding: .75rem .9rem; background: #fff; min-height: 48px; }
.newsletter input:focus, .contact input:focus, .contact textarea:focus, .comments input:focus, .comments textarea:focus { outline: 0; border-color: var(--azul); }
.form-msg { margin: .4rem 0 0; font-weight: 600; font-size: .92rem; min-height: 1.2em; }
.form-msg.ok { color: var(--celeste); }
.form-msg.err { color: #C0264F; }
.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0 0 1rem; }
.insta-tile { aspect-ratio: 1; border-radius: 6px; overflow: hidden; display: block; }
@media (min-width: 900px) { .comm-grid { grid-template-columns: 1.25fr 1fr 1fr; } }

/* ---------- Planos ---------- */
.plans { display: grid; gap: 1rem; }
.plan { position: relative; border: 1.5px solid rgba(255,255,255,.22); border-radius: 22px; padding: 1.6rem; display: flex; flex-direction: column; }
.plan-hi { border: 2.5px solid var(--vermelho); background: var(--azul-soft); }
.plan-flag { position: absolute; top: -.85rem; left: 1.4rem; background: var(--vermelho); color: #fff; border-radius: 999px; padding: .15rem .8rem; font-size: .8rem; font-weight: 600; margin: 0; }
.plan h3 { font-size: var(--s1); }
.plan-price { display: flex; align-items: baseline; gap: .25rem; }
.plan-price b { font-family: var(--display); font-weight: 800; font-size: var(--s3); color: var(--ouro); }
.plan-price span { color: #C5D0E6; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.4rem; flex: 1; }
.plan li { padding: .45rem 0 .45rem 1.6rem; position: relative; border-top: 1px solid rgba(255,255,255,.12); }
.plan li::before { content: ""; position: absolute; left: .1rem; top: .95rem; width: .7rem; height: .38rem; border-left: 2.5px solid var(--ouro); border-bottom: 2.5px solid var(--ouro); transform: rotate(-45deg); }
@media (min-width: 850px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }

/* ---------- Loja ---------- */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem 1rem; }
.product-art { aspect-ratio: 1; border-radius: 18px; background: color-mix(in srgb, var(--tone) 16%, #fff); display: grid; place-items: center; margin-bottom: .8rem; position: relative; overflow: hidden; }
.product-art > .art { width: 82%; height: 82%; }
.product-art > img { width: 100%; height: 100%; object-fit: cover; }
.pa-cover { width: 50%; transform: rotate(-6deg); box-shadow: 4px 4px 0 #fff, 6px 6px 0 #D7DDEA, 14px 18px 24px rgba(7,26,61,.25); border-radius: 3px; display: block; }
.pa-poster { width: 56%; padding: 6px; background: #fff; box-shadow: 0 0 0 3px var(--azul), 10px 14px 24px rgba(7,26,61,.25); display: block; }
.pa-cover .cv, .pa-poster .cv { pointer-events: none; }
.product { display: flex; flex-direction: column; }
.product .btn { margin-top: auto; align-self: flex-start; }
.product h3 { font-size: 1rem; font-family: var(--text); font-weight: 600; margin-bottom: .2rem; letter-spacing: 0; }
.price { font-family: var(--display); font-weight: 700; margin-bottom: .7rem; }
@media (min-width: 800px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .products { grid-template-columns: repeat(6, 1fr); } }

/* ---------- Anuncie ---------- */
.block-ads { background: var(--vermelho); color: #fff; }
.block-ads .btn-primary { background: #fff; color: var(--vermelho); }
.block-ads .btn-primary:hover { background: var(--prata, #E7E9EF); }
.ads-grid { display: grid; gap: 2.4rem; }
.ads-grid h2 { font-size: clamp(2.2rem, 7vw, 4rem); font-weight: 800; letter-spacing: -.04em; }
.ads-lead { font-size: var(--s1); max-width: 30em; }
.facts { list-style: none; margin: 1.6rem 0 .4rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.4rem; }
.facts li { border-top: 1.5px solid rgba(255,255,255,.5); padding-top: .6rem; display: grid; gap: .2rem; }
.facts b { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3.6vw, 2rem); line-height: 1.05; letter-spacing: -.02em; }
.facts span { font-size: .92rem; }
.formats-title { font-size: var(--s2); }
.formats { list-style: none; margin: 0; padding: 0; background: #fff; color: var(--tinta); border-radius: 18px; overflow: hidden; }
.formats li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--linha); }
.formats li:last-child { border-bottom: 0; }
.formats h4 { font-family: var(--text); font-weight: 600; font-size: 1.02rem; margin: 0; }
.formats p { margin: .15rem 0 0; font-size: .85rem; color: var(--cinza); }
.formats b { font-family: var(--display); font-weight: 700; font-size: 1.2rem; white-space: nowrap; color: var(--azul); }
.formats-note { margin: .8rem 0 0; font-size: .92rem; }
@media (min-width: 900px) { .ads-grid { grid-template-columns: 1.1fr 1fr; align-items: start; } }

/* ---------- Rodapé ---------- */
.footer { background: var(--azul-deep); color: #D5DDEE; padding: 3.5rem max(var(--pad), calc((100% - var(--max)) / 2)) 6rem; }
.footer-grid { display: grid; gap: 2.5rem; }

.foot-address { font-style: normal; display: flex; gap: .5rem; align-items: flex-start; margin: 1.4rem 0 0; max-width: 30rem; line-height: 1.5; }
.foot-address .ic { margin-top: .2em; color: var(--ouro); }
.foot-links { display: flex; flex-direction: column; gap: .55rem; margin: 1.2rem 0 1.4rem; }
.legal-rct { display: inline-block; vertical-align: middle; width: 36px; height: 36px; border-radius: 8px; margin-left: .4rem; }
.foot-links a { display: inline-flex; gap: .5rem; align-items: center; text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.a11y { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.a11y p { width: 100%; margin: 0 0 .2rem; font-weight: 600; color: #fff; }
.a11y button { border: 1.5px solid rgba(255,255,255,.35); background: transparent; border-radius: 10px; padding: .45rem .8rem; min-height: 40px; font-weight: 600; }
.a11y button[aria-pressed="true"] { background: #fff; color: var(--azul); }
.contact { display: grid; gap: .7rem; max-width: 34rem; }
.contact h2 { color: #fff; font-size: var(--s2); }
.contact label { display: grid; gap: .3rem; font-weight: 600; font-size: .92rem; }
.contact input, .contact textarea { color: var(--tinta); }
.contact .btn { justify-self: start; }
.legal { margin: 3rem 0 0; font-size: .85rem; color: #93A3C6; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.whats-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.whats-float svg { width: 28px; height: 28px; }

/* ---------- Diálogos ---------- */
dialog { border: 0; padding: 0; }
dialog::backdrop { background: rgba(5,16,40,.72); }
.modal { width: min(560px, calc(100% - 1.5rem)); max-height: calc(100dvh - 2rem); border-radius: 22px; background: var(--papel); color: var(--tinta); overflow: auto; }
.modal-wide { width: min(760px, calc(100% - 1rem)); }
.modal-lightbox { width: min(980px, calc(100% - 1rem)); background: var(--azul-deep); color: #fff; }
.modal-close { position: sticky; top: .5rem; float: right; margin: .5rem .5rem 0 0; z-index: 2; background: rgba(255,255,255,.85); color: var(--tinta); }
.m-pad { padding: 2rem 1.6rem 1.8rem; }
.m-center { text-align: center; }
.m-pad h2 { font-size: var(--s2); }
.login-btns { display: grid; gap: .6rem; margin: 1.2rem 0 .8rem; }
.btn-social { background: #fff; border-color: var(--linha); color: var(--tinta); }
.lb-img { width: 100%; max-height: 75vh; object-fit: contain; }
.lb-video { aspect-ratio: 16/9; }
.lb-video iframe { width: 100%; height: 100%; border: 0; }
.lb-art { height: min(62vh, 560px); }
.muted-light { color: #AEBBD8; font-weight: 400; }
.lb-cap { padding: 1rem 1.3rem; margin: 0; font-weight: 600; }
.sres { list-style: none; padding: 0; margin: 0 0 1rem; }
.sres a { display: block; padding: .6rem 0; border-bottom: 1px solid var(--linha); text-decoration: none; font-weight: 600; }
#gres h3 { font-size: .95rem; color: var(--cinza); font-family: var(--text); margin-top: 1rem; }

.cart { list-style: none; margin: 1rem 0; padding: 0; }
.cart li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--linha); }
.cart-name { display: grid; font-weight: 600; }
.cart-name small { color: var(--cinza); font-weight: 400; }
.qty { display: inline-flex; align-items: center; gap: .6rem; }
.qty button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--linha); background: #fff; font-weight: 700; }
.cart-total { display: flex; justify-content: space-between; font-size: var(--s1); margin: 1rem 0 1.2rem; }
.cart-total b { font-family: var(--display); }

/* matéria */
.read { --tone: var(--vermelho); }
.read-art { height: clamp(190px, 38vw, 320px); overflow: hidden; background: var(--tone); }
.read-art img { width: 100%; height: 100%; object-fit: cover; }
.read-head { background: var(--tone); color: #fff; padding: 1.6rem 1.6rem 1.6rem; }
.read-head .story-cat { color: #fff; opacity: .9; }
.read-head h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; }
.read-head .story-meta { color: rgba(255,255,255,.85); }
.read-lead { font-size: var(--s1); }
.read-body { padding: 1.6rem; font-size: 1.08rem; line-height: 1.7; max-width: 40em; }
.read-actions { padding: 0 1.6rem 1rem; }
.rate, .comments { padding: 1.2rem 1.6rem; border-top: 1px solid var(--linha); }
.rate h3, .comments h3 { font-size: 1.05rem; }
.comments h3 span { color: var(--cinza); font-weight: 500; }
.stars { display: flex; gap: .2rem; }
.stars button { border: 0; background: none; color: #CBD3E2; width: 44px; height: 44px; padding: 6px; }
.stars button.on { color: var(--ouro); }
.stars svg { width: 100%; height: 100%; }
#comList { list-style: none; padding: 0; margin: 0 0 1rem; }
#comList li { padding: .7rem 0; border-bottom: 1px solid var(--linha); }
#comList p { margin: .2rem 0 0; }
.comments form { display: grid; gap: .6rem; }
.comments .btn { justify-self: start; }

/* ---------- Leitor flipbook ---------- */
.reader { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; background: radial-gradient(ellipse at 50% 30%, #1A3F7E, #0D1040 70%); color: #fff; display: none; grid-template-rows: auto 1fr auto; }
.reader[open] { display: grid; grid-template-columns: 100%; }
.reader > * { min-width: 0; }
.reader-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .4rem .5rem .4rem 1.2rem; }
.reader-tools { display: flex; flex: none; }
.reader-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.reader-stage { position: relative; display: grid; place-items: center; overflow: hidden; min-height: 0; padding: 12px; }
.reader-loading { color: #C5D0E6; }
.reader-bar { display: flex; align-items: center; justify-content: center; gap: .1rem; padding: .4rem .5rem calc(.5rem + env(safe-area-inset-bottom)); background: rgba(4,13,32,.6); }
.r-count { min-width: 6.5rem; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; font-size: .92rem; }
.r-sep { width: 1px; height: 24px; background: rgba(255,255,255,.2); margin: 0 .3rem; }
.reader .icon-btn:hover { background: rgba(255,255,255,.12); }
.reader .icon-btn[aria-pressed="true"] { color: var(--ouro); }
.bm-panel { position: absolute; right: 12px; bottom: 12px; top: 12px; width: min(300px, calc(100% - 24px)); background: var(--papel); color: var(--tinta); border-radius: 16px; padding: 1.2rem; overflow: auto; z-index: 10; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.bm-panel h3 { font-size: 1rem; }
.bm-panel ul { list-style: none; padding: 0; margin: 0; }
.bm-panel button { width: 100%; text-align: left; border: 0; background: none; padding: .6rem .2rem; border-bottom: 1px solid var(--linha); display: flex; gap: .6rem; }
.bm-panel b { font-family: var(--display); color: var(--vermelho); min-width: 1.6rem; }

/* páginas da revista web */
.pg { container-type: inline-size; background: #FFFDF9; color: var(--tinta); overflow: hidden; }
.pg-hard { background: var(--azul); }
.pg-hard .cv { height: 100%; aspect-ratio: auto; border-radius: 0; }
.pg-in { height: 100%; overflow: hidden; padding: 8cqw 8cqw 6cqw; display: flex; flex-direction: column; position: relative; font-family: var(--text); }
.pg-sec { font-size: 3.2cqw; font-weight: 600; color: var(--tone, var(--vermelho)); margin: 0 0 2cqw; }
.pg-in h2 { font-family: var(--display); font-weight: 800; font-size: calc(7cqw * var(--k, 1)); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 3cqw; }
.pg-lead { font-size: calc(4.2cqw * var(--k, 1)); line-height: 1.35; font-weight: 600; color: var(--cinza); margin: 0 0 4cqw; padding-bottom: 4cqw; border-bottom: .6cqw solid var(--tone, var(--vermelho)); }
.pg-body p { font-size: calc(3.9cqw * var(--k, 1)); line-height: 1.5; margin: 0 0 2.6cqw; }
.pg-img { flex: none; height: calc(30% * var(--k, 1)); margin: -8cqw -8cqw 5cqw; overflow: hidden; background: var(--tone); }
.pg-img img { width: 100%; height: 100%; object-fit: cover; }
.pg-art .pg-body p:first-child::first-letter { font-family: var(--display); font-weight: 800; float: left; font-size: 11cqw; line-height: .9; margin: .6cqw 1.6cqw 0 0; color: var(--tone); }
.pg-n { margin: auto 0 0; font-size: 3cqw; color: var(--cinza); font-weight: 600; }
.pg-toc ol { list-style: none; padding: 0; margin: 0; }
.pg-toc li { display: flex; justify-content: space-between; gap: 4cqw; font-size: calc(3.8cqw * var(--k, 1)); font-weight: 600; padding: 2.6cqw 0; border-bottom: .3cqw solid var(--linha); }
.pg-toc li b { font-family: var(--display); color: var(--vermelho); }
.pg-ad { background: var(--sol); }
.pg-ad-box { flex: 1; display: grid; align-content: center; text-align: center; gap: 2cqw; }
.pg-ad-box svg { width: 70%; margin: 0 auto; }
.pg-ad-box p { font-size: 3.8cqw; }
.pg-back { background: var(--azul); color: #fff; justify-content: center; text-align: center; gap: 4cqw; }
.pg-back .cv-mast { align-items: center; padding: 0; }
.pg-back .cv-mast b { color: var(--ouro); }
.pg-back p { font-size: 4cqw; margin: 0; }
.pg-handle { font-family: var(--display); font-weight: 700; color: var(--vermelho); }
.stf__parent { margin: 0 auto; }
.pg-photo { background: #fff; }
.pg-photo img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.zoom-view { position: absolute; inset: 0; z-index: 20; background: #050E22; overflow: auto; -webkit-overflow-scrolling: touch; }
.zoom-view img { display: block; width: 100%; max-width: 1100px; margin: 0 auto; cursor: zoom-in; }
.zoom-view img.big { width: 200%; max-width: none; cursor: zoom-out; }
.zoom-close { position: sticky; top: 10px; left: calc(100% - 54px); z-index: 2; background: rgba(255,255,255,.9); color: var(--tinta); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 200; background: var(--tinta); color: #fff; padding: .75rem 1.2rem; border-radius: 12px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 2rem); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Leaflet ---------- */
.leaflet-popup-content { font-family: var(--text); font-size: .9rem; }

/* ---------- Alto contraste ---------- */
.hc { --cinza: #14213D; --linha: #5E6E92; }
.hc .block-head p, .hc .hero-lead, .hc .issue-info p { color: inherit; }
.hc .story-sum, .hc .story-meta { color: var(--tinta); }
.hc .btn-primary { background: #A80C12; }
.hc .g-cap { background: rgba(5,16,40,.92); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* apoiadores */
.apoio-grid{list-style:none;margin:1.25rem 0 0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:.9rem}
.apoio-grid li{background:#fff;border-radius:16px;overflow:hidden;display:flex;align-items:center;justify-content:center;aspect-ratio:480/340}
.apoio-grid img{width:100%;height:100%;object-fit:contain;display:block}
@media(min-width:720px){.apoio-grid{grid-template-columns:repeat(5,1fr)}}
