/* ==========================================================================
   SAILLANT STRATÉGIE — Feuille de style principale
   Identité : mood board 2026 (bordeaux / espresso / crème)
   --------------------------------------------------------------------------
   Polices :
     Titres  -> Perandory       (repli : Bodoni Moda, Didot, Times New Roman)
     Script  -> Symphony        (repli : Great Vibes)
     Texte   -> Times New Roman (repli : Times, serif)
   Perandory et Symphony ne sont pas des polices web installées par défaut :
   sur un poste où elles sont installées localement, le navigateur les
   utilisera ; sinon il retombe sur le repli. Pour qu'elles s'affichent chez
   tous les visiteurs, achetez les licences web et déclarez des @font-face
   plus bas (url vers les fichiers .woff2).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. JETONS
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs — mood board */
  --bordeaux:        #70152C;
  --bordeaux-fonce:  #4E0E1E;
  --bordeaux-clair:  #8E2039;
  /* Bordeaux des grands aplats. Même teinte et même clarté que --bordeaux,
     mais un tiers de chroma en moins : un trait de 2px et une bande pleine
     largeur ne se comportent pas pareil à l'œil. Le bordeaux plein reste
     réservé aux petites surfaces (boutons, filets, puces, script). */
  --bordeaux-aplat:  #622832;
  --espresso:        #351F17;
  --noir:            #14100C;
  --creme:           #F5F0E8;
  --ivoire:          #FCFAF6;
  --blanc:           #FFFFFF;

  /* Encres — opacités calibrées pour rester au-dessus du seuil WCAG AA */
  --encre:           #351F17;
  --encre-douce:     rgba(53, 31, 23, 0.78);
  --encre-tenue:     rgba(53, 31, 23, 0.64);
  --filet:           rgba(53, 31, 23, 0.16);
  --filet-tenu:      rgba(53, 31, 23, 0.09);

  /* Encres sur fond sombre */
  --encre-claire:      rgba(245, 240, 232, 0.82);
  --encre-claire-tenue:rgba(245, 240, 232, 0.63);
  --filet-clair:       rgba(245, 240, 232, 0.20);
  --filet-clair-tenu:  rgba(245, 240, 232, 0.11);

  /* Typographie */
  --police-titre:  "Perandory", "Playfair Display", "Didot", "Times New Roman", serif;
  --police-script: "Symphony", "Great Vibes", cursive;
  --police-texte:  "Times New Roman", "Times", "Playfair Display", serif;

  --micro: 0.66rem;

  /* Rythme */
  --gouttiere: clamp(1.35rem, 5vw, 4.5rem);
  --large: 1180px;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --entete-h: 84px;

  --transition: 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete-h) + 24px);
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--police-texte);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* « hidden » ferait calculer overflow-y à « auto » : le corps deviendrait une
     boîte de défilement qui rogne les déliés du script. « clip » ne le fait pas. */
  overflow-x: hidden;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--bordeaux); color: var(--creme); }

:focus-visible {
  outline: 2px solid var(--bordeaux);
  outline-offset: 4px;
  border-radius: 1px;
}
.sur-fond-sombre :focus-visible { outline-color: var(--creme); }

/* Grain papier — très léger, donne de la matière à l'aplat crème */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.32'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHIE
   -------------------------------------------------------------------------- */
.titre-xl, .titre-l, .titre-m, .titre-s {
  font-family: var(--police-titre);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.titre-xl { font-size: clamp(3.1rem, 8.4vw, 7.6rem); line-height: 0.94; }
.titre-l  { font-size: clamp(2.2rem, 4.6vw, 3.9rem);  line-height: 1.06; }
.titre-m  { font-size: clamp(1.65rem, 2.9vw, 2.6rem); line-height: 1.16; }
.titre-s  { font-size: clamp(1.2rem, 1.7vw, 1.5rem);  line-height: 1.28; letter-spacing: 0; }

/* Le mot en script — écho direct du logo « SAILLANT Stratégie. » */
.script {
  font-family: var(--police-script);
  font-weight: 400;
  color: var(--bordeaux);
  /* Great Vibes est une écriture liée : le moindre interlettrage brise les
     liaisons entre les glyphes. On garde donc 0 et on laisse le crénage faire. */
  letter-spacing: 0;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures contextual;
  font-size: 1.32em;
  line-height: 0.8;
  display: inline-block;
  vertical-align: baseline;
}
.sur-fond-sombre .script { color: var(--creme); }

/* Étiquette : petites capitales très espacées, précédées d'un filet */
.etiquette {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: var(--micro);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin: 0 0 1.6rem;
}
.etiquette::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.etiquette--centre { justify-content: center; }
.sur-fond-sombre .etiquette { color: var(--creme); opacity: 0.85; }

.plomb {
  font-size: clamp(1.04rem, 1.3vw, 1.2rem);
  line-height: 1.78;
  color: var(--encre-douce);
  max-width: 56ch;
}
.sur-fond-sombre .plomb { color: var(--encre-claire); }

.texte { color: var(--encre-douce); max-width: 62ch; }
.sur-fond-sombre .texte { color: var(--encre-claire); }

.mesure-courte { max-width: 46ch; }

/* --------------------------------------------------------------------------
   4. STRUCTURE
   -------------------------------------------------------------------------- */
.conteneur {
  width: 100%;
  max-width: var(--large);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.section { padding-block: var(--section-y); position: relative; }
.section--serre { padding-block: clamp(3.5rem, 7vw, 6rem); }

.section--creme    { background: var(--creme); }
.section--ivoire   { background: var(--ivoire); }
.section--bordeaux { background: var(--bordeaux-aplat); color: var(--creme); }
.section--noir     { background: var(--noir); color: var(--creme); }
.section--espresso { background: var(--espresso); color: var(--creme); }

.duo {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}

.filet { height: 1px; background: var(--filet); border: 0; margin: 0; }
.sur-fond-sombre .filet { background: var(--filet-clair); }

/* --------------------------------------------------------------------------
   5. BARRE DE PROGRESSION + EN-TÊTE
   -------------------------------------------------------------------------- */
.progression {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--bordeaux);
  z-index: 120;
  transition: width 0.1s linear;
}

.entete {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--entete-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
.entete::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--filet);
  opacity: 0;
  transition: opacity var(--transition);
}
.entete.est-fixee {
  background: rgba(245, 240, 232, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  height: 64px;
}
.entete.est-fixee::after { opacity: 1; }

.entete-inner {
  width: 100%;
  max-width: var(--large);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.marque { display: block; flex: none; }
.marque img {
  height: 46px;
  width: auto;
  transition: height var(--transition);
}
.entete.est-fixee .marque img { height: 38px; }

.nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 2.6rem); }

.nav-lien {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--encre-douce);
  position: relative;
  padding-block: 6px;
  transition: color 0.3s ease;
}
.nav-lien::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--bordeaux);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}
.nav-lien:hover { color: var(--bordeaux); }
.nav-lien:hover::after,
.nav-lien[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-lien[aria-current="page"] { color: var(--bordeaux); }

.menu-btn {
  display: none;
  width: 40px; height: 40px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.menu-btn span {
  position: absolute;
  left: 8px;
  width: 24px; height: 1px;
  background: var(--espresso);
  transition: transform var(--transition), opacity 0.2s ease;
}
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(0) rotate(-45deg); }

/* Tiroir mobile */
.tiroir {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--creme);
  padding: calc(var(--entete-h) + 2.5rem) var(--gouttiere) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1), visibility 0.6s;
}
.tiroir.est-ouvert { transform: translateY(0); visibility: visible; }
.tiroir a.tiroir-lien {
  display: block;
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: clamp(2rem, 9vw, 2.9rem);
  line-height: 1.5;
  text-decoration: none;
  color: var(--espresso);
  border-bottom: 1px solid var(--filet-tenu);
}
.tiroir a.tiroir-lien[aria-current="page"] { color: var(--bordeaux); }
.tiroir-pied {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--encre-tenue);
}

/* --------------------------------------------------------------------------
   6. SOMMAIRE LATÉRAL (repère de lecture)
   -------------------------------------------------------------------------- */
/* Le repère est ancré sur le bord de la colonne de contenu, pas sur le bord de
   la fenêtre : il appartient à la grille au lieu de flotter dans la marge. Les
   libellés restent lisibles en tout temps et un filet continu les relie ; seul
   le segment actif passe au bordeaux. */
.sommaire {
  position: fixed;
  left: calc(50% + (var(--large) / 2));
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: none;
  flex-direction: column;
  width: max-content;
}
.sommaire a {
  display: block;
  padding: 0.62rem 0 0.62rem 1.05rem;
  border-left: 1px solid var(--filet);
  text-decoration: none;
  color: var(--encre-tenue);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.sommaire a:hover { color: var(--encre); border-left-color: var(--encre-tenue); }
.sommaire a.est-active { color: var(--bordeaux); border-left-color: var(--bordeaux); }

/* Le repère est fixé au centre de l'écran : quand une section sombre défile
   derrière lui, son encre s'y noierait. « sommaire--clair » est posée par le
   script dès qu'un bloc .sur-fond-sombre occupe ce centre. */
.sommaire--clair a { color: var(--encre-claire-tenue); border-left-color: var(--filet-clair); }
.sommaire--clair a:hover { color: var(--creme); border-left-color: var(--encre-claire); }
.sommaire--clair a.est-active { color: var(--creme); border-left-color: var(--creme); }

/* 1460px : en deçà, le plus long repère (« Engagements ») viendrait coller au
   bord de la fenêtre une fois aligné sur la colonne de contenu. */
@media (min-width: 1460px) { .sommaire { display: flex; } }

/* --------------------------------------------------------------------------
   7. BOUTONS
   -------------------------------------------------------------------------- */
.boutons { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.bouton {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.05rem 2.1rem;
  font-family: var(--police-texte);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.bouton span { position: relative; z-index: 1; }
.bouton::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
}
.bouton:hover::before { transform: scaleY(1); }

.bouton--plein {
  background: var(--bordeaux);
  color: var(--creme);
  border-color: var(--bordeaux);
}
.bouton--plein::before { background: var(--espresso); }
.bouton--plein:hover { border-color: var(--espresso); }

.bouton--ligne {
  background: transparent;
  color: var(--espresso);
  border-color: var(--filet);
}
.bouton--ligne::before { background: var(--espresso); }
.bouton--ligne:hover { color: var(--creme); border-color: var(--espresso); }

.bouton--clair {
  background: var(--creme);
  color: var(--bordeaux);
  border-color: var(--creme);
}
.bouton--clair::before { background: var(--blanc); }

.bouton--fantome {
  background: transparent;
  color: var(--creme);
  border-color: var(--filet-clair);
}
.bouton--fantome::before { background: var(--creme); }
.bouton--fantome:hover { color: var(--bordeaux); border-color: var(--creme); }

.bouton--bloc { width: 100%; justify-content: center; }

/* Lien fléché discret */
.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bordeaux);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--filet);
  transition: border-color var(--transition), gap var(--transition);
}
.lien-fleche:hover { border-color: var(--bordeaux); gap: 1rem; }
.sur-fond-sombre .lien-fleche { color: var(--creme); border-color: var(--filet-clair); }
.sur-fond-sombre .lien-fleche:hover { border-color: var(--creme); }

/* --------------------------------------------------------------------------
   8. HÉROS
   -------------------------------------------------------------------------- */
.heros {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--entete-h) + 4rem);
  padding-bottom: 0;
  position: relative;
}
.heros-corps { padding-bottom: clamp(3rem, 7vw, 5.5rem); }

.heros-titre { margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.heros-titre .ligne { display: block; }
/* Le script déborde largement de sa boîte : ses hampes montent à ~0.83em
   au-dessus de la ligne de base alors que la boîte n'en fait que 0.8. Sans
   cette marge, la boucle du « S » vient toucher la ligne du dessus. */
.heros-titre .ligne--script {
  margin-top: 0.30em;
  margin-left: clamp(0.5rem, 9vw, 6.5rem);
}

.heros-bas {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3rem;
  align-items: end;
}

/* Bandeau de faits — une règle en bas du héros */
.regle {
  border-top: 1px solid var(--filet);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.regle div {
  padding: 1.4rem 0 1.5rem;
  padding-right: 1.5rem;
  border-right: 1px solid var(--filet);
}
.regle div:last-child { border-right: 0; }
.regle dt {
  font-size: var(--micro);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--encre-tenue);
  margin-bottom: 0.5rem;
}
.regle dd {
  margin: 0;
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.35;
  color: var(--espresso);
}

/* Héros de l'accueil : le bloc de titre est centré verticalement */
.heros--centre { justify-content: center; }

/* Héros secondaire (pages intérieures) */
.heros--page {
  min-height: 62svh;
  justify-content: flex-end;
}
.heros--page .heros-corps { padding-bottom: clamp(2.5rem, 5vw, 4rem); }

/* --------------------------------------------------------------------------
   9. SERVICES
   -------------------------------------------------------------------------- */
.grille-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1px;
  background: var(--filet);
  border-block: 1px solid var(--filet);
}
/* La carte se pose une marche au-dessus de sa section : une surface sur
   laquelle on peut agir se soulève, une section qu'on lit reste au fond.
   L'écart est faible, mais il suffit à ce que la carte se lise comme un objet
   plutôt que comme un bloc de texte. */
.service {
  background: var(--ivoire);
  padding: clamp(2rem, 3.2vw, 2.8rem) clamp(1.6rem, 2.4vw, 2.2rem);
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 0 var(--bordeaux);
  transition: background var(--transition), box-shadow var(--transition);
}
.section--ivoire .service { background: var(--blanc); }
/* Au survol, un filet bordeaux en tête de carte : le même signal quelle que
   soit la section, là où une nuance de clarté n'aurait plus de marge. */
.service:hover { box-shadow: inset 0 3px 0 var(--bordeaux); }

.service-tete {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.service h3 {
  font-family: var(--police-titre);
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  line-height: 1.2;
  flex: 1;
}
.prix {
  font-family: var(--police-texte);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--bordeaux);
  white-space: nowrap;
  flex: none;
}
.prix small {
  display: block;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--encre-tenue);
  text-align: right;
}

.service p { color: var(--encre-douce); font-size: 0.95rem; line-height: 1.75; }

.liste-points { margin-top: 1.5rem; display: grid; gap: 0.7rem; }
.liste-points li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--encre-douce);
}
.liste-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 5px; height: 5px;
  background: var(--bordeaux);
  transform: rotate(45deg);
}
.sur-fond-sombre .liste-points li { color: var(--encre-claire); }
.sur-fond-sombre .liste-points li::before { background: var(--creme); }

/* Quatre services : deux colonnes plutôt que trois plus un orphelin */
@media (min-width: 900px) {
  .grille-services--paires { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Liste où chaque ligne porte son propre tarif */
.liste-points--prix li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.2rem;
}
.liste-points--prix b {
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--bordeaux);
  white-space: nowrap;
}

/* Précision de tarification, sous la liste */
.note-prix {
  margin-top: 1.3rem;
  padding-left: 0.95rem;
  border-left: 1px solid var(--filet);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--encre-tenue);
}

.service-pied { margin-top: auto; padding-top: 1.8rem; }

/* --------------------------------------------------------------------------
   10. FORFAITS
   -------------------------------------------------------------------------- */
.grille-forfaits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.forfait {
  border: 1px solid var(--filet-clair);
  padding: clamp(2rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--transition), background var(--transition);
}
.forfait:hover { border-color: var(--filet-clair); background: rgba(245, 240, 232, 0.04); }
.forfait--vedette {
  background: rgba(245, 240, 232, 0.06);
  border-color: rgba(245, 240, 232, 0.34);
}
.forfait-ruban {
  position: absolute;
  top: 0; right: clamp(2rem, 3vw, 2.6rem);
  transform: translateY(-50%);
  background: var(--creme);
  color: var(--bordeaux);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.42rem 0.9rem;
}
.forfait h3 {
  font-family: var(--police-titre);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.forfait-accroche {
  font-family: var(--police-titre);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--encre-claire);
  margin-top: 0.55rem;
}
.forfait-prix {
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1;
  margin: 1.4rem 0 0.3rem;
}
.forfait-prix span {
  font-family: var(--police-texte);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--encre-claire-tenue);
}
.forfait-cible {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--encre-claire-tenue);
  margin-bottom: 1.7rem;
  padding-bottom: 1.7rem;
  border-bottom: 1px solid var(--filet-clair-tenu);
}
.forfait-note {
  margin-top: 1.4rem;
  padding-left: 0.95rem;
  border-left: 1px solid var(--filet-clair);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--encre-claire-tenue);
}
.forfait .liste-points { margin-top: 0; }
.forfait-pied { margin-top: auto; padding-top: 2rem; }

/* --------------------------------------------------------------------------
   11. MÉTHODE (séquence numérotée — l'ordre porte du sens)
   -------------------------------------------------------------------------- */
.methode { display: grid; gap: 0; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.etape {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 15rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: baseline;
  padding-block: clamp(1.8rem, 3vw, 2.4rem);
  border-top: 1px solid var(--filet);
}
.etape:last-child { border-bottom: 1px solid var(--filet); }
.etape-num {
  font-family: var(--police-titre);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1;
  color: var(--bordeaux);
}
.etape h3 { font-family: var(--police-titre); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.15; }
.etape p { color: var(--encre-douce); font-size: 0.95rem; }

.sur-fond-sombre .etape { border-top-color: var(--filet-clair); }
.sur-fond-sombre .etape:last-child { border-bottom-color: var(--filet-clair); }
.sur-fond-sombre .etape-num { color: var(--creme); }
.sur-fond-sombre .etape p { color: var(--encre-claire); }

/* --------------------------------------------------------------------------
   12. VALEURS / ENGAGEMENTS
   -------------------------------------------------------------------------- */
.grille-trois {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.valeur { border-top: 1px solid var(--filet); padding-top: 1.6rem; }
.sur-fond-sombre .valeur { border-color: var(--filet-clair); }
.valeur h3 {
  font-family: var(--police-titre);
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}
.valeur p { color: var(--encre-douce); font-size: 0.93rem; }
.sur-fond-sombre .valeur p { color: var(--encre-claire); }

/* Citation manifeste */
.citation {
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 2rem;
  text-wrap: balance;
}
.citation em { font-style: italic; color: var(--bordeaux); }
.sur-fond-sombre .citation em { color: var(--creme); opacity: 0.75; }

/* --------------------------------------------------------------------------
   13. APPEL À L'ACTION
   -------------------------------------------------------------------------- */
.aca { text-align: center; }
.aca .titre-l { margin: 0 auto 1.4rem; max-width: 20ch; }
.aca .plomb { margin: 0 auto 2.6rem; text-align: center; }
.aca .boutons { justify-content: center; }

/* --------------------------------------------------------------------------
   14. FORMULAIRE
   -------------------------------------------------------------------------- */
.grille-contact {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.coordonnee {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--filet);
  align-items: start;
}
.coordonnee:last-of-type { border-bottom: 1px solid var(--filet); }
.coordonnee-icone { color: var(--bordeaux); margin-top: 3px; }
.coordonnee dt {
  font-size: var(--micro);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--encre-tenue);
  margin-bottom: 0.25rem;
}
.coordonnee dd { margin: 0; font-size: 0.98rem; }
.coordonnee dd a { text-decoration: none; border-bottom: 1px solid var(--filet); transition: border-color var(--transition); }
.coordonnee dd a:hover { border-color: var(--bordeaux); color: var(--bordeaux); }

.formulaire { background: var(--ivoire); padding: clamp(1.8rem, 4vw, 3rem); border: 1px solid var(--filet-tenu); }
.champs { display: grid; gap: 1.5rem; }
.champs-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.champ label {
  display: block;
  font-size: var(--micro);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--encre-tenue);
  margin-bottom: 0.6rem;
}
.facultatif {
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  font-style: italic;
}
.facultatif::before { content: "· "; font-style: normal; }
.champ input,
.champ select,
.champ textarea {
  width: 100%;
  font-family: var(--police-texte);
  font-size: 0.98rem;
  font-weight: 300;
  color: var(--encre);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--filet);
  border-radius: 0;
  padding: 0.6rem 0;
  transition: border-color var(--transition);
}
.champ select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.champ--select { position: relative; }
.champ--select::after {
  content: "";
  position: absolute;
  right: 4px; bottom: 16px;
  width: 7px; height: 7px;
  border-right: 1px solid var(--encre-tenue);
  border-bottom: 1px solid var(--encre-tenue);
  transform: rotate(45deg);
  pointer-events: none;
}
.champ textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.champ input:focus,
.champ select:focus,
.champ textarea:focus { outline: 0; border-bottom-color: var(--bordeaux); }
.champ input::placeholder,
.champ textarea::placeholder { color: rgba(53, 31, 23, 0.42); }

/* Piège à robots : hors de l'écran, jamais visible, jamais lu à voix haute */
.pot-de-miel {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.message-formulaire {
  font-size: 0.88rem;
  line-height: 1.6;
  padding: 0.95rem 1.1rem;
  border-left: 2px solid;
}
.message-formulaire[data-etat="erreur"]  { color: var(--bordeaux); border-color: var(--bordeaux); background: rgba(112, 21, 44, 0.05); }
.message-formulaire[data-etat="succes"]  { color: #2F6B41; border-color: #2F6B41; background: rgba(47, 107, 65, 0.06); }
.message-formulaire[hidden] { display: none; }

/* --------------------------------------------------------------------------
   14 bis. GRILLE TARIFAIRE
   -------------------------------------------------------------------------- */
.visuellement-cache {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.tableau-defilant { overflow-x: auto; }

.tarifs {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.tarifs thead th {
  font-size: var(--micro);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--encre-tenue);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--filet);
}
.tarifs tbody th {
  font-family: var(--police-texte);
  font-weight: 300;
  font-size: 1rem;
  color: var(--encre);
  padding: 1.05rem 1.5rem 1.05rem 0;
  border-bottom: 1px solid var(--filet-tenu);
}
.tarifs tbody td {
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--bordeaux);
  white-space: nowrap;
  text-align: right;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--filet-tenu);
}
.tarifs thead th:last-child { text-align: right; }
.tarifs tbody tr:last-child th,
.tarifs tbody tr:last-child td { border-bottom: 1px solid var(--filet); }

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--filet); margin-top: clamp(2rem, 4vw, 3rem); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.3;
  transition: color var(--transition);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--bordeaux); }
.faq summary::after {
  content: "+";
  font-family: var(--police-texte);
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--bordeaux);
  flex: none;
  transition: transform var(--transition);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-reponse { padding-bottom: 1.8rem; color: var(--encre-douce); font-size: 0.96rem; max-width: 68ch; }

/* --------------------------------------------------------------------------
   16. PIED DE PAGE
   -------------------------------------------------------------------------- */
/* Le filet marque la couture quand le pied suit une bande sombre : sans lui,
   l'appel à l'action et le pied se lisent comme une seule masse. */
.pied {
  background: var(--espresso);
  color: var(--creme);
  border-top: 1px solid var(--filet-clair-tenu);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
}
.pied-haut {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--filet-clair-tenu);
}
.pied .marque img { height: 42px; margin-bottom: 1.4rem; }
.pied-devise {
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--encre-claire);
}
.pied h4 {
  font-size: var(--micro);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--encre-claire-tenue);
  margin-bottom: 1.3rem;
}
.pied-liste { display: grid; gap: 0.7rem; }
.pied-liste a {
  text-decoration: none;
  color: var(--encre-claire);
  font-size: 0.94rem;
  transition: color var(--transition);
}
.pied-liste a:hover { color: var(--creme); }
.pied-bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--encre-claire-tenue);
}

/* --------------------------------------------------------------------------
   17. RÉVÉLATION AU DÉFILEMENT
   -------------------------------------------------------------------------- */
/* L'état masqué n'existe que si JavaScript répond (classe « js » posée par un
   script en <head>). Sans JS, tout le contenu reste visible. */
.js .revele {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s),
              transform 0.95s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s);
}
.js .revele.est-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   18. ADAPTATIF
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .duo { grid-template-columns: 1fr; gap: 1.5rem; }
  .grille-contact { grid-template-columns: 1fr; }
  .pied-haut { grid-template-columns: 1fr 1fr; }
  .etape { grid-template-columns: 4rem minmax(0, 1fr); }
  .etape p { grid-column: 2; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .heros-bas { grid-template-columns: 1fr; align-items: start; }
  .heros-titre .ligne--script { margin-left: 0.6rem; }
}

/* Sur petit écran, le mot en script peut passer à la ligne : on lui laisse
   la hauteur nécessaire pour ne pas chevaucher la ligne du dessus. */
@media (max-width: 720px) {
  .heros-titre { line-height: 1.18; }
  .heros-titre .ligne--script { margin-top: 0; }
  .script { font-size: 1.18em; line-height: 0.95; }
}

@media (max-width: 620px) {
  .regle { grid-template-columns: 1fr; }
  .regle div { border-right: 0; border-bottom: 1px solid var(--filet); padding-block: 1.1rem; }
  .regle div:last-child { border-bottom: 0; }
  .champs-duo { grid-template-columns: 1fr; }
  .pied-haut { grid-template-columns: 1fr; }
  .etape { grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; }
}

@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;
  }
  .revele, .js .revele { opacity: 1; transform: none; }
}

@media print {
  .entete, .sommaire, .progression, .grain, .tiroir { display: none !important; }
  body { background: #fff; }
}
