/* MAYA PRO DRIVE — site vitrine
   Layout : bandeau noir façon stand de piste, sections blanches, filet "vibreur" rouge/blanc comme séparateur de marque.
   Une seule ambiance assumée (charte noir / rouge / blanc), couleurs fixées explicitement. */
:root {
  --noir: #121214;
  --noir-2: #1d1d21;
  --rouge: #d7191f;
  --rouge-fonce: #a90f14;
  --blanc: #ffffff;
  --gris-clair: #f3f1f0;
  --gris-ligne: #e2dedc;
  --texte: #1a1a1d;
  --texte-doux: #5c585a;
  --texte-inverse: #f2f0ef;
  --texte-inverse-doux: #b9b4b3;

  --f-titre: "Saira Extra Condensed", "Arial Narrow", Impact, sans-serif;
  --f-texte: "Barlow", "Segoe UI", Roboto, Arial, sans-serif;
  --f-label: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;

  --largeur: 1180px;
  --gouttiere: clamp(16px, 4vw, 40px);
  --section: clamp(40px, 5vw, 68px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--texte);
  font: 400 1.0625rem/1.65 var(--f-texte);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--f-titre);
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); font-weight: 700; }
p { margin: 0; }

.conteneur { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: var(--gouttiere); }
.surtitre {
  font: 600 .85rem/1 var(--f-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rouge);
  display: inline-flex; align-items: center; gap: .6em;
}
.surtitre::before { content: ""; width: 26px; height: 3px; background: var(--rouge); }
.chapo { font-size: 1.15rem; color: var(--texte-doux); max-width: 62ch; }
.pile { display: grid; gap: 1.1rem; }
.pile-l { display: grid; gap: 1.6rem; }

/* Vibreur : bordure de piste rouge / blanche */
.vibreur {
  height: 12px;
  background: repeating-linear-gradient(90deg, var(--rouge) 0 34px, var(--blanc) 34px 68px);
  border-block: 2px solid var(--noir);
}

/* Boutons */
.btn {
  --c: var(--rouge);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 700 1rem/1 var(--f-label);
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  padding: 1em 1.5em;
  background: var(--c); color: var(--blanc);
  border: 2px solid var(--c);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background .2s, color .2s, transform .2s;
  cursor: pointer;
}
.btn:hover { background: var(--rouge-fonce); border-color: var(--rouge-fonce); }
.btn-contour { background: transparent; color: var(--blanc); border-color: var(--blanc); }
.btn-contour:hover { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.btn-sombre { background: transparent; color: var(--noir); border-color: var(--noir); }
.btn-sombre:hover { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.btn .fleche { transition: transform .2s; }
.btn:hover .fleche { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* En-tête */
.entete {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--noir); color: var(--texte-inverse);
  border-bottom: 3px solid var(--rouge);
}
.entete-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.marque { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.marque img { width: 52px; height: 52px; }
.marque span { font: 800 1.45rem/1 var(--f-titre); letter-spacing: .02em; text-transform: uppercase; }
.marque b { color: var(--rouge); font-weight: 800; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav > a, .nav .deroulant > button {
  font: 600 .92rem/1 var(--f-label); letter-spacing: .06em; text-transform: uppercase;
  color: var(--texte-inverse); text-decoration: none; background: none; border: 0; cursor: pointer;
  padding: .8rem .55rem; display: inline-flex; white-space: nowrap; align-items: center; gap: .35em;
}
.nav > a:hover, .nav .deroulant > button:hover, .nav a[aria-current="page"] { color: var(--rouge); }
.nav .btn { margin-left: .4rem; padding: .85em 1em; font-size: .88rem; color: var(--blanc); }
.nav .btn:hover { color: var(--blanc); }
.deroulant { position: relative; }
.deroulant ul {
  list-style: none; margin: 0; padding: .5rem 0; position: absolute; top: 100%; left: 0; min-width: 270px;
  background: var(--noir-2); border-top: 3px solid var(--rouge);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  display: none;
}
.deroulant.ouvert ul, .deroulant:hover ul, .deroulant:focus-within ul { display: block; }
.deroulant li a { display: block; padding: .7rem 1.1rem; text-decoration: none; color: var(--texte-inverse); font-size: .98rem; }
.deroulant li a small { display: block; color: var(--texte-inverse-doux); font-size: .82rem; }
.deroulant li a:hover { background: var(--noir); color: var(--blanc); }
.burger { display: none; background: none; border: 2px solid var(--texte-inverse-doux); color: var(--blanc); width: 46px; height: 42px; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: currentColor; margin: auto; position: relative; content: ""; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }

@media (max-width: 1240px) {
  .burger { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--noir); border-bottom: 3px solid var(--rouge);
    padding: .5rem var(--gouttiere) 1.2rem; max-height: calc(100vh - 80px); overflow: auto;
  }
  .nav.ouverte { display: flex; }
  .nav > a, .nav .deroulant > button { padding: .95rem 0; border-bottom: 1px solid var(--noir-2); width: 100%; justify-content: space-between; }
  .deroulant ul { position: static; display: block; box-shadow: none; border: 0; background: transparent; padding: 0 0 .5rem .8rem; }
  .nav .btn { margin: 1rem 0 0; }
  .marque span { font-size: 1.2rem; }
}

/* Héros */
.heros { position: relative; background: var(--noir); color: var(--blanc); overflow: hidden; isolation: isolate; }
.heros-fond { position: absolute; inset: 0; z-index: -1; }
.heros-fond img { width: 100%; height: 100%; object-fit: cover; }
.heros-fond::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(18,18,20,.62) 0%, rgba(18,18,20,.38) 40%, rgba(18,18,20,0) 72%);
}
.heros-in { padding-block: clamp(70px, 11vw, 140px) clamp(60px, 9vw, 120px); display: grid; gap: 1.6rem; max-width: 820px; }
.heros h1, .heros .chapo, .heros .surtitre { text-shadow: 0 2px 16px rgba(0,0,0,.6), 0 1px 3px rgba(0,0,0,.5); }
.heros h1 em { font-style: normal; color: var(--rouge); }
.heros .chapo { color: var(--texte-inverse); font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.heros .surtitre { color: var(--blanc); }
.heros-court .heros-in { padding-block: clamp(56px, 8vw, 96px); }

/* Chiffres */
.chiffres { background: var(--noir); color: var(--texte-inverse); }
.chiffres-grille { display: grid; grid-template-columns: repeat(4, 1fr); }
.chiffre { padding: 2rem 1.4rem; border-left: 1px solid var(--noir-2); display: grid; gap: .35rem; align-content: start; }
.chiffre:first-child { border-left: 0; }
.chiffre strong { font: 800 clamp(2.8rem, 5vw, 3.8rem)/1 var(--f-titre); color: var(--blanc); font-variant-numeric: tabular-nums; }
.chiffre strong sup { color: var(--rouge); font-size: .55em; vertical-align: .55em; }
.chiffre span { color: var(--texte-inverse-doux); font-size: .97rem; line-height: 1.4; }
@media (max-width: 760px) {
  .chiffres-grille { grid-template-columns: 1fr 1fr; }
  .chiffre:nth-child(3) { border-left: 0; }
  .chiffre:nth-child(n+3) { border-top: 1px solid var(--noir-2); }
}

/* Sections */
.section { padding-block: var(--section); }
.section-grise { background: var(--gris-clair); }
.section-noire { background: var(--noir); color: var(--texte-inverse); }
.section-noire .chapo { color: var(--texte-inverse-doux); }
.section-noire h2, .section-noire h3 { color: var(--blanc); }
.entete-section { display: grid; gap: .8rem; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); max-width: 760px; }

/* Cartes services */
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.8rem); }
.carte { background: var(--blanc); display: flex; flex-direction: column; min-width: 0; border-bottom: 4px solid var(--rouge); }
.carte-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--noir); }
.carte-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.carte:hover .carte-img img { transform: scale(1.04); }
.carte-corps { padding: 1.5rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.carte-corps p { color: var(--texte-doux); }
.lien-fleche {
  margin-top: auto; padding-top: .4rem;
  font: 700 .95rem/1 var(--f-label); letter-spacing: .08em; text-transform: uppercase;
  color: var(--rouge); text-decoration: none; display: inline-flex; gap: .45em; align-items: center;
}
.lien-fleche:hover { color: var(--rouge-fonce); }
@media (max-width: 900px) { .grille-3 { grid-template-columns: 1fr; } .carte-img { aspect-ratio: 16 / 9; } }

/* Deux colonnes texte + photo */
.duo { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.duo > * { min-width: 0; }
.duo-photo { position: relative; }
.duo-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.duo-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  background: repeating-linear-gradient(135deg, var(--rouge) 0 14px, transparent 14px 28px);
}
.duo-photo { isolation: isolate; }
.duo-inverse .duo-photo { order: -1; }
@media (max-width: 900px) {
  .duo { grid-template-columns: 1fr; }
  .duo-inverse .duo-photo { order: 0; }
  .duo-photo img { aspect-ratio: 4 / 3; }
  .duo-photo::before { inset: 12px -10px -12px 12px; }
}

/* Étapes (vraie séquence : diagnostic → format → mesure) */
.etapes { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 0; counter-reset: etape; }
.etapes li { counter-increment: etape; display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--gris-ligne); }
.etapes li:last-child { border-bottom: 1px solid var(--gris-ligne); }
.etapes li::before {
  content: counter(etape, decimal-leading-zero);
  font: 800 2.3rem/1 var(--f-titre); color: var(--rouge);
}
.etapes h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.etapes p { color: var(--texte-doux); }

/* Outils prévention */
.outils { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--noir-2); border: 1px solid var(--noir-2); }
.outil { background: var(--noir); padding: 2rem 1.6rem; display: flex; flex-direction: column; gap: .9rem; text-decoration: none; color: var(--texte-inverse); transition: background .2s; min-width: 0; }
.outil:hover { background: var(--noir-2); }
.outil .etiquette { font: 600 .78rem/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--rouge); }
.outil h3 { color: var(--blanc); }
.outil p { color: var(--texte-inverse-doux); }
.outil .lien-fleche { color: var(--blanc); }
.outil:hover .lien-fleche { color: var(--rouge); }
@media (max-width: 900px) { .outils { grid-template-columns: 1fr; } }

/* Liste à puces sobre */
.liste-check { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.liste-check li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; }
.liste-check li::before { content: ""; width: 14px; height: 14px; margin-top: .42em; background: var(--rouge); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.liste-check strong { font-weight: 600; }

/* Particuliers */
.bandeau-particuliers { background: var(--rouge); color: var(--blanc); position: relative; overflow: hidden; }
.bandeau-particuliers::after {
  content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 45%;
  background: repeating-linear-gradient(115deg, rgba(0,0,0,.14) 0 22px, transparent 22px 44px);
  pointer-events: none;
}
.bandeau-particuliers .conteneur { position: relative; z-index: 1; }
.bandeau-particuliers .surtitre { color: var(--blanc); }
.bandeau-particuliers .surtitre::before { background: var(--blanc); }
.bandeau-particuliers .chapo { color: rgba(255,255,255,.92); }
.bandeau-particuliers .btn { --c: var(--noir); }
.bandeau-particuliers .btn:hover { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }

/* Partenaires */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--gris-ligne); border: 1px solid var(--gris-ligne); }
.logo-case { min-width: 0; background: var(--blanc); aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 1.1rem; }
.logo-case img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.logo-case:hover img { filter: none; opacity: 1; }
.logo-case .nom-logo { font: 700 1.05rem/1.15 var(--f-label); text-transform: uppercase; letter-spacing: .06em; color: var(--texte-doux); text-align: center;  overflow-wrap: anywhere; }
@media (max-width: 760px) { .logos { grid-template-columns: repeat(2, 1fr); } }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact > * { min-width: 0; }
.coordonnees { display: grid; gap: 1.4rem; margin-top: 1.8rem; }
.coord { display: grid; gap: .2rem; padding-left: 1rem; border-left: 3px solid var(--rouge); }
.coord .etiquette { font: 600 .8rem/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--texte-inverse-doux); }
.coord a, .coord span { font-size: 1.15rem; color: var(--blanc); text-decoration: none; overflow-wrap: anywhere; }
.coord a:hover { color: var(--rouge); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* Formulaires */
.formulaire { background: var(--blanc); color: var(--texte); padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1.1rem; border-top: 5px solid var(--rouge); }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .champs-2 { grid-template-columns: 1fr; } }
.champ { display: grid; gap: .4rem; min-width: 0; }
.champ label, .question legend { font: 600 .95rem/1.3 var(--f-label); letter-spacing: .04em; text-transform: uppercase; color: var(--texte); }
.champ label .req, .question legend .req { color: var(--rouge); }
.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--texte);
  padding: .8rem .9rem; background: var(--gris-clair); border: 1px solid var(--gris-ligne); border-bottom: 2px solid var(--noir);
  border-radius: 0;
}
.champ textarea { min-height: 140px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-bottom-color: var(--rouge); background: var(--blanc); }
.mention { font-size: .85rem; color: var(--texte-doux); }
.mention a { color: var(--texte); }
.cache { position: absolute; left: -9999px; }
.retour-form { padding: 1rem 1.1rem; background: var(--gris-clair); border-left: 4px solid var(--rouge); font-weight: 500; }

/* Questionnaire */
.question { border: 0; padding: 1.3rem 0 0; margin: 0; border-top: 1px solid var(--gris-ligne); display: grid; gap: .8rem; min-width: 0; }
.question legend { padding: 0; float: left; width: 100%; margin-bottom: .2rem; text-transform: none; font-family: var(--f-texte); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }
.question legend + * { clear: both; }
.choix { display: flex; flex-wrap: wrap; gap: .6rem; }
.choix label { position: relative; cursor: pointer; }
.choix input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choix span {
  display: inline-block; padding: .6rem 1rem; border: 2px solid var(--gris-ligne); background: var(--blanc);
  font: 600 .95rem/1 var(--f-label); letter-spacing: .05em; text-transform: uppercase; transition: all .15s;
}
.choix input:checked + span { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.choix input:focus-visible + span { outline: 3px solid var(--rouge); outline-offset: 2px; }
.choix label:hover span { border-color: var(--noir); }
.num-q { color: var(--rouge); font-family: var(--f-titre); font-weight: 800; margin-right: .3em; }

/* Catalogue */
.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--gris-ligne); border: 1px solid var(--gris-ligne); }
.module { background: var(--blanc); padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: .9rem; align-content: start; min-width: 0; }
.module .etiquettes { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { font: 600 .74rem/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; padding: .45em .7em; background: var(--gris-clair); color: var(--texte-doux); }
.tag-rouge { background: var(--rouge); color: var(--blanc); }
.module p { color: var(--texte-doux); }
@media (max-width: 820px) { .modules { grid-template-columns: 1fr; } }

.stages { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2rem); }
.stage { background: var(--blanc); display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.stage img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.stage-corps { padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.stage-corps p { color: var(--texte-doux); }
.stage-corps .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 820px) { .stages { grid-template-columns: 1fr; } }

/* Équipe (à propos) */
.profils { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.profil { display: grid; gap: .8rem; align-content: start; min-width: 0; }
.profil img { width: 100%; aspect-ratio: 1; object-fit: cover; border-bottom: 4px solid var(--rouge); }
.profil p { color: var(--texte-doux); font-size: 1rem; }
@media (max-width: 960px) { .profils { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .profils { grid-template-columns: 1fr; } }

.direction { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--noir-2); border: 1px solid var(--noir-2); margin-top: 2rem; }
.direction div { background: var(--noir); padding: 1.6rem; display: grid; gap: .3rem; }
.direction .etiquette { font: 600 .8rem/1.2 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); }
.direction strong { font: 800 1.9rem/1.05 var(--f-titre); text-transform: uppercase; color: var(--blanc); }
@media (max-width: 600px) { .direction { grid-template-columns: 1fr; } }

/* Texte légal */
.texte-long { max-width: 760px; display: grid; gap: 1rem; }
.texte-long h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 2.2rem; padding-top: 1.4rem; border-top: 3px solid var(--noir); }
.texte-long h2:first-child { margin-top: 0; }
.texte-long h3 { font-size: 1.3rem; margin-top: .8rem; }
.texte-long p, .texte-long li { color: var(--texte-doux); }
.texte-long dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.4rem; margin: 0; }
.texte-long dt { font: 600 .9rem/1.6 var(--f-label); text-transform: uppercase; letter-spacing: .06em; }
.texte-long dd { margin: 0; color: var(--texte-doux); }
@media (max-width: 600px) { .texte-long dl { grid-template-columns: 1fr; } .texte-long dd { margin-bottom: .6rem; } }

/* Bandeau appel final */
.appel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.appel > div { max-width: 680px; display: grid; gap: .8rem; }

/* Pied de page */
.pied { background: var(--noir); color: var(--texte-inverse-doux); font-size: .97rem; }
.pied-grille { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr .85fr; gap: 2rem; padding-block: clamp(48px, 6vw, 72px) 2.5rem; }
.pied-grille > * { min-width: 0; }
.pied h4 { font: 600 .82rem/1 var(--f-label); letter-spacing: .18em; color: var(--blanc); margin-bottom: 1.1rem; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.pied a { text-decoration: none; color: var(--texte-inverse-doux); }
.pied a:hover { color: var(--blanc); }
.pied-logo { width: 220px; height: auto; margin-bottom: 1rem; }
.pied-bas { border-top: 1px solid var(--noir-2); padding-block: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .85rem; }
@media (max-width: 900px) { .pied-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pied-grille { grid-template-columns: 1fr; } }

/* Bouton WhatsApp flottant */
.wa {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--blanc);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.28); transition: transform .2s;
}
.wa:hover { transform: scale(1.07); }
.wa svg { width: 30px; height: 30px; fill: currentColor; }

/* Apparition douce (contenu visible par défaut) */
@media (prefers-reduced-motion: no-preference) {
  .heros-in > * { animation: monte .7s cubic-bezier(.2,.7,.2,1) both; }
  .heros-in > *:nth-child(2) { animation-delay: .08s; }
  .heros-in > *:nth-child(3) { animation-delay: .16s; }
  .heros-in > *:nth-child(4) { animation-delay: .24s; }
  @keyframes monte { from { transform: translateY(18px); opacity: .001; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Photo d'équipe en paysage */
.duo-photo-large img { aspect-ratio: 7 / 5; }

/* Catalogue : sommaire */
.sommaire ul { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.sommaire a { display: inline-block; padding: .55rem .9rem; border: 1px solid var(--gris-ligne); text-decoration: none; font: 600 .9rem/1.2 var(--f-label); letter-spacing: .04em; text-transform: uppercase; color: var(--texte); background: var(--blanc); }
.sommaire a:hover { border-color: var(--rouge); color: var(--rouge); }

/* Catalogue : fiches dépliables */
.fiches { display: grid; gap: 1rem; }
.fiche { background: var(--blanc); border: 1px solid var(--gris-ligne); border-left: 5px solid var(--rouge); scroll-margin-top: 96px; }
.fiche summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center; padding: clamp(1.2rem, 2.6vw, 1.8rem); }
.fiche summary::-webkit-details-marker { display: none; }
.fiche-tete { display: grid; gap: .6rem; min-width: 0; }
.fiche-tete p { color: var(--texte-doux); }
.fiche-plus { width: 44px; height: 44px; border: 2px solid var(--noir); position: relative; flex: none; transition: background .2s; }
.fiche-plus::before, .fiche-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: var(--noir); transform: translate(-50%, -50%); }
.fiche-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.fiche[open] .fiche-plus { background: var(--noir); }
.fiche[open] .fiche-plus::before, .fiche[open] .fiche-plus::after { background: var(--blanc); }
.fiche[open] .fiche-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.fiche summary:hover h3 { color: var(--rouge); }
.fiche-corps { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.4rem, 3vw, 2.6rem); padding: 0 clamp(1.2rem, 2.6vw, 1.8rem) clamp(1.4rem, 2.6vw, 2rem); border-top: 1px solid var(--gris-ligne); padding-top: 1.6rem; }
.fiche-col { display: grid; gap: 1.6rem; align-content: start; min-width: 0; }
.fiche-bloc { display: grid; gap: .8rem; }
.fiche-bloc h4, .note-pilotage h3 { font: 700 .95rem/1.2 var(--f-label); letter-spacing: .12em; color: var(--rouge); }
.fiche-infos { margin: 0; display: grid; grid-template-columns: max-content 1fr; background: var(--gris-clair); }
.fiche-infos dt, .fiche-infos dd { padding: .7rem .9rem; border-bottom: 1px solid var(--gris-ligne); margin: 0; }
.fiche-infos dt { font: 600 .82rem/1.5 var(--f-label); letter-spacing: .08em; text-transform: uppercase; }
.fiche-infos dd { color: var(--texte-doux); font-size: .98rem; }
.fiche-col .btn { justify-self: start; }
@media (max-width: 820px) { .fiche-corps { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .fiche-infos { grid-template-columns: 1fr; } .fiche-infos dt { border-bottom: 0; padding-bottom: 0; } }

/* Ratio 70 / 30 */
.ratio { display: grid; gap: 1.2rem; background: var(--noir); color: var(--texte-inverse); padding: clamp(1.4rem, 3vw, 2.4rem); }
.ratio-barre { display: flex; height: 92px; }
.ratio-barre span { white-space: nowrap; overflow: hidden; display: flex; align-items: center; padding-left: 1rem; font: 800 clamp(2.2rem, 4vw, 3rem)/1 var(--f-titre); color: var(--blanc); }
.ratio-barre span:first-child { background: var(--rouge); }
.ratio-barre span:last-child { background: var(--noir-2); font-size: clamp(1.4rem, 2.6vw, 2rem); padding-left: .6rem; }
.ratio-legende { display: grid; grid-template-columns: 70fr 30fr; gap: 1rem; }
.ratio-legende strong { font: 700 1.05rem/1.2 var(--f-label); text-transform: uppercase; letter-spacing: .08em; color: var(--blanc); }
.ratio-legende p { color: var(--texte-inverse-doux); font-size: .95rem; }
@media (max-width: 480px) { .ratio-legende { grid-template-columns: 1fr; } }

/* Tarifs pilotage */
.tarifs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--noir-2); border: 1px solid var(--noir-2); }
.tarif { background: var(--noir); padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.tarif .etiquette { font: 600 .78rem/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); }
.tarif p { color: var(--texte-inverse-doux); font-size: .95rem; }
.tarif .liste-check { color: var(--texte-inverse-doux); font-size: .97rem; }
.prix { margin-top: auto; font: 800 2.4rem/1 var(--f-titre); color: var(--blanc); font-variant-numeric: tabular-nums; }
.prix small { display: block; font: 500 .9rem/1.3 var(--f-texte); color: var(--texte-inverse-doux); margin-top: .3rem; }
.tarif-pack { background: var(--rouge); }
.tarif-pack .etiquette, .tarif-pack p { color: var(--blanc); }
.tarif-pack .btn { --c: var(--noir); align-self: flex-start; }
.tarif-pack .btn:hover { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.note-pilotage { margin-top: 2rem; padding: 1.4rem 1.6rem; border: 1px solid var(--noir-2); display: grid; gap: .5rem; }
.note-pilotage p { color: var(--texte-inverse-doux); }
@media (max-width: 1000px) { .tarifs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tarifs { grid-template-columns: 1fr; } }

/* Encart partenaire */
.encart { margin-top: 2rem; background: var(--blanc); border: 2px solid var(--noir); padding: clamp(1.4rem, 3vw, 2.2rem); display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; justify-content: space-between; }
.encart > div { display: grid; gap: .7rem; max-width: 720px; min-width: 0; }
.encart p { color: var(--texte-doux); }

.grille-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.grille-2 > * { min-width: 0; }
.grille-2 p { color: var(--texte-doux); }
@media (max-width: 820px) { .grille-2 { grid-template-columns: 1fr; } }

/* Lien Espace formateurs (pied de page) */
.pied a.lien-espace { color: var(--blanc); border-bottom: 2px solid var(--rouge); padding-bottom: 2px; }
.pied a.lien-espace:hover { color: var(--rouge); }

/* Vidéo de présentation (catalogue) */
.video-section .entete-section { margin-bottom: 1.6rem; }
.video-cadre { position: relative; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; background: var(--noir-2); border-bottom: 5px solid var(--rouge); }
.video-cadre iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-lien { margin-top: 1rem; }
.video-lien a { color: var(--texte-inverse-doux); font: 600 .9rem/1 var(--f-label); letter-spacing: .08em; text-transform: uppercase; }
.video-lien a:hover { color: var(--blanc); }

/* Encart diagnostic gratuit (Approche sur mesure) */
.encart-diag { margin-top: 1.8rem; background: var(--gris-clair); border-left: 5px solid var(--rouge); padding: 1.4rem 1.5rem; display: grid; gap: .8rem; }
.encart-diag h3 { font-size: 1.5rem; }
.encart-diag p { color: var(--texte-doux); }
.etiquette-diag { justify-self: start; font: 700 .75rem/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; background: var(--rouge); color: var(--blanc); padding: .45em .7em; }

/* Coordonnées directes (bas du catalogue) */
.contacts-direct { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .7rem; }
.contacts-direct li { display: grid; grid-template-columns: 110px auto; column-gap: 1rem; align-items: baseline; }
.contacts-direct span { grid-row: span 2; font: 600 .8rem/1.6 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); }
.contacts-direct strong { font: 700 1.15rem/1.2 var(--f-label); text-transform: uppercase; letter-spacing: .04em; color: var(--blanc); }
.contacts-direct a { color: var(--texte-inverse-doux); text-decoration: none; white-space: nowrap; }
.contacts-direct a:hover { color: var(--blanc); }
@media (max-width: 420px) { .contacts-direct li { grid-template-columns: 1fr; } .contacts-direct span { grid-row: auto; } }

/* Vignette cliquable de la vidéo (pas de lecture automatique) */
.video-facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: var(--noir); cursor: pointer; display: block; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%); background: var(--rouge); border-radius: 50%; box-shadow: 0 8px 26px rgba(0,0,0,.45); transition: transform .2s, background .2s; }
.video-play::after { content: ""; position: absolute; left: 31px; top: 23px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent var(--blanc); }
.video-facade:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--rouge-fonce); }

/* Approche sur mesure : photo + diagnostic empilés à droite */
.duo-haut { align-items: start; }
.colonne-droite { display: grid; gap: 1.6rem; min-width: 0; }
.duo-photo-compacte img { aspect-ratio: 16 / 10; }
.colonne-droite .encart-diag { margin-top: 0; }

/* Vidéo : texte à gauche, vidéo à droite */
.video-duo { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.video-duo > * { min-width: 0; }
.video-duo .liste-check { color: var(--texte-inverse-doux); }
@media (max-width: 900px) { .video-duo { grid-template-columns: 1fr; } }

/* Obligation légale : visuel d'alerte */
.section-alerte { background: var(--noir); color: var(--texte-inverse); position: relative; overflow: hidden; }
.section-alerte::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 10px; background: repeating-linear-gradient(135deg, var(--rouge) 0 18px, var(--noir) 18px 36px); }
.alerte-tete { display: grid; gap: .8rem; max-width: 780px; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.alerte-tete h2 { color: var(--blanc); }
.alerte-tete .chapo { color: var(--texte-inverse-doux); }
.chocs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--noir-2); border: 1px solid var(--noir-2); }
.choc { background: var(--noir); padding: 1.5rem 1.3rem; display: grid; gap: .5rem; align-content: start; border-top: 4px solid var(--rouge); min-width: 0; }
.choc strong { font: 800 clamp(2.2rem, 4vw, 3.2rem)/1 var(--f-titre); color: var(--rouge); text-transform: uppercase; }
.choc strong sup { font-size: .5em; vertical-align: .7em; }
.choc span { color: var(--texte-inverse); font-size: .98rem; line-height: 1.45; }
.alerte-bas { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; background: var(--rouge); color: var(--blanc); }
.alerte-bas p { max-width: 70ch; }
.alerte-bas .btn { --c: var(--noir); }
.alerte-bas .btn:hover { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
@media (max-width: 960px) { .chocs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .chocs { grid-template-columns: 1fr; } }

/* Logos partenaires : rangées centrées */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; background: none; border: 0; }
.logos .logo-case { flex: 0 1 calc((100% - 60px) / 6); border: 1px solid var(--gris-ligne); }
.logo-case img { max-height: 76px; max-width: 100%; }
@media (max-width: 900px) { .logos .logo-case { flex-basis: calc((100% - 24px) / 3); } }
@media (max-width: 520px) { .logos .logo-case { flex-basis: calc((100% - 12px) / 2); } }

/* Menu : étiquettes */
.pastille-2027 { font: 700 .66rem/1 var(--f-label); letter-spacing: .06em; background: var(--rouge); color: var(--blanc); padding: .25em .45em; margin-left: .2em; vertical-align: .15em; }
.gratuit { font: 700 .64rem/1 var(--f-label); letter-spacing: .06em; color: var(--rouge); border: 1px solid var(--rouge); padding: .2em .4em; margin-left: .15em; }

/* Accès aux espaces (icône) */
.btn-espaces { width: 44px; height: 44px; padding: 0 !important; justify-content: center; border: 1px solid #4a464a !important; border-radius: 50%; margin-left: .3rem; }
.btn-espaces svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.btn-espaces .cadenas { fill: var(--rouge); stroke: var(--rouge); }
.btn-espaces .cadenas-anse { stroke: var(--rouge); }
.btn-espaces:hover { border-color: var(--blanc) !important; }
.libelle-espaces { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.deroulant-espaces ul { left: auto; right: 0; }
@media (max-width: 1240px) {
  .btn-espaces { width: 100%; height: auto; border: 0 !important; border-bottom: 1px solid var(--noir-2) !important; border-radius: 0; justify-content: flex-start !important; gap: .6rem !important; padding: .95rem 0 !important; margin: 0; }
  .libelle-espaces { position: static; width: auto; height: auto; clip: auto; overflow: visible; }
}

/* Pied de page */
.pied-sous { margin: -.6rem 0 .9rem; font: 600 .78rem/1.3 var(--f-label); letter-spacing: .08em; text-transform: uppercase; color: var(--rouge); }

/* Avis discret (À propos) */
.avis-discret { background: var(--gris-clair); border-top: 1px solid var(--gris-ligne); }
.avis-in { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; justify-content: space-between; padding-block: 1.1rem; font-size: .95rem; color: var(--texte-doux); }
.avis-in a { color: var(--texte); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--rouge); }
.avis-in a:hover { color: var(--rouge); }

/* Page formation en ligne */
.heros h1 em { font-style: normal; }
.bandeau-2027 { background: var(--rouge); color: var(--blanc); }
.bandeau-2027-in { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-block: 1.3rem; }
.bandeau-2027 strong { font: 800 clamp(2.6rem, 6vw, 3.6rem)/1 var(--f-titre); letter-spacing: .02em; }
.bandeau-2027 p { flex: 1; min-width: 240px; font-size: 1.05rem; }
.bandeau-2027 .btn { --c: var(--noir); }
.bandeau-2027 .btn:hover { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.mods-el { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gris-ligne); border: 1px solid var(--gris-ligne); }
.mod-el { background: var(--blanc); padding: 1.4rem 1.2rem; display: grid; gap: .5rem; align-content: start; min-width: 0; }
.mod-el:first-child { background: var(--noir); color: var(--texte-inverse); }
.mod-el:first-child h3 { color: var(--blanc); }
.mod-el:first-child p { color: var(--texte-inverse-doux); }
.mod-num { font: 600 .78rem/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); }
.mod-el p { color: var(--texte-doux); font-size: .97rem; }
@media (max-width: 960px) { .mods-el { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .mods-el { grid-template-columns: 1fr; } }
.avantages { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.avantage { background: var(--blanc); padding: 1.5rem 1.4rem; border-top: 4px solid var(--rouge); display: grid; gap: .6rem; align-content: start; min-width: 0; }
.av-ico { width: 40px; height: 40px; display: grid; place-items: center; background: var(--noir); color: var(--blanc); font-size: 1.15rem; }
.avantage p { color: var(--texte-doux); }
@media (max-width: 900px) { .avantages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .avantages { grid-template-columns: 1fr; } }
.astuce-el { background: var(--gris-clair); border-left: 4px solid var(--rouge); padding: 1rem 1.2rem; color: var(--texte-doux); }
.astuce-el a { color: var(--texte); font-weight: 600; }
.etapes-el .etapes { margin-top: .6rem; }

@media (min-width: 1241px) and (max-width: 1540px) { .marque span { display: none; } }
.marque { flex-shrink: 0; } .marque span { white-space: nowrap; }

/* Partenaires (pied de page) */
.pied-partenaire { background: var(--blanc); padding: .4rem; width: 72px; }
.pied-partenaire img { width: 100%; height: auto; }
.pied-partenaire-nom { margin-top: .6rem; font-size: .85rem; }
@media (max-width: 1100px) and (min-width: 901px) { .pied-grille { grid-template-columns: 1fr 1fr 1fr; } }

/* Partenaire pédagogique (formation en ligne) */
.section-partenaire { background: var(--blanc); border-top: 1px solid var(--gris-ligne); }
.partenaire-el { display: grid; grid-template-columns: 200px 1fr; gap: clamp(1.4rem, 4vw, 3rem); align-items: center; max-width: 980px; }
.partenaire-el > * { min-width: 0; }
.partenaire-logo { border: 1px solid var(--gris-ligne); padding: 1.2rem; }
.partenaire-logo img { width: 100%; height: auto; }
.partenaire-el p { color: var(--texte-doux); max-width: 65ch; }
@media (max-width: 640px) { .partenaire-el { grid-template-columns: 1fr; } .partenaire-logo { width: 170px; } }

/* Bandeau cookies */
.bandeau-cookies {
  position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 80;
  max-width: 760px; margin-inline: auto; background: var(--noir); color: var(--texte-inverse);
  border-top: 4px solid var(--rouge); box-shadow: 0 14px 40px rgba(0,0,0,.35);
  padding: 1rem 1.2rem; display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; font-size: .92rem;
}
.bandeau-cookies p { flex: 1 1 320px; min-width: 0; }
.bandeau-cookies a { color: var(--blanc); }
.bandeau-cookies-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.bandeau-cookies .btn { padding: .75em 1.2em; font-size: .88rem; }
.btn-sombre-clair { background: transparent; color: var(--blanc); border-color: var(--texte-inverse-doux); }
.btn-sombre-clair:hover { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }

/* Accueil : slogan + titre */
.heros-in:has(.slogan) { max-width: 1000px; gap: 1.1rem; }
.slogan {
  font-family: "Pacifico", "Segoe Script", "Brush Script MT", cursive; font-weight: 400;
  font-size: clamp(1.9rem, 5.6vw, 4.5rem); line-height: 1.3; letter-spacing: .005em;
  text-transform: none; color: var(--blanc); transform: rotate(-2deg); transform-origin: left center;
  text-shadow: 0 2px 14px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.45);
  padding-bottom: .05em;
}
.slogan-l1 { display: block; white-space: nowrap; }
.slogan em {
  font-style: normal; color: var(--rouge); display: inline-block; white-space: nowrap;
  position: relative; z-index: 0; margin-left: .5em; padding: 0 .45em .08em; text-shadow: none;
}
.slogan em::before {
  content: ""; position: absolute; z-index: -1; inset: .12em -.1em .02em -.2em;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20600%20120%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M14%2038%20C60%2022%20120%2030%20170%2020%20C240%208%20300%2024%20360%2016%20C430%208%20500%2018%20560%2014%20C585%2013%20596%2026%20590%2040%20C584%2052%20596%2062%20592%2076%20C588%2092%20572%2098%20548%20100%20C480%20106%20420%2096%20350%20104%20C280%20112%20210%20100%20150%20108%20C100%20114%2050%20104%2022%2098%20C6%2094%202%2082%2010%2070%20C16%2060%204%2052%2014%2038%20Z%20M30%2026%20C80%2018%20120%2020%20150%2016%20L148%2022%20C110%2026%2070%2024%2032%2032%20Z%20M420%20104%20C470%20100%20520%20108%20556%20104%20L552%20110%20C510%20114%20460%20108%20422%20110%20Z%22/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  opacity: .82;
}
@media (prefers-reduced-motion: no-preference) {
  .slogan-l1 { animation: arrive-gauche .9s cubic-bezier(.16,.8,.2,1) both; }
  .slogan em { animation: arrive-gauche .9s cubic-bezier(.16,.8,.2,1) .25s both; }
  .slogan em::before { transform-origin: left center; animation: coup-pinceau .6s cubic-bezier(.3,.7,.2,1) .85s both; }
  @keyframes arrive-gauche { from { transform: translateX(-60px); opacity: .001; } to { transform: none; opacity: 1; } }
  @keyframes coup-pinceau { from { transform: scaleX(.001); } to { transform: none; } }
}
.heros h1.titre-sous-slogan {
  font-family: var(--f-titre); font-weight: 800; font-size: clamp(1.6rem, 4.6vw, 3.1rem); line-height: 1.04; letter-spacing: .015em;
  max-width: none; padding-left: .9rem; border-left: 6px solid var(--rouge);
}
.titre-l1, .titre-l2 { display: block; }
.titre-l1 { white-space: nowrap; }
@media (max-width: 600px) {
  .slogan { font-size: 2.5rem; }
  .slogan-l1 { white-space: normal; }
  .titre-l1 { white-space: normal; }
  .heros h1.titre-sous-slogan { font-size: 1.75rem; }
}
@media (prefers-reduced-motion: no-preference) { .heros-in > .slogan { animation: none; } }
@media (max-width: 600px) { .slogan { font-size: 2.2rem; } .slogan em { margin-left: .2em; } }

/* ===== Modifs 18/10 ===== */
:root { --jaune: #ffd21f; --bleu-fr: #5b8cff; }
/* Slogan : ligne 1 en jaune */
.slogan .slogan-l1 { color: var(--jaune); }
/* Chiffres clés : 3 colonnes */
.chiffres-grille { grid-template-columns: repeat(3, 1fr); }
.chiffre strong sup { vertical-align: .55em; margin-right: .05em; }
.tricolore { font-weight: 800; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.tricolore span:first-child { color: var(--bleu-fr); }
.tricolore span:last-child { color: var(--blanc); background: linear-gradient(90deg, var(--blanc) 0 22%, var(--rouge) 22%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 900px) {
  .chiffres-grille { grid-template-columns: 1fr; }
  .chiffre { border-left: 0 !important; border-top: 1px solid var(--noir-2); }
  .chiffre:first-child { border-top: 0; }
}
/* Logos toujours en couleur */
.logo-case img { filter: none !important; opacity: 1 !important; }
.confiance-haut { padding-block: clamp(2.6rem, 5vw, 4rem); }
/* Carrousel de logos (bas de page) */
.carrousel { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.carrousel-piste { display: flex; gap: 2.4rem; width: max-content; animation: defile 40s linear infinite; align-items: center; }
.carrousel:hover .carrousel-piste { animation-play-state: paused; }
.carrousel-logo { flex: none; height: 64px; width: 130px; display: grid; place-items: center; }
.carrousel-logo img { max-height: 54px; max-width: 120px; width: auto; height: auto; object-fit: contain; }
@keyframes defile { to { transform: translateX(calc(-50% - 1.2rem)); } }
@media (prefers-reduced-motion: reduce) { .carrousel-piste { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .carrousel-logo[aria-hidden="true"] { display: none; } }
/* Services : 4 colonnes */
.grille-4 { grid-template-columns: repeat(4, 1fr); }
.grille-4 .carte-corps { padding: 1.3rem 1.2rem 1.4rem; }
@media (max-width: 1100px) { .grille-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grille-4 { grid-template-columns: 1fr; } }
.carte-corps p strong { color: var(--texte); font-weight: 700; }
/* Approche : badge sur la photo */
.duo-photo .badge-photo { position: absolute; right: 0; bottom: 0; z-index: 2; background: var(--rouge); color: var(--blanc); font: 700 1rem/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; padding: .7rem 1rem; }
/* Outils gratuits : étiquettes et boutons plus grands */
.outil .etiquette { font-size: 1.02rem; letter-spacing: .12em; }
.btn-outil { align-self: flex-start; margin-top: auto; font-size: 1rem; padding: .95em 1.5em; }
.outil:hover .btn-outil { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
/* Instructeurs : puces rondes jaunes */
.liste-ronde { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-weight: 600; }
.liste-ronde li { display: grid; grid-template-columns: 16px 1fr; gap: .8rem; align-items: start; }
.liste-ronde li::before { content: ""; width: 13px; height: 13px; border-radius: 50%; background: var(--jaune); margin-top: .42em; box-shadow: 0 0 0 2px rgba(0,0,0,.15); }
/* Catalogue : en-tête plus lisible */
.heros-court .heros-fond::after { background: linear-gradient(100deg, rgba(18,18,20,.8) 0%, rgba(18,18,20,.6) 45%, rgba(18,18,20,.15) 80%); }
.heros .chapo strong { color: var(--blanc); font-weight: 700; }
/* Obligation légale : textes en gras */
.chocs-gras .choc span { font-weight: 700; color: var(--blanc); }
/* Fiches : vignette + titre vert pour l'écoconduite */
.fiche summary { grid-template-columns: auto 1fr auto; }
.fiche-img { width: 120px; height: 90px; object-fit: cover; border-radius: 2px; }
.fiche-verte h3 { color: #1a9a4b; }
.fiche-verte { border-left-color: #1a9a4b; }
@media (max-width: 600px) { .fiche summary { grid-template-columns: 1fr auto; } .fiche-img { grid-column: 1 / -1; width: 100%; height: 130px; } }
/* Pilotage : photo de Gary + vidéos */
.pilote-tete { display: grid; grid-template-columns: 220px 1fr; gap: clamp(1.4rem, 3vw, 2.4rem); align-items: center; margin-bottom: 2rem; }
.pilote-tete .entete-section { margin-bottom: 0; }
.pilote-photo { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; border: 4px solid var(--rouge); box-shadow: 0 12px 30px rgba(0,0,0,.45); }
@media (max-width: 700px) { .pilote-tete { grid-template-columns: 1fr; justify-items: start; } .pilote-photo { width: 160px; height: 160px; } }
.videos-pilotage { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2rem; }
@media (max-width: 760px) { .videos-pilotage { grid-template-columns: 1fr; } }
.video-bloc { margin: 0; display: grid; gap: .6rem; }
.video-attente { aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; background: repeating-linear-gradient(135deg, #1d1d21 0 14px, #18181b 14px 28px); border: 1px dashed #4a4a50; color: var(--texte-inverse); font: 700 1.05rem/1.3 var(--f-label); letter-spacing: .06em; text-transform: uppercase; padding: 1rem; }
.video-attente small { display: block; margin-top: .4rem; color: var(--texte-inverse-doux); font-weight: 500; letter-spacing: .1em; font-size: .8rem; }
.video-bloc figcaption { display: grid; gap: .15rem; color: var(--texte-inverse); }
.video-bloc figcaption span { color: var(--texte-inverse-doux); font-size: .92rem; font-style: italic; }
/* Modalités : 3 colonnes */
.modalites .pile { align-content: start; }
.videos-pilotage { align-items: start; }
.video-bloc { align-content: start; }
.tarif h3 { overflow-wrap: break-word; hyphens: auto; }
@media (min-width: 1001px) { .tarif h3 { font-size: clamp(1.35rem, 1.9vw, 1.75rem); } }
.grille-4 .carte-corps h3 { font-size: clamp(1.3rem, 1.7vw, 1.6rem); overflow-wrap: break-word; hyphens: auto; }
.heros-court .heros-fond::after { background: linear-gradient(100deg, rgba(18,18,20,.84) 0%, rgba(18,18,20,.66) 50%, rgba(18,18,20,.35) 100%); }
/* Modifs 19/10 */
.nowrap { white-space: nowrap; }
.fiche-module { display: block; color: var(--rouge); margin-top: .15em; }
.fiche-img[src*="voiture-electrique"], .fiche-img[src*="premiers-secours"] { background: #f3f1f0; }
.video-bloc figcaption a { color: var(--texte-inverse-doux); font-size: .88rem; }
.video-bloc figcaption a:hover { color: var(--blanc); }
.encart-photo { flex-wrap: nowrap; }
.encart-photo > img { width: 260px; aspect-ratio: 4 / 3; object-fit: cover; flex: none; }
@media (max-width: 860px) { .encart-photo { flex-wrap: wrap; } .encart-photo > img { width: 100%; } }
.encart-photo { align-items: center; } .encart-photo > img { height: auto; align-self: center; }
.alerte-tete .chapo strong { color: var(--blanc); }
/* Photo BTP : lien vidéo SOGETRA */
.photo-video { display: block; color: inherit; text-decoration: none; }
.photo-video .video-play { z-index: 2; }
.photo-video:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--rouge-fonce); }
.photo-video .lien-video-photo { position: absolute; left: 0; bottom: 0; z-index: 2; background: rgba(18,18,20,.85); color: var(--blanc); font: 600 .9rem/1 var(--f-label); letter-spacing: .08em; text-transform: uppercase; padding: .75rem 1rem; }
.photo-video:focus-visible { outline: 3px solid var(--rouge); outline-offset: 4px; }
.photo-video:hover .lien-video-photo { background: var(--rouge); }

/* ===== Outils : orientation + calculateur (19/10) ===== */
.outils { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .outils { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .outils { grid-template-columns: 1fr; } }
.lien-calc { margin-top: .4rem; font-weight: 600; }
.lien-calc a { color: var(--rouge); }
.aide-choix { margin-top: .8rem; font-weight: 600; }
.aide-choix a { color: var(--rouge); }
.btn-noir-contour { background: transparent; color: var(--blanc); border-color: var(--blanc); }
.btn-noir-contour:hover { background: var(--blanc); color: var(--noir); }
.alerte-bas .actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.outil-note { margin-top: 1.4rem; color: var(--texte-doux); font-size: .95rem; text-align: center; }
.outil-note a { color: var(--rouge); }

/* Orientation */
.orientation { max-width: 860px; margin-inline: auto; background: var(--blanc); border-top: 5px solid var(--rouge); padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: 0 14px 40px rgba(0,0,0,.08); scroll-margin-top: 100px; }
.or-progression { height: 6px; background: var(--gris-clair); margin-bottom: 1rem; }
.or-progression span { display: block; height: 100%; background: var(--rouge); transition: width .3s; }
.or-compteur { font: 600 .82rem/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); }
.orientation fieldset { border: 0; padding: 0; margin: .6rem 0 0; min-width: 0; }
.orientation legend { padding: 0; }
.orientation legend h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 1.2rem; }
.orientation h2:focus { outline: none; }
.or-choix { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; }
.or-carte { text-align: left; background: var(--gris-clair); border: 2px solid transparent; border-left: 5px solid var(--noir); padding: 1rem 1.1rem; cursor: pointer; display: grid; gap: .3rem; font: inherit; color: var(--texte); transition: border-color .15s, background .15s, transform .15s; }
.or-carte strong { font-size: 1.08rem; }
.or-carte small { color: var(--texte-doux); font-size: .9rem; line-height: 1.35; }
.or-carte:hover, .or-carte:focus-visible { border-color: var(--rouge); background: var(--blanc); transform: translateY(-2px); outline: none; }
.or-retour, .or-recommencer { margin-top: 1.4rem; background: none; border: 0; padding: .4rem 0; font: 600 .95rem var(--f-texte); color: var(--texte-doux); cursor: pointer; text-decoration: underline; }
.or-resultat { display: grid; gap: .9rem; }
.or-resultat h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.or-infos { font: 600 .9rem/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--rouge); }
.or-pourquoi { font-size: 1.1rem; color: var(--texte); max-width: 62ch; }
.or-resultat .actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.or-autres { border-top: 1px solid var(--gris-ligne); padding-top: 1rem; }
.or-autres h3 { font: 700 .95rem/1.2 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--texte-doux); margin-bottom: .6rem; }
.or-autres ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.or-autres a { display: grid; gap: .15rem; padding: .7rem .9rem; background: var(--gris-clair); text-decoration: none; color: var(--texte); border-left: 4px solid var(--rouge); }
.or-autres a:hover { background: #ebe7e5; }
.or-autres small { color: var(--texte-doux); }
.or-plus { background: var(--noir); color: var(--texte-inverse); padding: 1.1rem 1.2rem; display: grid; gap: .8rem; }
.or-plus .btn-sombre { color: var(--blanc); border-color: var(--blanc); }
.or-plus .btn-sombre:hover { background: var(--blanc); color: var(--noir); }

/* Calculateur */
.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.4rem, 3vw, 2.4rem); align-items: start; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc-form { display: grid; gap: 1.2rem; min-width: 0; }
.calc-form fieldset { background: var(--blanc); border: 0; border-top: 4px solid var(--noir); padding: 1.2rem 1.3rem 1.3rem; margin: 0; display: grid; gap: .9rem; min-width: 0; }
.calc-form legend { font: 700 1rem/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--rouge); padding: 0; float: left; width: 100%; margin-bottom: .2rem; }
.calc-type { grid-template-columns: repeat(3, 1fr); }
.calc-type legend { grid-column: 1 / -1; }
@media (max-width: 640px) { .calc-type { grid-template-columns: 1fr; } }
.calc-type label { display: flex; gap: .6rem; align-items: flex-start; background: var(--gris-clair); padding: .8rem; cursor: pointer; border: 2px solid transparent; }
.calc-type label:has(input:checked) { border-color: var(--rouge); background: var(--blanc); }
.calc-type input { accent-color: var(--rouge); margin-top: .25rem; }
.calc-type span { display: grid; gap: .2rem; }
.calc-type small { color: var(--texte-doux); font-size: .85rem; line-height: 1.3; }
.calc-champ { display: grid; gap: .35rem; }
.calc-champ label { font-weight: 600; font-size: .95rem; }
.calc-champ input { font: inherit; font-size: 1.05rem; padding: .6rem .8rem; border: 0; border-bottom: 2px solid var(--noir); background: var(--gris-clair); max-width: 220px; }
.calc-champ input:focus { outline: 2px solid var(--rouge); outline-offset: 1px; }
.calc-champ small { color: var(--texte-doux); font-size: .85rem; }
.sans-arret .calc-champ:has(#k-jours), .sans-arret .calc-champ:has(#k-salaire), .sans-arret .calc-champ:has(#k-remplacement) { opacity: .45; }
.calc-resultat { position: sticky; top: 100px; background: var(--noir); color: var(--texte-inverse); padding: clamp(1.3rem, 3vw, 2rem); border-top: 5px solid var(--rouge); display: grid; gap: .8rem; min-width: 0; }
.calc-total-lib { font: 600 .95rem/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--texte-inverse-doux); }
.calc-total { font: 800 clamp(2.6rem, 6vw, 3.8rem)/1 var(--f-titre); color: var(--blanc); }
.calc-detail { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.calc-detail li { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; font-size: .93rem; }
.calc-lib { color: var(--texte-inverse-doux); }
.calc-val { font-weight: 700; color: var(--blanc); text-align: right; }
.calc-barre { grid-column: 1 / -1; height: 4px; background: var(--rouge); min-width: 2px; }
.calc-compare { font-size: 1rem; color: var(--blanc); }
.calc-compare:empty { display: none; }
.calc-info, .calc-sources { font-size: .85rem; color: var(--texte-inverse-doux); }
.calc-sources a { color: var(--texte-inverse); }
.calc-resultat .actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.calc-resultat .btn-sombre { color: var(--blanc); border-color: var(--blanc); }
.calc-resultat .btn-sombre:hover { background: var(--blanc); color: var(--noir); }
@media (max-width: 900px) { .calc-resultat { position: static; } }
.calc-sources { font-size: .75rem; opacity: .8; }
