/* Kisimax — feuille de style du site (mobile d'abord, polices système, aucune ressource externe).
   Direction : interface technologique claire et premium — grilles discrètes, cartes de verre, cartes bleu marine,
   accents vert émeraude, halos et lignes lumineuses, typographie d'affichage fine en capitales, étiquettes en chasse fixe.
   Couleurs et contrastes : voir branding/CHARTE_GRAPHIQUE.md (vert émeraude = fonds et pastilles, jamais texte blanc dessus). */

:root {
  /* Palette Kisimax */
  --navy: #0F2A4A;
  --navy-deep: #0A1D33;
  --emerald: #10B981;
  --emerald-deep: #0E9F6E;
  --emerald-text: #067647;          /* vert lisible sur fond clair (6:1) */
  --ink: #14212B;
  --slate: #4A5A66;
  --mist: #F3F7FB;
  --surface: #E6F6EF;
  --line: #D5DEE3;
  --on-dark: #D7E3F0;               /* texte clair sur bleu marine (11:1) */
  --on-dark-muted: #A9B6BF;         /* texte secondaire sur bleu marine (7:1) */
  --red: #B42318;
  --red-soft: #FDE2E1;
  --orange-soft: #FEF0C7;
  --white: #FFFFFF;

  /* Alias historiques (scripts, anciennes pages) */
  --primary: var(--navy);
  --primary-dark: var(--navy-deep);
  --accent: var(--emerald);
  --accent-dark: var(--emerald-deep);
  --grey: var(--slate);
  --bg-soft: var(--mist);

  /* Matières */
  --glass: rgba(255, 255, 255, 0.78);
  --glass-strong: rgba(255, 255, 255, 0.92);
  --glass-line: rgba(15, 42, 74, 0.12);
  --grid-line: rgba(15, 42, 74, 0.05);
  --shadow-soft: 0 1px 2px rgba(15, 42, 74, 0.05), 0 12px 32px -18px rgba(15, 42, 74, 0.28);
  --shadow: 0 2px 6px rgba(15, 42, 74, 0.05), 0 28px 60px -30px rgba(15, 42, 74, 0.45);
  --shadow-dark: 0 30px 70px -30px rgba(10, 29, 51, 0.75);
  --glow: 0 18px 40px -16px rgba(16, 185, 129, 0.75);

  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --container: 1200px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--mist);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; color: var(--navy-deep); margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 800; }
h3, .h3 { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
main { display: block; }
main:focus { outline: none; }
code { font-family: var(--mono); font-size: 0.9em; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible, .card-dark :focus-visible,
.offer-card.is-featured :focus-visible, .price-card.is-featured :focus-visible { outline-color: var(--emerald); }

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

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -0.18em; }

.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-link {
  position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius-xs); font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; position: relative; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.narrow { max-width: 820px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.muted { color: var(--slate); }
.meta { font-size: 0.92rem; color: var(--slate); margin: 0; }
.optional { font-weight: 400; color: var(--slate); }
.small { font-size: 0.88rem; }

/* ------------------------------------------------------------------ Typographie d'affichage */
.display, .display-2 {
  font-weight: 300; text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.98; color: var(--navy-deep);
}
.display { font-size: clamp(2.35rem, 8.6vw, 5.4rem); margin-bottom: 0.35em; }
.display-2 { font-size: clamp(2rem, 7.4vw, 4.4rem); margin-bottom: 0.45em; }
@media (max-width: 599px) { .display, .display-2 { font-weight: 400; letter-spacing: -0.03em; } }
.display .hl, .display-2 .hl, .hl {
  color: var(--emerald-text);
  background: linear-gradient(100deg, var(--emerald-text) 10%, var(--navy) 95%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.outline { color: var(--navy); }
@supports (-webkit-text-stroke: 1px black) {
  .outline { color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px var(--navy); }
  @media (max-width: 599px) { .outline { -webkit-text-stroke-width: 1.2px; } }
}
.on-dark .display, .on-dark .display-2, .cta-band .display-2 { color: var(--white); }
.on-dark .hl, .cta-band .hl { color: var(--emerald); background: none; -webkit-text-fill-color: var(--emerald); }
.on-dark .outline, .cta-band .outline { -webkit-text-stroke-color: var(--white); }

/* Étiquettes en chasse fixe (« 01 // Le problème ») */
.eyebrow, .mono-label {
  display: block; font-family: var(--mono); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  line-height: 1.5; color: var(--emerald-text); margin: 0 0 16px;
}
@media (min-width: 640px) { .eyebrow, .mono-label { letter-spacing: 0.14em; } }
.eyebrow::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--emerald); margin-right: 0.7em;
  vertical-align: 0.08em; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}
.eyebrow .idx { color: var(--navy); }
.eyebrow .idx::after { content: " //"; color: var(--emerald-text); }
.mono-label { color: var(--navy); letter-spacing: 0.12em; }
.on-dark .eyebrow, .cta-band .eyebrow, .card-dark .eyebrow { color: var(--emerald); }
.on-dark .eyebrow .idx, .cta-band .eyebrow .idx { color: var(--white); }
.on-dark .mono-label, .card-dark .mono-label { color: var(--on-dark); }
.flow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 18px 0 0; padding: 0; list-style: none;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy);
}
.flow li { display: inline-flex; align-items: center; gap: 10px; }
.flow li + li::before { content: "→"; color: var(--emerald-text); }

.lead { font-size: 1.12rem; color: var(--slate); }
@media (min-width: 900px) { .lead { font-size: 1.18rem; } }
.section-intro { color: var(--slate); max-width: 760px; }

/* ------------------------------------------------------------------ Boutons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 50px; padding: 0.75em 1.45em; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn .ico { transition: transform 0.2s var(--ease); }
.btn:hover .ico { transform: translateX(2px); }
.btn-primary { background: var(--emerald); color: var(--ink); box-shadow: var(--glow); }
.btn-primary:hover { background: var(--emerald-deep); color: var(--ink); }
.btn-secondary, .btn-dark { background: var(--navy); color: var(--white); box-shadow: 0 14px 30px -16px rgba(10, 29, 51, 0.8); }
.btn-secondary:hover, .btn-dark:hover { background: var(--navy-deep); color: var(--white); }
.btn-ghost { background: var(--glass); color: var(--navy-deep); border-color: rgba(15, 42, 74, 0.55); }
.btn-ghost:hover { background: var(--white); color: var(--navy-deep); border-color: var(--navy); }
.btn-light { background: var(--white); color: var(--navy-deep); }
.btn-light:hover { background: var(--surface); color: var(--navy-deep); }
.btn-glass { background: rgba(255, 255, 255, 0.08); color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.16); color: var(--white); border-color: var(--white); }
.btn-sm { min-height: 42px; padding: 0.5em 1.1em; font-size: 0.95rem; }
.btn-lg { min-height: 56px; padding: 0.85em 1.7em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.btn.danger { color: var(--red); border-color: var(--red); }

/* ------------------------------------------------------------------ En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 247, 251, 0.86);
  border-bottom: 1px solid var(--glass-line);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(243, 247, 251, 0.72); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; flex: none; }
.brand img { height: 30px; width: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: 999px;
  font: inherit; font-weight: 700; color: var(--navy-deep); cursor: pointer; box-shadow: var(--shadow-soft);
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 18px; height: 2px; background: var(--navy-deep); border-radius: 2px; position: relative; content: "";
  transition: transform 0.2s var(--ease), background-color 0.2s;
}
.nav-toggle-bar::before { position: absolute; top: -6px; }
.nav-toggle-bar::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }
.nav { display: none; }
.nav.is-open {
  display: block; position: absolute; left: 12px; right: 12px; top: calc(100% + 8px);
  background: var(--white); border: 1px solid var(--glass-line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 10px 14px 16px;
}
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li a {
  display: flex; align-items: center; justify-content: space-between; padding: 13px 8px; font-weight: 600;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
}
.nav li:last-child a { border-bottom: 0; }
.nav li a[aria-current="page"] { color: var(--emerald-text); }
.nav li a[aria-current="page"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); }
.nav-actions { display: grid; gap: 10px; margin-top: 12px; }
.nav-cta { width: 100%; }
/* Sans JavaScript, le menu reste accessible. */
.no-js .nav { display: block; position: static; box-shadow: none; background: none; border: 0; padding: 0 0 12px; }
.no-js .header-inner { flex-wrap: wrap; }
.no-js .nav-toggle { display: none; }

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .nav, .nav.is-open, .no-js .nav {
    display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 20px;
    position: static; padding: 0; border: 0; box-shadow: none; background: none;
  }
  .nav ul {
    display: flex; gap: 2px; margin: 0 auto; padding: 5px;
    background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: 999px; box-shadow: var(--shadow-soft);
  }
  .nav li a { border: 0; padding: 8px 16px; border-radius: 999px; font-size: 0.95rem; color: var(--ink); transition: background-color 0.2s, color 0.2s; }
  .nav li a:hover { background: var(--surface); color: var(--navy-deep); }
  .nav li a[aria-current="page"] { background: var(--emerald); color: var(--ink); }
  .nav li a[aria-current="page"]::after { content: none; }
  .nav-actions { display: flex; gap: 10px; margin: 0; }
  .nav-cta { width: auto; }
}

.draft-banner {
  background: var(--orange-soft); color: var(--ink); border-bottom: 2px solid var(--emerald);
  padding: 10px 16px; text-align: center; font-size: 0.95rem;
}

/* ------------------------------------------------------------------ Effets décoratifs */
.fx-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(15, 42, 74, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 42, 74, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 80%);
}
.fx-halo {
  position: absolute; pointer-events: none; z-index: 0; border-radius: 50%; filter: blur(10px);
  background: radial-gradient(circle, rgba(16, 185, 129, 0.28), rgba(16, 185, 129, 0) 65%);
}
.halo-droite { width: 520px; height: 520px; right: -160px; top: -120px; }
.halo-droite.halo-bas { right: -140px; top: -80px; }
.halo-gauche { width: 520px; height: 520px; left: -200px; top: -140px; }
.halo-petit { width: 460px; height: 460px; right: -120px; top: -100px; }
.fx-halo-navy { background: radial-gradient(circle, rgba(15, 42, 74, 0.18), rgba(15, 42, 74, 0) 65%); }
.fx-wave { position: absolute; left: 0; width: 100%; height: 220px; pointer-events: none; z-index: 1; overflow: visible; }
.fx-wave .wave-glow { stroke: var(--emerald); stroke-width: 10; opacity: 0.22; filter: blur(6px); fill: none; }
.fx-wave .wave-line { stroke: url(#wave-gradient); stroke-width: 2; fill: none; stroke-dasharray: 6 0; }
.fx-wave .wave-run { stroke: var(--white); stroke-width: 2.5; fill: none; stroke-dasharray: 60 1400; stroke-linecap: round; opacity: 0.9; animation: wave-run 7s linear infinite; }
@keyframes wave-run { from { stroke-dashoffset: 1460; } to { stroke-dashoffset: 0; } }
.reticle-solutions { right: 5%; top: 120px; }
.fx-reticle {
  position: absolute; width: 74px; height: 74px; border: 1px solid rgba(16, 185, 129, 0.55); border-radius: 50%;
  pointer-events: none; z-index: 0; display: none;
}
.fx-reticle::before, .fx-reticle::after { content: ""; position: absolute; background: rgba(16, 185, 129, 0.55); }
.fx-reticle::before { left: 50%; top: -14px; bottom: -14px; width: 1px; }
.fx-reticle::after { top: 50%; left: -14px; right: -14px; height: 1px; }
@media (min-width: 900px) { .fx-reticle { display: block; } }
.node { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.18), 0 0 18px rgba(16, 185, 129, 0.8); }

/* Animations d'apparition (activées par main.js seulement si le mouvement est autorisé) */
.js-reveal [data-reveal] { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-reveal [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(22px); }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.floaty { animation: float 5.5s var(--ease) infinite alternate; }
.floaty-slow { animation: float 7s var(--ease) infinite alternate-reverse; }

/* ------------------------------------------------------------------ Sections */
.section { position: relative; padding: 64px 0; }
.section-alt { background: rgba(255, 255, 255, 0.55); border-top: 1px solid var(--glass-line); border-bottom: 1px solid var(--glass-line); }
.section > .container { z-index: 1; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-head { display: grid; gap: 12px 48px; margin-bottom: 36px; }
.section-head > * { min-width: 0; }
.section-head h2 { margin-bottom: 0; }
.section-head .section-aside { color: var(--slate); }
.section-head .section-aside p:last-child { margin-bottom: 0; }
@media (min-width: 960px) {
  .section-head { grid-template-columns: 1.5fr 1fr; align-items: end; margin-bottom: 56px; }
}
.section-head .mono-label { margin-bottom: 8px; }

/* En-tête de page (pages intérieures) */
.page-head { position: relative; overflow: hidden; padding: 56px 0 40px; border-bottom: 1px solid var(--glass-line); }
.page-head > .container { z-index: 1; }
.page-head h1 {
  font-weight: 300; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1;
  font-size: clamp(2.1rem, 7.6vw, 4.2rem); margin-bottom: 0.4em;
}
@media (max-width: 599px) { .page-head h1 { font-weight: 400; } }
.page-head .lead { margin-bottom: 0; }
.page-head .hero-actions { margin-top: 28px; }
.page-head::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22), rgba(16, 185, 129, 0) 65%);
}
@media (min-width: 900px) { .page-head { padding: 88px 0 64px; } }
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(15, 42, 74, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 42, 74, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 75% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 75% 20%, #000 20%, transparent 75%);
}
.side-card h2 { font-size: 1.15rem; }
.side-card .steps-list { margin-bottom: 8px; }
.side-card .steps-list li { padding-bottom: 16px; }

/* ------------------------------------------------------------------ Héros */
.hero { position: relative; overflow: hidden; padding: 40px 0 64px; }
.hero > .container { z-index: 2; }
.hero-compact { padding-bottom: 48px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; }
.hero-actions.center { justify-content: center; }
.hero-actions .btn { flex: 1 1 auto; }
.hero-facts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-facts li {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy);
  background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: 999px; padding: 6px 12px;
}
.hero-facts li::before { content: "● "; color: var(--emerald); }
.hero-media { margin: 0; position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); border: 1px solid var(--glass-line); }
@media (min-width: 900px) {
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero-actions .btn { flex: 0 0 auto; }
}

.hero-grid .display-2 { font-size: clamp(2.1rem, 7.4vw, 3.7rem); }

/* Héros de l'accueil */
.hero-home { padding-top: 32px; }
.hero-top { display: grid; gap: 8px; }
.hero-top > * { min-width: 0; }
.hero-aside .lead { margin-bottom: 0; }
.hero-aside .mono-label { margin-bottom: 12px; }
@media (min-width: 1000px) {
  .hero-home { padding-top: 56px; }
  .hero-top { grid-template-columns: 2.1fr 1fr; gap: 48px; align-items: start; }
  .hero-aside { padding-top: 14px; }
}

/* Scène du héros : composition originale (cartes, téléphone, ligne lumineuse) */
.hero-stage { position: relative; margin-top: 36px; display: grid; gap: 14px; }
.hero-stage > * { min-width: 0; }
.stage-visual {
  position: relative; min-height: 470px; border-radius: 28px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(circle at 78% 18%, rgba(16, 185, 129, 0.32), rgba(16, 185, 129, 0) 45%),
    radial-gradient(circle at 15% 90%, rgba(15, 42, 74, 0.22), rgba(15, 42, 74, 0) 50%),
    linear-gradient(160deg, #FFFFFF 0%, #EAF1F7 55%, #DCE7F1 100%);
  border: 1px solid var(--glass-line); box-shadow: var(--shadow);
}
.stage-visual::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(15, 42, 74, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 42, 74, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.stage-visual .fx-wave { top: 46%; }
.hero-stage > .wave-scene { top: 52%; left: -8%; width: 116%; }
.stage-caption.is-static { position: static; padding: 0 14px 12px; }
.stage-caption {
  position: absolute; left: 16px; bottom: 14px; margin: 0; z-index: 3;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate);
}
@media (min-width: 1000px) {
  .hero-stage { grid-template-columns: 330px 1fr; grid-template-rows: auto auto 1fr; gap: 18px 24px; margin-top: 8px; }
  .stage-visual { grid-column: 2; grid-row: 1 / span 3; min-height: 540px; }
  .stage-studio { grid-column: 1; grid-row: 1; margin-top: 64px; }
  .stage-stat { grid-column: 1; grid-row: 2; }
}

/* Téléphone (maquette CSS) */
.phone {
  position: absolute; z-index: 2; right: 14px; top: 30px;
  width: 214px; padding: 10px; border-radius: 36px; background: linear-gradient(160deg, #1B3B63, var(--navy-deep));
  box-shadow: 0 40px 70px -30px rgba(10, 29, 51, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.phone-screen { border-radius: 27px; overflow: hidden; background: #F4F8F6; min-height: 380px; display: flex; flex-direction: column; }
.phone-bar { display: flex; align-items: center; gap: 9px; padding: 14px 12px 10px; background: var(--navy); color: var(--white); }
.phone-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--emerald); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; flex: none; }
.phone-name { font-size: 0.8rem; font-weight: 700; line-height: 1.2; margin: 0; color: var(--white); }
.phone-status { font-size: 0.64rem; color: var(--on-dark); margin: 0; }
.chat { display: grid; gap: 7px; padding: 12px 10px 14px; }
.bubble { max-width: 86%; margin: 0; padding: 7px 10px; border-radius: 12px; font-size: 0.72rem; line-height: 1.35; color: var(--ink); background: var(--white); box-shadow: 0 1px 1px rgba(15, 42, 74, 0.08); }
.bubble.out { justify-self: end; background: var(--surface); border-bottom-right-radius: 4px; }
.bubble.in { border-bottom-left-radius: 4px; }
.bubble-system {
  justify-self: center; display: inline-flex; align-items: center; gap: 6px; margin: 2px 0; padding: 5px 10px; border-radius: 999px;
  background: var(--navy); color: var(--white); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.02em;
}
.bubble-system .ico { color: var(--emerald); width: 12px; height: 12px; }
@media (min-width: 480px) { .phone { right: 9%; width: 236px; } }
@media (min-width: 1000px) { .phone { right: 13%; top: 56px; width: 252px; } }

/* Carte « commandes » flottante */
.sheet-card {
  position: absolute; z-index: 3; left: 10px; bottom: 40px; width: 196px; padding: 12px 12px 10px; border-radius: 16px;
  background: var(--glass-strong); border: 1px solid var(--glass-line); box-shadow: var(--shadow);
}
.sheet-card .mono-label { font-size: 0.6rem; margin: 0 0 8px; }
.sheet-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 6px; align-items: center; padding: 5px 0; border-top: 1px solid var(--line); font-size: 0.7rem; }
.sheet-row b { font-family: var(--mono); font-weight: 600; color: var(--navy); }
.pill { display: inline-block; border-radius: 999px; padding: 1px 8px; font-size: 0.64rem; font-weight: 700; white-space: nowrap; }
.pill-ok { background: #DCFAE6; color: #067647; }
.pill-wait { background: var(--orange-soft); color: #93370D; }
.pill-go { background: var(--navy); color: var(--white); }
@media (min-width: 1000px) { .sheet-card { left: 7%; bottom: 72px; width: 250px; } }
.stage-chip {
  position: absolute; z-index: 3; left: 12px; top: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: 0.72rem; font-weight: 700;
  box-shadow: var(--shadow-dark);
}
.stage-chip .node { width: 7px; height: 7px; }
@media (min-width: 1000px) { .stage-chip { left: 7%; top: 42px; } }

/* Cartes sombres et cartes vertes (style « studio ») */
.card-dark {
  position: relative; color: var(--on-dark); border-radius: var(--radius); padding: 18px;
  background: linear-gradient(155deg, #16365D 0%, var(--navy) 45%, var(--navy-deep) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: var(--shadow-dark);
}
.card-dark h2, .card-dark h3, .card-dark strong { color: var(--white); }
.card-dark p { color: var(--on-dark); }
.card-emerald {
  position: relative; color: var(--ink); border-radius: var(--radius); padding: 18px;
  background: linear-gradient(150deg, #34D399 0%, var(--emerald) 45%, var(--emerald-deep) 100%);
  box-shadow: var(--glow);
}
.card-emerald h3, .card-emerald p, .card-emerald strong { color: var(--ink); }
.studio { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.studio-rail { display: grid; gap: 8px; align-content: start; padding-right: 12px; border-right: 1px solid rgba(255, 255, 255, 0.1); }
.studio-rail span {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: var(--on-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.studio-rail span:first-child { color: var(--emerald); border-color: rgba(16, 185, 129, 0.6); box-shadow: 0 0 14px rgba(16, 185, 129, 0.35); }
.studio-rail .ico { width: 17px; height: 17px; }
.studio-title { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin: 2px 0 6px; font-weight: 700; }
.studio-text { font-size: 0.82rem; line-height: 1.45; margin: 0 0 12px; }
.mini-sheets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.mini-sheet {
  aspect-ratio: 3 / 4; border-radius: 9px; padding: 7px 6px; display: grid; gap: 4px; align-content: start;
  background: linear-gradient(170deg, #F8FBFD, #DDE7F0); position: relative; overflow: hidden;
}
.mini-sheet i { display: block; height: 4px; border-radius: 2px; background: rgba(15, 42, 74, 0.18); }
.mini-sheet i:nth-child(1) { background: var(--navy); width: 70%; }
.mini-sheet i:nth-child(3) { width: 80%; }
.mini-sheet i:nth-child(5) { width: 55%; background: var(--emerald); }
.mini-sheet:nth-child(2) { background: linear-gradient(170deg, #E9F8F1, #BFEBD8); }
.mini-sheet:nth-child(3) { background: linear-gradient(170deg, #1E406A, var(--navy-deep)); }
.mini-sheet:nth-child(3) i { background: rgba(255, 255, 255, 0.25); }
.mini-sheet:nth-child(3) i:nth-child(1) { background: var(--emerald); }
.stat { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.stat-chart { width: 100%; height: 64px; color: var(--navy-deep); }
.stat-num { font-size: 3rem; font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: var(--ink); margin: 0; }
.stat-label { font-size: 0.86rem; font-weight: 600; margin: 6px 0 0; }
.stat-foot { grid-column: 1 / -1; margin: 4px 0 0; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.stage-cards { display: grid; gap: 14px; }
.stage-cards > *, .stage-visual { position: relative; z-index: 2; }
.stage-visual { z-index: 0; }
@media (min-width: 560px) and (max-width: 999px) { .stage-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .stage-cards { display: contents; } }

/* ------------------------------------------------------------------ Grilles et cartes */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.card {
  position: relative; background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.card h3 { margin-bottom: 0.45em; }
.card p:last-child { margin-bottom: 0; }
@media (hover: hover) { .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(16, 185, 129, 0.45); } }
.card-index {
  display: flex; align-items: center; justify-content: space-between; margin: 0 0 18px;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--slate);
}
.icon-tile {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: var(--navy); color: var(--emerald); box-shadow: 0 10px 22px -12px rgba(10, 29, 51, 0.8);
}
.icon-tile .ico { width: 22px; height: 22px; }
.icon-tile.is-emerald { background: var(--emerald); color: var(--ink); box-shadow: var(--glow); }
.icon-tile.is-light { background: var(--surface); color: var(--navy); box-shadow: none; }
.card-icon { display: flex; gap: 18px; align-items: flex-start; }
.card-icon > img { flex: none; padding: 10px; width: 68px; height: 68px; border-radius: 16px; background: var(--surface); }
.pains .card::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--emerald), rgba(16, 185, 129, 0));
}
.note {
  position: relative; background: var(--glass-strong); border: 1px solid var(--glass-line); border-left: 4px solid var(--navy);
  border-radius: var(--radius-sm); padding: 18px 20px; margin: 24px 0 0; box-shadow: var(--shadow-soft);
}
.note h2, .note h3 { margin-bottom: 0.3em; }
.note p:last-child { margin-bottom: 0; }
.note-info { background: linear-gradient(135deg, var(--white), var(--surface)); border-left-color: var(--emerald); }

.checks, .crosses { list-style: none; padding: 0; }
.checks li, .crosses li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.checks li::before, .crosses li::before {
  position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900;
}
.checks li::before { content: "✓"; background: var(--emerald); color: var(--ink); }
.crosses li::before { content: "✕"; background: var(--red-soft); color: var(--red); }
.for { border-top: 3px solid var(--emerald); }
.not-for { border-top: 3px solid var(--red); }

/* Tableau comparatif */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--glass-line); background: var(--glass-strong); box-shadow: var(--shadow-soft); }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: var(--white); font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.compare thead th:last-child { color: var(--emerald); }
.compare tbody th { color: var(--navy-deep); width: 18%; }
.compare td:nth-child(2) { color: var(--slate); }
.compare td:nth-child(3) { font-weight: 600; }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: rgba(230, 246, 239, 0.5); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare-offers tbody tr:last-child th { color: var(--emerald-text); }
/* Mobile : chaque ligne devient une carte, les colonnes restent visibles */
@media (max-width: 639px) {
  .table-scroll { border: 0; background: transparent; overflow: visible; box-shadow: none; }
  .compare { min-width: 0; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-soft); }
  .compare tbody th { width: 100%; background: var(--navy); color: var(--white); padding: 12px 16px; }
  .compare-offers tbody tr:last-child th { color: var(--white); background: linear-gradient(90deg, var(--navy), #1B4A5E); }
  .compare td { border-bottom: 0; padding: 8px 16px; }
  .compare td::before { content: attr(data-label) " : "; display: block; font-family: var(--mono); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate); }
  .compare td:nth-child(3)::before { color: var(--emerald-text); }
  .compare td:last-child { padding-bottom: 14px; }
}

/* Aperçus (fenêtres) */
.shots figure {
  margin: 0; background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: var(--radius); padding: 10px 10px 16px; box-shadow: var(--shadow-soft);
}
.shots figure::before {
  content: ""; display: block; height: 10px; margin: 2px 4px 10px; width: 46px;
  background: radial-gradient(circle at 5px 5px, #FF8A7A 4px, transparent 4.5px), radial-gradient(circle at 21px 5px, #F5C451 4px, transparent 4.5px), radial-gradient(circle at 37px 5px, var(--emerald) 4px, transparent 4.5px);
}
.shots img { border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--mist); }
.shots figcaption { margin: 12px 6px 0; color: var(--slate); font-size: 0.95rem; }

/* Sommaire du guide */
.guide-grid { display: grid; gap: 28px; }
.guide-grid > * { min-width: 0; }
@media (min-width: 900px) { .guide-grid { grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; } }
.toc {
  counter-reset: t; list-style: none; padding: 8px; margin: 0; border-radius: var(--radius);
  background: linear-gradient(160deg, #16365D, var(--navy-deep)); box-shadow: var(--shadow-dark); color: var(--on-dark);
}
.toc li { counter-increment: t; position: relative; padding: 13px 16px 13px 62px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.toc li:last-child { border-bottom: 0; }
.toc li strong { color: var(--white); }
.toc li::before {
  content: counter(t, decimal-leading-zero); position: absolute; left: 16px; top: 13px; font-family: var(--mono); font-size: 0.8rem;
  color: var(--emerald); letter-spacing: 0.06em;
}

/* « Ils en parlent » */
.placeholder-box {
  border: 1.5px dashed rgba(15, 42, 74, 0.3); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--slate);
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0 14px, rgba(230, 246, 239, 0.5) 14px 28px);
}
.placeholder-title { font-weight: 800; color: var(--ink); font-size: 1.1rem; }

/* ------------------------------------------------------------------ Formules (cartes de prix) */
.price-grid { display: grid; gap: 18px; margin-top: 28px; grid-template-columns: 1fr; }
.price-grid > * { min-width: 0; }
@media (min-width: 900px) { .price-grid.cols-3 { grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 22px; } .price-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } .price-grid.cols-1 { max-width: 440px; } }
.price-card {
  position: relative; display: flex; flex-direction: column; background: var(--glass-strong);
  border: 1px solid var(--glass-line); border-radius: 24px; padding: 30px 24px 24px; box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
@media (hover: hover) { .price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }
.price-card.is-featured {
  color: var(--on-dark); border-color: rgba(16, 185, 129, 0.55); padding-top: 40px;
  background:
    radial-gradient(circle at 85% 0%, rgba(16, 185, 129, 0.35), rgba(16, 185, 129, 0) 50%),
    linear-gradient(160deg, #16365D 0%, var(--navy) 50%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-dark), 0 0 0 1px rgba(16, 185, 129, 0.25);
}
@media (min-width: 900px) { .price-card.is-featured { transform: translateY(-14px); } .price-card.is-featured:hover { transform: translateY(-18px); } }
.price-flag {
  position: absolute; top: -14px; left: 24px; margin: 0; background: var(--emerald); color: var(--ink);
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
  border-radius: 999px; padding: 5px 12px; box-shadow: var(--glow);
}
.price-card h3 { font-size: 0.86rem; font-family: var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; font-weight: 700; }
.price-card.is-featured h3 { color: var(--white); }
.price-amount { margin: 0 0 10px; color: var(--navy-deep); display: flex; align-items: flex-start; gap: 6px; }
.price-amount .amount { font-size: 4.2rem; font-weight: 200; line-height: 0.9; letter-spacing: -0.05em; }
.price-amount .currency { font-size: 1.5rem; font-weight: 600; margin-top: 6px; }
.price-card.is-featured .price-amount { color: var(--white); }
.price-summary { color: var(--slate); padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.price-card.is-featured .price-summary { color: var(--on-dark); border-bottom-color: rgba(255, 255, 255, 0.12); }
.price-card .checks { flex: 1; margin-bottom: 22px; }
.price-card.is-featured .checks li { color: var(--white); }

/* ------------------------------------------------------------------ Étapes */
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0 0 28px; position: relative; }
.steps-list li { counter-increment: s; position: relative; padding: 0 0 22px 58px; }
.steps-list li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -4px; width: 40px; height: 40px; border-radius: 12px;
  background: var(--navy); color: var(--emerald); font-family: var(--mono); font-weight: 700; font-size: 0.82rem;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 22px -12px rgba(10, 29, 51, 0.8);
}
.steps-list li:not(:last-child)::after { content: ""; position: absolute; left: 19.5px; top: 40px; bottom: 2px; width: 1px; background: linear-gradient(var(--emerald), rgba(16, 185, 129, 0.1)); }
.steps-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; position: relative; }
.steps-cards > li { min-width: 0; }
@media (min-width: 860px) {
  .steps-cards { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .steps-cards::before {
    content: ""; position: absolute; left: 6%; right: 6%; top: 47px; height: 1px; z-index: 0;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0), var(--emerald), rgba(16, 185, 129, 0));
  }
}
.steps-cards li {
  counter-increment: s; position: relative; z-index: 1; background: var(--glass-strong); border: 1px solid var(--glass-line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft);
}
.steps-cards li::before {
  content: counter(s, decimal-leading-zero); display: inline-flex; width: 46px; height: 46px; border-radius: 14px;
  background: var(--navy); color: var(--emerald); font-family: var(--mono); font-weight: 700; align-items: center; justify-content: center;
  margin-bottom: 16px; box-shadow: 0 0 0 6px var(--mist), 0 12px 24px -12px rgba(10, 29, 51, 0.8);
}
.steps-cards li:nth-child(2)::before { background: var(--emerald); color: var(--ink); }
.small-cards .card { padding: 20px; }

/* Étapes de l'installation (frise verticale) */
.install-steps { counter-reset: i; list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; position: relative; }
.install-steps::before { content: ""; position: absolute; left: 22px; top: 24px; bottom: 24px; width: 1px; background: linear-gradient(var(--emerald), rgba(15, 42, 74, 0.15)); }
.install-steps li {
  counter-increment: i; position: relative; background: var(--glass-strong); border: 1px solid var(--glass-line);
  border-radius: var(--radius); padding: 18px 18px 8px 70px; box-shadow: var(--shadow-soft); margin-left: 0;
}
.install-steps li::before {
  content: counter(i, decimal-leading-zero); position: absolute; left: 4px; top: 16px; width: 38px; height: 38px; border-radius: 12px;
  background: var(--navy); color: var(--emerald); font-family: var(--mono); font-weight: 700; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 5px var(--mist);
}
.install-steps li:first-child::before { background: var(--emerald); color: var(--ink); }
.install-steps h3 { margin-bottom: 6px; }
@media (min-width: 640px) { .install-steps li { padding-left: 82px; } .install-steps li::before { left: 18px; } .install-steps::before { left: 37px; } }
.steps-cards + p, .grid-3 + p { margin-top: 22px; }

/* Fiches « faits » (bento) */
.facts { display: grid; gap: 14px; margin: 0; }
.facts > div { min-width: 0; background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-soft); }
.facts dt { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--emerald-text); }
.facts dd { margin: 6px 0 0; }
.facts > div:nth-child(4) { background: linear-gradient(160deg, #16365D, var(--navy-deep)); color: var(--on-dark); border-color: transparent; box-shadow: var(--shadow-dark); }
.facts > div:nth-child(4) dt { color: var(--emerald); }
.facts > div:nth-child(4) strong { color: var(--white); }
.facts > div:nth-child(4) a { color: var(--white); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* ------------------------------------------------------------------ FAQ */
.faq details {
  background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: var(--radius-sm); margin-bottom: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq details[open] { border-color: rgba(16, 185, 129, 0.55); box-shadow: var(--shadow-soft); }
.faq summary { cursor: pointer; list-style: none; padding: 17px 56px 17px 20px; font-weight: 700; position: relative; min-height: 48px; color: var(--navy-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; font-size: 1.3rem; font-weight: 400; color: var(--navy); background: var(--surface);
}
.faq details[open] summary::after { content: "–"; background: var(--emerald); color: var(--ink); }
.faq details > p { padding: 0 20px 18px; margin: 0; color: var(--ink); }
.faq + h2, .faq ~ h2 { margin-top: 44px; }
.more-link { margin-top: 20px; font-weight: 700; }

/* ------------------------------------------------------------------ Bandeau d'appel à l'action */
.cta-band {
  position: relative; overflow: hidden; color: var(--white); text-align: center; border: 0;
  background:
    radial-gradient(circle at 50% 120%, rgba(16, 185, 129, 0.45), rgba(16, 185, 129, 0) 55%),
    linear-gradient(160deg, #16365D 0%, var(--navy) 45%, var(--navy-deep) 100%);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 75%);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--on-dark); max-width: 660px; margin-left: auto; margin-right: auto; }
.cta-band .eyebrow { justify-content: center; }
.cta-inner { position: relative; z-index: 1; }
.cta-inner .hero-actions { justify-content: center; }
.cta-band .btn-light { background: var(--white); }
.cta-icon { margin: 0 auto 14px; }

/* ------------------------------------------------------------------ Offres (accueil : Kit, Accompagnée, Installation) */
.offer-grid { display: grid; gap: 18px; margin-top: 28px; }
.offer-grid > * { min-width: 0; }
@media (min-width: 760px) { .offer-grid { grid-template-columns: 1fr 1fr; } .offer-grid .offer-card.is-featured { grid-column: 1 / -1; } }
@media (min-width: 1080px) { .offer-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 22px; } .offer-grid .offer-card.is-featured { grid-column: auto; } }
.offer-card {
  position: relative; display: flex; flex-direction: column; background: var(--glass-strong); border: 1px solid var(--glass-line);
  border-radius: 24px; padding: 28px 24px 24px; box-shadow: var(--shadow-soft); overflow: hidden;
}
.offer-card.is-featured {
  color: var(--on-dark); border-color: rgba(16, 185, 129, 0.5);
  background:
    radial-gradient(circle at 90% 0%, rgba(16, 185, 129, 0.38), rgba(16, 185, 129, 0) 50%),
    linear-gradient(160deg, #16365D 0%, var(--navy) 50%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-dark);
}
.offer-card.is-middle { background: linear-gradient(165deg, var(--white), var(--surface)); }
.offer-card h3 { font-size: 1.45rem; color: var(--navy-deep); line-height: 1.2; }
.offer-card.is-featured h3, .offer-card.is-featured .offer-price strong { color: var(--white); }
.offer-card.is-featured p, .offer-card.is-featured li { color: var(--on-dark); }
.offer-card .checks { flex: 1; }
.offer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.offer-tag {
  display: inline-block; margin: 0; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 700; color: var(--navy); background: var(--surface); border-radius: 999px; padding: 5px 11px;
}
.offer-card.is-featured .offer-tag { background: var(--emerald); color: var(--ink); }
.offer-card.is-middle .offer-tag { background: var(--navy); color: var(--white); }
.offer-price { font-size: 1.05rem; padding-top: 16px; border-top: 1px solid var(--line); }
.offer-card.is-featured .offer-price { border-top-color: rgba(255, 255, 255, 0.14); }
.offer-price strong { font-size: 1.6rem; font-weight: 700; color: var(--navy-deep); }
.offer-between { margin-top: 20px; }

/* Moteur (aperçu du tableau de bord du kit, accueil) */
.engine { position: relative; margin-top: 8px; }
.engine-window {
  position: relative; z-index: 1; border-radius: 22px; overflow: hidden; color: var(--on-dark);
  background: linear-gradient(170deg, #12304F, var(--navy-deep)); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: var(--shadow-dark);
}
.engine-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.engine-brand { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin: 0; }
.engine-brand span { color: var(--on-dark-muted); letter-spacing: 0.06em; text-transform: none; font-family: var(--font); font-size: 0.8rem; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.engine-tools { display: flex; align-items: center; gap: 8px; }
.engine-tools .pill { padding: 4px 10px; font-size: 0.68rem; }
.pill-ghost { border: 1px solid rgba(255, 255, 255, 0.25); color: var(--white); }
.pill-emerald { background: var(--emerald); color: var(--ink); }
.engine-body { display: grid; gap: 0; }
.engine-side { padding: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); display: none; }
.engine-side .mono-label { font-size: 0.64rem; margin-bottom: 8px; color: var(--on-dark-muted); }
.engine-side p { font-size: 0.85rem; color: var(--white); margin-bottom: 12px; }
.engine-field { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.74rem; }
.engine-field span:first-child { font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.64rem; color: var(--on-dark-muted); }
.engine-field span:last-child { color: var(--white); }
.engine-range { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); margin: 6px 0 14px; position: relative; }
.engine-range::before { content: ""; position: absolute; inset: 0 30% 0 0; border-radius: 4px; background: var(--emerald); }
.engine-range::after { content: ""; position: absolute; left: 70%; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--white); transform: translate(-50%, -50%); box-shadow: 0 0 10px rgba(16, 185, 129, 0.8); }
.engine-go { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 10px; background: var(--emerald); color: var(--ink); font-weight: 700; font-size: 0.82rem; }
.engine-canvas { position: relative; padding: 14px; }
.engine-canvas figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; outline: 1px solid rgba(16, 185, 129, 0.7); outline-offset: 4px; }
.engine-canvas img { width: 100%; background: var(--white); }
.engine-canvas .corner { position: absolute; width: 9px; height: 9px; background: var(--emerald); border-radius: 2px; z-index: 2; }
.engine-canvas .c1 { left: 10px; top: 10px; } .engine-canvas .c2 { right: 10px; top: 10px; } .engine-canvas .c3 { left: 10px; bottom: 10px; } .engine-canvas .c4 { right: 10px; bottom: 10px; }
.engine-float {
  position: absolute; right: 26px; top: 26px; z-index: 2; display: none; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px;
  background: rgba(10, 29, 51, 0.92); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.72rem; color: var(--white);
}
.engine-float .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); }
.engine-strip { display: none; gap: 10px; padding: 0 14px 14px; grid-template-columns: 90px repeat(4, 1fr); align-items: stretch; }
.engine-strip .mono-label { font-size: 0.62rem; color: var(--on-dark-muted); margin: 6px 0 0; display: block; }
.thumb { position: relative; border-radius: 10px; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); background: linear-gradient(170deg, #F8FBFD, #DCE6EF); padding: 10px 8px; display: grid; gap: 5px; align-content: start; }
.thumb i { display: block; height: 5px; border-radius: 3px; background: rgba(15, 42, 74, 0.18); }
.thumb i:first-child { width: 60%; background: var(--navy); }
.thumb i:nth-child(3) { width: 75%; }
.thumb i:nth-child(4) { width: 40%; background: var(--emerald); }
.thumb b { position: absolute; left: 8px; bottom: 6px; font-family: var(--mono); font-size: 0.62rem; font-weight: 600; color: var(--navy); }
.thumb.is-active { outline: 2px solid var(--emerald); outline-offset: 2px; }
.thumb:nth-child(4) { background: linear-gradient(170deg, #E9F8F1, #BFEBD8); }
.thumb:nth-child(5) { background: linear-gradient(170deg, #1E406A, var(--navy-deep)); }
.thumb:nth-child(5) i { background: rgba(255, 255, 255, 0.28); }
.thumb:nth-child(5) b { color: var(--white); }
.engine-tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.engine-tag { border-radius: 16px; padding: 14px 12px; box-shadow: var(--shadow-soft); min-width: 0; }
.engine-tag .ico { width: 22px; height: 22px; margin-bottom: 18px; }
.engine-tag b { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid currentColor; }
.engine-tag small { display: block; font-size: 0.74rem; line-height: 1.35; }
.engine-tag.is-kit { background: var(--emerald); color: var(--ink); }
.engine-tag.is-mid { background: var(--white); color: var(--navy-deep); border: 1px solid var(--glass-line); }
.engine-tag.is-install { background: var(--navy-deep); color: var(--white); }
.engine-tag.is-install small { color: var(--on-dark); }
@media (min-width: 900px) {
  .engine { padding: 0 64px 40px; }
  .engine-body { grid-template-columns: 230px 1fr; }
  .engine-side { display: block; border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, 0.08); }
  .engine-float { display: inline-flex; }
  .engine-strip { display: grid; }
  .engine-tags { display: block; margin: 0; }
  .engine-tag { position: absolute; z-index: 2; width: 178px; padding: 16px 16px 18px; }
  .engine-tag.is-kit { left: 0; bottom: 0; }
  .engine-tag.is-mid { right: 0; top: 34%; }
  .engine-tag.is-install { right: 12px; bottom: -6px; }
  .engine::before, .engine::after { content: ""; position: absolute; z-index: 0; background: rgba(16, 185, 129, 0.55); }
  .engine::before { left: -40px; right: -40px; top: 42%; height: 1px; }
  .engine::after { right: 26px; top: 8%; bottom: 38%; width: 1px; }
}

/* ------------------------------------------------------------------ Carte produit et cadeau */
.product-card { display: grid; gap: 0; background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.product-card > img { width: 100%; background: var(--mist); }
.product-card-body { padding: 24px; }
.product-price { font-size: 1.1rem; }
.product-price strong { font-size: 1.5rem; color: var(--navy-deep); }
@media (min-width: 900px) { .product-card { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.gift {
  position: relative; display: grid; gap: 28px; align-items: center; overflow: hidden; border-radius: 28px; padding: 28px 22px;
  background: linear-gradient(140deg, var(--white) 0%, var(--surface) 100%); border: 1px solid var(--glass-line); box-shadow: var(--shadow);
}
.gift > * { min-width: 0; }
.gift h2 { margin-bottom: 0.4em; }
.gift img { border-radius: 16px; border: 1px solid var(--glass-line); box-shadow: var(--shadow); }
@media (min-width: 900px) { .gift { grid-template-columns: 1fr 1fr; padding: 48px; gap: 48px; } }

/* ------------------------------------------------------------------ Formulaires */
.contact-grid { display: grid; gap: 32px; }
.contact-grid > * { min-width: 0; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 56px; } }
.contact-list { list-style: none; padding: 0; margin: 0; background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: var(--radius); padding: 6px 20px; box-shadow: var(--shadow-soft); }
.contact-list li { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--emerald-text); }
.panel { background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow-soft); }
@media (min-width: 640px) { .panel { padding: 32px; } }
.form { display: grid; gap: 18px; max-width: 600px; }
.form[hidden] { display: none; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white); min-height: 50px;
  padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(15, 42, 74, 0.45); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--emerald-deep); outline: none; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-check { grid-template-columns: 24px 1fr; align-items: start; gap: 10px; }
.field-check input { width: 22px; height: 22px; min-height: 0; margin: 3px 0 0; accent-color: var(--emerald-deep); }
.field-check label { font-weight: 400; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 600; min-height: 1.6em; }
.form-status.is-error { color: var(--red); }
.form-status.is-success { color: var(--emerald-text); }
.download-box { background: var(--surface); border-radius: var(--radius); padding: 22px; margin-top: 16px; }

/* Espace client */
.account-hello { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.purchase { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 10px; }
.purchase p { margin: 0; }

/* Pages légales */
.legal h2 { font-size: 1.3rem; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal .container { background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: var(--radius); padding-top: 28px; padding-bottom: 20px; box-shadow: var(--shadow-soft); }
.simple-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; display: block; overflow-x: auto; }
.simple-table th, .simple-table td { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.simple-table th { background: var(--surface); }

/* ------------------------------------------------------------------ Fenêtre « paiement bientôt » */
.dialog { border: 1px solid var(--glass-line); border-radius: var(--radius); padding: 30px 24px 24px; max-width: min(520px, calc(100vw - 32px)); box-shadow: var(--shadow-dark); color: var(--ink); background: var(--white); }
.dialog::backdrop { background: rgba(10, 29, 51, 0.6); }
.dialog-close-form { position: absolute; top: 8px; right: 8px; margin: 0; }
.dialog-close { width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--slate); border-radius: 50%; }
.dialog-close:hover { background: var(--surface); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ------------------------------------------------------------------ Pied de page */
.site-footer {
  position: relative; overflow: hidden; color: var(--on-dark-muted); padding: 64px 0 28px; font-size: 0.95rem;
  background:
    radial-gradient(circle at 90% 0%, rgba(16, 185, 129, 0.22), rgba(16, 185, 129, 0) 40%),
    linear-gradient(170deg, var(--navy) 0%, var(--navy-deep) 60%);
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
}
.site-footer .container { z-index: 1; }
.site-footer a { color: var(--white); text-decoration-color: rgba(255, 255, 255, 0.35); }
.site-footer a:hover { color: var(--emerald); }
.footer-cta { display: grid; gap: 18px; align-items: center; padding-bottom: 36px; margin-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-cta > * { min-width: 0; }
.footer-cta p { margin: 0; color: var(--white); font-size: clamp(1.4rem, 4.6vw, 2.2rem); font-weight: 300; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.05; }
.footer-cta p span { color: var(--emerald); }
.footer-cta .hero-actions { margin: 0; }
@media (min-width: 900px) { .footer-cta { grid-template-columns: 1.4fr 1fr; } .footer-cta .hero-actions { justify-content: flex-end; } }
.footer-grid { display: grid; gap: 30px; }
.footer-grid > * { min-width: 0; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; } }
.footer-brand img { height: 30px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--on-dark); }
.footer-title { font-family: var(--mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--emerald); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 36px; padding-top: 20px; font-size: 0.85rem; color: var(--on-dark-muted); }
.footer-legal p { margin-bottom: 6px; }

/* ------------------------------------------------------------------ Questionnaire */
.questionnaire { max-width: 720px; counter-reset: q; }
.questionnaire fieldset {
  counter-increment: q; position: relative; min-width: 0; border: 1px solid var(--glass-line); border-radius: var(--radius);
  padding: 22px 18px 10px; margin: 0; display: grid; gap: 16px; background: var(--glass-strong); box-shadow: var(--shadow-soft);
}
.questionnaire legend {
  display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy-deep); font-size: 1.1rem; padding: 0 8px;
}
.questionnaire legend::before {
  content: counter(q, decimal-leading-zero); font-family: var(--mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--emerald); background: var(--navy); border-radius: 8px; padding: 4px 7px;
}
@media (min-width: 640px) { .questionnaire fieldset { padding: 26px 24px 12px; } }
.field-label { font-weight: 700; display: block; }
.field-help { margin: 0; color: var(--slate); font-size: 0.92rem; }
.choices { display: grid; gap: 8px; }
@media (min-width: 560px) { .choices:has(> .choice:nth-child(4)) { grid-template-columns: 1fr 1fr; } }
.choice {
  display: grid; grid-template-columns: 24px 1fr; align-items: start; gap: 10px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: border-color 0.2s, background-color 0.2s;
}
.choice:has(input:checked) { border-color: var(--emerald-deep); background: var(--surface); }
.field .choice input, .choice input { width: 22px; height: 22px; min-height: 0; padding: 0; border: 0; margin: 1px 0 0; accent-color: var(--emerald-deep); }
.choice label { font-weight: 500; }
.questionnaire-done { background: var(--glass-strong); border: 1px solid rgba(16, 185, 129, 0.5); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.questionnaire-done:focus { outline: 3px solid var(--navy); outline-offset: 2px; }
.summary-box { width: 100%; font: inherit; font-size: 0.95rem; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); margin-top: 6px; }
.form-aside { display: grid; gap: 14px; align-content: start; }
.form-layout { display: grid; gap: 32px; }
.form-layout > * { min-width: 0; }
@media (min-width: 1040px) { .form-layout { grid-template-columns: 1fr 320px; gap: 48px; } .form-aside { position: sticky; top: 96px; } }

/* ------------------------------------------------------------------ Suivi d'installation (client et gestion) */
.account-block { margin-bottom: 32px; }
.track-card { background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow-soft); }
.track-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.track-card-head h2, .track-card-head h3 { margin: 0; }
.progress { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--emerald-deep), var(--emerald)); border-radius: 999px; box-shadow: 0 0 12px rgba(16, 185, 129, 0.6); }
.progress-box p { margin: 8px 0 12px; }
.track-steps { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.track-step { border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: var(--radius-xs); padding: 10px 12px; background: var(--white); }
.track-step.is-en_cours { border-left-color: var(--emerald); }
.track-step.is-fait { border-left-color: var(--navy); }
.track-step p { margin: 0; }
.track-step-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-weight: 700; }
.track-step-note { margin-top: 6px !important; }
.chip { display: inline-block; font-size: 0.85rem; font-weight: 700; border-radius: 999px; padding: 2px 10px; background: var(--mist); color: var(--ink); border: 1px solid var(--line); }
.chip-fait, .chip-status-terminee { background: var(--surface); color: var(--navy-deep); border-color: var(--surface); }
.chip-en_cours, .chip-status-en_cours, .chip-status-planifiee { background: var(--emerald); color: var(--ink); border-color: var(--emerald); }
.chip-status-annulee { background: var(--red-soft); color: var(--red); border-color: var(--red-soft); }
.staff-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 8px; }
.staff-table { display: table; }
.staff-table th[scope="row"] { background: transparent; }
.install-detail { margin-top: 28px; background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: var(--radius); padding: 20px; }
.install-detail:focus { outline: 3px solid var(--navy); outline-offset: 2px; }
.detail-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .detail-grid { grid-template-columns: 1fr 1.2fr; } }
.answers { margin: 0; }
.answers dt { font-weight: 800; color: var(--navy-deep); margin-top: 10px; }
.answers dd { margin: 2px 0 0; }
.plain { list-style: none; padding: 0; }
.notes { padding-left: 1.1em; }
.staff-section { margin-top: 40px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 12px 0 28px; }
.stat-grid div { background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: var(--radius); padding: 12px 14px; }
.stat-grid dt { font-size: 0.85rem; color: var(--slate); }
.stat-grid dd { margin: 4px 0 0; font-size: 1.4rem; font-weight: 700; color: var(--navy); }
.form-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .field-check, .form-grid .btn, .form-grid .form-status { grid-column: 1 / -1; justify-self: start; } }
.history-list { padding-left: 1.2em; font-size: 0.92rem; }
.history-list li { margin-bottom: 4px; }
.message-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.message-list li { background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: var(--radius); padding: 14px; overflow-wrap: anywhere; }
.message-list .message-body { white-space: pre-line; margin: 8px 0; }
.field-inline { grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
@media (max-width: 760px) {
  .staff-table thead { position: absolute; left: -10000px; }
  .staff-table, .staff-table tbody, .staff-table tr, .staff-table th, .staff-table td { display: block; width: 100%; }
  .staff-table tr { border: 1px solid var(--line); border-radius: var(--radius-xs); margin-bottom: 10px; background: var(--white); }
  .staff-table td[data-label]::before { content: attr(data-label) " : "; font-weight: 700; }
}

/* ------------------------------------------------------------------ Scène de l'installation (téléphone + progression) */
.install-visual {
  position: relative; min-height: 400px; border-radius: 28px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0) 45%),
    linear-gradient(160deg, #16365D 0%, var(--navy) 50%, var(--navy-deep) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: var(--shadow-dark);
}
.install-visual::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.install-visual .phone { top: 30px; left: 18px; right: auto; width: 214px; }
.progress-card {
  position: absolute; z-index: 3; right: 14px; bottom: 18px; width: 206px; padding: 14px; border-radius: 16px;
  background: var(--glass-strong); border: 1px solid var(--glass-line); color: var(--ink); box-shadow: var(--shadow);
}
.progress-card .mono-label { font-size: 0.6rem; margin-bottom: 10px; }
.progress-card ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 0.72rem; }
.progress-card li { display: flex; align-items: center; gap: 8px; }
.progress-card li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line); flex: none; }
.progress-card li.done::before { background: var(--emerald); border-color: var(--emerald); }
.progress-card li.now { font-weight: 700; color: var(--navy-deep); }
.progress-card li.now::before { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25); }
.profile-card { display: grid; gap: 6px; padding: 12px; }
.profile-card .ph { height: 54px; border-radius: 10px; background: linear-gradient(120deg, #DCE7F1, #E9F8F1); }
.profile-card .ln { height: 7px; border-radius: 4px; background: rgba(15, 42, 74, 0.14); }
.profile-card .ln.w60 { width: 60%; }
.profile-card .ln.w40 { width: 40%; background: var(--emerald); }
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 12px 12px; }
.catalog span { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(150deg, #E3ECF4, #C9D8E6); }
.catalog span:nth-child(2) { background: linear-gradient(150deg, #E9F8F1, #BFEBD8); }
.catalog span:nth-child(4) { background: linear-gradient(150deg, #1E406A, var(--navy-deep)); }
@media (min-width: 1000px) { .install-visual { min-height: 470px; } .install-visual .phone { left: 12%; top: 42px; width: 236px; } .progress-card { right: 9%; bottom: 40px; width: 230px; } }

/* Petites puces de formats (héros du kit) */
.media-frame { position: relative; }
.media-frame .float-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
  background: var(--navy); color: var(--white); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; box-shadow: var(--shadow-dark);
}
.media-frame .float-chip.tl { left: -6px; top: 18px; }
.media-frame .float-chip.br { right: -6px; bottom: 20px; background: var(--emerald); color: var(--ink); box-shadow: var(--glow); }
@media (min-width: 900px) { .media-frame .float-chip.tl { left: -22px; } .media-frame .float-chip.br { right: -22px; } }

/* Titre d'affichage pour les phrases longues */
.display-3 {
  font-weight: 300; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1.02; color: var(--navy-deep);
  font-size: clamp(1.75rem, 5.4vw, 3.1rem); margin-bottom: 0.45em;
}
@media (max-width: 599px) { .display-3 { font-weight: 400; } }
.cta-band .display-3, .on-dark .display-3 { color: var(--white); }

/* Page FAQ : rubriques numérotées */
.faq-page { counter-reset: fq; }
.faq-page h2 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin-bottom: 18px; }
.faq-page h2::before {
  counter-increment: fq; content: counter(fq, decimal-leading-zero); font-family: var(--mono); font-size: 0.74rem; font-weight: 700;
  color: var(--emerald); background: var(--navy); border-radius: 8px; padding: 5px 8px; letter-spacing: 0.06em;
}

/* ------------------------------------------------------------------ Images de la refonte */
.stage-visual.has-image { background: #EEF3F8; }
.stage-visual.has-image::before { display: none; }
.stage-photo, .stage-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-photo img { object-fit: cover; object-position: 50% 40%; }
.stage-visual.has-image { min-height: 540px; }
.stage-visual.has-image .sheet-card { display: none; }
.sheet-card .stage-caption { position: static; margin: 6px 0 0; font-size: 0.6rem; }
@media (min-width: 1000px) {
  .stage-photo img { object-position: 78% 50%; }
  .stage-visual.has-image .sheet-card { display: block; left: 5%; bottom: 44px; }
}
.install-visual.has-image { background: var(--navy-deep); }
.install-visual.has-image::before { display: none; }
.install-visual .stage-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; z-index: 0; }
.install-visual.has-image .progress-card { left: 14px; right: auto; top: 14px; bottom: auto; width: 196px; }
@media (min-width: 1000px) { .install-visual.has-image .progress-card { left: 4%; top: 30px; width: 226px; } }
.media-frame.is-cutout img { border: 0; background: none; box-shadow: none; border-radius: 0; filter: drop-shadow(0 30px 40px rgba(15, 42, 74, 0.18)); }
.gift img.cutout { border: 0; box-shadow: none; border-radius: 0; filter: drop-shadow(0 26px 36px rgba(15, 42, 74, 0.2)); max-width: 520px; margin: 0 auto; }
.preview-shot { margin: 22px 0 0; }
.preview-shot img { border-radius: var(--radius-sm); border: 1px solid var(--glass-line); box-shadow: var(--shadow-soft); }
.preview-shot figcaption { margin-top: 8px; font-size: 0.92rem; color: var(--slate); }
.aside-illus { width: 200px; margin: 0 auto -18px; position: relative; z-index: 1; filter: drop-shadow(0 18px 24px rgba(15, 42, 74, 0.18)); }
@media (max-width: 1039px) { .aside-illus { width: 150px; } }
/* Bandeaux d'appel : fond lumineux fourni (version légère sur mobile) + voile central (contraste vérifié au pire pixel :
   paragraphe ≥ 5,8:1, titre ≥ 15:1) qui laisse les vagues visibles sur les côtés. */
.cta-band {
  --veil: radial-gradient(ellipse 62% 72% at 50% 48%, rgba(10, 29, 51, 0.86) 0%, rgba(10, 29, 51, 0.7) 60%, rgba(10, 29, 51, 0) 100%),
    linear-gradient(180deg, rgba(10, 29, 51, 0.5) 0%, rgba(10, 29, 51, 0.3) 60%, rgba(10, 29, 51, 0.1) 100%);
  background: var(--veil), url("../img/site/fond-demo-01-2000.webp") center bottom / cover no-repeat, var(--navy-deep);
}
.cta-band.fond-02 { background: var(--veil), url("../img/site/fond-demo-02-2000.webp") center bottom / cover no-repeat, var(--navy-deep); }
@media (max-width: 899px) {
  .cta-band { background: var(--veil), url("../img/site/fond-demo-01-1000.webp") center bottom / cover no-repeat, var(--navy-deep); }
  .cta-band.fond-02 { background: var(--veil), url("../img/site/fond-demo-02-1000.webp") center bottom / cover no-repeat, var(--navy-deep); }
}
.cta-band::before { display: none; }

/* Impression : fond neutre */
@media print {
  body { background: #fff; }
  .site-header, .site-footer, .fx-grid, .fx-wave, .fx-halo, .hero-stage, .cta-band::before { display: none !important; }
}
