/* =========================================================================
   MBRFormation — socle commun des pages FORMATION
   Extrait automatiquement des styles en ligne de 12 pages (etape 2).
   Seules les regles strictement identiques et jamais redefinies
   localement ont ete deplacees ici : la cascade est preservee.
   ========================================================================= */

.mbr-answer{background:rgba(245,184,0,.10);border-left:4px solid var(--gold-primary);border-radius:0 14px 14px 0;padding:22px 26px;margin-bottom:32px}
.mbr-answer p{font-size:17px;line-height:1.8;color:rgba(255,255,255,.9);margin:0}
.mbr-price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:32px}
.mbr-price-card{background:var(--white);border:1px solid var(--gray-200);border-radius:16px;padding:30px 26px;transition:all .3s ease}
.mbr-price-card:hover{border-color:var(--gold-primary);transform:translateY(-4px);box-shadow:0 18px 40px -18px rgba(10,22,40,.25)}
.mbr-price-card.featured{border-color:var(--gold-primary);border-width:2px}
.mbr-price-format{font-family:'Space Grotesk',sans-serif;font-size:19px;font-weight:700;color:var(--navy-primary);margin-bottom:4px}
.mbr-price-duration{font-size:14px;color:var(--text-secondary);margin-bottom:18px}
.mbr-price-amount{font-family:'Space Grotesk',sans-serif;font-size:15px;color:var(--text-secondary);line-height:1.4}
.mbr-price-amount strong{display:block;font-size:34px;color:var(--navy-deep);letter-spacing:-.5px}
.mbr-price-amount span{font-size:15px;color:var(--text-secondary);font-weight:500}
.mbr-price-unit{margin-top:12px;padding-top:12px;border-top:1px solid var(--gray-200);font-size:14px;color:var(--text-secondary)}
.mbr-price-note{background:var(--white);border:1px solid var(--gray-200);border-left:4px solid var(--teal-accent);border-radius:0 14px 14px 0;padding:24px 28px}
.mbr-price-note p{margin:0 0 10px;font-size:15px;color:var(--text-secondary);line-height:1.75}
.mbr-price-note p:last-child{margin-bottom:0}
.mbr-price-note strong{color:var(--navy-primary)}
.mbr-zones{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.mbr-zone{background:var(--white);border:1px solid var(--gray-200);border-radius:14px;padding:24px}
.mbr-zone h3{font-size:17px;color:var(--navy-primary);margin-bottom:12px}
.mbr-zone p{font-size:14px;line-height:1.8;color:var(--text-secondary);margin:0}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
.container{max-width:1280px;margin:0 auto;padding:0 24px}
a{text-decoration:none;color:inherit}
header.scrolled{padding:10px 0;box-shadow:0 4px 30px rgba(0,0,0,.3)}
nav{display:flex;justify-content:space-between;align-items:center}
.logo{display:flex;align-items:center;gap:12px}
.logo-text span{color:var(--gold-primary)}
.nav-links{display:flex;gap:28px;align-items:center}
.nav-links a:hover{color:var(--gold-primary)}
.mobile-menu{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:10px}
.breadcrumb{background:var(--navy-deep);padding:100px 0 20px}
.breadcrumb-list .current{color:var(--gold-primary)}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.hero-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(245,184,0,.15);border:1px solid rgba(245,184,0,.3);color:var(--gold-primary);padding:8px 16px;border-radius:100px;font-size:13px;font-weight:600;margin-bottom:24px}
.page-hero h1 .highlight{color:var(--gold-primary)}
.hero-description{font-size:18px;color:rgba(255,255,255,.85);margin-bottom:32px;line-height:1.8}
.hero-cta{display:flex;gap:16px;flex-wrap:wrap}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 10px 40px -10px rgba(245,184,0,.5)}
.section{padding:100px 0}
.section-gray{background:var(--gray-100)}
.section-header{text-align:center;margin-bottom:60px}
.section-header h2{font-size:clamp(28px,3.5vw,40px);color:var(--navy-primary);margin-bottom:14px}
.section-header p{font-size:16px;color:var(--text-secondary);max-width:600px;margin:0 auto}
.formations-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:28px}
.formation-card:hover::before{transform:scaleX(1)}
.formation-card h3{font-size:22px;color:var(--navy-primary);margin-bottom:12px}
.formation-list{list-style:none;margin-bottom:24px}
.faq-grid{max-width:800px;margin:0 auto}
.faq-item:hover{border-color:var(--gold-primary)}
.faq-question:hover{background:var(--gray-100)}
.faq-answer-content{padding:0 26px 22px;color:var(--text-secondary);font-size:15px;line-height:1.8}
.cta-content h2{font-size:clamp(28px,4vw,42px);color:var(--white);margin-bottom:20px}
.cta-content p{font-size:18px;color:rgba(255,255,255,.8);margin-bottom:36px}
.cta-buttons{display:flex;gap:20px;justify-content:center;flex-wrap:wrap}
.footer-simple{background:var(--navy-deep);padding:30px 0;border-top:1px solid rgba(255,255,255,.1)}
.footer-content{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px}
.footer-content p{color:rgba(255,255,255,.5);font-size:13px}
.footer-links{display:flex;gap:24px}
.footer-links a:hover{color:var(--gold-primary)}
.nav-dropdown{position:relative}
.nav-dropdown>a{display:flex;align-items:center;gap:6px;cursor:pointer}
.nav-dropdown>a svg{width:12px;height:12px;stroke:currentColor;stroke-width:2;fill:none;transition:transform .3s}
.nav-dropdown:hover>a svg{transform:rotate(180deg)}
.dropdown-menu{position:absolute;top:100%;left:50%;transform:translateX(-50%) translateY(10px);background:var(--navy-deep);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:12px 0;min-width:260px;opacity:0;visibility:hidden;transition:all .3s ease;box-shadow:0 20px 50px rgba(0,0,0,.4);z-index:100}
.nav-dropdown:hover .dropdown-menu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.dropdown-menu::before{content:'';position:absolute;top:-8px;left:50%;transform:translateX(-50%);border:8px solid transparent;border-bottom-color:var(--navy-deep)}
.dropdown-menu a{display:flex;align-items:center;gap:12px;padding:12px 20px;color:rgba(255,255,255,.8);font-size:14px;font-weight:500;transition:all .2s}
.dropdown-menu a:hover{background:rgba(245,184,0,.1);color:var(--gold-primary)}
.dropdown-menu a svg{width:20px;height:20px;stroke:var(--gold-primary);stroke-width:1.5;fill:none;flex-shrink:0}
.dropdown-divider{height:1px;background:rgba(255,255,255,.1);margin:8px 0}
header.scrolled {
            box-shadow: 0 10px 35px rgba(10,22,40,.25);
            background: rgba(10,22,40,.92);
        }
.hero-badge {
            border-radius: 999px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: .08em;
            text-transform: uppercase;
        }
.hero-description {
            font-size: 17px;
            line-height: 1.82;
            max-width: 60ch;
            color: rgba(255,255,255,.82);
        }
.btn-primary,
        .btn-secondary {
            min-height: 54px;
            border-radius: 10px;
            font-weight: 700;
        }
.btn-primary:hover {
            background: var(--gold-light);
            transform: translateY(-2px);
        }
.hero-image-wrapper,
        .programme-card,
        .cta-section,
        .faq-item,
        .formation-card,
        .tool-item,
        .benefit-card,
        .public-card,
        .module {
            box-shadow: var(--card-shadow);
        }
.hero-image-wrapper img,
        .hero-image-placeholder { border-radius: 18px; }
.section,
        .cta-section { padding: 96px 0; }
.section-header {
            max-width: 760px;
            margin-left: auto;
            margin-right: auto;
        }
.section-header h2 {
            font-size: clamp(32px, 4vw, 46px);
            line-height: 1.08;
            letter-spacing: -.03em;
        }
.section-header p {
            font-size: 17px;
            max-width: 62ch;
        }
.formation-card,
        .tool-item,
        .public-card,
        .benefit-card,
        .faq-item,
        .programme-card,
        .module {
            border-radius: 22px;
            border: 1px solid var(--gray-200);
        }
.formation-card,
        .tool-item,
        .faq-item,
        .programme-card,
        .module {
            background: rgba(255,255,255,.94);
        }
.formation-card:hover,
        .tool-item:hover,
        .public-card:hover,
        .benefit-card:hover,
        .faq-item:hover,
        .module:hover {
            border-color: rgba(245,184,0,.34);
            box-shadow: var(--card-shadow-hover);
        }
.formation-icon,
        .benefit-icon,
        .public-icon {
            border-radius: 16px;
        }
.formation-icon,
        .tool-item:hover,
        .benefit-card:hover .benefit-icon,
        .public-card:hover .public-icon {
            transition: transform .35s ease, background .35s ease, color .35s ease;
        }
.formation-card:hover .formation-icon,
        .benefit-card:hover .benefit-icon,
        .public-card:hover .public-icon {
            transform: rotate(-4deg) scale(1.08);
        }
.formation-card h3,
        .benefit-card h3,
        .public-card h3,
        .module h3,
        .programme-header h3,
        .cta-content h2 { letter-spacing: -.02em; }
.module::before {
            content: '';
            position: absolute;
            inset: 0 auto auto 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
        }
.faq-answer-content {
            font-size: 15px;
            line-height: 1.8;
        }
.cta-content h2 {
            font-size: clamp(32px, 4vw, 46px);
        }
.cta-content p {
            font-size: 17px;
            line-height: 1.8;
         }
.footer-simple {
            background: linear-gradient(135deg, var(--navy-deep), var(--navy-primary));
            padding: 34px 0;
            border-top: 1px solid rgba(255,255,255,.1)
         }
.hero-image-wrapper img,
        .hero-image-placeholder {
            display: block;
            width: 100%;
            min-height: 360px;
            aspect-ratio: 4 / 3;
            object-fit: cover;
            object-position: center;
            border-radius: 18px;
        }
.skip-link{position:absolute;left:-9999px;top:0;z-index:10000;background:#f5b800;color:#0a1628;padding:12px 20px;font-weight:700;border-radius:0 0 8px 0;text-decoration:none}
.skip-link:focus{left:0}
