/* =========================================================
   Abonnement IPTV France — feuille de style principale
   Palette : bleu nuit profond, accents bleu/cyan, touche rouge
   ========================================================= */

/* ---------- Jetons de design ---------- */
:root {
  --bg: #070b16;
  --bg-2: #0a1122;
  --panel: #0d1730;
  --panel-2: #101c3a;
  --line: rgba(140, 172, 228, 0.14);
  --line-strong: rgba(140, 172, 228, 0.3);
  --text: #eef3fc;
  --muted: #94a4c6;
  --muted-2: #7686a8;
  --blue: #2f7dff;
  --blue-deep: #1a56d6;
  --cyan: #5fd9ff;
  --red: #e2504a;
  --green: #3ed598;
  --amber: #f2b545;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  --shadow-pop: 0 30px 70px -30px rgba(47, 125, 255, 0.55);

  --container: 1160px;
  --header-h: 72px;

  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Réinitialisation ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  position: relative;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Halo d'ambiance : effet CSS pur, aucun média décoratif */
body::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70vh;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 22% 0%, rgba(47, 125, 255, 0.22), transparent 62%),
    radial-gradient(45% 50% at 82% 6%, rgba(95, 217, 255, 0.13), transparent 60%);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; }

a { color: var(--cyan); text-decoration-color: rgba(95, 217, 255, 0.4); text-underline-offset: 3px; }
a:hover { color: #a5e9ff; }

strong { font-weight: 700; color: #fff; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(47, 125, 255, 0.4); color: #fff; }

/* ---------- Utilitaires ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: clamp(60px, 8vw, 104px) 0; }
.section--tight { padding: clamp(48px, 6vw, 76px) 0; }
.section--alt { background: linear-gradient(180deg, rgba(13, 23, 48, 0) 0%, rgba(13, 23, 48, 0.75) 12%, rgba(13, 23, 48, 0.75) 88%, rgba(13, 23, 48, 0) 100%); }

[id] { scroll-margin-top: calc(var(--header-h) + 22px); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 999;
  background: var(--cyan);
  color: #04101f;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; color: #04101f; }

/* Étiquette de section : le tiret tricolore est la signature graphique du site */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue) 0 34%, #ffffff 34% 66%, var(--red) 66% 100%);
}

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center p { margin-inline: auto; }

.lead { font-size: 1.08rem; color: var(--muted); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  min-height: 48px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 30px -14px rgba(47, 125, 255, 0.9);
}
.btn--primary:hover { color: #fff; box-shadow: 0 18px 40px -14px rgba(47, 125, 255, 1); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--cyan); color: #fff; }

.btn--block { width: 100%; }
.btn--sm { padding: 0.7rem 1.1rem; font-size: 0.875rem; min-height: 42px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ---------- En-tête ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 22, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-deep) 0 34%, #f4f7ff 34% 66%, var(--red) 66% 100%);
  opacity: 0.85;
}
.header.is-scrolled {
  background: rgba(7, 11, 22, 0.94);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  flex-shrink: 0;
}
.logo:hover { color: #fff; }
.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(47, 125, 255, 0.45));
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.logo:hover .logo-mark { transform: translateY(-2px) scale(1.04); }
.logo-glyph { width: 100%; height: 100%; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.logo-text b { font-size: 1.02rem; letter-spacing: -0.025em; }

.nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-list a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-list a[aria-current="true"] { color: #fff; background: rgba(47, 125, 255, 0.16); }

.header-cta { flex-shrink: 0; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger:hover { background: rgba(255, 255, 255, 0.09); }
.burger-bars { display: block; width: 20px; height: 14px; position: relative; }
.burger-bars i {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.burger-bars i:nth-child(1) { top: 0; }
.burger-bars i:nth-child(2) { top: 6px; }
.burger-bars i:nth-child(3) { top: 12px; }
.burger[aria-expanded="true"] .burger-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-bars i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 92px) 0 clamp(52px, 7vw, 96px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.1vw, 3.6rem);
  margin-bottom: 0.55em;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #ffffff 8%, var(--cyan) 58%, var(--blue) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 1.12rem; color: var(--muted); max-width: 54ch; }

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.9rem 0 0;
  display: grid;
  gap: 0.7rem;
}
.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0;
}
.hero-points svg { flex-shrink: 0; color: var(--cyan); margin-top: 2px; }

/* ---------- Signature : maquette d'interface de lecture ---------- */
.player-wrap { position: relative; }

.player {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(168deg, var(--panel-2) 0%, var(--panel) 45%, #08101f 100%);
  box-shadow: var(--shadow-pop), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  padding: 14px;
  overflow: hidden;
}
.player::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 30%);
  border-radius: inherit;
}
.player-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 4px 12px;
}
.player-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.player-dot:nth-child(3) { margin-right: auto; }
.player-chip {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
}

.player-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}
.player-tab {
  flex: 1;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 8px 4px;
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.player-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(47, 125, 255, 0.55), rgba(26, 86, 214, 0.35));
  border-color: rgba(95, 217, 255, 0.5);
}

.player-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(125deg, rgba(47, 125, 255, 0.5) 0%, rgba(11, 26, 61, 0.9) 48%, rgba(95, 217, 255, 0.28) 100%),
    var(--panel);
}
.player-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(75% 75% at 30% 40%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 75% at 30% 40%, #000 20%, transparent 100%);
}
.player-live {
  position: absolute;
  top: 12px; left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(7, 11, 22, 0.6);
  border: 1px solid rgba(226, 80, 74, 0.5);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  font-family: var(--font-display);
}
.player-live i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.player-quality {
  position: absolute;
  top: 12px; right: 12px;
  display: flex;
  gap: 5px;
}
.player-quality span {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(7, 11, 22, 0.55);
  border: 1px solid var(--line);
  color: var(--muted);
}
.player-quality span:last-child { color: #fff; border-color: rgba(95, 217, 255, 0.6); }

.player-meta {
  position: absolute;
  left: 14px; right: 14px; bottom: 12px;
}
.player-meta b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #fff;
}
.player-meta small { font-size: 0.72rem; color: rgba(238, 243, 252, 0.72); }
.player-track {
  margin-top: 9px;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}
.player-track i {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  animation: creep 14s linear infinite;
}
@keyframes creep { from { width: 34%; } to { width: 78%; } }

.player-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.player-card {
  border-radius: 11px;
  border: 1px solid var(--line);
  padding: 10px;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(160deg, rgba(47, 125, 255, 0.2), rgba(9, 16, 34, 0.9));
}
.player-card:nth-child(2) { background: linear-gradient(160deg, rgba(95, 217, 255, 0.2), rgba(9, 16, 34, 0.9)); }
.player-card:nth-child(3) { background: linear-gradient(160deg, rgba(226, 80, 74, 0.18), rgba(9, 16, 34, 0.9)); }
.player-card b { font-family: var(--font-display); font-size: 0.74rem; color: #fff; }
.player-card small { font-size: 0.64rem; color: var(--muted-2); }

.player-note {
  position: absolute;
  right: -10px;
  bottom: -14px;
  background: rgba(10, 17, 34, 0.96);
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 1);
}
.player-note svg { color: var(--green); flex-shrink: 0; }
.player-note b { font-family: var(--font-display); font-size: 0.78rem; display: block; }
.player-note small { font-size: 0.68rem; color: var(--muted-2); }

/* ---------- Cartes génériques ---------- */
.card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card h3 { font-size: 1.08rem; margin-bottom: 0.5em; }
.card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 0; }

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

.icon-badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--cyan);
  background: linear-gradient(140deg, rgba(47, 125, 255, 0.25), rgba(95, 217, 255, 0.08));
  border: 1px solid rgba(95, 217, 255, 0.24);
}
.benefit:hover { border-color: var(--line-strong); transform: translateY(-3px); }

/* ---------- Section « comment choisir » ---------- */
.choose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.criteria {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.criteria li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  color: var(--text);
}
.criteria li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

/* ---------- Tarifs ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.plan--featured {
  border-color: rgba(95, 217, 255, 0.55);
  background: linear-gradient(170deg, rgba(47, 125, 255, 0.16), rgba(10, 17, 34, 0.9));
  box-shadow: var(--shadow-pop), var(--shadow-card);
}
.plan-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #04101f;
}
.plan-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 4px 0 2px;
}
.plan-duration {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}
.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}
.plan-price b { font-size: 2.15rem; font-weight: 800; letter-spacing: -0.03em; }
.plan-price span { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}
.plan-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--green); }
.plan-cta { margin-top: auto; }

.plan-note {
  margin-top: 26px;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(47, 125, 255, 0.07);
}
.plan-note svg { flex-shrink: 0; color: var(--cyan); margin-top: 3px; }
.plan-note p { margin: 0; font-size: 0.9rem; color: var(--muted); max-width: none; }

/* ---------- Durée offerte ---------- */
.plan-bonus {
  color: var(--green);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}

/* ---------- Badge « meilleur rapport » ---------- */
.plan--value { border-color: rgba(62, 213, 152, 0.4); }
.plan-flag--value { background: linear-gradient(135deg, var(--green), #22a877); color: #04241a; }
.btn--value {
  background: linear-gradient(135deg, var(--green) 0%, #1fa676 100%);
  color: #042318;
  box-shadow: 0 12px 30px -14px rgba(62, 213, 152, 0.85);
}
.btn--value:hover { color: #042318; box-shadow: 0 18px 40px -14px rgba(62, 213, 152, 1); }

/* ---------- Sélecteur de connexions ---------- */
.conn { margin: 0 0 20px; }
.conn-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.conn-btn {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(47, 125, 255, 0.14);
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
}
.conn-btn:hover:not(:disabled) { background: rgba(47, 125, 255, 0.32); border-color: var(--cyan); }
.conn-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.conn-value {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  text-align: center;
  flex: 1;
}
.conn-note {
  margin: 9px 2px 0;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--muted-2);
  text-align: center;
  max-width: none;
}
.conn-note b { color: var(--green); font-weight: 700; }

/* ---------- Logos de marque fournis ---------- */
.device .brand { color: var(--text); opacity: 0.86; transition: opacity 0.18s ease, color 0.18s ease; }
.device:hover .brand { opacity: 1; color: var(--cyan); }
.devices-more {
  margin: 18px auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- Besoins ---------- */
.need {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.need:last-child { border-bottom: 1px solid var(--line); }
.need h3 { font-size: 1.02rem; margin: 0; color: #fff; }
.need p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Appareils ---------- */
.devices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 168px));
  justify-content: center;
  gap: 12px;
}
.device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 20px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.device:hover { border-color: rgba(95, 217, 255, 0.45); background: rgba(47, 125, 255, 0.08); transform: translateY(-3px); }
.device svg { color: var(--cyan); }
.device b { font-family: var(--font-display); font-size: 0.86rem; font-weight: 700; }

/* ---------- Débit ---------- */
.speed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}
.speed {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  text-align: center;
}
.speed b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.speed span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted-2);
  font-weight: 700;
  margin-top: 4px;
}

.tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tips li { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0; font-size: 0.94rem; color: var(--muted); }
.tips li svg { flex-shrink: 0; margin-top: 3px; color: var(--cyan); }

.notice {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}
.notice p { margin: 0; font-size: 0.92rem; color: var(--muted); max-width: none; }
.notice svg { flex-shrink: 0; margin-top: 2px; color: var(--cyan); }
.notice--warn { border-color: rgba(242, 181, 69, 0.34); background: rgba(242, 181, 69, 0.07); }
.notice--warn svg { color: var(--amber); }

/* ---------- Installation ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  color: #04101f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  margin-bottom: 16px;
}
.step h3 { font-size: 1rem; margin-bottom: 0.45em; }
.step p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* ---------- Guides d'installation par appareil ---------- */
.guide { margin-top: clamp(38px, 5vw, 58px); }
.guide-title {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 0.5em;
}
.guide-intro {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 auto 26px;
  max-width: 62ch;
}


/* Sélecteur d'appareil personnalisé */
.picker {
  position: relative;
  width: min(460px, 100%);
  margin: 0 auto 24px;
  z-index: 5;
}

.picker-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.picker-trigger:hover { border-color: var(--cyan); background: rgba(47, 125, 255, 0.1); }
.picker-trigger[aria-expanded="true"] {
  border-color: var(--cyan);
  background: rgba(47, 125, 255, 0.12);
}
.picker-ico { display: grid; place-items: center; color: var(--cyan); flex-shrink: 0; }
.picker-current { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-chevron {
  flex-shrink: 0;
  color: var(--cyan);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.picker-trigger[aria-expanded="true"] .picker-chevron { transform: rotate(180deg); }

.picker-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  list-style: none;
  margin: 0;
  padding: 7px;
  max-height: 320px;
  overflow-y: auto;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(175deg, var(--panel-2), #080e1c);
  box-shadow: 0 28px 60px -22px rgba(0, 0, 0, 0.95);
  animation: picker-in 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.picker-menu[hidden] { display: none; }
.picker-menu:focus { outline: none; }
@keyframes picker-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.picker-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 11px 13px;
  border-radius: 12px;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.93rem;
  transition: background 0.14s ease, color 0.14s ease;
}
.picker-opt-ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 9px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  transition: color 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}
.picker-opt-name { flex: 1; font-family: var(--font-display); font-weight: 700; }
.picker-check { flex-shrink: 0; color: var(--cyan); opacity: 0; }

.picker-opt.is-active {
  background: rgba(47, 125, 255, 0.16);
  color: #fff;
}
.picker-opt.is-active .picker-opt-ico {
  color: var(--cyan);
  background: rgba(47, 125, 255, 0.22);
  border-color: rgba(95, 217, 255, 0.4);
}
.picker-opt[aria-selected="true"] { color: #fff; }
.picker-opt[aria-selected="true"] .picker-check { opacity: 1; }
.picker-opt[aria-selected="true"] .picker-opt-ico {
  color: #04101f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-color: transparent;
}

.guide-panel {
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: var(--shadow-card);
}
.guide-panel[hidden] { display: none; }
.guide-panel h4 {
  font-size: 0.95rem;
  color: var(--muted);
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0;
}

.guide-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.guide-steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  background: rgba(255, 255, 255, 0.03);
}
.guide-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #04101f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 8px 18px -8px rgba(95, 217, 255, 0.9);
}
.guide-steps p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
  max-width: none;
  padding-top: 5px;
}
.guide-steps strong { color: #fff; }

/* ---------- Checklist fiabilité ---------- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(62, 213, 152, 0.05);
  font-size: 0.92rem;
}
.checklist li svg { flex-shrink: 0; color: var(--green); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: border-color 0.18s ease;
}
.faq-item[open] { border-color: rgba(95, 217, 255, 0.4); background: rgba(47, 125, 255, 0.06); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 20px;
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  display: inline;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  letter-spacing: inherit;
}
.faq-item summary:hover { color: #fff; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-answer { padding: 0 20px 20px; }
.faq-answer p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- CTA finale ---------- */
.final-cta {
  position: relative;
  border-radius: 26px;
  border: 1px solid rgba(95, 217, 255, 0.28);
  background:
    radial-gradient(90% 130% at 15% 0%, rgba(47, 125, 255, 0.35), transparent 62%),
    linear-gradient(160deg, var(--panel-2), #080e1c);
  padding: clamp(36px, 5vw, 62px);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent);
  pointer-events: none;
}
.final-cta > * { position: relative; }
.final-cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.final-cta p { color: var(--muted); margin-inline: auto; font-size: 1.05rem; }
.final-cta .btn-row { justify-content: center; margin-top: 1.8rem; }

/* ---------- Contact ---------- */

/* ---------- Bloc d'appel à la commande ---------- */
.order-card {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(150deg, rgba(47, 125, 255, 0.14), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow-card);
}
.order-card-text h3 { font-size: 1.15rem; margin-bottom: 0.3em; }
.order-card-text p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- Fenêtre de commande ---------- */
.checkout {
  width: min(560px, calc(100vw - 32px));
  max-height: min(88dvh, 860px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, var(--panel-2) 0%, #080e1c 60%);
  color: var(--text);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}
.checkout::backdrop {
  background: rgba(4, 8, 18, 0.76);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.checkout[open] { animation: checkout-in 0.24s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes checkout-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.checkout-inner {
  position: relative;
  padding: clamp(24px, 4vw, 34px);
  max-height: inherit;
  overflow-y: auto;
}
.checkout-inner h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin-bottom: 1.1rem; }
.checkout-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease;
}
.checkout-close:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }

/* Champs */
.checkout-form { display: grid; gap: 14px; }
.field { margin: 0; display: grid; gap: 6px; max-width: none; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  min-height: 46px;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.field textarea { resize: vertical; min-height: 72px; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%);
  background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
.field select option { background: var(--panel); color: var(--text); }
.field select optgroup {
  background: #0a1220;
  color: var(--muted-2);
  font-style: normal;
  font-weight: 700;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--cyan);
  background: rgba(47, 125, 255, 0.08);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red); }

/* Récapitulatif */
.recap {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(47, 125, 255, 0.08);
}
.recap-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}
.recap-row b { color: var(--text); font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.recap-row--total {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 2px;
  font-size: 0.95rem;
}
.recap-row--total b { font-size: 1.35rem; color: #fff; }

.checkout-error {
  margin: 0;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(226, 80, 74, 0.45);
  background: rgba(226, 80, 74, 0.1);
  color: #ffb3af;
  font-size: 0.88rem;
  max-width: none;
}

/* Confirmation */
.checkout-done { text-align: center; padding: 12px 0 4px; }
.checkout-done-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: var(--green);
  background: rgba(62, 213, 152, 0.14);
  border: 1px solid rgba(62, 213, 152, 0.4);
}
.checkout-done h3 { font-size: 1.25rem; }
.checkout-done p { color: var(--muted); font-size: 0.93rem; margin-inline: auto; }
.checkout-done .btn { margin-top: 8px; }

/* ---------- Pied de page ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(6, 10, 20, 0.75);
  padding: clamp(46px, 6vw, 66px) 0 30px;
  margin-top: clamp(50px, 7vw, 90px);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-bottom: 38px;
}
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin: 16px 0 0; max-width: 42ch; }
.footer h3 {
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.1em;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer li { margin: 0; }
.footer ul a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}
.footer ul a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted-2);
}
.footer-bottom p { margin: 0; max-width: none; }

/* ---------- Fenêtre de commande : compléments ---------- */
.checkout-sub {
  margin: -0.6rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.94rem;
  max-width: 46ch;
}

.field label,
.pay legend {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(148, 164, 198, 0.55); }

.tel-row { display: flex; gap: 10px; }
.tel-row select {
  width: 172px;
  flex-shrink: 0;
  background-position: calc(100% - 17px) 21px, calc(100% - 12px) 21px;
  padding-right: 34px;
}
.tel-row input { flex: 1; min-width: 0; }

/* Modes de paiement */
.pay { border: none; margin: 0; padding: 0; min-width: 0; }
.pay legend { padding: 0; margin-bottom: 9px; }
.pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pay-opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.pay-opt:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.06); }
.pay-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.pay-ico {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.pay-name {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.pay-opt:has(input:checked) {
  border-color: var(--cyan);
  background: rgba(47, 125, 255, 0.14);
}
.pay-opt:has(input:checked) .pay-ico {
  color: #04101f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-color: transparent;
}
.pay-opt:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 3px; }
.pay-opt.is-checked { border-color: var(--cyan); background: rgba(47, 125, 255, 0.14); }
.pay-opt.is-checked .pay-ico {
  color: #04101f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-color: transparent;
}

/* Bas de la fenêtre */
.checkout-secure {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted-2);
  max-width: none;
}
.checkout-secure svg { flex-shrink: 0; margin-top: 2px; color: var(--green); }

.checkout-ask {
  margin: 0;
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
  max-width: none;
}
.checkout-ask[hidden] { display: none; }
.checkout-ask a {
  font-weight: 700;
  color: var(--wa);
  text-decoration: none;
  white-space: nowrap;
}
.checkout-ask a:hover { text-decoration: underline; }

.checkout-cancel {
  display: block;
  margin: 2px auto 0;
  padding: 8px 16px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--muted-2);
  cursor: pointer;
  border-radius: 8px;
}
.checkout-cancel:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

/* ---------- Widget WhatsApp ---------- */
:root { --wa: #25d366; --wa-deep: #128c7e; }

.wa {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.wa[hidden] { display: none; }

.wa-fab {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(145deg, var(--wa) 0%, var(--wa-deep) 100%);
  box-shadow: 0 14px 32px -10px rgba(18, 140, 126, 0.85);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}
.wa-fab:hover { transform: scale(1.06); box-shadow: 0 18px 40px -10px rgba(18, 140, 126, 1); }
.wa-fab-icon, .wa-fab-x { grid-area: 1 / 1; transition: opacity 0.18s ease, transform 0.22s ease; }
.wa-fab-x { opacity: 0; transform: rotate(-45deg); }
.wa-fab[aria-expanded="true"] .wa-fab-icon { opacity: 0; transform: rotate(45deg); }
.wa-fab[aria-expanded="true"] .wa-fab-x { opacity: 1; transform: none; }

.wa-fab-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--bg);
}
.wa-fab-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(226, 80, 74, 0.55);
  animation: wa-ping 2.6s ease-out infinite;
}
@keyframes wa-ping {
  0% { transform: scale(0.7); opacity: 0.9; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}
.wa-fab[aria-expanded="true"] .wa-fab-dot { display: none; }

.wa-panel {
  width: min(330px, calc(100vw - 36px));
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: linear-gradient(175deg, var(--panel-2), #080e1c);
  box-shadow: 0 32px 70px -26px rgba(0, 0, 0, 0.95);
  transform-origin: bottom right;
  animation: wa-in 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.wa-panel[hidden] { display: none; }
@keyframes wa-in {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.wa-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 14px 14px 16px;
  background: linear-gradient(135deg, var(--wa-deep), #0f6d62);
}
.wa-avatar {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--wa-deep);
  background: #fff;
}
.wa-head-text { flex: 1; min-width: 0; line-height: 1.3; }
.wa-head-text b { display: block; font-family: var(--font-display); font-size: 0.9rem; color: #fff; }
.wa-head-text small { font-size: 0.72rem; color: rgba(255, 255, 255, 0.78); }
.wa-close {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
.wa-close:hover { background: rgba(255, 255, 255, 0.26); }

.wa-body { padding: 16px; }
.wa-bubble {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 4px 14px 14px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--text);
  max-width: none;
}
.wa-label {
  margin: 0 0 9px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-2);
  max-width: none;
}
.wa-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.wa-chip {
  font-family: inherit;
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.wa-chip:hover, .wa-chip[aria-pressed="true"] {
  color: #fff;
  border-color: var(--wa);
  background: rgba(37, 211, 102, 0.14);
}

.wa-foot { padding: 0 16px 16px; }
.btn--wa {
  background: linear-gradient(145deg, var(--wa) 0%, var(--wa-deep) 100%);
  color: #04231c;
  box-shadow: 0 12px 28px -14px rgba(18, 140, 126, 0.9);
}
.btn--wa:hover { color: #04231c; box-shadow: 0 18px 36px -14px rgba(18, 140, 126, 1); }
.wa-note {
  margin: 10px 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--muted-2);
  text-align: center;
  max-width: none;
}

/* ---------- Pages légales ---------- */
.page-hero {
  padding: clamp(44px, 6vw, 76px) 0 clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 0.4em; }
.page-hero p { color: var(--muted); margin: 0; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  font-size: 0.85rem;
  color: var(--muted-2);
}
.breadcrumb li { margin: 0; display: flex; gap: 0.5rem; align-items: center; }
.breadcrumb li + li::before { content: "/"; color: var(--muted-2); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2em; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.05rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); }
.prose li { font-size: 0.98rem; }
.todo {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 6px;
  background: rgba(242, 181, 69, 0.14);
  border: 1px dashed rgba(242, 181, 69, 0.5);
  color: var(--amber);
  font-weight: 700;
  font-size: 0.85em;
}
.update-date {
  font-size: 0.85rem;
  color: var(--muted-2);
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  display: inline-block;
  margin-bottom: 2rem;
}

.contact-fineprint {
  margin: 20px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: none;
}

/* ---------- Marges utilitaires ---------- */
.mt-24 { margin-top: 24px; }
.mt-26 { margin-top: 26px; }
.mb-30 { margin-bottom: 30px; }

/* ---------- Révélation au défilement ---------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  :root { --header-h: 66px; }

  .burger { display: grid; margin-left: auto; }
  .header-inner { gap: 0.6rem; }
  .header-cta { display: none; }

  .nav {
    position: absolute;
    top: calc(var(--header-h) + 3px);
    left: 0;
    right: 0;
    margin: 0;
    background: rgba(7, 11, 22, 0.985);
    border-bottom: 1px solid var(--line);
    padding: 14px 20px 24px;
    display: none;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 14px 12px; font-size: 1rem; border-radius: 11px; }
  .nav-cta { margin-top: 14px; display: block; }
  .nav-cta .btn { width: 100%; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .hero-sub { max-width: none; }
  .choose-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 981px) {
  .nav-cta { display: none; }
}

@media (max-width: 720px) {
  .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .pay-grid { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .plan--featured { order: -1; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .speed-grid { grid-template-columns: minmax(0, 1fr); }
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .criteria { grid-template-columns: minmax(0, 1fr); }
  .need { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .guide-steps li { gap: 12px; padding: 14px; }
  .picker-trigger { padding-left: 14px; }
  .player-rail { grid-template-columns: repeat(3, 1fr); }
  .player-card { min-height: 64px; padding: 8px; }
  .player-note { position: static; margin-top: 14px; }
  .player { padding: 11px; }
  .order-card { flex-direction: column; align-items: stretch; text-align: center; }
  .wa { right: 14px; bottom: 14px; }
  .wa-fab { width: 54px; height: 54px; }
  .wa-panel { width: calc(100vw - 28px); }
  .wa-chip { font-size: 0.76rem; }
  .checkout {
    width: 100vw;
    max-width: 100vw;
    max-height: 92dvh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin: auto auto 0;
  }
  .btn { width: 100%; }
  .checkout-done .btn { width: auto; }
  .btn-row { flex-direction: column; }
  .hero .btn-row, .final-cta .btn-row { align-items: stretch; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  /* Trois appareils par ligne sur mobile : la grille passe en colonnes fixes
     et les cartes se resserrent pour tenir sur les petits écrans. */
  .devices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .device {
    padding: 15px 5px;
    gap: 8px;
    border-radius: 12px;
  }
  .device .brand { width: 22px; height: 22px; }
  .device b { font-size: 0.7rem; line-height: 1.3; }
}

@media (max-width: 430px) {
  .tel-row { flex-direction: column; }
  .tel-row select { width: 100%; }
}

@media (max-width: 400px) {
  .player-tab { font-size: 0.64rem; padding: 7px 2px; }
  .plan-price b { font-size: 1.9rem; }
}

@media (max-width: 380px) {
  .devices { gap: 6px; }
  .device { padding: 13px 3px; }
  .device b { font-size: 0.64rem; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .plan:hover, .device:hover, .benefit:hover { transform: none; }
  .wa-fab:hover { transform: none; }
  .wa-fab-dot::after { display: none; }
}

/* ---------- Impression ---------- */
@media print {
  body::before, .header, .footer, .btn { display: none; }
  body { background: #fff; color: #000; }
}
