/* =========================================================================
   MAIN — mise en page et composants.
   Écrit en « mobile d'abord » : les media queries n'ajoutent que des
   élargissements. Testé de 320 px à 2560 px.
   Les valeurs de couleur et de taille viennent toutes de tokens.css.
   ========================================================================= */

/* -------------------------------------------------------------------------
   BASE
   ------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  /* Les ancres ne se glissent pas sous la barre fixe. */
  scroll-padding-top: calc(var(--hauteur-nav) + 1rem);
}

/* Quand le défilement lissé maison est actif, on rend la main au script. */
html[data-lisse='actif'] {
  scroll-behavior: auto;
}

body {
  background-color: var(--fond);
  color: var(--texte);
  font-family: var(--police-texte);
  font-size: var(--t-corps);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Halos de fond, posés une fois pour toute la page. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: var(--z-fond);
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 15% -10%, var(--violet-10), transparent 65%),
    radial-gradient(50rem 34rem at 95% 8%, var(--cyan-08), transparent 60%);
}

::selection {
  background: var(--cyan);
  color: var(--texte-sur-clair);
}

/* -------------------------------------------------------------------------
   TYPOGRAPHIE COMMUNE
   ------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--police-titre);
  font-weight: 800;
  font-stretch: 116%; /* la « grotesque large » */
  letter-spacing: -0.018em;
  line-height: 1.06;
  text-wrap: balance;
}

h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.mono {
  font-family: var(--police-mono);
  font-variant-numeric: tabular-nums;
}

.lien {
  color: var(--cyan-clair);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  transition: color var(--duree-courte) var(--doux);
}

.lien:hover {
  color: var(--cyan);
}

.mention {
  display: block;
  font-size: var(--t-petit);
  color: var(--texte-2);
  line-height: 1.5;
}

.mention--bloc {
  display: inline-block;
  margin-top: var(--e-3);
  max-width: 60ch;
  padding: 0.45rem 0.7rem;
  border: 1px dashed var(--blanc-12);
  border-radius: var(--rayon-s);
}

/* Étiquette monospace au-dessus des titres de section. */
.etiquette {
  display: inline-flex;
  align-items: center;
  gap: var(--e-2);
  font-family: var(--police-mono);
  font-size: var(--t-etiquette);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-clair);
  margin-bottom: var(--e-4);
}

.pastille {
  width: 7px;
  height: 7px;
  border-radius: var(--rayon-rond);
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

/* -------------------------------------------------------------------------
   GABARIT
   ------------------------------------------------------------------------- */
.conteneur {
  width: 100%;
  max-width: var(--largeur-max);
  margin-inline: auto;
  padding-inline: var(--marge-page);
  position: relative;
  z-index: var(--z-contenu);
}

.conteneur--etroit {
  max-width: 60rem;
}

.section {
  padding-block: var(--espace-section);
  position: relative;
  z-index: var(--z-contenu);
}

.section__titre {
  font-size: var(--t-h2);
  max-width: 22ch;
  margin-bottom: var(--e-5);
}

.section__intro {
  max-width: 62ch;
  color: var(--texte-2);
  margin-bottom: var(--e-7);
}

/* Grilles : une colonne sur mobile, puis 2, puis 3 ou 4. */
.grille {
  display: grid;
  gap: var(--e-5);
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .grille--3,
  .grille--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .grille--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grille--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* -------------------------------------------------------------------------
   BOUTONS
   ------------------------------------------------------------------------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--e-2);
  padding: 0.8em 1.4em;
  border-radius: var(--rayon-m);
  font-family: var(--police-texte);
  font-size: var(--t-petit);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  transition:
    background-color var(--duree-courte) var(--doux),
    color var(--duree-courte) var(--doux),
    border-color var(--duree-courte) var(--doux),
    box-shadow var(--duree-moyenne) var(--doux);
}

.bouton--plein {
  background: var(--cyan);
  color: var(--texte-sur-clair);
  border: 1px solid var(--cyan);
}

.bouton--plein:hover {
  background: var(--cyan-clair);
  border-color: var(--cyan-clair);
  box-shadow: 0 0 28px rgba(34, 225, 225, 0.32);
}

.bouton--fantome {
  color: var(--texte);
  border: 1px solid var(--blanc-12);
  background: rgba(232, 238, 247, 0.03);
}

.bouton--fantome:hover {
  border-color: var(--cyan-35);
  color: var(--cyan-clair);
}

/* Focus clavier : visible partout, jamais supprimé. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--rayon-s);
}

/* -------------------------------------------------------------------------
   ÉLÉMENTS FLOTTANTS : évitement, progression, curseur, grain
   ------------------------------------------------------------------------- */
.lien-evitement {
  position: fixed;
  top: 0;
  left: 50%;
  translate: -50% -120%;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--cyan);
  color: var(--texte-sur-clair);
  font-weight: 600;
  border-radius: 0 0 var(--rayon-m) var(--rayon-m);
  transition: translate var(--duree-moyenne) var(--sortie);
}

.lien-evitement:focus-visible {
  translate: -50% 0;
}

.progression {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: 2px;
  z-index: calc(var(--z-nav) + 1);
  pointer-events: none;
  background: transparent;
}

.progression__barre {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--degrade-marque);
  will-change: transform;
}

.curseur {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-curseur);
  pointer-events: none;
  opacity: 0;
}

.curseur__point,
.curseur__anneau {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: var(--rayon-rond);
  will-change: transform;
}

.curseur__point {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--cyan);
}

.curseur__anneau {
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 1px solid var(--cyan-35);
  transition: width var(--duree-courte), height var(--duree-courte);
}

/* Le curseur n'existe que sur les écrans pilotés à la souris. */
@media (hover: none), (pointer: coarse) {
  .curseur {
    display: none;
  }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  /* Bruit généré en SVG : aucun fichier image. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23b)'/%3E%3C/svg%3E");
}

/* -------------------------------------------------------------------------
   1. BARRE DE NAVIGATION
   ------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: var(--z-nav);
  height: var(--hauteur-nav);
  display: flex;
  align-items: center;
  transition:
    background-color var(--duree-moyenne) var(--doux),
    border-color var(--duree-moyenne) var(--doux),
    backdrop-filter var(--duree-moyenne) var(--doux);
  border-bottom: 1px solid transparent;
}

/* Classe posée par js/interactions.js dès le premier défilement. */
.nav.est-collee {
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--blanc-06);
}

.nav__interieur {
  width: 100%;
  max-width: var(--largeur-max);
  margin-inline: auto;
  padding-inline: var(--marge-page);
  display: flex;
  align-items: center;
  gap: var(--e-4);
}

.nav__logo {
  display: flex;
  align-items: center;
  color: var(--texte);
  flex-shrink: 0;
}

.logo {
  width: 148px;
  height: auto;
}

.logo__texte {
  font-family: var(--police-titre);
  font-size: 15px;
  font-weight: 800;
  font-stretch: 120%;
  letter-spacing: 0.06em;
}

.nav__menu {
  display: none;
  margin-inline: auto;
}

.nav__liste {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.6rem);
  list-style: none;
}

.nav__lien {
  position: relative;
  font-size: var(--t-petit);
  color: var(--texte-2);
  padding-block: 0.4rem;
  transition: color var(--duree-courte) var(--doux);
}

.nav__lien::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--duree-moyenne) var(--sortie);
}

.nav__lien:hover,
.nav__lien.est-active {
  color: var(--texte);
}

.nav__lien.est-active::after,
.nav__lien:hover::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--e-2);
  margin-inline-start: auto;
}

.nav__contact {
  display: none;
}

@media (min-width: 62rem) {
  .nav__menu {
    display: block;
  }
  .nav__actions {
    margin-inline-start: 0;
  }
  .nav__contact {
    display: inline-flex;
  }
}

/* Bouton burger (mobile uniquement). */
.nav__burger {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--blanc-12);
  border-radius: var(--rayon-m);
}

.nav__burger-trait {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--texte);
  transition: translate var(--duree-moyenne) var(--sortie), rotate var(--duree-moyenne) var(--sortie);
}

.nav__burger[aria-expanded='true'] .nav__burger-trait:first-child {
  translate: 0 3.25px;
  rotate: 45deg;
}

.nav__burger[aria-expanded='true'] .nav__burger-trait:last-child {
  translate: 0 -3.25px;
  rotate: -45deg;
}

@media (min-width: 62rem) {
  .nav__burger {
    display: none;
  }
}

/* -------------------------------------------------------------------------
   SÉLECTEUR DE LANGUE
   ------------------------------------------------------------------------- */
.langues {
  position: relative;
}

/* La bibliothèque de drapeaux ne s'affiche jamais : elle sert de réserve. */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Petit drapeau, format constant, léger liseré pour que les bandes claires
   ne se perdent pas sur le fond sombre. */
.drapeau {
  width: 18px;
  height: 12.6px;
  flex-shrink: 0;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(232, 238, 247, 0.22);
}

/* Sur l'option active, le fond est cyan : le liseré passe en sombre. */
.langues__option.est-active .drapeau {
  box-shadow: 0 0 0 1px rgba(7, 11, 20, 0.35);
}

.langues__bouton {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 42px;
  padding-inline: 0.55rem;
  border: 1px solid var(--blanc-12);
  border-radius: var(--rayon-m);
  color: var(--texte);
  transition: border-color var(--duree-courte) var(--doux);
}

.langues__bouton:hover {
  border-color: var(--cyan-35);
}

.langues__code {
  font-family: var(--police-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.langues__fleche {
  width: 10px;
  transition: rotate var(--duree-moyenne) var(--sortie);
}

.langues__bouton[aria-expanded='true'] .langues__fleche {
  rotate: 180deg;
}

.langues__liste {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.5rem);
  min-width: 11rem;
  padding: 0.35rem;
  list-style: none;
  background: var(--fond-2);
  border: 1px solid var(--blanc-12);
  border-radius: var(--rayon-m);
  box-shadow: var(--ombre-flottante);
  z-index: var(--z-menu);
}

.langues__option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: var(--rayon-s);
  font-size: var(--t-petit);
  color: var(--texte-2);
  text-align: start;
  transition: background-color var(--duree-courte), color var(--duree-courte);
}

.langues__option:hover {
  background: var(--fond-3);
  color: var(--texte);
}

/* Langue active : nettement mise en évidence. */
.langues__option.est-active {
  color: var(--texte-sur-clair);
  background: var(--cyan);
}

.langues__abbr {
  font-family: var(--police-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

/* -------------------------------------------------------------------------
   MENU PLEIN ÉCRAN (mobile)
   ------------------------------------------------------------------------- */
.menu-mobile {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  padding: calc(var(--hauteur-nav) + var(--e-6)) var(--marge-page) var(--e-6);
  background: rgba(7, 11, 20, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow-y: auto;
}

.menu-mobile__liste {
  display: flex;
  flex-direction: column;
  gap: var(--e-2);
  list-style: none;
}

.menu-mobile__liste a {
  display: block;
  padding-block: 0.65rem;
  font-family: var(--police-titre);
  font-size: clamp(1.5rem, 7vw, 2.2rem);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.015em;
  border-bottom: 1px solid var(--blanc-06);
}

.menu-mobile__liste a:hover {
  color: var(--cyan-clair);
}

/* -------------------------------------------------------------------------
   2. HERO
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--hauteur-nav) + var(--e-8)) var(--e-8);
  overflow: hidden;
  isolation: isolate;
}

.hero__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Grille fine en perspective, au sol du décor. */
.hero__grille {
  position: absolute;
  inset-inline: -50%;
  bottom: -10%;
  height: 60%;
  background-image:
    linear-gradient(to right, var(--blanc-06) 1px, transparent 1px),
    linear-gradient(to bottom, var(--blanc-06) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(320px) rotateX(72deg);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(to top, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 78%);
  opacity: 0.7;
}

.hero__halo {
  position: absolute;
  border-radius: var(--rayon-rond);
  filter: blur(90px);
  opacity: 0.5;
}

.hero__halo--violet {
  width: 46vw;
  height: 46vw;
  top: -14vw;
  left: -8vw;
  background: radial-gradient(circle, rgba(123, 92, 255, 0.55), transparent 68%);
}

.hero__halo--cyan {
  width: 40vw;
  height: 40vw;
  right: -6vw;
  bottom: 4vw;
  background: radial-gradient(circle, rgba(34, 225, 225, 0.32), transparent 70%);
}

/* La chaîne de montagnes — et la courbe de trafic. */
.crete {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  width: 100%;
  height: 72%;
  min-height: 320px;
}

.crete__couche {
  will-change: transform;
}

.crete__massif {
  stroke-width: 1;
}

.crete__massif--loin {
  fill: rgba(123, 92, 255, 0.07);
  stroke: rgba(123, 92, 255, 0.28);
}

.crete__massif--milieu {
  fill: rgba(14, 22, 38, 0.72);
  stroke: rgba(123, 92, 255, 0.34);
}

.crete__aire {
  opacity: var(--opacite-aire, 0.45);
  transition: opacity var(--duree-longue) var(--doux);
}

/* Quand on descend, la montagne assume son rôle de graphique :
   l'aire se densifie et les points de mesure apparaissent. */
.crete.est-graphique {
  --opacite-aire: 0.95;
}

.crete__sommets circle {
  fill: var(--cyan);
  opacity: 0;
  scale: 0.4;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity var(--duree-moyenne) var(--sortie), scale var(--duree-moyenne) var(--sortie);
}

.crete.est-graphique .crete__sommets circle {
  opacity: 1;
  scale: 1;
}

/* Décalage successif des points, pour que la lecture se fasse de gauche à droite. */
.crete__sommets circle:nth-child(1) { transition-delay: 0ms; }
.crete__sommets circle:nth-child(2) { transition-delay: 60ms; }
.crete__sommets circle:nth-child(3) { transition-delay: 120ms; }
.crete__sommets circle:nth-child(4) { transition-delay: 180ms; }
.crete__sommets circle:nth-child(5) { transition-delay: 240ms; }
.crete__sommets circle:nth-child(6) { transition-delay: 300ms; }
.crete__sommets circle:nth-child(7) { transition-delay: 360ms; }
.crete__sommets circle:nth-child(8) { transition-delay: 420ms; }

.hero__contenu {
  max-width: 56rem;
}

.hero__titre {
  font-size: var(--t-h1);
  margin-bottom: var(--e-5);
  max-width: 16ch;
}

.hero__sous-titre {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
  color: var(--texte-2);
  max-width: 52ch;
  margin-bottom: var(--e-6);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--e-3);
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}

.hero__chiffres {
  display: grid;
  gap: var(--e-5);
  grid-template-columns: 1fr;
  border-top: 1px solid var(--blanc-06);
  padding-top: var(--e-5);
}

@media (min-width: 40rem) {
  .hero__chiffres {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--e-6);
  }
}

.chiffre__valeur {
  font-family: var(--police-mono);
  font-size: var(--t-chiffre);
  font-weight: 500;
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.chiffre__unite {
  font-size: 0.5em;
  color: var(--texte-2);
}

.chiffre__legende {
  margin-top: var(--e-2);
  font-size: var(--t-petit);
  color: var(--texte-2);
  max-width: 26ch;
}

.hero__descendre {
  display: block;
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  translate: -50% 0;
  width: 1px;
  height: 44px;
  overflow: hidden;
}

.hero__descendre-trait {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--cyan));
}

/* -------------------------------------------------------------------------
   3. BANDEAU DES TECHNOLOGIES
   ------------------------------------------------------------------------- */
.technos {
  padding-block: var(--e-7);
  border-block: 1px solid var(--blanc-06);
  position: relative;
  z-index: var(--z-contenu);
  background: rgba(14, 22, 38, 0.4);
}

.technos__ligne {
  display: flex;
  flex-wrap: wrap;
  gap: var(--e-2) var(--e-4);
  align-items: baseline;
  font-size: var(--t-petit);
  margin-bottom: var(--e-5);
}

.bandeau {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.bandeau__piste {
  display: flex;
  width: max-content;
  will-change: transform;
}

.bandeau__groupe {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding-inline: clamp(0.75rem, 1.5vw, 1.4rem);
  list-style: none;
}

.techno {
  font-family: var(--police-mono);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--texte-2);
  white-space: nowrap;
  opacity: 0.75;
  transition: color var(--duree-courte) var(--doux), opacity var(--duree-courte);
}

.bandeau__item:hover .techno {
  color: var(--cyan-clair);
  opacity: 1;
}

/* -------------------------------------------------------------------------
   4. LE PROBLÈME
   ------------------------------------------------------------------------- */
.constat {
  padding: var(--e-5);
  border-radius: var(--rayon-l);
  border-left: 2px solid var(--cyan-35);
  background: linear-gradient(180deg, rgba(14, 22, 38, 0.8), rgba(14, 22, 38, 0.25));
}

.constat__chiffre {
  font-family: var(--police-mono);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 500;
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--e-3);
}

.constat__titre {
  font-size: var(--t-h4);
  margin-bottom: var(--e-2);
}

.constat__texte {
  font-size: var(--t-petit);
  color: var(--texte-2);
}

.constat__source {
  margin-top: var(--e-3);
  font-family: var(--police-mono);
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--texte-2);
  opacity: 0.85;
}

/* -------------------------------------------------------------------------
   CARTES (services, formules) — bordure en dégradé 1 px + lueur au curseur
   ------------------------------------------------------------------------- */
.carte,
.formule,
.audit__bloc {
  position: relative;
  padding: var(--e-5);
  border-radius: var(--rayon-l);
  border: 1px solid transparent;
  /* Deux fonds superposés : l'intérieur, puis la bordure en dégradé. */
  background:
    linear-gradient(var(--fond-2), var(--fond-2)) padding-box,
    var(--degrade-bordure) border-box;
  box-shadow: var(--ombre-carte);
  overflow: hidden;
  isolation: isolate;
}

/* La lueur suit le curseur : --souris-x / --souris-y sont posées en JS. */
[data-lueur]::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(
    16rem 16rem at var(--souris-x, 50%) var(--souris-y, 0%),
    rgba(34, 225, 225, 0.16),
    transparent 70%
  );
  transition: opacity var(--duree-moyenne) var(--doux);
}

[data-lueur]:hover::before {
  opacity: 1;
}

.carte__icone,
.outil__icone {
  display: grid;
  place-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: var(--e-4);
  border-radius: var(--rayon-m);
  color: var(--cyan);
  background: var(--cyan-08);
  border: 1px solid var(--cyan-18);
}

.carte__icone svg,
.outil__icone svg {
  width: 21px;
  height: 21px;
}

.carte {
  display: flex;
  flex-direction: column;
}

.carte__titre {
  font-size: var(--t-h4);
  margin-bottom: var(--e-3);
}

.carte__texte {
  font-size: var(--t-petit);
  color: var(--texte-2);
}

.carte__delai {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  /* auto : la ligne reste collée au bas de la carte. */
  margin-top: auto;
  padding-top: var(--e-4);
  border-top: 1px solid var(--blanc-06);
  font-family: var(--police-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texte-2);
}

.carte__delai-valeur {
  color: var(--cyan-clair);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
}

/* -------------------------------------------------------------------------
   6. MÉTHODE — frise
   ------------------------------------------------------------------------- */
.frise {
  list-style: none;
  position: relative;
  display: grid;
  gap: var(--e-6);
}

.frise__etape {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: var(--e-4);
  position: relative;
  padding-bottom: var(--e-6);
}

/* Trait vertical reliant les étapes ; il se remplit à l'apparition. */
.frise__etape:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 1.75rem;
  top: 3rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--cyan-35), transparent);
}

.frise__numero {
  display: grid;
  place-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--rayon-rond);
  border: 1px solid var(--cyan-18);
  background: var(--fond-2);
  font-family: var(--police-mono);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cyan);
}

.frise__titre {
  font-size: var(--t-h3);
}

.frise__duree {
  font-family: var(--police-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--cyan-clair);
  margin-block: 0.25rem var(--e-3);
}

.frise__texte {
  color: var(--texte-2);
  max-width: 60ch;
}

@media (min-width: 48rem) {
  .frise__etape {
    grid-template-columns: 5rem 1fr;
    gap: var(--e-5);
  }
  .frise__etape:not(:last-child)::before {
    left: 2.5rem;
  }
  .frise__numero {
    width: 5rem;
    height: 5rem;
    font-size: 1.4rem;
  }
}

/* -------------------------------------------------------------------------
   7. PREUVES
   ------------------------------------------------------------------------- */
.avertissement {
  display: flex;
  gap: var(--e-3);
  align-items: flex-start;
  max-width: 68ch;
  margin-bottom: var(--e-7);
  padding: var(--e-4);
  border-radius: var(--rayon-m);
  border: 1px solid rgba(255, 181, 71, 0.35);
  background: rgba(255, 181, 71, 0.07);
  font-size: var(--t-petit);
  color: var(--texte);
}

.avertissement__icone {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--ambre);
}

.cas-liste {
  display: grid;
  gap: var(--e-7);
}

.cas {
  display: grid;
  gap: var(--e-5);
  padding: var(--e-5);
  border-radius: var(--rayon-l);
  background: linear-gradient(160deg, rgba(14, 22, 38, 0.9), rgba(7, 11, 20, 0.5));
  border: 1px solid var(--blanc-06);
}

@media (min-width: 56rem) {
  .cas {
    grid-template-columns: 1.35fr 1fr;
    align-items: center;
    gap: var(--e-7);
    padding: var(--e-6);
  }
  .cas--inverse .cas__texte {
    order: 2;
  }
}

/* Étiquette « exemple de projet », posée sur chaque étude de cas.
   Volontairement neutre : l'ambre reste réservé à l'encadré
   d'avertissement en tête de section, un seul par écran. */
.cas__exemple {
  display: inline-block;
  margin-bottom: var(--e-3);
  padding: 0.2rem 0.55rem;
  border: 1px dashed var(--blanc-12);
  border-radius: var(--rayon-s);
  font-family: var(--police-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-2);
}

.cas__meta {
  font-family: var(--police-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-clair);
  margin-bottom: var(--e-3);
}

.cas__sep {
  opacity: 0.5;
  margin-inline: 0.35rem;
}

.cas__titre {
  font-size: var(--t-h3);
  margin-bottom: var(--e-4);
  max-width: 30ch;
}

.cas__details dt {
  font-family: var(--police-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-2);
  margin-top: var(--e-4);
}

.cas__details dd {
  font-size: var(--t-petit);
  margin-top: 0.35rem;
}

.cas__details dt:last-of-type + dd {
  color: var(--texte);
  font-weight: 600;
}

/* Graphique avant / après. */
.cas__graphe {
  margin: 0;
}

.graphe {
  width: 100%;
  height: auto;
  overflow: visible;
}

.graphe__grille line {
  stroke: var(--blanc-06);
  stroke-width: 1;
}

.graphe__aire {
  fill: url(#remplissageCrete);
  opacity: 0;
  transition: opacity var(--duree-longue) var(--doux) 240ms;
}

.graphe.est-tracee .graphe__aire {
  opacity: 0.5;
}

.graphe__trait {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.graphe__legende {
  display: flex;
  flex-wrap: wrap;
  gap: var(--e-2) var(--e-4);
  margin-top: var(--e-3);
  font-family: var(--police-mono);
  font-size: 0.75rem;
  color: var(--texte-2);
}

.graphe__apres strong {
  color: var(--cyan);
}

.graphe__unite {
  flex-basis: 100%;
  opacity: 0.75;
}

/* -------------------------------------------------------------------------
   8. OUTILS
   ------------------------------------------------------------------------- */
.outils__grille {
  list-style: none;
}

.outil {
  padding: var(--e-4);
  border-radius: var(--rayon-m);
  border: 1px solid var(--blanc-06);
  background: rgba(14, 22, 38, 0.5);
  transition: border-color var(--duree-courte) var(--doux);
}

.outil:hover {
  border-color: var(--cyan-18);
}

.outil__nom {
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.outil__usage {
  font-size: var(--t-petit);
  color: var(--texte-2);
}

/* -------------------------------------------------------------------------
   9. AUDIT EXPRESS
   ------------------------------------------------------------------------- */
.audit__bloc {
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.audit__form {
  display: grid;
  gap: var(--e-4);
  align-items: end;
}

@media (min-width: 52rem) {
  .audit__form {
    grid-template-columns: 2fr 1.2fr 1.2fr auto;
  }
}

/* Champs de formulaire, communs à l'audit et au contact. */
.champ {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.champ__label {
  font-family: var(--police-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-2);
}

.champ__saisie {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: var(--rayon-m);
  border: 1px solid var(--blanc-12);
  background: rgba(7, 11, 20, 0.6);
  color: var(--texte);
  font-size: var(--t-petit);
  transition: border-color var(--duree-courte) var(--doux), box-shadow var(--duree-courte);
}

.champ__saisie::placeholder {
  color: var(--texte-2);
  opacity: 0.7;
}

.champ__saisie:hover {
  border-color: var(--blanc-12);
}

.champ__saisie:focus {
  outline: none;
  border-color: var(--cyan-35);
  box-shadow: 0 0 0 3px rgba(34, 225, 225, 0.14);
}

.champ__saisie--zone {
  resize: vertical;
  min-height: 7rem;
  line-height: 1.6;
}

select.champ__saisie {
  appearance: none;
  padding-inline-end: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238A99B0' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
}

/* Message d'erreur : réservé en hauteur pour ne rien décaler. */
.champ__erreur {
  min-height: 1.1rem;
  font-size: 0.78rem;
  line-height: 1.1rem;
  color: var(--ambre);
}

.champ--case {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.6rem;
}

.champ--case input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  accent-color: var(--cyan);
  flex-shrink: 0;
}

.champ--case label {
  flex: 1;
  font-size: var(--t-petit);
  color: var(--texte-2);
}

.champ--case .champ__erreur {
  flex-basis: 100%;
}

/* Champ anti-robot : hors écran, jamais visible ni focusable. */
.piege {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.champ__saisie.est-invalide {
  border-color: var(--ambre);
}

.audit__lancer {
  height: 2.85rem;
}

.audit__resultat {
  margin-top: var(--e-5);
  padding-top: var(--e-5);
  border-top: 1px solid var(--blanc-06);
}

.audit__etapes {
  display: grid;
  gap: 0.35rem;
  font-family: var(--police-mono);
  font-size: 0.78rem;
  color: var(--texte-2);
}

.audit__etape {
  opacity: 0.25;
  transition: opacity var(--duree-moyenne) var(--doux), color var(--duree-moyenne);
}

.audit__etape::before {
  content: '· ';
  color: var(--cyan);
}

.audit__etape.est-faite {
  opacity: 1;
  color: var(--cyan-clair);
}

.audit__etape.est-faite::before {
  content: '✓ ';
}

.audit__score {
  display: grid;
  gap: var(--e-5);
  margin-top: var(--e-5);
  align-items: start;
}

@media (min-width: 44rem) {
  .audit__score {
    grid-template-columns: auto 1fr;
    gap: var(--e-7);
  }
}

.jauge {
  position: relative;
  width: 148px;
  justify-self: center;
}

.jauge__svg {
  width: 148px;
  height: 148px;
  rotate: -90deg;
}

.jauge__fond {
  fill: none;
  stroke: var(--blanc-06);
  stroke-width: 8;
}

.jauge__valeur {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 8;
  stroke-linecap: round;
  /* La circonférence (2πr, r = 52) sert de longueur de référence. */
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 1.2s var(--sortie);
}

.jauge__nombre {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  font-family: var(--police-mono);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--texte);
  font-variant-numeric: tabular-nums;
}

.jauge__sur {
  font-size: 0.9rem;
  color: var(--texte-2);
}

.audit__axes-titre {
  font-size: var(--t-h4);
  margin-bottom: var(--e-3);
}

.audit__axes-liste {
  display: grid;
  gap: var(--e-3);
  list-style: none;
  margin-bottom: var(--e-4);
}

.audit__axes-liste li {
  padding-left: 1.6rem;
  position: relative;
  font-size: var(--t-petit);
}

.audit__axes-liste li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: var(--rayon-s);
  background: var(--cyan);
}

.audit__axes-liste strong {
  display: block;
  color: var(--texte);
}

.audit__axes-liste span {
  color: var(--texte-2);
}

.audit__axes .bouton {
  margin-top: var(--e-4);
}

/* -------------------------------------------------------------------------
   10. FORMULES
   ------------------------------------------------------------------------- */
.formule {
  display: flex;
  flex-direction: column;
}

.formule--phare {
  border-color: transparent;
  background:
    linear-gradient(var(--fond-2), var(--fond-2)) padding-box,
    linear-gradient(135deg, rgba(255, 181, 71, 0.7), var(--violet-25)) border-box;
}

/* Seul élément ambre de cet écran. */
.formule__badge {
  align-self: flex-start;
  margin-bottom: var(--e-3);
  padding: 0.25rem 0.6rem;
  border-radius: var(--rayon-rond);
  background: var(--ambre);
  color: var(--texte-sur-clair);
  font-family: var(--police-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.formule__nom {
  font-size: var(--t-h3);
}

.formule__cible {
  font-size: var(--t-petit);
  color: var(--texte-2);
  margin-top: 0.2rem;
}

.formule__prix {
  margin-block: var(--e-4);
}

/* Aucun tarif n'est affiché : tout est chiffré sur devis. */
.formule__devis {
  font-family: var(--police-mono);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--texte);
}

.formule__liste {
  display: grid;
  gap: var(--e-3);
  list-style: none;
  margin-bottom: var(--e-5);
  font-size: var(--t-petit);
  color: var(--texte-2);
}

.formule__liste li {
  position: relative;
  padding-left: 1.5rem;
}

.formule__liste li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 10px;
  height: 6px;
  border-left: 1.5px solid var(--cyan);
  border-bottom: 1.5px solid var(--cyan);
  rotate: -45deg;
}

.formule__cta {
  margin-top: auto;
  width: 100%;
}

.formules__note {
  max-width: 72ch;
  margin-top: var(--e-6);
  font-size: var(--t-petit);
  color: var(--texte-2);
}

/* -------------------------------------------------------------------------
   11. TÉMOIGNAGES
   ------------------------------------------------------------------------- */
.carrousel {
  position: relative;
}

.carrousel__piste {
  display: flex;
  gap: var(--e-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: var(--e-3);
  /* La barre native est masquée : les commandes ci-dessous la remplacent. */
  scrollbar-width: none;
}

.carrousel__piste::-webkit-scrollbar {
  display: none;
}

.temoignage {
  flex: 0 0 min(100%, 30rem);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: var(--e-5);
  border-radius: var(--rayon-l);
  border: 1px solid var(--blanc-06);
  background: linear-gradient(170deg, rgba(14, 22, 38, 0.9), rgba(7, 11, 20, 0.6));
}

.temoignage__texte {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: var(--e-4);
  flex: 1;
}

.temoignage__pied {
  border-top: 1px solid var(--blanc-06);
  padding-top: var(--e-3);
}

.temoignage__nom {
  font-weight: 600;
}

.temoignage__role {
  font-size: var(--t-petit);
  color: var(--texte-2);
}

.temoignage__resultat {
  margin-top: var(--e-2);
  font-family: var(--police-mono);
  font-size: 0.78rem;
  color: var(--cyan-clair);
}

.carrousel__commandes {
  display: flex;
  align-items: center;
  gap: var(--e-3);
  margin-top: var(--e-4);
}

.carrousel__bouton {
  display: grid;
  place-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--rayon-rond);
  border: 1px solid var(--blanc-12);
  color: var(--texte);
  transition: border-color var(--duree-courte), color var(--duree-courte);
}

.carrousel__bouton:hover {
  border-color: var(--cyan-35);
  color: var(--cyan-clair);
}

.carrousel__bouton svg {
  width: 18px;
  height: 18px;
}

.carrousel__points {
  display: flex;
  gap: 0.4rem;
  list-style: none;
}

.carrousel__point {
  width: 24px;
  height: 4px;
  border-radius: var(--rayon-rond);
  background: var(--blanc-12);
  transition: background-color var(--duree-courte);
}

.carrousel__point.est-active {
  background: var(--cyan);
}

/* -------------------------------------------------------------------------
   12. QUESTIONS FRÉQUENTES
   ------------------------------------------------------------------------- */
.accordeon {
  list-style: none;
  border-top: 1px solid var(--blanc-06);
}

.accordeon__item {
  border-bottom: 1px solid var(--blanc-06);
}

.accordeon__bouton {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--e-4);
  width: 100%;
  padding-block: var(--e-4);
  text-align: start;
  font-family: var(--police-texte);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--texte);
  transition: color var(--duree-courte);
}

.accordeon__bouton:hover {
  color: var(--cyan-clair);
}

/* Signe + / − dessiné en CSS, sans image. */
.accordeon__signe {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.accordeon__signe::before,
.accordeon__signe::after {
  content: '';
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 0;
  width: 100%;
  height: 1.5px;
  background: var(--cyan);
  transition: rotate var(--duree-moyenne) var(--sortie), opacity var(--duree-moyenne);
}

.accordeon__signe::after {
  rotate: 90deg;
}

.accordeon__bouton[aria-expanded='true'] .accordeon__signe::after {
  rotate: 0deg;
  opacity: 0;
}

.accordeon__panneau {
  overflow: hidden;
}

.accordeon__panneau p {
  padding-bottom: var(--e-5);
  max-width: 72ch;
  color: var(--texte-2);
}

/* -------------------------------------------------------------------------
   13. CONTACT
   ------------------------------------------------------------------------- */
.contact__grille {
  display: grid;
  gap: var(--e-7);
}

@media (min-width: 56rem) {
  .contact__grille {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--e-8);
  }
}

.contact__form {
  display: grid;
  gap: var(--e-3);
}

.contact__envoyer {
  justify-self: start;
  margin-top: var(--e-2);
}

.contact__etat {
  min-height: 1.4rem;
  font-size: var(--t-petit);
  color: var(--cyan-clair);
}

.contact__etat.est-erreur {
  color: var(--ambre);
}

.carte-andorre svg {
  width: 100%;
  height: auto;
}

.carte-andorre__label {
  font-family: var(--police-mono);
  font-size: 11px;
  fill: var(--texte-2);
  letter-spacing: 0.04em;
}

.carte-andorre__onde {
  fill: rgba(255, 181, 71, 0.18);
}

.coordonnees {
  margin-top: var(--e-5);
  display: grid;
  gap: 0.2rem;
}

.coordonnees dt {
  font-family: var(--police-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-2);
  margin-top: var(--e-4);
}

.coordonnees dd {
  font-size: var(--t-petit);
}

.coordonnees address {
  font-style: normal;
  line-height: 1.7;
}

/* -------------------------------------------------------------------------
   14. PIED DE PAGE
   ------------------------------------------------------------------------- */
.pied {
  position: relative;
  z-index: var(--z-contenu);
  padding-block: var(--e-8) var(--e-6);
  border-top: 1px solid var(--blanc-06);
  background: linear-gradient(180deg, rgba(14, 22, 38, 0.5), var(--fond));
  font-size: var(--t-petit);
}

.pied__haut {
  display: grid;
  gap: var(--e-6);
  padding-bottom: var(--e-6);
}

@media (min-width: 48rem) {
  .pied__haut {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: var(--e-5);
  }
}

.logo--pied {
  width: 168px;
  margin-bottom: var(--e-3);
}

.pied__ligne {
  color: var(--texte-2);
  max-width: 34ch;
}

.pied__titre {
  font-family: var(--police-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--texte-2);
  margin-bottom: var(--e-3);
}

.pied__nav ul,
.pied__langues,
.pied__reseaux {
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

.pied__nav a,
.pied__reseaux a {
  color: var(--texte-2);
  transition: color var(--duree-courte);
}

.pied__nav a:hover,
.pied__reseaux a:hover {
  color: var(--cyan-clair);
}

.pied__langues .langues__option {
  padding: 0.2rem 0;
}

.pied__langues .langues__option:hover {
  background: none;
  color: var(--cyan-clair);
}

.pied__langues .langues__option.est-active {
  background: none;
  color: var(--cyan);
  font-weight: 600;
}

.pied__langues .langues__option.est-active .drapeau {
  box-shadow: 0 0 0 1px var(--cyan-35);
}

.pied__reseaux a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pied__reseaux svg {
  width: 17px;
  height: 17px;
}

.pied__legal {
  display: grid;
  gap: var(--e-2);
  padding-block: var(--e-5);
  border-top: 1px solid var(--blanc-06);
}

.legal summary {
  cursor: pointer;
  padding: 0.5rem 0;
  color: var(--texte-2);
  font-weight: 600;
  list-style-position: inside;
}

.legal summary:hover {
  color: var(--cyan-clair);
}

.legal__corps {
  display: grid;
  gap: var(--e-3);
  padding: var(--e-3) 0 var(--e-4);
  max-width: 78ch;
  color: var(--texte-2);
}

.pied__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--e-3);
  padding-top: var(--e-5);
  border-top: 1px solid var(--blanc-06);
  color: var(--texte-2);
}

.pied__sep {
  margin-inline: 0.5rem;
  opacity: 0.5;
}

.pied__tech {
  max-width: 46ch;
  opacity: 0.8;
}
