/*
Theme Name: FORGE 365
Theme URI: https://forge365.space
Author: FORGE 365
Description: Thème bloc sur mesure de FORGE 365 — écosystème de transformation entrepreneuriale sur 365 jours. Tout le contenu est en blocs natifs, modifiable dans l'éditeur.
Version: 1.8.28
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: forge365
*/

/* FORGE 365 — maquette */
:root {
  --rouge: #CC0000;
  --rouge-fonce: #A30000;
  --noir: #0E0E0E;
  --anthracite: #1A1A1A;
  --gris: #F4F4F4;
  --ligne: #E4E4E4;
  --texte: #555555;
  --blanc: #FFFFFF;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --corps: 'Inter', system-ui, sans-serif;
  --rayon: 8px;
  --large: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--corps);
  font-size: 16px;
  line-height: 1.6;
  color: var(--noir);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.conteneur { width: 100%; max-width: var(--large); margin: 0 auto; padding: 0 32px; }
.rouge { color: var(--rouge); }

/* étiquettes et titres */
.etiquette {
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--rouge); margin-bottom: 18px; display: flex; align-items: center; gap: 14px;
}
.etiquette::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.etiquette-claire { color: var(--blanc); }
.etiquette-claire::before { background: var(--rouge); }

.titre-section {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 5.4vw, 72px); line-height: .95; letter-spacing: -.005em;
  text-wrap: balance; hyphens: none;
}
.titre-moyen {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 3.2vw, 42px); line-height: 1; margin-bottom: 26px;
}
.tete-section { margin-bottom: 64px; }
.tete-texte { color: var(--texte); max-width: 440px; font-size: 16px; }
.tete-ligne { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.tete-centre { text-align: center; }
.tete-centre .etiquette { justify-content: center; }
.tete-centre .tete-texte { margin: 22px auto 0; }

/* boutons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-family: var(--corps); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; padding: 17px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .fleche { transition: transform .2s; }
.btn:hover .fleche { transform: translateX(4px); }
.btn-rouge { background: var(--rouge); color: var(--blanc); }
.btn-rouge:hover { background: var(--rouge-fonce); }
.btn-contour { border-color: var(--noir); color: var(--noir); background: transparent; }
.btn-contour:hover { background: var(--noir); color: var(--blanc); }
.btn-contour-clair { border-color: rgba(255,255,255,.28); color: var(--blanc); }
.btn-contour-clair:hover { border-color: var(--blanc); background: var(--blanc); color: var(--noir); }
.btn-petit { padding: 12px 22px; font-size: 12px; }
.btn-plein { width: 100%; padding: 20px; font-size: 14px; }
.lien-fleche {
  display: inline-flex; gap: 10px; margin-top: 34px; font-weight: 700; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--rouge);
  border-bottom: 2px solid var(--rouge); padding-bottom: 6px;
}

/* en-tête */
.entete {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s;
}
.entete.defile { border-bottom-color: var(--ligne); }
.entete-in { display: flex; align-items: center; gap: 40px; height: 84px; }
.logo img { width: 168px; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #333; position: relative; padding: 6px 0;
}
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--rouge); transition: width .25s; }
.nav a:hover::after { width: 100%; }
.burger { display: none; }

/* hero */
.hero { position: relative; padding: 56px 0 0; background: var(--blanc); }
.hero-in { display: grid; grid-template-columns: 1fr 440px; column-gap: 72px; }
.hero-tete { grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 3; }
.hero-texte { grid-column: 1; grid-row: 2; padding: 34px 0 112px; }
.pastille {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--ligne); background: var(--gris);
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #333;
  margin-bottom: 34px;
}
.point { width: 8px; height: 8px; border-radius: 50%; background: var(--rouge); box-shadow: 0 0 0 4px rgba(204,0,0,.15); }
.hero-titre {
  font-family: var(--display); text-transform: uppercase; font-style: italic; font-weight: 900;
  line-height: .86; letter-spacing: -.01em; hyphens: none;
}
.hero-titre span { display: block; }
.hero-titre .l1, .hero-titre .l2 { font-size: clamp(48px, 9.4vw, 136px); white-space: nowrap; }
.hero-titre .l1 em { font-style: italic; color: var(--rouge); }
.hero-titre .l2 { color: var(--rouge); }
.hero-titre .l3 {
  font-size: clamp(24px, 3.1vw, 44px); font-weight: 800; margin-top: 20px; line-height: 1; color: var(--noir);
}
.hero-sous { font-size: 18px; color: var(--texte); max-width: 540px; }
.boutons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
.hero-faits { display: flex; gap: 0; margin-top: 56px; border-top: 1px solid var(--ligne); }
.hero-faits li { flex: 1; padding: 22px 22px 0 0; }
.hero-faits li + li { padding-left: 22px; border-left: 1px solid var(--ligne); }
.hero-faits strong { display: block; font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; }
.hero-faits span { display: block; font-size: 13px; color: var(--texte); margin-top: 6px; line-height: 1.4; }

.hero-visuel {
  grid-column: 2; grid-row: 2; align-self: end;
  position: relative; z-index: 2; margin-bottom: -150px; border-radius: var(--rayon); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.45);
  aspect-ratio: 4 / 5.6;
}
.hero-visuel img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero-compteur {
  position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 22px 24px;
  background: rgba(14,14,14,.88); backdrop-filter: blur(8px); color: var(--blanc); border-radius: var(--rayon);
  display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 18px; row-gap: 12px;
}
.hc-label { grid-column: 1 / -1; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hc-num { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 54px; line-height: .8; }
.hc-num small { font-size: 22px; color: rgba(255,255,255,.5); font-style: normal; font-weight: 700; margin-left: 4px; }
.hc-barre { height: 6px; background: rgba(255,255,255,.15); border-radius: 3px; overflow: hidden; align-self: center; }
.hc-barre i { display: block; height: 100%; width: 4%; background: var(--rouge); }
.hc-grade { grid-column: 1 / -1; font-size: 13px; color: rgba(255,255,255,.75); }
.hc-grade b { color: var(--blanc); text-transform: uppercase; letter-spacing: .1em; }

/* slogan */
.slogan { background: var(--noir); color: var(--blanc); padding: 120px 0 110px; position: relative; overflow: hidden; }
.slogan::before {
  content: ""; position: absolute; right: -10%; bottom: -40%; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(204,0,0,.38), rgba(204,0,0,0)); pointer-events: none;
}
.slogan .conteneur { position: relative; }
.slogan-fond {
  position: absolute; right: 24px; bottom: -150px; z-index: 0;
  font-family: var(--display); font-weight: 900; font-style: italic; font-size: 400px; line-height: .8;
  color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.14); letter-spacing: -.02em; pointer-events: none;
}
.slogan-texte, .slogan .etiquette { position: relative; z-index: 1; }
.slogan-texte {
  font-family: var(--display); text-transform: uppercase; font-weight: 900; font-style: italic;
  font-size: clamp(44px, 7.4vw, 108px); line-height: .9; letter-spacing: -.01em; max-width: 60%;
  text-wrap: balance;
}
.slogan-texte span { color: var(--rouge); }

/* programme */
.programme { padding: 140px 0 130px; }
.frise { display: grid; grid-template-columns: 3fr 9fr; gap: 0; margin-bottom: 120px; }
.frise-phase { padding: 0 40px 40px 0; }
.frise-b { padding-left: 40px; border-left: 1px solid var(--ligne); }
.frise-duree { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 22px; letter-spacing: .04em; color: var(--texte); }
.frise-duree strong { font-size: 110px; line-height: .85; font-weight: 900; font-style: italic; color: var(--noir); margin-right: 8px; letter-spacing: -.02em; }
.frise-a .frise-duree strong { color: var(--rouge); }
.frise-phase h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1.05; margin: 18px 0 12px; }
.frise-phase p:last-child { color: var(--texte); max-width: 520px; }
.frise-barre { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.frise-barre .m {
  height: 54px; background: var(--noir); color: rgba(255,255,255,.55); border-radius: 4px;
  display: flex; align-items: flex-end; padding: 8px 10px;
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .06em;
}
.frise-barre .m.r { background: var(--rouge); color: var(--blanc); }

.competences { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.competences-photo { border-radius: var(--rayon); overflow: hidden; aspect-ratio: 5/4; }
.competences-photo img { width: 100%; height: 100%; object-fit: cover; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li {
  padding: 12px 18px; border: 1px solid var(--ligne); border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--blanc); transition: background .2s, color .2s, border-color .2s;
}
.tags li:hover { background: var(--noir); color: var(--blanc); border-color: var(--noir); }

/* parcours */
.parcours { padding: 130px 0; background: var(--gris); }
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.carte-parcours { background: var(--blanc); border-radius: var(--rayon); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.carte-parcours:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.carte-parcours figure { aspect-ratio: 4/3; overflow: hidden; }
.carte-parcours img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.carte-parcours:hover img { transform: scale(1.05); }
.cp-corps { padding: 30px 30px 36px; position: relative; }
.cp-num {
  position: absolute; top: -34px; right: 24px; width: 68px; height: 68px; border-radius: 50%;
  background: var(--rouge); color: var(--blanc); display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-style: italic; font-size: 28px;
}
.carte-parcours h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 34px; line-height: 1; margin-bottom: 12px; }
.carte-parcours h3 span { color: var(--rouge); }
.carte-parcours p:last-child { color: var(--texte); }

/* offres */
.offres { padding: 130px 0; background: var(--noir); color: var(--blanc); }
.offres .tete-texte { color: rgba(255,255,255,.65); }
.grille-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.offre {
  display: flex; flex-direction: column; padding: 36px 28px 30px; border-radius: var(--rayon);
  background: var(--anthracite); border: 1px solid rgba(255,255,255,.08); position: relative;
}
.offre-nom { font-family: var(--display); text-transform: uppercase; font-weight: 700; font-size: 20px; line-height: 1; letter-spacing: .06em; color: rgba(255,255,255,.6); }
.offre-nom strong { display: block; min-height: 2em; font-size: 34px; color: var(--blanc); letter-spacing: 0; font-weight: 800; margin-top: 6px; }
.offre-prix {
  font-family: var(--display); font-weight: 900; font-style: italic; font-size: 46px; line-height: 1;
  margin: 30px 0 18px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); white-space: nowrap;
}
.offre-prix small { font-size: 18px; font-style: normal; font-weight: 700; color: rgba(255,255,255,.55); letter-spacing: .06em; }
.offre-texte { color: rgba(255,255,255,.7); font-size: 15px; flex: 1; margin-bottom: 30px; }
.offre .btn { width: 100%; padding: 15px 16px; font-size: 12px; }
.offre-forte { background: var(--blanc); color: var(--noir); transform: translateY(-24px); box-shadow: 0 30px 60px -20px rgba(204,0,0,.45); border-color: var(--blanc); }
.offre-forte .offre-nom { color: var(--texte); }
.offre-forte .offre-nom strong { color: var(--noir); }
.offre-forte .offre-prix { color: var(--rouge); border-top-color: var(--ligne); }
.offre-forte .offre-prix small { color: var(--texte); }
.offre-forte .offre-texte { color: var(--texte); }
.offre-badge {
  position: absolute; top: -14px; left: 28px; background: var(--rouge); color: var(--blanc);
  font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px;
}

/* grades */
.grades { padding: 140px 0 0; overflow: hidden; }
.grades-tete { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: end; margin-bottom: 80px; }
.grades-explique p { font-size: 17px; color: var(--texte); padding: 16px 0; border-bottom: 1px solid var(--ligne); }
.grades-explique p strong { color: var(--noir); }
.grades-explique .note { border: 0; font-size: 14px; color: var(--rouge); font-weight: 600; }
.escalier { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; align-items: end; }
.marche {
  height: calc(70px + var(--h) * 62px); background: var(--noir); color: var(--blanc);
  border-radius: var(--rayon) var(--rayon) 0 0; padding: 20px 20px; display: flex; flex-direction: column; justify-content: space-between;
  position: relative; border-top: 4px solid var(--rouge);
}
.m-num { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 22px; color: rgba(255,255,255,.4); }
.m-nom { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1; }
.marche-elite { background: var(--rouge); border-top-color: var(--noir); }
.marche-elite .m-num { color: rgba(255,255,255,.7); }
.marche-elite .m-nom { font-size: 40px; font-style: italic; font-weight: 900; }

/* opportunités */
.opportunites { padding: 140px 0; }
.opp-in { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.opp-visuel { border-radius: var(--rayon); overflow: hidden; aspect-ratio: 4/5; }
.opp-visuel img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.opp-texte .titre-section { font-size: clamp(36px, 4.2vw, 56px); margin-bottom: 36px; }
.liste-num { counter-reset: n; }
.liste-num li {
  counter-increment: n; display: flex; gap: 20px; align-items: baseline; padding: 15px 0;
  border-bottom: 1px solid var(--ligne); font-size: 17px; font-weight: 600;
}
.liste-num li::before {
  content: counter(n, decimal-leading-zero); font-family: var(--display); font-weight: 800; font-style: italic;
  color: var(--rouge); font-size: 18px; min-width: 26px;
}
.avertissement {
  margin-top: 30px; padding: 18px 20px; background: var(--gris); border-left: 3px solid var(--noir);
  font-size: 14px; color: var(--texte); border-radius: 0 var(--rayon) var(--rayon) 0;
}

/* résultats */
.resultats { background: var(--noir); color: var(--blanc); padding: 120px 0; }
.res-in { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.res-texte .res-intro { margin-top: 26px; color: rgba(255,255,255,.65); max-width: 460px; font-size: 17px; }
.res-liste li {
  display: flex; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12);
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1;
}
.res-liste li span { font-size: 16px; color: var(--rouge); font-style: italic; }

/* faq */
.faq { padding: 140px 0; }
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq .tete-texte { margin-top: 24px; }
.faq .tete-texte a { color: var(--rouge); font-weight: 600; }
.question { border-bottom: 1px solid var(--ligne); }
.question:first-child { border-top: 1px solid var(--ligne); }
.question summary {
  list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 24px; line-height: 1.1;
}
.question summary::-webkit-details-marker { display: none; }
.question summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; background: var(--gris); display: grid; place-items: center;
  font-family: var(--corps); font-size: 20px; font-weight: 500; transition: background .2s, color .2s, transform .2s;
}
.question[open] summary::after { content: "−"; background: var(--rouge); color: var(--blanc); }
.question p { padding: 0 60px 28px 0; color: var(--texte); }

/* candidature */
.candidature { background: var(--gris); padding: 0 0 140px; }
.cand-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; border-radius: var(--rayon); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.35); padding: 0; max-width: calc(var(--large) - 64px); }
.candidature { padding-top: 120px; }
.cand-info { background: var(--noir); color: var(--blanc); padding: 64px 56px; }
.cand-info .titre-section { font-size: clamp(40px, 4.6vw, 64px); }
.cand-info > p { margin-top: 26px; color: rgba(255,255,255,.65); }
.coordonnees { margin-top: 46px; }
.coordonnees li { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 16px; font-weight: 600; }
.coordonnees span, .coordonnees strong { display: block; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.coordonnees a { text-decoration: none; }
.formulaire { background: var(--blanc); padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; align-content: start; }
.champ { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.champ > span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #333; }
.champ-large, .formulaire .btn { grid-column: 1 / -1; }
.champ input[type=text], .champ input[type=tel], .champ input[type=email], .champ input[type=password], .champ textarea {
  font: inherit; font-size: 15px; padding: 15px 16px; border: 1px solid var(--ligne); border-radius: var(--rayon);
  background: var(--gris); color: var(--noir); outline: none; transition: border-color .2s, background .2s; width: 100%;
}
.champ textarea { resize: vertical; min-height: 120px; }
.champ input:focus, .champ textarea:focus { border-color: var(--noir); background: var(--blanc); }
.choix-ligne, .choix-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choix-grille { grid-template-columns: repeat(4, 1fr); }
.choix {
  display: flex; align-items: center; gap: 10px; padding: 14px 14px; border: 1px solid var(--ligne); border-radius: var(--rayon);
  font-size: 14px; font-weight: 600; cursor: pointer; background: var(--gris); transition: border-color .2s, background .2s;
}
.choix input { accent-color: var(--rouge); margin: 0; }
.choix:has(input:checked) { border-color: var(--rouge); background: var(--blanc); }

/* pied */
.pied { background: var(--noir); color: var(--blanc); padding: 90px 0 0; }
.pied-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 70px; }
.pied-marque img { width: 220px; margin-bottom: 26px; }
.pied-marque p { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 26px; line-height: 1.05; color: rgba(255,255,255,.85); }
.pied .pied-titre { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--rouge); margin-bottom: 18px; }
.pied-nav { display: flex; flex-direction: column; gap: 10px; }
.pied-nav a, .pied-contact a { text-decoration: none; color: rgba(255,255,255,.75); font-size: 15px; }
.pied-nav a:hover, .pied-contact a:hover { color: var(--blanc); }
.pied-contact p { color: rgba(255,255,255,.75); font-size: 15px; margin-bottom: 10px; }
.pied-contact .btn { margin-top: 16px; color: var(--blanc); }
.pied-bas { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; padding-bottom: 30px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.45); }

/* responsive */
@media (max-width: 1240px) {
  .entete-in { gap: 28px; }
  .nav { gap: 20px; }
  .nav a { font-size: 11px; letter-spacing: .1em; }
}
@media (max-width: 1100px) {
  .grille-4 { grid-template-columns: repeat(2, 1fr); gap: 34px 16px; }
  .offre-forte { transform: none; }
  .m-nom { font-size: 21px; }
  .marche-elite .m-nom { font-size: 30px; }
  .nav, .entete-cta { display: none; }
  .nav a[data-mobile] { display: block; color: var(--rouge); }
  .burger {
    display: flex; flex-direction: column; gap: 6px; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .burger span { width: 26px; height: 2px; background: var(--noir); transition: transform .25s; }
  .entete.ouvert .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .entete.ouvert .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .entete.ouvert .nav {
    display: flex; flex-direction: column; position: absolute; top: 84px; left: 0; right: 0; background: var(--blanc);
    padding: 20px 32px 30px; border-bottom: 1px solid var(--ligne); gap: 6px; box-shadow: 0 30px 40px -30px rgba(0,0,0,.25);
  }
  .entete.ouvert .nav a { font-size: 14px; padding: 12px 0; align-self: flex-start; }
}
@media (max-width: 960px) {
  .conteneur { padding: 0 24px; }
  .nav, .entete-cta { display: none; }
  .entete.ouvert .nav { padding-left: 24px; padding-right: 24px; }
  .hero-in, .competences, .opp-in, .res-in, .faq-in, .grades-tete, .cand-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-tete, .hero-texte, .hero-visuel { grid-column: 1; grid-row: auto; }
  .hero-in, .cand-in { row-gap: 0; }
  .hero-texte { padding: 26px 0 0; }
  .hero-visuel { margin: 48px 0 -120px; aspect-ratio: 4/4.4; }
  .slogan { padding-top: 180px; }
  .slogan-texte { max-width: none; }
  .slogan-fond { font-size: 220px; bottom: -70px; }
  .frise { grid-template-columns: 1fr; margin-bottom: 80px; }
  .frise-b { padding-left: 0; border-left: 0; border-top: 1px solid var(--ligne); padding-top: 30px; }
  .frise-barre { order: -1; margin-bottom: 30px; }
  .grille-3 { grid-template-columns: 1fr; }
  .tete-ligne { flex-direction: column; align-items: flex-start; }
  .opp-visuel { aspect-ratio: 4/3; }
  .cand-info, .formulaire { padding: 40px 28px; }
  .pied-in { grid-template-columns: 1fr 1fr; }
  .pied-marque { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .conteneur { padding: 0 16px; }
  .entete-in { height: 70px; }
  .entete.ouvert .nav { top: 70px; }
  .logo img { width: 140px; }
  .hero { padding-top: 34px; }
  .hero-titre .l1, .hero-titre .l2 { white-space: normal; font-size: 58px; }
  .pastille { font-size: 10px; letter-spacing: .14em; }
  .hero-faits strong { font-size: 30px; }
  .hero-faits li { padding-right: 12px; }
  .hero-faits li + li { padding-left: 12px; }
  .hero-faits span { font-size: 12px; }
  .boutons .btn { width: 100%; }
  .programme, .parcours, .offres, .opportunites, .faq { padding: 90px 0; }
  .grades { padding-top: 90px; }
  .frise-duree strong { font-size: 84px; }
  .frise-barre .m { height: 40px; font-size: 0; padding: 0; }
  .grille-4 { grid-template-columns: 1fr; }
  .escalier { grid-template-columns: 1fr; gap: 6px; }
  .marche { height: auto; min-height: 64px; flex-direction: row; align-items: center; gap: 18px; justify-content: flex-start;
    width: calc(40% + var(--h) * 10%); border-radius: 0 var(--rayon) var(--rayon) 0; border-top: 0; border-left: 4px solid var(--rouge); padding: 14px 18px; }
  .escalier { justify-items: start; }
  .marche-elite { border-left-color: var(--noir); }
  .marche-elite .m-nom { font-size: 30px; }
  .formulaire { grid-template-columns: 1fr; }
  .choix-grille { grid-template-columns: 1fr 1fr; }
  .question summary { font-size: 20px; }
  .question p { padding-right: 0; }
  .res-liste li { font-size: 24px; }
  .candidature { padding: 0 0 0; }
  .cand-in { border-radius: 0; }
  .cand-in.conteneur { padding: 0; }
  .pied-in { grid-template-columns: 1fr; gap: 40px; }
  .pied-bas { flex-direction: column; }
}

/* ===== Pages internes ===== */
.nav a.actif { color: var(--noir); }
.nav a.actif::after { width: 100%; }
.nav a[data-mobile] { display: none; }
.lien-clair { color: var(--blanc); border-bottom-color: var(--rouge); }
.btn-blanc { background: var(--blanc); color: var(--noir); }
.btn-blanc:hover { background: var(--noir); color: var(--blanc); }

/* bandeau de page */
.page-tete { padding: 48px 0 120px; position: relative; }
.page-tete-in { display: grid; grid-template-columns: 1fr 420px; gap: 72px; align-items: end; }
.fil { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--texte); margin-bottom: 36px; }
.fil a { text-decoration: none; color: var(--rouge); }
.page-titre {
  font-family: var(--display); text-transform: uppercase; font-style: italic; font-weight: 900;
  font-size: clamp(48px, 7.4vw, 108px); line-height: .88; letter-spacing: -.01em; hyphens: none; text-wrap: balance;
}
.page-intro { margin-top: 30px; font-size: 18px; color: var(--texte); max-width: 620px; }
.page-intro a { color: var(--rouge); font-weight: 600; }
.page-tete .boutons { margin-top: 34px; }
.page-visuel { border-radius: var(--rayon); overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 40px 80px -30px rgba(0,0,0,.45); }
.page-visuel img { width: 100%; height: 100%; object-fit: cover; }
.page-tete-seule { padding-bottom: 100px; border-bottom: 1px solid var(--ligne); }
.page-tete-seule .page-titre { max-width: 1000px; }
.ancres { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 40px; }
.ancres a {
  text-decoration: none; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--ligne);
  font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .04em;
  transition: background .2s, color .2s, border-color .2s;
}
.ancres a:hover { background: var(--noir); color: var(--blanc); border-color: var(--noir); }

/* cartes texte (vision / mission) */
.bande-texte { padding: 120px 0; }
.grille-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.carte-texte { padding: 52px 48px; border-radius: var(--rayon); background: var(--gris); border-top: 4px solid var(--rouge); }
.carte-texte:nth-child(2) { background: var(--noir); color: var(--blanc); }
.carte-texte:nth-child(2) p:last-child { color: rgba(255,255,255,.7); }
.ct-num { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 22px; color: var(--rouge); }
.carte-texte h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 54px; line-height: 1; margin: 10px 0 20px; }
.carte-texte p:last-child { color: var(--texte); font-size: 17px; }

/* citation sur bande noire */
.slogan-citation .slogan-texte { font-size: clamp(34px, 4.6vw, 64px); max-width: 82%; line-height: .98; }

/* pourquoi 365 */
.pourquoi { padding: 140px 0; }
.pourquoi-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.chiffre-geant { font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(160px, 22vw, 320px); line-height: .8; color: var(--rouge); letter-spacing: -.03em; }
.pourquoi-texte .titre-section { font-size: clamp(34px, 4vw, 54px); margin-bottom: 30px; }

/* piliers */
.culture { padding: 130px 0; background: var(--gris); }
.piliers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pilier { background: var(--blanc); border-radius: var(--rayon); padding: 34px 28px 38px; transition: transform .3s, box-shadow .3s; }
.pilier:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.3); }
.pilier-num { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 64px; line-height: .9; color: var(--rouge); margin-bottom: 26px; }
.pilier h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1.05; margin-bottom: 12px; }
.pilier p { color: var(--texte); font-size: 15px; }

/* rangées image / texte */
.rangee-section { padding: 130px 0; }
.rangee-grise { background: var(--gris); }
.rangee { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.rangee-inverse .rangee-visuel { order: 2; }
.rangee-visuel { border-radius: var(--rayon); overflow: hidden; aspect-ratio: 5/4; }
.rangee-visuel img { width: 100%; height: 100%; object-fit: cover; }
.rangee-texte .titre-section { font-size: clamp(38px, 4.6vw, 64px); margin-bottom: 22px; }
.rangee-texte > p { color: var(--texte); font-size: 17px; }
.rangee-texte > p.rangee-accroche { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 24px; line-height: 1.1; color: var(--noir); margin-bottom: 22px; }
.rangee-texte .btn { margin-top: 34px; }
.puces li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--ligne); font-size: 16px; }
.puces li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 10px; background: var(--rouge); border-radius: 2px; }
.frise-phase .puces { margin-top: 6px; }
.frise-phase .puces li { color: var(--texte); font-size: 15px; }

/* bande d'information */
.bande-info { padding: 0 0 120px; }
.bande-info-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 40px 44px; border: 1px solid var(--ligne); border-left: 4px solid var(--rouge); border-radius: var(--rayon); }
.bande-info p { font-size: 17px; color: var(--texte); max-width: 720px; }
.bande-info strong { color: var(--noir); }

/* cta final */
.cta-final { background: var(--noir); color: var(--blanc); padding: 120px 0; position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; right: -10%; bottom: -50%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(204,0,0,.35), rgba(204,0,0,0)); pointer-events: none; }
.cta-in { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.cta-texte, .cta-actions { position: relative; z-index: 1; }
.cta-texte .titre-section { font-style: italic; font-weight: 900; max-width: 760px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }

/* programme : étapes + compétences */
.programme-page { padding-top: 120px; }
.programme-page .frise { margin-bottom: 0; }
.etapes-section { background: var(--noir); color: var(--blanc); padding: 120px 0; }
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.etapes > * { padding: 30px 30px 0 0; border-top: 2px solid rgba(255,255,255,.15); position: relative; }
.etapes > *::before { content: ""; position: absolute; top: -2px; left: 0; width: 60px; height: 2px; background: var(--rouge); }
.etapes > * + * { padding-left: 30px; }
.etapes > * + *::before { left: 30px; }
.e-num { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 56px; line-height: 1; color: var(--rouge); }
.etapes h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1.05; margin: 18px 0 10px; }
.etapes p { color: rgba(255,255,255,.65); font-size: 15px; }
.competences-page { padding: 130px 0; }
.grille-comp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; }
.comp { background: var(--blanc); padding: 36px 32px; transition: background .25s, color .25s; }
.comp > span, .comp-num { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 20px; color: var(--rouge); }
.comp h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1.05; margin: 14px 0 10px; }
.comp p { color: var(--texte); font-size: 15px; }
.comp:hover { background: var(--noir); color: var(--blanc); }
.comp:hover p { color: rgba(255,255,255,.7); }

/* niveaux d'accès */
.offres-page { padding: 140px 0 120px; }
.distinction { padding: 120px 0; }
.distinction-in { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: stretch; }
.dist-carte { padding: 52px 48px; border-radius: var(--rayon); background: var(--gris); }
.dist-carte h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 44px; line-height: 1; margin-bottom: 18px; }
.dist-carte p:not(.etiquette) { color: var(--texte); font-size: 17px; }
.dist-noire { background: var(--noir); color: var(--blanc); }
.dist-noire p:not(.etiquette) { color: rgba(255,255,255,.7); }
.dist-noire .lien-fleche { margin-top: 26px; }
.dist-signe { font-family: var(--display); font-weight: 900; font-size: 90px; color: var(--rouge); line-height: 1; align-self: center; }

/* grades : détail */
.grades-page { padding-top: 100px; }
.grades-detail { padding: 130px 0; }
.gd-liste > * { display: grid; grid-template-columns: 90px 300px 1fr; gap: 30px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--ligne); }
.gd-liste > :first-child { border-top: 1px solid var(--ligne); }
.gd-num { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 40px; color: var(--rouge); line-height: 1; }
.gd-liste h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 36px; line-height: 1; }
.gd-liste p { color: var(--texte); font-size: 17px; }
.gd-elite h3 { color: var(--rouge); font-style: italic; font-weight: 900; }

/* opportunités : cartes */
.opp-page { padding: 130px 0; }
.cartes-opp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.co { padding: 32px 28px 36px; border-radius: var(--rayon); border: 1px solid var(--ligne); transition: border-color .25s, transform .25s; }
.co:hover { border-color: var(--noir); transform: translateY(-4px); }
.co > span, .co-num { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 44px; line-height: 1; color: var(--rouge); }
.co h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1.05; margin: 20px 0 10px; }
.co p { color: var(--texte); font-size: 15px; }
.co-noire { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.co-noire p { color: rgba(255,255,255,.75); }

/* résultats : cartes */
.res-page { padding: 130px 0; }
.res-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rc { padding: 38px 34px; border-radius: var(--rayon); background: var(--gris); display: flex; flex-direction: column; }
.rc > span, .rc-num { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 44px; line-height: 1; color: var(--rouge); }
.rc h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1.05; margin: 22px 0 12px; }
.rc p { color: var(--texte); font-size: 15px; }
.rc .rc-etat { margin-top: auto; padding-top: 26px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--noir); }
.rc-rouge { background: var(--rouge); color: var(--blanc); }
.rc-rouge span { color: var(--blanc); }
.rc-rouge p { color: rgba(255,255,255,.85); }
.rc-rouge .btn { margin-top: 26px; align-self: flex-start; }

/* faq et candidature en page */
.faq-page { padding-top: 120px; }
.candidature-page { padding-top: 120px; }
.cand-info .btn { margin-top: 30px; }

/* formulaire : états */
.form-erreur { display: none; grid-column: 1 / -1; font-size: 14px; font-weight: 600; color: var(--rouge); }
.formulaire.invalide .form-erreur { display: block; }
.formulaire.invalide input:invalid, .formulaire.invalide textarea:invalid { border-color: var(--rouge); }
.form-merci { display: none; grid-column: 1 / -1; padding: 30px; border-radius: var(--rayon); background: var(--noir); color: var(--blanc); }
.fm-titre { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 34px; line-height: 1; margin-bottom: 10px; color: var(--blanc); }
.form-merci p:last-child { color: rgba(255,255,255,.75); }
.formulaire.envoye > :not(.form-merci) { display: none; }
.formulaire.envoye .form-merci { display: block; }

@media (max-width: 1100px) {
  .piliers, .cartes-opp { grid-template-columns: repeat(2, 1fr); }
  .gd-liste > * { grid-template-columns: 70px 220px 1fr; }
}
@media (max-width: 960px) {
  .nav a[data-mobile] { display: block; color: var(--rouge); }
  .page-tete-in, .grille-2, .pourquoi-in, .rangee, .distinction-in { grid-template-columns: 1fr; gap: 40px; }
  .rangee-inverse .rangee-visuel { order: 0; }
  .page-visuel { aspect-ratio: 4/3; }
  .page-tete { padding-bottom: 80px; }
  .etapes { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .etapes > :nth-child(3) { padding-left: 0; }
  .etapes > :nth-child(3)::before { left: 0; }
  .grille-comp, .res-cartes { grid-template-columns: 1fr 1fr; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .bande-info-in { flex-direction: column; align-items: flex-start; }
  .dist-signe { text-align: center; font-size: 60px; }
  .gd-liste > * { grid-template-columns: 60px 1fr; }
  .gd-liste p { grid-column: 2; }
  .slogan-citation .slogan-texte { max-width: none; }
}
@media (max-width: 640px) {
  .page-tete { padding: 30px 0 70px; }
  .fil { margin-bottom: 24px; }
  .page-titre { font-size: 50px; }
  .bande-texte, .pourquoi, .culture, .rangee-section, .competences-page, .grades-detail, .opp-page, .res-page, .distinction, .cta-final, .etapes-section { padding: 80px 0; }
  .bande-info { padding-bottom: 80px; }
  .offres-page { padding: 80px 0; }
  .candidature-page { padding-top: 0; }
  .carte-texte, .dist-carte { padding: 36px 26px; }
  .carte-texte h2 { font-size: 42px; }
  .piliers, .cartes-opp, .grille-comp, .res-cartes, .etapes { grid-template-columns: 1fr; }
  .etapes > *, .etapes > * + * { padding-left: 0; }
  .etapes > * + *::before { left: 0; }
  .gd-liste h3 { font-size: 28px; }
  .bande-info-in { padding: 28px 22px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .ancres a { font-size: 15px; padding: 10px 16px; }
}

/* encadrés alignés sur la grille du contenu */
.conteneur.bande-info-in { width: calc(100% - 64px); max-width: calc(var(--large) - 64px); padding: 40px 44px; }
@media (max-width: 960px) { .conteneur.bande-info-in { width: calc(100% - 48px); } }
@media (max-width: 640px) { .conteneur.bande-info-in { width: calc(100% - 32px); padding: 28px 22px; } }

/* ===== Affiliation, inscription, connexion, espace membre ===== */

/* en-tête : accès à l'espace */
.lien-espace {
  text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--noir); padding-left: 24px; border-left: 1px solid var(--ligne); white-space: nowrap;
}
.lien-espace:hover, .lien-espace.actif { color: var(--rouge); }

/* formulaire d'inscription */
.form-groupe {
  grid-column: 1 / -1; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px;
  line-height: 1; padding-top: 14px; border-top: 1px solid var(--ligne);
}
.formulaire > .form-groupe:first-of-type, .parrain + .form-groupe { border-top: 0; padding-top: 0; }
.parrain {
  display: none; grid-column: 1 / -1; padding: 14px 18px; border-radius: var(--rayon);
  background: var(--noir); color: rgba(255,255,255,.8); font-size: 14px;
}
.parrain strong { color: var(--blanc); letter-spacing: .06em; }
.formulaire.a-parrain .parrain { display: block; }
.consentement { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--texte); cursor: pointer; }
.consentement input { accent-color: var(--rouge); margin: 3px 0 0; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--texte); }
.form-merci .btn { margin-top: 18px; }

/* connexion */
.connexion-section { padding: 48px 0 140px; }
.connexion-in { display: grid; grid-template-columns: 1fr 480px; gap: 80px; align-items: center; }
.connexion-texte .puces { margin-top: 34px; max-width: 520px; }
.carte-connexion {
  background: var(--blanc); border-radius: var(--rayon); padding: 48px 44px; display: grid; gap: 20px;
  border-top: 4px solid var(--rouge); box-shadow: 0 40px 80px -40px rgba(0,0,0,.4);
}
.cc-titre { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 40px; line-height: 1; }
.carte-connexion .champ input {
  font: inherit; font-size: 15px; padding: 15px 16px; border: 1px solid var(--ligne); border-radius: var(--rayon);
  background: var(--gris); color: var(--noir); outline: none; width: 100%;
}
.carte-connexion .champ input:focus { border-color: var(--noir); background: var(--blanc); }
.cc-options { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.cc-options a { color: var(--rouge); font-weight: 600; text-decoration: none; }
.cc-bas { font-size: 14px; color: var(--texte); text-align: center; }
.cc-bas a { color: var(--rouge); font-weight: 700; }

/* page affiliation */
.taux-grades { padding-bottom: 0; }
.escalier-taux .m-num { font-size: 40px; color: var(--blanc); font-style: italic; line-height: 1; }
.escalier-taux .marche-elite .m-num { font-size: 52px; }
.exemple-section { padding: 130px 0; }
.exemple-in { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.exemple-texte .titre-section { font-size: clamp(36px, 4.2vw, 56px); margin-bottom: 24px; }
.exemple-texte p:last-child { color: var(--texte); font-size: 17px; max-width: 480px; }
.calcul { background: var(--noir); color: var(--blanc); border-radius: var(--rayon); padding: 40px 44px; }
.calcul-ligne, .calcul-total { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.calcul-ligne span { color: rgba(255,255,255,.65); }
.calcul-ligne strong { font-family: var(--display); font-weight: 800; font-size: 28px; }
.calcul-total { border-bottom: 0; padding-top: 26px; }
.calcul-total span { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px; }
.calcul-total strong { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 54px; color: var(--rouge); line-height: 1; }
.regles-section { padding: 130px 0 120px; background: var(--gris); }
.regles-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; margin-bottom: 40px; }
.regles-section .liste-num li { font-weight: 500; }
.regles-section .avertissement { background: var(--blanc); }

/* espace membre — bandeau */
.membre-tete { background: var(--noir); color: var(--blanc); padding: 64px 0 72px; position: relative; overflow: hidden; }
.membre-tete::before {
  content: ""; position: absolute; left: -10%; top: -40%; width: 60%; height: 140%;
  background: radial-gradient(closest-side, rgba(204,0,0,.32), rgba(204,0,0,0)); pointer-events: none;
}
.membre-tete-in { position: relative; display: grid; grid-template-columns: 1fr 560px; gap: 60px; align-items: center; }
.membre-nom {
  font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: clamp(48px, 6.4vw, 92px); line-height: .9; letter-spacing: -.01em;
}
.membre-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge {
  padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75);
}
.badge strong { color: var(--blanc); }
.badge-grade { background: var(--rouge); border-color: var(--rouge); color: var(--blanc); font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: .06em; padding: 6px 18px; }
.partage { display: grid; grid-template-columns: 1fr 150px; gap: 24px; background: var(--blanc); color: var(--noir); border-radius: var(--rayon); padding: 28px; }
.partage-label { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--texte); margin-bottom: 8px; }
.copie { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.copie-valeur {
  flex: 1; min-width: 0; padding: 11px 14px; border-radius: var(--rayon); background: var(--gris); border: 1px solid var(--ligne);
  font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.copie-bouton {
  flex-shrink: 0; padding: 11px 16px; border-radius: 999px; background: var(--noir); color: var(--blanc); cursor: pointer;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: background .2s;
}
.copie-bouton:hover { background: var(--rouge); }
.copie-bouton.copie-ok { background: var(--rouge); }
.partage-aide { font-size: 13px; color: var(--texte); line-height: 1.5; }
.qr { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-left: 1px solid var(--ligne); padding-left: 24px; }
.qr img, .qr svg { width: 126px; height: 126px; display: block; image-rendering: pixelated; }
.qr figcaption { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--texte); text-align: center; }

/* espace membre — onglets et panneaux */
.espace { padding: 56px 0 130px; background: var(--gris); }
.onglets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.onglet {
  padding: 13px 22px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--ligne); cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .03em;
  transition: background .2s, color .2s, border-color .2s;
}
.onglet:hover { border-color: var(--noir); }
.onglet.est-actif { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.panneau { display: none; }
.panneau.est-actif { display: block; }
.panneau-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 24px; }
.panneau-tete .titre-moyen { margin-bottom: 0; }
.panneau-intro { color: var(--texte); max-width: 520px; font-size: 15px; }

.kpis, .soldes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
.kpi, .solde { background: var(--blanc); border-radius: var(--rayon); padding: 24px 24px 26px; border: 1px solid var(--ligne); }
.kpi-label { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--texte); margin-bottom: 12px; }
.kpi-valeur { font-family: var(--display); font-weight: 900; font-size: 52px; line-height: .95; }
.kpi-valeur small, .solde-valeur small { font-size: 18px; font-weight: 700; color: var(--texte); }
.kpi-noir { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.kpi-noir .kpi-label, .kpi-noir small { color: rgba(255,255,255,.6) !important; }
.solde-valeur { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; }
.solde-note { margin-top: 10px; font-size: 13px; color: var(--texte); }
.solde-rouge { background: var(--rouge); border-color: var(--rouge); color: var(--blanc); }
.solde-rouge .kpi-label, .solde-rouge small, .solde-rouge .solde-note { color: rgba(255,255,255,.8) !important; }

.progression { background: var(--blanc); border-radius: var(--rayon); padding: 40px 40px 44px; margin-top: 28px; border-top: 4px solid var(--rouge); }
.prog-tete { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; margin-bottom: 36px; }
.prog-tete .titre-moyen { margin-bottom: 14px; }
.prog-intro { color: var(--texte); font-size: 15px; }
.mini-escalier { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; align-items: end; }
.mini-escalier li {
  background: var(--gris); color: var(--texte); border-radius: 4px 4px 0 0; padding: 8px 6px;
  font-family: var(--display); font-weight: 700; font-size: 13px; text-transform: uppercase; line-height: 1.05;
  display: flex; align-items: flex-end;
}
.mini-escalier li:nth-child(1) { height: 40px; } .mini-escalier li:nth-child(2) { height: 56px; } .mini-escalier li:nth-child(3) { height: 72px; }
.mini-escalier li:nth-child(4) { height: 88px; } .mini-escalier li:nth-child(5) { height: 104px; } .mini-escalier li:nth-child(6) { height: 120px; }
.mini-escalier .fait { background: var(--noir); color: rgba(255,255,255,.7); }
.mini-escalier .actuel { background: var(--rouge); color: var(--blanc); }
.barres { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.barre-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.barre-tete span { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px; }
.barre-tete strong { font-size: 14px; }
.barre-piste { height: 10px; background: var(--gris); border-radius: 5px; overflow: hidden; }
.barre-rempli { display: block; height: 100%; width: var(--p); background: var(--rouge); border-radius: 5px; }
.barre-note { margin-top: 10px; font-size: 13px; color: var(--texte); }

.activite { margin-top: 28px; background: var(--blanc); border-radius: var(--rayon); padding: 32px 40px 18px; }
.flux li { display: flex; gap: 22px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--ligne); }
.flux li:first-child { border-top: 0; }
.flux-date { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 20px; color: var(--rouge); min-width: 54px; }
.flux p { font-size: 15px; color: var(--texte); }
.flux strong { color: var(--noir); }

.tableau-defile { overflow-x: auto; background: var(--blanc); border-radius: var(--rayon); border: 1px solid var(--ligne); }
.tableau { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 720px; }
.tableau th {
  text-align: left; padding: 16px 20px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--texte); border-bottom: 1px solid var(--ligne); background: var(--blanc);
}
.tableau td { padding: 16px 20px; border-bottom: 1px solid var(--ligne); white-space: nowrap; }
.tableau tr:last-child td { border-bottom: 0; }
.tableau tbody tr:hover td { background: #FAFAFA; }
.tableau-pied { margin-top: 14px; font-size: 14px; color: var(--texte); }
.statut { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.statut-ok { background: var(--noir); color: var(--blanc); }
.statut-dispo { background: var(--rouge); color: var(--blanc); }
.statut-attente { background: var(--blanc); color: var(--noir); border: 1px solid var(--noir); }
.statut-neutre { background: var(--gris); color: var(--texte); }

.profil { background: var(--blanc); border-radius: var(--rayon); display: grid; grid-template-columns: 1fr 1fr; margin: 0; border: 1px solid var(--ligne); }
.profil div { padding: 22px 28px; border-bottom: 1px solid var(--ligne); }
.profil div:nth-child(odd) { border-right: 1px solid var(--ligne); }
.profil div:nth-last-child(-n+2) { border-bottom: 0; }
.profil dt { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--texte); margin-bottom: 6px; }
.profil dd { margin: 0; font-weight: 600; }

@media (max-width: 1240px) {
  .lien-espace { padding-left: 18px; font-size: 11px; }
}
@media (max-width: 1100px) {
  .lien-espace { display: none; }
  .membre-tete-in { grid-template-columns: 1fr; gap: 40px; }
  .kpis, .soldes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .connexion-in, .exemple-in, .regles-in, .prog-tete, .barres { grid-template-columns: 1fr; gap: 40px; }
  .connexion-section { background: var(--blanc); }
  .panneau-tete { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 640px) {
  .carte-connexion { padding: 34px 24px; }
  .exemple-section, .regles-section { padding: 80px 0; }
  .calcul { padding: 28px 24px; }
  .calcul-total strong { font-size: 40px; }
  .membre-tete { padding: 44px 0 52px; }
  .membre-nom { font-size: 52px; }
  .partage { grid-template-columns: 1fr; padding: 22px; }
  .qr { border-left: 0; border-top: 1px solid var(--ligne); padding: 20px 0 0; }
  .espace { padding: 32px 0 80px; }
  .onglets { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 24px; padding: 0 16px 4px; }
  .onglet { white-space: nowrap; font-size: 15px; padding: 11px 16px; }
  .kpi-valeur { font-size: 40px; }
  .solde-valeur { font-size: 28px; }
  .progression { padding: 28px 22px 32px; }
  .mini-escalier li { font-size: 9px; padding: 6px 3px; }
  .activite { padding: 24px 22px 10px; }
  .profil { grid-template-columns: 1fr; }
  .profil div:nth-child(odd) { border-right: 0; }
  .profil div:nth-last-child(2) { border-bottom: 1px solid var(--ligne); }
}
.nav a[data-compact] { display: none; }
.nav a { white-space: nowrap; }
@media (max-width: 1100px) {
  .entete.ouvert .nav a[data-compact] { display: block; }
}
/* le lien d'affiliation (sans retour à la ligne) ne doit pas élargir la grille */
.membre-tete-in > *, .partage > *, .partage-infos { min-width: 0; }
/* le formulaire ne doit pas imposer sa largeur minimale à la grille du bloc candidature */
.cand-in > *, .formulaire > *, .formulaire .champ { min-width: 0; }

/* bouton principal de partage dans l'espace membre */
.bouton-copier-lien {
  display: block; width: 100%; text-align: center; margin-bottom: 22px; padding: 16px 20px;
  background: var(--rouge); color: var(--blanc); font-size: 13px; letter-spacing: .1em;
}
.bouton-copier-lien::after { content: " →"; }
.bouton-copier-lien:hover, .bouton-copier-lien.copie-ok { background: var(--noir); }

/* ===== Inscription et paiement ===== */
.inscription-section { padding: 40px 0 120px; background: linear-gradient(var(--blanc) 0 220px, var(--gris) 220px); }
.etapes-achat { display: flex; gap: 8px; margin: 26px 0 40px; flex-wrap: wrap; }
.etapes-achat li {
  display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--gris); border: 1px solid var(--ligne);
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--texte);
}
.etapes-achat span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--blanc); color: var(--noir); font-size: 12px; letter-spacing: 0; }
.etapes-achat .fait { color: var(--noir); }
.etapes-achat .fait span { background: var(--noir); color: var(--blanc); }
.etapes-achat .actif { background: var(--rouge); border-color: var(--rouge); color: var(--blanc); }
.etapes-achat .actif span { background: var(--blanc); color: var(--rouge); }
.inscription-in { display: grid; grid-template-columns: 420px 1fr; gap: 0; border-radius: var(--rayon); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.35); max-width: calc(var(--large) - 64px); padding: 0; }
.inscription-in > * { min-width: 0; }
.recap { background: var(--noir); color: var(--blanc); padding: 52px 44px; position: relative; overflow: hidden; }
.recap::after {
  content: "365"; position: absolute; right: -10px; bottom: -60px; font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: 220px; line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.1); pointer-events: none;
}
.recap > * { position: relative; z-index: 1; }
.recap-nom { font-family: var(--display); text-transform: uppercase; font-weight: 700; font-size: 22px; letter-spacing: .06em; color: rgba(255,255,255,.6); line-height: 1; }
.recap-nom strong { display: block; font-size: 52px; color: var(--blanc); letter-spacing: 0; font-weight: 900; font-style: italic; margin-top: 6px; line-height: .95; }
.recap-prix { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 64px; line-height: 1; color: var(--rouge); margin: 28px 0 14px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.recap-prix em { font-size: 22px; font-style: normal; font-weight: 700; color: rgba(255,255,255,.6); }
.recap-texte { color: rgba(255,255,255,.8); font-size: 16px; margin-bottom: 22px; }
.recap-avantages li { position: relative; padding: 11px 0 11px 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; color: rgba(255,255,255,.85); }
.recap-avantages li::before { content: "✓"; position: absolute; left: 0; top: 11px; color: var(--rouge); font-weight: 700; }
.recap-changer { margin-top: 26px; font-size: 13px; color: rgba(255,255,255,.55); }
.recap-changer a { color: var(--blanc); }
.formulaire-achat { align-content: start; }
.total { background: var(--gris); border-radius: var(--rayon); padding: 6px 20px; }
.total-ligne { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 15px; color: var(--texte); }
.total-ligne + .total-ligne { border-top: 1px solid var(--ligne); }
.total-final span { font-weight: 700; color: var(--noir); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; align-self: center; }
.total-final strong { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 32px; color: var(--noir); line-height: 1; }
.garanties { display: grid; gap: 6px; }
.garanties li { position: relative; padding-left: 22px; font-size: 13px; color: var(--texte); }
.garanties li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 2px; background: var(--rouge); }
.choix-grille-3 { grid-template-columns: repeat(3, 1fr); }
.choix-grille-5 { grid-template-columns: repeat(3, 1fr); }
.formulaire .form-groupe:first-child { border-top: 0; padding-top: 0; }
.cand-info p a { color: var(--blanc); font-weight: 700; }

/* résultat du paiement */
.paiement-section { background: var(--gris); }
.resultat { display: none; background: var(--blanc); border-radius: var(--rayon); padding: 56px 56px 60px; border-top: 4px solid var(--rouge); box-shadow: 0 40px 80px -40px rgba(0,0,0,.3); max-width: 920px; }
.resultat.est-actif { display: block; }
.resultat-icone { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--rouge); color: var(--blanc); font-size: 34px; font-weight: 700; margin-bottom: 26px; }
.resultat-icone-attente { background: var(--noir); }
.resultat-icone-echec { background: var(--gris); color: var(--rouge); border: 2px solid var(--rouge); }
.resultat .page-titre { font-size: clamp(40px, 5.6vw, 76px); }
.recu { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; margin: 34px 0; }
.recu div { background: var(--blanc); padding: 18px 20px; }
.recu dt { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--texte); margin-bottom: 6px; }
.recu dd { margin: 0; font-weight: 700; }
.prochaines { margin-bottom: 34px; }
.apercu-etats { margin-top: 24px; font-size: 13px; color: var(--texte); }
.apercu-etats a { color: var(--rouge); }

@media (max-width: 960px) {
  .inscription-in { grid-template-columns: 1fr; }
  .choix-grille-5 { grid-template-columns: repeat(2, 1fr); }
  .resultat { padding: 40px 28px; }
}
@media (max-width: 640px) {
  .inscription-section { padding-bottom: 80px; }
  .inscription-in.conteneur { padding: 0; }
  .inscription-in { border-radius: 0; }
  .recap { padding: 36px 24px; }
  .recap-nom strong { font-size: 42px; }
  .recap-prix { font-size: 50px; }
  .choix-grille-3 { grid-template-columns: 1fr 1fr; }
  .etapes-achat li { padding: 8px 12px 8px 8px; font-size: 10px; }
}


/* =========================================================================
   Adaptations WordPress — ajoutées après le CSS de la maquette.
   Le balisage des blocs diffère du HTML de la maquette sur quelques points :
   chaque règle ci-dessous en rattrape un, sans toucher au design.
   ========================================================================= */

/* Espacement automatique de Gutenberg : coupé dans theme.json (blockGap 0px),
   filet de sécurité ici à spécificité NULLE — jamais .wp-block-group > * */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image { margin: 0; }
img { height: auto; }
.wp-site-blocks { padding: 0; }

/* WordPress remet à zéro la marge du premier et du dernier enfant de chaque groupe
   (:root :where(.is-layout-flow) > :first-child — spécificité 0,2,0, imprimée après
   cette feuille). Les marges de la maquette qui en dépendent sont rétablies ici,
   à spécificité supérieure. Mesuré par la porte 4. */
.hero .hero-in > .hero-visuel { margin-bottom: -150px; }
.cand-in .cand-info > p:first-child { margin-top: 26px; }
/* Dans la maquette, le bouton est en ligne : ses marges ne fusionnent pas avec celles du paragraphe */
.pied-in .pied-contact > .wp-block-buttons { margin-top: 26px; min-height: 52px; }

/* Accents : <em> nu dans les titres (une classe sur un élément inline invalide le bloc) */
h1 em, h2 em, h3 em, .slogan-texte em { font-style: inherit; color: var(--rouge); }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; }
body.admin-bar .entete { top: 32px; }
.entete-in .wp-block-site-logo { line-height: 0; flex-shrink: 0; }
.entete-in .wp-block-site-logo a { display: block; }
.wp-block-navigation.nav { margin-left: auto; color: #333; }
.wp-block-navigation.nav .wp-block-navigation__container { gap: 30px; flex-wrap: nowrap; }
.wp-block-navigation.nav .wp-block-navigation-item__content { white-space: nowrap; }
.entete-in > .wp-block-navigation.nav { flex-wrap: nowrap; }
.wp-block-navigation.nav .wp-block-navigation-item__content {
  text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #333; position: relative; padding: 6px 0;
}
.wp-block-navigation.nav .wp-block-navigation-item__content::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--rouge); transition: width .25s;
}
.wp-block-navigation.nav .wp-block-navigation-item__content:hover::after,
.wp-block-navigation.nav .current-menu-item > .wp-block-navigation-item__content::after { width: 100%; }
.wp-block-navigation.nav .current-menu-item > .wp-block-navigation-item__content { color: var(--noir); }
.wp-block-navigation.nav .nav-mobile { display: none; }

p.burger { display: none; font-size: 0; width: 46px; height: 46px; padding: 0; margin-left: auto; cursor: pointer; position: relative; }
p.burger::before, p.burger::after {
  content: ""; position: absolute; left: 10px; width: 26px; height: 2px; background: var(--noir); transition: transform .25s;
}
p.burger::before { top: 18px; }
p.burger::after { top: 26px; }
.entete.ouvert p.burger::before { transform: translateY(4px) rotate(45deg); }
.entete.ouvert p.burger::after { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Boutons (core/button : la classe est sur le conteneur, le style sur le lien) ---------- */
.wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-family: var(--corps); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.6;
  text-decoration: none; padding: 17px 28px; border-radius: 999px; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap;
}
.wp-block-button .wp-block-button__link::after { content: "→"; transition: transform .2s; }
.wp-block-button .wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button .wp-block-button__link:hover::after { transform: translateX(4px); }
.wp-block-button.b-rouge .wp-block-button__link { background: var(--rouge); color: var(--blanc); }
.wp-block-button.b-rouge .wp-block-button__link:hover { background: var(--rouge-fonce); }
.wp-block-button.b-contour .wp-block-button__link { border-color: var(--noir); color: var(--noir); background: transparent; }
.wp-block-button.b-contour .wp-block-button__link:hover { background: var(--noir); color: var(--blanc); }
.wp-block-button.b-contour-clair .wp-block-button__link { border-color: rgba(255,255,255,.28); color: var(--blanc); background: transparent; }
.wp-block-button.b-contour-clair .wp-block-button__link:hover { border-color: var(--blanc); background: var(--blanc); color: var(--noir); }
.wp-block-button.b-blanc .wp-block-button__link { background: var(--blanc); color: var(--noir); }
.wp-block-button.b-blanc .wp-block-button__link:hover { background: var(--noir); color: var(--blanc); }
.wp-block-button.b-petit .wp-block-button__link { padding: 12px 22px; font-size: 12px; }

.offre .wp-block-buttons, .offre .wp-block-button, .offre .wp-block-button__link { width: 100%; }
.offre .wp-block-button__link { padding: 15px 16px; font-size: 12px; }
.rangee-texte .wp-block-buttons { margin-top: 34px; }
.cand-info .wp-block-buttons { margin-top: 30px; }
.pied-contact .wp-block-buttons { margin-top: 16px; }
.rc-rouge .wp-block-buttons { margin-top: 26px; }

/* ---------- Numéros des cartes : <span> dans la maquette, paragraphe en blocs.
   Les règles « .comp p », « .co p »… de la maquette les atteindraient : on les rétablit. ---------- */
.comp p.comp-num { font-size: 20px; color: var(--rouge); }
.co p.co-num, .rc p.rc-num { font-size: 44px; line-height: 1; color: var(--rouge); }
.co p.co-num { line-height: 46.6px; }
.rc-rouge p.rc-num { color: var(--blanc); }
.etapes p.e-num { font-size: 56px; line-height: 58px; color: var(--rouge); }
.gd-liste p.gd-num { font-size: 40px; line-height: 1; color: var(--rouge); grid-column: 1; }
.ancres p { display: flex; }

/* ---------- Liens fléchés (paragraphe porteur d'un lien) ---------- */
p.lien { margin-top: 34px; display: flex; }
.tete-centre p.lien { justify-content: center; }
p.lien a {
  display: inline-flex; gap: 10px; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--rouge); border-bottom: 2px solid var(--rouge); padding-bottom: 6px;
}
p.lien-clair a { color: var(--blanc); }
.grades-explique p.lien { border: 0; padding: 0; }
.res-texte p.lien { margin-top: 34px; }
.dist-carte p.lien { margin-top: 26px; }

/* ---------- Hero ---------- */
.pastille::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rouge); box-shadow: 0 0 0 4px rgba(204,0,0,.15); }
h1.hero-titre { font-size: clamp(48px, 9.4vw, 136px); white-space: nowrap; }
.hero-titre strong {
  display: block; font-size: clamp(24px, 3.1vw, 44px); font-weight: 800; margin-top: 20px; line-height: 1;
  color: var(--noir); white-space: normal;
}
.hero-faits li { font-size: 13px; color: var(--texte); line-height: 1.4; }
.hero-faits li strong { margin-bottom: 6px; color: var(--noir); }
.hero-visuel .hero-photo { position: absolute; inset: 0; }
.hero-visuel .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero-compteur { display: block; z-index: 1; }
.hero-compteur p { margin: 0; }
.hc-num { display: flex; align-items: flex-end; margin: 10px 0 12px !important; }
.hc-num em { font-size: 22px; color: rgba(255,255,255,.5); font-style: normal; font-weight: 700; margin-left: 4px; }
.hc-num::after {
  content: ""; flex: 1; height: 6px; margin: 0 0 10px 18px; border-radius: 3px;
  background: linear-gradient(90deg, var(--rouge) 0 4%, rgba(255,255,255,.15) 4%);
}
.hc-grade strong { color: var(--blanc); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Bandes noires : le « 365 » en contour est un pseudo-élément ---------- */
.slogan > .conteneur::after, .cta-final > .cta-in::after {
  content: "365"; position: absolute; right: 24px; bottom: -150px; z-index: 0;
  font-family: var(--display); font-weight: 900; font-style: italic; font-size: 400px; line-height: .8;
  color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.14); letter-spacing: -.02em; pointer-events: none;
}

/* ---------- Offres, escalier, listes numérotées ---------- */
.offre-prix em { font-size: 18px; font-style: normal; font-weight: 700; color: rgba(255,255,255,.55); letter-spacing: .06em; }
.offre-forte .offre-prix em { color: var(--texte); }
.marche.n1 { --h: 1; } .marche.n2 { --h: 2; } .marche.n3 { --h: 3; }
.marche.n4 { --h: 4; } .marche.n5 { --h: 5; } .marche.n6 { --h: 6; }
.res-liste { counter-reset: r; }
.res-liste li { counter-increment: r; }
.res-liste li::before { content: counter(r, decimal-leading-zero); font-size: 16px; color: var(--rouge); font-style: italic; }

/* ---------- FAQ (core/details) ---------- */
.wp-block-details.question summary { display: block; }

/* ---------- Formulaire Contact Form 7 ---------- */
.cand-in .wpcf7 { background: var(--blanc); }
.formulaire .wpcf7-form-control-wrap { display: block; }
.formulaire .champ > .wpcf7-form-control-wrap {
  font-size: inherit; font-weight: inherit; letter-spacing: normal; text-transform: none; color: inherit;
}
.formulaire .wpcf7-radio { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.formulaire [data-name="parcours"] .wpcf7-radio { grid-template-columns: repeat(4, 1fr); }
.formulaire .wpcf7-list-item { margin: 0; display: block; }
.formulaire .wpcf7-list-item label {
  display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--ligne); border-radius: var(--rayon);
  font-size: 14px; font-weight: 600; cursor: pointer; background: var(--gris); transition: border-color .2s, background .2s;
  letter-spacing: normal; text-transform: none; color: var(--noir); height: 100%;
}
.formulaire .wpcf7-list-item input { accent-color: var(--rouge); margin: 0; }
.formulaire .wpcf7-list-item label:has(input:checked) { border-color: var(--rouge); background: var(--blanc); }
.formulaire .wpcf7-submit {
  grid-column: 1 / -1; width: 100%; padding: 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--rouge); color: var(--blanc); font-family: var(--corps); font-weight: 700; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; transition: background .2s, transform .2s;
}
.formulaire .wpcf7-submit:hover { background: var(--rouge-fonce); transform: translateY(-2px); }
.formulaire .wpcf7-spinner { position: absolute; opacity: 0; }
.formulaire .wpcf7-not-valid-tip { color: var(--rouge); font-size: 13px; font-weight: 600; margin-top: 6px; }
.formulaire .wpcf7-not-valid { border-color: var(--rouge) !important; }
.wpcf7 form.formulaire .wpcf7-response-output {
  grid-column: 1 / -1; margin: 0; padding: 16px 20px; border-radius: var(--rayon); font-size: 14px; font-weight: 600;
  border: 1px solid var(--rouge); color: var(--rouge);
}
.wpcf7 form.formulaire.sent .wpcf7-response-output { background: var(--noir); border-color: var(--noir); color: var(--blanc); }

/* ---------- Affiliation et espace membre (extension FORGE 365 Core) ---------- */
.wp-block-navigation.nav .nav-compact { display: none; }
p.lien-espace a { text-decoration: none; color: inherit; }
p.lien-espace:hover, .page-espace p.lien-espace, .page-connexion p.lien-espace { color: var(--rouge); }
.calcul-ligne { color: rgba(255,255,255,.65); }
.calcul-ligne strong { color: var(--blanc); }
.calcul-total strong { margin-left: auto; }
.calcul-total { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px; }
.champ-piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-erreur-serveur { display: block; grid-column: 1 / -1; padding: 14px 18px; border: 1px solid var(--rouge); border-radius: var(--rayon); background: #fff5f5; }
.form-erreur-serveur p + p { margin-top: 4px; }
.formulaire-deja { display: block; }
.formulaire-deja .wp-block-buttons { margin-top: 20px; }
.connexion-in > .carte-connexion { align-self: center; }
.carte-connexion .form-erreur-serveur { margin: 0; }
.bienvenue { background: var(--noir); color: var(--blanc); border-radius: var(--rayon); padding: 24px 28px; margin-bottom: 28px; border-left: 4px solid var(--rouge); }
.bienvenue p:last-child { color: rgba(255,255,255,.75); }
.partage-attente { background: var(--gris); border-left: 3px solid var(--rouge); padding: 10px 14px; border-radius: 0 var(--rayon) var(--rayon) 0; font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.partage-inactif .copie-valeur { color: var(--texte); }
.partage-inactif .qr { display: none; }
.partage-inactif { grid-template-columns: 1fr; }
.membre-deconnexion { margin-top: 22px; font-size: 13px; }
.membre-deconnexion a { color: rgba(255,255,255,.6); }
.membre-deconnexion a:hover { color: var(--blanc); }
.tableau-pied a { color: var(--rouge); font-weight: 600; }

/* ---------- Pied de page ---------- */
.pied-nav .wp-block-navigation__container { flex-direction: column; align-items: flex-start; gap: 10px; }
.pied-nav .wp-block-navigation-item__content { color: rgba(255,255,255,.75); font-size: 15px; text-decoration: none; }
.pied-nav .wp-block-navigation-item__content:hover { color: var(--blanc); }
.pied-marque .wp-block-image img { width: 220px; }

/* ---------- Responsive ---------- */
/* menu d'ordinateur : 9 liens compacts ; « Fondateur » et « FAQ » restent dans le pied de page et le menu mobile */
@media (min-width: 1101px) {
  .wp-block-navigation.nav .nav-large { display: none; }
  .wp-block-navigation.nav .wp-block-navigation__container { gap: 14px; }
  .wp-block-navigation.nav .wp-block-navigation-item__content { font-size: 11px; letter-spacing: .05em; }
  .wp-block-group.entete-in { gap: 16px; }
}
@media (max-width: 1100px) {
  .wp-block-navigation.nav, .wp-block-buttons.entete-cta { display: none; }
  p.burger { display: block; }
  .entete.ouvert .wp-block-navigation.nav {
    display: flex; position: absolute; top: 84px; left: 0; right: 0; background: var(--blanc); margin: 0;
    padding: 20px 32px 30px; border-bottom: 1px solid var(--ligne); box-shadow: 0 30px 40px -30px rgba(0,0,0,.25);
  }
  .entete.ouvert .wp-block-navigation.nav .wp-block-navigation__container { flex-direction: column; align-items: flex-start; gap: 6px; }
  .entete.ouvert .wp-block-navigation.nav .wp-block-navigation-item__content { font-size: 14px; padding: 12px 0; }
  .entete.ouvert .wp-block-navigation.nav .nav-mobile,
  .entete.ouvert .wp-block-navigation.nav .nav-compact { display: block; }
  .entete.ouvert .wp-block-navigation.nav .nav-mobile .wp-block-navigation-item__content { color: var(--rouge); }
}
@media (max-width: 960px) {
  .hero .hero-in > .hero-visuel { margin: 48px 0 -120px; }
  .programme .frise > .frise-barre { margin-bottom: 30px; }
  .slogan > .conteneur::after, .cta-final > .cta-in::after { font-size: 220px; bottom: -70px; }
  .entete.ouvert .wp-block-navigation.nav { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 782px) {
  body.admin-bar .entete { top: 46px; }
}
@media (max-width: 640px) {
  .entete.ouvert .wp-block-navigation.nav { top: 70px; }
  h1.hero-titre { white-space: normal; font-size: 58px; }
  .hero-faits li { font-size: 12px; }
  .boutons .wp-block-button, .boutons .wp-block-button__link,
  .cta-actions .wp-block-button, .cta-actions .wp-block-button__link { width: 100%; }
  .cta-actions { width: 100%; }
  .formulaire [data-name="parcours"] .wpcf7-radio { grid-template-columns: 1fr 1fr; }
}

/* ---------- Formulaire : information sur les données et cases d'accord (phase 2) ---------- */
.formulaire .form-donnees p, .formulaire p.form-donnees { margin: 0; font-size: 13px; line-height: 1.55; color: #555; }
.formulaire .champ-case { gap: 0; }
.formulaire .champ-case .wpcf7-list-item label {
  align-items: flex-start; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--noir);
}
.formulaire .champ-case .wpcf7-list-item label:has(input:checked) { background: none; }
.formulaire .champ-case .wpcf7-list-item input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; }

/* ---------- Page de commande WooCommerce + Fusion Pay ---------- */
.commande-section { padding: 40px 0 110px; }
.commande-section .page-titre { margin: 18px 0 36px; }
.commande-section .woocommerce form.checkout {
  display: grid; grid-template-columns: minmax(0, 1fr) 440px; grid-template-areas: "infos titre" "infos revue"; gap: 0 40px; align-items: start;
}
.commande-section #customer_details { grid-area: infos; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 34px; }
.commande-section #order_review_heading { grid-area: titre; margin: 0 0 14px; }
.commande-section #order_review { grid-area: revue; }
.commande-section .col2-set .col-1, .commande-section .col2-set .col-2 { float: none; width: 100%; max-width: none; }
.commande-section .col2-set .col-2:empty, .commande-section .woocommerce-additional-fields:empty { display: none; }
.commande-section h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px; letter-spacing: .02em; margin: 0 0 20px; }
.commande-section .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.commande-section .form-row { margin: 0 0 18px; padding: 0; float: none; width: auto; }
.commande-section .form-row-wide, .commande-section #billing_phone_field, .commande-section #billing_email_field, .commande-section #billing_city_field { grid-column: 1 / -1; }
.commande-section .form-row label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #333; }
.commande-section .form-row .required { color: var(--rouge); text-decoration: none; border: 0; }
.commande-section .form-row input.input-text {
  width: 100%; padding: 15px 16px; font: inherit; font-size: 15px; color: var(--noir); background: var(--gris); border: 1px solid var(--ligne); border-radius: var(--rayon);
}
.commande-section .form-row input.input-text:focus { outline: none; border-color: var(--noir); background: var(--blanc); }
.commande-section .woocommerce-invalid input.input-text { border-color: var(--rouge); }
.commande-section table.shop_table { width: 100%; border-collapse: collapse; background: var(--noir); color: var(--blanc); border-radius: var(--rayon); overflow: hidden; margin: 0 0 18px; }
.commande-section table.shop_table th, .commande-section table.shop_table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.commande-section table.shop_table thead th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.commande-section table.shop_table td:last-child, .commande-section table.shop_table th:last-child { text-align: right; }
.commande-section table.shop_table .order-total td, .commande-section table.shop_table .order-total th { border-bottom: 0; }
.commande-section table.shop_table .order-total .amount { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 30px; color: var(--rouge); }
.commande-section table.shop_table .product-quantity { display: none; }
.commande-section #payment { background: var(--gris); border-radius: var(--rayon); padding: 22px; }
.commande-section #payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; }
.commande-section #payment .wc_payment_method > label { font-weight: 700; font-size: 15px; }
.commande-section #payment .wc_payment_method img { max-height: 28px; vertical-align: middle; margin-left: 8px; }
.commande-section #payment .payment_box { margin-top: 10px; font-size: 13px; color: #555; }
.commande-section #payment .payment_box p { margin: 0; }
.commande-section .form-donnees { margin: 0 0 14px; font-size: 12.5px; line-height: 1.55; color: #555; }
.commande-section .f365-accord label { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; font-weight: 500; letter-spacing: normal; text-transform: none; color: var(--noir); margin: 0; }
.commande-section .f365-accord input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; accent-color: var(--rouge); }
.commande-section .woocommerce-privacy-policy-text { display: none; }
.commande-section #place_order {
  width: 100%; margin-top: 8px; padding: 20px; border: 0; border-radius: 999px; cursor: pointer; background: var(--rouge); color: var(--blanc);
  font-family: var(--corps); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; transition: background .2s;
}
.commande-section #place_order:hover { background: var(--rouge-fonce); }
.commande-section .woocommerce-error, .commande-section .woocommerce-info, .commande-section .woocommerce-message {
  grid-column: 1 / -1; list-style: none; margin: 0 0 24px; padding: 16px 20px; border-left: 4px solid var(--rouge); background: var(--blanc); border-radius: var(--rayon); font-size: 14px;
}
.commande-section .woocommerce-form-coupon-toggle, .commande-section .woocommerce-form-login-toggle { display: none; }
@media (max-width: 900px) {
  .commande-section .woocommerce form.checkout { grid-template-columns: 1fr; grid-template-areas: "infos" "titre" "revue"; gap: 24px; }
  .commande-section #customer_details { padding: 22px; }
  .commande-section .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
}
.commande-section .form-row-first, .commande-section .form-row-last { float: none !important; width: auto !important; }
.commande-section .woocommerce-input-wrapper { display: block; width: 100%; }
.commande-section #payment .payment_box { background: var(--blanc) !important; border-radius: var(--rayon); padding: 14px 16px; }
.commande-section #payment .payment_box::before { display: none; }
.commande-section #payment .wc_payment_method > label { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Pages juridiques (politique de confidentialité…) ---------- */
.legal { padding: 10px 0 110px; }
.legal-in { max-width: 820px; }
.legal-in .legal-titre { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 24px; letter-spacing: .01em; line-height: 1.15; margin: 44px 0 14px; color: var(--noir); }
.legal-in .legal-titre:first-child { margin-top: 0; }
.legal-in p, .legal-in li { font-size: 16px; line-height: 1.7; color: var(--texte); }
.legal-in p { margin: 0 0 12px; }
.legal-in ul, .legal-in ol { margin: 0 0 14px; padding-left: 22px; }
.legal-in li { margin-bottom: 6px; }
.legal-in a { color: var(--rouge); text-decoration: underline; text-underline-offset: 3px; }
.pied-bas .pied-legal { color: rgba(255,255,255,.75); text-decoration: underline; text-underline-offset: 3px; margin-left: 10px; white-space: nowrap; }
.pied-bas .pied-legal:hover { color: var(--blanc); }
.formulaire .champ-case a, .commande-section .form-donnees a, .commande-section .f365-accord a { color: var(--rouge); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Page « Notre fondateur » ---------- */
.fondateur-tete { padding: 48px 0 110px; overflow: hidden; }
.fondateur-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: center; }
.fondateur-texte .etiquette { margin-top: 26px; }
.fondateur-texte .page-titre { margin: 14px 0 22px; }
.fondateur-texte .page-intro { max-width: 560px; margin-bottom: 30px; }
.fondateur-photo { position: relative; max-width: 470px; justify-self: end; width: 100%; }
.fondateur-photo::before { /* cadre rouge décalé */
  content: ""; position: absolute; inset: 28px -28px -28px 28px; background: var(--rouge); border-radius: var(--rayon); z-index: 0;
}
.fondateur-photo::after { /* grand 365 en filigrane */
  content: "365"; position: absolute; left: -120px; bottom: -70px; z-index: 0; pointer-events: none;
  font-family: var(--display); font-weight: 900; font-style: italic; font-size: 260px; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(204, 0, 0, .14);
}
.fondateur-photo .fondateur-image { position: relative; z-index: 1; margin: 0; }
.fondateur-photo .fondateur-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--rayon); box-shadow: 0 30px 60px rgba(0, 0, 0, .18); }
.fondateur-badge {
  position: absolute; z-index: 2; left: -34px; bottom: 34px; background: var(--noir); color: var(--blanc); padding: 16px 22px; border-radius: var(--rayon); border-left: 4px solid var(--rouge);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .25);
}
.fondateur-badge p { margin: 0; }
.fondateur-badge .fb-marque { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 22px; letter-spacing: .02em; }
.fondateur-badge .fb-role { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-top: 2px; }

.fondateur-citation { background: var(--noir); padding: 100px 0; position: relative; overflow: hidden; }
.fondateur-citation::before { content: "“"; position: absolute; top: -60px; left: 4%; font-family: Georgia, serif; font-size: 360px; line-height: 1; color: var(--rouge); opacity: .9; }
.fondateur-citation-in { position: relative; max-width: 980px; }
.fondateur-citation .fc-texte { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.08; color: var(--blanc); margin: 0 0 26px; }
.fondateur-citation .fc-auteur { color: var(--rouge); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin: 0; }

.fondateur-approche { padding: 120px 0; }
.fondateur-approche-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.fa-texte p:not(.etiquette) { color: var(--texte); font-size: 17px; line-height: 1.7; margin: 0 0 14px; }
.fa-texte .titre-section { margin: 14px 0 22px; }
.fd-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fd-carte { background: var(--gris); border-radius: var(--rayon); padding: 28px 26px; border-top: 3px solid transparent; transition: border-color .2s, transform .2s, background .2s; }
.fd-carte:hover { border-top-color: var(--rouge); background: var(--blanc); transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0, 0, 0, .08); }
.fd-carte .fd-num { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 44px; line-height: 1; color: var(--rouge); margin: 0 0 14px; }
.fd-carte .fd-carte-titre { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 21px; margin: 0 0 8px; color: var(--noir); }
.fd-carte p:last-child { margin: 0; color: var(--texte); font-size: 15px; line-height: 1.6; }

.fondateur-mission { background: linear-gradient(135deg, #111 0%, #1b0000 100%); padding: 110px 0; }
.fondateur-mission-in { max-width: 900px; }
.fondateur-mission .titre-section { color: var(--blanc); margin: 14px 0 22px; }
.fondateur-mission p:not(.etiquette) { color: rgba(255, 255, 255, .75); font-size: 17px; line-height: 1.7; max-width: 720px; margin: 0 0 30px; }

@media (max-width: 960px) {
  .fondateur-in, .fondateur-approche-in { grid-template-columns: 1fr; gap: 56px; }
  .fondateur-photo { justify-self: center; max-width: 380px; margin-right: 28px; }
  .fondateur-photo::after { font-size: 180px; left: -60px; }
  .fondateur-badge { left: -14px; }
}
@media (max-width: 600px) {
  .fd-grille { grid-template-columns: 1fr; }
  .fondateur-citation { padding: 80px 0; }
  .fondateur-citation::before { font-size: 220px; top: -30px; }
}

/* ---------- Accueil : Rencontrez votre formateur ---------- */
.formateur-accueil { padding: 120px 0; overflow: hidden; }
.formateur-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 90px; align-items: center; }
.formateur-in .fondateur-photo { justify-self: start; max-width: 420px; margin-right: 28px; }
.formateur-in .fondateur-photo::after { left: auto; right: -110px; }
.formateur-texte .titre-section { margin: 14px 0 22px; }
.formateur-texte p:not(.etiquette):not(.lien):not(.formateur-citation) { color: var(--texte); font-size: 17px; line-height: 1.7; margin: 0 0 22px; max-width: 600px; }
.formateur-texte .formateur-citation {
  font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 24px; line-height: 1.2; color: var(--noir);
  border-left: 4px solid var(--rouge); padding: 4px 0 4px 20px; margin: 0 0 28px; max-width: 600px;
}
/* menu du haut : 8 liens (Fondateur ajouté) */
.wp-block-navigation.nav .wp-block-navigation__container { gap: 26px; }
@media (max-width: 1240px) {
  .wp-block-navigation.nav .wp-block-navigation__container { gap: 15px; }
  .wp-block-navigation.nav .wp-block-navigation-item__content { letter-spacing: .08em; }
}
@media (max-width: 960px) {
  .formateur-in { grid-template-columns: 1fr; gap: 64px; }
  .formateur-in .fondateur-photo { justify-self: center; max-width: 360px; }
  .formateur-texte .formateur-citation { font-size: 20px; }
}
/* grille des offres : les colonnes ne s'élargissent jamais au-delà de l'écran (bouton « Présenter mon projet ») */
.grille-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.offre { min-width: 0; }
.offre .wp-block-button__link { white-space: normal; text-wrap: balance; }
@media (max-width: 1100px) { .grille-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grille-4 { grid-template-columns: minmax(0, 1fr); } }
/* menu à 8 liens : version compacte jusqu'à 1360 px pour laisser la place au bouton « Rejoindre » */
@media (max-width: 1360px) {
  .wp-block-navigation.nav .wp-block-navigation__container { gap: 15px; }
  .wp-block-navigation.nav .wp-block-navigation-item__content { font-size: 11px; letter-spacing: .08em; }
}

/* ---------- Offres V2 : cartes ---------- */
.offre .offre-niveau { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rouge); margin: 0 0 12px; }
.offre .offre-sur { margin: -10px 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.offre-forte .offre-sur { color: var(--texte); }

/* ---------- Offres V2 : fiches détaillées (Niveaux d'accès) ---------- */
.offre-detail { padding: 110px 0; scroll-margin-top: 90px; }
.offre-detail-grise { background: var(--gris); }
.offre-detail-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; align-items: start; }
.od-tete .titre-section { margin: 14px 0 12px; }
.od-tete .od-accroche { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 22px; color: var(--rouge); margin: 0 0 18px; }
.od-tete .od-prix { font-family: var(--display); font-weight: 900; font-size: 52px; line-height: 1; color: var(--noir); margin: 0 0 20px; }
.od-tete .od-prix em { font-style: normal; font-size: 20px; font-weight: 700; color: var(--texte); letter-spacing: .06em; }
.od-tete .od-prix span { font-family: var(--corps); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rouge); }
.od-tete .od-public { color: var(--texte); font-size: 17px; line-height: 1.7; margin: 0 0 28px; max-width: 520px; }
.od-corps { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 34px 36px; }
.offre-detail-grise .od-corps { border-color: transparent; box-shadow: 0 20px 40px -24px rgba(0,0,0,.18); }
.od-corps .od-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--noir); margin: 0 0 8px; }
.od-corps .puces { margin: 0 0 26px; padding: 0; list-style: none; }
.od-livrable { background: var(--noir); color: var(--blanc); border-radius: var(--rayon); padding: 22px 24px; border-left: 4px solid var(--rouge); }
.od-livrable .od-label { color: var(--rouge); }
.od-livrable p:last-child { margin: 0; color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.6; }

/* ---------- Organisation sur 365 jours ---------- */
.organisation { padding: 120px 0; background: var(--noir); color: var(--blanc); }
.organisation-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 70px; align-items: start; }
.org-tete .titre-section { color: var(--blanc); margin: 14px 0 22px; }
.org-tete .org-texte { color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.7; margin: 0; }
.org-liste { display: grid; gap: 10px; }
.org-ligne { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px 22px; border-radius: var(--rayon); background: rgba(255,255,255,.05); border-left: 3px solid rgba(255,255,255,.2); }
.org-ligne.org-intensif { border-left-color: var(--rouge); background: rgba(204,0,0,.12); }
.org-ligne p { margin: 0; }
.org-ligne .org-periode { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 19px; color: var(--blanc); }
.org-ligne .org-contenu { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.5; }

/* ---------- Accueil V2 : approche, pourquoi, engagement ---------- */
.approche .slogan-texte { font-size: clamp(34px, 5vw, 72px); }
.approche .approche-sous { position: relative; z-index: 1; color: rgba(255,255,255,.75); font-size: 18px; margin: 26px 0 30px; max-width: 640px; }
.approche .approche-points { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.approche .approche-points li { padding: 10px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--blanc); }
.approche .approche-points li::before { content: "✓ "; color: var(--rouge); font-weight: 800; }
.pourquoi-accueil { padding: 120px 0; }
.pourquoi-accueil-in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 70px; align-items: start; }
.pa-texte .titre-section { margin: 14px 0 22px; }
.pa-texte p:not(.etiquette) { color: var(--texte); font-size: 17px; line-height: 1.7; margin: 0 0 16px; }
.pa-publics .pa-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); margin: 0 0 14px; }
.pa-public { padding: 18px 22px; border: 1px solid var(--ligne); border-radius: var(--rayon); margin-bottom: 10px; transition: border-color .2s, transform .2s; }
.pa-public:hover { border-color: var(--rouge); transform: translateX(4px); }
.pa-public h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 20px; margin: 0 0 4px; color: var(--noir); }
.pa-public p { margin: 0; color: var(--texte); font-size: 15px; line-height: 1.55; }
.engagement .engagement-note { position: relative; z-index: 1; color: rgba(255,255,255,.7); font-size: 17px; margin: 26px 0 18px; max-width: 720px; }
.engagement .engagement-devise { position: relative; z-index: 1; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px; letter-spacing: .02em; color: var(--blanc); margin: 0; }
.engagement .engagement-devise span { color: var(--rouge); }

@media (max-width: 960px) {
  .offre-detail-in, .organisation-in, .pourquoi-accueil-in { grid-template-columns: 1fr; gap: 40px; }
  .offre-detail, .organisation, .pourquoi-accueil { padding: 80px 0; }
  .od-corps { padding: 26px 22px; }
}
@media (max-width: 600px) {
  .org-ligne { grid-template-columns: 1fr; gap: 4px; }
  .od-tete .od-prix { font-size: 42px; }
}
.engagement .slogan-texte { font-size: clamp(28px, 3.3vw, 46px); max-width: 920px; line-height: 1.05; }
.organisation .org-tete .titre-section { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.02; }

/* ---------- Témoignages & résultats : parcours types illustratifs ---------- */
.pt-avertissement { padding: 0 0 20px; }
.pt-avertissement-in p { margin: 0; padding: 20px 24px; border: 1px solid var(--ligne); border-left: 4px solid var(--rouge); border-radius: var(--rayon); background: var(--gris); font-size: 15px; line-height: 1.6; color: var(--texte); }
.pt-avertissement-in strong { color: var(--noir); }
.parcours-types { padding: 70px 0 120px; }
.pt-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 46px; }
.pt-carte { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.pt-carte:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -26px rgba(0,0,0,.3); }
.pt-visuel { position: relative; }
.pt-visuel .pt-image { margin: 0; }
.pt-visuel .pt-image img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 25%; }
.pt-visuel .pt-formule { position: absolute; left: 18px; bottom: 16px; margin: 0; padding: 7px 14px; border-radius: 999px; background: var(--rouge); color: var(--blanc); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pt-visuel .pt-fictif { position: absolute; right: 16px; top: 16px; margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(14,14,14,.82); color: var(--blanc); font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.pt-corps { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.pt-corps .pt-nom { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 0 0 6px; color: var(--noir); }
.pt-corps .pt-nom span { font-family: var(--corps); font-size: 15px; font-weight: 600; text-transform: none; color: var(--texte); letter-spacing: 0; }
.pt-corps .pt-lieu { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rouge); }
.pt-corps .pt-label { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--noir); }
.pt-corps .pt-texte { margin: 0 0 18px; color: var(--texte); font-size: 15px; line-height: 1.65; }
.pt-corps .pt-puces { margin: 0 0 18px; padding: 0; list-style: none; }
.pt-corps .pt-puces li { font-size: 15px; padding: 9px 0 9px 24px; }
.pt-corps .pt-puces li::before { top: 17px; }
.pt-objectif { background: var(--noir); color: var(--blanc); border-radius: var(--rayon); border-left: 4px solid var(--rouge); padding: 16px 18px; margin: 0 0 18px; }
.pt-objectif .pt-label { color: var(--rouge); }
.pt-objectif p:last-child { margin: 0; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.55; }
.pt-corps .lien { margin-top: auto; }
@media (max-width: 860px) { .pt-grille { grid-template-columns: minmax(0, 1fr); } .pt-corps { padding: 24px 22px; } }

/* ---------- Bandeau d'annonce (Olympiades) ---------- */
.annonce { background: var(--noir); color: var(--blanc); }
.annonce-in { display: flex; justify-content: center; align-items: center; min-height: 38px; }
.annonce .annonce-texte { margin: 0; padding: 8px 0; font-size: 13px; font-weight: 500; text-align: center; color: rgba(255,255,255,.88); }
.annonce .annonce-texte strong { display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: 999px; background: var(--rouge); color: var(--blanc); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; vertical-align: 1px; }
.annonce .annonce-texte a { margin-left: 10px; color: var(--blanc); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.annonce .annonce-texte a:hover { color: #ff9a9a; }
.entete-in { position: relative; }
@media (max-width: 1100px) { .entete.ouvert .wp-block-navigation.nav { top: 100% !important; } }
@media (max-width: 640px) { .annonce .annonce-texte { font-size: 12px; } .annonce .annonce-texte a { display: inline-block; margin: 2px 0 0; } }

/* ---------- Vagues de démarrage ---------- */
.vagues-section { padding: 28px 0; background: var(--gris); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.vagues { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.vagues .vagues-titre { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--noir); }
.vagues .vagues-titre span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--rouge); box-shadow: 0 0 0 4px rgba(204,0,0,.18); vertical-align: 0; }
.vagues-liste { display: flex; gap: 14px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.vagues-liste li { display: flex; align-items: baseline; gap: 10px; padding: 10px 18px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 999px; font-size: 15px; color: var(--texte); }
.vagues-liste li strong { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 18px; color: var(--noir); }
.vagues-liste li.vague-prochaine { border-color: var(--rouge); }
.vagues-liste li.vague-prochaine strong { color: var(--rouge); }
p.vagues-ligne { margin: 0 0 18px; padding: 12px 16px; border-left: 3px solid var(--rouge); background: rgba(204,0,0,.08); border-radius: var(--rayon); font-size: 14px; color: inherit; }
.cand-info p.vagues-ligne { color: var(--blanc); background: rgba(255,255,255,.08); margin: 6px 0 22px; }

/* ---------- Page Olympiades ---------- */
.oly-tete { padding: 40px 0 100px; overflow: hidden; }
.oly-tete-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.oly-texte .pastille { margin: 18px 0 20px; }
.oly-texte .oly-titre { margin: 0 0 14px; }
.oly-texte .oly-titre strong { display: block; }
.oly-texte .oly-sous { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 22px; letter-spacing: .02em; color: var(--rouge); margin: 0 0 18px; }
.oly-texte .page-intro { margin-bottom: 30px; max-width: 580px; }
.oly-affiche { position: relative; justify-self: end; max-width: 440px; width: 100%; }
.oly-affiche::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; background: var(--rouge); border-radius: var(--rayon); }
.oly-affiche .oly-affiche-image { position: relative; margin: 0; }
.oly-affiche .oly-affiche-image img { display: block; width: 100%; height: auto; border-radius: var(--rayon); box-shadow: 0 30px 60px rgba(0,0,0,.22); }
.oly-piliers { padding: 0 0 100px; }
.oly-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.oly-pilier { padding: 30px 26px; border: 1px solid var(--ligne); border-radius: var(--rayon); border-top: 3px solid var(--rouge); }
.oly-pilier .oly-num { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 40px; line-height: 1; color: var(--rouge); margin: 0 0 12px; }
.oly-pilier h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px; margin: 0 0 8px; }
.oly-pilier p:last-child { margin: 0; color: var(--texte); font-size: 15px; line-height: 1.6; }
.oly-prix { background: linear-gradient(135deg, #0e0e0e 0%, #2a0000 100%); color: var(--blanc); padding: 100px 0; text-align: center; position: relative; overflow: hidden; }
.oly-prix-in { display: flex; flex-direction: column; align-items: center; }
.oly-prix .etiquette { justify-content: center; }
.oly-prix .oly-prix-label { margin: 18px 0 6px; font-size: 20px; color: rgba(255,255,255,.8); }
.oly-prix .oly-prix-montant { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(56px, 9vw, 120px); line-height: 1; color: var(--blanc); letter-spacing: .01em; }
.oly-prix .oly-prix-montant em { font-style: normal; font-size: .45em; color: var(--rouge); }
.oly-prix .oly-prix-reserve { margin: 18px 0 0; max-width: 620px; font-size: 14px; color: rgba(255,255,255,.65); }
.cand-info p.oly-note { font-size: 14px; color: rgba(255,255,255,.65); border-left: 3px solid var(--rouge); padding-left: 14px; }

/* ---------- Accueil : promotion des Olympiades ---------- */
.oly-promo { background: var(--noir); color: var(--blanc); padding: 110px 0; overflow: hidden; }
.oly-promo-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 70px; align-items: center; }
.oly-promo-texte .titre-section { color: var(--blanc); margin: 14px 0 22px; }
.oly-promo-texte p:not(.etiquette) { color: rgba(255,255,255,.75); font-size: 17px; line-height: 1.7; margin: 0 0 28px; max-width: 600px; }
.oly-promo-visuel { justify-self: end; max-width: 360px; width: 100%; }
.oly-promo-visuel .oly-promo-image { margin: 0; }
.oly-promo-visuel .oly-promo-image img { display: block; width: 100%; height: auto; border-radius: var(--rayon); box-shadow: 0 30px 60px rgba(204,0,0,.25); transform: rotate(2deg); }

@media (max-width: 960px) {
  .oly-tete-in, .oly-promo-in { grid-template-columns: 1fr; gap: 48px; }
  .oly-affiche, .oly-promo-visuel { justify-self: center; max-width: 360px; }
  .oly-affiche { margin-right: 22px; }
  .oly-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .oly-grille { grid-template-columns: minmax(0, 1fr); } .vagues { gap: 14px; } }

/* =====================================================================
   Olympiades de la Vente & du Closing (extension FORGE 365 Olympiades)
   ===================================================================== */
.annonce:not(:has(.annonce-texte)) { display: none; }
.oly .oly-h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 4.6vw, 62px); line-height: .98; margin: 12px 0 22px; color: var(--noir); }
.oly .oly-h2 em { font-style: italic; color: var(--rouge); }
.oly .oly-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); margin: 0 0 14px; }
.oly .oly-fort { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 28px; color: var(--rouge); margin: 22px 0 0; }
.oly .oly-reserve { font-size: 12.5px; color: var(--texte); margin: 14px 0 0; }
.oly section { position: relative; }
.oly-js section { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.oly-js section.oly-vu, .oly-js .oly-hero { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .oly-js section { opacity: 1; transform: none; transition: none; } }

/* Héros */
.oly-hero { padding: 36px 0 90px; overflow: hidden; }
.oly-hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 60px; align-items: center; }
.oly-hero .pastille { margin: 18px 0 18px; }
.oly-h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(48px, 7vw, 100px); line-height: .9; margin: 0 0 14px; color: var(--noir); }
.oly-h1 em { font-style: italic; color: var(--rouge); }
.oly-question { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 30px); color: var(--noir); margin: 0 0 22px; }
.oly-cles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 24px; }
.oly-cles p { margin: 0; padding: 14px 16px; border-radius: var(--rayon); background: var(--gris); border-top: 3px solid var(--rouge); }
.oly-cles p:first-child { background: var(--noir); color: var(--blanc); }
.oly-cles span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .75; margin-bottom: 4px; }
.oly-cles strong { font-family: var(--display); font-weight: 900; font-size: 22px; line-height: 1.05; }
.oly-intro { color: var(--texte); font-size: 16.5px; line-height: 1.7; margin: 0 0 12px; max-width: 620px; }
.oly-disciplines { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.oly-disciplines span { padding: 8px 16px; border-radius: 999px; background: var(--noir); color: var(--blanc); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.oly-disciplines span:nth-child(even) { background: var(--rouge); }
.oly-hero .boutons { margin-top: 8px; }
.oly-hero-visuel { position: relative; justify-self: end; max-width: 430px; width: 100%; }
.oly-hero-visuel::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; background: var(--rouge); border-radius: var(--rayon); }
.oly-hero-visuel .oly-affiche { position: relative; display: block; width: 100%; height: auto; border-radius: var(--rayon); box-shadow: 0 30px 60px rgba(0,0,0,.22); }
.oly-courbe-carte { position: absolute; left: -46px; bottom: 40px; width: 210px; padding: 14px 16px 10px; border-radius: var(--rayon); background: var(--noir); box-shadow: 0 20px 40px rgba(0,0,0,.3); }
.oly-courbe-carte p { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.oly-courbe-carte svg { display: block; width: 100%; height: auto; }
.oly-courbe { fill: none; stroke: var(--rouge); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 320; stroke-dashoffset: 0; }
.oly-js .oly-courbe { animation: oly-trace 2.2s ease .4s both; }
@keyframes oly-trace { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }

/* Défi */
.oly-defi { background: var(--noir); color: var(--blanc); padding: 110px 0; }
.oly-defi-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.oly-defi .oly-h2 { color: var(--blanc); }
.oly-defi-texte { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.8); margin: 0; }
.oly-defi-texte strong { color: var(--blanc); }
.oly-capacites { counter-reset: c; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.oly-capacites li { counter-increment: c; padding: 14px 16px; border-radius: var(--rayon); background: rgba(255,255,255,.06); border-left: 3px solid var(--rouge); font-weight: 600; font-size: 15px; }
.oly-capacites li::before { content: counter(c, decimal-leading-zero) "  "; font-family: var(--display); font-weight: 900; font-style: italic; color: var(--rouge); }

/* Phases */
.oly-parcours { padding: 110px 0; scroll-margin-top: 120px; }
.oly-phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.oly-phase { position: relative; padding: 30px 24px; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--blanc); transition: transform .25s, box-shadow .25s, border-color .25s; }
.oly-phase:hover { transform: translateY(-6px); border-color: var(--rouge); box-shadow: 0 26px 50px -26px rgba(204,0,0,.4); }
.oly-ico { display: inline-flex; width: 52px; height: 52px; padding: 11px; border-radius: 50%; background: var(--rouge); color: var(--blanc); }
.oly-ico svg { width: 100%; height: 100%; }
.oly-phase .oly-phase-num { margin: 16px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); }
.oly-phase h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 24px; margin: 0 0 12px; }
.oly-phase ul { margin: 0; padding: 0; list-style: none; }
.oly-phase li { padding: 6px 0 6px 18px; position: relative; font-size: 14.5px; border-bottom: 1px solid var(--ligne); }
.oly-phase li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 8px; border-radius: 2px; background: var(--rouge); }
.oly-phase p:last-child { margin: 0; color: var(--texte); font-size: 15px; line-height: 1.6; }

/* Classement */
.oly-classement { background: var(--noir); color: var(--blanc); padding: 110px 0; }
.oly-classement-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; align-items: center; }
.oly-classement .oly-h2 { color: var(--blanc); }
.oly-classement-texte { color: rgba(255,255,255,.75); font-size: 17px; line-height: 1.7; }
.oly-critere { margin-bottom: 18px; }
.oly-critere p { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-size: 15px; }
.oly-critere strong { font-family: var(--display); font-weight: 900; font-size: 22px; color: var(--blanc); white-space: nowrap; }
.oly-barre { height: 10px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.oly-barre span { display: block; height: 100%; width: var(--largeur); border-radius: 99px; background: linear-gradient(90deg, var(--rouge), #ff4d4d); }
.oly-js .oly-barre span { width: 0; transition: width 1.4s cubic-bezier(.2,.8,.2,1) .2s; }
.oly-js .oly-vu .oly-barre span { width: var(--largeur); }
.oly-total { display: flex; justify-content: space-between; margin: 26px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.oly-total strong { font-family: var(--display); font-size: 30px; color: var(--rouge); }

/* Grand Prix */
.oly-gp { padding: 120px 0; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(204,0,0,.12), transparent 60%), var(--blanc); }
.oly-gp-in { max-width: 980px; display: flex; flex-direction: column; align-items: center; }
.oly-trophee { display: inline-flex; width: 92px; height: 92px; padding: 20px; border-radius: 50%; background: var(--noir); color: var(--blanc); box-shadow: 0 0 0 10px rgba(204,0,0,.12); }
.oly-trophee svg { width: 100%; height: 100%; }
.oly-gp-titre { margin: 22px 0 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 28px; letter-spacing: .18em; color: var(--rouge); }
.oly-gp-montant { margin: 6px 0 18px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(46px, 8.6vw, 124px); line-height: .95; color: var(--noir); }
.oly-gp-montant em { font-style: normal; color: var(--rouge); font-size: .55em; }
.oly-gp-texte { font-size: 19px; line-height: 1.6; max-width: 760px; margin: 0 0 8px; }
.oly-gp-petit { font-size: 14px; color: var(--texte); margin: 0 0 30px; }
.oly-gp-cartes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; width: 100%; }
.oly-gp-cartes > div { padding: 24px 26px; border-radius: var(--rayon); border: 1px solid var(--ligne); background: var(--blanc); }
.oly-gp-cartes > div:first-child { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.oly-gp-cartes p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.oly-champion { margin-top: 8px !important; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 26px !important; line-height: 1.1 !important; color: var(--rouge); }
.oly-gp-mention { margin: 22px 0 0; font-size: 13.5px; font-weight: 600; color: var(--noir); }
.oly-gp-bareme { margin: 10px 0 0; font-size: 13.5px; color: var(--texte); }
.oly-bareme { margin-top: 16px; text-align: left; width: 100%; max-width: 560px; }
.oly-bareme summary { cursor: pointer; font-weight: 700; color: var(--rouge); }
.oly-bareme table { width: 100%; margin-top: 10px; border-collapse: collapse; }
.oly-bareme th, .oly-bareme td { padding: 10px 12px; border-bottom: 1px solid var(--ligne); text-align: left; }

/* Commissions */
.oly-commissions { padding: 90px 0; background: var(--gris); }
.oly-commissions-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: center; }
.oly-commissions p { font-size: 17px; line-height: 1.7; color: var(--texte); margin: 0 0 14px; }
.oly .oly-fort-petit { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 24px; color: var(--rouge); }

/* Informations pratiques */
.oly-infos { padding: 100px 0; }
.oly-infos-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 18px 0 20px; }
.oly-infos-grille > div { padding: 26px 24px; border-radius: var(--rayon); border: 1px solid var(--ligne); }
.oly-infos-grille .oly-info-prix { background: var(--rouge); border-color: var(--rouge); color: var(--blanc); }
.oly-infos-grille p { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.oly-infos-grille strong { font-family: var(--display); font-weight: 900; font-size: 36px; line-height: 1; }
.oly-infos-mention { font-size: 15px; line-height: 1.6; color: var(--texte); max-width: 820px; margin: 0 0 24px; padding-left: 14px; border-left: 3px solid var(--rouge); }

/* Calendrier */
.oly-calendrier { padding: 100px 0; background: var(--noir); color: var(--blanc); }
.oly-calendrier .oly-h2 { color: var(--blanc); }
.oly-timeline { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid rgba(255,255,255,.15); }
.oly-timeline li { position: relative; padding: 26px 20px 24px 0; }
.oly-timeline li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--rouge); box-shadow: 0 0 0 5px rgba(204,0,0,.25); }
.oly-timeline li:last-child::before { background: var(--blanc); }
.oly-timeline strong { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 21px; line-height: 1.1; color: var(--blanc); margin-bottom: 6px; }
.oly-timeline span { font-size: 14px; color: rgba(255,255,255,.7); }

/* Règles */
.oly-regles { padding: 100px 0; }
.oly-regles-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.oly-regles-grille > div { padding: 26px 28px; border-radius: var(--rayon); border: 1px solid var(--ligne); }
.oly-regles-grille ul { margin: 0 0 10px; padding: 0; list-style: none; }
.oly-regles-grille li { padding: 7px 0 7px 28px; position: relative; font-weight: 600; }
.oly-ok li::before { content: "\2713"; position: absolute; left: 0; color: #138a36; font-weight: 900; }
.oly-non { background: var(--gris); }
.oly-non li::before { content: "\2715"; position: absolute; left: 0; color: var(--rouge); font-weight: 900; }
.oly-regles-grille p:last-child { margin: 0; }
.oly-hasard { margin: 36px 0 18px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.05; color: var(--noir); }
.oly-hasard em { color: var(--rouge); font-style: italic; }
.oly-recrutement { font-size: 14.5px; line-height: 1.6; color: var(--texte); padding: 14px 18px; border-radius: var(--rayon); background: var(--gris); border-left: 3px solid var(--noir); margin: 0; }

/* Inscription */
.oly-inscription { padding: 100px 0; background: var(--gris); scroll-margin-top: 110px; }
.oly-inscription-in { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 0; border-radius: var(--rayon); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.oly-inscription-info { background: var(--noir); color: var(--blanc); padding: 46px 40px; }
.oly-inscription-info .oly-h2 { color: var(--blanc); }
.oly-inscription-info p { color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.7; }
.oly-liens { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.oly-liens a, .oly-liens span { color: var(--blanc); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.oly-liens span { text-decoration: none; opacity: .65; font-weight: 500; }
.oly-inscription-form { background: var(--blanc); padding: 42px 40px; }
.oly-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.oly-form .champ select, .oly-form .champ input[type=date] { width: 100%; padding: 14px 16px; font: inherit; font-size: 15px; background: var(--gris); border: 1px solid var(--ligne); border-radius: var(--rayon); }
.oly-form .wpcf7-radio { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.oly-form-total { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin: 4px 0 0; padding: 16px 20px; border-radius: var(--rayon); background: var(--noir); color: var(--blanc); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
.oly-form-total strong { font-family: var(--display); font-size: 28px; color: var(--blanc); letter-spacing: 0; }
.oly-form-note { grid-column: 1 / -1; margin: 0; font-size: 12.5px; color: var(--texte); text-align: center; }
.oly-erreurs { grid-column: 1 / -1; padding: 14px 18px; border-left: 4px solid var(--rouge); background: rgba(204,0,0,.06); border-radius: var(--rayon); }
.oly-erreurs p { margin: 0 0 4px; color: var(--rouge); font-weight: 600; font-size: 14px; }
.oly-admin-test { grid-column: 1 / -1; margin: 0; padding: 10px 14px; background: #fff7d6; border-radius: var(--rayon); font-size: 13px; }
.oly-etat { margin: 0 0 18px; padding: 14px 18px; border-left: 4px solid var(--rouge); background: var(--gris); border-radius: var(--rayon); font-size: 15px; }

/* FAQ et appel final */
.oly-faq { padding: 100px 0; }
.oly-final { padding: 120px 0; text-align: center; background: linear-gradient(160deg, #0e0e0e 0%, #2a0000 100%); color: var(--blanc); overflow: hidden; }
.oly-final-in { display: flex; flex-direction: column; align-items: center; }
.oly-final .oly-h2 { color: var(--blanc); font-size: clamp(42px, 6vw, 84px); }
.oly-final-sous { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 26px; color: var(--rouge); margin: 0 0 22px; }
.oly-disciplines-clair { justify-content: center; }
.oly-final .oly-question { color: var(--blanc); }
.oly-final .boutons { justify-content: center; }
.oly-final-ouv { margin: 18px 0 6px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; color: rgba(255,255,255,.8); }
.oly-final-gp { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 26px; }
.oly-final .oly-reserve { color: rgba(255,255,255,.6); }
.oly-signature { margin: 30px 0 0; font-size: 13px; letter-spacing: .08em; color: rgba(255,255,255,.55); }

/* Confirmation après paiement */
.oly-numero { display: inline-flex; flex-direction: column; margin: 10px 0 24px; padding: 18px 26px; border-radius: var(--rayon); background: var(--noir); color: var(--blanc); }
.oly-numero span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.oly-numero strong { font-family: var(--display); font-weight: 900; font-size: 40px; color: var(--rouge); letter-spacing: .04em; }
.oly-promo .oly-promo-texte p.oly-promo-cles { font-weight: 700; color: var(--blanc); margin-bottom: 10px; }
.oly-promo .oly-promo-texte p.oly-promo-gp { font-size: 14px; }

@media (max-width: 1100px) {
  .oly-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oly-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .oly-hero-in, .oly-defi-in, .oly-classement-in, .oly-commissions-in, .oly-inscription-in { grid-template-columns: 1fr; gap: 44px; }
  .oly-inscription-in { gap: 0; }
  .oly-hero-visuel { justify-self: center; max-width: 340px; margin-right: 22px; }
  .oly-courbe-carte { left: -16px; }
  .oly-gp-cartes, .oly-regles-grille { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .oly-hero { padding-top: 20px; }
  .oly-cles { grid-template-columns: 1fr; }
  .oly-cles p { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
  .oly-capacites, .oly-phases, .oly-infos-grille, .oly-timeline, .oly-form, .oly-form .wpcf7-radio { grid-template-columns: 1fr; }
  .oly-inscription-info, .oly-inscription-form { padding: 30px 22px; }
  .oly-defi, .oly-parcours, .oly-classement, .oly-gp, .oly-infos, .oly-calendrier, .oly-regles, .oly-inscription, .oly-faq, .oly-final { padding: 70px 0; }
}
/* Olympiades, mobile : titre, question, chiffres clés et bouton « Je veux participer » visibles dès l arrivée */
@media (max-width: 640px) {
  .oly-hero-texte { display: flex; flex-direction: column; }
  .oly-hero-texte > * { order: 9; }
  .oly-hero-texte > .fil { order: 1; } .oly-hero-texte > .pastille { display: none; } .oly-hero-texte > .oly-h1 { order: 2; font-size: 46px; }
  .oly-hero-texte > .oly-question { order: 3; margin-bottom: 14px; font-size: 20px; } .oly-hero-texte > .oly-cles { order: 4; margin-bottom: 14px; }
  .oly-hero-texte > .boutons { order: 5; margin: 0 0 22px; } .oly-cles p { padding: 10px 14px; } .oly-cles strong { font-size: 19px; }
}

/* ---------- Règlement des Olympiades ---------- */
.page-tete .reg-version { margin: 14px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rouge); }
.legal-in .reg-tableau { display: block; border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; margin: 6px 0 14px; }
.legal-in .reg-ligne { display: flex; justify-content: space-between; gap: 16px; padding: 11px 16px; border-bottom: 1px solid var(--ligne); font-size: 15px; }
.legal-in .reg-ligne:last-child { border-bottom: 0; }
.legal-in .reg-ligne:nth-child(even) { background: var(--gris); }
.legal-in .reg-ligne strong { white-space: nowrap; color: var(--noir); }
.legal-in .reg-entete { background: var(--noir) !important; color: var(--blanc); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.legal-in .reg-serment, .legal-in .reg-annexe { padding: 18px 22px; border-left: 4px solid var(--rouge); background: var(--gris); border-radius: var(--rayon); }
@media (max-width: 600px) { .legal-in .reg-ligne { flex-direction: column; gap: 2px; } .legal-in .reg-ligne strong { white-space: normal; } }

/* ---------- Olympiades : compte à rebours ---------- */
.oly-rebours { margin: 22px 0 6px; }
.oly-rebours-titre { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); }
.oly-rebours-cases { display: grid; grid-template-columns: repeat(4, minmax(0, 92px)); gap: 10px; }
.oly-rebours-case { margin: 0; padding: 14px 6px 10px; border-radius: var(--rayon); background: var(--noir); color: var(--blanc); text-align: center; border-bottom: 3px solid var(--rouge); }
.oly-rebours-case strong { display: block; font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.oly-rebours-case span { display: block; margin-top: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.oly-rebours-final { display: flex; flex-direction: column; align-items: center; margin: 22px 0 14px; }
.oly-rebours-final .oly-rebours-titre { color: rgba(255,255,255,.8); }
.oly-rebours-final .oly-rebours-case { background: rgba(255,255,255,.08); }
@media (max-width: 640px) {
  .oly-hero-texte > .oly-rebours-hero { order: 6; margin-top: 0; }
  .oly-rebours-cases { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .oly-rebours-case strong { font-size: 30px; }
}
/* Olympiades, haut de page (tous écrans) : titre, question, chiffres clés, bouton, compte à rebours, puis les textes */
.oly-hero-texte { display: flex; flex-direction: column; align-items: flex-start; }
.oly-hero-texte > * { order: 9; }
.oly-hero-texte > .fil { order: 1; } .oly-hero-texte > .pastille { order: 2; } .oly-hero-texte > .oly-h1 { order: 3; } .oly-hero-texte > .oly-question { order: 4; }
.oly-hero-texte > .oly-cles { order: 5; align-self: stretch; } .oly-hero-texte > .boutons { order: 6; margin: 0 0 6px; } .oly-hero-texte > .oly-rebours-hero { order: 7; margin: 14px 0 26px; }
.oly-hero-texte > .oly-intro, .oly-hero-texte > .oly-disciplines { order: 8; }
@media (min-width: 961px) { .oly-hero .oly-h1 { font-size: clamp(48px, 5.6vw, 84px); } .oly-hero-in { align-items: start; } .oly-hero-visuel { margin-top: 40px; } }

/* Accès à l'espace participant : lien permanent dans le bandeau noir au-dessus du menu */
.annonce:not(:has(.annonce-texte)) { display: block; }
.annonce-in { position: relative; }
.annonce .annonce-espace { margin: 0; }
.annonce .annonce-espace a { display: inline-flex; gap: 6px; align-items: center; color: var(--blanc); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.annonce .annonce-espace a:hover { color: #ff9a9a; }
.annonce .annonce-espace a + a { margin-left: 22px; }
@media (min-width: 1200px) { .annonce .annonce-espace { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); } }
@media (max-width: 1199px) { .annonce-in { flex-direction: column; } .annonce .annonce-espace { padding: 0 0 8px; } .annonce:not(:has(.annonce-texte)) .annonce-espace { padding: 9px 0; } }

/* ---------- Menu avec « Marketplace FORGE » (9 liens) : compact plus tôt, menu repliable en dessous de 1240 px ---------- */
.wp-block-navigation.nav .nav-marketplace .wp-block-navigation-item__content { color: var(--rouge); }
@media (max-width: 1440px) {
  .entete-in { gap: 24px; }
  .wp-block-navigation.nav .wp-block-navigation__container { gap: 18px; }
  .wp-block-navigation.nav .wp-block-navigation-item__content { font-size: 11px; letter-spacing: .08em; }
}
@media (max-width: 1240px) {
  .wp-block-navigation.nav, .wp-block-buttons.entete-cta { display: none; }
  p.burger { display: block; }
  .entete.ouvert .wp-block-navigation.nav {
    display: flex; position: absolute; top: 84px; left: 0; right: 0; background: var(--blanc); margin: 0;
    padding: 20px 32px 30px; border-bottom: 1px solid var(--ligne); box-shadow: 0 30px 40px -30px rgba(0,0,0,.25);
  }
  .entete.ouvert .wp-block-navigation.nav .wp-block-navigation__container { flex-direction: column; align-items: flex-start; gap: 6px; }
  .entete.ouvert .wp-block-navigation.nav .wp-block-navigation-item__content { font-size: 14px; padding: 12px 0; }
  .entete.ouvert .wp-block-navigation.nav .nav-mobile,
  .entete.ouvert .wp-block-navigation.nav .nav-compact { display: block; }
  .entete.ouvert .wp-block-navigation.nav .nav-mobile .wp-block-navigation-item__content { color: var(--rouge); }
}

/* ---------- Accueil : Marketplace FORGE ---------- */
.mp-promo { background: var(--noir); color: var(--blanc); padding: 110px 0; position: relative; overflow: hidden; }
.mp-promo::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(204,0,0,.35), transparent 65%); pointer-events: none; }
.mp-promo-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 70px; align-items: center; position: relative; }
.mp-promo-texte .titre-section { color: var(--blanc); margin: 14px 0 22px; }
.mp-promo-texte p:not(.etiquette) { color: rgba(255,255,255,.75); font-size: 17px; line-height: 1.7; margin: 0 0 28px; max-width: 600px; }
.mp-promo-metiers { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--rayon); padding: 30px; }
.mp-promo-titre { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; color: var(--rouge); margin: 0 0 16px; }
ul.mp-metiers { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
ul.mp-metiers li { padding: 9px 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 30px; font-size: 14px; font-weight: 600; color: var(--blanc); }
@media (max-width: 960px) { .mp-promo { padding: 80px 0; } .mp-promo-in { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Menu mobile (1.8.16) : liste complète visible et défilable, « Mon espace » et « Candidature » en tête ---------- */
@media (max-width: 1100px) {
  .entete.ouvert .wp-block-navigation.nav {
    z-index: 60; padding-top: 6px; padding-bottom: 16px;
    max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); overflow-y: auto; overscroll-behavior: contain;
  }
  .entete.ouvert .wp-block-navigation.nav .wp-block-navigation__container { position: static; width: 100%; gap: 0; }
  .entete.ouvert .wp-block-navigation.nav .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--ligne); }
  .entete.ouvert .wp-block-navigation.nav .wp-block-navigation-item:last-child { border-bottom: 0; }
  .entete.ouvert .wp-block-navigation.nav .wp-block-navigation-item__content { display: block; width: 100%; padding: 13px 0; }
  .entete.ouvert .wp-block-navigation.nav .wp-block-navigation-item__content::after { display: none; }
  .entete.ouvert .wp-block-navigation.nav .nav-mobile { order: -1; }
}
@media (max-width: 640px) {
  .entete.ouvert .wp-block-navigation.nav { max-height: calc(100vh - 165px); max-height: calc(100dvh - 165px); }
}

/* ---------- Page « Système digital » (1.8.18) ---------- */
.opp-page.sys-outils { padding: 90px 0; }
.sys-outils .cartes-opp { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .sys-outils .cartes-opp { grid-template-columns: repeat(2, 1fr); } .opp-page.sys-outils { padding: 64px 0; } }
@media (max-width: 640px) { .sys-outils .cartes-opp { grid-template-columns: 1fr; } }
/* page /abonnements/ (thème 1.8.24) */
.ab-co .ab-co-prix { font-size: 26px; color: var(--rouge); margin: 4px 0; }
.ab-co .ab-co-prix strong { font-family: var(--display); font-weight: 900; }
.ab-co .wp-block-list { margin: 8px 0 14px; padding-left: 18px; font-size: 15px; }
.ab-co .wp-block-list li { margin-bottom: 4px; }
