/* ============================================
   Rádio Sofrência Web — Modern CSS
   ============================================ */

:root {
  --bg: #0b0f1a;
  --bg-elevated: #111827;
  --bg-card: #151c2c;
  --bg-glass: rgba(17, 24, 39, 0.85);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(59, 130, 246, 0.35);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --brand: #3b82f6;
  --brand-light: #60a5fa;
  --brand-dark: #2563eb;
  --cyan: #22d3ee;
  --emerald: #34d399;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --nav-h: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ---------- NAV ---------- */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-dark), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.nav-logo-icon i {
  font-size: 1.15rem;
  color: #fff;
}

.nav-logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav-logo-text span {
  color: var(--brand-light);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.mobile-menu-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-menu-btn i {
  font-size: 1.5rem;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(11, 15, 26, 0.98);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.25rem 1.25rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background var(--transition), color var(--transition);
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.nav-spacer {
  height: var(--nav-h);
}

/* ---------- HERO CAROUSEL ---------- */
.hero {
  position: relative;
  width: 100%;
  /* clamp(mínimo, ideal, máximo) */
  height: clamp(250px, 40vh, 450px);
  background: linear-gradient(180deg, #0f172a 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  height: 100%;
  padding: 0 1.25rem;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  padding: 0 1.25rem;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-content {
  flex: 1;
  max-width: 520px;
  text-align: center;
}

.slide-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-light);
  margin-bottom: 0.4rem;
}

.slide-label.cyan {
  color: var(--cyan);
}

.slide-label.emerald {
  color: var(--emerald);
}

.slide-title {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.35rem;
}

.slide-desc {
  font-size: clamp(0.7rem, 1.8vw, 0.85rem);
  color: var(--text-muted);
  max-width: 28rem;
  margin: 0 auto;
}

.slide-visual {
  display: none;
  width: 26%;
  height: 75%;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px -12px rgba(59, 130, 246, 0.2);
}

.slide-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dots & arrows */
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.dot {
  width: 8px;
  height: 6px;
  border-radius: 99px;
  background: #475569;
  transition: all 0.3s ease;
}

.dot.active {
  width: 24px;
  background: var(--brand);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition), background var(--transition), color var(--transition);
  z-index: 5;
}

.hero:hover .carousel-btn {
  opacity: 1;
}

.carousel-btn:hover {
  background: rgba(30, 41, 59, 0.95);
  color: #fff;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-btn i {
  font-size: 1.15rem;
}

/* ---------- MAIN ---------- */
.main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 5rem;
}

.section {
  margin-bottom: 5rem;
  scroll-margin-top: calc(var(--nav-h) + 1.5rem);
}

.section:last-child {
  margin-bottom: 0;
}

.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.75rem;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.section-subtitle {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2), 0 16px 40px -12px rgba(59, 130, 246, 0.18);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.15rem;
  transition: transform var(--transition);
}

.card:hover .card-icon {
  transform: scale(1.08);
}

.card-icon.brand {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.22);
  color: var(--brand-light);
}

.card-icon.cyan {
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--cyan);
}

.card-icon.emerald {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: var(--emerald);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- SOBRE ---------- */
.about {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 2rem 1.5rem;
  border-radius: 24px;
  background: linear-gradient(145deg, #111827 0%, #0f172a 50%, rgba(30, 58, 138, 0.25) 100%);
  border: 1px solid var(--border);
}

.about-content {
  flex: 1;
}

.about-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-light);
  margin-bottom: 0.75rem;
}

.about-title {
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.about-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 32rem;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.stat {
  text-align: left;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: #334155;
  flex-shrink: 0;
}

.about-image {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: #080c14;
  padding: 2.5rem 1.25rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: #e2e8f0;
}

.footer-brand-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-icon i {
  font-size: 0.85rem;
  color: #fff;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.footer-social {
  display: flex;
  gap: 1.25rem;
}

.footer-social a {
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-social a:hover {
  color: var(--brand-light);
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 640px) {
  :root {
    --nav-h: 80px;
  }

  .nav-logo-text {
    display: block;
  }

  .slide-content {
    text-align: left;
  }

  .slide-desc {
    margin: 0;
  }
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .about {
    flex-direction: row;
    align-items: center;
    padding: 2.5rem 2.75rem;
    gap: 3rem;
  }

  .about-image {
    width: 46%;
    flex-shrink: 0;
  }

  .about-image img {
    height: 280px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .slide-visual {
    display: block;
  }

  .slide-content {
    max-width: 55%;
  }
}