/* Seftli — feuille de style du site de présentation
   Aucune ressource externe : polices hébergées localement (SIL OFL 1.1). */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Couleurs officielles SEFTLI */
  --nuit: #0e1f3d;
  --nuit-2: #1a3563;
  --nuit-3: #2a4a80;
  --vert: #17c154;        /* vert du symbole Seftli (logo) */
  --vert-icone: #19a849;  /* vert de fond de l'icône d'application */
  --vert-survol: #14ad4b;
  --vert-texte: #0e7a3a;
  --vert-pale: #e4f7ea;
  --vert-bord: #bde8cb;
  --fond: #f4f7fb;
  --surface: #ffffff;
  --encre: #0e1f3d;
  --encre-2: #475873;
  --ligne: #d9e1ec;
  --ligne-forte: #b9c6d8;
  --sur-nuit: #ffffff;
  --sur-nuit-2: #c9d5e8;
  --focus: #0b63ce;
  --todo-fond: #fff3c4;
  --todo-encre: #5c4300;

  /* Typographie */
  --font-titre: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-texte: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --t-xs: 0.8125rem;
  --t-s: 0.9375rem;
  --t-m: 1.0625rem;
  --t-l: 1.25rem;
  --t-xl: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  --t-2xl: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  --t-3xl: clamp(2.15rem, 1.45rem + 3.2vw, 3.5rem);

  /* Espaces */
  --gouttiere: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --section: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --largeur: 74rem;
  --rayon: 16px;
  --rayon-s: 10px;
  --ombre: 0 1px 2px rgba(14, 31, 61, 0.06), 0 10px 28px rgba(14, 31, 61, 0.08);
  --ombre-forte: 0 4px 12px rgba(14, 31, 61, 0.08), 0 20px 48px rgba(14, 31, 61, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--font-texte);
  font-size: var(--t-m);
  line-height: 1.65;
  overflow-x: clip;
}

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

h1, h2, h3 {
  font-family: var(--font-titre);
  color: var(--nuit);
  line-height: 1.13;
  letter-spacing: -0.022em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--t-3xl); font-weight: 800; }
h2 { font-size: var(--t-2xl); font-weight: 750; }
h3 { font-size: var(--t-l); font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }

a { color: var(--nuit-2); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--vert-texte); text-decoration-thickness: 2px; }

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

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

.skip-link {
  position: absolute;
  left: var(--gouttiere);
  top: -4rem;
  z-index: 100;
  background: var(--nuit);
  color: var(--sur-nuit);
  padding: 0.6rem 1rem;
  border-radius: var(--rayon-s);
  font-weight: 600;
}
.skip-link:focus { top: 0.75rem; color: var(--sur-nuit); }

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

/* Bandeau de prévisualisation (jamais présent en production) */
.bandeau-preview {
  background: var(--todo-fond);
  color: var(--todo-encre);
  font-size: var(--t-s);
  text-align: center;
  padding: 0.5rem var(--gouttiere);
  border-bottom: 1px solid #e8d48a;
}
mark.a-confirmer {
  background: var(--todo-fond);
  color: var(--todo-encre);
  border: 1px dashed #c9a227;
  border-radius: 4px;
  padding: 0 0.3em;
  font-weight: 600;
}

/* En-tête */
.entete {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--ligne);
}
@supports (backdrop-filter: blur(8px)) {
  .entete { background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(10px); }
}
.entete__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  min-height: 4.75rem;
  padding-block: 0.5rem;
  flex-wrap: wrap;
}
.marque {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--nuit);
  text-decoration: none;
  padding-block: 0.25rem;
  border-radius: var(--rayon-s);
}
.marque:hover { color: var(--nuit); text-decoration: none; }
.marque__symbole {
  height: 44px;
  width: auto;
  flex: none;
}
.marque__nom {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.035em;
  line-height: 1;
  padding-top: 0.08em;
}
.pied .marque { color: var(--sur-nuit); }
.pied .marque:hover { color: var(--sur-nuit); }
.pied .marque__symbole { height: 40px; }
.pied .marque__nom { font-size: 1.5rem; }
@media (max-width: 40rem) {
  .marque__symbole { height: 36px; }
  .marque__nom { font-size: 1.5rem; }
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.65rem;
  padding-inline: 0.85rem;
  border-radius: 999px;
  color: var(--encre-2);
  font-weight: 600;
  font-size: var(--t-s);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav a:hover { color: var(--nuit); background: var(--fond); }
.nav a[aria-current="page"] { color: var(--nuit); background: var(--vert-pale); }
.nav a.nav__play {
  background: var(--nuit);
  color: var(--sur-nuit);
  font-family: var(--font-titre);
  font-weight: 700;
  padding-inline: 1rem;
  margin-left: 0.35rem;
}
.nav a.nav__play:hover {
  background: var(--nuit-2);
  color: var(--sur-nuit);
}
.nav a.nav__play svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: none;
}

@media (max-width: 44rem) {
  .entete { position: relative; top: auto; }
  .entete__inner { padding-block: 0.45rem; gap: 0.25rem; }
  .nav { width: 100%; }
  .nav ul { gap: 0.1rem; flex-wrap: wrap; justify-content: space-between; }
  .nav a { padding-inline: 0.5rem; min-height: 2.25rem; font-size: 0.825rem; }
  .nav a.nav__play { margin-left: 0; padding-inline: 0.7rem; font-size: 0.8125rem; }
}

/* Boutons */
.boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: var(--t-m);
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.bouton--principal { background: var(--nuit); color: var(--sur-nuit); }
.bouton--principal:hover { background: var(--nuit-2); color: var(--sur-nuit); text-decoration: none; }
.bouton--secondaire { background: var(--surface); color: var(--nuit); border-color: var(--ligne-forte); }
.bouton--secondaire:hover { border-color: var(--nuit); color: var(--nuit); background: var(--fond); text-decoration: none; }
.bouton--vert { background: var(--vert); color: var(--nuit); }
.bouton--vert:hover { background: var(--vert-survol); color: var(--nuit); text-decoration: none; }
.bouton--clair { background: transparent; color: var(--sur-nuit); border-color: rgba(201, 213, 232, 0.45); }
.bouton--clair:hover { border-color: var(--sur-nuit); color: var(--sur-nuit); background: var(--nuit-2); text-decoration: none; }
.bouton:active { transform: translateY(1px); }
.bouton svg { width: 1.1em; height: 1.1em; flex: none; }

/* Pastille de statut */
.statut {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.9rem 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--vert-pale);
  border: 1px solid var(--vert-bord);
  color: var(--vert-texte);
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: var(--t-xs);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.3;
}
.statut::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--vert);
  box-shadow: 0 0 0 3px rgba(23, 193, 84, 0.22);
  flex: none;
}

/* ============================================================
   ACCUEIL — HÉROS PREMIUM DEUX COLONNES (Vitrine Application)
   Sur ordinateur : Smartphone à gauche (colonne 1), Texte/Play/QR à droite (colonne 2).
   Sur mobile : Titre et accès Google Play visibles immédiatement en haut, Smartphone dessous.
   ============================================================ */
.heros {
  padding-block: clamp(2rem, 1.25rem + 3vw, 4.25rem) clamp(3rem, 2rem + 3.5vw, 5.25rem);
  background:
    radial-gradient(circle at 22% 45%, rgba(23, 193, 84, 0.09) 0%, rgba(23, 193, 84, 0) 48%),
    linear-gradient(180deg, #f7f9fc 0%, #edf3fa 100%);
  border-bottom: 1px solid var(--ligne);
}
.heros__grille {
  display: grid;
  grid-template-columns: minmax(290px, 0.86fr) minmax(0, 1.14fr);
  grid-template-areas: "visuel texte";
  gap: clamp(2rem, 1.25rem + 3.8vw, 4.5rem);
  align-items: center;
}
.heros__visuel {
  grid-area: visuel;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  position: relative;
}
.heros__texte {
  grid-area: texte;
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}
.heros h1 {
  font-size: clamp(1.8rem, 1.25rem + 2.2vw, 3.15rem);
}
.heros__intro {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  color: var(--encre-2);
  max-width: 38rem;
  line-height: 1.55;
}

/* Mockup Smartphone Android adapté au ratio exact (360 × 740) de l'application SEFTLI */
.smartphone-vitrine {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
}
.smartphone-cadre {
  position: relative;
  background: linear-gradient(145deg, #162a4d 0%, #0b162c 55%, #091224 100%);
  border: 2px solid #2b4570;
  border-radius: 34px;
  padding: 10px;
  box-shadow:
    0 26px 60px -12px rgba(14, 31, 61, 0.28),
    0 10px 24px -8px rgba(14, 31, 61, 0.16),
    inset 0 1px 1px rgba(255, 255, 255, 0.22);
}
/* Boutons latéraux matériels subtils du smartphone */
.smartphone-cadre::before {
  content: "";
  position: absolute;
  right: -4px;
  top: 118px;
  width: 3px;
  height: 46px;
  background: #243b61;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 64px 0 #243b61;
}
.smartphone-ecran {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(14, 31, 61, 0.14);
}
.smartphone-ecran picture {
  display: block;
  line-height: 0;
}
.smartphone-ecran img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 360 / 740;
}
.smartphone-legende {
  font-size: var(--t-xs);
  color: var(--encre-2);
  text-align: center;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--ligne);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}
.smartphone-legende__point {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--vert);
  flex: none;
}

/* Carte de téléchargement Google Play + QR Code */
.telechargement-carte {
  width: 100%;
  max-width: 39rem;
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: clamp(1.15rem, 0.9rem + 1vw, 1.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto;
  gap: 1.25rem 1.5rem;
  align-items: center;
}
.telechargement-carte__col {
  display: grid;
  gap: 0.65rem;
  justify-items: start;
}
.telechargement-titre {
  font-family: var(--font-titre);
  font-size: clamp(1.125rem, 1.02rem + 0.35vw, 1.3125rem);
  font-weight: 800;
  color: var(--nuit);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0;
}
.telechargement-texte {
  font-size: var(--t-s);
  color: var(--encre-2);
  line-height: 1.5;
  margin: 0;
}
.dispo-bandeau {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #eef4fb;
  border: 1px solid #cbd8ea;
  color: var(--nuit-2);
  font-size: var(--t-xs);
  font-weight: 700;
  line-height: 1.3;
}
.dispo-bandeau__puce {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--vert);
  flex: none;
}
.dispo-note {
  font-size: var(--t-s);
  color: var(--encre-2);
  line-height: 1.48;
}
.dispo-note strong {
  color: var(--nuit);
  font-weight: 700;
}
.telechargement-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0.15rem;
}
.badge-play-lien {
  display: inline-flex;
  border-radius: 10px;
  line-height: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.badge-play-lien:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(14, 31, 61, 0.16);
}
.badge-play-lien img {
  height: 54px;
  width: auto;
}
.lien-secondaire-heros {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1.5px solid var(--ligne-forte);
  background: var(--fond);
  color: var(--nuit);
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: var(--t-s);
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.lien-secondaire-heros:hover {
  background: var(--surface);
  border-color: var(--nuit);
  color: var(--nuit);
  text-decoration: none;
}
.lien-secondaire-heros svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

/* Bloc QR code à droite dans la carte */
.telechargement-qr {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding-left: 1.35rem;
  border-left: 1px solid var(--ligne);
  text-align: center;
}
.qr-lien {
  display: inline-flex;
  padding: 0.45rem;
  background: #ffffff;
  border: 1.5px solid var(--ligne-forte);
  border-radius: 12px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.qr-lien:hover {
  border-color: var(--vert);
  transform: translateY(-1px);
}
.qr-lien img {
  width: 112px;
  height: 112px;
  display: block;
}
.qr-legende {
  font-family: var(--font-titre);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--nuit);
  line-height: 1.25;
  max-width: 9.5rem;
}
.qr-sous-legende {
  font-size: 0.75rem;
  color: var(--encre-2);
  line-height: 1.2;
}

/* Repères de confiance sous la carte */
.reperes-heros {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}
.reperes-heros li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--ligne);
  color: var(--nuit);
  font-size: var(--t-xs);
  font-weight: 600;
}
.reperes-heros li svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--vert-texte);
  flex: none;
}

/* Responsive tablette et mobile (< 960px) */
@media (max-width: 59.99rem) {
  .heros__grille {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "texte"
      "visuel";
    gap: 2.25rem;
  }
  .smartphone-vitrine {
    max-width: 300px;
  }
}

/* Responsive mobile (< 560px : 320, 360, 390, 412 px) */
@media (max-width: 35rem) {
  .heros {
    padding-block: 1.5rem 2.75rem;
  }
  .telechargement-carte {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .telechargement-qr {
    padding-left: 0;
    padding-top: 1rem;
    border-left: 0;
    border-top: 1px solid var(--ligne);
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    text-align: left;
    gap: 0.85rem;
    width: 100%;
  }
  .qr-lien img {
    width: 88px;
    height: 88px;
  }
  .qr-legende {
    max-width: none;
    font-size: var(--t-s);
  }
  .smartphone-vitrine {
    max-width: 272px;
  }
  .smartphone-cadre {
    border-radius: 30px;
    padding: 9px;
  }
  .smartphone-ecran {
    border-radius: 21px;
  }
}

@media (max-width: 22.5rem) {
  .telechargement-actions {
    width: 100%;
  }
  .lien-secondaire-heros {
    width: 100%;
    justify-content: center;
  }
  .smartphone-vitrine {
    max-width: 256px;
  }
}

/* Étiquette / Fiche service (conservée dans la section Confiance & Cadre du service) */
.etiquette {
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  overflow: hidden;
  max-width: 28rem;
  width: 100%;
  justify-self: center;
  font-size: var(--t-s);
  margin: 0;
}
.etiquette__haut {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--nuit);
  color: var(--sur-nuit);
  padding: 0.85rem 1.25rem;
}
.etiquette__marque { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-titre); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
.etiquette__marque img { height: 28px; width: auto; }
.etiquette__type { font-size: var(--t-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sur-nuit-2); font-weight: 600; }
.etiquette__trajet {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1.15rem 1.25rem 0.95rem;
  border-bottom: 1px dashed var(--ligne-forte);
}
.etiquette__point { display: grid; gap: 0.15rem; }
.etiquette__point--fin { text-align: right; }
.etiquette__libelle { font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--encre-2); font-weight: 600; }
.etiquette__valeur { font-family: var(--font-titre); font-weight: 700; color: var(--nuit); }
.etiquette__route { width: 100%; height: 24px; overflow: visible; }
.etiquette__route .trace { stroke: var(--ligne-forte); stroke-width: 2; stroke-dasharray: 4 6; fill: none; }
.etiquette__route .progression { stroke: var(--vert); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 90; }
.etiquette__route .borne { fill: var(--surface); stroke: var(--nuit); stroke-width: 2; }
.etiquette__route .borne--fin { fill: var(--vert); stroke: var(--vert); }
.etiquette__champs { margin: 0; display: grid; }
.etiquette__champ {
  display: grid;
  grid-template-columns: 9.25rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.68rem 1.25rem;
  border-bottom: 1px solid var(--ligne);
}
.etiquette__champ dt { color: var(--encre-2); font-weight: 500; }
.etiquette__champ dd { margin: 0; font-weight: 700; color: var(--nuit); }
.etiquette__champ dd a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.etiquette__champ dd a svg {
  width: 0.9em;
  height: 0.9em;
  flex: none;
}
.etiquette__pied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem 1rem;
}
.code-barres {
  height: 2rem;
  flex: 1;
  max-width: 12rem;
  background:
    repeating-linear-gradient(90deg,
      var(--nuit) 0 2px, transparent 2px 4px,
      var(--nuit) 4px 5px, transparent 5px 8px,
      var(--nuit) 8px 11px, transparent 11px 12px,
      var(--nuit) 12px 13px, transparent 13px 17px);
  opacity: 0.85;
  border-radius: 2px;
}
.etiquette__ref { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: var(--t-xs); color: var(--encre-2); letter-spacing: 0.08em; }
@media (max-width: 26rem) {
  .etiquette__champ { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
}

/* Sections */
.section { padding-block: var(--section); }
.section--blanche { background: var(--surface); border-block: 1px solid var(--ligne); }
.section--nuit { background: var(--nuit); color: var(--sur-nuit-2); }
.section--nuit h2, .section--nuit h3 { color: var(--sur-nuit); }
.section--nuit a:not(.bouton) { color: var(--sur-nuit); }
.entete-section { display: grid; gap: 0.9rem; max-width: 44rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.surtitre {
  font-family: var(--font-titre);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vert-texte);
}
.section--nuit .surtitre { color: var(--vert); }
.chapeau { font-size: var(--t-l); color: var(--encre-2); }
.section--nuit .chapeau { color: var(--sur-nuit-2); }

/* Grille des 3 actions clés (Envoyez un colis / Proposez un trajet / Suivez votre livraison) */
.actions-grille {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 0.75rem + 1.6vw, 1.85rem);
}
@media (max-width: 56rem) {
  .actions-grille {
    grid-template-columns: minmax(0, 1fr);
  }
}
.action-carte {
  background: var(--fond);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  padding: clamp(1.5rem, 1.15rem + 1.2vw, 2rem);
  display: grid;
  gap: 0.9rem;
  align-content: start;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.action-carte:hover {
  border-color: var(--ligne-forte);
  box-shadow: var(--ombre);
}
.action-carte__icone {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--nuit);
  color: var(--vert);
  flex: none;
}
.action-carte__icone svg {
  width: 1.55rem;
  height: 1.55rem;
}
.action-carte h3 {
  font-size: 1.25rem;
  color: var(--nuit);
  margin: 0;
}
.action-carte p {
  color: var(--encre-2);
  font-size: var(--t-m);
  line-height: 1.55;
  margin: 0;
}

/* Accès directs Contact & Informations légales */
.liens-essentiels {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(201, 213, 232, 0.22);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
}
.liens-essentiels a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 213, 232, 0.3);
  color: var(--sur-nuit);
  font-size: var(--t-s);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.liens-essentiels a:hover {
  background: var(--nuit-2);
  border-color: var(--vert);
  color: var(--sur-nuit);
  text-decoration: none;
}

/* Parcours (client / transporteur) */
.parcours-grille {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 0.5rem + 2vw, 2rem);
}
@media (max-width: 48rem) { .parcours-grille { grid-template-columns: minmax(0, 1fr); } }
.parcours {
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  display: grid;
  gap: 1.25rem;
  align-content: start;
}
.section--blanche .parcours { background: var(--fond); }
.parcours__tete { display: flex; align-items: center; gap: 0.9rem; }
.parcours__icone {
  width: 3rem; height: 3rem;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--nuit);
  color: var(--vert);
  flex: none;
}
.parcours__icone svg { width: 1.6rem; height: 1.6rem; }
.parcours__role { font-size: var(--t-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--encre-2); font-weight: 700; }

.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: etape; }
.etapes li {
  counter-increment: etape;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}
.etapes li::before {
  content: counter(etape);
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: var(--t-s);
  background: var(--vert-pale);
  color: var(--vert-texte);
}
.etapes strong { display: block; font-family: var(--font-titre); color: var(--nuit); font-weight: 700; line-height: 1.35; margin-top: 0.3rem; }
.etapes p { color: var(--encre-2); margin-top: 0.2rem; }

/* Blocs d'information */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: start;
}
@media (max-width: 54rem) { .duo { grid-template-columns: minmax(0, 1fr); } }

.colonne-empilee {
  display: grid;
  gap: 1.5rem;
}

.encadre {
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  display: grid;
  gap: 0.75rem;
}
.encadre--vert { background: var(--vert-pale); border-color: var(--vert-bord); }
.encadre h3 { font-size: var(--t-m); }

.liste-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.liste-points li { position: relative; padding-left: 1.5rem; }
.liste-points li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.6em;
  width: 0.5rem; height: 0.5rem;
  border-radius: 2px;
  background: var(--vert);
  transform: rotate(45deg);
}

.fiche { margin: 0; display: grid; border-top: 1px solid var(--ligne); }
.fiche > div {
  display: grid;
  grid-template-columns: minmax(10rem, 0.4fr) minmax(0, 1fr);
  gap: 0.5rem 1.5rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--ligne);
}
.fiche dt { color: var(--encre-2); font-weight: 500; }
.fiche dd { margin: 0; font-weight: 600; color: var(--nuit); overflow-wrap: anywhere; }
@media (max-width: 36rem) { .fiche > div { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; } }

/* Questions fréquentes */
.faq { display: grid; gap: 0.75rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-s);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 3rem 1rem 1.25rem;
  font-family: var(--font-titre);
  font-weight: 700;
  color: var(--nuit);
  position: relative;
  min-height: 3rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 1.35rem;
  width: 0.6rem; height: 0.6rem;
  border-right: 2px solid var(--nuit);
  border-bottom: 2px solid var(--nuit);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); top: 1.6rem; }
.faq details > div { padding: 0 1.25rem 1.1rem; color: var(--encre-2); }

/* Contact */
.carte-contact {
  background: var(--nuit);
  color: var(--sur-nuit-2);
  border-radius: var(--rayon);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  display: grid;
  gap: 1rem;
  justify-items: start;
}
.carte-contact h2 { color: var(--sur-nuit); font-size: var(--t-xl); }
.adresse-mail {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: clamp(1.25rem, 0.9rem + 1.6vw, 1.875rem);
  color: var(--sur-nuit);
  overflow-wrap: anywhere;
  letter-spacing: -0.01em;
}
.carte-contact a.adresse-mail { text-decoration: underline; text-decoration-color: var(--vert); text-decoration-thickness: 2px; }
.carte-contact a.adresse-mail:hover { color: var(--vert); }

/* Pages de texte (légal, confidentialité) */
.page-tete { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.page-tete .conteneur { display: grid; gap: 1rem; }
.page-tete p { color: var(--encre-2); font-size: var(--t-l); max-width: 44rem; }
.texte { max-width: 44rem; }
.texte h2 { font-size: var(--t-xl); margin-top: 2.5rem; margin-bottom: 0.9rem; }
.texte h2:first-child { margin-top: 0; }
.texte h3 { font-size: var(--t-m); margin-top: 1.5rem; margin-bottom: 0.5rem; }
.texte ul { padding-left: 1.2rem; margin: 0.75rem 0; }
.texte li + li { margin-top: 0.35rem; }
.texte .fiche { margin-block: 0.5rem 1rem; }
.maj { font-size: var(--t-s); color: var(--encre-2); margin-top: 2.5rem; }

/* Pied de page */
.pied {
  background: var(--nuit);
  color: var(--sur-nuit-2);
  padding-block: 3rem calc(2rem + env(safe-area-inset-bottom, 0px));
  font-size: var(--t-s);
}
.pied__grille {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
.pied__marque { display: grid; gap: 0.6rem; max-width: 26rem; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
.pied a { color: var(--sur-nuit); text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.5rem; }
.pied a.marque { min-height: 0; }
.pied a:hover { color: var(--vert); text-decoration: underline; }
.pied a svg { width: 0.9em; height: 0.9em; flex: none; }
.pied__bas {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(201, 213, 232, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

/* 404 */
.erreur { padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.erreur .conteneur { display: grid; gap: 1.25rem; justify-items: start; }
.erreur__code { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--vert-texte); font-weight: 700; letter-spacing: 0.1em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .entete, .pied, .bandeau-preview, .boutons { display: none; }
  body { background: #fff; }
}

/* Utilitaires (pas de style en ligne : compatible avec la CSP) */
.lien-suite { margin-top: 2rem; font-weight: 600; }
.entete-section--seule { margin-bottom: 0; }
.boutons--bas { align-self: end; }
.pied__bas p { margin: 0; }
mark.a-confirmer a, .carte-contact mark.a-confirmer a.adresse-mail { color: var(--todo-encre); }

/* Focus sur fond bleu nuit : le bleu de focus n'y atteint pas 3:1, on passe au vert du logo (6,9:1) */
.pied :focus-visible,
.section--nuit :focus-visible,
.carte-contact :focus-visible { outline-color: var(--vert); }
