/* =============================================================
   FIX GLASS — feuille de style unique, écrite pour ce site
   D'après la Charte graphique V2.0 (2026)

   Aucun framework : ni Bootstrap, ni animate.css, ni owl, ni
   Font Awesome. Les icônes sont un sprite SVG maison.
   ============================================================= */

/* ---------- 1. Réinitialisation ---------- */

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

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

body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
/* Toutes les listes du site sont mises en forme : aucune ne doit
   porter les puces du navigateur. */
ul, ol { list-style: none; padding: 0; }

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

input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

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

:where(h1, h2, h3, h4) { text-wrap: balance; }
:where(p, li) { text-wrap: pretty; }

/* ---------- 2. Jetons de la charte ---------- */

:root {
  /* Palette officielle */
  --nuit: #0b1f3a;
  --nuit-fonce: #071426;
  --nuit-clair: #16385f;
  --cyan: #00b4f0;
  --cyan-fonce: #0090c2;
  --cyan-voile: #e6f7fe;
  --ambre: #ffb400;
  --ambre-voile: #fff5df;
  --ambre-texte: #8a6100;
  --verre: #dce7ee;
  --brume: #f2f6f9;
  --blanc: #fff;

  /* Texte */
  --encre: #0b1f3a;
  --encre-2: #46606f;
  --encre-3: #7b93a3;

  /* Typographie */
  --display: 'Archivo Black', 'Arial Black', system-ui, sans-serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', monospace;

  /* Échelle typographique */
  --t-hero: clamp(2.5rem, 1.5rem + 4.4vw, 4.6rem);
  --t-h1: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem);
  --t-h2: clamp(1.75rem, 1.25rem + 2.2vw, 2.85rem);
  --t-h3: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem);
  --t-body: 1.0625rem;
  --t-petit: 0.9375rem;
  --t-mono: 0.75rem;

  /* Rythme */
  --wrap: 1200px;
  --gouttiere: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7rem);

  /* Formes — industrielles, pas de pilules */
  --r: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --filet: 1px solid var(--verre);

  --ombre: 0 1px 2px rgba(11, 31, 58, .05), 0 8px 24px rgba(11, 31, 58, .06);
  --ombre-forte: 0 24px 60px rgba(7, 20, 38, .22);

  --entete-h: 78px;
}

/* ---------- 3. Base ---------- */

body {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--encre-2);
  background: var(--brume);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--encre);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.2; }

strong { color: var(--encre); font-weight: 600; }

::selection { background: var(--cyan); color: var(--nuit); }

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

.saut-contenu {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 2000;
  background: var(--cyan);
  color: var(--nuit);
  font-weight: 600;
  padding: .75rem 1.25rem;
  border-radius: var(--r);
  transition: top .18s ease;
}

.saut-contenu:focus { top: 1rem; }

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

/* ---------- 4. Mise en page ---------- */

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

.section { padding-block: var(--section); }
.section--serre { padding-block: calc(var(--section) * .62); }
.section--blanc { background: var(--blanc); }
.section--brume { background: var(--brume); }

.section--nuit {
  background: var(--nuit);
  color: rgba(255, 255, 255, .78);
}

.section--nuit h2,
.section--nuit h3 { color: var(--blanc); }

.grille { display: grid; gap: clamp(1rem, 2.2vw, 1.75rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.duo {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

/* ---------- 5. Titres de section ---------- */

.surtitre {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan-fonce);
  margin-bottom: 1.1rem;
}

.surtitre::before {
  content: "";
  width: 24px;
  height: 3px;
  background: var(--cyan);
  flex: none;
}

.section--nuit .surtitre { color: var(--cyan); }

.titre-section { max-width: 46ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.titre-section.est-centre { margin-inline: auto; text-align: center; }
.titre-section.est-centre .surtitre::before { display: none; }
.titre-section p { margin-top: 1.1rem; }
.titre-section h2 em { font-style: normal; color: var(--cyan-fonce); }
.section--nuit .titre-section h2 em { color: var(--cyan); }

/* ---------- 6. Icônes ---------- */

.ico {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ico--accent { color: var(--cyan); }

/* Le second trait de chaque icône porte le Cyan Signal */
.ico .accent { stroke: var(--cyan); }

.pastille {
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--r-md);
  background: var(--cyan-voile);
  color: var(--nuit);
  flex: none;
}

.pastille .ico { width: 1.6rem; height: 1.6rem; }

.section--nuit .pastille {
  background: rgba(0, 180, 240, .14);
  color: var(--blanc);
}

/* ---------- 7. Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 50px;
  padding: .8rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--r);
  font-family: var(--sans);
  font-size: var(--t-petit);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.btn .ico { width: 1.15rem; height: 1.15rem; stroke-width: 2.1; }
.btn .ico .accent { stroke: currentColor; }

.btn--cyan { background: var(--cyan); border-color: var(--cyan); color: var(--nuit); }
.btn--cyan:hover { background: var(--blanc); border-color: var(--blanc); }

.btn--nuit { background: var(--nuit); border-color: var(--nuit); color: var(--blanc); }
.btn--nuit:hover { background: var(--cyan); border-color: var(--cyan); color: var(--nuit); }

.btn--contour { border-color: var(--nuit); color: var(--nuit); }
.btn--contour:hover { background: var(--nuit); color: var(--blanc); }

.btn--fantome { border-color: rgba(255, 255, 255, .4); color: var(--blanc); }
.btn--fantome:hover { background: var(--blanc); border-color: var(--blanc); color: var(--nuit); }

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

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: var(--t-petit);
  color: var(--cyan-fonce);
}

.lien-fleche .ico { width: 1.05rem; height: 1.05rem; transition: transform .16s ease; }
.lien-fleche:hover .ico { transform: translateX(4px); }

/* ---------- 8. En-tête ---------- */

.bandeau {
  background: var(--nuit-fonce);
  color: rgba(255, 255, 255, .74);
  font-size: .8125rem;
}

.bandeau .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 40px;
}

.bandeau ul { display: flex; align-items: center; gap: 1.5rem; }
.bandeau li { display: inline-flex; align-items: center; gap: .5rem; }
.bandeau .ico { width: 1rem; height: 1rem; color: var(--cyan); }
.bandeau a:hover { color: var(--blanc); }

.promos { display: flex; align-items: center; gap: .75rem; }

.promo {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ambre);
}

.promo .ico { width: .95rem; height: .95rem; color: var(--ambre); }
.promo .accent { stroke: var(--ambre); }

.entete {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--nuit);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  transition: box-shadow .2s ease;
}

.entete.est-collee { box-shadow: 0 10px 30px rgba(7, 20, 38, .35); }

.entete .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--entete-h);
}

/* Logotype */
.logo { display: inline-flex; align-items: center; gap: .7rem; }
.logo svg { width: 44px; height: 40px; flex: none; }
.logo-mots { display: flex; flex-direction: column; gap: 3px; }

.logo-nom {
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blanc);
}

.logo-base {
  font-family: var(--mono);
  font-size: .5rem;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  white-space: nowrap;
}

.logo--nuit .logo-nom { color: var(--nuit); }
.logo--nuit .logo-base { color: rgba(11, 31, 58, .82); }

/* Navigation */
.nav-principale > ul { display: flex; align-items: center; gap: .25rem; }

.nav-principale a {
  display: block;
  padding: .6rem .85rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}

.nav-principale a:hover { color: var(--blanc); }

.nav-principale a[aria-current="page"] {
  color: var(--blanc);
  border-bottom-color: var(--cyan);
}

.entete-actions { display: flex; align-items: center; gap: .75rem; }

.entete-tel {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--blanc);
}

.entete-tel .ico { width: 1.05rem; height: 1.05rem; color: var(--cyan); }

/* Bouton hamburger */
.bascule-menu {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r);
  color: var(--blanc);
}

.bascule-menu .ico { width: 1.35rem; height: 1.35rem; }
.bascule-menu .ico-fermer { display: none; }
.bascule-menu[aria-expanded="true"] .ico-ouvrir { display: none; }
.bascule-menu[aria-expanded="true"] .ico-fermer { display: block; }

/* Tiroir mobile */
.tiroir {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--nuit);
  padding: 1.25rem var(--gouttiere) 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .28s ease, visibility .28s;
}

.tiroir.est-ouvert { transform: none; visibility: visible; }

.tiroir-haut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--entete-h);
  margin-bottom: 1.5rem;
}

.tiroir nav a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--blanc);
  letter-spacing: -0.02em;
}

.tiroir nav a[aria-current="page"] { color: var(--cyan); }

.tiroir-contact { margin-top: 2rem; display: grid; gap: .75rem; }

.tiroir-contact a {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: rgba(255, 255, 255, .8);
  font-size: var(--t-petit);
}

.tiroir-contact .ico { color: var(--cyan); width: 1.1rem; height: 1.1rem; }

/* ---------- 9. Photos : traitement de marque ---------- */

/* Charte : lumière froide, voile Bleu Nuit. Les photos chaudes
   des banques d'images sont refroidies et virées vers le bleu. */
.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--verre);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo--ratio { aspect-ratio: 16 / 11; }
.photo--carre { aspect-ratio: 1; }

/* ---------- 10. Bannière d'accueil ---------- */

.heros {
  position: relative;
  overflow: hidden;
  background: var(--nuit);
  color: rgba(255, 255, 255, .82);
  isolation: isolate;
}

.heros-fond {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.heros-fond img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heros::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--nuit);
  opacity: .8;
}

.heros-trame {
  position: absolute;
  right: -8%;
  top: 50%;
  translate: 0 -50%;
  width: min(760px, 62vw);
  aspect-ratio: 1;
  opacity: .14;
  pointer-events: none;
  z-index: -1;
}

.heros .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.etiquette {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--ambre);
  color: var(--nuit);
  font-family: var(--mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .5rem .85rem;
  border-radius: var(--r);
  margin-bottom: 1.4rem;
}

.etiquette .ico { width: 1rem; height: 1rem; }
.etiquette .accent { stroke: currentColor; }

.heros h1 {
  font-size: var(--t-hero);
  text-transform: uppercase;
  color: var(--blanc);
  letter-spacing: -0.028em;
  margin-bottom: 1.25rem;
}

.heros h1 em { font-style: normal; color: var(--cyan); }

.heros-intro {
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem);
  max-width: 48ch;
  margin-bottom: 2rem;
}

.heros-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }

.heros-preuves { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }

.heros-preuves li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: var(--t-petit);
  font-weight: 500;
  color: rgba(255, 255, 255, .9);
}

.heros-preuves .ico {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--cyan);
  stroke-width: 2.4;
}

.heros-visuel { position: relative; }
.heros-visuel .photo { aspect-ratio: 4 / 5; box-shadow: var(--ombre-forte); }

/* Carte flottante sur la photo */
.heros-carte {
  position: absolute;
  left: -1.5rem;
  bottom: 1.75rem;
  background: var(--blanc);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--ombre-forte);
  display: flex;
  align-items: center;
  gap: .9rem;
  max-width: 15rem;
}

.heros-carte .pastille { width: 2.6rem; height: 2.6rem; }
.heros-carte .pastille .ico { width: 1.3rem; height: 1.3rem; }

.heros-carte strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.heros-carte span {
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--encre-3);
}

/* ---------- 11. Bandeau de confiance ---------- */

.confiance { background: var(--blanc); border-bottom: var(--filet); }

.confiance ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.confiance li {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.6rem clamp(.75rem, 2vw, 1.5rem);
  border-right: var(--filet);
}

.confiance li:last-child { border-right: 0; }
.confiance .ico { width: 1.85rem; height: 1.85rem; color: var(--nuit); }

.confiance strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--encre);
}

.confiance span {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--encre-3);
}

/* ---------- 12. Cartes ---------- */

.carte {
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border: var(--filet);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}

.carte:hover { border-color: var(--cyan); transform: translateY(-4px); }

.carte-corps { padding: clamp(1.35rem, 2.4vw, 1.85rem); display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.carte-corps h3 { margin-bottom: 0; }
.carte-corps p { font-size: var(--t-petit); margin: 0; }
.carte-corps .lien-fleche { margin-top: auto; padding-top: .5rem; }
.carte:hover .pastille { background: var(--cyan); }
.carte .photo { border-radius: 0; aspect-ratio: 16 / 10; }

/* Carte compacte, sans photo */
.carte--plate { padding: clamp(1.5rem, 2.6vw, 2rem); gap: 1rem; }
.carte--plate h3 { margin: 0; }
.carte--plate p { font-size: var(--t-petit); margin: 0; }

/* ---------- 13. Étapes ---------- */

.etapes { counter-reset: etape; }

.etape {
  position: relative;
  padding-top: 2.25rem;
  border-top: 3px solid var(--verre);
  transition: border-color .18s ease;
}

.etape:hover { border-top-color: var(--cyan); }

.etape::before {
  counter-increment: etape;
  content: "0" counter(etape);
  position: absolute;
  top: 1rem;
  left: 0;
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--cyan-fonce);
}

.etape h3 { margin: .75rem 0 .5rem; }
.etape p { font-size: var(--t-petit); margin: 0; }

.section--nuit .etape { border-top-color: rgba(255, 255, 255, .18); }
.section--nuit .etape::before { color: var(--cyan); }
.section--nuit .etape p { color: rgba(255, 255, 255, .74); }

/* ---------- 14. Listes de points ---------- */

.points { display: grid; gap: .8rem; }

.points li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: var(--t-petit);
  font-weight: 500;
  color: var(--encre);
}

.points .ico {
  width: 1.35rem;
  height: 1.35rem;
  padding: .18rem;
  border-radius: 3px;
  background: var(--cyan);
  color: var(--nuit);
  stroke-width: 2.6;
  margin-top: .12rem;
}

.section--nuit .points li { color: rgba(255, 255, 255, .9); }

/* Badges promo — Ambre Intervention */
.badges { display: flex; flex-wrap: wrap; gap: .65rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--ambre-voile);
  border: 1px solid var(--ambre);
  border-radius: var(--r);
  padding: .55rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--encre);
}

.badge .ico { width: 1.05rem; height: 1.05rem; color: var(--ambre-texte); }
.badge .accent { stroke: var(--ambre-texte); }

/* ---------- 15. Chiffres ---------- */

.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--verre); border: var(--filet); border-radius: var(--r-lg); overflow: hidden; }
.chiffre { background: var(--blanc); padding: clamp(1.4rem, 2.6vw, 2rem); }

.chiffre strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--nuit);
  margin-bottom: .4rem;
}

.chiffre span {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--encre-3);
}

/* ---------- 16. Avis ---------- */

.avis {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: var(--blanc);
  border: var(--filet);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.6vw, 2rem);
}

.avis-etoiles { display: flex; gap: .2rem; color: var(--ambre); }
.avis-etoiles .ico { width: 1.05rem; height: 1.05rem; fill: var(--ambre); stroke: none; }

.avis blockquote { font-size: 1.0625rem; line-height: 1.6; color: var(--encre); font-weight: 500; }
.avis footer { margin-top: auto; padding-top: 1rem; border-top: var(--filet); }
.avis cite { font-family: var(--display); font-size: .95rem; font-style: normal; letter-spacing: -0.01em; color: var(--encre); display: block; }
.avis footer span { font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-fonce); }

/* ---------- 17. Bandeau d'appel ---------- */

.rappel {
  position: relative;
  overflow: hidden;
  background: var(--nuit);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4.5vw, 3.4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}

.rappel-chevrons {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  translate: 0 -50%;
  width: 190px;
  opacity: .5;
  pointer-events: none;
}

.rappel > * { position: relative; z-index: 1; }
.rappel p.surtitre { color: var(--ambre); margin-bottom: .75rem; }
.rappel p.surtitre::before { background: var(--ambre); }
.rappel h2 { color: var(--blanc); max-width: 20ch; }
.rappel h2 em { font-style: normal; color: var(--cyan); }
.rappel-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- 18. Formulaire ---------- */

.formulaire { display: grid; gap: 1rem; }
.champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.champ { display: grid; gap: .4rem; }
.champ--large { grid-column: 1 / -1; }

.champ label {
  font-family: var(--mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--encre-3);
}

.champ label .requis { color: var(--cyan-fonce); }

.champ input,
.champ select,
.champ textarea {
  width: 100%;
  min-height: 50px;
  padding: .7rem .9rem;
  background: var(--blanc);
  border: 1.5px solid var(--verre);
  border-radius: var(--r);
  font-size: var(--t-petit);
  color: var(--encre);
  transition: border-color .16s ease, box-shadow .16s ease;
}

.champ textarea { min-height: 130px; resize: vertical; }

.champ input::placeholder,
.champ textarea::placeholder { color: var(--encre-3); }

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 240, .2);
}

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

/* Formulaire posé sur l'aplat Bleu Nuit */
.section--nuit .champ label { color: rgba(255, 255, 255, .62); }

.section--nuit .champ input,
.section--nuit .champ select,
.section--nuit .champ textarea {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .2);
  color: var(--blanc);
}

.section--nuit .champ input::placeholder,
.section--nuit .champ textarea::placeholder { color: rgba(255, 255, 255, .5); }

.section--nuit .champ input:focus,
.section--nuit .champ select:focus,
.section--nuit .champ textarea:focus { background: rgba(255, 255, 255, .12); border-color: var(--cyan); }

.note-form { font-family: var(--mono); font-size: .6875rem; letter-spacing: .04em; color: var(--encre-3); }
.section--nuit .note-form { color: rgba(255, 255, 255, .55); }

.retour-form {
  display: none;
  align-items: flex-start;
  gap: .75rem;
  padding: .9rem 1.1rem;
  border-radius: var(--r);
  font-size: var(--t-petit);
  font-weight: 500;
  line-height: 1.5;
}

.retour-form.est-visible { display: flex; }
.retour-form .ico { width: 1.25rem; height: 1.25rem; margin-top: .12rem; }
.retour-form.est-ok { background: var(--cyan-voile); border: 1px solid var(--cyan); color: var(--nuit); }
.retour-form.est-ok .ico { color: var(--cyan-fonce); }
.retour-form.est-ko { background: var(--ambre-voile); border: 1px solid var(--ambre); color: var(--nuit); }
.retour-form.est-ko .ico { color: var(--ambre-texte); }
.section--nuit .retour-form.est-ok { background: rgba(0, 180, 240, .16); color: var(--blanc); }
.section--nuit .retour-form.est-ok .ico { color: var(--cyan); }
.section--nuit .retour-form.est-ko { background: rgba(255, 180, 0, .16); color: var(--blanc); }
.section--nuit .retour-form.est-ko .ico { color: var(--ambre); }

/* ---------- 19. En-tête de page intérieure ---------- */

.entete-page {
  position: relative;
  overflow: hidden;
  background: var(--nuit);
  color: rgba(255, 255, 255, .78);
  padding-block: clamp(3rem, 7vw, 5rem);
  isolation: isolate;
}

.entete-page .heros-trame { opacity: .13; }
.entete-page h1 { color: var(--blanc); text-transform: uppercase; margin-bottom: .9rem; }
.entete-page p { max-width: 52ch; }

.fil { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; }
.fil li { display: inline-flex; gap: .5rem; color: rgba(255, 255, 255, .55); }
.fil li + li::before { content: "/"; color: rgba(255, 255, 255, .3); }
.fil a { color: var(--cyan); }
.fil a:hover { color: var(--blanc); }

/* ---------- 20. Zone d'intervention ---------- */

.zone {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: .5rem;
}

.zone li {
  padding: .6rem .8rem;
  background: var(--blanc);
  border: var(--filet);
  border-radius: var(--r);
  font-size: .875rem;
  font-weight: 500;
  color: var(--encre);
}

/* ---------- 21. Pied de page ---------- */

.pied { background: var(--nuit); color: rgba(255, 255, 255, .68); }

.pied-chiffres {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--cyan);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.1rem) clamp(1.5rem, 3vw, 2.5rem);
  margin-top: calc(var(--section) * -.42);
  position: relative;
  z-index: 1;
}

.pied-chiffres ul { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); }
.pied-chiffres li { display: flex; align-items: center; gap: .85rem; }
.pied-chiffres .ico { width: 2rem; height: 2rem; color: var(--nuit); }

.pied-chiffres strong {
  display: block;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--nuit);
}

.pied-chiffres span {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(11, 31, 58, .75);
}

.pied-colonnes {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.pied h4 {
  font-family: var(--display);
  font-size: .9375rem;
  color: var(--blanc);
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}

.pied p { font-size: var(--t-petit); }
.pied li + li { margin-top: .65rem; }
.pied-colonnes a { font-size: var(--t-petit); transition: color .16s ease; }
.pied-colonnes a:hover { color: var(--blanc); }

.pied-liens a { display: inline-block; }

.pied-contact li { display: flex; align-items: flex-start; gap: .65rem; }
.pied-contact .ico { width: 1.1rem; height: 1.1rem; color: var(--cyan); margin-top: .2rem; }

.pied-bas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.4rem;
  font-family: var(--mono);
  font-size: .75rem;
  color: rgba(255, 255, 255, .5);
}

.pied-bas a:hover { color: var(--cyan); }

/* ---------- 22. Barre d'action mobile ---------- */

.barre-action { display: none; }

/* ---------- 23. Écran de chargement ---------- */

.chargement {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: var(--nuit);
  transition: opacity .45s ease, visibility .45s;
}

.chargement.est-fini { opacity: 0; visibility: hidden; }

.chargement-bloc { display: grid; justify-items: center; padding-inline: 1.5rem; }
.chargement svg { width: 92px; height: 84px; overflow: visible; margin-bottom: 1.4rem; }

.trace { stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace .62s cubic-bezier(.65, .05, .28, 1) forwards; }
.trace-1 { animation-delay: .05s; }
.trace-2 { animation-delay: .38s; animation-duration: .3s; }
.trace-3 { animation-delay: .5s; animation-duration: .72s; }

@keyframes trace { to { stroke-dashoffset: 0; } }

.chargement-nom {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blanc);
  margin-bottom: .5rem;
  opacity: 0;
  animation: monter .5s ease .82s forwards;
}

.chargement-base {
  font-family: var(--mono);
  font-size: .625rem;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: monter .5s ease .94s forwards;
}

@keyframes monter { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }

.chargement-filet { width: 150px; height: 2px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.chargement-filet span { display: block; width: 40%; height: 100%; background: var(--cyan); animation: filet 1.1s ease-in-out infinite; }

@keyframes filet { from { translate: -100% 0; } to { translate: 350% 0; } }

/* ---------- 24. Apparition au défilement ---------- */

.revele { opacity: 0; translate: 0 18px; transition: opacity .5s ease, translate .5s ease; }
.revele.est-vu { opacity: 1; translate: 0 0; }

/* ---------- 25. Retour en haut ---------- */

.haut {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 890;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r);
  background: var(--cyan);
  color: var(--nuit);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s, background-color .16s ease;
}

.haut.est-visible { opacity: 1; visibility: visible; }
.haut:hover { background: var(--blanc); }

/* =============================================================
   26. ADAPTATIF
   ============================================================= */

@media (max-width: 1080px) {
  .pied-colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .heros .wrap { grid-template-columns: 1fr; }
  .heros-visuel { display: none; }
  .heros-intro { max-width: none; }
}

@media (max-width: 900px) {
  .nav-principale, .entete-tel { display: none; }
  .bascule-menu { display: grid; }
  .confiance ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .confiance li:nth-child(2n) { border-right: 0; }
  .confiance li:nth-child(-n+2) { border-bottom: var(--filet); }
  .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo { grid-template-columns: 1fr; }
  .bandeau .promos { display: none; }
}

@media (max-width: 720px) {
  .g-3, .g-2 { grid-template-columns: 1fr; }
  .bandeau ul.bandeau-infos li:not(.tel-bandeau) { display: none; }
  .rappel { flex-direction: column; align-items: flex-start; }
  .rappel-chevrons { display: none; }
  .pied-chiffres { justify-content: flex-start; }
  .champs { grid-template-columns: 1fr; }

  /* Sous 720 px la barre d'action du bas porte deja les deux actions :
     le bouton de l'en-tete ferait deborder la ligne. */
  .entete-actions .btn { display: none; }

  /* Barre d'action : appeler ou demander un devis */
  .barre-action {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 895;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    padding: .5rem;
    background: var(--nuit);
    border-top: 2px solid var(--cyan);
  }

  .barre-action .btn { min-height: 48px; padding-inline: .75rem; }
  body { padding-bottom: 4.5rem; }
  .haut { bottom: 5rem; }
}

@media (max-width: 560px) {
  .g-4, .chiffres, .confiance ul { grid-template-columns: 1fr; }
  .confiance li { border-right: 0; border-bottom: var(--filet); }
  .confiance li:last-child { border-bottom: 0; }
  .chiffres > * + * { border-top: var(--filet); }
  .heros-actions .btn { width: 100%; }
  .logo svg { width: 38px; height: 35px; }
  .logo-nom { font-size: 1.1rem; }
  .logo-base { font-size: .44rem; }
}

/* ---------- 27. Préférences système ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .trace { stroke-dashoffset: 0; }
  .chargement-nom, .chargement-base { opacity: 1; }
  .revele { opacity: 1; translate: none; }
}

@media print {
  .chargement, .barre-action, .haut, .bandeau, .tiroir, .rappel { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
}
