/* Caserne42 — caserne42.com
 * Mêmes couleurs que l'application : orange d'action #ff5a36 sur bleu-nuit.
 * Aucune ressource externe : la police est servie avec la page. */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --fond: #0a0e14;
  --fond-2: #0d1117;
  --surface: #121821;
  --surface-2: #161d28;
  --trait: rgba(255, 255, 255, 0.07);
  --trait-fort: rgba(255, 255, 255, 0.12);
  --texte: #eef2f7;
  --doux: #a3afc0;
  --pale: #7d8a9c;
  --orange: #ff5a36;
  --orange-doux: #ff8a5c;
  --orange-pale: #ffb99f;
  --encre: #1b0f0a;
  --degrade: linear-gradient(135deg, #ff7a52 0%, #ff5a36 45%, #f0431d 100%);
  --degrade-texte: linear-gradient(100deg, #ffb99f 0%, #ff7048 40%, #ff5a36 70%, #f0431d 100%);
  --rayon: 22px;
  --rayon-sm: 14px;
  --largeur: 1180px;
  --gouttiere: clamp(16px, 4vw, 40px);
  --police: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: rgba(255, 90, 54, 0.35); color: #fff; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 750; letter-spacing: -0.025em; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

:focus-visible {
  outline: 2px solid var(--orange-doux);
  outline-offset: 3px;
  border-radius: 6px;
}

.icone {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.evitement {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--encre);
  font-weight: 700;
  text-decoration: none;
}
.evitement:focus { top: 16px; }

.conteneur {
  width: 100%;
  max-width: calc(var(--largeur) + 2 * var(--gouttiere));
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}
.conteneur--large { max-width: calc(1280px + 2 * var(--gouttiere)); }

.degrade {
  background: var(--degrade-texte);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--orange);
}

/* ---- Marque ------------------------------------------------------------ */
.marque {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
/* Le logo du kit de marque (hexagone et flamme), tel quel : ni ombre ni
   halo ajoutés, le kit l'interdit. Sa marge libre (un quart de la largeur du
   symbole) est déjà tenue par le rang de l'en-tête. */
.marque__logo {
  display: block;
  height: 40px;
  width: auto;
}
/* Le symbole seul, pour les petits espaces. */
.marque__symbole {
  flex: none;
  width: 28px;
  height: 28px;
}
.eparpillement__fin .marque__symbole {
  width: 36px;
  height: 36px;
}

/* ---- Boutons ----------------------------------------------------------- */
.bouton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--degrade);
  color: var(--encre);
  font-weight: 650;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(255, 90, 54, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s;
}
.bouton:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px -12px rgba(255, 90, 54, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.bouton--fantome {
  background: rgba(255, 255, 255, 0.03);
  color: var(--texte);
  border-color: var(--trait-fort);
  box-shadow: none;
}
.bouton--fantome:hover {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}
.bouton--petit { padding: 9px 18px; font-size: 14px; }

/* ---- En-tête ----------------------------------------------------------- */
.entete {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.entete--defile {
  background: rgba(10, 14, 20, 0.72);
  border-bottom-color: var(--trait);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
}
.entete__rang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.nav {
  display: flex;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 500;
}
.nav a {
  color: var(--doux);
  text-decoration: none;
  transition: color 0.2s;
}
.nav a:hover { color: var(--texte); }
.entete__actions { display: flex; align-items: center; gap: 8px; }
/* « Démo » rejoint « Nous joindre » quand le menu disparaît, sur les petits écrans. */
.entete__demo { display: none; }

/* ---- Héros ------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 168px 0 40px;
  isolation: isolate;
}
.hero__fond {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255, 90, 54, 0.16), transparent 70%),
    radial-gradient(40% 35% at 85% 10%, rgba(102, 179, 255, 0.06), transparent 70%);
}
.hero__fond::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%);
}
.hero__texte {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pastille {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 90, 54, 0.25);
  background: rgba(255, 90, 54, 0.06);
  color: var(--orange-pale);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.01em;
}
.pastille__point {
  /* Sans `flex: none`, le point se comprime quand la pastille passe sur deux lignes. */
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 90, 54, 0.18);
}
.hero__titre {
  margin-top: 28px;
  font-size: clamp(44px, 7.4vw, 92px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.hero__chapeau {
  max-width: 760px;
  margin-top: 28px;
  color: var(--doux);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.hero__signature {
  margin-top: 28px;
  color: var(--pale);
  font-size: 14px;
}
.hero__signature a {
  color: var(--doux);
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 3px;
}
.hero__signature a:hover { color: var(--texte); }

.scene {
  position: relative;
  margin-top: 80px;
}
.scene::before {
  content: '';
  position: absolute;
  inset: 8% 12% -4%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 90, 54, 0.32), transparent);
  filter: blur(50px);
}

/* ---- Cadres de capture ------------------------------------------------- */
.cadre {
  position: relative;
  padding: 7px;
  border-radius: var(--rayon);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025) 60%);
  box-shadow:
    0 50px 100px -30px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}
.cadre img {
  width: 100%;
  border-radius: calc(var(--rayon) - 7px);
  cursor: zoom-in;
}
.cadre--hero {
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}

/* ---- Sections ---------------------------------------------------------- */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section + .section { border-top: 1px solid var(--trait); }

.surtitre {
  color: var(--orange-doux);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.titre {
  margin-top: 16px;
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.titre--grand { font-size: clamp(38px, 6vw, 76px); }
.sous-titre {
  margin-top: 20px;
  max-width: 640px;
  color: var(--doux);
  font-size: clamp(16px, 1.4vw, 19px);
}
.entete-section {
  max-width: 820px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.texte {
  margin-top: 28px;
  color: var(--doux);
  font-size: 18px;
}
.texte p + p { margin-top: 18px; }

/* ---- Le constat -------------------------------------------------------- */
.deux-colonnes {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.eparpillement {
  border-left: 1px solid var(--trait-fort);
  padding-left: clamp(24px, 3vw, 44px);
}
.eparpillement li {
  position: relative;
  width: fit-content;
  padding: 10px 0;
  color: var(--pale);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
}
.eparpillement li:not(.eparpillement__fin)::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  top: 52%;
  height: 1.5px;
  background: rgba(255, 90, 54, 0.55);
  transform-origin: left;
}
.eparpillement .eparpillement__fin {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 22px;
  color: var(--texte);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 750;
  letter-spacing: -0.03em;
}

/* ---- Moins de saisie -------------------------------------------------- */
.chaine {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.maillon {
  position: relative;
  padding: 28px 24px 30px;
  border-radius: var(--rayon);
  border: 1px solid var(--trait);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(18, 24, 33, 0.4) 100%);
}
/* L'approbation humaine : le maillon que la plateforme ne délègue jamais. */
.maillon--humain {
  border-color: rgba(255, 90, 54, 0.32);
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(255, 90, 54, 0.12), transparent 70%),
    linear-gradient(180deg, var(--surface) 0%, var(--fond-2) 100%);
}
/* Une flèche entre deux maillons, à la hauteur des numéros. */
.maillon:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 37px;
  right: -20px;
  z-index: 1;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a5c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.maillon__num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 90, 54, 0.25);
  background: rgba(255, 90, 54, 0.08);
  color: var(--orange-doux);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.maillon__etiquette {
  margin-top: 20px;
  color: var(--orange-doux);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.maillon h3 {
  margin-top: 10px;
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.maillon > p:not(.maillon__etiquette) {
  margin-top: 12px;
  color: var(--doux);
  font-size: 15px;
  line-height: 1.55;
}
.maillon ul {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.maillon ul li {
  position: relative;
  padding-left: 16px;
  color: var(--texte);
  font-size: 14.5px;
  line-height: 1.45;
}
.maillon ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* ---- Plateforme ------------------------------------------------------- */
/* Une plateforme, pas un logiciel en boîte. */
.adaptation {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.adaptation__texte h3 {
  font-size: clamp(26px, 2.7vw, 36px);
  letter-spacing: -0.03em;
}
.adaptation__texte > p {
  margin-top: 18px;
  color: var(--doux);
}
.etapes {
  display: grid;
  gap: 18px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: etape;
}
.etapes li {
  position: relative;
  padding-left: 54px;
  color: var(--doux);
  font-size: 15.5px;
  line-height: 1.55;
  counter-increment: etape;
}
.etapes li::before {
  content: counter(etape, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 90, 54, 0.25);
  background: rgba(255, 90, 54, 0.08);
  color: var(--orange-doux);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.etapes strong {
  display: block;
  color: var(--texte);
  font-weight: 650;
}
.adaptation__reglages {
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--rayon);
  border: 1px solid rgba(255, 90, 54, 0.22);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(255, 90, 54, 0.09), transparent 70%),
    var(--fond-2);
}
.adaptation__titre {
  color: var(--orange-doux);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.adaptation__reglages .coches { margin-top: 22px; }
.adaptation__note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--trait);
  color: var(--pale);
  font-size: 14.5px;
}

/* Les chiffres : le nombre au-dessus, son libellé dessous. */
.chiffres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  border-radius: var(--rayon);
  border: 1px solid var(--trait);
  background: var(--trait);
  overflow: hidden;
}
.chiffre {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding: clamp(22px, 3vw, 32px) clamp(24px, 3vw, 36px);
  background: var(--fond);
}
.chiffre dd {
  margin: 0;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--degrade-texte);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--orange);
}
.chiffre dt {
  color: var(--doux);
  font-size: 15px;
}

/* Une famille : sa tête à gauche, qui suit le défilement, ses modules à droite. */
.famille-bloc {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(48px, 6vw, 72px) 0 0;
}
.famille-bloc + .famille-bloc {
  margin-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--trait);
}
.famille-bloc__tete {
  position: sticky;
  top: 104px;
  align-self: start;
}
.famille__icone {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid rgba(255, 90, 54, 0.25);
  background: rgba(255, 90, 54, 0.08);
  color: var(--orange-doux);
  font-size: 20px;
}
.famille-bloc__tete h3 {
  margin-top: 20px;
  font-size: 24px;
}
.famille__devise {
  margin-top: 6px;
  color: var(--pale);
  font-size: 15px;
}
.famille-bloc__compte {
  margin-top: 14px;
  color: var(--orange-doux);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.module {
  display: flex;
  gap: 14px;
  padding: 20px 20px 22px;
  border-radius: var(--rayon-sm);
  border: 1px solid var(--trait);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(18, 24, 33, 0.4) 100%);
  transition: border-color 0.3s;
}
.module:hover { border-color: rgba(255, 90, 54, 0.3); }
.module__icone {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--trait);
  background: rgba(255, 255, 255, 0.05);
  color: var(--doux);
  transition: color 0.3s;
}
.module:hover .module__icone { color: var(--orange-doux); }
.module__svg {
  width: 20px;
  height: 20px;
}
.module__corps { min-width: 0; }
.module h4 {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.module__corps > p {
  margin-top: 6px;
  color: var(--doux);
  font-size: 14.5px;
  line-height: 1.5;
}
.sous-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.sous-modules li {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--trait-fort);
  color: var(--doux);
  font-size: 12.5px;
  line-height: 1.5;
}
.famille-bloc__note {
  margin-top: 18px;
  color: var(--pale);
  font-size: 14.5px;
}
.famille-bloc__note strong {
  color: var(--doux);
  font-weight: 600;
}

/* Ce qui traverse tous les modules. */
.partout {
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--trait);
}
.partout__grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin-top: 28px;
}
.partout__item .icone {
  width: 24px;
  height: 24px;
  color: var(--orange-doux);
}
.partout__item h4 {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.partout__item p {
  margin-top: 8px;
  color: var(--doux);
  font-size: 14.5px;
}

/* ---- Vitrine ----------------------------------------------------------- */
.vitrine {
  display: grid;
  gap: clamp(72px, 10vw, 140px);
}
.vitrine__rang {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.vitrine__rang--inverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.vitrine__rang--inverse .cadre { order: 2; }
.vitrine__etiquette {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--orange-doux);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.vitrine__etiquette span {
  color: var(--pale);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.vitrine__texte h3 {
  margin-top: 16px;
  font-size: clamp(26px, 2.7vw, 36px);
  letter-spacing: -0.03em;
}
.vitrine__texte > p:not(.vitrine__etiquette) {
  margin-top: 18px;
  color: var(--doux);
}
.coches {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}
.coches li {
  position: relative;
  padding-left: 30px;
  color: var(--texte);
  font-size: 15.5px;
  line-height: 1.5;
}
.coches li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a5c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat,
    rgba(255, 90, 54, 0.12);
}

/* ---- Obligations ------------------------------------------------------- */
.obligations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-radius: var(--rayon);
  border: 1px solid var(--trait);
  background: var(--trait);
  overflow: hidden;
}
.obligation {
  padding: clamp(28px, 3vw, 40px);
  background: var(--fond);
  transition: background-color 0.3s;
}
.obligation:hover { background: var(--fond-2); }
.obligation__code {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--trait-fort);
  color: var(--doux);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.obligation h3 {
  margin-top: 22px;
  font-size: 20px;
}
.obligation p:not(.obligation__code) {
  margin-top: 10px;
  color: var(--doux);
  font-size: 15.5px;
}

/* ---- Principes --------------------------------------------------------- */
.citation {
  margin: 0 auto;
  max-width: 980px;
  text-align: center;
}
.citation__texte {
  margin-top: 24px;
  font-size: clamp(30px, 4.6vw, 60px);
  font-weight: 760;
  letter-spacing: -0.038em;
  line-height: 1.08;
}
.citation__suite {
  max-width: 660px;
  margin: 28px auto 0;
  color: var(--doux);
  font-size: clamp(16px, 1.4vw, 18.5px);
}
.principes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px);
  margin-top: clamp(64px, 8vw, 110px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--trait);
}
.principe .icone {
  width: 26px;
  height: 26px;
  color: var(--orange-doux);
}
.principe h3 {
  margin-top: 20px;
  font-size: 20px;
}
.principe p {
  margin-top: 10px;
  color: var(--doux);
  font-size: 15.5px;
}

/* ---- Tarifs ----------------------------------------------------------- */
.arguments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.argument .icone {
  width: 26px;
  height: 26px;
  color: var(--orange-doux);
}
.argument h3 {
  margin-top: 20px;
  font-size: 20px;
}
.argument p {
  margin-top: 10px;
  color: var(--doux);
  font-size: 15.5px;
}
.forfaits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.forfait {
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--rayon);
  border: 1px solid var(--trait);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(18, 24, 33, 0.4) 100%);
}
.forfait--annuel {
  border-color: rgba(255, 90, 54, 0.3);
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(255, 90, 54, 0.12), transparent 65%),
    linear-gradient(180deg, var(--surface) 0%, var(--fond-2) 100%);
}
.forfait__rythme {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 90, 54, 0.3);
  background: rgba(255, 90, 54, 0.08);
  color: var(--orange-pale);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.forfait h3 {
  margin-top: 20px;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.03em;
}
.forfait__base {
  margin-top: 10px;
  color: var(--doux);
}
.forfait .coches {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--trait);
}
.options { margin-top: clamp(48px, 6vw, 72px); }
.options__grille {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.option {
  padding: 24px 22px 26px;
  border-radius: var(--rayon-sm);
  border: 1px solid var(--trait);
  background: var(--fond-2);
}
.option .icone {
  width: 24px;
  height: 24px;
  color: var(--orange-doux);
}
.option h4 {
  margin-top: 16px;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.option p {
  margin-top: 8px;
  color: var(--doux);
  font-size: 14.5px;
}
.option a {
  color: var(--orange-doux);
  text-underline-offset: 3px;
}
.tarifs__appel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: clamp(40px, 5vw, 56px);
  padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 40px);
  border-radius: var(--rayon);
  border: 1px solid var(--trait-fort);
  background: var(--fond-2);
}
.tarifs__appel p {
  max-width: 640px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

/* ---- Sur mesure -------------------------------------------------------- */
.mesure {
  display: grid;
  gap: 16px;
}
.mesure__vedette,
.mesure__carte {
  border-radius: var(--rayon);
  border: 1px solid var(--trait);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(18, 24, 33, 0.4) 100%);
}
.mesure__vedette {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 4.5vw, 56px);
  border-color: rgba(255, 90, 54, 0.22);
  background:
    radial-gradient(70% 90% at 85% 30%, rgba(255, 90, 54, 0.1), transparent 65%),
    linear-gradient(180deg, var(--surface) 0%, var(--fond-2) 100%);
  isolation: isolate;
}
.mesure__paire {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.mesure__carte {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.5vw, 44px);
  transition: border-color 0.3s;
}
.mesure__carte:hover { border-color: rgba(255, 90, 54, 0.3); }
.mesure h3 {
  margin-top: 16px;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.03em;
}
.mesure__devise {
  margin-top: 8px;
  color: var(--orange-pale);
  font-size: 16px;
  font-weight: 550;
}
.mesure__texte > p:not(.vitrine__etiquette, .mesure__devise, .mesure__note),
.mesure__carte > p:not(.vitrine__etiquette, .mesure__devise) {
  margin-top: 18px;
  color: var(--doux);
}
.mesure__texte > p:not(.vitrine__etiquette, .mesure__devise, .mesure__note) + p { margin-top: 12px; }
.mesure__carte .coches { margin-bottom: 30px; }
.mesure__note {
  margin-top: 24px;
  padding-left: 14px;
  border-left: 2px solid rgba(255, 90, 54, 0.4);
  color: var(--pale);
  font-size: 14.5px;
}
.mesure__illustration {
  position: relative;
}
.mesure__illustration::before {
  content: '';
  position: absolute;
  inset: 10% 6% 0;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 90, 54, 0.22), transparent);
  filter: blur(40px);
}
.mesure__illustration img {
  width: 100%;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55));
}
.mesure__illustration figcaption {
  margin-top: 14px;
  color: var(--pale);
  font-size: 13px;
  text-align: center;
}
/* En ligne, pour que la flèche suive le dernier mot quand le lien passe à la ligne. */
.lien-fleche {
  display: inline-block;
  width: fit-content;
  margin-top: 30px;
  color: var(--orange-doux);
  font-size: 15.5px;
  font-weight: 650;
  text-decoration: none;
}
.mesure__carte .lien-fleche { margin-top: auto; }
.insecable { white-space: nowrap; }
.lien-fleche .icone {
  margin-left: 6px;
  vertical-align: -0.2em;
  transition: transform 0.25s var(--ease);
}
.lien-fleche:hover { color: var(--orange-pale); }
.lien-fleche:hover .icone { transform: translateX(3px); }

/* ---- Contact ----------------------------------------------------------- */
.section--contact { padding-bottom: clamp(80px, 9vw, 120px); }
.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 80px);
  border-radius: 32px;
  border: 1px solid rgba(255, 90, 54, 0.22);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(255, 90, 54, 0.14), transparent 60%),
    var(--fond-2);
  text-align: center;
  isolation: isolate;
}
.contact__lueur {
  position: absolute;
  inset: auto 20% -40% 20%;
  height: 60%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 90, 54, 0.25), transparent);
  filter: blur(40px);
}
.contact .sous-titre { margin-left: auto; margin-right: auto; }
.contact__titre {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
/* Deux cases, comme sur boreal42.com : le courriel, et où nous trouver. */
.contact__cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 820px;
  margin: 44px auto 0;
}
.contact__case {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(28px, 4vw, 40px) 24px;
  border-radius: 28px;
  border: 1px solid var(--trait);
  background: rgba(255, 255, 255, 0.025);
  color: var(--texte);
  text-decoration: none;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
a.contact__case:hover {
  border-color: rgba(255, 90, 54, 0.35);
  transform: translateY(-2px);
}
.contact__picto {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 22px;
  border-radius: 22px;
  background: rgba(255, 90, 54, 0.1);
  color: var(--orange-doux);
  font-size: 28px;
  transition: transform 0.3s var(--ease);
}
a.contact__case:hover .contact__picto { transform: scale(1.08); }
.contact__etiquette {
  color: var(--pale);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.contact__valeur {
  margin-top: 8px;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

/* ---- Pied -------------------------------------------------------------- */
.pied {
  border-top: 1px solid var(--trait);
  padding: 36px 0 44px;
}
.pied__rang {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.pied__marque {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--doux);
  font-size: 15px;
}
.pied__marque strong { color: var(--texte); font-weight: 650; }
.pied__marque a {
  color: var(--texte);
  text-decoration-color: rgba(255, 90, 54, 0.6);
  text-underline-offset: 3px;
}
.pied__note {
  color: var(--pale);
  font-size: 13.5px;
}

/* ---- Visionneuse ------------------------------------------------------- */
.visionneuse {
  width: min(96vw, 1600px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 1px solid var(--trait-fort);
  border-radius: 18px;
  background: var(--fond-2);
  overflow: hidden;
}
.visionneuse::backdrop {
  background: rgba(5, 7, 10, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.visionneuse img {
  width: 100%;
  height: auto;
  max-height: 94vh;
  object-fit: contain;
  cursor: zoom-out;
}
.visionneuse__fermer {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--trait-fort);
  background: rgba(10, 14, 20, 0.8);
  color: var(--texte);
  font-size: 18px;
  cursor: pointer;
}

/* ---- Apparition au défilement (seulement si le script tourne) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js [data-reveal].vu {
  opacity: 1;
  transform: none;
}
.js .eparpillement li:not(.eparpillement__fin)::after {
  transform: scaleX(0);
  transition: transform 0.7s var(--ease);
}
.js .eparpillement.vu li:not(.eparpillement__fin)::after { transform: scaleX(1); }
.js .eparpillement.vu li:nth-child(2)::after { transition-delay: 0.12s; }
.js .eparpillement.vu li:nth-child(3)::after { transition-delay: 0.24s; }
.js .eparpillement.vu li:nth-child(4)::after { transition-delay: 0.36s; }
.js .eparpillement.vu li:nth-child(5)::after { transition-delay: 0.48s; }
.js .eparpillement.vu li:nth-child(6)::after { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .eparpillement li::after { transform: none !important; transition: none !important; }
  .bouton, .module, .module__icone, .contact__case, .contact__picto { transition: none; }
  .lien-fleche .icone { transition: none; }
}

/* ---- Écrans moyens et petits ------------------------------------------ */
@media (max-width: 1080px) {
  .famille-bloc { grid-template-columns: 1fr; }
  .chaine { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .maillon:not(:last-child)::after { display: none; }
  .famille-bloc__tete { position: static; }
  .partout__grille,
  .options__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { gap: 22px; }
  .obligations { grid-template-columns: repeat(2, 1fr); }
}

/* Sept liens : on les resserre avant que le menu ne passe sur deux lignes. */
@media (max-width: 1000px) {
  .nav { gap: 16px; font-size: 14px; }
  .nav a { white-space: nowrap; }
}

@media (max-width: 880px) {
  .nav { display: none; }
  .entete__demo { display: inline-flex; }
  .deux-colonnes,
  .vitrine__rang,
  .vitrine__rang--inverse { grid-template-columns: 1fr; }
  .vitrine__rang--inverse .cadre { order: 0; }
  .principes { grid-template-columns: 1fr; }
  .adaptation,
  .arguments,
  .forfaits { grid-template-columns: 1fr; }
  .mesure__vedette,
  .mesure__paire { grid-template-columns: 1fr; }
  .mesure__illustration { order: -1; }
  .hero { padding-top: 132px; }
  .scene { margin-top: 56px; }
}

/* Très petits écrans : le héros porte déjà « Nous joindre », l'en-tête garde « Démo ». */
@media (max-width: 370px) {
  .entete__actions .bouton:not(.entete__demo) { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .obligations,
  .chaine,
  .modules,
  .partout__grille,
  .options__grille,
  .chiffres { grid-template-columns: 1fr; }
  .chiffre { flex-direction: row-reverse; align-items: center; gap: 16px; }
  .chiffre dd { min-width: 64px; }
  /* L'icône à côté du titre : la description et les sous-modules prennent toute la largeur. */
  .module {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0 12px;
    align-items: center;
    padding: 16px 16px 18px;
  }
  .module__corps { display: contents; }
  .module__icone { width: 34px; height: 34px; border-radius: 10px; }
  .module__corps > p,
  .sous-modules { grid-column: 1 / -1; }
  .module__corps > p { margin-top: 10px; }
  .sous-modules { margin-top: 12px; gap: 5px; }
  .sous-modules li { padding: 2px 9px; font-size: 12px; }
  .cadre { padding: 4px; border-radius: 14px; }
  .cadre img { border-radius: 10px; }
  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__actions .bouton { justify-content: center; }
  .tarifs__appel .bouton { width: 100%; justify-content: center; }
  .contact__cases { grid-template-columns: 1fr; }
  .pied__rang { flex-direction: column; align-items: flex-start; }
  .marque__logo { height: 34px; }
}
