/* Vitrine d'ASIDE (site complet et aperçu public), par-dessus site.css. Thèmes clair et sombre (préférence du système, ou le bouton
   de l'en-tête, sans rien garder) ; l'ouverture, l'en-tête et le pied restent à l'encre. Palette de la marque : encre, ardoise, blanc, bleu, rouge. */
:root {
  color-scheme: light;
  --fond: #FFFFFF;
  --fond-2: #F3F5F8;
  --fond-3: #E8ECF2;
  --carte: #FFFFFF;
  --texte: #0A111E;
  --texte-2: #404C5A;
  --texte-3: #6B7785;
  --trait: #DDE2E9;
  --lien: #0066CC;
  --accent: #0066CC;
  --accent-doux: rgba(0, 102, 204, .1);
  --alerte: #C82833;
  --vert: #1F8A63;
  --ambre: #B9770E;
  --ombre: 0 18px 50px rgba(10, 17, 30, .16), 0 0 0 1px rgba(10, 17, 30, .08);
  --ombre-forte: 0 30px 80px rgba(10, 17, 30, .28), 0 0 0 1px rgba(10, 17, 30, .1);
  --code: #0B1322;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --fond: #0A111E;
    --fond-2: #0D1628;
    --fond-3: #121E33;
    --carte: #101A2B;
    --texte: #E9EEF5;
    --texte-2: #B4BFCC;
    --texte-3: #7F8B99;
    --trait: rgba(255, 255, 255, .1);
    --lien: #4D94DB;
    --accent: #4D94DB;
    --accent-doux: rgba(77, 148, 219, .14);
    --alerte: #E04F5A;
    --vert: #3FB68B;
    --ambre: #E3A33B;
    --ombre: 0 18px 50px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .07);
    --ombre-forte: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .09);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --fond: #0A111E;
  --fond-2: #0D1628;
  --fond-3: #121E33;
  --carte: #101A2B;
  --texte: #E9EEF5;
  --texte-2: #B4BFCC;
  --texte-3: #7F8B99;
  --trait: rgba(255, 255, 255, .1);
  --lien: #4D94DB;
  --accent: #4D94DB;
  --accent-doux: rgba(77, 148, 219, .14);
  --alerte: #E04F5A;
  --vert: #3FB68B;
  --ambre: #E3A33B;
  --ombre: 0 18px 50px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .07);
  --ombre-forte: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .09);
}

body { background: var(--fond); color: var(--texte); overflow-x: hidden; }
a { color: var(--lien); }
a:hover { color: var(--lien); text-decoration-thickness: 2px; }
.document p, .document li, .document .liste-courte li { color: var(--texte-2); }
.document-date { color: var(--texte-3); }
.tableau, .tableau th, .tableau td { border-color: var(--trait); }
.tableau th { background: var(--fond-2); color: var(--texte); }
.tableau td { color: var(--texte-2); }
.tableau td:first-child { color: var(--texte); }
.liste-courte li::before { background: var(--accent); }
::selection { background: rgba(0, 102, 204, .3); }

/* En-tête : le bouton du thème */
.menu-theme { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .22);
  background: transparent; color: var(--texte-sombre); cursor: pointer; margin-left: 6px; padding: 0; }
.menu-theme:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.menu-theme svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu-theme .v-soleil { display: none; }
:root[data-theme="dark"] .menu-theme .v-soleil { display: block; }
:root[data-theme="dark"] .menu-theme .v-lune { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .menu-theme .v-soleil { display: block; }
  :root:not([data-theme="light"]) .menu-theme .v-lune { display: none; }
}
.menu-theme[hidden] { display: none; }

/* Ouverture */
.v-ouverture { position: relative; overflow: hidden; color: #fff; background: #0A111E; padding: 72px 0 0; isolation: isolate; }
.v-ouverture-fond { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 100%); }
.v-lueur { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: v-flotte 18s ease-in-out infinite alternate; }
.v-lueur-1 { width: 620px; height: 420px; left: 55%; top: -160px; background: rgba(0, 102, 204, .55); }
.v-lueur-2 { width: 420px; height: 320px; left: -120px; top: 260px; background: rgba(0, 102, 204, .3); animation-duration: 22s; }
.v-lueur-3 { width: 320px; height: 260px; left: 72%; top: 520px; background: rgba(200, 40, 51, .28); animation-duration: 26s; }
@keyframes v-flotte { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-60px, 40px, 0) scale(1.15); } }
.v-ouverture-grille { margin-bottom: 48px; }
.v-ouverture h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 .35em; max-width: 19ch;
  background: linear-gradient(100deg, #fff 30%, #9CC7F0 70%, #fff 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: v-reflet 9s ease-in-out infinite; }
@keyframes v-reflet { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.v-ouverture .ouverture-sous-titre { max-width: 52ch; color: var(--texte-sombre); }
.v-ouverture .ouverture-note { color: #8C98A7; }
.v-pastille-vivante { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3FB68B; margin-right: 8px; vertical-align: 1px;
  box-shadow: 0 0 0 0 rgba(63, 182, 139, .6); animation: v-pouls 2s infinite; }
@keyframes v-pouls { 70% { box-shadow: 0 0 0 9px rgba(63, 182, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 182, 139, 0); } }

/* La fenêtre qui fait défiler les captures */
.v-vitrine { perspective: 1800px; }
.v-fenetre { border-radius: 12px; overflow: hidden; background: #0B1322; box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .1), 0 0 80px rgba(0, 102, 204, .25);
  transform: rotateX(9deg) scale(.96); transform-origin: 50% 100%; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.v-vitrine.vu .v-fenetre, .v-vitrine:hover .v-fenetre { transform: none; }
.v-fenetre-barre { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; background: #0E1828; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.v-fenetre-barre span { width: 10px; height: 10px; border-radius: 50%; background: #2A3649; }
.v-fenetre-barre b { margin-left: 10px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; color: #6B7785; }
.v-diapos { position: relative; aspect-ratio: 1600 / 838; }
.v-diapo { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.015); transition: opacity .7s ease, transform 1.2s ease; }
.v-diapo img { width: 100%; height: 100%; object-fit: cover; object-position: left top; cursor: zoom-in; }
.v-diapo.actif { opacity: 1; transform: none; z-index: 1; }
html:not(.js) .v-diapo:first-child { opacity: 1; }
.v-diapo[hidden] { display: block; }
.v-vitrine-onglets { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; }
.v-vitrine-onglets button { position: relative; overflow: hidden; text-align: left; font: inherit; color: #8C98A7; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px; padding: 12px 14px 14px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.v-vitrine-onglets button b { display: block; color: #fff; font-size: .95rem; font-weight: 600; }
.v-vitrine-onglets button span { font-size: .82rem; }
.v-vitrine-onglets button:hover { background: rgba(255, 255, 255, .07); }
.v-vitrine-onglets button[aria-selected="true"] { background: rgba(0, 102, 204, .16); border-color: rgba(77, 148, 219, .55); color: #C9D2DE; }
.v-progres { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, #4D94DB, #C82833); transform: scaleX(0); transform-origin: left; }
.v-vitrine-onglets button[aria-selected="true"] .v-progres { animation: v-progres var(--duree, 5500ms) linear forwards; }
.v-vitrine.en-pause .v-progres, .v-vitrine.manuel .v-progres { animation: none !important; transform: scaleX(1); opacity: .7; }
@keyframes v-progres { to { transform: scaleX(1); } }

/* Bandeau qui défile */
.v-defile { display: flex; overflow: hidden; margin-top: 56px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .07);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.v-defile-piste { display: flex; flex-shrink: 0; gap: 0; list-style: none; margin: 0; padding: 0; animation: v-defile 40s linear infinite; }
.v-defile:hover .v-defile-piste { animation-play-state: paused; }
.v-defile li { white-space: nowrap; padding: 0 22px; font-family: var(--mono); font-size: .9rem; color: #8C98A7; letter-spacing: .02em; }
.v-defile li::after { content: "◆"; margin-left: 44px; color: #2A3649; font-size: .6rem; vertical-align: 2px; }
@keyframes v-defile { to { transform: translateX(-100%); } }

/* Sommaire collant */
.v-sommaire { position: sticky; top: 60px; z-index: 40; background: color-mix(in srgb, var(--fond) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--trait); }
.v-sommaire-ligne { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
.v-sommaire-ligne::-webkit-scrollbar { display: none; }
.v-sommaire a { flex-shrink: 0; color: var(--texte-2); text-decoration: none; font-size: .9rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.v-sommaire a:hover { color: var(--texte); background: var(--fond-2); }
.v-sommaire a.actif { color: #fff; background: var(--accent); }
html { scroll-padding-top: 116px; }

/* Sections */
.v-section { padding: 96px 0; position: relative; }
.v-section-teinte { background: var(--fond-2); }
.v-section-sombre { background: #0A111E; color: #E9EEF5; --texte: #E9EEF5; --texte-2: #B4BFCC; --texte-3: #7F8B99; --trait: rgba(255, 255, 255, .1); --carte: #101A2B;
  --fond-2: #0D1628; --fond-3: #121E33; --accent: #4D94DB; --accent-doux: rgba(77, 148, 219, .14); --lien: #4D94DB;
  --ombre: 0 18px 50px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .07); }
.v-section-sombre::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 40% at 85% 0%, rgba(0, 102, 204, .22), transparent 70%), radial-gradient(ellipse 40% 30% at 0% 100%, rgba(200, 40, 51, .12), transparent 70%); }
.v-section-sombre > * { position: relative; }
.v-tete { max-width: 800px; margin-bottom: 52px; }
.v-surtitre { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.v-surtitre::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--alerte)); }
.v-titre { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 650; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 .45em; }
.v-intro { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--texte-2); margin: 0; max-width: 64ch; }
.v-note { color: var(--texte-3); font-size: .92rem; }

/* Apparition au défilement */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].vu { opacity: 1; transform: none; }

/* Chiffres */
.v-chiffres-bande { padding: 64px 0; border-bottom: 1px solid var(--trait); }
.v-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.v-chiffre b { display: block; font-size: clamp(2.2rem, 4.5vw, 3.3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(120deg, var(--texte) 40%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.v-chiffre span { color: var(--texte-2); font-size: .98rem; }
.v-chiffre b span { color: inherit; font-size: inherit; }
.v-chiffres .v-chiffre:nth-child(2) { transition-delay: .1s; }
.v-chiffres .v-chiffre:nth-child(3) { transition-delay: .2s; }
.v-chiffres .v-chiffre:nth-child(4) { transition-delay: .3s; }

/* Les bêtises évitées */
.v-betises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.v-betise { position: relative; background: var(--carte); border: 1px solid var(--trait); border-radius: 14px; padding: 26px 26px 24px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.v-betise:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.v-betise::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--accent), var(--alerte)); }
.v-risque { position: relative; display: inline-block; margin: 0 0 16px; font-size: .9rem; font-weight: 600; color: var(--alerte); }
.v-risque::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 2px; background: var(--alerte); transform: scaleX(0); transform-origin: left;
  transition: transform .6s cubic-bezier(.6, 0, .2, 1) .5s; }
.v-betise.vu .v-risque::after, html:not(.js) .v-risque::after { transform: scaleX(1); }
.v-betise h3 { font-size: 1.15rem; margin: 0 0 6px; }
.v-betise h3::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; font-size: .75rem;
  color: #fff; background: var(--vert); vertical-align: 2px; transform: scale(0); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1) 1s; }
.v-betise.vu h3::before, html:not(.js) .v-betise h3::before { transform: scale(1); }
.v-betise p:last-child { color: var(--texte-2); margin: 0; font-size: .98rem; }
.v-betises .v-betise:nth-child(3n+2) { transition-delay: .1s; }
.v-betises .v-betise:nth-child(3n) { transition-delay: .2s; }

/* Captures */
.v-capture { margin: 0; position: relative; }
.v-capture img { width: 100%; border-radius: 12px; box-shadow: var(--ombre); cursor: zoom-in; background: #0B1322; }
.v-capture figcaption { margin-top: 14px; color: var(--texte-2); font-size: .98rem; max-width: 80ch; }
.v-capture-large { margin-top: 56px; }
.v-capture-recadree { overflow: hidden; border-radius: 12px; box-shadow: var(--ombre); aspect-ratio: 5 / 4; }
.v-capture-recadree img { height: 100%; object-fit: cover; object-position: left top; box-shadow: none; border-radius: 0; }

/* Points cliquables sur une capture */
.v-points-bloc { display: grid; gap: 26px; margin-bottom: 80px; }
.v-capture-points { position: relative; }
.v-point { display: none; position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid #fff; background: var(--accent); color: #fff;
  font: 700 .82rem/1 var(--police); cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); z-index: 2; transition: transform .2s, background .2s; }
.js .v-point { display: grid; place-items: center; }
.v-point::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: v-onde 2.4s ease-out infinite; }
.v-point:hover, .v-point.actif { transform: scale(1.18); background: var(--alerte); }
.v-point.actif::before { border-color: var(--alerte); }
@keyframes v-onde { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.v-bulle { position: absolute; z-index: 3; width: min(300px, 70vw); background: var(--carte); color: var(--texte); border: 1px solid var(--trait); border-radius: 12px; padding: 14px 16px;
  box-shadow: var(--ombre-forte); font-size: .92rem; pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.v-bulle.visible { opacity: 1; transform: none; }
.v-bulle b { display: block; margin-bottom: 4px; }
.v-bulle span { color: var(--texte-2); }
.v-points-liste { list-style: none; counter-reset: point; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 6px 14px; }
.v-points-liste li { counter-increment: point; position: relative; padding: 10px 12px 10px 46px; border-radius: 10px; color: var(--texte-2); font-size: .95rem; cursor: default;
  border: 1px solid transparent; transition: background .2s, border-color .2s; }
.v-points-liste li::before { content: counter(point); position: absolute; left: 12px; top: 10px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: .78rem; font-weight: 700; color: var(--accent); background: var(--accent-doux); }
.v-points-liste li b { display: block; color: var(--texte); font-weight: 600; }
.v-points-liste li.actif { background: var(--carte); border-color: var(--trait); box-shadow: var(--ombre); }
.v-points-liste li.actif::before { color: #fff; background: var(--alerte); }

/* Texte et démonstration côte à côte */
.v-duo { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; margin: 0 0 80px; }
.v-duo-inverse { grid-template-columns: 7fr 5fr; }
.v-duo-inverse > :first-child { order: 2; }
.v-duo-texte h3 { font-size: 1.45rem; letter-spacing: -0.015em; margin-bottom: .5em; }
.v-duo-texte p { color: var(--texte-2); font-size: 1.04rem; }
.v-duo-texte .liste-courte li { color: var(--texte-2); }
.v-duo-texte .v-extension { margin-top: 16px; font-size: .92rem; color: var(--texte-3); }

/* Démonstrations animées */
.v-demo { position: relative; background: var(--code); color: #C9D2DE; border-radius: 14px; box-shadow: var(--ombre-forte); overflow: hidden; font-size: .9rem;
  border: 1px solid rgba(255, 255, 255, .06); }
.v-demo-tete { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; font: 600 .75rem/1.4 var(--police); letter-spacing: .04em; color: #7F8B99;
  background: #0E1828; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.v-demo-legende { margin: 0; padding: 10px 16px 14px; min-height: 2.9em; color: #B4BFCC; font-size: .88rem; }

/* SEU : commandes de ligne */
.v-seu-format { padding: 8px 16px 2px 90px; font-family: var(--mono); font-size: .86rem; color: #4D6A8A; white-space: pre; overflow: hidden; }
.v-seu-lignes { list-style: none; margin: 0; padding: 4px 0 8px; font-family: var(--mono); font-size: .86rem; }
.v-seu-lignes li { display: flex; height: 1.75em; align-items: center; transition: background .3s; }
.v-seq { flex: 0 0 90px; min-width: 0; overflow: hidden; white-space: nowrap; padding: 0 12px 0 16px; color: #56657A; text-align: left; position: relative; }
.v-seq.cmd { color: #FFD479; font-weight: 700; }
.v-seq.cmd::after { content: ""; display: inline-block; width: 7px; height: 1.1em; margin-left: 1px; background: #E04F5A; vertical-align: -2px; animation: v-clignote 1s steps(1) infinite; }
@keyframes v-clignote { 50% { opacity: 0; } }
.v-seq.fait::after { display: none; }
.v-src { white-space: pre; color: #C9D2DE; }
.v-seu-lignes li.v-copie-source { background: rgba(77, 148, 219, .16); }
.v-seu-lignes li.nouvelle { background: rgba(63, 182, 139, .2); animation: v-entre .5s ease; }
@keyframes v-entre { from { opacity: 0; } }
.v-touche { position: absolute; right: 18px; bottom: 54px; padding: 6px 12px; font: 600 .78rem var(--police); color: #0A111E; background: #E9EEF5; border-radius: 6px;
  box-shadow: 0 3px 0 #8C98A7; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .1s; }
.v-touche.visible { opacity: 1; transform: none; }
.v-touche.appui { transform: translateY(3px); box-shadow: 0 0 0 #8C98A7; }
.v-demo-mode { font-family: var(--mono); color: #4D94DB; }

/* Graphe des appels */
.v-demo-graphe { background: var(--carte); color: var(--texte); border: 1px solid var(--trait); }
.v-demo-graphe .v-demo-legende { color: var(--texte-3); }
.v-demo-graphe svg { display: block; width: 100%; height: auto; padding: 10px 6px 0; }
.v-liens path { fill: none; stroke: var(--trait); stroke-width: 2; transition: stroke .3s, opacity .3s; }
.v-liens path.flux { stroke: var(--accent); stroke-dasharray: 6 8; animation: v-flux 1s linear infinite; }
@keyframes v-flux { to { stroke-dashoffset: -14; } }
.v-noeuds g { cursor: pointer; transition: opacity .3s; }
.v-noeuds rect { fill: var(--fond-2); stroke: var(--trait); stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.v-noeuds text { font: 600 12px var(--mono); fill: var(--texte); text-anchor: middle; }
.v-noeuds text.v-type { font: 600 8.5px var(--police); letter-spacing: .08em; fill: var(--texte-3); }
.v-noeuds .v-n-menu rect { stroke: #8B6FD6; }
.v-noeuds .v-n-cl rect { stroke: var(--ambre); }
.v-noeuds .v-n-rpg rect { stroke: var(--accent); }
.v-noeuds .v-n-cbl rect { stroke: var(--vert); }
.v-noeuds .v-n-fic rect { stroke: var(--texte-3); stroke-dasharray: 3 3; }
.v-noeuds g.allume rect { fill: var(--accent-doux); stroke-width: 2.5; }
.v-demo-graphe.focus .v-noeuds g:not(.allume) { opacity: .3; }
.v-demo-graphe.focus .v-liens path:not(.flux) { opacity: .25; }

/* Versions en branches */
.v-demo-versions { background: var(--carte); color: var(--texte); border: 1px solid var(--trait); padding: 6px 0 0; }
.v-demo-versions svg { display: block; width: 100%; height: auto; }
.v-trait { fill: none; stroke-width: 4; stroke-linecap: round; }
.v-trait-1 { stroke: #4D94DB; }
.v-trait-2 { stroke: #3FB68B; }
.v-trait-fusion { stroke: #3FB68B; stroke-dasharray: 6 7; stroke-width: 3; }
.js .v-demo-versions .v-trait { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s ease; }
.js .v-demo-versions .v-trait-fusion { stroke-dasharray: 6 7; stroke-dashoffset: 0; opacity: 0; transition: opacity .8s; }
.js .v-demo-versions.t1 .v-trait-1 { stroke-dashoffset: 0; }
.js .v-demo-versions.t2 .v-trait-2 { stroke-dashoffset: 0; }
.js .v-demo-versions.t3 .v-trait-fusion { opacity: 1; }
.v-version circle { fill: var(--carte); stroke: #4D94DB; stroke-width: 4; }
.v-version-b circle { stroke: #3FB68B; }
.v-version-urgente circle { stroke: var(--alerte); }
.v-version text, .v-prod text { font: 700 13px var(--police); fill: var(--texte); text-anchor: middle; }
.v-branche-nom { font: 600 12px var(--mono); fill: #4D94DB; }
.v-branche-nom-2 { fill: #3FB68B; }
.v-prod rect { fill: rgba(200, 40, 51, .14); stroke: var(--alerte); }
.v-prod text { font-size: 11px; fill: var(--alerte); }
.js .v-version, .js .v-prod { opacity: 0; transform-box: fill-box; transition: opacity .45s ease; }
.js .v-version.vu, .js .v-prod.vu { opacity: 1; }
.v-versions-etapes { list-style: none; margin: 0; padding: 4px 22px 18px; min-height: 3.2em; position: relative; }
.v-versions-etapes li { color: var(--texte-2); font-size: .95rem; }
.js .v-versions-etapes li { position: absolute; left: 22px; right: 22px; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.js .v-versions-etapes li.vu { opacity: 1; transform: none; }

/* Débogueur pas à pas */
.v-dbg-boutons { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.v-dbg-boutons button { display: grid; place-items: center; width: 36px; height: 32px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04);
  color: #C9D2DE; cursor: pointer; transition: background .2s, border-color .2s; }
.v-dbg-boutons button:hover { background: rgba(77, 148, 219, .2); border-color: #4D94DB; }
.v-dbg-boutons svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v-dbg-boutons [data-action="lecture"] svg { fill: currentColor; stroke: none; }
.v-dbg-boutons .v-icone-pause { display: none; }
.v-demo-dbg.joue .v-icone-pause { display: block; }
.v-demo-dbg.joue .v-icone-lecture { display: none; }
.v-dbg-compteur { font-family: var(--mono); color: #4D94DB; }
.v-dbg-lignes { list-style: none; margin: 0; padding: 8px 0; font-family: var(--mono); font-size: .84rem; }
.v-dbg-lignes li { display: flex; align-items: center; min-height: 1.85em; position: relative; white-space: pre; transition: background .25s; }
.v-dbg-lignes .v-seq { flex: 0 0 56px; text-align: right; padding: 0 18px 0 0; }
.v-dbg-lignes code { font: inherit; color: #C9D2DE; }
.v-dbg-lignes li.courante { background: rgba(227, 163, 59, .14); }
.v-dbg-lignes li.courante::before { content: ""; position: absolute; left: 6px; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; border-left: 9px solid #E3A33B; }
.v-val { margin-left: 18px; color: #E3A33B; font-size: .82rem; opacity: .95; animation: v-apparait .35s ease; }
.v-val + .v-val { margin-left: 12px; }
.v-val.change { color: #3FB68B; }
@keyframes v-apparait { from { opacity: 0; transform: translateX(-6px); } }
.v-dbg-sortie { margin: 0; padding: 8px 16px 14px; min-height: 2.4em; font-family: var(--mono); font-size: .85rem; color: #3FB68B; border-top: 1px solid rgba(255, 255, 255, .06); }
.v-cartes-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.v-cartes-mini > div { border-top: 2px solid var(--trait); padding-top: 16px; }
.v-cartes-mini h3 { font: 700 .95rem var(--mono); color: var(--accent); margin-bottom: 6px; }
.v-cartes-mini p { color: var(--texte-2); font-size: .94rem; margin: 0; }

/* Galeries à onglets */
.v-galerie { margin-top: 8px; }
.v-galerie-onglets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.v-galerie-onglets button { font: inherit; font-size: .94rem; font-weight: 600; color: var(--texte-2); background: transparent; border: 1px solid var(--trait); border-radius: 999px;
  padding: 8px 16px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.v-galerie-onglets button:hover { color: var(--texte); border-color: var(--accent); }
.v-galerie-onglets button[aria-selected="true"] { color: #fff; background: var(--accent); border-color: var(--accent); box-shadow: 0 6px 18px rgba(0, 102, 204, .3); }
.v-galerie-panneaux figure { animation: v-fondu .5s ease; }
@keyframes v-fondu { from { opacity: 0; transform: translateY(8px); } }
.v-galerie-laterale { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.v-galerie-laterale .v-galerie-onglets { flex-direction: column; flex-wrap: nowrap; margin: 0; }
.v-galerie-laterale .v-galerie-onglets button { text-align: left; border-radius: 12px; padding: 14px 16px; font-weight: 400; background: var(--carte); }
.v-galerie-laterale .v-galerie-onglets button b { display: block; font-weight: 650; color: var(--texte); margin-bottom: 2px; }
.v-galerie-laterale .v-galerie-onglets button span { font-size: .88rem; }
.v-galerie-laterale .v-galerie-onglets button[aria-selected="true"] { background: var(--accent); }
.v-galerie-laterale .v-galerie-onglets button[aria-selected="true"] b, .v-galerie-laterale .v-galerie-onglets button[aria-selected="true"] span { color: #fff; }
.v-langages { margin-top: 30px; font-family: var(--mono); font-size: .88rem; color: var(--texte-3); }

/* Comparer les thèmes */
.v-comparer { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--ombre); --pos: 50%; }
.v-comparer img { box-shadow: none; border-radius: 0; cursor: ew-resize; }
.v-comparer-haut { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.v-comparer-haut img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.v-comparer input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.v-comparer-poignee { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .5); pointer-events: none; }
.v-comparer-poignee::after { content: "◀ ▶"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 8px 10px; border-radius: 999px; background: #0066CC;
  color: #fff; font-size: .7rem; letter-spacing: .1em; white-space: nowrap; box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.v-comparer:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Frise animée de l'enregistrement */
.v-frise { margin-top: 40px; padding: 22px 22px 26px; background: var(--carte); border: 1px solid var(--trait); border-radius: 14px; font-family: var(--mono); font-size: .76rem; }
.v-frise-regle { display: flex; justify-content: space-between; margin-left: 90px; color: var(--texte-3); border-bottom: 1px solid var(--trait); padding-bottom: 6px; margin-bottom: 10px; }
.v-frise-ligne { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.v-frise-ligne b { flex: 0 0 80px; color: var(--texte); font-weight: 700; }
.v-frise-piste { position: relative; flex: 1; height: 28px; background: var(--fond-2); border-radius: 6px; }
.v-frise-piste i { position: absolute; top: 3px; bottom: 3px; display: grid; place-items: center; overflow: hidden; border-radius: 4px; font-style: normal; font-weight: 600; font-size: .68rem;
  color: #fff; white-space: nowrap; transform-origin: left; }
.js .v-frise-piste i { transform: scaleX(0); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .v-frise.vu .v-frise-piste i { transform: none; }
.v-z-alpha { background: #2F6FB3; }
.v-z-num { background: #1F8A63; }
.v-z-vide { background: repeating-linear-gradient(45deg, rgba(200, 40, 51, .14) 0 6px, rgba(200, 40, 51, .05) 6px 12px); color: var(--alerte) !important; border: 1px dashed rgba(200, 40, 51, .5); }

/* Garanties de l'historique */
.v-garanties { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 12px; }
.v-garanties > div { padding: 22px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.v-garanties h3 { font-size: 1.02rem; margin-bottom: 6px; color: #fff; }
.v-garanties p { color: #B4BFCC; margin: 0; font-size: .94rem; }

/* Assistant IA */
.v-ia-marques { display: flex; flex-wrap: wrap; gap: 12px; margin: -24px 0 44px; }
.v-ia-marques span { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); font-weight: 600; font-size: .92rem; color: #E9EEF5; }
.v-demo-chat { background: #0E1626; }
.v-chat-fil { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; min-height: 430px; }
.v-chat-fil > * { margin: 0; }
.v-chat-moi { align-self: flex-end; max-width: 85%; background: #1D2B44; color: #E9EEF5; padding: 10px 14px; border-radius: 14px 14px 4px 14px; font-size: .92rem; }
.v-chat-action { font-family: var(--mono); font-size: .78rem; color: #7F8B99; padding-left: 22px; position: relative; }
.v-chat-action::before { content: "✓"; position: absolute; left: 4px; color: #3FB68B; }
.v-chat-action.encours::before { content: ""; width: 9px; height: 9px; top: .35em; border: 2px solid #4D94DB; border-right-color: transparent; border-radius: 50%; animation: v-tourne .8s linear infinite; }
@keyframes v-tourne { to { transform: rotate(360deg); } }
.v-chat-reponse { font-size: .92rem; color: #C9D2DE; line-height: 1.55; }
.v-chat-reponse p { margin: 0 0 .6em; }
.v-chat-reponse b { color: #fff; }
.v-chat-carte { display: grid; gap: 6px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(77, 148, 219, .4); background: rgba(0, 102, 204, .1); font-size: .85rem; }
.v-chat-carte b { color: #E9EEF5; font-size: .82rem; letter-spacing: .02em; }
.v-chat-carte code { font-family: var(--mono); font-size: .78rem; white-space: pre; overflow: hidden; }
.v-moins { color: #FF9AA2; background: rgba(224, 79, 90, .14); text-decoration: line-through; padding: 2px 4px; border-radius: 4px; }
.v-chat-carte span { color: #B4BFCC; }
.v-chat-boutons { display: flex; gap: 8px; }
.v-chat-boutons i { font-style: normal; font-weight: 600; font-size: .78rem; padding: 4px 10px; border-radius: 6px; background: #0066CC; color: #fff; }
.v-chat-boutons i + i { background: transparent; border: 1px solid rgba(255, 255, 255, .2); color: #C9D2DE; }
.js .v-demo-chat .v-chat-fil > * { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.js .v-demo-chat .v-chat-fil > .vu { opacity: 1; transform: none; }
.v-chat-rejouer { position: absolute; right: 14px; bottom: 14px; font: 600 .8rem var(--police); color: #C9D2DE; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.v-chat-rejouer:hover { background: rgba(77, 148, 219, .2); }

/* Confort : mosaïque */
.v-mosaique { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.v-tuile { background: var(--carte); border: 1px solid var(--trait); border-radius: 14px; padding: 22px; transition: transform .25s, box-shadow .25s; }
.v-tuile:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.v-tuile h3 { font-size: 1.05rem; margin-bottom: 6px; }
.v-tuile p { color: var(--texte-2); font-size: .94rem; margin: 0; }
.v-tuile-large { grid-column: span 2; display: grid; grid-template-rows: auto 1fr; gap: 18px; padding: 0 0 22px; overflow: hidden; }
.v-tuile-large > div { padding: 0 22px; }
.v-tuile-large .v-capture { aspect-ratio: 16 / 9; overflow: hidden; background: #0B1322; }
.v-tuile-large .v-capture img { height: 100%; object-fit: cover; object-position: left top; border-radius: 0; box-shadow: none; }

/* Vos sources, Playground, fin */
.v-sources { position: relative; overflow: hidden; }
.v-final { position: relative; overflow: hidden; padding: 100px 0; text-align: center; color: #fff; background: #0A111E;
  background-image: radial-gradient(ellipse 50% 60% at 50% 120%, rgba(0, 102, 204, .45), transparent 70%), linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px; }
.v-final-ligne { display: flex; flex-direction: column; align-items: center; }
.v-final img { margin-bottom: 20px; animation: v-respire 4s ease-in-out infinite; }
@keyframes v-respire { 50% { transform: translateY(-6px); filter: drop-shadow(0 12px 22px rgba(0, 102, 204, .5)); } }
.v-final h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.025em; margin-bottom: .3em; }
.v-final p { color: var(--texte-sombre); max-width: 54ch; font-size: 1.1rem; }
.v-final .actions { justify-content: center; }

/* Loupe */
.v-loupe { width: min(1500px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 12px; background: #0B1322; color: #C9D2DE; overflow: auto;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7); }
.v-loupe::backdrop { background: rgba(4, 8, 16, .85); backdrop-filter: blur(4px); }
.v-loupe img { width: 100%; height: auto; display: block; }
.v-loupe p { margin: 0; padding: 12px 18px 16px; font-size: .95rem; }
.v-loupe p:empty { display: none; }
.v-loupe-fermer { position: sticky; top: 10px; float: right; margin: 10px 10px -46px 0; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(10, 17, 30, .85);
  color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.v-loupe[open] { animation: v-loupe .3s ease; }
@keyframes v-loupe { from { opacity: 0; transform: scale(.97); } }

@media (max-width: 1080px) {
  .v-mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .v-duo, .v-duo-inverse { grid-template-columns: 1fr; gap: 28px; }
  .v-duo-inverse > :first-child { order: 0; }
  .v-betises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-chiffres, .v-garanties, .v-cartes-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-galerie-laterale { grid-template-columns: 1fr; gap: 18px; }
  .v-galerie-laterale .v-galerie-onglets { flex-direction: row; flex-wrap: wrap; }
  .v-galerie-laterale .v-galerie-onglets button { padding: 8px 14px; border-radius: 999px; }
  .v-galerie-laterale .v-galerie-onglets button span { display: none; }
  .v-vitrine-onglets { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .v-vitrine-onglets button span { display: none; }
}
@media (max-width: 720px) {
  .v-ouverture { padding-top: 52px; }
  .v-ouverture-grille { margin-bottom: 32px; }
  .v-section { padding: 68px 0; }
  .v-tete { margin-bottom: 34px; }
  .v-betises, .v-points-liste, .v-mosaique { grid-template-columns: 1fr; }
  .v-tuile-large { grid-column: auto; }
  .v-point { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: .68rem; border-width: 1.5px; }
  .v-bulle { display: none; }
  .v-points-bloc, .v-duo { margin-bottom: 56px; }
  .v-seu-format { display: none; }
  .v-seu-lignes, .v-dbg-lignes { font-size: .74rem; }
  .v-dbg-lignes li { white-space: pre-wrap; flex-wrap: wrap; }
  .v-dbg-lignes .v-seq { flex-basis: 34px; padding-right: 12px; }
  .v-dbg-lignes code { flex: 1 1 calc(100% - 34px); }
  .v-val { margin-left: 34px; font-size: .7rem; }
  .v-val + .v-val { margin-left: 10px; }
  .v-chat-fil { min-height: 0; }
  .v-frise { font-size: .62rem; padding: 14px; }
  .v-frise-regle { margin-left: 64px; }
  .v-frise-ligne b { flex-basis: 54px; }
  .v-defile { margin-top: 36px; }
  .v-fenetre { transform: none; }
  .menu-theme { margin-left: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .v-defile-piste { animation: none; }
  .v-fenetre { transform: none; }
}

/* ── Site complet : plusieurs pages ─────────────────────────────────────────────────────────────────────────────── */

/* En-tête : menu des fonctionnalités, bouton Télécharger, page en cours */
.menu-deroulant { position: relative; }
.menu-deroulant summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; color: var(--texte-sombre); font-size: .92rem; padding: 6px 10px;
  border-radius: 6px; cursor: pointer; user-select: none; }
.menu-deroulant summary::-webkit-details-marker { display: none; }
.menu-deroulant summary:hover, .menu-deroulant[open] summary { color: #fff; background: rgba(255, 255, 255, .07); }
.menu-deroulant summary svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.menu-deroulant[open] summary svg { transform: rotate(180deg); }
.menu-panneau { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: min(560px, calc(100vw - 32px)); display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 10px; border-radius: 14px; background: #101A2B; border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55); animation: v-panneau .18s ease; }
@keyframes v-panneau { from { opacity: 0; transform: translate(-50%, -6px); } }
.menu .menu-panneau a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; color: #E9EEF5; }
.menu .menu-panneau a b { font-weight: 600; font-size: .95rem; }
.menu .menu-panneau a span { color: #8C98A7; font-size: .84rem; }
.menu .menu-panneau a:hover, .menu .menu-panneau a[aria-current="page"] { background: rgba(0, 102, 204, .18); }
.menu a[aria-current="page"]:not(.menu-telecharger) { color: #fff; }
.menu .menu-telecharger { margin-left: 6px; background: var(--bleu); color: #fff; font-weight: 600; padding: 7px 14px; }
.menu .menu-telecharger:hover { background: var(--bleu-fonce); color: #fff; }

/* Ouverture d'une page intérieure (thèmes, tarifs, téléchargement) */
.v-page-ouverture { padding: 76px 0 84px; }
.v-page-ouverture-texte { max-width: 1180px; }
.v-page-ouverture h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 22ch; }
.v-surtitre-clair { color: #9CC7F0; }
.bouton svg { width: 20px; height: 20px; margin-right: 10px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bouton-grand { font-size: 1.08rem; padding: 15px 28px; }

/* Liste des thèmes sous l'ouverture : la page en cours en bleu */
.v-sommaire a[aria-current="page"] { color: #fff; background: var(--accent); }

/* « Tout l'éditeur → » au bas d'un aperçu de thème */
.v-plus { margin: 36px 0 0; }
:is(.v-duo, .v-points-bloc) + .v-plus { margin-top: -40px; }
.v-plus a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.02rem; text-decoration: none; color: var(--lien); padding: 10px 18px;
  border: 1px solid color-mix(in srgb, var(--lien) 45%, transparent); border-radius: 999px; transition: background .2s, gap .2s; }
.v-plus a:hover { background: var(--accent-doux); gap: 12px; text-decoration: none; }
.v-plus svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v-section-sombre .v-plus a { color: #9CC7F0; border-color: rgba(156, 199, 240, .4); }
.v-section-sombre .v-plus a:hover { background: rgba(77, 148, 219, .14); }

/* Bas d'une page de thème : le thème suivant, puis l'essai */
.v-suite { padding: 72px 0; background: var(--fond-2); border-top: 1px solid var(--trait); }
.v-suite-ligne { display: grid; grid-template-columns: 5fr 7fr; gap: 28px; align-items: stretch; }
.v-suite-lien { position: relative; display: grid; align-content: center; gap: 6px; padding: 30px 72px 30px 30px; border-radius: 16px; background: var(--carte);
  border: 1px solid var(--trait); text-decoration: none; color: var(--texte); transition: transform .25s, box-shadow .25s; }
.v-suite-lien:hover { transform: translateY(-3px); box-shadow: var(--ombre); color: var(--texte); text-decoration: none; }
.v-suite-lien span { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-3); }
.v-suite-lien b { font-size: 1.6rem; letter-spacing: -0.02em; }
.v-suite-lien i { font-style: normal; color: var(--texte-2); }
.v-suite-lien svg { position: absolute; right: 28px; top: 50%; width: 30px; height: 30px; margin-top: -15px; fill: none; stroke: var(--accent); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.v-suite-lien:hover svg { transform: translateX(5px); }
.v-suite-essai { padding: 30px 32px; border-radius: 16px; color: #fff; background: #0A111E;
  background-image: radial-gradient(ellipse 70% 90% at 100% 0%, rgba(0, 102, 204, .45), transparent 70%); }
.v-suite-essai h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; margin-bottom: .3em; }
.v-suite-essai p { color: var(--texte-sombre); margin: 0; }
.v-suite-essai .actions { margin-top: 20px; }

/* Offres */
.v-offres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 920px; }
.v-offres-trois { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.v-offre { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border-radius: 16px; background: var(--carte); border: 1px solid var(--trait); }
.v-offre h3 { font-size: 1.2rem; margin-bottom: .4em; }
.v-offre-vedette { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent), var(--ombre); }
.v-offre-prix { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 14px; }
.v-offre .liste-courte { flex: 1; margin-bottom: 24px; }
.v-offre .liste-courte li { color: var(--texte-2); }
.v-offre-note { color: var(--texte-2); font-size: .95rem; margin: 0; }
.v-offres-liens { margin: 22px 0 0; font-size: .92rem; color: var(--texte-3); }

/* Mosaïque en trois colonnes (compris dans la licence, règles de l'assistant, conversion) */
.v-mosaique-trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Questions fréquentes */
.v-faq-grille { display: grid; grid-template-columns: 4fr 7fr; gap: 56px; align-items: start; }
.v-faq-grille .v-tete { position: sticky; top: 132px; margin: 0; }
.v-faq { display: grid; gap: 10px; }
.v-faq details { border: 1px solid var(--trait); border-radius: 12px; background: var(--carte); transition: box-shadow .2s; }
.v-faq details[open] { box-shadow: var(--ombre); }
.v-faq summary { list-style: none; position: relative; padding: 18px 52px 18px 20px; font-weight: 600; cursor: pointer; }
.v-faq summary::-webkit-details-marker { display: none; }
.v-faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .2s, margin .2s; }
.v-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.v-faq details p { margin: 0; padding: 0 20px 18px; color: var(--texte-2); }

/* Téléchargement : trois étapes, puis prérequis, mises à jour et assistance */
.v-etapes { list-style: none; counter-reset: etape; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.v-etapes li { counter-increment: etape; position: relative; padding: 28px 26px 26px; border-radius: 16px; background: var(--carte); border: 1px solid var(--trait); }
.v-etapes li::before { content: counter(etape); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, var(--accent), #2F6FB3); box-shadow: 0 8px 20px rgba(0, 102, 204, .3); }
.v-etapes li:nth-child(2) { transition-delay: .1s; }
.v-etapes li:nth-child(3) { transition-delay: .2s; }
.v-etapes h3 { font-size: 1.15rem; margin-bottom: 6px; }
.v-etapes p { color: var(--texte-2); margin: 0; }
.v-colonnes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.v-colonnes p, .v-colonnes li { color: var(--texte-2); }
.v-titre-petit { font-size: 1.3rem; letter-spacing: -0.01em; margin-bottom: .7em; }

/* Garanties de l'historique sur fond clair (page Versions) */
.v-section:not(.v-section-sombre) .v-garanties > div { background: var(--carte); border-color: var(--trait); }
.v-section:not(.v-section-sombre) .v-garanties h3 { color: var(--texte); }
.v-section:not(.v-section-sombre) .v-garanties p { color: var(--texte-2); }
/* Page de l'assistant : pas d'en-tête de section au-dessus des marques */
.v-section-ia .v-ia-marques { margin-top: 0; }

/* Pied du site complet */
.pied-complet { padding: 56px 0 28px; }
.pied-colonnes { display: grid; grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pied-presentation .marque { margin-bottom: 14px; }
.pied-presentation p { color: var(--ardoise-clair); }
.pied-colonnes nav { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pied-colonnes h2 { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 4px 0 8px; }
.pied-colonnes nav a { color: var(--texte-sombre); text-decoration: none; }
.pied-colonnes nav a:hover { color: #fff; text-decoration: underline; }
.pied-bas { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; padding-top: 22px; }
.pied-bas .pied-marques { flex: 1; min-width: 260px; }

@media (max-width: 1080px) {
  .pied-colonnes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pied-presentation { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .v-suite-ligne, .v-faq-grille { grid-template-columns: 1fr; }
  .v-faq-grille { gap: 28px; }
  .v-faq-grille .v-tete { position: static; }
  .v-offres, .v-offres-trois, .v-etapes, .v-colonnes, .v-mosaique-trois { grid-template-columns: 1fr; }
  .menu-panneau { position: fixed; top: 64px; left: 16px; right: 16px; width: auto; transform: none; animation: none; }
}
@media (max-width: 720px) {
  .v-page-ouverture { padding: 52px 0 60px; }
  :is(.v-duo, .v-points-bloc) + .v-plus { margin-top: -28px; }
  .v-suite { padding: 52px 0; }
  .v-suite-lien { padding: 24px 64px 24px 22px; }
  .v-suite-essai { padding: 24px 22px; }
  .menu-panneau { grid-template-columns: 1fr; }
  .pied-colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu .menu-telecharger { padding: 6px 10px; margin-left: 2px; }
}
@media (max-width: 560px) {
  .entete .marque-nom, .menu .menu-langue { display: none; }
  .menu-deroulant summary { padding: 6px 8px; }
}
