/* VECOS - styles propres aux pages publiques (complète vecos-ui.css). */
.v-site main { min-height: 60vh; }
.v-download-app { padding-top: 24px; padding-bottom: 60px; }
.v-container--narrow { max-width: 820px; }
.v-pagehead { padding-top: 72px; }
.v-title--xl { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.02em; }
.v-center-cta { text-align: center; margin: 56px 0 0; }
.v-center-tabs { text-align: center; }
.v-center-tabs .v-tabpanel { text-align: left; margin-top: 28px; }
.v-section--panel { background: var(--sunken); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.v-card__media--square { aspect-ratio: 1 / 1; }
.v-device-stage { padding: 22px 22px 0; }
.v-device-stage .v-device { width: 100%; }
.v-slot svg.v-i { width: 34px; height: 34px; margin: 0 auto; color: var(--border-strong); }
.v-final__box { text-align: center; padding-top: 24px; padding-bottom: 24px; border: 1px solid var(--border); border-radius: 12px;
  background: radial-gradient(ellipse at 50% 0%, rgba(34, 211, 238, .14), transparent 65%), var(--surface); padding: 56px 24px; }
.v-final__box .v-lead { margin: 0 auto 24px; }
.v-checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.v-checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.v-checks svg.v-i { color: var(--success); margin-top: 3px; }
.v-split { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: center; }
.v-split--rev .v-split__text { order: 2; }
.v-split__img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); display: block; }
@media (max-width: 860px) { .v-split { grid-template-columns: 1fr; gap: 24px; } .v-split--rev .v-split__text { order: 0; } }
.v-dl-card__icon { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; margin-bottom: 14px; background: var(--sunken); padding: 8px; }
.v-dl-card .v-card__text { display: flex; flex-wrap: wrap; gap: 8px; }
.v-dl-store img { height: 44px; width: auto; display: block; }
.v-contact .v-card__body { padding: 28px; }
.v-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.v-prose { color: var(--text-2); line-height: 1.7; }
.v-prose h2, .v-prose h3 { margin: 1.4em 0 .5em; font-size: 22px; }
.v-prose :first-child { margin-top: 0; }
.v-error-code { font-size: clamp(64px, 12vw, 120px); font-weight: 800; line-height: 1; margin: 0; color: var(--accent); }

/* ---------- Accueil : heros en deux colonnes, etapes, FAQ ---------- */
.v-hero--split { min-height: 72vh; display: block; padding: 88px 0 72px; }
.v-hero--split .v-hero__grid { position: relative; z-index: 1; display: grid; gap: 40px; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; }
.v-hero--split h1 { margin: 10px 0 16px; }
.v-hero--split .v-hero__copy { text-align: left; }
.v-hero--split .v-lead { margin: 0 0 28px; }
.v-hero__cta--left { justify-content: flex-start; margin-bottom: 28px; }
.v-pills--left { justify-content: flex-start; margin: 0; }
.v-hero__panel { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v-hero__panel .v-stat { padding: 22px; }
.v-hero__panel .v-stat b { font-size: 44px; }
@media (max-width: 900px) { .v-hero--split { padding: 56px 0 48px; } .v-hero--split .v-hero__grid { grid-template-columns: 1fr; } }
.v-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.v-step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px 24px; box-shadow: var(--shadow); }
.v-step h3 { font-size: 20px; margin: 0 0 8px; }
.v-step p { margin: 0; color: var(--text-2); }
.v-step__num { position: absolute; right: 18px; top: 14px; font-size: 40px; font-weight: 800; color: var(--border-strong); line-height: 1; }
.v-faq { display: grid; gap: 10px; }
.v-faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 20px; }
.v-faq__item[open] { border-color: var(--border-strong); }
.v-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; color: var(--text); }
.v-faq__item summary::-webkit-details-marker { display: none; }
.v-faq__item summary svg.v-i { transition: transform .2s; color: var(--accent); }
.v-faq__item[open] summary svg.v-i { transform: rotate(180deg); }
.v-faq__item p { margin: 0 0 18px; color: var(--text-2); }

/* ---------- Pages publiques : telechargement recommande, contact, pages legales, solutions ---------- */
.v-reco { margin-left: 4px; }
.v-contact-layout { align-items: start; }
.v-legal-layout { align-items: start; }
.v-toc { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; counter-reset: toc; }
.v-toc li { counter-increment: toc; }
.v-toc a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--text-2); text-decoration: none; font-size: 14px; }
.v-toc a:hover { background: var(--accent-soft); color: var(--accent); }
.v-toc--plain li { counter-increment: none; }
.v-chipnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 8px; position: sticky; top: 72px; z-index: 5; padding-top: 8px; padding-bottom: 8px; }
.v-chipnav .v-pill { text-decoration: none; }
.v-chipnav .v-pill:hover { border-color: var(--accent); }
.v-layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.v-layout__side { display: grid; gap: 20px; position: sticky; top: 88px; }
@media (max-width: 1000px) { .v-layout { grid-template-columns: minmax(0, 1fr); } .v-layout__side { position: static; } }
.v-prose, .v-prose * { color: var(--text-2) !important; }
.v-prose h1, .v-prose h2, .v-prose h3, .v-prose h4, .v-prose strong, .v-prose b { color: var(--text) !important; }
.v-prose a { color: var(--accent) !important; }
.v-prose p, .v-prose li { background: transparent !important; }
[hidden] { display: none !important; }
.v-device-stage .v-device { aspect-ratio: 16 / 10; }
.v-device-stage .v-device--phone { aspect-ratio: 16 / 10; border-radius: 12px; }
.v-device__screen img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cadre de telephone (orientation paysage, comme la capture 16:9) ---------- */
.v-device-stage .v-device.v-device--phone {
  aspect-ratio: auto; width: 88%; margin: 0 auto; padding: 12px 20px 12px 14px; border-radius: 12px;
  background: linear-gradient(145deg, #1b242f, #0b1016);
  box-shadow: 0 0 0 2px #3a4a5c, inset 0 0 0 2px #0b1016, 0 22px 44px -14px rgba(0, 0, 0, .75);
}
.v-device--phone .v-device__screen { aspect-ratio: 16 / 9; height: auto; border-radius: 12px; background: #000; }
.v-device--phone::before { /* camera frontale */
  content: ""; position: absolute; left: 6px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
  background: #0f1720; box-shadow: inset 0 0 0 1.5px #2b394a;
}
.v-device--phone::after { /* haut-parleur / barre d accueil */
  content: ""; position: absolute; right: 6px; top: 50%; width: 4px; height: 56px; margin-top: -28px; border-radius: 4px; background: #2b394a;
}
.v-device--phone .v-device__screen::after { /* reflet */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 38%);
}
.v-base .v-center-cta { margin: 56px 0 0; }
.v-device-stage { display: grid; align-items: center; min-height: 168px; }
.v-device-stage .v-device.v-device--phone { width: 100%; padding: 14px 22px 14px 16px; }
.v-device-stage .v-device.v-device--phone { border-radius: 12px; }
.v-device--phone .v-device__screen { border-radius: 8px; }

/* ---------- Telechargement : intro de plateforme, cartes, aides ---------- */
.v-dl-intro { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; text-align: left; margin: 26px auto 20px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.v-dl-intro > div:nth-child(2) { flex: 1 1 240px; min-width: 0; }
.v-dl-intro h3 { margin: 0 0 2px; font-size: 18px; }
.v-dl-intro p { margin: 0; color: var(--text-2); }
.v-dl-card { text-align: left; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 22px; }
.v-dl-card__head { display: flex; align-items: center; gap: 16px; }
.v-dl-card__head .v-dl-card__icon { margin: 0; flex: none; }
.v-dl-card__head h4 { margin: 0 0 8px; font-size: 18px; color: var(--text); }
.v-dl-card__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.v-dl-card .v-card__foot { padding: 0; border: 0; background: none; }
.v-dl-extra { margin-top: 32px; text-align: center; }
.v-dl-extra__note { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--text-2); font-size: 14px; }
.v-dl-extra__note svg { color: var(--accent); }
.v-dl-extra__grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); text-align: left; }
.v-dl-extra__item { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 20px; border: 1px dashed var(--border-strong); border-radius: 12px; }
.v-dl-extra__item span { color: var(--text-2); margin-bottom: 8px; }

.v-tab .v-reco { font-size: 11px; padding: 2px 8px; }
.v-tab[aria-selected="true"] .v-reco { background: rgba(0,0,0,.22); color: var(--on-accent); border-color: transparent; }
.v-dl-soon { opacity: .6; cursor: default; pointer-events: none; }

.v-dl-card__icon, .v-dl-card__head .v-dl-card__icon { background: #FFFFFF; }

/* ---------- Accueil : hero avec capture, bande de chiffres, cartes plus basses, retour en haut ---------- */
.v-hero--split .v-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.v-hero__shot { min-width: 0; }
.v-hero__shot .v-device { width: 100%; transform: perspective(1400px) rotateY(-6deg); transition: transform .4s; }
.v-hero__shot .v-device:hover { transform: none; }
.v-hero__stats { position: relative; z-index: 1; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 44px; }
.v-hero__stats .v-stat { display: flex; align-items: baseline; gap: 10px; padding: 14px 18px; }
.v-hero__stats .v-stat b { font-size: 28px; display: inline; }
.v-card__media--wide { height: auto; aspect-ratio: 4 / 5; object-position: center 35%; }
.v-totop { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface); color: var(--accent); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.4); transition: background .2s, color .2s; }
.v-totop:hover { background: var(--accent); color: var(--on-accent); }
.v-totop svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .v-hero--split .v-hero__grid { grid-template-columns: 1fr; } .v-hero__shot .v-device { transform: none; } .v-hero__stats { margin-top: 28px; } }

/* ---- 05 · Fonctionnalites : bandeau sombre, introduction a gauche, liste numerotee a droite ---- */
.v-feat { position: relative; padding: 88px 0; background: radial-gradient(900px 420px at 0% 0%, rgba(34, 211, 238, .12), transparent 60%), var(--sunken); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.v-feat__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.v-feat__intro { position: sticky; top: 110px; }
.v-feat__intro .v-title { margin: 10px 0 28px; max-width: 14em; }
.v-feat__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-strong); counter-reset: none; }
.v-feat__item { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 24px 12px 24px 0; border-bottom: 1px solid var(--border); transition: background .25s, padding .25s; }
.v-feat__item::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--accent); transition: width .35s ease; }
.v-feat__item:hover { background: linear-gradient(90deg, rgba(34, 211, 238, .08), transparent 70%); padding-left: 14px; }
.v-feat__item:hover::before { width: 100%; }
.v-feat__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: transparent; border: 1px solid var(--border-strong); color: var(--accent); transition: background .25s, color .25s, border-color .25s; }
.v-feat__icon svg { width: 24px; height: 24px; }
.v-feat__item:hover .v-feat__icon { background: var(--accent); color: var(--on-accent, #06222a); border-color: var(--accent); }
.v-feat__text h3 { margin: 2px 0 6px; font-size: 19px; font-weight: 700; color: var(--text); }
.v-feat__text p { margin: 0; color: var(--text-2); line-height: 1.6; max-width: 52ch; }
.v-feat__num { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--muted); padding-top: 6px; font-variant-numeric: tabular-nums; }
.v-feat__item:hover .v-feat__num { color: var(--accent); }
@media (max-width: 900px) {
  .v-feat { padding: 56px 0; }
  .v-feat__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .v-feat__intro { position: static; }
  .v-feat__intro .v-title { margin-bottom: 20px; }
  .v-feat__item { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 20px 0; }
  .v-feat__icon { width: 44px; height: 44px; border-radius: 12px; }
  .v-feat__num { display: none; }
  .v-feat__item:hover { padding-left: 0; }
}

/* =====================================================================
   Page d'accueil : rythme visuel (chaque section a sa propre forme)
   ===================================================================== */
.v-title { text-wrap: balance; }
.v-lead, .v-card__text { text-wrap: pretty; }

/* -- Comment ca marche : parcours en trois etapes relie par un fil (pas de cartes) -- */
.v-how .v-steps { counter-reset: none; gap: 0; position: relative; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v-how .v-step { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0 28px 0 0; display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "num icon" "text text"; align-items: center; column-gap: 16px; }
.v-how .v-step::before { content: ""; position: absolute; left: 64px; right: 0; top: 31px; height: 2px; background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 16px); z-index: 0; }
.v-how .v-step:last-child::before { display: none; }
.v-how .v-step__num { position: static; grid-area: num; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--accent); color: var(--accent); font-size: 26px; font-weight: 800; box-shadow: 0 0 0 6px var(--sunken), 0 10px 26px -10px rgba(34, 211, 238, .55); }
.v-how .v-icon-box { grid-area: icon; justify-self: start; z-index: 1; background: var(--sunken); }
.v-how .v-step h3 { grid-column: 1 / -1; margin: 22px 0 8px; font-size: 21px; }
.v-how .v-step p { grid-column: 1 / -1; max-width: 34ch; }
@media (max-width: 800px) {
  .v-how .v-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .v-how .v-step { grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "num text"; padding: 0 0 30px; align-items: start; column-gap: 18px; position: relative; }
  .v-how .v-step::before { left: 25px; right: auto; top: 54px; bottom: 4px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--border-strong) 0 8px, transparent 8px 16px); }
  .v-how .v-step:last-child { padding-bottom: 0; }
  .v-how .v-step__num { width: 52px; height: 52px; font-size: 22px; box-shadow: 0 0 0 5px var(--sunken); }
  .v-how .v-icon-box { display: none; }
  .v-how .v-step h3 { grid-column: 2; grid-row: 1; margin: 2px 0 6px; font-size: 20px; }
  .v-how .v-step p { grid-column: 2; grid-row: 2; max-width: none; }
  .v-how .v-step { grid-template-areas: none; }
  .v-how .v-step__num { grid-area: auto; grid-row: 1 / span 2; grid-column: 1; }
}

/* -- Carrousel a defilement sur mobile (sections 01 et 03) -- */
@media (max-width: 859px) {
  .v-snap { display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 340px); grid-template-columns: none !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 4px 2px 18px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .v-snap::-webkit-scrollbar { display: none; }
  .v-snap > * { scroll-snap-align: center; }
  .v-snap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 12px; }
}

/* -- 03 : affiches plein cadre, texte superpose a l'image -- */
.v-posters .v-card { position: relative; min-height: 440px; border-radius: 12px; background: var(--sunken); isolation: isolate; transition: transform .35s ease, box-shadow .35s ease, border-color .25s; }
.v-posters .v-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 28px 50px -24px rgba(0, 0, 0, .85); }
.v-posters .v-card__media--wide { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-position: center; z-index: -2; transition: transform .6s ease; }
.v-posters .v-card:hover .v-card__media--wide { transform: scale(1.06); }
.v-posters .v-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 12, 18, 0) 35%, rgba(8, 12, 18, .9) 100%); }
.v-posters .v-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px 26px; }
.v-posters .v-card__title { color: #fff; font-size: 24px; margin: 0 0 8px; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.v-posters .v-card__text { color: #e3ecf4; font-size: 15px; line-height: 1.55; }
.v-posters .v-card__title::before { content: ""; display: block; width: 36px; height: 3px; border-radius: 3px; background: var(--accent); margin-bottom: 14px; }
@media (max-width: 859px) { .v-posters .v-card { min-height: 420px; } }

/* -- 04 : registre en colonnes separees par des filets (pas de cartes) -- */
.v-ledger { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); }
.v-ledger__item { padding: 32px 26px 34px; border-left: 1px solid var(--border); position: relative; transition: background .25s; }
.v-ledger__item:first-child { border-left: 0; }
.v-ledger__item:hover { background: rgba(34, 211, 238, .05); }
.v-ledger__icon { display: block; color: var(--accent); margin-bottom: 18px; }
.v-ledger__icon svg { width: 34px; height: 34px; }
.v-ledger__item h3 { font-size: 19px; margin: 0 0 8px; }
.v-ledger__item p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }
@media (max-width: 960px) {
  .v-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-ledger__item:nth-child(odd) { border-left: 0; }
  .v-ledger__item:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 480px) {
  .v-ledger__item { padding: 22px 14px 24px; }
  .v-ledger__item h3 { font-size: 17px; }
  .v-ledger__item p { font-size: 14px; }
  .v-ledger__icon svg { width: 28px; height: 28px; }
}

/* -- Onglets de telechargement : grille reguliere sur mobile -- */
@media (max-width: 560px) {
  .v-center-tabs .v-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .v-center-tabs .v-tab { justify-content: center; min-height: 44px; padding: 8px 6px; }
}

/* -- Pied de page : cibles tactiles confortables, pas de chevauchement avec le bouton retour en haut -- */
.v-footer a { display: inline-block; padding: 4px 0; }
.v-footer__bottom { padding-right: 72px; }
@media (max-width: 860px) { .v-footer ul { gap: 2px; } .v-footer li a { padding: 8px 0; } .v-footer { padding-bottom: 36px; } }

/* =====================================================================
   Hero : titre sur 3 lignes, maquette mise en valeur, bandeau de chiffres
   ===================================================================== */
.v-hero--split { min-height: 0; padding: 76px 0 56px; }
.v-hero--split .v-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(28px, 4vw, 64px); }
.v-hero--split h1 { font-size: clamp(34px, 4.3vw, 58px); line-height: 1.07; margin: 12px 0 18px; text-wrap: balance; text-shadow: 0 2px 24px rgba(4, 8, 14, .55); }
.v-hero--split .v-lead { max-width: 52ch; color: #dbe6f0; text-shadow: 0 1px 14px rgba(4, 8, 14, .6); }
.v-hero--split .v-eyebrow { text-shadow: 0 1px 10px rgba(4, 8, 14, .7); }
.v-hero__shot { position: relative; }
.v-hero__shot::before { content: ""; position: absolute; inset: 8% -6% -6% 6%; z-index: -1; background: radial-gradient(closest-side, rgba(34, 211, 238, .35), transparent 72%); filter: blur(30px); }
.v-hero__shot .v-device { box-shadow: 0 0 0 2px #3a4a5c, 0 40px 80px -24px rgba(0, 0, 0, .85), 0 0 60px -10px rgba(34, 211, 238, .25); }
.v-hero__stats { gap: 0; margin-top: 52px; grid-template-columns: repeat(4, minmax(0, 1fr)); background: rgba(10, 15, 22, .62); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden; }
.v-hero__stats .v-stat { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 20px 24px; border-left: 1px solid rgba(255, 255, 255, .12); flex-wrap: wrap; }
.v-hero__stats .v-stat:first-child { border-left: 0; }
.v-hero__stats .v-stat b { font-size: clamp(26px, 3vw, 36px); color: var(--accent); line-height: 1; }
.v-hero__stats .v-stat span { color: #dbe6f0; font-size: 14px; }
@media (max-width: 900px) {
  .v-hero--split { padding: 40px 0 40px; }
  .v-hero--split .v-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .v-hero--split h1 { font-size: clamp(32px, 9vw, 44px); }
  .v-hero--split .v-hero__copy { background: linear-gradient(180deg, rgba(10, 15, 22, .5), rgba(10, 15, 22, .25)); border-radius: 12px; padding: 22px 18px; margin: 0 -2px; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
  .v-hero__cta--left { margin-bottom: 20px; }
  .v-hero__cta--left .v-btn { justify-content: center; }
  .v-hero--split .v-pills--left { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px; }
  .v-hero--split .v-pills--left::-webkit-scrollbar { display: none; }
  .v-hero--split .v-pills--left .v-pill { flex: none; }
  .v-hero__shot::before { inset: 0; }
  .v-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
  .v-hero__stats .v-stat { padding: 16px 16px; border-left: 0; }
  .v-hero__stats .v-stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .12); }
  .v-hero__stats .v-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}

/* =====================================================================
   FAQ : questions numerotees, bouton rond, reponse mise en retrait
   ===================================================================== */
.v-faq { counter-reset: faq; gap: 12px; }
.v-faq .v-container--narrow, .v-container--narrow:has(.v-faq) { max-width: 860px; }
.v-faq__item { counter-increment: faq; position: relative; padding: 0 22px 0 0; border-radius: 12px; overflow: hidden; transition: border-color .25s, background .25s, box-shadow .25s; }
.v-faq__item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .3s ease; }
.v-faq__item:hover { border-color: var(--border-strong); }
.v-faq__item[open] { border-color: rgba(34, 211, 238, .45); background: linear-gradient(180deg, rgba(34, 211, 238, .07), var(--surface) 60%); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .8); }
.v-faq__item[open]::before { transform: none; }
.v-faq__item summary { padding: 20px 0 20px 0; font-size: 17px; line-height: 1.4; min-height: 64px; gap: 16px; }
.v-faq__item summary::before { content: counter(faq, decimal-leading-zero); flex: none; width: 64px; text-align: center; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--muted); font-variant-numeric: tabular-nums; }
.v-faq__item[open] summary::before { color: var(--accent); }
.v-faq__item summary > svg.v-i { flex: none; order: 3; margin-left: auto; width: 34px; height: 34px; padding: 8px; border-radius: 50%; border: 1px solid var(--border-strong); transition: transform .25s, background .25s, color .25s, border-color .25s; }
.v-faq__item summary { flex-wrap: nowrap; }
.v-faq__item summary::after { content: none; }
.v-faq__item[open] summary > svg.v-i { background: var(--accent); color: var(--on-accent, #06222a); border-color: var(--accent); transform: rotate(180deg); }
.v-faq__item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 12px; }
.v-faq__item p { margin: 0 0 22px 64px; padding-right: 8px; line-height: 1.7; max-width: 62ch; animation: v-faq-in .3s ease; }
@keyframes v-faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .v-faq__item { padding-right: 14px; }
  .v-faq__item summary { font-size: 16px; padding: 16px 0; gap: 10px; }
  .v-faq__item summary::before { width: 46px; font-size: 12px; }
  .v-faq__item p { margin-left: 46px; margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { .v-faq__item p { animation: none; } .v-faq__item::before { transition: none; } }
@media (max-width: 560px) { .v-hero__cta--left .v-btn { flex: 1 1 100%; } }
@media (max-width: 560px) {
  .v-hero__stats .v-stat { flex-direction: column; align-items: flex-start; gap: 4px; }
  .v-hero__stats .v-stat span { font-size: 13px; }
}

/* Selecteur de langue (FR / EN) */
.v-lang { order: 5; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text) !important; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-decoration: none; flex: none; transition: border-color .2s, background .2s, color .2s; }
.v-lang svg { width: 16px; height: 16px; color: var(--accent); }
.v-lang:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent) !important; }
@media (max-width: 960px) {
  .v-lang { order: 0; margin-left: auto; height: 44px; padding: 0 14px; }
  .v-lang + .v-nav__toggle { margin-left: 0; }
}

/* =====================================================================
   Contact : bandeau d'accueil, formulaire en grille, colonne des autres moyens
   ===================================================================== */
.v-contact-hero { position: relative; overflow: hidden; padding: 72px 0 64px; border-bottom: 1px solid var(--border); isolation: isolate; }
.v-contact-hero__art { position: absolute; inset: 0; z-index: -2; background: center 35% / cover no-repeat; opacity: .55; }
.v-contact-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 28, 38, .96) 0%, rgba(20, 28, 38, .78) 55%, rgba(20, 28, 38, .5) 100%), linear-gradient(180deg, transparent 60%, var(--bg, #202b38) 100%); }
.v-contact-hero__inner { max-width: 1180px; }
.v-contact-hero .v-title--xl { margin: 8px 0 12px; font-size: clamp(38px, 5vw, 60px); text-shadow: 0 2px 24px rgba(4, 8, 14, .5); }
.v-contact-hero .v-lead { max-width: 46ch; margin: 0 0 26px; color: #dbe6f0; }
.v-contact-hero__mail { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px; background: rgba(8, 12, 18, .72); border: 1px solid rgba(255, 255, 255, .22); color: #fff !important; font-weight: 700; text-decoration: none; backdrop-filter: blur(8px); transition: border-color .2s, background .2s; }
.v-contact-hero__mail svg { width: 18px; height: 18px; color: var(--accent); }
.v-contact-hero__mail:hover { border-color: var(--accent); background: rgba(8, 12, 18, .9); }

.v-contact-main { padding-top: 40px; }
.v-contact-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; max-width: 1180px; }
.v-contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); margin-top: -90px; position: relative; z-index: 1; }
.v-contact-form__title { font-size: 24px; margin: 0 0 22px; }
.v-contact-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.v-contact-form .v-input { height: 48px; border-radius: 12px; }
.v-contact-form .v-textarea { min-height: 160px; border-radius: 12px; }
.v-contact-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.v-contact-form__note { margin: 0; font-size: 13px; color: var(--muted); }
.v-contact-form .v-btn svg { width: 18px; height: 18px; }

.v-contact-side { position: sticky; top: 96px; padding-top: 8px; }
.v-contact-side__title { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.v-contact-ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.v-contact-way { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--text) !important; text-decoration: none; transition: border-color .2s, transform .2s, background .2s; }
.v-contact-way:hover { border-color: var(--accent); transform: translateX(4px); background: linear-gradient(90deg, rgba(34, 211, 238, .08), var(--surface)); }
.v-contact-way__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.v-contact-way__icon svg { width: 22px; height: 22px; }
.v-contact-way__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.v-contact-way__text b { font-size: 16px; }
.v-contact-way__text small { color: var(--text-2); font-size: 14px; overflow-wrap: anywhere; }
.v-contact-way .v-contact-way__go { flex: none; width: 18px; height: 18px; color: var(--muted); transition: color .2s, transform .2s; }
.v-contact-way:hover .v-contact-way__go { color: var(--accent); transform: translateX(3px); }
.v-contact-way__reply { margin: 8px 4px 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.v-contact-way__reply svg { width: 15px; height: 15px; color: var(--success); }

@media (max-width: 900px) {
  .v-contact-hero { padding: 44px 0 90px; }
  .v-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .v-contact-form { margin-top: -64px; border-radius: 12px; }
  .v-contact-side { position: static; }
}
@media (max-width: 560px) {
  .v-contact-form__row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .v-contact-form__foot { flex-direction: column-reverse; align-items: stretch; }
  .v-contact-form__foot .v-btn { width: 100%; justify-content: center; }
  .v-contact-hero__mail { max-width: 100%; }
  .v-contact-way { padding: 12px 14px; }
}
.v-contact-form__note { color: var(--text-2); }
.v-contact-form .v-error { color: #fca5a5; font-size: 13px; }
.v-contact-form .v-input:focus-visible, .v-contact-form .v-textarea:focus-visible { outline: 0; }

/* =====================================================================
   Solutions : bandeau d'accueil, barre de rubriques, sections numerotees
   ===================================================================== */
.v-sol-hero { position: relative; overflow: hidden; padding: 76px 0 68px; isolation: isolate; border-bottom: 1px solid var(--border); }
.v-sol-hero__art { position: absolute; inset: 0; z-index: -2; background: center 40% / cover no-repeat; opacity: .55; }
.v-sol-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 28, 38, .96) 0%, rgba(20, 28, 38, .78) 55%, rgba(20, 28, 38, .45) 100%), linear-gradient(180deg, transparent 60%, var(--bg, #202b38) 100%); }
.v-sol-hero__inner { max-width: 1180px; }
.v-sol-hero .v-title--xl { margin: 8px 0 12px; font-size: clamp(38px, 5vw, 60px); text-shadow: 0 2px 24px rgba(4, 8, 14, .5); }
.v-sol-hero .v-lead { max-width: 46ch; margin: 0; color: #dbe6f0; }

/* barre de rubriques collante, avec fond opaque (plus de chevauchement avec le texte) */
.v-sol-nav-wrap { position: sticky; top: 64px; z-index: 20; background: rgba(27, 36, 47, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.v-sol-nav-wrap .v-chipnav { position: static; margin: 0; padding-top: 12px; padding-bottom: 12px; justify-content: flex-start; max-width: 1180px; }
.v-sol-nav-wrap .v-pill { min-height: 40px; padding: 0 16px; font-weight: 700; transition: background .2s, border-color .2s, color .2s; }
.v-sol-nav-wrap .v-pill:hover, .v-sol-nav-wrap .v-pill:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--on-accent, #06222a); }
.v-sol-nav-wrap .v-pill:hover svg, .v-sol-nav-wrap .v-pill:focus-visible svg { color: inherit; }

.v-sol { padding: 80px 0; scroll-margin-top: 130px; }
.v-sol--band { background: radial-gradient(800px 380px at 100% 0%, rgba(34, 211, 238, .1), transparent 60%), var(--sunken); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.v-sol .v-container { max-width: 1180px; }
.v-sol .v-split { gap: clamp(32px, 6vw, 88px); }
.v-sol__num { display: block; font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px var(--border-strong); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.v-sol .v-title { margin-bottom: 14px; }
.v-sol .v-lead { margin-bottom: 8px; }
.v-sol__points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.v-sol__points li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); line-height: 1.45; transition: border-color .2s, transform .2s; }
.v-sol--band .v-sol__points li { background: var(--bg, #202b38); }
.v-sol__points li:hover { border-color: var(--accent); transform: translateX(4px); }
.v-sol__tick { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.v-sol__tick svg { width: 15px; height: 15px; margin: 0; color: inherit; }
.v-sol__media { position: relative; margin: 0; }
.v-sol__media::before { content: ""; position: absolute; inset: 6% -4% -4% 6%; z-index: -1; border-radius: 12px; background: radial-gradient(closest-side, rgba(34, 211, 238, .22), transparent 75%); filter: blur(26px); }
.v-sol .v-split__img { border-radius: 12px; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .85); transition: transform .5s ease; }
.v-sol__media { overflow: visible; }
.v-sol__tag { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(8, 12, 18, .78); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: 13px; font-weight: 700; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.v-sol__tag svg { width: 16px; height: 16px; color: var(--accent); }

@media (max-width: 860px) {
  .v-sol-hero { padding: 44px 0 40px; }
  .v-sol-nav-wrap { top: 64px; }
  .v-sol-nav-wrap .v-chipnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-left: 16px; padding-right: 16px; }
  .v-sol-nav-wrap .v-chipnav::-webkit-scrollbar { display: none; }
  .v-sol-nav-wrap .v-pill { flex: none; }
  .v-sol { padding: 48px 0; scroll-margin-top: 120px; }
  .v-sol .v-split { gap: 28px; }
  .v-sol__num { font-size: 48px; margin-bottom: 8px; }
  .v-sol .v-split__img { aspect-ratio: 16 / 11; border-radius: 12px; }
  .v-sol .v-split__media { order: -1; }
  .v-sol__points li { padding: 12px 14px; }
}
@media (max-width: 860px) { .v-sol-nav-wrap .v-chipnav { gap: 8px; } .v-sol-nav-wrap .v-pill { padding: 0 12px; font-size: 13px; gap: 6px; } .v-sol-nav-wrap .v-pill svg { width: 15px; height: 15px; } }

/* =====================================================================
   Telechargement : bandeau d'accueil, panneau de plateformes, suite du parcours
   ===================================================================== */
.v-dl-hero { position: relative; overflow: hidden; padding: 76px 0 110px; isolation: isolate; border-bottom: 1px solid var(--border); }
.v-dl-hero__art { position: absolute; inset: 0; z-index: -2; background: center 40% / cover no-repeat; opacity: .55; }
.v-dl-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 28, 38, .96) 0%, rgba(20, 28, 38, .78) 55%, rgba(20, 28, 38, .45) 100%), linear-gradient(180deg, transparent 60%, var(--bg, #202b38) 100%); }
.v-dl-hero__inner { max-width: 1180px; }
.v-dl-hero .v-title--xl { margin: 8px 0 12px; font-size: clamp(38px, 5vw, 60px); text-shadow: 0 2px 24px rgba(4, 8, 14, .5); }
.v-dl-hero .v-lead { max-width: 46ch; margin: 0; color: #dbe6f0; }

.v-dl-main { padding-top: 0; }
.v-dl-main__inner { max-width: 1180px; }
.v-dl-shell { position: relative; z-index: 1; margin-top: -72px; padding: clamp(18px, 3vw, 32px); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); text-align: left; }
.v-dl-shell .v-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; padding: 5px; gap: 5px; border-radius: 12px; }
.v-dl-shell .v-tab { justify-content: center; min-height: 52px; padding: 8px 12px; font-size: 15px; border-radius: 12px; gap: 8px; }
.v-dl-shell .v-tab svg { width: 18px; height: 18px; }
.v-dl-shell .v-tabpanel { margin-top: 22px; }
.v-dl-shell .v-dl-intro { margin: 0 0 20px; background: var(--sunken); }
.v-dl-shell .v-dl-card { background: var(--sunken); transition: border-color .2s, transform .25s; }
.v-dl-shell .v-dl-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.v-dl-shell .v-alert { margin: 8px 0 0; }

.v-dl-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.v-dl-next__item { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(135deg, rgba(34, 211, 238, .06), transparent 60%), var(--surface); }
.v-dl-next__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.v-dl-next__icon svg { width: 22px; height: 22px; }
.v-dl-next__item > div { flex: 1; min-width: 0; }
.v-dl-next__item h2 { font-size: 17px; margin: 0 0 4px; }
.v-dl-next__item p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.v-dl-next__item .v-btn { flex: none; }

@media (max-width: 900px) {
  .v-dl-hero { padding: 44px 0 90px; }
  .v-dl-shell { margin-top: -60px; border-radius: 12px; }
  .v-dl-next { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .v-dl-shell .v-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-dl-shell .v-tab { min-height: 48px; }
  .v-dl-next__item { flex-wrap: wrap; }
  .v-dl-next__item > div { flex: 1 1 calc(100% - 70px); }
  .v-dl-next__item .v-btn { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .v-dl-shell { padding: 14px; }
  .v-dl-shell .v-tab { flex-wrap: wrap; row-gap: 3px; line-height: 1.2; padding: 8px 6px; }
  .v-dl-shell .v-tab .v-reco { flex: 0 0 auto; font-size: 10px; padding: 1px 8px; }
  .v-dl-shell .v-dl-intro { padding: 14px; }
}

/* Comment ca marche : etapes centrees */
.v-how .v-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 20px; position: relative; }
.v-how .v-step::before { left: calc(50% + 46px); right: calc(-50% + 46px); top: 31px; width: auto; height: 2px; bottom: auto; background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 16px); }
.v-how .v-step:last-child::before { display: none; }
.v-how .v-step__num { grid-area: auto; grid-row: auto; grid-column: auto; position: relative; flex: none; }
.v-how .v-icon-box { position: absolute; top: -8px; left: calc(50% + 14px); width: 36px; height: 36px; border-radius: 12px; display: grid !important; place-items: center; background: var(--sunken); border: 1px solid var(--border-strong); z-index: 2; }
.v-how .v-icon-box svg { width: 18px; height: 18px; }
.v-how .v-step h3 { grid-column: auto; grid-row: auto; margin: 22px 0 8px; }
.v-how .v-step p { grid-column: auto; grid-row: auto; max-width: 34ch; margin-left: auto; margin-right: auto; text-wrap: pretty; }
@media (max-width: 800px) {
  .v-how .v-step { padding: 0 8px 36px; }
  .v-how .v-step:last-child { padding-bottom: 0; }
  .v-how .v-step::before { left: 50%; right: auto; top: 58px; bottom: 6px; width: 2px; height: auto; transform: translateX(-1px); background: repeating-linear-gradient(180deg, var(--border-strong) 0 8px, transparent 8px 16px); }
  .v-how .v-step:last-child::before { display: none; }
  .v-how .v-step h3 { margin: 18px 0 6px; }
}
@media (max-width: 800px) {
  .v-how .v-step::before { top: auto; bottom: 4px; height: 28px; }
  .v-how .v-step { padding-bottom: 44px; }
}

/* =====================================================================
   Pages legales : bandeau, document a lecture confortable, sommaire
   ===================================================================== */
.v-leg-hero { position: relative; overflow: hidden; padding: 72px 0 100px; isolation: isolate; border-bottom: 1px solid var(--border); }
.v-leg-hero__art { position: absolute; inset: 0; z-index: -2; background: center 40% / cover no-repeat; opacity: .5; }
.v-leg-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 28, 38, .97) 0%, rgba(20, 28, 38, .8) 55%, rgba(20, 28, 38, .5) 100%), linear-gradient(180deg, transparent 60%, var(--bg, #202b38) 100%); }
.v-leg-hero__inner { max-width: 1180px; }
.v-leg-hero .v-title--xl { margin: 8px 0 18px; font-size: clamp(36px, 4.6vw, 56px); text-shadow: 0 2px 24px rgba(4, 8, 14, .5); }
.v-leg-hero__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.v-leg-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(8, 12, 18, .75); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.v-leg-chip svg { width: 16px; height: 16px; color: var(--accent); }

.v-leg-main { padding-top: 0; }
.v-leg-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; max-width: 1180px; }
.v-leg-doc { margin-top: -64px; position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow); min-width: 0; }
.v-leg-body { font-size: 16.5px; line-height: 1.8; max-width: 72ch; }
.v-leg-body p { margin: 0 0 1.1em; }
.v-leg-body h2 { font-size: 24px; margin: 1.9em 0 .6em; padding-top: 1.1em; border-top: 1px solid var(--border); }
.v-leg-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.v-leg-body h3 { font-size: 19px; margin: 1.5em 0 .4em; }

/* Listes de l'editeur riche : puces propres, titres numerotes */
.v-leg-body { counter-reset: legsec; }
.v-leg-body ol, .v-leg-body ul { list-style: none; margin: 0 0 1.2em; padding: 0; counter-reset: legitem; }
.v-leg-body li { position: relative; padding: 0 0 .55em 1.5em; margin: 0; }
.v-leg-body li .ql-ui { display: none; }
.v-leg-body li.ql-indent-1 { padding-left: 1.5em; }
.v-leg-body li.ql-indent-2 { padding-left: 3em; }
.v-leg-body li.ql-indent-3 { padding-left: 4.5em; }
.v-leg-body li[data-list="bullet"]::before { content: ""; position: absolute; left: .35em; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.v-leg-body li.ql-indent-2[data-list="bullet"]::before { left: 1.85em; background: transparent; border: 1.5px solid var(--accent); }
.v-leg-body li[data-list="ordered"]:not(.v-leg-h) { counter-increment: legitem; }
.v-leg-body li[data-list="ordered"]:not(.v-leg-h)::before { content: counter(legitem) "."; position: absolute; left: 0; color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.v-leg-body li.v-leg-h { counter-increment: legsec; display: flex; align-items: center; gap: 14px; padding: 0; margin: 1.7em 0 .7em; font-size: 22px; line-height: 1.3; }
.v-leg-body li.v-leg-h::before { content: counter(legsec); flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 17px; font-weight: 800; position: static; border: 0; }
.v-leg-body li.v-leg-h strong { font-size: inherit; }
.v-leg-body li.v-leg-sub { padding-left: 0; margin: 1.2em 0 .3em; font-size: 18px; }
.v-leg-body li.v-leg-sub::before { display: none; }
.v-leg-body a { text-underline-offset: 3px; }
.v-leg-body li.v-leg-h, .v-leg-body h2, .v-leg-body h3 { scroll-margin-top: 90px; }

/* Colonne laterale */
.v-leg-side { position: sticky; top: 88px; display: grid; gap: 16px; padding-top: 8px; }
.v-leg-toc, .v-leg-other { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 6px 8px 8px; }
.v-leg-toc[hidden] { display: none; }
.v-leg-toc summary, .v-leg-other h2 { list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 12px 10px; margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); cursor: default; }
.v-leg-toc summary::-webkit-details-marker { display: none; }
.v-leg-toc summary svg { width: 18px; height: 18px; color: var(--accent); }
.v-leg-toc .v-leg-toc__caret { margin-left: auto; width: 18px; height: 18px; display: none; transition: transform .2s; }
.v-leg-toc .v-toc { max-height: 52vh; overflow: auto; margin: 0; padding: 0 2px 4px; counter-reset: toc; }
.v-leg-toc .v-toc li { counter-increment: toc; }
.v-leg-toc .v-toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; color: var(--text-2); text-decoration: none; line-height: 1.35; }
.v-leg-toc .v-toc a::before { content: counter(toc); flex: none; width: 22px; color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.v-leg-toc .v-toc a:hover { background: var(--accent-soft); color: var(--accent); }
.v-leg-toc .v-toc a.on { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.v-leg-toc .v-toc a.on::before { color: var(--accent); }
.v-leg-other ul { list-style: none; margin: 0; padding: 0 2px 4px; display: grid; gap: 2px; }
.v-leg-other a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; color: var(--text-2) !important; text-decoration: none; font-size: 15px; font-weight: 600; transition: background .2s, color .2s; }
.v-leg-other a svg { width: 16px; height: 16px; color: var(--muted); }
.v-leg-other a:hover, .v-leg-other a.on { background: var(--accent-soft); color: var(--accent) !important; }
.v-leg-other a.on svg, .v-leg-other a:hover svg { color: var(--accent); }

@media (max-width: 900px) {
  .v-leg-hero { padding: 44px 0 84px; }
  .v-leg-grid { display: flex; flex-direction: column; gap: 20px; }
  .v-leg-side { display: contents; }
  .v-leg-toc { order: 1; margin-top: -48px; position: relative; z-index: 2; }
  .v-leg-doc { order: 2; margin-top: 0; border-radius: 12px; }
  .v-leg-other { order: 3; }
  .v-leg-toc summary { cursor: pointer; }
  .v-leg-toc .v-leg-toc__caret { display: block; }
  .v-leg-toc details[open] .v-leg-toc__caret { transform: rotate(180deg); }
  .v-leg-toc .v-toc { max-height: 46vh; }
  .v-leg-body { font-size: 16px; }
  .v-leg-body li.v-leg-h { font-size: 19px; gap: 12px; }
  .v-leg-body li.v-leg-h::before { width: 34px; height: 34px; font-size: 15px; }
}
@media (max-width: 900px) { .v-leg-grid:not(:has(.v-leg-toc:not([hidden]))) .v-leg-doc { margin-top: -48px; } }
@media (max-width: 900px) { .v-leg-grid { align-items: stretch; } .v-leg-other, .v-leg-toc, .v-leg-doc { width: 100%; } }
