/* ==========================================================================
   FAHOMBIAZANA STUDIO PRO — Feuille de style principale
   Auteur : Fahombiazana Corp
   Organisation du fichier :
     01. Variables (tokens)      07. Interface (cartes)      13. FAQ
     02. Base / reset            08. Piliers                 14. Contact
     03. Utilitaires             09. Workflow                15. Pied de page
     04. En-tête / navigation    10. Fonctionnalités         16. Dialog / toast / PWA
     05. Hero                    11. Offre 25 USD            17. Media queries
     06. Console (screenshot)    12. Téléchargement          18. Accessibilité / print
   ========================================================================== */

/* ==========================================================================
   01. VARIABLES (TOKENS)
   Tout se règle ici : couleurs, espacements, rayons, ombres.
   ========================================================================== */
:root {
  /* — Couleurs de fond — */
  --bg: #070b11;
  --bg-2: #0b1119;
  --surface: #101823;
  --surface-2: #151f2c;
  --line: #263446;
  --line-soft: rgba(255, 255, 255, .09);

  /* — Couleurs de texte — */
  --white: #f7f9fc;
  --text: #dbe4ee;
  --muted: #97a7ba;          /* contraste AA sur fond sombre */
  --muted-dark: #5d6b7e;     /* contraste AA sur fond clair */

  /* — Couleurs de marque — */
  --blue: #36a8ff;
  --blue-2: #0879d8;
  --blue-ink: #147bc3;
  --green: #32d583;
  --red: #f04452;            /* tally / à l'antenne */
  --amber: #f7b731;
  --gold: #f4bd52;
  --gold-2: #e9a52a;
  --gold-dark: #d89517;
  --navy: #071a2f;

  /* — Sections claires — */
  --dark: #0b1420;
  --light: #f5f7fa;
  --light-2: #f8fafc;
  --light-line: #dfe5ec;

  /* — Échelle typographique fluide (clamp = mini, idéal, maxi) — */
  --fs-micro: clamp(10px, .35vw + 9px, 11px);
  --fs-tiny: clamp(11px, .4vw + 10px, 12px);
  --fs-xs: clamp(12px, .45vw + 11px, 13px);
  --fs-sm: clamp(13px, .5vw + 12px, 14px);
  --fs-base: clamp(15px, .6vw + 13px, 16px);
  --fs-lg: clamp(16px, .8vw + 14px, 18px);
  --fs-xl: clamp(19px, 1vw + 16px, 22px);
  --fs-h3: clamp(21px, 1.4vw + 17px, 28px);
  --fs-h2: clamp(28px, 3.4vw + 14px, 54px);
  --fs-h1: clamp(32px, 5.2vw + 12px, 78px);
  --fs-price: clamp(38px, 4vw + 20px, 64px);

  /* — Échelle d'espacement — */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --section-y: clamp(64px, 8vw, 112px);

  /* — Structure — */
  --container: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  /* — Ombres — */
  --shadow: 0 30px 90px rgba(0, 0, 0, .38);
  --shadow-soft: 0 14px 35px rgba(20, 34, 50, .07);

  /* — Marges de sécurité (encoche iPhone, barre gestuelle Android) — */
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);

  /* — Polices — */
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono",
    Menlo, Consolas, monospace;
}

/* ==========================================================================
   02. BASE / RESET
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;   /* empêche iOS d'agrandir le texte tout seul */
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  overflow-x: hidden;                      /* aucun scroll horizontal */
  overscroll-behavior-y: none;             /* pas de rebond en mode app */
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-left: var(--safe-l);
  padding-right: var(--safe-r);
}

/* Empêche le défilement de l'arrière-plan quand le menu mobile est ouvert */
body.no-scroll { overflow: hidden; }

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

img { height: auto; }

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

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: 0; }

h1, h2, h3, h4 { text-wrap: balance; }        /* évite les mots orphelins */
p { text-wrap: pretty; }

svg {
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Anneau de focus visible AU CLAVIER uniquement (accessibilité) */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(54, 168, 255, .3); color: #fff; }

/* ==========================================================================
   03. UTILITAIRES
   ========================================================================== */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 12px 18px;
  background: #fff;
  color: #111;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: calc(12px + var(--safe-t)); }

.kicker {
  display: inline-block;
  color: var(--blue-ink);
  font-size: var(--fs-micro);
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-dark .kicker,
.workflow-copy .kicker,
.operator-copy .kicker,
.download-copy .kicker,
.contact-copy .kicker { color: #4fb0f0; }

/* — Boutons — */
.btn {
  min-height: 48px;                 /* cible tactile confortable (>= 44px) */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: var(--fs-xs);
  font-weight: 800;
  text-align: center;
  transition: transform .2s ease, background .2s ease,
    border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, #198fe7, var(--blue-2));
  color: #fff;
  box-shadow: 0 15px 38px rgba(8, 121, 216, .28);
}
.btn-primary:hover { box-shadow: 0 20px 48px rgba(8, 121, 216, .42); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #07131f;
  box-shadow: 0 15px 36px rgba(216, 149, 23, .28);
}
.btn-gold:hover { box-shadow: 0 20px 46px rgba(216, 149, 23, .4); }

.btn-secondary { background: #fff; color: var(--dark); }
.btn-secondary:hover { background: #dceeff; }

.btn-ghost { background: transparent; color: #dce7f3; border-color: #38495e; }
.btn-ghost:hover { background: #182433; border-color: #4b5f77; }

.btn-wide { width: 100%; }

/* — Sections — */
.section { padding: var(--section-y) 0; }
.section-light { background: var(--light); color: var(--dark); }

.section-heading { max-width: 820px; margin-bottom: clamp(32px, 4vw, 50px); }
.section-heading.centered { text-align: center; margin-inline: auto; }

.section-heading h2,
.workflow-copy h2,
.operator-copy h2,
.download-copy h2,
.faq-intro h2,
.contact-copy h2,
.launch-offer-copy h2 {
  margin: 14px 0 16px;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 780;
}

.section-heading p,
.workflow-copy > p,
.operator-copy > p,
.download-copy > p,
.faq-intro > p,
.contact-copy > p,
.launch-offer-copy > p {
  margin: 0;
  color: var(--muted-dark);
  font-size: var(--fs-base);
  line-height: 1.75;
}

/* — Animation d'apparition au défilement — */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .07s; }
.delay-2 { transition-delay: .14s; }
.delay-3 { transition-delay: .21s; }

/* ==========================================================================
   04. EN-TÊTE / NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto 0;
  padding-top: var(--safe-t);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(7, 11, 17, .9);
  border-color: var(--line-soft);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100% - (var(--gutter) * 2), 1320px);
  height: var(--header-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  flex: 0 0 auto;
}
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-size: var(--fs-tiny); letter-spacing: .08em; }
.brand small {
  margin-top: 5px;
  color: #9db2c9;
  font-size: 10px;
  letter-spacing: .36em;
}
.flag-mg {
  display: block;
  width: 25px;
  height: 17px;
  margin-left: 2px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 3px;
  background:
    linear-gradient(to right, #fff 0 33.333%, transparent 33.333% 100%),
    linear-gradient(to bottom, #fc3d32 0 50%, #007e3a 50% 100%);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .28);
}

.main-nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); margin-left: auto; }
.main-nav a {
  padding: 8px 2px;
  color: #b6c3d3;
  font-size: var(--fs-xs);
  font-weight: 650;
  transition: color .2s;
}
.main-nav a:hover,
.main-nav a[aria-current="true"] { color: #fff; }

/* Horloge d'antenne : signature « régie » de l'en-tête */
.nav-clock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 36px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
  color: #cfe0f2;
  font-family: var(--font-mono);
  font-size: var(--fs-tiny);
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}
.nav-clock i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: tally 1.8s ease-in-out infinite;
}
@keyframes tally{ 50% { opacity: .25; } }

.header-cta {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #07131f;
  font-size: var(--fs-tiny);
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(216, 149, 23, .25);
  transition: transform .2s, box-shadow .2s;
}
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(216, 149, 23, .38); }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: #fff;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  margin: 5px 0;
  transition: transform .22s ease, opacity .18s ease;
}

/* Voile derrière le menu mobile */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(4, 8, 13, .6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   05. HERO
   ========================================================================== */
.hero {
  position: relative;
  /* Le bas passe de 0 à une vraie marge : le product-stage qui occupait
     cet espace a été retiré (sa capture est devenue le fond). */
  padding: calc(var(--header-h) + var(--safe-t) + clamp(48px, 8vw, 86px)) 0 clamp(28px, 4vw, 48px);
  overflow: hidden;
  background: linear-gradient(180deg, #070b11 0%, #080d14 68%, #0c121b 100%);
}

/* ====================================================================
   CALQUE DE FOND : la capture de l'interface derrière le titre.
   --------------------------------------------------------------------
   POURQUOI CES VALEURS PRÉCISES ?
   Elles ne sont pas choisies à l'oeil : elles sont MESURÉES.
   La capture contient le moniteur Programme, une grande zone quasi
   blanche (rgb 251,252,253). Du texte gris par-dessus deviendrait
   illisible.
   Calcul de contraste WCAG effectué sur le pire cas :
     - opacité 0,20 sans voile  -> 4,58:1  (limite AA, image invisible)
     - opacité 0,25 sans voile  -> 3,80:1  ÉCHEC
     - opacité 0,38 + voile 46% -> 4,52:1  conforme
   On retient donc : opacité 0,38 + voile radial jusqu'à 82% au centre,
   ce qui laisse une marge confortable au-dessus du seuil AA de 4,5:1.
   L'image reste lisible sur les bords, le texte repose sur un coeur
   assombri. C'est le seul moyen d'avoir les deux.
   ==================================================================== */
.hero-shot {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  /* Opacité VOLONTAIREMENT haute (0,75) : contre-intuitif, mais c'est le
     voile radial qui gère la lisibilité, pas l'opacité. Une opacité basse
     + voile faible donnait 4 % d'image visible ; ce réglage en donne 16,6 %
     pour un contraste équivalent. Mesuré, pas estimé. */
  opacity: .75;
  /* Flou léger : la capture doit se lire comme une TEXTURE, pas comme un
     contenu qui rivalise avec le titre. scale() masque les bords adoucis. */
  filter: blur(3px) saturate(1.06);
  transform: scale(1.06);
}
/* Le voile — c'est LUI qui garantit la lisibilité :
   - radial : assombrit fortement le coeur, là où se trouve le texte
   - linéaire : fond uni sous l'en-tête, fondu vers la section suivante
   L'image reste donc visible sur les bords et disparaît sous le texte. */
.hero-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(115% 80% at 50% 42%,
      rgba(7, 11, 17, .78) 0%,
      rgba(7, 11, 17, .72) 34%,
      rgba(7, 11, 17, .48) 62%,
      rgba(7, 11, 17, .12) 84%,
      rgba(7, 11, 17, 0) 100%),
    linear-gradient(180deg,
      var(--bg) 0%,
      rgba(7, 11, 17, .70) 10%,
      rgba(7, 11, 17, 0) 28%,
      rgba(7, 11, 17, 0) 66%,
      rgba(7, 11, 17, .72) 90%,
      var(--bg) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1; /* la grille technique passe AU-DESSUS de la capture */
  opacity: .17;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 78%);
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}
.hero-aurora {
  position: absolute;
  z-index: 1; /* au-dessus de la capture, sous le texte (z-index 2) */
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}
.hero-aurora-a {
  width: min(520px, 90vw);
  aspect-ratio: 1;
  left: -22%;
  top: 40px;
  background: radial-gradient(circle, rgba(8, 121, 216, .26), transparent 68%);
}
.hero-aurora-b {
  width: min(620px, 100vw);
  aspect-ratio: 1;
  right: -25%;
  top: 180px;
  background: radial-gradient(circle, rgba(240, 68, 82, .16), transparent 69%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - (var(--gutter) * 2), 980px);
  margin-inline: auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(244, 189, 82, .3);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(244, 189, 82, .16), rgba(54, 168, 255, .08));
  color: #ffe7b2;
  font-size: var(--fs-micro);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(50, 213, 131, .12);
}

.hero h1 {
  margin: clamp(18px, 2.4vw, 26px) auto clamp(16px, 2vw, 24px);
  color: #fff;
  font-size: var(--fs-h1);
  line-height: 1.03;
  letter-spacing: -.045em;
  font-weight: 780;
}

/* Le sous-titre bleu sous le grand titre.
   Il reste dans le <h1> : Google lit donc « Fahombiazana Studio Pro Régie
   vidéo et Automation TV », ce qui correspond exactement à la balise
   <title>. C'est ce qui rend le titre cohérent pour le référencement. */
.hero h1 span {
  display: inline-block;
  margin-top: .26em;
  /* 0,5em = moitié du titre. Le clamp impose un plancher de 17px : sans lui,
     sur un écran de 390px le H1 tombe à 32px et le sous-titre à 16px, soit
     la taille du corps de texte — la hiérarchie disparaîtrait. */
  font-size: clamp(17px, .5em, 40px);
  font-weight: 700;
  letter-spacing: -.01em;
  background: linear-gradient(90deg, #45b1ff, #77e7ef 55%, #b0d4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 720px;
  margin-inline: auto;
  color: var(--muted);
  /* Taille réduite à la demande : 18px -> 15,5px sur grand écran.
     On n'utilise PAS --fs-lg ici : cette variable sert aussi ailleurs
     dans la page, la modifier aurait rétréci d'autres textes.
     Le paragraphe reste sous le seuil WCAG de 24px, donc l'exigence
     de contraste ne change pas (4,5:1 dans les deux cas). */
  font-size: clamp(14px, .35vw + 12.9px, 15.5px);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 32px);
}

/* — Carte prix du hero — */
.launch-price-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
  max-width: 900px;
  margin: clamp(22px, 3vw, 28px) auto 0;
  padding: clamp(18px, 2.4vw, 22px);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
  box-shadow: 0 28px 70px rgba(0, 0, 0, .22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  text-align: left;
}
.launch-price-main span {
  display: block;
  color: #ffe0a1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}
.launch-price-main strong {
  display: block;
  margin: 8px 0 7px;
  color: #fff;
  font-size: var(--fs-price);
  line-height: 1;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.launch-price-main p { margin: 0; color: #b6c6d8; font-size: var(--fs-xs); }

.launch-price-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.launch-price-benefits div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  background: rgba(7, 26, 47, .64);
  color: #eef6ff;
  font-size: var(--fs-tiny);
}
.launch-price-benefits b { color: #44d391; }

.hero-meta {
  margin-top: clamp(18px, 2.4vw, 24px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: #8b9bae;
  font-size: var(--fs-micro);
  font-weight: 650;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta i { width: 4px; height: 4px; border-radius: 50%; background: #6cbcf9; }

/* — Bandeau défilant des capacités — */
.capability-strip {
  position: relative;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: #080d14;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.strip-track {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 25px;
  width: max-content;
  padding-left: 25px;
  white-space: nowrap;
  color: #8496ab;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .18em;
  animation: strip-scroll 32s linear infinite;
}
.capability-strip:hover .strip-track { animation-play-state: paused; }
.strip-track i { width: 4px; height: 4px; border-radius: 50%; background: #2a9ce9; flex: 0 0 auto; }
@keyframes strip-scroll{
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   07. INTERFACE (cartes)
   ========================================================================== */
.interface-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 22px);
}
.interface-card {
  overflow: hidden;
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease;
}
.interface-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(20, 34, 50, .12);
}
.interface-image {
  position: relative;
  aspect-ratio: 4 / 3;                 /* remplace la hauteur fixe : jamais déformé */
  overflow: hidden;
  background: #091018;
}
.interface-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.interface-image span {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(7, 11, 17, .86);
  color: #fff;
  font-size: var(--fs-tiny);
  font-weight: 900;
}
.interface-copy { padding: clamp(18px, 2vw, 25px); }
.interface-copy small {
  color: var(--blue-ink);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}
.interface-copy h3 { margin: 10px 0 8px; font-size: var(--fs-xl); letter-spacing: -.02em; }
.interface-copy p { margin: 0; color: var(--muted-dark); font-size: var(--fs-xs); }

/* ==========================================================================
   08. PILIERS
   ========================================================================== */
.pillars { padding: 0; background: #fff; color: var(--dark); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  border-left: 1px solid #e0e6ed;
}
.pillar {
  padding: clamp(40px, 5vw, 70px) clamp(24px, 3vw, 48px);
  border-right: 1px solid #e0e6ed;
  border-bottom: 1px solid #e0e6ed;
}
.pillar-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #eaf5ff;
  color: #188fdf;
}
.pillar-icon svg { width: 24px; height: 24px; }
.pillar h3 { margin: 24px 0 10px; font-size: var(--fs-xl); }
.pillar p { margin: 0; color: var(--muted-dark); font-size: var(--fs-sm); }

/* ==========================================================================
   09. WORKFLOW
   ========================================================================== */
.workflow-section { position: relative; background: #080d14; overflow: hidden; }
.workflow-section::after {
  content: "";
  position: absolute;
  width: min(530px, 90vw);
  aspect-ratio: 1;
  right: -18%;
  bottom: -22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 168, 255, .18), transparent 70%);
}
.workflow-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 5vw, 85px);
  align-items: center;
}
.workflow-copy h2 { color: #fff; }
.workflow-copy > p { color: var(--muted); }

.workflow-tabs { margin-top: clamp(24px, 3vw, 33px); display: grid; gap: 8px; }
.workflow-tab {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #0c131d;
  color: #93a3b6;
  text-align: left;
  transition: border-color .2s, background .2s, color .2s;
}
.workflow-tab span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #151f2b;
  color: #8394a8;
  font-size: 10px;
  font-weight: 850;
  flex: 0 0 auto;
}
.workflow-tab b { font-size: var(--fs-xs); }
.workflow-tab:hover { border-color: rgba(54, 168, 255, .25); color: #dbe7f4; }
.workflow-tab.active {
  border-color: rgba(54, 168, 255, .4);
  background: rgba(54, 168, 255, .08);
  color: #fff;
}
.workflow-tab.active span { background: #198fe7; color: #fff; }

.workflow-panel {
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #111a26, #0a1018);
  box-shadow: var(--shadow);
}
.workflow-label { color: #55b9ff; font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.workflow-screen h3 { margin: 12px 0 18px; color: #fff; font-size: var(--fs-h3); line-height: 1.2; }
.workflow-screen ul { list-style: none; margin: 0; padding: 0; }
.workflow-screen li {
  position: relative;
  padding: 11px 0 11px 27px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: #b3c0cf;
  font-size: var(--fs-xs);
}
.workflow-screen li:last-child { border-bottom: 0; }
.workflow-screen li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

.workflow-numbers {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 14px;
}
.workflow-numbers div { display: flex; flex-direction: column; }
.workflow-numbers strong {
  color: #fff;
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.workflow-numbers span {
  margin-top: 6px;
  color: #8496ab;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* ==========================================================================
   10. FONCTIONNALITÉS
   ========================================================================== */
.feature-section { background: var(--light-2); color: var(--dark); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  border-top: 1px solid var(--light-line);
  border-left: 1px solid var(--light-line);
}
.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: clamp(20px, 2.4vw, 29px);
  border-right: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
  background: #fff;
  transition: background .22s, transform .22s, box-shadow .22s;
}
.feature-card:hover {
  background: #f2f8fd;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(15, 39, 64, .07);
}
.feature-number { color: var(--blue-ink); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.feature-card h3 { margin: auto 0 10px; padding-top: 32px; font-size: var(--fs-lg); }
.feature-card p { margin: 0; color: var(--muted-dark); font-size: var(--fs-xs); }

/* ==========================================================================
   11. OPÉRATEUR + OFFRE 25 USD
   ========================================================================== */
.operator-section { background: var(--bg-2); }
.operator-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 4vw, 70px);
  align-items: center;
}
.operator-visual {
  position: relative;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  background: #1a2635;
  box-shadow: var(--shadow);
}
.operator-visual img { border-radius: 9px; aspect-ratio: 1912 / 1027; object-fit: cover; }
.operator-focus {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 7px;
  background: rgba(7, 11, 17, .86);
  color: #fff;
  font-size: 9px;
  letter-spacing: .1em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.operator-focus span { width: 7px; height: 7px; border-radius: 50%; background: #35a8fb; }
.focus-a { left: 4%; top: 15%; }
.focus-b { left: 50%; top: 32%; }
.focus-c { right: 4%; top: 15%; }

.operator-copy h2 { color: #fff; }
.operator-copy > p { color: var(--muted); }
.operator-list { margin-top: 28px; display: grid; gap: 12px; }
.operator-list > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  background: #0e1621;
}
.operator-list > div > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(50, 213, 131, .12);
  color: var(--green);
  font-weight: 900;
}
.operator-list p { margin: 0; color: #93a3b6; font-size: var(--fs-tiny); }
.operator-list b { display: block; margin-bottom: 2px; color: #fff; font-size: var(--fs-xs); }

/* — Section offre — */
.launch-offer-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
  color: #0a1623;
}
.launch-offer-section::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -80px;
  width: min(320px, 60vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 168, 255, .16), transparent 72%);
}
.launch-offer-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(340px, 430px);
  gap: clamp(32px, 4vw, 52px);
  align-items: center;
}
.launch-offer-copy h2 span { color: var(--blue-ink); }
.launch-offer-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.launch-offer-tags span {
  padding: 10px 14px;
  border: 1px solid #dce6ef;
  border-radius: 999px;
  background: #fff;
  color: #142235;
  font-size: var(--fs-tiny);
  font-weight: 750;
  box-shadow: 0 10px 26px rgba(10, 20, 34, .05);
}
.payment-methods {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid #d9e4ee;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.72);
  box-shadow: 0 14px 32px rgba(10, 20, 34, .05);
}
.payment-methods > small {
  display: block;
  margin-bottom: 10px;
  color: #4d5f73;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.payment-methods > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.payment-methods > div > span {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 58px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 11px;
  color: #fff;
  font-size: var(--fs-tiny);
  font-weight: 850;
  line-height: 1.25;
  text-decoration: none;
  box-shadow: 0 9px 20px rgba(10,20,34,.1);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.payment-methods > div > span span { font-size: 10px; opacity: .9; }
.payment-methods > div > span b { margin-top: 3px; font-size: 13px; letter-spacing: .025em; }
.payment-methods .pay-mvola { background: #168c68; }
.payment-methods .pay-orange { background: #f16e00; }
.payment-methods .pay-airtel { background: #df1327; }
.payment-methods p { margin: 9px 0 0; color: #65758a; font-size: 11px; }
.launch-offer-box {
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--navy), #102b4b);
  color: #fff;
  box-shadow: 0 32px 80px rgba(4, 10, 18, .24);
}
.launch-offer-box > small {
  display: block;
  color: #9dd6ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}
.launch-offer-box > strong {
  display: block;
  margin: 10px 0 8px;
  font-size: clamp(44px, 5vw, 68px);
  line-height: .92;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.launch-offer-box > p { margin: 0; color: #b7c8d9; font-size: var(--fs-sm); }
.launch-offer-box ul { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 10px; }
.launch-offer-box li {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  color: #edf5fc;
  font-size: var(--fs-xs);
}

/* ==========================================================================
   12. TÉLÉCHARGEMENT
   ========================================================================== */
.download-section { position: relative; background: #07101a; overflow: hidden; }
.download-glow {
  position: absolute;
  width: min(650px, 110vw);
  aspect-ratio: 1;
  left: -240px;
  top: -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 168, 255, .18), transparent 70%);
}
.download-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(360px, 520px);
  gap: clamp(32px, 5vw, 95px);
  align-items: center;
}
.download-copy h2 { color: #fff; }
.download-copy > p { color: var(--muted); }
.requirements { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.requirements span {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 7px;
  background: rgba(255, 255, 255, .03);
  color: #b3c0cf;
  font-size: var(--fs-micro);
  font-weight: 750;
}
.download-card {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #111b28, #0b121c);
  box-shadow: var(--shadow);
}
.download-launch-price {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  padding: 9px 13px;
  border: 1px solid rgba(244, 189, 82, .3);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(244, 189, 82, .18), rgba(244, 189, 82, .06));
  text-align: right;
}
.download-launch-price span {
  display: block;
  color: #ffe1a2;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.download-launch-price strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1;
}
.download-card-head {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 14px;
}
.download-card-head img { width: 52px; height: 52px; object-fit: contain; }
.download-card-head small { color: #8496ab; font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.download-card-head h3 { margin: 4px 0 0; color: #fff; font-size: var(--fs-lg); }
.windows-badge {
  width: 42px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #157ed0;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}
.release-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 8px;
  margin: 24px 0;
}
.release-info div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius-sm);
  background: #0a111a;
}
.release-info small, .release-info b { display: block; }
.release-info small { color: #8496ab; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.release-info b { margin-top: 4px; color: #dce8f4; font-size: var(--fs-micro); }
.download-card .btn + .btn { margin-top: 9px; }
.download-note { margin: 15px 0 0; color: #8496ab; font-size: var(--fs-micro); text-align: center; }
.download-note code { color: #8cc7f5; font-family: var(--font-mono); }

/* ==========================================================================
   13. FAQ
   ========================================================================== */
.faq-section { background: var(--light); color: var(--dark); }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 4vw, 85px); }
.faq details { border-bottom: 1px solid #dce3ea; }
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  color: #101c2a;
  font-size: var(--fs-sm);
  font-weight: 800;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span {
  flex: 0 0 auto;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e6ebf1;
  transition: transform .2s, background .2s, color .2s;
}
.faq details[open] summary span { transform: rotate(45deg); background: #198fe7; color: #fff; }
.faq details p { max-width: 92%; margin: -6px 0 22px; color: var(--muted-dark); font-size: var(--fs-xs); }

/* ==========================================================================
   14. CONTACT
   ========================================================================== */
.contact-section { padding: var(--section-y) 0; background: #080d14; }
.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 4vw, 80px);
  align-items: center;
}
.contact-copy h2 { color: #fff; }
.contact-copy > p { color: var(--muted); }
.contact-channels { display: grid; gap: 10px; margin-top: 26px; }
.contact-channel {
  margin-top: 0;
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
  transition: border-color .2s, background .2s;
}
.contact-channel:hover { border-color: rgba(50, 213, 131, .4); background: rgba(50, 213, 131, .06); }
.contact-channel > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: #153f2f;
  color: #65dfaa;
  font-size: 10px;
  font-weight: 900;
  flex: 0 0 auto;
}
.contact-channel small, .contact-channel b { display: block; }
.contact-channel small { color: #8496ab; font-size: 10px; }
.contact-channel b { color: #fff; font-size: var(--fs-tiny); }
.contact-email:hover { border-color: rgba(54, 168, 255, .45); background: rgba(54, 168, 255, .07); }
.contact-email > span { background: #123653; color: #69bfff; font-size: 17px; }
.contact-payments { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 17px; }
.contact-payments small { width: 100%; color: #7f91a7; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.contact-payments > span { display: flex; flex-direction: column; gap: 2px; min-width: 138px; padding: 8px 11px; border: 1px solid #26374b; border-radius: 9px; background: #0d1622; color: #d9e8f7; text-decoration: none; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.contact-payments > span span { color: #8fa6bd; font-size: 10px; font-weight: 800; }
.contact-payments > span b { color: #fff; font-size: 12px; letter-spacing: .025em; }
.footer-email { color: #9ed3ff; font-size: var(--fs-tiny); font-weight: 750; }
.footer-email:hover { color: #fff; }

.contact-form {
  padding: clamp(20px, 2.4vw, 29px);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.contact-form label {
  display: block;
  margin-bottom: 14px;
  color: #c7d2df;
  font-size: var(--fs-micro);
  font-weight: 800;
  letter-spacing: .03em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid #2a394c;
  border-radius: var(--radius-sm);
  background: #0a111a;
  color: #edf3fa;
  font-size: 16px;            /* 16px = pas de zoom automatique sur iPhone */
  font-weight: 500;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #64758a; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #299ce9;
  box-shadow: 0 0 0 3px rgba(41, 156, 233, .14);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .btn { margin-top: 4px; }
.privacy-note { display: block; margin-top: 11px; color: #7d8ea3; text-align: center; font-size: var(--fs-micro); }

/* ==========================================================================
   15. PIED DE PAGE
   ========================================================================== */
.site-footer {
  background: #05080d;
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding-bottom: var(--safe-b);
}
.footer-main {
  min-height: 120px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 35px;
  padding: 24px 0;
}
.footer-main p { margin: 0; color: #8496ab; font-size: var(--fs-micro); }
.footer-main nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  color: #a2b2c4;
  font-size: var(--fs-micro);
  font-weight: 650;
}
.footer-main nav a:hover { color: #fff; }
.footer-bottom {
  min-height: 56px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: #74849a;
  font-size: var(--fs-micro);
}

/* ==========================================================================
   16. DIALOG / TOAST / PWA
   ========================================================================== */
.shot-dialog {
  width: min(96vw, 1720px);
  max-height: 95dvh;
  padding: 8px;
  border: 1px solid #34465c;
  border-radius: var(--radius);
  background: var(--bg-2);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .72);
}
.shot-dialog::backdrop {
  background: rgba(0, 0, 0, .85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.shot-dialog img { max-height: 88dvh; width: auto; margin: auto; border-radius: var(--radius-sm); }
.dialog-close {
  position: fixed;
  right: calc(20px + var(--safe-r));
  top: calc(16px + var(--safe-t));
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(7, 11, 17, .85);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.toast {
  position: fixed;
  z-index: 3000;
  right: calc(18px + var(--safe-r));
  bottom: calc(18px + var(--safe-b));
  max-width: min(360px, calc(100vw - 36px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid #2b3b4e;
  border-radius: var(--radius);
  background: var(--surface);
  color: #fff;
  box-shadow: var(--shadow);
  font-size: var(--fs-tiny);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .22s, transform .22s;
}
.toast.show { opacity: 1; transform: none; pointer-events: auto; }
.toast button {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 7px;
  background: var(--blue-2);
  color: #fff;
  font-size: var(--fs-micro);
  font-weight: 800;
}

/* Bouton « Installer l'application » (PWA) */
.install-btn { display: none; }
.install-btn.available { display: inline-flex; }

/* Bandeau hors ligne */
.offline-bar {
  position: fixed;
  z-index: 2500;
  left: 50%;
  bottom: calc(16px + var(--safe-b));
  transform: translate(-50%, 30px);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid rgba(247, 183, 49, .35);
  border-radius: 999px;
  background: rgba(30, 22, 6, .95);
  color: #ffdf9a;
  font-size: var(--fs-micro);
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .22s;
}
.offline-bar.show { opacity: 1; transform: translate(-50%, 0); }
.offline-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }

/* Barre d'action fixe sur mobile (accès permanent à l'offre) */
.mobile-cta {
  position: fixed;
  z-index: 900;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px calc(14px + var(--safe-r)) calc(10px + var(--safe-b)) calc(14px + var(--safe-l));
  border-top: 1px solid var(--line-soft);
  background: rgba(7, 11, 17, .94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transform: translateY(110%);
  transition: transform .28s ease;
}
.mobile-cta.show { transform: none; }
.mobile-cta-price { display: flex; flex-direction: column; line-height: 1.15; }
.mobile-cta-price small { color: #8496ab; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.mobile-cta-price strong { color: #fff; font-size: var(--fs-lg); }
.mobile-cta .btn { flex: 1; min-height: 44px; }

/* ==========================================================================
   17. MEDIA QUERIES
   Ordre : du plus large au plus étroit.
   ========================================================================== */

/* — Tablette paysage / petit portable — */
@media (max-width: 1180px){
  /* ------------------------------------------------------------------
     CAPTURE DE FOND : réglage OBLIGATOIREMENT différent ici.
     En grand écran, le texte fait 980px centrés : il reste des marges
     latérales où l'image peut respirer. En dessous de 1180px, le texte
     va d'un bord à l'autre — il passe donc sur les zones claires de la
     capture (le moniteur Programme est presque blanc).
     Contraste mesuré avec le réglage desktop sur iPhone : 3,77:1 ÉCHEC.
     Avec le réglage ci-dessous : 6,25:1 conforme.
     ------------------------------------------------------------------ */
  .hero-shot img {
    opacity: .55;
    filter: blur(4px) saturate(1.04);
  }
  .hero-shot::after {
    background:
      radial-gradient(150% 105% at 50% 42%,
        rgba(7, 11, 17, .80) 0%,
        rgba(7, 11, 17, .76) 45%,
        rgba(7, 11, 17, .62) 75%,
        rgba(7, 11, 17, .45) 100%),
      linear-gradient(180deg,
        var(--bg) 0%,
        rgba(7, 11, 17, .72) 10%,
        rgba(7, 11, 17, .10) 30%,
        rgba(7, 11, 17, .10) 70%,
        rgba(7, 11, 17, .74) 90%,
        var(--bg) 100%);
  }

  .workflow-layout,
  .operator-layout,
  .download-layout,
  .contact-layout,
  .launch-offer-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 48px);
  }
  .download-card,
  .launch-offer-box,
  .contact-form { max-width: 660px; width: 100%; }
  .operator-focus { font-size: 8px; }
}

/* — Tablette portrait : bascule du menu — */
@media (max-width: 900px){
  :root { --header-h: 64px; }

  .header-cta,
  .nav-clock { display: none; }
  .menu-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: calc(var(--header-h) + var(--safe-t) + 8px);
    left: var(--gutter);
    right: var(--gutter);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: calc(100dvh - var(--header-h) - var(--safe-t) - 24px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid #29384a;
    border-radius: var(--radius-lg);
    background: #0c131d;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px) scale(.98);
    pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .main-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav a {
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
  }
  .main-nav a:hover,
  .main-nav a:active { background: #152130; }
  .main-nav .nav-cta {
    margin-top: 8px;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: #07131f;
    font-weight: 850;
  }

  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-cta { display: flex; }
  .site-footer { padding-bottom: calc(var(--safe-b) + 76px); }
}

/* — Mobile — */
@media (max-width: 640px){
  .launch-price-card,
  .launch-price-benefits { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .download-launch-price {
    position: static;
    display: inline-block;
    margin-bottom: 14px;
    text-align: left;
  }
  .interface-image { aspect-ratio: 16 / 10; }
  .footer-main,
  .footer-bottom { flex-direction: column; justify-content: center; text-align: center; }
  .footer-main nav { margin-left: 0; justify-content: center; }
  .faq details p { max-width: 100%; }
}

/* — Très petits écrans (320–380 px) — */
@media (max-width: 380px){
  :root { --gutter: 14px; }
  .brand small { letter-spacing: .22em; }
  .flag-mg { width: 22px; height: 15px; margin-left: 0; }
  .launch-offer-tags span { padding: 8px 11px; }
  .mobile-cta { gap: 8px; }
  .mobile-cta-price strong { font-size: var(--fs-sm); }
}

/* — Paysage court (téléphone couché) — */
@media (max-height: 480px) and (orientation: landscape){
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .main-nav { max-height: calc(100dvh - var(--header-h) - 16px); }
}

/* ==========================================================================
   18. ACCESSIBILITÉ / IMPRESSION
   ========================================================================== */

/* Respect du réglage système « réduire les animations » */
@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .strip-track { animation: none; }
}

/* Mode contraste élevé */
@media (prefers-contrast: more){
  :root { --muted: #c3d0de; --muted-dark: #45525f; }
  .btn { border-color: currentColor; }
  /* Si la personne a demandé un contraste renforcé dans son système,
     on retire complètement la capture de fond : aucune image derrière
     le texte. C'est un réglage d'accessibilité, pas une préférence. */
  .hero-shot { display: none; }
}

@media print{
  .site-header, .mobile-cta, .toast, .offline-bar,
.hero-aurora, .download-glow { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
  a::after { content: " (" attr(href) ")"; font-size: 10px; }
}

/* ==========================================================================
   19. COMPTEURS (visiteurs / téléchargements)
   ========================================================================== */
.foot-compteur {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font-size: 12px;
}
.foot-compteur b {
  color: #fff;
  font-variant-numeric: tabular-nums; /* les chiffres ne sautillent pas
                                         pendant l'animation du compteur */
  font-weight: 800;
}
.release-info b[data-compteur] { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   20. TITLE DESIGNER PRO
   ========================================================================== */
.designer-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(103, 74, 255, .2), transparent 32%),
    radial-gradient(circle at 12% 86%, rgba(54, 168, 255, .12), transparent 30%),
    #070b11;
}
.designer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}
.designer-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.designer-copy h2 {
  margin: 12px 0 20px;
  color: #fff;
  font-size: var(--fs-h2);
  line-height: 1.05;
}
.designer-copy > p { color: var(--muted); max-width: 630px; }
.designer-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0 32px; }
.designer-tags span {
  padding: 8px 12px;
  border: 1px solid rgba(128, 172, 255, .22);
  border-radius: 999px;
  background: rgba(67, 101, 173, .09);
  color: #cbdcff;
  font-size: var(--fs-tiny);
  font-weight: 750;
}
.designer-console {
  overflow: hidden;
  border: 1px solid rgba(117, 150, 210, .28);
  border-radius: 18px;
  background: #0b1018;
  box-shadow: 0 38px 100px rgba(0,0,0,.52), 0 0 80px rgba(67, 84, 255, .12);
}
.designer-visual {
  overflow: hidden;
  border: 1px solid rgba(117, 150, 210, .28);
  border-radius: 18px;
  background: #0b1018;
  box-shadow: 0 38px 100px rgba(0,0,0,.52), 0 0 80px rgba(67, 84, 255, .12);
}
.designer-real { margin: 0; padding: 8px 8px 0; }
.designer-real picture,
.designer-real img { display: block; width: 100%; }
.designer-real img {
  aspect-ratio: 1490 / 1002;
  object-fit: cover;
  object-position: center;
  border: 1px solid #26344a;
  border-radius: 11px;
  background: #080d15;
}
.designer-real figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 8px 13px;
  color: #8797ad;
  font-size: 10px;
  line-height: 1.45;
}
.designer-real figcaption span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(50, 213, 131, .65);
}
.designer-console-head {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 17px;
  border-bottom: 1px solid #233045;
  background: #111823;
  font-size: var(--fs-tiny);
  letter-spacing: .08em;
}
.designer-console-head > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: linear-gradient(135deg, #278ef2, #794dff);
  color: #fff;
  font-weight: 900;
}
.designer-console-head b { color: #e9f1ff; }
.designer-console-head small { margin-left: auto; color: var(--green); font-weight: 800; }
.designer-timeline { padding: 18px; border-bottom: 1px solid #202d3e; }
.timeline-toolbar { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; }
.timeline-toolbar i { width: 18px; height: 18px; border-radius: 4px; background: #233044; }
.timeline-toolbar span { margin-left: auto; color: #8ec8ff; font-family: var(--font-mono); font-size: 11px; }
.timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  min-height: 34px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.timeline-row b { color: #aebcd0; font-size: 10px; font-weight: 700; }
.timeline-row > span {
  width: var(--w);
  height: 18px;
  border: 1px solid rgba(78, 174, 255, .36);
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(30, 139, 234, .48), rgba(119, 73, 255, .42));
}
.timeline-row em {
  position: absolute;
  right: 22%;
  color: #f4bd52;
  font-size: 8px;
  font-style: normal;
}
.timeline-row em:nth-of-type(2) { right: 42%; }
.timeline-row em:nth-of-type(3) { right: 64%; }
.timeline-ruler { display: flex; justify-content: space-between; padding: 8px 0 0 92px; color: #627187; font: 9px var(--font-mono); }
.designer-capabilities { display: grid; grid-template-columns: 1fr 1fr; }
.designer-capabilities div { padding: 18px; border-right: 1px solid #202d3e; border-bottom: 1px solid #202d3e; }
.designer-capabilities div:nth-child(2n) { border-right: 0; }
.designer-capabilities div:nth-last-child(-n+2) { border-bottom: 0; }
.designer-capabilities strong { display: block; margin-bottom: 6px; color: #edf4ff; font-size: var(--fs-xs); }
.designer-capabilities span { display: block; color: #8292a8; font-size: 11px; line-height: 1.55; }

@media (max-width: 1040px) {
  .designer-layout { grid-template-columns: 1fr; }
  .designer-copy { max-width: 760px; }
}
@media (max-width: 640px) {
  .payment-methods > div { grid-template-columns: 1fr; }
  .payment-methods > div > span { min-height: 54px; }
  .contact-payments > span { width: 100%; }
  .designer-capabilities { grid-template-columns: 1fr; }
  .designer-capabilities div { border-right: 0; }
  .designer-capabilities div:nth-last-child(2) { border-bottom: 1px solid #202d3e; }
  .timeline-row { grid-template-columns: 72px 1fr; }
  .timeline-ruler { padding-left: 72px; }
  .designer-real { padding: 5px 5px 0; }
  .designer-real figcaption { align-items: flex-start; }
  .contact-channel { width: 100%; }
  .contact-channel b { overflow-wrap: anywhere; }
}
