/* ==========================================================================
   META EVENTS — feuille de style
   Charte : style « salle de projection » (inspiré de Frame.io) adapté au logo.
   Indigo du logo #221C35 pour les fonds, gris du logo #E8E8E8 pour le texte,
   un seul accent : Lueur, un jaune franc #FFE100 (façon BIC), complémentaire de l'indigo.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("../fonts/space-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs */
  --c-vellum: #e8e8e8;      /* gris du logo : texte principal, bouton principal */
  --c-blanc: #f6f5fa;
  --c-nuit: #0c0a14;        /* fond de page */
  --c-voile: #07060c;       /* fond de la navigation */
  --c-graphite: #110e1c;    /* surfaces surélevées */
  --c-indigo: #221c35;      /* indigo du logo */
  --c-fumee: #86819b;       /* texte secondaire, métadonnées */
  --c-cendre: #aba7ba;      /* paragraphes, descriptions */
  --c-charbon: #2a2638;     /* filets */
  --c-crepuscule: #4b4170;  /* bordures violettes, halos */
  --c-lueur: #ffe100;       /* accent unique : jaune franc, façon BIC */
  --c-lueur-rgb: 255, 225, 0;
  --c-lueur-pale: #fff09a;  /* teinte claire de l'accent */
  --c-accent-texte: var(--c-lueur); /* accent des textes et icônes (indigo en thème clair) */

  /* Typographie */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --text-caption: 12px;
  --text-body-sm: 14px;
  --text-body: 16px;
  --text-subheading: 18px;
  --text-heading-sm: 24px;
  --text-heading: clamp(28px, 3.4vw, 38px);
  --text-heading-lg: clamp(34px, 4.6vw, 48px);
  --text-display: clamp(42px, 7vw, 80px);

  /* Espacements */
  --space-8: 8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-80: 80px;
  --space-section: clamp(72px, 10vw, 128px);

  /* Mise en page */
  --page-max: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 80px;

  /* Rayons */
  /* Angles droits, comme les blocs du logo : cadres, cartes, champs */
  --radius-card: 0;
  --radius-feature: 0;
  --radius-pill: 100px;

  /* Ombres */
  --halo: 0 0 0 1px var(--c-crepuscule), 0 0 60px rgba(108, 90, 200, 0.16);
  --ombre-video: 0 24px 48px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  background: var(--c-nuit);
  color: var(--c-vellum);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.45;
  letter-spacing: 0.01em;
  font-feature-settings: "ss01" on, "cv11" on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--c-lueur);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--c-lueur);
  color: var(--c-nuit);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lien-evitement {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--c-vellum);
  color: var(--c-nuit);
  font-weight: 500;
  text-decoration: none;
}

.lien-evitement:focus {
  top: 16px;
}

.icone {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icone--sm {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   Mise en page
   -------------------------------------------------------------------------- */

.conteneur {
  width: 100%;
  max-width: calc(var(--page-max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--space-section);
  position: relative;
}

.section--serree {
  padding-block: calc(var(--space-section) * 0.6);
}

.section--filet {
  border-top: 1px solid var(--c-charbon);
}

/* Atmosphères : le fond n'est jamais un aplat, la lumière change de coin */
.atmo-hero {
  background:
    radial-gradient(ellipse 70% 55% at 78% 105%, rgba(104, 82, 214, 0.32), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 0%, rgba(34, 28, 53, 0.9), transparent 70%),
    linear-gradient(195deg, #140d28 0%, #07060c 55%, #120f26 100%);
}

.atmo-a {
  background:
    radial-gradient(ellipse 70% 75% at 0% 0%, #1d1836 0%, rgba(12, 10, 20, 0) 72%),
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(34, 28, 53, 0.6), transparent 70%),
    var(--c-nuit);
}

.atmo-b {
  background:
    radial-gradient(ellipse 60% 65% at 100% 40%, rgba(75, 65, 112, 0.34), transparent 70%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(34, 28, 53, 0.5), transparent 70%),
    linear-gradient(180deg, var(--c-nuit), #0d0b17);
}

.atmo-c {
  background:
    radial-gradient(ellipse 80% 70% at 50% 120%, rgba(104, 82, 214, 0.28), transparent 70%),
    linear-gradient(180deg, #0a0812 0%, #110c22 100%);
}

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */

.surtitre {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-accent-texte);
  margin-bottom: var(--space-16);
}

.titre-display {
  font-size: var(--text-display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--c-vellum);
  text-wrap: balance;
}

.titre-lg {
  font-size: var(--text-heading-lg);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.titre {
  font-size: var(--text-heading);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.titre-sm {
  font-size: var(--text-heading-sm);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.chapo {
  font-size: var(--text-subheading);
  line-height: 1.4;
  color: var(--c-cendre);
  max-width: 560px;
  text-wrap: pretty;
}

.texte {
  color: var(--c-cendre);
  max-width: 620px;
  text-wrap: pretty;
}

.texte + .texte {
  margin-top: var(--space-16);
}

.meta {
  font-size: 13px;
  color: var(--c-fumee);
}

.accent {
  color: var(--c-accent-texte);
}

.entete-section {
  max-width: 760px;
  margin-bottom: var(--space-56);
}

.entete-section .chapo {
  margin-top: var(--space-24);
}

.entete-section--centre {
  margin-inline: auto;
  text-align: center;
}

.entete-section--centre .chapo {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--principal {
  background: var(--c-vellum);
  color: var(--c-nuit);
}

.btn--principal:hover {
  background: var(--c-blanc);
}

.btn--fantome {
  background: transparent;
  color: var(--c-vellum);
  border-color: var(--c-vellum);
  font-weight: 400;
}

.btn--fantome:hover {
  background: var(--c-vellum);
  color: var(--c-nuit);
}

.btn--compact {
  min-height: 40px;
  padding: 12px 20px;
}

.groupe-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-accent-texte);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.lien-fleche .icone {
  transition: transform 0.2s ease;
}

.lien-fleche:hover .icone {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 6, 12, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(42, 38, 56, 0.7);
}

.nav__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
  height: var(--nav-h);
}

/* Le logo occupe toute la hauteur de la barre, sans marge en haut ni en bas.
   Un filet clair à droite détache sa moitié indigo du fond. */
.nav__logo {
  display: block;
  flex: none;
  align-self: stretch;
}

.nav__logo img {
  height: var(--nav-h);
  width: auto;
  box-shadow: 1px 0 0 rgba(232, 232, 232, 0.22);
}

/* Le logo est large : le bouton devis passe dans le menu un peu plus tôt */
@media (max-width: 1359px) {
  .nav__actions .btn--devis {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 64px;
  }
}

@media (max-width: 400px) {
  :root {
    --nav-h: 54px;
  }
}

@media (max-width: 340px) {
  :root {
    --nav-h: 46px;
  }
}

.nav__liens {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__lien {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--c-vellum);
  text-decoration: none;
  white-space: nowrap;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Juste avant le passage au menu mobile, la barre se resserre pour garder le
   bouton de thème sans déborder */
@media (min-width: 1101px) and (max-width: 1239px) {
  .nav__barre {
    gap: 16px;
  }

  .nav__lien {
    padding-inline: 10px;
  }
}

@media (min-width: 1101px) and (max-width: 1179px) {
  .nav__barre {
    gap: 12px;
  }

  .nav__lien {
    padding-inline: 6px;
  }
}

.nav__menu-btn {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-charbon);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--c-vellum);
  cursor: pointer;
}

.nav__menu-btn .icone-fermer {
  display: none;
}

.nav[data-ouvert="true"] .nav__menu-btn .icone-ouvrir {
  display: none;
}

.nav[data-ouvert="true"] .nav__menu-btn .icone-fermer {
  display: block;
}

@media (max-width: 1100px) {
  .nav__menu-btn {
    display: grid;
  }

  .nav__liens {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--c-voile);
    border-bottom: 1px solid var(--c-charbon);
    display: none;
  }

  .nav[data-ouvert="true"] .nav__liens {
    display: flex;
  }

  .nav__lien {
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--c-charbon);
  }

  .nav__actions .btn--devis {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav__barre {
    gap: 12px;
  }

  .nav__actions .btn--tel span {
    display: none;
  }

  .nav__actions .btn--tel {
    width: 44px;
    min-height: 44px;
    padding: 0;
  }
}

/* --------------------------------------------------------------------------
   Héro
   -------------------------------------------------------------------------- */

.hero {
  padding-block: clamp(56px, 9vw, 120px) clamp(72px, 10vw, 140px);
  overflow: hidden;
}

.hero__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero__texte .chapo {
  margin-top: var(--space-24);
}

.hero__texte .groupe-btn {
  margin-top: var(--space-40);
}

.hero__reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: var(--space-32);
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--c-fumee);
}

.hero__reassurance li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__reassurance .icone {
  color: var(--c-accent-texte);
}

.hero__visuel {
  position: relative;
}

@media (max-width: 900px) {
  .hero__grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Cadre « produit » : angles droits comme le logo, filet violet, halo */
.cadre {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--c-graphite);
  box-shadow: var(--halo), var(--ombre-video);
}

.cadre img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cadre--photo {
  aspect-ratio: 4 / 3.4;
}

.cadre--photo img {
  object-position: 60% 60%;
}

/* Vitrine : le groupe détouré dans un cadre de verre dépoli ; le diaporama du héro
   transparaît, flouté, derrière lui. Ombre au sol sous les roues. */
.cadre.vitrine {
  background: rgba(16, 26, 56, 0.16);
  -webkit-backdrop-filter: blur(8px) saturate(1.15) brightness(1.05);
  backdrop-filter: blur(8px) saturate(1.15) brightness(1.05);
}

.vitrine::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 10, 20, 0) 55%, rgba(12, 10, 20, 0.25) 80%, rgba(12, 10, 20, 0.5) 100%),
    radial-gradient(ellipse 70% 45% at 55% 30%, rgba(232, 232, 232, 0.12), transparent 70%);
  pointer-events: none;
}

.vitrine__ombre {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 14%;
  width: 78%;
  height: 8%;
  border-radius: 50%;
  transform: translateX(-48%);
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.28) 60%, transparent);
  filter: blur(6px);
}

/* Sur la vitrine, la carte « En service » se pose sur le ciel, pas sur le groupe ;
   sur petit écran, elle passe sous le cadre */
.hero__visuel .carte-flottante {
  top: clamp(20px, 4vw, 40px);
  bottom: auto;
}

@media (max-width: 900px) {
  .hero__visuel .carte-flottante {
    position: relative;
    top: auto;
    left: auto;
    margin-top: 12px;
  }
}

.cadre .vitrine__groupe {
  position: absolute;
  z-index: 3;
  left: 8%;
  bottom: 5%;
  width: 90%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.4));
}

/* Annonce de saison, au-dessus du titre, à angles droits comme le logo */
.annonce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: var(--space-24);
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--c-crepuscule);
  border-radius: 0;
  background: rgba(17, 14, 28, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13px;
  line-height: 1.3;
  color: var(--c-vellum);
  text-decoration: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.annonce:hover {
  border-color: var(--c-accent-texte);
  background: rgba(34, 28, 53, 0.7);
}

.annonce__badge {
  flex: none;
  padding: 4px 10px;
  border-radius: 0;
  background: var(--c-vellum);
  color: var(--c-nuit);
  font-size: 12px;
  font-weight: 500;
}

.annonce .icone {
  flex: none;
  color: var(--c-accent-texte);
  transition: transform 0.3s ease;
}

.annonce:hover .icone {
  transform: translateX(3px);
}

/* Carte flottante posée sur le visuel */
.carte-flottante {
  position: absolute;
  left: clamp(-32px, -3vw, -12px);
  bottom: clamp(20px, 4vw, 40px);
  min-width: 240px;
  padding: 18px 20px;
  border-radius: var(--radius-card);
  background: rgba(17, 14, 28, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--halo);
}

.carte-flottante .surtitre {
  margin-bottom: 10px;
  font-size: 11px;
}

.carte-flottante__titre {
  font-size: 15px;
  font-weight: 500;
}

.carte-flottante__specs {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 6px 20px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--c-cendre);
}

.carte-flottante__specs dt {
  color: var(--c-fumee);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.carte-flottante__specs dd {
  color: var(--c-vellum);
}

.pastille-direct {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-lueur);
  box-shadow: 0 0 0 4px rgba(var(--c-lueur-rgb), 0.18);
}

@media (max-width: 900px) {
  .carte-flottante {
    left: 12px;
    bottom: 12px;
    min-width: 0;
  }
}

/* --------------------------------------------------------------------------
   Colonnes typographiques (pas de cartes)
   -------------------------------------------------------------------------- */

.colonnes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-40) var(--space-24);
  list-style: none;
  padding: 0;
}

.colonnes--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.colonne .icone {
  color: var(--c-accent-texte);
  margin-bottom: var(--space-24);
}

.colonne__titre {
  font-size: var(--text-subheading);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.colonne__texte {
  font-size: var(--text-body-sm);
  line-height: 1.5;
  color: var(--c-cendre);
}

.colonne .lien-fleche {
  margin-top: var(--space-16);
}

@media (max-width: 1024px) {
  .colonnes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .colonnes,
  .colonnes--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Cinq rubriques (accueil) : sur une ligne, puis 3 + 2, puis 2 par ligne, puis 1 */
.colonnes--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1240px) {
  .colonnes--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .colonnes--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .colonnes--5 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Chiffres
   -------------------------------------------------------------------------- */

.chiffres {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--c-charbon);
  list-style: none;
  padding: 0;
}

.chiffre {
  padding: var(--space-32) var(--space-24) 0 0;
}

.chiffre + .chiffre {
  padding-left: var(--space-24);
  border-left: 1px solid var(--c-charbon);
}

.chiffre__valeur {
  display: block;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--c-vellum);
}

/* Valeur en toutes lettres : même hauteur de ligne que les chiffres, pour que
   les libellés restent alignés */
.chiffre__valeur--mot {
  display: flex;
  align-items: flex-end;
  min-height: clamp(40px, 5vw, 64px);
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -0.035em;
}

.chiffre__valeur small {
  font-size: 0.45em;
  letter-spacing: -0.02em;
  color: var(--c-accent-texte);
  margin-left: 4px;
}

.chiffre__libelle {
  display: block;
  margin-top: var(--space-16);
  font-size: var(--text-body-sm);
  color: var(--c-cendre);
  max-width: 220px;
}

@media (max-width: 900px) {
  .chiffres {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chiffre:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .chiffre:nth-child(n + 3) {
    margin-top: var(--space-32);
    border-top: 1px solid var(--c-charbon);
  }
}

/* --------------------------------------------------------------------------
   Étapes
   -------------------------------------------------------------------------- */

.etapes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-24);
  counter-reset: etape;
  list-style: none;
  padding: 0;
}

.etape {
  position: relative;
  padding-top: var(--space-24);
  border-top: 1px solid var(--c-crepuscule);
  counter-increment: etape;
}

.etape::before {
  content: counter(etape, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  letter-spacing: 0.06em;
  color: var(--c-accent-texte);
  margin-bottom: var(--space-24);
}

.etape__titre {
  font-size: var(--text-subheading);
  font-weight: 500;
  margin-bottom: 10px;
}

.etape__texte {
  font-size: var(--text-body-sm);
  line-height: 1.5;
  color: var(--c-cendre);
}

@media (max-width: 900px) {
  .etapes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: var(--space-40);
  }
}

@media (max-width: 560px) {
  .etapes {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Bloc fondateur + références
   -------------------------------------------------------------------------- */

.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}

@media (max-width: 900px) {
  .duo {
    grid-template-columns: minmax(0, 1fr);
  }
}

.citation {
  margin: var(--space-32) 0 0;
  padding-left: var(--space-24);
  border-left: 1px solid var(--c-crepuscule);
  font-size: var(--text-subheading);
  line-height: 1.45;
  color: var(--c-vellum);
}

.citation footer {
  margin-top: var(--space-16);
  font-size: 13px;
  color: var(--c-fumee);
}

.references {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--c-charbon);
}

.reference {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-charbon);
}

.reference__nom {
  font-size: var(--text-subheading);
  letter-spacing: -0.01em;
}

.reference__lieu {
  font-size: var(--text-body-sm);
  color: var(--c-fumee);
}

.reference__annees {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  letter-spacing: 0.04em;
  color: var(--c-cendre);
  text-align: right;
}

.note {
  margin-top: var(--space-24);
  font-size: 13px;
  color: var(--c-fumee);
  max-width: 560px;
}

/* --------------------------------------------------------------------------
   Zone d'intervention
   -------------------------------------------------------------------------- */

.pilules {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.pilule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--c-charbon);
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--c-vellum);
  background: rgba(17, 14, 28, 0.6);
}

.pilule--accent {
  border-color: var(--c-crepuscule);
  color: var(--c-lueur-pale);
}

.pilule .icone {
  color: var(--c-accent-texte);
}

/* Zone : texte et communes à gauche, panorama encadré à droite */
.zone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.zone .entete-section {
  margin-bottom: var(--space-40);
}

.zone__vue {
  aspect-ratio: 5 / 4;
}

/* Calque légèrement plus haut que le cadre, pour la parallaxe */
.zone__couche {
  position: absolute;
  inset: -22% 0;
}

.zone__couche img {
  object-position: 58% 50%;
}

.carte-flottante--zone {
  display: flex;
  flex-direction: column;
  left: 20px;
  bottom: 20px;
  min-width: 0;
}

@media (max-width: 900px) {
  .zone {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Appel à l'action final
   -------------------------------------------------------------------------- */

.appel {
  text-align: center;
}

.appel .titre-display {
  max-width: 900px;
  margin-inline: auto;
}

/* Sur la photo, le sous-titre passe en clair, avec une ombre portée douce */
.appel .chapo {
  margin: var(--space-24) auto 0;
  color: #e2dfeb;
  text-shadow: 0 1px 2px rgba(12, 10, 20, 0.9), 0 2px 20px rgba(12, 10, 20, 0.85);
}

.appel .surtitre,
.appel .titre-display,
.appel__tel {
  text-shadow: 0 2px 24px rgba(12, 10, 20, 0.7);
}

.appel .groupe-btn {
  justify-content: center;
  margin-top: var(--space-40);
}

.appel__tel {
  display: inline-block;
  margin-top: var(--space-40);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--c-vellum);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.appel__tel:hover {
  color: var(--c-accent-texte);
}

/* --------------------------------------------------------------------------
   Pages intérieures : en-tête
   -------------------------------------------------------------------------- */

.entete-page {
  padding-block: clamp(56px, 8vw, 104px) clamp(48px, 7vw, 88px);
}

/* Bloc de texte d'un haut de page sur une seule colonne (À propos) : limité à la
   largeur du titre, pour que son halo ne couvre pas toute la photo */
.entete-page__texte {
  max-width: 1000px;
}

.entete-page .chapo {
  margin-top: var(--space-24);
}

.entete-page .groupe-btn {
  margin-top: var(--space-40);
}

.entete-page__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

@media (max-width: 900px) {
  .entete-page__grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

.fil-ariane {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-32);
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--c-fumee);
}

.fil-ariane li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--c-charbon);
}

.fil-ariane a {
  text-decoration: none;
}

.fil-ariane a:hover {
  color: var(--c-vellum);
}

/* Sommaire typographique des pages intérieures */
.sommaire ol {
  margin: 0;
  border-top: 1px solid var(--c-charbon);
}

.sommaire a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--c-charbon);
  font-size: var(--text-heading-sm);
  letter-spacing: -0.03em;
  text-decoration: none;
  transition: color 0.2s ease, padding 0.2s ease;
}

.sommaire a:hover {
  color: var(--c-accent-texte);
  padding-left: 12px;
}

.sommaire .icone {
  margin-left: auto;
  color: var(--c-accent-texte);
}

.sommaire__num {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  letter-spacing: 0.06em;
  color: var(--c-accent-texte);
}

/* Scène lumineuse : le groupe détouré devant une lumière en dégradé */
.scene {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: clamp(440px, 64vh, 700px);
}

/* Le héro qui accueille la scène : elle occupe toute sa hauteur, du menu au bas
   de la section, et le texte garde ses marges */
.entete-page--scene {
  padding-bottom: 0;
}

.entete-page--scene .entete-page__grille {
  align-items: stretch;
}

.entete-page--scene .entete-page__grille > :first-child {
  align-self: center;
  padding-bottom: clamp(48px, 7vw, 88px);
}

.entete-page--scene .scene {
  margin-top: calc(-1 * clamp(56px, 8vw, 104px));
}

@media (max-width: 900px) {
  .entete-page--scene .scene {
    margin-top: 0;
    min-height: 420px;
  }
}

/* Nappes de gris du logo, floues et animées dans mouvement.css. Le contre-jour
   transforme le liseré du détourage en lumière de bord. */
.scene__lumiere {
  position: absolute;
  inset: -26% -36% -6%;
  z-index: 0;
  filter: blur(50px);
  pointer-events: none;
}

.scene__lumiere span {
  position: absolute;
  border-radius: 50%;
}

.scene__lumiere span:nth-child(1) {
  left: 24%;
  top: 10%;
  width: 56%;
  height: 58%;
  background: radial-gradient(circle, rgba(232, 232, 232, 0.85), transparent 66%);
}

.scene__lumiere span:nth-child(2) {
  left: 42%;
  top: 26%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(206, 204, 216, 0.62), transparent 66%);
}

.scene__lumiere span:nth-child(3) {
  left: 12%;
  top: 34%;
  width: 44%;
  height: 42%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 66%);
}

/* Le sol : une flaque de lumière et une ligne d'horizon sous le groupe */
.scene__sol {
  position: absolute;
  z-index: 1;
  left: -10%;
  right: -10%;
  bottom: 2%;
  height: 26%;
  background: radial-gradient(ellipse 50% 30% at 50% 50%, rgba(232, 232, 232, 0.42), rgba(232, 232, 232, 0.1) 55%, transparent 76%);
}

.scene__ombre {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 12%;
  width: 72%;
  height: 5%;
  border-radius: 50%;
  transform: translateX(-46%);
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.3) 60%, transparent);
  filter: blur(5px);
}

/* Le groupe occupe toute la largeur de la scène, roues posées sur la ligne de sol */
.scene__sujet {
  position: absolute;
  z-index: 3;
  left: 44%;
  bottom: 3%;
  width: 134%;
  transform: translateX(-50%);
}

@media (max-width: 900px) {
  .scene__sujet {
    left: 50%;
    width: 104%;
  }
}

.scene__sujet img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 2px rgba(232, 232, 232, 0.35)) drop-shadow(0 0 30px rgba(232, 232, 232, 0.16));
}

/* Héro Groupes : photo de fond plein cadre, plus sombre sous le texte */
.fond--hero-groupes .fond__img {
  top: -14%;
  height: 128%;
  object-position: 70% 50%;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 86%, transparent 100%);
}

.entete-page.entete-page--scene .fond::after {
  background:
    linear-gradient(90deg, rgba(12, 10, 20, 0.86) 0%, rgba(12, 10, 20, 0.66) 34%, rgba(12, 10, 20, 0.2) 58%, rgba(12, 10, 20, 0.06) 80%),
    linear-gradient(180deg, rgba(12, 10, 20, 0.4) 0%, transparent 22%);
}

@media (max-width: 900px) {
  .entete-page.entete-page--scene .fond::after {
    background: linear-gradient(180deg, rgba(12, 10, 20, 0.6) 0%, rgba(12, 10, 20, 0.72) 55%, rgba(12, 10, 20, 0.35) 100%);
  }
}

.entete-page--scene .scene__lumiere {
  opacity: 0.6;
}

/* Le groupe est ancré au tiers haut de la scène pour rester visible à l'ouverture ;
   le sol et l'ombre sont placés par rapport à l'image, sous les roues */
.entete-page--scene .scene__sujet {
  top: 31%;
  bottom: auto;
  left: 46%;
  width: 122%;
}

.scene__sujet > img {
  position: relative;
  z-index: 2;
}

.scene__sujet > .scene__sol {
  left: -14%;
  right: -14%;
  top: 70%;
  bottom: auto;
  height: 52%;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 26% at 50% 50%, rgba(12, 10, 20, 0.75), rgba(12, 10, 20, 0.35) 60%, transparent 80%),
    radial-gradient(ellipse 46% 34% at 50% 48%, rgba(232, 232, 232, 0.3), transparent 75%);
}

.scene__sujet > .scene__ombre {
  left: 50%;
  bottom: -2%;
  width: 90%;
  height: 11%;
  z-index: 1;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5) 55%, transparent);
}

.scene__sujet > .scene__reflet {
  z-index: 3;
}

.scene__sujet > .scene__reperes {
  z-index: 4;
}

@media (max-width: 900px) {
  .entete-page--scene .scene__sujet {
    top: 27%;
    left: 50%;
    width: 104%;
  }
}

/* Chiffres clés : un petit encart vitré sous les boutons, angles droits */
.hero-chiffres {
  display: inline-grid;
  grid-template-columns: repeat(3, auto);
  max-width: 100%;
  margin: var(--space-40) 0 0;
  padding: 0;
  list-style: none;
  background: rgba(12, 10, 20, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(232, 232, 232, 0.16), 0 18px 40px rgba(0, 0, 0, 0.35);
  font-size: 12px;
  line-height: 1.35;
  color: #d3d0dd;
}

.hero-chiffres li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 160px;
  padding: 14px 20px;
}

.hero-chiffres li + li {
  border-left: 1px solid rgba(232, 232, 232, 0.12);
}

.hero-chiffres strong {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--c-vellum);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
  .hero-chiffres li {
    padding: 12px 12px;
  }
}

/* Repères posés sur le groupe : positions en % de l'image */
.scene__reperes {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.repere {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
}

.repere--silence {
  right: 54%;
  top: 14%;
  flex-direction: row-reverse;
}

.repere--prises {
  right: 13%;
  top: 48%;
  flex-direction: row-reverse;
}

.repere--remorque {
  left: 24%;
  top: 80%;
}

.repere__point {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-lueur);
  box-shadow: 0 0 0 4px rgba(var(--c-lueur-rgb), 0.22), 0 0 16px rgba(var(--c-lueur-rgb), 0.8);
}

.repere__texte {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  background: rgba(12, 10, 20, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(232, 232, 232, 0.16);
  font-size: 12px;
  line-height: 1.3;
  color: #cfcbdb;
  white-space: nowrap;
}

.repere__texte strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-vellum);
}

@media (max-width: 900px) {
  .repere__texte {
    padding: 6px 10px;
    font-size: 11px;
  }

  .repere__texte strong {
    font-size: 12px;
  }

  .repere--remorque {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Fiches modèles de groupes
   -------------------------------------------------------------------------- */

/* Cinq fiches : trois sur la première ligne, deux sur la seconde */
.fiches {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-24);
  list-style: none;
  padding: 0;
}

.fiche {
  grid-column: span 3;
}

.fiche:nth-child(-n + 3) {
  grid-column: span 2;
}

/* Tablette : deux par ligne, la fiche du groupe portatif sur toute la largeur */
@media (max-width: 1100px) {
  .fiches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fiche,
  .fiche:nth-child(-n + 3) {
    grid-column: auto;
  }

  .fiche.fiche--portatif:first-child {
    grid-column: 1 / -1;
  }

  .fiche--portatif .fiche__visuel {
    aspect-ratio: 3 / 1;
  }
}

@media (max-width: 760px) {
  .fiches {
    grid-template-columns: minmax(0, 1fr);
  }

  .fiche--portatif .fiche__visuel {
    aspect-ratio: 2 / 1;
  }
}

/* Le groupe portatif est montré plus petit que les groupes sur remorque, posé en bas
   du visuel et centré (translate laisse transform libre pour l'effet de survol) */
.fiche--portatif .fiche__visuel img:not(.fiche__fond) {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: auto;
  height: 82%;
  max-width: none;
  max-height: none;
  translate: -50% 0;
}

/* Visuel de la fiche : le groupe détouré sous un halo gris du logo, à fond perdu */
.fiche__visuel {
  position: relative;
  display: grid;
  place-items: end center;
  aspect-ratio: 2 / 1;
  margin: calc(-1 * var(--space-24)) calc(-1 * var(--space-24)) var(--space-24);
  padding: 16px 24px 10px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 50% 42%, rgba(232, 232, 232, 0.2), rgba(232, 232, 232, 0.05) 55%, transparent 75%),
    linear-gradient(180deg, rgba(34, 28, 53, 0.6), rgba(17, 14, 28, 0.2));
  border-bottom: 1px solid var(--c-charbon);
}

.fiche__visuel img {
  width: auto;
  max-width: 78%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.45));
}

/* Fond photo de la fiche, ramené à une dominante bleue, assombri et flouté : le groupe ressort */
.fiche__visuel .fiche__fond {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  /* Décor sur toute la largeur du bloc, sans zoom supplémentaire, en retrait :
     assombri et légèrement flouté */
  object-fit: cover;
  object-position: 50% 72%;
  filter: blur(3px) brightness(0.62) saturate(0.9);
  transform: scale(var(--z, 1.03));
}

.fiche__visuel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(70, 140, 235, 0.5), rgba(28, 74, 170, 0.62)),
    radial-gradient(ellipse 70% 45% at 50% 100%, rgba(8, 20, 60, 0.55), transparent 70%);
  mix-blend-mode: color;
}

.fiche__visuel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(120, 180, 255, 0.18) 0%, rgba(20, 60, 150, 0.28) 70%, rgba(8, 20, 60, 0.5) 100%);
  mix-blend-mode: multiply;
}

/* Le groupe occupe la zone utile du visuel (hors marges intérieures), posé en bas et
   centré ; object-fit le garde entier quelle que soit la largeur de l'écran.
   (Une hauteur maximale en % n'est pas appliquée de façon fiable dans une grille
   à proportions fixes, notamment par Safari : le groupe débordait par le bas.) */
.fiche__visuel img:not(.fiche__fond) {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 10px;
  width: calc((100% - 48px) * 0.78);
  height: calc(100% - 26px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: 50% 100%;
  translate: -50% 0;
}

.fiche {
  display: flex;
  flex-direction: column;
  padding: var(--space-24);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(34, 28, 53, 0.55), rgba(17, 14, 28, 0.55));
  box-shadow: inset 0 0 0 1px var(--c-crepuscule);
}

.fiche__entete {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: var(--space-24);
  border-bottom: 1px solid var(--c-charbon);
}

.fiche__puissance {
  font-size: 56px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.fiche__puissance small {
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--c-accent-texte);
  margin-left: 4px;
}

.fiche__nom {
  margin-top: 12px;
  font-size: var(--text-body-sm);
  color: var(--c-cendre);
}

.etiquette {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--c-crepuscule);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-lueur-pale);
  white-space: nowrap;
}

.fiche__specs {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 16px;
  margin: 0;
  padding-block: var(--space-16);
  font-size: var(--text-body-sm);
}

.fiche__specs dt,
.fiche__specs dd {
  padding-block: 9px;
  border-bottom: 1px solid rgba(42, 38, 56, 0.6);
}

.fiche__specs dt {
  color: var(--c-fumee);
}

.fiche__specs dd {
  text-align: right;
  color: var(--c-vellum);
}

.fiche__specs dt:nth-last-of-type(1),
.fiche__specs dd:last-of-type {
  border-bottom: 0;
}

.fiche__usage {
  margin-bottom: var(--space-24);
  font-size: var(--text-body-sm);
  color: var(--c-cendre);
}

.fiche .btn {
  margin-top: auto;
  width: 100%;
}

/* Tableau comparatif */
.tableau-defile {
  overflow-x: auto;
  border-radius: var(--radius-card);
  box-shadow: inset 0 0 0 1px var(--c-charbon);
  -webkit-overflow-scrolling: touch;
}

.tableau {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: var(--text-body-sm);
  font-variant-numeric: tabular-nums;
}

.tableau caption {
  text-align: left;
}

.tableau th,
.tableau td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--c-charbon);
}

.tableau thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-accent-texte);
  background: rgba(34, 28, 53, 0.5);
}

.tableau tbody th {
  font-weight: 400;
  color: var(--c-fumee);
}

.tableau tbody tr:last-child th,
.tableau tbody tr:last-child td {
  border-bottom: 0;
}

/* Questions fréquentes */
.faq {
  border-top: 1px solid var(--c-charbon);
}

.faq details {
  border-bottom: 1px solid var(--c-charbon);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: var(--text-subheading);
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icone {
  color: var(--c-accent-texte);
  transition: transform 0.2s ease;
}

.faq details[open] summary .icone {
  transform: rotate(45deg);
}

.faq__reponse {
  padding-bottom: var(--space-24);
  color: var(--c-cendre);
  max-width: 680px;
}

/* --------------------------------------------------------------------------
   Familles de matériel
   -------------------------------------------------------------------------- */

.famille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(32px, 6vw, 96px);
  padding-block: var(--space-56);
  border-top: 1px solid var(--c-charbon);
}

.famille:last-child {
  border-bottom: 1px solid var(--c-charbon);
}

.famille__titre .icone {
  color: var(--c-accent-texte);
  margin-bottom: var(--space-24);
}

.famille__titre .texte {
  margin-top: var(--space-16);
}

.liste-coches {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
}

.liste-coches li {
  display: flex;
  gap: 12px;
  color: var(--c-vellum);
}

.liste-coches .icone {
  color: var(--c-accent-texte);
  margin-top: 1px;
}

.encart {
  margin-top: var(--space-32);
  padding: var(--space-24);
  border-radius: var(--radius-card);
  border: 1px dashed var(--c-crepuscule);
  font-size: var(--text-body-sm);
  color: var(--c-cendre);
}

@media (max-width: 900px) {
  .famille {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Fiches produits d'une rubrique (éclairage) : sous les deux colonnes de la rubrique */
.produits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-24);
}

@media (max-width: 900px) {
  .produits {
    grid-template-columns: minmax(0, 1fr);
  }
}

.produit {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(34, 28, 53, 0.55), rgba(17, 14, 28, 0.55));
  box-shadow: inset 0 0 0 1px var(--c-crepuscule);
}

/* Visuel : le produit détouré sous un halo gris du logo */
.produit__visuel {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(20px, 4vw, 48px);
  height: 300px;
  padding: 24px 24px 18px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 50% 45%, rgba(232, 232, 232, 0.18), rgba(232, 232, 232, 0.04) 55%, transparent 75%),
    linear-gradient(180deg, rgba(34, 28, 53, 0.6), rgba(17, 14, 28, 0.2));
  border-bottom: 1px solid var(--c-charbon);
}

.produit__visuel img {
  width: auto;
  max-width: none;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.5));
}

.mat__pied {
  height: 100%;
}

.mat__tete {
  height: 80%;
}

/* BOX 4 IP : les quatre couleurs sont posées exactement les unes sur les autres
   (même cadrage) et se succèdent en fondu enchaîné (mouvement.css) */
.produit__visuel--box img {
  position: absolute;
  left: 50%;
  bottom: 14px;
  height: calc(100% - 20px);
  transform: translateX(-50%);
}

/* Armoires de distribution : toutes à la même hauteur, centrées */
.produit__visuel--armoire {
  align-items: center;
}

.produit__visuel--armoire img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(100%, 220px);
}

/* Étiquette posée sur le visuel (« Sur batterie ») */
.produit__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(12, 10, 20, 0.72);
  box-shadow: inset 0 0 0 1px var(--c-crepuscule);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-vellum);
}

.produit__badge .icone {
  color: var(--c-accent-texte);
}

/* Visuel du conditionnement (pack, flight case, choix des couleurs) */
.produit__conditionnement {
  display: block;
  width: 100%;
  height: auto;
  margin: var(--space-24) 0;
  box-shadow: 0 0 0 1px var(--c-charbon);
}

.produit__corps {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-24);
}

.produit__corps .surtitre {
  margin-bottom: 10px;
}

.produit__texte {
  margin-top: 12px;
  font-size: var(--text-body-sm);
  color: var(--c-cendre);
}

.produit__atouts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: var(--space-16) 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--c-vellum);
}

.produit__atouts li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.produit__atouts .icone {
  color: var(--c-accent-texte);
}

/* Fiche sans tableau de caractéristiques : un peu d'air avant le bouton */
.produit__atouts:has(+ .btn) {
  margin-bottom: var(--space-24);
}

.produit .btn {
  margin-top: auto;
  width: 100%;
}

/* Conditions */
.conditions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-24);
  list-style: none;
  padding: 0;
}

.condition {
  padding: var(--space-24);
  border-radius: var(--radius-card);
  box-shadow: inset 0 0 0 1px var(--c-charbon);
  background: rgba(17, 14, 28, 0.5);
}

.condition .icone {
  color: var(--c-accent-texte);
  margin-bottom: var(--space-16);
}

.condition__titre {
  font-weight: 500;
  margin-bottom: 6px;
}

.condition__texte {
  font-size: var(--text-body-sm);
  color: var(--c-cendre);
}

@media (max-width: 760px) {
  .conditions {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Contact et formulaire
   -------------------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}

@media (max-width: 900px) {
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
}

.coordonnees {
  display: grid;
  gap: var(--space-24);
  margin-top: var(--space-40);
  list-style: none;
  padding: 0;
}

.coordonnee {
  display: flex;
  gap: 16px;
}

.coordonnee .icone {
  color: var(--c-accent-texte);
  margin-top: 2px;
}

.coordonnee__libelle {
  display: block;
  font-size: 13px;
  color: var(--c-fumee);
  margin-bottom: 4px;
}

.coordonnee a {
  text-decoration: none;
}

.coordonnee a:hover {
  color: var(--c-accent-texte);
}

.tel-geant {
  display: inline-block;
  font-size: clamp(32px, 4.4vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.tel-geant:hover {
  color: var(--c-accent-texte);
}

.formulaire {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-feature);
  background: linear-gradient(180deg, rgba(34, 28, 53, 0.6), rgba(17, 14, 28, 0.6));
  box-shadow: var(--halo);
}

.formulaire__grille {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.champ {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.champ--large {
  grid-column: 1 / -1;
}

@media (max-width: 560px) {
  .formulaire__grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

.champ label,
.champ legend {
  font-size: 14px;
  color: var(--c-vellum);
}

.champ .facultatif {
  color: var(--c-fumee);
}

.champ input,
.champ select,
.champ textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--c-charbon);
  border-radius: var(--radius-card);
  background: rgba(7, 6, 12, 0.6);
  color: var(--c-vellum);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.2s ease;
}

.champ select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23ffe100' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.champ select option {
  background: var(--c-graphite);
}

.champ textarea {
  min-height: 120px;
  resize: vertical;
}

.champ input::placeholder,
.champ textarea::placeholder {
  color: var(--c-fumee);
}

.champ input:hover,
.champ select:hover,
.champ textarea:hover {
  border-color: var(--c-crepuscule);
}

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--c-accent-texte);
  box-shadow: 0 0 0 3px rgba(var(--c-lueur-rgb), 0.2);
}

.champ input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.8);
}

.consentement {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--c-cendre);
}

.consentement input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--c-lueur);
}

.consentement a {
  color: var(--c-lueur-pale);
}

.formulaire__pied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: var(--space-8);
}

.pot-de-miel {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.message {
  padding: 16px 20px;
  border-radius: var(--radius-card);
  margin-bottom: var(--space-24);
  font-size: 14px;
}

.message[hidden] {
  display: none;
}

.message--ok {
  background: rgba(var(--c-lueur-rgb), 0.12);
  box-shadow: inset 0 0 0 1px var(--c-crepuscule);
  color: var(--c-lueur-pale);
}

.message--erreur {
  background: rgba(255, 120, 120, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 140, 140, 0.4);
  color: #ffc2c2;
}

/* --------------------------------------------------------------------------
   Pages légales
   -------------------------------------------------------------------------- */

.legal {
  max-width: 760px;
}

.legal h2 {
  font-size: var(--text-heading-sm);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: var(--space-48) 0 var(--space-16);
}

.legal p,
.legal li {
  color: var(--c-cendre);
}

.legal p + p {
  margin-top: var(--space-16);
}

.legal ul {
  padding-left: 20px;
  margin-top: var(--space-16);
}

.legal li + li {
  margin-top: 8px;
}

.legal dl {
  display: grid;
  grid-template-columns: minmax(140px, auto) minmax(0, 1fr);
  border-top: 1px solid var(--c-charbon);
}

.legal dt,
.legal dd {
  padding: 12px 0;
  border-bottom: 1px solid var(--c-charbon);
}

.legal dt {
  color: var(--c-fumee);
  padding-right: 24px;
}

.legal dd {
  color: var(--c-vellum);
}

.legal a {
  color: var(--c-lueur-pale);
}

@media (max-width: 560px) {
  .legal dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal dt {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.pied {
  background: var(--c-voile);
  border-top: 1px solid var(--c-charbon);
  padding-block: var(--space-80) var(--space-32);
  font-size: var(--text-body-sm);
}

.pied__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-40) var(--space-24);
}

@media (max-width: 900px) {
  .pied__grille {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pied__marque {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .pied__grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pied__marque img {
  height: 56px;
  width: auto;
  box-shadow: 0 0 0 1px rgba(232, 232, 232, 0.22);
}

.pied__marque p {
  margin-top: var(--space-24);
  color: var(--c-cendre);
  max-width: 320px;
}

.pied__titre {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-fumee);
  margin-bottom: var(--space-16);
}

.pied__liste {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  color: var(--c-cendre);
}

.pied__liste a {
  text-decoration: none;
}

.pied__liste a:hover {
  color: var(--c-vellum);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pied__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: var(--space-56);
  padding-top: var(--space-24);
  border-top: 1px solid var(--c-charbon);
  font-size: 12px;
  color: var(--c-fumee);
}

.pied__bas a {
  text-decoration: none;
}

.pied__bas a:hover {
  color: var(--c-vellum);
}

/* --------------------------------------------------------------------------
   Barre d'appel fixe (mobile)
   -------------------------------------------------------------------------- */

.barre-appel {
  display: none;
}

@media (max-width: 760px) {
  body {
    padding-bottom: 84px;
  }

  .barre-appel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 60;
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: var(--radius-pill);
    background: rgba(7, 6, 12, 0.88);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: var(--halo), 0 12px 32px rgba(0, 0, 0, 0.5);
  }

  .barre-appel .btn {
    flex: 1;
    min-height: 52px;
    padding-inline: 16px;
  }

  .barre-appel .btn--fantome {
    flex: 0 0 auto;
    border-color: var(--c-charbon);
  }
}

/* --------------------------------------------------------------------------
   Mode relecture : ?relecture dans l'adresse surligne les contenus à valider
   -------------------------------------------------------------------------- */

.relecture .a-valider {
  outline: 1px dashed #ff6b9a;
  outline-offset: 4px;
  border-radius: 2px;
}

.relecture .a-valider::after {
  content: " à valider";
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ff6b9a;
  vertical-align: super;
}

.relecture .a-valider--bloc::after {
  content: none;
}

.badge-relecture {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 200;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: #ff6b9a;
  color: #2a0614;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .badge-relecture {
    bottom: 96px;
  }
}

