/* ==========================================================================
   NTICOM Group — feuille de style du site public
   --------------------------------------------------------------------------
   Sommaire
    1. Jetons (couleurs, typographie, espacements, mouvements)
    2. Base
    3. Mise en page et titres
    4. Boutons et liens
    5. En-tête, méga-menu, panneau mobile
    6. Hero (carrousel), titres empilés, flèche de défilement
    7. Rail de navigation des sections
    8. Sections de l'accueil
    9. Pages intérieures
   10. Formulaires
   11. Pied de page
   12. Accessibilité et mouvements réduits
   ========================================================================== */

/* 1. Jetons ---------------------------------------------------------------- */
:root {
  /* Couleurs de marque */
  --ink:          #0B1A28;   /* nuit lagune : fonds sombres, texte principal */
  --ink-2:        #132A3D;   /* surface sombre en relief */
  --ink-3:        #07121D;   /* pied de page */
  --orange:       #E2601A;   /* orange ivoirien : décor, texte sur fond sombre */
  --orange-soft:  #F28A4E;   /* orange clair : liens sur fond sombre */
  --action:       #C24E10;   /* fond des boutons (contraste AA avec le blanc) */
  --action-hover: #A8420C;
  --orange-ink:   #B84A12;   /* texte orange sur fond clair (AA) */
  --lagoon:       #0B7B6B;   /* vert lagune : repères, statuts */
  --lagoon-soft:  #4CC3AD;   /* vert lagune sur fond sombre */

  /* Neutres */
  --white:      #FFFFFF;
  --mist:       #EEF2F5;
  --line:       #DCE3EA;
  --line-strong:#C5D0DB;
  --text:       #0B1A28;
  --text-soft:  #3D4E60;
  --text-mute:  #5E6E7F;
  --on-dark:      #FFFFFF;
  --on-dark-soft: #C4D0DC;
  --on-dark-mute: #93A5B7;

  /* Typographie : Archivo (titres, largeur variable) + Public Sans (texte) */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-hero:  clamp(2.35rem, 1.3rem + 4.3vw, 5.25rem);
  --fs-h1:    clamp(2.05rem, 1.45rem + 2.6vw, 3.75rem);
  --fs-h2:    clamp(1.7rem, 1.25rem + 1.9vw, 2.85rem);
  --fs-h3:    clamp(1.2rem, 1.1rem + 0.45vw, 1.5rem);
  --fs-lead:  clamp(1.075rem, 1rem + 0.35vw, 1.3rem);
  --fs-body:  1.0625rem;
  --fs-small: 0.875rem;

  /* Mise en page */
  --max:       1320px;
  --gutter:    clamp(20px, 4vw, 48px);
  --header-h:  76px;
  --section-y: clamp(72px, 9vw, 128px);
  --radius:    3px;

  /* Mouvements */
  --ease:      cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-io:   cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast:    160ms;
  --t-med:     320ms;
}
@media (max-width: 1080px) { :root { --header-h: 66px; } }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
main:focus { outline: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 400;
  background: var(--ink); color: #fff; padding: 12px 18px; text-decoration: none;
  transition: top var(--t-fast) ease;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* 3. Mise en page et titres ----------------------------------------------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: var(--section-y) 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink p { color: var(--on-dark-soft); }

.section__head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--split {
  max-width: none;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
}
.section__head--split > div { max-width: 760px; }

.eyebrow {
  display: block;
  font-size: 0.9375rem; font-weight: 600;
  color: var(--lagoon);
  margin: 0 0 14px;
}
.section--ink .eyebrow { color: var(--lagoon-soft); }

.h-display {
  font-size: var(--fs-h2);
  font-stretch: 112%;
  line-height: 1.06;
}
.lead { font-size: var(--fs-lead); color: var(--text-soft); max-width: 56ch; margin-top: 20px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.split__aside { position: sticky; top: calc(var(--header-h) + 40px); }
.split__aside .link-arrow { margin-top: 28px; }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split__aside { position: static; }
}

/* 4. Boutons et liens ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; line-height: 1.2;
  padding: 14px 24px;
  border: 1px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.ico-arrow { flex-shrink: 0; transition: transform var(--t-med) var(--ease); }
.btn:hover .ico-arrow, .link-arrow:hover .ico-arrow { transform: translateX(4px); }

.btn--primary, .btn--sand { background: var(--action); color: #fff; }
.btn--primary:hover, .btn--sand:hover { background: var(--action-hover); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mist); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.5); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--lg { padding: 17px 30px; font-size: 1rem; }
.btn--sm { padding: 10px 18px; font-size: 0.875rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--orange-ink); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size var(--t-med) var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }
.section--ink .link-arrow, .mega .link-arrow { color: var(--orange-soft); }

/* 5. En-tête --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: transform var(--t-med) var(--ease), background-color var(--t-med) ease,
              color var(--t-med) ease, border-color var(--t-med) ease;
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(255, 255, 255, 0.88); backdrop-filter: saturate(160%) blur(14px); }
}
/* Accueil : transparent sur le hero, puis solide après défilement */
body.has-stage .site-header {
  position: fixed; left: 0; right: 0;
  background: transparent; backdrop-filter: none;
  color: #fff; border-bottom-color: rgba(255, 255, 255, 0.16);
}
body.has-stage .site-header.is-solid {
  background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(160%) blur(14px);
  color: var(--text); border-bottom-color: var(--line);
}
/* Menu ouvert (méga-menu ou mobile) : l'en-tête passe en sombre, collé au panneau */
.site-header.is-open,
body.has-stage .site-header.is-open {
  background: var(--ink); backdrop-filter: none; color: #fff; border-bottom-color: rgba(255, 255, 255, 0.12);
}
.site-header.is-hidden { transform: translateY(-100%); }

.site-header__bar {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; gap: 40px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand img { height: 40px; width: auto; max-width: 200px; object-fit: contain; }
/* Deux versions du logo : la claire s'affiche sur les fonds sombres (hero, menu ouvert) */
.brand__img--light { display: none; }
body.has-stage .site-header:not(.is-solid) .brand.has-light .brand__img--default,
.site-header.is-open .brand.has-light .brand__img--default { display: none; }
body.has-stage .site-header:not(.is-solid) .brand.has-light .brand__img--light,
.site-header.is-open .brand.has-light .brand__img--light { display: block; }
body.has-stage .site-header.is-open.is-solid .brand.has-light .brand__img--default { display: none; }
.brand__mark { width: 30px; height: 30px; background: currentColor; position: relative; flex-shrink: 0; }
.brand__mark::after {
  content: ""; position: absolute; right: 7px; top: 7px; width: 14px; height: 14px; background: var(--orange);
}
.brand__text {
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
  font-size: 1.15rem; letter-spacing: 0.01em; line-height: 1;
}
.brand__text small {
  display: block; margin-top: 4px;
  font-family: var(--font-body); font-size: 0.625rem; font-weight: 600; letter-spacing: 0.32em; opacity: 0.75;
}

.nav { height: 100%; }
.nav__list { list-style: none; display: flex; height: 100%; }
.nav__item { display: flex; height: 100%; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  height: 100%; padding: 0 14px;
  background: none; border: 0; cursor: pointer;
  font-size: 0.9375rem; font-weight: 500; color: inherit; text-decoration: none;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.nav__link:hover::after, .nav__link.is-current::after, .nav__link[aria-expanded="true"]::after { transform: scaleX(1); }
.ico-chev { transition: transform var(--t-med) var(--ease); }
.nav__link[aria-expanded="true"] .ico-chev { transform: rotate(180deg); }

.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.lang { display: flex; gap: 2px; font-size: 0.8125rem; font-weight: 600; }
.lang a { padding: 6px 7px; text-decoration: none; opacity: 0.6; border-radius: var(--radius); }
.lang a:hover { opacity: 1; }
.lang a.is-active { opacity: 1; box-shadow: inset 0 -2px 0 var(--orange); }

.burger {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; position: relative;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor;
  transition: transform var(--t-med) var(--ease), top var(--t-med) var(--ease);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Méga-menu : panneau sombre pleine largeur, se déroule vers le bas */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ink); color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 60px -30px rgba(3, 10, 18, 0.6);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 420ms var(--ease-io), visibility 0s linear 420ms;
}
.mega.is-open {
  clip-path: inset(0 0 -80px 0);
  visibility: visible;
  transition: clip-path 420ms var(--ease-io), visibility 0s;
}
.mega__inner {
  max-width: var(--max); margin: 0 auto;
  padding: 48px var(--gutter) 56px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); gap: 56px;
}
.mega__inner > * { opacity: 0; transform: translateY(-8px); transition: opacity 260ms ease, transform 420ms var(--ease); }
.mega.is-open .mega__inner > * { opacity: 1; transform: none; }
.mega.is-open .mega__inner > :nth-child(2) { transition-delay: 60ms; }
.mega.is-open .mega__inner > :nth-child(3) { transition-delay: 120ms; }
.mega__title { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 1.75rem; line-height: 1.1; margin-bottom: 14px; }
.mega__intro p:not(.mega__title) { color: var(--on-dark-soft); font-size: 0.9375rem; margin-bottom: 24px; }
.mega__links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-content: start; }
.mega__link {
  display: block; padding: 16px 14px 18px; margin: 0 -14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none; border-radius: var(--radius);
  transition: background-color var(--t-fast) ease;
}
.mega__link:hover { background: rgba(255, 255, 255, 0.06); }
.mega__link-title { display: block; font-weight: 600; font-size: 1rem; transition: color var(--t-fast) ease; }
.mega__link:hover .mega__link-title { color: var(--orange-soft); }
.mega__link-text { display: block; margin-top: 4px; font-size: 0.875rem; line-height: 1.45; color: var(--on-dark-mute); }
.mega__link .status { margin-top: 10px; }
.mega__feature { background: var(--ink-2); padding: 28px; align-self: start; }
.mega__feature-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 10px; }
.mega__feature p:not(.mega__feature-title) { color: var(--on-dark-soft); font-size: 0.9375rem; margin-bottom: 22px; }

.mega-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(4, 12, 20, 0.5);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-med) ease, visibility 0s linear var(--t-med);
}
.mega-backdrop.is-on { opacity: 1; visibility: visible; transition: opacity var(--t-med) ease, visibility 0s; }

/* Panneau mobile */
.drawer {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
  background: var(--ink); color: #fff;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity var(--t-med) ease, transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-med) ease, transform var(--t-med) var(--ease), visibility 0s; }
.drawer__toggle, .drawer__link {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-display); font-stretch: 108%; font-weight: 600; font-size: 1.5rem;
  color: #fff; text-decoration: none; text-align: left; cursor: pointer;
}
.drawer__toggle[aria-expanded="true"] .ico-chev { transform: rotate(180deg); }
.drawer__sub { list-style: none; padding: 8px 0 16px; }
.drawer__sub a { display: block; padding: 10px 0; color: var(--on-dark-soft); text-decoration: none; font-size: 1.0625rem; }
.drawer__sub a:hover { color: #fff; }
.drawer__all { color: var(--orange-soft) !important; font-weight: 600; }
.drawer__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; color: var(--on-dark-soft); }
.drawer__meta a { color: inherit; text-decoration: none; }

body.menu-open .ivory-trigger { opacity: 0; visibility: hidden; }

@media (max-width: 1080px) {
  .nav, .site-header__actions .lang { display: none; }
  .burger { display: block; }
}
@media (max-width: 560px) { .site-header__cta { display: none; } }
@media (min-width: 1081px) { .drawer { display: none; } }

/* 6. Hero (carrousel) ------------------------------------------------------ */
.stage {
  position: relative; isolation: isolate;
  height: 100vh; height: 100svh; min-height: 620px; max-height: 1080px;
  background: var(--ink); color: #fff; overflow: hidden;
}
.stage__frames, .stage__frame, .stage__media { position: absolute; inset: 0; }
.stage__frame {
  opacity: 0; visibility: hidden;
  transition: opacity 1.2s var(--ease-io), visibility 0s linear 1.2s;
}
.stage__frame.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1.2s var(--ease-io), visibility 0s; }

.stage__media { overflow: hidden; }
.stage__media img, .stage__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.stage__frame.is-active .stage__media img { animation: kenburns 14s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.stage__media--canvas canvas { width: 100%; height: 100%; opacity: 0.55; }
.stage__embed { position: absolute; inset: -12%; width: 124%; height: 124%; border: 0; pointer-events: none; }
.stage__embed iframe, .stage__embed > div { width: 100%; height: 100%; }

.stage__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 14, 23, 0.86) 0%, rgba(5, 14, 23, 0.55) 42%, rgba(5, 14, 23, 0.12) 75%, rgba(5, 14, 23, 0.4) 100%),
    linear-gradient(180deg, rgba(5, 14, 23, 0.55) 0%, rgba(5, 14, 23, 0) 26%, rgba(5, 14, 23, 0) 58%, rgba(5, 14, 23, 0.8) 100%);
}
.stage__scrim--soft { background: radial-gradient(120% 90% at 20% 60%, rgba(11, 26, 40, 0.2), rgba(11, 26, 40, 0.85)); }

.stage__content {
  position: absolute; z-index: 2;
  left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  right: calc(var(--gutter) + 380px);
  bottom: clamp(120px, 16vh, 190px);
  max-width: 900px;
}
.stage__kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.9375rem; font-weight: 600; color: rgba(255, 255, 255, 0.88);
  margin-bottom: 22px;
}
.stage__kicker::before { content: ""; width: 32px; height: 2px; background: var(--orange); flex-shrink: 0; }
.stage__title {
  font-size: var(--fs-hero); font-stretch: 118%; font-weight: 700;
  line-height: 1.0; letter-spacing: -0.02em;
  max-width: 15ch;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.25);
}
.stage__lead { font-size: var(--fs-lead); color: #DCE5EE; max-width: 46ch; margin: 26px 0 0; }
.stage__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Entrée orchestrée du texte à chaque changement de diapositive */
.stage__content > * { opacity: 0; transform: translateY(26px); }
.stage__frame.is-active .stage__content > * { animation: rise 900ms var(--ease) forwards; }
.stage__frame.is-active .stage__content > :nth-child(2) { animation-delay: 90ms; }
.stage__frame.is-active .stage__content > :nth-child(3) { animation-delay: 180ms; }
.stage__frame.is-active .stage__content > :nth-child(4) { animation-delay: 270ms; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Titres empilés à droite (façon Tata) */
.stage__tabs {
  position: absolute; z-index: 3;
  right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  bottom: clamp(120px, 16vh, 190px);
  width: 340px;
  display: flex; flex-direction: column;
}
.stage__tab {
  display: block; width: 100%; text-align: left;
  background: none; border: 0; cursor: pointer;
  padding: 0 0 20px; color: #fff;
  opacity: 0.55; transition: opacity var(--t-med) ease;
}
.stage__tab:hover, .stage__tab:focus-visible, .stage__tab.is-active { opacity: 1; }
.stage__tab-bar { display: block; height: 2px; background: rgba(255, 255, 255, 0.28); margin-bottom: 14px; overflow: hidden; }
.stage__tab-fill { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.stage__tab.is-active .stage__tab-fill { animation: fill var(--stage-interval, 7000ms) linear forwards; }
.stage__tab.is-done .stage__tab-fill { transform: scaleX(1); }
.stage.is-paused .stage__tab-fill { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.stage__tab-kicker { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--on-dark-soft); margin-bottom: 4px; }
.stage__tab-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.3;
}
.stage__meta { display: flex; align-items: center; gap: 14px; font-size: 0.875rem; color: var(--on-dark-soft); font-variant-numeric: tabular-nums; }
.stage__toggle {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: none; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; color: #fff; cursor: pointer;
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.stage__toggle:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.stage__toggle .ico-play { display: none; }
.stage.is-paused .stage__toggle .ico-pause { display: none; }
.stage.is-paused .stage__toggle .ico-play { display: block; }

.stage__sound {
  position: absolute; z-index: 4; left: var(--gutter); top: calc(var(--header-h) + 24px);
  width: 44px; height: 44px; display: grid; place-items: center;
  background: rgba(5, 14, 23, 0.55); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; color: #fff; cursor: pointer;
}
.stage__sound .ico-sound { display: none; }
.stage__sound[aria-pressed="true"] .ico-sound { display: inline; }
.stage__sound[aria-pressed="true"] .ico-muted { display: none; }

/* Flèche animée : invite à descendre, disparaît dès qu'on défile */
.scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #fff; text-decoration: none; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em;
  transition: opacity var(--t-med) ease;
}
.scroll-cue svg { animation: bounce 1.9s var(--ease-io) infinite; }
.scroll-cue:hover svg { animation-play-state: paused; }
.scroll-cue.is-gone { opacity: 0; pointer-events: none; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }

@media (max-width: 1080px) {
  .stage__content { right: var(--gutter); bottom: 132px; }
  .stage__tabs {
    left: var(--gutter); right: calc(var(--gutter) + 84px); width: auto; bottom: 34px;
    flex-direction: row; align-items: center; gap: 10px;
  }
  .stage__tab { flex: 1; padding: 14px 0; }
  .stage__tab-bar { margin: 0; }
  .stage__tab-kicker, .stage__tab-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stage__meta { margin-left: 8px; }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  .stage { min-height: 560px; }
  .stage__title { font-stretch: 108%; max-width: none; }
  .stage__lead { margin-top: 18px; }
  .stage__actions { margin-top: 26px; }
  .stage__actions .btn { width: 100%; }
}

/* 7. Rail de navigation des sections --------------------------------------- */
.rail {
  position: fixed; z-index: 80; right: 22px; top: 50%; transform: translate(12px, -50%);
  opacity: 0; visibility: hidden; color: var(--ink);
  transition: opacity var(--t-med) ease, transform var(--t-med) var(--ease), color var(--t-med) ease, visibility 0s linear var(--t-med);
}
.rail.is-visible { opacity: 1; visibility: visible; transform: translate(0, -50%); transition: opacity var(--t-med) ease, transform var(--t-med) var(--ease), color var(--t-med) ease, visibility 0s; }
.rail.is-on-dark { color: #fff; }
.rail ol { list-style: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.rail a { display: flex; align-items: center; gap: 12px; height: 30px; text-decoration: none; color: inherit; }
.rail__label {
  font-size: 0.8125rem; font-weight: 600; white-space: nowrap;
  opacity: 0; transform: translateX(6px);
  transition: opacity var(--t-fast) ease, transform var(--t-med) var(--ease);
}
.rail__tick { width: 14px; height: 2px; background: currentColor; opacity: 0.35; transition: width var(--t-med) var(--ease), opacity var(--t-med) ease, background-color var(--t-med) ease; }
.rail a:hover .rail__label, .rail a:focus-visible .rail__label { opacity: 1; transform: none; }
/* Libellé actif affiché en permanence seulement quand la marge à droite le permet */
@media (min-width: 1600px) { .rail a[aria-current="true"] .rail__label { opacity: 1; transform: none; } }
.rail:hover .rail__label { opacity: 1; transform: none; }
.rail a:hover .rail__tick { opacity: 0.8; }
.rail a[aria-current="true"] .rail__tick { width: 34px; opacity: 1; background: var(--orange); }
@media (max-width: 1279px) { .rail { display: none; } }

/* 8. Sections de l'accueil -------------------------------------------------- */
/* Engagements */
.commit { border-bottom: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0; }
.commit__inner { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 4fr); gap: 40px; }
.commit__title { font-size: 1.25rem; font-stretch: 108%; line-height: 1.25; max-width: 14ch; }
.commit__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.commit__item { border-top: 2px solid var(--ink); padding-top: 18px; }
.commit__item-title { font-weight: 700; font-size: 1rem; line-height: 1.35; margin-bottom: 8px; }
.commit__item p:not(.commit__item-title) { font-size: 0.9375rem; color: var(--text-soft); }
@media (max-width: 1080px) {
  .commit__inner { grid-template-columns: 1fr; }
  .commit__title { max-width: none; }
  .commit__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .commit__list { grid-template-columns: 1fr; gap: 24px; } }

/* Liste des services */
.service-list { list-style: none; border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title go" "text go";
  column-gap: 32px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.service-row__title {
  grid-area: title;
  font-family: var(--font-display); font-stretch: 108%; font-weight: 600;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.2;
  transition: transform var(--t-med) var(--ease), color var(--t-fast) ease;
}
.service-row__text { grid-area: text; margin-top: 8px; color: var(--text-soft); max-width: 58ch; }
.service-row__go {
  grid-area: go; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--ink);
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease, color var(--t-fast) ease;
}
.service-row:hover .service-row__title { transform: translateX(6px); color: var(--orange-ink); }
.service-row:hover .service-row__go { background: var(--action); border-color: var(--action); color: #fff; }
.service-row:hover .ico-arrow { transform: translateX(3px); }
.service-list--full .service-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; grid-template-areas: "title text go"; padding: 40px 0; }
.service-list--full .service-row__text { margin-top: 0; }
@media (max-width: 860px) {
  .service-list--full .service-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title go" "text go"; }
  .service-list--full .service-row__text { margin-top: 8px; }
}
@media (max-width: 560px) { .service-row__go { width: 42px; height: 42px; } .service-row { column-gap: 16px; } }

/* Méthode */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps__item { border-top: 2px solid var(--ink); padding-top: 22px; }
.steps__num {
  display: block; margin-bottom: 28px;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 600; font-size: 2.5rem; line-height: 1;
  color: var(--orange-ink); font-variant-numeric: tabular-nums;
}
.steps__item h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.steps__item p { color: var(--text-soft); font-size: 0.9875rem; }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; row-gap: 36px; } }

/* Initiatives */
.venture {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--white); border: 1px solid var(--line); margin-bottom: 32px;
}
.venture:last-child { margin-bottom: 0; }
.venture:nth-of-type(even) .venture__media { order: 2; }
.venture__media { position: relative; display: block; min-height: 340px; background: var(--ink); overflow: hidden; }
.venture__media img, .venture__media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.venture__media img { transition: transform 900ms var(--ease); }
.venture:hover .venture__media img { transform: scale(1.03); }
.venture__body { padding: clamp(28px, 4vw, 56px); align-self: center; }
.venture__name { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-stretch: 110%; margin: 18px 0 6px; }
.venture__name a { text-decoration: none; }
.venture__name a:hover { color: var(--orange-ink); }
.venture__sector { font-size: 0.9375rem; font-weight: 600; color: var(--lagoon); margin-bottom: 18px; }
.venture__body > p:not(.venture__sector) { color: var(--text-soft); }
.venture__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; }
@media (max-width: 860px) {
  .venture { grid-template-columns: 1fr; }
  .venture:nth-of-type(even) .venture__media { order: 0; }
  .venture__media { min-height: 220px; aspect-ratio: 16 / 9; }
}

/* Statut d'une initiative */
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; font-weight: 600; line-height: 1;
  padding: 7px 12px; border-radius: 999px; background: var(--mist); color: var(--text-soft);
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--text-mute); }
.status--live::before { background: var(--lagoon); }
.status--beta::before { background: var(--orange); }
.status--development::before { background: #C9A227; }
.mega .status, .status--on-dark { background: rgba(255, 255, 255, 0.08); color: var(--on-dark-soft); }
.mega .status--live::before, .status--on-dark.status--live::before { background: var(--lagoon-soft); }

/* Trajectoire */
.track { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.track__item { border-top: 3px solid rgba(255, 255, 255, 0.16); padding-top: 26px; }
.track__item--now { border-top-color: var(--orange); }
.track__when { display: block; font-size: 0.875rem; font-weight: 600; color: var(--on-dark-mute); margin-bottom: 12px; }
.track__item--now .track__when { color: var(--orange-soft); }
.track__item h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
@media (max-width: 860px) { .track { grid-template-columns: 1fr; gap: 32px; } }

/* Cartes (réalisations) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card__img { margin: -28px -28px 12px; width: calc(100% + 56px); max-width: none; aspect-ratio: 16 / 9; object-fit: cover; }
.card__meta { font-size: 0.875rem; font-weight: 600; color: var(--lagoon); margin: 0; }
.card h3 { font-size: var(--fs-h3); }
.card p:not(.card__meta):not(.card__result) { color: var(--text-soft); flex: 1; }
.card--link { position: relative; transition: border-color var(--t-fast) ease; }
.card--link:hover { border-color: var(--ink); }
.card__link { text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; }   /* toute la carte est cliquable */
.card--link:hover .card__link { color: var(--orange-ink); }
.card--link:hover .ico-arrow { transform: translateX(4px); }
.card__result { font-weight: 700; color: var(--text); margin: 0; }

/* Fiche d'une réalisation */
.facts { margin: 0 0 8px; }
.facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.8125rem; font-weight: 600; color: var(--text-mute); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.facts__result { color: var(--orange-ink); }

/* Appel à l'action */
.cta-band { background: var(--action); color: #fff; padding: clamp(64px, 8vw, 112px) 0; }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px 72px; align-items: end; }
.cta-band__title { font-size: var(--fs-h1); font-stretch: 115%; line-height: 1.02; max-width: 16ch; }
.cta-band__side p { color: rgba(255, 255, 255, 0.92); margin-bottom: 26px; max-width: 44ch; }
.cta-band__side p.cta-band__direct { margin: 22px 0 0; font-size: 0.9375rem; }
.cta-band__direct a { color: #fff; font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } }

.empty { padding: 30px 0; color: var(--text-soft); }
.empty-state { max-width: 62ch; }
.empty-state p { font-size: var(--fs-lead); color: var(--text-soft); margin-bottom: 28px; }

/* 9. Pages intérieures ---------------------------------------------------- */
.page-head { background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.page-head__title { font-size: var(--fs-h1); font-stretch: 115%; line-height: 1.04; max-width: 20ch; margin-top: clamp(28px, 4vw, 48px); }
.page-head__lead { font-size: var(--fs-lead); color: var(--on-dark-soft); max-width: 58ch; margin-top: 22px; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 0.875rem; }
.crumbs li { display: flex; gap: 10px; color: var(--on-dark-mute); }
.crumbs li + li::before { content: "/"; opacity: 0.5; }
.crumbs a { color: var(--on-dark-soft); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: #fff; }
.crumbs--bar { border-bottom: 1px solid var(--line); padding: 16px 0; }
.crumbs--bar li { color: var(--text-mute); }
.crumbs--bar a { color: var(--text-soft); }
.crumbs--bar a:hover, .crumbs--bar [aria-current] { color: var(--text); }

.service-hero { background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.service-hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.service-hero .crumbs { margin-bottom: clamp(28px, 4vw, 48px); }
.service-hero__kicker { font-size: 0.9375rem; font-weight: 600; color: var(--orange-soft); margin-bottom: 14px; }
.service-hero h1 { font-size: var(--fs-h1); font-stretch: 115%; line-height: 1.04; margin: 14px 0 20px; }
.service-hero__lead { font-size: var(--fs-lead); color: var(--on-dark-soft); max-width: 52ch; margin-bottom: 32px; }
.service-anim { position: relative; aspect-ratio: 4 / 3; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); overflow: hidden; }
.service-anim canvas, .service-anim img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .service-hero__inner { grid-template-columns: 1fr; }
  .service-anim { aspect-ratio: 16 / 9; }
}

.layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.sidenav { position: sticky; top: calc(var(--header-h) + 32px); border-top: 2px solid var(--ink); padding-top: 20px; }
.sidenav__title { font-size: 1rem; margin-bottom: 8px; }
.sidenav ul { list-style: none; }
.sidenav li a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--text-soft); text-decoration: none; }
.sidenav li a:hover { color: var(--orange-ink); }
.sidenav .btn--block { margin-top: 26px; }
.contact-list li { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--text-soft); }
.contact-list li a { padding: 0; border: 0; color: var(--text); font-weight: 600; }
.person__name { font-weight: 700; font-size: 1.0625rem; margin: 10px 0 2px; }
.person__role { font-size: 0.875rem; font-weight: 600; color: var(--lagoon); margin-bottom: 12px; }
.person__text { color: var(--text-soft); font-size: 0.9375rem; }
@media (max-width: 960px) {
  .layout-2col { grid-template-columns: 1fr; }
  .sidenav { position: static; }
}

.prose { max-width: 70ch; color: var(--text-soft); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); font-stretch: 108%; color: var(--text); margin: 52px 0 16px; }
.prose h3 { font-size: var(--fs-h3); color: var(--text); margin: 36px 0 12px; }
.prose p, .prose li { font-size: 1.0625rem; line-height: 1.7; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--orange); }
.prose a { color: var(--orange-ink); text-underline-offset: 3px; }

.alert { padding: 16px 20px; border-left: 3px solid var(--lagoon); background: #E8F5F2; color: #0A5F52; margin-bottom: 28px; }

/* 10. Formulaires ------------------------------------------------------------ */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .choice legend { font-size: 0.9375rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.field input:hover, .field textarea:hover { border-color: var(--text-mute); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(194, 78, 16, 0.25); }
.field [aria-invalid="true"] { border-color: #B42318; }
.field textarea { min-height: 180px; resize: vertical; }
.field .error { color: #B42318; font-size: 0.875rem; }
.field__hint { font-weight: 400; color: var(--text-mute); }
.field select {
  appearance: none; -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B1A28' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center;
  padding-right: 44px; cursor: pointer;
}
.choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice__items { display: flex; flex-wrap: wrap; gap: 10px; }
.choice legend { margin-bottom: 10px; padding: 0; }
.choice__item { position: relative; cursor: pointer; }
.choice__item input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice__item span {
  display: inline-block; padding: 11px 18px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.choice__item:hover span { border-color: var(--ink); }
.choice__item input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice__item input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.form-note { font-size: 0.875rem; color: var(--text-mute); margin: 0; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* 11. Pied de page ----------------------------------------------------------- */
.footer { background: var(--ink-3); color: var(--on-dark-mute); padding: clamp(64px, 7vw, 96px) 0 32px; font-size: 0.9375rem; }
.footer a { color: var(--on-dark-soft); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__top {
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px 48px;
  padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .brand--light, .footer .brand--light:hover { color: #fff; }
.footer__statement { font-family: var(--font-display); font-stretch: 110%; font-weight: 600; font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.9rem); line-height: 1.2; color: #fff; max-width: 24ch; margin: 0; }
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.footer__heading { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 700; color: #fff; letter-spacing: 0; margin-bottom: 18px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 12px; }
.footer__address { color: var(--on-dark-mute); }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; }
.footer__bottom {
  margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 32px; font-size: 0.875rem;
}
.footer__bottom p { margin: 0; }
.counter strong { color: #fff; font-variant-numeric: tabular-nums; }
.lang--footer a { opacity: 0.7; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* Pages de connexion à l'administration ------------------------------------ */
body.auth { background: var(--white); }
.auth__shell { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.auth__aside {
  background: var(--ink); color: #fff; padding: clamp(32px, 5vw, 64px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.auth__statement { font-family: var(--font-display); font-stretch: 115%; font-weight: 700; font-size: var(--fs-h1); line-height: 1.04; max-width: 12ch; margin: auto 0 0; }
.auth__note { color: var(--on-dark-soft); max-width: 40ch; margin: 0; }
.auth__panel { display: grid; place-items: center; padding: clamp(32px, 5vw, 64px) var(--gutter); }
.auth__box { width: 100%; max-width: 420px; }
.auth__logo { display: inline-block; margin-bottom: 40px; text-decoration: none; color: var(--ink); }
.auth__logo img { height: 44px; width: auto; max-width: 220px; }
.auth__title { font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); font-stretch: 110%; margin-bottom: 10px; }
.auth__lead { color: var(--text-soft); margin-bottom: 28px; }
.auth__form { display: flex; flex-direction: column; gap: 20px; }
.auth__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.auth__small { font-size: 0.875rem; color: var(--orange-ink); font-weight: 600; text-decoration: none; }
.auth__small:hover { text-decoration: underline; }
.auth__check { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; color: var(--text-soft); cursor: pointer; }
.auth__check input { width: 18px; height: 18px; accent-color: var(--ink); }
.auth__help { margin-top: 28px; font-size: 0.875rem; color: var(--text-mute); }
.auth__help code { background: var(--mist); padding: 2px 6px; border-radius: 3px; font-size: 0.8125rem; color: var(--text); }
.auth__back { margin-top: 36px; font-size: 0.875rem; }
.auth__back a { color: var(--text-soft); text-decoration: none; }
.auth__back a:hover { color: var(--text); }
@media (max-width: 860px) {
  .auth__shell { grid-template-columns: 1fr; }
  .auth__aside { display: none; }
}

/* 12. Accessibilité et mouvements réduits ------------------------------------ */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  .stage__content > * { opacity: 1; transform: none; }
  .stage__frame.is-active .stage__media img { animation: none; transform: scale(1.02); }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print {
  .site-header, .rail, .scroll-cue, .stage__tabs, .footer, .ivory-trigger { display: none !important; }
}
