/* static/vitrine/css/accueil.css — l'accueil, lot 137, 23 octobre 2026.

   LES ONGLETS SONT DES BOUTONS RADIO, sans JavaScript : un bouton coche
   affiche le texte, la languette et l'ecran qui portent son data-onglet.
   Chaque cle est ecrite ci-dessous ; une cle oubliee laisse son onglet vide
   (verrou : vitrine/tests/test_accueil.py).

   Lot 142, 24 octobre 2026 : maquette « Version 4 · Volets empiles ». La
   fenetre de demonstration chevauche le bas du hero ; les quatre volets
   montent l'un sur l'autre (marge negative, coins arrondis, ombre), et la
   tete de chacun reste collee en haut tant qu'on le lit.

   Lot 156, 25 octobre 2026 : maquette « Version 5 compacte · echelle 85 % ».
   Fond bleu nuit quadrille, titres en Archivo, grand numero devant chaque
   volet, illustrations en plan lumineux. Les tailles sont celles de la
   maquette. Les jetons --v-* sont ceux d'entete.css. Aucun zoom sur les
   ecrans (lot 175 : verrou scripts/check_demos_accueil.mjs). */

#accueil { color: var(--v-encre); }
#accueil h1, #accueil h2, #accueil h3 { text-wrap: balance; }
.acc-largeur { max-width: 1102px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.acc-section { padding-block: 81px; display: flex; flex-direction: column; gap: 34px; }
.acc-blanc { background: var(--v-blanc); }
.acc-sombre { background: var(--v-encre); color: var(--v-blanc); }
/* Lot 386 : le bandeau d'accompagnement loge dans l'en-tete collant ;
   --v-bandeau (static/vitrine/js/bandeau.js) en porte la hauteur, 0 s'il est
   ferme ou absent. */
.acc-ancre { display: block; height: 0; scroll-margin-top: calc(96px + var(--v-bandeau, 0px)); }
#accueil section[id] { scroll-margin-top: calc(65px + var(--v-bandeau, 0px)); }
.acc-agent, .acc-groupe { scroll-margin-top: calc(96px + var(--v-bandeau, 0px)); }

.acc-mono, .acc-mono-petit { font-family: var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--v-acier); }
.acc-mono { font-size: 10px; margin-bottom: 17px; }
.acc-mono-petit { font-size: 9.5px; }
.acc-signal { color: var(--v-signal); }
.acc-ocre { color: var(--v-ocre); }
.acc-accent { color: var(--v-signal); }
.acc-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.65rem); line-height: 1.06; letter-spacing: -.025em; }
.acc-h2-moyen { font-size: clamp(1.7rem, 3.2vw, 2.35rem); line-height: 1.1; }
.acc-h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.53rem); line-height: 1.15; }
.acc-h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.2; }
.acc-chapeau { flex: 1 1 320px; min-width: 0; font-size: 14.5px; line-height: 1.6; color: var(--v-acier); }
.acc-entete-section { display: flex; flex-wrap: wrap; gap: 7px 27px; align-items: baseline; justify-content: space-between; }
.acc-entete-section > div { flex: 1 1 480px; min-width: 0; }
.acc-surligne { background: url("../images/surligne-ocre.9c8a948ebf80.svg") 0 0 / 100% 100% no-repeat; padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Boutons */
.acc-boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.acc-bt { display: inline-flex; align-items: center; gap: 8.5px; min-height: 41px; padding: 0 20.5px; font-weight: 700; font-size: 13px; border-radius: 2px; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.acc-bt:hover { transform: translateY(-2px); }
.acc-bt-action { background: var(--v-signal); color: var(--v-blanc); }
.acc-bt-action:hover { background: var(--v-encre); }
.acc-quadrille .acc-bt-action:hover, .acc-ouverture .acc-bt-action:hover { background: var(--v-blanc); color: var(--v-signal); }
.acc-bt-sable { background: var(--v-papier); color: var(--v-encre); }
.acc-bt-sable:hover { background: var(--v-blanc); color: var(--v-signal); }
.acc-bt-contour { color: var(--v-papier); border: 1px solid var(--v-accent-clair); }
.acc-bt-contour:hover { background: rgba(247, 247, 245, .14); border-color: var(--v-papier); }
.acc-bt-blanc { background: var(--v-blanc); color: var(--v-encre); border: 1px solid var(--v-trait-fort); }
.acc-bt-blanc:hover { background: var(--v-sable); border-color: rgba(11, 19, 37, .35); }
.acc-bt-encadre { color: var(--v-encre); border: 1.5px solid var(--v-encre); }
.acc-bt-encadre:hover { background: var(--v-encre); color: var(--v-blanc); }

/* Premier ecran : fond bleu nuit quadrille, titre a gauche, plan lumineux a
   droite. Le halo suit la souris (static/vitrine/js/accueil.js). */
.acc-quadrille { background-color: var(--v-encre); background-image: linear-gradient(rgba(247, 247, 245, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(247, 247, 245, .045) 1px, transparent 1px); background-size: 27px 27px; }
.acc-hero { position: relative; overflow: hidden; }
.acc-halo-grille, .acc-halo-lueur { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; }
.acc-halo-grille { background-image: linear-gradient(rgba(247, 247, 245, .32) 1px, transparent 1px), linear-gradient(90deg, rgba(247, 247, 245, .32) 1px, transparent 1px); background-size: 27px 27px; -webkit-mask-image: radial-gradient(200px circle at var(--mx, 50%) var(--my, 40%), #000, transparent 75%), linear-gradient(to bottom, #000 0, #000 50%, transparent 100%); -webkit-mask-composite: source-in; mask-image: radial-gradient(200px circle at var(--mx, 50%) var(--my, 40%), #000, transparent 75%), linear-gradient(to bottom, #000 0, #000 50%, transparent 100%); mask-composite: intersect; }
.acc-halo-lueur { z-index: 3; mix-blend-mode: screen; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 40%), rgba(211, 84, 0, .16), transparent 70%); }
@media (hover: none) { .acc-halo-grille, .acc-halo-lueur { display: none; } }
.acc-hero-texte { position: relative; max-width: 1122px; margin: 0 auto; padding: 61px 24px 170px; display: flex; flex-wrap: wrap; gap: 34px 47.5px; align-items: center; color: var(--v-papier); }
.acc-hero-gauche { flex: 1 1 374px; min-width: 0; display: flex; flex-direction: column; gap: 18.5px; }
.acc-hero-droite { flex: 1.35 1 476px; min-width: 0; display: flex; flex-direction: column; gap: 20.5px; }
.acc-hero-droite p { font-size: 15.5px; line-height: 1.6; color: var(--v-sur-sombre); }
.acc-hero-schema { margin: -17px 0 0; line-height: 0; }
.acc-hero-schema img { display: block; width: 100%; height: auto; aspect-ratio: 1584 / 672; mix-blend-mode: lighten; }
.acc-pastille { align-self: flex-start; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--v-ocre); background: var(--v-encre); padding: 7px 12px; border-radius: 999px; }
.acc-hero-titre { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1; letter-spacing: -.025em; color: var(--v-blanc); }
.acc-peche { color: var(--v-accent-clair); }

/* Bandeau des donnees */
.acc-donnees { background: var(--v-sable); border-bottom: 1px solid var(--v-trait); }
.acc-donnees-ligne { padding-block: 18.5px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15.5px; }
.acc-donnees-ligne .acc-mono { margin: 0; }
.acc-donnees ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 13px; font-weight: 600; }

/* Constat */
.acc-constat { background: var(--v-encre); color: var(--v-papier); }
.acc-constat .acc-section { padding-block: 47.5px 24px; }
.acc-constat .acc-h2 { font-size: 2.03rem; line-height: 1.1; }
.acc-constat .acc-chapeau { flex: 0 1 auto; font-size: 13px; line-height: 1.5; color: var(--v-sur-sombre-2); }
.acc-citation { background: var(--v-encre-2); border-radius: 15.5px; padding: 17px 18.5px; display: flex; flex-direction: column; gap: 12px; }
.acc-citation-texte { font-family: var(--font-display); font-weight: 700; font-size: .97rem; line-height: 1.3; }
.acc-citation .acc-mono-petit { display: flex; align-items: center; gap: 8.5px; font-size: 9px; }
.acc-citation .acc-mono-petit::before { content: ""; width: 17px; height: 1px; background: currentColor; }

/* Avant / avec : la section bleu nuit, le plan en fil de fer, le tableau. */
#avant-apres .acc-mono { color: var(--v-accent-clair); }
#avant-apres .acc-h2 { color: var(--v-blanc); }
.acc-comparaison { border-radius: 25.5px; overflow: hidden; border: 1px solid rgba(247, 247, 245, .1); }
.acc-comparaison > img { display: block; width: 100%; height: auto; background: var(--v-encre); }
.acc-tableau { width: 100%; border-collapse: collapse; table-layout: fixed; }
.acc-tableau th, .acc-tableau td { padding: 15.5px 27px; text-align: left; vertical-align: top; font-size: 14px; line-height: 1.45; border-top: 1px solid rgba(247, 247, 245, .08); }
.acc-tableau th { padding-block: 18.5px; border-top: 0; }
.acc-tableau th:first-child, .acc-tableau td:first-child { background: #141d33; color: var(--v-sur-sombre-2); width: 50%; }
.acc-tableau th:last-child, .acc-tableau td:last-child { background: rgba(211, 84, 0, .16); color: var(--v-blanc); font-weight: 700; }
.acc-tableau td { position: relative; padding-left: 58px; }
.acc-tableau td::before { content: ""; position: absolute; left: 27px; top: 16px; width: 19px; height: 19px; background: center / contain no-repeat; }
.acc-tableau td:first-child::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e92a0' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m15 9-6 6M9 9l6 6'/%3E%3C/svg%3E"); }
.acc-tableau td:last-child::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f39a5b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m7.5 12.5 3 3 6-6.5'/%3E%3C/svg%3E"); }
.acc-badge { display: inline-block; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.acc-badge-sans { color: var(--v-sur-sombre); background: rgba(247, 247, 245, .1); }
.acc-badge-avec { color: var(--v-blanc); background: var(--v-signal); }
@media (max-width: 640px) {
  .acc-tableau th, .acc-tableau td { padding: 14px 14px 14px 44px; font-size: 13.5px; }
  .acc-tableau th { padding-left: 14px; }
  .acc-tableau td::before { left: 14px; top: 15px; width: 18px; height: 18px; }
}

/* Onglets (demonstration, flux et comite) */
.acc-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.acc-volets { display: flex; flex-wrap: wrap; gap: 34px 41px; align-items: flex-start; }
.acc-points { list-style: none; margin: 3.5px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.acc-points li { position: relative; padding-left: 27px; font-size: 13px; line-height: 1.45; }
.acc-points li::before { content: ""; position: absolute; left: 0; top: 0; width: 17px; height: 17px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d35400' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m7.5 12.5 3 3 6-6.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.acc-fenetre { flex: 2 1 527px; min-width: 0; border-radius: 15.5px; border: 1px solid rgba(11, 19, 37, .12); background: var(--v-sable); overflow: hidden; box-shadow: 0 22px 42.5px -25.5px rgba(11, 19, 37, .45); }
.acc-barre { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; padding: 10px 10px 0 13.5px; }
.acc-pastilles { display: flex; gap: 6px; padding: 0 7px 13.5px 0; }
.acc-pastilles span { width: 10px; height: 10px; border-radius: 9999px; background: #ff5f57; }
.acc-pastilles span:nth-child(2) { background: #febc2e; }
.acc-pastilles span:nth-child(3) { background: #28c840; }
.acc-languettes { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 3.5px; min-width: 0; }
.acc-languette { position: relative; display: flex; align-items: center; gap: 7px; min-height: 37.5px; padding: 0 13.5px; border-radius: 8.5px 8.5px 0 0; font-size: 12.5px; font-weight: 600; color: var(--v-acier); cursor: pointer; transition: background-color .2s, color .2s; }
.acc-languette span { font-family: var(--font-mono); font-size: 9.5px; color: var(--v-signal); }
.acc-languette:hover { background: rgba(247, 247, 245, .6); color: var(--v-encre); }

.acc-radio:focus-visible ~ .acc-volets .acc-languettes { outline: 2px solid var(--v-signal); outline-offset: 2px; border-radius: 10px; }

.acc-numero { flex: 0 0 auto; font-family: var(--font-display); font-weight: 800; font-size: 71.5px; line-height: .78; letter-spacing: -.05em; color: var(--v-signal); opacity: .35; }

/* Rapports */
.acc-rythmes { display: flex; flex-wrap: wrap; gap: 13.5px; }
.acc-rythme { flex: 1 1 357px; min-width: 0; display: flex; gap: 18.5px; background: var(--v-blanc); border-radius: 18.5px; padding: 25.5px; }
.acc-rythme .acc-numero { font-size: 81.5px; opacity: .85; }
.acc-rythme > div { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.acc-rythme .acc-h3 { font-size: 1.31rem; line-height: 1.18; }
.acc-rythme > div > p:last-child { font-size: 13px; line-height: 1.6; color: var(--v-acier); }
.acc-rythme-sombre { background: var(--v-encre); color: var(--v-papier); }
.acc-rythme-sombre .acc-numero { color: var(--v-ocre); }
.acc-rythme-sombre .acc-mono-petit, .acc-rythme-sombre > div > p:last-child { color: var(--v-sur-sombre-2); }

/* Agents */
.acc-agents { display: flex; flex-wrap: wrap; gap: 17px; }
.acc-groupe { flex: 1 1 442px; min-width: 0; display: flex; flex-direction: column; gap: 12px; background: var(--v-papier); border-radius: 22px; padding: 20.5px; }
/* Lot 2121 : le titre de chaque groupe en plus gros (10 px avant), sous le
   titre des cartes qu'il coiffe (18 px). */
.acc-groupe > .acc-mono-petit { font-size: 14px; font-weight: 500; letter-spacing: .08em; line-height: 1.35; padding: 2px 2px 4px; }
.acc-agent { display: flex; flex-direction: column; gap: 5px; background: var(--v-blanc); border-radius: 15.5px; padding: 19px 19px 15.5px; }
.acc-agent p { font-size: 12.5px; line-height: 1.55; color: var(--v-acier); }

/* Abonnement : l'appel final, centre, sur fond clair. */
#abonnement { border-bottom: 1px solid var(--v-trait); }
.acc-section-cta { padding-block: 95px 102px; }
.acc-cta { max-width: 850px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20.5px; text-align: center; }
.acc-cta .acc-mono { margin: 0; font-size: 10.5px; letter-spacing: .16em; }
.acc-cta-trait { width: 47.5px; height: 3.5px; border-radius: 3.5px; background: var(--v-signal); }
.acc-h2-cta { font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.02; letter-spacing: -.03em; }
.acc-cta-prix { max-width: 476px; font-size: 16px; line-height: 1.6; color: var(--v-acier); }
.acc-cta .acc-boutons { justify-content: center; gap: 12px; margin-top: 8.5px; }
.acc-cta .acc-bt { min-height: 47.5px; padding: 0 27px; font-size: 14px; }

/* Lot 142 : les citations defilent, en pause au survol */
.acc-defilement { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.acc-defile { display: flex; width: max-content; animation: acc-defile 48s linear infinite; }
.acc-defilement:hover .acc-defile, .acc-defilement:focus-within .acc-defile { animation-play-state: paused; }
.acc-defile .acc-citation { flex: 0 0 277px; margin: 0 6px; justify-content: space-between; }
@keyframes acc-defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.acc-resultat-zone { padding-block: 24px 81.5px; }
.acc-resultat { background: var(--v-signal); color: var(--v-blanc); border-radius: 15.5px; padding: 15.5px 20.5px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.acc-resultat-texte { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.25; flex: 1 1 320px; min-width: 0; }
.acc-resultat .acc-bt { min-height: 37.5px; padding: 0 17px; }

/* Lot 142 : les volets empiles */
.acc-pile { position: relative; margin-top: -40px; border-radius: 40px 40px 0 0; box-shadow: 0 -22px 42.5px -25.5px rgba(11, 19, 37, .4); }
.acc-pile-blanc { background: var(--v-blanc); }
.acc-pile-papier { background: var(--v-papier); }
.acc-pile-sable { background: var(--v-sable); }
#volets { z-index: 1; box-shadow: none; }
#flux { z-index: 2; }
#vision { z-index: 3; }
#rapports { z-index: 4; }
#agents { z-index: 5; }
#avant-apres, #abonnement { position: relative; z-index: 6; }
.acc-plateforme-tete { padding-block: 61px 54.5px; display: flex; flex-direction: column; align-items: center; gap: 18.5px; text-align: center; }
.acc-plateforme-tete .acc-mono { margin: 0; }
.acc-puces-volets { display: flex; flex-wrap: wrap; justify-content: center; gap: 8.5px; margin-top: 7px; }
.acc-puces-volets a { display: inline-flex; align-items: center; gap: 8.5px; min-height: 37.5px; padding: 0 15.5px; border-radius: 999px; background: var(--v-papier); border: 1px solid rgba(11, 19, 37, .1); font-weight: 700; font-size: 13px; transition: background-color .2s, border-color .2s; }
.acc-puces-volets a:hover { background: var(--v-blanc); border-color: var(--v-signal); }
.acc-puces-volets span { font-family: var(--font-mono); font-size: 10px; color: var(--v-signal); }
/* Lot 156 : la tete d'un volet, grand numero a gauche, titre a droite ; elle
   reste collee sous l'en-tete du site (65 px : 64 de hauteur et la bordure,
   mesure le 25 octobre a 1 440 px). */
.acc-pile-tete { position: sticky; top: 65px; z-index: 5; background: inherit; border-radius: 40px 40px 0 0; padding: 25.5px 24px 22px; display: grid; grid-template-columns: auto minmax(0, 697px); justify-content: center; align-items: center; column-gap: 30.5px; border-bottom: 1px solid var(--v-trait); }
.acc-grand-num { font-family: var(--font-display); font-weight: 800; font-size: 112px; line-height: .78; letter-spacing: -.05em; color: var(--v-signal); opacity: .9; }
.acc-pile-titre { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; }
.acc-volet-etiquette { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--v-acier); }
.acc-delai { display: inline-flex; align-items: center; gap: 7px; height: 27px; padding: 0 12px; border-radius: 999px; background: var(--v-encre); color: var(--v-papier); font-size: 11.5px; font-weight: 700; }
.acc-delai svg { color: var(--v-ocre); }
.acc-pile-corps { padding-block: 34px 102px; display: flex; flex-direction: column; gap: 27px; }
.acc-chapeau-centre { flex: none; max-width: 560px; margin: 0 auto; text-align: center; }

@media (max-width: 900px) {
  .acc-hero-texte { padding: 30.5px 20px 34px; }
  .acc-hero-schema { margin-top: -7px; }
  .acc-pastille { font-size: 9px; letter-spacing: .1em; }
  .acc-pile-tete { position: relative; top: auto; column-gap: 15.5px; }
  .acc-grand-num { font-size: 64.5px; }
  .acc-pile-corps { padding-block: 27px 81px; }
  .acc-defile .acc-citation { flex-basis: 238px; }
}

@media (max-width: 640px) {
  .acc-section { padding-block: 54px; gap: 27px; }
  .acc-languette { padding: 0 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .acc-bt, .acc-languette, .acc-puces-volets a, .acc-halo-grille, .acc-halo-lueur { transition: none; } .acc-bt:hover { transform: none; }
  .acc-defile { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 14px; }
  .acc-defile .acc-citation[aria-hidden="true"] { display: none; }
}

/* Lot 175, 26 octobre 2026 : maquette « Version 6 · titre et schema pleine
   largeur, demo a droite du texte ». Le schema lumineux occupe toute la
   largeur, le titre passe dessous sur deux lignes, puis le texte a gauche et,
   a droite, les deux demos interactives (static/vitrine/js/demos.js, verrou
   scripts/check_demos_accueil.mjs). L'ecran copie garde sa taille reelle
   (1280 x 800) et s'ajuste a la largeur de la fenetre : c'est une mise a
   l'echelle de l'ecran entier, jamais un zoom sur une partie.

   Lot 270, 4 novembre 2026 : trois onglets, la fenetre elargie a 1760 px de
   contenu (seule section elargie), les ecrans copies a la taille des
   maquettes (1760 x 1100), et la palette brune des anciennes copies remplacee
   par les jetons reels (encre #0b1325, blanc #f7f7f5). */
.acc-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.acc-hero-v6 { padding: 0; }
.acc-schema-plein { position: relative; margin: 0; line-height: 0; }
.acc-schema-plein img { display: block; width: 100%; height: min(42.4vw, 50vh); min-height: 260px; object-fit: cover; object-position: 50% 40%; mix-blend-mode: lighten; -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 80%, transparent 100%); }
.acc-hero-titre-v6 { position: relative; max-width: 1222px; margin: -48px auto 0; padding: 0 20.5px 34px; container-type: inline-size; }
.acc-hero-v6 .acc-hero-titre { font-size: clamp(26px, 4.7cqi, 54px); line-height: 1.02; letter-spacing: -.03em; }
.acc-ligne { display: block; white-space: nowrap; }
@media (max-width: 900px) { .acc-ligne { display: inline; white-space: normal; } }

.acc-demo-cote { position: relative; z-index: 2; }

/* Lot 197, 27 octobre 2026 : un seul fond bleu nuit pour le titre et la demo,
   une seule lueur sur l'ensemble. Le quadrillage et l'eclairage des carreaux
   sont des couches de #top, masquees par le meme degrade : opaques sur la
   moitie haute, transparents au bas, la ou commencent le texte et la demo.
   #top part du coin du conteneur : --mx/--my y sont dans le meme repere. */
.acc-ouverture { position: relative; overflow: hidden; background-color: var(--v-encre); }
.acc-grille-fond { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(247, 247, 245, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(247, 247, 245, .045) 1px, transparent 1px); background-size: 27px 27px; -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 50%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 50%, transparent 100%); }
.acc-ouverture:hover .acc-halo-grille, .acc-ouverture:hover .acc-halo-lueur { opacity: 1; }
.acc-demo-rangee { max-width: 1801px; margin: 0 auto; padding: 20.5px 20.5px 54.5px; display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: flex-start; }
.acc-demo-gauche { flex: 0 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding-top: 30px; }
.acc-demo-gauche p { font-size: 16px; line-height: 1.6; color: var(--v-sur-sombre); }
.acc-boutons-colonne { display: flex; flex-direction: column; gap: 10px; }
.acc-boutons-colonne .acc-bt { min-height: 46px; padding: 0 22px; font-size: 14px; justify-content: space-between; }
.acc-demo-droite { flex: 1 1 620px; min-width: 0; }
@media (max-width: 980px) { .acc-demo-gauche { flex-basis: 100%; padding-top: 8px; } }

.acc-fenetre-interactive { border-radius: 15.5px; border: 1px solid var(--v-trait-fort); background: var(--v-sable); overflow: hidden; box-shadow: 0 29px 59.5px -29px rgba(11, 19, 37, .55); }
.acc-fenetre-interactive .acc-languette { flex: 0 0 auto; white-space: nowrap; border: 0; font: inherit; font-size: 13px; cursor: pointer; }
/* Lot 270 (planche Portable) : trois onglets ; sur un ecran etroit, ils glissent a l'horizontale. */
.acc-fenetre-interactive .acc-barre { flex-wrap: nowrap; }
.acc-fenetre-interactive .acc-languettes { flex: 1 1 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.acc-fenetre-interactive .acc-languettes::-webkit-scrollbar { display: none; }
.acc-fenetre-interactive .acc-languette[aria-selected="true"] { background: var(--v-blanc); color: var(--v-encre); font-weight: 700; }
.acc-fenetre-interactive .acc-languette:focus-visible, .acc-demo-scene:focus-visible, .acc-demo-bouton:focus-visible { outline: 2px solid var(--v-signal); outline-offset: 3px; }
.acc-demo-scene { position: relative; width: 100%; aspect-ratio: 1760 / 1100; max-width: 100%; overflow: hidden; background: var(--v-encre); }
.acc-demo-scene iframe { position: absolute; left: 0; top: 0; width: 1760px; height: 1100px; border: 0; transform-origin: 0 0; background: var(--v-blanc); }
.acc-demo-voile { position: absolute; inset: 0; z-index: 4; cursor: pointer; }
.acc-demo-scene.main .acc-demo-voile { display: none; }
.acc-demo-chargement, .acc-demo-sans-js { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 16px; text-align: center; color: var(--v-sur-sombre); font-size: .95rem; }
.acc-demo-sans-js a { color: var(--v-accent-clair); text-decoration: underline; }
.acc-demo-chargement[hidden] { display: none; }
.acc-demo-legende { position: absolute; left: 50%; bottom: 4.5%; transform: translateX(-50%); z-index: 6; max-width: 94%; background: rgba(11, 19, 37, .9); color: var(--v-blanc); padding: .55em 1.1em; border-radius: 10px; font-size: clamp(.66rem, 1.4vw, .95rem); line-height: 1.4; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .3s; pointer-events: none; }
.acc-demo-legende.vide { opacity: 0; }
.acc-demo-invite { position: absolute; left: 50%; top: 4%; transform: translate(-50%, -6px); z-index: 7; opacity: 0; pointer-events: none; background: var(--v-signal); color: var(--v-blanc); font-size: .88rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; transition: opacity .25s, transform .25s; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5); }
.acc-demo-scene:hover .acc-demo-invite.visible { opacity: 1; transform: translate(-50%, 0); }
.acc-demo-barre { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 44px; padding: 6px 14px; background: var(--v-blanc); border-top: 1px solid var(--v-trait); }
.acc-demo-etat { flex: 1; min-width: 0; color: var(--v-acier); font-size: .85rem; }
.acc-demo-points { display: flex; gap: 5px; }
.acc-demo-points i { width: 7px; height: 7px; border-radius: 50%; background: var(--v-trait-fort); }
.acc-demo-points i.fait { background: var(--v-acier); }
.acc-demo-points i.ici { background: var(--v-signal); }
.acc-demo-bouton { font: inherit; font-size: .85rem; padding: 6px 12px; border-radius: 6px; border: 1px solid var(--v-trait-fort); background: var(--v-blanc); color: var(--v-encre); cursor: pointer; }
.acc-demo-bouton[hidden] { display: none; }

/* Lot 270, 4 novembre 2026 : les volets sur les maquettes validees de Cesar
   (planches Point2 a Point5). Les ecrans sont des captures des vrais ecrans
   d'Optime ; leur mouvement est dans static/vitrine/js/volets.js. Les choix
   (onglets, etapes) restent des boutons radio, lisibles sans JavaScript. */
.acc-largeur-volet { max-width: 1288px; }
.acc-largeur-large { max-width: 1348px; }
.acc-boutons-centre { justify-content: center; }
.acc-pastilles-onglets { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px; }
.acc-pastille-onglet { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--v-trait-fort); background: var(--v-blanc); color: var(--v-encre); font-weight: 600; font-size: 13.5px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.acc-pastille-onglet span { font-family: var(--font-mono); font-size: 10px; color: var(--v-signal); }
.acc-pastille-onglet:hover { border-color: var(--v-encre); }
.acc-radio:focus-visible ~ .acc-volets .acc-pastilles-onglets { outline: 2px solid var(--v-signal); outline-offset: 4px; border-radius: 999px; }
#offre-mails:checked ~ .acc-volets .acc-pastille-onglet[data-onglet="mails"],
#offre-suivi-equipe:checked ~ .acc-volets .acc-pastille-onglet[data-onglet="suivi-equipe"],
#offre-rapport-ca:checked ~ .acc-volets .acc-pastille-onglet[data-onglet="rapport-ca"],
#offre-rapport-decrochage:checked ~ .acc-volets .acc-pastille-onglet[data-onglet="rapport-decrochage"],
#offre-rapport-zones:checked ~ .acc-volets .acc-pastille-onglet[data-onglet="rapport-zones"] { background: var(--v-encre); border-color: var(--v-encre); color: var(--v-blanc); }

/* Volet 01 : le texte a gauche, l'ecran a droite. */
.acc-volets-panneaux, .acc-volets-rapports, .acc-volets-frise { align-items: stretch; }
/* Lot 290 : une grille, et non une colonne flex. La colonne flex figeait le panneau a la hauteur mesuree avant la
   capture du tableau d'equipe (sa boite tient de aspect-ratio) : 413 px pour une figure de 566 a 1440, qui passait
   sous le volet 02. Test : vitrine/tests/test_accueil_lot290.py. */
.acc-volets-panneaux { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.acc-panneau { display: none; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; align-items: start; }
#offre-mails:checked ~ .acc-volets .acc-panneau[data-onglet="mails"],
#offre-suivi-equipe:checked ~ .acc-volets .acc-panneau[data-onglet="suivi-equipe"] { display: grid; }
.acc-panneau-texte { display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
.acc-panneau-texte > p:not(.acc-mono-petit) { font-size: 14px; line-height: 1.6; color: var(--v-acier); }
.acc-panneau-capture { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.acc-panneau-capture figcaption, .acc-legende-capture { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12px; line-height: 1.5; color: var(--v-acier); }
.acc-defile-capture { overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; background: var(--v-blanc); border: 1px solid var(--v-trait-fort); border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(11, 19, 37, .35); }
.acc-defile-capture:focus-visible { outline: 2px solid var(--v-signal); outline-offset: 3px; }
.acc-defile-capture img { display: block; width: 100%; height: auto; }
.acc-panneau .acc-defile-capture { height: clamp(420px, 52vw, 680px); }
.acc-defile-pile { max-width: 600px; margin: 0 auto; padding: 14px 16px 24px; display: flex; flex-direction: column; gap: 4px; }
/* Lot 2112 : l'ecran entier dans un cadre d'application, qui defile. */
.acc-panneau-capture .acc-fenetre { flex: 0 0 auto; display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--v-blanc); border: 1px solid var(--v-trait-fort); border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(11, 19, 37, .35); }
.acc-fenetre-barre { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--v-trait); background: #eceae4; }
.acc-fenetre-barre span { width: 10px; height: 10px; border-radius: 50%; background: #d6d3cb; }
.acc-fenetre-barre span:nth-child(1) { background: #ec6a5e; } .acc-fenetre-barre span:nth-child(2) { background: #f4bf4f; } .acc-fenetre-barre span:nth-child(3) { background: #61c554; }
.acc-fenetre-barre p { margin: 0 0 0 10px; font-size: 12px; font-weight: 600; color: var(--v-acier); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-fenetre [data-ecran-entier] { border: 0; border-radius: 0; box-shadow: none; }
.acc-panneau .acc-fenetre [data-ecran-entier] { height: clamp(420px, 46vw, 640px); }
.acc-capture-statut { position: relative; aspect-ratio: 1600 / 1000; overflow: hidden; border-radius: 16px; background: var(--v-encre); box-shadow: 0 18px 40px -18px rgba(11, 19, 37, .35); }
.acc-capture-statut img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; transition: opacity .35s; }
.acc-capture-fenetre { opacity: 0; }
.acc-capture-statut.statut-ouvert .acc-capture-fenetre { opacity: 1; }
.acc-ecran-statut { position: relative; }
.acc-ecran-statut .acc-capture-fenetre { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; opacity: 0; pointer-events: none; transition: opacity .35s; }
.acc-ecran-statut.statut-ouvert .acc-capture-fenetre { opacity: 1; pointer-events: auto; }
.acc-bt-petit { min-height: 36px; padding: 0 14px; border: 1px solid var(--v-encre); border-radius: 2px; background: var(--v-blanc); color: var(--v-encre); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.acc-bt-petit:hover { background: var(--v-encre); color: var(--v-blanc); }
.acc-bt-petit[hidden] { display: none; }

/* Volet 02 : trois focus, un par niveau de decision.
   Lot 282 (« les encarts images doivent demarrer au meme niveau ») : chaque
   focus a quatre rangees (etiquette, titre, texte, encart) partagees entre
   les colonnes par une sous-grille : un titre ou un texte plus long d'une
   colonne decale les trois encarts ensemble. Chaque encart ouvre sur un titre
   d'une ligne : les images partent toutes a la meme hauteur. */
/* Lot 2111, 25 novembre 2026, demande de Cesar : « la meme hauteur entre les
   cartes ». Chaque carte s'etire sur la rangee partagee (sous-grille du lot
   282) ; son image prend la hauteur gagnee, la legende reste en bas. La carte
   du territoire est contenue, sur la couleur de la mer, au lieu d'etre
   recadree. La hauteur commune est celle des deux cartes en largeur ; le
   courriel du lundi, qui defile seul, s'y ajuste (au moins 160 px) au lieu de
   l'imposer : a 1440 px, 441 px pour les trois, contre 624 si tout suivait
   le lundi (la carte du territoire y aurait gagne 230 px de mer). Tests : vitrine/tests/test_cartes_meme_hauteur_lot2111.py. */
.acc-focus-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 22px; row-gap: 10px; align-items: start; }
.acc-focus { min-width: 0; display: grid; grid-row: span 4; grid-template-rows: subgrid; align-items: start; }
.acc-focus .acc-h3 { font-size: 1.22rem; line-height: 1.2; }
.acc-focus-texte { font-size: 13px; line-height: 1.55; color: var(--v-acier); }
.acc-focus-cadre { margin: 4px 0 0; align-self: stretch; display: flex; flex-direction: column; background: var(--v-blanc); border: 1px solid var(--v-trait-fort); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px -18px rgba(11, 19, 37, .3); }
.acc-focus-cadre figcaption { margin-top: auto; padding: 10px 14px; border-top: 1px solid var(--v-trait); font-size: 12.5px; line-height: 1.5; color: var(--v-acier); }
.acc-focus-graph { display: block; width: 100%; height: auto; padding: 10px 8px 4px; }
.acc-focus-courriel { flex: 1 1 0; height: auto; min-height: 160px; border: 0; border-top: 1px solid var(--v-trait); border-radius: 0; box-shadow: none; background: var(--v-blanc); }
.acc-focus-titre { padding: 10px 14px; border-bottom: 1px solid var(--v-trait); font-size: 13px; line-height: 1.5; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Lot 2122, 27 novembre 2026 (« bug sur fond bleu de carte ») : le cadre
   etire laissait deux bandes de mer OSM autour de l'image contenue. Les vues
   sont carrees : la carte en bas (1200 x 829, la hauteur minimale du cadre),
   l'ecran Territoire d'Optime au-dessus. L'image couvre le cadre, calee en
   bas : le cadre ne perd que le haut de l'ecran, jamais la carte ni son
   attribution. Tests : vitrine/tests/test_carte_plateforme_lot2122.py. */
.acc-focus-cartes { flex: 1 1 auto; position: relative; aspect-ratio: 1200 / 829; background: var(--v-blanc); }
.acc-focus-cartes img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; opacity: 0; transition: opacity .5s; }
.acc-focus-cartes img.ici { opacity: 1; }
.acc-focus-delais { flex: 1 1 340px; min-height: 340px; overflow: hidden; }
.acc-focus-delais img { display: block; width: 100%; height: auto; }

/* Volet 03 : les deux rythmes, puis le rapport qui defile. */
.acc-rapports-grille { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 36px; align-items: start; }
.acc-rythmes-colonne { flex-direction: column; }
.acc-rythmes-colonne .acc-rythme { flex: none; }
.acc-volets-rapports { display: flex; flex-direction: column; gap: 10px; }
.acc-rapport-boite { height: 620px; background: var(--v-papier); }
.acc-rapport { display: none; padding: 0 0 12px; }
#offre-rapport-ca:checked ~ .acc-volets .acc-rapport[data-onglet="rapport-ca"],
#offre-rapport-decrochage:checked ~ .acc-volets .acc-rapport[data-onglet="rapport-decrochage"],
#offre-rapport-zones:checked ~ .acc-volets .acc-rapport[data-onglet="rapport-zones"] { display: block; }

/* Volet 04 : la frise des agents et ses ecrans. */
.acc-frise { background: var(--v-encre); color: var(--v-blanc); border-radius: 20px; padding: 28px 32px; display: flex; flex-direction: column; gap: 22px; }
/* Lot 278 (demande de Cesar : « centrer le texte ») : le chapeau et les trois
   etapes sont centres ; le trait relie le centre des pastilles. */
.acc-frise-chapeau { font-size: 15px; line-height: 1.55; color: var(--v-sur-sombre); text-align: center; text-wrap: balance; }
.acc-volets-frise { display: flex; flex-direction: column; gap: 22px; }
.acc-frise-etapes { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.acc-frise-etapes::before { content: ""; position: absolute; left: calc((100% - 48px) / 6); right: calc((100% - 48px) / 6); top: 22px; height: 2px; background: var(--v-encre-2); }
.acc-frise-etapes label { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; cursor: pointer; font-size: 13px; color: var(--v-sur-sombre-2); }
.acc-frise-etapes span { width: 46px; height: 46px; margin-bottom: 10px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 19px; background: var(--v-encre-2); color: var(--v-sur-sombre-2); transition: background-color .3s, color .3s, box-shadow .3s; }
.acc-frise-etapes strong { font-family: var(--font-display); font-size: 19px; color: var(--v-blanc); }
#etape-prepare:checked ~ .acc-volets [data-etape="prepare"] span,
#etape-relire:checked ~ .acc-volets [data-etape="relire"] span,
#etape-valider:checked ~ .acc-volets [data-etape="valider"] span { background: var(--v-signal); color: var(--v-blanc); box-shadow: 0 0 0 6px rgba(211, 84, 0, .25); }
#etape-relire:checked ~ .acc-volets [data-etape="prepare"] span,
#etape-valider:checked ~ .acc-volets [data-etape="prepare"] span,
#etape-valider:checked ~ .acc-volets [data-etape="relire"] span { background: var(--v-blanc); color: var(--v-encre); }
.acc-radio:focus-visible ~ .acc-volets .acc-frise-etapes { outline: 2px solid var(--v-accent-clair); outline-offset: 6px; border-radius: 12px; }
.acc-frise-ecrans { min-width: 0; }
.acc-frise-ecran { margin: 0; }
/* Lot 2119 (maquette animee validee par Cesar le 26 novembre 2026) : la scene
   dessinee qui suit les trois etapes, a la place de la capture. Les trois
   scenes occupent la meme case de grille : la boite a la hauteur de la plus
   haute et ne saute pas quand l'etape change ; seule celle de l'etape cochee
   se voit, et ses animations partent a ce moment-la. Les animations
   remplissent « dans les deux sens » (both) : un element attend invisible son
   tour, puis reste affiche. Rien ne bouge pour qui a demande moins
   d'animations : chaque scene se lit alors dans son etat final. */
.acc-scenes { display: grid; background: var(--v-blanc); color: var(--v-encre); border-radius: 12px; box-shadow: 0 0 0 1px rgba(247, 247, 245, .22); overflow: hidden; }
.acc-scene { grid-area: 1 / 1; visibility: hidden; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-content: start; padding: 24px 28px; --vol-x: -120px; --vol-y: 0px; }
:is(#etape-prepare:checked ~ .acc-volets .acc-scene[data-scene="prepare"], #etape-relire:checked ~ .acc-volets .acc-scene[data-scene="relire"], #etape-valider:checked ~ .acc-volets .acc-scene[data-scene="valider"]) { visibility: visible; }
.acc-sc-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.acc-sc-titre { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--v-acier); }
.acc-sc-titre-signal { color: #a84300; }
.acc-sc-ligne { padding: 11px 14px; border-radius: 10px; background: var(--v-papier); font-size: 14px; line-height: 1.4; }
.acc-sc-ligne small { display: block; font-size: 12.5px; color: var(--v-acier); overflow-wrap: anywhere; }
.acc-sc-ok { color: #1f6b3a; font-weight: 600; }
.acc-sc-societe { background: transparent; border: 1px solid var(--v-trait-fort); }
.acc-sc-societe-ici { background: var(--v-accent-pale); }
.acc-sc-sombre, .acc-sc-sombre-bloc { background: var(--v-encre); color: var(--v-blanc); }
.acc-sc-sombre { display: flex; justify-content: space-between; gap: 12px; }
.acc-sc-sombre-bloc small { color: var(--v-sur-sombre); }
.acc-sc-liste { position: relative; display: flex; flex-direction: column; gap: 8px; }
.acc-sc-balai { position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px; background: var(--v-signal); opacity: .7; }
.acc-sc-note { font-size: 13px; line-height: 1.5; color: var(--v-acier); }
.acc-sc-page { flex: 1 1 auto; border: 1px solid var(--v-trait-fort); border-radius: 10px; overflow: hidden; }
.acc-sc-page-adresse { padding: 8px 12px; background: var(--v-sable); font-size: 12px; color: var(--v-acier); overflow-wrap: anywhere; }
.acc-sc-page-corps { padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.acc-sc-page-corps mark { padding: 2px 4px; border-radius: 3px; background: var(--v-accent-pale); color: inherit; }
.acc-sc-trait { height: 8px; border-radius: 4px; background: var(--v-sable); }
.acc-sc-trait-long { width: 80%; }
.acc-sc-trait-moyen { width: 72%; }
.acc-sc-trait-court { width: 64%; }
.acc-sc-boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.acc-sc-bouton { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 6px; background: var(--v-signal); color: var(--v-blanc); font-weight: 700; font-size: 14px; }
.acc-sc-bouton-neutre { background: transparent; border: 1px solid var(--v-trait-fort); color: var(--v-acier); font-weight: 600; }
.acc-sc-fiche { flex: 1 1 auto; display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px dashed rgba(11, 19, 37, .3); border-radius: 10px; font-size: 14px; }
.acc-sc-d1 { --d: .5s; }
.acc-sc-d2 { --d: 1.3s; }
.acc-sc-d3 { --d: 2.1s; }
.acc-sc-d4 { --d: 2.9s; }
.acc-sc-c1 { --d: .3s; }
.acc-sc-c2 { --d: 1.7s; }
.acc-sc-c3 { --d: 3.1s; }
@media (prefers-reduced-motion: no-preference) {
  :is(#etape-prepare:checked ~ .acc-volets .acc-scene[data-scene="prepare"], #etape-relire:checked ~ .acc-volets .acc-scene[data-scene="relire"], #etape-valider:checked ~ .acc-volets .acc-scene[data-scene="valider"]) .acc-sc-e { animation: acc-sc-entre .5s ease-out var(--d, .4s) both; }
  :is(#etape-prepare:checked ~ .acc-volets .acc-scene[data-scene="prepare"], #etape-relire:checked ~ .acc-volets .acc-scene[data-scene="relire"], #etape-valider:checked ~ .acc-volets .acc-scene[data-scene="valider"]) .acc-sc-cerne { animation: acc-sc-cerne 1.3s ease-in-out var(--d, .3s); }
  :is(#etape-prepare:checked ~ .acc-volets .acc-scene[data-scene="prepare"], #etape-relire:checked ~ .acc-volets .acc-scene[data-scene="relire"], #etape-valider:checked ~ .acc-volets .acc-scene[data-scene="valider"]) .acc-sc-balai { animation: acc-sc-balaie 2.4s ease-in-out infinite alternate; }
  :is(#etape-prepare:checked ~ .acc-volets .acc-scene[data-scene="prepare"], #etape-relire:checked ~ .acc-volets .acc-scene[data-scene="relire"], #etape-valider:checked ~ .acc-volets .acc-scene[data-scene="valider"]) .acc-sc-appui { animation: acc-sc-appuie 1.6s ease-in-out .4s; }
  :is(#etape-prepare:checked ~ .acc-volets .acc-scene[data-scene="prepare"], #etape-relire:checked ~ .acc-volets .acc-scene[data-scene="relire"], #etape-valider:checked ~ .acc-volets .acc-scene[data-scene="valider"]) .acc-sc-vol { animation: acc-sc-vole 1.5s ease-out 1.5s both; }
  :is(#etape-prepare:checked ~ .acc-volets [data-etape="prepare"], #etape-relire:checked ~ .acc-volets [data-etape="relire"], #etape-valider:checked ~ .acc-volets [data-etape="valider"]) .acc-frise-jauge::after { animation: acc-frise-jauge 5s linear forwards; }
}
@keyframes acc-sc-entre { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes acc-sc-cerne { 0%, 100% { box-shadow: 0 0 0 0 rgba(243, 154, 91, 0); } 40%, 70% { box-shadow: 0 0 0 3px var(--v-accent-clair); } }
@keyframes acc-sc-balaie { from { top: 0; } to { top: calc(100% - 3px); } }
/* Le bouton s'enfonce de 2 px et s'assombrit : pas d'echelle, le verrou check_demos_accueil.mjs n'en veut aucune dans cette feuille. */
@keyframes acc-sc-appuie { 0%, 60%, 100% { transform: translateY(0); filter: none; } 75% { transform: translateY(2px); filter: brightness(.86); } }
@keyframes acc-sc-vole { 0% { opacity: 0; transform: translate(var(--vol-x), var(--vol-y)); } 35% { opacity: 1; transform: translate(var(--vol-x), var(--vol-y)); } 100% { opacity: 1; transform: none; } }
/* La jauge d'une etape : elle n'existe que si le script fait avancer la frise
   (.avance), se remplit pendant que l'etape est a l'ecran — la meme duree que
   PAS_DES_ETAPES_MS de volets.js — et s'efface des qu'un clic fige la frise. */
.acc-frise-jauge { display: none; width: 100%; max-width: 180px; height: 3px; margin-top: 8px; border-radius: 2px; background: var(--v-encre-2); overflow: hidden; }
.acc-frise-jauge::after { content: ""; display: block; width: 0; height: 100%; background: var(--v-accent-clair); }
.acc-frise-etapes.avance .acc-frise-jauge { display: block; }
.acc-frise-etapes.fige .acc-frise-jauge { visibility: hidden; }
@keyframes acc-frise-jauge { from { width: 0; } to { width: 100%; } }
.acc-frise-ecran figcaption { margin-top: 10px; font-size: 12.5px; color: var(--v-sur-sombre-2); }
.acc-agents-textes .acc-agent { padding-bottom: 19px; }

@media (max-width: 1100px) {
  .acc-focus-grille { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin: 0 auto; row-gap: 10px; }
  .acc-focus + .acc-focus { margin-top: 12px; }
  .acc-rapports-grille { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .acc-panneau { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .acc-panneau .acc-defile-capture { height: 460px; }
  .acc-frise { padding: 22px 18px; }
  .acc-frise-etapes { gap: 12px; }
  .acc-frise-etapes::before { display: none; }
  .acc-frise-etapes strong { font-size: 15px; }
}
@media (max-width: 640px) {
  .acc-demo-rangee { padding-inline: 16px; }
  .acc-frise-etapes { grid-template-columns: minmax(0, 1fr); }
  .acc-frise-etapes label { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 10px; }
  .acc-frise-etapes span { width: 34px; height: 34px; margin: 0; font-size: 15px; }
  .acc-frise-etapes label { font-size: 12px; }
  .acc-scene { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 16px; --vol-x: 0px; --vol-y: -70px; }
  /* sur portable, la scene 1 va droit au dossier, et la page citee perd ses lignes grises */
  .acc-sc-large, .acc-sc-liste, .acc-sc-trait { display: none; }
  .acc-frise-jauge { max-width: none; margin-top: 2px; }
  .acc-rapport-boite { height: 520px; }
  .acc-focus-courriel { flex: 0 0 300px; height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .acc-pastille-onglet, .acc-capture-statut img, .acc-ecran-statut .acc-capture-fenetre, .acc-focus-cartes img, .acc-frise-etapes span { transition: none; }
  .acc-sc-balai { display: none; }
}
