/* Refonte « Se former » : ajustements au site de la feuille de la maquette (psf-maquette.css).
   Tout est limité au conteneur .psf (en-tête compris : entete.php). */

/* ---------- Socle ---------- */
.psf, .psf *{letter-spacing:normal;text-transform:none}
.psf h1,.psf h2,.psf h3,.psf h4{font-family:Montserrat,system-ui,sans-serif}
.psf h4{margin:0}
.psf ul{margin-top:0}
.psf a:hover,.psf a:focus{text-decoration:none}
.psf a,.psf button,.psf a::before,.psf a::after,.psf button::before,.psf button::after{transition-property:background-color,color,opacity,transform,box-shadow,border-color;transition-duration:.15s}
.psf [hidden]{display:none!important}
/* Focus : le thème impose un contour (avec !important) ; on applique celui de la maquette. */
.psf a:focus,.psf button:focus,.psf input:focus,.psf select:focus,.psf textarea:focus,.psf summary:focus{outline:none!important;box-shadow:none!important}
.psf a:focus-visible,.psf button:focus-visible,.psf summary:focus-visible,.psf input:focus-visible,.psf select:focus-visible,.psf textarea:focus-visible,.psf [tabindex]:focus-visible{outline:3px solid #EA4B3C!important;outline-offset:2px!important;box-shadow:none!important}

/* ---------- En-tête du site (entete.php) ---------- */
#site-header{box-shadow:none;z-index:999}
.psf-entete.psf{background:none;font-size:16px;line-height:1.5}
#site-header .navbar.psf-site{display:block;padding:0;position:relative;top:auto;box-shadow:0 1px 0 var(--psf-line);background:#fff;z-index:5}
.psf .psf-pre a,.psf .psf-pre button{color:inherit;text-decoration:none}
.psf .psf-pre-links{align-items:center}
.psf .psf-pre-links a:hover,.psf .psf-pre-links button:hover{text-decoration:underline;text-underline-offset:3px}
.psf .psf-pre-links button{background:none;border:0;padding:0;font:inherit;cursor:pointer}
.psf .psf-pre-links button[aria-pressed=true]{text-decoration:underline}

.psf .psf-pre-cfa:hover{background:#D63E30}
.psf .psf-pre-art:hover{background:var(--psf-pale2)}
.psf .psf-pre-acc:hover{text-decoration:underline;text-underline-offset:3px}
.psf .psf-pre-acc .psf-ico{width:16px;height:16px}
.psf .psf-pre .psf-sr-focus:focus{color:var(--psf-navy);padding:2px 10px}
.psf .psf-logo{margin:0;padding:0;font-size:16px;line-height:1}
.psf .psf-logo a{display:block}
.psf nav.psf-main a{text-decoration:none}
.psf nav.psf-main [aria-current],.psf nav.psf-main [data-courant]{color:var(--psf-red)}
.psf .psf-dd{position:relative}
.psf .psf-dd > button{background:none;border:0;color:var(--psf-navy);font-weight:700;font-size:15px;padding:10px 14px;border-radius:10px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-family:inherit;line-height:1.5}
.psf .psf-dd > button:hover,.psf .psf-dd > button[aria-expanded=true]{background:var(--psf-pale3)}
.psf .psf-dd > button[aria-expanded=true]{color:var(--psf-red)}
.psf .psf-dd > button[aria-expanded=true] .psf-chev{transform:rotate(180deg)}
.psf nav.psf-main > button{font-family:inherit;line-height:1.5}
.psf .psf-sous{position:absolute;top:calc(100% + 8px);left:0;z-index:6;min-width:290px;background:#fff;border-radius:14px;box-shadow:0 24px 50px rgba(15,50,80,.18);border:1px solid var(--psf-line);padding:8px;display:grid;gap:2px}
.psf .psf-sous a{display:block;padding:10px 12px;border-radius:10px;color:var(--psf-navy);font-weight:600;font-size:14.5px;line-height:1.35;text-decoration:none}
.psf .psf-sous a:hover,.psf .psf-sous a[aria-current]{background:var(--psf-pale3);color:var(--psf-red)}
.psf .psf-tool{font-family:inherit;font-size:15px;line-height:1;text-decoration:none}
.psf .psf-tool:hover{background:var(--psf-pale2)}
.psf .psf-tool[aria-expanded=true]{background:var(--psf-pale2);color:var(--psf-red)}
.psf .psf-tool.psf-cart{color:var(--psf-navy)}
.psf .psf-tool .header-cart-count{background:var(--psf-red);color:#fff;border-radius:999px;font-size:12px;min-width:20px;height:20px;display:grid;place-items:center;padding:0 5px}
/* Recherche : bandeau sous la barre principale */
.psf .psf-recherche{position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid var(--psf-line);box-shadow:0 24px 50px rgba(15,50,80,.18);padding:22px 0}
.psf .psf-rech-form{position:relative;display:flex;align-items:center;gap:10px;max-width:760px;margin:0 auto}
.psf .psf-rech-form > .psf-ico{position:absolute;left:16px;color:var(--psf-muted);pointer-events:none}
.psf .psf-rech-form input{flex:1;min-width:0;height:52px;border:2px solid var(--psf-line);border-radius:12px;padding:0 16px 0 46px;font:inherit;font-size:16px;color:var(--psf-ink);background:var(--psf-pale3)}
.psf .psf-rech-form input:focus-visible{border-color:var(--psf-navy)}
.psf .psf-rech-form button{height:52px;border:0;border-radius:12px;padding:0 22px;background:var(--psf-red);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.psf .psf-rech-form button:hover{background:var(--psf-red2)}
/* Menu plein écran (sous 1100 px) */
.psf .psf-drawer{font-size:16px}
.psf .psf-drawer-search{position:relative;padding:0 12px}
.psf .psf-drawer-search input{flex:1;min-width:0;border:0;background:none;font:inherit;font-size:14px;color:var(--psf-ink);padding:8px 0}
.psf .psf-drawer-search input::placeholder{color:var(--psf-muted)}
.psf .psf-drawer-search:focus-within{outline:3px solid #EA4B3C;outline-offset:2px}
.psf .psf-drawer-search input:focus-visible{outline:none!important}
.psf .psf-lvl-head h3{margin:0;font-size:17px;font-weight:800;line-height:1.3}
.psf .psf-lvl-head button{flex:none}
.psf .psf-mrow > a,.psf .psf-mrow > button.psf-lab{line-height:1.3;text-decoration:none;font-family:inherit}
.psf .psf-mrow > a[aria-current]{color:var(--psf-red)}
.psf .psf-quick a.psf-q-all{background:var(--psf-navy);color:#fff}
.psf .psf-quick a{text-decoration:none}
.psf .psf-quick a .psf-ico{flex:none}
.psf .psf-drawer-cta a{text-decoration:none}
body.psf-drawer-on{overflow:hidden}
body.psf-drawer-on #site-header{z-index:2147483000}
.psf .psf-mrow > span.psf-more{background:var(--psf-navy);color:#fff;width:44px;height:44px;border-radius:10px;display:grid;place-items:center;cursor:pointer;flex:none;margin:0}
.psf .psf-mrow > span.psf-more .psf-chev{width:18px;height:18px}
.psf input.psf-invisible{visibility:hidden}
.psf .psf-mrow > button{margin:0}
.psf .psf-drawer-top .psf-tool:hover{background:var(--psf-navy2);color:#fff}

/* ---------- Panneau « Se former » ---------- */
.psf-menu.psf{background:none;font-size:16px}
.psf .psf-mega{position:fixed;top:var(--psf-haut,130px);left:0;right:0;z-index:3;max-height:calc(100vh - var(--psf-haut,130px));overflow-y:auto;overscroll-behavior:contain}
.psf .psf-mega h4{line-height:1.2}
.psf .psf-projet > a{text-decoration:none}
.psf .psf-mega-foot a{line-height:1.2}
body.psf-mega-on .psf .psf-veil{top:var(--psf-haut,130px);z-index:2;display:block!important}
@media (max-width:1100px){.psf .psf-mega,.psf .psf-veil,.psf .psf-sous,.psf .psf-recherche{display:none!important}}
@media (min-width:1101px){.psf .psf-drawer{display:none!important}}
/* Entre 1101 et 1280 px (hors maquette) : barre principale resserrée pour tenir sur une ligne. */
@media (min-width:1101px) and (max-width:1280px){
  .psf .psf-site > .psf-wrap{gap:16px}
  .psf nav.psf-main{gap:0}
  .psf nav.psf-main > a,.psf nav.psf-main > button,.psf .psf-dd > button{padding:10px 9px;font-size:14px}
  .psf .psf-hdr-tools{gap:8px}
}
@media (min-width:1101px) and (max-width:1200px){
  .psf .psf-logo-img{height:48px}
  .psf .psf-tool.psf-cart .psf-lbl{display:none}
  .psf .psf-tool.psf-cart{padding:0 10px}
}
@media (max-width:760px){.psf .psf-site .psf-tool{width:40px;height:40px}.psf .psf-tool.psf-cart{width:auto}}

/* ---------- Pages de la refonte ---------- */
body.psf-page #site-header .breadcrumb-wrapper{display:none}
.psf .psf-sr-focus:focus{position:static;width:auto;height:auto;clip:auto;padding:8px 14px;border-radius:999px;background:#fff;color:var(--psf-navy);font-weight:700;border:2px solid var(--psf-navy)}
.psf p{margin-bottom:0}

/* ---------- Listing ---------- */
.psf-listing.psf{padding-bottom:72px}
.psf .psf-crumbs a{text-decoration:none}
.psf .psf-crumbs b{font-weight:600}
.psf .psf-sc-links a[aria-current="page"]{background:#fff;color:var(--psf-red)}
.psf .psf-sc-links a[aria-current="page"] small{background:var(--psf-red);color:#fff}
.psf .psf-head-photo img{max-width:none}
.psf .psf-filters label{margin:0}
.psf .psf-filters select{cursor:pointer}
.psf .psf-sel select{max-width:230px}
.psf .psf-chip input{flex:none}
.psf .psf-card h3{margin:0;font-size:15.5px;line-height:1.3}
.psf .psf-card .psf-img img{height:100%}
.psf .psf-meta{margin:0}
.psf .psf-meta li:nth-child(2){display:flex}
.psf .psf-meta li.psf-mod{display:none}
@media (max-width:760px){.psf .psf-meta li.psf-mod{display:flex}}
.psf .psf-more .psf-btn{text-decoration:none}
.psf .psf-vide{margin-top:22px;padding:28px;border-radius:16px;background:var(--psf-pale3);display:flex;flex-direction:column;align-items:flex-start;gap:14px;color:var(--psf-navy)}
.psf .psf-faq h2{margin:0}
.psf details summary{margin:0}
.psf .psf-avis-tp{margin-top:40px}
.psf .psf-head-in{min-width:0}
@media (max-width:900px){.psf .psf-head{grid-template-columns:minmax(0,1fr)}}
/* Bandeau sans aucune photo : compact, sans la hauteur réservée à l'image. */
.psf .psf-head:not(:has(.psf-head-in p,.psf-sc-links)){min-height:220px}
.psf .psf-head.psf-head-seul{grid-template-columns:minmax(0,1fr);min-height:0}
.psf .psf-head.psf-head-seul .psf-head-in{max-width:none;padding-bottom:40px}
/* Liste en cours de chargement */
.psf #psf-res[aria-busy=true] .psf-grid,.psf #psf-res[aria-busy=true] .psf-vide{opacity:.45;transition:opacity .2s .1s}
.psf #psf-res[aria-busy=true]{cursor:progress}

/* ---------- Fiche ---------- */
.psf-fiche.psf{padding-bottom:72px}
.psf .psf-notices:empty{display:none}
.psf .psf-notices .woocommerce-error,.psf .psf-notices .woocommerce-message{margin:16px 0 0}
.psf .psf-f-head h1{margin:18px 0 0}
.psf .psf-f-photo .psf-ph-img{max-width:none}
.psf .psf-f-back,.psf .psf-f-print{text-decoration:underline}
.psf .psf-facts{margin:26px 0 0}
.psf .psf-goals,.psf .psf-rail{margin:0}
.psf .psf-plus ul{margin:0}
.psf .psf-duo h3{margin:0 0 6px}
.psf .psf-duo p + p{margin-top:8px}
/* Texte long : une seule carte, une ligne par rubrique (intitulé à gauche), chapeau en gras, suite en texte courant. */
.psf .psf-duo-long{display:block;background:var(--psf-pale2);border-radius:18px;padding:6px 26px}
.psf .psf-duo-long > div{position:relative;background:none;border-radius:0;padding:20px 0 20px 170px}
.psf .psf-duo-long > div + div{border-top:1px solid rgba(15,50,80,.14)}
.psf .psf-duo-long h3{position:absolute;left:0;top:22px;width:150px;margin:0}
.psf .psf-duo-long p{font-size:15.5px;font-weight:400;line-height:1.6;color:var(--psf-ink);max-width:68ch}
.psf .psf-duo-long p + p{margin-top:10px}
.psf .psf-duo p.psf-note{font-size:13.5px;font-weight:400;line-height:1.5;color:var(--psf-muted,#5b6b7a);margin-top:14px}
@media (max-width:760px){
  .psf .psf-duo-long{padding:2px 18px}
  .psf .psf-duo-long > div{padding:16px 0}
  .psf .psf-duo-long h3{position:static;width:auto;margin:0 0 6px}
}
.psf .psf-more-d details + details{margin-top:10px}
.psf .psf-more-d details{color:var(--psf-ink)}
.psf .psf-days h4{line-height:1.3}
/* Programme : les journées occupent toute la largeur ; une longue liste se répartit en colonnes. */
.psf .psf-days{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.psf .psf-days ul{max-width:760px} /* une seule colonne : les colonnes déséquilibraient les longs points (retour CMA du 24/11) */
.psf .psf-days li{break-inside:avoid}
/* Objectifs nombreux : liste cochée sur deux colonnes, repliée sur les 4 premiers. */
.psf .psf-goals.psf-goals-liste{gap:2px 32px}
.psf .psf-goals.psf-goals-liste li,.psf .psf-goals.psf-goals-liste li:last-child:nth-child(odd){grid-column:auto;background:none;color:var(--psf-navy);border-radius:0;padding:10px 0;border-bottom:1px solid var(--psf-line);gap:12px;font-size:15px;font-weight:500;line-height:1.45}
.psf .psf-goals.psf-goals-liste .psf-tick{width:24px;height:24px;margin-top:-1px}
.psf .psf-goals.psf-goals-liste .psf-tick svg{width:14px;height:14px}
.psf .psf-goals.psf-replie li:nth-child(n+5){display:none}
.psf .psf-voir{display:inline-flex;align-items:center;gap:8px;margin-top:14px;padding:10px 16px;border:2px solid var(--psf-navy);border-radius:999px;background:#fff;color:var(--psf-navy);font:inherit;font-size:14.5px;font-weight:700;cursor:pointer}
.psf .psf-voir:hover{background:var(--psf-pale3)}
.psf .psf-voir .psf-ico{width:16px;height:16px;transition:transform .15s}
.psf .psf-voir[aria-expanded=true] .psf-ico{transform:rotate(180deg)}
/* Programme : un jour par onglet, texte rythmé, sous-points pour les points enchaînés par « - ». */
.psf .psf-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px;padding:2px} /* à la ligne : 10 journées débordaient, cachées (24/11) */
.psf .psf-tabs [role=tab]{flex:none;border:0;border-radius:999px;padding:9px 16px;background:var(--psf-pale3);color:var(--psf-navy);font:inherit;font-size:14.5px;font-weight:700;cursor:pointer;white-space:nowrap}
.psf .psf-tabs [role=tab]:hover{background:var(--psf-pale2)}
.psf .psf-tabs [role=tab][aria-selected=true]{background:var(--psf-navy);color:#fff}
.psf .psf-days.psf-onglets-on{display:block}
.psf .psf-onglets-on .psf-day h4{display:none}
.psf .psf-day h5.psf-h-partie{margin:20px 0 10px;font-size:16px;line-height:1.35;font-weight:700;color:var(--psf-navy)} /* titres de parties (25/11) */
.psf .psf-day > ul + ul{margin-top:12px}
.psf .psf-day > h5.psf-h-partie:first-child,.psf .psf-day > h4 + h5.psf-h-partie{margin-top:0}
.psf .psf-plus a.psf-lien{color:inherit;font-weight:700;text-decoration:underline}
.psf .psf-day{background:var(--psf-pale3);border-radius:14px;padding:20px 22px}
.psf .psf-days.psf-onglets-on .psf-day + .psf-day{margin-top:0}
.psf .psf-days ul{font-size:15.5px;line-height:1.55;padding-left:20px}
.psf .psf-days li{margin-bottom:12px;padding-left:2px}
.psf .psf-days li:last-child{margin-bottom:0}
.psf .psf-days li::marker{color:var(--psf-coral)}
.psf .psf-days .psf-pt{color:var(--psf-navy);font-weight:600}
.psf .psf-days ul.psf-sous-pts{columns:auto;margin:6px 0 0;padding-left:16px;font-size:14.5px;line-height:1.5;color:var(--psf-ink)}
.psf .psf-days ul.psf-sous-pts li{margin-bottom:4px;list-style:none;position:relative}
.psf .psf-days ul.psf-sous-pts li::before{content:"";position:absolute;left:-13px;top:.72em;width:6px;height:2px;background:var(--psf-muted)}
@media (max-width:760px){.psf .psf-day{padding:16px}.psf .psf-days ul{font-size:15px}}
/* Panneau des sessions : 4 lignes, sans défilement ; la session choisie détaillée dessous. */
.psf .psf-sess-courte .psf-slist{max-height:none;overflow:visible;mask-image:none;-webkit-mask-image:none}
.psf .psf-sess-courte .psf-srow-more,.psf .psf-sess-courte .psf-srow .psf-adr-in{display:none!important}
.psf .psf-voir-dates{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:10px 0 0;padding:11px 14px;border:2px solid var(--psf-navy);border-radius:12px;background:#fff;color:var(--psf-navy);font:inherit;font-size:14.5px;font-weight:700;cursor:pointer}
.psf .psf-voir-dates:hover{background:var(--psf-pale3)}
.psf .psf-voir-dates .psf-ico{width:16px;height:16px}
.psf .psf-choix{margin-top:14px;padding:14px 16px;border-radius:14px;background:var(--psf-pale3);font-size:13.5px;line-height:1.45;color:var(--psf-ink)}
.psf .psf-choix-t{display:block;font-size:12.5px;font-weight:700;color:var(--psf-muted);margin-bottom:2px}
.psf .psf-choix-l{display:block;color:var(--psf-navy);font-weight:700;font-size:15px}
.psf .psf-choix-l .psf-dep{font-weight:500;color:var(--psf-muted);font-size:13px}
.psf .psf-choix-a{display:block;margin-bottom:8px}
.psf .psf-choix .psf-cal{margin:0}
/* Fenêtres de sessions : intertitres de mois */
.psf .psf-smois{margin:14px 0 4px;padding:0 8px;font-size:13px;font-weight:800;color:var(--psf-red)}
.psf .psf-smois:first-child{margin-top:0}
.psf .psf-modal .psf-slist{max-height:min(56vh,520px);overflow-y:auto}

/* Méthodes, infos pratiques : une ligne par rubrique (intitulé à gauche), quelle que soit la longueur des textes. */
.psf .psf-practical{display:block;background:var(--psf-pale3);border-radius:14px;margin:0 22px 22px;padding:4px 18px}
.psf .psf-practical div{display:flow-root;background:none;border-radius:0;padding:14px 0 14px 170px;line-height:1.55}
.psf .psf-practical div + div{border-top:1px solid var(--psf-line)}
.psf .psf-practical b{float:left;margin-left:-170px;width:150px;line-height:1.45} /* flottant : un libellé sur deux lignes agrandit la ligne */
@media (max-width:760px){
  .psf .psf-practical{margin:0 14px 14px;padding:2px 14px}
  .psf .psf-practical div{padding:12px 0}
  .psf .psf-practical b{float:none;display:block;margin-left:0;width:auto;margin-bottom:2px}
}
.psf .psf-practical a.psf-lien{color:var(--psf-navy);font-weight:700;text-decoration:underline}
.psf .psf-blocs h2{margin:0}
.psf .psf-rail a,.psf .psf-sess .psf-ntx{text-decoration:underline}
.psf .psf-sess .psf-ntx{text-decoration:none}
.psf .psf-sess label{margin:0;font-weight:inherit}
.psf .psf-sess .psf-cta{border:0}
.psf .psf-srow input{flex:none}
.psf .psf-srow.psf-full{pointer-events:none}
.psf .psf-callbox,.psf .psf-fin{text-decoration:none}
.psf .psf-related h2{margin:0}
.psf .psf-related .psf-grid{margin-top:20px}
.psf .psf-f-sticky b{font-weight:800}
.psf .psf-f-sticky .psf-btn{text-decoration:none;border:0}

/* ---------- Fenêtres ---------- */
.psf .psf-modal{z-index:100000}
.psf .psf-modal-h h2{margin:0}
.psf .psf-modal-x{flex:none;width:40px;height:40px;border:0;border-radius:10px;background:var(--psf-pale3);color:var(--psf-navy);display:grid;place-items:center;cursor:pointer}
.psf .psf-modal-x:hover{background:var(--psf-pale2)}
.psf .psf-modal-video{width:min(860px,100%)}
.psf .psf-video-cadre{margin-top:14px;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:var(--psf-navy)}
.psf .psf-video-cadre iframe{width:100%;height:100%;border:0;display:block}
.psf .psf-gform .gform_wrapper{margin:0}
.psf .psf-gform input[type=text],.psf .psf-gform input[type=email],.psf .psf-gform input[type=tel],.psf .psf-gform select,.psf .psf-gform textarea{border:0!important;border-bottom:3px solid #C3D3DB!important;border-radius:14px 14px 6px 6px!important;background:var(--psf-pale3)!important;padding:12px 16px!important;font:600 16px/1.3 Montserrat,sans-serif!important;color:var(--psf-ink)!important;min-height:52px}
.psf .psf-gform label,.psf .psf-gform legend{font-size:13px!important;font-weight:700!important;color:var(--psf-navy)!important}
.psf .psf-gform .gform_button{background:var(--psf-coral)!important;color:#fff!important;border:0!important;border-radius:10px!important;padding:14px 22px!important;font:700 16px Montserrat,sans-serif!important;cursor:pointer}
.psf .psf-gform .gform_button:hover{background:var(--psf-red)!important}
body.psf-modal-on{overflow:hidden}

/* ---------- Commande ---------- */
.psf [hidden]{display:none!important}
.psf .psf-c-head .psf-f-back{color:#fff}
.psf .psf-c-head h1{margin-bottom:0}
.psf .psf-c-sec:has([data-psf=autre]:checked) .psf-other-fld{display:block}
.psf .psf-c-sec > h2{margin:0}
.psf .psf-c-sec > p.psf-hint{margin-bottom:0}
.psf .psf-trainee-h h3{margin:0}
.psf .psf-fld input,.psf .psf-fld select,.psf .psf-fld textarea{margin:0;box-sizing:border-box}
.psf .psf-fld input:focus,.psf .psf-fld select:focus,.psf .psf-fld textarea:focus{outline:none!important;background-color:#fff!important;border-bottom-color:var(--psf-red)!important;box-shadow:0 0 0 2px var(--psf-navy) inset,0 6px 16px rgba(15,50,80,.10)!important}
.psf .psf-fld label abbr,.psf .psf-consent abbr{color:var(--psf-red);text-decoration:none;border:0;cursor:default}
.psf .psf-fld [data-psf=siret-msg]:empty{display:none}
.psf .psf-siret .psf-btn{flex:none}
.psf .psf-consent label{margin:0;font-weight:500}
.psf .psf-consent input:focus-visible,.psf .psf-chip input:focus-visible{outline:3px solid #EA4B3C!important;outline-offset:2px!important}
.psf .psf-chip:has(input:focus-visible){outline:3px solid #EA4B3C;outline-offset:2px}
.psf .psf-chip{margin:0}
.psf .psf-pass-c{margin-top:8px}
.psf .psf-submit .psf-btn{border:0}
.psf .psf-confirm-note .psf-ico{fill:none;stroke:currentColor}
.psf .psf-item-sans{grid-template-columns:1fr}
.psf .psf-item-sess a{cursor:pointer}
.psf .psf-modal-err{margin:12px 0 0;color:var(--psf-red);font-weight:700;font-size:14px}
.psf .psf-modal-err:empty{display:none}
.psf .psf-c-form .woocommerce-NoticeGroup{margin:0 0 24px}
.psf .psf-c-form .woocommerce-error{margin:0;padding:16px 20px 16px 44px;border-radius:14px;background:#FDECEA;color:var(--psf-ink);border:0;list-style:disc;font-size:15px}
.psf .psf-c-form .woocommerce-error::before{display:none}
.psf .psf-c-form .woocommerce-error li{margin:2px 0}
.psf .psf-c-form .woocommerce-error a{color:var(--psf-navy);font-weight:700;text-decoration:underline}
.psf .psf-c-form.processing{opacity:.6;pointer-events:none}

/* ---------- Remerciement ---------- */
.psf .psf-m-head h1,.psf .psf-m-main > h2,.psf .psf-m-next-wrap h2,.psf .psf-steps h3,.psf .psf-m-next h3,.psf .psf-m-card h2{margin-bottom:0}
.psf .psf-m-main > h2,.psf .psf-m-next-wrap h2{margin-top:0}
.psf .psf-steps .psf-dot .psf-ico{fill:none;stroke:currentColor}
.psf .psf-steps .psf-place{font-weight:700;color:var(--psf-navy);font-size:14.5px}
.psf .psf-m-next:not(:has(img)){grid-template-columns:1fr}
.psf .psf-m-card .psf-btn{text-decoration:none}
.psf .psf-m-card dt{font-weight:500}
.psf .psf-m-head p b{overflow-wrap:anywhere}

/* Page de l'assistant (template-assistant.php) : pas de bandeau, discussion sur toute la largeur du container. */
.pa-page{padding-top:32px;padding-bottom:48px}
.pa-page .entry-content > *{max-width:none}
.pa-page .screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Le widget prend la hauteur de la fenêtre moins un en-tête fixe ; l'en-tête du site ne l'est pas :
   on retire sa hauteur (128 px, 72 px sous 1100 px), la marge du haut et, sous 576 px, la barre « Se faire rappeler ». */
.pa-page #pixel-chat-embedded{--pp-height:calc(100dvh - 184px)!important}
@media (max-width:1100px){.pa-page #pixel-chat-embedded{--pp-height:calc(100dvh - 128px)!important}}
@media (max-width:767px){
  .pa-page{padding-top:0;padding-bottom:0}
  .pa-page #pixel-chat-embedded{--pp-height:calc(100dvh - 72px)!important}
}
@media (max-width:575px){.pa-page #pixel-chat-embedded{--pp-height:calc(100dvh - 137px)!important}}

/* Gestion des cookies : petit bandeau « Gestion des services » retiré, le panneau s'ouvre par le lien « Cookies » du pied de page.
   Réglage de tarteaucitron.io (showAlertSmall) fait ici faute d'accès au compte. Pixel, 05/11/2026. */
#tarteaucitronRoot #tarteaucitronAlertSmall{display:none!important}

/* Menu « Se former » : les thèmes techniques (alimentaire → services) en rouge, sur leur propre ligne. */
.psf .psf-tgrid a.psf-t-tech,.psf .psf-tgrid a.psf-t-tech .psf-ico,.psf .psf-lvl .psf-mrow a.psf-t-tech{color:var(--psf-red)}
.psf .psf-tgrid a.psf-t-tech:hover,.psf .psf-lvl .psf-mrow a.psf-t-tech:hover{text-decoration:underline;text-underline-offset:3px}

/* Fiche : « Imprimer la fiche » (version imprimable : impression.php, psf-impression.css). */
.psf .psf-f-actions{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:24px}
.psf .psf-f-actions .psf-f-print{margin-top:0}
.psf button.psf-f-print{background:none;border:0;padding:0;font:inherit;font-weight:700;font-size:14.5px;cursor:pointer}
.psf button.psf-f-print:focus-visible{outline:3px solid #EA4B3C;outline-offset:2px}

/* Page commande : total du récapitulatif moins grand (demande de la CMA, 18/11/2026). */
.psf .psf-total b{font-size:24px}
.psf .psf-total{align-items:center}

/* Retours de la CMA du 19/11/2026 */
/* Menu : les trois projets en blocs séparés dans une colonne à gauche, les thèmes sur deux colonnes à droite */
.psf .psf-mega .psf-wrap{grid-template-columns:290px 1fr;gap:24px 40px}
.psf .psf-mega .psf-projet{grid-template-columns:1fr;gap:10px;align-content:start}
.psf .psf-mega .psf-projet h4,.psf .psf-mega-themes h4{margin:0 0 4px;font-size:15px;font-weight:800;color:var(--psf-navy)}
.psf .psf-mega-themes h4{margin-bottom:14px}
.psf .psf-mega .psf-projet > a{min-height:92px;padding:16px 20px}
.psf .psf-mega .psf-projet > a b{font-size:16.5px;line-height:1.25}
.psf .psf-mega .psf-projet > a span{font-size:13.5px}
.psf .psf-tgrid.psf-tgrid-2{display:grid;grid-template-columns:1fr 1fr;column-gap:32px}
.psf .psf-tgrid-2 .psf-tcol a{font-size:15px;padding:12px 0}
/* Fiche : mois et année des sessions sur une seule ligne */
.psf .psf-cm{grid-template-columns:auto 1fr}
.psf .psf-cm-l{white-space:nowrap;min-width:72px}
/* Fiche : prérequis et public en texte courant */
.psf .psf-duo p{font-size:16px;font-weight:400;line-height:1.55;color:var(--psf-ink)}
/* Fiche : pictogrammes d'accessibilité devant le texte */
.psf .psf-pictos-acc{display:inline-block;width:77px;height:18px;max-width:none;margin:0 8px 0 0;vertical-align:-3px}
/* Commande : besoin en saisie libre */
.psf .psf-c-sec .psf-besoin-fld{display:block;margin-top:16px}
/* Case « Ne pas me la rappeler » sous l'email (refus de la relance du panier, 30/11/2026) : discrète, au ton de l'aide du champ */
.psf .psf-fld .psf-pa-refus{margin-top:6px;padding-left:16px}
.psf .psf-fld .psf-pa-refus label{position:static;display:inline-flex;align-items:center;gap:8px;margin:0;font-size:13px;font-weight:400;color:var(--psf-muted);line-height:1.3;white-space:normal;pointer-events:auto;cursor:pointer}
.psf .psf-fld .psf-pa-refus input{appearance:none;-webkit-appearance:none;flex:none;display:grid;place-items:center;width:16px!important;height:16px!important;margin:0;padding:0!important;border:1.5px solid #9FB4C0!important;border-radius:4px!important;background:#fff!important;box-shadow:none!important;cursor:pointer;transition:none}
.psf .psf-fld .psf-pa-refus input:checked{background:var(--psf-navy)!important;border-color:var(--psf-navy)!important}
.psf .psf-fld .psf-pa-refus input:checked::after{content:"";width:7px;height:3.5px;border:2px solid #fff;border-top:0;border-right:0;transform:translateY(-1px) rotate(-45deg)}
.psf .psf-fld .psf-pa-refus input:focus-visible{outline:2px solid var(--psf-navy)!important;outline-offset:2px!important}
