/* ==========================================================================
   Shadow — site vitrine
   ========================================================================== */

:root {
  --bg: #07060e;
  --bg-elev: #110d18;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f5f7;
  --text-muted: #a39dae;
  --text-dim: #6b6478;
  --accent: #8b5cf6;
  --accent-2: #3b82f6;
  --accent-3: #d946ef;
  --gradient: linear-gradient(120deg, var(--accent-2) 0%, var(--accent) 50%, var(--accent-3) 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

::selection {
  background: var(--accent);
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.serif {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Grain + lueurs de fond ---------------------------------------------------- */

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

/* Navigation ---------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 16px 0;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(7, 6, 14, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--border);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--text-muted);
}

.nav-links a {
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .lang {
  padding: 2px 9px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  padding: 8px;
  cursor: pointer;
}

/* Boutons ------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, border-color 0.3s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

.btn-light {
  background: var(--text);
  color: #000;
}

.btn-light:hover {
  box-shadow: 0 10px 40px -10px rgba(255, 255, 255, 0.5);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: var(--surface-strong);
}

/* Badge App Store */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px 10px 18px;
  border-radius: 14px;
  background: #fff;
  color: #000;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.appstore:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 50px -12px rgba(139, 92, 246, 0.7);
}

.appstore svg {
  width: 26px;
  height: 26px;
}

.appstore span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.appstore small {
  font-size: 11px;
  font-weight: 500;
}

.appstore strong {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Hero ---------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}

.hero .glow-1 {
  width: 620px;
  height: 620px;
  background: rgba(139, 92, 246, 0.35);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.hero .glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.18);
  top: 300px;
  left: -120px;
}

.hero .glow-3 {
  width: 400px;
  height: 400px;
  background: rgba(217, 70, 239, 0.15);
  top: 380px;
  right: -120px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 13px;
  color: var(--text-muted);
  backdrop-filter: blur(10px);
}

.pill b {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
}

.hero h1 {
  font-size: clamp(44px, 8vw, 92px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin: 28px 0 24px;
}

.hero p.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.stars {
  color: #ffd166;
  letter-spacing: 2px;
}

/* Maquettes ----------------------------------------------------------------- */

.phone {
  position: relative;
  width: 290px;
  aspect-ratio: 9 / 19.5;
  border-radius: 48px;
  padding: 11px;
  background: linear-gradient(145deg, #2a2a30, #0d0d10 40%, #1d1d22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 50px 100px -20px rgba(0, 0, 0, 0.9),
    0 30px 80px -30px rgba(139, 92, 246, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #000;
}

.phone-screen::before {
  /* Dynamic Island */
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 27px;
  border-radius: 20px;
  background: #000;
  z-index: 5;
}

/* Sections génériques ---------------------------------------------------------- */

section {
  position: relative;
}

.section {
  padding: 120px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-head h2,
.h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 0 18px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 18px;
  margin: 0;
}

/* Bandeau logos / chiffres ----------------------------------------------------- */

.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat span {
  color: var(--text-muted);
  font-size: 14px;
}

/* Bento des fonctionnalités ---------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.card::before {
  /* reflet qui suit la souris (voir main.js) */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 92, 246, 0.12), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.card:hover {
  border-color: var(--border-strong);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 10px;
}

.card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  margin-bottom: 24px;
}

.card .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--text);
}

.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }

.card-visual {
  margin-top: 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 18px;
}

/* Visuel : qualité */
.quality {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  height: 110px;
}

.quality div {
  flex: 1;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.7), rgba(139, 92, 246, 0.1));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
  font-size: 12px;
  font-weight: 600;
}

/* Visuel : sync */
.sync {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.sync .dev {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  display: grid;
  place-items: center;
}

.sync .dev svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-muted);
}

.sync .line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  background-size: 200% 100%;
  animation: flow 2.4s linear infinite;
  border-radius: 2px;
}

/* Visuel : confidentialité */
.lock-visual {
  display: grid;
  place-items: center;
  height: 110px;
  position: relative;
}

.lock-visual::before,
.lock-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.3);
  animation: ring 3s var(--ease) infinite;
}

.lock-visual::before { width: 70px; height: 70px; }
.lock-visual::after { width: 70px; height: 70px; animation-delay: 1.5s; }

.lock-visual svg {
  width: 36px;
  height: 36px;
  stroke: var(--accent);
  position: relative;
}

/* Section « immersive » --------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split .copy p {
  color: var(--text-muted);
  font-size: 18px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 14px;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
}

.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--gradient);
}

.devices {
  position: relative;
  aspect-ratio: 1 / 0.8;
}

.tv {
  position: absolute;
  top: 0;
  left: 0;
  width: 88%;
  aspect-ratio: 16 / 9.6;
  border-radius: 14px;
  padding: 8px;
  background: #111114;
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}

.tv-screen {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--bg);
}

.tv-stand {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 6px;
  border-radius: 0 0 6px 6px;
  background: #1c1c20;
}

.devices .phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  min-width: 150px;
  border-radius: 34px;
  padding: 8px;
}

.devices .phone-screen {
  border-radius: 27px;
}

.devices .phone-screen::before {
  width: 60px;
  height: 18px;
  top: 7px;
}

/* Témoignages ----------------------------------------------------------------- */

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

.review {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.review p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
}

.review footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.review footer i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1), var(--c2));
}

.review footer span {
  color: var(--text-dim);
  display: block;
  font-size: 13px;
}

/* FAQ ------------------------------------------------------------------------- */

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  transition: border-color 0.3s;
}

.faq details[open] {
  border-color: var(--border-strong);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 500;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translate(-3px, -3px);
}

.faq details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--text-muted);
}

/* CTA final ------------------------------------------------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--border-strong);
  padding: 96px 32px;
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(139, 92, 246, 0.35), transparent 70%),
    var(--bg-elev);
}

.cta img {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin: 0 auto 28px;
  box-shadow: 0 20px 60px -10px rgba(139, 92, 246, 0.6);
}

.cta p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto 36px;
}

/* Footer ---------------------------------------------------------------------- */

.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: 120px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 320px;
}

.footer h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin: 0 0 16px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer ul a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-dim);
}

.footer .disclaimer {
  font-size: 12px;
  color: var(--text-dim);
  max-width: 760px;
  line-height: 1.6;
}

/* Pages légales ---------------------------------------------------------------- */

.legal {
  padding: 160px 0 40px;
}

.legal .container {
  max-width: 780px;
}

.legal h1 {
  font-size: clamp(38px, 6vw, 60px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-weight: 600;
  margin: 12px 0 12px;
}

.legal .updated {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 56px;
}

.legal h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 48px 0 12px;
}

.legal p,
.legal li {
  color: var(--text-muted);
}

.legal a {
  color: var(--accent);
}

.legal a:hover {
  text-decoration: underline;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 40px 0 16px;
}

.contact-grid .card {
  padding: 28px;
}

.contact-grid .card h3 {
  font-size: 18px;
}

.contact-grid .card a {
  color: var(--accent);
  font-weight: 500;
  display: inline-block;
  margin-top: 14px;
}

/* Animations ------------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@keyframes pulse {
  50% { opacity: 0.3; }
}

@keyframes flow {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

@keyframes ring {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(2.2); opacity: 0; }
}

@keyframes float {
  50% { transform: translateY(-12px); }
}

.float {
  animation: float 6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Responsive ------------------------------------------------------------------ */

@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }

  .span-2,
  .span-3 { grid-column: span 1; }
  .bento .wide { grid-column: span 2; }
  .split { grid-template-columns: 1fr; gap: 56px; }
  .reviews { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border-radius: 18px;
    background: rgba(17, 13, 24, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }

  .nav-links a {
    padding: 14px 16px;
    font-size: 16px;
    color: var(--text);
  }

  .nav.open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-toggle { display: block; }
  .nav-cta { display: none; }

  .container { padding: 0 16px; }
  .section { padding: 88px 0; }
  .hero { padding-top: 130px; }
  .bento { grid-template-columns: 1fr; }
  .bento .wide { grid-column: span 1; }
  .card { padding: 26px; }
  .phone { width: 260px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 72px 20px; border-radius: 24px; }
}

/* ==========================================================================
   Composants spécifiques IPTV
   ========================================================================== */

/* Plateformes dans la nav */
.platforms {
  display: inline-flex;
  gap: 6px;
  margin-top: 28px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.platforms span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
}

.platforms svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}

/* Hero multi-appareils */
.stage {
  position: relative;
  z-index: 1;
  margin: 88px auto 0;
  max-width: 1040px;
  aspect-ratio: 16 / 8.6;
}

.stage .tv {
  left: 50%;
  transform: translateX(-50%);
  width: 82%;
  padding: 10px;
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 60px 120px -40px rgba(0, 0, 0, 1),
    0 40px 120px -40px rgba(139, 92, 246, 0.55);
}

.stage .tablet {
  position: absolute;
  left: 0;
  bottom: -4%;
  width: 40%;
  aspect-ratio: 1.43;
  border-radius: 22px;
  padding: 9px;
  background: linear-gradient(145deg, #2a2a30, #0d0d10 40%, #1d1d22);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -20px rgba(0, 0, 0, 0.95);
  z-index: 2;
}

.stage .phone {
  position: absolute;
  right: 3%;
  bottom: -8%;
  width: 19%;
  min-width: 0;
  border-radius: 32px;
  padding: 7px;
  z-index: 3;
}

.stage .phone-screen {
  border-radius: 26px;
}

.stage .phone-screen::before {
  width: 34%;
  height: 4.5%;
  top: 2.5%;
}

/* Playlists multiples */
.playlists {
  display: grid;
  gap: 10px;
}

.playlist {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
}

.playlist .badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface-strong);
  flex-shrink: 0;
}

.playlist div {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.playlist b {
  font-weight: 600;
  font-size: 15px;
}

.playlist small {
  color: var(--text-dim);
  font-size: 13px;
}

.playlist .radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  flex-shrink: 0;
}

.playlist.active {
  border-color: rgba(139, 92, 246, 0.45);
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.12), transparent);
}

.playlist.active .badge {
  background: var(--gradient);
  color: #fff;
}

.playlist.active .radio {
  border: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--gradient);
}

/* Organisation du contenu */
.toggles {
  display: grid;
  gap: 8px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
}

.toggle-row span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toggle-row em {
  font-style: normal;
  font-size: 12px;
  color: var(--text-dim);
}

.switch {
  width: 36px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  flex-shrink: 0;
}

.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s var(--ease);
}

.switch.on {
  background: var(--accent);
}

.switch.on::after {
  transform: translateX(14px);
}

/* Lecteurs externes */
.players {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.players span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
}

.players i {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}

/* Grille de fonctionnalités détaillées */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--border);
  gap: 1px;
}

.feature {
  padding: 36px 32px;
  background: var(--bg);
  transition: background 0.4s var(--ease);
}

.feature:hover {
  background: var(--bg-elev);
}

.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.3);
  margin-bottom: 20px;
}

.feature .icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--text);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* Réseaux sociaux */
.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.3s, background 0.3s;
}

.socials a:hover {
  border-color: var(--border-strong);
  background: var(--surface-strong);
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
}

@media (max-width: 980px) {
  .features { grid-template-columns: 1fr 1fr; }
  .stage { aspect-ratio: 16 / 10; }
  .stage .tv { width: 92%; }
  .stage .tablet { width: 46%; bottom: -10%; }
  .stage .phone { width: 22%; bottom: -14%; }
}

@media (max-width: 760px) {
  .features { grid-template-columns: 1fr; }
  .platforms span { padding: 6px 10px; font-size: 12px; }
  .platforms span svg { display: none; }
  .stage { aspect-ratio: 16 / 12; margin-top: 56px; }
  .stage .tv { width: 100%; padding: 6px; border-radius: 12px; }
  .stage .tablet { width: 52%; bottom: 0; padding: 5px; border-radius: 14px; }
  .stage .phone { width: 27%; bottom: -4%; right: 0; padding: 4px; border-radius: 20px; }
  .stage .phone-screen { border-radius: 16px; }
}

/* Écrans de l'app ------------------------------------------------------------ */

.screen-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.no-island::before {
  display: none;
}

.tablet .phone-screen {
  border-radius: 14px;
}

.tv-shot {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  aspect-ratio: 16 / 9;
  box-shadow: 0 60px 140px -60px rgba(139, 92, 246, 0.6);
}

.tv-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.tv-shots figure,
.gallery figure {
  margin: 0;
}

.tv-shots .tv-shot {
  border-radius: 18px;
  box-shadow: none;
}

.tv-shots figcaption,
.gallery figcaption {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 15px;
}

.tv-shots figcaption b,
.gallery figcaption b {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 2px;
}

.gallery {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.gallery figure {
  width: 270px;
  flex-shrink: 0;
  text-align: center;
}

.gallery .phone {
  width: 100%;
}

@media (max-width: 760px) {
  .devices .phone { width: 30%; min-width: 0; border-radius: 24px; padding: 5px; }
  .devices .phone-screen { border-radius: 19px; }
  .tv-shot { border-radius: 16px; }
  .tv-shots { grid-template-columns: 1fr; gap: 32px; }

  .gallery {
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -16px;
    padding: 0 16px 8px;
    scrollbar-width: none;
  }

  .gallery figure {
    width: 230px;
    scroll-snap-align: center;
  }
}

/* FAQ en deux colonnes */
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.faq-wrap .faq {
  max-width: none;
  margin: 0;
}

.faq-wrap .section-head {
  text-align: left;
  margin: 0;
  position: sticky;
  top: 120px;
}

@media (max-width: 980px) {
  .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .faq-wrap .section-head { position: static; }
}
