@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #030812;
  --bg-soft: #071221;
  --panel: rgba(8, 21, 38, 0.88);
  --panel-2: rgba(12, 29, 50, 0.92);
  --line: rgba(87, 199, 255, 0.18);
  --cyan: #1fd8ff;
  --blue: #0677ff;
  --white: #f7fbff;
  --muted: #9db3c8;
  --danger: #ff5c75;
  --ok: #42e59b;
  --radius: 20px;
  --shadow: 0 24px 70px rgba(0,0,0,.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 0%, rgba(0,119,255,.18), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(31,216,255,.12), transparent 28%),
    var(--bg);
}

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

button {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 74px;
  padding: 0 clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(3, 8, 18, .78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-right: auto;
}

.brand-tv {
  color: #fff;
}

.brand-giro {
  color: var(--cyan);
}

.brand-play {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-left: 4px;
  border-radius: 50%;
  font-size: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 22px rgba(31,216,255,.35);
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #c7d5e3;
}

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

.ghost-button,
.mini-button,
.primary-button,
.secondary-button {
  border: 0;
  cursor: pointer;
  transition: .2s ease;
}

.ghost-button {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.04);
}

.ghost-button:hover,
.mini-button:hover {
  border-color: rgba(31,216,255,.58);
  background: rgba(31,216,255,.09);
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: end;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .72;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2,7,15,.96) 0%, rgba(2,7,15,.82) 36%, rgba(2,7,15,.34) 72%, rgba(2,7,15,.68) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 32%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 88vw);
  margin: 0 0 86px clamp(22px, 7vw, 110px);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.hero-copy h1,
.section-title h2,
.player-heading h2,
.project-copy h2 {
  margin: 0;
  letter-spacing: -0.035em;
}

.hero-copy h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: .98;
}

.hero-copy p {
  max-width: 670px;
  margin: 24px 0 0;
  color: #c4d1dd;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.primary-button {
  padding: 14px 22px;
  border-radius: 999px;
  color: #04111c;
  font-weight: 800;
  background: linear-gradient(135deg, #66e7ff, #0a8dff);
  box-shadow: 0 12px 35px rgba(6,119,255,.28);
}

.primary-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.secondary-button {
  padding: 13px 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  background: rgba(255,255,255,.06);
}

.player-section,
.channels-section,
.project-section {
  width: min(1220px, calc(100% - 34px));
  margin: 0 auto;
}

.player-section {
  padding-top: 64px;
}

.player-heading,
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.player-heading h2,
.section-title h2,
.project-copy h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.player-heading p,
.section-title p,
.project-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.player-actions {
  display: flex;
  gap: 10px;
}

.mini-button {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 10px;
  color: #dce9f5;
  background: rgba(255,255,255,.04);
}

.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(76, 187, 255, .22);
  border-radius: 22px;
  background: #000;
  box-shadow: var(--shadow), 0 0 55px rgba(0, 123, 255, .11);
}

video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(0,119,255,.22), transparent 30%),
    linear-gradient(135deg, #05111f, #02060c);
}

.video-placeholder.hidden {
  display: none;
}

.placeholder-logo {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -4px;
}

.placeholder-logo strong {
  color: var(--cyan);
}

.video-placeholder p {
  margin: 12px 0 0;
  color: var(--muted);
}

.player-status {
  position: absolute;
  left: 16px;
  bottom: 58px;
  max-width: calc(100% - 32px);
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  background: rgba(11, 21, 32, .92);
  border: 1px solid rgba(255,255,255,.12);
}

.player-status.error {
  border-color: rgba(255,92,117,.4);
  color: #ffd6dd;
}

.hidden {
  display: none !important;
}

.channels-section {
  padding: 76px 0 84px;
}

.section-title > p {
  max-width: 500px;
  text-align: right;
}

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

.channel-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  cursor: pointer;
  background: var(--card-bg);
  box-shadow: 0 10px 35px rgba(0,0,0,.18);
  transition: .22s ease;
}

.channel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(2,7,15,.94) 4%, rgba(2,7,15,.20) 66%),
    radial-gradient(circle at 75% 18%, rgba(255,255,255,.15), transparent 35%);
}

.channel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  border: 1px solid var(--cyan);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(31,216,255,.15), 0 0 28px rgba(31,216,255,.12);
  transition: .22s ease;
}

.channel-card:hover {
  transform: translateY(-5px);
}

.channel-card:hover::after,
.channel-card.active::after {
  opacity: 1;
}

.channel-card-content {
  position: relative;
  z-index: 2;
}

.channel-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 42px;
}

.channel-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 13px;
  font-size: 22px;
  background: rgba(2,8,16,.34);
  backdrop-filter: blur(10px);
}

.live-badge {
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #03121b;
  background: var(--cyan);
}

.channel-card h3 {
  margin: 0 0 7px;
  font-size: 21px;
}

.channel-card p {
  margin: 0;
  color: #bdd0df;
  font-size: 13px;
  line-height: 1.5;
}

.channel-play {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.project-section {
  margin-bottom: 90px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(0,119,255,.08), rgba(31,216,255,.025)),
    rgba(7,18,33,.72);
}

.project-copy p {
  max-width: 650px;
}

.project-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
}

.stat strong {
  display: block;
  color: var(--cyan);
  font-size: 20px;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

footer {
  padding: 32px clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #8096a9;
}

.footer-brand {
  font-size: 20px;
  font-weight: 900;
}

@media (max-width: 1000px) {
  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    height: 66px;
  }

  .nav {
    display: none;
  }

  .ghost-button {
    display: none;
  }

  .hero {
    min-height: 610px;
  }

  .hero-image {
    opacity: .50;
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(2,7,15,.32) 45%, rgba(2,7,15,.72) 100%),
      linear-gradient(90deg, rgba(2,7,15,.88), rgba(2,7,15,.25));
  }

  .hero-copy {
    margin: 0 22px 62px;
    width: auto;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .hero-copy p {
    font-size: 16px;
  }

  .player-heading,
  .section-title {
    display: block;
  }

  .player-actions {
    margin-top: 16px;
  }

  .section-title > p {
    text-align: left;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .channel-card {
    min-height: 185px;
  }

  .project-section {
    padding: 26px;
  }

  .project-stats {
    grid-template-columns: 1fr;
  }

  footer {
    display: block;
  }
}


/* TVGIRO Cloud - identidade visual dos canais lineares */
.channel-card.has-artwork {
  background-image: var(--card-image);
  background-size: cover;
  background-position: center;
}
.channel-card.has-artwork::before {
  background: linear-gradient(0deg, rgba(2,7,15,.96) 3%, rgba(2,7,15,.48) 52%, rgba(2,7,15,.12) 100%);
}
.channel-logo {
  max-width: 120px;
  max-height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.65));
}
.channel-programming {
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(102,231,255,.18);
  border-radius: 9px;
  background: rgba(2,8,16,.52);
  color: #eef8ff;
  font-size: 11px;
  line-height: 1.45;
  backdrop-filter: blur(8px);
}
.channel-programming span { color:#b9d3e3; }
