:root {
  --bg: #050505;
  --panel: rgba(12, 13, 16, 0.82);
  --panel-strong: rgba(7, 8, 10, 0.94);
  --gold: #f5c24b;
  --gold-strong: #ffdb69;
  --green: #35e76b;
  --blue: #2e76ff;
  --text: #f7f3e8;
  --muted: #bdb7a7;
  --line: rgba(245, 194, 75, 0.34);
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 20%, rgba(245, 194, 75, 0.18), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(46, 118, 255, 0.20), transparent 29%),
    radial-gradient(circle at 82% 52%, rgba(53, 231, 107, 0.10), transparent 24%),
    linear-gradient(180deg, #090909 0%, #050505 48%, #020202 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 70%);
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--gold);
  color: #070707;
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  min-width: 104px;
  min-height: 52px;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(255, 219, 105, 0.7);
  border-radius: 18px;
  color: var(--gold-strong);
  background: linear-gradient(135deg, rgba(245,194,75,0.22), rgba(255,255,255,0.02));
  box-shadow: 0 0 28px rgba(245, 194, 75, 0.22), inset 0 0 18px rgba(255, 219, 105, 0.10);
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: 0.05em;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 0.55rem;
  padding: 0.35rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(0,0,0,0.42);
}

.nav a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.hero,
.section,
.episodes-band,
.participar {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr);
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: 48px 0 78px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 1rem;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-text,
.section-heading p,
.episodes-band p,
.participar p,
.program-card p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 760px;
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.8rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.15rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 14px 36px rgba(0,0,0,0.24);
}

.button-primary {
  border-color: rgba(255, 219, 105, 0.72);
  color: #111;
  background: linear-gradient(135deg, var(--gold-strong), #b87415);
}

.button-outline {
  color: #fff;
  background: rgba(0,0,0,0.34);
}

.button-blue {
  border-color: rgba(87, 142, 255, 0.78);
  color: #fff;
  background: linear-gradient(135deg, rgba(46,118,255,0.92), rgba(11,36,94,0.94));
}

.search-panel {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 740px;
  margin: 0 0 1rem;
  padding: 0.9rem 1.05rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  background: rgba(0,0,0,0.55);
  box-shadow: inset 0 0 20px rgba(255,255,255,0.03);
}

.search-panel span {
  color: var(--gold);
  font-size: 1.6rem;
}

.search-panel input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font: inherit;
}

.search-panel input::placeholder {
  color: rgba(255,255,255,0.55);
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  max-width: 850px;
}

.trust-bar div {
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.035);
}

.trust-bar strong,
.trust-bar span {
  display: block;
}

.trust-bar strong {
  color: #fff;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.trust-bar span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-visual {
  position: relative;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 219, 105, 0.18), rgba(46,118,255,0.12), rgba(53,231,107,0.08));
  box-shadow: var(--shadow), 0 0 70px rgba(245, 194, 75, 0.16);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}

.hero-visual img {
  display: block;
  width: 100%;
  border-radius: 22px;
}

.section {
  padding: 72px 0;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 1.4rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

.filter-chip {
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  font: inherit;
  font-weight: 800;
}

.filter-chip.is-active,
.filter-chip:hover {
  border-color: rgba(255, 219, 105, 0.7);
  color: #111;
  background: var(--gold);
}

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

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.program-card {
  overflow: hidden;
  min-height: 470px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.program-art {
  position: relative;
  overflow: hidden;
  height: 255px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 40% 42%, rgba(255,255,255,0.12), transparent 30%),
    linear-gradient(135deg, rgba(245,194,75,0.32), rgba(0,0,0,0.4));
}

.program-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.16) 52%, rgba(0,0,0,0.72) 100%),
    radial-gradient(circle at 18% 0%, rgba(255, 219, 105, 0.18), transparent 36%);
  pointer-events: none;
}

.program-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 260ms ease, filter 260ms ease;
}

.program-card:hover .program-art img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.theme-love .program-art {
  background: radial-gradient(circle at 50% 42%, rgba(255, 55, 139, 0.54), transparent 28%), linear-gradient(135deg, #260016, #070707);
}

.theme-health .program-art {
  background: radial-gradient(circle at 58% 35%, rgba(46, 118, 255, 0.60), transparent 28%), linear-gradient(135deg, #07182b, #060606);
}

.theme-training .program-art {
  background: radial-gradient(circle at 46% 48%, rgba(245, 194, 75, 0.45), transparent 28%), linear-gradient(135deg, #1d1407, #050505);
}

.theme-depth .program-art {
  background: radial-gradient(circle at 48% 50%, rgba(73, 178, 255, 0.42), transparent 30%), linear-gradient(135deg, #061827, #050505);
}

.theme-friends .program-art {
  background: radial-gradient(circle at 50% 45%, rgba(255, 219, 105, 0.40), transparent 30%), linear-gradient(135deg, #201506, #050505);
}

.theme-archive .program-art {
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,0.13), transparent 30%), linear-gradient(135deg, #161616, #050505);
  filter: grayscale(0.85);
}

.program-content {
  padding: 1.25rem;
}

.status {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.32rem 0.55rem;
  border: 1px solid rgba(53, 231, 107, 0.65);
  border-radius: 999px;
  color: var(--green);
  background: rgba(53, 231, 107, 0.10);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.status.archive {
  border-color: rgba(255,255,255,0.28);
  color: #eee;
  background: rgba(255,255,255,0.08);
}

.program-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  margin-top: 1rem;
}

.program-actions a {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0.48rem 0.62rem;
  color: #fff;
  background: rgba(255,255,255,0.05);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
}

.program-actions a:hover {
  border-color: rgba(255, 219, 105, 0.75);
  background: rgba(245, 194, 75, 0.14);
}

.program-actions .mini-button {
  color: #111;
  background: var(--gold);
}

.archive-card {
  min-height: 410px;
  opacity: 0.86;
}

.empty-state {
  padding: 1.2rem;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
}

.episodes-band,
.participar {
  margin-bottom: 72px;
}

.episodes-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(245,194,75,0.12), rgba(46,118,255,0.10), rgba(0,0,0,0.70));
  box-shadow: var(--shadow);
}

.episodes-band h2 {
  max-width: 760px;
  margin-bottom: 0.5rem;
}

.participar {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 1rem;
}

.participar-card,
.signature-card {
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 30px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.signature-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-color: rgba(255, 219, 105, 0.28);
}

.signature-card span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.signature-card strong {
  margin: 0.35rem 0 0.7rem;
  color: var(--gold-strong);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 0.92;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
  border-top: 1px solid rgba(255,255,255,0.10);
  color: var(--muted);
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 800;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .section,
  .episodes-band,
  .participar,
  .site-footer {
    width: min(100% - 24px, 760px);
  }

  .site-header,
  .hero,
  .episodes-band,
  .participar,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .site-header {
    position: static;
  }

  .nav {
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    transform: none;
  }

  .trust-bar,
  .program-grid,
  .participar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .program-card {
    min-height: auto;
  }

  .episodes-band,
  .participar-card,
  .signature-card {
    padding: 1.2rem;
  }
}
