/* Confort mobile BEFORMA (audit mobile du 04/12/2026, points E à H) : chargé dans le <head> de chaque page,
   pour s'appliquer dès le premier affichage (pas de saut). Uniquement ≤ 768 px, aucun effet sur ordinateur. */
@media (max-width: 768px) {

.bf-footer-col ul li{margin-bottom:0!important}
.bf-footer-col ul li a{display:inline-flex!important;align-items:center!important;min-height:44px!important}
.bf-footer-col ul{display:grid!important;grid-template-columns:1fr 1fr!important;column-gap:14px!important;padding-left:0!important;margin-left:0!important}
.bf-footer-col ul li a{line-height:1.25!important}
.bf-footer-col ul li.bf-footer-col-sep{grid-column:1/-1!important}
.bf-footer-bottom-links{gap:0 16px!important}
.bf-footer-bottom-links a{display:inline-flex!important;align-items:center!important;min-height:44px!important}
.bf-fq-dl{min-height:44px!important;display:inline-flex!important;align-items:center!important}
.breadcrumb-inner a,.similar-card a.s-link,.acc-strip__more,.rsf-l a,.pa-feat__foot a,a.ct-web,.scf-body a,.pa-proofs a,.fc-steps a,.a2b-facts a,.page-sidebar a[href^="tel:"],.ct-social a,.rsf-ul a{display:inline-block!important;padding-top:12px!important;padding-bottom:12px!important;margin-top:-12px!important;margin-bottom:-12px!important}
.bf-hamburger{min-width:44px!important;min-height:44px!important}
.bf-footer-bottom-links a,.bf-footer-terr,.bf-footer-certif-pill,.bf-footer-col h4,.bf-fsb-label,.bf-fq-cat,.bf-fq-dl,.bf-fq-trust-label,.bf-fq-trust-verified,.bf-fq-trust-score span,.bf-footer-bottom>span,.bf-footer-maj,.fc-c__dom,.meta-chip .label,.cf-new,.cp-new,.cp-boot,.cx-new__k,.objectifs-tag,.hero-delai,.kv-label,.pa-hero__credit,.pa-hero__credit b,.acc-strip__k,.fc-side-dom,.hero-badge,.sas-ab-badge,.sas-ab-excl,.mcf-bar-price span,.cd-tel small,.similar-rs,.pa-fig__pre,.ia6__sb em,.ps-label,.scf-label,.scf-title{font-size:12px!important}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),select,textarea{font-size:16px!important}
.highlight-card{padding:16px 12px!important}
.highlight-card .h-val{font-size:1rem!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
}

/* Listes de formations en alternance (alternance.html, pages domaine, SAS) : cartes plus courtes sur téléphone.
   Photo en haut, cadrage paysage comme sur ordinateur (visages visibles, retour de Jimmy le 05/12/2026), texte resserré. */
@media (max-width: 600px) {
.al-card{border-radius:14px!important}
.al-card:hover{transform:none!important}
.al-card__img{aspect-ratio:16 / 7!important}
.al-card__img img{object-position:50% 35%!important}
.al-card__lvl{top:10px!important;left:10px!important;padding:3px 10px!important;font-size:12px!important}
.al-card__b{padding:12px 16px 14px!important;gap:3px!important}
.al-card__b b{font-size:16px!important;line-height:1.25!important}
.al-card__meta{font-size:13px!important}
.al-card__go{display:none!important}
}


/* Accueil : cartes « Je veux… / Je suis une entreprise » sans effet de flou sur téléphone.
   Sur iPhone, le flou (backdrop-filter) s'affichait parfois en rectangle blanc au chargement (constaté par Jimmy le 05/12/2026). */
@media (max-width: 768px) {
.pa-door{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.pa-door:not(.pa-door--main){background:rgba(255,255,255,.08)!important}
}

/* Fiches formation : photo de l'encadré plus haute sur téléphone, visages dégagés au-dessus du texte (retour de Jimmy le 05/12/2026). */
@media (max-width: 600px) {
.fc-side-photo{height:250px!important}
.fc-side-photo > img{object-position:50% 25%!important}
.fc-side-ov{padding:12px 18px 14px!important}
}
