/* zappia.tv — charte de l'application : graphite, or champagne, point rouge « en direct ».
   Police Manrope hébergée sur le site (licence OFL). Aucune ressource externe. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg: #09090c;
  --bg-2: #0d0d11;
  --surface: #131318;
  --surface-2: #19191f;
  --surface-3: #212128;
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.13);
  --ink: #f5f5f7;
  --ink-2: #cdcdd5;
  --muted: #9494a0;
  --gold-1: #f6e6b8;
  --gold: #e2c47e;
  --gold-3: #b58e47;
  --gold-ink: #17130b;
  --gold-grad: linear-gradient(135deg, #f6e6b8 0%, #e2c47e 45%, #b58e47 100%);
  --gold-soft: rgba(226, 196, 126, 0.12);
  --live: #e5484d;
  --blue: #8fb0ff;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  --header-h: 68px;
  --gutter: 16px;
}

@media (min-width: 640px) {
  :root { --gutter: 24px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 32px; --header-h: 76px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-1); }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 700; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; }
::selection { background: rgba(226, 196, 126, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--gold); color: var(--gold-ink); border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------------- Marque */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 6px 18px -6px rgba(226, 196, 126, 0.45); }
.wordmark { position: relative; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1; padding-right: 8px; }
.live-dot {
  position: absolute; top: -3px; right: -1px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--live); box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.6);
  animation: live 2.4s ease-out infinite;
}
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.55); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(229, 72, 77, 0); }
}

/* ---------------------------------------------------------------- En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(9, 9, 12, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(9, 9, 12, 0.86); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.main-nav { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 0.85rem; border: 1px solid var(--line-2);
}
.lang:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.25); }
.lang .icon { width: 16px; height: 16px; }
.menu-btn {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer;
}
.menu-btn .icon { width: 22px; height: 22px; }

/* Menu mobile : panneau sous l'en-tête. */
.site-header.is-open .main-nav {
  display: flex; flex-direction: column; position: fixed; left: 0; right: 0; top: var(--header-h);
  padding: 12px var(--gutter) 24px; background: rgba(9, 9, 12, 0.97); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.site-header.is-open .main-nav a {
  padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none;
  font-size: 1.15rem; font-weight: 700;
}
.site-header .play-btn--small { display: none; }

@media (min-width: 900px) {
  .main-nav { display: flex; gap: 4px; margin-left: 28px; }
  .main-nav a {
    color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 0.95rem;
    padding: 8px 14px; border-radius: 999px; transition: color 0.15s, background 0.15s;
  }
  .main-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
  .main-nav a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, 0.07); }
  .menu-btn { display: none; }
  .site-header .play-btn--small { display: inline-flex; }
}

/* ---------------------------------------------------------------- Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  padding: 0 24px; border-radius: 999px; font-weight: 800; font-size: 1rem; text-decoration: none;
  border: 1px solid transparent; transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  cursor: pointer; white-space: nowrap;
}
.btn .icon { width: 20px; height: 20px; }
.btn--gold { background: var(--gold-grad); color: var(--gold-ink); box-shadow: 0 12px 30px -12px rgba(226, 196, 126, 0.55); }
.btn--gold:hover { color: var(--gold-ink); transform: translateY(-1px); box-shadow: 0 16px 36px -12px rgba(226, 196, 126, 0.7); }
.btn--ghost { color: var(--ink); border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); }
.btn--ghost:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.06); }

.play-btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink);
  background: #000; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 14px;
  padding: 10px 20px 10px 16px; min-height: 56px; transition: border-color 0.2s, transform 0.15s;
}
a.play-btn:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.45); transform: translateY(-1px); }
.play-btn .play-ico { width: 26px; height: 26px; color: var(--gold); }
.play-text { display: flex; flex-direction: column; line-height: 1.1; }
.play-text small { font-size: 0.72rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0.02em; }
.play-text strong { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.play-btn.is-soon { background: rgba(255, 255, 255, 0.03); border-style: dashed; cursor: default; }
.play-btn--small { min-height: 40px; padding: 5px 14px 5px 10px; border-radius: 11px; gap: 8px; }
.play-btn--small .play-ico { width: 18px; height: 18px; }
.play-btn--small .play-text small { font-size: 0.62rem; }
.play-btn--small .play-text strong { font-size: 0.9rem; }

/* ---------------------------------------------------------------- Sections */
.section { padding-block: clamp(64px, 10vw, 120px); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px 6px 10px;
  border-radius: 999px; background: var(--gold-soft); border: 1px solid rgba(226, 196, 126, 0.22);
  color: var(--gold-1); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
}
.eyebrow .icon { width: 16px; height: 16px; }
.eyebrow--live::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); margin-left: 2px;
  animation: live 2.4s ease-out infinite;
}
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 16px; }
.section-head p { font-size: 1.125rem; color: var(--ink-2); margin: 0; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); line-height: 1.6; }

/* ---------------------------------------------------------------- Accueil : héros */
.hero {
  position: relative; overflow: hidden; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 100px);
  isolation: isolate;
}
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(10px); pointer-events: none;
}
.hero::before {
  width: 900px; height: 700px; left: -320px; top: -300px;
  background: radial-gradient(closest-side, rgba(226, 196, 126, 0.2), rgba(226, 196, 126, 0));
}
.hero::after {
  width: 900px; height: 800px; right: -380px; bottom: -420px;
  background: radial-gradient(closest-side, rgba(112, 72, 214, 0.2), rgba(112, 72, 214, 0));
}
.hero-grid { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
.hero-text { container-type: inline-size; min-width: 0; }
/* Taille calculée sur la largeur de la colonne (cqi), pas de la fenêtre : « Magnifiquement » (7,5 em)
   tient toujours sur sa ligne, sinon la partie qui dépasse perd son dégradé et disparaît. */
.hero h1 { font-size: clamp(2.1rem, 10.4vw, 4.8rem); font-size: clamp(2rem, 12cqi, 4.6rem); line-height: 1.02; letter-spacing: -0.045em; margin-bottom: 24px; hyphens: manual; }
.hero h1 span { display: block; }
.hero .lead { max-width: 600px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 0.92rem; color: var(--muted); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .icon { width: 18px; height: 18px; color: var(--gold); }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
}

/* Appareils (captures) */
.devices { position: relative; padding: 0 9% 10% 0; }
.device { position: relative; overflow: hidden; background: #000; }
.device img { width: 100%; height: 100%; object-fit: cover; }
.device--tv {
  aspect-ratio: 16 / 9; border-radius: 16px; border: 9px solid #17171c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 50px 100px -40px rgba(0, 0, 0, 0.95), 0 0 120px -40px rgba(226, 196, 126, 0.25);
}
.device--phone {
  aspect-ratio: 1 / 2; border-radius: 34px; border: 7px solid #121216;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 80px -30px rgba(0, 0, 0, 0.95);
}
.device--phone::before {
  content: ""; position: absolute; z-index: 2; top: 9px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%; background: #0a0a0c; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.06);
}
.devices .device--phone { position: absolute; right: 0; bottom: 0; width: 29%; }
.tv-stand { width: 34%; height: 12px; margin: 0 auto; background: linear-gradient(#1b1b21, #0f0f13); border-radius: 0 0 10px 10px; }

/* ---------------------------------------------------------------- Bandeau « aucun contenu » */
.notice {
  display: grid; gap: 16px; align-items: start; padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg); border: 1px solid var(--line-2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}
.notice-ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--gold-soft); color: var(--gold); }
.notice-ico .icon { width: 24px; height: 24px; }
.notice h2 { font-size: 1.3rem; margin-bottom: 8px; letter-spacing: -0.015em; }
.notice p { margin: 0; }
@media (min-width: 720px) { .notice { grid-template-columns: auto 1fr; } }

/* ---------------------------------------------------------------- Cartes d'atouts */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.card {
  position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-2); background: var(--surface-2); }
.card-ico {
  width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 13px;
  color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(226, 196, 126, 0.18);
}
.card-ico .icon { width: 22px; height: 22px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; letter-spacing: -0.015em; }
.card p { margin: 0; font-size: 0.98rem; color: var(--ink-2); }
.card .tag-premium { position: absolute; top: 22px; right: 20px; }

/* ---------------------------------------------------------------- Vitrines (texte + capture) */
.showcase { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.showcase + .showcase { margin-top: clamp(72px, 10vw, 128px); }
.showcase-text h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin-bottom: 16px; }
.showcase-text > p { font-size: 1.1rem; }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li > .icon { width: 22px; height: 22px; margin-top: 2px; padding: 3px; border-radius: 50%; color: var(--gold-ink); background: var(--gold-grad); }
.checks .tag-premium { margin-left: 6px; vertical-align: 2px; }
.showcase-media { position: relative; }
.showcase-media .device--phone { width: min(300px, 70%); margin-inline: auto; }
.showcase-media.duo { padding-right: 12%; }
.showcase-media.duo .device--phone { position: absolute; right: 0; bottom: -6%; width: 30%; }
.glow { position: absolute; inset: 10% 5%; z-index: -1; filter: blur(60px); background: radial-gradient(closest-side, rgba(226, 196, 126, 0.22), transparent); }
@media (min-width: 960px) {
  .showcase { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .showcase.is-reverse .showcase-text { order: 2; }
}

/* ---------------------------------------------------------------- Télécommande */
.remote-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .remote-grid { grid-template-columns: 280px 1fr; gap: 72px; } }
.remote {
  width: 180px; margin: 0 auto; padding: 30px 22px 40px; border-radius: 90px;
  background: linear-gradient(160deg, #26262d, #111115 60%); border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.remote-pad { position: relative; width: 136px; height: 136px; border-radius: 50%; background: #0c0c0f; border: 1px solid var(--line); margin: 0 auto 26px; }
.remote-pad span { position: absolute; color: var(--muted); font-size: 0.8rem; }
.remote-pad .up { top: 9px; left: 50%; transform: translateX(-50%); }
.remote-pad .down { bottom: 9px; left: 50%; transform: translateX(-50%); }
.remote-pad .left { left: 12px; top: 50%; transform: translateY(-50%); }
.remote-pad .right { right: 12px; top: 50%; transform: translateY(-50%); }
.remote-pad .ok {
  inset: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-ink); font-weight: 800; font-size: 0.95rem;
  background: var(--gold-grad); box-shadow: 0 0 30px -4px rgba(226, 196, 126, 0.6);
}
.remote-row { display: flex; justify-content: space-between; margin: 0 6px 16px; }
.remote-key { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #1c1c22; border: 1px solid var(--line); color: var(--ink-2); }
.remote-key .icon { width: 18px; height: 18px; }
.remote-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 6px 0; }
.remote-nums span { height: 28px; border-radius: 10px; display: grid; place-items: center; background: #17171c; color: var(--muted); font-size: 0.78rem; font-weight: 700; }
.keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.keys li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: start; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.keys li > span:first-child { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.keys p { margin: 0; }
@media (max-width: 520px) { .keys li { grid-template-columns: 1fr; gap: 8px; } }

/* ---------------------------------------------------------------- Gratuit / Premium */
.plans { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 880px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { padding: clamp(26px, 3.4vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan--premium {
  position: relative; background: linear-gradient(180deg, rgba(226, 196, 126, 0.09), rgba(226, 196, 126, 0.02) 40%), var(--surface);
  border-color: rgba(226, 196, 126, 0.4); box-shadow: 0 30px 80px -40px rgba(226, 196, 126, 0.35);
}
.plan-name { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; margin-bottom: 6px; }
.plan-name .icon { width: 24px; height: 24px; color: var(--gold); }
.plan-price { font-size: 1rem; color: var(--muted); margin-bottom: 24px; }
.plan-price strong { font-size: 2.2rem; letter-spacing: -0.03em; margin-right: 6px; }
.plan ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--gold); }
.plan-foot { margin-top: auto; padding-top: 24px; font-size: 0.92rem; color: var(--muted); }
.offers { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); margin-top: 28px; }
.offer { padding: 18px 20px; border-radius: 14px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line-2); }
.offer strong { display: block; font-size: 1.05rem; }
.offer span { font-size: 0.9rem; color: var(--muted); }

/* ---------------------------------------------------------------- Vie privée */
.privacy { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.privacy-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.privacy-item .icon { width: 28px; height: 28px; color: var(--gold); flex: none; }
.privacy-item h3 { font-size: 1.08rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.privacy-item p { margin: 0; font-size: 0.96rem; }

/* ---------------------------------------------------------------- Appel final */
.cta {
  position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 64px);
  border-radius: 32px; border: 1px solid rgba(226, 196, 126, 0.28);
  background: radial-gradient(120% 140% at 50% -20%, rgba(226, 196, 126, 0.2), transparent 55%), var(--surface);
}
.cta img { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 20px; box-shadow: 0 20px 50px -16px rgba(226, 196, 126, 0.55); }
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 14px; }
.cta p { max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta .hero-actions { justify-content: center; }

/* ---------------------------------------------------------------- Pages simples */
.page-hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(28px, 4vw, 44px); overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; z-index: -1; width: 1000px; height: 600px; left: 50%; top: -360px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(226, 196, 126, 0.16), transparent);
}
.page-hero h1 { font-size: clamp(2.3rem, 5.6vw, 3.9rem); letter-spacing: -0.04em; margin-bottom: 16px; }
.page-hero .lead { max-width: 680px; margin: 0 auto; }
.page-hero:not(.center) .lead { margin: 0; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin: 2.2em 0 0.7em; letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.12rem; margin: 1.6em 0 0.5em; letter-spacing: -0.01em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--gold); }
.legal-card { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.legal-meta { color: var(--muted); font-size: 0.95rem; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h2 { font-size: 1.4rem; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.faq-group > h2 .icon { width: 24px; height: 24px; color: var(--gold); }
.qa { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.2s, background 0.2s; }
.qa[open] { border-color: var(--line-2); background: var(--surface-2); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 20px 22px; color: var(--ink); font-weight: 700; font-size: 1.05rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .icon { width: 22px; height: 22px; color: var(--muted); transition: transform 0.2s; }
.qa[open] summary .icon { transform: rotate(180deg); color: var(--gold); }
.qa-body { padding: 0 22px 20px; }
.qa-body > :last-child { margin-bottom: 0; }

/* Contact */
.contact-card { display: grid; gap: 24px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.mail-big { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 800; text-decoration: none; color: var(--ink); word-break: break-all; }
.mail-big .icon { width: 30px; height: 30px; color: var(--gold); }

/* ---------------------------------------------------------------- Guides : accueil */
.search { position: relative; max-width: 640px; margin: 36px auto 0; }
.search input {
  width: 100%; height: 62px; padding: 0 56px 0 54px; border-radius: 18px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05); color: var(--ink); font: inherit; font-size: 1.05rem;
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.9); transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: rgba(226, 196, 126, 0.6); background: rgba(255, 255, 255, 0.07); }
.search-ico { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--muted); }
.search-kbd { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
.search-results { max-width: 640px; margin: 14px auto 0; text-align: left; display: grid; gap: 8px; }
.search-results a {
  display: block; padding: 14px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink-2);
}
.search-results a:hover, .search-results a:focus-visible { border-color: rgba(226, 196, 126, 0.4); background: var(--surface-2); }
.search-results strong { display: block; color: var(--ink); }
.search-results small { color: var(--gold); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.02em; }
.search-results span { display: block; font-size: 0.92rem; color: var(--muted); margin-top: 2px; }
.search-results mark { background: rgba(226, 196, 126, 0.25); color: var(--ink); border-radius: 3px; padding: 0 2px; }
.search-empty { margin-top: 16px; color: var(--muted); }

.start-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-bottom: 56px; }
.start-title { grid-column: 1 / -1; margin: 0 0 4px; font-weight: 800; color: var(--ink); font-size: 1.2rem; }
.guide-cat { padding-top: 8px; }
.guide-cat + .guide-cat { margin-top: 56px; }
.guide-cat-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.guide-cat-head h2 { font-size: 1.55rem; margin-bottom: 4px; }
.guide-cat-head p { margin: 0; color: var(--muted); }
.cat-ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--gold-soft); color: var(--gold); flex: none; }
.cat-ico .icon { width: 24px; height: 24px; }
.guide-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.guide-card {
  display: flex; gap: 16px; align-items: center; padding: 18px 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink-2);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.guide-card:hover { color: var(--ink-2); border-color: rgba(226, 196, 126, 0.35); background: var(--surface-2); transform: translateY(-2px); }
.guide-ico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--surface-3); color: var(--gold); }
.guide-ico .icon { width: 21px; height: 21px; }
.guide-card-text { display: flex; flex-direction: column; min-width: 0; }
.guide-card-text strong { color: var(--ink); font-size: 1.02rem; }
.guide-card-text span { font-size: 0.9rem; color: var(--muted); line-height: 1.45; }
.guide-go { width: 20px; height: 20px; margin-left: auto; color: var(--muted); }

.help-box {
  display: grid; gap: 18px; padding: clamp(24px, 4vw, 36px); border-radius: var(--radius-lg);
  border: 1px solid var(--line-2); background: linear-gradient(135deg, rgba(226, 196, 126, 0.08), rgba(255, 255, 255, 0.02));
}
.help-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: var(--gold-soft); color: var(--gold); }
.help-ico .icon { width: 26px; height: 26px; }
.help-box h2 { font-size: 1.35rem; margin-bottom: 6px; }
.help-box p { margin: 0; }
.help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.help-actions .btn { white-space: normal; text-align: center; word-break: break-all; }
@media (min-width: 860px) { .help-box { grid-template-columns: auto 1fr auto; align-items: center; } }

/* ---------------------------------------------------------------- Guides : page */
.doc-shell { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 48px; }
.doc { min-width: 0; max-width: 780px; }
.doc-side { min-width: 0; }
.side-details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.side-details summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  color: var(--ink); font-weight: 700;
}
.side-details summary::-webkit-details-marker { display: none; }
.side-details summary .icon { width: 20px; height: 20px; color: var(--gold); }
.side-details summary .chev { margin-left: auto; color: var(--muted); transition: transform 0.2s; }
.side-details[open] summary .chev { transform: rotate(180deg); }
.side-nav { padding: 4px 12px 16px; }
.side-cat { margin: 14px 8px 6px; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 800; color: var(--muted); }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: block; padding: 7px 10px; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-size: 0.94rem; line-height: 1.35; }
.side-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.side-nav a[aria-current="page"] { color: var(--gold-1); background: var(--gold-soft); font-weight: 700; }
.doc-toc { display: none; }
@media (min-width: 1000px) {
  .doc-shell { grid-template-columns: 250px minmax(0, 1fr); gap: 48px; padding-top: 40px; }
  .doc-side { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; scrollbar-width: thin; }
  .side-details { border: 0; background: none; }
  .side-details summary { display: none; }
  .side-nav { padding: 0; }
  .side-cat:first-child { margin-top: 0; }
}
@media (min-width: 1280px) {
  .doc-shell { grid-template-columns: 240px minmax(0, 1fr) 210px; max-width: 1320px; }
  .doc-toc { display: block; position: sticky; top: calc(var(--header-h) + 20px); align-self: start; max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; }
  .toc--inline { display: none; }
}
.toc-title { margin: 0 0 10px; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 800; color: var(--muted); }
.doc-toc ol { list-style: none; margin: 0; padding: 0 0 0 12px; border-left: 1px solid var(--line-2); }
.doc-toc a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; font-size: 0.88rem; line-height: 1.4; transition: color 0.15s; }
.doc-toc a:hover { color: var(--ink); }
.doc-toc a.is-active { color: var(--gold-1); font-weight: 700; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.doc-head { margin-bottom: 28px; }
.doc-ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 20px; background: var(--gold-grad); color: var(--gold-ink); box-shadow: 0 16px 40px -16px rgba(226, 196, 126, 0.6); }
.doc-ico .icon { width: 28px; height: 28px; }
.doc-head h1 { font-size: clamp(2.1rem, 4.6vw, 3rem); letter-spacing: -0.035em; margin-bottom: 14px; }
.doc-lead { font-size: 1.18rem; color: var(--ink-2); margin-bottom: 14px; }
.doc-meta { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin: 0; color: var(--muted); font-size: 0.9rem; }
.doc-meta > .icon { width: 17px; height: 17px; margin-right: -6px; }
.toc--inline { margin-bottom: 36px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 4px 20px; }
.toc--inline summary { cursor: pointer; padding: 12px 0; font-weight: 800; color: var(--ink); }
.toc--inline ol { margin: 0 0 14px; padding-left: 1.3em; }
.toc--inline li { margin: 4px 0; }
.toc--inline li::marker { color: var(--gold); font-weight: 700; }
.toc--inline a { color: var(--ink-2); text-decoration: none; }
.toc--inline a:hover { color: var(--gold-1); }
.doc-intro { font-size: 1.08rem; }
.doc-section { padding-top: 12px; margin-top: 36px; }
.doc-section:first-of-type { margin-top: 0; }
.doc-section h2 { position: relative; font-size: clamp(1.45rem, 2.6vw, 1.8rem); margin-bottom: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.doc-section h3 { font-size: 1.16rem; margin: 30px 0 12px; letter-spacing: -0.012em; }
.doc-section h4 { font-size: 1.02rem; margin: 22px 0 8px; letter-spacing: -0.01em; }
.anchor { position: absolute; left: -26px; color: var(--muted); text-decoration: none; opacity: 0; font-weight: 600; transition: opacity 0.15s; }
.doc-section h2:hover .anchor { opacity: 1; }
.doc-section ul:not([class]), .doc-section ol:not([class]) { padding-left: 1.3em; }
.doc-section li { margin: 0.4em 0; }
.doc-section li::marker { color: var(--gold); }
.bullets { padding-left: 1.3em; }

/* Libellés, touches, étiquettes */
.ui {
  display: inline; padding: 0.08em 0.45em; border-radius: 7px; background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--line-2); color: var(--ink); font-weight: 700; font-size: 0.94em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; white-space: normal;
}
.ui-path { display: inline; }
.ui-path .sep { margin: 0 0.3em; color: var(--gold); font-weight: 800; }
kbd {
  display: inline-block; min-width: 1.9em; padding: 0.12em 0.5em; border-radius: 8px; text-align: center;
  font: inherit; font-size: 0.82em; font-weight: 800; line-height: 1.5; color: var(--ink); vertical-align: 1px;
  background: linear-gradient(180deg, #2b2b33, #1c1c22); border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 3px solid #070709; white-space: nowrap;
}
.tag-premium {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px 2px 7px; border-radius: 999px;
  background: var(--gold-soft); border: 1px solid rgba(226, 196, 126, 0.3); color: var(--gold-1);
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; vertical-align: middle; line-height: 1.5;
}
.tag-premium .icon { width: 12px; height: 12px; }
h2 .tag-premium, h3 .tag-premium { margin-left: 10px; vertical-align: 4px; }

/* Encadrés */
.callout { margin: 22px 0; padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--blue); }
.callout-title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 800; color: var(--ink); font-size: 0.95rem; }
.callout-title .icon { width: 19px; height: 19px; color: var(--blue); }
.callout > div > :last-child { margin-bottom: 0; }
.callout--tip { border-left-color: var(--gold); }
.callout--tip .callout-title .icon { color: var(--gold); }
.callout--warn { border-left-color: var(--live); background: linear-gradient(90deg, rgba(229, 72, 77, 0.07), transparent 60%), var(--surface); }
.callout--warn .callout-title .icon { color: var(--live); }
.callout--premium { border: 1px solid rgba(226, 196, 126, 0.35); border-left: 3px solid var(--gold); background: linear-gradient(90deg, rgba(226, 196, 126, 0.08), transparent 70%), var(--surface); }
.callout--premium .callout-title .icon { color: var(--gold); }

/* Étapes numérotées */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 20px 0 24px; display: grid; gap: 4px; }
.steps > li { counter-increment: step; position: relative; padding: 4px 0 14px 50px; margin: 0; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; color: var(--gold-ink); background: var(--gold-grad);
}
.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 15.5px; top: 38px; bottom: 2px; width: 1px; background: var(--line-2); }

/* Deux colonnes : doigt / télécommande */
.dual { display: grid; gap: 14px; margin: 20px 0 24px; }
@media (min-width: 720px) { .dual { grid-template-columns: 1fr 1fr; } }
.dual-col { padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.dual-title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 800; color: var(--ink); font-size: 0.95rem; }
.dual-title .icon { width: 19px; height: 19px; color: var(--gold); }
.dual-col > :last-child { margin-bottom: 0; }
.dual-col ul, .dual-col ol { padding-left: 1.2em; margin: 0; }

/* Tableaux */
.table-wrap { overflow-x: auto; margin: 20px 0 26px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { color: var(--muted); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; background: rgba(255, 255, 255, 0.02); }
tbody th { color: var(--ink); font-weight: 700; }
tbody tr:last-child > * { border-bottom: 0; }
td .icon, th .icon { width: 20px; height: 20px; }
.yes { color: var(--gold); }
.no { color: var(--muted); opacity: 0.6; }

/* Captures dans les guides */
.shot { margin: 28px 0; }
.shot--phone .device { width: min(280px, 72%); margin: 0 auto; }
.shot figcaption { text-align: center; margin-top: 14px; font-size: 0.88rem; color: var(--muted); }
.shots { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); align-items: end; margin: 28px 0; }
.shots .shot { margin: 0; }

.pager { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 56px; }
.pager-link { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); }
.pager-link:hover { color: var(--ink); border-color: rgba(226, 196, 126, 0.35); }
.pager-link small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; font-size: 0.8rem; }
.pager-link small .icon { width: 15px; height: 15px; }
.pager-link--next { text-align: right; align-items: flex-end; }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager-link--next { text-align: left; align-items: flex-start; } }

/* ---------------------------------------------------------------- Pied de page */
.site-footer { margin-top: clamp(40px, 6vw, 80px); padding: 56px 0 36px; border-top: 1px solid var(--line); background: var(--bg-2); font-size: 0.95rem; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.footer-brand { grid-column: 1 / -1; max-width: 420px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-note { display: flex; gap: 10px; color: var(--muted); font-size: 0.88rem; }
.footer-note .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--gold); }
.site-footer h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer nav a { color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; }
.site-footer nav a:hover { color: var(--gold-1); }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.84rem; }
.footer-bottom p { margin: 0 0 6px; }
.footer-bottom a { color: var(--ink-2); }
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ---------------------------------------------------------------- Apparition au défilement */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; } }

/* 404 */
.lost { text-align: center; padding: clamp(80px, 14vw, 160px) 0; }
.lost .code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; margin-bottom: 12px; }
.lost p { max-width: 520px; margin: 0 auto 28px; }
.lost .hero-actions { justify-content: center; }
.more { text-align: center; margin: 32px 0 0; }
.compare td { text-align: center; width: 22%; color: var(--ink); font-weight: 700; }
.compare .group-row th { background: rgba(226, 196, 126, 0.07); color: var(--gold-1); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.compare td .icon { margin: 0 auto; }
@media (hover: none), (max-width: 640px) { .search-kbd { display: none; } .search input { padding-right: 20px; } }
