@font-face {
    font-family: 'Outfit';
    src: url('../fonts/outfit-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('../fonts/rubik-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

:root {
    --hex-blue: #21427C;
    --hex-blue-dark: #172E58;
    --hex-blue-light: #2D5AA0;
    --hex-gold: #F9B11B;
    --hex-gold-dark: #D4920A;
    --hex-gold-light: #FBC94A;
    --white: #FFFFFF;
    --gray-50: #F8F9FA;
    --gray-100: #F0F2F5;
    --gray-200: #E1E5EA;
    --gray-400: #8A92A0;
    --gray-700: #3D4452;
    --gray-900: #1A1D23;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(33,66,124,0.08);
    --shadow-md: 0 8px 32px rgba(33,66,124,0.12);
    --shadow-lg: 0 20px 64px rgba(33,66,124,0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Rubik', sans-serif; }

.hidden{display:none;}

#candidature{scroll-margin-top:70px}

/* ── NAV ── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    padding: 0 2rem;
    height: 68px;
    display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
    display: flex; align-items: center; gap: 12px;
    font-family: 'Rubik', sans-serif; font-weight: 800;
    font-size: 1.1rem; color: var(--hex-blue); text-decoration: none;
}
.nav-logo-hex {
    width: 36px; height: 36px;
    background: var(--hex-blue);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex; align-items: center; justify-content: center;
}
.nav-logo-hex span {
    color: var(--hex-gold); font-size: 0.75rem; font-weight: 800; font-family: 'Rubik',sans-serif;
}
.nav-ctas {
    display: flex; gap: 0.6rem; align-items: center;
}
.nav-cta {
    background: var(--hex-gold);
    color: var(--hex-blue);
    font-family: 'Rubik', sans-serif; font-weight: 700;
    padding: 10px 22px; border-radius: var(--radius-sm);
    text-decoration: none; font-size: 0.88rem;
    transition: background 0.2s, transform 0.15s;
    border: none; cursor: pointer;
}
.nav-cta:hover { background: var(--hex-gold-dark); transform: translateY(-1px); }
.nav-cta-outline {
    background: transparent;
    color: var(--hex-blue);
    font-family: 'Rubik', sans-serif; font-weight: 700;
    padding: 10px 22px; border-radius: var(--radius-sm);
    text-decoration: none; font-size: 0.88rem;
    transition: background 0.2s, transform 0.15s;
    border: 1.5px solid var(--hex-blue); cursor: pointer;
}
.nav-cta-outline:hover { background: var(--hex-blue); color: var(--white); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
    min-height: 100vh;
    background: var(--hex-blue);
    position: relative;
    overflow: hidden;
    display: flex; align-items: center;
    padding: 68px 0 0;
    margin-top:0;
    padding-top:0;
}
.hero-accent {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(249,177,27,0.15) 0%, transparent 70%);
    right: -100px; top: 50%; transform: translateY(-50%);
    pointer-events: none;
}
.hero-inner {
    position: relative; z-index: 1;
    max-width: 1100px; margin: 0 auto;
    padding: 5rem 2rem 6rem;
    display: grid; grid-template-columns: 1fr 420px;
    gap: 4rem; align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(249,177,27,0.15);
    border: 1px solid rgba(249,177,27,0.4);
    color: var(--hex-gold);
    font-family: 'Rubik', sans-serif; font-weight: 600;
    font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 6px 14px; border-radius: 100px;
    margin-bottom: 1.5rem;
}
.hero-badge::before {
    content: '';
    width: 7px; height: 7px;
    background: var(--hex-gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800; line-height: 1.12;
    color: var(--white);
    margin-bottom: 1.5rem;
}
.hero h1 em {
    font-style: normal;
    color: var(--hex-gold);
    text-wrap: nowrap;
}
.hero-desc {
    font-size: 1.05rem; line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2.5rem;
    max-width: 520px;
}
.hero-actions {
    display: flex; gap: 1rem; flex-wrap: wrap;
    align-items: center;
}
.btn-primary {
    background: var(--hex-gold);
    color: var(--hex-blue);
    font-family: 'Rubik', sans-serif; font-weight: 700;
    padding: 14px 28px; border-radius: var(--radius-sm);
    text-decoration: none; font-size: 0.95rem;
    transition: all 0.2s; border: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--hex-gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,177,27,0.4); }
.btn-ghost {
    color: rgba(255,255,255,0.85);
    font-family: 'Rubik', sans-serif; font-weight: 500;
    padding: 14px 24px; border-radius: var(--radius-sm);
    text-decoration: none; font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.25);
    transition: all 0.2s;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

.hero-stats {
    display: flex; gap: 2rem; margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat .num {
    font-family: 'Rubik', sans-serif; font-weight: 800;
    font-size: 1.8rem; color: var(--hex-gold);
    line-height: 1;
}
.hero-stat .lbl {
    font-size: 0.78rem; color: rgba(255,255,255,0.55);
    margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em;
}

/* FORM CARD */
.hero-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.hero-form-card::before {
    content: '';
    position: absolute; top: -1px; left: 2rem; right: 2rem; height: 3px;
    background: var(--hex-gold);
    border-radius: 0 0 4px 4px;
}
.form-title {
    font-family: 'Rubik', sans-serif; font-weight: 700;
    font-size: 1.15rem; color: var(--hex-blue);
    margin-bottom: 0.35rem;
}
.form-subtitle {
    font-size: 0.82rem; color: var(--gray-400);
    margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block; font-size: 0.8rem; font-weight: 600;
    color: var(--gray-700); margin-bottom: 5px;
    font-family: 'Rubik', sans-serif;
}
.form-group input,
.form-group select {
    width: 100%; padding: 10px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif; font-size: 0.9rem;
    color: var(--gray-900);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    appearance: none;
}
.form-group input:focus,
.form-group select:focus {
    border-color: var(--hex-blue);
    box-shadow: 0 0 0 3px rgba(33,66,124,0.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.btn-form {
    width: 100%; padding: 13px;
    background: var(--hex-blue);
    color: var(--white);
    font-family: 'Rubik', sans-serif; font-weight: 700;
    font-size: 0.95rem; border: none;
    border-radius: var(--radius-sm); cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    margin-top: 0.5rem;
    letter-spacing: 0.01em;
}
.btn-form:hover { background: var(--hex-blue-dark); transform: translateY(-1px); }
.form-note {
    font-size: 0.72rem; color: var(--gray-400);
    text-align: center; margin-top: 0.75rem; line-height: 1.5;
}
.form-trust {
    display: flex; gap: 1rem; justify-content: center;
    margin-top: 1rem; padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}
.trust-item {
    font-size: 0.72rem; color: var(--gray-400);
    display: flex; align-items: center; gap: 5px;
}
.trust-icon { color: var(--hex-gold); font-size: 13px; }

/* ── SECTION STYLES ── */
section { padding: 5rem 2rem; }
.fit-content{width: fit-content;}
.container { max-width: 1100px; margin: 0 auto; }
.section-tag {
    display: inline-block;
    font-family: 'Rubik', sans-serif; font-weight: 700;
    font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--hex-gold-dark);
    background: rgba(249,177,27,0.1);
    padding: 5px 12px; border-radius: 100px;
    margin-bottom: 0.85rem;
}
.section-title {
    font-family: 'Rubik', sans-serif; font-weight: 800;
    font-size: clamp(1.6rem, 2.5vw, 2.3rem);
    color: var(--hex-blue);
    line-height: 1.2; margin-bottom: 1rem;
}
.section-title em { font-style: normal; color: var(--hex-gold-dark); }
.section-desc {
    font-size: 1rem; color: var(--gray-400);
    line-height: 1.7; max-width: 520px;
}
.section-header { margin-bottom: 3rem; }
.section-header-alt{text-align:center; max-width: 560px; margin: 0 auto 3rem;}

/* ── NOUVEAUTÉ BANNER ── */
.nouveaute-banner {
    padding: 0;
    position: relative;
    overflow: hidden;
}
.nouveaute-banner-img {
    position: relative;
    /*height: 220px;*/
    overflow: hidden;
}
.nouveaute-banner-img img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
    display: block;
}

.header-information{
    background: var(--hex-gold);
    padding: 0.5rem 2rem;
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.header-information__content {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 12s linear infinite;
    will-change: transform;
}

.header-information__group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-information__group span {
    flex-shrink: 0;
}

.separator {
    padding: 0 1rem;
}

@keyframes marquee {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-33.333333%, 0, 0);
    }
}

.header-information span {
    font-family: 'Rubik', sans-serif; font-weight: 800;
    color: white; text-transform: uppercase; font-size:1.2em
}

/* ── FORMATION CARD COLORS ── */
/* ── FORMATIONS ── */
#formations { background: var(--gray-50); }
.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.formation-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid var(--gray-200);
    display: flex; flex-direction: column;
}


.formation-card-bis {
    height: fit-content;
    align-self: center;
}

.formation-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-header {
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 130px;
}
.card-header.bachelor { background: linear-gradient(135deg, #1A3566 0%, #21427C 100%); }
.card-header.ia { background: linear-gradient(135deg, #0D2E54 0%, #1B4B99 100%); }
.card-header.cyber { background: linear-gradient(135deg, #1D3461 0%, #2A4E8C 100%); }
.card-header.nocode { background: linear-gradient(135deg, #1E4D2B 0%, #2E7D45 100%); }
.card-header.archi { background: linear-gradient(135deg, #3B1F5E 0%, #5B3A8A 100%); }
.card-content {position:relative;z-index:1;padding:1.5rem 1.5rem 1.25rem;}
.card-level {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    font-size: 0.72rem; font-weight: 600;
    padding: 3px 10px; border-radius: 100px;
    margin-bottom: 0.75rem; font-family: 'Rubik', sans-serif;
    letter-spacing: 0.06em;
}
.card-title {
    font-family: 'Rubik', sans-serif; font-weight: 800;
    font-size: 1.2rem; color: var(--white);
    margin-bottom: 0.25rem;
}
.card-subtitle {
    font-size: 0.82rem; color: rgba(255,255,255,0.6);
}
.card-accent {
    position: absolute; right: -20px; top: -20px;
    width: 90px; height: 90px;
    background: rgba(249,177,27,0.12);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.card-body { padding: 1.5rem; flex: 1; }
.card-tags {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-bottom: 1.25rem;
}
.tag {
    background: var(--gray-100); color: var(--gray-700);
    font-size: 0.74rem; font-weight: 500;
    padding: 3px 10px; border-radius: 100px;
    font-family: 'Rubik', sans-serif;
}
.card-jobs {
    margin-bottom: 1.25rem;
}
.card-jobs-label {
    font-size: 0.74rem; font-weight: 700; color: var(--gray-400);
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 0.5rem; font-family: 'Rubik', sans-serif;
}
.job-pills {
    display: flex; flex-wrap: wrap; gap: 5px;
}
.job-pill {
    background: rgba(33,66,124,0.06); color: var(--hex-blue);
    font-size: 0.75rem; font-weight: 500;
    padding: 3px 10px; border-radius: 100px;
}
.card-info {
    display: flex; gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}
.card-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0.25;}
.ci-item .ci-val {
    font-family: 'Rubik', sans-serif; font-weight: 700;
    font-size: 1.1rem; color: var(--hex-blue);
}
.ci-item .ci-lbl {
    font-size: 0.72rem; color: var(--gray-400); margin-top: 2px;
}
.card-cta {
    display: block; text-align: center;
    background: var(--hex-gold);
    color: var(--hex-blue);
    font-family: 'Rubik', sans-serif; font-weight: 700;
    font-size: 0.85rem; padding: 11px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    text-decoration: none;
    transition: background 0.2s;
}
.card-cta:hover { background: var(--hex-gold-dark); }

/* ── ATOUTS / WHY ── */
.atouts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.atout-item {
    display: flex; gap: 1rem; align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: box-shadow 0.2s;
}
.atout-item:hover { box-shadow: var(--shadow-sm); }
.atout-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: rgba(33,66,124,0.07);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.atout-text h3 {
    font-family: 'Rubik', sans-serif; font-weight: 700;
    font-size: 0.95rem; color: var(--hex-blue);
    margin-bottom: 0.35rem;
}
.atout-text p {
    font-size: 0.85rem; color: var(--gray-400); line-height: 1.6;
}

/* ── ALTERNANCE SECTION ── */
.alternance-section {
    background: var(--hex-blue);
    overflow: hidden;
    position: relative;
}
.alt-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}
.alt-left{
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
}
.alt-left .section-tag { background: rgba(249,177,27,0.2); }
.alt-left .section-title { color: var(--white); }
.alt-left .section-desc { color: rgba(255,255,255,0.65); }
.alt-steps { margin-top: 2rem; }
.alt-step {
    display: flex; gap: 1rem; align-items: flex-start;
    margin-bottom: 1.25rem;
}
.step-num {
    width: 32px; height: 32px; flex-shrink: 0;
    background: var(--hex-gold);
    color: var(--hex-blue);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Rubik', sans-serif; font-weight: 800;
    font-size: 0.85rem;
}
.step-content h3 {
    font-family: 'Rubik', sans-serif; font-weight: 700;
    font-size: 0.9rem; color: var(--white); margin-bottom: 3px;
}
.step-content p { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.alt-right {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.rhythm-title {
    font-family: 'Rubik', sans-serif; font-weight: 700;
    font-size: 0.8rem; color: var(--hex-gold);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 1rem;
}
.weeks-grid, .weeks-grid-bis {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 6px; margin-bottom:0.5rem;
}
.weeks-grid-bis{grid-template-columns: repeat(3,1fr); }
.week-block {
    aspect-ratio: 1;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Rubik', sans-serif; font-weight: 700;
    font-size: 0.75rem;
}
.week-school { background: var(--hex-gold); color: var(--hex-blue); }
.week-company { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.2); }
.weeks-legend {
    display: flex; gap: 1.5rem;
    font-size: 0.75rem; color: rgba(255,255,255,0.55);
}
.legend-dot {
    width: 10px; height: 10px; border-radius: 2px;
    display: inline-block; margin-right: 5px; vertical-align: middle;
}
.alt-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem; margin-top: 1.5rem;
    position: absolute;
    bottom: -40px;
    width: 100%;
}
.alt-stat {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-align: center;
}
.alt-stat .num {
    font-family: 'Rubik', sans-serif; font-weight: 800;
    font-size: 1.8rem; color: var(--hex-gold);
    line-height: 1; display: block;
}
.alt-stat .lbl {
    font-size: 0.75rem; color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

/* ── TEMOIGNAGES ── */
#temoignages { background: var(--gray-50); }
.temoignages-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.temoignage-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: box-shadow 0.2s;
}
.temoignage-card:hover { box-shadow: var(--shadow-sm); }
.quote-mark {
    font-size: 3rem; line-height: 0.8;
    color: var(--hex-gold); font-family: 'Rubik', sans-serif;
    font-weight: 800; margin-bottom: 1rem; display: block;
}
.quote-text {
    font-size: 0.9rem; color: var(--gray-700);
    line-height: 1.7; margin-bottom: 1.25rem;
}
.quote-author {
    display: flex; align-items: center; gap: 0.75rem;
}
.author-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--hex-blue);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Rubik', sans-serif; font-weight: 700;
    font-size: 0.85rem; color: var(--hex-gold);
    flex-shrink: 0;
}
.author-name {
    font-family: 'Rubik', sans-serif; font-weight: 700;
    font-size: 0.85rem; color: var(--hex-blue);
}
.author-role {
    font-size: 0.75rem; color: var(--gray-400);
}

/* ── CLERMONT SECTION ── */
.clermont-section { background: var(--white); }
.clermont-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}
.clermont-map {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    height: 380px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--gray-200);
}
.clermont-map iframe {
    width: 100%; height: 100%; border: none;
}
.clermont-features {
    display: flex; flex-direction: column; gap: 1rem;
}
.cf-item {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--hex-gold);
}
.cf-icon { font-size: 1.2rem; flex-shrink: 0; }
.cf-text h3 {
    font-family: 'Rubik', sans-serif; font-weight: 700;
    font-size: 0.9rem; color: var(--hex-blue); margin-bottom: 3px;
}
.cf-text p { font-size: 0.82rem; color: var(--gray-400); line-height: 1.5; }

/* ── FAQ ── */
#faq { background: var(--gray-50); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.faq-q {
    padding: 1.1rem 1.5rem;
    font-family: 'Rubik', sans-serif; font-weight: 600;
    font-size: 0.92rem; color: var(--hex-blue);
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    user-select: none;
    transition: background 0.2s;
}
.faq-q:hover { background: var(--gray-50); }
.faq-q .chevron {
    width: 20px; height: 20px; flex-shrink: 0;
    border-radius: 50%; background: var(--gray-100);
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; color: var(--hex-blue);
    transition: transform 0.25s, background 0.2s;
}
.faq-item.open .faq-q .chevron {
    transform: rotate(180deg);
    background: var(--hex-gold);
}
.faq-a {
    display: none;
    padding: 0 1.5rem 1.25rem;
    font-size: 0.88rem; color: var(--gray-700); line-height: 1.7;
    border-top: 1px solid var(--gray-100);
}
.faq-item.open .faq-a { display: block; padding-top: 1rem; }

/* ── CTA FINAL ── */
.cta-section {
    background: var(--hex-blue);
    text-align: center;
    position: relative; overflow: hidden;
}
.cta-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta-section .section-tag { background: rgba(249,177,27,0.2); }
.cta-section h2 {
    font-family: 'Rubik', sans-serif; font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    color: var(--white); margin-bottom: 1rem;
}
.cta-section p {
    color: rgba(255,255,255,0.65);
    font-size: 1rem; line-height: 1.7;
    margin-bottom: 2.5rem;
}
.cta-buttons {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; flex-direction: column;align-items: center;
}
.cta-section .btn-ghost {
    border-color: rgba(255,255,255,0.3);
}

/* ── FOOTER ── */
footer {
    background: var(--gray-900);
    color: rgba(255,255,255,0.5);
    padding: 2.5rem 2rem;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1.7;
}
footer strong { color: rgba(255,255,255,0.8); font-family: 'Rubik', sans-serif; }
footer a { color: var(--hex-gold); text-decoration: none; }

.fmodal-bright-img{
    display: flex;
    justify-content: right;
    margin-top: 15px;
    gap: 15px;
}
.fmodal-bright-img img{
    width: 100px;
    object-fit: scale-down;
}
/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-form-card { max-width: 480px; }
    .atouts-grid { grid-template-columns: 1fr; }
    .alt-inner { grid-template-columns: 1fr; }
    .clermont-inner { grid-template-columns: 1fr; }
    .alt-stats{
        position: unset;
    }
}
@media (max-width: 600px) {
    nav { padding: 0 1rem; }
    section { padding: 3.5rem 1.25rem; }
    .hero-inner { padding: 3rem 1.25rem 4rem; }
    .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .temoignages-grid { grid-template-columns: 1fr; }
    .nouveaute-banner-img img{height: 140px}
    .header-information span{font-size:0.9em!important}
    .header-information__content{animation-duration: 10s!important}
    .form-row{gap:0!important;}
}

@media (max-width: 500px) {
    .header-logo{width:135px!important;}
    .header-logo-fixed{width:135px!important;}
    .cta-arrow{display:none;}
    .nav-cta,.nav-cta-outline{padding: 10px 15px;}
    .fmodal-overlay {padding:0.5rem!important;}
    .fmodal-body{padding: 1.75rem 1rem 1.5rem!important;}
    .fmodal-stat .val{
        font-size: 1.1rem!important;
    }
}

/* ── ANIMATIONS ── */
.fade-in {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* success modal */
.modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 200;
    background: rgba(33,66,124,0.6); backdrop-filter: blur(4px);
    align-items: center; justify-content: center;
}
.modal-overlay.show { display: flex; }
.modal-box {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 2.5rem; max-width: 400px; width: 90%;
    text-align: center; box-shadow: var(--shadow-lg);
}
.modal-icon { font-size: 3rem; margin-bottom: 1rem; }
.modal-box h3 {
    font-family: 'Rubik', sans-serif; font-weight: 800;
    font-size: 1.3rem; color: var(--hex-blue); margin-bottom: 0.5rem;
}
.modal-box p { font-size: 0.9rem; color: var(--gray-400); line-height: 1.6; }
.modal-close {
    margin-top: 1.5rem;
    background: var(--hex-gold); color: var(--hex-blue);
    font-family: 'Rubik', sans-serif; font-weight: 700;
    padding: 10px 24px; border-radius: var(--radius-sm);
    border: none; cursor: pointer; font-size: 0.9rem;
}

/* ── FORMATION MODALS (pop-ups) ── */
.fmodal-overlay {
    display: none; position: fixed; inset: 0; z-index: 300;
    background: rgba(15,25,50,0.72); backdrop-filter: blur(6px);
    align-items: center; justify-content: center;
    padding: 1.5rem;
    overflow-y: auto;
}
.fmodal-overlay.show { display: flex; }
.fmodal-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 680px; width: 100%;
    box-shadow: 0 32px 80px rgba(15,25,50,0.35);
    overflow: hidden;
    max-height: 92vh;
    display: flex; flex-direction: column;
    animation: fmodalIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes fmodalIn {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.fmodal-header {
    padding: 2rem 2rem 1.75rem;
    position: relative; overflow: hidden; flex-shrink: 0;
}
.fmodal-header img.fmodal-bg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.18;
}
.fmodal-header-content { position: relative; z-index: 1; }
.fmodal-level {
    display: inline-block;
    background: rgba(255,255,255,0.18); color: rgba(255,255,255,0.9);
    font-size: 0.72rem; font-weight: 600;
    padding: 3px 12px; border-radius: 100px;
    margin-bottom: 0.6rem; font-family: 'Rubik', sans-serif; letter-spacing: 0.06em;
}
.fmodal-title {
    font-family: 'Rubik', sans-serif; font-weight: 800;
    font-size: 1.6rem; color: var(--white); margin-bottom: 0.25rem;
}
.fmodal-subtitle { font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.fmodal-close-btn {
    position: absolute; top: 1rem; right: 1rem; z-index: 10;
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.18);
    border: none; border-radius: 50%; cursor: pointer;
    color: white; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.fmodal-close-btn:hover { background: rgba(255,255,255,0.35); }
.fmodal-body {
    padding: 1.75rem 2rem 1.5rem;
    overflow-y: auto; flex: 1;
}
.fmodal-section-title {
    font-family: 'Rubik', sans-serif; font-weight: 700;
    font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--gray-400); margin-bottom: 0.75rem; margin-top: 1.4rem;
}
.fmodal-section-title:first-child { margin-top: 0; }
.fmodal-desc { font-size: 0.93rem; color: var(--gray-700); line-height: 1.75; }
.fmodal-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1rem; margin: 0.25rem 0;
}
.fmodal-stat {
    background: var(--gray-50); border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm); padding: 1rem; text-align: center;
}
.fmodal-stat .val {
    font-family: 'Rubik', sans-serif; font-weight: 800;
    font-size: 1.3rem; color: var(--hex-blue); display: block;
}
.fmodal-stat .lbl {
    font-size: 0.72rem; color: var(--gray-400);
    margin-top: 3px; display: block; text-transform: uppercase; letter-spacing: 0.05em;
}
.fmodal-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fmodal-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.fmodal-module {
    font-size: 0.84rem; color: var(--gray-700);
    padding: 0.5rem 0.75rem;
    background: var(--gray-50); border-radius: var(--radius-sm);
    border-left: 3px solid var(--hex-gold);
}
.fmodal-jobs { display: flex; flex-wrap: wrap; gap: 6px; }
.fmodal-footer {
    display: flex; gap: 0.75rem;
    padding: 1.25rem 2rem 1.75rem;
    border-top: 1px solid var(--gray-100); flex-shrink: 0;
}
.fmodal-footer .btn-primary {
    flex: 1; text-align: center;
    background: var(--hex-gold); color: var(--hex-blue);
    font-family: 'Rubik', sans-serif; font-weight: 700;
    padding: 13px 20px; border-radius: var(--radius-sm);
    text-decoration: none; font-size: 0.9rem; display: block;
    transition: background 0.2s;
}
.fmodal-footer .btn-primary:hover { background: var(--hex-gold-dark); }
.fmodal-footer .btn-outline {
    flex: 1; text-align: center;
    border: 1.5px solid var(--hex-blue); color: var(--hex-blue);
    font-family: 'Rubik', sans-serif; font-weight: 600; font-size: 0.9rem;
    padding: 13px 20px; border-radius: var(--radius-sm);
    text-decoration: none; display: block; background: transparent;
    transition: background 0.2s, color 0.2s;
}
.fmodal-footer .btn-outline:hover { background: var(--hex-blue); color: var(--white); }
.header-logo{position:absolute;top:10px;width:257px;}
.header-logo-fixed{width:165px;}
.text-muted{color:#E5E2DC}
.mb-20{margin-bottom: 20px}
.separator{margin:0 10px}
.big-separator{margin: 0 100px}

.photo-strip{padding: 0; background: var(--gray-900); overflow:hidden;}
.photo-strip-content{display:grid; grid-template-columns: repeat(4,1fr); height:200px;}
.photo-strip-block{overflow:hidden; position:relative;}
.photo-strip-img{width:100%;height:100%;object-fit:cover;opacity:0.75;transition:opacity 0.3s;}
.photo-strip-legend{position:absolute;bottom:0;left:0;right:0;padding:0.75rem;background:linear-gradient(transparent,rgba(0,0,0,0.7));color:white;font-size:0.75rem;font-family:'Rubik',sans-serif;font-weight:600;}
