
    :root {
      --bg: #030712;
      --bg-soft: rgba(15, 23, 42, 0.72);
      --panel: rgba(255, 255, 255, 0.06);
      --panel-strong: rgba(2, 6, 23, 0.75);
      --border: rgba(255, 255, 255, 0.12);
      --text: #f8fafc;
      --muted: #cbd5e1;
      --cyan: #67e8f9;
      --fuchsia: #e879f9;
	  --white: #ffffff;
	  --red: #ff0000;
      --emerald: #34d399;
      --shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
      --radius-xl: 32px;
      --radius-lg: 24px;
      --radius-md: 18px;
      --max: 1280px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .bg-fixed {
      position: fixed;
      inset: 0;
      background:
        linear-gradient(rgba(2, 6, 23, 0.30), rgba(2, 6, 23, 0.38)),
        url('../img/templar-bg.png') center center / cover no-repeat;
      z-index: -4;
      background-attachment: fixed;
    }

    .bg-glow,
    .bg-grid,
    .bg-scan {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: -3;
    }

    .bg-glow {
      background:
        radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.16), transparent 28%),
        radial-gradient(circle at 80% 10%, rgba(217, 70, 239, 0.15), transparent 24%),
        radial-gradient(circle at 50% 100%, rgba(52, 211, 153, 0.08), transparent 28%);
      animation: pulseGlow 6s ease-in-out infinite;
    }

    .bg-grid {
      opacity: 0.08;
      background-image:
        linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
      background-size: 42px 42px;
    }

    .bg-scan::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.05) 49%, transparent 51%, transparent 100%);
      animation: scanLine 8s linear infinite;
    }

    .wrap {
      width: min(calc(100% - 32px), var(--max));
      margin: 0 auto;
    }

    .hero-shell,
    .panel,
    .card,
    .manifesto {
      border: 1px solid var(--border);
      background: var(--panel);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      box-shadow: var(--shadow);
    }

    .hero-shell {
      margin-top: 28px;
      border-radius: var(--radius-xl);
      overflow: hidden;
    }

    .topbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      padding: 18px 26px;
      border-bottom: 1px solid var(--border);
      background: rgba(0, 0, 0, 0.18);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
      min-width: 0;
    }

    .brand-badge {
      width: 48px;
      height: 48px;
      border-radius: 18px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(103, 232, 249, 0.24);
      background: rgba(103, 232, 249, 0.10);
      box-shadow: 0 0 30px rgba(34, 211, 238, 0.15);
      font-size: 20px;
    }

    .brand-text small {
      display: block;
      text-transform: uppercase;
      letter-spacing: 0.35em;
      color: #94a3b8;
      font-size: 11px;
      margin-bottom: 4px;
    }

    .brand-text strong {
      display: block;
      font-size: 16px;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .status-pill {
      border: 1px solid rgba(52, 211, 153, 0.20);
      background: rgba(52, 211, 153, 0.10);
      color: #86efac;
      border-radius: 999px;
      padding: 10px 16px;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.25em;
    }

    .hero-main {
      display: grid;
      grid-template-columns: 1.4fr 0.95fr;
    }

    .hero-copy,
    .hero-side {
      padding: 34px;
    }

    .hero-side {
      background: rgba(0, 0, 0, 0.22);
      border-left: 1px solid var(--border);
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 16px;
      border-radius: 999px;
      border: 1px solid rgba(103, 232, 249, 0.28);
      background: rgba(103, 232, 249, 0.10);
      color: #bae6fd;
      text-transform: uppercase;
      letter-spacing: 0.32em;
      font-size: 11px;
    }

    h1 {
      margin-top: 22px;
      font-size: clamp(3rem, 7vw, 5.4rem);
      line-height: 0.95;
      font-weight: 900;
      letter-spacing: -0.04em;
    }

    .title-gradient {
      display: block;
      background: linear-gradient(90deg, var(--white), #ffffff, var(--red));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      text-shadow: 0 0 18px rgba(103, 232, 249, 0.16);
    }

    .hero-copy p.lead {
      margin-top: 24px;
      max-width: 760px;
      color: rgba(226, 232, 240, 0.92);
      font-size: 18px;
      line-height: 1.9;
    }

    .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 30px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 24px;
      border-radius: 18px;
      font-weight: 700;
      transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    }

    .btn:hover {
      transform: translateY(-2px);
    }

    .btn-primary {
      background: white;
      color: #0f172a;
      box-shadow: 0 10px 35px rgba(255, 255, 255, 0.18);
    }

    .btn-secondary {
      border: 1px solid rgba(255, 255, 255, 0.15);
      background: rgba(255,255,255,0.05);
      color: white;
    }

    .hero-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      margin-top: 34px;
    }

    .stat {
      position: relative;
      border-radius: 22px;
      border: 1px solid var(--border);
      background: rgba(0, 0, 0, 0.25);
      padding: 22px;
      overflow: hidden;
    }

    .stat::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(34, 211, 238, 0.06), rgba(217, 70, 239, 0.04));
    }

    .stat strong,
    .stat span {
      position: relative;
    }

    .stat strong {
      display: block;
      font-size: 34px;
      color: var(--cyan);
      line-height: 1;
      font-weight: 900;
    }

    .stat span {
      display: block;
      margin-top: 8px;
      color: #cbd5e1;
      font-size: 14px;
    }

    .domain-card,
    .signature-card,
    .media-mini {
      border-radius: 28px;
    }

    .domain-row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
    }

    .domain-row small {
      display: block;
      text-transform: uppercase;
      letter-spacing: 0.30em;
      color: #cbd5e1;
      font-size: 11px;
    }

    .domain-row strong {
      display: block;
      margin-top: 8px;
      font-size: 30px;
      word-break: break-word;
    }

    .live-dot {
      position: relative;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: #ef4444;
      box-shadow: 0 0 20px rgba(239, 68, 68, 0.9);
      flex: 0 0 auto;
    }

    .live-dot::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 50%;
      background: rgba(239, 68, 68, 0.7);
      animation: ping 1.6s infinite;
    }

    .media-mini {
      margin-top: 30px;
      padding: 18px;
      border: 1px solid rgba(103, 232, 249, 0.20);
      background: rgba(2, 6, 23, 0.80);
      position: relative;
      overflow: hidden;
    }

    .media-mini::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top, rgba(34, 211, 238, 0.12), transparent 38%), radial-gradient(circle at bottom, rgba(217, 70, 239, 0.10), transparent 32%);
      pointer-events: none;
    }

    .media-mini-inner {
      position: relative;
      aspect-ratio: 16 / 9;
      border-radius: 22px;
      border: 1px solid var(--border);
      background: linear-gradient(135deg, #020617, #0f172a 50%, #020617);
      padding: 18px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .media-mini-top {
      display: flex;
      justify-content: space-between;
      text-transform: uppercase;
      letter-spacing: 0.22em;
      color: #94a3b8;
      font-size: 11px;
    }

    .mini-box {
      border-radius: 16px;
      border: 1px solid var(--border);
      background: rgba(0,0,0,0.40);
      padding: 14px;
      font-size: 14px;
      color: #cbd5e1;
      margin-top: 8px;
    }

    .signature-card {
      margin-top: 26px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.05);
      padding: 22px;
      position: relative;
      overflow: hidden;
    }

    .signature-card::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 4px;
      background: linear-gradient(to bottom, var(--cyan), var(--fuchsia), transparent);
    }

    .section {
      padding: 32px 0;
    }

    .grid-main {
      display: grid;
      grid-template-columns: 1.6fr 0.8fr;
      gap: 24px;
    }

    .panel {
      border-radius: var(--radius-xl);
      padding: 26px;
    }

    .section-label {
      text-transform: uppercase;
      letter-spacing: 0.30em;
      font-size: 12px;
      color: var(--cyan);
    }

    .panel h2,
    .panel h3 {
      margin-top: 12px;
      font-size: clamp(2rem, 4vw, 2.7rem);
      line-height: 1.1;
      font-weight: 900;
    }

    .stream-status {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 16px;
      border-radius: 999px;
      border: 1px solid rgba(52, 211, 153, 0.30);
      background: rgba(52, 211, 153, 0.10);
      color: #6ee7b7;
      font-size: 14px;
    }

    .live-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-top: 28px;
    }

    .media-box {
      border-radius: 24px;
      border: 1px solid var(--border);
      background: rgba(0, 0, 0, 0.35);
      padding: 18px;
      position: relative;
      overflow: hidden;
    }

    .media-box.video::before,
    .media-box.audio::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    .media-box.video::before {
      background: linear-gradient(180deg, rgba(34, 211, 238, 0.08), transparent 40%);
    }

    .media-box.audio::before {
      background: linear-gradient(180deg, rgba(217, 70, 239, 0.08), transparent 40%);
    }

    .media-box .label {
      position: relative;
      text-transform: uppercase;
      letter-spacing: 0.25em;
      color: #94a3b8;
      font-size: 12px;
    }

    .video-frame {
      position: relative;
      margin-top: 14px;
      aspect-ratio: 16 / 9;
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid var(--border);
      background: black;
    }

    .video-frame iframe {
      width: 100%;
      height: 100%;
      border: 0;
    }

    .video-frame::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(to bottom, rgba(255,255,255,0.04), transparent 24%, transparent 76%, rgba(255,255,255,0.05));
    }

    .audio-box {
      position: relative;
      margin-top: 14px;
      min-height: 220px;
      border-radius: 20px;
      border: 1px solid rgba(103, 232, 249, 0.20);
      background: linear-gradient(135deg, rgba(34, 211, 238, 0.10), rgba(217, 70, 239, 0.10));
      padding: 22px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    audio {
      width: 100%;
    }

    .side-stack {
      display: grid;
      gap: 16px;
      margin-top: 22px;
    }

    .side-card {
      border-radius: 20px;
      padding: 18px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.05);
    }

    .side-card.current {
      background: rgba(34, 211, 238, 0.10);
      border-color: rgba(103, 232, 249, 0.25);
      box-shadow: 0 0 30px rgba(34, 211, 238, 0.08);
    }

    .side-card small {
      text-transform: uppercase;
      letter-spacing: 0.25em;
      font-size: 11px;
      display: block;
    }

    .side-card strong {
      display: block;
      margin-top: 8px;
      font-size: 20px;
    }

    .cards-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .card {
      position: relative;
      overflow: hidden;
      border-radius: 28px;
      padding: 24px;
      transition: transform 0.2s ease, background 0.2s ease;
    }

    .card:hover {
      transform: translateY(-4px);
      background: rgba(255,255,255,0.10);
    }

    .card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(145deg, rgba(255,255,255,0.05), transparent 35%, transparent);
      pointer-events: none;
    }

    .card > * {
      position: relative;
    }

    .card small {
      text-transform: uppercase;
      letter-spacing: 0.25em;
      color: var(--cyan);
      font-size: 11px;
    }

    .card h3 {
      margin-top: 12px;
      font-size: 24px;
      line-height: 1.25;
    }

    .card p {
      margin-top: 14px;
      color: #cbd5e1;
      font-size: 15px;
      line-height: 1.8;
    }

    .grid-programs {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 24px;
    }

    .table-wrap {
      margin-top: 28px;
      overflow: hidden;
      border-radius: 24px;
      border: 1px solid var(--border);
    }

    table {
      width: 100%;
      border-collapse: collapse;
    }

    thead {
      background: rgba(255,255,255,0.05);
    }

    th,
    td {
      padding: 18px 16px;
      text-align: left;
    }

    tbody tr {
      border-top: 1px solid var(--border);
      background: rgba(0, 0, 0, 0.20);
    }

    td.time {
      color: var(--cyan);
      font-weight: 800;
      white-space: nowrap;
    }

    .show-list {
      display: grid;
      gap: 16px;
      margin-top: 24px;
    }

    .show-card {
      position: relative;
      overflow: hidden;
      border-radius: 24px;
      border: 1px solid var(--border);
      background: rgba(0,0,0,0.30);
      padding: 22px;
    }

    .show-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent);
      pointer-events: none;
    }

    .show-row {
      position: relative;
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }

    .show-icon {
      width: 48px;
      height: 48px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.05);
      font-size: 22px;
      flex: 0 0 auto;
    }

    .show-row small {
      text-transform: uppercase;
      letter-spacing: 0.25em;
      color: #94a3b8;
      font-size: 11px;
    }

    .show-row strong {
      display: block;
      margin-top: 8px;
      font-size: 24px;
    }

    .show-row p {
      margin-top: 10px;
      color: #cbd5e1;
      line-height: 1.8;
    }

    .manifesto {
      position: relative;
      overflow: hidden;
      border-radius: var(--radius-xl);
      padding: 30px;
      background: linear-gradient(90deg, rgba(34, 211, 238, 0.10), rgba(255, 255, 255, 0.05), rgba(217, 70, 239, 0.10));
    }

    .manifesto::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 45%);
      pointer-events: none;
    }

    .manifesto-content {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
    }

    .manifesto h2 {
      font-size: clamp(2rem, 4vw, 3.4rem);
      line-height: 1.05;
      font-weight: 900;
      margin-top: 12px;
    }

    .manifesto p {
      margin-top: 18px;
      max-width: 860px;
      color: #e2e8f0;
      font-size: 18px;
      line-height: 1.9;
    }

    .mono {
      font-family: Consolas, Monaco, monospace;
      font-size: 13px;
      color: #94a3b8;
    }
    
    
    
    
    /* ===== OVERLAY VIDEO ===== */

#video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,0.85);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#video-overlay.active {
  display: flex;
}

.video-overlay-content {
  width: 80%;
  max-width: 1400px;
  aspect-ratio: 16/9;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(103,232,249,0.15);
}

.video-overlay-content iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* bouton fermer stylé */
#close-video {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;

  background: rgba(0,0,0,0.6);
  border: 1px solid var(--border);
  color: white;

  font-size: 20px;
  padding: 8px 12px;
  border-radius: 12px;

  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: 0.2s;
}

#close-video:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.05);
}
    
/* bouton/couche cliquable au-dessus de l'iframe */
.video-frame {
  position: relative;
}

.video-frame-trigger {
  position: absolute;
  inset: 0;
  z-index: 5;
  border: 0;
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.08),
    rgba(2, 6, 23, 0.18)
  );
  color: white;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 16px;
  transition: background 0.25s ease, opacity 0.25s ease;
}

.video-frame-trigger:hover {
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.04),
    rgba(2, 6, 23, 0.28)
  );
}

.video-frame-trigger-icon,
.video-frame-trigger-text {
  pointer-events: none;
}

.video-frame-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  font-size: 20px;
}

.video-frame-trigger-text {
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}    
    
    
    
    

    @keyframes pulseGlow {
      0%, 100% { opacity: 0.9; transform: scale(1); }
      50% { opacity: 1; transform: scale(1.02); }
    }

    @keyframes ping {
      0% { transform: scale(1); opacity: 0.65; }
      100% { transform: scale(2.2); opacity: 0; }
    }

    @keyframes scanLine {
      0% { transform: translateY(-100%); }
      100% { transform: translateY(100%); }
    }

    @media (max-width: 1100px) {
      .hero-main,
      .grid-main,
      .grid-programs,
      .cards-3 {
        grid-template-columns: 1fr;
      }

      .hero-side {
        border-left: 0;
        border-top: 1px solid var(--border);
      }

      .live-grid,
      .hero-stats {
        grid-template-columns: 1fr;
      }

      .manifesto-content {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    @media (max-width: 760px) {
      .wrap {
        width: min(calc(100% - 20px), var(--max));
      }

      .topbar,
      .hero-copy,
      .hero-side,
      .panel,
      .card,
      .manifesto {
        padding-left: 18px;
        padding-right: 18px;
      }

      .topbar {
        flex-direction: column;
        align-items: flex-start;
      }

      .brand-text strong {
        white-space: normal;
      }

      .domain-row strong {
        font-size: 22px;
      }

      th.hide-mobile,
      td.hide-mobile {
        display: none;
      }
    }
