/* ─────────────────────────────────────────────────────────────────────
   SITEmate — la vitrine

   Elle réutilise les jetons de couleur de l'application (styles.css) :
   même encre, même bleu, même ambre. Ce qui change, c'est le registre —
   beaucoup d'air, une typographie plus grande, de la profondeur.

   Tout est préfixé « v- » et vit sous body.vitrine : aucune règle d'ici
   ne peut atteindre l'application.

   Le motif de fond — une grille fine, des repères — vient des plans et
   des diagrammes de planning. C'est le seul ornement, et il est discret.
   ───────────────────────────────────────────────────────────────────── */

/* ================================================================== */
/*  La vitrine est SOMBRE, toujours                                    */
/*                                                                     */
/*  L'application, elle, suit le réglage du système : on la lit dehors */
/*  en plein soleil, et un fond noir y serait illisible. La vitrine se */
/*  lit assis, sur un écran, souvent le soir — et le produit y ressort */
/*  mieux. Ce sont deux usages, pas deux goûts.                        */
/*                                                                     */
/*  On redéfinit donc les jetons ICI, sous body.vitrine seulement :    */
/*  aucune de ces valeurs ne peut atteindre l'application.             */
/* ================================================================== */

body.vitrine {
  color-scheme: dark;
  background: var(--canevas);

  --encre: #eef2f6;
  --encre-douce: #c0c9d3;
  --gris-texte: #8d98a4;
  --canevas: #0b0e12;
  --surface: #12171d;
  --gris: #1a2027;
  --trait: #262d36;
  --rail-fond: #12161b;
  --rail-texte: #aab4c0;

  --bleu: #5b9bd0;
  --bleu-fonce: #8cc0e8;
  --bleu-pale: #15222e;

  --ambre: #eba63f;
  --ambre-pale: #29200f;
  --ambre-texte: #eba63f;

  --rouge: #ef6a5e;
  --rouge-pale: #331b19;
  --vert: #3cbd8b;
  --vert-pale: #11251c;

  --ombre: 0 1px 2px rgba(0, 0, 0, 0.5);
  --ombre-haute: 0 10px 34px -12px rgba(0, 0, 0, 0.8);
}

.v-app {
  display: block;
  max-width: none;
  padding: 0;
  margin: 0;
}

.v-large {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 24px;
}

/* ================================================================== */
/*  Barre de navigation                                                */
/* ================================================================== */

.v-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-block: 14px;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.v-nav.posee {
  background: color-mix(in srgb, var(--canevas) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--trait);
}

.v-nav-in {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.v-spacer { flex: 1; }

.v-mark {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--encre);
  text-decoration: none;
  white-space: nowrap;
}
.v-mark em { font-style: normal; color: var(--ambre); }

.v-nav-liens { display: flex; gap: 4px; margin-left: 22px; }

.v-nav-lien {
  padding: 7px 11px;
  border-radius: 7px;
  font-size: 14px;
  color: var(--encre-douce);
  text-decoration: none;
  white-space: nowrap;
}
.v-nav-lien:hover { background: var(--gris); color: var(--encre); }

/* --- le sélecteur de langue -------------------------------------- */

.v-langues {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--trait);
  border-radius: 999px;
  background: var(--surface);
}

.v-langue {
  border: 0;
  background: none;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gris-texte);
  cursor: pointer;
}
.v-langue.on { background: var(--encre); color: var(--canevas); }

/* ================================================================== */
/*  Boutons                                                            */
/* ================================================================== */

.v-btn {
  border-radius: 9px;
  border: 1px solid transparent;
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 650;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.v-btn:active { transform: translateY(1px); }

.v-btn-fant { background: none; color: var(--encre); }
.v-btn-fant:hover { background: var(--gris); }

.v-btn-plein {
  background: var(--encre);
  color: var(--canevas);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
}
.v-btn-plein:hover { background: var(--encre-douce); }

.v-btn-contour { background: var(--surface); border-color: var(--trait); color: var(--encre); }
.v-btn-contour:hover { border-color: var(--encre-douce); }

.v-btn-grand { padding: 13px 24px; font-size: 15.5px; border-radius: 11px; }

/* ================================================================== */
/*  Typographie                                                        */
/* ================================================================== */

.v-surtitre {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ambre-texte);
}

.v-h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 6.2vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 780;
  color: var(--encre);
  text-wrap: balance;
}

.v-h2 {
  margin: 0 0 20px;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 740;
  color: var(--encre);
  max-width: 21ch;
  text-wrap: balance;
}
.v-h2:has(em) { max-width: 26ch; }
.v-h2 em { font-style: normal; color: var(--ambre); }

.v-lede {
  margin: 0 0 26px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.58;
  color: var(--encre-douce);
  max-width: 56ch;
}
.v-lede-large { max-width: 68ch; margin-bottom: 40px; }

.v-note { font-size: 13px; color: var(--gris-texte); margin: 0; }

.v-chute {
  margin: 34px 0 0;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.45;
  font-weight: 620;
  color: var(--encre);
  max-width: 46ch;
  border-left: 3px solid var(--ambre);
  padding-left: 18px;
}

/* ================================================================== */
/*  Sections                                                           */
/* ================================================================== */

.v-section { padding-block: clamp(64px, 9vw, 120px); }
.v-section:nth-of-type(even) { background: var(--surface); }

/* Le motif de plan : une grille fine, presque invisible, qui donne du
   sol à la page sans devenir un décor. */
.v-grille {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--trait) 1px, transparent 1px),
    linear-gradient(to bottom, var(--trait) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
}

/* ================================================================== */
/*  Hero                                                               */
/* ================================================================== */

.v-hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 84px) clamp(48px, 7vw, 92px);
  overflow: hidden;
}

.v-hero-in {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}

.v-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }

/* --- le téléphone ------------------------------------------------- */

.v-hero-visuel { display: flex; justify-content: center; }

.v-tel {
  position: relative;
  width: min(330px, 100%);
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, 0.6));
}
/* Un halo froid derrière l'appareil : sans lui, un téléphone sombre sur
   un fond sombre disparaît. */
.v-tel::before {
  content: '';
  position: absolute;
  inset: -14% -22%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--bleu) 22%, transparent), transparent 72%);
  pointer-events: none;
}

.v-tel-corps {
  position: relative;
  border-radius: 34px;
  border: 1px solid var(--trait);
  background: var(--canevas);
  padding: 10px 8px 8px;
  height: 648px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: inset 0 0 0 7px var(--surface);
}

.v-tel-encoche {
  width: 92px;
  height: 5px;
  border-radius: 99px;
  background: var(--trait);
  margin: 2px auto 10px;
  flex: none;
}

.v-tel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 10px;
  border-bottom: 1px solid var(--trait);
  font-size: 14px;
  flex: none;
}
.v-tel-retour { color: var(--bleu); font-size: 19px; line-height: 1; }
.v-tel-pastille {
  margin-left: auto;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--vert);
}

.v-tel .v-fil {
  flex: 1;
  overflow: hidden;
  padding: 10px 12px 4px;
  gap: 4px;
}
.v-tel .v-fil .bulle { font-size: 13.5px; padding: 9px 11px 7px; }
.v-tel .v-fil .msg > .heure { font-size: 10px; }
.v-tel .v-fil .jour { font-size: 10.5px; }
.v-tel .v-fil .transcript { font-size: 13px; }
.v-tel .v-fil .action-bulle { font-size: 12px; margin-top: 7px; pointer-events: none; }

.v-tel-composer {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 10px 4px;
  border-top: 1px solid var(--trait);
}
.v-rond {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gris);
  font-size: 13px;
  flex: none;
}
.v-rond-actif { background: var(--bleu); }
.v-champ {
  flex: 1;
  padding: 7px 11px;
  border-radius: 99px;
  background: var(--gris);
  color: var(--gris-texte);
  font-size: 12.5px;
}

/* Les bulles arrivent l'une après l'autre, lentement. */
.v-anime {
  animation: v-monte 0.62s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
@keyframes v-monte {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.v-vocal { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.v-vocal .v-ico { width: 16px; height: 16px; flex: none; }
.v-onde { display: flex; align-items: center; gap: 2px; flex: 1; height: 18px; }
.v-onde i {
  flex: 1;
  background: currentColor;
  opacity: 0.55;
  border-radius: 2px;
  height: 40%;
}
.v-onde i:nth-child(3n) { height: 88%; }
.v-onde i:nth-child(3n + 1) { height: 60%; }
.v-onde i:nth-child(4n) { height: 100%; }

/* --- le schéma entrées → SITEmate → sorties ----------------------- */

.v-flux {
  position: relative;
  margin-top: clamp(34px, 5vw, 64px);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--trait);
  border-radius: 16px;
  background: var(--surface);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  box-shadow: var(--ombre);
}

.v-flux-col { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; }
.v-flux-droite { justify-content: flex-end; }

.v-flux-titre {
  width: 100%;
  margin: 0 0 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gris-texte);
}
.v-flux-droite .v-flux-titre { text-align: right; }

.v-jeton {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--trait);
  border-radius: 999px;
  background: var(--canevas);
  font-size: 13px;
  font-weight: 560;
  color: var(--encre-douce);
  white-space: nowrap;
  animation: v-souffle 0.5s ease both;
}
.v-jeton.sortie { border-color: color-mix(in srgb, var(--bleu) 45%, var(--trait)); color: var(--bleu-fonce); }
.v-jeton .v-ico { width: 15px; height: 15px; opacity: 0.85; }

@keyframes v-souffle {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.v-flux-col .v-jeton:nth-child(2) { animation-delay: 0.05s; }
.v-flux-col .v-jeton:nth-child(3) { animation-delay: 0.15s; }
.v-flux-col .v-jeton:nth-child(4) { animation-delay: 0.25s; }
.v-flux-col .v-jeton:nth-child(5) { animation-delay: 0.35s; }
.v-flux-col .v-jeton:nth-child(6) { animation-delay: 0.45s; }

.v-flux-noeud { display: grid; justify-items: center; gap: 8px; }

.v-flux-pastille {
  width: 58px; height: 58px;
  border-radius: 17px;
  display: grid; place-items: center;
  background: var(--ambre);
  color: #1b1405;
  font-weight: 820;
  font-size: 25px;
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--ambre) 16%, transparent);
}
.v-flux-nom { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; color: var(--encre); }

.v-ico { width: 18px; height: 18px; display: inline-block; flex: none; }
.v-ico svg { width: 100%; height: 100%; display: block; }

/* ================================================================== */
/*  Section problème                                                   */
/* ================================================================== */

.v-eparpille { display: grid; justify-items: center; gap: 4px; }

.v-src-grille {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 720px;
}

.v-src {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 17px;
  border: 1px dashed var(--trait);
  border-radius: 11px;
  background: var(--canevas);
  font-size: 14px;
  color: var(--encre-douce);
}
.v-section:nth-of-type(even) .v-src { background: var(--surface); }
/* Chacune penche un peu : c'est un tas, pas un tableau. */
.v-src:nth-child(2) { transform: rotate(-1.4deg); }
.v-src:nth-child(3) { transform: rotate(1deg); }
.v-src:nth-child(5) { transform: rotate(-0.8deg); }
.v-src:nth-child(6) { transform: rotate(1.6deg); }

.v-fleche-bas {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, transparent, var(--trait));
  position: relative;
  margin-top: 18px;
}
.v-fleche-bas::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 7px; height: 7px;
  border-right: 1px solid var(--gris-texte);
  border-bottom: 1px solid var(--gris-texte);
  transform: translate(-50%, 2px) rotate(45deg);
}

.v-src-chute {
  margin-top: 18px;
  padding: 16px 22px;
  border-radius: 12px;
  background: var(--ambre-pale);
  color: var(--ambre-texte);
  font-size: clamp(15px, 1.7vw, 18px);
  text-align: center;
}

/* ================================================================== */
/*  Comment ça marche                                                  */
/* ================================================================== */

.v-deux {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.v-colle { position: sticky; top: 92px; }

.v-etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.v-etape {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.v-etape.on {
  background: var(--canevas);
  border-color: var(--trait);
  box-shadow: var(--ombre);
}
.v-section:nth-of-type(even) .v-etape.on { background: var(--gris); }

.v-etape-n {
  font-family: var(--chiffres);
  font-size: 13px;
  font-weight: 700;
  color: var(--gris-texte);
  padding-top: 3px;
  transition: color 0.3s ease;
}
.v-etape.on .v-etape-n { color: var(--ambre); }
.v-etape b { display: block; font-size: 17.5px; margin-bottom: 5px; color: var(--encre); }
.v-etape p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--encre-douce); }

.v-scene-hote {
  min-height: 300px;
  display: grid;
  align-content: center;
  padding: 26px;
  border: 1px solid var(--trait);
  border-radius: 16px;
  background: var(--canevas);
  box-shadow: var(--ombre);
}
.v-section:nth-of-type(even) .v-scene-hote { background: var(--gris); }

.v-scene { animation: v-souffle 0.4s ease both; }
.v-scene-fil .bulle { font-size: 14px; }
.v-scene-fil .msg { max-width: 100%; }

.v-carte-rub {
  background: var(--surface);
  border: 1px solid var(--trait);
  border-left: 3px solid var(--trait);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.v-carte-rub:last-child { margin-bottom: 0; }
.v-carte-rub p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--encre); }
.v-carte-alerte { border-left-color: var(--ambre); }
.v-carte-action { border-left-color: var(--bleu); }

.v-rub {
  display: block;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gris-texte);
  margin-bottom: 6px;
}

/* ================================================================== */
/*  IA qui connaît le chantier                                         */
/* ================================================================== */

.v-ia {
  display: grid;
  grid-template-columns: 1.4fr auto 1fr;
  gap: clamp(14px, 2.5vw, 28px);
  align-items: center;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--trait);
  border-radius: 16px;
  background: var(--canevas);
  box-shadow: var(--ombre);
}
.v-section:nth-of-type(even) .v-ia { background: var(--surface); }

.v-kb-grille { display: flex; flex-wrap: wrap; gap: 8px; }

.v-kb-item {
  padding: 8px 13px;
  border-radius: 8px;
  background: var(--bleu-pale);
  color: var(--bleu-fonce);
  font-size: 13px;
  font-weight: 580;
  border: 1px solid color-mix(in srgb, var(--bleu) 25%, transparent);
}

.v-ia-plus {
  font-size: 26px;
  font-weight: 300;
  color: var(--gris-texte);
}

.v-ia-ex {
  margin-top: 22px;
  display: grid;
  gap: 8px;
}

.v-ex-ligne {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--trait);
}
.v-section:nth-of-type(even) .v-ex-ligne { background: var(--canevas); }
.v-ex-ligne p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--encre); }

.v-ex-eti {
  font-family: var(--chiffres);
  font-size: 11px;
  font-weight: 700;
  color: var(--gris-texte);
  padding-top: 3px;
  flex: none;
  width: 18px;
}

.v-ex-vide { border-style: dashed; }
.v-ex-vide p { color: var(--gris-texte); }

.v-ex-assistant {
  background: var(--ambre-pale);
  border-color: color-mix(in srgb, var(--ambre) 40%, transparent);
}
.v-ex-assistant p { color: var(--encre); font-weight: 560; }
.v-ex-assistant .v-ex-eti {
  background: var(--ambre);
  color: #1b1405;
  width: 20px; height: 20px;
  border-radius: 6px;
  display: grid; place-items: center;
  padding: 0;
  font-family: inherit;
  font-size: 11px;
}

/* ================================================================== */
/*  Avant / après du compte rendu                                      */
/* ================================================================== */

.v-avap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: start;
}

.v-av, .v-ap { display: grid; gap: 12px; align-content: start; }

.v-av-tas { display: flex; flex-wrap: wrap; gap: 8px; }
.v-av-bout {
  padding: 9px 14px;
  border: 1px dashed var(--trait);
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--gris-texte);
  background: var(--canevas);
}
.v-section:nth-of-type(even) .v-av-bout { background: var(--surface); }

.v-av-chute { margin: 6px 0 0; font-size: 14px; color: var(--gris-texte); font-style: italic; }
.v-ok { color: var(--vert); font-style: normal; font-weight: 620; }

.v-cr {
  border: 1px solid var(--trait);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--ombre-haute);
  overflow: hidden;
}
.v-section:nth-of-type(even) .v-cr { background: var(--canevas); }

.v-cr-tete {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--trait);
}
.v-cr-tete b { font-size: 15.5px; }
.v-cr-ref { font-family: var(--chiffres); font-size: 12px; color: var(--gris-texte); margin-left: 8px; }
.v-cr-etat {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gris);
  font-size: 11.5px;
  font-weight: 680;
  color: var(--encre-douce);
}

.v-cr-rub { padding: 14px 20px; border-bottom: 1px solid var(--trait); border-left: 3px solid transparent; }
.v-cr-rub h4 {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gris-texte);
}
.v-cr-rub p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--encre); }
.v-cr-alerte { border-left-color: var(--ambre); }
.v-cr-clarifier { border-left-color: var(--bleu); background: color-mix(in srgb, var(--bleu) 5%, transparent); }

.v-cr-pied { padding: 12px 20px; font-size: 12px; color: var(--gris-texte); }

.v-points {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 10px 22px;
}
.v-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--encre-douce);
}
.v-points .v-ico { color: var(--vert); margin-top: 2px; width: 16px; height: 16px; }

/* ================================================================== */
/*  Planning                                                           */
/* ================================================================== */

.v-pla {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--trait);
  border-radius: 16px;
  background: var(--canevas);
  box-shadow: var(--ombre);
}
.v-section:nth-of-type(even) .v-pla { background: var(--surface); }

.v-pla-event { grid-column: 1 / -1; }
.v-pla-cite {
  margin: 6px 0 0;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 640;
  letter-spacing: -0.02em;
  color: var(--encre);
}

.v-pla-chaine { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v-pla-chaine li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--encre-douce);
}
.v-pla-qui {
  flex: none;
  min-width: 66px;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--gris);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--encre-douce);
  text-align: center;
}
.v-pla-moteur { background: var(--bleu); color: #fff; }

.v-gantt { display: grid; gap: 7px; }
.v-gantt-ligne {
  height: 13px;
  border-radius: 4px;
  background: var(--gris);
  position: relative;
  overflow: hidden;
}
.v-gantt-bar {
  position: absolute;
  top: 0; bottom: 0;
  border-radius: 4px;
  background: var(--bleu);
  opacity: 0.55;
}
.v-gantt-bar.crit { background: var(--rouge); opacity: 0.8; }

.v-regle {
  margin-top: 26px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--ambre) 35%, var(--trait));
  background: var(--ambre-pale);
}
.v-regle b {
  display: block;
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: -0.02em;
  color: var(--encre);
  margin-bottom: 10px;
}
.v-regle p { margin: 0 0 10px; font-size: 15px; line-height: 1.58; color: var(--encre-douce); max-width: 70ch; }
.v-regle p:last-child { margin-bottom: 0; }

/* ================================================================== */
/*  Cas d'usage                                                        */
/* ================================================================== */

.v-usages {
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) 1.25fr;
  gap: clamp(16px, 3vw, 36px);
  align-items: start;
}

.v-usage-onglets { display: grid; gap: 2px; }

.v-usage-onglet {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  border: 0;
  border-left: 2px solid var(--trait);
  background: none;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 560;
  color: var(--gris-texte);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.v-usage-onglet:hover { color: var(--encre); }
.v-usage-onglet.on {
  border-left-color: var(--ambre);
  color: var(--encre);
  font-weight: 680;
  background: color-mix(in srgb, var(--ambre) 7%, transparent);
}
.v-usage-n { font-family: var(--chiffres); font-size: 11px; opacity: 0.65; }

.v-usage-detail {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--trait);
  border-radius: 16px;
  background: var(--canevas);
  box-shadow: var(--ombre);
  min-height: 190px;
}
.v-section:nth-of-type(even) .v-usage-detail { background: var(--surface); }
/* styles.css met tous les h3 en petites capitales grises : c'est juste
   pour les rubriques de l'application, pas pour un titre de vitrine. */
.v-usage-detail h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.02em;
  text-transform: none;
  font-weight: 720;
  color: var(--encre);
}
.v-usage-detail p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--encre-douce); max-width: 54ch; }

/* Un exemple concret sous chaque cas : sans lui, le panneau est une
   promesse de plus. Avec lui, on voit ce que ça donne. */
.v-usage-ex {
  margin-top: 20px;
  padding: 15px 18px;
  border-radius: 11px;
  border: 1px solid var(--trait);
  border-left: 3px solid var(--ambre);
  background: var(--surface);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--encre);
}
.v-section:nth-of-type(even) .v-usage-ex { background: var(--canevas); }
.v-usage-ex span {
  display: block;
  font-size: 10.5px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gris-texte);
  margin-bottom: 6px;
}

/* ================================================================== */
/*  Sécurité                                                           */
/* ================================================================== */

.v-sec-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 14px;
}

.v-sec {
  padding: 22px;
  border: 1px solid var(--trait);
  border-radius: 14px;
  background: var(--canevas);
}
.v-section:nth-of-type(even) .v-sec { background: var(--surface); }
.v-sec .v-ico { color: var(--bleu); margin-bottom: 12px; width: 20px; height: 20px; }
.v-sec b { display: block; font-size: 15.5px; margin-bottom: 7px; color: var(--encre); }
.v-sec p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--encre-douce); }

.v-honnete {
  margin: 26px 0 0;
  padding: 16px 20px;
  border-left: 3px solid var(--trait);
  font-size: 14px;
  line-height: 1.6;
  color: var(--gris-texte);
  max-width: 76ch;
}

/* ================================================================== */
/*  Fin et pied                                                        */
/* ================================================================== */

.v-fin {
  position: relative;
  overflow: hidden;
  padding-block: clamp(70px, 10vw, 130px);
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, color-mix(in srgb, var(--ambre) 11%, transparent), transparent 70%),
    var(--gris);
  border-top: 1px solid var(--trait);
}
.v-fin .v-grille { opacity: 0.16; mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 10%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 10%, transparent 72%); }
.v-fin-in { position: relative; text-align: center; display: grid; justify-items: center; }
.v-fin-titre { color: #fff; max-width: 20ch; }
.v-fin-titre em { color: var(--ambre); }
.v-fin .v-lede { color: var(--rail-texte); }
.v-fin .v-btn-plein { background: var(--ambre); color: #1b1405; }
.v-fin .v-btn-plein:hover { background: #f0ad44; }
.v-fin .v-btn-contour { background: transparent; border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.v-fin .v-btn-contour:hover { border-color: rgba(255, 255, 255, 0.6); }

.v-pied { padding-block: 30px; border-top: 1px solid var(--trait); background: var(--canevas); }
.v-pied-in { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ================================================================== */
/*  Apparition au défilement                                           */
/*                                                                     */
/*  L'état par défaut est VISIBLE. C'est le script qui cache, et        */
/*  seulement s'il peut aussi révéler. Sans cela, une page sans         */
/*  JavaScript resterait blanche.                                      */
/* ================================================================== */

.reveal { transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1); transition-delay: var(--d, 0ms); }
.reveal.cachee { opacity: 0; transform: translateY(16px); }

@media (prefers-reduced-motion: reduce) {
  .v-anime, .v-jeton, .v-scene { animation: none !important; }
  .reveal { transition: none; }
  .reveal.cachee { opacity: 1; transform: none; }
  .v-nav { transition: none; }
}

/* ================================================================== */
/*  Tablette et téléphone                                              */
/* ================================================================== */

@media (max-width: 1000px) {
  .v-hero-in { grid-template-columns: 1fr; }
  /* Le titre passe devant : une page dont on ne voit d'abord que
     l'illustration ne dit pas ce qu'elle vend. */
  .v-tel { width: min(320px, 100%); }
  .v-tel-corps { height: 600px; }
  .v-deux, .v-avap, .v-pla, .v-usages { grid-template-columns: 1fr; }
  .v-colle { position: static; }
  .v-ia { grid-template-columns: 1fr; }
  .v-ia-plus { justify-self: center; }
  .v-usage-onglets { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: none; }
  .v-usage-onglets::-webkit-scrollbar { display: none; }
  .v-usage-onglet {
    border-left: 0;
    border-bottom: 2px solid var(--trait);
    white-space: nowrap;
    padding: 10px 14px;
  }
  .v-usage-onglet.on { border-left: 0; border-bottom-color: var(--ambre); }
}

@media (max-width: 720px) {
  .v-nav-liens { display: none; }
  /* Une seule action dans la barre : « créer un compte » est déjà en
     grand dans le hero, et deux boutons débordaient de l'écran. */
  .v-nav .v-btn-plein { display: none; }
  .v-nav-in, .v-large { padding-inline: 16px; }
  .v-flux { grid-template-columns: 1fr; text-align: center; }
  .v-flux-col, .v-flux-droite { justify-content: center; }
  .v-flux-droite .v-flux-titre { text-align: center; }
  .v-flux-noeud { order: -1; }
  .v-pied-in { justify-content: center; text-align: center; }
  .v-btn-grand { width: 100%; }
  .v-cta { width: 100%; }
}

@media (max-width: 420px) {
  .v-nav-in { gap: 8px; }
  .v-mark { font-size: 17px; }
  .v-btn { padding: 8px 12px; font-size: 13px; }
  .v-langue { padding: 4px 9px; font-size: 11px; }
  .v-tel-corps { height: 560px; }
}
