/* ===========================================================
   AzVision — site vitrine
   Charte : marine #05274C + rouge #CE3827 (relevés dans le logo)
   Style   : Adobe Spectrum (cohérent avec le logiciel) — surfaces
             claires, profondeur en couches, accents par domaine.
   Densité 3/10 (spacieux) · mouvement 2/10 (discret)
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Identité */
  --navy:          #05274C;  /* logo — 15,2:1 sous du blanc */
  --navy-deep:     #041C38;
  --navy-soft:     #0B3868;
  --red:           #CE3827;  /* logo — 4,97:1 sous du blanc */
  --red-deep:      #A62A1B;  /* survol — 7,22:1 */
  --red-wash:      #FBEEEC;

  /* Surfaces */
  --bg:            #FFFFFF;
  --bg-alt:        #F4F7FC;
  --surface:       #FFFFFF;
  --line:          #E2E8F0;
  --line-strong:   #CBD5E1;

  /* Texte */
  --ink:           #0F172A;  /* 16,1:1 sur blanc */
  --ink-soft:      #44526B;  /* 8,3:1 sur blanc, 7,6:1 sur --bg-alt */
  --on-navy:       #FFFFFF;
  --on-navy-soft:  #BFD0E6;  /* 9,6:1 sur --navy */

  /* Sens */
  --ok:            #15803D;
  --ok-wash:       #ECFAF0;
  --warn:          #B45309;

  /* Mesures */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --shadow-s: 0 1px 2px rgba(5,39,76,.06), 0 2px 8px rgba(5,39,76,.05);
  --shadow-m: 0 2px 6px rgba(5,39,76,.07), 0 12px 28px rgba(5,39,76,.09);
  --shadow-l: 0 30px 70px rgba(4,28,56,.28);

  --space-1: 8px;  --space-2: 16px;  --space-3: 24px;
  --space-4: 40px; --space-5: 64px;  --space-6: 96px;

  --max: 1160px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.16rem; font-weight: 700; }
p  { margin: 0 0 var(--space-2); }
a  { color: var(--navy-soft); }

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

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

section { padding-block: var(--space-6); }
section.serre { padding-block: var(--space-5); }
.fond-clair { background: var(--bg-alt); }
.fond-marine { background: var(--navy); color: var(--on-navy); }
.fond-marine h2, .fond-marine h3 { color: #fff; }
.fond-marine p { color: var(--on-navy-soft); }
/* Les cartes claires posées sur le marine gardent leur propre encre */
.fond-marine .carte h3 { color: var(--navy); }
.fond-marine .carte p  { color: var(--ink-soft); }

/* ---------- Éléments de titre ---------- */
.surtitre {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.fond-marine .surtitre { color: #FF9A8B; }
.surtitre::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: currentColor; }

.tete-section { max-width: 760px; margin-bottom: var(--space-4); }
.tete-section.centre { margin-inline: auto; text-align: center; }
.tete-section p { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 0; }
.fond-marine .tete-section p { color: var(--on-navy-soft); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font: 600 1rem/1 'Inter', sans-serif;
  border-radius: 10px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn-rouge { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(206,56,39,.28); }
.btn-rouge:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn-rouge:active { transform: translateY(0); }
.btn-clair { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(191,208,230,.45); }
.btn-clair:hover { background: rgba(255,255,255,.16); }
.btn-marine { background: var(--navy); color: #fff; }
.btn-marine:hover { background: var(--navy-soft); transform: translateY(-1px); }
.btn-ligne { background: #fff; color: var(--navy); border-color: var(--line-strong); }
.btn-ligne:hover { border-color: var(--navy); background: #fff; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px;
}
.fond-marine a:focus-visible, .entete a:focus-visible, .entete button:focus-visible {
  outline-color: #FFB3A6;
}

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(191,208,230,.16);
}
.entete .contenu { display: flex; align-items: center; gap: var(--space-3); min-height: 72px; }
.marque img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: #DCE6F4; text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: 10px 14px; border-radius: 8px; transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav a:hover { background: rgba(255,255,255,.09); color: #fff; }
.entete .btn { min-height: 44px; margin-left: var(--space-1); white-space: nowrap; }
.entete .nav a.btn, .entete .nav a.btn:hover { color: #fff; }
.burger {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(191,208,230,.35);
  color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.burger svg { width: 22px; height: 22px; }

/* ---------- Héros ---------- */
.heros {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 78% -10%, rgba(206,56,39,.28), transparent 62%),
    radial-gradient(700px 500px at 8% 0%, rgba(11,56,104,.9), transparent 60%),
    var(--navy-deep);
  color: #fff; padding-block: var(--space-6) 0;
}
.heros h1 { color: #fff; }
.heros-grille { display: grid; grid-template-columns: 1fr 1.08fr; gap: var(--space-5); align-items: center; }
.heros-texte p.accroche { font-size: 1.16rem; color: #C9D8EC; max-width: 34em; }
.heros-texte strong { color: #fff; font-weight: 600; }

.pastille-be {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(191,208,230,.32);
  font-size: .86rem; font-weight: 600; color: #fff; margin-bottom: var(--space-3);
}
.pastille-be .drapeau { width: 22px; height: 16px; border-radius: 3px; overflow: hidden; display: block; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-3); }

.preuves {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin-top: var(--space-4); padding-top: var(--space-3);
  border-top: 1px solid rgba(191,208,230,.2);
  font-size: .9rem; color: #B7C8DF;
}
.preuves span { display: inline-flex; align-items: center; gap: 8px; }
.preuves svg { width: 17px; height: 17px; color: #7FE0A5; flex: none; }

.cadre-app {
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: #0B1729; border: 1px solid rgba(191,208,230,.22); border-bottom: 0;
  box-shadow: var(--shadow-l); overflow: hidden;
}
.cadre-barre { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255,255,255,.05); }
.cadre-barre i { width: 10px; height: 10px; border-radius: 50%; background: rgba(191,208,230,.35); }
.cadre-barre em {
  margin-left: 10px; font-style: normal; font-size: .76rem; color: #8FA6C4;
  background: rgba(0,0,0,.25); padding: 4px 12px; border-radius: 6px;
}
.cadre-app img { display: block; }
.heros-visuel { margin-bottom: -28px; }

/* ---------- Bandeau de logos / chiffres ---------- */
.bande { border-block: 1px solid var(--line); background: var(--bg-alt); padding-block: var(--space-3); }
.bande ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); list-style: none; margin: 0; padding: 0; }
.bande li { text-align: center; }
.bande b {
  display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.85rem;
  font-weight: 800; color: var(--navy); letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.bande span { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Cartes « problème » ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.carte-ecart {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--space-3); box-shadow: var(--shadow-s);
}
.carte-ecart .paire { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.etiq {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .82rem; font-weight: 600; padding: 5px 11px; border-radius: 7px;
}
.etiq-fr { background: #F1F5F9; color: #44526B; text-decoration: line-through; text-decoration-color: #B91C1C; }
.etiq-be { background: var(--ok-wash); color: #14532D; }
.fleche { width: 18px; height: 18px; color: var(--line-strong); flex: none; }
.carte-ecart p { margin: 0; font-size: .97rem; color: var(--ink-soft); }

/* ---------- Tableau comparatif ---------- */
.tableau-enveloppe { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-m); }
table.comparatif { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .97rem; }
table.comparatif th, table.comparatif td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.comparatif thead th { background: #fff; font-family: 'Plus Jakarta Sans', sans-serif; color: var(--navy); font-size: 1rem; border-bottom: 2px solid var(--line-strong); }
table.comparatif thead th:first-child { font-weight: 600; color: var(--ink-soft); font-size: .86rem; text-transform: uppercase; letter-spacing: .06em; }
table.comparatif tbody th { font-weight: 600; color: var(--ink); width: 36%; }
table.comparatif tbody tr:nth-child(even) td, table.comparatif tbody tr:nth-child(even) th { background: #FBFCFE; }
table.comparatif .col-nous { background: var(--red-wash) !important; border-inline: 2px solid rgba(206,56,39,.25); }
table.comparatif thead .col-nous { border-top: 3px solid var(--red); border-radius: var(--r-sm) var(--r-sm) 0 0; }
table.comparatif tbody tr:last-child td, table.comparatif tbody tr:last-child th { border-bottom: 0; }
.verdict { display: inline-flex; align-items: flex-start; gap: 9px; font-weight: 600; color: #14532D; }
.verdict.non { color: #7F1D1D; font-weight: 500; }
.verdict svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.indice-glisser { display: none; font-size: .86rem; color: var(--ink-soft); margin-bottom: 12px; }
.tableau-enveloppe:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.note-tableau { font-size: .85rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Grande carte fonctionnalité ---------- */
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.carte {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: var(--space-3) var(--space-3) calc(var(--space-3) - 4px);
  box-shadow: var(--shadow-s); overflow: hidden;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.carte::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--liseret, var(--navy)); }
.carte:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.carte .ico-rond {
  width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--liseret, var(--navy)) 12%, #fff); color: var(--liseret, var(--navy));
  margin-bottom: 16px;
}
.carte .ico-rond svg { width: 23px; height: 23px; }
.carte p { color: var(--ink-soft); font-size: .99rem; }
.carte ul { margin: 0; padding-left: 0; list-style: none; }
.carte ul li { position: relative; padding-left: 26px; font-size: .95rem; color: var(--ink-soft); margin-bottom: 7px; }
.carte ul li::before {
  content: ""; position: absolute; left: 6px; top: .62em; width: 7px; height: 7px; border-radius: 50%;
  background: var(--liseret, var(--navy));
}

/* Modules */
.grille-modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.module {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 18px; display: flex; gap: 13px; align-items: flex-start;
}
.module svg { width: 21px; height: 21px; color: var(--navy-soft); flex: none; margin-top: 2px; }
.module b { display: block; font-size: .96rem; color: var(--ink); font-weight: 600; }
.module span { font-size: .87rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Galerie d'écrans ---------- */
.onglets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-3); }
.onglets button {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  background: #fff; border: 1px solid var(--line-strong); color: var(--ink-soft);
  font: 600 .94rem 'Inter', sans-serif;
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.onglets button:hover { border-color: var(--navy); color: var(--navy); }
.onglets button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.ecran {
  border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-m); background: #fff;
}
.ecran img { width: 100%; }
.legende { font-size: .9rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Étapes ---------- */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); counter-reset: e; }
.etape { position: relative; padding-top: var(--space-3); border-top: 2px solid rgba(191,208,230,.3); }
.etape::before {
  counter-increment: e; content: counter(e);
  position: absolute; top: -17px; left: 0;
  width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font: 700 .9rem 'Plus Jakarta Sans', sans-serif;
}
.etape h3 { font-size: 1.05rem; margin-bottom: 8px; }
.etape p { font-size: .95rem; margin: 0; }

/* ---------- Tarifs ---------- */
.tarifs { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-4); align-items: center; }
.bloc-tarif {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red);
  border-radius: var(--r); padding: var(--space-4) var(--space-3); box-shadow: var(--shadow-m); text-align: center;
}
.bloc-tarif .montant { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.6rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.bloc-tarif .montant small { display: block; font-size: .92rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; margin-top: 6px; }
.bloc-tarif ul { list-style: none; margin: var(--space-3) 0; padding: 0; text-align: left; }
.bloc-tarif li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: .96rem; color: var(--ink-soft); }
.bloc-tarif li svg { position: absolute; left: 0; top: .2em; width: 18px; height: 18px; color: var(--ok); }
.bloc-tarif .btn { width: 100%; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; margin-bottom: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; position: relative;
  font-weight: 600; color: var(--navy); font-family: 'Plus Jakarta Sans', sans-serif; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--navy-soft); border-bottom: 2px solid var(--navy-soft);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq .reponse { padding: 0 20px 18px; color: var(--ink-soft); font-size: .98rem; }
.faq .reponse p:last-child { margin-bottom: 0; }

/* ---------- Appel final ---------- */
.final {
  background:
    radial-gradient(700px 380px at 85% 0%, rgba(206,56,39,.3), transparent 60%),
    var(--navy);
  color: #fff; border-radius: var(--r-lg); padding: var(--space-5) var(--space-4); text-align: center;
}
.final h2 { color: #fff; }
.final p { color: var(--on-navy-soft); max-width: 44em; margin-inline: auto; }
.final .actions { justify-content: center; }

/* ---------- Pied ---------- */
.pied { background: var(--navy-deep); color: #A8BCD6; padding-block: var(--space-4) var(--space-3); font-size: .93rem; }
.pied-grille { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-3); }
.pied img { height: 34px; width: auto; max-width: 100%; margin-bottom: 16px; }
.pied h4 { color: #fff; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 14px; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 9px; }
.pied a { color: #A8BCD6; text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied-bas {
  margin-top: var(--space-4); padding-top: var(--space-3);
  border-top: 1px solid rgba(168,188,214,.18);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .86rem;
}

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.vu { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .heros-grille { grid-template-columns: 1fr; gap: var(--space-4); }
  .heros-visuel { margin-bottom: -30px; }
  .grille-modules { grid-template-columns: repeat(2, 1fr); }
  .etapes { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-4); }
  .tarifs { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: flex; }
  .entete.ouvert .nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy-deep); border-bottom: 1px solid rgba(191,208,230,.16);
    padding: 12px 24px 20px; gap: 2px;
  }
  .entete.ouvert .nav a { padding: 13px 12px; }
  .entete.ouvert .nav .btn { margin: 14px 0 0; justify-content: center; }
  .trio, .duo { grid-template-columns: 1fr; }
  .indice-glisser { display: block; }
  .bande ul { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-3); }
  .pied-grille { grid-template-columns: 1fr 1fr; row-gap: var(--space-4); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding-block: var(--space-5); }
  .contenu { padding-inline: 18px; }
  .grille-modules { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .final { padding: var(--space-4) var(--space-3); border-radius: var(--r); }
  .pied-grille { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .carte:hover, .btn:hover { transform: none; }
}

@media print {
  .entete, .burger, .final .actions { display: none; }
  body { font-size: 12pt; }
}

/* Texte réservé aux lecteurs d'écran */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===========================================================
   V2 — relief 3D, smartphone, modules caisse et stock
   Tout le mouvement passe par transform/opacity, et rien ne
   bouge sous prefers-reduced-motion (voir le bloc en fin de
   fichier, qui couvre aussi ces règles).
   =========================================================== */

/* ---------- Décor du héros : nappes de couleur + trame ---------- */
.heros { isolation: isolate; }
.heros .lueur {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
  pointer-events: none; z-index: 0;
}
.heros .lueur-1 { width: 620px; height: 620px; top: -220px; right: -120px; background: #CE3827; opacity: .38; }
.heros .lueur-2 { width: 520px; height: 520px; top: 140px; left: -200px; background: #1D5FC4; opacity: .42; }
.heros .lueur-3 { width: 380px; height: 380px; bottom: -120px; left: 45%; background: #0F6E7A; opacity: .3; }
.heros .trame {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(191,208,230,.09) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(191,208,230,.09) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(900px 600px at 50% 20%, #000, transparent 75%);
}
.heros .contenu { position: relative; z-index: 1; }

/* ---------- Scène 3D ---------- */
.scene { perspective: 1800px; perspective-origin: 60% 40%; position: relative; }
.scene-objet {
  --ry: -15deg; --rx: 7deg; --rz: 1.2deg;
  transform-style: preserve-3d;
  transform: rotateY(var(--ry, -15deg)) rotateX(var(--rx, 7deg)) rotateZ(var(--rz, 1.2deg)) translateZ(0);
  transition: transform .6s var(--ease);
  will-change: transform;
}
.fenetre-3d {
  border-radius: 16px; overflow: hidden; background: #0B1729;
  border: 1px solid rgba(191,208,230,.28);
  box-shadow: 0 60px 120px -30px rgba(2,12,28,.85), 0 24px 48px -24px rgba(2,12,28,.6);
}
.fenetre-3d .cadre-barre { border-bottom: 1px solid rgba(191,208,230,.12); }
.fenetre-3d img { display: block; width: 100%; }

/* Reflet de verre par-dessus la capture */
.fenetre-3d::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 16px;
  background: linear-gradient(115deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 32%);
}
.fenetre-3d { position: relative; }

/* ---------- Smartphone ---------- */
.telephone {
  position: absolute; width: 172px; z-index: 3;
  right: -52px; bottom: -6px;
  transform: translateZ(110px) rotateY(5deg) rotateX(2deg);
  border-radius: 26px; padding: 7px;
  background: linear-gradient(160deg, #2B3A52, #0B1422 60%);
  border: 1px solid rgba(191,208,230,.32);
  box-shadow: 0 40px 70px -20px rgba(2,12,28,.8), 0 0 0 1px rgba(0,0,0,.35) inset;
}
.telephone .ecran-tel { position: relative; border-radius: 20px; overflow: hidden; background: #F4F7FC; }
.telephone .ecran-tel img { display: block; width: 100%; }
.telephone .encoche {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 14px; border-radius: 9px; background: #0B1422; z-index: 2;
}
/* ---------- Ruban défilant ---------- */
.ruban {
  background: var(--navy-deep); border-block: 1px solid rgba(191,208,230,.16);
  overflow: hidden; padding-block: 13px; position: relative;
}
.ruban-piste { display: flex; gap: 0; width: max-content; animation: defile 38s linear infinite; }
.ruban-piste ul { display: flex; align-items: center; gap: 40px; list-style: none; margin: 0; padding: 0 20px; }
.ruban li {
  color: #C6D6EA; font-size: .87rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
}
.ruban li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ruban:hover .ruban-piste { animation-play-state: paused; }

/* ---------- Compteurs ---------- */
.bande b .unite { font-size: 1.1rem; font-weight: 700; margin-left: 2px; color: var(--ink-soft); }

/* ---------- Sections module (caisse / stock) ---------- */
.module-bloc { display: grid; grid-template-columns: .86fr 1.14fr; gap: var(--space-5); align-items: center; }
section:has(> .contenu > .module-bloc) { overflow: hidden; }
.module-bloc .module-visuel { margin-right: -110px; }
.module-bloc.inverse .module-visuel { margin-right: 0; margin-left: 0; }
.module-bloc.inverse .module-visuel { order: -1; }
.module-visuel { perspective: 1700px; }
.module-visuel .scene-objet { --ry: 13deg; --rx: 5deg; --rz: -1deg; }
.module-bloc.inverse .module-visuel .scene-objet { --ry: -13deg; --rz: 1deg; }
.cadre-capture {
  border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid var(--line-strong);
  box-shadow: 0 50px 90px -34px rgba(5,39,76,.45), 0 16px 32px -18px rgba(5,39,76,.28);
}
.fond-marine .cadre-capture { border-color: rgba(191,208,230,.3); box-shadow: 0 60px 110px -34px rgba(2,12,28,.9); }
.cadre-capture img { display: block; width: 100%; }

.liste-points { list-style: none; margin: var(--space-3) 0 0; padding: 0; }
.liste-points li { position: relative; padding-left: 34px; margin-bottom: 15px; font-size: 1rem; color: var(--ink-soft); }
.fond-marine .liste-points li { color: var(--on-navy-soft); }
.liste-points li b { color: var(--ink); font-weight: 600; }
.fond-marine .liste-points li b { color: #fff; }
.liste-points li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 7px;
  background: var(--red-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CE3827' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.fond-marine .liste-points li::before { background-color: rgba(206,56,39,.22); }

.liste-points.deux { columns: 2; column-gap: 56px; margin-top: var(--space-4); }
.liste-points.deux li { break-inside: avoid; -webkit-column-break-inside: avoid; }

.bandeau-visuel { perspective: 2200px; margin-top: var(--space-4); }
.bandeau-visuel .scene-objet { --ry: 0deg; --rx: 9deg; --rz: 0deg; transform-origin: 50% 0%; }
.bandeau-visuel .cadre-capture { border-radius: 16px; }

.etiquettes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-3); }
.etiquettes span {
  font-size: .82rem; font-weight: 600; padding: 7px 13px; border-radius: 999px;
  background: var(--bg-alt); color: var(--ink-soft); border: 1px solid var(--line);
}
.fond-marine .etiquettes span { background: rgba(255,255,255,.07); color: #D6E2F2; border-color: rgba(191,208,230,.28); }

/* ---------- Documents ---------- */
.documents { display: grid; grid-template-columns: .95fr 1.05fr; gap: var(--space-5); align-items: center; }
.feuille-3d { perspective: 1600px; }
.feuille-3d .scene-objet { --ry: -11deg; --rx: 4deg; --rz: 1deg; width: min(100%, 440px); margin-inline: auto; }
.porte-feuille {
  position: relative; max-height: 540px; overflow: hidden;
  border-radius: 10px; border: 1px solid var(--line); background: #fff;
  box-shadow: 0 50px 90px -30px rgba(5,39,76,.42), 0 14px 28px -14px rgba(5,39,76,.24);
}
.porte-feuille img { display: block; width: 100%; }
.porte-feuille::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; pointer-events: none;
  background: linear-gradient(rgba(244,247,252,0), var(--bg-alt));
}

/* ---------- Barre d'appel collante (téléphone) ---------- */
.barre-mobile {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(4,28,56,.96); border-top: 1px solid rgba(191,208,230,.22);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  backdrop-filter: blur(8px);
}
.barre-mobile .btn { width: 100%; }

/* ---------- Relief au survol des cartes ---------- */
.carte { transform-style: preserve-3d; }
.carte:hover { transform: translateY(-4px) scale(1.006); }

/* ---------- Responsive V2 ---------- */
@media (max-width: 1040px) {
  .module-bloc, .documents { grid-template-columns: 1fr; gap: var(--space-4); }
  .liste-points.deux { columns: 1; }
  .bandeau-visuel .scene-objet { --rx: 0deg; }
  .module-bloc .module-visuel, .module-bloc.inverse .module-visuel { margin-inline: 0; }
  .module-bloc.inverse .module-visuel { order: 0; }
  .scene-objet, .module-visuel .scene-objet, .feuille-3d .scene-objet,
  .module-bloc.inverse .module-visuel .scene-objet { --ry: 0deg; --rx: 0deg; --rz: 0deg; }
  .telephone { width: 150px; right: 6px; bottom: -14px; transform: none; }
  @media (max-width: 860px) {
  .barre-mobile { display: block; }
  body { padding-bottom: 76px; }
}
@media (max-width: 560px) {
  .telephone { width: 118px; right: 2px; bottom: -10px; border-radius: 20px; padding: 5px; }
  .telephone .ecran-tel { border-radius: 17px; }
  .telephone .encoche { width: 44px; height: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .ruban-piste { animation: none; }
  .scene-objet { transform: none !important; transition: none; }
  .telephone { transform: none; }
}
