@charset "UTF-8";
/* =============================================================================
   MB AGENCY — MISE EN PAGE (v4, 16 septembre 2026)
   Design « nuit chaude premium » : structure inspirée des agences tech
   (méthode en trois temps, chiffres, services en piste, avant / après,
   simulation, comparatif, offre, FAQ), identité terre cuite et ocre.

   Toutes les valeurs viennent de jetons.css. Aucune règle ne cache du
   contenu en attendant JavaScript : les états « avant animation » sont posés
   par js/main.js, seulement si le mouvement est permis.

    1. Base                     9. Automatisation
    2. Typographie              10. Packs et comparatif
    3. Boutons et liens          11. Rôles, méthode, pour qui
    4. En-tête                   12. Offert, questions
    5. Hero                      13. Rendez-vous, agenda
    6. Sections et cartes 3D     14. Pied de page, barre mobile
    7. Trois temps, chiffres     15. Pages légales
    8. Les cinq briques          16. Mouvement réduit
============================================================================= */

/* =============================================================================
   1. BASE
============================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--fond);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--fond);
  color: var(--texte);
  font: 400 var(--t-texte)/var(--interligne-texte) var(--police-texte);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Lueurs d'ambiance fixes : terre cuite en haut, ocre en bas. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 12% -10%, rgba(182, 74, 43, 0.16), transparent 70%),
    radial-gradient(50vw 40vh at 100% 110%, rgba(242, 196, 138, 0.07), transparent 70%);
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
p, ul, ol, dl, dd, figure, h1, h2, h3, h4, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.contenu {
  width: 100%;
  max-width: calc(var(--largeur-max) + var(--gouttiere) * 2);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}
.centre { text-align: center; margin-top: var(--e-7); }

.lecture-seule {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.evitement {
  position: fixed; z-index: 100;
  top: -80px; left: var(--e-4);
  padding: var(--e-3) var(--e-5);
  border-radius: var(--rayon-plein);
  background: var(--texte); color: var(--texte-sur-clair);
  font-weight: 600; text-decoration: none;
  transition: top var(--t-etat) var(--courbe);
}
.evitement:focus { top: var(--e-4); }

/* =============================================================================
   2. TYPOGRAPHIE
============================================================================= */
h1, h2, h3, h4 {
  font-family: var(--police-titre);
  font-weight: 700;
  line-height: var(--interligne-titre);
  letter-spacing: var(--serre);
  text-wrap: balance;
  overflow-wrap: break-word;
}
h2 { font-size: var(--t-t2); font-weight: 700; }
h3 { font-size: var(--t-t3); letter-spacing: -0.02em; line-height: 1.15; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.3; }
p { text-wrap: pretty; }

.titre-long { font-size: var(--t-t2-long); line-height: 1.12; letter-spacing: -0.025em; }
.titre-section-3 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.4rem); letter-spacing: var(--serre); line-height: 1.04; }

/* Le mot en relief : italique, dégradé terre cuite → ocre. */
.mot {
  font-style: italic;
  font-weight: 600;
  /* Marge intérieure verticale : le dégradé couvre aussi les accents (É, À). */
  padding: 0.14em 0.08em 0.12em 0;
  margin: -0.14em 0 -0.12em 0;
  background: var(--degrade-mot);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Titre découpé en mots par le script : le dégradé passe sur chaque mot. */
.mot-3d { display: inline-block; }   /* retour à la ligne permis aux traits d’union (Provence-Alpes-Côte…) */
.js-decoupe .mot { background: none; color: inherit; }
.js-decoupe .mot .mot-3d {
  padding: 0.14em 0.06em 0.12em 0;
  margin: -0.14em -0.06em -0.12em 0;
  background: var(--degrade-mot);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.code {
  font-family: var(--police-code);
  font-size: var(--t-code);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-discret);
}
.chiffres { font-variant-numeric: tabular-nums; white-space: nowrap; }

.etiquette {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--e-3);
  margin-bottom: var(--e-5);
  font-family: var(--police-code);
  font-size: var(--t-code);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-second);
}
.etiquette .code { color: var(--accent-clair); font-size: inherit; }

.chapo {
  font-size: var(--t-chapo);
  line-height: 1.55;
  color: var(--texte-second);
  max-width: 52ch;
}

/* =============================================================================
   3. BOUTONS ET LIENS
============================================================================= */
.boutons { display: flex; flex-wrap: wrap; gap: var(--e-3); }
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--e-2);
  min-height: 50px;
  padding: 0 var(--e-5);
  border: 1px solid transparent;
  border-radius: var(--rayon-plein);
  font: 600 0.98rem/1 var(--police-texte);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t-etat) var(--courbe), box-shadow var(--t-etat) var(--courbe),
              background-color var(--t-reaction), border-color var(--t-reaction), color var(--t-reaction);
}
.bouton--plein {
  background: var(--degrade-bouton);
  color: var(--texte-sur-clair);
  box-shadow: 0 0 0 1px rgba(255, 246, 234, 0.4) inset, 0 14px 40px -14px var(--lueur), 0 2px 10px -4px rgba(242, 196, 138, 0.4);
}
.bouton--plein:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 246, 234, 0.6) inset, 0 22px 50px -16px var(--lueur), 0 4px 20px -6px var(--lueur-ocre); }
.bouton--contour {
  background: var(--verre);
  border-color: var(--filet-fort);
  color: var(--texte);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.bouton--contour:hover { border-color: var(--accent-clair); background: var(--verre-fort); transform: translateY(-2px); }
.bouton:active { transform: translateY(0) scale(0.98); }
.bouton[aria-disabled="true"] { opacity: 0.6; cursor: progress; }
.bouton-rond {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; margin-right: -12px;
  border-radius: 50%;
  background: var(--accent); color: #FFFFFF;
  font-size: 0.85rem;
}

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: var(--e-2);
  min-height: var(--cible-min);
  color: var(--accent-texte);
  font-weight: 600;
  text-decoration: none;
}
.lien-fleche span { transition: transform var(--t-etat) var(--courbe); }
.lien-fleche:hover { text-decoration: underline; text-underline-offset: 4px; }
.lien-fleche:hover span { transform: translateX(4px); }

/* =============================================================================
   4. EN-TÊTE — pilule de verre
============================================================================= */
.entete {
  position: fixed;
  z-index: 50;
  top: 0; left: 0; right: 0;
  padding: var(--e-3) var(--gouttiere) 0;
  pointer-events: none;
}
.entete-barre {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--e-4);
  max-width: var(--largeur-max);
  margin-inline: auto;
  padding: 7px 7px 7px var(--e-5);
  border: 1px solid var(--filet);
  border-radius: var(--rayon-plein);
  background: var(--verre-entete);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.9);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--cible-min);
  color: var(--texte);
  text-decoration: none;
  margin-right: auto;
}
.logo-mb { flex: none; width: auto; height: 26px; }   /* logo « le fil » (16/09/2026) */
.entete .logo-mb { height: 32px; }   /* en-tête : le symbole seul, sans le nom */
.logo-nom {
  font-family: var(--police-titre);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--texte);
}
.logo-point { color: var(--accent-vif); }
.nav-liste { display: flex; align-items: center; gap: 2px; }
.nav-lien {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--rayon-plein);
  color: var(--texte-second);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--t-reaction), color var(--t-reaction);
}
.nav-lien:hover, .nav-lien[aria-current] { background: var(--verre-fort); color: var(--texte); }
.nav-rdv { display: none; }
.entete-tel {
  color: var(--texte-second);
  font-family: var(--police-code);
  font-size: 0.82rem;
  text-decoration: none;
}
.entete-tel:hover { color: var(--texte); }
.bouton--entete { min-height: 44px; padding-inline: var(--e-4) var(--e-4); font-size: 0.9rem; }
.bouton--entete.bouton--plein .bouton-rond { background: var(--fond); }

.menu-bouton {
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--filet);
  border-radius: 50%;
  background: var(--verre);
  cursor: pointer;
}
.menu-traits, .menu-traits::before, .menu-traits::after {
  content: ""; display: block;
  width: 18px; height: 1.5px;
  background: var(--texte);
  border-radius: 2px;
  transition: transform var(--t-etat) var(--courbe), background-color var(--t-reaction);
}
.menu-traits { position: relative; }
.menu-traits::before { position: absolute; top: -6px; }
.menu-traits::after  { position: absolute; top: 6px; }
.menu-bouton[aria-expanded="true"] .menu-traits { background: transparent; }
.menu-bouton[aria-expanded="true"] .menu-traits::before { transform: translateY(6px) rotate(45deg); }
.menu-bouton[aria-expanded="true"] .menu-traits::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 61.99rem) {
  .menu-bouton { display: inline-flex; order: 3; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px); left: 0; right: 0;
    padding: var(--e-3);
    border: 1px solid var(--filet);
    border-radius: var(--rayon-grand);
    background: rgba(22, 12, 6, 0.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
  }
  .nav[data-ouvert="true"] { display: block; }
  .nav-liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-lien { min-height: 52px; font-size: 1.05rem; border-radius: var(--rayon); }
  .nav-rdv { display: block; margin-top: var(--e-2); }
  .nav-rdv .bouton { width: 100%; }
  .entete-tel { display: none; }
}
@media (max-width: 29.99rem) {
  .bouton--entete { display: none; }
  /* Petits téléphones : un libellé long passe sur deux lignes au lieu de sortir de l’écran. */
  .bouton { white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; }
}

/* =============================================================================
   5. HERO — le texte à gauche, les briques 3D à droite (au-dessus sur mobile)
============================================================================= */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  padding-top: 120px;
  overflow: clip;
}
.hero-scene { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-halo {
  position: absolute; inset: 0;
  background:
    radial-gradient(40vw 40vw at 76% 46%, rgba(182, 74, 43, 0.28), transparent 65%),
    radial-gradient(30vw 24vw at 76% 80%, rgba(242, 196, 138, 0.10), transparent 70%);
}
/* Le sol en perspective : un quadrillage qui fuit vers l'horizon. */
.hero-sol {
  position: absolute;
  left: -20%; right: -20%; bottom: -8%;
  height: 58%;
  background-image:
    linear-gradient(rgba(242, 196, 138, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 196, 138, 0.10) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(700px) rotateX(72deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  mask-image: linear-gradient(to top, #000 10%, transparent 85%);
}
.hero-objet {
  position: absolute;
  top: 50%; right: -14vw;
  width: min(74vw, 1400px);
  aspect-ratio: 1920 / 1086;
  translate: 0 -54%;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}
.hero-objet img, .hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-video { opacity: 0; transition: opacity 900ms var(--courbe); }
.hero-video[data-pret="true"] { opacity: 1; }

.hero-contenu { position: relative; padding-bottom: var(--e-7); }
.badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--e-6);
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--filet);
  border-radius: var(--rayon-plein);
  background: var(--verre);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  color: var(--texte-second);
}
.badge .code { color: var(--texte); }
.badge-lieux { padding-left: 10px; border-left: 1px solid var(--filet-fort); }
.point-vivant {
  position: relative;
  display: inline-block;
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-clair);
  box-shadow: 0 0 0 0 rgba(242, 196, 138, 0.6);
  animation: pouls 2.4s var(--courbe) infinite;
}
.point-vivant--lent { background: var(--accent-texte); animation-duration: 4s; }
@keyframes pouls {
  0%   { box-shadow: 0 0 0 0 rgba(242, 196, 138, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(242, 196, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 196, 138, 0); }
}

.hero h1 {
  max-width: 11.5em;
  font-size: clamp(2.5rem, 1rem + 4.4vw, 5.8rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.retour-ligne { display: block; }
.hero-chapo { max-width: 46ch; margin-top: var(--e-6); }
.hero .boutons { margin-top: var(--e-6); }

.aiguillage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--e-3);
  max-width: 720px;
  margin-top: var(--e-7);
}
.carte-aiguillage {
  position: relative;
  display: grid;
  gap: 4px;
  padding: var(--e-4) 56px var(--e-4) var(--e-5);
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  background: var(--verre);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  text-decoration: none;
  transition: border-color var(--t-reaction), background-color var(--t-reaction), transform var(--t-etat) var(--courbe);
}
.carte-aiguillage strong { font-family: var(--police-titre); font-size: 1.02rem; line-height: 1.25; letter-spacing: -0.01em; }
.carte-aiguillage > span:not(.code):not(.carte-aiguillage-fleche) { font-size: 0.88rem; color: var(--texte-second); }
.carte-aiguillage-fleche {
  position: absolute; right: var(--e-4); top: 50%;
  display: grid; place-items: center;
  width: 32px; height: 32px; margin-top: -16px;
  border-radius: 50%;
  border: 1px solid var(--filet-fort);
  color: var(--accent-clair);
  transition: transform var(--t-etat) var(--courbe), background-color var(--t-reaction);
}
.carte-aiguillage:hover { border-color: rgba(242, 196, 138, 0.4); background: var(--verre-fort); transform: translateY(-3px); }
.carte-aiguillage:hover .carte-aiguillage-fleche { transform: translateX(3px); background: var(--accent); color: #FFFFFF; border-color: var(--accent); }

.hero-bas {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--e-5);
  padding-bottom: var(--e-5);
}
.hero-statut {
  display: flex;
  flex-wrap: wrap;
  gap: var(--e-3) clamp(1.5rem, 5vw, 5rem);
  padding-top: var(--e-4);
  border-top: 1px solid var(--filet);
  flex: 1;
}
.hero-statut dd { margin-top: 4px; font-weight: 600; font-size: 0.95rem; }
.defiler { display: inline-flex; align-items: center; gap: var(--e-3); }
.defiler-trait {
  position: relative;
  display: block;
  width: 1px; height: 44px;
  background: var(--filet-fort);
  overflow: hidden;
}
.defiler-trait::after {
  content: "";
  position: absolute; left: 0; top: -40%;
  width: 1px; height: 40%;
  background: var(--accent-clair);
  animation: defiler 2s var(--courbe) infinite;
}
@keyframes defiler { to { top: 100%; } }

.video-pause {
  position: absolute;
  z-index: 3;
  right: var(--gouttiere); top: 96px;
  display: none;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--filet-fort);
  border-radius: 50%;
  background: var(--verre-entete);
  color: var(--texte);
  cursor: pointer;
}
.video-pause[data-actif="true"] { display: inline-flex; }

@media (max-width: 61.99rem) {
  .hero-objet { right: -30vw; width: 110vw; translate: 0 -62%; opacity: 0.7; }
}
@media (max-width: 47.99rem) {
  .hero { justify-content: flex-start; padding-top: 72px; }
  .hero-objet {
    top: 64px; right: auto; left: 50%;
    width: min(100vw, 560px);
    aspect-ratio: 1;
    translate: -50% 0;
    opacity: 1;
  }
  .hero-halo { background: radial-gradient(80vw 80vw at 50% 28%, rgba(182, 74, 43, 0.30), transparent 65%); }
  .hero-sol { height: 40%; }
  .hero-contenu { padding-top: min(72vw, 400px); }
  .badge { margin-bottom: var(--e-5); }
  .badge-lieux { display: none; }
  .hero h1 { max-width: none; }
  .hero-chapo { margin-top: var(--e-5); }
  .hero .boutons .bouton { flex: 1 1 auto; }
  .aiguillage { grid-template-columns: 1fr; margin-top: var(--e-6); }
  .hero-bas { padding-bottom: var(--e-6); }
  .hero-statut { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e-3); }
  .hero-statut dd { font-size: 0.85rem; }
  .defiler { display: none; }
  .video-pause { top: 80px; }
}

/* =============================================================================
   6. SECTIONS ET CARTES 3D
============================================================================= */
.section { position: relative; padding-block: var(--respiration); overflow-x: clip; }   /* les cartes inclinées en 3D ne font jamais défiler la page à l’horizontale */
.section--lueur::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(60% 45% at 50% 0%, rgba(182, 74, 43, 0.13), transparent 70%);
}
.section + .section { border-top: 1px solid var(--filet); }

.tete { margin-bottom: var(--e-8); }
.tete h2 { max-width: 13em; }
.tete--duo {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: end;
  gap: var(--e-5) var(--e-8);
}
.tete--duo .chapo { padding-bottom: 0.4em; }
.tete--centre { text-align: center; }
.tete--centre h2, .tete--centre h3, .tete--centre .chapo { margin-inline: auto; }
.tete--centre .chapo { margin-top: var(--e-5); }
.tete--centre .etiquette { justify-content: center; }
@media (max-width: 61.99rem) {
  .tete--duo { grid-template-columns: 1fr; align-items: start; }
}

.carte {
  position: relative;
  padding: clamp(1.4rem, 1rem + 1.4vw, 2.2rem);
  border: 1px solid var(--filet);
  border-radius: var(--rayon-grand);
  background: linear-gradient(180deg, rgba(255, 236, 214, 0.065), rgba(255, 236, 214, 0.02));
  box-shadow: var(--ombre);
}
/* Carte qui s'incline vers le pointeur (--rx / --ry écrits par le script),
   avec un reflet qui suit la souris (--mx / --my). */
.carte-3d {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 500ms var(--courbe), border-color var(--t-etat);
}
.carte-3d > * { transform: translateZ(0); }
.carte-3d > h3, .carte-3d > h4, .carte-3d .chiffre-valeur { transform: translateZ(28px); }
.carte-3d::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(242, 196, 138, 0.13), transparent 45%);
  transition: opacity var(--t-etat);
}
.carte-3d:hover { border-color: rgba(242, 196, 138, 0.28); }
.carte-3d:hover::after { opacity: 1; }
.carte-3d.est-incline { transition: transform 120ms linear, border-color var(--t-etat); will-change: transform; }

.etiquettes { display: flex; flex-wrap: wrap; gap: 6px; }
.etiquettes li {
  padding: 5px 11px;
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon-plein);
  background: var(--verre);
  font-size: 0.82rem;
  color: var(--texte-second);
}

.grille-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e-4); }
@media (max-width: 61.99rem) { .grille-3 { grid-template-columns: 1fr; } }

/* =============================================================================
   7. TROIS TEMPS · CHIFFRES CLÉS
============================================================================= */
.actes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e-4); counter-reset: acte; }
.acte { display: flex; flex-direction: column; gap: var(--e-4); }
.acte-repere { display: flex; align-items: center; gap: var(--e-3); }
.acte-num {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(182, 74, 43, 0.5), rgba(182, 74, 43, 0.15));
  border: 1px solid rgba(242, 196, 138, 0.3);
  color: var(--accent-clair);
  font-size: 0.8rem;
}
.acte h3 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); letter-spacing: -0.035em; }
.acte > p { color: var(--texte-second); }
.acte-liste { display: grid; gap: 10px; margin-top: auto; padding-top: var(--e-4); border-top: 1px solid var(--filet); }
.acte-liste li { position: relative; padding-left: 22px; font-size: 0.94rem; }
.acte-liste li::before {
  content: "";
  position: absolute; left: 2px; top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--accent-clair);
  transform: rotate(45deg);
}
@media (max-width: 61.99rem) { .actes { grid-template-columns: 1fr; } }

.chiffres-cles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--e-4); }
.chiffre-cle { display: flex; flex-direction: column; gap: var(--e-3); }
.chiffre-valeur {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-block: var(--e-2) var(--e-2);
  font-family: var(--police-titre);
  font-size: var(--t-chiffre);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.chiffre-valeur > span:first-child {
  background: var(--degrade-mot);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.chiffre-unite { font-size: 0.38em; font-weight: 600; letter-spacing: -0.01em; color: var(--texte-second); }
.chiffre-cle > p:last-child { color: var(--texte-second); font-size: 0.95rem; }
@media (max-width: 71.99rem) { .chiffres-cles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 35.99rem) { .chiffres-cles { grid-template-columns: 1fr; } }

/* =============================================================================
   8. LES CINQ BRIQUES — grille par défaut, piste horizontale épinglée
      quand le script l'active (.js-piste sur <html>)
============================================================================= */
.briques-tete {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--e-5);
  margin-bottom: var(--e-7);
}
.briques-tete h2 { max-width: 11em; }
.briques-compteur { display: none; align-items: center; gap: var(--e-3); color: var(--texte); font-size: 0.85rem; }
.briques-trait { position: relative; display: block; width: 120px; height: 2px; background: var(--filet-fort); border-radius: 2px; overflow: hidden; }
.briques-trait-niveau { position: absolute; inset: 0; background: var(--degrade-mot); transform-origin: left center; transform: scaleX(0.2); }

.briques-cadre { width: 100%; max-width: calc(var(--largeur-max) + var(--gouttiere) * 2); margin-inline: auto; padding-inline: var(--gouttiere); }
.briques-piste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-4); }
.brique {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
  overflow: hidden;
}
.brique-visuel {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: radial-gradient(60% 70% at 50% 55%, rgba(182, 74, 43, 0.25), transparent 70%);
}
.brique-visuel img {
  position: absolute;
  left: 50%; top: 50%;
  width: 78%;
  max-width: 440px;
  translate: -50% -50%;
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
  animation: flotter 7s ease-in-out infinite;
}
.brique:nth-child(2) .brique-visuel img { animation-delay: -1.4s; }
.brique:nth-child(3) .brique-visuel img { animation-delay: -2.8s; }
.brique:nth-child(4) .brique-visuel img { animation-delay: -4.2s; }
.brique:nth-child(5) .brique-visuel img { animation-delay: -5.6s; }
@keyframes flotter {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50%      { transform: translateY(-12px) rotate(1.2deg); }
}
.brique-corps { display: flex; flex-direction: column; gap: var(--e-3); padding: var(--e-5) clamp(1.4rem, 1rem + 1.4vw, 2.2rem) clamp(1.4rem, 1rem + 1.4vw, 2.2rem); }
.brique-repere { color: var(--accent-clair); }
.brique h3 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3rem); letter-spacing: -0.04em; }
.brique-probleme {
  font-family: var(--police-titre);
  font-size: 1.12rem;
  font-weight: 600;
  font-style: italic;
  color: var(--accent-texte);
}
.brique-corps > p:not(.code):not(.brique-probleme) { color: var(--texte-second); }
.brique-partenaire { display: block; margin-top: 6px; font-size: 0.88rem; color: var(--texte-discret); }
.brique .etiquettes { margin-top: var(--e-2); }
.brique .lien-fleche { margin-top: auto; }
.brique:last-child { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
.brique:last-child .brique-visuel { aspect-ratio: auto; min-height: 320px; }
@media (max-width: 47.99rem) {
  .briques-piste { grid-template-columns: 1fr; }
  .brique:last-child { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .brique:last-child .brique-visuel { aspect-ratio: 16 / 10; min-height: 0; }
}

/* Piste horizontale : la scène est épinglée par ScrollTrigger et tient
   toujours dans l'écran (titre en haut, carte dans la hauteur restante).
   Le script centre une carte à la fois et marque une pause dessus. */
.js-piste .briques { padding-block: 0; }
.js-piste .briques-scene {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding-block: 92px var(--e-5);
  overflow: hidden;
}
.js-piste .briques-compteur { display: inline-flex; }
.js-piste .briques-tete { flex: none; margin-bottom: var(--e-4); }
.js-piste .briques-tete .etiquette { margin-bottom: var(--e-3); }
.js-piste .briques-tete h2 { max-width: none; font-size: clamp(1.9rem, 0.9rem + 2.4vw, 3.4rem); }
.js-piste .briques-cadre { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; max-width: none; padding-inline: 0; }
.js-piste .briques-piste {
  position: relative;   /* repère des offsetLeft des cartes */
  display: flex;
  align-items: stretch;
  gap: var(--e-5);
  width: max-content;
  height: min(100%, 600px);
  padding-inline: 0;
  perspective: 1600px;
}
.js-piste .brique,
.js-piste .brique:last-child {
  width: min(84vw, 1120px);
  height: 100%;
  min-height: 0;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-rows: none;
  transform-style: preserve-3d;
}
.js-piste .brique-visuel,
.js-piste .brique:last-child .brique-visuel { aspect-ratio: auto; min-height: 0; }
.js-piste .brique-visuel img { width: min(84%, 52vh); }
.js-piste .brique-corps { justify-content: center; gap: var(--e-3); min-height: 0; padding: clamp(1.4rem, 0.6rem + 1.8vw, 3rem); overflow: hidden; }
.js-piste .brique h3 { font-size: clamp(1.8rem, 0.9rem + 2vw, 3rem); }
.js-piste .brique .lien-fleche { margin-top: var(--e-2); }
/* Écran bas : le texte de la carte se resserre plutôt que d'être coupé. */
@media (max-height: 760px) {
  .js-piste .briques-scene { padding-top: 84px; }
  .js-piste .briques-tete .etiquette { display: none; }
  .js-piste .brique-corps { gap: var(--e-2); }
  .js-piste .brique-corps > p:not(.code):not(.brique-probleme) { font-size: 0.95rem; line-height: 1.5; }
  .js-piste .brique .etiquettes { display: none; }
}

/* =============================================================================
   9. AUTOMATISATION
============================================================================= */
.auto-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--e-8);
}
.auto-texte .titre-long { max-width: 20em; }
.auto-texte .chapo { margin-top: var(--e-5); }
.auto-texte > p:not(.chapo):not(.etiquette) { margin-top: var(--e-4); color: var(--texte-second); max-width: 52ch; }
.auto-reperes { display: flex; flex-wrap: wrap; gap: var(--e-4); margin-top: var(--e-6); }
.auto-reperes > div {
  padding: var(--e-4) var(--e-5);
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  background: var(--verre);
}
.auto-reperes dd { margin-top: 4px; font-family: var(--police-titre); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }

.flux {
  position: relative;
  border: 1px solid var(--filet);
  border-radius: var(--rayon-grand);
  background: var(--fond);
  box-shadow: 0 40px 100px -40px var(--lueur), var(--ombre);
  overflow: hidden;
}
.flux-barre, .appli-barre {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--filet);
  background: rgba(255, 236, 214, 0.03);
  font-size: 0.8rem;
  color: var(--texte-discret);
}
.flux-barre i, .appli-barre i { width: 10px; height: 10px; border-radius: 50%; background: var(--filet-fort); }
.flux-barre i:first-child, .appli-barre i:first-child { background: var(--accent); }
.flux-barre span, .appli-barre span { margin-left: var(--e-3); }
.flux-scene { position: relative; aspect-ratio: 1; }
.flux-image, .flux-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}
.flux-video { opacity: 0; transition: opacity 900ms var(--courbe); }
.flux-video[data-pret="true"] { opacity: 1; }
.flux-etapes {
  position: absolute;
  left: var(--e-4); right: var(--e-4); bottom: var(--e-4);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.flux-etape {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon-plein);
  background: var(--verre-entete);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 500;
  transition: background-color var(--t-etat), border-color var(--t-etat), color var(--t-etat), transform var(--t-etat) var(--courbe);
}
.flux-etape .code { color: var(--accent-clair); font-size: 0.68rem; }
.flux-etape[data-actif] { border-color: var(--accent-clair); background: rgba(182, 74, 43, 0.55); transform: translateY(-3px); }
@media (max-width: 61.99rem) { .auto-intro { grid-template-columns: 1fr; } }

/* ---- Vitrines ---- */
.vitrine { margin-top: var(--e-10); }
.vitrine-tete { max-width: 760px; margin-bottom: var(--e-7); }
.module-ruban {
  display: inline-flex;
  margin-bottom: var(--e-4);
  padding: 6px 12px;
  border-radius: var(--rayon-plein);
  background: rgba(182, 74, 43, 0.22);
  border: 1px solid rgba(242, 196, 138, 0.3);
  color: var(--accent-clair);
}
.vitrine-titre { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); letter-spacing: -0.04em; }
.vitrine-chapo { margin-top: var(--e-4); font-size: var(--t-chapo); color: var(--texte-second); line-height: 1.55; }

.devis-grille { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--e-7); align-items: start; }
.etapes-devis { display: grid; gap: var(--e-2); }
.etape-devis {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--e-4);
  padding: var(--e-4) var(--e-5) var(--e-4) var(--e-4);
  border: 1px solid transparent;
  border-radius: var(--rayon);
  transition: background-color var(--t-etat), border-color var(--t-etat), opacity var(--t-etat);
}
.etape-devis-num {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--filet-fort);
  font-weight: 700; font-size: 0.9rem;
  transition: background-color var(--t-etat), color var(--t-etat), border-color var(--t-etat);
}
.etape-devis h4 { font-size: 1.1rem; }
.etape-devis p { margin-top: 4px; color: var(--texte-second); font-size: 0.95rem; }
.js-mouvement .etape-devis { opacity: 0.55; }
.js-mouvement .etape-devis[data-active="true"] { opacity: 1; }
.etape-devis[data-active="true"] { border-color: var(--filet); background: var(--verre-fort); }
.etape-devis[data-active="true"] .etape-devis-num { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }

.appli-cadre { position: sticky; top: 110px; }
.appli {
  border: 1px solid var(--filet);
  border-radius: var(--rayon-grand);
  background: var(--fond-eleve);
  box-shadow: 0 50px 100px -50px var(--lueur), var(--ombre);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
  transform-origin: 30% 50%;
}
.appli-corps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-4); padding: var(--e-5); }
.appli-bloc { display: grid; align-content: start; gap: var(--e-2); padding: var(--e-4); border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--verre); }
.appli-bloc h4 { margin-bottom: var(--e-2); font-size: 0.95rem; }
.appli-champ { padding: 8px 10px; border-radius: 10px; background: var(--fond-haut); font-size: 0.86rem; line-height: 1.35; }
.appli-champ small { display: block; font-size: 0.72rem; color: var(--texte-discret); text-transform: uppercase; letter-spacing: 0.06em; }
.appli-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.appli-photos b { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, rgba(182, 74, 43, 0.6), rgba(242, 196, 138, 0.25)); }
.appli-ligne { display: flex; justify-content: space-between; gap: var(--e-3); padding: 9px 0; border-bottom: 1px dashed var(--filet-fort); font-size: 0.88rem; }
.appli-ligne em { font-style: normal; color: var(--texte-discret); }
.appli-valider {
  margin-top: var(--e-3);
  padding: 11px;
  border-radius: var(--rayon-plein);
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 600; font-size: 0.9rem;
  text-align: center;
}
.appli-notif {
  display: flex; align-items: center; gap: var(--e-3);
  margin: 0 var(--e-5) var(--e-5);
  padding: var(--e-3) var(--e-4);
  border: 1px solid rgba(242, 196, 138, 0.35);
  border-radius: var(--rayon);
  background: rgba(242, 196, 138, 0.08);
  color: var(--accent-clair);
  font-size: 0.9rem; font-weight: 500;
}
.appli-notif::before { content: "✓"; display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-clair); color: var(--fond); font-size: 0.8rem; font-weight: 700; }
.appli-legende { margin-top: var(--e-3); font-size: 0.82rem; color: var(--texte-discret); }
@media (max-width: 61.99rem) {
  .devis-grille { grid-template-columns: 1fr; }
  .appli-cadre { position: static; }
  .appli { transform: none; }
}
@media (max-width: 35.99rem) { .appli-corps { grid-template-columns: 1fr; } }

.standard-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--e-7); align-items: center; }
.appel {
  border: 1px solid var(--filet);
  border-radius: var(--rayon-grand);
  background: var(--fond-eleve);
  box-shadow: 0 50px 100px -50px var(--lueur), var(--ombre);
  overflow: hidden;
  transform: perspective(1400px) rotateY(5deg) rotateX(2deg);
}
.appel-barre { display: flex; align-items: center; gap: var(--e-3); padding: 12px 16px; border-bottom: 1px solid var(--filet); font-size: 0.82rem; color: var(--texte-discret); }
.appel-point { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-texte); animation: pouls 1.8s var(--courbe) infinite; }
.appel-fil { display: grid; gap: var(--e-3); padding: var(--e-5); }
.bulle { max-width: 86%; padding: 12px 14px; border-radius: 18px; font-size: 0.93rem; line-height: 1.45; }
.bulle b { display: block; margin-bottom: 3px; font-family: var(--police-code); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--texte-discret); }
.bulle--ia { justify-self: start; background: var(--fond-haut); border-bottom-left-radius: 6px; }
.bulle--client { justify-self: end; background: rgba(182, 74, 43, 0.34); border: 1px solid rgba(242, 196, 138, 0.2); border-bottom-right-radius: 6px; }
.bulle--client b { color: var(--accent-clair); }
.appel-resume { margin: 0 var(--e-5) var(--e-5); padding: var(--e-4); border: 1px dashed rgba(242, 196, 138, 0.45); border-radius: var(--rayon); font-size: 0.9rem; color: var(--texte-second); }
.appel-resume-titre { margin-bottom: 4px; font-family: var(--police-code); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-clair); }
.points-cles { display: grid; gap: var(--e-3); }
.points-cles li {
  position: relative;
  padding: var(--e-4) var(--e-4) var(--e-4) 52px;
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  background: var(--verre);
  color: var(--texte-second);
}
.points-cles li::before {
  content: "✓";
  position: absolute; left: var(--e-4); top: var(--e-4);
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(182, 74, 43, 0.4);
  color: var(--accent-clair);
  font-size: 0.78rem; font-weight: 700;
}
.points-cles strong { color: var(--texte); }
@media (max-width: 61.99rem) {
  .standard-grille { grid-template-columns: 1fr; }
  .appel { transform: none; }
}

/* ---- Avant / après ---- */
.avant-apres { margin-top: var(--e-10); }
.avant-apres .tete { margin-bottom: var(--e-7); }
.aa-grille { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--e-4); align-items: stretch; }
.aa-colonne { display: flex; flex-direction: column; gap: var(--e-4); padding: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); border-radius: var(--rayon-grand); }
.aa-colonne h4 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem); letter-spacing: -0.03em; }
.aa-colonne--avant { border: 1px dashed var(--filet-fort); background: rgba(255, 236, 214, 0.015); }
.aa-colonne--apres {
  border: 1px solid rgba(242, 196, 138, 0.35);
  background: linear-gradient(160deg, rgba(182, 74, 43, 0.28), rgba(182, 74, 43, 0.05) 60%);
  box-shadow: 0 40px 80px -40px var(--lueur);
}
.aa-colonne--apres > .code { color: var(--accent-clair); }
.aa-liste { display: grid; gap: 2px; counter-reset: aa; }
.aa-liste li {
  counter-increment: aa;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--filet);
  font-size: 0.96rem;
}
.aa-liste li::before { content: counter(aa, decimal-leading-zero); font-family: var(--police-code); font-size: 0.72rem; color: var(--texte-discret); }
.aa-colonne--avant .aa-liste li { color: var(--texte-second); }
.aa-colonne--apres .aa-liste li::before { color: var(--accent-clair); }
.aa-bilan { margin-top: auto; padding-top: var(--e-3); font-family: var(--police-titre); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.2rem); font-weight: 700; letter-spacing: -0.035em; }
.aa-colonne--avant .aa-bilan { color: var(--texte-discret); }
.aa-colonne--apres .aa-bilan { background: var(--degrade-mot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.aa-fleche { align-self: center; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--filet-fort); background: var(--fond-eleve); color: var(--accent-clair); font-size: 1.3rem; }
@media (max-width: 61.99rem) {
  .aa-grille { grid-template-columns: 1fr; }
  .aa-fleche { justify-self: center; transform: rotate(90deg); }
}

/* ---- Simulation ---- */
.simulateur { margin-top: var(--e-10); padding: 0; overflow: hidden; }
.simu-tete { padding: clamp(1.6rem, 1rem + 2vw, 3rem) clamp(1.6rem, 1rem + 2vw, 3rem) 0; max-width: 820px; }
.simu-tete > p:last-child { margin-top: var(--e-4); color: var(--texte-second); }
.simu-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: var(--e-6); border-top: 1px solid var(--filet); }
.simu-reglages { display: grid; gap: var(--e-5); padding: clamp(1.6rem, 1rem + 2vw, 3rem); }
.curseur { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--e-2) var(--e-4); }
.curseur label { font-size: 0.95rem; color: var(--texte-second); }
.curseur-valeur { font-family: var(--police-titre); font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.curseur input { grid-column: 1 / -1; }
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 32px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-clair) var(--rempli, 50%), var(--filet-fort) var(--rempli, 50%));
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--filet-fort); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--accent-clair); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  margin-top: -9px;
  border: 3px solid var(--fond);
  border-radius: 50%;
  background: var(--accent-clair);
  box-shadow: 0 0 0 1px var(--accent-clair), 0 0 18px var(--lueur-ocre);
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px;
  border: 3px solid var(--fond);
  border-radius: 50%;
  background: var(--accent-clair);
  box-shadow: 0 0 0 1px var(--accent-clair);
}
.simu-resultats {
  display: flex;
  flex-direction: column;
  gap: var(--e-5);
  padding: clamp(1.6rem, 1rem + 2vw, 3rem);
  border-left: 1px solid var(--filet);
  background: linear-gradient(160deg, rgba(182, 74, 43, 0.3), rgba(182, 74, 43, 0.04) 70%);
}
.simu-resultats > .code { color: var(--accent-clair); }
.simu-resultat { padding-bottom: var(--e-4); border-bottom: 1px solid var(--filet); }
.simu-resultat > p:last-child { color: var(--texte-second); font-size: 0.95rem; }
.simu-chiffre {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--police-titre);
  font-size: clamp(2.8rem, 2rem + 3vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.simu-chiffre output { background: var(--degrade-mot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.simu-unite { font-size: 0.4em; font-weight: 600; color: var(--texte-second); letter-spacing: 0; }
.simu-note { font-size: 0.9rem; color: var(--texte-second); }
.simu-resultats .bouton { align-self: flex-start; }
@media (max-width: 61.99rem) {
  .simu-grille { grid-template-columns: 1fr; }
  .simu-resultats { border-left: 0; border-top: 1px solid var(--filet); }
}

/* ---- Les sept autres modules ---- */
.modules-tete { margin-top: var(--e-10); margin-bottom: var(--e-6); }
.modules-tete h3 { max-width: 16em; }
.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: var(--e-4); }
.module { display: flex; flex-direction: column; gap: var(--e-3); }
.module-numero { color: var(--accent-clair); }
.module h3, .module h4 { font-size: 1.15rem; }
.module > p:last-child { color: var(--texte-second); font-size: 0.95rem; }

/* =============================================================================
   10. PACKS · COMPARATIF
============================================================================= */
/* Deux offres depuis le 29/09 (Système d'acquisition, Écosystème) : deux colonnes,
   largeur contenue pour que les questions se lisent d'un coup d'œil. */
.packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-5); align-items: stretch; max-width: 1080px; margin-inline: auto; }
.pack { display: flex; flex-direction: column; gap: var(--e-4); }
.pack-numero { color: var(--accent-clair); }
.pack h3 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); letter-spacing: -0.04em; }
.pack-resume { color: var(--texte-second); }
.pack-briques { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.pack-briques span { height: 10px; border-radius: 3px; background: var(--filet); border: 1px solid var(--filet); }
.pack-briques span[data-inclus] { background: var(--degrade-mot); border-color: transparent; box-shadow: 0 0 14px -2px var(--lueur); }
.pack-liste { display: grid; gap: 10px; padding-top: var(--e-4); border-top: 1px solid var(--filet); }
.pack-liste li { position: relative; padding-left: 26px; font-size: 0.95rem; }
.pack-liste li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent-clair); font-weight: 700; }
.pack .bouton { margin-top: auto; }
.pack--phare {
  border-color: rgba(242, 196, 138, 0.4);
  background: linear-gradient(170deg, rgba(182, 74, 43, 0.3), rgba(255, 236, 214, 0.03) 55%);
  box-shadow: var(--ombre-lueur);
}
.pack-ruban {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: var(--rayon-plein);
  background: var(--accent-clair);
  color: var(--fond);
}
/* ---- Titre et sous-titre de chaque offre (textes de Manu du 29/09) ---- */
.pack { position: relative; }
.pack h3.pack-titre {
  font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--texte);
}
.pack-sous-titre {
  font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.15rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--accent-clair);
}
/* Ancres des anciens packs (#pack-presence, #pack-croissance) : hors du flux,
   sinon la colonne flex leur donne un espacement et décale toute la carte. */
.pack-ancre { position: absolute; top: 0; left: 0; width: 0; height: 0; scroll-margin-top: 110px; }
/* Sur deux colonnes, le ruban se place en haut à droite : les deux titres
   démarrent ainsi à la même hauteur. Sur une colonne, il reprend sa place. */
@media (min-width: 62rem) {
  .packs .pack-ruban { position: absolute; top: var(--e-5); right: var(--e-5); }
}
.module-seul { margin-top: var(--e-7); text-align: center; font-family: var(--police-titre); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.packs-note { max-width: 70ch; margin: var(--e-4) auto 0; text-align: center; color: var(--texte-second); font-size: 0.95rem; }
.packs-note strong { color: var(--texte); }
@media (max-width: 61.99rem) { .packs { grid-template-columns: 1fr; } }

.tableau-cadre {
  overflow-x: auto;
  border: 1px solid var(--filet);
  border-radius: var(--rayon-grand);
  background: linear-gradient(180deg, rgba(255, 236, 214, 0.04), rgba(255, 236, 214, 0.01));
}
.comparatif { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.95rem; }
.comparatif th, .comparatif td { padding: var(--e-4) var(--e-5); text-align: left; vertical-align: top; border-bottom: 1px solid var(--filet); }
.comparatif tbody tr:last-child th, .comparatif tbody tr:last-child td { border-bottom: 0; }
.comparatif thead th { font-family: var(--police-titre); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; color: var(--texte-second); }
.comparatif tbody th { font-weight: 600; color: var(--texte); width: 30%; }
.comparatif td { color: var(--texte-discret); }
.comparatif .comparatif-nous { background: rgba(182, 74, 43, 0.16); color: var(--texte); }
.comparatif thead .comparatif-nous { color: var(--accent-clair); box-shadow: inset 0 2px 0 var(--accent-clair); }
.coche { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: var(--accent-clair); color: var(--fond); font-size: 0.7rem; font-weight: 800; vertical-align: 1px; }

/* =============================================================================
   11. RÔLES · MÉTHODE · POUR QUI
============================================================================= */
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--e-4); }
.role { display: flex; flex-direction: column; gap: var(--e-3); }
.role .code { color: var(--accent-clair); }
.role > p:last-child { font-family: var(--police-titre); font-size: 1.15rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
@media (max-width: 71.99rem) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 35.99rem) { .roles { grid-template-columns: 1fr; } }

.engagements {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--e-7);
  margin-top: var(--e-7);
  padding: clamp(1.6rem, 1rem + 2vw, 3rem);
  border: 1px solid var(--filet);
  border-radius: var(--rayon-grand);
  background: var(--verre);
}
.engagements-tete h3 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); letter-spacing: -0.04em; }
.engagements-tete p { margin-top: var(--e-4); font-family: var(--police-titre); font-style: italic; font-size: 1.2rem; color: var(--accent-texte); }
.engagements-liste { display: grid; gap: var(--e-3); }
.engagements-liste li { padding-bottom: var(--e-3); border-bottom: 1px solid var(--filet); color: var(--texte-second); }
.engagements-liste li:last-child { border-bottom: 0; padding-bottom: 0; }
.engagements-liste strong { color: var(--texte); }
@media (max-width: 61.99rem) { .engagements { grid-template-columns: 1fr; gap: var(--e-5); } }

.methode-grille { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--e-8); align-items: start; }
.methode-tete { position: sticky; top: 120px; }
.methode-tete h2 { max-width: 11em; font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.8rem); }
.methode-tete .chapo { margin-top: var(--e-5); }
.etapes { position: relative; display: grid; gap: var(--e-4); --progression: 1; }
.etapes::before, .etapes::after {
  content: "";
  position: absolute;
  left: 27px; top: 28px; bottom: 28px;
  width: 2px;
  border-radius: 2px;
}
.etapes::before { background: var(--filet-fort); }
.etapes::after { background: var(--degrade-mot); transform-origin: top center; transform: scaleY(var(--progression)); box-shadow: 0 0 16px var(--lueur); }
.etape { position: relative; z-index: 1; display: grid; grid-template-columns: 56px 1fr; gap: var(--e-5); padding: var(--e-5) var(--e-5) var(--e-5) 0; }
.etape-num {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border: 1px solid var(--filet-fort);
  border-radius: 50%;
  background: var(--fond);
  color: var(--accent-clair);
  font-size: 0.85rem;
}
.etape-repere { margin-bottom: var(--e-2); }
.etape h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.03em; }
.etape p:not(.code) { margin-top: var(--e-2); color: var(--texte-second); }
.etape--vendue {
  padding-left: var(--e-5);
  margin-left: calc(var(--e-5) * -1);
  border: 1px solid rgba(242, 196, 138, 0.35);
  border-radius: var(--rayon-grand);
  background: linear-gradient(160deg, rgba(182, 74, 43, 0.3), rgba(182, 74, 43, 0.04) 70%);
}
.etape--vendue .etape-num { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.etape-marque { display: inline-block; margin-top: var(--e-3); padding: 5px 11px; border-radius: var(--rayon-plein); background: var(--accent-clair); color: var(--fond); font-size: 0.82rem; font-weight: 600; }
@media (max-width: 71.99rem) {
  .methode-grille { grid-template-columns: 1fr; gap: var(--e-6); }
  .methode-tete { position: static; }
}

#pour-qui { overflow: clip; }   /* le bandeau incliné déborde : jamais de défilement horizontal */
.bandeau {
  margin-block: 0 var(--e-8);
  padding-block: var(--e-5);
  border-block: 1px solid var(--filet);
  overflow: hidden;
  transform: rotate(-2deg) scale(1.04);
  background: rgba(182, 74, 43, 0.08);
}
.bandeau-piste { display: flex; width: max-content; animation: defilement 48s linear infinite; }
.bandeau-piste span {
  display: inline-flex;
  align-items: center;
  font-family: var(--police-titre);
  font-size: clamp(2rem, 1.2rem + 3.4vw, 4.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(251, 243, 232, 0.35);
  white-space: nowrap;
}
.bandeau-piste span:nth-child(even) { -webkit-text-stroke: 0; background: var(--degrade-mot); -webkit-background-clip: text; background-clip: text; font-style: italic; }
.bandeau-piste span::after { content: "✦"; margin-inline: 0.6em; font-size: 0.4em; font-style: normal; -webkit-text-stroke: 0; color: var(--accent); }
@keyframes defilement { to { transform: translateX(-50%); } }

.metiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-4); }
.metiers .carte { display: flex; flex-direction: column; gap: var(--e-4); }
.metiers .code { color: var(--accent-clair); }
.zone { max-width: 80ch; margin-top: var(--e-6); color: var(--texte-second); }
.zone strong { color: var(--texte); }
@media (max-width: 47.99rem) { .metiers { grid-template-columns: 1fr; } }

/* =============================================================================
   12. OFFERT · QUESTIONS
============================================================================= */
.offert {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--e-6) var(--e-7);
  padding: clamp(1.6rem, 1rem + 3vw, 4rem);
  overflow: hidden;
  border-color: rgba(242, 196, 138, 0.3);
  background: radial-gradient(70% 90% at 90% 10%, rgba(182, 74, 43, 0.35), transparent 60%), linear-gradient(180deg, rgba(255, 236, 214, 0.05), rgba(255, 236, 214, 0.01));
}
.offert-tete { grid-column: 1; grid-row: 1; align-self: center; }
.offert-tete h2 { max-width: 9em; }
.offert-tete .chapo { margin-top: var(--e-5); }
.offert-visuel { grid-column: 2; grid-row: 1; position: relative; min-height: 280px; }
.offert-visuel img {
  position: absolute; left: 50%; top: 50%;
  width: 150%; max-width: none;
  translate: -50% -50%;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  animation: flotter 8s ease-in-out infinite;
}
.offert-liste { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e-4); }
.offert-liste li { display: flex; flex-direction: column; gap: var(--e-3); background: rgba(22, 12, 6, 0.55); }
.offert-liste .code { color: var(--accent-clair); }
.offert-liste h3 { font-size: 1.3rem; }
.offert-liste p:not(.code) { color: var(--texte-second); font-size: 0.95rem; }
.offert-action { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-4) var(--e-5); }
@media (max-width: 61.99rem) {
  .offert { grid-template-columns: 1fr; }
  .offert-visuel { grid-column: 1; grid-row: 1; min-height: 220px; }
  .offert-tete { grid-row: 2; }
  .offert-visuel img { width: 120%; }
  .offert-liste { grid-template-columns: 1fr; }
}

.questions-grille { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--e-8); align-items: start; }
.questions-tete { position: sticky; top: 120px; }
.questions-tete h2 { max-width: 11em; font-size: clamp(2rem, 1.2rem + 2.2vw, 3.4rem); }
.questions-tete h2 + .lien-fleche { margin-top: var(--e-4); }
.questions-tete .chapo { margin-block: var(--e-5) var(--e-3); }
.faq { border-top: 1px solid var(--filet); }
.question { border-bottom: 1px solid var(--filet); }
.question summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: var(--e-4) 60px var(--e-4) 0;
  font-family: var(--police-titre);
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  transition: color var(--t-reaction);
}
.question summary::-webkit-details-marker { display: none; }
.question summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  display: grid; place-items: center;
  width: 38px; height: 38px; margin-top: -19px;
  border: 1px solid var(--filet-fort);
  border-radius: 50%;
  font-family: var(--police-texte);
  font-size: 1.3rem; font-weight: 300;
  color: var(--accent-clair);
  transition: transform var(--t-etat) var(--courbe), background-color var(--t-reaction);
}
.question summary:hover { color: var(--accent-clair); }
.question[open] summary::after { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.question-reponse { display: grid; gap: var(--e-3); padding: 0 60px var(--e-5) 0; color: var(--texte-second); }
@media (max-width: 71.99rem) {
  .questions-grille { grid-template-columns: 1fr; gap: var(--e-6); }
  .questions-tete { position: static; }
  .question-reponse { padding-right: 0; }
}

/* =============================================================================
   13. RENDEZ-VOUS · AGENDA
============================================================================= */
.rdv-grille { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: var(--e-7); align-items: start; }
.formulaire { padding: clamp(1.4rem, 1rem + 1.6vw, 2.6rem); }
.champs-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--e-4); }
.champ { display: grid; gap: 6px; margin-bottom: var(--e-4); }
.champ label, .creneau-choix legend { font-weight: 600; font-size: 0.95rem; }
.champ input, .champ select, .champ textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--filet-composant);
  border-radius: var(--rayon-petit);
  background: var(--fond-haut);
  color: var(--texte);
  font-size: 1rem;
  transition: border-color var(--t-reaction), box-shadow var(--t-reaction);
}
.champ textarea { min-height: 96px; resize: vertical; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--texte-discret); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--accent-clair); box-shadow: 0 0 0 3px rgba(242, 196, 138, 0.25); }
.champ input[type="date"] { color-scheme: dark; }
.champ-note { font-weight: 400; font-size: 0.88rem; color: var(--texte-discret); }
.champ [aria-invalid="true"] { border-color: #FF8F73; }
.champ-erreur { min-height: 0; font-size: 0.9rem; color: #FFB29E; font-weight: 500; }   /* 10,9:1 sur fond-eleve */
.champ-erreur:empty { display: none; }

.creneau-choix { border: 0; margin: 0 0 var(--e-4); padding: 0; min-width: 0; }
.creneau-choix legend { padding: 0; }
.creneau-choix > .champ-note { display: block; margin-top: 4px; }
.creneau-natif { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--e-3); margin-top: var(--e-3); }
.creneau-natif .champ { margin-bottom: 0; }
.creneau-choix--ameliore .creneau-natif { display: none; }
.choix-creneau {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--e-4);
  width: 100%;
  margin-top: var(--e-3);
  padding: 10px var(--e-4) 10px 10px;
  border: 1px solid var(--filet-composant);
  border-radius: var(--rayon);
  background: var(--fond-haut);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--t-reaction), box-shadow var(--t-reaction), transform var(--t-reaction);
}
.choix-creneau:hover { border-color: var(--accent-clair); box-shadow: 0 10px 30px -14px var(--lueur); }
.choix-creneau:active { transform: scale(.99); }
.choix-creneau[aria-invalid="true"] { border-color: #FF8F73; }
.choix-creneau-icone { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--verre-fort); color: var(--accent-clair); }
.choix-creneau[data-choisi="true"] .choix-creneau-icone { background: var(--accent); color: #FFFFFF; }
.choix-creneau-texte { display: grid; gap: 2px; min-width: 0; }
.choix-creneau-texte strong { font-weight: 600; font-size: 1rem; }
.choix-creneau-texte span { font-size: 0.88rem; color: var(--texte-second); }
.choix-creneau-fleche { font-size: 1.6rem; line-height: 1; color: var(--texte-second); }

.agenda {
  width: min(420px, calc(100% - 24px));
  max-height: calc(100svh - 24px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon-grand);
  background: var(--fond-eleve);
  color: var(--texte);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9), 0 0 80px -30px var(--lueur);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.agenda::backdrop { background: rgba(10, 5, 2, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.agenda[open] { animation: agenda-entree var(--t-etat) var(--courbe); }
@keyframes agenda-entree { from { transform: translateY(16px) scale(.98); opacity: 0; } }
.agenda-corps { padding: var(--e-4) var(--e-5) var(--e-5); }
.agenda-poignee { display: none; }
.agenda-tete { display: flex; align-items: center; justify-content: space-between; }
.agenda-tete h2, .agenda-tete h3 { font-size: 1.2rem; }
.agenda-fermer, .agenda-nav {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--fond-haut); color: var(--texte); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.agenda-nav:disabled { opacity: .35; cursor: default; }
.agenda-mois { display: flex; align-items: center; justify-content: space-between; margin-top: var(--e-4); }
.agenda-mois-titre { font-family: var(--police-titre); font-weight: 700; font-size: 1.05rem; text-transform: capitalize; }
.agenda-semaine, .agenda-jours { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); justify-items: center; }
.agenda-semaine { margin-top: var(--e-3); font-size: 0.78rem; font-weight: 600; color: var(--texte-discret); }
.agenda-semaine span { padding: 6px 0; }
.agenda-jours { row-gap: 4px; }
.agenda-jour {
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: var(--texte);
  font: 500 1rem/1 var(--police-texte); font-variant-numeric: tabular-nums; cursor: pointer;
  transition: background-color var(--t-reaction), color var(--t-reaction);
}
.agenda-jour:hover:not(:disabled) { background: var(--fond-haut); }
.agenda-jour[data-aujourdhui] { color: var(--accent-texte); font-weight: 700; }
.agenda-jour:disabled { color: #6E5A4B; cursor: default; }   /* jour indisponible : contrôle désactivé, annoncé « indisponible » aux lecteurs d'écran */
.agenda-jour[aria-pressed="true"] { background: var(--accent-clair); color: var(--fond); font-weight: 700; }
.agenda-sous-titre { margin-top: var(--e-4); font-weight: 600; font-size: 0.95rem; }
.agenda-heures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: var(--e-3); }
.agenda-heure {
  min-height: 44px; border: 1px solid var(--filet-fort); border-radius: var(--rayon-petit);
  background: var(--fond-haut); color: var(--texte);
  font: 500 0.95rem/1 var(--police-texte); font-variant-numeric: tabular-nums; cursor: pointer;
}
.agenda-heure:hover { border-color: var(--accent-clair); }
.agenda-heure[aria-pressed="true"] { background: var(--accent-clair); border-color: var(--accent-clair); color: var(--fond); font-weight: 600; }
.agenda-valider { width: 100%; margin-top: var(--e-5); position: sticky; bottom: 0; }
.agenda-valider:disabled { opacity: .45; cursor: default; box-shadow: none; transform: none; }
@media (max-width: 47.99rem) {
  .agenda {
    width: 100%; max-width: 100%;
    margin: auto 0 0;
    border-radius: var(--rayon-grand) var(--rayon-grand) 0 0;
    max-height: 92svh;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .agenda[open] { animation: agenda-feuille var(--t-etat) var(--courbe); }
  @keyframes agenda-feuille { from { transform: translateY(100%); } }
  .agenda-poignee { display: block; width: 40px; height: 5px; margin: 0 auto var(--e-3); border-radius: 3px; background: var(--filet-fort); }
  .agenda-corps { padding-inline: var(--e-4); padding-bottom: var(--e-4); }
  .agenda-mois { margin-top: var(--e-2); }
  .agenda-jours { row-gap: 0; }
  .agenda-heures { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin-inline: calc(var(--e-4) * -1); padding: 2px var(--e-4) 6px; scrollbar-width: none; }
  .agenda-heures::-webkit-scrollbar { display: none; }
  .agenda-heure { flex: 0 0 84px; scroll-snap-align: start; }
  .agenda-sous-titre { margin-top: var(--e-3); }
}

.consentement { display: grid; grid-template-columns: 28px 1fr; gap: var(--e-3); align-items: start; margin: var(--e-3) 0 var(--e-4); }
.consentement input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent-clair); }
.consentement label { font-size: 0.92rem; color: var(--texte-second); padding-block: 2px; min-height: var(--cible-min); }
.consentement .champ-erreur { grid-column: 2; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire-etat { margin-bottom: var(--e-4); font-weight: 600; }
.formulaire-etat:empty { display: none; }
.formulaire-etat[data-type="erreur"] { color: #FFB29E; }
.formulaire-etat[data-type="succes"] { padding: var(--e-4); border: 1px solid rgba(157, 214, 170, 0.4); border-radius: var(--rayon); background: rgba(80, 150, 100, 0.14); color: #BDE8C8; }
.formulaire > .bouton { width: 100%; }
.rassurance { margin-top: var(--e-3); text-align: center; }
.rgpd { margin-top: var(--e-5); padding-top: var(--e-4); border-top: 1px solid var(--filet); font-size: 0.84rem; color: var(--texte-discret); }
.rgpd a { color: var(--accent-texte); }

.rdv-cote { position: sticky; top: 120px; display: grid; gap: var(--e-5); }
.rdv-cote > .code { color: var(--accent-clair); }
.promesses { display: grid; gap: var(--e-4); }
.promesse { display: grid; grid-template-columns: 44px 1fr; gap: var(--e-4); }
.promesse-num { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--filet-fort); border-radius: 50%; color: var(--accent-clair); }
.promesse h2, .promesse h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
.promesse p { margin-top: 2px; color: var(--texte-second); font-size: 0.94rem; }
.coordonnees { display: grid; gap: var(--e-3); padding: var(--e-5); border: 1px solid var(--filet); border-radius: var(--rayon-grand); background: var(--verre); }
.coordonnees > div { display: grid; gap: 4px; padding-bottom: var(--e-3); border-bottom: 1px solid var(--filet); }
.coordonnees > div:last-child { padding-bottom: 0; border-bottom: 0; }
.coordonnees dd { font-weight: 600; }
.coordonnees dd a { font-family: var(--police-titre); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: var(--texte); text-decoration: none; }
.coordonnees dd a:hover { color: var(--accent-clair); }
.coordonnees small { display: block; margin-top: 2px; font-weight: 400; font-size: 0.88rem; color: var(--texte-second); }
@media (max-width: 61.99rem) {
  .rdv-grille { grid-template-columns: 1fr; }
  .rdv-cote { position: static; }
}
@media (max-width: 35.99rem) { .champs-duo { grid-template-columns: 1fr; } }

/* =============================================================================
   14. PIED DE PAGE · BARRE MOBILE
============================================================================= */
.pied { position: relative; padding-top: var(--respiration); border-top: 1px solid var(--filet); overflow: hidden; }
.pied::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: radial-gradient(70% 50% at 50% 100%, rgba(182, 74, 43, 0.22), transparent 70%);
}
.pied-appel { display: grid; justify-items: center; gap: var(--e-6); padding-bottom: var(--e-9); text-align: center; }
.pied-appel h2 { font-size: var(--t-t1); letter-spacing: -0.045em; max-width: 11em; }
.pied-appel .boutons { justify-content: center; }
.pied-haut {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: var(--e-7);
  padding-top: var(--e-7);
  border-top: 1px solid var(--filet);
}
.pied-marque { display: grid; align-content: start; gap: var(--e-4); max-width: 40ch; }
.pied-marque > p:not(.code) { color: var(--texte-second); font-size: 0.95rem; }
.pied-marque .logo { margin-right: 0; }
.pied-marque .logo-mb { height: 36px; }
.pied-marque .logo-nom { font-size: 1.6rem; }
.partenaire-titre { margin-top: var(--e-3); }
.partenaire {
  justify-self: start;
  display: inline-flex; align-items: center; gap: var(--e-3);
  min-height: var(--cible-min);
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon-plein);
  background: var(--verre);
  text-decoration: none;
  transition: border-color var(--t-reaction);
}
.partenaire:hover { border-color: var(--accent-clair); }
.partenaire-logo { border-radius: 9px; }
.partenaire-nom { font-weight: 600; }
.partenaire-fleche { color: var(--accent-clair); }
.pied-colonne { display: grid; align-content: start; gap: 2px; }
.pied-colonne > .code { margin-bottom: var(--e-3); }
.pied-colonne a, .pied-colonne > p:not(.code) { display: inline-flex; align-items: center; min-height: 40px; color: var(--texte-second); text-decoration: none; font-size: 0.95rem; }
.pied-colonne a:hover { color: var(--texte); }
.pied-geant {
  margin-top: var(--e-8);
  font-family: var(--police-titre);
  /* En capitales, le mot tient toujours sur la largeur du contenu (≈ 5,8 em de long). */
  font-size: min(19rem, calc(min(100vw - 2 * var(--gouttiere), var(--largeur-max)) / 6));
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.06em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(242, 196, 138, 0.32), rgba(242, 196, 138, 0) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  transform: perspective(900px) rotateX(28deg);
  transform-origin: 50% 100%;
  user-select: none;
}
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--e-3); padding-block: var(--e-5); border-top: 1px solid var(--filet); font-size: 0.85rem; color: var(--texte-discret); }
@media (max-width: 61.99rem) { .pied-haut { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pied-marque { grid-column: 1 / -1; } }
@media (max-width: 35.99rem) { .pied-haut { grid-template-columns: 1fr; } }

.barre-action { display: none; }
@media (max-width: 61.99rem) {
  body { padding-bottom: 84px; }
  .barre-action {
    position: fixed; z-index: 40;
    left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 8px;
    padding: 8px;
    border: 1px solid var(--filet);
    border-radius: var(--rayon-plein);
    background: rgba(22, 12, 6, 0.86);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.9);
    transition: transform var(--t-etat) var(--courbe);
  }
  .barre-action .bouton { min-height: 48px; padding: 0 var(--e-3); font-size: 0.95rem; }
  .js .barre-action { transform: translateY(160%); }
  .js .barre-action[data-visible="true"] { transform: none; }
}

/* =============================================================================
   15. PAGES LÉGALES ET PAGE DE RETOUR DU FORMULAIRE
============================================================================= */
.page-simple { max-width: calc(820px + var(--gouttiere) * 2); padding-top: 140px; padding-bottom: var(--e-9); }
.page-simple h1 { font-size: var(--t-t2); letter-spacing: -0.04em; }
.page-simple h2 { font-size: var(--t-t3); margin-top: var(--e-8); }
.page-simple h3 { font-size: 1.1rem; margin-top: var(--e-6); }
.page-simple p, .page-simple ul, .page-simple dl { max-width: var(--mesure); margin-top: var(--e-4); color: var(--texte-second); }
.page-simple ul { padding-left: 1.2em; list-style: disc; }
.page-simple li + li { margin-top: 6px; }
.page-simple strong { color: var(--texte); }
.page-simple a:not(.bouton) { color: var(--accent-texte); }
.page-simple .retour { margin-top: var(--e-7); }
.cartouche {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  background: var(--verre);
  overflow: hidden;
}
.cartouche dt, .cartouche dd { padding: var(--e-3) var(--e-4); border-bottom: 1px solid var(--filet); }
.cartouche dt { font-weight: 600; color: var(--texte); font-size: 0.92rem; }
.cartouche dd { color: var(--texte-second); }
.cartouche dt:last-of-type, .cartouche dd:last-of-type { border-bottom: 0; }
.cartouche a { color: var(--accent-texte); }
.pied-liens { display: grid; align-content: start; gap: 2px; }
.pied-liens a { display: inline-flex; align-items: center; min-height: var(--cible-min); color: var(--texte-second); text-decoration: none; }
.pied-liens a:hover { color: var(--texte); text-decoration: underline; }
.page-simple ~ .pied { padding-top: 0; }
.page-simple ~ .pied .pied-haut { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); padding-bottom: var(--e-7); }
@media (max-width: 47.99rem) {
  .page-simple ~ .pied .pied-haut { grid-template-columns: 1fr; gap: var(--e-6); }
  .cartouche { grid-template-columns: 1fr; }
  .cartouche dt { border-bottom: 0; padding-bottom: 2px; }
  .cartouche dd { padding-top: 0; }
}

/* =============================================================================
   16. MOUVEMENT RÉDUIT — aucune animation, aucune inclinaison
       (et le bouton pause du hero fige les boucles décoratives)
============================================================================= */
.animations-en-pause *, .animations-en-pause *::before, .animations-en-pause *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .carte-3d { transform: none; }
  .bandeau-piste { animation: none; }
}

/* =============================================================================
   17. SITE EN PLUSIEURS PAGES (16/09/2026)
       menu déroulant des offres, haut de page intérieure, fil d'Ariane,
       pertes, livrables, gains, déroulé en ligne, packs concernés,
       offres à la carte, agence, questions, rendez-vous
============================================================================= */

/* ---- Menu : le groupe des offres ---- */
.nav-groupe { position: relative; display: flex; align-items: center; }
.nav-deplier {
  display: inline-grid; place-items: center;
  width: 28px; height: 40px; margin-left: -10px;
  border: 0; background: transparent; color: var(--texte-discret);
  font-size: 0.75rem; cursor: pointer;
  transition: transform var(--t-etat) var(--courbe), color var(--t-reaction);
}
.nav-deplier[aria-expanded="true"] { transform: rotate(180deg); color: var(--accent-clair); }
.nav-groupe[data-actif] > .nav-lien { color: var(--texte); background: var(--verre-fort); }
.sous-menu {
  position: absolute;
  top: calc(100% + 14px); left: -12px;
  z-index: 5;
  display: grid;
  gap: 2px;
  min-width: 300px;
  padding: var(--e-2);
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  background: rgba(22, 12, 6, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 60px -30px var(--lueur);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-etat), transform var(--t-etat) var(--courbe), visibility 0s linear var(--t-etat);
}
/* Petit pont invisible : la souris passe du lien au menu sans le fermer. */
.sous-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-groupe:hover > .sous-menu,
.nav-groupe:focus-within > .sous-menu,
.nav-deplier[aria-expanded="true"] + .sous-menu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity var(--t-etat), transform var(--t-etat) var(--courbe), visibility 0s;
}
.nav-groupe[data-ferme] > .sous-menu { opacity: 0; visibility: hidden; }
.sous-lien {
  display: grid; gap: 2px;
  padding: 10px 14px;
  border-radius: var(--rayon-petit);
  color: var(--texte);
  font-size: 0.95rem; font-weight: 500;
  text-decoration: none;
  transition: background-color var(--t-reaction);
}
.sous-lien .code { color: var(--accent-clair); font-size: 0.66rem; }
.sous-lien:hover, .sous-lien[aria-current="page"] { background: var(--verre-fort); }
@media (max-width: 61.99rem) {
  .nav { max-height: calc(100svh - 110px); overflow-y: auto; }
  .nav-groupe { flex-wrap: wrap; }
  .nav-groupe > .nav-lien { flex: 1; }
  .nav-deplier { display: none; }
  .sous-menu,
  .nav-groupe[data-ferme] > .sous-menu {
    position: static;
    flex-basis: 100%;
    min-width: 0;
    margin: 0 0 var(--e-2) var(--e-4);
    padding: 0 0 0 var(--e-3);
    border: 0; border-left: 1px solid var(--filet-fort); border-radius: 0;
    background: none; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .sous-menu::before { display: none; }
  .sous-lien { padding: 8px 10px; }
}

/* ---- Haut des pages intérieures ---- */
.hero-page { position: relative; isolation: isolate; padding: 130px 0 var(--e-8); overflow-x: clip; }
.hero-page::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(40vw 40vw at 80% 45%, rgba(182, 74, 43, 0.25), transparent 65%);
}
.hero-page-grille { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center; gap: var(--e-7); }
.hero-page h1 { font-size: clamp(2.4rem, 1.2rem + 4vw, 5.2rem); line-height: 1; letter-spacing: -0.045em; max-width: 14em; }
.hero-page .chapo { margin-top: var(--e-5); }
.hero-page .boutons { margin-top: var(--e-6); }
.hero-page .hero-statut { margin-top: var(--e-7); flex: none; }
.hero-page-visuel { position: relative; aspect-ratio: 1; }
.hero-page-visuel img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(closest-side, #000 66%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 66%, transparent 100%);
  animation: flotter 8s ease-in-out infinite;
}
.hero-page--court { padding-bottom: var(--e-4); }
.hero-page--court h1 { max-width: 16em; }
.section.section--haut { padding-top: var(--e-6); border-top: 0; }
@media (max-width: 61.99rem) {
  .hero-page { padding-top: 104px; }
  .hero-page-grille { grid-template-columns: 1fr; gap: var(--e-4); }
  .hero-page-visuel { order: -1; width: min(70vw, 340px); margin: 0 auto calc(var(--e-5) * -1); }
}

.fil ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: var(--e-5); font-size: 0.85rem; color: var(--texte-discret); }
.fil li + li::before { content: "/"; margin-right: 6px; color: var(--filet-fort); }
.fil a { color: var(--texte-second); text-decoration: none; }
.fil a:hover { color: var(--accent-clair); text-decoration: underline; }
.fil [aria-current] { color: var(--texte); }

/* ---- Pertes · livrables · gains ---- */
.pertes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e-4); }
.perte { display: flex; flex-direction: column; gap: var(--e-3); }
.perte::before {
  content: "×";
  display: grid; place-items: center;
  width: 36px; height: 36px; margin-bottom: var(--e-2);
  border: 1px dashed var(--filet-fort); border-radius: 50%;
  color: var(--accent-texte); font-size: 1.2rem; line-height: 1;
}
.perte h3 { font-size: 1.35rem; }
.perte > p:last-child { color: var(--texte-second); }

.livrables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-3); }
.livrables li {
  position: relative;
  padding: var(--e-4) var(--e-5) var(--e-4) 56px;
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  background: var(--verre);
  color: var(--texte-second);
}
.livrables li::before {
  content: "✓";
  position: absolute; left: var(--e-4); top: var(--e-4);
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(182, 74, 43, 0.45);
  color: var(--accent-clair); font-size: 0.8rem; font-weight: 700;
}
.livrables strong { color: var(--texte); }
.livrables--simple { grid-template-columns: 1fr; margin-top: var(--e-5); }

.gains-cles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--e-4); margin-top: var(--e-8); }
.gain { display: flex; flex-direction: column; gap: var(--e-3); }
.gain .code { color: var(--accent-clair); }
.gain h3 { font-size: 1.3rem; }
.gain > p:last-child { color: var(--texte-second); font-size: 0.95rem; }
.aa-colonne h3 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem); letter-spacing: -0.03em; }

.encadre {
  margin-top: var(--e-8);
  padding: clamp(1.6rem, 1rem + 2vw, 3rem);
  border: 1px solid rgba(242, 196, 138, 0.25);
  border-radius: var(--rayon-grand);
  background: linear-gradient(160deg, rgba(182, 74, 43, 0.2), rgba(255, 236, 214, 0.02) 60%);
}
.encadre > .code { margin-bottom: var(--e-4); color: var(--accent-clair); }
.encadre-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--e-4) var(--e-7); align-items: start; }
.encadre-grille h2, .encadre-grille h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem); letter-spacing: -0.035em; }
.encadre-grille p { color: var(--texte-second); }
.encadre-grille p + p, .encadre-grille p + .lien-fleche { margin-top: var(--e-3); }
.encadre-grille strong { color: var(--texte); }
.encadre--large { margin-top: 0; }

.bloc-visuel { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: var(--e-7); overflow: hidden; }
.bloc-visuel-image { position: relative; aspect-ratio: 1; }
.bloc-visuel-image img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(closest-side, #000 66%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 66%, transparent 100%);
  animation: flotter 8s ease-in-out infinite;
}
.bloc-visuel-texte .chapo { margin-top: var(--e-4); }
.bloc-visuel-texte h2 { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.8rem); }

/* ---- Déroulé sur une ligne ---- */
.etapes-ligne { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--e-4); }
.etapes-ligne::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 1px; background: linear-gradient(90deg, var(--filet-fort), rgba(242, 196, 138, 0.5), var(--filet-fort)); }
.etapes-ligne li { position: relative; display: grid; align-content: start; gap: var(--e-2); padding-top: 60px; }
.etapes-ligne li > .code {
  position: absolute; top: 0; left: 0;
  display: inline-grid; place-items: center;
  min-width: 44px; height: 44px; padding: 0 12px;
  border: 1px solid var(--filet-fort); border-radius: var(--rayon-plein);
  background: var(--fond); color: var(--accent-clair);
}
.etapes-ligne h3 { font-size: 1.25rem; }
.etapes-ligne p { color: var(--texte-second); font-size: 0.95rem; }
.etapes-ligne-vous > .code { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.etapes-ligne li .code { color: var(--accent-clair); }
.etapes-ligne .etapes-ligne-vous > .code { color: #FFFFFF; }

/* ---- Packs concernés ---- */
.dans-packs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-5) var(--e-6); }
.dans-packs > div { flex: 1 1 30rem; min-width: 0; }
.dans-packs h2 { font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.8rem); }
.dans-packs > .packs-pastilles { flex: 0 1 auto; }
.dans-packs p:not(.etiquette) { margin-top: var(--e-3); color: var(--texte-second); max-width: 52ch; }
.packs-pastilles { display: flex; flex-wrap: wrap; gap: var(--e-2); }
.packs-pastilles li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px dashed var(--filet-fort); border-radius: var(--rayon-plein);
  color: var(--texte-discret); font-weight: 600;
}
.packs-pastilles li:not([data-inclus])::after { content: "non inclus"; font-size: 0.72rem; font-weight: 400; }
.packs-pastilles li[data-inclus] { border-style: solid; border-color: rgba(242, 196, 138, 0.45); background: rgba(182, 74, 43, 0.3); color: var(--texte); }
.packs-pastilles li[data-inclus]::after { content: "✓"; color: var(--accent-clair); }
.packs-pastilles .code { color: var(--accent-clair); font-size: 0.66rem; }

/* ---- Autres offres ---- */
#autres .titre-section-3 { margin-bottom: var(--e-6); }
.autres-offres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e-4); }
.autres-offres a, .metiers a.carte, a.pack { color: inherit; text-decoration: none; }
.autres-offres a { display: grid; gap: var(--e-2); height: 100%; }
.autres-offres .code { color: var(--accent-clair); }
.autres-offres strong { font-family: var(--police-titre); font-size: 1.5rem; letter-spacing: -0.03em; }
.autres-offres span:not(.code) { color: var(--texte-second); }
.autres-offres .lien-fleche { font-size: 1.3rem; }
.autres-offres span.lien-fleche { color: var(--accent-texte); }

/* ---- Offres : à la carte, matrice, packs ---- */
.a-la-carte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--e-4); }
.offre-carte { display: flex; flex-direction: column; gap: var(--e-2); height: 100%; padding-top: 0; overflow: hidden; color: inherit; text-decoration: none; }
.offre-visuel {
  position: relative; display: block; aspect-ratio: 1;
  margin: 0 calc(clamp(1.4rem, 1rem + 1.4vw, 2.2rem) * -1) var(--e-2);
  background: radial-gradient(60% 60% at 50% 55%, rgba(182, 74, 43, 0.25), transparent 70%);
}
.offre-visuel img {
  position: absolute; left: 12%; top: 12%; width: 76%; height: 76%;
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
  transition: transform 600ms var(--courbe);
}
.offre-carte:hover .offre-visuel img { transform: translateY(-8px) scale(1.05); }
.offre-carte > .code { color: var(--accent-clair); }
.offre-titre { font-family: var(--police-titre); font-size: 1.7rem; letter-spacing: -0.035em; line-height: 1.1; }
.offre-probleme { font-family: var(--police-titre); font-style: italic; font-weight: 600; color: var(--accent-texte); }
.offre-texte { color: var(--texte-second); font-size: 0.95rem; }
.offre-carte .lien-fleche { margin-top: auto; }

.comparatif.matrice { min-width: 860px; }
.matrice th small { display: block; margin-top: 2px; font-weight: 400; font-size: 0.82rem; color: var(--texte-discret); }
.matrice tbody th a { color: var(--texte); text-decoration-color: rgba(242, 196, 138, 0.4); text-underline-offset: 4px; }
.matrice tbody th a:hover { color: var(--accent-clair); }
.matrice td { vertical-align: middle; }
.tiret { color: var(--texte-discret); }
.pack-pour { padding: var(--e-3) var(--e-4); border-radius: var(--rayon-petit); background: rgba(22, 12, 6, 0.5); font-size: 0.92rem; color: var(--texte-second); }
.pack-pour .code { display: block; margin-bottom: 2px; color: var(--accent-clair); }
.pack { scroll-margin-top: 110px; }
a.pack .lien-fleche { margin-top: auto; }
.packs--apercu .pack { gap: var(--e-3); }

/* ---- Accueil : aperçus ---- */
.phares { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-3); margin: var(--e-6) 0; }
.phare { display: flex; flex-direction: column; gap: var(--e-2); padding: var(--e-5); }
.phare .code { color: var(--accent-clair); }
.phare h3 { font-size: 1.2rem; }
.phare > p:last-child { color: var(--texte-second); font-size: 0.92rem; }
.metiers a.carte .lien-fleche { margin-top: auto; }
.liens-questions { border-top: 1px solid var(--filet); }
.liens-questions a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--e-4);
  min-height: 72px; padding: var(--e-4) 0;
  border-bottom: 1px solid var(--filet);
  font-family: var(--police-titre); font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem); font-weight: 600; letter-spacing: -0.015em;
  color: var(--texte); text-decoration: none;
  transition: color var(--t-reaction), padding var(--t-etat) var(--courbe);
}
.liens-questions a span { color: var(--accent-clair); }
.liens-questions a:hover { padding-left: var(--e-3); color: var(--accent-clair); }

/* ---- L'agence ---- */
.carte-identite { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--e-7); padding: clamp(1.6rem, 1rem + 3vw, 4rem); }
.identite-monogramme {
  display: grid; place-items: center;
  width: clamp(140px, 18vw, 240px); aspect-ratio: 1;
  border-radius: var(--rayon-grand);
  background: radial-gradient(circle at 30% 25%, #D06A45, var(--accent) 45%, #6E2A16);
  box-shadow: inset 0 2px 0 rgba(255, 236, 214, 0.35), 0 40px 80px -30px var(--lueur);
  font-family: var(--police-titre); font-size: clamp(3rem, 2rem + 4vw, 6rem); font-weight: 800; letter-spacing: -0.06em;
  color: #FFF6EA;
  transform: perspective(800px) rotateY(-12deg) rotateX(6deg);
}
.carte-identite p:not(.etiquette) { margin-top: var(--e-4); max-width: 60ch; color: var(--texte-second); }
.identite-tel { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--e-3); }
.identite-tel a { font-family: var(--police-titre); font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; color: var(--texte); text-decoration: none; }
.identite-tel a:hover { color: var(--accent-clair); }
.principes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-4); }
.principes li { display: flex; flex-direction: column; gap: var(--e-3); }
.principes .code { color: var(--accent-clair); }
.principes h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.03em; }
.principes p:last-child { color: var(--texte-second); }
.etiquettes--grandes li { padding: 9px 16px; font-size: 1rem; color: var(--texte); }

/* ---- Questions ---- */
.ancres { display: flex; flex-wrap: wrap; gap: var(--e-2); margin-top: var(--e-6); }
.ancres a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--e-4); border: 1px solid var(--filet-fort); border-radius: var(--rayon-plein); background: var(--verre); color: var(--texte); text-decoration: none; }
.ancres a:hover { border-color: var(--accent-clair); }
.questions-tete .lien-fleche { display: flex; }
.question { scroll-margin-top: 110px; }
.question:target summary { color: var(--accent-clair); }

/* ---- Rendez-vous ---- */
.formulaire-besoin { margin-bottom: var(--e-5); padding: var(--e-3) var(--e-4); border: 1px solid rgba(242, 196, 138, 0.35); border-radius: var(--rayon-petit); background: rgba(182, 74, 43, 0.18); font-size: 0.92rem; }
.formulaire-besoin strong { color: var(--accent-clair); }
.rdv-questions { color: var(--texte-second); }
/* Sur la page rendez-vous, le rappel du pied de page ferait doublon. */
main:has(#formulaire-rdv) + .pied .pied-appel { display: none; }
main:has(#formulaire-rdv) + .pied .pied-haut { padding-top: 0; border-top: 0; }

.vitrine--premiere { margin-top: 0; }

@media (max-width: 71.99rem) {
  .a-la-carte, .gains-cles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 61.99rem) {
  .pertes, .autres-offres { grid-template-columns: 1fr; }
  .etapes-ligne { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--e-6); }
  .etapes-ligne::before { display: none; }
  .encadre-grille, .bloc-visuel { grid-template-columns: 1fr; }
  .bloc-visuel-image { width: min(70vw, 320px); margin-inline: auto; }
  .carte-identite { grid-template-columns: 1fr; justify-items: start; }
}
@media (max-width: 47.99rem) {
  .livrables, .principes, .phares { grid-template-columns: 1fr; }
}
@media (max-width: 35.99rem) {
  .a-la-carte, .gains-cles, .etapes-ligne { grid-template-columns: 1fr; }
}

/* ---- Tablette et téléphone : les tableaux deviennent des cartes, chaque valeur porte le nom de sa colonne ---- */
@media (max-width: 61.99rem) {
  .tableau-cadre { overflow: visible; border: 0; border-radius: 0; background: none; }
  .comparatif, .comparatif.matrice { min-width: 0; }
  .comparatif thead { display: none; }
  .comparatif, .comparatif tbody, .comparatif tr, .comparatif th, .comparatif td { display: block; width: auto; }
  .comparatif tr { margin-bottom: var(--e-3); border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--verre); overflow: hidden; }
  .comparatif tbody th { width: auto; padding: var(--e-4); border-bottom: 1px solid var(--filet); font-family: var(--police-titre); font-size: 1.05rem; }
  .comparatif td { padding: 10px var(--e-4); text-align: left; }
  .comparatif td::before { display: block; margin-bottom: 2px; content: attr(data-libelle); font-family: var(--police-code); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--texte-discret); }
  .comparatif td.comparatif-nous::before { color: var(--accent-clair); }
  .comparatif tbody tr:last-child td, .comparatif tr td:last-child { border-bottom: 0; }
}
@media (max-width: 47.99rem) {
  .hero-page .hero-statut { grid-template-columns: 1fr; gap: var(--e-2); }
  .hero-page .hero-statut > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--e-4); }
  .hero-page .hero-statut dd { margin-top: 0; text-align: right; }
}

/* =============================================================================
   18. ORBITE DES AUTOMATISATIONS (16/09/2026)
       Anneau incliné (rotateX), piste qui tourne (rotateZ), étiquettes
       contre-tournées pour rester face au lecteur. Le réseau 3D est dans le
       même espace : les étiquettes qui passent derrière sont masquées par lui.
============================================================================= */
.orbite {
  --inclinaison: 66deg;
  --tour: 44s;
  --rayon: 37cqi;   /* rayon de l’orbite : laisse la place aux étiquettes sur les côtés */
  position: relative;
  container-type: inline-size;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  aspect-ratio: 1;
  perspective: 1500px;
}
.orbite::before {
  content: "";
  position: absolute; inset: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(182, 74, 43, 0.35), transparent 75%);
  filter: blur(10px);
}
.orbite-anneau {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--inclinaison));
}
/* Le tracé de l'orbite, en pointillés ocre. */
.orbite-anneau::before,
.orbite-anneau::after {
  content: "";
  position: absolute;
  inset: calc(50cqi - var(--rayon));
  border-radius: 50%;
  border: 1px dashed rgba(242, 196, 138, 0.35);
}
.orbite-anneau::after {
  inset: calc(44cqi - var(--rayon));
  border: 1px solid rgba(242, 196, 138, 0.1);
  box-shadow: 0 0 40px -10px var(--lueur) inset;
}
.orbite-coeur {
  position: absolute;
  left: 50%; top: 50%;
  width: 54cqi; height: 54cqi;
  margin: -27cqi 0 0 -27cqi;
  transform-style: preserve-3d;
  transform: rotateX(calc(-1 * var(--inclinaison)));   /* face au lecteur */
}
.orbite-coeur-image { position: absolute; inset: 0; animation: flotter 7s ease-in-out infinite; }
.orbite-piste {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  animation: orbite-tour var(--tour) linear infinite;
}
.orbite-bras {
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  transform-style: preserve-3d;
  transform: rotateZ(var(--angle)) translateX(var(--rayon));
}
.orbite-bras:nth-child(1) { --angle: 0deg; }
.orbite-bras:nth-child(2) { --angle: 40deg; }
.orbite-bras:nth-child(3) { --angle: 80deg; }
.orbite-bras:nth-child(4) { --angle: 120deg; }
.orbite-bras:nth-child(5) { --angle: 160deg; }
.orbite-bras:nth-child(6) { --angle: 200deg; }
.orbite-bras:nth-child(7) { --angle: 240deg; }
.orbite-bras:nth-child(8) { --angle: 280deg; }
.orbite-bras:nth-child(9) { --angle: 320deg; }
.orbite-module {
  position: absolute;
  transform-style: preserve-3d;
  /* État fixe (mouvement réduit) = premier instant de l'animation. */
  transform: rotateZ(calc(-1 * var(--angle))) rotateX(calc(-1 * var(--inclinaison)));
  animation: orbite-contre var(--tour) linear infinite;
}
.orbite-etiquette {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.45em 0.85em 0.45em 0.5em;
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon-plein);
  background: rgba(22, 12, 6, 0.92);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.9);
  font-size: clamp(0.66rem, 2.5cqi, 0.92rem);
  font-weight: 600;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}
.orbite-etiquette b {
  display: inline-grid; place-items: center;
  min-width: 2.1em; height: 2.1em;
  border-radius: 50%;
  background: var(--verre-fort);
  font-family: var(--police-code);
  font-size: 0.78em;
  color: var(--accent-clair);
}
.orbite-etiquette--phare { border-color: rgba(242, 196, 138, 0.55); background: rgba(126, 46, 24, 0.9); box-shadow: 0 0 30px -8px var(--lueur); }
.orbite-etiquette--phare b { background: var(--accent-clair); color: var(--fond); }
.orbite-legende { position: absolute; left: 0; right: 0; bottom: 2%; text-align: center; color: var(--accent-clair); }
@container (max-width: 420px) {
  .orbite-anneau, .orbite-coeur { --rayon: 30cqi; }
  .orbite-etiquette { font-size: 0.62rem; }
}
@keyframes orbite-tour { to { transform: rotateZ(360deg); } }
@keyframes orbite-contre {
  from { transform: rotateZ(calc(-1 * var(--angle))) rotateX(calc(-1 * var(--inclinaison))); }
  to   { transform: rotateZ(calc(-1 * var(--angle) - 360deg)) rotateX(calc(-1 * var(--inclinaison))); }
}
@media (prefers-reduced-motion: reduce) {
  .orbite-piste, .orbite-module, .orbite-coeur-image { animation: none !important; }
}

/* =============================================================================
   19. FLUIDITÉ — les animations en boucle s'arrêtent quand elles sont hors de
       l'écran (classe .hors-ecran posée par js/main.js).
============================================================================= */
.hors-ecran, .hors-ecran * { animation-play-state: paused !important; }
