/* =====================================================================
   Spectral Technology — système visuel (v3)
   Texte : Plus Jakarta Sans, géométrique, titres très gras et serrés.
   Marque : Archivo large, réservée au mot SPECTRAL TECHNOLOGY.
   Fond : léger dégradé lavande, bleu et cyan, avec le champ vivant (champ.js) derrière le contenu.
   Le spectre (violet → bleu → cyan) : logo, fins de titres, icônes.
   ===================================================================== */

@font-face {
  font-family: "Jakarta";
  src: url("../fonts/PlusJakartaSans.0187359ff062.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/Archivo.0bcc7a5831f4.woff2") format("woff2-variations"), url("../fonts/Archivo.0bcc7a5831f4.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ambre: #f2b33d;
  --vert: #34c77f;
  --rouge: #ff5d6c;
  --spectre-1: #8b5cf6;
  --spectre-2: #3b6cff;
  --spectre-3: #22d3ee;
  --degrade: linear-gradient(135deg, #8b5cf6, #3b6cff 55%, #22d3ee);
  --degrade-texte: linear-gradient(95deg, #a78bfa, #5b7cff 48%, #22d3ee);

  /* thème sombre (par défaut) */
  --fond: #070918;
  --surface: rgba(22, 26, 62, .55);
  --surface-pleine: #0d1030;
  --surface-2: #171c45;
  --ligne: #252b5a;
  --texte: #f2f3fc;
  --texte-2: #a4aacb;
  --texte-3: #6f7699;
  --bouton: #f2f3fc;
  --bouton-encre: #0d1130;
  --accent: #8094ff;
  --accent-encre: #0b0e2a;
  --halo-1: rgba(124, 92, 246, .20);
  --halo-2: rgba(34, 211, 238, .10);
  --halo-3: rgba(59, 91, 255, .16);
  --panneau-sombre: rgba(17, 21, 60, .82);
  --ombre: 0 24px 60px -30px rgba(0, 0, 0, .75);
  --verre: blur(18px) saturate(1.35);

  --f: "Jakarta", system-ui, sans-serif;
  --f-marque: "Archivo", "Jakarta", system-ui, sans-serif;
  --r-l: 24px;
  --r-m: 16px;
  --r-s: 11px;
  --col: min(1200px, 100% - 32px);
  color-scheme: dark;
}

:root[data-theme="clair"] {
  --fond: #eef0fa;
  --surface: rgba(255, 255, 255, .66);
  --surface-pleine: #ffffff;
  --surface-2: #e6e9f7;
  --ligne: #d6dbef;
  --texte: #0d1130;
  --texte-2: #555c80;
  --texte-3: #858ba8;
  --bouton: #0d1130;
  --bouton-encre: #ffffff;
  --accent: #3b5bff;
  --accent-encre: #ffffff;
  --halo-1: rgba(124, 92, 246, .16);
  --halo-2: rgba(34, 211, 238, .12);
  --halo-3: rgba(59, 91, 255, .13);
  --panneau-sombre: rgba(11, 14, 42, .86);
  --ombre: 0 24px 60px -30px rgba(38, 44, 110, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }   /* aucune décoration ne doit élargir la page au balayage */
body {
  margin: 0; min-height: 100vh; background: var(--fond); color: var(--texte);
  font-family: var(--f); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--spectre-2); color: #fff; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ------------------------------------------------------------ typographie */
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
.titre-geant, h1 { font-size: clamp(2.4rem, 6vw, 5.3rem); line-height: 1.02; letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem, 3.7vw, 3.3rem); line-height: 1.05; letter-spacing: -.035em; }
h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.25; }
h4 { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.chapeau { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--texte-2); max-width: 58ch; line-height: 1.6; }
.repere { font-weight: 600; font-size: .9rem; color: var(--texte-2); letter-spacing: .01em; }
.discret { color: var(--texte-3); font-size: .92rem; }
.nombre { font-variant-numeric: tabular-nums; }
.degrade-texte { background: var(--degrade-texte); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------------ structure */
.col { width: var(--col); margin-inline: auto; }
.section { position: relative; padding-block: clamp(72px, 11vw, 140px); }
.section--serree { padding-block: clamp(48px, 7vw, 80px); }
.texte-col { max-width: 620px; }
.grille-2 { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grille-3 { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.pile > * + * { margin-top: 14px; }
.ligne-flex { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.entre { justify-content: space-between; }

/* Fond : dégradé discret, puis le champ vivant, puis le contenu */
.fond-degrade { position: fixed; inset: 0; z-index: -2; pointer-events: none; background:
  radial-gradient(55% 45% at 88% 8%, var(--halo-1), transparent 70%),
  radial-gradient(45% 40% at 6% 42%, var(--halo-2), transparent 70%),
  radial-gradient(70% 55% at 50% 108%, var(--halo-3), transparent 70%); }
#champ { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { #champ { display: none; } }
.contenu { position: relative; z-index: 1; }

/* ------------------------------------------------------------ boutons */
.btn {
  --b: var(--surface-2); --t: var(--texte);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px;
  padding: .7em 1.45em; border-radius: 999px; border: 1px solid transparent; background: var(--b); color: var(--t);
  font: inherit; font-weight: 650; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn-principal { --b: var(--bouton); --t: var(--bouton-encre); }
.btn-principal:hover { filter: brightness(1.08); }
.btn-contour { background: transparent; border-color: var(--ligne); }
.btn-contour:hover { border-color: var(--texte-3); }
.btn-danger { --b: color-mix(in srgb, var(--rouge) 18%, transparent); --t: var(--rouge); }
.btn-succes { --b: color-mix(in srgb, var(--vert) 20%, transparent); --t: var(--vert); }
.btn-petit { min-height: 36px; padding: .4em .85em; font-size: .88rem; border-radius: var(--r-s); }
.btn-bloc { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ------------------------------------------------------------ en-tête */
.entete {
  position: sticky; top: 0; z-index: 30; backdrop-filter: var(--verre); -webkit-backdrop-filter: var(--verre);
  background: color-mix(in srgb, var(--fond) 72%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--ligne) 70%, transparent);
}
.entete .col { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.marque { display: inline-flex; align-items: center; gap: 11px; color: var(--texte); text-decoration: none; }
.marque:hover { text-decoration: none; }
.marque svg { width: 34px; height: 34px; }
.marque b { display: block; font-family: var(--f-marque); font-size: 1.06rem; font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 820; letter-spacing: .03em; line-height: 1.1; }
.marque small { display: block; font-family: var(--f-marque); font-size: .58rem; font-weight: 600; letter-spacing: .46em; color: var(--texte-2); margin-top: 2px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--texte-2); text-decoration: none; padding: 8px 12px; border-radius: var(--r-s); font-weight: 560; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--texte); background: var(--surface-2); }
.entete-actions { display: flex; gap: 8px; align-items: center; }
.bouton-icone {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-s);
  background: transparent; border: 1px solid var(--ligne); color: var(--texte); cursor: pointer; position: relative;
}
.bouton-icone svg { width: 20px; height: 20px; }
.bouton-icone .pastille { position: absolute; top: -5px; right: -5px; }
.menu-mobile-btn { display: none; }
/* Le tiroir mobile est frère de l'en-tête (jamais enfant) : évite le bug d'empilement avec backdrop-filter */
.tiroir { position: fixed; inset: 0; z-index: 40; display: none; }
.tiroir[data-ouvert="true"] { display: block; }
.tiroir-fond { position: absolute; inset: 0; background: rgba(5, 7, 12, .55); backdrop-filter: blur(4px); }
.tiroir-panneau {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 340px); background: var(--surface-pleine);
  border-left: 1px solid var(--ligne); padding: 20px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
.tiroir-panneau a { color: var(--texte); text-decoration: none; padding: 13px 12px; border-radius: var(--r-s); font-weight: 600; }
.tiroir-panneau a:hover { background: var(--surface-2); }
@media (max-width: 900px) {
  .nav, .entete-actions .masque-mobile { display: none; }
  .menu-mobile-btn { display: inline-grid; margin-left: auto; }
}

/* ------------------------------------------------------------ héros */
.heros { min-height: calc(100svh - 68px); display: grid; align-items: center; padding-block: 56px 72px; }
.heros h1 { max-width: 13ch; margin-bottom: .35em; }
.heros .chapeau { margin-bottom: 1.8em; }
.heros-bas { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--texte-3); font-size: .92rem; }
.heros-bas span { display: inline-flex; gap: 8px; align-items: center; }
.heros-bas i { width: 7px; height: 7px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 4px color-mix(in srgb, var(--vert) 22%, transparent); }

/* ------------------------------------------------------------ cadres « viseur » (réticules d'angle) */
.viseur { position: relative; }
.viseur::before, .viseur::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-color: var(--ambre); border-style: solid; opacity: .8; pointer-events: none;
}
.viseur::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-top-left-radius: 6px; }
.viseur::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-bottom-right-radius: 6px; }

/* ------------------------------------------------------------ panneaux (verre) */
.panneau {
  background: var(--surface); backdrop-filter: var(--verre); -webkit-backdrop-filter: var(--verre);
  border: 1px solid color-mix(in srgb, var(--ligne) 85%, transparent); border-radius: var(--r-l); padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--ombre);
}
.panneau-plat { background: var(--surface-pleine); border: 1px solid var(--ligne); border-radius: var(--r-m); padding: 18px; }

/* ------------------------------------------------------------ solutions (lignes, pas des cartes identiques) */
.solutions { border-top: 1px solid var(--ligne); }
.solution { display: grid; grid-template-columns: minmax(150px, 220px) 1fr auto; gap: 18px 36px; padding: 34px 0; border-bottom: 1px solid var(--ligne); align-items: start; }
.solution h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-variation-settings: "wdth" 120; margin: 0; }
.solution p { color: var(--texte-2); margin: 0; max-width: 56ch; }
.solution ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.solution li { font-size: .88rem; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--ligne); color: var(--texte-2); font-variation-settings: "wdth" 85; }
@media (max-width: 760px) { .solution { grid-template-columns: 1fr; padding: 26px 0; } }

/* ------------------------------------------------------------ produits */
.produit-carte { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.produit-carte h3 { margin: 0; font-size: 1.45rem; }
.produit-carte p { color: var(--texte-2); margin: 0; flex: 1; }
.produit-carte .prix { font-weight: 750; font-size: 1.05rem; }
.produit-carte .prix small { color: var(--texte-3); font-weight: 500; }
.produit-icone { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); }
.produit-icone svg { width: 28px; height: 28px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 650;
  background: var(--surface-2); color: var(--texte-2); font-variation-settings: "wdth" 85; white-space: nowrap;
}
.badge-essai { background: color-mix(in srgb, var(--vert) 16%, transparent); color: var(--vert); }
.badge-ambre { background: color-mix(in srgb, var(--ambre) 18%, transparent); color: var(--ambre); }
.badge-signal { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.badge-rouge { background: color-mix(in srgb, var(--rouge) 16%, transparent); color: var(--rouge); }
.pastille { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--rouge); color: #fff; font-size: .72rem; font-weight: 700; display: inline-grid; place-items: center; }

/* ------------------------------------------------------------ qualités */
.qualites-phrase { font-size: clamp(1.8rem, 4.2vw, 3.3rem); font-variation-settings: "wdth" 120; font-weight: 800; line-height: 1.12; max-width: 20ch; }
.qualites { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 0; margin-top: 46px; border-top: 1px solid var(--ligne); }
.qualite { padding: 24px 24px 8px 0; }
.qualite h3 { font-size: 1.12rem; margin-bottom: .4em; }
.qualite p { color: var(--texte-2); font-size: .97rem; }

/* ------------------------------------------------------------ étapes (vraie séquence) */
.etapes { counter-reset: e; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.etape { counter-increment: e; padding-top: 22px; border-top: 2px solid var(--ligne); }
.etape::before { content: counter(e); display: block; font-size: 2.4rem; font-weight: 850; font-variation-settings: "wdth" 125; color: var(--texte-3); line-height: 1; margin-bottom: 14px; }
.etape p { color: var(--texte-2); }

/* ------------------------------------------------------------ réalisations */
.tuiles { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.tuile { display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden; background: var(--surface-pleine); border: 1px solid var(--ligne); color: var(--texte); text-decoration: none; }
.tuile:hover { text-decoration: none; border-color: var(--texte-3); }
.tuile-visuel { aspect-ratio: 16 / 10; background: var(--surface-2); position: relative; overflow: hidden; }
.tuile-visuel img { width: 100%; height: 100%; object-fit: cover; }
.tuile-visuel svg.neon-tuile { position: absolute; inset: 18% 22%; width: 56%; height: 64%; }
.tuile-corps { padding: 18px 20px 22px; }
.tuile-corps h3 { font-size: 1.12rem; margin: 6px 0 6px; }
.tuile-corps p { color: var(--texte-2); font-size: .95rem; margin: 0; }

/* ------------------------------------------------------------ bandeau défilant */
.defile { overflow: hidden; border-block: 1px solid var(--ligne); background: color-mix(in srgb, var(--fond) 60%, transparent); }
.defile-piste { display: flex; gap: 44px; width: max-content; padding: 16px 0; animation: defile 40s linear infinite; }
.defile-piste span { font-variation-settings: "wdth" 120; font-weight: 750; font-size: 1.05rem; color: var(--texte-2); white-space: nowrap; }
.defile-piste span::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ambre); margin-left: 44px; vertical-align: middle; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ tarifs */
.formules { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.formule { display: flex; flex-direction: column; gap: 12px; }
.formule.vedette { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.formule .montant { font-size: 2rem; font-weight: 850; font-variation-settings: "wdth" 115; line-height: 1; }
.formule .montant small { font-size: .95rem; font-weight: 500; color: var(--texte-3); font-variation-settings: "wdth" 100; }
.formule ul { margin: 0; padding: 0; list-style: none; flex: 1; }
.formule li { padding: 6px 0 6px 26px; position: relative; color: var(--texte-2); }
.formule li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 6px; border-left: 2px solid var(--vert); border-bottom: 2px solid var(--vert); transform: rotate(-45deg); }

/* ------------------------------------------------------------ appel final */
.appel { display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr; align-items: center; }
@media (max-width: 860px) { .appel { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ pied de page */
.pied { position: relative; z-index: 1; border-top: 1px solid var(--ligne); background: color-mix(in srgb, var(--fond) 85%, transparent); padding: 56px 0 28px; font-size: .94rem; color: var(--texte-2); }
.pied-grille { display: grid; gap: 32px; grid-template-columns: 1.4fr repeat(3, 1fr); }
.pied h4 { color: var(--texte); font-size: .98rem; margin-bottom: 12px; }
.pied a { color: var(--texte-2); text-decoration: none; display: block; padding: 3px 0; }
.pied a:hover { color: var(--texte); }
.pied-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ligne); display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--texte-3); font-size: .84rem; }
@media (max-width: 860px) { .pied-grille { grid-template-columns: 1fr 1fr; } .pied-grille > :first-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------------ formulaires */
.champ { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.champ > label { font-weight: 620; font-size: .95rem; }
.champ .aide { color: var(--texte-3); font-size: .85rem; }
.champ .erreur, .erreurs-form { color: var(--rouge); font-size: .88rem; }
.erreurs-form { background: color-mix(in srgb, var(--rouge) 12%, transparent); padding: 12px 14px; border-radius: var(--r-s); margin-bottom: 18px; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="url"],
input[type="search"], input[type="date"], input[type="month"], input:not([type]), select, textarea {
  width: 100%; font: inherit; color: var(--texte); background: var(--surface-pleine); border: 1px solid var(--ligne);
  border-radius: var(--r-s); padding: 12px 14px; min-height: 48px; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
input[type="file"] { font: inherit; color: var(--texte-2); }
input[type="range"] { width: 100%; accent-color: var(--accent); }
.champ-case { flex-direction: row; align-items: flex-start; gap: 10px; }
.champ-case input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.champ-case label { font-weight: 500; }
.champ-erreur input, .champ-erreur select, .champ-erreur textarea { border-color: var(--rouge); }
.champ-code { font-size: 1.6rem !important; letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums; }
.choix-radio { display: flex; flex-wrap: wrap; gap: 8px; }
.choix-radio label { display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border: 1px solid var(--ligne); border-radius: var(--r-s); cursor: pointer; font-weight: 560; }
.choix-radio input { accent-color: var(--accent); }
.form-grille { display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* ------------------------------------------------------------ écran de connexion immersif */
.ecran-marque {
  min-height: 100svh; display: grid; place-items: center; padding: 32px 16px;
  background: radial-gradient(120% 80% at 80% 0%, rgba(59, 108, 255, .28), transparent 60%),
              radial-gradient(90% 70% at 0% 100%, rgba(139, 92, 246, .26), transparent 60%), #070a12;
  color: #e7ebf3; color-scheme: dark;
}
.ecran-marque .boite { width: min(440px, 100%); }
.ecran-marque .logo-centre { width: 74px; height: 74px; margin: 0 auto 18px; }
.ecran-marque h1 { font-size: 1.7rem; text-align: center; font-variation-settings: "wdth" 118; }
.ecran-marque .sous { text-align: center; color: #9aa5b8; margin-bottom: 28px; }
.ecran-marque .panneau { background: rgba(16, 21, 31, .78); border-color: rgba(255, 255, 255, .08); }
.ecran-marque input { background: rgba(5, 8, 14, .7); border-color: rgba(255, 255, 255, .1); color: #e7ebf3; }
.ecran-marque a { color: #6ee7f0; }
.ecran-marque .bas { text-align: center; margin-top: 20px; color: #9aa5b8; font-size: .94rem; }

/* ------------------------------------------------------------ espace (compte client et gestion) */
.espace { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; background: var(--fond); }
.barre {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; padding: 18px 14px;
  border-right: 1px solid var(--ligne); background: var(--surface-pleine); overflow-y: auto;
}
.barre .marque { padding: 6px 10px 20px; }
.barre-lien {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--r-s); color: var(--texte-2);
  text-decoration: none; font-weight: 580; font-size: .96rem;
}
.barre-lien svg { width: 20px; height: 20px; flex: none; }
.barre-lien:hover { background: var(--surface-2); color: var(--texte); text-decoration: none; }
.barre-lien[aria-current="page"] { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--texte); }
.barre-lien[aria-current="page"] svg { color: var(--accent); }
.barre-lien .pastille { margin-left: auto; }
.barre-titre { font-size: .8rem; color: var(--texte-3); padding: 18px 12px 6px; font-variation-settings: "wdth" 80; font-weight: 600; }
.barre-bas { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ligne); }
.carte-utilisateur { display: flex; gap: 10px; align-items: center; padding: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 750; font-size: .9rem; color: #fff;
  background: linear-gradient(135deg, var(--spectre-1), var(--spectre-2)); flex: none; }
.carte-utilisateur b { display: block; font-size: .92rem; line-height: 1.2; }
.carte-utilisateur small { color: var(--texte-3); font-size: .8rem; }
.espace-principal { min-width: 0; }
.espace-tete { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 14px clamp(16px, 3vw, 34px);
  background: color-mix(in srgb, var(--fond) 80%, transparent); backdrop-filter: var(--verre); -webkit-backdrop-filter: var(--verre);
  border-bottom: 1px solid var(--ligne); }
.espace-tete h1 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 0; font-variation-settings: "wdth" 112; }
.espace-tete .ligne-flex { margin-left: auto; }
.espace-corps { padding: clamp(16px, 3vw, 34px); max-width: 1320px; }
.nav-basse { display: none; }
@media (max-width: 960px) {
  .espace { grid-template-columns: 1fr; }
  .barre { display: none; }
  .espace-corps { padding-bottom: 96px; }
  .nav-basse {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 25; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    background: color-mix(in srgb, var(--surface-pleine) 92%, transparent); backdrop-filter: var(--verre); -webkit-backdrop-filter: var(--verre);
    border-top: 1px solid var(--ligne); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .nav-basse a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; color: var(--texte-3); text-decoration: none; font-size: .7rem; font-weight: 600; position: relative; }
  .nav-basse a svg { width: 22px; height: 22px; }
  .nav-basse a[aria-current="page"] { color: var(--accent); }
  .nav-basse .pastille { position: absolute; top: 0; right: 22%; }
}

/* indicateurs */
.kpis { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); margin-bottom: 24px; }
.kpi { background: var(--surface-pleine); border: 1px solid var(--ligne); border-radius: var(--r-m); padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.kpi .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.kpi .ic svg { width: 21px; height: 21px; }
.kpi .ic.v { background: color-mix(in srgb, var(--vert) 16%, transparent); color: var(--vert); }
.kpi .ic.a { background: color-mix(in srgb, var(--ambre) 18%, transparent); color: var(--ambre); }
.kpi .ic.s { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.kpi .ic.p { background: color-mix(in srgb, var(--spectre-1) 18%, transparent); color: var(--spectre-1); }
.kpi .val { font-size: 1.55rem; font-weight: 800; line-height: 1.1; font-variation-settings: "wdth" 110; font-variant-numeric: tabular-nums; }
.kpi .lib { color: var(--texte-2); font-size: .88rem; }
.kpi .evo { font-size: .8rem; font-weight: 650; }
.evo.hausse { color: var(--vert); } .evo.baisse { color: var(--rouge); }

.graphe { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; align-items: end; height: 190px; padding-top: 10px; }
.graphe .barre-g { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 6px; }
.graphe .barre-g i { display: block; width: 100%; max-width: 46px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--spectre-3), var(--spectre-2)); min-height: 3px; }
.graphe .barre-g span { font-size: .78rem; color: var(--texte-3); }
.graphe .barre-g b { font-size: .74rem; color: var(--texte-2); font-weight: 600; }

/* tableaux → cartes empilées sur mobile */
.tableau-wrap { overflow-x: auto; border: 1px solid var(--ligne); border-radius: var(--r-m); background: var(--surface-pleine); }
table.tab { width: 100%; border-collapse: collapse; font-size: .94rem; }
.tab th { text-align: left; font-weight: 650; color: var(--texte-3); font-size: .82rem; padding: 12px 14px; border-bottom: 1px solid var(--ligne); white-space: nowrap; font-variation-settings: "wdth" 85; }
.tab td { padding: 13px 14px; border-bottom: 1px solid var(--ligne); vertical-align: middle; }
.tab tr:last-child td { border-bottom: 0; }
.tab tbody tr:hover { background: color-mix(in srgb, var(--surface-2) 50%, transparent); }
.tab .droite { text-align: right; }
@media (max-width: 720px) {
  .tableau-wrap { border: 0; background: transparent; }
  .tab thead { display: none; }
  .tab, .tab tbody, .tab tr, .tab td { display: block; width: 100%; }
  .tab tr { background: var(--surface-pleine); border: 1px solid var(--ligne); border-radius: var(--r-m); margin-bottom: 12px; padding: 8px 4px; }
  .tab td { border: 0; padding: 6px 12px; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .tab td::before { content: attr(data-l); color: var(--texte-3); font-size: .84rem; text-align: left; }
  .tab td.secondaire { display: none; }
  .tab .droite { text-align: right; }
}

/* filtres et pagination */
.filtres { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.filtres input[type="search"] { max-width: 320px; min-height: 42px; padding: 9px 12px; }
.onglets { display: flex; gap: 6px; flex-wrap: wrap; }
.onglets a { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--ligne); color: var(--texte-2); text-decoration: none; font-size: .88rem; font-weight: 600; }
.onglets a[aria-current="true"] { background: var(--texte); color: var(--fond); border-color: var(--texte); }
.periode { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--ligne); border-radius: 999px; padding: 3px; }
.periode a { padding: 4px 10px; border-radius: 999px; color: var(--texte-2); text-decoration: none; font-size: .88rem; }
.periode strong { padding: 0 6px; font-size: .9rem; text-transform: capitalize; }
.pagination { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 13px; border-radius: var(--r-s); border: 1px solid var(--ligne); text-decoration: none; color: var(--texte-2); font-size: .9rem; }
.pagination .courant { background: var(--texte); color: var(--fond); border-color: var(--texte); }

/* messagerie (façon discussion) */
.fil { display: flex; flex-direction: column; gap: 10px; padding: 18px; min-height: 52vh; max-height: calc(100svh - 300px); overflow-y: auto;
  background: var(--surface-pleine); border: 1px solid var(--ligne); border-radius: var(--r-l) var(--r-l) 0 0; }
.bulle { max-width: min(78%, 560px); padding: 10px 14px 6px; border-radius: 18px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.bulle time { display: block; text-align: right; font-size: .72rem; opacity: .65; margin-top: 3px; }
.bulle.moi { align-self: flex-end; background: var(--accent); color: var(--accent-encre); border-bottom-right-radius: 6px; }
.bulle.eux { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.fil-vide { margin: auto; text-align: center; color: var(--texte-3); max-width: 36ch; }
.composer { display: flex; gap: 10px; align-items: flex-end; padding: 12px; border: 1px solid var(--ligne); border-top: 0;
  border-radius: 0 0 var(--r-l) var(--r-l); background: var(--surface-pleine); }
.composer textarea { min-height: 48px; max-height: 160px; resize: none; }
.composer .btn { flex: none; width: 48px; padding: 0; }

/* messages flash */
.toasts { position: fixed; z-index: 60; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 32px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px; border-radius: var(--r-m); background: var(--surface-pleine); border: 1px solid var(--ligne);
  box-shadow: var(--ombre); font-size: .94rem; animation: toast-in .25s ease; }
.toast::before { content: ""; width: 4px; align-self: stretch; border-radius: 4px; background: var(--accent); flex: none; }
.toast.success::before { background: var(--vert); } .toast.error::before { background: var(--rouge); } .toast.warning::before { background: var(--ambre); }
.toast button { margin-left: auto; background: none; border: 0; color: var(--texte-3); cursor: pointer; font-size: 1.2rem; line-height: 1; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 960px) { .espace-principal ~ .toasts, .avec-nav-basse .toasts { bottom: 86px; } }

/* fenêtres modales sur fond flouté */
dialog.modale { border: 0; padding: 0; background: transparent; color: var(--texte); max-width: min(480px, calc(100vw - 32px)); width: 100%; }
dialog.modale[open] { display: block; }
dialog.modale::backdrop { background: rgba(5, 7, 12, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modale .panneau { background: var(--surface-pleine); }
.modale h2 { font-size: 1.35rem; }

/* clé de licence affichée une fois */
.cle { font-variation-settings: "wdth" 85; font-weight: 700; font-size: clamp(1.05rem, 3vw, 1.4rem); letter-spacing: .06em; padding: 16px; border-radius: var(--r-m);
  background: var(--surface-2); text-align: center; overflow-wrap: anywhere; user-select: all; }

/* divers */
.vide { text-align: center; padding: 42px 20px; color: var(--texte-2); border: 1px dashed var(--ligne); border-radius: var(--r-l); }
.vide h3 { color: var(--texte); }
.statut { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 620; }
.statut::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--texte-3); }
.statut.en_attente::before, .statut.nouvelle::before { background: var(--ambre); }
.statut.validee::before, .statut.acceptee::before, .statut.actif::before { background: var(--vert); }
.statut.refusee::before, .statut.annulee::before, .statut.classee::before, .statut.expire::before { background: var(--rouge); }
.statut.discussion::before, .statut.devis::before { background: var(--accent); }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--texte-2); }
.retour { display: inline-flex; gap: 6px; align-items: center; color: var(--texte-2); text-decoration: none; font-size: .92rem; margin-bottom: 14px; }
.retour svg { width: 16px; height: 16px; }
.bandeau-info { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 18px; border-radius: var(--r-m);
  background: color-mix(in srgb, var(--ambre) 14%, transparent); border: 1px solid color-mix(in srgb, var(--ambre) 35%, transparent); margin-bottom: 22px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* marque compacte dans l'en-tête de l'espace sur mobile */
[data-mobile-marque] svg { width: 30px; height: 30px; }
@media (max-width: 960px) { [data-mobile-marque] { display: inline-flex !important; } }
.tuile-visuel svg.neon-tuile { color: hsl(232 92% 68%); filter: drop-shadow(0 0 6px hsl(232 92% 60% / .8)); stroke-width: 1.2; }
.tuile-visuel { background: radial-gradient(70% 90% at 50% 40%, color-mix(in srgb, var(--spectre-2) 16%, transparent), transparent), var(--surface-2); }


/* =====================================================================
   v3 — page qui défile normalement, champ vivant en fond, sections numérotées,
   cartes de verre, panneaux sombres, haut de page façon Tesla.
   ===================================================================== */

/* ------------------------------------------------------------ capsule de navigation */
.entete { background: transparent; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding-top: 12px; }
.entete .col {
  min-height: 62px; padding: 0 10px 0 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--texte) 9%, transparent);
  backdrop-filter: var(--verre); -webkit-backdrop-filter: var(--verre); box-shadow: var(--ombre);
}
.nav { margin: 0 auto; gap: 6px; }
.nav a { border-radius: 999px; font-weight: 600; }
.marque svg { width: 34px; height: 34px; }
.bouton-icone { border-radius: 999px; }
.entete .btn-petit { border-radius: 999px; min-height: 44px; padding: .5em 1.2em; }
.entete-actions .btn-contour { background: var(--bouton); color: var(--bouton-encre); border-color: transparent; }

/* ------------------------------------------------------------ boutons */
.btn { font-weight: 700; }
.btn-verre { background: var(--surface); border-color: color-mix(in srgb, var(--texte) 12%, transparent); color: var(--texte);
  backdrop-filter: var(--verre); -webkit-backdrop-filter: var(--verre); }
.btn-degrade { background: linear-gradient(95deg, #6d4ff2, #3b5bff); color: #fff; box-shadow: 0 14px 30px -14px rgba(59, 91, 255, .8); }
.centre { justify-content: center; }
.centre-texte { text-align: center; }

/* ------------------------------------------------------------ surtitres numérotés */
.surtitre { display: flex; gap: 10px; font-size: .9rem; font-weight: 700; color: var(--texte-2); margin: 0 0 18px; letter-spacing: .01em; }
.surtitre b { color: var(--accent); }
.titre-centre { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.titre-centre .chapeau, .titre-centre .surtitre { margin-inline: auto; justify-content: center; }

/* ------------------------------------------------------------ verre */
.verre {
  position: relative; border-radius: var(--r-l); padding: clamp(22px, 3vw, 28px); color: inherit; text-decoration: none;
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--texte) 9%, transparent);
  backdrop-filter: var(--verre); -webkit-backdrop-filter: var(--verre); box-shadow: var(--ombre);
}
:root[data-theme="clair"] .verre { border-color: rgba(255, 255, 255, .95); }
a.verre { transition: border-color .2s ease, transform .2s ease; }
a.verre:hover { text-decoration: none; transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.ic-spectre { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none;
  background: var(--degrade); box-shadow: 0 12px 24px -12px rgba(59, 91, 255, .9); }
.ic-spectre svg { width: 24px; height: 24px; }

/* ------------------------------------------------------------ haut de page façon Tesla */
.page-accueil .heros-v3 {
  min-height: calc(100svh - 74px); display: grid; grid-template-rows: auto 1fr auto; text-align: center;
  padding: clamp(36px, 6vh, 70px) 0 6vh;
}
.heros-v3 h1 { margin: 0 auto; max-width: 22ch; }
.heros-v3 .chapeau { margin: 22px auto 0; max-width: 620px; }
.heros-v3 .ligne-flex { justify-content: center; }
.faits { display: flex; justify-content: center; gap: 10px 26px; margin-top: 22px; font-size: .9rem; font-weight: 600; color: var(--texte-2); flex-wrap: wrap; }
.faits span { display: inline-flex; align-items: center; gap: 8px; }
.faits svg { width: 16px; height: 16px; color: var(--accent); }
/* entrée orchestrée : cachée jusqu'à ce que champ.js la joue ; filet de sécurité si le script ne tourne pas */
html.champ-pret [data-entree] { opacity: 0; animation: reveler .6s ease 1.2s forwards; }
@keyframes reveler { to { opacity: 1; transform: none; } }
/* sans animation (mouvement réduit ou ancien navigateur), la puce s'affiche en image */
.heros-puce { display: grid; place-items: center; visibility: hidden; min-height: 26vh; }
.heros-puce svg { width: clamp(120px, 20vh, 180px); height: auto; filter: drop-shadow(0 24px 40px rgba(59, 91, 255, .35)); }
@media (prefers-reduced-motion: reduce) { .heros-puce { visibility: visible; } }
.pied a.marque { display: inline-flex; }

/* ------------------------------------------------------------ duo : titre à gauche, contenu à droite */
.duo { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.duo > * { min-width: 0; }
.cartes-solutions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.carte-solution h3 { margin: 20px 0 6px; }
.carte-solution p { color: var(--texte-2); font-size: .97rem; margin: 0; }

/* ------------------------------------------------------------ panneau sombre (produits) */
.panneau-sombre {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(28px, 5vw, 64px);
  background: var(--panneau-sombre); color: #eef0fb; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 40px 80px -40px rgba(10, 12, 40, .6); border: 1px solid rgba(255, 255, 255, .06);
}
.panneau-sombre::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 70% at 100% 0, rgba(124, 92, 246, .35), transparent 70%), radial-gradient(40% 60% at 0 100%, rgba(34, 211, 238, .18), transparent 70%); }
.panneau-sombre > * { position: relative; }
.panneau-sombre h2 { color: #fff; }
.panneau-sombre .chapeau { color: #aab0d4; }
.panneau-sombre .surtitre { color: #9aa0c6; }
.panneau-sombre .surtitre b { color: #8ea2ff; }
.panneau-sombre .btn-principal { --b: #fff; --t: #0d1130; }
.panneau-sombre .btn-verre { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #fff; }

/* aperçu d'un produit : vidéo ou capture fournie dans la fiche, sinon illustration */
.apercu { border-radius: 20px; overflow: hidden; background: #0e1338; border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); aspect-ratio: 16 / 10; }
.apercu video, .apercu img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apercu-incline { transform: perspective(1400px) rotateY(-9deg) rotateX(4deg); }
.ecran-demo { padding: 18px; font-size: 13px; color: #c9cdeb; aspect-ratio: auto; }
.ecran-haut { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; }
.ecran-haut i { width: 9px; height: 9px; border-radius: 50%; background: #2a3170; }
.ecran-haut span { margin-left: 10px; font-weight: 700; color: #fff; }
.ecran-haut em { margin-left: auto; font-style: normal; font-size: 11.5px; padding: 4px 10px; border-radius: 999px; background: rgba(34, 211, 238, .14); color: #5fe1f5; font-weight: 700; }
.ecran-tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ecran-tuiles div { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); border-radius: 12px; padding: 12px; }
.ecran-tuiles small { display: block; color: #8d93bd; font-size: 11.5px; }
.ecran-tuiles b { display: block; color: #fff; font-size: 17px; margin-top: 4px; letter-spacing: -.02em; }
.ecran-courbe { margin-top: 12px; background: rgba(255, 255, 255, .04); border-radius: 12px; padding: 12px 12px 4px; }
.ecran-courbe svg { width: 100%; height: 120px; display: block; }
.ecran-lignes { margin-top: 12px; display: grid; gap: 6px; }
.ecran-lignes div { display: flex; justify-content: space-between; background: rgba(255, 255, 255, .04); border-radius: 9px; padding: 8px 12px; }
.ecran-lignes b { color: #fff; }

.produits-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 20px; }
.carte-produit { display: flex; flex-direction: column; gap: 10px; padding: 0; overflow: hidden; }
.carte-produit .apercu { border-radius: 0; border: 0; box-shadow: none; }
.carte-produit .corps { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.carte-produit .tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.carte-produit h3 { margin: 4px 0 0; }
.carte-produit p { color: var(--texte-2); font-size: .97rem; margin: 0; }
.carte-produit .prix { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ligne); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.carte-produit .prix small { font-weight: 600; color: var(--texte-2); font-size: .88rem; letter-spacing: 0; }
.badge-essai { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }

/* ------------------------------------------------------------ étapes (vraie séquence) */
.etapes { counter-reset: e; display: grid; gap: 0; grid-template-columns: repeat(3, 1fr); }
.etape { counter-increment: e; padding: 6px 26px 6px 24px; border-top: 0; border-left: 2px solid var(--ligne); }
.etape::before { content: "0" counter(e); display: block; font-size: 2.5rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 14px;
  background: var(--degrade-texte); -webkit-background-clip: text; background-clip: text; color: transparent; }
.etape h3 { margin-bottom: 6px; }
.etape p { color: var(--texte-2); font-size: .97rem; margin: 0; }

/* ------------------------------------------------------------ réalisations */
.entete-section { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.entete-section .chapeau { margin: 0; max-width: 380px; font-size: 1rem; }
.entete-section h2 { margin: 0; }
.tuile { border-radius: var(--r-l); background: var(--surface); border-color: color-mix(in srgb, var(--texte) 9%, transparent);
  backdrop-filter: var(--verre); -webkit-backdrop-filter: var(--verre); box-shadow: var(--ombre); }
:root[data-theme="clair"] .tuile { border-color: rgba(255, 255, 255, .95); }
.tuile-visuel { background: radial-gradient(60% 80% at 50% 110%, rgba(59, 108, 255, .55), transparent 70%), #0c1033; }
.tuile-visuel svg.neon-tuile { color: #fff; filter: drop-shadow(0 0 16px #3b6cff); stroke-width: 1.4; inset: 26% 34%; width: 32%; height: 48%; }

/* ------------------------------------------------------------ compte Spectral : téléphone de démonstration */
.telephone-demo { width: min(300px, 100%); margin: 0 auto; border-radius: 40px; padding: 12px; background: #0c1033;
  box-shadow: 0 40px 80px -30px rgba(13, 17, 48, .6), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.telephone-demo .ecran-tel { border-radius: 30px; background: #f4f5fc; overflow: hidden; font-size: .84rem; color: #1c2140; }
:root:not([data-theme="clair"]) .telephone-demo .ecran-tel { background: #121637; color: #dde0f5; }
.tel-haut { display: flex; align-items: center; gap: 10px; padding: 16px; background: linear-gradient(120deg, #6d4ff2, #3b5bff 60%, #17b5d4); color: #fff; line-height: 1.3; }
.tel-haut svg { width: 30px; height: 30px; flex: none; }
.tel-haut b { display: block; font-size: .9rem; }
.tel-haut small { opacity: .8; font-size: .72rem; }
.tel-bulles { padding: 16px 14px; display: grid; gap: 10px; min-height: 300px; align-content: start; }
.tel-bulle { max-width: 84%; padding: 10px 13px; border-radius: 16px; line-height: 1.45; }
.tel-bulle.moi { justify-self: end; background: #3b5bff; color: #fff; border-bottom-right-radius: 5px; }
.tel-bulle.eux { background: #fff; border-bottom-left-radius: 5px; box-shadow: 0 4px 14px -8px rgba(13, 17, 48, .3); }
:root:not([data-theme="clair"]) .tel-bulle.eux { background: #1d2250; }
.tel-saisie { margin: 0 12px 14px; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border-radius: 999px; background: #fff; color: #8a90b4; font-size: .8rem; }
:root:not([data-theme="clair"]) .tel-saisie { background: #1d2250; }
.tel-saisie span { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #3b5bff; color: #fff; }
.tel-saisie svg { width: 16px; height: 16px; }
.liste-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.liste-points li { display: flex; gap: 14px; align-items: flex-start; }
.liste-points li > svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }
.liste-points b { display: block; }
.liste-points span { display: block; color: var(--texte-2); font-size: .97rem; }

/* ------------------------------------------------------------ appel final */
.bande-appel { border-radius: 32px; padding: clamp(30px, 5vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 32px 40px;
  background: linear-gradient(120deg, color-mix(in srgb, #5b7cff 20%, transparent), color-mix(in srgb, #8b5cf6 16%, transparent) 55%, color-mix(in srgb, #22d3ee 16%, transparent));
  border: 1px solid color-mix(in srgb, var(--texte) 9%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bande-appel h2 { margin: 0; }
.bande-appel .contact { display: grid; gap: 14px; justify-items: end; }
.bande-appel .numero { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; color: var(--texte); text-decoration: none; }
.bande-appel .numero svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------ pages intérieures */
.lien-fleche { font-weight: 700; color: var(--texte); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid color-mix(in srgb, var(--texte) 30%, transparent); padding-bottom: 2px; }
.lien-fleche:hover { border-color: var(--texte); text-decoration: none; }
.viseur::before, .viseur::after { border-color: var(--accent); }
.panneau { border-color: color-mix(in srgb, var(--texte) 9%, transparent); }
.produit-icone { color: #fff; background: var(--degrade); }
.produit-apercu { margin-top: 28px; }

@media (max-width: 900px) {
  .duo, .cartes-solutions { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr; }
  .etape { border-left: 0; border-top: 2px solid var(--ligne); padding: 22px 0; }
  .bande-appel { flex-direction: column; align-items: flex-start; }
  .bande-appel .contact { justify-items: start; }
  .entete-section { flex-direction: column; align-items: flex-start; gap: 16px; }
  .apercu-incline { transform: none; }
  .heros-v3 .ligne-flex { flex-direction: column; align-items: stretch; padding: 0 8px; }
  .ecran-tuiles b { font-size: 14px; }
}
@media (max-width: 520px) { .pied-grille { grid-template-columns: 1fr; } }
.produit-apercu { max-width: 980px; }

/* ------------------------------------------------------------ Bit et Volt, pôles logiciel et matériel */
:root { --bit: #a78bfa; --volt: #40def6; }
:root[data-theme="clair"] { --bit: #7c3aed; --volt: #0891b2; }
.nom-bit { color: var(--bit); }
.nom-volt { color: var(--volt); }
.mascotte-zone { min-height: 320px; }
.duo-lumieres { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.duo-lumieres li { display: flex; align-items: center; gap: 14px; font-size: 1.12rem; color: var(--texte-2); }
.duo-lumieres b { color: var(--texte); font-size: 1.25rem; }
.duo-lumieres i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.point-bit { background: var(--bit); box-shadow: 0 0 16px var(--bit); }
.point-volt { background: var(--volt); box-shadow: 0 0 16px var(--volt); }
.forme-grande { min-height: 440px; }
.atouts { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.atouts li { display: flex; align-items: center; gap: 12px; font-weight: 700; line-height: 1.3; }
.atouts svg { width: 22px; height: 22px; flex: none; padding: 8px; box-sizing: content-box; border-radius: 12px; color: var(--accent);
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--texte) 10%, transparent); }
.secteurs-bloc { margin-top: 72px; }
.secteurs-bloc h3 { margin-bottom: 22px; font-size: 1.3rem; }
.secteurs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.secteurs li { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 22px 12px; border-radius: var(--r-l); font-weight: 700; font-size: .95rem; line-height: 1.3;
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--texte) 9%, transparent); backdrop-filter: var(--verre); -webkit-backdrop-filter: var(--verre); }
:root[data-theme="clair"] .secteurs li { border-color: rgba(255, 255, 255, .95); }
.secteurs svg { width: 30px; height: 30px; color: var(--accent); }
@media (max-width: 900px) {
  .secteurs { grid-template-columns: 1fr 1fr; }
  .forme-grande { min-height: 300px; order: -1; }
  .mascotte-zone { min-height: 220px; }
}
@media (max-width: 520px) { .atouts { grid-template-columns: 1fr; } }

/* ---------- Compte sans mot de passe ---------- */
.canal-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin: 0 0 20px; border: 0;
  border-radius: 14px; background: rgba(5, 8, 14, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.canal-choix label { position: relative; cursor: pointer; }
.canal-choix input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.canal-choix span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 10px;
  border-radius: 10px; font-weight: 650; color: #9aa5b8; transition: background .2s, color .2s; }
.canal-choix svg { width: 18px; height: 18px; }
.canal-choix input:checked + span { background: var(--degrade); color: #fff; box-shadow: 0 6px 20px rgba(91, 124, 255, .35); }
.canal-choix input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-acces:has(.canal-choix input[value="sms"]:checked) .canal-email,
.form-acces:has(.canal-choix input[value="email"]:checked) .canal-sms { display: none; }
.champ-indicatif { display: flex; align-items: stretch; }
.champ-indicatif > span { display: flex; align-items: center; padding: 0 12px; font-weight: 650; border: 1px solid var(--ligne);
  border-right: 0; border-radius: var(--r-s) 0 0 var(--r-s); background: rgba(127, 127, 160, .08); font-variant-numeric: tabular-nums; }
.champ-indicatif input { border-radius: 0 var(--r-s) var(--r-s) 0 !important; flex: 1; min-width: 0; }
.ecran-marque .champ-indicatif > span { border-color: rgba(255, 255, 255, .1); color: #c9d2ff; background: rgba(5, 8, 14, .7); }
.mention-acces { margin: 14px 0 0; text-align: center; font-size: .85rem; }
.lien-bouton { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.ligne-contact { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ligne); }
.ligne-contact > span { display: flex; align-items: center; gap: 12px; min-width: 0; overflow-wrap: anywhere; }
.ligne-contact svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
.ecran-marque .btn-principal { background: var(--degrade); color: #fff; border-color: transparent; box-shadow: 0 10px 30px rgba(91, 124, 255, .35); }

/* ======================================================================
   Mise à jour production : pastilles, fondateur, pages produit, assistance, gestion
   ====================================================================== */
/* pastilles de services, en mots simples */
.pastilles { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pastilles li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; background: var(--surface); border: 1px solid var(--ligne);
  -webkit-backdrop-filter: var(--verre); backdrop-filter: var(--verre); }
:root[data-theme="clair"] .pastilles li { border-color: rgba(255, 255, 255, .95); box-shadow: 0 6px 18px -12px rgba(38, 44, 110, .35); }
.pastilles svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.pastilles + .atouts { margin-top: 24px; }

/* bloc fondateur */
.fondateur { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 4vw, 48px); border-radius: var(--r-l); }
.fondateur-photo { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 6px var(--surface), 0 0 0 7px var(--ligne), 0 30px 60px -30px rgba(59, 91, 255, .55); }
.fondateur-nom { margin: 4px 0 2px; }
.fondateur-role { margin: 0; color: var(--accent); font-weight: 700; }
.fondateur-devise { margin: 18px 0 0; padding-left: 16px; border-left: 3px solid; border-image: var(--degrade) 1;
  font-weight: 700; font-size: 1.1rem; }
.lien-social { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--texte); text-decoration: none; font-weight: 600; }
.lien-social svg { width: 22px; height: 22px; }
.lien-social:hover b { text-decoration: underline; }
@media (max-width: 700px) { .fondateur { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .fondateur-photo { max-width: 220px; } .fondateur-devise { border-left: 0; padding-left: 0; } }

/* réseaux */
.reseaux { display: flex; gap: 10px; }
.reseaux a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: inherit;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); transition: background .2s; }
.reseaux a:hover { background: rgba(255, 255, 255, .16); }
.reseaux svg { width: 20px; height: 20px; }
.reseaux-pied { margin-top: 10px; }
.reseaux-pied a { background: var(--surface); border-color: var(--ligne); }
.made-in { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 5px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; border: 1px solid var(--ligne); color: var(--texte-2); }
.made-in::before { content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(#e05206 0 33%, #fff 33% 66%, #0db02b 66%); box-shadow: 0 0 0 1px var(--ligne); }

/* page produit façon magasin d'applications */
.ps-tete { padding: clamp(104px, 13vh, 140px) 0 26px; position: relative; }
.ps-entete { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 36px); align-items: center; margin-top: 18px; }
.ps-icone { width: clamp(88px, 11vw, 128px); height: clamp(88px, 11vw, 128px); border-radius: 26%; object-fit: cover;
  box-shadow: 0 18px 40px -18px rgba(59, 91, 255, .55), 0 0 0 1px var(--ligne); background: var(--surface-pleine); }
.ps-icone-defaut { display: grid; place-items: center; padding: 18%; }
.ps-icone-defaut svg { width: 100%; height: 100%; }
.ps-identite h1 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -.035em; line-height: 1.05; }
.ps-editeur { margin: 6px 0 0; color: var(--accent); font-weight: 700; }
.ps-accroche { margin: 8px 0 0; color: var(--texte-2); font-size: 1.08rem; max-width: 60ch; }
.ps-faits { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--texte-2); font-weight: 600; font-size: .92rem; }
.ps-faits li { display: inline-flex; align-items: center; gap: 7px; }
.ps-faits svg { width: 18px; height: 18px; color: var(--accent); }
.ps-actions { display: grid; gap: 10px; justify-items: stretch; min-width: 220px; }
.ps-actions form, .ps-actions .btn { width: 100%; }
.ps-actions .btn { justify-content: center; }
@media (max-width: 860px) { .ps-entete { grid-template-columns: auto 1fr; } .ps-actions { grid-column: 1 / -1; min-width: 0; } }
@media (max-width: 520px) { .ps-entete { grid-template-columns: 1fr; } }
.ps-onglets { position: relative; z-index: 2; padding: 10px 0; -webkit-backdrop-filter: var(--verre); backdrop-filter: var(--verre);
  background: color-mix(in srgb, var(--fond) 72%, transparent); border-block: 1px solid var(--ligne); }
.ps-onglets .col { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ps-onglets a, .ps-onglets-simple a { flex: none; padding: 8px 14px; border-radius: 999px; color: var(--texte-2); font-weight: 650; text-decoration: none; }
.ps-onglets a:hover, .ps-onglets-simple a:hover { background: var(--surface); color: var(--texte); }
.ps-onglets-simple { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.ps-section { padding: clamp(34px, 6vh, 64px) 0; scroll-margin-top: 70px; }
.ps-section h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.03em; margin: 0; }
.ps-galerie { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; scrollbar-width: thin; }
.ps-media { position: relative; flex: none; height: clamp(240px, 42vh, 440px); border-radius: var(--r-m); overflow: hidden; padding: 0;
  border: 1px solid var(--ligne); background: var(--surface-pleine); scroll-snap-align: start; cursor: zoom-in; box-shadow: var(--ombre); }
.ps-media img { height: 100%; width: auto; display: block; }
.ps-media-video { cursor: default; aspect-ratio: 16 / 10; }
.ps-media-video .apercu { height: 100%; margin: 0; border: 0; border-radius: 0; }
.ps-media-video video { height: 100%; width: 100%; object-fit: cover; }
.ps-loupe { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(7, 9, 24, .55); color: #fff; opacity: 0; transition: opacity .2s; }
.ps-loupe svg { width: 16px; height: 16px; }
.ps-media:hover .ps-loupe, .ps-media:focus-visible .ps-loupe { opacity: 1; }
.ps-legende { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 10px; color: #fff; font-weight: 600; font-size: .88rem; text-align: left;
  background: linear-gradient(transparent, rgba(7, 9, 24, .75)); }
.ps-deux { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.ps-deux .prose { margin-top: 14px; color: var(--texte-2); font-size: 1.05rem; line-height: 1.7; }
@media (max-width: 860px) { .ps-deux { grid-template-columns: 1fr; } }
.ps-fonctions { padding: 26px; border-radius: var(--r-l); scroll-margin-top: 70px; }
.ps-fonctions h3 { margin: 0 0 12px; }
.liste-coches { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.liste-coches li { display: flex; gap: 10px; align-items: flex-start; }
.liste-coches svg { width: 20px; height: 20px; flex: none; color: var(--vert); margin-top: 2px; }
.ps-nouveautes { padding: 28px; border-radius: var(--r-l); }
.ps-nouveautes ul { margin: 14px 0; padding-left: 20px; display: grid; gap: 6px; }
.ps-appel { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: clamp(22px, 4vw, 40px); border-radius: var(--r-l); }
.ps-appel h2 { margin: 0; }
.ic-app { width: 44px; height: 44px; border-radius: 26%; object-fit: cover; box-shadow: 0 0 0 1px var(--ligne); }
.titre-page { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -.04em; line-height: 1.03; margin: 6px 0 0; }

/* visionneuse plein écran (affichée seulement quand elle est ouverte) */
.visionneuse { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.visionneuse[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.visionneuse::backdrop { background: rgba(4, 6, 18, .88); }
.visionneuse figure { margin: 0; display: grid; justify-items: center; gap: 10px; padding: 50px 8px; max-height: 100vh; }
.visionneuse img { max-width: min(92vw, 1400px); max-height: 80vh; border-radius: var(--r-m); object-fit: contain; }
.visionneuse figcaption { color: #fff; font-weight: 600; }
.visionneuse-fermer { position: fixed; top: max(14px, env(safe-area-inset-top)); right: 14px; }
.visionneuse-nav, .visionneuse-fermer { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.8rem; cursor: pointer; margin: 0 8px; }
.visionneuse-fermer svg { width: 20px; height: 20px; }

/* vidéos YouTube (chargées au clic seulement) */
.grille-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.carte-video { display: grid; gap: 10px; color: inherit; text-decoration: none; }
.carte-video img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-m); display: block; }
.carte-video-texte { display: grid; gap: 4px; justify-items: start; }
.yt-facade { position: relative; display: block; border-radius: var(--r-m); overflow: hidden; box-shadow: var(--ombre); }
.yt-lecture { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(transparent 40%, rgba(7, 9, 24, .35)); }
.yt-lecture svg { width: 64px; height: 64px; color: #fff; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .5)); }
.yt-duree { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(0, 0, 0, .75); color: #fff; font-size: .8rem; font-weight: 700; }
.yt-cadre { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-m); display: block; background: #000; }
.carte-video:has(> img) { padding: 10px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--ligne); }

/* paiement mobile */
.moyens-paiement { display: grid; gap: 10px; margin: 14px 0; }
.moyen { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-s);
  background: var(--surface-2); }
.moyen .nombre { font-size: 1.15rem; font-weight: 750; letter-spacing: .02em; }
.canal-choix-clair { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--ligne); }
.canal-choix-clair span { color: var(--texte-2); }

/* statuts supplémentaires */
.statut.declaree::before, .statut.ouvert::before, .statut.attente::before { background: var(--ambre); }
.statut.en_cours::before { background: var(--accent); }
.statut.resolu::before { background: var(--vert); }
.statut.remboursee::before { background: var(--texte-3); }

/* listes et fils */
.ligne-lien { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--ligne);
  color: inherit; text-decoration: none; }
.ligne-lien:hover b { text-decoration: underline; }
.fil-ticket { max-height: none; }
.auteur-bulle { display: block; font-weight: 700; font-size: .78rem; opacity: .8; margin-bottom: 4px; }
.bulle.interne { background: color-mix(in srgb, var(--ambre) 18%, var(--surface-2)); color: var(--texte); border: 1px dashed var(--ambre); }

/* actions des gérants sur les accès */
.acces-ligne { padding: 12px 0; border-top: 1px solid var(--ligne); }
.actions-acces { margin-top: 8px; }
.actions-acces summary { cursor: pointer; color: var(--accent); font-weight: 650; font-size: .92rem; }
.actions-acces[open] { padding: 10px 12px 4px; border-radius: var(--r-s); background: var(--surface-2); }
.form-action { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px dashed var(--ligne); }
.form-action:first-of-type { border-top: 0; }
.form-action > span, .form-action label { font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.form-action input, .form-action select { width: auto; min-height: 36px; padding: 5px 10px; font-size: .9rem; }
.form-action input[type="number"] { width: 80px; }
.form-action input[name="motif"] { flex: 1; min-width: 140px; }
.form-action.sensible > span { color: var(--rouge); }
.droits-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px 18px; margin-top: 14px; }
.case { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; line-height: 1.35; }
.case input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.case.sensible { color: var(--rouge); }
.journal-ligne { padding: 9px 0; border-top: 1px solid var(--ligne); font-size: .92rem; }
.journal-diff { font-size: .86rem; }
.journal-diff > span { display: block; word-break: break-word; max-width: 360px; }
.journal-diff div + div { margin-top: 3px; }
.journal-diff .avant { color: var(--texte-3); text-decoration: line-through; }
.journal-diff .apres { color: var(--texte); }
.capture-gestion img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-s); margin-bottom: 10px; }
.bande-appel .contact .btn { white-space: nowrap; }
.bande-appel .reseaux { justify-content: flex-end; }
.filtres select { width: auto; min-height: 42px; padding: 8px 12px; }

/* ======================================================================
   v4 — Refonte (novembre 2026)
   Inspirations : Spectral Market (cartes nettes, pastilles d'icônes teintées, carte dégradée),
   TPM (en-tête collant, cartes généreuses), verre lavande et panneaux sombres lumineux.
   Bit (violet) = logiciel, Volt (cyan) = matériel : leurs couleurs guident les accents.
   ====================================================================== */
:root { --bit-doux: rgba(167, 139, 250, .16); --volt-doux: rgba(64, 222, 246, .14); --r-xl: 32px; }
:root[data-theme="clair"] { --bit-doux: rgba(124, 58, 237, .10); --volt-doux: rgba(8, 145, 178, .10); }
.btn-grand { min-height: 54px; padding: .8em 1.6em; font-size: 1.02rem; border-radius: 999px; }
.btn-verre-sombre { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; }
.btn-verre-sombre:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-verre-sombre svg { width: 18px; height: 18px; }

/* en-tête mobile : le menu collé à droite */
@media (max-width: 980px) { .entete-actions { margin-left: auto; } .menu-mobile-btn { margin-left: 0; } }
.tiroir-panneau .btn { justify-content: center; margin-top: 6px; }

/* ---------- héros : scène avec la puce et les cartes en verre ---------- */
.page-accueil .heros-v4 { padding: clamp(104px, 13vh, 132px) 0 0; text-align: center; position: relative; }
.heros-texte h1 { margin: 16px auto 0; max-width: 18ch; font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: .98; letter-spacing: -.045em; }
.heros-texte .chapeau { margin: 24px auto 0; max-width: 640px; font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.heros-boutons { justify-content: center; margin-top: 32px; gap: 12px; }
.heros-etiquette { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px; border-radius: 999px;
  font-weight: 700; font-size: .86rem; letter-spacing: .02em; color: var(--texte-2); background: var(--surface);
  border: 1px solid var(--ligne); -webkit-backdrop-filter: var(--verre); backdrop-filter: var(--verre); }
:root[data-theme="clair"] .heros-etiquette { border-color: rgba(255, 255, 255, .95); }
.point-vivant { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 0 var(--volt); animation: pouls 2.2s ease-out infinite; }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--volt) 60%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
.heros-scene { position: relative; height: clamp(300px, 42vh, 430px); margin-top: 6px; }
.heros-scene .heros-puce { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(400px, 76vw); height: 100%; min-height: 0; }
.flottant { position: absolute; z-index: 2; }
.fl-carte { display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border-radius: 20px; text-align: left;
  box-shadow: 0 24px 50px -28px rgba(38, 44, 120, .55); animation: flotter 7s ease-in-out infinite alternate; }
.fl-carte b { display: block; font-size: .98rem; }
.fl-carte small { color: var(--texte-2); font-size: .84rem; }
.f1 { left: 4%; top: 10%; } .f2 { left: 11%; bottom: 8%; } .f3 { right: 4%; top: 14%; } .f4 { right: 10%; bottom: 6%; }
.f2 .fl-carte { animation-delay: -2s; } .f3 .fl-carte { animation-delay: -4s; } .f4 .fl-carte { animation-delay: -1s; }
@keyframes flotter { from { transform: translateY(-7px); } to { transform: translateY(7px); } }
.fl-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; flex: none; color: #fff; }
.fl-ic svg { width: 21px; height: 21px; }
.fl-ic.bit { background: linear-gradient(135deg, #a78bfa, #6d4ff2); box-shadow: 0 8px 20px -8px #8b5cf6; }
.fl-ic.volt { background: linear-gradient(135deg, #22d3ee, #3b6cff); box-shadow: 0 8px 20px -8px #22d3ee; }
.fl-barres { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-left: 6px; }
.fl-barres i { width: 7px; height: var(--h); border-radius: 3px; background: linear-gradient(180deg, #a78bfa, #3b6cff); }
.fl-jauge { width: 58px; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-left: 6px; }
.fl-jauge i { display: block; height: 100%; width: 74%; border-radius: inherit; background: linear-gradient(90deg, #22d3ee, #34c77f); }
.defile { margin-top: clamp(12px, 3vh, 30px); padding: 18px 0; overflow: hidden; border-block: 1px solid var(--ligne);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.defile-piste { display: flex; width: max-content; animation: defiler 46s linear infinite; }
.defile:hover .defile-piste { animation-play-state: paused; }
.defile ul { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0 6px; }
.defile li { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font-weight: 700; color: var(--texte-2); padding: 8px 16px;
  border-radius: 999px; background: var(--surface); }
.defile svg { width: 19px; height: 19px; color: var(--accent); }
@keyframes defiler { to { transform: translateX(-50%); } }
@media (max-width: 760px) {
  .heros-boutons { flex-direction: column; align-items: stretch; padding: 0 8px; }
  .heros-scene { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: min(64vw, 300px); }
  .heros-scene .heros-puce { top: 0; translate: -50% 0; height: min(64vw, 300px); }
  .flottant { position: static; }
  .fl-carte { animation: none; padding: 12px; gap: 10px; height: 100%; }
  .fl-ic { width: 36px; height: 36px; border-radius: 12px; }
  .fl-barres, .fl-jauge { display: none; }
  .fl-carte small { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fl-carte, .point-vivant { animation: none; }
  .defile-piste { animation: none; flex-wrap: wrap; width: auto; }
  .defile ul[aria-hidden] { display: none; }
  .defile ul { flex-wrap: wrap; justify-content: center; }
}

/* ---------- bento des logiciels ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(36px, 6vh, 64px); }
.bento-carte { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-l); min-height: 310px;
  background: var(--surface); border: 1px solid var(--ligne); -webkit-backdrop-filter: var(--verre); backdrop-filter: var(--verre); overflow: hidden; }
:root[data-theme="clair"] .bento-carte, :root[data-theme="clair"] .bento-petite { border-color: rgba(255, 255, 255, .95); box-shadow: 0 20px 50px -34px rgba(38, 44, 120, .45); }
.bento-carte h3 { margin: 0; font-size: 1.3rem; letter-spacing: -.02em; }
.bento-carte p { margin: 0; color: var(--texte-2); line-height: 1.55; max-width: 34ch; }
.bento-accent { background: linear-gradient(150deg, #6d4ff2 0%, #3b5bff 55%, #1fb6e0 100%); border-color: transparent; color: #fff;
  box-shadow: 0 30px 60px -30px rgba(59, 91, 255, .7); }
.bento-accent p { color: rgba(255, 255, 255, .86); }
.viz-barres { margin-top: auto; display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.viz-barres i { flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px; background: rgba(255, 255, 255, .28); }
.viz-barres i:nth-child(6) { background: #fff; }
.viz-courbe { margin-top: auto; width: 100%; height: 120px; }
.viz-anneau { margin-top: auto; display: flex; align-items: center; gap: 18px; }
.viz-anneau svg { width: 120px; height: 120px; transform: rotate(-90deg); flex: none; }
.fond-anneau { fill: none; stroke: var(--surface-2); stroke-width: 14; }
.arc-anneau { fill: none; stroke: url(#bc-l); stroke-width: 14; stroke-linecap: round; }
.viz-anneau span { font-size: .88rem; color: var(--texte-2); line-height: 2; font-weight: 600; }
.viz-anneau i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.bento-petite { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r-l);
  background: var(--surface); border: 1px solid var(--ligne); -webkit-backdrop-filter: var(--verre); backdrop-filter: var(--verre); }
.bento-petite > svg { width: 44px; height: 44px; flex: none; padding: 11px; border-radius: 14px; background: var(--bit-doux); color: var(--bit); box-sizing: border-box; }
.bento-petite h3 { margin: 0 0 4px; font-size: 1.04rem; }
.bento-petite p { margin: 0; color: var(--texte-2); font-size: .94rem; line-height: 1.5; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .bento-carte { min-height: 0; } .viz-barres, .viz-courbe { height: 90px; } }

/* ---------- tuiles matériel ---------- */
.tuiles-materiel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(30px, 5vh, 54px); }
.tuiles-materiel article { padding: 24px 22px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--ligne);
  -webkit-backdrop-filter: var(--verre); backdrop-filter: var(--verre); transition: transform .25s, box-shadow .25s; }
:root[data-theme="clair"] .tuiles-materiel article { border-color: rgba(255, 255, 255, .95); }
.tuiles-materiel article:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(8, 145, 178, .55); }
.tm-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; margin-bottom: 18px;
  background: linear-gradient(135deg, #22d3ee, #3b6cff); box-shadow: 0 12px 26px -12px rgba(34, 211, 238, .8); }
.tm-ic svg { width: 26px; height: 26px; }
.tuiles-materiel h3 { margin: 0 0 6px; font-size: 1.08rem; }
.tuiles-materiel p { margin: 0; color: var(--texte-2); font-size: .93rem; line-height: 1.5; }
@media (max-width: 1000px) { .tuiles-materiel { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .tuiles-materiel { gap: 10px; } .tuiles-materiel article { padding: 18px 16px; } .tm-ic { width: 44px; height: 44px; margin-bottom: 12px; } }

/* ---------- comment ça marche : lignes numérotées ---------- */
.processus-duo { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: stretch; }
.processus { list-style: none; margin: 0; padding: 0; }
.processus li { display: grid; grid-template-columns: 74px 230px 1fr; gap: 18px; align-items: baseline; padding: 26px 8px; border-top: 1px solid var(--ligne);
  transition: background .25s; border-radius: 4px; }
.processus li:last-child { border-bottom: 1px solid var(--ligne); }
.processus li:hover { background: linear-gradient(90deg, var(--bit-doux), transparent 70%); }
.processus .num { font-size: 1rem; font-weight: 800; background: var(--degrade-texte); -webkit-background-clip: text; background-clip: text; color: transparent; }
.processus h3 { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -.025em; }
.processus p { margin: 0; color: var(--texte-2); line-height: 1.55; }
@media (max-width: 900px) { .processus-duo { grid-template-columns: 1fr; } .processus-duo > .zone-forme { display: none; }
  .processus li { grid-template-columns: 46px 1fr; } .processus p { grid-column: 2; } }

/* ---------- appel final : panneau sombre lumineux (dans les deux thèmes) ---------- */
.appel-v4 { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(36px, 7vw, 84px); color: #f2f3fc;
  background: radial-gradient(60% 90% at 50% -30%, rgba(124, 92, 246, .55), transparent 70%),
              radial-gradient(40% 60% at 100% 100%, rgba(34, 211, 238, .22), transparent 70%), #080b22;
  box-shadow: 0 40px 90px -40px rgba(20, 24, 80, .8); isolation: isolate; }
.appel-v4::before { content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 2px; z-index: -1;
  background: linear-gradient(90deg, transparent, #a78bfa, #22d3ee, transparent); filter: blur(.5px); }
.appel-texte { max-width: 640px; position: relative; z-index: 1; }
.appel-v4 h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.02; letter-spacing: -.04em; margin: 8px 0 0; }
.appel-v4 .chapeau { color: #b9bfe0; margin: 18px 0 30px; }
.appel-v4 .surtitre { color: #b9bfe0; }
.appel-v4 .reseaux { margin-top: 22px; }
@media (max-width: 760px) { .appel-v4 .ligne-flex { flex-direction: column; align-items: stretch; } }

/* ---------- prêt pour l'essai (après connexion) ---------- */
.pret-essai { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 26px; border-radius: var(--r-l);
  background: linear-gradient(var(--surface-pleine), var(--surface-pleine)) padding-box, var(--degrade) border-box; border: 2px solid transparent;
  box-shadow: 0 24px 60px -34px rgba(59, 91, 255, .7); }
.pret-essai h2 { margin: 0; font-size: 1.3rem; }
.pret-essai p { margin: 4px 0 0; color: var(--texte-2); }
.pret-essai > div { flex: 1; min-width: 220px; }
.pret-essai-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--degrade); color: #fff; }
.pret-essai-ic svg { width: 26px; height: 26px; }

/* ---------- connexion : vitrine + formulaire, suit le thème ---------- */
.ecran-acces { min-height: 100svh; display: grid; grid-template-columns: minmax(380px, 1fr) minmax(400px, 1.05fr); }
.acces-vitrine { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: clamp(28px, 5vw, 60px); border-right: 1px solid var(--ligne);
  background: radial-gradient(70% 60% at 20% 10%, var(--halo-1), transparent 70%), radial-gradient(60% 50% at 90% 90%, var(--halo-2), transparent 70%), var(--surface); }
.acces-marque { display: inline-flex; align-items: center; gap: 12px; color: var(--texte); text-decoration: none; }
.acces-marque svg { width: 42px; height: 42px; }
.acces-marque b { display: block; font-family: var(--f-marque); font-weight: 820; font-stretch: 125%; letter-spacing: .02em; font-size: 1.2rem; line-height: 1; }
.acces-marque small { display: block; font-family: var(--f-marque); font-size: .62rem; letter-spacing: .5em; color: var(--texte-2); margin-top: 4px; }
.acces-vitrine-texte { position: relative; z-index: 1; max-width: 460px; }
.acces-sur { margin: 0 0 12px; font-weight: 700; color: var(--accent); }
.acces-vitrine h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.04; letter-spacing: -.04em; }
.acces-vitrine ul { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 18px; }
.acces-vitrine li { display: flex; gap: 14px; align-items: flex-start; }
.acces-vitrine li > svg { width: 42px; height: 42px; padding: 10px; border-radius: 13px; box-sizing: border-box; flex: none;
  background: var(--surface-pleine); color: var(--accent); box-shadow: 0 10px 24px -16px rgba(38, 44, 120, .6); }
.acces-vitrine li b { display: block; }
.acces-vitrine li span { color: var(--texte-2); font-size: .95rem; }
.acces-lumieres i { position: absolute; width: 240px; height: 240px; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.acces-lumieres .l-bit { background: var(--bit); left: -60px; bottom: 60px; animation: derive 14s ease-in-out infinite alternate; }
.acces-lumieres .l-volt { background: var(--volt); right: -80px; bottom: -40px; animation: derive 12s ease-in-out infinite alternate-reverse; }
@keyframes derive { to { transform: translate(60px, -50px) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .acces-lumieres i { animation: none; } }
.acces-formulaire { display: grid; place-items: center; padding: clamp(28px, 5vw, 60px) 16px; }
.acces-formulaire .boite { width: min(440px, 100%); }
.acces-formulaire h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -.035em; margin: 0; }
.acces-formulaire .sous { color: var(--texte-2); margin: 10px 0 26px; }
.acces-formulaire .panneau { padding: 26px; border-radius: var(--r-l); background: var(--surface-pleine); border: 1px solid var(--ligne);
  box-shadow: 0 30px 70px -40px rgba(38, 44, 120, .5); }
.acces-formulaire .bas { margin-top: 20px; color: var(--texte-2); font-size: .94rem; text-align: center; }
.acces-marque-mobile { display: none; margin-bottom: 28px; }
.acces-demandeur { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 22px; border-radius: 14px;
  background: var(--bit-doux); color: var(--texte); font-size: .94rem; }
.acces-demandeur svg { width: 20px; height: 20px; flex: none; color: var(--bit); margin-top: 2px; }
.acces-formulaire .canal-choix { background: var(--surface-2); box-shadow: none; }
.acces-formulaire .canal-choix span { color: var(--texte-2); }
.acces-formulaire .champ-indicatif > span { border-color: var(--ligne); color: var(--texte); background: var(--surface-2); }
.acces-formulaire .btn-principal { background: var(--degrade); color: #fff; border-color: transparent; min-height: 52px; font-size: 1rem;
  box-shadow: 0 14px 30px -14px rgba(59, 91, 255, .75); }
.acces-formulaire .champ-code { font-size: 1.6rem; letter-spacing: .5em; text-align: center; font-weight: 800; }
.btn.en-cours { opacity: .75; cursor: progress; }
@media (max-width: 860px) { .ecran-acces { grid-template-columns: 1fr; } .acces-vitrine { display: none; }
  .acces-marque-mobile { display: inline-flex; } .acces-formulaire { place-items: start center; padding-top: 34px; } }

/* ======================================================================
   Espaces client et gestion : l'esprit Spectral Market
   ====================================================================== */
.espace { grid-template-columns: 252px minmax(0, 1fr); }
.barre { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 18px 12px; scrollbar-width: thin; }
.barre .marque { padding: 4px 8px 18px; }
.barre-lien { padding: 9px 12px; border-radius: 12px; font-size: .94rem; font-weight: 600; gap: 11px; min-height: 40px; }
.barre-lien svg { width: 19px; height: 19px; }
.barre-lien[aria-current="page"] { background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent); }
.barre-titre { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 16px 12px 6px; font-variation-settings: normal; }
.carte-utilisateur { background: var(--surface-2); border: 1px solid var(--ligne); border-radius: 14px; margin-bottom: 8px; }
.barre-bas .barre-lien { font-size: .9rem; }
.espace-tete { min-height: 72px; }
.espace-tete h1 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -.03em; font-variation-settings: normal; }
.espace-sous { display: block; color: var(--texte-3); font-size: .86rem; font-weight: 500; margin-top: 2px; }
.espace-corps { max-width: 1400px; }
.panneau-plat { border-radius: 18px; }
.panneau-plat h3 { letter-spacing: -.015em; }
/* indicateurs façon Spectral Market : libellé, valeur, tendance, pastille d'icône teintée */
.kpis { gap: 14px; }
.kpi { border-radius: 18px; padding: 18px 18px 16px; gap: 14px; align-items: center; transition: transform .2s, box-shadow .2s; }
a.kpi:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -26px rgba(38, 44, 120, .5); }
.kpi .ic { width: 48px; height: 48px; border-radius: 14px; }
.kpi .ic svg { width: 23px; height: 23px; }
.kpi .val { font-size: 1.6rem; letter-spacing: -.02em; font-variation-settings: normal; }
.kpi .lib { font-weight: 600; }
/* carte dégradée (comme le total à payer de la caisse) */
.carte-degradee { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(22px, 3vw, 30px); color: #fff;
  background: linear-gradient(120deg, #2457f5 0%, #5b4ff2 55%, #7c4dff 100%); box-shadow: 0 30px 60px -34px rgba(36, 87, 245, .8); }
.carte-degradee::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .25), transparent 65%); }
.carte-degradee .surtitre-carte { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.carte-degradee h2 { margin: 8px 0 6px; color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.03em; }
.carte-degradee p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 56ch; }
.carte-degradee .ligne-flex { margin-top: 20px; position: relative; z-index: 1; }
.carte-degradee .btn-blanc { background: #fff; color: #2440c8; border-color: transparent; font-weight: 750; }
.carte-degradee .btn-blanc:hover { background: #eef2ff; color: #2440c8; }
.carte-degradee .btn-fantome { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.carte-degradee .btn-fantome:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.carte-degradee .grand-chiffre { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-top: 10px; font-variant-numeric: tabular-nums; }
/* cartes produit de l'espace client */
.mes-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.mon-app { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 18px; background: var(--surface-pleine); border: 1px solid var(--ligne); }
.mon-app .tete-app { display: flex; gap: 14px; align-items: center; }
.mon-app .ic-app, .mon-app .ic-defaut { width: 52px; height: 52px; border-radius: 15px; flex: none; }
.ic-defaut { display: grid; place-items: center; background: var(--surface-2); }
.ic-defaut svg { width: 30px; height: 30px; }
.mon-app b { display: block; font-size: 1.05rem; }
.mon-app small { color: var(--texte-3); }
.mon-app .ligne-flex { margin-top: auto; }
.mon-app .btn { flex: 1; justify-content: center; }
.raccourcis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.raccourci { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: var(--surface-pleine);
  border: 1px solid var(--ligne); color: var(--texte); text-decoration: none; font-weight: 650; transition: border-color .2s, transform .2s; }
.raccourci:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--texte); text-decoration: none; }
.raccourci svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; box-sizing: border-box; flex: none; background: var(--bit-doux); color: var(--bit); }
.raccourci:nth-child(2n) svg { background: var(--volt-doux); color: var(--volt); }
.raccourci small { display: block; color: var(--texte-3); font-weight: 500; font-size: .82rem; }
.vide-doux { padding: 26px; border-radius: 16px; border: 1.5px dashed var(--ligne); text-align: center; color: var(--texte-2); }
.vide-doux .btn { margin-top: 12px; }
a.kpi { color: inherit; text-decoration: none; }
a.kpi:hover { color: inherit; text-decoration: none; border-color: color-mix(in srgb, var(--accent) 40%, var(--ligne)); }
.espace-titre { min-width: 0; }
.carte-degradee .btn svg { width: 18px; height: 18px; }
.pile-large > * + * { margin-top: 22px; }

/* ======================================================================
   v5 — héros en deux colonnes (le logo visible dès l'arrivée) et vitrine réelle
   ====================================================================== */
.heros-preuves { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center;
  color: var(--texte-2); font-weight: 650; font-size: .92rem; }
.heros-preuves li { display: inline-flex; align-items: center; gap: 8px; }
.heros-preuves svg { width: 17px; height: 17px; padding: 3px; box-sizing: content-box; border-radius: 50%; color: #fff;
  background: linear-gradient(135deg, var(--bit), var(--volt)); }
.heros-halo { position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--bit) 24%, transparent) 0%, color-mix(in srgb, var(--volt) 12%, transparent) 45%, transparent 70%);
  filter: blur(10px); }
@media (min-width: 1000px) {
  .page-accueil .heros-v4 { text-align: left; padding-top: clamp(96px, 12vh, 120px); }
  .heros-grille { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(20px, 3vw, 48px);
    min-height: min(calc(100vh - 190px), 640px); }
  .heros-texte h1 { margin: 20px 0 0; max-width: 13.5ch; font-size: clamp(2.7rem, 4.4vw, 4.3rem); }
  .heros-texte .chapeau { margin: 24px 0 0; max-width: 540px; }
  .heros-boutons, .heros-preuves { justify-content: flex-start; }
  .heros-scene { height: clamp(430px, 62vh, 580px); margin-top: 0; }
  .heros-scene .heros-puce { width: 100%; }
  .f1 { left: -4%; top: 8%; } .f2 { left: 0; bottom: 9%; } .f3 { right: -6%; top: 20%; } .f4 { right: -2%; bottom: 4%; }
}

/* vitrine : le vrai Spectral Market dans un cadre d'application, selon le thème */
.vitrine-produit { position: relative; margin: 0; border-radius: 18px; overflow: visible; transform: perspective(1600px) rotateY(-7deg) rotateX(3deg);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.vitrine-produit:hover { transform: perspective(1600px) rotateY(-2deg) rotateX(1deg); }
.vitrine-barre { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-radius: 18px 18px 0 0;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-bottom: 0; color: #c9cff0; font-size: .8rem; font-weight: 650; }
.vitrine-barre i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.vitrine-barre i:first-child { background: #ff6b6b; } .vitrine-barre i:nth-child(2) { background: #ffc94d; } .vitrine-barre i:nth-child(3) { background: #3ddc84; }
.vitrine-barre span { margin-left: 8px; }
.vitrine-produit img { display: block; width: 100%; height: auto; border-radius: 0 0 18px 18px; border: 1px solid rgba(255, 255, 255, .14); border-top: 0;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .04); }
.vitrine-sombre { display: none !important; }
:root[data-theme="sombre"] .vitrine-clair { display: none !important; }
:root[data-theme="sombre"] .vitrine-sombre { display: block !important; }
.vitrine-bulle { position: absolute; left: -26px; bottom: 26px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 18px; color: var(--texte); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); animation: flotter 6s ease-in-out infinite alternate; }
.vitrine-bulle b { display: block; font-size: .95rem; } .vitrine-bulle small { color: var(--texte-2); font-size: .82rem; }
@media (max-width: 860px) { .vitrine-produit { transform: none; } .vitrine-bulle { left: 10px; bottom: 10px; padding: 8px 12px 8px 8px; }
  .vitrine-bulle .fl-ic { width: 32px; height: 32px; } }
@media (prefers-reduced-motion: reduce) { .vitrine-produit, .vitrine-produit:hover { transform: none; } .vitrine-bulle { animation: none; } }

/* en-têtes des pages intérieures : Bit et Volt dessinent dans leur propre zone, jamais sur le texte */
.entete-page { display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 28vw, 360px); gap: clamp(16px, 4vw, 48px); align-items: center; }
.entete-page > .texte-col, .entete-page > div:first-child { min-width: 0; }
.entete-forme { height: clamp(220px, 30vh, 320px); }
.entete-forme-bas { height: clamp(180px, 26vh, 260px); margin-top: 18px; }
@media (max-width: 760px) {
  .entete-page { grid-template-columns: 1fr; }
  .entete-page .entete-forme { order: -1; height: 150px; margin-bottom: -10px; }
  .entete-forme-bas { display: none; }
}
.ps-icone-zone { position: relative; display: grid; place-items: center; }
.ps-icone-zone > .zone-forme { position: absolute; inset: 0; pointer-events: none; }
.ps-icone-zone .ps-icone { position: relative; z-index: 1; }

/* ======================================================================
   v5 — espaces client et gestion : finitions façon Spectral Market
   ====================================================================== */
.statut { padding: 4px 10px 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--texte-3) 12%, transparent); line-height: 1.2; white-space: nowrap; }
.statut.en_attente, .statut.nouvelle, .statut.declaree, .statut.ouvert, .statut.attente { background: color-mix(in srgb, var(--ambre) 16%, transparent); color: color-mix(in srgb, var(--ambre) 70%, var(--texte)); }
.statut.validee, .statut.acceptee, .statut.actif, .statut.resolu { background: color-mix(in srgb, var(--vert) 15%, transparent); color: color-mix(in srgb, var(--vert) 72%, var(--texte)); }
.statut.refusee, .statut.annulee, .statut.classee, .statut.expire { background: color-mix(in srgb, var(--rouge) 13%, transparent); color: color-mix(in srgb, var(--rouge) 75%, var(--texte)); }
.statut.discussion, .statut.devis, .statut.en_cours { background: color-mix(in srgb, var(--accent) 14%, transparent); color: color-mix(in srgb, var(--accent) 80%, var(--texte)); }
.statut.remboursee { color: var(--texte-2); }

.barre-lien { position: relative; }
.barre-lien[aria-current="page"]::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--bit), var(--volt)); }
.barre-aide { display: flex; align-items: center; gap: 12px; margin: 18px 4px 10px; padding: 14px; border-radius: 16px; color: #fff; text-decoration: none;
  background: linear-gradient(140deg, #6d4ff2 0%, #3b5bff 55%, #1fb6e0 100%); box-shadow: 0 16px 30px -18px rgba(59, 91, 255, .8); }
.barre-aide svg { width: 22px; height: 22px; flex: none; padding: 8px; box-sizing: content-box; border-radius: 12px; background: rgba(255, 255, 255, .18); }
.barre-aide b { display: block; font-size: .93rem; } .barre-aide small { display: block; opacity: .85; font-size: .8rem; overflow-wrap: anywhere; }
.barre-aide:hover { filter: brightness(1.06); }

.espace-titre h1 { letter-spacing: -.03em; }
.espace-sous { display: block; color: var(--texte-2); font-size: .92rem; margin-top: 2px; }
@media (max-width: 760px) { .espace-tete .masque-mobile { display: none; } .espace-sous { font-size: .85rem; } }

.tableau-wrap { border-radius: 18px; box-shadow: 0 1px 2px rgba(20, 24, 60, .04), 0 14px 34px -26px rgba(38, 44, 120, .45); }
.tab th { text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; font-weight: 750; padding: 14px 16px; background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.tab td { padding: 15px 16px; }
.tab td a:not(.btn) { font-weight: 650; }

.encart-info { display: flex; gap: 14px; align-items: flex-start; max-width: 820px; padding: 16px 18px; border-radius: 16px; margin-bottom: 18px;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface-pleine)); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.encart-info svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }
.encart-info p { margin: 0; color: var(--texte-2); line-height: 1.55; }

/* mes produits : des cartes d'application avec la durée qui reste */
.apps-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.app-carte { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 22px; overflow: hidden; color: inherit; text-decoration: none;
  background: var(--surface-pleine); border: 1px solid var(--ligne); box-shadow: 0 18px 40px -32px rgba(38, 44, 120, .55); }
.app-carte::before { content: ""; position: absolute; inset: 0 0 auto; height: 92px; pointer-events: none;
  height: 130px; background: radial-gradient(120% 100% at 0% 0%, hsla(var(--teinte, 245), 85%, 62%, .24), transparent 70%),
    radial-gradient(90% 90% at 100% 0%, hsla(calc(var(--teinte, 245) + 40), 85%, 60%, .14), transparent 70%); }
.app-carte > * { position: relative; }
.app-tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.app-icone { width: 56px; height: 56px; border-radius: 17px; object-fit: cover; box-shadow: 0 10px 24px -12px rgba(20, 24, 60, .55); }
.app-icone-defaut { display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, hsl(var(--teinte, 245), 80%, 62%), hsl(calc(var(--teinte, 245) + 35), 85%, 52%)); }
.app-icone-defaut svg { width: 26px; height: 26px; }
.app-carte h3 { margin: 0; font-size: 1.2rem; letter-spacing: -.02em; }
.app-carte .discret { margin: 0; }
.app-duree { display: grid; gap: 8px; margin: 10px 0 6px; font-size: .9rem; color: var(--texte-2); }
.app-jauge { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.app-jauge i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--bit), var(--volt)); }
.app-carte.essai .app-jauge i { background: linear-gradient(90deg, #f5b43a, #f08a3c); }
.app-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.app-actions .btn { flex: 1 1 auto; justify-content: center; }
.app-carte.inactive { opacity: .78; }
.app-ajout { align-items: center; justify-content: center; text-align: center; border-style: dashed; box-shadow: none; background: transparent; min-height: 260px; }
.app-ajout::before { display: none; }
.app-ajout .app-icone { --teinte: 250; }
.app-ajout:hover { border-color: var(--accent); }
.vide-riche { display: grid; justify-items: center; gap: 4px; }
.bit-volt { width: 160px; height: 90px; margin-bottom: 6px; }

/* mobile : l'espace occupe toute la largeur, l'en-tête respire */
@media (max-width: 980px) {
  .espace { grid-template-columns: minmax(0, 1fr); }
  .espace-tete { flex-wrap: wrap; gap: 10px; }
  .espace-titre { flex: 1 1 60%; min-width: 0; }
  .espace-titre h1 { font-size: 1.45rem; }
}
@media (max-width: 760px) {
  .kpis { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .kpi { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .kpi .val { font-size: 1.35rem; }
  .filtres .onglets { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; width: calc(100% + 32px); }
  .filtres .onglets a { flex: none; }
}

/* ===== Champs fichier (gestion, déclaration de paiement) ===== */
.fichier-champ { display: grid; gap: 10px; }
.fichier-actuel { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--ligne); border-radius: 14px; background: var(--surface-2); min-width: 0; }
.fichier-actuel img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; flex: none; }
.fichier-actuel a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
.fichier-retirer { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--texte-2); flex: none; margin: 0; font-weight: 500; }
.fichier-retirer input { width: auto; min-height: 0; margin: 0; }
input[type="file"] { width: 100%; padding: 8px; border: 1px dashed var(--ligne); border-radius: 14px; background: transparent; font-size: .9rem; }
input[type="file"]::file-selector-button { font: inherit; font-weight: 600; margin-right: 12px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--ligne); background: var(--surface-pleine); color: var(--texte); cursor: pointer; }
input[type="file"]::file-selector-button:hover { border-color: var(--accent); }
.filtres form.ligne-flex { flex: 1 1 420px; flex-wrap: wrap; gap: 10px; align-items: center; }
.filtres form.ligne-flex input[type="search"] { flex: 1 1 200px; width: auto; }

/* ===== Réalisations : les sites en ligne se présentent comme une fenêtre de navigateur ===== */
.tuile-site { padding-top: 30px; }
.tuile-adresse { position: absolute; inset: 0 0 auto; height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: color-mix(in srgb, var(--surface-pleine) 92%, transparent); border-bottom: 1px solid var(--ligne); z-index: 1; }
.tuile-adresse i { width: 8px; height: 8px; border-radius: 50%; background: var(--ligne); flex: none; }
.tuile-adresse i:nth-child(1) { background: #ff5f57; } .tuile-adresse i:nth-child(2) { background: #febc2e; } .tuile-adresse i:nth-child(3) { background: #28c840; }
.tuile-adresse b { margin-left: 8px; flex: 1; min-width: 0; font-weight: 500; font-size: .76rem; color: var(--texte-2); background: var(--surface-2); border-radius: 999px; padding: 3px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tuile-site img { height: 100%; object-position: top; }
.tuile-domaine { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .86rem; font-weight: 600; color: var(--accent); }
.tuile-domaine svg { width: 15px; height: 15px; }

/* ===== Fondateur v6 : portrait en orbite, domaines, distinctions ===== */
.fondateur-section .fondateur { grid-template-columns: minmax(220px, 360px) minmax(0, 1fr); align-items: start; gap: clamp(28px, 5vw, 72px); }
.fondateur-portrait { position: relative; display: grid; justify-items: center; gap: 18px; padding-top: 12px; }
.fondateur-portrait .fondateur-orbite { position: absolute; left: -12%; right: -12%; top: -10%; aspect-ratio: 1; pointer-events: none; }
.fondateur-portrait .fondateur-photo { position: relative; width: min(100%, 300px); }
.fondateur-signature { position: relative; margin: 6px 0 0; text-align: center; display: grid; gap: 2px; }
.fondateur-signature b { font-size: 1.15rem; }
.fondateur-signature span { color: var(--accent); font-weight: 700; font-size: .92rem; }
.fondateur-titre { margin: 6px 0 14px; text-wrap: balance; }
.fondateur-texte > p { max-width: 62ch; }
.fondateur-texte > p:not(.chapeau):not(.surtitre) { color: var(--texte-2); line-height: 1.7; }
.fondateur-domaines { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fondateur-domaines li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px;
  border: 1px solid var(--ligne); background: var(--surface-2); font-weight: 600; font-size: .9rem; }
.fondateur-domaines svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.fondateur-distinctions { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fondateur-distinctions li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; border: 1px solid var(--ligne);
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%); }
.fondateur-distinctions svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; flex: none; color: #fff; background: var(--degrade); }
.fondateur-distinctions b { display: block; font-size: .95rem; }
.fondateur-distinctions span { display: block; color: var(--texte-2); font-size: .85rem; line-height: 1.45; margin-top: 2px; }
@media (max-width: 1100px) { .fondateur-distinctions { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .fondateur-section .fondateur { grid-template-columns: minmax(0, 1fr); text-align: left; justify-items: stretch; }
  .fondateur-portrait .fondateur-photo { width: min(70vw, 240px); }
  .fondateur-portrait .fondateur-orbite { left: 0; right: 0; }
  .fondateur-texte { text-align: left; }
  .fondateur-texte .fondateur-devise { border-left: 3px solid; padding-left: 14px; }
}
.fondateur-ouvert { padding: 0; background: none; border: 0; box-shadow: none; }
.fondateur-ouvert .fondateur-portrait { position: sticky; top: 110px; }
@media (max-width: 760px) { .fondateur-ouvert .fondateur-portrait { position: relative; top: 0; padding-top: 30px; } }

/* ===== Gestion : contenu du site ===== */
.blocs-liste { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.bloc-ligne { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 16px;
  border: 1px solid var(--ligne); border-radius: 16px; background: var(--surface-pleine); }
.bloc-masque { opacity: .62; }
.bloc-masque .bloc-infos b { text-decoration: line-through; text-decoration-thickness: 1px; }
.bloc-ordre { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); font-weight: 700; font-size: .9rem; }
.bloc-infos { display: grid; gap: 2px; min-width: 0; }
.bloc-infos .discret { font-size: .88rem; }
.bloc-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.bloc-actions form { margin: 0; }
.bascule { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--texte-2); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; padding: 4px; }
.bascule i { position: relative; width: 40px; height: 22px; border-radius: 999px; background: var(--ligne); transition: background .2s; flex: none; }
.bascule i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.bascule.allumee { color: var(--texte); }
.bascule.allumee i { background: var(--degrade); }
.bascule.allumee i::after { transform: translateX(18px); }
.bascule:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.contenu-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 18px; align-items: start; }
.contenu-grille textarea { font-size: .95rem; line-height: 1.55; }
.contenu-image { display: block; width: 100%; max-height: 260px; object-fit: contain; border-radius: 14px; margin-bottom: 12px; background: var(--surface-2); }
.contenu-image.ronde { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; margin-inline: auto; }
.exemple-liste { margin: 8px 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: .82rem; white-space: pre-wrap; }
.icones-dispo { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; max-height: 320px; overflow: auto; }
.icones-dispo li { display: flex; align-items: center; gap: 6px; font-size: .8rem; padding: 4px 6px; border-radius: 8px; background: var(--surface-2); min-width: 0; }
.icones-dispo svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
.icones-dispo code { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) { .contenu-grille { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .bloc-ligne { grid-template-columns: auto minmax(0, 1fr); } .bloc-actions { grid-column: 1 / -1; justify-content: space-between; } }

/* ---------------------------------------------------------------- menu mobile : bouton et WhatsApp */
.tiroir-panneau a.btn-principal { background: var(--degrade); color: #fff; border-color: transparent; min-height: 50px;
  box-shadow: 0 10px 26px rgba(91, 124, 255, .3); }
.tiroir-panneau a.btn-principal:hover { background: var(--degrade); filter: brightness(1.08); }
.tiroir-panneau .tiroir-whatsapp { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px;
  border: 1px solid color-mix(in srgb, #25d366 45%, var(--ligne)); color: var(--texte); }
.tiroir-panneau .tiroir-whatsapp svg { width: 20px; height: 20px; color: #25d366; }
.tiroir-panneau .tiroir-whatsapp:hover { background: color-mix(in srgb, #25d366 10%, transparent); }

/* ---------------------------------------------------------------- réponses aux demandes sur mesure */
.demande-reponses { margin-top: 20px; max-width: 900px; }
.reponse-envoyee { border-left: 3px solid var(--violet, #7c5cff); padding: 4px 0 12px 14px; margin-bottom: 16px; }
.badge.badge-ok { background: color-mix(in srgb, #16a34a 14%, transparent); color: #15803d; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge.badge-ok { color: #4ade80; } }
:root[data-theme="dark"] .badge.badge-ok { color: #4ade80; }

/* ---------------------------------------------------------------- discussion sur la page d'une demande */
.fil-apercu { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; max-height: 520px; overflow-y: auto;
  padding: 4px 2px; }
.bulle-apercu { max-width: 86%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--surface-2, rgba(120,130,170,.1));
  border: 1px solid var(--ligne); }
.bulle-apercu.equipe { align-self: flex-end; border-radius: 16px 16px 4px 16px;
  background: color-mix(in srgb, #5b7cff 12%, transparent); border-color: color-mix(in srgb, #5b7cff 30%, var(--ligne)); }
.bulle-apercu p { margin: 0 0 4px; overflow-wrap: anywhere; }
.bulle-apercu .discret { font-size: .8rem; }
