/* V3 · thème « bleu nuit » (26/10/2026), au niveau visuel du site de référence delphoria.fr,
   avec les couleurs du site d'origine de City Formation Academy (bleu nuit + cyan).
   Chargé après site.css : on redéfinit les variables, puis les composants de la page unique. */

:root {
  --nuit: #0c1834;
  --nuit-2: #14244a;
  --nuit-3: #1c2f5c;
  --cyan: #2f9fd0;
  --cyan-clair: #7cc8ea;
  --texte: #3f4757;
  --gris: #6b7385;
  --filet: #e6e9f0;
  --fond-doux: #f4f6fa;

  --parchemin: #ffffff;
  --papier: #ffffff;
  --encre: var(--nuit);
  --sarcelle: var(--nuit-3);
  --lichen: var(--gris);
  --ardoise: var(--texte);
  --brume: #9aa1b0;
  --prairie: #d8eef8;
  --menthe: #eaf5fb;
  --police: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-carte: 10px;
  --r-grand: 999px;
  --r-champ: 10px;
  --ombre: 0 1px 2px rgb(12 24 52 / .06), 0 8px 24px -12px rgb(12 24 52 / .18);
  --largeur: 1180px;
  --section: 104px;
}

body { color: var(--texte); background: #fff; font-size: 15.5px; line-height: 1.7; }
h1, h2, h3, h4 { color: var(--nuit); font-weight: 700; letter-spacing: -.01em; }
.titre { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; font-weight: 700; letter-spacing: -.015em; }
.titre em, .t-deux em { font-style: normal; color: #7a8aa6; }
.sous { color: var(--gris); font-size: 16px; line-height: 1.75; }
.texte-doux { color: var(--gris); }
.sur-titre { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }

/* Boutons : pleins et ronds, comme la référence */
.btn { min-height: 48px; padding: 12px 28px; font: 500 14.5px/1.2 var(--police); border-width: 0; }
.btn--plein { background: var(--nuit); color: #fff; }
.btn--plein:hover { background: var(--nuit-3); }
.btn--contour { background: #e9edf4; color: var(--nuit); }
.btn--contour:hover { background: #dce2ec; color: var(--nuit); }
.btn--clair { background: #fff; color: var(--nuit); }
.btn--clair:hover { background: var(--prairie); }
.btn--verre { background: rgb(255 255 255 / .16); color: #fff; backdrop-filter: blur(4px); }
.btn--verre:hover { background: rgb(255 255 255 / .26); }
.btn--cyan { background: var(--cyan); color: #fff; }
.btn--cyan:hover { background: #2488b5; }

/* En-tête blanc, logo complet */
.bandeau { background: var(--nuit); color: #fff; border: 0; }
.bandeau a { color: var(--cyan-clair); }
.bandeau__sep { background: rgb(255 255 255 / .25); }
.entete { background: #fff; backdrop-filter: none; border-bottom: 1px solid var(--filet); }
.entete .conteneur { min-height: 84px; }
.logo img.logo__complet { width: auto; height: 58px; }
.nav > a { color: var(--nuit); font-weight: 500; font-size: 14.5px; padding: 10px 12px; border-radius: 0; position: relative; }
.nav > a:hover { background: none; color: var(--cyan); }
.nav__tel { color: var(--nuit) !important; font-weight: 600 !important; }
.nav > .btn.nav__cta, .nav > button.nav__cta { margin-left: 10px; min-height: 44px; padding: 10px 22px; border-radius: 999px; background: var(--nuit); color: #fff; }

/* Héros photo pleine largeur */
.h-heros { position: relative; color: #fff; min-height: min(620px, 78vh); display: flex; align-items: center; overflow: hidden; background: var(--nuit); }
.h-heros__fond { position: absolute; inset: 0; }
.h-heros__fond img { width: 100%; height: 100%; object-fit: cover; }
.h-heros__fond::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(12 24 52 / .92) 0%, rgb(12 24 52 / .78) 45%, rgb(12 24 52 / .35) 100%); }
.h-heros .conteneur { position: relative; padding-top: 72px; padding-bottom: 72px; }
.h-heros__cartouche { display: inline-block; background: #fff; color: var(--nuit); font-size: 14px; font-weight: 500; padding: 7px 14px; margin-bottom: 26px; }
.h-heros__cartouche span { color: var(--gris); }
.h-heros h1 { color: #fff; font-size: clamp(36px, 5vw, 64px); line-height: 1.06; font-weight: 700; letter-spacing: -.01em; max-width: 780px; margin: 0 0 22px; }
.h-heros h1 em { font-style: normal; color: var(--cyan-clair); }
.h-heros p { color: rgb(255 255 255 / .85); font-size: 17px; max-width: 560px; margin: 0 0 30px; }
.h-heros__chiffres { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgb(255 255 255 / .18); max-width: 720px; }
.h-heros__chiffres div { display: grid; }
.h-heros__chiffres b { font-size: 26px; font-weight: 700; color: #fff; line-height: 1.1; }
.h-heros__chiffres span { font-size: 13px; color: rgb(255 255 255 / .7); }

/* Sections et titres */
.h-section { padding: var(--section) 0; }
.h-section--doux { background: var(--fond-doux); }
.h-section--nuit { background: var(--nuit); color: rgb(255 255 255 / .75); }
.h-section--nuit h2, .h-section--nuit h3 { color: #fff; }
.h-section--nuit .titre em { color: #8ea3c7; }
.h-section--nuit .sous { color: rgb(255 255 255 / .7); }
.h-tete { max-width: 720px; margin-bottom: 48px; }
.h-tete .sous { margin: 16px 0 0; }
.h-tete--centre { margin-left: auto; margin-right: auto; text-align: center; }

/* Catalogue */
.h-filtres { display: flex; flex-wrap: wrap; gap: 8px; margin: -16px 0 36px; }
.h-filtres button { font: 500 14px var(--police); padding: 10px 18px; border-radius: 999px; border: 1px solid var(--filet); background: #fff; color: var(--nuit); cursor: pointer; }
.h-filtres button[aria-pressed="true"] { background: var(--nuit); color: #fff; border-color: var(--nuit); }
.h-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.h-carte { background: #fff; box-shadow: 0 10px 34px -14px rgb(12 24 52 / .28), 0 0 0 1px rgb(12 24 52 / .05); display: flex; flex-direction: column; scroll-margin-top: 110px; }
.h-carte[hidden] { display: none; }
.h-carte__photo { aspect-ratio: 16 / 9; overflow: hidden; background: var(--fond-doux); }
.h-carte__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.h-carte:hover .h-carte__photo img { transform: scale(1.03); }
.h-carte__corps { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.h-carte__famille { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.h-carte__prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; color: #7a8aa6; }
.h-carte__prix b { font-size: 25px; font-weight: 700; color: var(--nuit); letter-spacing: -.01em; }
.h-carte__prix s { font-size: 14px; }
.h-carte__prix small { font-size: 12.5px; }
.h-carte h3 { font-size: 17.5px; line-height: 1.35; margin: 0; }
.h-carte__specs { margin: 6px 0 0; display: grid; font-size: 14px; }
.h-carte__specs div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--filet); }
.h-carte__specs dt { color: var(--gris); }
.h-carte__specs dd { margin: 0; color: var(--nuit); font-weight: 600; text-align: right; }
.h-carte__fin { margin: 4px 0 0; font-size: 13px; color: var(--gris); }
.h-carte__actions { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.h-carte__actions .btn { min-height: 44px; padding: 10px 22px; font-size: 14px; }
.h-mention { margin-top: 22px; font-size: 13px; color: var(--gris); }

/* Méthode : photo + questions dépliables */
.h-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.h-duo__photo { aspect-ratio: 4 / 3; overflow: hidden; }
.h-duo__photo img { width: 100%; height: 100%; object-fit: cover; }
.h-plis { margin-top: 26px; border-top: 1px solid var(--filet); }
.h-plis details { border-bottom: 1px solid var(--filet); }
.h-plis summary { list-style: none; cursor: pointer; padding: 18px 34px 18px 0; font-weight: 600; color: var(--nuit); position: relative; font-size: 15px; }
.h-plis summary::-webkit-details-marker { display: none; }
.h-plis summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 400; font-size: 20px; color: var(--gris); }
.h-plis details[open] summary { color: var(--cyan); }
.h-plis details[open] summary::after { content: '−'; }
.h-plis details > div { padding: 0 0 18px; font-size: 14.5px; }
.h-plis ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }

/* Chiffres sur bande sombre */
.h-chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.h-chiffre { background: var(--nuit-2); border-top: 2px solid var(--cyan); padding: 26px 24px; }
.h-chiffre b { display: block; font-size: 46px; line-height: 1; font-weight: 700; color: #fff; }
.h-chiffre strong { display: block; color: #fff; font-weight: 600; font-size: 15px; margin-top: 14px; }
.h-chiffre span { font-size: 13px; color: rgb(255 255 255 / .6); }

/* Organisme */
.h-organisme { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.h-faits { margin: 0; }
.h-faits div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--filet); font-size: 14.5px; }
.h-faits dt { color: var(--gris); }
.h-faits dd { margin: 0; color: var(--nuit); font-weight: 600; text-align: right; }
.h-qualiopi { background: #fff; box-shadow: var(--ombre); padding: 28px; }
.h-qualiopi img { width: 170px; height: auto; margin-bottom: 18px; }
.h-qualiopi p { margin: 0; font-size: 14.5px; }

/* Ce qui nous distingue */
.h-atouts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.h-atout { position: relative; overflow: hidden; background: var(--nuit-2); border-top: 2px solid rgb(255 255 255 / .12); padding: 32px 30px 36px; }
.h-atout__num { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--cyan-clair); }
.h-atout h3 { font-size: 19px; margin: 10px 0 12px; }
.h-atout p { margin: 0 0 12px; font-size: 14.5px; position: relative; }
.h-atout ul { margin: 0; padding-left: 18px; font-size: 14px; display: grid; gap: 4px; position: relative; }
.h-atout::after { content: attr(data-num); position: absolute; right: -6px; bottom: -34px; font-size: 130px; font-weight: 800; line-height: 1; color: rgb(255 255 255 / .05); }

/* FAQ en lignes */
.h-faq { max-width: 860px; border-top: 1px solid var(--filet); }
.h-faq details { border-bottom: 1px solid var(--filet); }
.h-faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; color: var(--nuit); position: relative; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--gris); }
.h-faq details[open] summary::after { content: '−'; }
.h-faq details > div { padding: 0 0 22px; }

/* Appel final */
.h-appel { background: var(--nuit); color: rgb(255 255 255 / .78); text-align: center; padding: 88px 0; }
.h-appel h2 { color: #fff; font-size: clamp(28px, 3vw, 38px); margin-bottom: 16px; }
.h-appel p { max-width: 560px; margin: 0 auto 28px; }
.h-appel .boutons { justify-content: center; }

/* Pied de page */
.pied { margin-top: 0; background: #fff; }
.pied__grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.pied h3 { color: var(--nuit); font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 600; }
.pied a { color: var(--texte); }
.pied .logo img.logo__complet { height: 64px; }

/* Fenêtres devis / programme (structure inchangée, couleurs du thème) */
dialog.devis, dialog.fiche { border: 0; padding: 0; border-radius: 14px; background: #fff; color: var(--texte); width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); box-shadow: 0 30px 80px -20px rgb(12 24 52 / .5); }
dialog.fiche { width: min(760px, calc(100vw - 24px)); }
dialog::backdrop { background: rgb(12 24 52 / .6); }
.devis__form, .fiche__corps { position: relative; padding: 30px; display: grid; gap: 14px; }
.fiche__corps { overflow-y: auto; max-height: calc(100dvh - 32px); }
.fiche__photo { margin: -30px -30px 6px; aspect-ratio: 21 / 8; overflow: hidden; }
.fiche__photo img { width: 100%; height: 100%; object-fit: cover; }
.fiche__corps h3 { font-size: 16.5px; margin-top: 8px; }
.fiche__corps p { margin: 0; }
.devis__fermer { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--ombre); font-size: 20px; line-height: 1; cursor: pointer; color: var(--nuit); }
.devis__etape { display: grid; gap: 14px; }
.devis__recap { display: grid; gap: 4px; background: var(--fond-doux); border-left: 3px solid var(--cyan); padding: 14px 16px; margin-right: 34px; }
.devis__recap b { font-weight: 600; color: var(--nuit); }
.devis__recap-ligne { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; }
.devis__recap-prix b { font-size: 22px; }
.devis__recap-prix span { font-size: 13px; color: var(--gris); }
.devis__recap .lien-fleche { justify-self: start; background: none; border: 0; padding: 0; cursor: pointer; color: var(--cyan); text-decoration: underline; font: 500 14px var(--police); }
#devis-titre { padding-right: 40px; }
.devis [hidden], .fiche [hidden] { display: none !important; }
.champ label { font-weight: 500; color: var(--nuit); }
.champ input, .champ select, .champ textarea { border-color: #d5dae4; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgb(47 159 208 / .18); }
.fiche__infos { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.fiche__infos div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--filet); padding: 10px 0; }
.fiche__infos dt { font-size: 14px; color: var(--gris); }
.fiche__infos dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--nuit); text-align: right; }
.fiche__modules { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fiche__modules li { border-left: 3px solid var(--cyan); padding-left: 12px; font-size: 14.5px; }
.fiche__actions { position: sticky; bottom: -30px; background: #fff; padding: 14px 0 0; margin-bottom: -4px; }
.liste li::before { background: var(--cyan); }
.encart { background: var(--fond-doux); border-radius: 0; border-left: 3px solid var(--cyan); }
body.fenetre-ouverte { overflow: hidden; position: fixed; left: 0; right: 0; width: 100%; }
dialog.devis, dialog.fiche, .devis__form, .fiche__corps { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }

/* Assistant aux couleurs du thème */
.assistant__tete { background: var(--nuit); color: #fff; }
.assistant__tete b, .assistant__tete span { color: #fff; }
.bulle--moi { background: var(--nuit); }
.choix button:hover { background: var(--prairie); }

/* Responsive */
@media (max-width: 1080px) {
  .h-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-duo, .h-organisme { grid-template-columns: 1fr; gap: 36px; }
  .h-chiffres { grid-template-columns: repeat(2, 1fr); }
  .pied__grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .entete .conteneur { min-height: 72px; }
  .logo img.logo__complet { height: 48px; }
  .nav { background: #fff; }
  .nav > a { border-bottom: 1px solid var(--filet); }
  .nav > button.nav__cta { margin: 18px 0 0; justify-content: center; min-height: 52px; }
}
@media (max-width: 760px) {
  :root { --section: 68px; }
  body { font-size: 15px; }
  .bandeau .conteneur > span:first-child { display: none; }
  .bandeau .conteneur { min-height: 0; padding-top: 7px; padding-bottom: 7px; }
  .h-heros { min-height: 0; }
  .h-heros .conteneur { padding-top: 44px; padding-bottom: 40px; }
  .h-heros__fond::after { background: rgb(12 24 52 / .82); }
  .h-heros h1 { font-size: 34px; }
  .h-heros p { font-size: 15.5px; margin-bottom: 22px; }
  .h-heros__chiffres { margin-top: 28px; gap: 12px 24px; }
  .h-heros__chiffres b { font-size: 21px; }
  .h-filtres { flex-wrap: nowrap; overflow-x: auto; margin: -20px -16px 26px; padding: 0 16px 4px; scrollbar-width: none; }
  .h-filtres button { flex-shrink: 0; }
  .h-cartes { grid-template-columns: 1fr; gap: 20px; }
  .h-carte__corps { padding: 18px 18px 20px; }
  .h-chiffres, .h-atouts { grid-template-columns: 1fr; }
  .h-chiffre b { font-size: 38px; }
  .fiche__infos { grid-template-columns: 1fr; }
  dialog.devis, dialog.fiche { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .devis__form, .fiche__corps { padding: 22px 16px; max-height: 100dvh; overflow-y: auto; }
  .fiche__photo { margin: -22px -16px 4px; }
  .pied__grille { grid-template-columns: 1fr; }
}
.h-ancre { display: block; position: relative; top: -120px; visibility: hidden; height: 0; }

/* Corrections après relecture (26/10/2026) */
/* L'ancienne classe .fiche de la V2 (encadré latéral) s'appliquait aux fenêtres programme */
dialog.fiche dt { text-transform: none; letter-spacing: 0; padding: 0; font-weight: 400; font-size: 14px; color: var(--gris); }
dialog.fiche dd { padding: 0; border: 0; margin: 0; }
dialog.fiche dl div:last-child { border-bottom: 1px solid var(--filet); }
.fiche__photo, .h-carte__photo, .h-duo__photo { display: block; position: relative; }
.fiche__photo picture, .h-carte__photo picture, .h-duo__photo picture, .h-heros__fond picture { display: block; width: 100%; height: 100%; }
/* Trois cartes SST : même photo, cadrages différents */
#mac-sst .h-carte__photo img, #fiche-mac-sst .fiche__photo img { object-position: 78% 70%; transform: scale(1.45); transform-origin: 78% 70%; }
#sst-entreprise .h-carte__photo img, #fiche-sst-entreprise .fiche__photo img { object-position: 10% 40%; transform: scale(1.3); transform-origin: 10% 40%; }
#mac-sst:hover .h-carte__photo img { transform: scale(1.5); }
#sst-entreprise:hover .h-carte__photo img { transform: scale(1.35); }
.h-duo .titre { margin-bottom: 4px; }
.h-duo .sous { margin: 14px 0 0; }
/* Dans la grille de la fenêtre, aspect-ratio ne réserve pas la hauteur : hauteur fixe */
.fiche__photo { aspect-ratio: auto; height: 200px; }
@media (max-width: 760px) { .fiche__photo { height: 150px; } }
.fiche__infos { grid-template-columns: 1fr; }

/* Ouverture mobile façon delphoria.fr (26/10/2026) : photo bord à bord, voile uniforme,
   cartouche blanc, titre, une phrase, deux boutons empilés */
.h-heros__court, .h-heros__mini { display: none; }
@media (max-width: 760px) {
  .bandeau { display: none; }
  .h-heros { margin: 0; border-radius: 0; min-height: 0; align-items: center; }
  .h-heros__fond img { object-position: 60% 35%; }
  .h-heros__fond::after { background: rgb(12 24 52 / .72); }
  .h-heros .conteneur { padding: 72px 20px 64px; }
  .h-heros__long, .h-heros__chiffres, .h-heros__mini { display: none; }
  .h-heros__cartouche { display: inline-block; font-size: 14px; padding: 8px 14px; margin-bottom: 22px; border-radius: 0; }
  .h-heros h1 { font-size: 32px; line-height: 1.12; margin-bottom: 16px; }
  .h-heros__court { display: block; font-size: 16px; line-height: 1.7; margin: 0 0 28px; color: rgb(255 255 255 / .82); }
  .h-heros .boutons { display: grid; gap: 12px; }
  .h-heros .boutons .btn { width: 100%; min-height: 52px; justify-content: center; }
  .h-heros .btn--clair { background: #fff; color: var(--nuit); }
  .h-heros .btn--verre { display: inline-flex; background: var(--nuit); color: #fff; }
}
@media (max-width: 760px) { .assistant-bouton { width: 54px; height: 54px; padding: 0; right: 12px; bottom: 12px; } .assistant-bouton img { width: 54px; height: 54px; } }

/* Angles droits partout, sauf les boutons en pilule (comme la référence) */
:root { --r-carte: 0; --r-champ: 4px; }
dialog.devis, dialog.fiche { border-radius: 6px; }
.fiche__photo { border-radius: 0; }
.devis__recap, .encart, .fiche__modules li, .h-qualiopi, .h-duo__photo, .h-carte, .h-carte__photo, .h-chiffre, .h-atout, .h-heros__cartouche { border-radius: 0; }
.champ input, .champ select, .champ textarea { border-radius: 4px; }

/* Ouverture « City Formation » (26/10/2026) : sobre, mais avec les prix dès le premier écran,
   ce que le site de référence ne fait pas. Libellé cyan au lieu du cartouche blanc. */
.h-heros__label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-clair); margin-bottom: 18px; }
.h-heros__fond::after { background: linear-gradient(90deg, rgb(12 24 52 / .94) 0%, rgb(12 24 52 / .8) 48%, rgb(12 24 52 / .38) 100%); }
.btn--trait { background: transparent; color: #fff; border: 1.5px solid rgb(255 255 255 / .55); }
.btn--trait:hover { background: #fff; color: var(--nuit); }
.h-heros__offres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 860px; margin-top: 46px; border-top: 1px solid rgb(255 255 255 / .2); }
.h-heros__offres button { display: grid; gap: 4px; text-align: left; background: none; border: 0; border-right: 1px solid rgb(255 255 255 / .14); padding: 18px 18px 4px 0; margin-right: 18px; color: #fff; cursor: pointer; font-family: var(--police); }
.h-heros__offres button:last-child { border-right: 0; margin-right: 0; }
.h-heros__offres span { font-size: 13px; color: rgb(255 255 255 / .68); }
.h-heros__offres b { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.h-heros__offres button:hover b { color: var(--cyan-clair); }

@media (max-width: 760px) {
  .h-heros__fond::after { background: linear-gradient(180deg, rgb(12 24 52 / .55) 0%, rgb(12 24 52 / .85) 45%, rgb(12 24 52 / .97) 100%); }
  .h-heros .conteneur { padding: 56px 20px 26px; }
  .h-heros__label { font-size: 11.5px; margin-bottom: 14px; }
  .h-heros h1 { font-size: 30px; }
  .h-heros__court { margin-bottom: 22px; }
  .h-heros .boutons { display: grid; gap: 10px; }
  .h-heros .btn--trait { display: inline-flex; }
  .h-heros__offres { grid-template-columns: 1fr 1fr; margin-top: 26px; border-top: 0; gap: 1px; background: rgb(255 255 255 / .14); }
  .h-heros__offres button { background: rgb(12 24 52 / .9); border: 0; margin: 0; padding: 12px 14px; }
  .h-heros__offres b { font-size: 17px; }
  .h-heros__offres span { font-size: 12px; }
}

/* Cartes « fiche produit » et boutons rectangulaires (26/10/2026) :
   prix et bouton Devis côte à côte en pied de carte, programme en lien discret. */
.btn { border-radius: 6px; }
.nav > button.nav__cta, .nav > .btn.nav__cta { border-radius: 6px; }
.h-heros__offres button, .h-filtres button { border-radius: 0; }

.h-filtres { gap: 0; border-bottom: 1px solid var(--filet); margin: -12px 0 32px; }
.h-filtres button { border: 0; background: none; padding: 12px 18px; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--gris); font-weight: 500; }
.h-filtres button[aria-pressed="true"] { background: none; color: var(--nuit); border-bottom-color: var(--cyan); box-shadow: none; }

.h-carte { border: 1px solid var(--filet); box-shadow: none; transition: box-shadow .2s, border-color .2s; }
.h-carte:hover { border-color: #cfd6e2; box-shadow: 0 18px 40px -24px rgb(12 24 52 / .35); transform: none; }
.h-carte__photo { position: relative; }
.h-carte__lieu { position: absolute; left: 0; bottom: 0; background: var(--nuit); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .02em; padding: 6px 12px; }
.h-carte__corps { gap: 8px; padding: 20px 22px 18px; }
.h-carte h3 { font-size: 17.5px; }
.h-carte__resume { margin: 0; font-size: 14px; line-height: 1.6; color: var(--gris); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.h-carte__reperes { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 13px; color: var(--nuit); font-weight: 500; }
.h-carte__reperes span + span::before { content: '·'; margin: 0 8px; color: var(--brume); font-weight: 400; }
.h-carte__pied { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--filet); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.h-carte__pied .btn { min-height: 44px; padding: 10px 22px; flex-shrink: 0; }
.h-carte__prix { display: grid; gap: 0; color: var(--gris); }
.h-carte__prix b { font-size: 24px; line-height: 1.15; }
.h-carte__prix s { font-size: 13px; }
.h-carte__prix small { font-size: 12px; line-height: 1.35; }
.h-carte__lien { align-self: flex-start; background: none; border: 0; padding: 4px 0 0; font: 500 14px var(--police); color: var(--cyan); cursor: pointer; }
.h-carte__lien:hover { color: var(--nuit); }
.h-carte__specs, .h-carte__fin, .h-carte__actions { display: none; }

@media (max-width: 760px) {
  .h-filtres { overflow-x: auto; flex-wrap: nowrap; }
  .h-filtres button { flex-shrink: 0; padding: 12px 14px; }
  .h-carte__prix b { font-size: 22px; }
}
.h-carte__reperes span + span::before { content: none; }
.h-carte__reperes span:not(:last-child)::after { content: '·'; margin: 0 8px; color: var(--brume); font-weight: 400; }

/* Barre de filtres (26/10/2026) : quatre blocs nom + nombre, le bloc choisi en bleu nuit */
.h-filtres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: -8px 0 34px; padding: 0; border: 1px solid var(--filet); border-radius: 6px; overflow: hidden; background: #fff; border-bottom: 1px solid var(--filet); }
.h-filtres button { display: grid; gap: 2px; text-align: left; padding: 16px 20px; margin: 0; border: 0; border-right: 1px solid var(--filet); border-radius: 0; background: #fff; color: var(--nuit); cursor: pointer; font-family: var(--police); position: relative; transition: background .25s, color .25s; }
.h-filtres button:last-child { border-right: 0; }
.h-filtres button b { font-size: 15px; font-weight: 600; }
.h-filtres button span { font-size: 12.5px; color: var(--gris); transition: color .25s; }
.h-filtres button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.h-filtres button:hover { background: var(--fond-doux); }
.h-filtres button:hover::after { transform: scaleX(.35); }
.h-filtres button[aria-pressed="true"] { background: var(--nuit); color: #fff; border-bottom-color: transparent; }
.h-filtres button[aria-pressed="true"] span { color: var(--cyan-clair); }
.h-filtres button[aria-pressed="true"]::after { transform: scaleX(1); }
.h-filtres button:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
@media (max-width: 760px) {
  .h-filtres { grid-template-columns: 1fr 1fr; overflow: hidden; margin: -10px 0 24px; }
  .h-filtres button { padding: 13px 14px; flex-shrink: initial; }
  .h-filtres button:nth-child(2) { border-right: 0; }
  .h-filtres button:nth-child(-n+2) { border-bottom: 1px solid var(--filet); }
  .h-filtres button b { font-size: 14px; }
  .h-filtres button span { font-size: 11.5px; }
}

/* Seul effet conservé : léger zoom de la photo au survol d'une carte */
.h-carte__photo img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.h-carte:hover .h-carte__photo img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .h-carte:hover .h-carte__photo img { transform: none; } }

/* Voile de la photo d'ouverture éclairci (26/10/2026) : la photo doit se voir.
   Bleu seulement derrière le texte, texte protégé par une ombre douce. */
.h-heros__fond::after { background: linear-gradient(90deg, rgb(12 24 52 / .82) 0%, rgb(12 24 52 / .62) 32%, rgb(12 24 52 / .18) 62%, rgb(12 24 52 / 0) 85%); }
.h-heros h1, .h-heros p, .h-heros__label { text-shadow: 0 2px 18px rgb(12 24 52 / .45); }
.h-heros__offres { border-top-color: rgb(255 255 255 / .3); }
@media (max-width: 760px) {
  .h-heros { align-items: flex-end; }
  .h-heros__fond img { object-position: 64% 22%; }
  .h-heros__fond::after { background: linear-gradient(180deg, rgb(12 24 52 / 0) 0%, rgb(12 24 52 / .08) 22%, rgb(12 24 52 / .62) 44%, rgb(12 24 52 / .9) 62%, rgb(12 24 52 / .96) 100%); }
  .h-heros .conteneur { padding-top: 230px; }
  .h-heros__offres button { background: rgb(12 24 52 / .82); }
}

/* Pied de page : logo Qualiopi + mention « actions de formation » sous le logo du centre */
.pied__qualiopi { margin-top: 18px; display: grid; gap: 10px; max-width: 280px; }
.pied__qualiopi img { width: 150px; height: auto; }
.pied__qualiopi span { font-size: 13px; line-height: 1.55; color: var(--gris); }
.pied__qualiopi b { color: var(--nuit); font-weight: 600; }

/* Logo Qualiopi mis en avant en haut à droite du catalogue */
.h-tete-duo { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.h-tete-duo .h-tete { margin-bottom: 48px; }
.h-label-qualiopi { flex-shrink: 0; display: grid; gap: 10px; width: 250px; padding: 20px 22px; background: #fff; border: 1px solid var(--filet); border-top: 3px solid var(--cyan); text-decoration: none; color: var(--gris); transition: border-color .2s, box-shadow .2s; }
.h-label-qualiopi:hover { border-color: #cfd6e2; border-top-color: var(--cyan); box-shadow: 0 18px 40px -24px rgb(12 24 52 / .35); }
.h-label-qualiopi img { width: 170px; height: auto; }
.h-label-qualiopi span { font-size: 13px; line-height: 1.5; }
.h-label-qualiopi b { color: var(--nuit); font-weight: 600; }
@media (max-width: 960px) {
  .h-tete-duo { flex-direction: column; gap: 0; }
  .h-tete-duo .h-tete { margin-bottom: 20px; }
  .h-label-qualiopi { width: 100%; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 14px 16px; margin-bottom: 28px; }
  .h-label-qualiopi img { width: 120px; }
}
.pied__lien { background: none; border: 0; padding: 0; font: inherit; color: var(--texte); cursor: pointer; text-align: left; } .pied__lien:hover { color: var(--nuit); text-decoration: underline; }

/* Badge « Éligible CPF » à côté du bouton Devis (toutes les formations sauf SST et renouvellement VTC) */
.h-carte__cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.h-carte__cpf { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; background: #e3f2fa; color: #1b78a3; border: 1px solid #b9dff1; border-radius: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 761px) {
  .h-carte__pied { flex-wrap: wrap; }
}
@media (max-width: 380px) {
  .h-carte__cpf { padding: 0 9px; font-size: 12px; }
  .h-carte__pied .btn { padding: 10px 16px; }
}

/* Retouches du 26/10/2026 (retours client) */
/* Moins de blanc entre la fin du catalogue et « Notre méthode » */
#formations { padding-bottom: 48px; }
#formations .h-mention { margin-bottom: 0; }
#methode { padding-top: 72px; }
/* Photo de la méthode calée sur la hauteur du texte (haut et bas alignés) */
.h-duo { align-items: stretch; }
.h-duo__photo { aspect-ratio: auto; height: 100%; min-height: 360px; }
@media (max-width: 1080px) {
  .h-duo__photo { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  #formations { padding-bottom: 36px; }
  #methode { padding-top: 48px; }
}

/* Suppression des espaces vides (26/10/2026) */
:root { --section: 72px; }
.h-tete { margin-bottom: 30px; }
.h-tete-duo .h-tete { margin-bottom: 30px; }
#formations { padding-bottom: 40px; }
#methode { padding-top: 64px; }
.h-appel { padding: 64px 0; }
.pied { padding-top: 48px; }

/* Catalogue : 4 cartes par rangée, carte « conseil » pour compléter */
.h-cartes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.h-carte__corps { padding: 18px 18px 16px; }
.h-carte h3 { font-size: 16.5px; }
.h-carte__pied { flex-wrap: wrap; row-gap: 10px; }
.h-carte__prix { flex: 1 1 100%; }
.h-carte__cta { flex: 1 1 100%; }
.h-carte__cta .btn { flex: 1; }
.h-carte__cpf { flex: 0 0 auto; }
.h-carte--conseil { background: var(--nuit); border-color: var(--nuit); color: rgb(255 255 255 / .8); }
.h-carte--conseil .h-carte__corps { justify-content: center; gap: 12px; padding: 28px 22px; }
.h-carte--conseil .h-carte__famille { color: var(--cyan-clair); }
.h-carte--conseil h3 { color: #fff; font-size: 20px; line-height: 1.3; }
.h-carte--conseil p { margin: 0; font-size: 14.5px; }
.h-carte__conseil-actions { display: grid; gap: 10px; margin-top: 6px; }
.h-carte__conseil-actions .btn { width: 100%; }
@media (max-width: 1100px) { .h-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  :root { --section: 48px; }
  .h-cartes { grid-template-columns: 1fr; gap: 16px; }
  #formations { padding-bottom: 32px; }
  #methode { padding-top: 44px; }
  .h-appel { padding: 48px 0; }
  .h-tete, .h-tete-duo .h-tete { margin-bottom: 22px; }
}

/* WhatsApp (26/10/2026) */
.ico-wa { flex-shrink: 0; }
.nav > a.nav__wa { display: inline-flex; align-items: center; gap: 6px; color: #128c4b; font-weight: 600; }
.nav > a.nav__wa:hover { color: #0b6b38; }
.btn--wa { background: #1fa855; color: #fff; }
.btn--wa:hover { background: #178a45; color: #fff; }
.pied__wa { display: inline-flex; align-items: center; gap: 6px; color: #128c4b !important; font-weight: 500; }
@media (max-width: 1180px) and (min-width: 961px) { .nav > a.nav__wa span { display: none; } }
@media (max-width: 960px) { .nav > a.nav__wa { border-bottom: 1px solid var(--filet); } }
@media (max-width: 960px) { .nav > a.nav__wa { justify-content: flex-start; gap: 8px; } }

/* Boutons flottants Devis + WhatsApp, à droite au milieu de l'écran (27/10/2026) */
.flottants { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 60; display: flex; flex-direction: column; gap: 6px; }
.flottant { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 0; border-radius: 6px 0 0 6px; font: 600 14px/1 Poppins, sans-serif; color: #fff; text-decoration: none; cursor: pointer; box-shadow: 0 8px 22px -10px rgb(12 24 52 / .55); }
.flottant--devis { background: #0c1834; justify-content: center; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .45), 0 8px 22px -10px rgb(12 24 52 / .55); }
.flottant--devis:hover { background: #1a2a52; }
.flottant--wa { background: #1fa855; }
.flottant--wa:hover { background: #188f47; }
.flottant svg { flex: none; }
body.assistant-ouvert .flottants, body:has(dialog[open]) .flottants { display: none; }
@media (max-width: 760px) {
  .flottant { min-height: 42px; padding: 0 12px; font-size: 13px; }
  .flottant--wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.pied__credit { margin: 14px 0 0; font-size: 13px; color: var(--lichen); }
.pied__credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pied__credit a:hover { color: #2f9fd0; }

/* Fiche de renseignement Qualiopi (C2-04) dans la fenêtre de devis */
.devis__fiche { border: 0; border-top: 1px solid #e3e7ee; margin: 4px 0 0; padding: 16px 0 0; display: grid; gap: 14px; min-width: 0; }
.devis__fiche legend { padding: 0 0 10px; font-weight: 600; font-size: 15px; color: #0c1834; }
.devis__fiche legend span { display: block; font-weight: 400; font-size: 13px; color: #5b6578; }
.devis__fiche textarea { min-height: 90px; }
.devis__fiche .form__ligne { min-width: 0; }
dialog.devis .devis__form { max-height: calc(100dvh - 32px); overflow-y: auto; }

/* Écran de confirmation du devis, sur le modèle de l'accusé de réception envoyé par e-mail */
.devis__merci { gap: 16px; }
.devis__merci .titre-s { margin: 0; padding-right: 34px; }
.devis__merci .texte-doux { margin: 0; }
.devis__merci .texte-doux b { color: #0c1834; font-weight: 600; word-break: break-word; }
.merci__coche { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 6px; background: #e3f2fa; color: #1b78a3; }
.merci__formation { display: grid; gap: 4px; background: #0c1834; border-left: 4px solid #2f9fd0; padding: 18px 20px; color: #fff; border-radius: 6px; }
.merci__formation b { font-size: 16px; font-weight: 600; line-height: 1.4; }
.merci__prix { font-size: 24px; font-weight: 700; margin-top: 6px; }
.merci__note { font-size: 13px; color: #c9d4e5; }
.merci__surtitre { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #7cc8ea; }
.merci__surtitre--cyan { color: #2f9fd0; margin: 6px 0 -4px; }
.merci__etapes { list-style: none; counter-reset: etape; margin: 0; padding: 0; display: grid; gap: 14px; }
.merci__etapes li { counter-increment: etape; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; font-size: 14px; line-height: 1.5; color: #3d4759; }
.merci__etapes li::before { content: counter(etape); grid-row: span 2; width: 28px; height: 28px; border-radius: 4px; background: #e3f2fa; color: #1b78a3; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.merci__etapes b { color: #0c1834; font-weight: 600; }
.merci__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.merci__actions .btn { flex: 1 1 200px; justify-content: center; display: inline-flex; align-items: center; gap: 8px; }
