:root {
  --ink: #1a110c;
  --bark: #2a1c14;
  --card: #342318;
  --cream: #f6efe3;
  --cream-2: #efe4d2;
  --muted: #8d7b6a;
  --gold: #e0b15a;
  --gold-deep: #a8742a;
  --ember: #e07a3d;
  --live: #ef4b3a;
  --line: rgba(246, 239, 227, 0.14);
  --sombra: 0 24px 50px rgba(20, 12, 8, 0.28);
  --fonte: "Outfit", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --raio: 22px;
  --menu: calc(64px + env(safe-area-inset-bottom));
  --barra: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--fonte);
  color: var(--cream);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(224, 177, 90, 0.16), transparent 55%),
    var(--ink);
  line-height: 1.5;
  padding-bottom: calc(var(--menu) + var(--barra));
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 560; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
p { margin: 0; }

.pula {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 20;
}
.pula:focus { top: 12px; }

.miolo { width: min(1080px, calc(100% - 36px)); margin-inline: auto; }
.estreito { width: min(640px, calc(100% - 36px)); }

.topo {
  background:
    linear-gradient(180deg, rgba(224, 177, 90, 0.18), transparent 28%),
    var(--cream);
  color: var(--ink);
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
  padding-bottom: 28px;
}
.topo-barra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 8px;
}
.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.marca img { border-radius: 10px; }
.btn-zap, .btn-linha, .btn-cheio, .barra-pedir {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}
.btn-zap {
  background: #1f7a43;
  color: white;
}
.hero { padding-top: 18px; }
.selo {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(26, 17, 12, 0.06);
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.5rem, 12vw, 5.4rem); max-width: 11ch; }
.assinatura { margin-top: 14px; font-size: 1.05rem; }
.assinatura em { font-family: var(--display); font-style: italic; color: #8a4b18; }
.lead { margin-top: 12px; max-width: 42rem; color: #4e4034; }

.radio {
  margin-top: 26px;
  background: var(--bark);
  color: var(--cream);
  border-radius: 28px;
  padding: 22px 20px 20px;
  box-shadow: var(--sombra);
}
.radio-cabeca { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.radio h2 { font-size: 1.7rem; }
.ao-vivo { display: flex; align-items: center; gap: 8px; color: var(--gold); font-size: 0.92rem; font-weight: 600; }
.ponto {
  width: 9px; height: 9px; border-radius: 50%; background: var(--muted); display: inline-block;
}
.no-ar .ponto { background: var(--live); box-shadow: 0 0 0 0 rgba(239, 75, 58, 0.7); animation: pulso 1.6s infinite; }
@keyframes pulso {
  70% { box-shadow: 0 0 0 8px rgba(239, 75, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 75, 58, 0); }
}
.player-embed iframe {
  width: 100%;
  margin-top: 16px;
  border: 0;
  border-radius: 16px;
  background: #120c09;
}
.play {
  width: 92px; height: 92px; margin: 22px auto 8px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle at 35% 30%, #f0cb86, var(--gold) 42%, #b7832e);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(224, 177, 90, 0.28);
}
.play svg { width: 34px; height: 34px; fill: currentColor; }
.icone-pausa { display: none; }
.tocando .icone-play { display: none; }
.tocando .icone-pausa { display: block; }
.faixa { text-align: center; color: #efe4d2; min-height: 1.5em; }
.ondas { display: flex; justify-content: center; align-items: end; gap: 5px; height: 0; margin: 0; overflow: hidden; opacity: 0; }
.ondas span {
  width: 4px; height: 8px; border-radius: 99px; background: var(--gold);
  transform-origin: bottom;
}
.tocando .ondas { opacity: 1; height: 28px; margin: 14px 0 6px; }
.tocando .ondas span { animation: sobe 0.9s ease-in-out infinite; }
.tocando .ondas span:nth-child(2) { animation-delay: 0.15s; }
.tocando .ondas span:nth-child(3) { animation-delay: 0.28s; }
.tocando .ondas span:nth-child(4) { animation-delay: 0.08s; }
.tocando .ondas span:nth-child(5) { animation-delay: 0.22s; }
@keyframes sobe {
  0%, 100% { height: 8px; }
  50% { height: 26px; }
}
.volume { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin-top: 8px; color: #cbbba6; font-size: 0.92rem; }
.volume input { width: 100%; accent-color: var(--gold); }
.aviso-player, .form-aviso { margin-top: 10px; color: #f0c7a2; font-size: 0.92rem; }

.bloco { padding: 56px 0; }
.bloco h2 { font-size: clamp(2rem, 8vw, 3.4rem); max-width: 16ch; }
.olho {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.texto { margin-top: 14px; color: #e7dccb; max-width: 40rem; }
.bloco-claro {
  background: var(--cream);
  color: var(--ink);
}
.bloco-claro .texto { color: #4e4034; }
.bloco-claro .olho { color: var(--gold-deep); }

.pedido { display: grid; gap: 14px; margin-top: 22px; }
.pedido label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.pedido input, .pedido textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 14px;
  padding: 14px 14px;
  outline: none;
  font-size: 16px;
}
.pedido input:focus, .pedido textarea:focus { border-color: var(--gold); }
.pedido input::placeholder, .pedido textarea::placeholder { color: #a89888; }
.btn-cheio { background: var(--gold); color: var(--ink); width: 100%; }
.btn-linha {
  margin-top: 18px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(26, 17, 12, 0.25);
}

.ficha { display: grid; gap: 22px; }
.cartao-bruto {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--raio);
  padding: 22px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image:
    radial-gradient(400px 180px at 100% 0%, rgba(224, 122, 61, 0.45), transparent 60%),
    radial-gradient(300px 200px at 0% 100%, rgba(224, 177, 90, 0.25), transparent 55%);
}
.cartao-kicker { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.cartao-nome { font-family: var(--display); font-size: 2.4rem; font-style: italic; line-height: 1; margin: 6px 0 8px; }

.grade { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.foto {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: inherit;
  width: 100%;
}
.foto img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: var(--card); }
.foto span { display: block; margin-top: 6px; font-size: 0.86rem; color: #d9cbb8; }
.vazio {
  margin-top: 18px;
  padding: 22px;
  border: 1px dashed rgba(224, 177, 90, 0.45);
  border-radius: 18px;
  color: #e7dccb;
}
.molduras { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.molduras span {
  aspect-ratio: 1;
  border-radius: 16px;
  display: grid;
  place-items: end start;
  padding: 12px;
  background:
    linear-gradient(160deg, rgba(224, 177, 90, 0.2), transparent 55%),
    #2c1e14;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.15rem;
  font-style: italic;
}

.bloco-anuncio { padding-top: 20px; }
.anuncio {
  background: linear-gradient(160deg, #3a2618, #24160f 60%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px 20px;
}
.ofertas { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.ofertas li {
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: rgba(246, 239, 227, 0.05);
}
.ofertas strong { display: block; }
.ofertas span { color: #d9cbb8; font-size: 0.95rem; }
.anuncio .btn-cheio { width: auto; }

.rodape { padding: 10px 0 28px; color: #b7a898; font-size: 0.92rem; }
.rodape-marca { font-family: var(--display); color: var(--cream); font-size: 1.4rem; margin-bottom: 6px; }
.rodape a { color: var(--gold); }

.menu {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(26, 17, 12, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.menu a {
  text-align: center;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 12px;
  color: #e7dccb;
}
.menu a:focus-visible, .play:focus-visible, .btn-cheio:focus-visible, .btn-zap:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.barra {
  position: fixed;
  left: 10px; right: 10px;
  bottom: calc(var(--menu) + 8px);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 18px;
  background: #3a271c;
  border: 1px solid var(--line);
  box-shadow: var(--sombra);
}
body.com-barra { --barra: 74px; }
.barra-play {
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--gold); color: var(--ink); display: grid; place-items: center; cursor: pointer;
}
.barra-play svg { width: 18px; height: 18px; fill: currentColor; }
.barra-texto { flex: 1; min-width: 0; }
.barra-texto strong, .barra-texto span { display: block; }
.barra-texto span { color: #d9cbb8; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barra-pedir { background: transparent; color: var(--gold); min-height: 40px; padding-inline: 10px; }

.toast {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(var(--menu) + var(--barra) + 12px);
  z-index: 8;
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #3a271c;
  border: 1px solid var(--gold);
  color: var(--cream);
  box-shadow: var(--sombra);
}
.luz {
  width: min(920px, calc(100% - 24px));
  border: 0;
  padding: 16px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--cream);
}
.luz::backdrop { background: rgba(12, 8, 6, 0.82); }
.luz img { width: 100%; max-height: 72vh; object-fit: contain; border-radius: 12px; background: #120c09; }
.luz p { margin-top: 10px; }
.luz-fechar {
  margin-bottom: 10px;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  min-height: 44px;
}

@media (min-width: 880px) {
  .hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: end; padding-bottom: 12px; }
  .radio { margin-top: 0; }
  .ficha { grid-template-columns: 1.4fr 0.8fr; align-items: center; }
  .grade { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .molduras { grid-template-columns: repeat(4, 1fr); }
  .anuncio { padding: 36px; }
  .anuncio .btn-cheio { min-width: 220px; }
  h1 { max-width: 12ch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .no-ar .ponto, .tocando .ondas span { animation: none; }
}
