/* ==========================================================================
   HALWAR LOGISTIQUE — Feuille de style principale
   Système de design dérivé de la charte de marque (brand/README.md)
   Bleu Nuit #0A192F · Rouge Énergie #E63946 · Gris Métal #8D99AE
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. JETONS DE DESIGN
   -------------------------------------------------------------------------- */
:root {
  /* --- Couleurs de marque --- */
  --navy-950: #050f1f;
  --navy-900: #0a192f; /* Bleu Nuit — couleur de marque */
  --navy-850: #0d2038;
  --navy-800: #102743;
  --navy-700: #183656;
  --navy-600: #22486e;
  --navy-500: #2e5a86;

  --red-300: #ff7a85; /* texte rouge sur fond sombre (contraste 7:1) */
  --red-500: #e63946; /* Rouge Énergie — couleur de marque, accents */
  --red-600: #d62b39; /* aplats de bouton (blanc dessus : 4,9:1) */
  --red-700: #b81e2b; /* survol */

  --steel-500: #8d99ae; /* Gris Métal — couleur de marque */
  --steel-400: #a3adbe;
  --steel-300: #b6becd;
  --steel-200: #cfd5df;
  --steel-100: #e4e8ee;

  --paper: #f4f6f9; /* Blanc Cassé — couleur de marque */
  --paper-2: #eaeef4;
  --white: #ffffff;

  /* --- Rôles sémantiques --- */
  --bg: var(--white);
  --bg-alt: var(--paper);
  --ink: var(--navy-900);
  --ink-muted: #4a5a70; /* 7:1 sur blanc */
  --ink-subtle: #64748b;
  --on-dark: var(--white);
  --on-dark-muted: var(--steel-300);
  --line: #e2e7ee;
  --line-dark: rgba(255, 255, 255, 0.12);
  --accent: var(--red-500);

  /* --- Typographie --- */
  --font-display: "Archivo", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --fs-kicker: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lead: clamp(1.0625rem, 0.98rem + 0.35vw, 1.1875rem);
  --fs-h4: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-h3: clamp(1.1875rem, 1.05rem + 0.6vw, 1.4375rem);
  --fs-h2: clamp(1.75rem, 1.25rem + 2.1vw, 2.75rem);
  --fs-h1: clamp(2.125rem, 1.5rem + 2.6vw, 3.25rem);
  --fs-display: clamp(2.375rem, 1.15rem + 4.9vw, 4.25rem);
  --fs-stat: clamp(2.25rem, 1.4rem + 3.2vw, 3.5rem);

  /* --- Espacements --- */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  --section-y: clamp(4.5rem, 3rem + 6vw, 8rem);
  --section-y-sm: clamp(3rem, 2.2rem + 3.5vw, 5rem);
  /* La page va jusqu'au bord de l'écran : la gouttière seule tient le contenu
     à distance des bords, et elle suit la largeur au lieu d'être une
     constante. Ce qui doit rester étroit — une ligne de texte courant, un
     chapeau de section — le dit pour lui-même, par sa propre mesure. */
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 3.5rem);
  --container: 100%;
  --container-wide: 100%;
  --measure: 62ch;

  /* --- Formes --- */
  --r-sm: 6px;
  --r: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* --- Ombres (teintées bleu nuit) --- */
  --sh-sm: 0 1px 2px rgba(10, 25, 47, 0.06), 0 1px 3px rgba(10, 25, 47, 0.08);
  --sh: 0 4px 12px rgba(10, 25, 47, 0.07), 0 1px 3px rgba(10, 25, 47, 0.05);
  --sh-md: 0 12px 28px rgba(10, 25, 47, 0.1), 0 4px 8px rgba(10, 25, 47, 0.05);
  --sh-lg: 0 24px 56px rgba(10, 25, 47, 0.14), 0 8px 16px rgba(10, 25, 47, 0.06);
  --sh-red: 0 10px 26px rgba(214, 43, 57, 0.28);

  /* --- Mouvement --- */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 150ms;
  --t: 220ms;
  --t-slow: 420ms;

  --header-h: 72px;
  --util-h: 38px;
  --header-total: 110px; /* barre utilitaire + barre de navigation */
}

/* --------------------------------------------------------------------------
   2. RÉINITIALISATION ET BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "cv11", "ss01";
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

::selection {
  background: var(--red-500);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--red-500);
  outline-offset: 3px;
  border-radius: 3px;
}

.dark :focus-visible,
.hero :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--red-300);
}

/* Lien d'évitement */
.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--navy-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--r) var(--r);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: transform var(--t) var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHIE
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
.display,
.stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}

.display {
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.02;
}

h1,
.h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  letter-spacing: -0.028em;
}

h2,
.h2 {
  font-size: var(--fs-h2);
  line-height: 1.12;
}

h3,
.h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h4,
.h4 {
  font-size: var(--fs-h4);
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 600;
}

p {
  text-wrap: pretty;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink-muted);
}

.muted {
  color: var(--ink-muted);
}

.small {
  font-size: var(--fs-sm);
}

.measure {
  max-width: var(--measure);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: var(--fs-kicker);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-600);
  margin: 0 0 var(--s-4);
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red-500);
  flex: none;
}

.dark .kicker,
.hero .kicker {
  color: var(--red-300);
}

.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark .display,
.dark .stat__value {
  color: var(--on-dark);
}

.dark .lead,
.dark .muted {
  color: var(--on-dark-muted);
}

/* --------------------------------------------------------------------------
   4. MISE EN PAGE
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight {
  padding-block: var(--section-y-sm);
}

.section--alt {
  background: var(--bg-alt);
}

.dark,
.section--dark {
  background: var(--navy-900);
  color: var(--on-dark-muted);
}

.section--darker {
  background: var(--navy-950);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 1.8rem + 2.5vw, 4rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .kicker {
  justify-content: center;
}

.section-head > h2 {
  margin-bottom: var(--s-4);
}

.section-head--split {
  max-width: none;
  display: grid;
  gap: var(--s-5) var(--s-8);
  align-items: end;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.grid {
  display: grid;
  gap: var(--s-5);
}

.grid--2,
.grid--3,
.grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 680px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stack > * + * {
  margin-top: var(--s-4);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}

/* --------------------------------------------------------------------------
   5. BOUTONS ET LIENS
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy-900);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 48px;
  padding: 0.8125rem 1.5rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  text-align: center;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease),
    color var(--t) var(--ease), transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  flex: none;
  transition: transform var(--t) var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  --btn-bg: var(--red-600);
  box-shadow: var(--sh-red);
}

.btn--primary:hover {
  --btn-bg: var(--red-700);
}

.btn--dark {
  --btn-bg: var(--navy-900);
}

.btn--dark:hover {
  --btn-bg: var(--navy-700);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line);
}

.btn--ghost:hover {
  --btn-bd: var(--navy-900);
  --btn-bg: rgba(10, 25, 47, 0.04);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--navy-900);
}

.btn--light:hover {
  --btn-bg: var(--paper);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(6px);
}

.btn--outline-light:hover {
  --btn-bd: #fff;
  --btn-bg: rgba(255, 255, 255, 0.1);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  min-height: 42px;
  padding: 0.5rem 1rem;
  font-size: var(--fs-sm);
}

/* Lien fléché */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy-900);
  min-height: 44px;
  transition: color var(--t) var(--ease), gap var(--t) var(--ease);
}

.arrow-link::after {
  content: "";
  width: 18px;
  height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h15M11 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h15M11 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: transform var(--t) var(--ease);
}

.arrow-link:hover {
  color: var(--red-600);
}

.arrow-link:hover::after {
  transform: translateX(4px);
}

.dark .arrow-link {
  color: #fff;
}

.dark .arrow-link:hover {
  color: var(--red-300);
}

/* --------------------------------------------------------------------------
   6. EN-TÊTE ET NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: transform var(--t-slow) var(--ease);
}

/* Barre utilitaire */
.utilbar {
  background: var(--navy-950);
  color: var(--steel-300);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.utilbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: var(--util-h);
  flex-wrap: nowrap;
}

.utilbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  color: var(--steel-300);
  transition: color var(--t) var(--ease);
  padding-block: 0.35rem;
}

.utilbar a:hover {
  color: #fff;
}

.utilbar svg {
  opacity: 0.75;
}

.utilbar__group {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-width: 0;
}

/* Sous 640 px, la barre utilitaire se limite au téléphone et à la langue */
@media (max-width: 639px) {
  /* spécificité volontairement portée à deux classes : elle doit l'emporter
     sur `.utilbar a` (0,1,1) qui impose display: inline-flex */
  .utilbar .utilbar__hide-sm {
    display: none;
  }
  .utilbar {
    font-size: 0.75rem;
  }
  .utilbar__group {
    gap: var(--s-3);
  }
}

.utilbar__sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.16);
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lang {
  margin: 0;
}

.lang a,
.lang span {
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.lang [aria-current="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.lang__soon {
  color: var(--steel-500);
  cursor: help;
}

/* Barre de navigation */
.navbar {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--t-slow) var(--ease),
    border-color var(--t-slow) var(--ease), backdrop-filter var(--t-slow) var(--ease);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: var(--header-h);
}

.site-header.is-stuck .navbar,
.site-header.is-solid .navbar {
  background: rgba(5, 15, 31, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding-block: 0.5rem;
}

.brand img {
  width: auto;
  height: clamp(28px, 2.4vw, 34px);
  transition: opacity var(--t) var(--ease);
}

.brand:hover img {
  opacity: 0.86;
}

.nav {
  display: none;
  align-items: center;
  gap: 0.125rem;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.875rem;
  min-height: 44px;
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}

.nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav__link[aria-current="page"] {
  color: #fff;
  font-weight: 600;
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.875rem;
  right: 0.875rem;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 2px;
  background: var(--red-500);
}

/* Sous-menu */
.nav__item {
  position: relative;
}

.nav__toggle svg {
  transition: transform var(--t) var(--ease);
}

.nav__item:hover .nav__toggle svg,
.nav__item:focus-within .nav__toggle svg {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 21rem;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease),
    visibility var(--t) var(--ease);
}

.nav__item:hover .submenu,
.nav__item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: flex;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: var(--r-sm);
  transition: background var(--t) var(--ease);
}

.submenu a:hover {
  background: var(--paper);
}

.submenu__icon {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--paper);
  color: var(--red-600);
}

.submenu strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.submenu span {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: var(--s-3);
}

/* Bouton menu mobile */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .nav,
  .nav-actions {
    display: flex;
  }
  .burger {
    display: none;
  }
}

/* Panneau mobile */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  grid-template-rows: 1fr;
  background: var(--navy-950);
  padding: calc(var(--header-h) + var(--util-h) + 1.5rem) var(--gutter) 2rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2%);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease),
    visibility var(--t-slow) var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-dark);
}

.mobile-menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0.25rem;
  min-height: 56px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

.mobile-menu__list a[aria-current="page"] {
  color: var(--red-300);
}

.mobile-menu__sub a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--steel-300);
  padding-left: 1.25rem;
  min-height: 48px;
}

.mobile-menu__foot {
  margin-top: auto;
  padding-top: var(--s-6);
  display: grid;
  gap: var(--s-3);
}

.mobile-menu__contact {
  display: grid;
  gap: 0.5rem;
  padding-top: var(--s-5);
  color: var(--steel-300);
  font-size: 0.9375rem;
}

.mobile-menu__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   7. HÉROS
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
  padding-block: calc(var(--header-h) + var(--util-h) + 3rem) clamp(4rem, 8vh, 7rem);
}

.hero--inner {
  min-height: 0;
  height: auto;
  align-items: center;
  padding-block: calc(var(--header-h) + var(--util-h) + clamp(3rem, 7vw, 5.5rem))
    clamp(3rem, 7vw, 5.5rem);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(
    118deg,
    #050f1f 0%,
    #0a192f 38%,
    #102743 68%,
    #183656 100%
  );
}

/* Halo d'accent + voile de lisibilité */
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      68% 62% at 82% 18%,
      rgba(230, 57, 70, 0.26),
      transparent 62%
    ),
    radial-gradient(52% 48% at 12% 88%, rgba(34, 72, 110, 0.55), transparent 68%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(5, 15, 31, 0.94) 0%,
    rgba(5, 15, 31, 0.78) 38%,
    rgba(5, 15, 31, 0.35) 72%,
    rgba(5, 15, 31, 0.55) 100%
  );
}

/* Trame technique */
.hero__grid {
  position: absolute;
  inset: -1px;
  z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(120% 100% at 70% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 100% at 70% 40%, #000 20%, transparent 78%);
}

/* Scène vectorielle du corridor */
.hero__scene {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 0;
  width: min(64vw, 820px);
  translate: 0 -50%;
  opacity: 0.9;
  pointer-events: none;
}

/* Sous 1200 px, la scène devient une texture : on masque les annotations
   pour que le titre reste parfaitement lisible. */
@media (max-width: 1199px) {
  .hero__scene {
    right: -12%;
    width: min(80vw, 780px);
    opacity: 0.5;
  }
  .hero__scene text {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero__scene {
    opacity: 0.32;
  }
}

.hero__content {
  position: relative;
  width: 100%;
}

.hero__inner {
  max-width: 44rem;
}

.hero h1,
.hero h2,
.hero h3,
.hero .display {
  color: #fff;
}

.hero h1,
.hero .display {
  margin-bottom: var(--s-5);
}

.hero__lead {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
  max-width: 38rem;
  margin-bottom: var(--s-6);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.hero__cta .btn {
  flex: 1 1 auto;
  min-width: 12rem;
}

@media (min-width: 640px) {
  .hero__cta .btn {
    flex: 0 0 auto;
  }
}

/* Bandeau de confiance sous le héros */
.hero__trust {
  margin-top: clamp(2.5rem, 5vh, 4rem);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5) var(--s-4);
  max-width: 58rem;
}

@media (min-width: 780px) {
  .hero__trust {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hero__trust dt {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.05;
}

.hero__trust dd {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.01em;
}

/* Indicateur de défilement */
.scroll-cue {
  position: absolute;
  bottom: 1.75rem;
  right: var(--gutter);
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-height: 760px) and (min-width: 1280px) {
  .scroll-cue {
    display: flex;
  }
}

.scroll-cue__line {
  width: 1px;
  height: 34px;
  background: linear-gradient(rgba(255, 255, 255, 0.5), transparent);
  overflow: hidden;
  position: relative;
}

.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 12px;
  background: var(--red-500);
  animation: cue 2.1s var(--ease) infinite;
}

@keyframes cue {
  0% {
    transform: translateY(-14px);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    transform: translateY(34px);
    opacity: 0;
  }
}

/* Trajectoires animées dans la scène du héros */
.route-path {
  stroke-dasharray: 6 9;
  animation: dash 3.2s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -30;
  }
}

/* Trajet retour : le tireté défile en sens inverse */
.route-path--retour {
  animation-direction: reverse;
}

.route-pulse {
  animation: pulse 3.6s var(--ease) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.25;
    r: 4;
  }
  50% {
    opacity: 1;
    r: 6.5;
  }
}

.orbit {
  transform-origin: center;
  animation: orbit 46s linear infinite;
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   8. BANDEAU DÉFILANT (corridors)
   -------------------------------------------------------------------------- */
.marquee {
  background: var(--navy-950);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 0.9rem;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee__row {
  display: flex;
  align-items: center;
  flex: none;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-inline: 1.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--steel-300);
  white-space: nowrap;
}

.marquee__item b {
  color: #fff;
  font-weight: 600;
}

.marquee__item svg {
  color: var(--red-500);
  flex: none;
}

/* --------------------------------------------------------------------------
   9. CARTES
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: clamp(1.5rem, 1.1rem + 1.1vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
  isolation: isolate;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--red-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease-out);
}

.card:hover,
.card:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: transparent;
}

.card:hover::before,
.card:focus-within::before {
  transform: scaleX(1);
}

.card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--r);
  background: var(--paper);
  color: var(--navy-900);
  margin-bottom: var(--s-2);
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}

.card:hover .card__icon {
  background: var(--navy-900);
  color: #fff;
}

.card h3 {
  margin: 0;
}

.card p {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  flex: 1;
}

.card__foot {
  margin-top: var(--s-2);
}

/* Le lien couvre la carte entière */
.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: var(--s-2);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.625rem;
  border-radius: var(--r-full);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

.tag--accent {
  background: rgba(230, 57, 70, 0.08);
  border-color: rgba(230, 57, 70, 0.24);
  color: var(--red-700);
}

.dark .tag {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-dark);
  color: var(--steel-300);
}

/* Carte sur fond sombre */
.card--dark {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-dark);
  backdrop-filter: blur(4px);
}

.card--dark h3 {
  color: #fff;
}

.card--dark p {
  color: var(--steel-300);
}

.card--dark .card__icon {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.card--dark:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.075);
}

/* Carte compacte (avantages) */
.feature {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
}

.feature__icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: rgba(230, 57, 70, 0.09);
  color: var(--red-600);
}

.dark .feature__icon {
  background: rgba(255, 122, 133, 0.14);
  color: var(--red-300);
}

.feature h3 {
  font-size: var(--fs-h4);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.feature p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0;
}

.dark .feature p {
  color: var(--steel-300);
}

/* --------------------------------------------------------------------------
   10. STATISTIQUES
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

.stat {
  padding-left: var(--s-5);
  border-left: 2px solid var(--red-500);
}

.stat__value {
  font-size: var(--fs-stat);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 0.05em;
}

.stat__label {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.dark .stat__label {
  color: var(--steel-300);
}

/* --------------------------------------------------------------------------
   11. SECTION PROCESSUS (épinglée au défilement)
   -------------------------------------------------------------------------- */
.process {
  background: var(--navy-950);
  color: var(--on-dark-muted);
  position: relative;
}

.process__track {
  position: relative;
}

.process__stage {
  padding-block: var(--section-y);
}

.process__layout {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}

.process__head h2 {
  margin-bottom: var(--s-5);
  max-width: 22ch;
}

.process__count {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--steel-500);
  margin-bottom: var(--s-4);
  font-variant-numeric: tabular-nums;
}

.process__count b {
  color: var(--red-300);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.process__rail {
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-bottom: var(--s-5);
  max-width: 26rem;
}

.process__rail-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--red-600), var(--red-300));
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  transition: transform 120ms linear;
}

.process__steps {
  display: grid;
  gap: var(--s-2);
}

.process__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  padding: 0.9rem 1.15rem;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  background: transparent;
  transition: background var(--t-slow) var(--ease), border-color var(--t-slow) var(--ease),
    opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease-out);
}

.process__step-num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--steel-500);
  font-variant-numeric: tabular-nums;
  padding-top: 0.2rem;
  transition: color var(--t-slow) var(--ease);
}

.process__step h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.3rem;
  transition: color var(--t-slow) var(--ease);
}

.process__step p {
  font-size: 0.875rem;
  line-height: 1.55;
  max-width: 56ch;
  color: var(--steel-500);
  margin: 0;
  transition: color var(--t-slow) var(--ease);
}

.process__step.is-active {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-dark);
}

.process__step.is-active .process__step-num {
  color: var(--red-300);
}

.process__step.is-active h3 {
  color: #fff;
}

.process__step.is-active p {
  color: var(--steel-300);
}

.process__viz {
  position: relative;
  aspect-ratio: 1 / 1;
  display: none;
  place-items: center;
}

.process__viz svg {
  width: 100%;
  height: auto;
}

.process__viz-stage {
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
}

.process__viz-stage.is-active {
  opacity: 1;
}

@media (min-width: 1024px) and (min-height: 720px) {
  /* Hauteur du rail de défilement = 1 écran + 78 % d'écran par étape suivante */
  .process__track {
    min-height: calc(100svh + (var(--steps, 4) - 1) * 78svh);
  }
  .process__stage {
    position: sticky;
    top: var(--header-total);
    min-height: calc(100svh - var(--header-total));
    display: flex;
    align-items: center;
    padding-block: var(--s-5);
  }
  .process__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: var(--s-8);
  }
  .process__viz {
    display: grid;
  }
  .process__step {
    opacity: 0.55;
  }
  .process__step.is-active {
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   12. CORRIDOR / DESTINATIONS
   -------------------------------------------------------------------------- */
.lane {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  padding: var(--s-5);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-dark);
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease),
    transform var(--t) var(--ease);
}

.lane:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-3px);
}

.lane__route {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.lane__route svg {
  color: var(--red-500);
  flex: none;
}

.lane__specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
}

.lane__spec {
  font-size: 0.8125rem;
  color: var(--steel-400);
}

.lane__spec b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-top: 0.1rem;
}

/* Grille du corridor : pile jusqu'a 1100 px pour que la carte reste lisible */
.corridor-grid {
  display: grid;
  gap: var(--s-7);
  align-items: start;
  grid-template-columns: 1fr;
}

@media (min-width: 1100px) {
  .corridor-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: var(--s-8);
  }
}

/* Carte du corridor */
.corridor-map {
  position: relative;
  max-width: 620px;
  margin-inline: auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #0a192f, #102743 60%, #050f1f);
  border: 1px solid var(--line-dark);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.corridor-map svg {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   13. ACCORDÉON (FAQ)
   -------------------------------------------------------------------------- */
.accordion {
  border-top: 1px solid var(--line);
}

.accordion__item {
  border-bottom: 1px solid var(--line);
}

.accordion__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  width: 100%;
  padding: 1.25rem 0;
  min-height: 60px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color var(--t) var(--ease);
}

.accordion__btn:hover {
  color: var(--red-600);
}

.accordion__icon {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--navy-900);
  transition: transform var(--t) var(--ease), background var(--t) var(--ease),
    color var(--t) var(--ease), border-color var(--t) var(--ease);
}

.accordion__btn[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
  background: var(--red-600);
  border-color: var(--red-600);
  color: #fff;
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-slow) var(--ease);
}

.accordion__item.is-open .accordion__panel {
  grid-template-rows: 1fr;
}

/* Sans JavaScript, toutes les réponses restent lisibles */
.no-js .accordion__panel {
  grid-template-rows: 1fr;
}

.accordion__panel > div {
  overflow: hidden;
}

.accordion__panel p {
  padding-bottom: 1.5rem;
  max-width: 58ch;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   14. FORMULAIRES
   -------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: var(--s-4);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field--half {
  grid-column: span 1;
}

@media (min-width: 640px) {
  .form--2col {
    grid-template-columns: 1fr 1fr;
  }
  .field--full {
    grid-column: 1 / -1;
  }
}

.label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.label span {
  color: var(--red-600);
}

.hint {
  font-size: 0.8125rem;
  color: var(--ink-subtle);
  line-height: 1.45;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  font-size: 0.9375rem;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%234a5a70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 12px;
  padding-right: 2.4rem;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(24, 54, 86, 0.14);
}

.input:user-invalid,
.textarea:user-invalid {
  border-color: var(--red-600);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-muted);
  cursor: pointer;
  min-height: 44px;
  padding-block: 0.35rem;
}

.checkbox input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--red-600);
}

.form__status {
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  display: none;
}

.form__status.is-visible {
  display: block;
}

.form__status--ok {
  background: rgba(22, 128, 88, 0.09);
  border: 1px solid rgba(22, 128, 88, 0.3);
  color: #10603f;
}

/* --------------------------------------------------------------------------
   15. BLOCS DE CONTACT / INFOS
   -------------------------------------------------------------------------- */
.info-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.info {
  display: grid;
  gap: 0.5rem;
  padding: var(--s-5);
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
}

.info__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-600);
}

.info p,
.info a {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}

.info a {
  color: var(--ink);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  transition: color var(--t) var(--ease);
}

.info a:hover {
  color: var(--red-600);
}

.info--dark {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-dark);
}

.info--dark .info__label {
  color: var(--red-300);
}

.info--dark p {
  color: var(--steel-300);
}

.info--dark a {
  color: #fff;
}

.info--dark a:hover {
  color: var(--red-300);
}

/* --------------------------------------------------------------------------
   16. APPEL À L'ACTION FINAL
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
      60% 100% at 88% 10%,
      rgba(230, 57, 70, 0.3),
      transparent 60%
    ),
    linear-gradient(110deg, #050f1f, #102743);
}

.cta-band__mark {
  position: absolute;
  z-index: -1;
  right: -6%;
  bottom: -30%;
  width: min(46vw, 520px);
  opacity: 0.07;
  pointer-events: none;
}

.cta-band__inner {
  display: grid;
  gap: var(--s-6);
  align-items: center;
}

@media (min-width: 900px) {
  .cta-band__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--s-8);
  }
}

.cta-band h2 {
  color: #fff;
  margin-bottom: var(--s-3);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-lead);
  max-width: 40rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}

/* --------------------------------------------------------------------------
   17. PIED DE PAGE
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: var(--steel-400);
  font-size: 0.9375rem;
  padding-top: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
}

.footer__top {
  display: grid;
  gap: var(--s-7);
  padding-bottom: var(--s-8);
}

@media (min-width: 900px) {
  .footer__top {
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: var(--s-6);
  }
}

.footer__brand img {
  height: 34px;
  width: auto;
  margin-bottom: var(--s-4);
}

.footer__brand p {
  max-width: 30ch;
  line-height: 1.65;
  color: var(--steel-400);
}

.footer__title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--s-4);
}

.footer__list {
  display: grid;
  gap: 0.15rem;
}

.footer__list a,
.footer__list span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 36px;
  color: var(--steel-400);
  transition: color var(--t) var(--ease);
  line-height: 1.5;
}

.footer__list a:hover {
  color: #fff;
}

.footer__social {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--s-5);
}

.footer__social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-dark);
  color: var(--steel-300);
  transition: background var(--t) var(--ease), color var(--t) var(--ease),
    border-color var(--t) var(--ease);
}

.footer__social a:hover {
  background: var(--red-600);
  border-color: var(--red-600);
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: var(--s-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--steel-500);
}

.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
}

.footer__bottom a {
  transition: color var(--t) var(--ease);
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.footer__bottom a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   18. FIL D'ARIANE ET DIVERS
   -------------------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--s-5);
}

.breadcrumb a {
  transition: color var(--t) var(--ease);
  padding-block: 0.25rem;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb [aria-current] {
  color: rgba(255, 255, 255, 0.9);
}

.divider {
  height: 1px;
  background: var(--line);
  margin-block: var(--s-7);
}

.dark .divider {
  background: var(--line-dark);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.note {
  padding: var(--s-4) var(--s-5);
  border-left: 3px solid var(--red-500);
  background: var(--paper);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* Liste à puces cochées */
.check-list {
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.check-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 0.18rem;
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.1);
  -webkit-mask: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.6 10.3 2.8 2.8 6-6.2' fill='none' stroke='%23d62b39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 20px;
}

.dark .check-list li {
  color: var(--steel-300);
}

/* Tableau tarifs / délais */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 34rem;
  font-size: 0.9375rem;
}

.table th,
.table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.table thead th {
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table td {
  color: var(--ink-muted);
}

.table td:first-child {
  color: var(--ink);
  font-weight: 500;
}

/* Chronologie */
.timeline {
  display: grid;
  gap: var(--s-6);
  position: relative;
  padding-left: var(--s-6);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--red-500), var(--line));
}

.dark .timeline::before {
  background: linear-gradient(var(--red-500), rgba(255, 255, 255, 0.1));
}

.timeline li {
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--s-6));
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 3px solid var(--red-500);
}

.dark .timeline li::before {
  background: var(--navy-950);
}

.timeline__year {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red-600);
  margin-bottom: 0.3rem;
}

.dark .timeline__year {
  color: var(--red-300);
}

.timeline h3 {
  font-size: var(--fs-h4);
  margin-bottom: 0.35rem;
}

.timeline p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 52ch;
}

.dark .timeline p {
  color: var(--steel-300);
}

/* Bouton flottant WhatsApp / téléphone */
.floating-cta {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.15rem;
  min-height: 52px;
  border-radius: var(--r-full);
  background: var(--red-600);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  box-shadow: var(--sh-red);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.96);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease-out),
    visibility var(--t-slow) var(--ease), background var(--t) var(--ease);
}

.floating-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.floating-cta:hover {
  background: var(--red-700);
}

.floating-cta span {
  display: none;
}

@media (min-width: 480px) {
  .floating-cta span {
    display: inline;
  }
}

/* --------------------------------------------------------------------------
   18 bis. BLOCS DES PAGES INTERNES
   -------------------------------------------------------------------------- */

/* Réservé aux lecteurs d'écran */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Bloc de service : texte + fiche technique */
.service-block {
  display: grid;
  gap: var(--s-6);
  align-items: start;
}

@media (min-width: 900px) {
  .service-block {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: var(--s-8);
  }
  .service-block__aside {
    position: sticky;
    top: calc(var(--header-total) + var(--s-5));
  }
}

.service-block__aside .card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}

.service-block__aside .card:hover::before {
  transform: scaleX(0);
}

.service-block__aside .card:hover .card__icon {
  background: var(--paper);
  color: var(--navy-900);
}

/* Liste de caractéristiques */
.spec-list {
  display: grid;
  margin: 0;
}

.spec-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.spec-list > div:last-child {
  border-bottom: 0;
}

.spec-list dt {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.spec-list dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}

/* Tableau sur fond sombre */
.table-wrap--dark {
  border-color: var(--line-dark);
}

.table-wrap--dark .table thead th {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.table-wrap--dark .table th,
.table-wrap--dark .table td {
  border-bottom-color: var(--line-dark);
}

.table-wrap--dark .table td {
  color: var(--steel-300);
}

.table-wrap--dark .table td:first-child {
  color: #fff;
}

/* Page contact */
.contact-grid {
  display: grid;
  gap: var(--s-7);
  align-items: start;
}

@media (min-width: 940px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: var(--s-8);
  }
  .contact-aside {
    position: sticky;
    top: calc(var(--header-total) + var(--s-5));
  }
}

.contact-aside .card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}

.contact-aside .card:hover::before {
  transform: scaleX(0);
}

.contact-aside hr {
  margin: 0;
}

.contact-big {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Page légale */
.legal {
  max-width: 46rem;
  display: grid;
  gap: var(--s-7);
}

.legal h2 {
  font-size: var(--fs-h3);
  margin-bottom: var(--s-4);
  scroll-margin-top: calc(var(--header-total) + var(--s-5));
}

.legal p {
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: var(--s-4);
}

.legal p:last-child {
  margin-bottom: 0;
}

.legal strong {
  color: var(--ink);
  font-weight: 600;
}

.legal a {
  color: var(--navy-900);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover {
  color: var(--red-600);
}

.legal .check-list {
  margin-bottom: var(--s-4);
}

/* --------------------------------------------------------------------------
   18 bis-2. SUIVI D'EXPÉDITION
   -------------------------------------------------------------------------- */
.track-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--on-dark-muted);
  padding-block: calc(var(--header-total) + clamp(3rem, 7vw, 5rem))
    clamp(5rem, 10vw, 7.5rem);
}

.track-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(125deg, #050f1f 0%, #0a192f 48%, #183656 100%);
}

.track-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    62% 58% at 88% 14%,
    rgba(230, 57, 70, 0.24),
    transparent 62%
  );
}

.track-hero__grid {
  position: absolute;
  inset: -1px;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(110% 100% at 60% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(110% 100% at 60% 20%, #000 20%, transparent 78%);
  pointer-events: none;
}

.track-hero__inner {
  max-width: 42rem;
}

.track-hero h1 {
  color: #fff;
  margin-bottom: var(--s-4);
}

.track-hero .lead {
  color: rgba(255, 255, 255, 0.82);
}

/* Les deux sens du corridor, sous le titre */
.track-lanes {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: 1fr;
  margin-top: var(--s-6);
}

@media (min-width: 640px) {
  .track-lanes {
    grid-template-columns: 1fr 1fr;
  }
}

.track-lane {
  display: grid;
  gap: 0.55rem;
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-dark);
}

.track-lane__dir {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.track-lane__dir svg {
  flex: none;
  color: var(--red-500);
}

.track-lane__delays {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--steel-400);
  margin: 0;
}

.track-lane__delays b {
  color: var(--steel-200);
  font-weight: 600;
  font-family: var(--font-display);
}

/* Où trouver son numéro — sous le champ de recherche */
.track-help {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}

@media (min-width: 720px) {
  .track-help {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-5);
  }
}

.track-help__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0;
}

.track-help__item svg {
  flex: none;
  margin-top: 0.2rem;
  color: var(--red-600);
}

.track-help__item b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.1rem;
  letter-spacing: -0.01em;
}

/* Carte de recherche, en chevauchement du héros */
.track-card {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  margin: clamp(-5.5rem, -8vw, -4rem) auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem);
}

.track-card__label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: var(--s-3);
}

.track-form {
  display: grid;
  gap: var(--s-3);
}

@media (min-width: 620px) {
  .track-form {
    grid-template-columns: 1fr auto;
  }
}

.track-form .input {
  min-height: 56px;
  font-size: 1.0625rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.track-form .input::placeholder {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-subtle);
}

.track-form .btn {
  min-height: 56px;
  padding-inline: 1.75rem;
}

.track-card .hint {
  margin-top: var(--s-3);
}

/* Type de numéro reconnu */
.track-detected {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--s-4);
  padding: 0.6rem 0.9rem;
  border-radius: var(--r-sm);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.track-detected.is-visible {
  display: flex;
}

.track-detected svg {
  flex: none;
  color: var(--red-600);
}

.track-detected b {
  color: var(--ink);
  font-weight: 600;
}

/* Résultat d'une consultation de suivi. La chronologie réutilise le composant
   « timeline » plus haut dans cette feuille : rien à redéfinir ici. */
.track-result {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}

.track-result__statut {
  font-size: var(--fs-h4);
  margin-bottom: 0.35rem;
}

.track-result__trajet {
  color: var(--ink-muted);
  margin-bottom: var(--s-5);
}

.track-result .timeline {
  margin-top: var(--s-5);
}

/* --------------------------------------------------------------------------
   18 ter. ESPACE CLIENT — PAGE DE CONNEXION
   -------------------------------------------------------------------------- */
.auth {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100svh;
  padding-top: calc(var(--header-total));
}

@media (min-width: 960px) {
  .auth {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

/* --- Volet gauche : argumentaire sur fond bleu nuit --- */
.auth__aside {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--navy-900);
  color: var(--on-dark-muted);
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter);
}

.auth__aside::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(150deg, #050f1f 0%, #0a192f 45%, #183656 100%);
}

.auth__aside::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    70% 60% at 85% 12%,
    rgba(230, 57, 70, 0.24),
    transparent 62%
  );
}

.auth__aside-grid {
  position: absolute;
  inset: -1px;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(120% 100% at 30% 30%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 100% at 30% 30%, #000 20%, transparent 80%);
  pointer-events: none;
}

.auth__aside-inner {
  max-width: 30rem;
  margin-inline: auto;
  width: 100%;
}

.auth__aside h1 {
  color: #fff;
  margin-bottom: var(--s-4);
}

.auth__aside .lead {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--s-7);
}

.auth__perks {
  display: grid;
  gap: var(--s-5);
}

.auth__perk {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  align-items: start;
}

.auth__perk .feature__icon {
  background: rgba(255, 122, 133, 0.14);
  color: var(--red-300);
}

.auth__perk h2 {
  font-size: var(--fs-h4);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.auth__perk p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--steel-300);
  margin: 0;
}

.auth__note {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-dark);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--steel-400);
}

/* --- Volet droit : le formulaire --- */
.auth__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter);
}

.auth-card {
  width: 100%;
  max-width: 27rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
}

.auth-card__head {
  margin-bottom: var(--s-6);
}

.auth-card__head h2 {
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  margin-bottom: 0.5rem;
}

.auth-card__head p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* Champ mot de passe avec bascule d'affichage */
.pw-wrap {
  position: relative;
}

.pw-wrap .input {
  padding-right: 3.25rem;
}

.pw-toggle {
  position: absolute;
  top: 50%;
  right: 2px;
  translate: 0 -50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  color: var(--ink-subtle);
  cursor: pointer;
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}

.pw-toggle:hover {
  color: var(--ink);
  background: var(--paper);
}

.pw-toggle .pw-toggle__off {
  display: none;
}

.pw-toggle[aria-pressed="true"] .pw-toggle__on {
  display: none;
}

.pw-toggle[aria-pressed="true"] .pw-toggle__off {
  display: block;
}

/* Ligne « se souvenir » + mot de passe oublié */
.auth__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.auth__row .checkbox {
  min-height: 44px;
  margin: 0;
}

.auth__forgot {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-900);
  text-decoration: underline;
  text-underline-offset: 2px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color var(--t) var(--ease);
}

.auth__forgot:hover {
  color: var(--red-600);
}

/* Séparateur « ou » */
.auth__sep {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-block: var(--s-6);
  font-size: 0.8125rem;
  color: var(--ink-subtle);
}

.auth__sep::before,
.auth__sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth__foot {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.auth__foot a {
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth__foot a:hover {
  color: var(--red-600);
}

/* Après vidage du champ mot de passe, ne pas afficher l'état « invalide » :
   le champ est vide parce que nous l'avons effacé, pas parce que la personne
   a mal rempli. La classe est retirée dès la première frappe. */
.form--reset .input:user-invalid {
  border-color: var(--line);
  box-shadow: none;
}

/* Message d'état du formulaire — variante information */
.form__status--info {
  background: rgba(24, 54, 86, 0.07);
  border: 1px solid rgba(24, 54, 86, 0.22);
  color: var(--navy-800);
}

.form__status--info strong {
  color: var(--navy-900);
}

/* Bandeau d'avertissement : aucune authentification réelle */
.auth__warning {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: var(--s-5);
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(214, 43, 57, 0.28);
  background: rgba(230, 57, 70, 0.07);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.auth__warning svg {
  flex: none;
  margin-top: 0.1rem;
  color: var(--red-700);
}

.auth__warning strong {
  color: var(--red-700);
}

/* Amorçage du tout premier compte. N'apparaît que si la base n'a aucun
   profil, et disparaît définitivement ensuite. */
.auth-amorcage {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}

.auth-amorcage p {
  margin-bottom: var(--s-4);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* Espace client — la liste des dossiers */
.espace__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}

.espace__qui {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  margin-top: 0.25rem;
}

.dossier {
  padding: var(--s-5) 0;
  border-top: 1px solid var(--line);
}

.dossier:first-child {
  border-top: 0;
  padding-top: 0;
}

.dossier__tete {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem var(--s-4);
}

.dossier__num {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.dossier__statut {
  font-weight: 600;
  color: var(--red-600);
}

.dark .dossier__statut {
  color: var(--red-300);
}

.dossier__meta {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  margin-top: 0.3rem;
}

.dossier__vide {
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   19. RÉVÉLATIONS AU DÉFILEMENT
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

[data-reveal="left"] {
  transform: translateX(-24px);
}

[data-reveal="right"] {
  transform: translateX(24px);
}

[data-reveal="scale"] {
  transform: scale(0.97);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Le contenu reste visible si JS est indisponible */
.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   20. PRÉFÉRENCES DE MOUVEMENT RÉDUIT
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .marquee__track {
    animation: none;
    transform: none;
  }
  .btn:hover,
  .card:hover,
  .lane:hover {
    transform: none;
  }
  .process__step {
    opacity: 1 !important;
  }
}

/* --------------------------------------------------------------------------
   21. IMPRESSION
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .mobile-menu,
  .floating-cta,
  .scroll-cue,
  .marquee,
  .cta-band {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
  .hero {
    min-height: 0;
    height: auto;
    color: #000;
    background: #fff;
    padding-block: 2rem;
  }
  .hero__bg,
  .hero__grid,
  .hero__scene {
    display: none;
  }
  .hero .display,
  .hero__lead {
    color: #000;
  }
}
