/* =========================================================
   LgMetric — maquette « vert nuit »
   Couleurs tirées du logo (forêt / sauge) et des applis (menthe)
   ========================================================= */
/* Polices hébergées sur le site (Geist, licence OFL : assets/fonts/OFL.txt) */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(assets/fonts/geist-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(assets/fonts/geist-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(assets/fonts/geist-mono-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(assets/fonts/geist-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --night: #070b0a;
  --night-2: #0b1210;
  --panel: #0f1815;
  --line: rgba(233, 239, 236, 0.09);
  --text: #e9efec;
  --muted: #98a6a0;
  --faint: #5f6d67;

  --forest: #39473c;
  --sage: #596e5d;
  --mint: #25d09d;
  --mint-soft: #7ff0c8;

  --paper: #f5f8f6;
  --paper-2: #ffffff;
  --ink: #0f1a16;
  --ink-muted: #56635d;
  --ink-line: rgba(15, 26, 22, 0.09);
  --green-deep: #1a9e74;

  --sans: 'Geist', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', monospace;

  --wrap: 1240px;
  --footer-h: 7rem; /* hauteur du pied de page (mesurée : 111 px) */
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: rgba(37, 208, 157, 0.3); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Mots mis en valeur : couleur seule, sans italique */
em { font-style: normal; }

.kicker {
  margin: 0 0 1.2rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
}

h2 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
h2 em { color: var(--mint-soft); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.4rem;
  border: 0;
  border-radius: 999px;
  font: 500 0.95rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background-color 0.25s;
}
.btn:hover { transform: translateY(-1px); }
.btn--mint {
  background: var(--mint);
  color: #04140f;
  box-shadow: 0 0 0 1px rgba(127, 240, 200, 0.4) inset, 0 12px 32px -12px rgba(37, 208, 157, 0.7);
}
.btn--mint:hover { box-shadow: 0 0 0 1px rgba(127, 240, 200, 0.6) inset, 0 16px 40px -10px rgba(37, 208, 157, 0.85); }
.btn--glass {
  background: rgba(233, 239, 236, 0.06);
  color: var(--text);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(233, 239, 236, 0.1); }
.btn--sm { padding: 0.62rem 1.05rem; font-size: 0.85rem; white-space: nowrap; }

/* ---------- En-tête ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 1rem var(--gutter); transition: padding 0.3s; }
.header__bar {
  max-width: var(--wrap);
  margin: 0 auto;
  /* Logo | menu centré | actions : le menu ne bouge pas quand le bouton de chiffrage apparaît */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  /* À droite, même marge qu'en haut et en bas du bouton : les deux arrondis sont concentriques
     = 0.5rem + (hauteur du logo 3.15rem − hauteur du bouton 2.29rem) / 2 */
  padding: 0.5rem 0.93rem 0.5rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.header.is-scrolled { padding-top: 0.6rem; }
.header.is-scrolled .header__bar {
  background: rgba(11, 18, 16, 0.72);
  border-color: var(--line);
  backdrop-filter: blur(16px) saturate(1.3);
}
/* Au-dessus d'une section blanche : barre claire, le logo garde ses couleurs et reste lisible */
.header.is-light .header__bar {
  /* Même transparence et même flou que la barre sombre : on devine le contenu au travers */
  background: rgba(255, 255, 255, 0.62);
  border-color: var(--ink-line);
  box-shadow: 0 10px 30px -18px rgba(15, 26, 22, 0.35);
  backdrop-filter: blur(16px) saturate(1.3);
}
.header.is-light .nav a { color: var(--ink-muted); }
.header.is-light .nav a:hover { color: var(--ink); }
.nav a { transition: color 0.3s; }
.header .btn--sm { padding: 0.72rem 1.2rem; }
.logo { justify-self: start; }
.header__actions { justify-self: end; display: flex; align-items: center; }
.header__bar { position: relative; }
/* Bouton menu : seulement sur tablette et téléphone (le menu est masqué sous 860 px) */
.header__menu { display: none; }
.header__menu svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; overflow: visible; }
.header__menu path { transition: transform 0.3s var(--ease), opacity 0.2s; transform-box: fill-box; transform-origin: center; }
.header.menu-open .header__menu .l1 { transform: translateY(3.5px) rotate(45deg); }
.header.menu-open .header__menu .l2 { opacity: 0; }
.header.menu-open .header__menu .l3 { transform: translateY(-3.5px) rotate(-45deg); }
.header.is-light .header__menu { color: var(--ink); border-color: var(--ink-line); background: rgba(15, 26, 22, 0.04); }

/* Espace client : toujours visible, discret (contour fin + cadenas) */
.header .header__client { padding: calc(0.72rem - 1px) calc(1.2rem - 1px); } /* bordure 1 px : même hauteur que le bouton vert */
/* Espace client pas encore en ligne : visible, mais inactif (pas de survol ni de clic) */
.header__client.is-soon { cursor: default; }
.header__client.is-soon:hover { transform: none; background: rgba(233, 239, 236, 0.06); }
.header.is-light .header__client.is-soon:hover { background: rgba(15, 26, 22, 0.04); }
.header__client svg { width: 1em; height: 1em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.header.is-light .header__client { color: var(--ink); border-color: var(--ink-line); background: rgba(15, 26, 22, 0.04); }
.header.is-light .header__client:hover { background: rgba(15, 26, 22, 0.08); }

.header__cta-short { display: none; }
/* Votre projet : replié sur le premier écran (le bouton du hero suffit),
   se déplie à côté de l'Espace client au défilement */
.header__cta {
  margin-left: 0.6rem;
  max-width: 16rem;
  overflow: hidden;
  transition: max-width 0.55s var(--ease), padding 0.55s var(--ease), margin 0.55s var(--ease),
    opacity 0.4s var(--ease) 0.1s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.js .header:not(.has-cta) .header__cta {
  max-width: 0;
  margin-left: 0;
  padding-left: 0;
  padding-right: 0;
  opacity: 0;
  visibility: hidden;
  transition: max-width 0.55s var(--ease), padding 0.55s var(--ease), margin 0.55s var(--ease),
    opacity 0.25s var(--ease), visibility 0s 0.55s;
}
.header__bar { transition: background-color 0.35s, border-color 0.35s, box-shadow 0.35s; }
.logo {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.4rem;
}
.logo img { height: 2.75rem; width: auto; }
.logo--sm img { height: 2rem; }
.nav { display: flex; gap: 2rem; font-size: 0.92rem; }
.nav a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
/* Tour + étiquettes : derrière le premier écran, à droite du texte (placement calculé par hero.js) */
.hero__visual { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Pas assez de place à droite : le texte d'abord, la tour dessous dans un espace réservé */
.hero.hero--stack { flex-direction: column; align-items: stretch; }
.hero--stack .hero__content { order: 1; padding-bottom: 0.5rem; }
.hero--stack .hero__visual { order: 2; position: relative; inset: auto; flex: none; height: clamp(360px, 64svh, 620px); }
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 70% at 72% 55%, rgba(37, 208, 157, 0.13), transparent 70%),
    radial-gradient(40% 40% at 10% 10%, rgba(89, 110, 93, 0.25), transparent 70%),
    linear-gradient(to bottom, var(--night) 0%, var(--night-2) 100%);
}
.no-webgl .hero__glow {
  background:
    radial-gradient(50% 60% at 72% 55%, rgba(37, 208, 157, 0.22), transparent 70%),
    linear-gradient(to bottom, var(--night), var(--night-2));
}
.hero__content { position: relative; width: 100%; padding-top: 7rem; padding-bottom: 6rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.45rem 0.95rem 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(233, 239, 236, 0.04);
  font-size: 0.82rem;
  color: var(--muted);
  backdrop-filter: blur(8px);
}
/* La pastille est le titre principal (h1) pour Google : même apparence qu'un paragraphe */
h1.pill { font-weight: 400; line-height: normal; }
.pill__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
}
.hero__title {
  margin: 1.6rem 0 0;
  max-width: 13ch;
  font-weight: 500;
  font-size: clamp(2.5rem, 5.6vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.hero__title em { color: var(--mint-soft); }
.hero__lead { margin: 1.8rem 0 0; max-width: 31rem; font-size: 1.12rem; color: var(--muted); line-height: 1.6; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2.2rem; }

/* Étiquettes de métré accrochées au bâtiment */
.hero__tags { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.tag {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  will-change: transform;
}
.tag.is-on { opacity: 1; }
.tag--left { flex-direction: row-reverse; }
.tag--left .tag__line { background: linear-gradient(270deg, var(--mint-soft), rgba(127, 240, 200, 0.2)); }
.tag__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint-soft); box-shadow: 0 0 10px var(--mint); flex: none; }
.tag__line { width: 2.6rem; height: 1px; background: linear-gradient(90deg, var(--mint-soft), rgba(127, 240, 200, 0.2)); flex: none; }
.tag__text {
  padding: 0.38rem 0.7rem;
  border: 1px solid rgba(127, 240, 200, 0.25);
  border-radius: 8px;
  background: rgba(7, 11, 10, 0.6);
  backdrop-filter: blur(8px);
  font: 500 0.72rem var(--mono);
  color: var(--text);
  white-space: nowrap;
}
.tag__text b { color: var(--mint-soft); font-weight: 500; }

/* ---------- Chiffres (premier écran, version compacte) ---------- */
/* Visibles dès l'arrivée, même pour qui navigue directement par le menu */
.hero__facts {
  display: flex;
  gap: 1rem 2.4rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  width: fit-content;
}
.hero__facts .fact {
  display: grid;
  grid-template-columns: 2.5rem auto;
  column-gap: 0.75rem;
  align-items: center;
  justify-items: start;
  text-align: left;
}
.hero__facts .fact svg { width: 2.5rem; height: 2.5rem; grid-row: 1 / span 2; }
.hero__facts .fact circle { stroke-width: 4; }
.hero__facts .fact .fact__arc { stroke-width: 7; }
.hero__facts .fact strong { position: static; font-size: 1.35rem; line-height: 1.1; transform-origin: left center; white-space: nowrap; } /* « 197 450 » ne se coupe jamais */
.js .hero__facts .fact strong { transform: scale(0.92); }
.js .hero__facts .fact.is-in strong { transform: none; }
.hero__facts .fact strong small { display: inline; margin: 0 0 0 0.25em; font-size: 0.6em; color: var(--muted); }
.hero__facts .fact span { margin: 0.15rem 0 0; max-width: 8.5rem; font-size: 0.74rem; line-height: 1.3; }
/* Écrans moins larges : 2 × 2, pour ne pas mordre sur le pied de la tour */
@media (max-width: 1300px) {
  .hero__facts { display: grid; grid-template-columns: repeat(2, max-content); }
}
/* Portables peu hauts (1366 × 657…) : marges resserrées pour que les chiffres respirent dans l'écran */
@media (min-width: 861px) and (max-height: 780px) {
  .hero__content { padding-top: 5.25rem; padding-bottom: 1.5rem; }
  .hero__facts { margin-top: 1.9rem; padding-top: 1.1rem; }
  .hero__proof .types { margin-top: 0.9rem; }
  .hero__avg { margin-top: 0.55rem; }
  .hero__proof .hero__avg + .types { margin-top: 0.6rem; }
  .hero__title { margin-top: 1.3rem; }
}

/* Chiffres + bande des types d'ouvrages juste dessous, de la même largeur */
.hero__proof { width: fit-content; max-width: 100%; }
.hero__facts { width: auto; }
/* La bande prend la largeur des chiffres sans l'élargir (sa liste est bien plus longue) */
.hero__proof .types { width: 0; min-width: 100%; margin: 1.1rem 0 0; max-width: none; }
.hero__proof .types__track li { font-size: 0.72rem; }
/* Moyenne par projet, sous les chiffres */
.hero__avg { margin: 0.75rem 0 0; font: 0.74rem var(--mono); letter-spacing: 0.02em; color: var(--muted); }
.hero__proof .hero__avg + .types { margin-top: 0.8rem; }
/* Glissement lent qui ne démarre qu'une fois les chiffres arrivés (≈ 2,7 s) :
   les animations s'enchaînent, la tour reste le seul mouvement marquant */
.hero__proof .types__track { animation-duration: 80s; animation-delay: 2.8s; }
/* 4 chiffres sur une ligne ; sur petit écran, 2 + 2 */
.facts__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 1.5rem; max-width: 76rem; margin: 0 auto; }
.facts__grid > .fact { flex: 1 1 0; min-width: 10rem; }
/* Types d'ouvrages : bande qui défile doucement, sans chiffres */
.types {
  display: flex;
  overflow: hidden;
  margin: 3.2rem auto 0;
  max-width: 64rem;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.types__track {
  display: flex;
  flex: none;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: types-scroll 38s linear infinite;
}
.types:hover .types__track { animation-play-state: paused; }
.types__track li {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font: 500 0.8rem var(--mono);
  letter-spacing: 0.04em;
  color: var(--muted);
}
.types__track li::after {
  content: '';
  width: 4px;
  height: 4px;
  margin: 0 1.3rem;
  border-radius: 50%;
  background: var(--mint);
}
@keyframes types-scroll { to { transform: translateX(-100%); } }
.fact { position: relative; display: grid; justify-items: center; text-align: center; }
.fact svg { width: 9.5rem; height: 9.5rem; transform: rotate(-90deg); }
.fact circle { fill: none; stroke: var(--line); stroke-width: 1; }
.fact .fact__arc {
  stroke: var(--mint);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 352;
  stroke-dashoffset: 352;
  transition: stroke-dashoffset 1.8s var(--ease) calc(var(--d, 0s) + 0.2s);
}
.fact.is-in .fact__arc, html:not(.js) .fact__arc { stroke-dashoffset: calc(352 - 352 * var(--p)); }
.fact strong {
  position: absolute;
  top: 4.75rem;
  transform: translateY(-50%);
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: -0.03em;
}
.fact strong { font-variant-numeric: tabular-nums; }
/* Chiffres : sortent du flou en montant, puis un léger éclat menthe à l'arrivée */
.js .fact strong {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(-50%) scale(0.9);
  transition:
    opacity 0.7s var(--ease) calc(var(--d, 0s) + 0.2s),
    filter 1.3s var(--ease) calc(var(--d, 0s) + 0.2s),
    transform 1.6s var(--ease) calc(var(--d, 0s) + 0.2s);
}
.js .fact.is-in strong { opacity: 1; filter: none; transform: translateY(-50%); }
.fact.is-done strong { animation: fact-glow 1.2s ease-out; }
@keyframes fact-glow {
  25% { color: var(--mint-soft); text-shadow: 0 0 18px rgba(37, 208, 157, 0.55); }
  to { text-shadow: 0 0 0 rgba(37, 208, 157, 0); }
}
.fact strong small { display: block; margin-top: 0.1em; font-size: 0.45em; line-height: 1; letter-spacing: 0; color: var(--muted); }
.fact span { margin-top: 1.1rem; max-width: 13rem; font-size: 0.88rem; color: var(--muted); }

/* ---------- Sections claires ---------- */
.light { background: var(--paper); color: var(--ink); }
.light h2 em { color: var(--green-deep); }
.light .kicker { color: var(--green-deep); }
.head { max-width: 46rem; }

.prestations { padding: clamp(5rem, 11vw, 9rem) 0; }
.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3.5rem;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  border-radius: 22px;
  overflow: hidden;
}
.service {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.7rem 1.8rem;
  background: var(--paper-2);
  transition: background-color 0.3s;
}
.service:hover { background: #f0f8f4; }
.service__icon { width: 2.1rem; height: 2.1rem; fill: none; stroke: var(--green-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { margin: 2.2rem 0 0; font-weight: 500; font-size: 1.3rem; letter-spacing: -0.025em; }
.service p { margin: 0.7rem 0 1.6rem; color: var(--ink-muted); font-size: 0.95rem; line-height: 1.6; }
.service__out { margin-top: auto; font: 500 0.72rem var(--mono); color: var(--green-deep); }

/* Lots couverts : une ligne discrète sous les cartes, sans icônes */
.lots { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.2rem; margin-top: 1.6rem; }
.lots p { margin: 0; }
.lots__label { font: 500 0.72rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-deep); }
.lots__list { display: flex; flex-wrap: wrap; gap: 0.3rem 0; margin: 0; padding: 0; list-style: none; font-size: 0.95rem; color: var(--ink); }
.lots__list li:not(:last-child)::after { content: '·'; margin: 0 0.6rem; color: var(--ink-muted); } /* le point reste en fin de ligne */

/* Pour qui : trois publics, sous le sur-titre « Pour qui » (ni numéros ni icônes) */
.audiences__kicker { margin: 2.3rem 0 0; }
.audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin-top: 1.4rem; }
.audience { padding-top: 1.4rem; border-top: 1px solid var(--ink-line); }
.audience h3 { margin: 0; font-weight: 500; font-size: 1.35rem; letter-spacing: -0.025em; }
.audience p { margin: 0.6rem 0 0; color: var(--ink-muted); line-height: 1.6; }

/* ---------- Outils ---------- */
.outils {
  padding: clamp(5rem, 11vw, 9rem) 0;
  background:
    radial-gradient(50% 60% at 80% 50%, rgba(37, 208, 157, 0.1), transparent 70%),
    var(--night);
  overflow: hidden;
}
.outils__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 4rem; align-items: center; }
.outils__lead { margin: 1.5rem 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.65; max-width: 30rem; }
.checks { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.checks li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.95rem; }
.checks li::before {
  content: '';
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: rgba(37, 208, 157, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 7 11l5-6' fill='none' stroke='%237ff0c8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
  flex: none;
}
.outils__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.outils__badges span {
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(127, 240, 200, 0.25);
  border-radius: 999px;
  font: 500 0.75rem var(--mono);
  color: var(--mint-soft);
}

.monitor { margin: 0; perspective: 1600px; }
.monitor__screen {
  padding: 0.6rem;
  border-radius: 18px;
  background: linear-gradient(160deg, #1b2622, #0b1110);
  border: 1px solid rgba(233, 239, 236, 0.12);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(37, 208, 157, 0.35);
  transform: rotateY(-8deg) rotateX(3deg);
  transition: transform 0.8s var(--ease);
}
.monitor:hover .monitor__screen { transform: rotateY(-3deg) rotateX(1deg); }
/* Import animé (classe .anim posée par reveal.js, jamais en mouvement réduit) */
.monitor.anim .app__table .row:not(.head) {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.monitor.anim .app__table .row.is-on { opacity: 1; transform: none; animation: row-flash 1.2s ease-out; }
@keyframes row-flash { from { background: rgba(37, 208, 157, 0.16); } to { background: transparent; } }
.monitor.is-importing .app__tools .hl { animation: import-pulse 1.4s ease-out; }
@keyframes import-pulse {
  from { background: rgba(37, 208, 157, 0.22); box-shadow: 0 0 0 0 rgba(37, 208, 157, 0.55); }
  to { background: transparent; box-shadow: 0 0 0 10px rgba(37, 208, 157, 0); }
}
.app__total b { font-variant-numeric: tabular-nums; }
.monitor.is-done .app__total b { animation: total-glow 1.2s ease-out; }
@keyframes total-glow { 25% { text-shadow: 0 0 16px rgba(37, 208, 157, 0.7); } }
.monitor figcaption { margin-top: 1rem; text-align: center; font: 0.72rem var(--mono); color: var(--faint); }

.app {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  border-radius: 11px;
  overflow: hidden;
  background: #080d0c;
  font-size: 0.68rem;
  min-height: 21rem;
}

/* Maquette en points : chaque élément du lot s'allume quand sa ligne est importée */
.viewer {
  display: flex;
  flex-direction: column;
  padding: 0.9rem;
  border-right: 1px solid var(--line);
  background: radial-gradient(70% 55% at 50% 55%, rgba(37, 208, 157, 0.08), transparent 70%), #0b1210;
}
.viewer__label { font-size: 0.56rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.viewer__svg { width: 100%; margin: auto 0; overflow: visible; }
.viewer__svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.viewer__svg .v-faint { stroke: rgba(127, 240, 200, 0.16); stroke-width: 0.9; stroke-dasharray: 0.01 2.6; }
.viewer__svg .v-struct { stroke: rgba(127, 240, 200, 0.4); stroke-width: 1.2; stroke-dasharray: 0.01 2.4; }
/* État final (sans animation) : tous les éléments allumés */
.viewer__svg .v-el {
  stroke: var(--mint);
  stroke-width: 1.3;
  transition: stroke 0.5s var(--ease), stroke-width 0.5s var(--ease), filter 0.5s var(--ease);
}
/* Avec animation : éteints (pointillés) jusqu'à l'import de leur ligne */
.monitor.anim .v-el:not(.is-lit) { stroke: rgba(127, 240, 200, 0.4); stroke-width: 1.2; stroke-dasharray: 0.01 2.4; }
.viewer__svg .v-el.is-current,
.viewer__svg .v-el.is-hover { stroke: var(--mint-soft); stroke-width: 1.7; filter: drop-shadow(0 0 3px rgba(37, 208, 157, 0.9)); }
.app__table .row[data-el] { cursor: default; transition: background-color 0.25s; }
.app__table .row[data-el]:hover { background: rgba(37, 208, 157, 0.08); }
.app__main { display: flex; flex-direction: column; padding: 0.9rem; min-width: 0; }
.app__top { display: flex; align-items: center; gap: 0.5rem; }
.app__top b { font-size: 0.95rem; font-weight: 600; }
.app__top i { font-style: normal; padding: 0.1rem 0.4rem; border-radius: 4px; background: rgba(37, 208, 157, 0.14); color: var(--mint); font-size: 0.55rem; letter-spacing: 0.06em; text-transform: uppercase; }
.app__top span { margin-left: auto; padding: 0.25rem 0.55rem; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); }
.app__tools { display: flex; gap: 0.4rem; margin: 0.7rem 0; flex-wrap: wrap; }
.app__tools span { padding: 0.28rem 0.55rem; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); }
.app__tools .hl { border-color: rgba(37, 208, 157, 0.4); color: var(--mint-soft); }
.app__table { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.app__table .row { display: grid; grid-template-columns: 2.1rem 1fr 2.3rem 1.4rem 4.2rem; gap: 0.4rem; padding: 0.42rem 0.6rem; border-top: 1px solid var(--line); color: var(--muted); }
.app__table .row span:nth-child(n + 3) { text-align: right; font-family: var(--mono); }
.app__table .row span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.app__table .head { border-top: 0; background: rgba(233, 239, 236, 0.03); color: var(--faint); font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.06em; }
.app__table .head span:nth-child(2) { color: var(--faint); }
.app__table .lvl1 span:nth-child(2) { font-weight: 600; }
.app__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 0.8rem; color: var(--muted); }
.app__total b { font-size: 1rem; color: var(--mint); font-family: var(--mono); font-weight: 500; }

/* ---------- Méthode ---------- */
.methode { padding: clamp(5rem, 11vw, 9rem) 0; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin: 3.5rem 0 0; padding: 0; list-style: none; }
/* Ligne de parcours qui relie les trois étapes ; elle se trace une fois à l'apparition */
.steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
  transform-origin: left;
}
.js .steps.is-in { transform: none; }
.js .steps::before { transform: scaleX(0); transition: transform 1.4s var(--ease) 0.2s; }
.js .steps.is-in::before { transform: scaleX(1); }
.step { position: relative; padding-top: 1.6rem; }
/* Un point sur la ligne au départ de chaque étape */
.step::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-deep);
  box-shadow: 0 0 0 4px var(--paper);
}
/* Ce que le client reçoit (formulé de façon générale : les missions varient) */
.step__get { margin: 1rem 0 0 !important; padding-top: 0.9rem; border-top: 1px dashed var(--ink-line); font-size: 0.92rem; color: var(--ink) !important; }
.step__get span { display: block; margin-bottom: 0.2rem; font: 500 0.68rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-deep); }
.step__n { font: 500 2.4rem/1 var(--sans); letter-spacing: -0.04em; color: var(--green-deep); }
.step h3 { margin: 1.2rem 0 0; font-weight: 500; font-size: 1.35rem; letter-spacing: -0.025em; }
.step p { margin: 0.7rem 0 0; color: var(--ink-muted); line-height: 1.6; }

/* Sections du menu : au moins un écran, contenu centré. En cliquant sur Prestations, Outils
   ou Méthode, la section suivante ne dépasse plus. Hauteur minimum seulement : un contenu plus
   long agrandit la section (petits portables), rien n'est jamais coupé. Téléphones non concernés. */
@media (min-width: 861px) {
  .prestations, .outils, .methode {
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
  }
  .prestations > .wrap, .outils > .wrap, .methode > .wrap { width: 100%; }
  /* Prestations tient dans un écran 1080p (≈ 970 px utiles) ; un peu plus d'air en haut, sous la barre */
  .prestations { padding: 6.25rem 0 5.5rem; }
}

/* ---------- Contact ---------- */
.contact {
  /* Haut : de quoi passer sous la barre fixe quand on arrive par « Votre projet » */
  padding: 7rem 0 clamp(3.5rem, 6vw, 5rem);
  background:
    radial-gradient(45% 60% at 15% 30%, rgba(37, 208, 157, 0.12), transparent 70%),
    radial-gradient(40% 50% at 90% 90%, rgba(89, 110, 93, 0.3), transparent 70%),
    var(--night-2);
  border-top: 1px solid var(--line);
  /* Contact + pied de page = un écran : en bas de page, plus de bande blanche, sans vide inutile */
  min-height: calc(100vh - var(--footer-h));
  display: flex;
  align-items: center;
}
.contact > .wrap { width: 100%; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
.contact h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.contact__lead { margin: 1.5rem 0 0; max-width: 26rem; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }

/* Votre interlocuteur : qui porte le regard d'expert, et où */
.person {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1rem;
  align-items: center;
  max-width: 28rem;
  margin-top: 1.7rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}
.person__photo {
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  overflow: hidden;
  border: 1px solid rgba(127, 240, 200, 0.35);
  border-radius: 50%;
  background: rgba(37, 208, 157, 0.08);
  font: 500 0.95rem var(--mono);
  color: var(--mint-soft);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__id p { margin: 0; }
.person__label { font: 0.68rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.person__name { margin-top: 0.15rem !important; font-weight: 500; font-size: 1.02rem; }
.person__role { font-size: 0.84rem; color: var(--muted); }
.person__bio { grid-column: 1 / -1; margin: 0.85rem 0 0; font-size: 0.92rem; line-height: 1.6; color: var(--muted); }
.person__zone { grid-column: 1 / -1; display: flex; align-items: center; gap: 0.45rem; margin: 0.7rem 0 0; font-size: 0.85rem; color: var(--text); }
.person__refs { grid-column: 1 / -1; margin: 0.6rem 0 0; font-size: 0.85rem; color: var(--muted); }
/* Contact direct : e-mail assemblé à l'affichage, numéro révélé au clic */
.person__direct { grid-column: 1 / -1; margin-top: 0.9rem; padding-top: 0.85rem; border-top: 1px dashed var(--line); }
.person__direct p { margin: 0; }
.person__direct-label { font-size: 0.85rem; color: var(--muted); }
.person__direct-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; margin-top: 0.45rem !important; font-size: 0.92rem; color: var(--faint); }
.person__direct-links a { color: var(--mint-soft); text-decoration: none; text-underline-offset: 0.2em; }
.person__direct-links a:hover { text-decoration: underline; }
.person__tel {
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(127, 240, 200, 0.35);
  border-radius: 999px;
  background: rgba(37, 208, 157, 0.08);
  font: inherit;
  font-size: 0.85rem;
  color: var(--mint-soft);
  cursor: pointer;
  transition: background-color 0.2s;
}
.person__tel:hover { background: rgba(37, 208, 157, 0.16); }
.person__zone svg { width: 1rem; height: 1rem; fill: none; stroke: var(--mint); stroke-width: 1.4; }
.form {
  display: grid;
  gap: 1rem;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 24, 21, 0.7);
  backdrop-filter: blur(12px);
}
.form label { display: grid; gap: 0.45rem; font-size: 0.85rem; color: var(--muted); }
.form label small { font-size: 0.78rem; color: var(--faint); }
/* Deux champs par ligne : le formulaire garde sa hauteur malgré Société et Téléphone.
   Champs alignés en bas : même hauteur et même ligne, même si un libellé passe sur deux lignes */
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: end; }
.form label > span { line-height: 1.3; }
.form input, .form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(7, 11, 10, 0.6);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(37, 208, 157, 0.18); }
.form .btn { justify-self: start; margin-top: 0.4rem; }
.form__note { margin: 0; min-height: 1.2em; font: 0.75rem var(--mono); color: var(--mint-soft); }
.form__note.is-error { color: #f2a98f; }
.form .btn:disabled { opacity: 0.6; cursor: progress; transform: none; }

/* Page de confirmation d'envoi (envoi.php, visiteurs sans JavaScript) */
.sent__inner { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 0.4rem; max-width: 40rem; }
.sent__inner h1 { margin: 0 0 0.4rem; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 500; letter-spacing: -0.02em; }
.sent__inner p { margin: 0 0 1rem; color: var(--muted); }

/* Bouton « Revenir en haut » : discret, visible après un écran de défilement */
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid rgba(127, 240, 200, 0.3);
  border-radius: 50%;
  background: rgba(7, 11, 10, 0.62);
  backdrop-filter: blur(10px);
  color: var(--mint-soft);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background-color 0.2s;
}
.to-top.is-on { opacity: 0.8; visibility: visible; transform: none; }
.to-top:hover { opacity: 1; background: rgba(15, 24, 21, 0.9); }
.to-top:focus-visible { opacity: 1; outline: 2px solid var(--mint); outline-offset: 3px; }
.to-top svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) {
  .lots { display: block; }
  .lots__list { flex-direction: column; gap: 0.25rem; margin: 0.6rem 0 0; }
  .lots__list li:not(:last-child)::after { content: none; }
  .to-top { right: 0.9rem; bottom: 0.9rem; width: 2.4rem; height: 2.4rem; }
}

/* ---------- Pied de page ---------- */
.footer { min-height: var(--footer-h); padding: 2rem 0 2.5rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer__legal { color: var(--faint); }
.footer__legal a { color: inherit; text-decoration: none; transition: color 0.2s; }
.footer__legal a:hover, .footer__legal a[aria-current] { color: var(--muted); }
.footer .logo--sm { padding: 0; }

/* Ordinateur : Contact + pied de page tiennent dans l'écran au clic sur « Contact »
   (testé jusqu'à ~820 px de haut). Marges et titre suivent la hauteur de l'écran ;
   sur grand écran, rien ne change. */
@media (min-width: 861px) {
  :root { --footer-h: 5.2rem; } /* pied de page compact : 83 px mesurés */
  .footer { padding: 1.3rem 0 1.4rem; }
  .contact { padding: clamp(5.4rem, 11.5vh, 7rem) 0 clamp(1.25rem, 3vh, 5rem); }
  .contact h2 { font-size: clamp(2.6rem, min(6vw, 7.5vh), 5rem); }
  .contact__lead { margin-top: clamp(0.9rem, 2vh, 1.5rem); }
  .person { margin-top: clamp(1.1rem, 2.4vh, 1.7rem); }
}

/* ---------- Pages légales (mentions, confidentialité) ---------- */
.legal { padding: 9rem 0 5rem; min-height: calc(100vh - var(--footer-h)); }
.legal__wrap { max-width: calc(48rem + 2 * var(--gutter)); }
.legal h1 { margin: 0.9rem 0 0; font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.045em; }
.legal__date { margin: 1rem 0 2.2rem; font: 0.75rem var(--mono); color: var(--faint); }
.legal h2 { margin: 2.6rem 0 0.9rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-weight: 500; font-size: 1.15rem; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--muted); font-size: 0.98rem; line-height: 1.7; }
.legal p { margin: 0 0 0.9rem; }
.legal ul { margin: 0 0 0.9rem; padding-left: 1.2rem; }
.legal a { color: var(--mint-soft); text-underline-offset: 0.2em; }
.legal dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.55rem 1.6rem; margin: 0; font-size: 0.95rem; }
.legal dt { color: var(--faint); }
.legal dd { margin: 0; color: var(--text); }
/* Champs à compléter (maquette) */
mark.todo {
  padding: 0.05em 0.4em;
  border: 1px dashed rgba(127, 240, 200, 0.45);
  border-radius: 4px;
  background: rgba(37, 208, 157, 0.1);
  color: var(--mint-soft);
}
@media (max-width: 560px) {
  .legal { padding-top: 7rem; }
  .legal dl { grid-template-columns: 1fr; gap: 0.2rem; }
  .legal dd { margin-bottom: 0.7rem; }
}

/* Mention sous le bouton du formulaire */
/* Textes d'exemple : discrets, pour ne pas être pris pour des valeurs déjà saisies */
.form input::placeholder, .form textarea::placeholder { color: var(--faint); opacity: 1; }
/* Champ piège anti-robots : hors écran (pas display:none, que certains robots repèrent) */
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { margin: -0.3rem 0 0; font-size: 0.78rem; line-height: 1.5; color: var(--faint); }
.form__legal a { color: var(--muted); text-underline-offset: 0.2em; }

/* ---------- Animations d'entrée ---------- */
.intro { animation: intro 1s var(--ease) var(--d, 0s) both; }
@keyframes intro { from { opacity: 0; transform: translateY(22px); } }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outils__grid, .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .monitor__screen { transform: none; }
}
@media (max-width: 860px) {
  .header__bar { grid-template-columns: 1fr auto; }
  /* Menu en panneau, ouvert par le bouton ☰ */
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 15rem;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(11, 18, 16, 0.94);
    backdrop-filter: blur(16px) saturate(1.3);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  }
  .header.menu-open .nav { display: grid; gap: 0.1rem; }
  .nav a, .header.is-light .nav a { padding: 0.8rem 1rem; border-radius: 12px; font-size: 1rem; color: var(--text); }
  .nav a:hover, .header.is-light .nav a:hover { background: rgba(233, 239, 236, 0.06); color: var(--text); }
  /* Barre compacte : cadenas seul, libellé court, bouton menu de la même taille */
  .header .header__client, .header .header__menu {
    display: inline-flex;
    width: 2.29rem;
    height: 2.29rem;
    padding: 0;
    justify-content: center;
  }
  .header__client span { display: none; }
  .header__menu { margin-left: 0.45rem; }
  .header__cta-long { display: none; }
  .header__cta-short { display: inline; }
  /* Ligne de parcours verticale quand les étapes sont empilées */
  .steps { padding-left: 1.8rem; }
  .steps::before { top: 0.3rem; bottom: 0.3rem; left: 4px; right: auto; width: 1px; height: auto; transform-origin: top; }
  .js .steps::before { transform: scaleY(0); }
  .js .steps.is-in::before { transform: scaleY(1); }
  .step { padding-top: 0; }
  .step::before { top: 0.35rem; left: calc(-1.8rem); }
  .facts__grid { gap: 1.6rem 0.8rem; }
  .facts__grid > .fact { flex: 0 0 calc((100% - 0.8rem) / 2); min-width: 0; }
  .audiences, .steps { grid-template-columns: 1fr; gap: 2rem; }
  .hero__content { padding-top: 6.5rem; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .fact svg { width: 6.2rem; height: 6.2rem; }
  .fact strong { top: 3.1rem; font-size: 1.3rem; }
  .fact span { font-size: 0.78rem; }
  .types__track li { font-size: 0.72rem; }
  .app { grid-template-columns: 1fr; }
  .viewer { border-right: 0; border-bottom: 1px solid var(--line); }
  .viewer__svg { width: auto; height: 9.5rem; margin: 0.4rem auto 0; }
  /* Téléphone : sans la colonne N°, les désignations tiennent en entier */
  .app__table .row { grid-template-columns: 1fr 2.3rem 1.4rem 4.2rem; }
  .app__table .row span:first-child { display: none; }
  .header .btn--sm { padding: 0.55rem 0.85rem; font-size: 0.78rem; }
  .header__bar { padding-right: 0.685rem; } /* 0.5rem + (2.25rem − 1.88rem) / 2 */
  /* Espace client : cadenas seul, rond de la hauteur du bouton */
  .form__row { grid-template-columns: 1fr; }
  /* Chiffres du premier écran : 2 colonnes qui tiennent dans la largeur du téléphone */
  .hero__proof { width: 100%; }
  .hero__facts { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 0.9rem; }
  .hero__facts .fact { grid-template-columns: 2.1rem minmax(0, 1fr); column-gap: 0.6rem; }
  .hero__facts .fact svg { width: 2.1rem; height: 2.1rem; }
  .hero__facts .fact strong { font-size: 1.15rem; }
  .hero__facts .fact span { max-width: none; font-size: 0.7rem; }
  .header .header__client, .header .header__menu { width: 1.88rem; height: 1.88rem; padding: 0; }
  .header__cta { margin-left: 0.45rem; }
  .header__bar { column-gap: 0.9rem; }
  .logo img { height: 1.85rem; }
}

/* Très petits téléphones (≤ 380 px) : espacements resserrés pour que logo, cadenas,
   « Votre projet » et menu tiennent sans rétrécir le logo */
@media (max-width: 380px) {
  .header__bar { column-gap: 0.5rem; }
  .header__cta, .header__menu { margin-left: 0.35rem; }
  .header .header__cta { padding-left: 0.72rem; padding-right: 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .steps::before { transform: none; transition: none; }
  .header__menu path { transition: none; }
  .fact__arc { transition: none; }
  .js .fact strong { opacity: 1; filter: none; transform: translateY(-50%); transition: none; }
  .header__cta, .js .header:not(.has-cta) .header__cta { transition: none; }
  .fact.is-done strong { animation: none; }
  .types { mask-image: none; justify-content: center; }
  .types__track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 0.6rem; }
  .types__track[aria-hidden] { display: none; }
  .monitor__screen { transition: none; }
  .to-top { transition: none; }
}
