/* ff-conseil — composants signature de la DA v2.
 * Source visuelle : maquettes-da-v2/composite-v1.html (validée par Fred le 15/06).
 * Les valeurs (couleurs, rayons, wrap) sont définies UNE fois dans theme.json ;
 * ce fichier les consomme via des alias courts pour lisibilité, et porte la mise
 * en forme des composants. Aucun token n'est redéfini en dur ici.
 *
 * Doctrine : design-system réutilisable, pas de CSS « bricolé » par page. */

:root {
  --rouge:         var(--wp--preset--color--rouge);
  --petrole:       var(--wp--preset--color--petrole);
  --petrole-fonce: var(--wp--preset--color--petrole-fonce);
  --sauge:         var(--wp--preset--color--sauge);
  --sauge-claire:  var(--wp--preset--color--sauge-claire);
  --sauge-pale:    var(--wp--preset--color--sauge-pale);
  --anthracite:    var(--wp--preset--color--anthracite);
  --texte:         var(--wp--preset--color--texte);
  --gris-fond:     var(--wp--preset--color--gris-fond);
  --blanc:         var(--wp--preset--color--blanc);
  --vif-hero:      var(--wp--custom--couleur--vif-hero);
  --r-card:        var(--wp--custom--radius--card);
  --r-big:         var(--wp--custom--radius--big);
  --r-pill:        var(--wp--custom--radius--pill);
  --wrap-max:      var(--wp--custom--wrap--max);
  --wrap-pad:      var(--wp--custom--wrap--padding);
}

/* ---- Réinitialisations ciblées (cohabitation avec les blocs WP) ---- */
/* box-sizing border-box sur tout le périmètre du thème. Le rendu WordPress ne l'applique
   pas globalement par défaut (contrairement au bac à sable de preview) → sans ça,
   width:100% + padding déborde (ex. boutons des formats hors du cadre, champs de formulaire). */
.ffc-page, .ffc-page *, .ffc-page *::before, .ffc-page *::after,
header.ffc-site, header.ffc-site *, header.ffc-site *::before, header.ffc-site *::after,
footer.ffc-site, footer.ffc-site *, footer.ffc-site *::before, footer.ffc-site *::after { box-sizing: border-box; }
.ffc-page img { max-width: 100%; display: block; }
/* Reset des liens sur TOUT le périmètre du thème (header + contenu + footer).
   :where() force la spécificité à (0,0,1) — plus faible que .ffc-btn-rouge / .ffc-nav,
   pour ne PAS écraser la couleur propre des boutons et du menu. */
:where(header.ffc-site, .ffc-page, footer.ffc-site) a { text-decoration: none; color: inherit; }
.ffc-btn, .ffc-btn:link, .ffc-btn:visited, .ffc-btn:hover { text-decoration: none; }

/* ---- Conteneur ---- */
.ffc-wrap { max-width: var(--wrap-max); margin: 0 auto; padding: 0 var(--wrap-pad); }

/* ---- Reveal au défilement ---- */
.ffc-reveal { opacity: 0; transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.165,.84,.44,1), transform .7s cubic-bezier(.165,.84,.44,1); }
html.ffc-js .ffc-reveal.is-vis { opacity: 1; transform: none; }
html:not(.ffc-js) .ffc-reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ffc-reveal { opacity: 1; transform: none; transition: none; }
}
.ffc-page a:focus-visible, .ffc-btn:focus-visible { outline: 3px solid var(--petrole); outline-offset: 3px; border-radius: 12px; }

/* ---- Eyebrow + titres ---- */
.ffc-eyebrow { display: inline-flex; align-items: center; gap: 13px; font-size: 13px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--rouge); }
.ffc-eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--rouge); flex: none; }
.ffc-h2 { font-size: clamp(32px,4vw,54px); font-weight: 800; line-height: 1.08; }
.ffc-h2 .vif { color: var(--rouge); } .ffc-h2 .pet { color: var(--petrole); }

/* ---- Boutons ---- */
.ffc-btn { display: inline-flex; align-items: center; gap: 13px; font-weight: 700; border-radius: var(--r-pill);
  transition: transform .2s, box-shadow .2s, background .2s, color .2s; cursor: pointer; line-height: 1; }
.ffc-btn:hover { transform: translateY(-2px); }
.ffc-btn .badge { flex: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; transition: transform .25s, background .25s, color .25s; }
.ffc-btn:hover .badge { transform: rotate(45deg); }
.ffc-btn-rouge { background: var(--rouge); color: #fff; font-size: 17px; padding: 8px 10px 8px 26px; }
.ffc-btn-rouge .badge { background: #fff; color: var(--rouge); }
.ffc-btn-rouge:hover { box-shadow: 0 14px 30px rgba(219,21,13,.30); }
.ffc-btn-blanc { background: #fff; color: var(--rouge); font-size: 17px; padding: 8px 10px 8px 26px; }
.ffc-btn-blanc .badge { background: var(--rouge); color: #fff; }
.ffc-btn-blanc:hover { box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.ffc-btn-ghost { background: transparent; border: 2px solid #D7D4CD; color: var(--anthracite); font-size: 16px; padding: 11px 24px; gap: 10px; }
.ffc-btn-ghost:hover { border-color: var(--rouge); color: var(--rouge); }
.ffc-btn-sm { font-size: 15px; padding: 6px 8px 6px 22px; } .ffc-btn-sm .badge { width: 36px; height: 36px; }

/* ---- Header transparent → blanc au défilement ---- */
header.ffc-site { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: transparent;
  border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease, box-shadow .3s ease; }
header.ffc-site.is-scrolled { background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-bottom-color: #EEECE7; box-shadow: 0 6px 24px rgba(0,0,0,.05); }
/* Pages internes (pas de hero) : en-tête solide en permanence. */
body.ffc-inner-page header.ffc-site { background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-bottom-color: #EEECE7; box-shadow: 0 6px 24px rgba(0,0,0,.05); }
body.ffc-inner-page header.ffc-site .logo .logo-white { display: none; }
body.ffc-inner-page header.ffc-site .logo .logo-color { display: block; }
body.ffc-inner-page header.ffc-site nav { color: var(--anthracite); }

.ffc-nav { display: flex; align-items: center; gap: 34px; padding: 14px 0; }
.ffc-nav .logo img { height: 44px; width: auto; display: block; }
.ffc-nav .logo .logo-color { display: none; }
header.ffc-site.is-scrolled .ffc-nav .logo .logo-white { display: none; }
header.ffc-site.is-scrolled .ffc-nav .logo .logo-color { display: block; }
.ffc-nav nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; color: #fff; }
header.ffc-site.is-scrolled .ffc-nav nav { color: var(--anthracite); }
.ffc-nav nav a { padding: 6px 2px; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.ffc-nav nav a:hover { color: var(--sauge); border-color: var(--sauge); }
header.ffc-site.is-scrolled .ffc-nav nav a:hover { color: var(--petrole); border-color: var(--petrole); }
.ffc-nav nav .has-sub { position: relative; display: flex; align-items: center; }
.ffc-nav nav .has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
.ffc-nav nav .caret { transition: transform .25s; }
.ffc-nav nav .has-sub:hover .caret { transform: rotate(180deg); }
.ffc-nav nav .has-sub::after { content: ""; position: absolute; top: 100%; left: 0; width: 100%; height: 18px; }
.ffc-submenu { position: absolute; top: 100%; left: -18px; margin-top: 16px; min-width: 320px; background: #fff;
  border: 1px solid #ECEAE4; border-radius: 16px; box-shadow: 0 18px 44px rgba(51,49,47,.14); padding: 12px;
  display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 60; }
.ffc-nav nav .has-sub:hover .ffc-submenu, .ffc-nav nav .has-sub:focus-within .ffc-submenu {
  opacity: 1; visibility: visible; transform: translateY(0); }
.ffc-nav nav .ffc-submenu a { padding: 13px 22px; border-radius: 12px; border-bottom: 0; color: var(--anthracite);
  font-weight: 500; font-size: 14.5px; white-space: nowrap; }
.ffc-nav nav .ffc-submenu a:hover { background: var(--gris-fond); color: var(--petrole); border-color: transparent; }

/* Burger (mobile) — masqué au-delà de la bascule, géré dans le responsive */
.ffc-burger { display: none; flex: none; width: 44px; height: 44px; margin-left: 14px; padding: 0; border: 0;
  background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.ffc-burger span { display: block; width: 24px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .2s, background .3s; }
header.ffc-site.is-scrolled .ffc-burger span, body.ffc-inner-page .ffc-burger span,
header.ffc-site.is-open .ffc-burger span { background: var(--anthracite); }
header.ffc-site.is-open .ffc-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.ffc-site.is-open .ffc-burger span:nth-child(2) { opacity: 0; }
header.ffc-site.is-open .ffc-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* En-tête solide quand le menu mobile est ouvert (logo couleur + fond blanc) */
header.ffc-site.is-open { background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-bottom-color: #EEECE7; }
header.ffc-site.is-open .logo .logo-white { display: none; }
header.ffc-site.is-open .logo .logo-color { display: block; }

/* ---- Hero ---- */
.ffc-hero { position: relative; min-height: 700px; display: flex; align-items: center; overflow: hidden; }
.ffc-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; z-index: 0; }
.ffc-hero .veil { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,18,17,.42) 0, rgba(20,18,17,0) 170px),
              linear-gradient(100deg, rgba(24,22,21,.90) 0%, rgba(24,22,21,.70) 38%, rgba(24,22,21,.28) 66%, rgba(24,22,21,.04) 100%); }
.ffc-hero .ffc-wrap { position: relative; z-index: 2; width: 100%; padding-top: 134px; padding-bottom: 80px; }
.ffc-hero .inner { max-width: 760px; color: #fff; }
.ffc-hero .ffc-eyebrow { color: #fff; margin-bottom: 24px; } .ffc-hero .ffc-eyebrow::before { background: #fff; }
.ffc-hero h1 { color: #fff; font-size: clamp(40px,5.2vw,68px); font-weight: 800; line-height: 1.04; margin-bottom: 22px; }
.ffc-hero h1 .vif { color: var(--vif-hero); } .ffc-hero h1 .sauge { color: var(--sauge); }
.ffc-hero .ex { font-family: var(--wp--preset--font-family--titre); font-weight: 600; font-size: clamp(19px,2vw,23px);
  line-height: 1.4; color: #fff; max-width: 640px; margin-bottom: 16px; }
.ffc-hero .sub { color: rgba(255,255,255,.86); font-size: 17px; max-width: 600px; margin-bottom: 34px; }
.ffc-hero .ctas { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* ---- Sections ---- */
.ffc-sec { padding: 92px 0; }
.ffc-sec-tint { background: var(--gris-fond); }
.ffc-head { margin-bottom: 46px; }
.ffc-head.center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.ffc-head.center .ffc-eyebrow { justify-content: center; }
.ffc-head .ffc-eyebrow { margin-bottom: 18px; }
.ffc-head .intro { margin-top: 16px; font-size: 17.5px; max-width: 680px; }
.ffc-head.center .intro { margin-left: auto; margin-right: auto; }

/* ---- Grille formations ---- */
.ffc-fgrid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.ffc-fcard { position: relative; border-radius: var(--r-card); min-height: 410px; overflow: hidden; display: flex;
  flex-direction: column; justify-content: flex-end; padding: 26px; transition: transform .25s, box-shadow .25s; }
.ffc-fcard:hover { transform: translateY(-6px); box-shadow: 0 26px 56px rgba(51,49,47,.18); }
.ffc-fcard.c1 { background: #F5B8B6; } .ffc-fcard.c1 .frame { background: #EA7571; }
.ffc-fcard.c2 { background: #C2DEE7; } .ffc-fcard.c2 .frame { background: #76B4C9; }
.ffc-fcard.c3 { background: #F6DBA1; } .ffc-fcard.c3 .frame { background: #EEC061; }
.ffc-fcard.c4 { background: #C2DAD1; } .ffc-fcard.c4 .frame { background: #82B2A2; }
.ffc-fcard .frame { position: absolute; top: -60px; left: -60px; width: 280px; height: 280px; z-index: 0;
  transition: transform .55s cubic-bezier(.4,0,.2,1); }
.ffc-fcard.round .frame { border-radius: 50%; }
.ffc-fcard.incl .frame { border-radius: 42px; transform: rotate(20deg); }
.ffc-fcard:hover .frame { transform: scale(3.4); }
.ffc-fcard.incl:hover .frame { transform: rotate(20deg) scale(3.4); }
.ffc-fcard .photo { position: absolute; top: -30px; left: -30px; width: 212px; height: 212px; overflow: hidden; z-index: 1; }
.ffc-fcard.round .photo { border-radius: 50%; }
.ffc-fcard.incl .photo { border-radius: 32px; transform: rotate(20deg); }
.ffc-fcard.incl .photo img { transform: rotate(-20deg) scale(1.6); }
.ffc-fcard .photo img { width: 100%; height: 100%; object-fit: cover; }
.ffc-fcard .body { position: relative; z-index: 2; padding-right: 58px; }
.ffc-fcard .body h3 { font-family: var(--wp--preset--font-family--titre); font-weight: 700; font-size: 18.5px;
  line-height: 1.22; color: var(--anthracite); margin-bottom: 8px; }
.ffc-fcard .body p { font-size: 14px; line-height: 1.5; color: var(--anthracite); opacity: .82; }
.ffc-fcard .go { position: absolute; right: 24px; bottom: 24px; z-index: 2; width: 50px; height: 50px; border-radius: 50%;
  background: var(--anthracite); color: #fff; display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.ffc-fcard:hover .go { transform: rotate(45deg); }

/* ---- Formation phare ---- */
.ffc-phare { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
  background: var(--sauge-claire); border-radius: var(--r-big); overflow: hidden; margin-bottom: 22px; min-height: 340px; }
.ffc-phare .ph-txt { padding: 48px 52px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.ffc-badge-phare { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--rouge); margin-bottom: 14px; }
.ffc-phare h3 { font-size: clamp(24px,2.5vw,33px); font-weight: 800; line-height: 1.16; margin-bottom: 14px; color: var(--anthracite); }
.ffc-phare p { font-size: 16.5px; margin-bottom: 26px; max-width: 520px; }
.ffc-phare .ph-media { position: relative; overflow: hidden; }
.ffc-phare .ph-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---- Méthode ---- */
.ffc-methode .grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 60px; align-items: center; }
.ffc-princ { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.ffc-princ .p { display: flex; gap: 20px; align-items: center; }
.ffc-princ .ic { flex: none; width: 56px; height: 56px; border-radius: 16px; background: #fff; color: var(--petrole);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(51,49,47,.06); }
.ffc-princ h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.ffc-princ p { font-size: 15px; }
.ffc-promesse { display: flex; align-items: center; gap: 20px; margin-top: 30px; padding-top: 28px; border-top: 1px solid #E2DED6; }
.ffc-promesse .ic { flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--rouge); color: #fff;
  display: flex; align-items: center; justify-content: center; }
.ffc-promesse p { font-size: 17px; color: var(--anthracite); } .ffc-promesse b { font-weight: 700; color: var(--petrole-fonce); }
.ffc-methode .visu { border-radius: var(--r-big); overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 26px 60px rgba(51,49,47,.16); }
.ffc-methode .visu img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Qui suis-je ---- */
.ffc-qui .grid { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 64px; align-items: center; }
.ffc-qui .media .frame { border-radius: var(--r-big); overflow: hidden; aspect-ratio: 1/1;
  box-shadow: 0 28px 64px rgba(51,49,47,.18); background: var(--sauge-claire); }
.ffc-qui .media .frame img { width: 100%; height: 100%; object-fit: cover; }
.ffc-qui h2 { margin: 18px 0 20px; }
.ffc-qui .corps p { margin-bottom: 15px; }
.ffc-qui .verbatim { font-family: var(--wp--preset--font-family--titre); font-weight: 600; font-size: 20px;
  line-height: 1.4; color: var(--anthracite); margin: 20px 0 22px; }
.ffc-qui .verbatim .qm { color: var(--rouge); font-weight: 800; }
.ffc-zones { font-size: 14.5px; color: #7A786F; margin-bottom: 24px; } .ffc-zones b { color: var(--anthracite); }

/* ---- Formats ---- */
.ffc-formats .row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; align-items: stretch; }
.ffc-fmt { border-radius: var(--r-card); padding: 38px 34px; display: flex; flex-direction: column;
  transition: transform .38s cubic-bezier(.4,0,.2,1), box-shadow .38s ease; }
.ffc-fmt.f1 { background: #C7DBD2; --mid: #6E9D88; --deep: #3E6354; --line: rgba(62,99,84,.28); }
.ffc-fmt.hot { background: #C6E1ED; --mid: #1282A2; --deep: #0E6B8A; --line: rgba(18,130,162,.26);
  box-shadow: 0 18px 44px rgba(18,130,162,.18); }
.ffc-fmt.f3 { background: #F6DEAE; --mid: #E0A63A; --deep: #A9741C; --line: rgba(168,116,28,.30); }
.ffc-fmt:hover { transform: translateY(-16px); box-shadow: 0 26px 56px rgba(51,49,47,.16); }
.ffc-formats .row:has(.ffc-fmt:not(.hot):hover) .ffc-fmt.hot { transform: translateY(0); box-shadow: none; }
.ffc-fmt .tag { display: inline-flex; align-items: center; width: fit-content; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--mid); border-radius: var(--r-pill);
  padding: 6px 15px; margin-bottom: 14px; }
.ffc-fmt h3 { font-size: 23px; font-weight: 800; margin-bottom: 6px; color: var(--anthracite); }
.ffc-fmt .dur { font-size: 14.5px; color: var(--deep); font-weight: 600; margin-bottom: 20px; }
.ffc-fmt ul { list-style: none; margin-bottom: 26px; flex: 1; padding: 0; }
.ffc-fmt li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; padding: 8px 0;
  border-top: 1px solid var(--line); color: var(--anthracite); }
.ffc-fmt li .c { color: var(--mid); flex: none; margin-top: 3px; }
.ffc-btn-fmt { justify-content: center; width: 100%; background: var(--mid); color: #fff; font-size: 16px; padding: 14px 24px; gap: 10px; }
.ffc-btn-fmt .ar { transition: transform .25s; } .ffc-btn-fmt:hover { filter: brightness(1.07); }
.ffc-btn-fmt:hover .ar { transform: translate(3px,-3px); }

/* ---- Organismes de formation ---- */
.ffc-of .band { background: var(--sauge-pale); border-radius: var(--r-big); padding: 54px 60px;
  display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 48px; align-items: center; }
.ffc-of h2 { font-size: clamp(25px,2.7vw,36px); font-weight: 800; line-height: 1.16; margin-bottom: 14px; }
.ffc-of p { font-size: 16.5px; max-width: 560px; margin-bottom: 24px; color: #3A463F; }
.ffc-of .pts { display: flex; flex-direction: column; gap: 11px; }
.ffc-of .pt { background: #fff; border-radius: 14px; padding: 14px 20px; font-weight: 600; font-size: 14.5px;
  display: flex; align-items: center; gap: 11px; }
.ffc-of .pt .d { width: 8px; height: 8px; border-radius: 50%; background: var(--rouge); flex: none; }

/* ---- CTA final ---- */
.ffc-final { background: var(--rouge); color: #fff; position: relative; overflow: hidden; }
.ffc-final .fil { position: absolute; left: 60%; top: 50%; transform: translate(-50%,-50%); height: 118%; width: auto;
  opacity: .12; pointer-events: none; user-select: none; }
.ffc-final .grid { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center;
  gap: 40px; flex-wrap: wrap; }
.ffc-final h2 { color: #fff; font-size: clamp(28px,3.6vw,46px); font-weight: 800; line-height: 1.08; max-width: 640px; }
.ffc-final p { color: rgba(255,255,255,.92); margin-top: 10px; max-width: 560px; }

/* ---- Footer ---- */
footer.ffc-site { background: var(--anthracite); color: #B5B3AE; padding: 74px 0 34px; font-size: 14.5px; }
footer.ffc-site .haut { display: grid; grid-template-columns: minmax(0,2fr) repeat(3, minmax(0,1fr)); gap: 46px;
  padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,.12); }
footer.ffc-site .logo img { height: 38px; margin-bottom: 15px; }
footer.ffc-site h4 { color: #fff; font-family: var(--wp--preset--font-family--titre); font-size: 15px; font-weight: 600; margin-bottom: 13px; }
footer.ffc-site ul { list-style: none; padding: 0; } footer.ffc-site li { margin-bottom: 9px; }
footer.ffc-site a:hover { color: #fff; }
footer.ffc-site .legal { padding-top: 26px; font-size: 13px; color: #8C8A85; }

/* ================================================================
   PAGES INTERNES (Qui suis-je, Contact, Coming soon)
   Mêmes tokens, mêmes principes que l'accueil. Header solide
   (body.ffc-inner-page), donc les heros de page sont des bandeaux
   clairs et non des heros sombres voilés.
   ================================================================ */

/* ---- Hero de page interne ---- */
.ffc-phero { position: relative; padding: 138px 0 64px; background: var(--gris-fond); overflow: hidden; }
.ffc-phero::after { content: ""; position: absolute; top: -120px; right: -80px; width: 360px; height: 360px;
  border-radius: 50%; background: radial-gradient(circle at center, rgba(148,185,175,.34), transparent 70%); pointer-events: none; }
.ffc-phero .ffc-eyebrow { margin-bottom: 18px; }
.ffc-phero h1 { font-size: clamp(34px,4.6vw,58px); font-weight: 800; line-height: 1.06; color: var(--anthracite); margin-bottom: 18px; }
.ffc-phero h1 .vif { color: var(--rouge); } .ffc-phero h1 .pet { color: var(--petrole); } .ffc-phero h1 .sauge { color: var(--sauge); }
.ffc-phero .sub { font-size: clamp(17px,1.7vw,20px); line-height: 1.5; color: #55534C; max-width: 620px; margin-bottom: 28px; }
.ffc-phero .ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.ffc-phero.with-media .grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: 40px; align-items: center; }
.ffc-phero .media { position: relative; z-index: 1; border-radius: var(--r-big); overflow: hidden; aspect-ratio: 4/5;
  max-width: 340px; margin-right: auto; box-shadow: 0 28px 64px rgba(51,49,47,.18); background: var(--sauge-claire); }
.ffc-phero .media img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Article narratif (prose) ---- */
.ffc-prose { max-width: 760px; }
.ffc-prose p { font-size: 17.5px; line-height: 1.72; color: var(--texte); margin-bottom: 18px; }
.ffc-prose p:last-child { margin-bottom: 0; }
.ffc-prose b, .ffc-prose strong { color: var(--anthracite); font-weight: 700; }
.ffc-sec .ffc-eyebrow + .ffc-h2 { margin-top: 16px; }
.ffc-sec .ffc-h2 + .ffc-prose { margin-top: 22px; }

/* Citation détachée */
.ffc-pull { font-family: var(--wp--preset--font-family--titre); font-weight: 600; font-size: clamp(22px,2.4vw,30px);
  line-height: 1.34; color: var(--anthracite); border-left: 4px solid var(--rouge); padding-left: 26px; margin: 4px 0; max-width: 760px; }

/* Accroche / manifeste (texte mis en avant) */
.ffc-lead { font-family: var(--wp--preset--font-family--titre); font-weight: 600; font-size: clamp(20px,2.1vw,26px);
  line-height: 1.42; color: var(--anthracite); }
.ffc-lead.center { max-width: 920px; margin-left: auto; margin-right: auto; text-align: center; }
.ffc-prose.center { max-width: 860px; margin-left: auto; margin-right: auto; text-align: center; }
.ffc-lead + .ffc-prose { margin-top: 20px; }

/* Pages légales (confidentialité, mentions légales) : prose sobre, lisible.
   Le corps vient de post-content (contenu WordPress) → on stylise les descendants. */
.ffc-legal { max-width: 760px; }
.ffc-legal > * + * { margin-top: 18px; }
.ffc-legal h2 { font-size: clamp(20px,2vw,25px); font-weight: 800; line-height: 1.2; color: var(--anthracite); margin-top: 40px; }
.ffc-legal h2:first-child { margin-top: 0; }
.ffc-legal p, .ffc-legal li { font-size: 16.5px; line-height: 1.7; color: var(--texte); }
.ffc-legal ul { padding-left: 22px; list-style: disc; }
.ffc-legal li { margin-top: 6px; }
.ffc-legal strong { color: var(--anthracite); font-weight: 700; }
.ffc-legal a { color: var(--petrole-fonce); text-decoration: underline; text-underline-offset: 2px; }
.ffc-legal a:hover { color: var(--rouge); }

/* Parcours « fil rouge » : une ligne temporelle DROITE = le métier (le fil rouge) ;
   les expériences (terrains) sont des jalons chronologiques posés dessus.
   Lecture « un même métier, de multiples secteurs » — progression, pas errance.
   Robuste : chaque jalon porte son propre segment de ligne (ils se raboutent). */
.ffc-tl { margin-top: 14px; }
.ffc-tl-items { display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch; }
.ffc-tl-item { display: flex; flex-direction: column; padding: 0 9px; }
.tl-label { font-family: var(--wp--preset--font-family--titre); font-weight: 800; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cc, var(--petrole-fonce)); text-align: center; min-height: 2.6em;
  margin-bottom: 12px; display: flex; align-items: flex-end; justify-content: center; }
.tl-rail { position: relative; height: 26px; margin-bottom: 16px; }
.tl-rail::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 2px; background: var(--rouge); opacity: .4; transform: translateY(-50%); }
.ffc-tl-item:first-child .tl-rail::before { left: 50%; }
.ffc-tl-item:last-child .tl-rail::before { right: 50%; }
.tl-dot { position: absolute; top: 50%; left: 50%; width: 15px; height: 15px; border-radius: 50%; background: var(--rouge);
  border: 3px solid var(--blanc); box-shadow: 0 0 0 2px var(--rouge); transform: translate(-50%,-50%); z-index: 2; }
.tl-card { background: var(--cc-bg, var(--blanc)); border-radius: var(--r-card); border-top: 4px solid var(--cc, var(--sauge));
  padding: 18px 18px 20px; box-shadow: 0 14px 30px rgba(43,42,40,.06); flex: 1; }
.tl-card h3 { font-size: 16px; font-weight: 800; line-height: 1.18; color: var(--anthracite); margin-bottom: 8px; }
.tl-card p { font-size: 13px; line-height: 1.5; color: var(--texte); margin: 0; }
.cc-sau  { --cc: #3E6354; --cc-bg: #EAF1ED; }
.cc-pet  { --cc: #0E6B8A; --cc-bg: #E2EFF4; }
.cc-amb  { --cc: #A9741C; --cc-bg: #FAF1DD; }
.cc-pet2 { --cc: #1282A2; --cc-bg: #E8F4F8; }
.cc-red  { --cc: #C2130C; --cc-bg: #FBE9E7; }
/* L'axe : le métier qui relie tout. Destination de la convergence. */
.ffc-conv-axis { max-width: 900px; margin: 0 auto; text-align: center; background: var(--blanc);
  border: 1px solid #ECE7DF; border-top: 4px solid var(--rouge); border-radius: var(--r-card);
  padding: 32px 40px; box-shadow: 0 18px 40px rgba(43,42,40,.07); }
.ffc-conv-axis p { font-family: var(--wp--preset--font-family--titre); font-weight: 600;
  font-size: clamp(18px,1.65vw,21px); line-height: 1.5; color: var(--anthracite); margin: 0; }
.ffc-conv-axis strong { font-weight: 800; color: var(--rouge); }

/* Bloc deux colonnes : prose + carte citation (claire) */
.ffc-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 54px; align-items: center; }
.ffc-quote-card { background: var(--sauge-claire); color: var(--anthracite); border-radius: var(--r-big);
  padding: 46px 44px; position: relative; overflow: hidden; }
.ffc-quote-card .mark { font-family: var(--wp--preset--font-family--titre); font-weight: 800; font-size: 84px; line-height: .5;
  color: var(--rouge); display: block; margin-bottom: 14px; }
.ffc-quote-card blockquote { font-family: var(--wp--preset--font-family--titre); font-weight: 700;
  font-size: clamp(23px,2.5vw,31px); line-height: 1.24; color: var(--anthracite); }
.ffc-quote-card cite { display: block; margin-top: 20px; font-style: normal; font-size: 14.5px; line-height: 1.55; color: #55534C; }

/* Vagues d'apprentissage : étiquettes à plat, centrées et labellisées */
.ffc-waves { text-align: center; }
.ffc-waves .lbl { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #7A786F; margin-bottom: 16px; }
.ffc-chips { display: flex; flex-wrap: wrap; gap: 11px; }
.ffc-chips.center { justify-content: center; }
.ffc-chip { font-size: 14.5px; font-weight: 600; color: var(--petrole-fonce); background: var(--sauge-claire);
  border-radius: var(--r-pill); padding: 10px 19px; }
.ffc-chip.now { background: var(--rouge); color: #fff; box-shadow: 0 10px 22px rgba(219,21,13,.24); }

/* ---- Page Contact : formulaire + coordonnées ---- */
.ffc-contact .grid { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 44px; align-items: start; }
.ffc-form { background: var(--blanc); border: 1px solid #ECEAE4; border-radius: var(--r-big); padding: 38px 40px;
  box-shadow: 0 18px 44px rgba(51,49,47,.06); }
.ffc-field { margin-bottom: 20px; }
.ffc-field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 7px; color: var(--anthracite); }
.ffc-field .req { color: var(--rouge); margin-left: 2px; }
.ffc-form input[type="text"], .ffc-form input[type="email"], .ffc-form select, .ffc-form textarea {
  width: 100%; border: 1.5px solid #DDD9D1; border-radius: 12px; padding: 13px 16px; font: inherit; font-size: 15.5px;
  color: var(--texte); background: #FCFBF9; transition: border-color .2s, box-shadow .2s; }
.ffc-form textarea { min-height: 142px; resize: vertical; line-height: 1.5; }
.ffc-form select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232B2A28' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.ffc-form input:focus, .ffc-form select:focus, .ffc-form textarea:focus { outline: none; border-color: var(--petrole);
  box-shadow: 0 0 0 3px rgba(18,130,162,.16); }
.ffc-form input::placeholder, .ffc-form textarea::placeholder { color: #A8A59D; }
.ffc-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: #55534C; }
.ffc-check input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--rouge); cursor: pointer; }
.ffc-check a { color: var(--petrole); text-decoration: underline; }
.ffc-hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }
.ffc-form .submit { margin-top: 26px; }
.ffc-form .submit .ffc-btn { border: 0; }
.ffc-note { font-size: 13px; color: #7A786F; margin-top: 16px; line-height: 1.5; }
.ffc-note a { color: var(--petrole); text-decoration: underline; }

/* ---- Compat Contact Form 7 ----
   Le formulaire CF7 est enveloppé dans <div class="ffc-form"> (les styles .ffc-form
   s'appliquent alors en descendant). CF7 ajoute ses propres wrappers/classes ; on les
   neutralise pour conserver le gabarit, et on stylise validation + messages de retour. */
.ffc-form .wpcf7-form, .ffc-form .wpcf7-form-control-wrap { display: block; }
.ffc-form .wpcf7-not-valid-tip { color: var(--rouge); font-size: 13px; margin-top: 6px; display: block; }
.ffc-form input.wpcf7-not-valid, .ffc-form textarea.wpcf7-not-valid, .ffc-form select.wpcf7-not-valid { border-color: var(--rouge); }
.ffc-form .wpcf7-response-output { margin: 18px 0 0 !important; padding: 13px 16px; border: 1px solid; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: #E6B400; background: #FDF6E3; color: #7A5B00; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--sauge); background: var(--sauge-claire); color: #3E6354; }
.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output { border-color: var(--rouge); background: #FBE9E7; color: #C2130C; }
.ffc-form .wpcf7-spinner { margin-left: 12px; }
/* Consentement RGPD : case + texte alignés sur une ligne */
.ffc-consent .wpcf7-list-item { margin: 0; }
.ffc-consent .wpcf7-list-item label { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: #55534C; cursor: pointer; }
.ffc-consent input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--rouge); cursor: pointer; }
.ffc-consent a { color: var(--petrole); text-decoration: underline; }

.ffc-coords { background: #C2DEE7; border-radius: var(--r-big); padding: 34px 34px; }
.ffc-coords h3 { font-size: 19px; font-weight: 800; color: var(--anthracite); margin-bottom: 22px; }
.ffc-coords .row { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 20px; }
.ffc-coords .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--blanc); color: var(--petrole);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(51,49,47,.07); }
.ffc-coords .row .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6E7B73; margin-bottom: 3px; }
.ffc-coords .row .val { font-size: 15.5px; color: var(--anthracite); font-weight: 600; }
.ffc-coords .row a.val { color: var(--petrole); }
.ffc-coords .row a.val:hover { text-decoration: underline; }
.ffc-coords .row .val small { display: block; font-weight: 400; font-size: 13.5px; color: #55534C; margin-top: 2px; }
.ffc-of-mini { margin-top: 26px; padding-top: 26px; border-top: 1px solid rgba(43,42,40,.12); }
.ffc-of-mini h4 { font-size: 15.5px; font-weight: 700; color: var(--anthracite); margin-bottom: 8px; }
.ffc-of-mini p { font-size: 14.5px; line-height: 1.6; color: #3A463F; }

/* ---- Coming soon (page d'attente plein écran) ---- */
.ffc-soon { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center;
  position: relative; overflow: hidden; background: var(--anthracite); color: #fff; padding: 40px 22px; }
.ffc-soon .fil { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); height: 130%; width: auto;
  opacity: .06; pointer-events: none; user-select: none; }
.ffc-soon .inner { position: relative; z-index: 1; max-width: 640px; }
.ffc-soon .logo { height: 56px; width: auto; margin: 0 auto 40px; display: block; }
.ffc-soon h1 { font-size: clamp(36px,5.5vw,60px); font-weight: 800; line-height: 1.04; color: #fff; margin-bottom: 22px; }
.ffc-soon h1 .vif { color: var(--vif-hero); }
.ffc-soon p { font-size: clamp(17px,2vw,20px); line-height: 1.55; color: rgba(255,255,255,.84); max-width: 640px; margin: 0 auto 30px; }
.ffc-soon a { text-decoration: none; }
.ffc-soon a.mail { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 16px; color: #fff;
  background: var(--rouge); border-radius: var(--r-pill); padding: 13px 26px; transition: transform .2s, box-shadow .2s; }
.ffc-soon a.mail:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(219,21,13,.34); }

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .ffc-fgrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ffc-phare { grid-template-columns: 1fr; } .ffc-phare .ph-media { min-height: 240px; }
  .ffc-methode .grid, .ffc-qui .grid, .ffc-formats .row, .ffc-of .band { grid-template-columns: 1fr; gap: 40px; }
  .ffc-methode .visu, .ffc-qui .media .frame { aspect-ratio: 16/11; } .ffc-fmt.hot { transform: none; }
  .ffc-phero.with-media .grid, .ffc-contact .grid, .ffc-split { grid-template-columns: 1fr; gap: 40px; }
  .ffc-phero .media { aspect-ratio: 4/5; max-width: 300px; margin: 0 auto; }
  .ffc-quote-card { padding: 36px 32px; }
  /* Parcours « convergence » en deux colonnes ; rayons masqués (la convergence
     ne se lit plus avec 2 colonnes), l'axe prend le relais juste en dessous. */
  /* Ligne temporelle en VERTICAL : ligne à gauche, jalons empilés. */
  .ffc-tl-items { grid-template-columns: 1fr; }
  .ffc-tl-item { display: grid; grid-template-columns: 24px 1fr; column-gap: 16px; align-items: start; padding: 0 0 22px; }
  .ffc-tl-item:last-child { padding-bottom: 0; }
  .tl-label { grid-column: 2; grid-row: 1; min-height: 0; margin-bottom: 6px; text-align: left; justify-content: flex-start; align-items: center; }
  .tl-card { grid-column: 2; grid-row: 2; }
  .tl-rail { grid-column: 1; grid-row: 1 / 3; width: 24px; height: auto; margin: 0; }
  .tl-rail::before { left: 50%; right: auto; top: 7px; bottom: -22px; width: 2px; height: auto; transform: translateX(-50%); }
  .ffc-tl-item:first-child .tl-rail::before { left: 50%; top: 7px; }
  .ffc-tl-item:last-child .tl-rail::before { right: auto; bottom: auto; height: 0; }
  .tl-dot { top: 7px; left: 50%; }
  .ffc-conv-axis { margin-top: 28px; }
}
/* Bascule menu mobile (burger) — tablettes étroites + smartphones */
@media (max-width: 860px) {
  .ffc-burger { display: inline-flex; }
  .ffc-nav > .ffc-btn { display: none; }
  .ffc-nav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    align-items: stretch; gap: 0; margin: 0; background: #fff; padding: 8px 22px 20px;
    box-shadow: 0 20px 44px rgba(51,49,47,.14); border-bottom: 1px solid #ECEAE4; max-height: calc(100vh - 72px); overflow-y: auto; }
  header.ffc-site.is-open .ffc-nav nav, header.ffc-site.is-scrolled.is-open .ffc-nav nav { display: flex; color: var(--anthracite); }
  .ffc-nav nav > a, .ffc-nav nav .has-sub > a { width: 100%; padding: 14px 0; border-bottom: 1px solid #F1EFEA; }
  .ffc-nav nav .has-sub { position: static; display: block; }
  .ffc-nav nav .has-sub > a { border-bottom: 0; }
  .ffc-nav nav .caret { display: none; }
  .ffc-submenu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; margin: 0;
    padding: 0 0 8px 16px; border: 0; border-radius: 0; box-shadow: none; }
  .ffc-nav nav .ffc-submenu a { padding: 11px 0; font-size: 14.5px; }
  .ffc-nav nav .ffc-submenu a:hover { background: transparent; }
}
@media (max-width: 620px) {
  .ffc-fgrid { grid-template-columns: 1fr; }
  .ffc-wrap { padding: 0 22px; }
  .ffc-sec { padding: 64px 0; }
  .ffc-phero { padding: 116px 0 48px; }
  .ffc-form { padding: 28px 22px; }
  .ffc-coords { padding: 28px 24px; }
  .ffc-quote-card { padding: 32px 26px; }
  .ffc-conv-axis { padding: 28px 24px; }
  .ffc-soon p br { display: none; }
}

/* ===== Corrections rendu WordPress (2026-06-19) ===== */
/* Barre d'admin WP : décale le header fixe pour qu'elle ne le recouvre pas (vue connecté·e uniquement). */
.admin-bar header.ffc-site { top: 32px; }
@media (max-width: 782px) { .admin-bar header.ffc-site { top: 46px; } }

/* Neutralise le block-gap WordPress (1.5rem) inséré entre les blocs racine et entre les sections.
   L'espacement vertical est porté UNIQUEMENT par le padding des sections (.ffc-sec) :
   corrige l'écart blanc CTA↔footer et les espaces verticaux excessifs entre sections. */
.wp-site-blocks > * + *,
.ffc-page > * + * { margin-block-start: 0; }
