/* ==========================================================================
   DINIZ BROTHERS — PÁGINA TEMPORÁRIA (VERSÃO RESUMIDA & ELEGANTE)
   Foco Total em Conversão, Identidade Visual e Agilidade
   ========================================================================== */

/* --- Variáveis Globais (Design Tokens) --- */
:root {
  --color-bg: #070709;
  --color-card: rgba(18, 18, 24, 0.82);
  --color-card-border: rgba(255, 255, 255, 0.08);
  --color-card-hover: rgba(255, 255, 255, 0.15);
  
  --color-red: #e50914;
  --color-red-glow: rgba(229, 9, 20, 0.4);
  --color-red-subtle: rgba(229, 9, 20, 0.12);
  
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #128c7e;
  --color-whatsapp-glow: rgba(37, 211, 102, 0.35);
  
  --color-text-main: #ffffff;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;
  
  --font-heading: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow-x: hidden;
  padding: 2rem 1rem;
}

/* Atmosfera de Fundo */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob-1 {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 500px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.22) 0%, rgba(184, 7, 16, 0.05) 50%, transparent 75%);
  filter: blur(80px);
  animation: pulseAmbient 8s ease-in-out infinite alternate;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, black 40%, transparent 90%);
}

/* Card Principal Compacto e Centralizado */
.compact-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem 2.25rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(229, 9, 20, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.compact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-red), transparent);
}

/* Logo Oficial Centralizada */
.logo-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.main-logo {
  width: 145px;
  height: 145px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 25px rgba(229, 9, 20, 0.45));
  transition: transform var(--transition-normal);
}

.main-logo:hover {
  transform: scale(1.04) rotate(1deg);
}

/* Badge de Status */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(229, 9, 20, 0.14);
  border: 1px solid rgba(229, 9, 20, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ff6e73;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-red);
  animation: pulseDot 1.6s infinite;
}

/* Título e Texto */
.headline {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.headline span {
  background: linear-gradient(135deg, #ff4d53 0%, var(--color-red) 70%, #990000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subheadline {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 1.5rem;
}

.subheadline strong {
  color: #ffffff;
  font-weight: 600;
}

/* Aviso de Academia Aberta */
.open-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.open-notice strong {
  color: #4ade80;
}

/* Ação Principal: WhatsApp */
.cta-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.btn-whatsapp {
  width: 100%;
  max-width: 440px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.05rem 1.75rem;
  background: linear-gradient(135deg, #2ae771 0%, var(--color-whatsapp) 60%, var(--color-whatsapp-dark) 100%);
  color: #03200d;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 25px var(--color-whatsapp-glow);
  transition: all var(--transition-normal);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
  color: #000000;
}

.btn-whatsapp svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Chips Rápidos */
.chips-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.chip {
  padding: 0.5rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-full);
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.chip:hover {
  background: rgba(229, 9, 20, 0.15);
  border-color: rgba(229, 9, 20, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   RÁDIO TATAME COMPACTA (BARRA SLIM INTEGRADA)
   ========================================================================== */
.radio-compact {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

.radio-play-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-play-radio {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4d53 0%, var(--color-red) 70%, #990000 100%);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 18px var(--color-red-glow);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.btn-play-radio:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(229, 9, 20, 0.6);
}

.btn-play-radio svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.radio-info {
  text-align: left;
}

.radio-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.radio-status {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Equalizer Bars */
.equalizer-wave {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 16px;
  width: 22px;
}

.eq-bar {
  flex: 1;
  background-color: var(--color-red);
  border-radius: 2px;
  height: 3px;
  transition: height 0.15s ease;
}

.is-playing .eq-bar:nth-child(1) { animation: soundBar 1.2s infinite ease-in-out; }
.is-playing .eq-bar:nth-child(2) { animation: soundBar 0.9s infinite ease-in-out 0.2s; }
.is-playing .eq-bar:nth-child(3) { animation: soundBar 1.4s infinite ease-in-out 0.4s; }
.is-playing .eq-bar:nth-child(4) { animation: soundBar 0.8s infinite ease-in-out 0.1s; }

/* Seletor de Estações em Pílulas */
.stations-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.station-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.7rem;
  color: #94a3b8;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
}

.station-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.station-pill.active {
  background: rgba(229, 9, 20, 0.18);
  border-color: rgba(229, 9, 20, 0.45);
  color: #ffffff;
}

/* ==========================================================================
   INFORMAÇÕES ESSENCIAIS / RODAPÉ RESUMIDO
   ========================================================================== */
.essential-info {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.info-item-icon {
  font-size: 1.15rem;
}

.info-item-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-dim);
  letter-spacing: 0.06em;
}

.info-item-text {
  font-size: 0.82rem;
  color: #cbd5e1;
  font-weight: 500;
}

.info-item-link {
  color: #ff6469;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.info-item-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 24px;
  background: #1e293b;
  border: 1px solid #334155;
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 100;
}

.toast-notice.show {
  opacity: 1;
  transform: translateY(0);
}

/* Animações */
@keyframes pulseAmbient {
  0% { transform: translateX(-50%) scale(0.95); opacity: 0.7; }
  100% { transform: translateX(-50%) scale(1.1); opacity: 1; }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

@keyframes soundBar {
  0%, 100% { height: 3px; }
  50% { height: 15px; }
}

/* Responsividade */
@media (max-width: 600px) {
  body {
    padding: 1.25rem 0.75rem;
  }
  
  .compact-card {
    padding: 2rem 1.25rem 1.75rem;
  }
  
  .main-logo {
    width: 120px;
    height: 120px;
  }
  
  .headline {
    font-size: 1.65rem;
  }
  
  .btn-whatsapp {
    font-size: 0.95rem;
    padding: 0.95rem 1.25rem;
  }
  
  .essential-info {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
