/* Malya Formation : page Formations mise à niveau (aperçu, 2026-10-08).
   Se charge APRÈS malya_v2_accueil_niveau.css, qui apporte le socle commun des deux pages :
   cadres .cdr-l / .cdr-c / .cdr-p, boutons (acc_bouton), pilules (acc_pilule_verre), disques, trait de lumière.
   Visuels : tous ChatGPT (série acc_*), posés en border-image ou fond, jamais retouchés (Loi 10).
   Cette feuille ne fait que PLACER ces formes sur les cartes propres à la page Formations. Portée : .v2.cat.fhome */

/* ---------- remplissage commun des cartes : émeraude profond de la charte sous les cadres ---------- */
.v2.fhome .door, .v2.fhome .mt, .v2.fhome .dm, .v2.fhome .rpanel, .v2.fhome .reco-l, .v2.fhome figure.tr, .v2.fhome .fin, .v2.fhome .end, .v2.fhome .facts li {
  position: relative; border: 0; border-radius: 12px; overflow: hidden; isolation: isolate;
  background: linear-gradient(165deg, rgba(6, 61, 54, .86), rgba(1, 33, 42, .95)); box-shadow: 0 26px 54px -34px rgba(0, 0, 0, .85);
}
.v2.fhome .door:hover, .v2.fhome .mt:hover, .v2.fhome .dm:hover { border-color: transparent; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85), 0 0 46px -14px rgba(253, 221, 144, .45); }
.v2.fhome .rpanel { box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .85), 0 0 46px -14px rgba(253, 221, 144, .35); }
.v2.fhome .end { background: radial-gradient(90% 120% at 100% 100%, rgba(249, 175, 102, .18), transparent 60%), linear-gradient(165deg, rgba(6, 61, 54, .86), rgba(1, 33, 42, .95)); }
.v2.fhome .end::before { display: none; }

/* photos des cartes : coins ajustés au cadre, dégradé émeraude sous la photo */
.v2.fhome .door .dph, .v2.fhome .mt .dph, .v2.fhome .dm .dph, .v2.fhome .rph { border-radius: 11px 11px 0 0; }
.v2.cat .door .dph::after, .v2.fhome .mt .dph::after, .v2.fhome .dm .dph::after, .v2.fhome .rph::after { background: linear-gradient(180deg, transparent 35%, rgba(1, 33, 42, .95)), linear-gradient(120deg, color-mix(in srgb, var(--ac) 26%, transparent), transparent 60%); }

/* ---------- le texte recule du bord : le cadre ChatGPT (34 px) dessine sa ligne à l intérieur de la carte ---------- */
.v2.cat .door .pain, .v2.cat .door .name, .v2.cat .door .chip, .v2.cat .door .benefit, .v2.cat .door .go { margin-left: 24px; margin-right: 24px; }
.v2.cat .door .go { margin-bottom: 24px; }
.v2.fhome .mtb { padding: 8px 26px 26px; }
.v2.fhome .mn { right: 28px; }
.v2.fhome .dmb { padding: 6px 24px 24px; }
.v2.fhome .rbody { padding: 6px 28px 28px; }
.v2.fhome .reco-l, .v2.fhome figure.tr, .v2.fhome .fin { padding: clamp(24px, 3vw, 34px); }
.v2.fhome .end { padding: clamp(34px, 4.5vw, 54px) clamp(28px, 4vw, 48px); }

/* ---------- portrait d Annabelle : cadre ChatGPT (acc_cadre_portrait) posé sur la photo, l ancien liseré s efface ---------- */
.v2.fhome figure.tr .av { position: relative; border-radius: 12px; overflow: hidden; }
.v2.fhome figure.tr .av img { border: 0; border-radius: 12px; box-shadow: none; }

/* ---------- numéros de section : disque ambre ChatGPT (diamètre du disque = 82,5 % de l image, même calage que les ronds du menu) ---------- */
.v2.cat .sh .no { min-width: 44px; width: 44px; height: 44px; font-size: 14px; color: #2b1700; box-shadow: none; background: url(acc_disque_ambre.webp) center / 121.2% 121.2% no-repeat; }

/* ---------- boutons : la plaque ChatGPT demande ses marges, les réglages de la page ne doivent pas la rogner ---------- */
.v2.fhome .fh-cta .btn:not(.ghost) { padding: 0 66px; min-height: 54px; }
.v2.fhome .fh-cta .btn.ghost { padding: 0 58px; min-height: 52px; }
.v2.fhome .fh-cta { gap: 14px; }
/* le bouton de la fiche recommandée prend la même plaque que les boutons principaux */
.v2.fhome .rpanel .go { position: relative; isolation: isolate; overflow: hidden; border-radius: 999px; background: none; box-shadow: none; color: #2b1700; min-height: 54px; padding: 0 66px; display: inline-flex; align-items: center; justify-content: center; text-shadow: 0 1px 0 rgba(255, 238, 196, .55); transition: filter .25s, transform .25s; }
.v2.fhome .rpanel .go::before { content: ""; position: absolute; top: -2px; bottom: -2px; left: -22px; right: -22px; z-index: -1; pointer-events: none; border-style: solid; border-color: transparent; border-width: 0 59px; border-image: url(acc_bouton.webp) 172 330 227 330 fill / 0 59px 0 59px stretch; }
.v2.fhome .rpanel .go:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 22px rgba(249, 175, 102, .55)) brightness(1.06); }

/* ---------- traits de lumière entre les sections : le titre qui suit se colle au trait ---------- */
.v2.fhome .trait-lumiere + .sh { margin-top: 0; }
.v2.fhome .trait-lumiere { margin-top: clamp(18px, 3vw, 30px); }
.v2.fhome .trait-lumiere + .end { margin-top: 0; }

/* ---------- repères du bandeau : quatre tuiles sobres, liseré or fin conservé, remplissage charte ---------- */
.v2.fhome .facts li { border: 1px solid rgba(253, 221, 144, .22); border-radius: 12px; }

/* ---------- textes lisibles : 14 px minimum pour tout ce qui informe (charte Malya) ---------- */
.v2.cat .door .chip, .v2.fhome .dtag, .v2.fhome .rpanel .chip { font-size: 12px; }
.v2.cat .door .go, .v2.fhome .mt .go, .v2.fhome figure.tr .go { font-size: 13px; }
.v2.fhome .facts span { font-size: 14px; }
.v2.fhome .mk2, .v2.fhome .rwhy { font-size: 12.5px; }
.v2.fhome .dm p, .v2.cat .door .benefit { font-size: 14.5px; }

/* ---------- mobile : les cadres restent proportionnés ---------- */
@media (max-width: 520px) {
  .v2.cat .door .pain, .v2.cat .door .name, .v2.cat .door .chip, .v2.cat .door .benefit, .v2.cat .door .go { margin-left: 22px; margin-right: 22px; }
  .v2.fhome .trait-lumiere { height: 64px; background-size: 1100px auto; }
}

/* ---------- bandeau d en-tête : la porte de lumière de la salle de formation (ChatGPT, form_hero_porte_lumiere, 2026-10-08) ----------
   l image porte déjà son tiers gauche sombre : le voile de lecture s allège, la porte reste à droite sur tous les écrans */
.v2.cat .fh-bg img { object-position: 100% 42%; filter: none; }
.v2.cat .fh-bg::after { background: linear-gradient(90deg, rgba(1, 26, 34, .9) 0%, rgba(1, 33, 42, .66) 34%, rgba(1, 33, 42, .12) 58%, transparent 78%), linear-gradient(180deg, transparent 74%, rgba(0, 23, 29, .82)); }
.v2.cat .fh-glow { left: 74%; top: 42%; width: 40%; }
@media (max-width: 860px) { .v2.cat .fh-bg img { object-position: 68% 45%; } .v2.cat .fh-bg::after { background: linear-gradient(180deg, rgba(1, 26, 34, .78), rgba(1, 33, 42, .58) 60%, rgba(0, 23, 29, .92)); } }

/* ---------- audit Gardien logo-typo (2026-10-08) : plancher 13 px pour toute étiquette, 14 px pour tout texte qui informe ---------- */
.v2.cat .fh-in .eyebrow { font-size: 13px; }
.v2.cat .door .chip, .v2.fhome .dtag, .v2.fhome .rpanel .chip { font-size: 13px; }
.v2.cat .door .go, .v2.fhome .mt .go, .v2.fhome figure.tr .go { font-size: 13.5px; }
.v2.fhome .mk2, .v2.fhome .rwhy, .v2.fhome .fin h3 { font-size: 13px; }
.v2.fhome .reco-l .exemple, .v2.fhome .reco-l .rb b, .v2.fhome .reco-l .hint { font-size: 13px; }
.v2.fhome .facts span, .v2.fhome .dm p, .v2.cat .door .benefit, .v2.fhome .mt p, .v2.fhome .fin p, .v2.fhome figure.tr p { font-size: 15px; }
/* micro-étiquettes partagées (infobulles réseaux, « Moyenne » de la jauge) : 12 px, elles n informent pas, elles nomment */
.v2.fhome .socials .tp, .v2.fhome .msoc-strip .tp { font-size: 12px; }
.v2.fhome .reco-l [data-gauge] small, .v2.fhome .reco-l .gauge small { font-size: 12px; }
