/* Hero cinematográfica da V2: o restante do layout permanece igual à V1. */
html, body { overflow-x: clip; }
.aap-video-hero {
  position: relative;
  isolation: isolate;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  /* A hero encosta diretamente na faixa de localidades. */
  margin: 0;
  transform: translateX(-50%);
  min-height: 500px;
  height: min(78svh, 760px);
  overflow: hidden;
  /* Imagem do próprio acervo como reserva caso o YouTube demore a carregar. */
  background: #09233a url("assets/archive/bbdfba9b0c65d578.webp") center 48% / cover no-repeat;
  color: #fff;
}
.aap-video-hero__media,
.aap-video-hero__shade { position: absolute; inset: 0; }
.aap-video-hero__media { z-index: -2; overflow: hidden; }
.aap-video-hero__media iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 160svh);
  height: max(56.25vw, 90svh);
  transform: translate(-50%, -50%);
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}
.aap-video-hero.is-playing .aap-video-hero__media iframe { opacity: 1; }
.aap-video-hero__shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(8,39,57,.84) 0%, rgba(8,39,57,.58) 47%, rgba(8,39,57,.14) 100%),
              linear-gradient(0deg, rgba(8,39,57,.52), transparent 47%);
}
.aap-video-hero__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 52px;
  padding-bottom: 65px;
}
.aap-video-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
}
.aap-video-hero__eyebrow::before {
  content: "";
  width: 35px;
  height: 3px;
  background: #6dc7e9;
}
.aap-video-hero__title {
  max-width: 990px;
  margin: 24px 0 18px;
  font: 800 clamp(37px, 4.7vw, 69px)/1.12 Manrope, Arial, sans-serif;
  text-wrap: balance;
  letter-spacing: -.04em;
  text-shadow: 0 2px 25px #07121c50;
}
.aap-video-hero__title em { color: #fff; font-style: normal; }
.aap-video-hero__title strong { color: #8ad9f2; font-weight: inherit; }
.aap-video-hero__lead {
  max-width: 570px;
  margin: 4px 0 30px;
  color: #f0f5f8;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.6;
}
.aap-video-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.aap-video-hero__action,
.aap-video-hero__watch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 12px 22px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  transition: background .2s, transform .2s;
}
.aap-video-hero__action { background: #1a7196; color: #fff; }
.aap-video-hero__watch { background: #ffffff16; border: 1px solid #ffffff80; color: #fff; }
.aap-video-hero__action:hover, .aap-video-hero__watch:hover { transform: translateY(-2px); }
.aap-video-hero__action:hover { background: #125473; }
.aap-video-hero__watch:hover { background: #ffffff2b; }
.aap-video-hero__caption {
  position: absolute;
  right: max(28px, calc((100vw - 1144px) / 2));
  bottom: 25px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .86;
}
@media (max-width: 800px) {
  .aap-video-hero { height: min(70svh, 610px); min-height: 480px; }
  .aap-video-hero__shade {
    background: linear-gradient(90deg, #061a2bd9, #061a2b6b),
                linear-gradient(0deg, #061a2b8c, transparent 70%);
  }
  .aap-video-hero__inner { padding-top: 35px; padding-bottom: 64px; }
  .aap-video-hero__title { max-width: 620px; font-size: clamp(35px, 7vw, 55px); }
  .aap-video-hero__caption { right: 18px; bottom: 18px; font-size: 8px; }
}
@media (max-width: 480px) {
  .aap-video-hero { min-height: 510px; height: 69svh; }
  .aap-video-hero__eyebrow { font-size: 9px; letter-spacing: .16em; }
  .aap-video-hero__title { font-size: clamp(33px, 8.6vw, 43px); margin-top: 20px; }
  .aap-video-hero__lead { font-size: 14px; }
  .aap-video-hero__actions { gap: 10px; }
  .aap-video-hero__action, .aap-video-hero__watch { font-size: 11px; padding: 12px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .aap-video-hero__media iframe { display: none; }
  .aap-video-hero__action, .aap-video-hero__watch { transition: none; }
}

/* Topo compacto: navegação institucional ao lado do logo e data na faixa de localidades. */
#radio .radio { background: #000; }
#radio .radio .social-icon.youtube { --icon-cutout: #000; }
.brand { padding-top: 12px; padding-bottom: 12px; gap: 18px; }
.brand img { width: 275px; max-width: 55vw; }
.masthead-right { margin-left: auto; }
.institutional-nav { margin-top: 0; align-items: center; }
.nav { min-height: 44px; }
.nav button { padding: 13px 0; }
.cities .wrap { overflow: visible; gap: 14px; }
.cities-links { display: flex; align-items: center; gap: 20px; min-width: 0; flex: 1; overflow-x: auto; scrollbar-width: thin; }
.cities-links b, .cities-links button { flex-shrink: 0; }
.cities-date { margin-left: auto; flex: 0 0 auto; color: #4b7188; font-size: 10px; font-weight: 700; white-space: nowrap; text-align: right; }
.cities-date .date-short { display: none; }
.aap-video-hero { height: min(61svh, 590px); min-height: 390px; }
.aap-video-hero__inner { padding-top: 28px; padding-bottom: 39px; }
.aap-video-hero__title { font-size: clamp(35px, 4.2vw, 59px); margin-top: 18px; margin-bottom: 12px; }
.aap-video-hero__lead { margin-bottom: 20px; }
@media (max-width: 800px) {
  .brand { padding-top: 10px; padding-bottom: 10px; gap: 12px; }
  .brand img { width: 215px; max-width: 55vw; }
  .masthead-right { width: auto; min-width: 120px; flex: 1; }
  .institutional-nav { justify-content: flex-end; flex-wrap: wrap; gap: 10px 14px; }
  .cities-links { gap: 15px; }
  .cities-date .date-long { display: none; }
  .cities-date .date-short { display: inline; }
  .aap-video-hero { height: 57svh; min-height: 405px; }
  .aap-video-hero__inner { padding-top: 25px; padding-bottom: 40px; }
  .aap-video-hero__title { font-size: clamp(31px, 7vw, 46px); }
}
@media (max-width: 600px) {
  .brand { flex-wrap: wrap; gap: 9px; }
  .brand img { width: 225px; max-width: 75vw; }
  .masthead-right { width: 100%; margin-left: 0; flex-basis: 100%; }
  .institutional-nav { justify-content: flex-start; gap: 10px 17px; font-size: 10px; }
  .nav { min-height: 40px; }
  .nav button { padding: 11px 0; }
  .cities .wrap { gap: 10px; }
  .cities-links { gap: 15px; }
  .cities-date { display: none; }
}
@media (max-width: 480px) {
  .aap-video-hero { height: 58svh; min-height: 420px; }
  .aap-video-hero__title { font-size: clamp(29px, 8.1vw, 39px); margin-top: 16px; margin-bottom: 11px; }
  .aap-video-hero__lead { font-size: 13px; line-height: 1.45; margin-bottom: 16px; }
  .aap-video-hero__action { min-height: 42px; }
}

/* Nas páginas de localidades, a hero é uma fotografia real, sem player de vídeo. */
.aap-city-hero { height: 650px; min-height: 650px; background: #153b53; }
.aap-city-hero__media, .aap-city-hero__shade { position: absolute; inset: 0; }
.aap-city-hero__media { z-index: 0; overflow: hidden; }
.aap-city-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--city-photo-position, center);
}
.aap-city-hero__shade {
  z-index: 1;
  background: linear-gradient(90deg, rgba(7,35,55,.88) 0%, rgba(7,35,55,.63) 34%, rgba(7,35,55,.12) 76%, rgba(7,35,55,.04) 100%),
              linear-gradient(0deg, rgba(7,35,55,.45), transparent 42%);
}
.aap-city-hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 35px;
  padding-bottom: 55px;
}
.aap-city-hero__copy {
  width: min(720px, 100%);
  padding: 15px 0 18px 30px;
  border-left: 3px solid #7bd3f3;
  background: linear-gradient(90deg, rgba(8,39,58,.26), transparent 85%);
}
.aap-city-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(190,231,248,.47);
  background: rgba(14,58,82,.42);
  border-radius: 3px;
  color: #e8f9ff;
  letter-spacing: .16em;
  font-size: 10px;
  font-weight: 800;
}
.aap-city-hero__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: #83d3f4;
  box-shadow: 0 0 0 4px rgba(131,211,244,.15);
}
.aap-city-hero__title {
  max-width: 950px;
  margin: 27px 0 17px;
  color: white;
  font: 850 clamp(60px, 7vw, 108px)/1.03 Manrope, Arial, sans-serif;
  letter-spacing: -.061em;
  text-shadow: 0 4px 24px #06162655;
}
.aap-city-hero__title::after {
  content: '';
  display: block;
  width: 82px;
  height: 4px;
  margin-top: 22px;
  background: linear-gradient(90deg, #75d0f4, rgba(117,208,244,.15));
}
.aap-city-hero__subtitle {
  max-width: 570px;
  margin: 0;
  color: #eaf4fa;
  font-size: clamp(15px, 1.34vw, 19px);
  line-height: 1.64;
  font-weight: 550;
  text-wrap: balance;
}
.aap-city-hero__bottomline {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.aap-city-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 47px;
  padding: 12px 20px;
  border-radius: 4px;
  background: white;
  color: #194c69;
  font: 800 12px/1 Manrope, Arial, sans-serif;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.aap-city-hero__button:hover { transform: translateY(-2px); background: #d6f1ff; }
.aap-city-hero__button:focus-visible { outline: 3px solid #8bdefa; outline-offset: 4px; }
.aap-city-hero__button span { font-size: 19px; line-height: 12px; }
.aap-city-hero__editorial {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d7eaf5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}
.aap-city-hero__editorial span { color: #7bd3f3; }
@media (prefers-reduced-motion: reduce) {
  .aap-city-hero__button { transition: none; }
}
.aap-city-hero__credit {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  right: max(28px, calc((100vw - 1144px)/2));
  max-width: 50vw;
  color: #f3faffd9;
  font-size: 9px;
  font-weight: 600;
  text-shadow: 0 1px 7px #000c;
  text-align: right;
}
.aap-city-hero__credit:hover { color: white; text-decoration: underline; }

/* Mundo: apenas o hemisfério direito entra em cena, com o texto suspenso no espaço. */
.aap-city-hero--world {
  isolation: isolate;
  background: #020815;
}
.aap-city-hero--world .aap-city-hero__media {
  background: #020815;
}
.aap-city-hero--world .aap-city-hero__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 9% 18%, #e7f8ffbd 98%, transparent),
    radial-gradient(2px 2px at 23% 66%, #beeaff9c 98%, transparent),
    radial-gradient(1px 1px at 33% 11%, #fff9 98%, transparent),
    radial-gradient(1.5px 1.5px at 43% 81%, #fff8 98%, transparent),
    radial-gradient(1px 1px at 52% 38%, #e7f8ff9c 98%, transparent),
    radial-gradient(1px 1px at 61% 13%, #fff9 98%, transparent),
    radial-gradient(2px 2px at 69% 72%, #aeeaff9c 98%, transparent),
    radial-gradient(1px 1px at 80% 24%, #fff8 98%, transparent),
    radial-gradient(1px 1px at 92% 86%, #e7f8ff8a 98%, transparent);
  background-repeat: no-repeat;
  opacity: .83;
}
.aap-city-hero--world .aap-city-hero__media img {
  position: absolute;
  top: 50%;
  right: 0;
  width: clamp(1050px, 86vw, 1540px);
  height: clamp(1050px, 86vw, 1540px);
  max-width: none;
  object-fit: contain;
  object-position: center;
  transform: translate(27%, -50%);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 45% 43% at 53% 49%, #000 95%, transparent 100%);
  mask-image: radial-gradient(ellipse 45% 43% at 53% 49%, #000 95%, transparent 100%);
  filter: drop-shadow(-18px 0 65px #1c6fba3d);
}
.aap-city-hero--world .aap-city-hero__shade {
  background: linear-gradient(90deg, rgba(2,8,21,.95), rgba(2,8,21,.84) 32%, rgba(2,8,21,.20) 72%, transparent);
}
.aap-city-hero--world .aap-city-hero__copy {
  width: min(600px, 60vw);
  border: 0;
  padding: 12px 0;
  background: none;
  animation: aap-world-drift 9s ease-in-out infinite alternate;
}
.aap-city-hero--world .aap-city-hero__title {
  font-size: clamp(78px, 8.2vw, 122px);
  letter-spacing: -.065em;
  text-shadow: 0 6px 35px #000b;
}
.aap-city-hero--world .aap-city-hero__subtitle {
  max-width: 460px;
}
@keyframes aap-world-drift {
  from { transform: translateY(-7px); }
  to { transform: translateY(9px); }
}
@media (prefers-reduced-motion: reduce) {
  .aap-city-hero--world .aap-city-hero__copy { animation: none; }
}
@media (max-width: 600px) {
  .aap-city-hero--world .aap-city-hero__media img {
    width: max(780px, 175vw);
    height: max(780px, 175vw);
    transform: translate(72%, -50%);
  }
  .aap-city-hero--world .aap-city-hero__shade {
    background: linear-gradient(90deg, rgba(2,8,21,.92) 0%, rgba(2,8,21,.72) 48%, rgba(2,8,21,.15) 100%);
  }
  .aap-city-hero--world .aap-city-hero__copy {
    width: min(85vw, 410px);
    padding: 8px 0;
  }
  .aap-city-hero--world .aap-city-hero__title {
    font-size: clamp(62px, 17vw, 84px);
    margin-top: 18px;
  }
  .aap-city-hero--world .aap-city-hero__subtitle { max-width: 285px; }
  .aap-city-hero--world .aap-city-hero__editorial { max-width: 245px; line-height: 1.7; }
}
@media (max-width: 600px) {
  .aap-city-hero { height: 650px; min-height: 650px; }
  .aap-city-hero__shade { background: linear-gradient(90deg, rgba(7,35,55,.84) 0%,rgba(7,35,55,.42) 75%), linear-gradient(0deg,rgba(7,35,55,.40),transparent 65%); }
  .aap-city-hero__inner { padding-top: 30px; padding-bottom: 58px; }
  .aap-city-hero__copy { padding: 10px 0 12px 18px; border-left-width: 2px; }
  .aap-city-hero__eyebrow { font-size: 8px; padding: 9px 10px; letter-spacing: .1em; }
  .aap-city-hero__title { font-size: clamp(43px, 11.5vw, 71px); max-width: 100%; overflow-wrap: anywhere; margin: 21px 0 15px; }
  .aap-city-hero__title::after { width: 62px; height: 3px; margin-top: 16px; }
  .aap-city-hero__subtitle { font-size: 14px; line-height: 1.55; max-width: 93%; }
  .aap-city-hero__bottomline { margin-top: 22px; gap: 18px; }
  .aap-city-hero__button { min-height: 43px; padding: 10px 15px; font-size: 11px; gap: 16px; }
  .aap-city-hero__editorial { font-size: 8px; gap: 6px; }
  .aap-city-hero__credit { right: 18px; bottom: 15px; font-size: 8px; max-width: 73vw; }
}
