/* Questrial + Nunito — polices du site */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&family=Questrial&family=Nunito:wght@300;400;700&family=Nunito+Sans:opsz,wght@6..12,300;6..12,400;6..12,500;6..12,600;6..12,700;6..12,800&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
body {
    font-family: 'Questrial', sans-serif;
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.6;
    padding-top: 104px;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    opacity: 0;
    transition: opacity 0.15s ease;
}
body.loaded {
    opacity: 1;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

:root {
    /* ===== NEW DESIGN SYSTEM ===== */
    --color-primary: #1E2D4F;
    --color-gold: #FDCC03;
    --color-gold-hover: #EDBE00;
    --color-gold-text: #FDCC03;
    --color-hero-bg: #EEF4F9;
    --color-form-bg: #FBFDFE;
    --color-form-border: #FDCC03;
    --color-gold-bg: #FFF8E0;
    --color-salmon: #E09B7B;
    --color-red: #C9453E;
    --color-text: #2A2A2A;
    --color-text-light: #6B7280;
    --color-white: #FFFFFF;
    --color-border: #E5E7EB;
    --color-link: #4845BE;
    --color-bg-subtle: #F8F9FB;

    /* ===== LEGACY ALIASES (used by formation & le-centre pages) ===== */
    --primary: #1E2D4F;
    --primary-light: #2A3D63;
    --accent-blue: #4845BE;
    --accent-yellow: #FDCC03;
    --accent-yellow-bg: #FFF8E0;
    --gold: #C4962C;
    --text-dark: #2A2A2A;
    --text-body: #555;
    --text-muted: #6B7280;
    --bg-card: #ffffff;
    --bg-section: #F8F9FB;
    --light-blue: #e8eef7;
    --gradient-blue: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);

    /* ===== SHARED TOKENS ===== */
    --max-width: 1180px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    --shadow-sm: 0 2px 6px rgba(0,0,0,0.08);
    --shadow-card: 0 6px 24px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
    --shadow-hover: 0 12px 40px rgba(0,0,0,0.16), 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.16), 0 4px 12px rgba(0,0,0,0.08);
    --transition: 0.22s ease;

    /* ===== HERO V5 TOKENS ===== */
    --yellow: #F5C800;
    --yellow-hover: #FFCF33;
    --yellow-soft: #FFF5CC;
    --yellow-glow: rgba(245, 200, 0, 0.22);
    --dark: #0F172A;
    --dark-soft: #334155;
    --gray: #64748B;
    --gray-light: #94A3B8;
    --hero-bg: #EFF5FA;
    --border: #E2E8F0;
    --font-display: 'Questrial', sans-serif;
    --font-body: 'Questrial', sans-serif;
    --font-nunito: 'Nunito', sans-serif;
    --white: #FFFFFF;
    --bg: #EEF4F9;
}

/* Questrial bold pour titres, Nunito Light pour paragraphes */
h1, h2, h3 { font-family: 'Questrial', sans-serif; font-weight: 700; }
p, .hero-description, .cpf-text p, .objectifs-text, .centre-hero-subtitle,
.atout-card p, .modalite-card p, .address-text p, .qualite-item p,
.temoignage-text, .programme-part-content li,
.objectifs-list li, .info-note, .nf-description,
.legal-card p, .legal-card li { font-family: var(--font-nunito); font-weight: 300; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 30px; }

/* ==========================================
   TOPBAR — Bandeau téléphone
   ========================================== */
.topbar {
    background: #F6FAFF; padding: 4px 0; font-size: 13.5px; color: #334155;
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
}
.topbar-inner {
    max-width: 980px; margin: 0 auto; padding: 0 40px;
    display: flex; justify-content: flex-end; align-items: center;
}
.topbar-text { display: flex; align-items: center; gap: 6px; }
.topbar-text svg { width: 14px; height: 14px; color: #F5C800; }
.topbar a { color: #0F172A; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s; }
.topbar a:hover { color: #F5C800; }

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    background: #FFFFFF; position: fixed; top: 26px; left: 0; right: 0; z-index: 99;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
}
.navbar-inner {
    width: fit-content; margin: 0 auto; padding: 0 40px;
    display: flex; align-items: center; gap: 20px; height: 78px;
}

/* Logo */
.logo { position: relative; z-index: 150; flex-shrink: 0; display: block; transform: translateY(3px); }
.logo img { width: 170px; height: auto; display: block; margin-right: -8px; }

/* Nav Links */
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-link {
    font-family: 'Nunito Sans', sans-serif; font-size: 18px;
    color: #020C52; font-weight: 700; padding: 8px 0;
    position: relative; transition: color 0.25s ease;
    letter-spacing: 0.15px; white-space: nowrap;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2.5px;
    background: #F5C800; border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1); transform: translateX(-50%);
}
.nav-link:hover { color: #020C52; }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: #020C52; font-weight: 700; }
.nav-link.active::after { width: 100%; background: #F5C800; }

/* Dropdown — Nos formations */
.nav-dropdown { position: relative; }
.nav-dropdown .nav-link { display: flex; align-items: center; gap: 5px; }
.nav-dropdown .nav-link .chevron { width: 14px; height: 14px; transition: transform 0.3s ease; transition-delay: 150ms; }
.nav-dropdown:hover .nav-link .chevron { transform: rotate(180deg); transition-delay: 200ms; }
.dropdown-panel {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #FFFFFF; border-radius: 14px;
    box-shadow: 0 12px 40px rgba(15,23,42,0.10), 0 2px 8px rgba(15,23,42,0.04);
    border: 1px solid #E2E8F0; padding: 10px;
    display: grid; grid-template-columns: 1fr; gap: 4px; width: 360px;
    opacity: 0; visibility: hidden;
    transition: all 0.3s cubic-bezier(0.23,1,0.32,1);
    transition-delay: 150ms;
    z-index: 200; overflow: hidden;
}
.dropdown-panel::before {
    content: ''; position: absolute; top: -6px; left: 50%;
    transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px;
    background: #FFFFFF; border-left: 1px solid #E2E8F0; border-top: 1px solid #E2E8F0;
}
.nav-dropdown::after { display: none; }
.nav-dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition-delay: 200ms; }
.dropdown-item {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    border-radius: 10px; font-family: 'Nunito Sans', sans-serif;
    font-size: 14px; font-weight: 600; color: #334155;
    transition: all 0.2s ease; white-space: nowrap;
}
.dropdown-item:hover { background: #FFF5CC; color: #0F172A; }
.dropdown-item .dropdown-icon {
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: background 0.2s ease;
}
/* Different colors per domain */
.dropdown-item:nth-child(1) .dropdown-icon { background: #DBEAFE; }
.dropdown-item:nth-child(1) .dropdown-icon svg { color: #2563EB; }
.dropdown-item:nth-child(2) .dropdown-icon { background: #E0E7FF; }
.dropdown-item:nth-child(2) .dropdown-icon svg { color: #6366F1; }
.dropdown-item:nth-child(3) .dropdown-icon { background: #D1FAE5; }
.dropdown-item:nth-child(3) .dropdown-icon svg { color: #059669; }
.dropdown-item:nth-child(4) .dropdown-icon { background: #FEF3C7; }
.dropdown-item:nth-child(4) .dropdown-icon svg { color: #D97706; }
.dropdown-item:nth-child(5) .dropdown-icon { background: #FCE7F3; }
.dropdown-item:nth-child(5) .dropdown-icon svg { color: #DB2777; }
.dropdown-item:hover .dropdown-icon { background: #F5C800; }
.dropdown-item .dropdown-icon svg { width: 16px; height: 16px; transition: color 0.2s ease; }
.dropdown-item:hover .dropdown-icon svg { color: #FFFFFF; }
.dropdown-all { font-weight: 700; color: #0A0F1E; border-top: 1px solid #E2E8F0; margin-top: 4px; padding-top: 12px; }

/* Bouton CTA */
.btn-cta {
    font-family: 'Questrial', sans-serif; font-size: 14.5px; font-weight: 700;
    padding: 10px 26px;
    background: linear-gradient(135deg, #1E2D4F 0%, #2A3F6A 100%);
    color: #FFFFFF;
    border-radius: 50px; border: none; cursor: pointer;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 12px rgba(30, 45, 79, 0.2);
    white-space: nowrap; flex-shrink: 0; position: relative;
    overflow: hidden;
}
.btn-cta::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}
.btn-cta:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 28px rgba(30, 45, 79, 0.35);
    background: linear-gradient(135deg, #2A3F6A 0%, #3A5490 100%);
}
.btn-cta:hover::before { left: 100%; }

/* Hamburger mobile */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: 0.3s; }

/* Animation entrée */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; } }

/* ==========================================
   FOOTER
   ========================================== */
main { margin-bottom: 3rem; }
.site-footer { background: #FFFFFF; padding: 14px 0 12px; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 6px; }
.footer-links a { font-size: 12px; color: var(--color-text-light); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #D1D5DB; transition: all var(--transition); }
.footer-links a:hover { color: var(--color-primary); text-decoration-color: var(--color-primary); }
.footer-info, .footer-copy { font-size: 11px; color: #9CA3AF; line-height: 1.4; max-width: 880px; margin: 0 auto; }
.footer-copy { margin-top: 2px; }

/* ==========================================
   HOMEPAGE - HERO (v5)
   ========================================== */
.hero { background: var(--hero-bg); padding: 36px 0 20px; position: relative; overflow: hidden; }
.hero::before, .hero::after { display: none; }
.hero-inner { max-width: 1220px; margin: 0 auto; padding: 0 40px; display: flex; gap: 24px; align-items: center; position: relative; z-index: 1; }
.hero-left { flex: 1 1 0; min-width: 0; }
.hero-title { font-family: 'Poppins', sans-serif; font-size: 30px; line-height: 1.3; color: #0A0F1E; margin-bottom: 10px; letter-spacing: -0.5px; font-weight: 600; }
.hero-title .gradient-text { font-weight: 700; color: var(--yellow); }
.mobile-break { display: none; }
br.mobile-only { display: none; }
br.desktop-only { display: inline; }
.hero-subtitle { font-size: 14.5px; color: var(--gray); margin-bottom: 24px; line-height: 1.5; display: flex; align-items: center; gap: 6px; }
.hero-subtitle svg { width: 15px; height: 15px; color: var(--gray-light); flex-shrink: 0; }

/* Homepage form card */
.form-card { background: #FBFCFE; border-radius: 20px 0 20px 0; padding: 24px 30px 26px; box-shadow: 0 6px 24px rgba(15,23,42,0.14), 0 12px 40px rgba(15,23,42,0.10); border: 2.5px solid var(--yellow); position: relative; margin-bottom: 0; max-width: 570px; transition: transform 0.6s cubic-bezier(0.23,1,0.32,1), box-shadow 0.6s cubic-bezier(0.23,1,0.32,1); }
.form-card:hover { transform: translateY(-4px) scale(1.008); box-shadow: 0 12px 35px rgba(245,200,0,0.12), 0 20px 50px rgba(15,23,42,0.07); }
.form-card-title { font-family: var(--font-display); font-size: 24px; font-weight: 400; color: var(--dark); margin-bottom: 18px; line-height: 1.4; text-align: center; }
.form-card-title .highlight { color: var(--yellow); }
.field-label { display: block; font-size: 13.5px; font-weight: 500; color: var(--dark-soft); margin-bottom: 6px; }
.select-wrap { position: relative; margin-bottom: 16px; }
.form-select { width: 100%; padding: 12px 36px 12px 14px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 14.5px; font-family: var(--font-body); color: var(--gray); background: #F8FAFC; appearance: none; cursor: pointer; transition: all 0.2s; }
.form-select:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-glow); background: #fff; }
.select-wrap::after { content: ''; position: absolute; right: 13px; top: 50%; transform: translateY(-50%); border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-top: 4.5px solid var(--gray-light); pointer-events: none; }
.mode-label { display: block; font-size: 13.5px; font-weight: 500; color: var(--dark-soft); margin-bottom: 8px; }
.hero .radio-group { display: flex; gap: 28px; margin-bottom: 18px; }
.radio-option { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14.5px; color: var(--dark-soft); }
.radio-option input { display: none; }
.radio-circle { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); position: relative; transition: all 0.2s; flex-shrink: 0; }
.radio-circle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); transform: scale(0); transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1); }
.radio-option input:checked ~ .radio-circle { border-color: var(--yellow); }
.radio-option input:checked ~ .radio-circle::after { transform: scale(1); }
.radio-text { transition: color 0.2s; }
.radio-option input:checked ~ .radio-text { color: var(--dark); }
.btn-row { display: flex; justify-content: flex-end; }
.btn-submit { font-family: var(--font-display); font-size: 14.5px; font-weight: 700; padding: 12px 32px; border: none; border-radius: 100px; cursor: pointer; background: var(--yellow); color: #FFFFFF; box-shadow: 0 2px 8px rgba(245,200,0,0.3); letter-spacing: 0.2px; transition: all 0.25s; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,200,0,0.4); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ===== FORM WIZARD — Multi-step ===== */
.form-steps-indicator { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 18px; }
.step-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--border); background: #F8FAFC; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--gray-light); transition: all 0.3s; flex-shrink: 0; }
.step-dot.active { border-color: var(--yellow); background: var(--yellow); color: #fff; }
.step-dot.done { border-color: var(--yellow); background: var(--yellow); color: #fff; }
.step-line { width: 30px; height: 2px; background: var(--border); transition: background 0.3s; }
.step-line.active { background: var(--yellow); }

.form-step { display: none; flex-direction: column; flex: 1; }
.form-step.active { display: flex; }

/* Step 2 — Funding grid */
.funding-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.funding-grid.error { outline: 2px solid var(--color-red); outline-offset: 4px; border-radius: 8px; }
.funding-option input { display: none; }
.funding-btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 10px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 13.5px; font-family: var(--font-body); color: var(--dark-soft); background: #F8FAFC; cursor: pointer; transition: all 0.2s; text-align: center; }
.funding-option input:checked + .funding-btn { border-color: var(--yellow); background: var(--yellow-soft); color: var(--dark); font-weight: 600; box-shadow: 0 0 0 3px var(--yellow-glow); }
.funding-btn:hover { border-color: var(--yellow); background: #FFFDF5; }

/* Step 3 — Contact fields */
.form-fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-input { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 14px; font-family: var(--font-body); color: var(--dark); background: #F8FAFC; transition: all 0.2s; }
.form-input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-glow); background: #fff; }
.form-input.error { border-color: var(--color-red); }
.form-select.error { border-color: var(--color-red); }
.phone-row { display: flex; gap: 8px; }
.phone-country { width: 110px; flex-shrink: 0; font-size: 14px; padding: 10px 8px; }
.phone-input { flex: 1; }
.consent-label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; font-size: 12.5px; color: var(--dark-soft); line-height: 1.4; margin-top: 4px; }
.consent-label input { margin-top: 2px; flex-shrink: 0; accent-color: var(--yellow); }
.consent-label.error .consent-text { color: var(--color-red); }

/* Buttons row with back + next */
.btn-row-between { justify-content: space-between; }
.btn-back { font-family: var(--font-display); font-size: 14px; font-weight: 600; padding: 10px 20px; border: 1.5px solid var(--border); border-radius: 100px; cursor: pointer; background: transparent; color: var(--dark-soft); transition: all 0.25s; }
.btn-back:hover { border-color: var(--gray-light); background: #F8FAFC; }

/* Success state */
.form-success { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; flex: 1; gap: 12px; padding: 20px 0; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: #D1FAE5; color: #059669; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; }
.success-text { font-size: 14px; color: var(--gray); line-height: 1.6; max-width: 380px; }

/* Hero right column */
.hero-right { flex: 0 0 520px; display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.image-card { position: relative; border-radius: 0 20px 0 20px; overflow: hidden; box-shadow: 0 6px 24px rgba(15,23,42,0.14), 0 12px 40px rgba(15,23,42,0.10); }
.hero-image { width: 100%; height: 340px; object-fit: cover; object-position: center 20%; display: block; }
.image-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 70px; background: linear-gradient(to top, rgba(15,23,42,0.25), transparent); pointer-events: none; }

/* Certif card */
.certif-card { background: #FFFFFF; border-radius: 20px 0 20px 0; padding: 12px 24px 16px; box-shadow: 0 6px 24px rgba(15,23,42,0.14), 0 12px 40px rgba(15,23,42,0.10); }
.certif-card-text { font-size: 13.5px; color: #1a1a2e; margin-bottom: 10px; line-height: 1.35; text-align: center; }
.certif-card-logos { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.certif-card-logos img { height: 42px; object-fit: contain; transition: all 0.3s; }
.certif-card-logos img:nth-child(2) { height: 54px; }
.certif-card-sep { display: none; }

/* Hero animations */
@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroSlideRight {
    from { opacity: 0; transform: translateX(28px); }
    to { opacity: 1; transform: translateX(0); }
}
.hero-title { animation: heroSlideUp 0.55s ease-out 0.1s forwards; }
.hero-subtitle { animation: heroSlideUp 0.5s ease-out 0.16s forwards; opacity: 0; }
.certif-card { animation: heroSlideRight 0.6s ease-out 0.3s forwards; opacity: 0; }
.hero-right { animation: heroSlideRight 0.65s ease-out 0.12s forwards; opacity: 0; }

/* ==========================================
   HOMEPAGE - FORMATIONS (domaines)
   ========================================== */
.formations-section { padding: 2rem 2rem 4rem; font-family: 'Questrial', sans-serif; background: #FDFDFE; }
.formations-container { max-width: 1100px; margin: 0 auto; }
.formations-title { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; color: #2b4a8c; text-align: center; margin-bottom: 1.8rem; font-family: 'Questrial', sans-serif; }
.formations-title span { color: #FDCC03; }
.formations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.formations-grid .formation-card:last-child:nth-child(odd) { grid-column: 1 / 2; }
.formation-card {
    position: relative; background: #ffffff; border: 1.5px solid #e2e8f0;
    border-radius: 14px; padding: 1.4rem 2.2rem; height: 95px;
    display: flex; align-items: center; gap: 1rem;
    text-decoration: none; color: inherit; cursor: pointer; overflow: hidden;
    box-shadow: 0 4px 16px rgba(43,74,140,0.10), 0 2px 6px rgba(0,0,0,0.06);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
    z-index: 1;
}
.formation-glow {
    position: absolute; width: 200px; height: 200px; border-radius: 50%;
    filter: blur(50px); opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease; transform: translate(-50%, -50%); z-index: -1;
}
.formation-card:hover .formation-glow { opacity: 1; }
.formation-card.maintenance .formation-glow { background: rgba(59, 130, 246, 0.2); }
.formation-card.programmation .formation-glow { background: rgba(99, 102, 241, 0.2); }
.formation-card.bureautique .formation-glow { background: rgba(16, 185, 129, 0.18); }
.formation-card.internet .formation-glow { background: rgba(236, 72, 153, 0.18); }
.formation-card.graphisme .formation-glow { background: rgba(139, 92, 246, 0.2); }
.formation-card:hover {
    border-color: #e2e8f0;
    box-shadow: 0 16px 45px rgba(43, 74, 140, 0.18), 0 6px 16px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.formation-icon {
    width: 44px; height: 44px; min-width: 44px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; transition: all 0.4s ease; position: relative; z-index: 1;
}
.formation-icon.ic-maintenance { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.formation-icon.ic-programmation { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); }
.formation-icon.ic-bureautique { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.formation-icon.ic-internet { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.formation-icon.ic-graphisme { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.formation-card:hover .formation-icon { transform: scale(1.08) rotate(-3deg); box-shadow: 0 6px 18px rgba(0,0,0,0.1); }
.formation-body { flex: 1; min-width: 0; position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 0; }
.formation-body h2 { font-size: 1.08rem; font-weight: 700; color: #1a1a2e; margin-bottom: 1px; transition: color 0.3s ease; line-height: 1.15; font-family: 'Questrial', sans-serif; }
.formation-card:hover .formation-body h2 { color: #2b4a8c; }
.formation-body p { font-size: 0.88rem; color: #5c5c6e; line-height: 1.15; margin-top: 2px; }
.formation-arrow {
    width: 30px; height: 30px; min-width: 30px; border-radius: 50%;
    background: #f0f4fa; display: flex; align-items: center; justify-content: center;
    color: #2b4a8c; font-size: 0.8rem; font-weight: 700;
    transition: all 0.4s ease; position: relative; z-index: 1;
}
.formation-card:hover .formation-arrow {
    background: #FDCC03; color: #1a1a2e;
    transform: translateX(4px); box-shadow: 0 4px 12px rgba(253, 204, 3, 0.35);
}

/* ==========================================
   HOMEPAGE - CONFIANCE (logos clients)
   ========================================== */
/* ===== Confiance — Premium trust section ===== */
.confiance {
    background: #FFFFFF;
    padding: 36px 0 32px;
    overflow: hidden;
    position: relative;
}

/* Stats + title inline */
.confiance-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    padding: 0 24px;
    margin-bottom: 28px;
}
.confiance-stat {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.confiance-stat-number {
    font-family: 'Questrial', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E2D4F;
    line-height: 1;
}
.confiance-stat-label {
    font-size: 0.7rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.confiance-divider {
    width: 1px;
    height: 20px;
    background: #E2E8F0;
}
.confiance h2 {
    font-family: 'Questrial', sans-serif; font-weight: 700; font-size: 12px;
    color: #94A3B8;
    text-transform: uppercase; letter-spacing: 0.18em;
    margin: 0;
}

/* Carousel */
.carousel-track-wrapper {
    overflow: hidden; position: relative; width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}
.carousel-track {
    display: flex; align-items: center; gap: 16px;
    animation: scrollLogos 45s linear infinite; width: max-content;
}
.carousel-track-wrapper {
    padding: 12px 0;
}
.carousel-track .logo-card {
    display: flex; align-items: center; justify-content: center;
    background: #F8FAFC;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 14px 24px;
    height: 60px;
    min-width: 120px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.carousel-track .logo-card:hover {
    transform: translateY(-4px) scale(1.05);
    background: #FFFFFF;
    border-color: rgba(30, 45, 79, 0.12);
    box-shadow: 0 10px 28px rgba(30, 45, 79, 0.12);
}
.carousel-track .logo-card img {
    height: 28px; width: auto; max-width: 100px; object-fit: contain;
}
@keyframes scrollLogos { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* ==========================================
   HOMEPAGE - CPF (NOUVELLE VERSION)
   ========================================== */
.cpf-section { background: #F5F6F9; padding: 28px 24px; }
.cpf-container { max-width: 1200px; margin: 0 auto; }
.cpf-card {
    background: var(--white);
    border-radius: 24px 0px 24px 0px;
    box-shadow: 0 10px 36px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(15, 23, 42, 0.08);
    padding: 40px 48px;
    display: flex; align-items: center; gap: 44px;
}
.cpf-text { flex: 1; }
.cpf-text p { font-size: 15px; line-height: 1.7; color: var(--dark-soft); margin-bottom: 14px; }
.cpf-text p:last-of-type { margin-bottom: 24px; }
.cpf-text .bold { font-weight: 700; color: #020C52; }
.cpf-text .red { color: #DC2626; font-weight: 700; }
.btn-financements {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
    padding: 11px 28px; background: #020C52; color: var(--white);
    border-radius: 10px; border: none; cursor: pointer; text-decoration: none;
    letter-spacing: 0.2px; transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
    box-shadow: 0 2px 8px rgba(15,23,42,0.2); position: relative; overflow: hidden;
}
.btn-financements::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); transition: left 0.5s ease; }
.btn-financements:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 24px rgba(15,23,42,0.3); background: #0A1A6B; }
.btn-financements:hover::before { left: 100%; }
.btn-financements span { font-size: 18px; transition: transform 0.3s ease; }
.btn-financements:hover span { transform: translateX(3px); }
.cpf-image { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.cpf-image img { width: 200px; height: auto; border-radius: 16px; transition: transform 0.3s ease; }
.cpf-image img:hover { transform: scale(1.04); }

@media (max-width: 768px) {
    .cpf-section { padding: 50px 20px; }
    .cpf-card { flex-direction: column; padding: 28px 24px; gap: 24px; text-align: center; }
    .cpf-image { order: -1; }
    .cpf-image img { width: 140px; }
}

/* ==========================================
   FORMATION PAGES - HERO
   ========================================== */
.hero-section { position: relative; padding: 20px 0 10px; margin-bottom: 5px; }
.hero-section .hero-image-wrapper { float: right; width: 380px; margin-left: 30px; margin-bottom: 10px; position: relative; }
.hero-logo-overlay { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; justify-content: center; z-index: 2; }
.hero-logo-overlay img { height: 62px; width: auto; display: block; background: rgba(255,255,255,0.6); border-radius: 10px; padding: 8px 15px; }
.hero-image-placeholder {
    width: 100%; height: 300px;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    border: 2px dashed var(--primary-light);
}
.placeholder-text { text-align: center; color: #a0aec0; padding: 20px; }
.placeholder-text svg { width: 50px; height: 50px; margin-bottom: 10px; opacity: 0.5; }
.placeholder-text p { font-size: 0.95em; }
.placeholder-text span { font-size: 0.75em; display: block; margin-top: 5px; }
.hero-title-wrapper { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: nowrap; }
.hero-title-wrapper .float { order: -1; }
.formation-hero-title { font-size: 2.5em; font-weight: 700; color: var(--primary); line-height: 1.15; font-family: 'Questrial', sans-serif; }
.formation-hero-title .black { color: #000; }
.formation-hero-title .accent-word { position: relative; display: inline-block; color: var(--primary); }
.formation-hero-title .accent-word::after {
    content: ''; position: absolute; bottom: 4px; left: 0;
    width: 100%; height: 10px;
    background: rgba(30, 45, 79, 0.15);
    z-index: -1; border-radius: 3px;
}
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.badge {
    padding: 9px 16px; border-radius: var(--radius-sm);
    font-size: 0.85em; border: 1.5px solid #e0e0e0;
    color: #000; background: var(--bg-section); cursor: default;
}
.badge.highlight {
    background: #E8EDF5; border-color: var(--primary-light);
    color: var(--primary); font-weight: 500;
}
.hero-description {
    font-size: 1.02em; color: var(--text-body);
    line-height: 1.85; text-align: justify;
    max-width: calc(100% - 420px); min-height: 200px;
}
.hero-description strong { color: var(--gold); font-weight: 600; }
.clearfix::after { content: ''; display: table; clear: both; }

/* ==========================================
   FORMATION PAGES - TABS & CARDS
   ========================================== */
.tabs {
    display: flex; gap: 10px; flex-wrap: wrap;
    justify-content: center; margin-bottom: 25px;
    padding-top: 5px; clear: both;
}
.tab {
    padding: 15px 30px; background: white; border: none;
    border-radius: var(--radius-pill); cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Nunito Sans', sans-serif; font-size: 1.1em;
    color: #333; box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: relative; overflow: hidden;
}
.tab::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(30, 45, 79, 0.12); border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}
.tab:hover::before { width: 300px; height: 300px; }
.tab:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    background: #E8EDF5;
}
.tab:active { transform: scale(0.95); }
.tab span { position: relative; z-index: 1; }
.tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(30, 45, 79, 0.4);
}
.tab.active::before { display: none; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-content .formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 20px;
}
.tab-content .formation-card {
    background: var(--bg-card); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}
.tab-content .formation-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-header {
    padding: 16px 22px; display: flex;
    justify-content: space-between; align-items: center;
    border-bottom: 2px solid var(--bg-section);
}
.card-title h3 { font-size: 1.35em; font-weight: 700; color: var(--primary); }
.card-title h3 span { font-size: 0.55em; font-weight: 400; color: var(--text-muted); display: block; margin-top: 2px; }
.format-label {
    font-size: 1.2em; font-weight: 700; color: var(--primary);
    background: #E8EDF5; padding: 10px 18px;
    border-radius: var(--radius-sm); white-space: nowrap;
}
.card-body { padding: 16px 22px; }
.info-grid { display: flex; gap: 14px; margin-bottom: 16px; }
.info-item {
    flex: 1; padding: 14px 18px;
    background: var(--bg-section); border-radius: var(--radius-md);
    border-left: 3px solid transparent; transition: all 0.3s ease;
}
.info-item:hover { border-left-color: var(--primary-light); }
.info-item .label { font-size: 0.78em; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.info-item .value { font-size: 1.05em; color: var(--primary); }
.toggle-section {
    background: var(--bg-section); color: var(--text-dark);
    padding: 12px 16px; border-radius: var(--radius-md);
    cursor: pointer; display: flex;
    justify-content: space-between; align-items: center;
    margin-bottom: 6px; transition: all 0.3s ease;
}
.toggle-section:hover { background: #E8EDF5; }
.toggle-section .arrow { transition: transform 0.3s ease; font-size: 0.8em; }
.toggle-section.open { background: var(--primary); color: white; }
.toggle-section.open .arrow { transform: rotate(180deg); }
.toggle-content {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--bg-section); border-radius: var(--radius-md);
    margin-bottom: 8px;
}
.toggle-content.active { max-height: 15000px; }
.programme-part { border-bottom: 1px solid rgba(0,0,0,0.06); padding: 8px 0; }
.programme-part:last-child { border-bottom: none; }
.programme-part-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 12px; cursor: pointer; border-radius: var(--radius-sm);
    transition: all 0.3s ease; font-weight: 500; color: var(--text-dark);
}
.programme-part-header:hover { background: #E8EDF5; }
.programme-part-header .part-arrow { font-size: 0.7em; transition: transform 0.3s ease; color: var(--text-muted); }
.programme-part-header.open .part-arrow { transform: rotate(180deg); }
.programme-part-header.open { background: #E8EDF5; color: var(--primary); }
.programme-part-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding-left: 15px; }
.programme-part-content.active { max-height: 5000px; }
.programme-part-content ul { list-style: none; padding: 10px 0 10px 10px; }
.programme-part-content li { padding: 6px 0 6px 22px; position: relative; color: var(--text-body); font-size: 0.9em; }
.programme-part-content li::before {
    content: ''; position: absolute; left: 0; top: 50%;
    transform: translateY(-50%); width: 6px; height: 6px;
    background: var(--primary-light); border-radius: 50%;
}
.objectifs-list { list-style: none; padding: 15px 20px; }
.objectifs-list li { padding: 10px 0 10px 28px; position: relative; color: var(--text-body); border-bottom: 1px solid rgba(0,0,0,0.05); }
.objectifs-list li:last-child { border-bottom: none; }
.objectifs-list li::before { content: '\2713'; position: absolute; left: 0; top: 10px; color: var(--primary-light); font-weight: bold; }
.objectifs-text { padding: 15px 20px; color: var(--text-body); line-height: 1.7; }
.action-buttons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 8px; }
.action-btn {
    padding: 12px 16px; border: none; border-radius: var(--radius-md);
    font-family: 'Nunito Sans', sans-serif; font-size: 0.92em;
    cursor: pointer; transition: all 0.3s ease;
    text-decoration: none; text-align: center;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--bg-section); color: var(--text-dark); font-weight: 500;
}
.action-btn:hover { transform: translateY(-2px); background: #E8EDF5; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.btn-cpf {
    padding: 15px; font-size: 0.95em;
    background: var(--accent-yellow-bg); color: #7A6B00;
    font-weight: 500; border: 1.5px solid var(--accent-yellow);
}
.btn-cpf:hover { background: #FFF2C2; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(220, 200, 90, 0.4); }
.btn-inscription {
    grid-column: 1 / -1; padding: 15px; font-size: 0.95em;
    background: var(--primary); color: #fff; font-weight: 400;
}
.btn-inscription:hover { background: var(--primary-light); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(30, 45, 79, 0.35); }
.btn-full { grid-column: 1 / -1; }

/* ==========================================
   SHARED SECTION UTILITIES
   ========================================== */
.section-title {
    font-size: 1.9em; font-weight: 700;
    color: var(--color-text); text-align: center; margin-bottom: 40px;
    font-family: 'Questrial', sans-serif;
}
.section-title .hero-gold { color: var(--gold); }
/* When .section-title is a wrapper div (centre, financements, etc.) */
.section-title h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; color: var(--primary); margin-bottom: 0.4rem; font-family: 'Questrial', sans-serif; }
.section-title h2 span { color: var(--accent-yellow); }
.section-title > p { color: var(--text-muted); font-size: 1rem; max-width: 550px; margin: 0 auto; }
.section-container { max-width: var(--max-width); margin: 0 auto; }

/* LE CENTRE — scoped colour override */
.centre-page {
    --primary: #425E9F;
    --primary-light: #5271B0;
    --color-primary: #425E9F;
    --gradient-blue: linear-gradient(135deg, #425E9F 0%, #5271B0 100%);
}

/* ==========================================
   LE CENTRE PAGE - HERO
   ========================================== */
.centre-hero {
    padding: 3rem 2rem 3.5rem;
    background: var(--gradient-blue);
    position: relative; overflow: hidden;
}
.centre-hero::before {
    content: ''; position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(253,204,0,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255,255,255,0.05) 0%, transparent 40%);
    animation: centreHeroFloat 20s ease-in-out infinite;
}
@keyframes centreHeroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-2%, 2%) rotate(1deg); }
}
.centre-hero-content { text-align: center; z-index: 10; position: relative; max-width: 1000px; margin: 0 auto; }
.centre-hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    padding: 0.5rem 1rem; border-radius: 50px;
    color: var(--accent-yellow); font-size: 0.85rem; font-weight: 600;
    margin-bottom: 1rem; border: 1px solid rgba(253,204,0,0.3);
}
.centre-hero-badge::before {
    content: '\2713'; background: var(--accent-yellow); color: var(--primary);
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem; font-weight: 700;
}
.centre-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: #fff; margin-bottom: 0.75rem; letter-spacing: -0.02em; line-height: 1.15; font-family: 'Questrial', sans-serif; }
.centre-hero h1 span { color: var(--accent-yellow); }
.centre-hero-subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.85); max-width: 650px; margin: 0 auto 2rem; line-height: 1.6; }

/* LE CENTRE - STATS */
.stats-container { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.stat-item { text-align: center; opacity: 0.3; transform: scale(0.9); transition: all 0.5s ease; }
.stat-item.active { opacity: 1; transform: scale(1); }
.stat-item.counting { transform: scale(1.05); }
.stat-number { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; color: #fff; line-height: 1; display: flex; align-items: baseline; justify-content: center; }
.stat-number .count { display: inline-block; min-width: 50px; }
.stat-number .suffix { color: #fff; font-size: 0.5em; margin-left: 0.1em; opacity: 0.9; }
.stat-label { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 0.4rem; font-weight: 500; transition: color 0.3s ease; }
.stat-item.active .stat-label { color: rgba(255,255,255,0.9); }

/* LE CENTRE - ATOUTS */
.atouts-section { background: #fff; padding: 2.5rem 2rem; }
.atouts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.atout-card { background: var(--bg-section); border-radius: 20px; padding: 1.5rem; position: relative; overflow: hidden; transition: all 0.4s ease; border: 2px solid transparent; }
.atout-card:hover { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(66, 94, 160, 0.1); }
.atout-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: var(--gradient-blue); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.atout-card:hover::after { transform: scaleX(1); }
.atout-icon { width: 50px; height: 50px; background: #fff; border: 2px solid var(--light-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1rem; transition: all 0.4s ease; position: relative; z-index: 1; }
.atout-card:hover .atout-icon { background: var(--primary); border-color: var(--primary); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(66, 94, 160, 0.2); }
.atout-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; transition: color 0.3s ease; position: relative; z-index: 1; }
.atout-card:hover h3 { color: var(--primary); }
.atout-card p { color: var(--text-muted); line-height: 1.5; font-size: 0.9rem; position: relative; z-index: 1; }

/* LE CENTRE - MODALITES */
.modalites-section { background: var(--gradient-blue); position: relative; padding: 2.5rem 2rem; }
.modalites-section .section-title h2, .modalites-section .section-title > p { color: #fff; }
.modalites-section .section-title h2 span { color: var(--accent-yellow); }
.modalites-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.modalite-card { background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.15); border-radius: 20px; padding: 1.5rem; text-align: center; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
.modalite-card::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(253,204,0,0.15); border-radius: 50%; transform: translate(-50%, -50%); transition: all 0.6s ease; }
.modalite-card:hover::before { width: 300px; height: 300px; }
.modalite-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-8px) scale(1.03); border-color: var(--accent-yellow); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.modalite-icon { font-size: 2rem; margin-bottom: 0.75rem; transition: all 0.5s ease; position: relative; z-index: 1; }
.modalite-card:hover .modalite-icon { transform: scale(1.2) translateY(-5px); filter: drop-shadow(0 5px 15px rgba(253,204,0,0.5)); }
.modalite-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.5rem; position: relative; z-index: 1; }
.modalite-card p { color: rgba(255,255,255,0.8); font-size: 0.85rem; line-height: 1.5; position: relative; z-index: 1; }

/* LE CENTRE - LOCAUX */
.locaux-section { background: #fff; padding: 2.5rem 2rem; }
.locaux-content { max-width: 700px; margin: 0 auto; }
.address-card { background: var(--bg-section); border-radius: 16px; padding: 1.25rem; margin-bottom: 0.75rem; display: flex; align-items: flex-start; gap: 1rem; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); border: 2px solid transparent; position: relative; overflow: hidden; }
.address-card::before { content: ''; position: absolute; right: -50px; top: 50%; transform: translateY(-50%); width: 100px; height: 100px; background: radial-gradient(circle, rgba(253,204,0,0.3) 0%, transparent 70%); opacity: 0; transition: all 0.4s ease; }
.address-card:hover { border-color: var(--accent-yellow); transform: translateX(15px); box-shadow: 0 10px 30px rgba(66, 94, 160, 0.1); }
.address-card:hover::before { opacity: 1; right: -20px; }
.address-icon { width: 45px; height: 45px; min-width: 45px; background: var(--light-blue); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: all 0.4s ease; }
.address-card:hover .address-icon { background: var(--accent-yellow); transform: rotate(10deg) scale(1.1); }
.address-details h4 { font-weight: 600; color: var(--text-dark); margin-bottom: 0.2rem; font-size: 0.95rem; }
.address-details p { color: var(--text-muted); font-size: 0.85rem; }
.psh-note { background: var(--accent-yellow-bg); border-left: 4px solid var(--accent-yellow); padding: 0.85rem 1.25rem; border-radius: 0 12px 12px 0; margin-top: 1rem; transition: all 0.3s ease; }
.psh-note:hover { transform: translateX(5px); box-shadow: 0 5px 20px rgba(253, 204, 0, 0.2); }
.psh-note p { color: var(--text-dark); font-size: 0.85rem; }

/* LE CENTRE - TEMOIGNAGES */
.temoignages-section { background: var(--bg-section); overflow: hidden; padding: 2.5rem 2rem; }
.temoignages-wrapper { position: relative; }
.temoignages-track { display: flex; gap: 1.5rem; animation: temoignagesScroll 40s linear infinite; }
.temoignages-track:hover { animation-play-state: paused; }
@keyframes temoignagesScroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-350px * 7 - 1.5rem * 7)); } }
.temoignage-card { min-width: 330px; background: #fff; border-radius: 20px; padding: 1.5rem; box-shadow: 0 6px 24px rgba(66, 94, 160, 0.14), 0 2px 8px rgba(66, 94, 160, 0.06); border: 2px solid transparent; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
.temoignage-card::before { content: '\201C'; position: absolute; top: 5px; right: 15px; font-size: 5rem; color: var(--light-blue); font-family: Georgia, serif; line-height: 1; transition: all 0.4s ease; }
.temoignage-card:hover { border-color: var(--accent-yellow); transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px rgba(66, 94, 160, 0.15); }
.temoignage-card:hover::before { color: var(--accent-yellow); transform: scale(1.2); }
.temoignage-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; position: relative; z-index: 1; }
.temoignage-avatar { width: 42px; height: 42px; background: var(--gradient-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; transition: all 0.4s ease; }
.temoignage-card:hover .temoignage-avatar { transform: scale(1.1); box-shadow: 0 5px 20px rgba(66, 94, 160, 0.3); }
.temoignage-info h4 { font-weight: 600; color: var(--text-dark); font-size: 0.9rem; }
.temoignage-info p { color: var(--text-muted); font-size: 0.8rem; }
.temoignage-text { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; font-style: italic; margin-bottom: 0.75rem; position: relative; z-index: 1; }
.temoignage-stars { color: var(--accent-yellow); font-size: 1rem; letter-spacing: 2px; position: relative; z-index: 1; }

/* LE CENTRE - QUALITE */
.qualite-section { background: #fff; padding: 2.5rem 2rem; }
.qualite-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0.75rem; }
.qualite-item { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem; background: var(--bg-section); border-radius: 14px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); border: 2px solid transparent; position: relative; overflow: hidden; }
.qualite-item::before { content: ''; position: absolute; left: 0; top: 0; width: 0; height: 100%; background: linear-gradient(90deg, var(--accent-yellow-bg) 0%, transparent 100%); transition: width 0.4s ease; z-index: 0; }
.qualite-item:hover { transform: translateX(10px); border-color: var(--accent-yellow); box-shadow: 0 10px 25px rgba(253, 204, 0, 0.15); }
.qualite-item:hover::before { width: 100%; }
.qualite-check { width: 26px; height: 26px; min-width: 26px; background: var(--accent-yellow); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-weight: 700; font-size: 0.8rem; position: relative; z-index: 1; transition: all 0.4s ease; }
.qualite-item:hover .qualite-check { transform: scale(1.2) rotate(360deg); box-shadow: 0 5px 15px rgba(253, 204, 0, 0.4); }
.qualite-item p { color: var(--text-dark); font-size: 0.88rem; line-height: 1.4; position: relative; z-index: 1; }

/* LE CENTRE - QUALIOPI BANNER */
.qualiopi-banner { background: var(--gradient-blue); padding: 2rem; text-align: center; }
.qualiopi-content { max-width: 800px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.qualiopi-badge { width: 80px; height: 80px; background: #fff; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.2); transition: all 0.4s ease; }
.qualiopi-badge:hover { transform: rotate(10deg) scale(1.1); box-shadow: 0 15px 40px rgba(0,0,0,0.3); }
.qualiopi-text h3 { color: #fff; font-size: 1.25rem; margin-bottom: 0.3rem; }
.qualiopi-text p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }

/* LE CENTRE - OPCO */
.opco-section { background: var(--bg-section); padding: 2.5rem 2rem; }
.opco-content { max-width: 800px; margin: 0 auto; text-align: center; }
.opco-content h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: 0.75rem; }
.opco-content h3 span { color: var(--accent-yellow); }
.opco-content p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 0.5rem; }
.opco-btn {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 1.25rem; padding: 14px 32px;
    background: var(--gradient-blue); color: #fff; text-decoration: none;
    border-radius: 50px; font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem; font-weight: 600;
    box-shadow: 0 4px 14px rgba(66, 94, 160, 0.3); transition: all 0.3s ease;
}
.opco-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(66, 94, 160, 0.4); }

/* ==========================================
   RESPONSIVE
   ========================================== */

/* --- Navbar squeeze (large tablet / small laptop) --- */
@media (max-width: 1100px) {
    .navbar-inner { gap: 14px; padding: 0 24px; }
    .logo img { width: 150px; }
    .nav-links { gap: 24px; }
    .nav-link { font-size: 15px; }
    .btn-cta { font-size: 14px; padding: 8px 18px; }
}

/* --- Tablet landscape / small desktop --- */
@media (max-width: 1024px) {
    .hero-inner { gap: 20px; padding: 0 24px; }
    .hero-right { flex: 0 0 420px; }
    .hero-title { font-size: 30px; }
    .hero-subtitle { font-size: 13.5px; }
    .hero-image { height: 300px; }
    .form-card { max-width: 100%; }
    .form-card-title { font-size: 22px; }
    .certif-card-logos img { height: 44px; }
    .certif-card-logos img:nth-child(2) { height: 58px; }
    .cpf-card { gap: 30px; padding: 32px 36px; }
}

/* --- Tablet portrait --- */
@media (max-width: 900px) {
    /* Navbar: tighten further */
    .navbar-inner { gap: 10px; padding: 0 16px; height: 68px; }
    .logo img { width: 140px; }
    .nav-links { gap: 18px; }
    .nav-link { font-size: 14px; }
    .btn-cta { font-size: 13px; padding: 7px 16px; }

    /* Hero: stack layout */
    .hero { padding: 28px 0 20px; }
    .hero-inner { flex-direction: column; padding: 0 24px; gap: 20px; }
    .hero-right { flex: none; width: 100%; max-width: 520px; margin: 0 auto; }
    .hero-image { height: 280px; }
    .form-card { max-width: 100%; }
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 14px; }
    .form-card-title { font-size: 21px; }
    .certif-card-logos img { height: 42px; }
    .certif-card-logos img:nth-child(2) { height: 56px; }

    /* Formation pages hero */
    .hero-description { max-width: 100%; min-height: auto; }

    /* Le Centre - reduce section padding */
    .atouts-section,
    .modalites-section,
    .locaux-section,
    .temoignages-section,
    .qualite-section,
    .opco-section { padding: 2rem 1.5rem; }

    /* CPF */
    .cpf-card { gap: 24px; padding: 28px 30px; }
    .cpf-image img { width: 160px; }
}

/* --- Mobile --- */
@media (max-width: 768px) {
    br.mobile-only { display: inline; }
    br.desktop-only { display: none; }

    /* Topbar — compact: just phone number + short hours */
    .topbar { padding: 6px 0; }
    .topbar-inner { padding: 0 16px; justify-content: center; }
    .topbar-text { font-size: 12px; line-height: 1.4; text-align: center; gap: 5px; }
    .topbar-horaires { display: inline; font-size: 10px; }

    /* Navbar: hamburger mode */
    body { padding-top: 84px; }
    .navbar { animation: none; }
    .navbar-inner { width: 100%; padding: 0 16px; justify-content: space-between; height: 58px; }
    .logo img { width: 130px; }
    .nav-links {
        display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFD 100%);
        flex-direction: column; align-items: stretch;
        padding: 78px 20px 32px; z-index: 190;
        gap: 0; overflow-y: auto;
    }
    .nav-links.open { display: flex; animation: mobileMenuIn 0.35s ease-out; }
    @keyframes mobileMenuIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    /* Nav items — card-like with separator */
    .nav-link {
        padding: 16px 18px; font-size: 16px; font-weight: 600;
        border-radius: 0; color: #1E2D4F;
        border-bottom: 1px solid #EEF1F6;
        transition: background 0.2s, padding-left 0.25s;
        display: flex; align-items: center; gap: 12px;
    }
    .nav-link::after { display: none; }
    .nav-link::before {
        content: ''; display: block; width: 4px; height: 0;
        background: #F5C800; border-radius: 4px;
        transition: height 0.25s ease; flex-shrink: 0;
    }
    .nav-link:hover, .nav-link:active { background: #F0F4FA; }
    .nav-link.active {
        color: #020C52; font-weight: 700; background: #FFF8E0;
    }
    .nav-link.active::before { height: 22px; }

    /* CTA button */
    .btn-cta {
        margin: 16px 0 0; text-align: center; width: 100%; display: block;
        font-size: 15px; padding: 15px 24px; border-radius: 14px;
        background: #1E2D4F; color: #FFFFFF;
        border: 2px solid #1E2D4F;
        font-weight: 700; letter-spacing: 0.3px;
        box-shadow: 0 4px 16px rgba(30, 45, 79, 0.25);
    }

    /* Hamburger */
    .hamburger { display: flex; z-index: 200; position: relative; }
    .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    /* Logo stays on top of fullscreen menu */
    .logo { z-index: 200; }

    /* Dropdown mobile: accordion-style */
    .nav-dropdown .nav-link {
        display: flex; align-items: center; justify-content: space-between;
    }
    .nav-dropdown .nav-link::before { display: none; }
    .nav-dropdown .nav-link .chevron {
        width: 20px; height: 20px;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        color: #94A3B8;
    }
    .nav-dropdown.open .nav-link {
        background: #EEF4F9; border-bottom-color: transparent;
    }
    .nav-dropdown.open .nav-link .chevron { transform: rotate(180deg); color: #020C52; }
    .dropdown-panel {
        position: static; transform: none;
        opacity: 1; visibility: visible;
        box-shadow: none; border: none;
        border-radius: 0 0 12px 12px;
        padding: 6px 8px 10px 8px; width: auto; max-width: 100%;
        display: none; gap: 4px;
        background: #F5F8FC;
        margin: 0 0 2px; overflow: visible;
    }
    .dropdown-panel::before { display: none; }
    .nav-dropdown::after { display: none; }
    .nav-dropdown:hover .dropdown-panel { transform: none; }
    .nav-dropdown.open .dropdown-panel { display: flex; flex-direction: column; }
    .dropdown-item {
        font-size: 14px; padding: 11px 14px; border-radius: 10px;
        white-space: normal; line-height: 1.35; color: #334155;
        transition: background 0.2s, transform 0.15s;
    }
    .dropdown-item:active { background: #FFF5CC; transform: scale(0.98); }
    .dropdown-item .dropdown-icon {
        width: 30px; height: 30px; min-width: 30px; border-radius: 8px;
    }
    .dropdown-item .dropdown-icon svg { width: 14px; height: 14px; }

    /* Homepage Hero */
    .mobile-break { display: inline; }
    .hero { padding: 24px 0 18px; }
    .hero-inner { flex-direction: column; padding: 0 20px; gap: 6px; }
    .form-card { margin-bottom: 0; }
    .hero-left { display: contents; }
    .hero-right { display: contents; }
    .hero-title { order: 1; font-size: 28px; letter-spacing: -0.3px; text-align: left !important; padding-left: 0 !important; margin-left: 0 !important; text-indent: 0 !important; align-self: stretch !important; }
    .hero-title br.mobile-only { display: inline; }
    .image-card { order: 2; width: 100%; }
    .hero-image { height: 220px; }
    .hero-subtitle { order: 3; font-size: 13px; margin: 4px 0; }
    .form-card { order: 4; width: 100%; max-width: 100%; padding: 22px 20px; }
    .certif-card { order: 5; width: 100%; }
    .form-card-title { font-size: 19px; }
    .field-label { font-size: 13px; }
    .form-select { font-size: 14px; padding: 11px 36px 11px 13px; }
    .mode-label { font-size: 13px; }
    .radio-option { font-size: 14px; }
    .hero .radio-group { flex-direction: column; gap: 10px; }
    .funding-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .funding-btn { font-size: 12.5px; padding: 10px 8px; }
    .form-row-2col { grid-template-columns: 1fr; }
    .phone-country { width: 100px; }
    .btn-submit { font-size: 14px; padding: 12px 28px; }

    /* Homepage Certifications */
    .certif-card { padding: 12px 16px 14px; }
    .certif-card-text { font-size: 12px; }
    .certif-card-logos { gap: 10px; }
    .certif-card-logos img { height: 36px; }
    .certif-card-logos img:nth-child(2) { height: 48px; }

    /* Homepage Formations (domaines) */
    .formations-section { padding: 2rem 1rem 3rem; }
    .formations-title { margin-bottom: 1.4rem; }
    .formations-grid { grid-template-columns: 1fr; gap: 0.8rem; }
    .formations-grid .formation-card:last-child:nth-child(odd) { grid-column: 1 / 2; }
    .formation-card { padding: 1rem 1.5rem; height: 80px; }
    .formation-icon { width: 40px; height: 40px; min-width: 40px; font-size: 1.1rem; }
    .formation-body h2 { font-size: 1rem; }
    .formation-body p { font-size: 0.84rem; }
    .formation-arrow { width: 28px; height: 28px; min-width: 28px; font-size: 0.75rem; }

    /* Homepage Confiance */
    .confiance { padding: 28px 0 24px; }
    .confiance-header { gap: 20px; margin-bottom: 20px; }
    .confiance-stat-number { font-size: 1.25rem; }
    .carousel-track .logo-card { padding: 12px 18px; height: 52px; min-width: 100px; }
    .carousel-track .logo-card img { height: 24px; }
    .carousel-track { gap: 12px; }

    /* Formations pages */
    .hero-section .hero-image-wrapper { float: none; width: 100%; margin: 0 0 20px 0; }
    .hero-image-wrapper { display: none !important; }
    .hero-description { max-width: 100% !important; min-height: auto !important; font-size: 0.92em !important; line-height: 1.55 !important; }
    .formation-hero-title { font-size: 1.9em; }
    .info-grid { flex-direction: column; gap: 10px; }
    .action-buttons { grid-template-columns: 1fr; }
    .tab { padding: 12px 22px; font-size: 1em; }
    .section-title { font-size: 1.5em; }
    .card-header { padding: 18px 20px; flex-direction: row; align-items: center; gap: 8px; }
    .card-title h3 { font-size: 1.05em !important; }
    .format-label { font-size: 0.8em !important; padding: 5px 10px !important; }
    .card-body { padding: 18px 20px; }
    .toggle-section { font-size: 1.05em !important; }
    .info-item .value { font-size: 1.05em; }

    /* Le Centre page */
    .centre-hero { padding: 2rem 1.25rem 2.5rem; }
    .centre-hero h1 { font-size: clamp(1.6rem, 6vw, 2.5rem); }
    .centre-hero-subtitle { font-size: 0.92rem; }
    .stats-container { gap: 1rem; }
    .stat-number { font-size: 1.8rem; }
    .stat-item { min-width: 0; flex: 1; min-width: 70px; }
    .stat-label { font-size: 0.78rem; }
    .atouts-grid,
    .qualite-grid,
    .modalites-grid { grid-template-columns: 1fr; }
    .section-container { padding: 0 0.5rem; }
    .section-title h2 { font-size: clamp(1.4rem, 5vw, 2rem); }

    /* Temoignages */
    .temoignage-card { min-width: 280px; padding: 1.25rem; }
    @keyframes temoignagesScroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-300px * 7 - 1.5rem * 7)); } }

    /* Mobile: disable :hover, use .hover class from IntersectionObserver instead */
    .address-card:hover { transform: none; }
    .qualite-item:hover { transform: none; }
    .psh-note:hover { transform: none; }
    .formation-card:hover { transform: none; box-shadow: 0 4px 16px rgba(43,74,140,0.10), 0 2px 6px rgba(0,0,0,0.06); }
    .formation-card:hover .formation-icon { transform: none; box-shadow: none; }
    .formation-card:hover .formation-arrow { transform: none; background: #f0f4fa; color: #2b4a8c; box-shadow: none; }
    .cpf-image img:hover { transform: none; }
    .btn-financements:hover { transform: none; }

    /* Scroll-triggered hover effects on mobile */
    .formation-card.hover { border-color: var(--yellow); box-shadow: 0 8px 24px rgba(253,204,3,0.2), 0 12px 32px rgba(0,0,0,0.12); transform: translateY(-4px); }
    .formation-card.hover .formation-glow { opacity: 1; }
    .formation-card.hover .formation-icon { transform: scale(1.08) rotate(-3deg); box-shadow: 0 6px 18px rgba(0,0,0,0.1); }
    .formation-card.hover .formation-body h2 { color: #2b4a8c; }
    .formation-card.hover .formation-arrow { background: var(--yellow); color: #FFFFFF; transform: translateX(4px); box-shadow: 0 4px 12px rgba(253, 204, 3, 0.35); }
    .atout-card.hover { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(66, 94, 160, 0.1); }
    .atout-card.hover::after { transform: scaleX(1); }
    .atout-card.hover .atout-icon { background: var(--primary); border-color: var(--primary); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(66, 94, 160, 0.2); }
    .atout-card.hover h3 { color: var(--primary); }
    .modalite-card.hover { background: rgba(255,255,255,0.15); transform: translateY(-8px) scale(1.03); border-color: var(--accent-yellow); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
    .modalite-card.hover .modalite-icon { transform: scale(1.2) translateY(-5px); filter: drop-shadow(0 5px 15px rgba(253,204,0,0.5)); }
    .address-card.hover { border-color: var(--accent-yellow); transform: translateX(15px); box-shadow: 0 10px 30px rgba(66, 94, 160, 0.1); }
    .address-card.hover .address-icon { background: var(--accent-yellow); transform: rotate(10deg) scale(1.1); }
    .qualite-item.hover { transform: translateX(10px); border-color: var(--accent-yellow); box-shadow: 0 10px 25px rgba(253, 204, 0, 0.15); }
    .qualite-item.hover .qualite-check { transform: scale(1.2) rotate(360deg); box-shadow: 0 5px 15px rgba(253, 204, 0, 0.4); }
    .qualiopi-badge.hover { transform: rotate(10deg) scale(1.1); box-shadow: 0 15px 40px rgba(0,0,0,0.3); }
    .temoignage-card.hover { border-color: var(--accent-yellow); transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px rgba(66, 94, 160, 0.15); }
    .temoignage-card.hover::before { color: var(--accent-yellow); transform: scale(1.2); }
    .temoignage-card.hover .temoignage-avatar { transform: scale(1.1); box-shadow: 0 5px 20px rgba(66, 94, 160, 0.3); }
    .psh-note.hover { transform: translateX(5px); box-shadow: 0 5px 20px rgba(253, 204, 0, 0.2); }
    .form-card.hover { transform: translateY(-4px) scale(1.008); box-shadow: 0 12px 35px rgba(245,200,0,0.12), 0 20px 50px rgba(15,23,42,0.07); }
    .action-btn.hover { transform: translateY(-2px); background: #E8EDF5; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
    .btn-cpf.hover { background: #FFF2C2; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(220, 200, 90, 0.4); }
    .btn-inscription.hover { background: var(--primary-light); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(30, 45, 79, 0.35); }
    .opco-btn.hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(66, 94, 160, 0.4); }
    .cpf-image img.hover { transform: scale(1.04); }
    .btn-financements.hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 24px rgba(15,23,42,0.3); background: #0A1A6B; }
    .nf-card.hover { border-color: var(--color-primary); box-shadow: 0 12px 35px rgba(30,45,79,0.18), 0 20px 50px rgba(30,45,79,0.12); transform: translateY(-4px); }
    .legal-card.hover { box-shadow: 0 6px 20px rgba(43, 74, 140, 0.1), 0 2px 6px rgba(0,0,0,0.05); }

    /* Qualiopi banner */
    .qualiopi-banner { padding: 1.5rem 1rem; }
    .qualiopi-content { flex-direction: column; gap: 1rem; }
    .qualiopi-badge { width: 60px; height: 60px; }
    .qualiopi-text { text-align: center; }
    .qualiopi-text h3 { font-size: 1.1rem; }

    /* OPCO */
    .opco-section { padding: 2rem 1.25rem; }
    .opco-content h3 { font-size: 1.2rem; }
    .opco-btn { font-size: 0.9rem; padding: 12px 24px; }

    /* Footer */
    .site-footer { padding: 12px 0 10px; }
    .footer-links { gap: 8px 14px; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; }
    .footer-links a { font-size: 12px; padding: 2px 0; }
    .footer-info, .footer-copy { font-size: 10.5px; padding: 0 16px; }
}

/* --- Small mobile (iPhone SE, small Android) --- */
@media (max-width: 480px) {
    .container { padding: 0 16px; }

    /* Hero */
    .hero { padding: 18px 0 14px; }
    .hero-inner { padding: 0 16px; gap: 6px; }
    .hero-title { font-size: 25px; line-height: 1.25; }
    .hero-subtitle { font-size: 12px; gap: 4px; }
    .hero-subtitle svg { width: 12px; height: 12px; }
    .hero-image { height: 180px; }
    .form-card { padding: 18px 16px; }
    .form-card-title { font-size: 16px; margin-bottom: 14px; }
    .field-label { font-size: 12.5px; }
    .form-select { font-size: 13px; padding: 10px 36px 10px 12px; }
    .mode-label { font-size: 12.5px; }
    .radio-option { font-size: 13px; }
    .btn-submit { font-size: 13px; padding: 10px 24px; }
    .btn-back { font-size: 12.5px; padding: 8px 16px; }
    .btn-row { justify-content: center; }
    .funding-btn { font-size: 11.5px; padding: 9px 6px; }
    .form-input { font-size: 13px; padding: 9px 12px; }
    .phone-country { width: 90px; font-size: 13px; }
    .consent-label { font-size: 11.5px; }

    /* Certifications */
    .certif-card { padding: 10px 12px 12px; }
    .certif-card-text { font-size: 11px; margin-bottom: 8px; }
    .certif-card-logos { gap: 8px; }
    .certif-card-logos img { height: 28px; }
    .certif-card-logos img:nth-child(2) { height: 38px; }

    /* Formations */
    .formations-section { padding: 1.5rem 0.75rem 2rem; }
    .formations-title { font-size: 1.4rem; margin-bottom: 1.2rem; }
    .formation-card { padding: 0.8rem 1rem; height: 70px; gap: 0.75rem; }
    .formation-icon { width: 36px; height: 36px; min-width: 36px; font-size: 1rem; }
    .formation-body h2 { font-size: 0.92rem; }
    .formation-body p { font-size: 0.78rem; }
    .formation-arrow { width: 24px; height: 24px; min-width: 24px; font-size: 0.65rem; }

    /* Confiance */
    .confiance { padding: 24px 0 20px; }
    .confiance-header { gap: 14px; margin-bottom: 16px; }
    .confiance-divider { display: none; }
    .confiance h2 { font-size: 9px; width: 100%; text-align: center; order: -1; margin-bottom: 4px; }
    .confiance-stat-number { font-size: 1.1rem; }
    .confiance-stat-label { font-size: 0.6rem; }
    .carousel-track .logo-card { padding: 10px 14px; height: 46px; min-width: 90px; border-radius: 10px; }
    .carousel-track .logo-card img { height: 20px; max-width: 80px; }
    .carousel-track { gap: 10px; }

    /* CPF */
    .cpf-section { padding: 30px 14px; }
    .cpf-card { padding: 22px 18px; gap: 18px; }
    .cpf-text p { font-size: 13.5px; line-height: 1.6; }
    .cpf-image img { width: 120px; }
    .btn-financements { width: 100%; justify-content: center; font-size: 13px; padding: 11px 20px; }

    /* Formation pages cards */
    .tab { padding: 10px 16px; font-size: 0.9em; }
    .card-title h3 { font-size: 1em !important; }
    .format-label { font-size: 0.75em !important; padding: 5px 10px !important; }
    .info-item { padding: 10px 14px; }
    .toggle-section { padding: 12px 14px; font-size: 1em !important; }

    /* Formation pages hero — force stacking */
    .hero-section .hero-image-wrapper { display: none !important; }
    .hero-description { font-size: 0.88em !important; line-height: 1.5 !important; }
    .hero-section .hero-title { font-size: 1.8em !important; }
    .hero-badges { flex-wrap: wrap; }
    .badge { font-size: 0.8em; padding: 7px 12px; }
    .action-btn { min-height: 44px; font-size: 0.92em; }
    .info-grid { flex-direction: column !important; gap: 10px; }
    .action-buttons { grid-template-columns: 1fr !important; }

    /* Domain listing pages — buttons touch-friendly */
    .formation-btn { padding: 1rem 1.25rem; font-size: 0.95rem; min-height: 44px; }
    .formation-btn .btn-icon { width: 38px; height: 38px; min-width: 38px; font-size: 1rem; }

    /* Le Centre */
    .centre-hero { padding: 1.75rem 1rem 2rem; }
    .centre-hero-badge { font-size: 0.78rem; padding: 0.4rem 0.8rem; }
    .stats-container { gap: 0.6rem; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.72rem; }
    .atout-card { padding: 1.25rem; }
    .atout-card h3 { font-size: 1rem; }
    .atout-card p { font-size: 0.85rem; }
    .modalite-card { padding: 1.25rem; }
    .modalite-card h3 { font-size: 0.95rem; }
    .modalite-card p { font-size: 0.82rem; }
    .address-card { padding: 1rem; gap: 0.75rem; }
    .address-icon { width: 38px; height: 38px; min-width: 38px; font-size: 1rem; }
    .temoignage-card { min-width: 260px; padding: 1.1rem; }
    .qualite-item { padding: 0.85rem; }
    .qualite-item p { font-size: 0.82rem; }

    /* Footer */
    .footer-links { gap: 8px; }
    .footer-info, .footer-copy { font-size: 10px; line-height: 1.35; }
}

/* --- Very small mobile (320px) --- */
@media (max-width: 360px) {
    .container { padding: 0 12px; }
    .hero-inner { padding: 0 12px; }
    .hero-title { font-size: 23px; }
    .form-card { padding: 16px 14px; }
    .form-card-title { font-size: 15px; }
    .hero-right { max-width: 100%; }
    .hero-image { height: 160px; }
    .certif-card-logos img { height: 24px; }
    .certif-card-logos img:nth-child(2) { height: 32px; }
    .confiance h2 { font-size: 9px; }
    .formations-title { font-size: 1.25rem; }
    .formation-card { height: auto; min-height: 60px; }
    .cpf-section { padding: 24px 10px; }
    .cpf-card { padding: 18px 14px; }
    .cpf-text p { font-size: 13px; }
    .stat-number { font-size: 1.3rem; }
    .stat-label { font-size: 0.68rem; }
    .centre-hero h1 { font-size: 1.5rem; }
    .tab { padding: 8px 12px; font-size: 0.85em; }
}

/* ===== BREADCRUMB — Formation detail pages ===== */
.breadcrumb-nav {
    font-size: 0.82em;
    color: #999;
    padding: 12px 0 8px;
    margin: 0;
    line-height: 1;
    position: relative;
    z-index: 200;
    isolation: isolate;
}
.breadcrumb-nav a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
    display: inline-block;
    padding: 4px 2px;
    position: relative;
    z-index: 201;
}
.breadcrumb-nav a:hover {
    text-decoration: underline;
    color: #1B2A4A;
}
.breadcrumb-nav .sep {
    margin: 0 6px;
    color: #ccc;
}
