/* Tipografia compartilhada com o Portal de Piracaia. */
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-semibold.ttf") format("truetype"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: Newsreader; src: url("/fonts/newsreader.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: light;
  --pine: #10231c;
  --deep: #0d2019;
  --gold: #e2c28b;
  --gold-light: #f5dfb2;
  --cream: #faf5e9;
  --paper: #f6f2e9;
  --sage: #c9cec3;
  --line: #ded7c9;
  --display: Newsreader, Georgia, serif;
  --text: "DM Sans", system-ui, sans-serif;
  --shell: min(100% - 5rem, 77.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--pine); background: var(--paper); font: 1rem/1.55 var(--text); }
h1, h2, p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #bb8d45; outline-offset: 5px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip { position: absolute; inset: .5rem auto auto .5rem; z-index: 10; padding: .5rem .75rem; color: var(--pine); background: var(--cream); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }

.station-stage { color: var(--cream); background: var(--deep); }
.masthead { display: flex; justify-content: space-between; align-items: center; min-height: 5.4rem; gap: .75rem; position: relative; z-index: 2; }
.brand { display: inline-flex; align-items: center; gap: .72rem; text-decoration: none; }
.brand-mark { display: block; flex: 0 0 auto; width: 3.25rem; height: 3.25rem; }
.brand-type { display: grid; gap: .22rem; line-height: 1; }
.brand-type strong { font-size: .7rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.brand-type > span { font: 400 1.49rem/.95 var(--display); color: var(--gold-light); }
.nav-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: .62rem;
  padding: .42rem .95rem;
  border: 1px solid #9c8c6b91;
  border-radius: 100px;
  color: var(--cream);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color .2s, background .2s;
}
.link-arrow { width: .39rem; height: .39rem; border: solid var(--gold); border-width: 1px 1px 0 0; transform: rotate(45deg); }
.link-arrow.back { transform: rotate(-135deg); }
.nav-link:hover { border-color: var(--gold); background: #dfc18c14; }

.hero { position: relative; isolation: isolate; min-height: clamp(30rem, 44vw, 40rem); display: grid; align-items: center; overflow: clip; }
.hero-picture { position: absolute; inset: 0 0 0 26%; z-index: -2; }
.hero-picture img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 63% 48%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, var(--deep), #0d201900 26%, #0d201900 88%, var(--deep)),
    linear-gradient(90deg, var(--deep) 12%, #0d2019fa 27%, #0d2019b8 42%, #0d201929 58%, #0d201900 77%);
}
.hero-inner { padding-block: 3rem 6.5rem; }
.hero h1, .schedule-intro h1 {
  font: 400 clamp(4.3rem, 8vw, 7.75rem)/.88 var(--display);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero h1 {
  text-align: center;
  text-shadow: 0 .06em .36em #081812c9;
}
.hero h1 > span { display: block; white-space: nowrap; }
.hero h1 em { display: block; color: var(--gold-light); font-weight: 400; font-style: normal; }
.hero p {
  margin-top: 1.65rem;
  color: #e1e3d9;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  text-align: center;
  white-space: nowrap;
}

.listen-wrap { position: relative; margin-top: -2.9rem; padding-bottom: 2.25rem; }
.listen {
  display: flex;
  align-items: center;
  gap: 1.45rem;
  min-height: 7.5rem;
  padding: 1.2rem 2.1rem;
  border: 1px solid #d5b78455;
  border-radius: 1.1rem;
  background: linear-gradient(110deg, #1b362c, #142a23);
  box-shadow: 0 1.15rem 3rem #04201648;
}
.play {
  flex: 0 0 auto;
  display: grid;
  width: 3.9rem;
  height: 3.9rem;
  place-items: center;
  padding: 0;
  border: 1px solid #f1d8a4a0;
  border-radius: 50%;
  color: var(--deep);
  background: var(--gold-light);
  cursor: pointer;
}
.play:hover:not(:disabled) { background: #fff0cc; }
.play:disabled { color: #e5c58e; background: #d7b4751d; border-color: #e3c48e93; cursor: default; }
.play-icon { width: 0; height: 0; margin-left: .14rem; border-top: .46rem solid transparent; border-bottom: .46rem solid transparent; border-left: .73rem solid currentColor; }
.is-playing .play-icon { width: .61rem; height: .9rem; margin: 0; border: 0; border-inline: .17rem solid currentColor; }
.listen-text { min-width: 0; }
.listen-text h2 { font: 400 clamp(1.8rem, 4vw, 2.55rem)/1.05 var(--display); letter-spacing: -.025em; }
.listen-text p { margin-top: .28rem; color: #e7d2ab; font-size: .86rem; }
.listen-link, .listen-test summary { color: #e7d2ab; font-size: .83rem; }
.listen-link { display: inline-block; margin-top: .4rem; text-underline-offset: .2em; }
.listen-test { margin: .65rem 0 0; }
.listen-test summary { width: fit-content; padding: .35rem 0; cursor: pointer; }
.listen-test .listen { margin-top: .4rem; box-shadow: none; }
.signal {
  width: min(29%, 17rem);
  height: 2.7rem;
  margin-left: auto;
  opacity: .68;
  background: repeating-linear-gradient(90deg, #c7a972 0 2px, transparent 2px 6px);
  clip-path: polygon(0 47%, 5% 33%, 10% 44%, 15% 13%, 19% 37%, 24% 25%, 29% 40%, 34% 18%, 38% 31%, 42% 2%, 47% 17%, 51% 35%, 55% 24%, 59% 39%, 64% 15%, 68% 29%, 72% 34%, 76% 23%, 81% 42%, 87% 30%, 92% 44%, 100% 48%, 100% 52%, 92% 56%, 87% 70%, 81% 58%, 76% 77%, 72% 66%, 68% 71%, 64% 85%, 59% 61%, 55% 76%, 51% 65%, 47% 83%, 42% 98%, 38% 69%, 34% 82%, 29% 60%, 24% 75%, 19% 63%, 15% 87%, 10% 56%, 5% 67%, 0 53%);
}

.episode { padding-top: clamp(2rem, 5vw, 4.3rem); scroll-margin-top: 1rem; }
.episode-card { padding: clamp(1.3rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 1.1rem; background: var(--cream); }
.episode-date { color: #725123; font-size: .83rem; font-weight: 600; }
.episode h2 { margin-block: .5rem; font: 400 clamp(2.15rem, 5vw, 3.7rem)/1 var(--display); letter-spacing: -.035em; }
.episode p { max-width: 69ch; }
.episode audio { display: block; width: min(100%, 35rem); margin-top: 1rem; }
.show-details a { text-underline-offset: .18em; }

.editorial { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; padding-block: clamp(2.75rem, 6vw, 5.4rem); }
.editorial h2, .sponsors h2 { font: 400 clamp(2.15rem, 5vw, 4.45rem)/.99 var(--display); letter-spacing: -.035em; }
.editorial p { color: #42554b; max-width: 35rem; font-size: clamp(.95rem, 1.5vw, 1.05rem); }
.site-footer { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.2rem; padding-block: 1.3rem; border-top: 1px solid var(--line); font-size: .84rem; color: #42554b; }
.site-footer a { font-weight: 650; padding-block: .42rem; text-underline-offset: .2em; }
.site-footer a:hover { color: #163c2b; }

.schedule-intro { padding-block: clamp(2.5rem, 6vw, 4.75rem) clamp(2.75rem, 6vw, 5rem); }
.schedule-intro h1 { font-size: clamp(3.4rem, 8vw, 6.35rem); }
.schedule-intro p { margin-top: 1rem; color: var(--sage); }
.schedule-main { padding-block: clamp(1.75rem, 4.5vw, 4rem); }
.shows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.shows li { display: grid; grid-template-columns: minmax(6.3rem, 1fr) 3fr; align-items: baseline; column-gap: 1rem; padding: 1.05rem .55rem; border-bottom: 1px solid var(--line); }
.shows span { color: #725123; font-variant-numeric: tabular-nums; font-size: .95rem; white-space: nowrap; }
.shows strong { font: 400 clamp(1.48rem, 3.4vw, 2.1rem)/1.1 var(--display); }
.show-details p { margin-top: .32rem; color: #42554b; font-size: .86rem; }
.shows .sports-show { background: #efe7d6; }
.sports-time { display: grid; gap: .18rem; }
.sports-time b { font-size: .71rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.sponsors { padding-block: 1.65rem 0; }
.sponsors h2 { font-size: 1.75rem; }
.sponsors p { margin-top: .45rem; color: #42554b; font-size: .88rem; }

@media (max-width: 900px) {
  :root { --shell: calc(100% - 3.5rem); }
}

@media (max-width: 660px) {
  :root { --shell: calc(100% - 2.25rem); }
  .masthead { min-height: 4.5rem; }
  .brand { gap: .53rem; }
  .brand-mark { width: 2.8rem; height: 2.8rem; }
  .nav-link { padding-inline: .78rem; gap: .42rem; }
  .hero { min-height: clamp(25rem, 112vw, 30.5rem); align-items: start; }
  .hero-picture { inset: 0; }
  .hero-picture img { object-position: 63% 47%; }
  .hero::after {
    background: linear-gradient(0deg, var(--deep), #0d201908 26%, #0d201930 48%, #0d2019c9 77%, var(--deep)),
      linear-gradient(90deg, #0d2019ad 2%, #0d201935 63%, #0d20191a 100%);
  }
  .hero-inner { padding-block: 2.15rem 10.25rem; }
  .hero h1 { font-size: clamp(2rem, 10.8vw, 5.1rem); line-height: .95; }
  .hero p { margin-top: 1rem; font-size: clamp(.6rem, calc((100vw - 3.25rem) / 24), 1rem); }
  .listen-wrap { margin-top: -2.45rem; padding-bottom: 1.6rem; }
  .listen { min-height: 6.1rem; padding: .8rem 1rem; gap: .78rem; border-radius: .9rem; }
  .play { width: 2.95rem; height: 2.95rem; }
  .play-icon { border-top-width: .34rem; border-bottom-width: .34rem; border-left-width: .57rem; }
  .listen-text h2 { font-size: 1.95rem; }
  .listen-text p { font-size: .78rem; }
  .signal { min-width: 1.85rem; width: 19%; height: 1.9rem; }
  .editorial { grid-template-columns: 1fr; gap: .65rem; padding-block: 2.5rem; }
  .shows li { grid-template-columns: minmax(5.6rem, auto) 1fr; padding-inline: .15rem; column-gap: .7rem; }
  .shows span { font-size: .85rem; }
}

@media (max-width: 340px) {
  .nav-link { font-size: .78rem; }
  .signal { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-link { transition: none; }
}

.sponsor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  overflow: hidden;
  min-height: 19rem;
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid #d5c4a6;
  border-radius: 1rem;
  background: #fbf7ed;
}
.sponsor-copy { padding: clamp(1.45rem, 4vw, 3.15rem); }
.sponsor-label { color: #695433; font-size: .69rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.sponsor-identity { display: flex; align-items: center; gap: clamp(.65rem, 2vw, 1.6rem); margin: .7rem 0 1.15rem; }
.sponsor-logo { display: block; width: 100%; max-width: 15rem; min-width: 0; height: auto; }
.anniversary {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(5rem, 24vw, 6.5rem);
  aspect-ratio: 1.08;
  color: #173d2c;
}
.anniversary-wreath {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.anniversary-copy {
  display: grid;
  justify-items: center;
  gap: .14rem;
  transform: translateY(-.12rem);
  font-size: .61rem;
  font-weight: 650;
  letter-spacing: .09em;
  line-height: 1;
  text-transform: uppercase;
}
.anniversary-copy strong {
  font-size: clamp(1.08rem, 4.9vw, 1.35rem);
  font-weight: 700;
  letter-spacing: .015em;
  font-variant-numeric: tabular-nums;
}

.sponsor h2 { color: #173d2c; font: 400 clamp(1.9rem, 3.9vw, 3.4rem)/1.02 var(--display); letter-spacing: -.035em; }
.sponsor-description { margin-top: .45rem; color: #485a4e; font-size: .95rem; }
.sponsor-link { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .9rem; margin-top: 1.15rem; border-radius: .35rem; background: #173d2c; color: #faf5e9; font-size: .84rem; font-weight: 650; text-decoration: none; }
.sponsor-link:hover { background: #245640; }
.sponsor-photo { position: relative; min-height: 100%; }
.sponsor-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
@media (max-width: 660px) {
  .sponsor { grid-template-columns: minmax(0, 1fr); }
  .sponsor-photo { min-height: 0; aspect-ratio: 2.05; }
  .sponsor-identity { gap: .85rem; }
}
