/* UX t768 : page « Formation complète » (https://minutedrone.com/formation/pilote-certification-dnc) à la charte Minutedrone.
   Maquette validée par Aymen le 05/11/2026 intégrée dans les classes du site. Tout est préfixé md-fc-* et placé sous le conteneur .md-fc :
   aucune règle globale, aucun reset sur body / a / img / h1-h3 en dehors de .md-fc, pas de Google Fonts
   (Paytone One, Roboto et Gochi Hand sont déjà servies par css/md-polices.css). Compatible Bootstrap 3.
   Piège du site : custom.css impose Roboto en !important sur tout sauf H1/H2 (règle :where, spécificité 0) ;
   toute autre police (Paytone One sur H3 et gros chiffres, Gochi Hand) est donc déclarée ici avec !important.
   Chargé depuis dnc.tag : <link href="/css/md-fc.css?v=20261105-t768" rel="stylesheet">  (comme md-cpf.css dans formation-drone-cpf.tag). */

.md-fc {
  --md-fc-blanc: #ffffff;
  --md-fc-gris-clair: #f8f8f8;
  --md-fc-gris-trait: #e6e6e6;
  --md-fc-gris-texte: #5c5c5c;
  --md-fc-noir: #000000;
  --md-fc-violet: #6a67ce;
  --md-fc-lime: #e7fdba;
  --md-fc-jaune: #ffb901;
  --md-fc-ombre: 0 2px 12px rgba(0,0,0,.08);
  --md-fc-gouttiere: 16px;
  --md-fc-police-titre: "Paytone One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --md-fc-police-main: "Gochi Hand", "Comic Sans MS", cursive;
  background: var(--md-fc-blanc);
  color: var(--md-fc-noir);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
}
.md-fc img { max-width: 100%; }
.md-fc :focus-visible { outline: 3px solid var(--md-fc-noir); outline-offset: 3px; }
.md-fc a { color: inherit; }
.md-fc h1, .md-fc h2, .md-fc h3 { margin: 0; padding: 0; letter-spacing: normal; text-transform: none; text-wrap: balance; color: var(--md-fc-noir); }
.md-fc h3 { font-family: var(--md-fc-police-titre) !important; font-weight: 400 !important; }
:where(.md-fc) :is(p, ul, ol, figure, blockquote) { margin: 0; }
:where(.md-fc) :is(ul, ol) { padding: 0; list-style: none; }
.md-fc-wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--md-fc-gouttiere); padding-right: var(--md-fc-gouttiere); position: relative; }
.md-fc-topo { position: relative; background: var(--md-fc-gris-clair); overflow: hidden; }
.md-fc-topo::before { content: ""; position: absolute; inset: 0; background: url("/images/formation/complete/fond-topo.svg") center top / 1400px auto repeat; opacity: .07; pointer-events: none; }
.md-fc-sec { padding-top: 88px; padding-bottom: 88px; }
.md-fc-tete { text-align: center; margin-bottom: 40px; }
.md-fc .md-fc-tete h2 { font-size: 38px; line-height: 1.1; }
.md-fc-sur-titre { display: inline-block; font-family: var(--md-fc-police-main) !important; font-size: 24px; line-height: 1; margin-bottom: 8px; }
.md-fc-etiquette { display: inline-block; border-radius: 999px; padding: 5px 14px; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--md-fc-lime); color: var(--md-fc-noir); }
.md-fc-emo { font-style: normal; }
/* Titre masqué visuellement, lisible par les lecteurs d'écran et les robots (H2 « Le parcours de formation », maquette validée) */
.md-fc .md-fc-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Boutons et liens */
.md-fc a.md-fc-btn, .md-fc button.md-fc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--md-fc-noir); background: var(--md-fc-blanc); color: var(--md-fc-noir); font-weight: 700; font-size: 16px; line-height: 1.2; text-align: center; text-decoration: none; text-transform: none; letter-spacing: normal; cursor: pointer; transition: transform .15s; }
.md-fc a.md-fc-btn:hover, .md-fc button.md-fc-btn:hover { transform: translateY(-2px); text-decoration: none; color: var(--md-fc-noir); }
.md-fc a.md-fc-btn-violet, .md-fc a.md-fc-btn-violet:hover, .md-fc a.md-fc-btn-violet:focus { background: var(--md-fc-violet); color: var(--md-fc-blanc); }
.md-fc button.md-fc-btn-noir, .md-fc button.md-fc-btn-noir:hover, .md-fc button.md-fc-btn-noir:focus { background: var(--md-fc-noir); color: var(--md-fc-blanc); }
.md-fc a.md-fc-lien { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.md-fc-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.md-fc-centre { text-align: center; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 12px 16px; justify-content: center; align-items: center; }

/* ---------- Haut de page ---------- */
.md-fc-hero-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.md-fc-fil { font-size: 14px; margin: 0 0 16px; color: var(--md-fc-gris-texte); }
.md-fc-fil ol { display: flex; flex-wrap: wrap; gap: 6px; }
.md-fc-fil li + li::before { content: "\203A"; margin-right: 6px; color: var(--md-fc-gris-texte); }
.md-fc .md-fc-fil a { font-weight: 700; color: var(--md-fc-noir); text-decoration: underline; text-underline-offset: 3px; }
.md-fc .md-fc-hero h1 { font-size: 44px; line-height: 1.1; margin: 0 0 18px; text-align: left; }
.md-fc-hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--md-fc-lime) 62%); }
.md-fc .md-fc-chapo { font-size: 19px; max-width: 52ch; margin: 0 0 28px; color: var(--md-fc-noir); }
.md-fc-photo { position: relative; max-width: 460px; justify-self: end; width: 100%; }
.md-fc-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 12px; box-shadow: var(--md-fc-ombre); }
.md-fc-credit { margin: 8px 0 0; font-size: 13px; color: var(--md-fc-gris-texte); text-align: right; }
.md-fc-pastilles { position: absolute; left: -44px; bottom: 44px; display: grid; gap: 10px; justify-items: start; }
.md-fc a.md-fc-pastille { display: grid; background: var(--md-fc-blanc); border: 2px solid var(--md-fc-noir); border-radius: 12px; padding: 8px 14px; text-decoration: none; color: var(--md-fc-noir); box-shadow: var(--md-fc-ombre); transition: transform .15s; }
.md-fc a.md-fc-pastille:hover { transform: translateY(-2px); text-decoration: none; }
.md-fc-etoiles { color: var(--md-fc-jaune); font-size: 15px; letter-spacing: 1px; line-height: 1.2; }
.md-fc-pastille-note { font-size: 15px; line-height: 1.25; }
.md-fc-pastille-nb { font-size: 13px; color: var(--md-fc-gris-texte); }
.md-fc-releve { margin-top: 10px; font-size: 13px; color: var(--md-fc-gris-texte); text-align: right; }
.md-fc-citation { position: absolute; background: var(--md-fc-lime); font-family: var(--md-fc-police-main) !important; line-height: 1; border-radius: 6px; transform: rotate(-3deg); box-shadow: var(--md-fc-ombre); white-space: nowrap; }

/* ---------- Présentation + carte tarif ---------- */
.md-fc-fiche { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; align-items: start; }
.md-fc .md-fc-fiche-texte h2 { font-size: 46px; line-height: 1.08; margin-bottom: 22px; text-align: left; }
.md-fc-fiche-texte h2 em, .md-fc-gerer h2 em { font-style: normal; background: linear-gradient(transparent 62%, var(--md-fc-lime) 62%); }
/* Aymen 22/11/2026 (chat MDdrone) : « Ces deux blocs de texte-là ont une typographie plus grosse que les autres blocs de texte » : 16 px comme le texte courant (avant : 20 px, 18 px en tablette) */
.md-fc .md-fc-intro { font-size: 16px; line-height: 1.6; margin: 0 0 14px; max-width: 60ch; color: var(--md-fc-noir); }
.md-fc-inclus { margin: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.md-fc-inclus li { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--md-fc-noir); border-radius: 999px; padding: 6px 16px 6px 8px; font-weight: 700; background: var(--md-fc-blanc); }
.md-fc-inclus li::before { content: "\2713"; width: 24px; height: 24px; border-radius: 50%; background: var(--md-fc-lime); display: grid; place-items: center; font-size: 14px; }
.md-fc-objectif { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; background: var(--md-fc-lime); border-radius: 12px; padding: 22px 24px; margin-bottom: 20px; }
.md-fc-objectif .md-fc-emo { font-size: 36px; line-height: 1; }
.md-fc .md-fc-objectif h3 { font-size: 22px; line-height: 1.55; margin-bottom: 6px; }
.md-fc .md-fc-objectif p { font-size: 17px; }
.md-fc-infos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.md-fc-infos li { grid-column: span 2; background: var(--md-fc-gris-clair); border-radius: 10px; padding: 10px 12px; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 0 8px; align-content: start; }
.md-fc-infos li:nth-child(4), .md-fc-infos li:nth-child(5) { grid-column: span 3; }
.md-fc-infos li:last-child { grid-column: 1 / -1; }
.md-fc-infos .md-fc-emo { grid-row: 1 / 3; font-size: 18px; line-height: 1.3; }
.md-fc-infos b { font-size: 14px; }
.md-fc-infos span:not(.md-fc-emo) { font-size: 14px; line-height: 1.45; }
.md-fc-infos a, .md-fc-cond a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.md-fc-programme { display: grid; gap: 4px; margin: 22px 0 0; font-size: 15px; color: var(--md-fc-gris-texte); }
.md-fc-programme a.md-fc-lien { color: var(--md-fc-noir); font-size: 16px; }

.md-fc-carte-tarif { position: sticky; top: 24px; background: var(--md-fc-blanc); border: 2px solid var(--md-fc-noir); border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,.10); padding: 24px; display: grid; gap: 16px; }
.md-fc .md-fc-carte-tarif h3 { font-size: 24px; line-height: 1.15; }
.md-fc-important p { font-size: 15px; margin-top: 6px; }
/* Clip animé du site : boucle vidéo à fond blanc, fondue dans la carte blanche (même principe que video.md-clipart-anime de custom.css) */
/* t1104 (recette d'Aymen, 19/11/2026 : l'île passait sur le trait noir du cadre) : île entière dans la carte, plus de débordement
   sur les côtés ni de coupe (avant : margin -80px -90px -100px, clip-path inset(0 60px), île de 568 px coupée au ras du cadre) ;
   marges du haut et du bas réduites dans la même proportion (vidéo carrée, haut et bas transparents). Téléphone inchangé. */
.md-fc-ile-cadre { position: relative; z-index: 1; pointer-events: none; mix-blend-mode: multiply; margin: -55px 0 -68px; }
.md-fc-ile-cadre video, .md-fc-ile-cadre .md-fc-ile { display: block; width: 100% !important; height: auto; aspect-ratio: 1; object-fit: contain; }
.md-fc-bloc-tarif { display: grid; gap: 10px; }
.md-fc-prix strong { display: block; font-family: var(--md-fc-police-titre) !important; font-weight: 400; font-size: 32px; line-height: 1.1; }
.md-fc-prix span { font-size: 15px; color: var(--md-fc-gris-texte); }
.md-fc-bloc-tarif .md-fc-lien { justify-self: center; font-size: 15px; }
.md-fc-promo { background: var(--md-fc-noir); color: var(--md-fc-lime); border-radius: 10px; padding: 8px 14px; transform: rotate(-1.5deg); font-size: 14px; }
.md-fc .md-fc-carte-tarif .md-fc-promo h3 { font-family: var(--md-fc-police-main) !important; font-size: 19px; line-height: 1; margin-bottom: 2px; color: var(--md-fc-lime); }
.md-fc-promo b { font-family: var(--md-fc-police-titre) !important; font-weight: 400; font-size: 17px; }
.md-fc-acceleree { background: var(--md-fc-lime); border-radius: 12px; padding: 14px 16px; font-size: 14px; }
.md-fc-acceleree a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Gérer l'activité ---------- */
.md-fc-gerer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.md-fc .md-fc-gerer h2 { font-size: 40px; line-height: 1.1; margin-bottom: 18px; text-align: left; }
.md-fc .md-fc-gerer p { font-size: 17px; margin: 0 0 14px; max-width: 58ch; }
.md-fc-gerer .md-fc-actions { margin-top: 22px; }
.md-fc-documents { display: grid; gap: 14px; }
.md-fc-documents img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 22px rgba(0,0,0,.08)); }
.md-fc-docs-liste { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.md-fc-docs-liste li { background: var(--md-fc-blanc); border: 1px solid var(--md-fc-gris-trait); border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 700; }

/* ---------- Chiffres clefs ---------- */
.md-fc-chiffres-sec { padding-top: 64px; padding-bottom: 64px; }
.md-fc-chiffres-sec .md-fc-tete { margin-bottom: 28px; }
.md-fc .md-fc-chiffres-sec .md-fc-tete h2 { font-size: 30px; }
.md-fc-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 12px; max-width: 1000px; margin: 0 auto; }
.md-fc-tuile { border-radius: 12px; padding: 18px; background: var(--md-fc-gris-clair); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.md-fc .md-fc-tuile h3 { font-size: 16px; line-height: 1.2; }
.md-fc-tuile p { font-size: 15px; }
.md-fc-tuile p.md-fc-grand { font-size: 40px; }
.md-fc-grand { font-family: var(--md-fc-police-titre) !important; font-weight: 400; font-size: 40px; line-height: 1; }
.md-fc-anneau { display: block; width: 100%; transform: rotate(-90deg); }
.md-fc-anneau circle { fill: none; stroke-width: 12; }
.md-fc-anneau .md-fc-piste { stroke: rgba(0,0,0,.08); }
.md-fc-anneau .md-fc-valeur { stroke: var(--md-fc-violet); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--v)); transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1); }
/* Sans JavaScript, anneaux et jauges restent pleins ; le script ajoute md-fc-anim puis md-fc-vu à l'arrivée à l'écran */
.md-fc-anim .md-fc-chiffres:not(.md-fc-vu) .md-fc-anneau .md-fc-valeur { stroke-dashoffset: 100; }
.md-fc-tuile-reussite { grid-column: span 2; grid-row: span 2; background: var(--md-fc-violet); color: var(--md-fc-blanc); flex-direction: row; align-items: center; gap: 20px; padding: 24px; }
.md-fc .md-fc-tuile-reussite h3, .md-fc .md-fc-tuile-reussite p { color: var(--md-fc-blanc); }
.md-fc-anneau-cadre { position: relative; flex: none; }
.md-fc-anneau-cadre .md-fc-dans-anneau { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: grid; place-items: center; font-family: var(--md-fc-police-titre) !important; }
.md-fc-anneau-grand { width: 44%; max-width: 160px; }
.md-fc-anneau-grand .md-fc-dans-anneau { font-size: 42px; }
.md-fc-tuile-reussite .md-fc-piste { stroke: rgba(255,255,255,.22); }
.md-fc-tuile-reussite .md-fc-valeur { stroke: var(--md-fc-lime); }
.md-fc .md-fc-tuile-reussite h3 { font-size: 22px; line-height: 1.15; margin-bottom: 6px; }
.md-fc .md-fc-tuile-reussite p { font-size: 15px; }
.md-fc-tuile-pros { grid-column: span 2; background: var(--md-fc-lime); border: 2px solid var(--md-fc-noir); }
.md-fc-tuile-satisfaction { align-items: center; text-align: center; }
.md-fc-anneau-petit { width: 90px; }
.md-fc-anneau-petit .md-fc-dans-anneau { font-size: 19px; }
.md-fc .md-fc-note-10 { font-size: 15px; color: var(--md-fc-gris-texte); }
.md-fc-note-10 b { color: var(--md-fc-noir); font-size: 18px; }
.md-fc-tuile-effectif { align-items: center; text-align: center; justify-content: center; }
.md-fc-places { display: flex; gap: 8px; margin: 8px 0; }
.md-fc-places span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--md-fc-police-titre) !important; font-size: 16px; background: var(--md-fc-blanc); border: 2px solid var(--md-fc-noir); }
/* UX t1129 (Aymen, chat UX, 21-22/11) : les pastilles 1, 2, 3 passent au violet l'une après l'autre, en boucle lente, tenues plus longtemps sur 3 (cycle 6,5 s),
   pour ne pas laisser penser « formation pour une personne ». Mouvement réduit demandé par le visiteur : pas d'animation, les 3 pastilles violettes. */
.md-fc-places span { background: var(--md-fc-violet); color: var(--md-fc-blanc); animation: 6.5s linear infinite; }
.md-fc-places span:nth-child(1) { animation-name: md-fc-place-1; }
.md-fc-places span:nth-child(2) { animation-name: md-fc-place-2; }
.md-fc-places span:nth-child(3) { animation-name: md-fc-place-3; }
@keyframes md-fc-place-1 { 0% { background: var(--md-fc-blanc); color: var(--md-fc-noir); } 4%, 90% { background: var(--md-fc-violet); color: var(--md-fc-blanc); } 94%, 100% { background: var(--md-fc-blanc); color: var(--md-fc-noir); } }
@keyframes md-fc-place-2 { 0%, 20% { background: var(--md-fc-blanc); color: var(--md-fc-noir); } 24%, 90% { background: var(--md-fc-violet); color: var(--md-fc-blanc); } 94%, 100% { background: var(--md-fc-blanc); color: var(--md-fc-noir); } }
@keyframes md-fc-place-3 { 0%, 40% { background: var(--md-fc-blanc); color: var(--md-fc-noir); } 44%, 90% { background: var(--md-fc-violet); color: var(--md-fc-blanc); } 94%, 100% { background: var(--md-fc-blanc); color: var(--md-fc-noir); } }
@media (prefers-reduced-motion: reduce) { .md-fc-places span:nth-child(n) { animation: none; } }
.md-fc-tuile-insertion { grid-column: span 3; background: var(--md-fc-blanc); border: 2px solid var(--md-fc-noir); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; align-content: start; }
.md-fc-tuile-insertion h3 { grid-column: 1 / -1; }
.md-fc-jauge { display: grid; gap: 8px; align-content: start; }
.md-fc-jauge-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 700; }
.md-fc-jauge-tete b { font-family: var(--md-fc-police-titre) !important; font-weight: 400; font-size: 30px; line-height: 1; }
.md-fc-barre { height: 12px; border-radius: 999px; background: var(--md-fc-gris-clair); overflow: hidden; }
.md-fc-barre span { display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: 999px; background: var(--md-fc-violet); transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.md-fc-anim .md-fc-chiffres:not(.md-fc-vu) .md-fc-barre span { width: 0; }
.md-fc-jauge p { font-size: 14px; color: var(--md-fc-gris-texte); }
.md-fc-tuile-abandon { background: var(--md-fc-noir); color: var(--md-fc-blanc); }
.md-fc .md-fc-tuile-abandon h3 { color: var(--md-fc-blanc); }
.md-fc-tuile-abandon .md-fc-grand { color: var(--md-fc-lime); }
/* 0,45 % : taille de la maquette validée (15 px, le gros chiffre n'y est que sur « + de 2000 ») */
.md-fc .md-fc-tuile-abandon p.md-fc-grand { font-size: 15px; line-height: 1; }
.md-fc-tuile-abandon details { margin-top: 4px; font-size: 14px; }
.md-fc-tuile-abandon summary { display: list-item; cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.md-fc-tuile-abandon ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; color: #d9d9d9; list-style: disc; }
.md-fc-chiffres-sec .md-fc-centre { margin-top: 28px; }

/* ---------- Photos de formation ---------- */
.md-fc-terrain { padding-top: 0; padding-bottom: 88px; }
.md-fc-bande-photos { position: relative; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; }
.md-fc-bande-photos img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; box-shadow: var(--md-fc-ombre); }
.md-fc-bande-photos img:first-child { aspect-ratio: 3 / 2; }
.md-fc-bande-photos img:nth-child(2) { aspect-ratio: 1; }
.md-fc-bande-photos .md-fc-citation { left: -10px; top: -18px; font-size: 28px; padding: 8px 16px; }

/* ---------- Parcours 30 h + 28 h ---------- */
.md-fc-frise { display: flex; gap: 4px; margin: 0 auto 28px; max-width: 900px; }
.md-fc-seg { flex: var(--h) 1 0; min-width: 0; border-radius: 999px; padding: 10px 18px; font-weight: 700; text-align: center; border: 2px solid var(--md-fc-noir); }
.md-fc-seg-distance { background: var(--md-fc-violet); color: var(--md-fc-blanc); }
.md-fc-seg-presentiel { background: var(--md-fc-lime); }
.md-fc-parcours { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.md-fc-etape { background: var(--md-fc-blanc); border-radius: 12px; box-shadow: var(--md-fc-ombre); padding: 28px 24px; display: grid; gap: 12px; align-content: start; justify-items: start; }
.md-fc-etape-picto { display: block; height: 76px; width: auto; margin: -8px 0 -6px -6px; }
.md-fc .md-fc-etape h3 { font-size: 24px; line-height: 1.15; }
.md-fc-coches { display: grid; gap: 8px; }
.md-fc-coches li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.md-fc-coches li::before { content: "\2713"; width: 22px; height: 22px; border-radius: 50%; background: var(--md-fc-lime); display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-top: 2px; }

/* ---------- Du sur-mesure ---------- */
.md-fc-surmesure-sec { padding-top: 64px; padding-bottom: 64px; }
.md-fc-surmesure-sec .md-fc-tete { margin-bottom: 44px; }
.md-fc .md-fc-surmesure-sec .md-fc-tete h2 { font-size: 30px; }
.md-fc-surmesure { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 20px; max-width: 1000px; margin: 0 auto; padding-top: 24px; }
.md-fc-atout { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; align-items: start; background: var(--md-fc-blanc); border: 2px solid transparent; border-radius: 12px; box-shadow: var(--md-fc-ombre); padding: 18px 20px; transition: transform .2s, border-color .2s; }
.md-fc-atout:hover { transform: translateY(-3px); border-color: var(--md-fc-noir); }
.md-fc-atout-visuel { position: relative; width: 76px; height: 76px; margin-top: -34px; border-radius: 50%; background: var(--md-fc-lime); }
.md-fc-atout-visuel img { position: absolute; left: 50%; top: 50%; width: 136%; height: 136%; max-width: none; object-fit: contain; transform: translate(-50%, -56%); transition: transform .25s; }
.md-fc-atout:hover .md-fc-atout-visuel img { transform: translate(-50%, -60%) scale(1.04); }
.md-fc .md-fc-atout h3 { font-size: 20px; line-height: 1.15; margin-bottom: 6px; }
.md-fc-atout p { font-size: 15px; line-height: 1.5; }

/* ---------- Avis ---------- */
.md-fc-avis-liens { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin-top: 16px; }

/* ---------- Financement + villes (blocs écrits dans le tag, comme formation.jsp de UX t766 ; tags partagés non modifiés) ---------- */
.md-fc-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.md-fc-bloc { background: var(--md-fc-blanc); border-radius: 12px; box-shadow: var(--md-fc-ombre); padding: 32px; min-width: 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.md-fc .md-fc-bloc h2 { font-size: 30px; line-height: 1.15; text-align: left; }
.md-fc-bloc .md-fc-sur-titre { margin: 0; }
.md-fc-bloc .md-fc-actions { margin-top: 6px; }
.md-fc-financeurs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.md-fc .md-fc-financeurs img { display: block; height: 52px; width: auto; max-width: 120px; object-fit: contain; }
.md-fc-carte-villes { width: 100%; height: 460px; border: 2px solid var(--md-fc-noir); border-radius: 12px; overflow: hidden; background: var(--md-fc-gris-clair); }
.md-fc .md-fc-carte-villes #mapCarte { position: relative; top: 0; left: 0; width: 100%; height: 100%; border-radius: 0; }
.md-fc-villes-collapse { width: 100%; }
/* Liste ouverte : grille, défilement vertical seulement (le défilement horizontal était un bug, UX t766) */
.md-fc-villes-liste { margin-top: 2px; padding: 12px 16px; max-height: 320px; overflow-x: hidden; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 16px; font-size: 15px; background: var(--md-fc-gris-clair); border-radius: 12px; }
.md-fc-villes-liste li { break-inside: avoid; padding: 2px 0; }
.md-fc .md-fc-villes-liste a { text-decoration: none; color: var(--md-fc-noir); }
.md-fc .md-fc-villes-liste a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Informations et conditions d'accès ---------- */
.md-fc-conditions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; align-items: stretch; gap: 12px; font-size: 15px; }
.md-fc-cond { background: var(--md-fc-blanc); border-radius: 12px; box-shadow: var(--md-fc-ombre); padding: 14px 16px; min-width: 0; }
.md-fc-cond-moyen { grid-column: span 2; }
.md-fc-cond-large { grid-column: 1 / -1; }
.md-fc .md-fc-cond h3 { font-size: 16px; line-height: 1.2; margin-bottom: 12px; } /* t1126 : 6px → 12px, Aymen 22/11 « un tout petit peu plus d'espace en dessous des titres » */
.md-fc-cond p { margin: 0 0 8px; }
.md-fc-cond p:last-child { margin-bottom: 0; }
.md-fc-cond ul.md-fc-puces { margin: 0 0 8px; padding-left: 20px; display: grid; gap: 4px; list-style: disc; }
.md-fc-aptitudes { counter-reset: apt; columns: 2 300px; column-gap: 32px; }
.md-fc-aptitudes li { counter-increment: apt; break-inside: avoid; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; margin-bottom: 10px; }
.md-fc-aptitudes li::before { content: counter(apt); width: 28px; height: 28px; border-radius: 50%; background: var(--md-fc-lime); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.md-fc-tete p { margin: 10px auto 0; max-width: 54ch; }
.md-fc-tete a.md-fc-btn { margin-top: 16px; }

/* ---------- Écrans moyens ---------- */
@media (max-width: 1100px) and (min-width: 901px) {
  .md-fc-fiche { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }
  .md-fc-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-fc-tuile-reussite, .md-fc-tuile-pros, .md-fc-tuile-insertion, .md-fc-tuile-abandon { grid-column: 1 / -1; }
  .md-fc-tuile-reussite { grid-row: auto; }
  .md-fc-infos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-fc-infos li, .md-fc-infos li:nth-child(4) { grid-column: auto; }
  .md-fc-infos li:nth-child(5) { grid-column: 1 / -1; }
}

/* ---------- Téléphone et tablette ---------- */
@media (max-width: 900px) {
  .md-fc-sec { padding-top: 56px; padding-bottom: 56px; }
  .md-fc .md-fc-tete h2 { font-size: 28px; }
  .md-fc-hero-grille { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 36px; padding-bottom: 56px; }
  .md-fc .md-fc-hero h1 { font-size: 30px; }
  .md-fc .md-fc-chapo { font-size: 17px; }
  .md-fc-photo { max-width: 420px; justify-self: start; margin-left: 18px; width: calc(100% - 18px); }
  .md-fc-pastilles { position: static; margin-top: 16px; display: flex; flex-wrap: wrap; }
  .md-fc-fiche { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .md-fc-carte-tarif { position: static; }
  .md-fc-ile-cadre { margin: -28px -40px -40px; clip-path: none; }
  .md-fc .md-fc-fiche-texte h2 { font-size: 32px; }
  .md-fc-infos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-fc-infos li, .md-fc-infos li:nth-child(4) { grid-column: auto; }
  .md-fc-infos li:nth-child(5) { grid-column: 1 / -1; }
  .md-fc-objectif { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .md-fc-gerer { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .md-fc .md-fc-gerer h2 { font-size: 30px; }
  .md-fc-chiffres-sec { padding-top: 44px; padding-bottom: 44px; }
  .md-fc .md-fc-chiffres-sec .md-fc-tete h2 { font-size: 24px; }
  .md-fc-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-fc-tuile-reussite, .md-fc-tuile-pros, .md-fc-tuile-insertion, .md-fc-tuile-abandon { grid-column: 1 / -1; grid-row: auto; }
  .md-fc-tuile-reussite { flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px; }
  .md-fc-anneau-grand { width: 130px; }
  .md-fc-anneau-grand .md-fc-dans-anneau { font-size: 34px; }
  .md-fc .md-fc-tuile-reussite h3 { font-size: 20px; }
  .md-fc-tuile-insertion { grid-template-columns: minmax(0, 1fr); }
  .md-fc-grand, .md-fc-tuile p.md-fc-grand { font-size: 36px; }
  .md-fc-terrain { padding-bottom: 56px; }
  .md-fc-bande-photos { grid-template-columns: minmax(0, 1fr); }
  .md-fc-seg { padding: 8px 10px; font-size: 14px; }
  .md-fc-parcours { grid-template-columns: minmax(0, 1fr); }
  .md-fc-surmesure-sec { padding-top: 64px; padding-bottom: 64px; }
  .md-fc-surmesure { grid-template-columns: minmax(0, 1fr); }
  .md-fc .md-fc-surmesure-sec .md-fc-tete h2 { font-size: 24px; }
  .md-fc-atout { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .md-fc-atout-visuel { width: 64px; height: 64px; margin-top: -30px; }
  .md-fc .md-fc-atout h3 { font-size: 18px; }
  .md-fc-duo { grid-template-columns: minmax(0, 1fr); }
  .md-fc-bloc { padding: 24px 20px; }
  .md-fc .md-fc-bloc h2 { font-size: 26px; }
  .md-fc .md-fc-financeurs img { height: 42px; }
  .md-fc-carte-villes { height: 340px; }
  .md-fc-conditions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-fc-conditions .md-fc-cond-moyen { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .md-fc-infos { grid-template-columns: minmax(0, 1fr); }
  .md-fc-infos li, .md-fc-infos li:nth-child(4), .md-fc-infos li:nth-child(5) { grid-column: 1 / -1; }
  .md-fc-chiffres { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .md-fc-anneau .md-fc-valeur, .md-fc-barre span, .md-fc-atout, .md-fc a.md-fc-btn, .md-fc button.md-fc-btn, .md-fc a.md-fc-pastille { transition: none; }
}

/* ==================== UX t1131 : Accélérée ====================
   Page « Formation accélérée » (formation-drone-acceleree.tag) au gabarit de la Complète. Règles réservées aux classes ci-dessous,
   absentes de dnc.tag : rendu de la Complète inchangé.
   - Cases « infos » placées par classe (l'Accélérée a une case de plus : condition du parcours accéléré) ;
   - titres h2 de l'Accélérée gardés à leur niveau dans les étapes du parcours et les atouts (Complète : h3), même taille que les h3 ;
   - jauges d'insertion : intitulé de l'Accélérée en titre de jauge (pas de titre commun « Taux d'insertion »). */
.md-fc .md-fc-infos li.md-fc-info-tiers { grid-column: span 2; }
.md-fc .md-fc-infos li.md-fc-info-demi { grid-column: span 3; }
.md-fc .md-fc-infos li.md-fc-info-large { grid-column: 1 / -1; }
.md-fc .md-fc-infos li.md-fc-info-condition, .md-fc-cond-condition { background: var(--md-fc-lime); }
.md-fc .md-fc-etape h2 { font-size: 24px; line-height: 1.15; }
.md-fc .md-fc-atout h2 { font-size: 20px; line-height: 1.15; margin-bottom: 6px; }
.md-fc .md-fc-tuile-insertion h3.md-fc-jauge-tete { font-size: 16px; line-height: 1.2; }
.md-fc h3.md-fc-jauge-tete span { font-weight: 700; }
@media (max-width: 1100px) {
  .md-fc .md-fc-infos li.md-fc-info-tiers, .md-fc .md-fc-infos li.md-fc-info-demi { grid-column: auto; }
  .md-fc .md-fc-infos li.md-fc-info-tiers-fin { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .md-fc .md-fc-atout h2 { font-size: 18px; }
}
@media (max-width: 420px) {
  .md-fc .md-fc-infos li.md-fc-info-tiers, .md-fc .md-fc-infos li.md-fc-info-demi { grid-column: 1 / -1; }
}
