/* ═══════════════════════════════════════════════════════════════════════
   Pages publiques : connexion (cx-*) et accueil (ac-*).
   Hors de l'application (pas de menu) ; s'appuient sur les jetons de
   style.css (couleurs, polices, boutons, champs, notices).
   ═══════════════════════════════════════════════════════════════════════ */

.mono { font-family: var(--font-mono); }

/* ═══ Connexion ═════════════════════════════════════════════════════════ */
body.cx { background: var(--ink); }
.cx-page { display: flex; flex-wrap: wrap; min-height: 100vh; }

.cx-aside {
  position: relative; flex: 1 1 560px; min-height: 620px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 40px 48px; background: var(--ink); color: var(--text-on-ink);
}
.cx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cx-voile {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 30, 51, .96) 0%, rgba(15, 30, 51, .7) 38%, rgba(15, 30, 51, 0) 58%,
                                      rgba(15, 30, 51, .88) 78%, rgba(15, 30, 51, .96) 100%);
}
.cx-intro, .cx-bas { position: relative; }
.cx-intro { max-width: 520px; }
.cx-logo { display: inline-block; margin-left: -14px; }
.cx-logo img { height: 56px; display: block; }
.cx-intro h1 { margin-top: 28px; font-size: 30px; font-weight: 600; line-height: 1.2; letter-spacing: -.015em; color: #fff; text-wrap: balance; }
.cx-intro p { margin-top: 12px; font-size: var(--fs-md); color: #c3cddb; max-width: 56ch; text-wrap: pretty; }

.cx-domaines { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 28px; max-width: 640px; }
.cx-domaines li { padding-top: 10px; border-top: 1px solid rgba(201, 151, 28, .35); }
.cx-domaines b { display: block; font-size: 13px; font-weight: 600; color: #fff; }
.cx-domaines span { font-size: var(--fs-sm); color: #aab6c7; }
.cx-legende { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 28px; font-size: var(--fs-xs); color: #7f8ea5; }

.cx-main { flex: 1 1 440px; display: flex; flex-direction: column; padding: 28px 40px; background: var(--surface); }
.cx-langues { display: flex; justify-content: flex-end; gap: 4px; }
.cx-langues a {
  display: inline-flex; align-items: center; height: 30px; padding: 0 10px;
  border: 1px solid transparent; border-radius: var(--r);
  font-size: 12px; font-weight: 600; color: var(--text-2);
}
.cx-langues a:hover { color: var(--text); background: var(--surface-sunken); text-decoration: none; }
.cx-langues a.actif { color: var(--text); background: var(--surface-sunken); border-color: var(--line); }

.cx-centre { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 0; }
.cx-form { width: 100%; max-width: 360px; }
.cx-form h2 { font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.01em; }
.cx-sub { margin-top: 6px; color: var(--text-2); text-wrap: pretty; }
.cx-form .notice { margin: 20px 0 0; }
.cx-form label { margin: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.cx-form > label { margin-top: 24px; }
.cx-form input[type="text"], .cx-form input[type="password"] { margin-top: 6px; height: 40px; padding: 0 12px; font-size: 14px; }
.cx-label-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.cx-label-ligne span { font-size: 12px; color: var(--text-3); }
.cx-mdp { position: relative; }
.cx-mdp input { padding-right: 44px !important; }
.cx-oeil {
  position: absolute; right: 4px; bottom: 4px; width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: var(--r-sm); background: none; color: var(--text-3); cursor: pointer;
}
.cx-oeil:hover { background: var(--surface-sunken); color: var(--text); }
.cx-oeil .cx-oeil-masquer, .cx-oeil[aria-pressed="true"] .cx-oeil-voir { display: none; }
.cx-oeil[aria-pressed="true"] .cx-oeil-masquer { display: inline-flex; }
.cx-oeil-voir { display: inline-flex; }
.cx-envoyer.btn { width: 100%; height: 42px; margin-top: 24px; font-size: 14px; }
.cx-note { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--text-3); text-wrap: pretty; }
.cx-pied { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: var(--fs-xs); color: var(--text-3); }
.cx-pied span { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 1000px) {
  .cx-aside { flex-basis: 100%; min-height: 0; padding: 28px 24px; gap: 24px; }
  .cx-intro h1 { font-size: 24px; margin-top: 16px; }
  .cx-logo img { height: 44px; }
  .cx-domaines, .cx-legende span:first-child { display: none; }
  .cx-legende { margin-top: 0; }
  .cx-main { padding: 20px 16px 24px; }
  .cx-centre { padding: 24px 0 32px; }
}

/* ═══ Accueil ═══════════════════════════════════════════════════════════ */
html:has(body.ac) { scroll-behavior: smooth; scroll-padding-top: 68px; }
body.ac { background: var(--ink); color: var(--text); font-size: var(--fs-md); line-height: 1.55; }
.ac a:hover { text-decoration: none; }
.ac-conteneur { width: 100%; max-width: 1280px; margin: 0 auto; }
.ac-kicker { font-family: var(--font-mono); font-size: var(--fs-sm); letter-spacing: .06em; color: var(--accent); }
.ac-sombre .ac-kicker { color: var(--brand-gold); }
.ac-or { color: #e6b422; }
.ac-titre { margin-top: 12px; font-size: clamp(28px, 3vw, 42px); font-weight: 600; letter-spacing: -.025em; line-height: 1.12; max-width: 24ch; text-wrap: balance; }
.ac-intro { margin-top: 12px; color: var(--text-2); max-width: 62ch; text-wrap: pretty; }

/* Boutons */
.ac-btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  height: 48px; padding: 0 24px; border-radius: var(--r); border: 1px solid transparent;
  font-size: var(--fs-md); font-weight: 600; transition: background .2s, color .2s;
}
.ac-btn-or { background: var(--brand-gold); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(201, 151, 28, .6); }
.ac-btn-or:hover { background: #e6b422; color: var(--ink); }
.ac-btn-verre { border-color: rgba(231, 236, 243, .28); background: rgba(15, 30, 51, .35); color: #fff; font-weight: 500; backdrop-filter: blur(6px); }
.ac-btn-verre:hover, .ac-btn-ligne-clair:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.ac-btn-ligne-clair { border-color: rgba(231, 236, 243, .28); color: #fff; font-weight: 500; }
.ac-btn-ligne { height: 38px; padding: 0 16px; font-size: 14px; border-color: rgba(201, 151, 28, .6); color: #e6b422; }
.ac-btn-ligne:hover { background: rgba(201, 151, 28, .12); color: #f0c64a; }
.ac-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Navigation */
.ac-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 68px;
  display: flex; align-items: center; gap: 24px; padding: 0 40px;
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s;
}
.ac-nav.defile { background: rgba(15, 30, 51, .95); border-bottom-color: rgba(255, 255, 255, .08); backdrop-filter: blur(12px); }
.ac-nav-logo { display: flex; margin-left: -12px; }
.ac-nav-logo img { height: 46px; }
.ac-nav-liens { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.ac-nav-liens a, .ac-nav-langue { padding: 6px 12px; border-radius: var(--r); color: #c3cddb; font-size: 14px; font-weight: 500; }
.ac-nav-liens a:hover, .ac-nav-langue:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.ac-nav-langue { font-size: 12.5px; font-weight: 600; }

/* Ouverture */
.ac-sombre { position: relative; background: var(--ink); color: var(--text-on-ink); }
.ac-hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 110px 40px 120px; overflow: hidden; }
.ac-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ac-hero-voile {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 30, 51, .92) 0%, rgba(15, 30, 51, .55) 45%, rgba(15, 30, 51, 0) 70%),
              linear-gradient(180deg, rgba(15, 30, 51, 0) 70%, rgba(15, 30, 51, 1) 100%);
}
.ac-hero .ac-conteneur { position: relative; }
.ac-hero-texte { max-width: 600px; }
.ac-hero h1 { margin-top: 20px; font-size: clamp(36px, 4.6vw, 62px); font-weight: 600; line-height: 1.05; letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.ac-hero p { margin-top: 22px; font-size: 17px; color: #c3cddb; max-width: 50ch; text-wrap: pretty; }
.ac-hero .ac-actions { margin-top: 34px; }
.ac-hero-legende { position: absolute; right: 40px; bottom: 24px; font-size: var(--fs-xs); color: #7f8ea5; }
.js .ac-entree { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .ac-entree:nth-child(2) { transition-delay: .12s; } .js .ac-entree:nth-child(3) { transition-delay: .24s; } .js .ac-entree:nth-child(4) { transition-delay: .36s; }
.js body.pret .ac-entree { opacity: 1; transform: none; }

/* Méthode */
.ac-methode { position: relative; padding: 40px 40px 80px; }
.ac-methode-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.ac-etapes { order: 1; padding: 20vh 0 25vh; }
.ac-methode-figure { order: 2; position: sticky; top: 92px; height: calc(100vh - 140px); min-height: 420px; }
.ac-methode-canvas { width: 100%; height: 100%; display: block; }
.ac-methode-legende { position: absolute; right: 0; bottom: -22px; font-size: var(--fs-xs); color: #7f8ea5; }
.ac-etape {
  min-height: 52vh; display: flex; flex-direction: column; justify-content: center;
  padding: 14px 0 14px 20px; border-left: 2px solid rgba(255, 255, 255, .12);
  opacity: .4; cursor: pointer; transition: opacity .45s, border-color .45s;
}
.ac-etape.actif { opacity: 1; border-left-color: var(--brand-gold); }
.ac-etape-titre { display: flex; align-items: baseline; gap: 12px; }
.ac-etape-titre .mono { font-size: var(--fs-sm); color: var(--brand-gold); }
.ac-etape h2 { font-size: 22px; font-weight: 600; letter-spacing: -.015em; color: #fff; }
.ac-etape p { margin-top: 8px; color: #c3cddb; max-width: 46ch; text-wrap: pretty; }
.ac-etapes > .ac-kicker { margin-bottom: 8px; }

.ac-choc {
  position: absolute; right: 0; top: 0; width: min(300px, 100%); padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px;
  background: rgba(15, 30, 51, .8); backdrop-filter: blur(10px); color: var(--text-on-ink);
  opacity: 0; pointer-events: none; font-size: 12px;
}
.ac-choc-ligne { display: flex; justify-content: space-between; gap: 12px; color: #aab6c7; }
.ac-choc-label { margin-top: 10px; color: #aab6c7; }
.ac-choc-valeur { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; color: #aab6c7; font-size: 13px; }
.ac-choc-valeur span:first-child { font-size: 34px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff; }
.ac-choc-jauge { position: relative; margin-top: 12px; height: 6px; background: rgba(255, 255, 255, .08); border-radius: 3px; }
.ac-choc-barre { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #e6b422; border-radius: 3px; }
.ac-choc-seuil { position: absolute; top: -4px; bottom: -4px; left: 50%; width: 2px; background: #fff; }
.ac-choc-pied { margin-top: 6px; font-size: var(--fs-xs); }
.ac-choc-pied span:last-child { margin-right: -2px; }
.ac-choc-legende { display: flex; gap: 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: var(--fs-xs); color: #aab6c7; }
.ac-choc-legende span { display: inline-flex; align-items: center; gap: 6px; }
.ac-trait-base, .ac-trait-choc { display: inline-block; width: 14px; height: 2px; background: #7f8ea5; }
.ac-trait-choc { height: 3px; background: #e6b422; }
.ac-choc-mention { margin-top: 10px; font-size: 11px; color: #7f8ea5; }

/* Sections claires */
.ac-section { position: relative; padding: 120px 40px; }
.ac-papier { background: var(--paper); }
.ac-blanc { background: var(--surface); border-top: 1px solid var(--line); }
.ac-bordure { border-top: 1px solid var(--line); }
.ac-section-suite { padding-top: 0; }
.js .ac-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .ac-reveal.vu { opacity: 1; transform: none; }

.ac-cartes { margin-top: 52px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.ac-carte { padding: 28px 28px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; transition: opacity .8s, transform .8s, box-shadow .25s, border-color .25s; }
.ac-carte:hover { border-color: var(--accent-line); box-shadow: 0 18px 40px -18px rgba(15, 30, 51, .25); }
.ac-carte-ico { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); }
.ac-carte h3 { margin-top: 20px; font-size: var(--fs-lg); font-weight: 600; }
.ac-carte p { margin-top: 6px; color: var(--text-2); text-wrap: pretty; }
.ac-etiquettes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.ac-etiquettes span { font-size: var(--fs-xs); padding: 2px 8px; border-radius: var(--r-sm); background: var(--surface-sunken); color: var(--text-2); }

/* Aperçu de l'application (schéma, sans données) */
.ac-apercu { margin-top: 28px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: 0 40px 80px -30px rgba(15, 30, 51, .45); }
.ac-apercu-barre { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--surface-sunken); border-bottom: 1px solid var(--line); }
.ac-apercu-barre i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.ac-apercu-barre span { margin-left: 14px; font-size: var(--fs-xs); color: var(--text-3); }
.ac-apercu-corps { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 440px; }
.ac-apercu-menu { display: flex; flex-direction: column; gap: 2px; padding: 14px 12px; background: var(--ink); font-size: 12px; color: var(--text-on-ink-2); }
.ac-apercu-menu img { height: 32px; align-self: flex-start; margin: 0 0 10px -6px; }
.ac-apercu-menu b { margin: 10px 0 2px 8px; font-size: 11px; font-weight: 600; color: #6f7f97; }
.ac-apercu-menu span { padding: 5px 8px; border-radius: var(--r-sm); }
.ac-apercu-menu span.actif { background: var(--ink-2); color: #fff; box-shadow: inset 2px 0 0 var(--brand-gold); }
.ac-apercu-page { padding: 22px 24px; background: var(--paper); min-width: 0; }
.ac-apercu-entete { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.ac-apercu-kicker { font-size: 12px; color: var(--text-3); }
.ac-apercu-h1 { margin: 2px 0 8px; font-size: 19px; font-weight: 600; }
.ac-apercu-boutons { display: flex; gap: 6px; }
.ac-apercu-boutons span { padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); font-size: 11.5px; }
.ac-apercu-kpis { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); }
.ac-apercu-kpi { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-left: 1px solid var(--line-soft); font-size: 11.5px; color: var(--text-3); }
.ac-apercu-kpi:first-child { border-left: 0; }
.ac-apercu-jauge { position: relative; height: 5px; border-radius: 3px; background: var(--surface-sunken); }
.ac-apercu-jauge i { position: absolute; left: 0; top: 0; bottom: 0; width: 64%; border-radius: 3px; background: var(--ok-line); }
.ac-apercu-jauge b { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; background: var(--text-3); }
.ac-apercu-panneaux { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ac-apercu-panneau { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); padding-bottom: 6px; }
.ac-apercu-panneau-titre { padding: 10px 14px; border-bottom: 1px solid var(--line-soft); font-size: 12.5px; font-weight: 600; }
.ac-apercu-ligne { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line-soft); }
.ac-apercu-ligne:last-child { border-bottom: 0; }
.ac-sq { display: block; height: 8px; width: 42%; border-radius: 4px; background: var(--line-soft); }
.ac-sq-n { width: 16%; }
.ac-sq-m { height: 14px; width: 54%; background: var(--line); }
.ac-sq-l { height: 8px; width: 320px; max-width: 100%; }
.ac-apercu figcaption, .ac-apercu > figcaption { padding: 8px 14px; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--text-3); background: var(--surface); }

/* Juridictions */
.ac-deux { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; }
.ac-juris { display: grid; gap: 16px; }
.ac-juri { padding: 24px 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-hover); }
.ac-juri-tete { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ac-juri-tete h3 { font-size: 20px; font-weight: 600; }
.ac-juri-tete span { font-size: 12px; color: var(--text-3); }
.ac-juri ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.ac-juri li { display: flex; gap: 10px; }
.ac-juri li .ico { flex: 0 0 16px; margin-top: 4px; color: var(--ok); }

/* Exploitation */
.ac-points { margin-top: 52px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px 40px; }
.ac-point { padding-top: 18px; border-top: 2px solid var(--text); }
.ac-point h3 { font-size: 16px; font-weight: 600; }
.ac-point p { margin-top: 8px; color: var(--text-2); text-wrap: pretty; }

/* Pied */
.ac-pied { position: relative; overflow: hidden; padding: 104px 40px 40px; background: var(--ink); color: var(--text-on-ink); }
.ac-pied-halo { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 50% 80% at 85% 100%, rgba(201, 151, 28, .18), rgba(15, 30, 51, 0) 70%); }
.ac-pied .ac-conteneur { position: relative; }
.ac-pied-appel { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.ac-pied h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 600; letter-spacing: -.025em; line-height: 1.12; color: #fff; max-width: 22ch; text-wrap: balance; }
.ac-pied p { margin-top: 12px; color: #c3cddb; max-width: 56ch; }
.ac-pied-bas { margin-top: 80px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #7f8ea5; }

@media (max-width: 960px) {
  .ac-nav { padding: 0 16px; gap: 8px; }
  .ac-nav-liens { display: none; }
  .ac-nav-langue { margin-left: auto; }
  .ac-hero, .ac-methode, .ac-section, .ac-pied { padding-left: 16px; padding-right: 16px; }
  .ac-hero { min-height: 92vh; padding-top: 100px; padding-bottom: 80px; }
  .ac-hero-voile { background: linear-gradient(180deg, rgba(15, 30, 51, .9) 0%, rgba(15, 30, 51, .6) 60%, rgba(15, 30, 51, 1) 100%); }
  .ac-hero-legende { right: 16px; }
  .ac-hero-canvas { top: auto; bottom: 0; height: 55%; }
  .ac-methode-grille { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ac-methode-figure { order: 0; top: 68px; z-index: 2; height: 58vh; min-height: 380px; display: flex; flex-direction: column; gap: 6px; padding-bottom: 10px; background: var(--ink); }
  .ac-methode-canvas { flex: 1; min-height: 0; }
  .ac-methode-legende { position: static; font-size: 11px; }
  .ac-choc { position: static; width: auto; padding: 8px 12px; font-size: 11px; }
  .ac-choc-valeur { margin-top: 0; }
  .ac-choc-valeur span:first-child { font-size: 20px; }
  .ac-choc-jauge { margin-top: 6px; }
  .ac-choc-legende, .ac-choc-label, .ac-choc-pied { display: none; }
  .ac-choc-mention { margin-top: 4px; font-size: 10.5px; }
  .ac-etapes { padding: 2vh 0 30vh; }
  .ac-etape { min-height: 34vh; justify-content: flex-start; }
  .ac-section { padding-top: 72px; padding-bottom: 72px; }
  .ac-section-suite { padding-top: 0; }
  .ac-apercu-corps { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ac-apercu-menu { display: none; }
  .ac-apercu-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-apercu-kpi:nth-child(3) { border-left: 0; }
  .ac-apercu-kpi:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .ac-apercu-panneaux { grid-template-columns: minmax(0, 1fr); }
  .ac-apercu-panneau + .ac-apercu-panneau { display: none; }
  .ac-pied { padding-top: 72px; }
  .ac-pied-bas { margin-top: 48px; }
}
@media (max-width: 480px) {
  .ac-btn-ligne { padding: 0 12px; }
  .ac-nav-logo img { height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.ac) { scroll-behavior: auto; }
  .js .ac-entree, .js .ac-reveal { opacity: 1; transform: none; transition: none; }
  .ac-etape { transition: none; }
}

/* ═══ Page autonome (erreur hors session) ═══════════════════════════════ */
body.cx-autonome { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: var(--ink); }
.cx-autonome-carte { width: 100%; max-width: 560px; padding: 28px 32px 32px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-pop); }
.cx-autonome-logo { display: inline-block; margin: -8px 0 16px -10px; padding: 4px 10px; border-radius: var(--r); background: var(--ink); }
.cx-autonome-logo img { height: 36px; display: block; }
.cx-autonome .page-header { margin-bottom: 16px; }
