/* ==========================================================================
   Rádio Online — style.css — Tema "Onda"
   Base de design: fundo verde-escuro, destaque verde-limão, seções creme,
   botões pill, títulos bicolor e cards com brilho verde sutil.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* cores editáveis pelo painel (aplicadas via JS) */
  --primary: #38bdf8;
  --secondary: #22d3ee;
  --accent: #eef7fc;
  --user-bg: #05141d;
  --user-text: #ffffff;
  --player-bg: #0a2233;
  --primary-contrast: #05141d;

  /* superfícies derivadas (fallback + color-mix) */
  --bg: var(--user-bg);
  --text: var(--user-text);
  --muted: #93a5a0;
  --card: #0b2434;
  --card-2: #0e2f44;
  --line: rgba(56, 189, 248, 0.16);
  --line-soft: rgba(255, 255, 255, 0.09);
  --bg: color-mix(in srgb, var(--user-bg) 100%, transparent);
  --card: color-mix(in srgb, var(--text) 6%, var(--bg));
  --card-2: color-mix(in srgb, var(--primary) 8%, var(--bg));
  --line-soft: color-mix(in srgb, var(--text) 10%, transparent);
  /* cor de destaque usada em TEXTO: escurece no tema claro para manter contraste */
  --primary-ink: var(--primary);

  /* tipografia */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Archivo', 'Inter', system-ui, Arial, sans-serif;

  /* medidas */
  --player-h: 72px;
  --header-h: 72px;
  --container: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --pill: 999px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --ease: 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Tema claro: base creme, texto escuro (cores de destaque continuam do painel) */
[data-theme='light'] {
  --bg: #eef7fc;
  --bg: color-mix(in srgb, var(--accent) 55%, #ffffff);
  --text: #05141d;
  --muted: #4d5f57;
  --card: #ffffff;
  --card-2: #ffffff;
  --line: rgba(6, 20, 14, 0.12);
  --line-soft: rgba(6, 20, 14, 0.1);
  --shadow: 0 24px 60px rgba(6, 20, 14, 0.12);
  --primary-ink: color-mix(in srgb, var(--primary) 62%, #05141d);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* o player fixo no rodapé nunca cobre âncoras/rodapé */
  scroll-padding-bottom: calc(var(--player-h) + 1.5rem);
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  padding-bottom: var(--player-h);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }

/* O hidden tem de vencer qualquer display de autor (inclusive o img/svg/video
 * acima): como o autor ganha da user-agent, o [hidden] nativo era anulado e
 * logos escondidos pelo logoMode continuavam aparecendo. É a regra que o
 * próprio padrão HTML define. */
[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}

p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--primary); color: var(--primary-contrast); }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.muted { color: var(--muted); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--primary);
  color: var(--primary-contrast);
  padding: 0.7rem 1.2rem;
  border-radius: var(--pill);
  font-weight: 700;
  transition: top var(--ease);
}
.skip-link:focus { top: calc(var(--header-h) + 0.75rem); }

/* ---------- Utilitários tipográficos ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-ink);
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--primary);
}

.section-title {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  margin-top: 0.9rem;
}
.section-title em,
.page-head h1 em,
.empty-state h1 em {
  font-style: normal;
  color: var(--primary-ink);
}

.lead {
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 62ch;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: var(--primary);
  color: var(--primary-contrast);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), opacity var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--primary) 32%, transparent);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

.btn--ghost {
  background: transparent;
  color: currentColor;
  border-color: color-mix(in srgb, currentColor 28%, transparent);
}
.btn--ghost:hover { box-shadow: none; border-color: var(--primary); color: var(--primary); }

.btn--soft {
  background: color-mix(in srgb, var(--text) 8%, transparent);
  color: var(--text);
  border-color: var(--line-soft);
}
.btn--soft:hover { box-shadow: none; border-color: var(--primary); }

.btn--sm { padding: 0.65rem 1.2rem; font-size: 0.7rem; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-ink);
}
.link-arrow span { transition: transform var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--pill);
  background: color-mix(in srgb, var(--text) 8%, transparent);
  border: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.badge--live {
  background: color-mix(in srgb, var(--primary) 16%, transparent);
  border-color: color-mix(in srgb, var(--primary) 45%, transparent);
  color: var(--primary);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.72); }
}

/* ---------- Player fixo (topo ou rodapé) ---------- */
.player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--player-bg);
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.28);
}

/* topo */
.player--top {
  top: 0;
  bottom: auto;
  border-top: none;
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}
.player--top::after {
  top: auto;
  bottom: 0;
  background: linear-gradient(90deg, transparent, var(--secondary) 45%, var(--primary));
}

/* topo do player -> variável usada no layout */
.player--top ~ main { padding-top: var(--player-h); }
.player:not(.player--top) ~ main { padding-bottom: var(--player-h); }

.player-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--player-h);
  width: min(100% - 1.5rem, var(--container));
  margin-inline: auto;
}

.player-art {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: #000;
  flex-shrink: 0;
  border: 1px solid var(--line-soft);
}

.player-meta { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }

.player-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border-radius: var(--pill);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
}
.player-live[hidden] { display: none; }

.player-track {
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 34ch;
}
.player-track.is-empty { color: var(--muted); font-weight: 600; }

.player-artist {
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 34ch;
}

.player-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.player-status {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--pill);
  white-space: nowrap;
}
.player-status[data-state='ok'] { color: var(--primary); border-color: color-mix(in srgb, var(--primary) 40%, transparent); }
.player-status[data-state='error'] { color: #ff8f6b; border-color: rgba(255, 143, 107, 0.4); }
.player-status[data-state='loading'] { color: var(--secondary); }

.player-listeners {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}
.player-listeners[hidden] { display: none; }

.player-btn {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-contrast);
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease);
}
.player-btn:hover { transform: scale(1.07); box-shadow: 0 10px 26px color-mix(in srgb, var(--primary) 40%, transparent); }
.player-btn--main { width: 54px; height: 54px; }
.player-btn--main svg { width: 26px; height: 26px; }
.player-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.player-btn.is-playing { animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 45%, transparent); }
  50% { box-shadow: 0 0 0 10px transparent; }
}
.spin { animation: rotate 1s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }

.player-volume {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.player-mute {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--ease), border-color var(--ease);
}
.player-mute:hover, .player-mute.is-muted { color: var(--primary); border-color: var(--primary); }

.player-volume input[type='range'] {
  width: 96px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(to right, var(--primary) var(--fill, 80%), color-mix(in srgb, var(--text) 18%, transparent) var(--fill, 80%));
  border-radius: var(--pill);
  cursor: pointer;
}
.player-volume input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--player-bg);
}
.player-volume input[type='range']::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid var(--player-bg);
  border-radius: 50%;
  background: var(--primary);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
}
.brand img { height: 40px; width: auto; object-fit: contain; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand__name span { color: var(--primary); }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav .btn { display: none; }
.site-nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.35rem 0;
  transition: color var(--ease);
}
.site-nav a:hover { color: var(--text); }
.site-nav a.is-active { color: var(--text); font-weight: 600; }
.site-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.header-cta { display: flex; align-items: center; gap: 0.75rem; }
/* rótulo do botão nunca quebra: se apertar, o logo (max-width) absorve */
.header-cta .btn { white-space: nowrap; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: background var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Seções ---------- */
.section { padding: clamp(3rem, calc(5vw + 15px), 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section--cream {
  --text: #05141d;
  --muted: #4d5f57;
  --card: #ffffff;
  --card-2: #ffffff;
  --line: rgba(6, 20, 14, 0.12);
  --line-soft: rgba(6, 20, 14, 0.1);
  --ink-primary: #0a5f8f;
  --primary-ink: #0a5f8f;
  background: var(--accent);
  color: #05141d;
}
/* legibilidade: verde-limão puro não contrasta sobre creme */
.section--cream .eyebrow,
.section--cream .schedule-row__time strong,
.section--cream .program-card__meta,
.section--cream .program-card__day,
.section--cream .link-arrow { color: var(--ink-primary); }
.section--cream .eyebrow::before { background: var(--ink-primary); }
.section--cream .badge { background: rgba(6, 20, 14, 0.05); border-color: rgba(6, 20, 14, 0.12); color: #4d5f57; }
.section--cream .badge--live {
  background: rgba(10, 92, 44, 0.1);
  border-color: rgba(10, 92, 44, 0.35);
  color: var(--ink-primary);
}
.section--cream .dot { background: var(--ink-primary); }
.section--cream .program-card__meta .sep { color: #4d5f57; }
.section--soft { background: color-mix(in srgb, var(--text) 4%, var(--bg)); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}
.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head .lead { margin-top: 0.85rem; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--split { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); }

/* ---------- Hero (estilo Antena - limpo e hierárquico) ---------- */
.hero {
  position: relative;
  padding: 72px 0 0;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__gradient {
  position: absolute;
  inset: -40% 0 auto;
  height: 120%;
  background:
    radial-gradient(50% 50% at 50% 15%, color-mix(in srgb, var(--primary) 25%, transparent), transparent 65%),
    radial-gradient(35% 35% at 85% 5%, color-mix(in srgb, var(--secondary) 18%, transparent), transparent 65%),
    radial-gradient(40% 40% at 15% 85%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 55%);
}
.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.15;
}
.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--primary) 18%, transparent) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
}
.hero__inner { position: relative; z-index: 1; }

/* Grid do hero: duas colunas no desktop (palco esquerda, painel direita) */
.hero__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 921px) {
  .hero__grid {
    grid-template-columns: 1.15fr 1fr;
    max-width: 1040px;
    margin: 0 auto;
    align-items: center;
  }
}

/* ---------- Palco: capa circular com play sobreposto ---------- */
.hero__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  /* largura do disco: a barra de progresso usa a mesma, para as duas
     terminarem na mesma vertical */
  --disco: min(74vw, 380px);
}
.hero__stage {
  position: relative;
  width: var(--disco);
  aspect-ratio: 1 / 1;
}
@media (min-width: 921px) {
  .hero__media { --disco: min(34vw, 420px); }
}

/* halo ao redor do disco */
.hero__stage::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle at center,
      color-mix(in srgb, var(--primary) 26%, transparent) 0%,
      color-mix(in srgb, var(--secondary) 14%, transparent) 45%,
      transparent 72%);
  filter: blur(6px);
  z-index: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.hero__stage[data-state='playing']::before {
  animation: halo-pulse 3.6s ease-in-out infinite;
}
@keyframes halo-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.05); opacity: 1; }
}

.hero__stage img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  background: linear-gradient(135deg,
      color-mix(in srgb, var(--primary) 18%, var(--card)),
      color-mix(in srgb, var(--secondary) 12%, var(--card)));
  border: 3px solid color-mix(in srgb, var(--primary) 30%, transparent);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.45s ease, border-color 0.3s ease;
}
.hero__stage:hover img { transform: scale(1.015); }
.hero__stage[data-state='playing'] img {
  border-color: color-mix(in srgb, var(--primary) 60%, transparent);
  animation: disc-turn 26s linear infinite;
}
@keyframes disc-turn {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero__live {
  position: absolute;
  z-index: 3;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* botão play sobreposto no centro do disco */
.play-big--hero {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  backdrop-filter: blur(2px);
}
.play-big--hero:hover,
.play-big--hero:focus {
  transform: translate(-50%, -50%) scale(1.07);
}
.play-big--hero:active { transform: translate(-50%, -50%) scale(0.96); }
.play-big--hero svg { width: 30px; height: 30px; }
.play-big--hero::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--primary) 45%, transparent);
  opacity: 0;
  pointer-events: none;
}
.hero__stage[data-state='playing'] .play-big--hero::after {
  animation: ring-out 2.4s ease-out infinite;
}
@keyframes ring-out {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* barra de progresso logo abaixo do disco, na mesma largura que ele */
.hero__media .hero__progress {
  width: var(--disco);
  height: 6px;
  margin: 0.35rem 0 0;
  background: color-mix(in srgb, var(--line-soft) 75%, transparent);
  border-radius: 99px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 6%, transparent);
}

/* ---------- Painel do player (lado direito no desktop) ---------- */
.player-info {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.6vw, 1.1rem);
  text-align: center;
}
@media (min-width: 921px) {
  .player-info { text-align: left; align-self: start; padding-top: 0.5rem; }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
@media (min-width: 921px) {
  .hero__eyebrow { justify-content: flex-start; }
}

/* Mini equalizador (dasa ao lado do rótulo) */
.eq {
  display: inline-flex;
  gap: 3px;
  align-items: flex-end;
  height: 15px;
}
.eq i {
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transform-origin: bottom;
  animation: eq-bounce 1.15s ease-in-out infinite;
}
.eq i:nth-child(1) { animation-delay: -0.15s; }
.eq i:nth-child(2) { animation-delay: -0.55s; }
.eq i:nth-child(3) { animation-delay: -0.85s; }
.eq i:nth-child(4) { animation-delay: -0.35s; }
.eq i:nth-child(5) { animation-delay: -0.7s; }
@keyframes eq-bounce {
  0%, 100% { transform: scaleY(0.22); }
  50% { transform: scaleY(1); }
}
.eq.is-paused i {
  animation-play-state: paused;
  transform: scaleY(0.18);
  opacity: 0.45;
}

/* Título da faixa (h1 proeminente) */
.player-info h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0.15rem 0 0;
  color: var(--text);
}
.hero__artist {
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

.host {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
@media (min-width: 921px) {
  .host { justify-content: flex-start; }
}
.host b { color: var(--text); font-weight: 600; }
.hero__state {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 99px;
  border: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--card) 92%, transparent);
  color: var(--muted);
}
.hero__state[data-state='playing'] {
  color: var(--primary-ink, var(--primary));
  border-color: color-mix(in srgb, var(--primary) 45%, transparent);
}

/* ---------- Próxima música (card com mini capa) ---------- */
.nextup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0.95rem;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  text-align: left;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.nextup[hidden] { display: none; }
.nextup:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, transparent);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}
.nextup__art {
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 12px;
  object-fit: cover;
  background: #0b1620;
  border: 1px solid var(--line-soft);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}
.nextup__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.nextup__k {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.nextup__track {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nextup__artist {
  font-size: 0.85rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Controles ---------- */
.hero__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}
@media (min-width: 921px) {
  .hero__controls { justify-content: flex-start; }
}
.mini-btn {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line-soft);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.mini-btn:hover { background: var(--card-2); border-color: var(--primary); color: var(--primary); }
.mini-btn.is-muted { color: var(--muted); }
.mini-btn svg { width: 18px; height: 18px; }

.player-volume--hero { flex: 1; max-width: 210px; }

.play-big {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 75%, var(--secondary)));
  border: none;
  color: var(--primary-contrast);
  box-shadow:
    0 8px 30px color-mix(in srgb, var(--primary) 40%, transparent),
    0 0 0 1px color-mix(in srgb, var(--primary) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.play-big:hover,
.play-big:focus {
  transform: scale(1.06);
  box-shadow:
    0 12px 40px color-mix(in srgb, var(--primary) 50%, transparent),
    0 0 0 1px color-mix(in srgb, var(--primary) 40%, transparent),
    0 0 60px color-mix(in srgb, var(--primary) 35%, transparent);
}
.play-big:active { transform: scale(0.96); }
.play-big[disabled] { opacity: 0.55; cursor: not-allowed; }
.play-big svg { width: 26px; height: 26px; }

/* Barra de progresso */
.progress {
  height: 4px;
  background: color-mix(in srgb, var(--line-soft) 60%, transparent);
  border-radius: 99px;
  overflow: hidden;
  width: 100%;
}
.progress[hidden] { display: none; }
.progress .progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.6s linear;
}
.progress--live .progress__bar {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  color: var(--muted);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}
.progress-meta[hidden] { display: none; }

/* Ouvintes */
.hero__listeners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
@media (min-width: 921px) {
  .hero__listeners { justify-content: flex-start; }
}
.hero__listeners[hidden] { display: none; }
.avatars { display: flex; }
.avatars i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--primary) 55%, transparent), transparent 70%),
    var(--card-2);
}
.avatars i:first-child { margin-left: 0; }

/* ---------- Equalizador no pé do hero ---------- */
.hero__eqbar {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(2px, 0.45vw, 6px);
  height: 64px;
  padding: 0 clamp(0.5rem, 3vw, 2rem);
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.hero__eqbar i {
  flex: 1 1 0;
  max-width: 7px;
  height: 100%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--primary), color-mix(in srgb, var(--secondary) 70%, transparent));
  transform-origin: bottom;
  animation: eq-bounce 1.15s ease-in-out infinite;
}
.hero__eqbar i:nth-child(6n+1) { animation-delay: -0.1s; }
.hero__eqbar i:nth-child(6n+2) { animation-delay: -0.75s; }
.hero__eqbar i:nth-child(6n+3) { animation-delay: -0.35s; }
.hero__eqbar i:nth-child(6n+4) { animation-delay: -0.95s; }
.hero__eqbar i:nth-child(6n+5) { animation-delay: -0.5s; }
.hero__eqbar i:nth-child(6n+6) { animation-delay: -0.2s; }
.hero__eqbar.is-paused i {
  animation-play-state: paused;
  transform: scaleY(0.14);
  opacity: 0.4;
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  .hero { padding-top: 48px; }
  .hero__media { --disco: min(72vw, 300px); }
  .play-big--hero { width: 64px; height: 64px; }
  .play-big--hero svg { width: 26px; height: 26px; }
  .hero__eqbar { height: 44px; }
  .player-volume--hero { max-width: none; }
  .nextup { padding: 0.7rem 0.8rem; }
  .nextup__art { width: 50px; height: 50px; }
}

/* ---------- Faixa de estatísticas ---------- */
.stats-strip {
  background: color-mix(in srgb, var(--text) 5%, var(--bg));
  border-block: 1px solid var(--line-soft);
}
.stats-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
}
.stat {
  text-align: center;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--line-soft);
}
.stat:last-child { border-right: none; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  color: var(--primary-ink);
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Cards genéricos ---------- */
.card {
  position: relative;
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 55%),
    var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  transition: transform var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line); }
.card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary);
  color: var(--primary-contrast);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 1.1rem;
}
.card h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Programa atual / grade ---------- */
.program-card {
  background:
    radial-gradient(110% 100% at 0% 0%, color-mix(in srgb, var(--primary) 20%, transparent), transparent 60%),
    var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.program-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.program-card__title {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  margin: 1rem 0 0.6rem;
}
.program-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-ink);
}
.program-card__meta .sep { color: var(--muted); }
.program-card__desc { color: var(--muted); margin-top: 0.65rem; }
.program-card__day {
  margin-top: 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Foto do locutor no card de programa atual */
.program-card__host {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 1rem 0;
}
.program-host__photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.program-host__info { flex: 1; min-width: 0; }
.program-host__role {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* Mobile: foto menor */
@media (max-width: 600px) {
  .program-host__photo { width: 48px; height: 48px; }
}

.day-tabs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  scrollbar-width: thin;
}
.day-tab {
  flex: 0 0 auto;
  padding: 0.6rem 1.15rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--pill);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--ease);
}
.day-tab:hover { color: var(--text); border-color: var(--line); }
.day-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-contrast);
}

.schedule-list { list-style: none; padding: 0; margin: 0; }

.schedule-row {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.15rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  transition: background var(--ease);
}
.schedule-row:hover { background: color-mix(in srgb, var(--text) 5%, transparent); }
.schedule-row.is-live {
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border-bottom-color: transparent;
}
.schedule-row.is-next { border-left: 3px solid var(--primary); }

.schedule-row__time {
  flex: 0 0 118px;
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
}
.schedule-row__time strong { font-size: 1.05rem; color: var(--primary-ink); }
.schedule-row__time span { font-size: 0.8rem; color: var(--muted); }

.schedule-row__body { flex: 1; min-width: 0; }
.schedule-row__body h3, .schedule-row__body h4 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.schedule-row__body p { font-size: 0.9rem; color: var(--muted); }

.schedule-row__tag {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Últimas músicas ---------- */
.songs { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }

.song-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background var(--ease), border-color var(--ease);
}
.song-row:hover {
  background: color-mix(in srgb, var(--text) 5%, transparent);
  border-color: var(--line-soft);
}
.song-row__art {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  background: #000;
  flex-shrink: 0;
}
.song-row__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.song-row__body strong {
  font-size: 0.98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.song-row__body span { font-size: 0.85rem; color: var(--muted); }
.song-row__time { font-size: 0.78rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.sk {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--text) 7%, transparent) 25%, color-mix(in srgb, var(--text) 14%, transparent) 50%, color-mix(in srgb, var(--text) 7%, transparent) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.sk--art { width: 54px; height: 54px; border-radius: 10px; flex-shrink: 0; }
.sk--text { height: 38px; flex: 1; }
@keyframes shimmer { to { background-position: -200% 0; } }

.next-song {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line-soft);
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.next-song strong {
  color: var(--text);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Locutores ---------- */
.presenter-card {
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--secondary) 14%, transparent), transparent 55%),
    var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--ease), border-color var(--ease);
}
.presenter-card:hover { transform: translateY(-5px); border-color: var(--line); }

.presenter-card__photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 26%, var(--card-2)), var(--card-2));
  display: grid;
  place-items: center;
}
.presenter-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.presenter-card__photo.no-img .avatar { display: grid; }

.avatar {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-contrast);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
}

.presenter-card__body { padding: 1.4rem 1.5rem 1.6rem; }
.presenter-card__body h3 { margin-top: 0.7rem; font-size: 1.3rem; }
.presenter-card__program {
  margin-top: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-ink);
}
.presenter-card__bio {
  margin-top: 0.7rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.presenter-card__social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.presenter-card__social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  transition: all var(--ease);
}
.presenter-card__social a:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Notícias ---------- */
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--ease), border-color var(--ease);
}
.news-card:hover { transform: translateY(-5px); border-color: var(--line); }

.news-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.06); }

.cover-tone-1 { background: linear-gradient(135deg, #0e2f44, color-mix(in srgb, var(--primary) 45%, #0e2f44)); }
.cover-tone-2 { background: linear-gradient(135deg, #0a2233, color-mix(in srgb, var(--secondary) 50%, #0a2233)); }
.cover-tone-3 { background: linear-gradient(135deg, #12331f, color-mix(in srgb, var(--accent) 40%, #12331f)); }
.cover-tone-4 { background: linear-gradient(135deg, #05141d, color-mix(in srgb, var(--primary) 35%, #05141d)); }

.news-card__initials {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
}

.news-card__cat {
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--pill);
  background: var(--primary);
  color: var(--primary-contrast);
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.news-card__date {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.news-card__body h3 { font-size: 1.15rem; }
.news-card__body h3 a:hover { color: var(--primary); }
.news-card__body p { color: var(--muted); font-size: 0.93rem; }
.news-card__body .link-arrow { margin-top: auto; padding-top: 0.6rem; }

/* ---------- Página interna ---------- */
.page-head {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute;
  inset: -60% 20% auto;
  height: 200%;
  background: radial-gradient(45% 45% at 50% 50%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%);
  pointer-events: none;
}
.page-head__inner { position: relative; text-align: center; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin-top: 1rem; }
.page-head .lead { margin: 1rem auto 0; }

/* ---------- Article ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-top: 1rem; }
.article__meta { margin-top: 0.9rem; color: var(--muted); font-size: 0.9rem; }
.article__cover {
  width: 100%;
  border-radius: var(--radius);
  margin-top: 1.75rem;
  border: 1px solid var(--line-soft);
}
.article__content { margin-top: 1.75rem; display: grid; gap: 1.15rem; font-size: 1.06rem; }
.article .link-arrow { margin-top: 2rem; }
.related { margin-top: clamp(3rem, 6vw, 5rem); }

.empty-state { text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.empty-state h1 { font-size: clamp(1.8rem, 4vw, 2.75rem); margin-top: 1rem; }
.empty-state .btn { margin-top: 1.75rem; }

/* ---------- Sobre ---------- */
.about-block + .about-block { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.about-block p { color: var(--muted); font-size: 1.05rem; max-width: 75ch; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

.contact-list { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1rem; }
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1.15rem;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}
.contact-item__label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-ink);
  font-weight: 700;
}
.contact-item a:hover { color: var(--primary); }

.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: color-mix(in srgb, var(--text) 5%, transparent);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  transition: border-color var(--ease), background var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 6%, transparent);
}
.field .is-invalid, .field input.is-invalid, .field textarea.is-invalid, .field select.is-invalid {
  border-color: #ff7a5c;
}
.field-error { font-size: 0.78rem; color: #ff7a5c; min-height: 1em; }
.form-note { font-size: 0.82rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.85rem; max-width: 860px; margin-inline: auto; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--ease);
}
.faq details[open] { border-color: var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.98rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '›';
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform var(--ease);
}
.faq details[open] summary::after { transform: rotate(90deg); }
.faq details[open] summary { color: var(--primary); }
.faq .faq__answer { padding: 0 1.35rem 1.25rem; color: var(--muted); font-size: 0.95rem; }

/* ---------- Redes sociais ---------- */
.social-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.social-link {
  min-width: 48px;
  height: 48px;
  padding: 0 0.9rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--pill);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text);
  transition: all var(--ease);
}
.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-contrast);
  transform: translateY(-3px);
}
.social-link.is-list { border-radius: var(--radius-sm); justify-content: flex-start; width: 100%; }

/* ---------- CTA ---------- */
.cta-block {
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius);
  background:
    radial-gradient(80% 140% at 100% 0%, color-mix(in srgb, var(--secondary) 30%, transparent), transparent 60%),
    linear-gradient(120deg, var(--primary), color-mix(in srgb, var(--primary) 55%, var(--secondary)));
  color: var(--primary-contrast);
}
.cta-block h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
.cta-block p { margin-top: 0.6rem; opacity: 0.8; max-width: 52ch; }
.cta-block .btn { background: #05141d; color: var(--primary); }
.cta-block .btn:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); }

/* ---------- Rodapé ---------- */
.site-footer {
  background: color-mix(in srgb, var(--bg) 70%, #000000);
  border-top: 1px solid var(--line-soft);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  margin-top: clamp(2rem, 5vw, 4rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.footer-brand img { height: 44px; width: auto; margin-bottom: 1rem; }
.footer-brand__name { display: block; font-size: 1.1rem; margin-bottom: 0.35rem; }
.footer-brand p { color: var(--muted); font-size: 0.93rem; max-width: 34ch; }
.footer-col h2, .footer-col h4 {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-ink);
  margin-top: 0;
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.65rem; }
.footer-col a { color: var(--muted); font-size: 0.93rem; transition: color var(--ease); }
.footer-col a:hover { color: var(--primary); }
.footer-contact li { color: var(--muted); font-size: 0.93rem; }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 1.35rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-bottom nav { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: var(--primary-ink); }

/* Tema claro: rodapé e sidebar claros para não ficarem "lamacentos" */
[data-theme='light'] .site-footer {
  background: color-mix(in srgb, var(--accent) 70%, #ffffff);
  border-top-color: rgba(6, 20, 14, 0.12);
}
[data-theme='light'] .admin-side {
  background: #ffffff;
  border-right-color: rgba(6, 20, 14, 0.1);
}
[data-theme='light'] .admin-topbar {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(6, 20, 14, 0.1);
}
[data-theme='light'] body.admin {
  background: #f1f2e6;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--player-h) + 1.25rem);
  transform: translate(-50%, 140%);
  z-index: 120;
  max-width: min(92vw, 460px);
  padding: 0.95rem 1.35rem;
  border-radius: var(--pill);
  background: var(--card-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.92rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.toast[data-type='success'] { border-color: var(--primary); }
.toast[data-type='error'] { border-color: #ff7a5c; }

/* ---------- Ajuda de instalação do app (PWA) ---------- */
.install-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 10, 16, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: install-fade 0.18s ease;
}
.install-sheet {
  width: min(420px, 100%);
  padding: 26px 24px 22px;
  text-align: center;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: install-pop 0.22s var(--ease);
}
.install-sheet__icon {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 16px;
}
.install-sheet h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}
.install-sheet__lead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.install-sheet__steps {
  margin: 0 0 18px;
  padding-left: 20px;
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.5;
  display: grid;
  gap: 8px;
}
.install-sheet__steps b { color: var(--primary); font-weight: 600; }
.install-sheet__close { width: 100%; }

@keyframes install-fade { from { opacity: 0; } }
@keyframes install-pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

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