/* ============================================================
   ProPompier — Feuille de style principale
   Palette dérivée du logo : rouge vif, noir/anthracite, blanc,
   accents argent. Mobile d'abord.
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --noir: #0b0b0d;            /* fond principal */
  --anthracite: #131316;      /* fond de section alternée */
  --carte: #18181d;           /* fond des cartes */
  --bordure: #26262d;         /* lisérés discrets */
  --rouge: #d8222a;           /* rouge du logo */
  --rouge-fonce: #a8161d;     /* survol */
  --argent: #b9bec7;          /* accents argent */
  --blanc: #f5f5f3;
  --texte: #d6d6d3;           /* texte courant */
  --texte-doux: #9b9ba0;      /* texte secondaire */

  --police-titres: "Big Shoulders Display", sans-serif;
  --police-texte: "Barlow", sans-serif;

  --largeur-max: 1200px;
  --rayon: 14px;
  --rayon-bouton: 999px;
}

/* ---------- Réglages de base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--noir);
  color: var(--texte);
  font-family: var(--police-texte);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Grain léger par-dessus tout le site (texture de fond, ambiance caserne) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--police-titres);
  text-transform: uppercase;
  color: var(--blanc);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 5.5vw, 3.2rem); font-weight: 700; }
h3 { font-size: clamp(1.35rem, 3.5vw, 1.7rem); font-weight: 700; letter-spacing: 0.03em; }

p { margin: 0 0 1em; }

.conteneur {
  width: 100%;
  max-width: var(--largeur-max);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Sur-titre rouge au-dessus des titres de section */
.surtitre {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rouge);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Bande diagonale rouge/argent — clin d'œil aux bandes des habits de combat */
.bande-diagonale {
  height: 7px;
  background: repeating-linear-gradient(
    135deg,
    var(--rouge) 0 26px,
    #0e0e10 26px 34px,
    var(--argent) 34px 60px,
    #0e0e10 60px 68px
  );
  opacity: 0.85;
}

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rouge);
  color: var(--blanc);
  font-family: var(--police-texte);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: var(--rayon-bouton);
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.bouton::after {
  content: "→";
  font-weight: 600;
  transition: transform 0.25s ease;
}
.bouton:hover {
  background: var(--rouge-fonce);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(216, 34, 42, 0.28);
}
.bouton:hover::after { transform: translateX(4px); }

/* Variante contour argent (actions secondaires) */
.bouton--contour {
  background: transparent;
  border: 1.5px solid var(--argent);
  color: var(--blanc);
}
.bouton--contour:hover {
  background: rgba(185, 190, 199, 0.12);
  box-shadow: none;
}

/* ---------- En-tête ---------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 13, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bordure);
}
.entete__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.entete__logo img { height: 52px; width: auto; }

/* Navigation */
.nav { display: none; }
.nav__liste {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.nav__lien {
  display: block;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--texte);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__lien:hover { color: var(--blanc); background: rgba(216, 34, 42, 0.12); }
.nav__lien[aria-current="page"] {
  color: var(--blanc);
  box-shadow: inset 0 -3px 0 var(--rouge);
}

/* Menu mobile ouvert : panneau sous la barre */
.nav.est-ouvert {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(11, 11, 13, 0.97);
  border-bottom: 1px solid var(--bordure);
  padding: 12px 20px 20px;
}

/* Bouton hamburger */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--bordure);
  border-radius: 10px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--blanc);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 920px) {
  .hamburger { display: none; }
  .nav { display: block; }
  .nav__liste { flex-direction: row; gap: 2px; }
  .nav__lien { padding: 10px 14px; font-size: 0.9rem; }
}

/* ---------- Héro de l'accueil ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--noir);
}
.hero__fond {
  position: absolute;
  inset: 0;
}
.hero__fond img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center; /* garde le pompier visible à droite */
  filter: contrast(1.06) saturate(1.1);
}
/* Voile sombre pour la lisibilité du texte */
.hero__fond::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(11, 11, 13, 0.96) 0%,
    rgba(11, 11, 13, 0.82) 45%,
    rgba(11, 11, 13, 0.35) 100%
  );
}
.hero__contenu {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 14vh, 150px) 0 clamp(90px, 15vh, 160px);
  max-width: 640px;
}
.hero__contenu h1 .accent { color: var(--rouge); }

/* Titre du héros : le nom de la compagnie « ProPompier » domine,
   l'accroche devient un sous-titre plus discret en dessous. */
.hero__titre { margin-bottom: 0.5em; }
.hero__marque {
  display: block;
  color: var(--blanc);
  font-size: clamp(3.2rem, 10vw, 6rem);
  line-height: 0.9;
  letter-spacing: 0.005em;
}
.hero__marque-rouge { color: var(--rouge); }
.hero__accroche {
  display: block;
  margin-top: 0.28em;
  color: var(--blanc);
  font-size: clamp(1.35rem, 3.6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hero__texte {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--texte);
  max-width: 56ch;
}
.hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Apparition orchestrée au chargement du héro */
.hero .apparition {
  opacity: 0;
  transform: translateY(26px);
  animation: lever 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero .apparition:nth-child(2) { animation-delay: 0.12s; }
.hero .apparition:nth-child(3) { animation-delay: 0.24s; }
.hero .apparition:nth-child(4) { animation-delay: 0.36s; }
@keyframes lever {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--anthracite { background: var(--anthracite); }
/* Deux sections de même fond qui s'enchaînent : on supprime le doublon
   d'espace vertical (évite le « trou » entre deux blocs de contenu). */
.section--enchaine { padding-top: 0; }
.section__entete { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- Grille des cartes-services (accueil) ---------- */
.grille-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 720px) {
  /* 2 en haut, 2 en bas, comme demandé dans le document */
  .grille-services { grid-template-columns: 1fr 1fr; gap: 26px; }
}

.carte-service {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 380px;
  border-radius: var(--rayon);
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--bordure);
  isolation: isolate;
}
@media (min-width: 720px) {
  .carte-service { min-height: 440px; }
}
.carte-service__image {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.carte-service__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Image assombrie, plus dense vers le bas où vit le texte */
.carte-service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(11, 11, 13, 0.30) 0%,
    rgba(11, 11, 13, 0.55) 55%,
    rgba(11, 11, 13, 0.93) 100%
  );
  transition: background 0.4s ease;
}
.carte-service:hover .carte-service__image img { transform: scale(1.06); }

.carte-service__contenu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 24px 28px;
}
.carte-service__public {
  color: var(--argent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.carte-service__titre {
  font-family: var(--police-titres);
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blanc);
  line-height: 1.02;
  margin: 8px 0 10px;
}
.carte-service__description {
  color: var(--texte);
  font-size: 0.98rem;
  max-width: 46ch;
  margin-bottom: 18px;
}
/* Faux bouton (toute la carte est cliquable) */
.carte-service__bouton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rouge);
  color: var(--blanc);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 11px 24px;
  border-radius: var(--rayon-bouton);
  transition: background 0.25s ease, gap 0.25s ease;
}
.carte-service__bouton::after { content: "→"; }
.carte-service:hover .carte-service__bouton { background: var(--rouge-fonce); gap: 16px; }

/* ---------- Responsables (accueil) ---------- */
.grille-responsables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 920px) {
  .grille-responsables { grid-template-columns: repeat(3, 1fr); }
}
.responsable {
  background: var(--carte);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.responsable__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--anthracite);
}
.responsable__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
/* Avatar avec initiales quand aucune photo n'est fournie */
.responsable__avatar {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(216, 34, 42, 0.28), transparent 60%),
    var(--anthracite);
}
.responsable__initiales {
  font-family: var(--police-titres);
  font-size: 4.4rem;
  font-weight: 800;
  color: var(--blanc);
  background: var(--rouge);
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 4px solid var(--argent);
  letter-spacing: 0.02em;
}
.responsable__contenu { padding: 24px 24px 28px; }
.responsable__role {
  color: var(--rouge);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.responsable__nom { margin-bottom: 10px; }
.responsable__bio { color: var(--texte-doux); font-size: 0.97rem; margin: 0; }

/* Vignette du certificat (record du monde d'Alexis) */
.responsable__certificat {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(216, 34, 42, 0.07);
  border: 1px solid var(--bordure);
  border-radius: 10px;
  padding: 10px 14px 10px 10px;
}
.responsable__certificat img {
  width: 64px;
  border-radius: 6px;
  flex-shrink: 0;
}
.responsable__certificat figcaption {
  font-size: 0.85rem;
  color: var(--texte-doux);
  line-height: 1.45;
}

/* ---------- Appel à l'action final ---------- */
.cta-final {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final .conteneur { position: relative; z-index: 2; max-width: 780px; }
.cta-final::before {
  /* lueur rouge douce derrière le titre */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 110%, rgba(216, 34, 42, 0.22), transparent 70%);
}
.cta-final .bouton { margin-top: 12px; }

/* ---------- Bandeau de page (pages services) ---------- */
.bandeau-page {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
}
.bandeau-page__fond {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.bandeau-page__fond img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.12);
}
/* Bandeau collaboratif : photo en plongée — on resserre pour sortir le plancher clair des bords */
.bandeau-page__fond--collab img { object-position: 50% 45%; transform: scale(1.22); }
/* Bandeaux portrait (pompier centré, ex. psychométrique/physique) : on remonte le cadrage
   pour montrer le casque/visage au lieu de couper au niveau du cou. */
.bandeau-page__fond--portrait img { object-position: 50% 22%; }
.bandeau-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    rgba(11, 11, 13, 0.90) 0%,
    rgba(11, 11, 13, 0.76) 50%,
    rgba(11, 11, 13, 0.18) 100%
  );
}
.bandeau-page__contenu {
  padding: clamp(28px, 4vh, 44px) 0;
  max-width: 720px;
}
.bandeau-page__intro {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--texte);
}
/* Hauteur uniforme des bandeaux d'une page à l'autre sur desktop ;
   le contenu (court ou long) est centré verticalement dans la même hauteur. */
@media (min-width: 820px) {
  .bandeau-page { min-height: 560px; }
  .bandeau-page__contenu { padding: 44px 0; }
}
/* Sur mobile : tous les bandeaux à la MÊME hauteur, la plus compacte possible
   (calée sur la page la plus longue), contenu centré. Voile un peu plus foncé
   à droite pour la lisibilité (le texte y est pleine largeur). */
@media (max-width: 819px) {
  .bandeau-page { min-height: 510px; }
  .bandeau-page::before {
    background: linear-gradient(
      105deg,
      rgba(11, 11, 13, 0.92) 0%,
      rgba(11, 11, 13, 0.82) 55%,
      rgba(11, 11, 13, 0.42) 100%
    );
  }
}

/* ---------- Bloc citation (Michel Pelletier) ---------- */
.bloc-citation {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 820px) {
  .bloc-citation { grid-template-columns: 340px 1fr; gap: 56px; }
}
.bloc-citation__photo {
  border-radius: var(--rayon);
  overflow: hidden;
  border: 1px solid var(--bordure);
  max-width: 340px;
}
.bloc-citation blockquote {
  margin: 0;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  line-height: 1.55;
  color: var(--blanc);
  font-weight: 500;
  position: relative;
  padding-left: 22px;
  border-left: 4px solid var(--rouge);
}
.bloc-citation figcaption {
  margin-top: 18px;
  padding-left: 26px;
}
.bloc-citation .nom {
  font-family: var(--police-titres);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blanc);
}
.bloc-citation .mention { color: var(--texte-doux); font-size: 0.95rem; }

/* ---------- Piliers (3 colonnes) ---------- */
.grille-piliers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: pilier;
}
@media (min-width: 820px) {
  .grille-piliers { grid-template-columns: repeat(3, 1fr); }
}
.pilier {
  background: var(--carte);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
}
/* Grand numéro décoratif en arrière-plan */
.pilier::before {
  counter-increment: pilier;
  content: "0" counter(pilier);
  position: absolute;
  top: -18px;
  right: 6px;
  font-family: var(--police-titres);
  font-size: 6rem;
  font-weight: 800;
  color: rgba(216, 34, 42, 0.13);
  line-height: 1;
}
.pilier h3 { position: relative; }
.pilier p { color: var(--texte-doux); font-size: 0.98rem; margin: 0; position: relative; }

/* ---------- Procédure de rendez-vous ---------- */
.procedure {
  background: var(--carte);
  border: 1px solid var(--bordure);
  border-left: 5px solid var(--rouge);
  border-radius: var(--rayon);
  padding: clamp(26px, 4vw, 40px);
  scroll-margin-top: 90px; /* l'ancre #demande s'arrête sous l'en-tête fixe */
}
.procedure__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}
.contact-puce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--anthracite);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon-bouton);
  padding: 11px 22px;
  text-decoration: none;
  color: var(--blanc);
  font-weight: 600;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.contact-puce:hover { border-color: var(--rouge); background: rgba(216, 34, 42, 0.1); }
.contact-puce .pictogramme { color: var(--rouge); font-size: 1.1rem; }

/* ---------- Cartes d'offres / tarifs ---------- */
.grille-offres {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
}
@media (min-width: 920px) {
  .grille-offres { grid-template-columns: repeat(3, 1fr); }
  .grille-offres--2 { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin-inline: auto; }
}
.offre {
  background: var(--carte);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.offre:hover { transform: translateY(-4px); border-color: rgba(216, 34, 42, 0.55); }
/* Liséré argent en haut de chaque carte */
.offre::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--argent), rgba(185, 190, 199, 0.15));
}
.offre--vedette::before { background: linear-gradient(90deg, var(--rouge), rgba(216, 34, 42, 0.25)); }
.offre__etiquette {
  color: var(--rouge);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.offre__titre { margin-bottom: 4px; }
.offre__prix {
  font-family: var(--police-titres);
  font-size: clamp(2.4rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--blanc);
  margin: 12px 0 2px;
}
.offre__prix small {
  font-family: var(--police-texte);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--texte-doux);
  text-transform: none;
  letter-spacing: 0;
}
.offre__precision { color: var(--texte-doux); font-size: 0.9rem; margin-bottom: 8px; }
.offre__liste {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--texte);
  font-size: 0.97rem;
}
.offre__liste li {
  padding-left: 26px;
  position: relative;
}
/* Coche rouge devant chaque inclusion */
.offre__liste li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rouge);
  font-weight: 700;
}
.offre__note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--texte-doux);
  font-style: italic;
}
/* margin-top:auto pousse le bouton au bas de la carte : tous les boutons
   d'une même rangée s'alignent (cartes de hauteur égale), pas en diagonale.
   On garde un écart minimal via padding-top du bouton pour la carte la plus haute. */
.offre .bouton { margin-top: auto; align-self: flex-start; }
/* Réserve toujours un peu d'air au-dessus du bouton, même sans espace libre */
.offre__liste,
.offre__note { margin-bottom: 8px; }

/* ---------- Listes d'inclusions hors offres ---------- */
.liste-coches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
@media (min-width: 820px) {
  .liste-coches--2col { grid-template-columns: 1fr 1fr; column-gap: 36px; }
}
.liste-coches li {
  padding-left: 30px;
  position: relative;
}
.liste-coches li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rouge);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ---------- Bloc formateur (pages services) ---------- */
.bloc-formateur {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 820px) {
  .bloc-formateur { grid-template-columns: 320px 1fr; gap: 56px; }
}
.bloc-formateur__photo {
  border-radius: var(--rayon);
  overflow: hidden;
  border: 1px solid var(--bordure);
  max-width: 320px;
}
.bloc-formateur__texte p { color: var(--texte); }

/* ---------- Sous-sections « Pourquoi » (psychométrique) ---------- */
.grille-pourquoi {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 820px) {
  .grille-pourquoi { grid-template-columns: 1fr 1fr; }
}
.pourquoi {
  background: var(--carte);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 26px;
}
.pourquoi h3 { color: var(--blanc); }
.pourquoi p { color: var(--texte-doux); margin: 0; font-size: 0.98rem; }

/* ---------- Plans d'entraînement ---------- */
.grille-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 820px) {
  .grille-plans { grid-template-columns: 1fr 1fr; }
}
.plan {
  background: var(--carte);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 24px 26px;
}
.plan h3 { font-size: 1.25rem; margin-bottom: 6px; }
.plan p { color: var(--texte-doux); margin: 0; font-size: 0.96rem; }
.plan--final {
  border-color: rgba(216, 34, 42, 0.6);
  background: linear-gradient(160deg, rgba(216, 34, 42, 0.1), var(--carte) 55%);
}
@media (min-width: 820px) {
  .plan--final { grid-column: 1 / -1; }
}

/* ---------- Pied de page ---------- */
.pied {
  background: #08080a;
  border-top: 1px solid var(--bordure);
  padding: 60px 0 30px;
}
/* Liséré rouge/argent en haut du pied, rappel des bandes des habits */
.pied::before {
  content: "";
  display: block;
  height: 4px;
  margin: -60px 0 48px;
  background: repeating-linear-gradient(
    135deg,
    var(--rouge) 0 22px,
    #0e0e10 22px 28px,
    var(--argent) 28px 50px,
    #0e0e10 50px 56px
  );
  opacity: 0.8;
}
/* Grille des colonnes du pied */
.pied__grille {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 720px) {
  .pied__grille { grid-template-columns: 1.4fr 1fr; gap: 44px; }
}
@media (min-width: 980px) {
  .pied__grille { grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; }
}
.pied__logo img { height: 72px; width: auto; margin-bottom: 18px; }
.pied__desc {
  color: var(--texte-doux);
  font-size: 0.95rem;
  max-width: 42ch;
  margin: 0 0 20px;
}
/* Titres de colonne */
.pied__titre {
  font-family: var(--police-titres);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blanc);
  margin: 0 0 16px;
}
.pied__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.pied__nav a {
  text-decoration: none;
  color: var(--texte-doux);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.pied__nav a:hover { color: var(--blanc); padding-left: 5px; }
/* Bloc contacts */
.pied__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.pied__contact {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--texte);
}
.pied__contact .pictogramme {
  color: var(--rouge);
  flex-shrink: 0;
  width: 18px;
  text-align: center;
  margin-top: 1px;
}
.pied__contact .etiquette {
  display: block;
  color: var(--texte-doux);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1px;
}
.pied__contact a {
  color: var(--texte);
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-word;
}
.pied__contact a:hover { color: var(--rouge); }
.pied__contact .a-venir { color: var(--texte-doux); font-style: italic; }
/* Réseaux sociaux */
.pied__social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.pied__social a {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--bordure);
  border-radius: 50%;
  color: var(--blanc);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.pied__social a:hover {
  background: var(--rouge);
  border-color: var(--rouge);
  transform: translateY(-3px);
}
.pied__social svg { width: 19px; height: 19px; fill: currentColor; }
/* Barre du bas */
.pied__bas {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--bordure);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--texte-doux);
  font-size: 0.86rem;
}
@media (min-width: 720px) {
  .pied__bas { flex-direction: row; justify-content: space-between; align-items: center; }
}
.pied__bas p { margin: 0; }

/* ---------- Apparition au défilement ---------- */
.reveler {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveler.est-visible { opacity: 1; transform: translateY(0); }
/* Décalage en cascade pour les grilles */
.reveler:nth-child(2) { transition-delay: 0.08s; }
.reveler:nth-child(3) { transition-delay: 0.16s; }
.reveler:nth-child(4) { transition-delay: 0.24s; }

/* Respecter la préférence « réduire les animations » */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveler, .hero .apparition {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
  .carte-service__image img { transition: none; }
}

/* ---------- Liens légaux (pied de page) ---------- */
.pied__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.pied__legal a {
  color: var(--texte-doux);
  text-decoration: none;
  transition: color 0.2s ease;
}
.pied__legal a:hover { color: var(--blanc); }

/* ---------- Pages légales (contenu) ---------- */
.legale { max-width: 760px; }
.legale h1 { margin-bottom: 0.25em; }
.legale__maj {
  color: var(--texte-doux);
  font-size: 0.9rem;
  margin-bottom: 36px;
}
.legale h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 44px 0 12px;
}
.legale h3 {
  font-size: 1.15rem;
  text-transform: none;
  letter-spacing: 0;
  margin: 26px 0 8px;
}
.legale p { color: var(--texte); }
.legale ul {
  margin: 0 0 18px;
  padding-left: 22px;
  display: grid;
  gap: 8px;
  color: var(--texte);
}
.legale a { color: var(--rouge); }
/* Surligne les éléments à compléter par le client */
.legale mark {
  background: rgba(216, 34, 42, 0.16);
  color: var(--blanc);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ---------- Formulaire de prise de rendez-vous ---------- */
.form-rdv { margin-top: 22px; }
.form-rdv__grille {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 620px) {
  .form-rdv__grille { grid-template-columns: 1fr 1fr; }
}
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ--plein { margin-top: 16px; }
.champ__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-doux);
}
.champ input,
.champ select,
.champ textarea {
  width: 100%;
  background: var(--anthracite);
  border: 1px solid var(--bordure);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--blanc);
  font-family: var(--police-texte);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.champ textarea { resize: vertical; min-height: 110px; }
.champ input::placeholder,
.champ textarea::placeholder { color: #6b6b70; }
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--rouge);
  box-shadow: 0 0 0 3px rgba(216, 34, 42, 0.18);
}
.champ select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-color: var(--anthracite);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239b9ba0' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.form-rdv .bouton { margin-top: 22px; border: none; }
/* Champ piège anti-spam (masqué) */
.form-rdv__hp {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
}
.form-rdv__statut {
  margin: 16px 0 0;
  font-weight: 600;
  font-size: 0.95rem;
}
.form-rdv__statut.is-ok { color: #46c46a; }
.form-rdv__statut.is-err { color: var(--rouge); }
.form-rdv__note {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--texte-doux);
}
.form-rdv__note a { color: var(--rouge); text-decoration: none; }
.form-rdv__note a:hover { text-decoration: underline; }

/* ---------- Certificat cliquable + visionneuse (lightbox) ---------- */
.responsable__certificat .lightbox-lien {
  display: block;
  flex-shrink: 0;
  cursor: zoom-in;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.responsable__certificat .lightbox-lien:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0 2px var(--rouge);
}
.responsable__certificat-agrandir {
  color: var(--rouge);
  font-weight: 600;
  white-space: nowrap;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(8, 8, 10, 0.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lightbox.est-ouvert { display: flex; }
.lightbox__image {
  max-width: min(92vw, 720px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
}
.lightbox__fermer {
  position: absolute;
  top: clamp(12px, 3vw, 24px);
  right: clamp(12px, 3vw, 28px);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--blanc);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox__fermer:hover { background: var(--rouge); }

/* ---------- Formulaire d'inscription (page dédiée) ---------- */
.form-inscription { max-width: 780px; margin-inline: auto; }
.form-bloc {
  background: var(--carte);
  border: 1px solid var(--bordure);
  border-left: 4px solid var(--rouge);
  border-radius: var(--rayon);
  padding: clamp(22px, 3.5vw, 34px);
  margin-bottom: 20px;
}
.form-bloc__num {
  display: block;
  color: var(--rouge);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.form-bloc > h2 {
  font-size: clamp(1.35rem, 3.4vw, 1.8rem);
  margin-bottom: 14px;
}
.form-bloc__intro { color: var(--texte-doux); margin-bottom: 18px; }
.form-bloc__sous {
  margin: 22px 0 12px;
  font-weight: 700;
  color: var(--blanc);
  letter-spacing: 0.02em;
}
/* Groupes de choix (radios / cases stylées) */
.choix-groupe { display: grid; gap: 12px; }
.choix {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 16px;
  border: 1px solid var(--bordure);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.choix:hover { border-color: var(--argent); }
.choix input { margin: 2px 0 0; accent-color: var(--rouge); width: 18px; height: 18px; flex-shrink: 0; cursor: pointer; }
.choix:has(input:checked) { border-color: var(--rouge); background: rgba(216, 34, 42, 0.07); }
.choix__txt strong { color: var(--blanc); }
.choix__txt small { display: block; color: var(--texte-doux); margin-top: 2px; }
/* Choix « plan final » mis en évidence (rouge), tel que demandé */
.choix--final { border-color: rgba(216, 34, 42, 0.55); background: rgba(216, 34, 42, 0.06); }
.choix--final .choix__txt strong { color: var(--rouge); }
/* Mention « pas besoin de répondre pour le plan final » plus visible */
.hint-final { font-weight: 600; color: var(--rouge); }
/* Tableau de prix (référence) */
.form-tableau { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.form-tableau caption {
  text-align: left;
  color: var(--rouge);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  padding: 16px 0 8px;
}
.form-tableau th,
.form-tableau td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--bordure); }
.form-tableau th { color: var(--texte-doux); font-weight: 600; text-transform: uppercase; font-size: 0.74rem; letter-spacing: 0.05em; }
.form-tableau td:first-child { color: var(--blanc); }
.form-tableau td:last-child { color: var(--rouge); white-space: nowrap; }
/* Cellule de prix : ancien prix barré (gris) + nouveau prix (rouge) */
.prix-cell { white-space: normal; }
.prix-cell strong { color: var(--rouge); font-weight: 700; }
.prix-cell small { color: var(--texte-doux); font-weight: 400; }
.prix-avant { text-decoration: line-through; color: var(--texte-doux); margin-right: 6px; }
/* Bloc d'info (clause, Hexfit, Interac) */
.form-info { color: var(--texte-doux); font-size: 0.95rem; }
.form-info p { margin-bottom: 12px; }
.form-info strong { color: var(--blanc); }
.form-interac {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--anthracite);
  border: 1px solid var(--bordure);
  border-radius: 10px;
  color: var(--texte);
}
.form-interac strong { color: var(--blanc); }
/* Boutons de téléchargement de l'application Hexfit */
.hexfit-dl {
  margin-top: 16px;
  padding: 16px;
  background: var(--anthracite);
  border: 1px solid var(--bordure);
  border-radius: 10px;
}
.hexfit-dl__label { margin: 0 0 12px; font-weight: 600; color: var(--blanc); }
.hexfit-dl__boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.hexfit-dl__boutons a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1.5px solid var(--argent);
  border-radius: var(--rayon-bouton);
  color: var(--blanc);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.hexfit-dl__boutons a:hover { background: rgba(185, 190, 199, 0.12); border-color: var(--blanc); }
.hexfit-dl__boutons svg { flex-shrink: 0; }
/* Le conteneur de tableau défile au pire des cas : la page ne déborde jamais */
.form-tableau-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* Tableaux de prix : compacts sur mobile pour ne pas déborder en largeur */
@media (max-width: 560px) {
  .form-tableau { font-size: 0.8rem; min-width: 0; }
  .form-tableau th,
  .form-tableau td { padding: 8px 8px; }
  .form-tableau td:last-child { white-space: normal; }
  .form-bloc { padding: 20px 16px; }
}
