/* ========================================
   iTeam University - Site Redesign
   Navy + Burgundy Theme
   ======================================== */

/* CSS Variables */
:root {
    --navy: #1B2A4A;
    --navy-dark: #111D35;
    --navy-light: #2A3F6A;
    --burgundy: #8B1A2B;
    --burgundy-light: #A01830;
    --burgundy-dark: #6B1525;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --dark-text: #1B2A4A;
    --body-text: #1B2A4A;
    --gold: #D4A830;
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
    --transition: 0.3s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100%; }
body {
    font-family: var(--font-primary);
    color: var(--dark-text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* ========================================
   TOP ACCREDITATION BAR
   ======================================== */
.top-bar {
    background: var(--navy-dark);
    color: var(--white);
    text-align: center;
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.top-bar span { color: var(--gold); }

/* ========================================
   NAVIGATION
   ======================================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100vw;
    overflow: visible;
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
    flex-wrap: nowrap;
}
.nav-logo img { height: 50px; width: auto; }
.nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-link {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--navy);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    white-space: nowrap;
}
.nav-link:hover {
    color: var(--white);
    background: var(--burgundy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139,26,43,0.35);
}
.nav-link.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--burgundy), #a8223a);
    box-shadow: 0 2px 8px rgba(139,26,43,0.3);
}
.nav-badge {
    background: var(--gold);
    color: var(--navy-dark);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.nav-badge:hover {
    opacity: 0.85;
}

/* Nav CTA Button */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: var(--burgundy);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    text-decoration: none;
    animation: pulse-cta 2s ease-in-out infinite;
    transition: background var(--transition);
    flex-shrink: 0;
}
.nav-cta-btn:hover {
    background: var(--burgundy-light);
    animation: none;
}
@keyframes pulse-cta {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139,26,43,0.6); }
    50% { box-shadow: 0 0 0 8px rgba(139,26,43,0); }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
}
.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle.active .nav-toggle-bar:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}
.nav-toggle.active .nav-toggle-bar:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}
.nav-right { display: flex; align-items: center; gap: 16px; }

/* Dropdown */
.nav-item { position: relative; }
.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    min-width: 240px;
    padding: 12px 0;
    z-index: 100;
}
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-text);
    transition: all var(--transition);
}
.nav-dropdown a:hover {
    background: var(--light-gray);
    color: var(--burgundy);
}

/* ========================================
   MEGA MENU (Desktop)
   ======================================== */
.nav-chevron {
    display: inline-block;
    margin-left: 4px;
    transition: transform 0.3s ease;
    vertical-align: middle;
}
.has-mega > .nav-link { position: relative; }
.has-mega:hover > .nav-link .nav-chevron,
.has-mega.mega-open > .nav-link .nav-chevron,
.has-mega.mega-hover > .nav-link .nav-chevron {
    transform: rotate(180deg);
}

/* Mega Menu Panel */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
    padding: 0;
    min-width: 880px;
    max-width: min(1060px, calc(100vw - 40px));
    width: max-content;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    pointer-events: none;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
}
.has-mega:hover .mega-menu,
.has-mega.mega-open .mega-menu,
.has-mega.mega-hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.mega-menu-inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 0;
}

/* Department blocks */
.mega-department {
    padding: 24px 28px 22px;
}
.mega-dept-poly {
    border-right: 1px solid #E2E8F0;
    background: linear-gradient(160deg, #f8faff 0%, #ffffff 100%);
}
.mega-dept-biz {
    background: linear-gradient(160deg, #fefbf8 0%, #ffffff 100%);
}

/* Department header with icon */
.mega-dept-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 12px;
}
.mega-dept-poly .mega-dept-header {
    border-bottom: 3px solid #1765C1;
}
.mega-dept-biz .mega-dept-header {
    border-bottom: 3px solid #B91C1C;
}
.mega-dept-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
}
.mega-dept-poly .mega-dept-icon {
    background: rgba(23, 101, 193, 0.1);
    color: #1765C1;
}
.mega-dept-biz .mega-dept-icon {
    background: rgba(185, 28, 28, 0.1);
    color: #B91C1C;
}

/* Department title */
.mega-dept-title {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
}
.mega-dept-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}
.mega-dept-poly .mega-dept-title a:hover { color: #1765C1; }
.mega-dept-biz .mega-dept-title a:hover { color: #B91C1C; }

/* Department content grids */
.mega-dept-content {
    display: grid;
    gap: 12px;
}
.mega-dept-grid-2 {
    grid-template-columns: 1fr 1fr;
}
.mega-dept-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

/* Column titles */
.mega-col-title {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748B;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #E2E8F0;
}
.mega-col-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.mega-col-title a:hover {
    color: #1765C1;
}
.mt-16 { margin-top: 16px; }

/* Links */
.mega-links {
    list-style: none;
    padding: 0;
    margin: 0 0 4px 0;
}
.mega-links li { margin-bottom: 1px; }
.mega-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #1E293B;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.4;
}
.mega-link-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.mega-dept-poly .mega-link-dot { background: #1765C1; }
.mega-dept-biz .mega-link-dot { background: #B91C1C; }

.mega-links li a:hover .mega-link-dot {
    opacity: 1;
}
.mega-links li a:hover {
    background: rgba(23, 101, 193, 0.07);
    color: #1765C1;
    padding-left: 14px;
}
.mega-dept-biz .mega-links li a:hover {
    background: rgba(185, 28, 28, 0.06);
    color: #B91C1C;
}

/* Legacy class compat */
.mega-dept-content-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

/* Mobile Formations Sub-menu — hidden on desktop */
.mobile-formations { display: none; }
.mobile-sub-icon { display: none; }

/* Keyframes */
@keyframes mobileAccordionOpen {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes mobileSubSlideDown {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   MEGA MENU — LAPTOP RESPONSIVE ADAPTION
   Covers all laptop sizes: 11" to 17"
   Windows / Mac / Any OS
   ======================================== */

/* === Prevent mega menu from overflowing viewport on ANY screen === */
.mega-menu {
    max-width: calc(100vw - 40px);
}

/* === Small laptops 11"-12" (1025px – 1152px) === */
@media (min-width: 1025px) and (max-width: 1152px) {
    .mega-menu {
        min-width: 700px;
        max-width: calc(100vw - 40px);
        border-radius: 12px;
    }
    .mega-menu-inner {
        grid-template-columns: 3fr 2fr;
    }
    .mega-department {
        padding: 16px 16px 14px;
    }
    .mega-dept-header {
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    .mega-dept-title {
        font-size: 0.72rem;
        letter-spacing: 0.8px;
    }
    .mega-dept-grid-3 {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .mega-dept-grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .mega-col-title {
        font-size: 0.6rem;
        margin-bottom: 5px;
        padding-bottom: 4px;
    }
    .mega-links li a {
        font-size: 0.7rem;
        padding: 5px 8px;
        gap: 6px;
    }
    .mt-16 { margin-top: 10px; }
}

/* === Medium-small laptops 13" (1153px – 1280px) === */
@media (min-width: 1153px) and (max-width: 1280px) {
    .mega-menu {
        min-width: 760px;
        max-width: calc(100vw - 40px);
        border-radius: 14px;
    }
    .mega-department {
        padding: 18px 20px 16px;
    }
    .mega-dept-header {
        margin-bottom: 14px;
        padding-bottom: 10px;
    }
    .mega-dept-title {
        font-size: 0.76rem;
        letter-spacing: 1px;
    }
    .mega-dept-grid-3 {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
    }
    .mega-col-title {
        font-size: 0.62rem;
        margin-bottom: 6px;
        padding-bottom: 5px;
    }
    .mega-links li a {
        font-size: 0.72rem;
        padding: 6px 8px;
        gap: 6px;
    }
    .mt-16 { margin-top: 12px; }
}

/* === Standard laptops 14" (1281px – 1440px) === */
@media (min-width: 1281px) and (max-width: 1440px) {
    .mega-menu {
        min-width: 820px;
        max-width: calc(100vw - 60px);
    }
    .mega-department {
        padding: 20px 24px 18px;
    }
    .mega-dept-title {
        font-size: 0.78rem;
    }
    .mega-col-title {
        font-size: 0.63rem;
    }
    .mega-links li a {
        font-size: 0.75rem;
        padding: 6px 9px;
    }
}

/* === Large laptops 15"-17" (1441px+) — default styles apply === */

/* === Ensure mega menu never overflows left/right on any screen === */
@media (min-width: 1025px) {
    .has-mega {
        position: static;
    }
    .mega-menu {
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        right: auto;
    }
    .has-mega:hover .mega-menu,
    .has-mega.mega-open .mega-menu,
    .has-mega.mega-hover .mega-menu {
        transform: translateX(-50%) translateY(0);
    }
    /* Safety: constrain to viewport */
    .nav {
        position: relative;
    }
}

/* ========================================
   MEGA MENU MOBILE & TABLET (<=1024px)
   ======================================== */
@media (max-width: 1024px) {
    .mega-menu { display: none !important; }

    /* Mobile formations container */
    .mobile-formations {
        display: none;
        padding: 0;
        width: 100%;
        overflow: visible;
        opacity: 1;
    }
    .has-mega.mega-open .mobile-formations {
        display: block !important;
        opacity: 1 !important;
        max-height: none !important;
        overflow: visible !important;
        animation: mobileAccordionOpen 0.35s ease forwards;
    }

    /* Mobile sub icon */
    .mobile-sub-icon {
        display: inline-block;
        flex-shrink: 0;
    }

    /* Toggle label layout */
    .mobile-sub-toggle-label {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* Department toggles */
    .mobile-sub-group {
        border-bottom: 1px solid #E8ECF0;
        width: 100%;
    }
    .mobile-sub-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 20px 14px 24px;
        font-family: inherit;
        font-size: 0.88rem;
        font-weight: 700;
        color: #1765C1;
        background: #F0F4FA;
        text-decoration: none;
        transition: background 0.2s ease, color 0.2s ease;
        letter-spacing: 0.3px;
        border: none;
        cursor: pointer;
        box-sizing: border-box;
        -webkit-tap-highlight-color: transparent;
    }
    .mobile-sub-biz .mobile-sub-toggle {
        color: #B91C1C;
        background: #FDF2F2;
    }
    .mobile-sub-toggle:hover,
    .mobile-sub-toggle:active { background: #E8EDF5; }
    .mobile-sub-biz .mobile-sub-toggle:hover,
    .mobile-sub-biz .mobile-sub-toggle:active { background: #FCEAEA; }

    /* Chevron rotation */
    .mobile-sub-toggle .nav-chevron {
        transition: transform 0.3s ease;
        flex-shrink: 0;
        margin-left: 8px;
    }
    .mobile-sub-group.sub-open > .mobile-sub-toggle .nav-chevron {
        transform: rotate(180deg);
    }

    /* Sub-links list */
    .mobile-sub-links {
        display: none;
        list-style: none;
        padding: 0;
        margin: 0;
        background: #FFFFFF;
        width: 100%;
        overflow: visible;
    }
    .mobile-sub-group.sub-open > .mobile-sub-links {
        display: block !important;
        opacity: 1;
        overflow: visible;
        animation: mobileSubSlideDown 0.3s ease forwards;
    }

    /* Category titles */
    .mobile-cat-title {
        display: block;
        padding: 12px 20px 6px 36px;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: #64748B;
        background: #FAFBFC;
        border-top: 1px solid #F1F5F9;
    }
    .mobile-cat-title a {
        color: inherit;
        text-decoration: none;
    }

    /* Specialty links */
    .mobile-sub-links li a {
        display: block;
        padding: 12px 20px 12px 40px;
        font-size: 0.88rem;
        font-weight: 500;
        color: #1E293B;
        border-bottom: 1px solid #F1F5F9;
        text-decoration: none;
        transition: all 0.2s ease;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
        width: 100%;
    }
    .mobile-sub-links li a:hover,
    .mobile-sub-links li a:active {
        background: #F1F5F9;
        color: #1765C1;
        padding-left: 44px;
    }
    .mobile-sub-biz .mobile-sub-links li a:hover,
    .mobile-sub-biz .mobile-sub-links li a:active {
        color: #B91C1C;
    }
    .mobile-sub-links li:last-child a { border-bottom: none; }

    /* ---- Category Sub-Accordion ---- */
    .mobile-cat-accordion {
        padding: 0 !important;
        list-style: none;
    }
    .mobile-cat-group {
        border-bottom: 1px solid #F1F5F9;
    }
    .mobile-cat-group:last-child {
        border-bottom: none;
    }
    .mobile-cat-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 13px 20px 13px 36px;
        font-family: inherit;
        font-size: 0.76rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #475569;
        background: #F8FAFC;
        text-decoration: none;
        transition: background 0.2s ease, color 0.2s ease;
        border: none;
        cursor: pointer;
        box-sizing: border-box;
        border-top: 1px solid #F1F5F9;
        -webkit-tap-highlight-color: transparent;
    }
    .mobile-cat-toggle:hover,
    .mobile-cat-toggle:active {
        background: #EEF2F7;
        color: #1765C1;
    }
    .mobile-sub-biz .mobile-cat-toggle:hover,
    .mobile-sub-biz .mobile-cat-toggle:active {
        color: #B91C1C;
    }
    .mobile-cat-toggle .nav-chevron {
        transition: transform 0.3s ease;
        flex-shrink: 0;
        margin-left: 8px;
    }
    .mobile-cat-group.cat-open > .mobile-cat-toggle .nav-chevron {
        transform: rotate(180deg);
    }
    .mobile-cat-group.cat-open > .mobile-cat-toggle {
        color: #1765C1;
        background: #EEF2F7;
    }
    .mobile-sub-biz .mobile-cat-group.cat-open > .mobile-cat-toggle {
        color: #B91C1C;
        background: #FDF2F2;
    }
    .mobile-cat-links {
        display: none;
        list-style: none;
        padding: 0;
        margin: 0;
        background: #FFFFFF;
    }
    .mobile-cat-group.cat-open > .mobile-cat-links {
        display: block;
        animation: mobileSubSlideDown 0.25s ease forwards;
    }
    .mobile-cat-links li a {
        display: flex;
        align-items: center;
        padding: 12px 20px 12px 48px;
        font-size: 0.86rem;
        font-weight: 500;
        color: #1E293B;
        border-bottom: 1px solid #F1F5F9;
        text-decoration: none;
        transition: all 0.2s ease;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
        width: 100%;
        position: relative;
    }
    .mobile-cat-links li a::before {
        content: '';
        display: inline-block;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #CBD5E1;
        position: absolute;
        left: 36px;
        top: 50%;
        transform: translateY(-50%);
        transition: background 0.2s ease;
    }
    .mobile-cat-links li:last-child a {
        border-bottom: none;
    }
    .mobile-cat-links li a:hover,
    .mobile-cat-links li a:active {
        background: #F1F5F9;
        color: #1765C1;
        padding-left: 52px;
    }
    .mobile-cat-links li a:hover::before,
    .mobile-cat-links li a:active::before {
        background: #1765C1;
    }
    .mobile-sub-biz .mobile-cat-links li a:hover,
    .mobile-sub-biz .mobile-cat-links li a:active {
        color: #B91C1C;
    }
    .mobile-sub-biz .mobile-cat-links li a:hover::before,
    .mobile-sub-biz .mobile-cat-links li a:active::before {
        background: #B91C1C;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    cursor: pointer;
}
.btn-primary {
    background: var(--burgundy);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--burgundy-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139,26,43,0.3);
}
.btn-outline {
    border: 2px solid var(--burgundy);
    color: var(--burgundy);
    background: transparent;
}
.btn-outline:hover {
    background: var(--burgundy);
    color: var(--white);
}
.btn-white {
    background: var(--white);
    color: var(--burgundy);
}
.btn-white:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}
.btn-burgundy {
    background: var(--burgundy);
    color: var(--white);
}
.btn-burgundy:hover {
    background: var(--burgundy-dark);
    transform: translateY(-2px);
}
.btn-sm { padding: 10px 24px; font-size: 0.75rem; }
.btn-lg { padding: 16px 40px; font-size: 0.9rem; }

/* ========================================
   HERO HOME (INDEX)
   ======================================== */
/* Hero Home - page d'accueil */
.hero.hero-home {
    text-align: center;
}
.hero.hero-home .hero-overlay {
    background: linear-gradient(135deg, rgba(27,42,74,0.9) 0%, rgba(17,29,53,0.75) 100%);
}
.hero.hero-home .hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.hero.hero-home .hero-agrement {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.12);
    display: inline-block;
    padding: 6px 20px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.hero.hero-home h1 {
    font-size: 3rem;
    letter-spacing: 3px;
}
.hero.hero-home p {
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 10px;
    margin-bottom: 30px;
}
.hero.hero-home .btn {
    font-size: 0.9rem;
    padding: 14px 36px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27,42,74,0.85) 0%, rgba(27,42,74,0.5) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 80px 0;
}
.hero-content .container { width: 100%; }
.hero-badge {
    display: inline-block;
    background: var(--burgundy);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 550px;
}
.hero .btn { margin-right: 12px; }

/* Hero for inner pages */
.hero-inner {
    min-height: 400px;
}
.hero-inner .hero-content {
    padding: 60px 0;
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section { padding: 80px 0; }
.section-gray { background: var(--light-gray); }
.section-navy { background: var(--navy); color: var(--white); }
.section-burgundy { background: var(--burgundy); color: var(--white); }

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--burgundy);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--burgundy);
    border-radius: 2px;
}
.section-title-center {
    text-align: center;
}
.section-title-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}
.section-title[style*="display:block"]::after,
.section-title[style*="display: block"]::after {
    left: 50%;
    transform: translateX(-50%);
}
.section-title-white { color: var(--white); }
.section-title-white::after { background: var(--white); }
.section-title-navy { color: var(--navy); }
.section-title-navy::after { background: var(--navy); }
.section-subtitle {
    font-size: 1rem;
    color: var(--body-text);
    max-width: 700px;
    line-height: 1.7;
    margin-top: 16px;
}

/* ========================================
   FORCES / POURQUOI CHOISIR ITEAM (Homepage)
   ======================================== */
.section-forces {
    background: var(--white);
    padding: 80px 0 70px;
}
.forces-header {
    text-align: center;
    margin-bottom: 52px;
}
.forces-main-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    text-transform: none;
}
.forces-subtitle {
    font-size: 1.05rem;
    color: var(--body-text);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}
.forces-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}
.force-card {
    background: var(--light-gray);
    border-radius: var(--radius-md);
    padding: 32px 28px 28px;
    text-align: left;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid transparent;
    position: relative;
}
.force-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(27, 42, 74, 0.08);
}
.force-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.force-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.3;
}
.force-card__desc {
    font-size: 0.88rem;
    color: var(--body-text);
    line-height: 1.6;
    margin: 0;
}
.forces-cta {
    text-align: center;
}
.btn.btn-forces-cta {
    display: inline-block;
    padding: 15px 40px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--white);
    background: var(--navy);
    border-radius: var(--radius-full);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn.btn-forces-cta:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(27, 42, 74, 0.3);
}

/* Forces responsive */
@media (max-width: 1024px) {
    .forces-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 600px) {
    .section-forces {
        padding: 50px 0 44px;
    }
    .forces-main-title {
        font-size: 1.5rem;
    }
    .forces-subtitle {
        font-size: 0.95rem;
    }
    .forces-grid-v2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .force-card {
        padding: 24px 22px 22px;
    }
    .btn.btn-forces-cta {
        padding: 14px 32px;
        font-size: 0.88rem;
        width: 100%;
        max-width: 340px;
    }
}

/* ========================================
   PROGRAM TABS (Homepage)
   ======================================== */
.program-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 40px;
}
.program-tab {
    padding: 12px 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    background: var(--light-gray);
    color: var(--dark-text);
    cursor: pointer;
    transition: all var(--transition);
}
.program-tab.active, .program-tab:hover {
    background: var(--burgundy);
    color: var(--white);
}

/* ========================================
   PROGRAM CARDS
   ======================================== */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 24px;
}
.program-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}
.program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.program-card-img {
    height: 180px;
    overflow: hidden;
}
.program-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.program-card:hover .program-card-img img {
    transform: scale(1.05);
}
.program-card-body {
    padding: 24px;
}
.program-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.program-card-text {
    font-size: 0.85rem;
    color: var(--body-text);
    line-height: 1.6;
    margin-bottom: 16px;
}
.program-card-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--burgundy);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.program-card-link:hover { gap: 10px; }
.program-card-link svg { width: 16px; height: 16px; }

/* ========================================
   FORCES / FEATURES GRID
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.feature-card {
    text-align: center;
    padding: 30px 20px;
}
.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(139,26,43,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--burgundy);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.feature-text {
    font-size: 0.85rem;
    color: var(--body-text);
    line-height: 1.6;
}

/* ========================================
   KEY FIGURES / COUNTER
   ======================================== */
.counter-section {
    background: var(--navy);
    padding: 60px 0;
}
.counter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}
.counter-item {}
.counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}
.counter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   STUDENTS STORIES
   ======================================== */
.stories-section {
    background: var(--navy);
    padding: 60px 0;
}
.stories-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}
.stories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}
.story-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    height: 250px;
    width: 220px;
    flex-shrink: 0;
}
.story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.story-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
}
.story-card-name {
    font-size: 0.85rem;
    font-weight: 700;
}
.story-card-video {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.story-card-video:hover .story-play-btn svg circle {
    fill: rgba(139,0,0,0.8);
}
.story-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    transition: transform 0.3s ease;
}
.story-card-video:hover .story-play-btn {
    transform: translate(-50%, -50%) scale(1.15);
}

/* ========================================
   ALTERNANCE BANNER (legacy – kept for other pages)
   ======================================== */
.alternance-banner {
    background: var(--burgundy-dark);
    position: relative;
    overflow: hidden;
}

/* ========================================
   BOURSE D'EXCELLENCE BANNER (legacy)
   ======================================== */
.bourse-banner {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
    position: relative;
    overflow: hidden;
}
.bourse-banner .alternance-content h3 {
    color: var(--gold);
    font-size: 1.5rem;
    letter-spacing: 2px;
}
.bourse-desc {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 550px;
}
.bourse-banner .alternance-image::before {
    background: linear-gradient(to right, var(--navy-dark) 0%, transparent 100%);
}

/* ========================================
   DUAL CTA – Alternance & Bourse (home)
   ======================================== */
.dual-cta-section {
    padding: 80px 0;
    background: var(--light-bg, #f8f9fc);
}
.dual-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.dual-cta-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform .35s ease, box-shadow .35s ease;
}
.dual-cta-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

/* Background image */
.dual-cta-card__img {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.dual-cta-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gradient overlay */
.dual-cta-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.dual-cta-card--alternance .dual-cta-card__overlay {
    background: linear-gradient(160deg, rgba(110,15,35,.92) 0%, rgba(110,15,35,.75) 50%, rgba(110,15,35,.45) 100%);
}
.dual-cta-card--bourse .dual-cta-card__overlay {
    background: linear-gradient(160deg, rgba(15,23,42,.94) 0%, rgba(15,23,42,.78) 50%, rgba(15,23,42,.5) 100%);
}

/* Content body */
.dual-cta-card__body {
    position: relative;
    z-index: 2;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Tag / label */
.dual-cta-card__tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: 5px 14px;
    border-radius: 50px;
    color: #fff;
}
.dual-cta-card--alternance .dual-cta-card__tag {
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.25);
}
.dual-cta-card--bourse .dual-cta-card__tag {
    background: rgba(212,175,55,.2);
    border: 1px solid rgba(212,175,55,.4);
    color: var(--gold);
}

/* Title */
.dual-cta-card__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.35;
    letter-spacing: .3px;
    margin: 0;
}
.dual-cta-card--bourse .dual-cta-card__title {
    color: var(--gold);
    font-size: 1.6rem;
    letter-spacing: 1.5px;
}

/* Description */
.dual-cta-card__desc {
    color: rgba(255,255,255,.88);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

/* Action buttons */
.dual-cta-card__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}

/* Responsive */
@media (max-width: 900px) {
    .dual-cta-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .dual-cta-card {
        min-height: 340px;
    }
}
@media (max-width: 480px) {
    .dual-cta-section {
        padding: 48px 0;
    }
    .dual-cta-card__body {
        padding: 28px 22px;
    }
    .dual-cta-card__title {
        font-size: 1.15rem;
    }
    .dual-cta-card--bourse .dual-cta-card__title {
        font-size: 1.3rem;
    }
}
.alternance-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 200px;
    padding: 40px 0;
}
.alternance-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}
.alternance-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
    margin-bottom: 20px;
}
.alternance-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--burgundy);
}
.alternance-img {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    z-index: 1;
}
.alternance-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.alternance-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--burgundy-dark) 0%, transparent 100%);
    z-index: 1;
}

/* ========================================
   ACTUALITES / NEWS
   ======================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 24px;
    margin-top: 30px;
}
.news-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.news-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--burgundy);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}
.news-card-body { padding: 24px; }

/* News CTA Button */
.news-cta-btn {
    display: inline-block;
    padding: 16px 48px;
    background: var(--burgundy);
    color: var(--white) !important;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(139, 26, 43, 0.3);
}
.news-cta-btn:hover {
    background: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 26, 43, 0.45);
}
.news-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.4;
}
.news-card-text {
    font-size: 0.85rem;
    color: var(--body-text);
    line-height: 1.6;
}

/* ========================================
   SCHOOL SECTIONS (Homepage)
   ======================================== */
.school-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}
.school-section.reverse { direction: rtl; }
.school-section.reverse > * { direction: ltr; }
.school-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 350px;
}
.school-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.school-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.school-content p {
    font-size: 0.95rem;
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ========================================
   PARTNERS CAROUSEL
   ======================================== */
.partners-section { padding: 60px 0; background: var(--light-gray); }
.partners-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
}
.partners-track {
    display: flex;
    gap: 40px;
    align-items: center;
    overflow: hidden;
    position: relative;
    max-width: 100%;
}
.partners-slide {
    display: flex;
    gap: 40px;
    align-items: center;
    animation: scroll-partners 30s linear infinite;
    will-change: transform;
}
.partner-logo {
    flex-shrink: 0;
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition);
}
.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}
.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
@keyframes scroll-partners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   REGISTRATION FORM
   ======================================== */
.form-container {
    background: var(--navy);
    border-radius: var(--radius-md);
    padding: 36px 30px;
}
.form-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-align: center;
}
.form-group { margin-bottom: 14px; }
.form-input {
    width: 100%;
    padding: 12px 18px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 16px; /* Prevents iOS zoom on focus */
    background: var(--white);
    color: var(--dark-text);
    outline: none;
    transition: box-shadow var(--transition);
}
.form-input:focus {
    box-shadow: 0 0 0 3px rgba(139,26,43,0.3);
}
.form-input::placeholder { color: #999; }
.form-select {
    width: 100%;
    padding: 12px 18px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 16px; /* Prevents iOS zoom on focus */
    background: var(--white);
    color: var(--dark-text);
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}
.form-btn {
    width: 100%;
    padding: 14px;
    background: var(--burgundy);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 8px;
}
.form-btn:hover {
    background: var(--burgundy-light);
    transform: translateY(-2px);
}

/* ========================================
   TWO COLUMN LAYOUT (Steps + Form)
   ======================================== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.steps-list { counter-reset: step; }
.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
}
.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(139,26,43,0.08);
    color: var(--burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
}
.step-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}
.step-content p {
    font-size: 0.85rem;
    color: var(--body-text);
    line-height: 1.6;
}

/* ========================================
   CURRICULUM ACCORDION
   ======================================== */
.curriculum-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.accordion {}
.accordion-item { margin-bottom: 8px; }
.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-align: left;
}
.accordion-header:hover { background: var(--navy-light); }
.accordion-header.active { background: var(--burgundy); border-radius: var(--radius-md) var(--radius-md) 0 0; }
.accordion-icon {
    transition: transform var(--transition);
    width: 16px;
    height: 16px;
}
.accordion-header.active .accordion-icon { transform: rotate(180deg); }
.accordion-body {
    display: none;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    font-size: 0.85rem;
    color: var(--body-text);
    line-height: 1.7;
}
.section-gray .accordion-body {
    background: var(--white);
}
.accordion-body.show { display: block; }
.accordion-body ul { padding-left: 20px; list-style: disc; }
.accordion-body li { margin-bottom: 6px; }

/* ========================================
   SEMESTER TABS & TABLE
   ======================================== */
.semester-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.semester-tab {
    padding: 10px 24px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--light-gray);
    color: var(--dark-text);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}
.semester-tab.active, .semester-tab:hover {
    background: var(--burgundy);
    color: var(--white);
}
.semester-content { display: none; }
.semester-content.active { display: block; }
.semester-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 10px;
}
.semester-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}
.semester-table thead {
    background: var(--navy);
    color: var(--white);
}
.semester-table th {
    padding: 14px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}
.semester-table td {
    padding: 12px 18px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--medium-gray);
}
.semester-table tbody tr:nth-child(even) { background: var(--light-gray); }
.semester-table tbody tr:hover { background: rgba(139,26,43,0.04); }

/* ========================================
   PROGRAM DETAIL - Alternating sections
   ======================================== */
.program-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}
.program-detail.reverse { direction: rtl; }
.program-detail.reverse > * { direction: ltr; }
.program-detail-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 300px;
}
.program-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.program-detail-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 12px;
}
.program-detail-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--burgundy);
    border-radius: 2px;
}
.program-detail-content p {
    font-size: 0.9rem;
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ========================================
   VIE UNIVERSITAIRE - Feature icons
   ======================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}
.why-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.why-icon {
    width: 50px;
    height: 50px;
    background: rgba(139,26,43,0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    margin-bottom: 16px;
}
.why-icon svg { width: 24px; height: 24px; }
.why-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.why-card p {
    font-size: 0.85rem;
    color: var(--body-text);
    line-height: 1.6;
}

/* ========================================
   ALTERNANCE BENEFITS
   ======================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.benefit-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(139,26,43,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--burgundy);
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.benefit-text {
    font-size: 0.8rem;
    color: var(--body-text);
    line-height: 1.5;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.contact-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
}
.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(139,26,43,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--body-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contact-value {
    font-size: 0.95rem;
    color: var(--navy);
    font-weight: 600;
}
.contact-value a { color: var(--burgundy); }
.contact-value a:hover { text-decoration: underline; }

/* ========================================
   BLOG / ARTICLE PAGE
   ======================================== */
.article-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--medium-gray);
}
.article-block.reverse { direction: rtl; }
.article-block.reverse > * { direction: ltr; }
.article-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 250px;
}
.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.article-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--burgundy);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.article-content p {
    font-size: 0.9rem;
    color: var(--body-text);
    line-height: 1.7;
}
.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}
.article-share span {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy);
}
.share-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.share-icon:hover { background: var(--burgundy); }
.share-icon svg { width: 16px; height: 16px; }

/* ========================================
   FOOTER
   ======================================== */
/* Footer top accent bar */
.footer-top-accent {
    height: 4px;
    background: linear-gradient(90deg, var(--burgundy) 0%, var(--gold) 50%, var(--navy) 100%);
}
.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 200px;
    height: 100%;
    background: rgba(255,255,255,0.02);
    transform: skewX(-10deg);
    pointer-events: none;
}
.footer-tagline {
    font-size: 0.95rem;
    color: #ffffff;
    margin-top: 12px;
    letter-spacing: 0.3px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}
.footer-brand img { height: 50px; margin-bottom: 16px; }
.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    max-width: 300px;
}
.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}
.footer-col li {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    margin-bottom: 10px;
    line-height: 1.5;
}
.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
    transition: all var(--transition);
    padding: 2px 0;
}
.footer-col a:hover {
    color: var(--white);
    padding-left: 4px;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.5;
}
.footer-contact-item a {
    margin-bottom: 0;
}
.footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
    position: relative;
    z-index: 2;
}
.footer-social-title {
    width: 100%;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all var(--transition);
}
.footer-social a:hover {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(139, 26, 43, 0.3);
}
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 24px;
    padding-top: 24px;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    position: relative;
    z-index: 2;
    letter-spacing: 0.3px;
}

/* ========================================
   PAGE INTRO (for inner pages)
   ======================================== */
.page-intro {
    padding: 60px 0;
    text-align: center;
}
.page-intro p {
    font-size: 1rem;
    color: var(--body-text);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   CTA BANNER (bottom of pages)
   ======================================== */
.cta-banner {
    background: var(--burgundy);
    padding: 50px 0;
    text-align: center;
}
.cta-banner h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.cta-banner p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
}

/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.8rem;
    background: var(--light-gray);
}
.breadcrumb a { color: var(--burgundy); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--body-text); margin: 0 8px; }
.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
.breadcrumb-item {
    color: var(--body-text);
    font-size: 0.8rem;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    margin: 0 8px;
    color: var(--body-text);
    opacity: 0.5;
}
.breadcrumb-item a {
    color: var(--burgundy);
    font-weight: 600;
}
.breadcrumb-item a:hover {
    text-decoration: underline;
}
.breadcrumb-item.active {
    color: var(--body-text);
    opacity: 0.7;
}

/* Screen Reader Only (Accessibility) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   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);
}

/* Fallback: si JS ne charge pas, afficher le contenu après 2s */
@keyframes fade-in-fallback {
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fade-in-fallback 0.6s ease 2s forwards;
}
.fade-in.visible {
    animation: none;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.4rem; }
    .hero.hero-home { min-height: 320px; }
    .hero.hero-home h1 { font-size: 2.2rem; }
    .hero-split { grid-template-columns: 1fr; }
    .hero-split-image { height: 300px; order: -1; }
    .hero-split-content h1 { font-size: 2.4rem; }
    .program-cards-h { grid-template-columns: 1fr; }
    .school-section, .two-col, .curriculum-section, .contact-grid, .program-detail, .article-block {
        grid-template-columns: 1fr;
    }
    .school-section.reverse, .program-detail.reverse, .article-block.reverse { direction: ltr; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .counter-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-banner-burgundy h1, .hero-banner-navy h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .section-title { font-size: 1.6rem; }
    .program-tabs { flex-wrap: wrap; }
    .school-img, .school-image { height: 280px; }
    .program-detail-img { height: 240px; }
    .article-img { height: 200px; }
    .form-container { padding: 30px 24px; }
}

/* ========================================
   MOBILE & TABLET NAVIGATION (≤1024px)
   Complete responsive mobile menu
   ======================================== */
@media (max-width: 1024px) {
    .header {
        overflow: visible;
        max-width: 100vw;
        box-sizing: border-box;
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    .nav {
        padding: 0 12px;
        overflow: visible;
        width: 100%;
        box-sizing: border-box;
        gap: 8px;
        height: 60px;
    }
    .nav-logo { flex-shrink: 1; min-width: 0; overflow: hidden; }
    .nav-logo img { height: 40px; }

    /* Hamburger button */
    .nav-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
        flex-shrink: 0;
        order: 3;
        margin-left: 8px;
        border: 2px solid var(--navy);
        border-radius: 6px;
        padding: 8px;
        min-width: 44px;
        min-height: 44px;
    }
    .nav-toggle.active {
        border-color: var(--burgundy);
    }
    .nav-toggle.active span { background: var(--burgundy); }

    /* CTA & Badge on mobile header */
    .nav-badge { display: none; }
    .nav-cta-btn {
        padding: 6px 14px;
        font-size: 0.65rem;
        flex-shrink: 0;
        margin-left: auto;
        order: 2;
    }

    /* Full-screen mobile menu overlay */
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        z-index: 999;
        padding: 80px 0 30px;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
    }
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        animation: mobileMenuFadeIn 0.3s ease;
    }
    @keyframes mobileMenuFadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Nav list vertical */
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .nav-item {
        width: 100%;
        border-bottom: 1px solid #E8ECF0;
    }
    .nav-link {
        font-size: 1rem;
        padding: 16px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        border-bottom: none;
        border-radius: 0;
    }
    .nav-link:hover, .nav-link.active {
        background: #F8FAFC;
        color: var(--burgundy);
    }

    /* Mobile CTA at bottom of menu */
    .nav-menu::after {
        content: '';
        display: block;
        flex-shrink: 0;
        height: 80px;
    }

    /* Override ALL hover dropdown on tablet/mobile (touch) */
    .nav-item:hover .dropdown-menu,
    .nav-item.dropdown:hover .dropdown-menu,
    .nav-item:hover .nav-dropdown {
        display: none;
    }
    .nav-item.dropdown .dropdown-menu.mobile-open,
    .nav-item .nav-dropdown.mobile-open {
        display: block;
    }

    /* Override hover mega menu on tablet/mobile */
    .has-mega:hover .mega-menu,
    .has-mega.mega-hover .mega-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .nav-right .nav-badge { display: none; }

    /* Mobile link hover transform reset */
    .nav-link:hover {
        transform: none;
        box-shadow: none;
    }
}

@media (max-width: 768px) {

    /* Hero */
    .hero.hero-home { min-height: auto; }
    .hero.hero-home h1 { font-size: 1.5rem; letter-spacing: 0; }
    .hero.hero-home p { font-size: 0.95rem; }
    .hero-split-subtitle { font-size: 0.75rem; margin-bottom: 12px; }
    .hero { min-height: 400px; overflow: visible; }
    .hero h1 { font-size: 1.8rem; overflow-wrap: break-word; word-wrap: break-word; }
    .hero p { font-size: 0.95rem; overflow-wrap: break-word; word-wrap: break-word; }
    .hero-inner { min-height: auto; overflow: visible; }
    .hero-content { max-width: 100%; overflow-wrap: break-word; word-wrap: break-word; }

    /* Hero Split */
    .hero-split { grid-template-columns: 1fr; min-height: auto; }
    .hero-split-text { padding: 40px 20px; text-align: center; }
    .hero-split-content { max-width: 100%; }
    .hero-split-content h1 { font-size: 2rem; letter-spacing: 1px; }
    .hero-split-content .btn { display: inline-flex; }
    .hero-split-image { height: 250px; order: -1; }

    /* Hero Banners */
    .hero-banner-burgundy, .hero-banner-navy { padding: 40px 0; }
    .hero-banner-burgundy h1, .hero-banner-navy h1 { font-size: 1.8rem; letter-spacing: 1px; }

    /* Sections */
    .section { padding: 50px 0; }
    .section-title { font-size: 1.4rem; letter-spacing: 1px; }

    /* Grids */
    .program-tabs { flex-wrap: wrap; }
    .program-grid { grid-template-columns: 1fr; }
    .program-cards-h { grid-template-columns: 1fr; }
    .program-card-h { flex-direction: row; }
    .program-card-h-img { width: 110px; min-height: 110px; }
    .program-card-h-body { padding: 14px; }
    .program-card-h-body h3 { font-size: 0.85rem; }
    .program-card-h-body p { font-size: 0.75rem; margin-bottom: 6px; }
    .news-grid { grid-template-columns: 1fr; }
    .counter-grid { grid-template-columns: 1fr; gap: 24px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .stories-grid { gap: 12px; justify-content: center; }
    .story-card { height: 200px; width: 200px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }

    /* Programme List */
    .programme-list-item { padding: 10px 14px; font-size: 0.85rem; }
    .programme-list-label { font-size: 0.8rem; margin-top: 18px; }

    /* Alternance */
    .alternance-inner { flex-direction: column; text-align: center; }
    .alternance-img, .alternance-image { display: none; }
    .alternance-content { max-width: 100%; }
    .alternance-content h3 { font-size: 1.1rem; }

    /* Semester */
    .semester-tabs { gap: 4px; }
    .semester-tab { padding: 8px 16px; font-size: 0.7rem; }

    /* Buttons */
    .btn { padding: 12px 24px; font-size: 0.8rem; }
    .btn-lg { padding: 14px 30px; }

    /* Footer */
    .footer-main { margin-bottom: 24px; padding-bottom: 20px; }
    .footer-logo-big img { height: 55px; }
    .footer { padding: 40px 0 20px; }
    .footer-col a { padding: 8px 0; margin-bottom: 2px; display: block; }
    .footer-col li { margin-bottom: 0; }

    /* Footer social - larger touch targets on mobile */
    .footer-social a {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(139, 26, 43, 0.3);
        touch-action: manipulation;
    }
    .footer-social svg {
        pointer-events: none;
    }

    /* Partners */
    .partner-logo { width: 90px; height: 45px; }
    .partners-track { gap: 20px; }
    .partners-slide { gap: 20px; }

    /* Hero padding - container already provides 20px, so zero out hero-content */
    .hero-content {
        padding-left: 0;
        padding-right: 0;
    }

    /* Accordion - reduce border-radius on mobile */
    .accordion-header {
        border-radius: var(--radius-md);
    }
    .accordion-header.active {
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }

    /* Counter number scaling */
    .counter-number { font-size: 2.4rem; }

    /* Contact grid gap reduction */
    .contact-grid { gap: 30px; }

    /* Form container padding */
    .form-container { padding: 28px 22px; }

}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.5rem; }
    .hero.hero-home h1 { font-size: 1.3rem; }
    .hero.hero-home p { font-size: 0.85rem; }
    .hero-split-content h1 { font-size: 1.6rem; }
    .hero-banner-burgundy h1, .hero-banner-navy h1 { font-size: 1.5rem; }
    .section-title { font-size: 1.1rem; letter-spacing: 0.5px; }
    .counter-number { font-size: 2.2rem; }

    /* Stack program cards vertically */
    .program-card-h { flex-direction: column; }
    .program-card-h-img { width: 100%; min-height: 140px; max-height: 180px; }

    /* Stories 1 col */
    .stories-grid { justify-content: center; }
    .story-card { height: 220px; width: 160px; }

    /* Programme list */
    .programme-list-item { padding: 10px 12px; font-size: 0.8rem; }

    /* Tab buttons smaller */
    .program-tab { padding: 10px 18px; font-size: 0.75rem; }

    /* Footer */
    .footer-logo-big img { height: 45px; }
    .footer-col h4 { font-size: 0.8rem; }
    .footer-col a { font-size: 0.8rem; }

    /* News cards */
    .news-card-image { height: 160px; }

    /* Benefits */
    .benefit-card { padding: 20px 16px; }

    /* Two-col form section */
    .form-container { padding: 24px 18px; }
    .form-title { font-size: 1rem; }

    /* Alternance banner */
    .alternance-banner { padding: 10px 0; }
    .alternance-inner { padding: 30px 0; min-height: auto; }

    /* Smaller table min-width for small phones */
    .semester-table { min-width: 400px; }

    /* Tighter container padding */
    .container, .container-wide { padding: 0 16px; }
}

/* Touch device improvements */
@media (hover: none) {
    .program-card-h:hover,
    .programme-list-item:hover,
    .program-card:hover,
    .news-card:hover,
    .why-card:hover {
        transform: none;
    }
    .programme-list-item:active {
        background: var(--burgundy);
        color: var(--white);
    }
    .programme-list-item:active .programme-list-arrow {
        color: var(--white);
    }
    .partner-logo {
        filter: grayscale(0%);
        opacity: 0.8;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .partners-slide {
        animation: none;
        will-change: auto;
    }
    .fade-in { opacity: 1 !important; transform: none !important; }
}

/* ========================================
   CLASS NAME ALIASES
   Support variant names used across pages
   ======================================== */

/* program-grid alias */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 24px;
}

/* program-card-img alias */
.program-card-image {
    height: 180px;
    overflow: hidden;
}
.program-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.program-card:hover .program-card-image img {
    transform: scale(1.05);
}

/* program-card-link alias */
.program-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--burgundy);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.program-link:hover { gap: 10px; }
.program-link svg { width: 16px; height: 16px; }

/* counter-grid alias */
.counters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

/* school-img alias */
.school-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 350px;
}
.school-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* school-content h2 (CSS originally targets h3) */
.school-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* story-card-overlay alias */
.story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
}

/* story-card-name alias */
.story-name {
    font-size: 0.85rem;
    font-weight: 700;
}

/* news-card-img alias */
.news-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* news-card-date alias (when inside news-card-body instead of image) */
.news-date {
    display: inline-block;
    background: var(--burgundy);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* alternance-img alias */
.alternance-image {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    z-index: 1;
}
.alternance-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.alternance-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--burgundy-dark) 0%, transparent 100%);
    z-index: 1;
}

/* nav-dropdown alias */
.nav-item .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    min-width: 240px;
    padding: 12px 0;
    z-index: 100;
    list-style: none;
}
.nav-item:hover .dropdown-menu,
.nav-item.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a,
.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-text);
    transition: all var(--transition);
}
.dropdown-menu li a:hover,
.dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--burgundy);
}

/* nav-toggle span (alias for nav-toggle-bar) */
.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* feature-title alias (h3 inside feature-card) */
.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* program-panel show/hide (for homepage tabs) */
.program-panel { display: none; }
.program-panel.active { display: block; }

/* hero-bg with background-image support */
.hero-bg[style*="background-image"] {
    background-size: cover;
    background-position: center;
}

/* footer-brand support for first footer-col */
.footer-grid > .footer-col:first-child img {
    height: 50px;
    margin-bottom: 16px;
}
.footer-grid > .footer-col:first-child > p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    max-width: 300px;
}

/* nav-menu-inner alias */
.nav-menu-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* ========================================
   HERO SPLIT LAYOUT (Homepage)
   ======================================== */
.hero-split {
    display: grid;
    grid-template-columns: 55% 45%;
    min-height: 480px;
    overflow: hidden;
}
.hero-split-text {
    background: var(--burgundy);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
}
.hero-split-content {
    max-width: 500px;
}
.hero-split-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.5px;
    line-height: 1.5;
    margin-bottom: 16px;
}
.hero-split-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}
.hero-split-image {
    overflow: hidden;
}
.hero-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   HORIZONTAL PROGRAM CARDS
   ======================================== */
.program-cards-h {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.program-card-h {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
}
.program-card-h:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.program-card-h-img {
    width: 140px;
    min-height: 140px;
    flex-shrink: 0;
    overflow: hidden;
}
.program-card-h-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.program-card-h-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.program-card-h-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.program-card-h-body p {
    font-size: 0.8rem;
    color: var(--body-text);
    line-height: 1.5;
    margin-bottom: 10px;
}
.program-card-h-link {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--burgundy);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   PROGRAMME LIST (Homepage)
   ======================================== */
.programme-list {
    max-width: 900px;
}
.programme-list-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 24px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--burgundy);
    display: inline-block;
}
.programme-list-label:first-child {
    margin-top: 0;
}
.programme-list-items {
    margin-bottom: 8px;
}
.programme-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-text);
    transition: all var(--transition);
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.05);
}
.programme-list-item:hover {
    background: var(--burgundy);
    color: var(--white);
    transform: translateX(4px);
}
.programme-list-item:hover .programme-list-arrow {
    color: var(--white);
}
.programme-list-arrow {
    color: var(--burgundy);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: color var(--transition);
}

/* ========================================
   HERO BANNER BURGUNDY (Inner pages)
   ======================================== */
.hero-banner-burgundy {
    background: var(--burgundy);
    background-size: cover;
    background-position: center;
    padding: 60px 0;
}
.hero-banner-burgundy h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}
.hero-banner-burgundy p {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    margin-top: 12px;
    max-width: 600px;
}

/* ========================================
   HERO BANNER NAVY (Inner pages)
   ======================================== */
.hero-banner-navy {
    background: var(--navy);
    background-size: cover;
    background-position: center;
    padding: 60px 0;
}
.hero-banner-navy h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}
.hero-banner-navy p {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    margin-top: 12px;
    max-width: 600px;
}

/* ========================================
   FOOTER LOGO BIG
   ======================================== */
.footer-main {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-logo-big img {
    height: 80px;
    width: auto;
    margin: 0 auto;
}

/* program-card-title alias (h3 inside program-card-body) */
.program-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

/* program-card-text alias (p inside program-card-body) */
.program-card-body p {
    font-size: 0.85rem;
    color: var(--body-text);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* section-header utility */
.section-header {
    margin-bottom: 30px;
}
.section-desc {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    max-width: 800px;
    margin-top: 10px;
}

/* ========================================
   RESPONSIVE ALIASES
   ======================================== */
@media (max-width: 1024px) {
    .counters-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .nav-menu-inner { flex-direction: column; align-items: stretch; }
    .nav-menu-inner .nav-badge { display: none; }

    /* Mobile/Tablet dropdown - toggle controlled by JS */
    .nav-item.dropdown .dropdown-menu,
    .nav-item .nav-dropdown {
        display: none;
        position: static;
        box-shadow: none;
        border-radius: 0;
        min-width: unset;
        padding: 0 0 0 20px;
        background: transparent;
    }
    .nav-item.dropdown .dropdown-menu.mobile-open,
    .nav-item .nav-dropdown.mobile-open {
        display: block;
    }
    .dropdown-menu li a, .dropdown-menu a,
    .nav-dropdown a {
        padding: 12px 14px;
        border-bottom: 1px solid var(--light-gray);
        font-size: 0.9rem;
    }
    /* Add dropdown arrow indicator on mobile/tablet */
    .nav-item.dropdown > .nav-link::after {
        content: ' ▾';
        font-size: 0.7rem;
    }
}
@media (max-width: 768px) {
    .programs-grid { grid-template-columns: 1fr; }
    .counters-grid { grid-template-columns: 1fr; gap: 24px; }
    .alternance-image { display: none; }
}

/* ========================================
   RESPONSIVE OVERRIDES FOR ALIAS SECTIONS
   (These must come after the alias base styles
    to properly override them on mobile)
   ======================================== */
@media (max-width: 1024px) {
    .hero-split { grid-template-columns: 1fr; }
    .hero-split-image { height: 300px; order: -1; }
    .hero-split-content h1 { font-size: 2.4rem; }
}

@media (max-width: 768px) {
    /* Hero Split */
    .hero-split { grid-template-columns: 1fr; min-height: auto; }
    .hero-split-text { padding: 40px 20px; text-align: center; }
    .hero-split-content { max-width: 100%; }
    .hero-split-content h1 { font-size: 2rem; letter-spacing: 1px; }
    .hero-split-content .btn { display: inline-flex; }
    .hero-split-image { height: 250px; order: -1; }

    /* Program Cards Horizontal */
    .program-cards-h { grid-template-columns: 1fr; }
    .program-card-h { flex-direction: row; }
    .program-card-h-img { width: 110px; min-height: 110px; }
    .program-card-h-body { padding: 14px; }
    .program-card-h-body h3 { font-size: 0.85rem; }
    .program-card-h-body p { font-size: 0.75rem; margin-bottom: 6px; }

    /* Programme List */
    .programme-list-item { padding: 10px 14px; font-size: 0.85rem; }
    .programme-list-label { font-size: 0.8rem; margin-top: 18px; }

    /* Hero Banners */
    .hero-banner-burgundy, .hero-banner-navy { padding: 40px 0; }
    .hero-banner-burgundy h1, .hero-banner-navy h1 { font-size: 1.8rem; letter-spacing: 1px; }
}

@media (max-width: 480px) {
    .hero-split-content h1 { font-size: 1.6rem; }
    .program-card-h { flex-direction: column; }
    .program-card-h-img { width: 100%; min-height: 140px; }
    .programme-list-item { padding: 10px 12px; font-size: 0.8rem; }
    .hero-banner-burgundy h1, .hero-banner-navy h1 { font-size: 1.5rem; }
}

/* ===== Semester Tables ===== */
.semester-section { margin-top: 40px; }
.semester-tabs { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 0; }
.semester-tab {
    padding: 10px 20px;
    background: var(--light-gray);
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--body-text);
    transition: var(--transition);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.semester-tab.active, .semester-tab:hover {
    background: var(--burgundy);
    color: var(--white);
}
.semester-panel { display: none; }
.semester-panel.active { display: block; }
.semester-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: var(--white);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.semester-table thead th {
    background: var(--navy);
    color: var(--white);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.semester-table tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--medium-gray);
    color: var(--dark-text);
}
.semester-table tbody tr:nth-child(even) { background: var(--light-gray); }
.semester-table tbody tr:hover { background: #e8e8e8; }

@media (max-width: 768px) {
    .semester-tab { padding: 8px 12px; font-size: 0.75rem; }
    .semester-table { font-size: 0.8rem; }
    .semester-table thead th, .semester-table tbody td { padding: 8px 10px; }
}

/* ===== Key Figures Section ===== */
.key-figures { padding: 60px 0; background: var(--navy); color: var(--white); text-align: center; }
.key-figures .section-title { color: var(--white); }
.figures-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 800px; margin: 40px auto 0; }
.figure-item .figure-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}
.figure-item .figure-label {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}
@media (max-width: 768px) {
    .figures-grid { grid-template-columns: 1fr; gap: 30px; }
    .figure-item .figure-number { font-size: 2.2rem; }
}

/* ===== CTA Section (Pre-footer) ===== */
.cta-section {
    padding: 80px 0;
    background: #f7f6f3;
    color: var(--dark-text);
    text-align: center;
    position: relative;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--burgundy);
    border-radius: 2px;
}
.cta-inner {
    max-width: 650px;
    margin: 0 auto;
}
.cta-badge {
    display: inline-block;
    background: rgba(139, 26, 43, 0.08);
    color: var(--burgundy);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    border: 1px solid rgba(139, 26, 43, 0.15);
}
.cta-section h2 {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: var(--navy);
}
.cta-subtitle {
    font-size: 1.05rem;
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 8px;
}
.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 28px;
    flex-wrap: wrap;
}
.cta-actions .btn {
    min-width: 180px;
}
@media (max-width: 480px) {
    .cta-section { padding: 60px 0; }
    .cta-section h2 { font-size: 1.3rem; letter-spacing: 1px; }
    .cta-actions { flex-direction: column; gap: 12px; }
    .cta-actions .btn { width: 100%; min-width: unset; }
}

/* ===== Mid CTA Section ===== */
.mid-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    text-align: center;
    color: #fff;
}
.mid-cta h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.mid-cta p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.btn-gold {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #d4a017, #f0c040);
    color: #1a1a2e;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.4);
}
.btn-gold:hover {
    background: linear-gradient(135deg, #e6b422, #f5d060);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.5);
}

/* ===== Schools Showcase Section ===== */
.schools-showcase {
    padding: 80px 0;
    background: linear-gradient(170deg, #f8f9fc 0%, #ffffff 100%);
}
.schools-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 10px;
}
.school-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(27, 42, 74, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(27, 42, 74, 0.06);
}
.school-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(27, 42, 74, 0.14);
}

/* Image */
a.school-card__image {
    display: block;
    text-decoration: none;
}
.school-card__image {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.school-card__label-link {
    text-decoration: none;
    color: inherit;
}
.school-card__title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}
.school-card__title a:hover {
    color: var(--burgundy);
}
.school-card--biz .school-card__title a:hover {
    color: var(--navy);
}
.school-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.school-card:hover .school-card__image img {
    transform: scale(1.05);
}
.school-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--navy);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.school-card__badge--biz {
    background: var(--burgundy);
}

/* Content */
.school-card__content {
    padding: 32px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.school-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(27, 42, 74, 0.07);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.school-card__icon--biz {
    background: rgba(139, 26, 43, 0.07);
    color: var(--burgundy);
}
.school-card__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--navy);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}
.school-card--biz .school-card__label {
    color: var(--burgundy);
}
.school-card__title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 12px;
}
.school-card__desc {
    font-size: 0.92rem;
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Domain Tags */
.school-card__domains {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}
.school-card__tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 0.2px;
}
.school-card__tag--poly {
    background: rgba(27, 42, 74, 0.06);
    color: var(--navy);
    border: 1px solid rgba(27, 42, 74, 0.12);
}
.school-card__tag--biz {
    background: rgba(139, 26, 43, 0.06);
    color: var(--burgundy);
    border: 1px solid rgba(139, 26, 43, 0.12);
}

/* Program Links */
.school-card__programs {
    margin-bottom: 24px;
    padding: 16px;
    background: var(--light-gray);
    border-radius: 12px;
    min-height: 100px;
}
.school-card__program-row {
    display: flex;
    gap: 0;
}
.school-card__program-row + .school-card__program-row {
    border-top: 1px solid rgba(0,0,0,0.06);
}
.school-card__program-row a {
    flex: 1;
    padding: 10px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    transition: all 0.2s ease;
    text-align: center;
    border-radius: 8px;
}
.school-card__program-row a:hover {
    background: var(--navy);
    color: #fff;
}
.school-card--biz .school-card__program-row a:hover {
    background: var(--burgundy);
    color: #fff;
}

/* Action Buttons */
.school-card__actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}
.school-card__actions .btn {
    flex: 1;
    text-align: center;
    padding: 13px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.btn-navy-solid {
    background: var(--navy);
    color: #fff !important;
}
.btn-navy-solid:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(27, 42, 74, 0.3);
}
.btn-outline-burgundy {
    border: 2px solid var(--burgundy);
    color: var(--burgundy) !important;
    background: transparent;
}
.btn-outline-burgundy:hover {
    background: var(--burgundy);
    color: #fff !important;
    transform: translateY(-2px);
}
.btn-outline-navy {
    border: 2px solid var(--navy);
    color: var(--navy) !important;
    background: transparent;
}
.btn-outline-navy:hover {
    background: var(--navy);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(27, 42, 74, 0.3);
}

/* Responsive */
@media (max-width: 900px) {
    .schools-duo {
        grid-template-columns: 1fr;
        gap: 28px;
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 480px) {
    .schools-showcase { padding: 50px 0; }
    .school-card__content { padding: 24px 20px 22px; }
    .school-card__title { font-size: 1.25rem; }
    .school-card__actions { flex-direction: column; gap: 10px; }
    .school-card__program-row { flex-direction: column; gap: 0; }
    .school-card__image { height: 150px; }
    .school-card__programs { min-height: auto; }
}

/* Legacy compat */
.school-desc-section { padding: 60px 0; }
.school-desc-section.alt { background: var(--light-gray); }
.school-desc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.school-desc-grid.reverse .school-desc-text { order: 2; }
.school-desc-grid.reverse .school-desc-image { order: 1; }
.school-desc-text h2 {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 16px;
}
.school-desc-text p {
    color: var(--body-text);
    line-height: 1.8;
    margin-bottom: 12px;
}
.school-desc-text .sub-programs { margin-top: 20px; }
.school-desc-text .sub-programs h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    margin-top: 14px;
}
.school-desc-text .sub-programs p {
    font-size: 0.9rem;
    margin-bottom: 0;
}
.school-desc-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
@media (max-width: 768px) {
    .school-desc-grid { grid-template-columns: 1fr; gap: 30px; }
    .school-desc-grid.reverse .school-desc-text { order: 1; }
    .school-desc-grid.reverse .school-desc-image { order: 2; }
}

/* ===== Contact Cards ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}
.contact-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--burgundy);
}
.contact-card h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 12px;
}
.contact-card ul {
    list-style: none;
    padding: 0;
}
.contact-card ul li {
    padding: 4px 0;
    color: var(--body-text);
    font-size: 0.95rem;
}
.contact-card a {
    color: var(--burgundy);
    font-weight: 600;
}
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ========================================
   PAGE INTRO V2 (Homepage redesign)
   ======================================== */
.page-intro-v2 {
    padding: 70px 0 60px;
    text-align: center;
    background: var(--white);
    position: relative;
}
.page-intro-v2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--burgundy), var(--navy));
    border-radius: 2px;
}
.intro-v2-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, #c4982a 100%);
    color: var(--navy-dark);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 22px;
    border-radius: var(--radius-full);
    margin-bottom: 22px;
}
.intro-v2-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.2;
}
.intro-v2-text {
    font-size: 1.05rem;
    color: var(--body-text);
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto 36px;
}
.intro-v2-text strong {
    color: var(--navy);
    font-weight: 700;
}
.intro-v2-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}
.intro-v2-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.intro-v2-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(139, 26, 43, 0.08);
    color: var(--burgundy);
    margin-bottom: 8px;
}
.intro-v2-stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--burgundy);
    line-height: 1.1;
}
.intro-v2-stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--body-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.intro-v2-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--medium-gray);
}
@media (max-width: 768px) {
    .page-intro-v2 { padding: 50px 0 44px; }
    .intro-v2-title { font-size: 1.6rem; }
    .intro-v2-text { font-size: 0.95rem; }
    .intro-v2-stats { gap: 20px; }
    .intro-v2-stat-number { font-size: 1.3rem; }
    .intro-v2-stat-divider { height: 30px; }
}
@media (max-width: 480px) {
    .intro-v2-title { font-size: 1.35rem; }
    .intro-v2-stats { gap: 16px; }
    .intro-v2-stat-divider { display: none; }
    .intro-v2-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* ========================================
   FORCES V3 - Modern Cards (Homepage)
   ======================================== */
.section-forces-v3 {
    background: var(--light-gray);
    padding: 80px 0 70px;
}
.forces-header-v3 {
    text-align: center;
    margin-bottom: 52px;
}
.forces-label-v3 {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--burgundy);
    margin-bottom: 12px;
}
.forces-title-v3 {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    line-height: 1.2;
}
.forces-sub-v3 {
    font-size: 1.05rem;
    color: var(--body-text);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.65;
}
.forces-grid-v3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.fcard-v3 {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px 26px 26px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}
.fcard-v3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
    transition: width var(--transition);
}
.fcard-v3--accent-blue::before { background: var(--navy); }
.fcard-v3--accent-red::before { background: var(--burgundy); }
.fcard-v3--accent-gold::before { background: var(--gold); }
.fcard-v3:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.fcard-v3:hover::before {
    width: 6px;
}
.fcard-v3__icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fcard-v3--accent-blue .fcard-v3__icon-wrap {
    background: rgba(27, 42, 74, 0.08);
    color: var(--navy);
}
.fcard-v3--accent-red .fcard-v3__icon-wrap {
    background: rgba(139, 26, 43, 0.08);
    color: var(--burgundy);
}
.fcard-v3--accent-gold .fcard-v3__icon-wrap {
    background: rgba(212, 168, 48, 0.12);
    color: #9a7b1a;
}
.fcard-v3__body {
    flex: 1;
    min-width: 0;
}
.fcard-v3__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    line-height: 1.3;
}
.fcard-v3__desc {
    font-size: 0.85rem;
    color: var(--body-text);
    line-height: 1.6;
    margin: 0;
}

/* Forces CTA V3 */
.forces-cta-v3 {
    text-align: center;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn.btn-forces-cta-v3 {
    display: inline-block;
    padding: 15px 38px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--white);
    background: var(--navy);
    border-radius: var(--radius-full);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn.btn-forces-cta-v3:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(27, 42, 74, 0.3);
}
.btn.btn-forces-cta-v3-outline {
    display: inline-block;
    padding: 14px 38px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--burgundy);
    background: transparent;
    border: 2px solid var(--burgundy);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}
.btn.btn-forces-cta-v3-outline:hover {
    background: var(--burgundy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(139, 26, 43, 0.25);
}

/* Forces V3 Responsive */
@media (max-width: 1024px) {
    .forces-grid-v3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 700px) {
    .section-forces-v3 { padding: 50px 0 44px; }
    .forces-title-v3 { font-size: 1.5rem; }
    .forces-sub-v3 { font-size: 0.95rem; }
    .forces-grid-v3 {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .fcard-v3 {
        padding: 22px 20px 20px;
        gap: 14px;
    }
    .fcard-v3__icon-wrap {
        width: 44px;
        height: 44px;
    }
    .fcard-v3__icon-wrap svg {
        width: 22px;
        height: 22px;
    }
    .btn.btn-forces-cta-v3,
    .btn.btn-forces-cta-v3-outline {
        padding: 13px 28px;
        font-size: 0.82rem;
        width: 100%;
        max-width: 320px;
    }
    .forces-cta-v3 {
        flex-direction: column;
        align-items: center;
    }
}

/* ========================================
   PARCOURS ETUDIANT / PATHWAY TIMELINE
   ======================================== */
.section-pathway {
    background: var(--white);
    padding: 80px 0 70px;
}
.pathway-header {
    text-align: center;
    margin-bottom: 52px;
}
.pathway-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--burgundy);
    margin-bottom: 12px;
}
.pathway-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    line-height: 1.2;
}
.pathway-sub {
    font-size: 1.05rem;
    color: var(--body-text);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.65;
}
.pathway-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}
.pathway-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}
.pathway-step__marker {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--light-gray);
    border: 3px solid var(--navy);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 3;
    transition: transform var(--transition), box-shadow var(--transition);
}
.pathway-step:hover .pathway-step__marker {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(27, 42, 74, 0.2);
}
.pathway-step__marker--navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.pathway-step__marker--burgundy {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}
.pathway-step__marker--gold {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}
.pathway-step__content h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
    line-height: 1.3;
}
.pathway-step__content p {
    font-size: 0.78rem;
    color: var(--body-text);
    line-height: 1.4;
    max-width: 140px;
    margin: 0 auto;
}
.pathway-connector {
    flex: 0 0 auto;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--burgundy));
    border-radius: 2px;
    position: relative;
    top: -20px;
    z-index: 1;
}
.pathway-cta {
    text-align: center;
    margin-top: 48px;
}

/* Pathway Responsive */
@media (max-width: 900px) {
    .pathway-timeline {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .pathway-step {
        flex-direction: row;
        text-align: left;
        gap: 18px;
        width: 100%;
        max-width: 380px;
    }
    .pathway-step__marker {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .pathway-step__content p {
        max-width: 100%;
        margin: 0;
    }
    .pathway-connector {
        width: 3px;
        height: 32px;
        top: 0;
        margin-left: 27px;
    }
}
@media (max-width: 600px) {
    .section-pathway { padding: 50px 0 44px; }
    .pathway-title { font-size: 1.5rem; }
    .pathway-sub { font-size: 0.95rem; }
    .pathway-step__marker {
        width: 48px;
        height: 48px;
    }
    .pathway-step__marker svg {
        width: 20px;
        height: 20px;
    }
    .pathway-connector {
        height: 24px;
        margin-left: 23px;
    }
    .pathway-step__content h4 { font-size: 0.85rem; }
    .pathway-step__content p { font-size: 0.75rem; }
    .pathway-cta { margin-top: 36px; }
}

/* ========================================
   HERO HOME ENHANCED (UX Redesign)
   ======================================== */
.hero-home-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.25);
}
.hero.hero-home h1 {
    font-size: 3.2rem;
    letter-spacing: 1px;
    text-transform: none;
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero.hero-home p {
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    margin-top: 0;
    margin-bottom: 36px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
}
.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
    transition: all var(--transition);
    cursor: pointer;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    transform: translateY(-2px);
}
.hero.hero-home {
    min-height: 560px;
}
.hero.hero-home .hero-overlay {
    background: linear-gradient(135deg, rgba(27,42,74,0.92) 0%, rgba(17,29,53,0.8) 50%, rgba(42,63,106,0.7) 100%);
}

/* ======== HERO HOME V2 — Modern gradient ======== */
.hero-home-v2 {
    min-height: 600px;
    overflow: hidden;
}
.hero-home-v2 .hero-bg,
.hero-home-v2 .hero-overlay {
    display: none;
}
.hero-bg-gradient {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #2563eb 100%);
}
.hero-bg-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(59,130,246,0.30) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(37,99,235,0.20) 0%, transparent 70%);
    z-index: 1;
}
.hero-bg-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 2;
    opacity: 0.5;
}
.hero-home-v2 .hero-content {
    z-index: 3;
}
.hero-tagline {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    letter-spacing: 0.5px;
    padding: 10px 28px;
    border-radius: var(--radius-full);
    background: rgba(37,99,235,0.3);
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 32px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* CTA override for v2 */
.hero-home-v2 .btn-primary {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}
.hero-home-v2 .btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    box-shadow: 0 6px 28px rgba(37,99,235,0.5);
    transform: translateY(-2px);
}
.hero-home-v2 .btn-hero-secondary {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}
.hero-home-v2 .btn-hero-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
}

@media (max-width: 768px) {
    .hero.hero-home h1 { font-size: 1.8rem; line-height: 1.2; }
    .hero.hero-home p { font-size: 0.95rem; margin-bottom: 16px; }
    .hero.hero-home { min-height: auto; }
    .hero-home-v2 { min-height: auto; padding: 20px 0; }
    .hero-home-badge { font-size: 0.62rem; padding: 8px 16px; letter-spacing: 1.5px; }
    .hero-tagline { font-size: 0.82rem; padding: 8px 18px; margin-bottom: 24px; }
    .hero-cta-group { flex-direction: column; gap: 12px; }
    .hero-cta-group .btn,
    .hero-cta-group .btn-hero-secondary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .hero.hero-home h1 { font-size: 1.5rem; }
    .hero.hero-home p { font-size: 0.88rem; }
    .hero-tagline { font-size: 0.76rem; padding: 7px 14px; }
}

/* ========================================
   PROGRAMS SECTION HEADER (Unified)
   ======================================== */
.programs-header {
    text-align: center;
    margin-bottom: 44px;
}
.programs-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--burgundy);
    margin-bottom: 12px;
}
.programs-main-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    line-height: 1.2;
}
.programs-sub {
    font-size: 1.05rem;
    color: var(--body-text);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}
.programs-header--light .programs-main-title {
    color: var(--white);
}
.programs-header--light .programs-label {
    color: var(--gold);
}
.programs-header--light .programs-sub {
    color: rgba(255,255,255,0.7);
}

/* Programs CTA Row */
.programs-cta-row {
    text-align: center;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Programme List CTA */
.programme-list-cta {
    text-align: center;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 36px;
}

@media (max-width: 768px) {
    .programs-main-title { font-size: 1.5rem; }
    .programs-sub { font-size: 0.95rem; }
    .programs-header { margin-bottom: 32px; }
    .programs-cta-row,
    .programme-list-cta {
        flex-direction: column;
        align-items: center;
    }
    .programs-cta-row .btn,
    .programme-list-cta .btn {
        width: 100%;
        max-width: 320px;
    }
}
@media (max-width: 480px) {
    .programs-main-title { font-size: 1.3rem; }
}

/* ========================================
   CTA SECTION ENHANCED
   ======================================== */
.cta-section--enhanced {
    background: linear-gradient(170deg, #f8f6f3 0%, #f0ece6 100%);
    padding: 90px 0;
}
.cta-section--enhanced h2 {
    font-size: 2rem;
    text-transform: none;
    letter-spacing: -0.01em;
}
.cta-section--enhanced .cta-subtitle {
    font-size: 1.1rem;
    max-width: 520px;
    margin: 0 auto;
    margin-bottom: 8px;
}
@media (max-width: 480px) {
    .cta-section--enhanced { padding: 60px 0; }
    .cta-section--enhanced h2 { font-size: 1.4rem; }
    .cta-section--enhanced .cta-subtitle { font-size: 0.95rem; }
}

/* ========================================
   SCHOOLS SHOWCASE SECTION
   ======================================== */
.schools-showcase {
    padding: 80px 0;
    background: linear-gradient(170deg, #f8f9fc 0%, #ffffff 100%);
}
.schools-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 10px;
}
.school-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(27, 42, 74, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(27, 42, 74, 0.06);
}
.school-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(27, 42, 74, 0.14);
}
a.school-card__image {
    display: block;
    text-decoration: none;
}
.school-card__image {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.school-card__label-link {
    text-decoration: none;
    color: inherit;
}
.school-card__title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}
.school-card__title a:hover {
    color: var(--burgundy);
}
.school-card--biz .school-card__title a:hover {
    color: var(--navy);
}
.school-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.school-card:hover .school-card__image img {
    transform: scale(1.05);
}
.school-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--navy);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.school-card__badge--biz {
    background: var(--burgundy);
}
.school-card__content {
    padding: 32px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.school-card__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--navy);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}
.school-card--biz .school-card__label {
    color: var(--burgundy);
}
.school-card__title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 12px;
}
.school-card__desc {
    font-size: 0.92rem;
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 20px;
}
.school-card__domains {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}
.school-card__tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 0.2px;
}
.school-card__tag--poly {
    background: rgba(27, 42, 74, 0.06);
    color: var(--navy);
    border: 1px solid rgba(27, 42, 74, 0.12);
}
.school-card__tag--biz {
    background: rgba(139, 26, 43, 0.06);
    color: var(--burgundy);
    border: 1px solid rgba(139, 26, 43, 0.12);
}
.school-card__programs {
    margin-bottom: 24px;
    padding: 16px;
    background: var(--light-gray);
    border-radius: 12px;
    min-height: 100px;
}
.school-card__program-row {
    display: flex;
    gap: 0;
}
.school-card__program-row + .school-card__program-row {
    border-top: 1px solid rgba(0,0,0,0.06);
}
.school-card__program-row a {
    flex: 1;
    padding: 10px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    transition: all 0.2s ease;
    text-align: center;
    border-radius: 8px;
}
.school-card__program-row a:hover {
    background: var(--navy);
    color: #fff;
}
.school-card--biz .school-card__program-row a:hover {
    background: var(--burgundy);
    color: #fff;
}
.school-card__actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}
.school-card__actions .btn {
    flex: 1;
    text-align: center;
    padding: 13px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.btn-navy-solid {
    background: var(--navy);
    color: #fff !important;
}
.btn-navy-solid:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(27, 42, 74, 0.3);
}
.btn-outline-burgundy {
    border: 2px solid var(--burgundy);
    color: var(--burgundy) !important;
    background: transparent;
}
.btn-outline-burgundy:hover {
    background: var(--burgundy);
    color: #fff !important;
    transform: translateY(-2px);
}
.btn-outline-navy {
    border: 2px solid var(--navy);
    color: var(--navy) !important;
    background: transparent;
}
.btn-outline-navy:hover {
    background: var(--navy);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(27, 42, 74, 0.3);
}

/* Schools Responsive */
@media (max-width: 900px) {
    .schools-duo {
        grid-template-columns: 1fr;
        gap: 28px;
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 480px) {
    .schools-showcase { padding: 50px 0; }
    .school-card__content { padding: 24px 20px 22px; }
    .school-card__title { font-size: 1.25rem; }
    .school-card__actions { flex-direction: column; gap: 10px; }
    .school-card__program-row { flex-direction: column; gap: 0; }
    .school-card__image { height: 150px; }
    .school-card__programs { min-height: auto; }
}

/* ===== Key Figures Section ===== */
.key-figures { padding: 60px 0; background: var(--navy); color: var(--white); text-align: center; }
.key-figures .section-title { color: var(--white); }
.figures-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 800px; margin: 0 auto; }
.figure-item .figure-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}
.figure-item .figure-label {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}
@media (max-width: 768px) {
    .figures-grid { grid-template-columns: 1fr; gap: 30px; }
    .figure-item .figure-number { font-size: 2.2rem; }
}

/* ===== CTA Section (Pre-footer) ===== */
.cta-section {
    padding: 80px 0;
    background: #f7f6f3;
    color: var(--dark-text);
    text-align: center;
    position: relative;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--burgundy);
    border-radius: 2px;
}
.cta-inner {
    max-width: 650px;
    margin: 0 auto;
}
.cta-badge {
    display: inline-block;
    background: rgba(139, 26, 43, 0.08);
    color: var(--burgundy);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    border: 1px solid rgba(139, 26, 43, 0.15);
}
.cta-section h2 {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: var(--navy);
}
.cta-subtitle {
    font-size: 1.05rem;
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 8px;
}
.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 28px;
    flex-wrap: wrap;
}
.cta-actions .btn {
    min-width: 180px;
}
@media (max-width: 480px) {
    .cta-section { padding: 60px 0; }
    .cta-section h2 { font-size: 1.3rem; letter-spacing: 1px; }
    .cta-actions { flex-direction: column; gap: 12px; }
    .cta-actions .btn { width: 100%; min-width: unset; }
}

/* ===== NEWS GRID FIX ===== */
.news-grid {
    margin-top: 0;
}

/* ========================================
   FOND BLEU EUR-ACE — Remplacement des zones blanches
   Bleu officiel charte : var(--navy) #1B2A4A
   ======================================== */

/* --- Body background global --- */
body {
    background: var(--navy);
}

/* --- Page Intro V2 (section accréditée EUR-ACE) --- */
.page-intro-v2 {
    background: var(--navy);
}
.page-intro-v2::after {
    background: linear-gradient(90deg, var(--gold), rgba(255,255,255,0.4));
}
.intro-v2-title {
    color: var(--white);
}
.intro-v2-text {
    color: rgba(255,255,255,0.8);
}
.intro-v2-text strong {
    color: var(--white);
}
.intro-v2-stat-icon {
    background: rgba(255,255,255,0.12);
    color: var(--gold);
}
.intro-v2-stat-number {
    color: var(--gold);
}
.intro-v2-stat-label {
    color: rgba(255,255,255,0.7);
}
.intro-v2-stat-divider {
    background: rgba(255,255,255,0.2);
}

/* --- Section Forces V3 (Pourquoi choisir iTeam) --- */
.section-forces-v3 {
    background: var(--navy-dark);
}
.forces-label-v3 {
    color: var(--gold);
}
.forces-title-v3 {
    color: var(--white);
}
.forces-sub-v3 {
    color: rgba(255,255,255,0.75);
}
/* Les cards restent blanches pour la hiérarchie visuelle */
.fcard-v3 {
    background: var(--white);
}
.btn.btn-forces-cta-v3 {
    background: var(--gold);
    color: var(--navy-dark);
}
.btn.btn-forces-cta-v3:hover {
    background: #e6b832;
    color: var(--navy-dark);
    box-shadow: 0 6px 24px rgba(212, 168, 48, 0.4);
}
.btn.btn-forces-cta-v3-outline {
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn.btn-forces-cta-v3-outline:hover {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    border-color: var(--white);
}

/* --- Section Programmes (section-gray) --- */
.section.section-gray {
    background: var(--navy);
}
/* En-têtes programmes dans section-gray */
.section.section-gray .programs-label {
    color: var(--gold);
}
.section.section-gray .programs-main-title {
    color: var(--white);
}
.section.section-gray .programs-sub {
    color: rgba(255,255,255,0.75);
}
.section.section-gray .section-title {
    color: var(--white);
}
.section.section-gray .section-title::after {
    background: var(--gold);
}
.section.section-gray .section-subtitle {
    color: rgba(255,255,255,0.7);
}

/* Programme list sur fond bleu */
.section.section-gray .programme-list-label {
    color: var(--white);
    border-bottom-color: var(--gold);
}
.section.section-gray .programme-list-item {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-color: rgba(255,255,255,0.1);
}
.section.section-gray .programme-list-item:hover {
    background: var(--burgundy);
    color: var(--white);
}
.section.section-gray .programme-list-arrow {
    color: var(--gold);
}
.section.section-gray .programme-list-item:hover .programme-list-arrow {
    color: var(--white);
}

/* Programme CTA */
.section.section-gray .programmes-cta-row .btn,
.section.section-gray .programme-list-cta .btn,
.section.section-gray .programs-cta-row .btn {
    /* Déjà stylés, on s'assure de la lisibilité */
}

/* Program tabs sur fond bleu */
.section.section-gray .program-tab {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
}
.section.section-gray .program-tab.active,
.section.section-gray .program-tab:hover {
    background: var(--burgundy);
    color: var(--white);
}

/* Program cards restent blanches */
.section.section-gray .program-card {
    background: var(--white);
}
.section.section-gray .program-card-h {
    background: var(--white);
}

/* News cards sur fond bleu */
.section.section-gray .news-card {
    background: var(--white);
}

/* Partners section sur fond blanc */
.section.section-gray .partners-title,
.partners-title {
    color: var(--navy);
}
.partners-section {
    background: var(--white);
}

/* --- Sections blanches génériques (section sans modificateur) --- */
.section {
    /* Les sections sans classe spéciale avaient un fond blanc hérité du body */
}

/* Section Pathway (parcours étudiant) */
.section-pathway {
    background: var(--navy-light);
}
.pathway-label {
    color: var(--gold);
}
.pathway-title {
    color: var(--white);
}
.pathway-sub {
    color: rgba(255,255,255,0.75);
}
.pathway-step__marker {
    background: var(--navy-dark);
    border-color: var(--gold);
    color: var(--gold);
}
.pathway-step__marker--navy {
    background: var(--navy-dark);
    color: var(--white);
    border-color: var(--white);
}
.pathway-step__marker--burgundy {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}
.pathway-step__marker--gold {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}
.pathway-step__content h4 {
    color: var(--white);
}
.pathway-step__content p {
    color: rgba(255,255,255,0.7);
}
.pathway-connector {
    background: linear-gradient(90deg, var(--gold), rgba(255,255,255,0.3));
}

/* --- Schools Showcase --- */
.schools-showcase {
    background: var(--navy) !important;
}
.schools-showcase .programs-label,
.schools-showcase .forces-label-v3 {
    color: var(--gold);
}
.schools-showcase .programs-main-title,
.schools-showcase .forces-title-v3 {
    color: var(--white);
}
.schools-showcase .programs-sub,
.schools-showcase .forces-sub-v3 {
    color: rgba(255,255,255,0.75);
}
/* School cards restent blanches */
.school-card {
    background: var(--white);
}

/* --- Section Stories (témoignages étudiants) --- */
.stories-section {
    background: var(--navy-dark);
}

/* --- CTA Section Enhanced (pré-footer) --- */
.cta-section--enhanced {
    background: var(--navy-dark) !important;
}
.cta-section--enhanced::before {
    background: var(--gold);
}
.cta-section--enhanced h2,
.cta-section h2 {
    color: var(--white);
}
.cta-section--enhanced .cta-subtitle,
.cta-section .cta-subtitle {
    color: rgba(255,255,255,0.8);
}
.cta-section--enhanced .cta-badge,
.cta-section .cta-badge {
    background: rgba(212, 168, 48, 0.15);
    color: var(--gold);
    border-color: rgba(212, 168, 48, 0.3);
}
.cta-section {
    background: var(--navy-dark);
    color: var(--white);
}
.cta-section::before {
    background: var(--gold);
}

/* CTA Buttons sur fond bleu */
.cta-section--enhanced .btn-outline,
.cta-section .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}
.cta-section--enhanced .btn-outline:hover,
.cta-section .btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--white);
    color: var(--white);
}

/* --- Sections génériques sur fond bleu (stories, vie univ) --- */
/* Section avec fond blanc implicite → texte clair */
body > main > .section:not(.section-gray):not(.section-navy):not(.section-burgundy),
body > .section:not(.section-gray):not(.section-navy):not(.section-burgundy) {
    background: var(--navy);
}

/* Headings génériques dans les sections devenues bleues */
.section:not(.section-navy):not(.section-burgundy) .section-title:not(.section-title-white):not(.section-title-navy) {
    color: var(--white);
}
.section:not(.section-navy):not(.section-burgundy) .section-title:not(.section-title-white)::after {
    background: var(--gold);
}
.section:not(.section-navy):not(.section-burgundy) .section-subtitle {
    color: rgba(255,255,255,0.7);
}
.section:not(.section-navy):not(.section-burgundy) .section-desc {
    color: rgba(255,255,255,0.75);
}

/* --- Header / Nav reste blanc pour la lisibilité --- */
.header {
    background: var(--white);
}
.nav-dropdown,
.nav-item .dropdown-menu {
    background: var(--white);
}

/* --- Accordion body dans section-gray → fond léger --- */
.section.section-gray .accordion-body {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.85);
}

/* --- Semester tables sur fond bleu --- */
.section.section-gray .semester-tab {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
}
.section.section-gray .semester-tab.active,
.section.section-gray .semester-tab:hover {
    background: var(--burgundy);
    color: var(--white);
}
.section.section-gray .semester-table {
    background: var(--white);
}

/* --- Feature / Why cards dans sections bleues --- */
.why-card {
    background: var(--white);
}
.benefit-card {
    background: var(--white);
}

/* --- Texte body global dans sections bleues --- */
.section.section-gray > .container > p,
.section.section-gray > .container > div > p {
    color: rgba(255,255,255,0.8);
}

/* Section header sur fond bleu */
.section.section-gray .section-header .section-desc,
.section.section-gray .forces-header .forces-subtitle {
    color: rgba(255,255,255,0.75);
}

/* --- Mid-CTA déjà foncé, ok --- */

/* --- Footer top accent : inchangé --- */

/* --- Sections .section sans modificateur (fond body bleu hérité) --- */
/* Programme Polytechnique, Témoignages, Actualités, etc. */
.section .programs-header .programs-label {
    color: var(--gold);
}
.section .programs-header .programs-main-title {
    color: var(--white);
}
.section .programs-header .programs-sub {
    color: rgba(255,255,255,0.75);
}

/* Programme list items dans section non-gray (Polytechnique) */
.section:not(.section-gray) .programme-list-label {
    color: var(--white);
    border-bottom-color: var(--gold);
}
.section:not(.section-gray) .programme-list-item {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-color: rgba(255,255,255,0.1);
}
.section:not(.section-gray) .programme-list-item:hover {
    background: var(--burgundy);
    color: var(--white);
}
.section:not(.section-gray) .programme-list-arrow {
    color: var(--gold);
}
.section:not(.section-gray) .programme-list-item:hover .programme-list-arrow {
    color: var(--white);
}

/* CTA buttons dans programme list Polytechnique */
.section:not(.section-gray) .btn.btn-forces-cta-v3 {
    background: var(--gold);
    color: var(--navy-dark);
}
.section:not(.section-gray) .btn.btn-forces-cta-v3:hover {
    background: #e6b832;
    color: var(--navy-dark);
}
.section:not(.section-gray) .btn.btn-forces-cta-v3-outline {
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.section:not(.section-gray) .btn.btn-forces-cta-v3-outline:hover {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    border-color: var(--white);
}

/* Stories grid sur fond bleu */
.section .stories-grid .story-card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* News cards restent blanches */
.section .news-card {
    background: var(--white);
}

/* Partners section fond blanc + texte bleu */
.section.section-partners {
    background: var(--white) !important;
}
.section.section-partners .programs-label {
    color: var(--gold) !important;
}
.section.section-partners .programs-main-title {
    color: var(--navy) !important;
}
.section.section-partners .programs-sub {
    color: var(--navy-light) !important;
}

/* Partners logos sur fond blanc */
.section.section-partners .partner-logo {
    filter: grayscale(100%) brightness(1);
    opacity: 0.7;
}
.section.section-partners .partner-logo:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* Partners logos (autres contextes) */
.partner-logo {
    filter: grayscale(100%) brightness(2);
    opacity: 0.7;
}
.partner-logo:hover {
    filter: grayscale(0%) brightness(1.1);
    opacity: 1;
}

/* CTA section enhanced - btn-outline-navy sur fond bleu foncé */
.cta-section--enhanced .btn-outline-navy,
.cta-section .btn-outline-navy {
    border-color: rgba(255,255,255,0.5);
    color: var(--white) !important;
}
.cta-section--enhanced .btn-outline-navy:hover,
.cta-section .btn-outline-navy:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    color: var(--white) !important;
}

/* Schools showcase - btn-outline-navy sur fond bleu */
.schools-showcase .school-card .btn-outline-navy {
    border-color: var(--navy);
    color: var(--navy) !important;
}

/* --- Alternance entre sections : bordures subtiles --- */
.section + .section,
.section-forces-v3 + .section,
.section + .schools-showcase,
.section + .cta-section--enhanced {
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* --- Mobile/Tablet nav menu background (consolidated above) --- */

/* --- Touch devices: partner logos lisibles sur bleu --- */
@media (hover: none) {
    .partner-logo {
        filter: grayscale(100%) brightness(1.8);
        opacity: 0.75;
    }
}

/* --- Texte blanc sur fond navy (pages internes) --- */
.page-intro p {
    color: rgba(255,255,255,0.85) !important;
}
.page-intro p strong {
    color: var(--white) !important;
}
.program-detail-content h3 {
    color: var(--white) !important;
}
.program-detail-content p {
    color: rgba(255,255,255,0.85) !important;
}
.section > .container > p[style*="color:var(--body-text)"],
.section > .container > p[style*="color: var(--body-text)"] {
    color: rgba(255,255,255,0.8) !important;
}
.section .step-content p {
    color: rgba(255,255,255,0.85) !important;
}
.section .step-content h4 {
    color: var(--white) !important;
}

/* Blog article link wrapper */
.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.news-card-link .news-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card-link .news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

/* Blog article detail page */
.blog-back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--burgundy);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}
.blog-back-link:hover {
    color: var(--navy);
}
.blog-article-header {
    text-align: center;
    margin-bottom: 40px;
}
.blog-article-header .news-date {
    display: inline-block;
    margin-bottom: 16px;
}
.blog-article-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
}
.blog-article-hero {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 40px;
    max-height: 480px;
}
.blog-article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-article-content {
    max-width: 800px;
    margin: 0 auto;
}
.blog-article-content p {
    font-size: 1rem;
    color: var(--body-text);
    line-height: 1.8;
    margin-bottom: 24px;
}
.blog-article-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: 36px;
    margin-bottom: 16px;
}
/* Blog article lists */
.blog-article-content ul.blog-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}
.blog-article-content ul.blog-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--body-text);
    line-height: 1.7;
}
.blog-article-content ul.blog-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    background: var(--burgundy);
    border-radius: 50%;
}

/* Blog photo gallery */
.blog-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0 40px;
}
.blog-gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f0f0f0;
    position: relative;
}
.blog-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-gallery-item:hover img {
    transform: scale(1.05);
}

/* Blog testimonials */
.blog-testimonials {
    margin: 24px 0 40px;
}
.blog-quote {
    background: linear-gradient(135deg, #f8f9fa, #eef1f5);
    border-left: 4px solid var(--burgundy);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 24px 28px;
    margin: 0 0 20px 0;
    position: relative;
}
.blog-quote p {
    font-size: 1.05rem !important;
    font-style: italic;
    color: var(--navy) !important;
    margin-bottom: 12px !important;
    line-height: 1.7;
}
.blog-quote cite {
    font-size: 0.9rem;
    color: var(--burgundy);
    font-weight: 600;
    font-style: normal;
}

/* Blog share section */
.blog-share {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid #eee;
    text-align: center;
}
.blog-share > p {
    margin-bottom: 16px !important;
    font-size: 1.1rem !important;
}
.blog-share-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.blog-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.blog-share-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}
.blog-share-fb {
    background: #1877F2;
}
.blog-share-li {
    background: #0A66C2;
}

@media (max-width: 768px) {
    .blog-article-header h2 {
        font-size: 1.4rem;
    }
    .blog-article-hero {
        max-height: 280px;
    }
    .blog-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
@media (max-width: 480px) {
    .blog-gallery {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   MOBILE MENU — SMALL PHONE FIXES (≤480px)
   ======================================== */
@media (max-width: 480px) {
    .nav { height: 56px; padding: 0 8px; }
    .nav-logo img { height: 36px; }
    .nav-cta-btn { padding: 5px 10px; font-size: 0.6rem; }
    .nav-toggle { min-width: 40px; min-height: 40px; padding: 7px; }
    .nav-menu { padding-top: 70px; }
    .nav-link { font-size: 0.95rem; padding: 14px 16px; }
    .mobile-sub-toggle { padding: 12px 16px 12px 24px; font-size: 0.85rem; }
    .mobile-sub-links li a { padding: 10px 16px 10px 34px; font-size: 0.83rem; }
    .mobile-cat-title { padding: 10px 16px 4px 30px; font-size: 0.65rem; }
    .mobile-cat-toggle { padding: 10px 16px 10px 30px; font-size: 0.72rem; }
    .mobile-cat-links li a { padding: 10px 16px 10px 42px; font-size: 0.83rem; }
    .mobile-cat-links li a::before { left: 30px; }
}

/* ===== Talents & Partner Section ===== */
.talents-section {
    padding: 80px 0;
    background: var(--white);
}
.talents-partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.tp-card {
    position: relative;
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    overflow: hidden;
}
.tp-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.tp-card-talents {
    background: linear-gradient(135deg, #f8f4f0 0%, #fff 100%);
    border: 1px solid rgba(139, 26, 43, 0.12);
}
.tp-card-partner {
    background: linear-gradient(135deg, #f0f3f8 0%, #fff 100%);
    border: 1px solid rgba(27, 42, 74, 0.12);
}
.tp-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 24px;
}
.tp-card-talents .tp-card-icon {
    background: rgba(139, 26, 43, 0.08);
    color: var(--burgundy);
}
.tp-card-partner .tp-card-icon {
    background: rgba(27, 42, 74, 0.08);
    color: var(--navy);
}
.tp-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.tp-card-talents .tp-card-title {
    color: var(--burgundy);
}
.tp-card-partner .tp-card-title {
    color: var(--navy);
}
.tp-card-text {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--body-text);
    margin-bottom: 32px;
    opacity: 0.85;
}
.tp-btn {
    display: inline-block;
    min-width: 200px;
}

/* Partner CTA Duo */
.tp-card-partner .tp-card-text {
    margin-bottom: 24px;
}
.partner-cta-duo {
    display: flex;
    gap: 0;
    align-items: stretch;
    background: rgba(27, 42, 74, 0.03);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(27, 42, 74, 0.08);
}
.partner-cta-block {
    flex: 1;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: background var(--transition);
}
.partner-cta-block:hover {
    background: rgba(27, 42, 74, 0.05);
}
.partner-cta-divider {
    width: 1px;
    background: rgba(27, 42, 74, 0.12);
    align-self: stretch;
}
.partner-cta-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: rgba(27, 42, 74, 0.07);
    color: var(--navy);
}
.partner-cta-block:last-child .partner-cta-icon {
    background: rgba(139, 26, 43, 0.08);
    color: var(--burgundy);
}
.partner-cta-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.partner-cta-desc {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--body-text);
    opacity: 0.75;
    margin-bottom: 18px;
    flex-grow: 1;
}
.partner-cta-btn {
    min-width: unset !important;
    width: 100%;
    font-size: 0.82rem !important;
    padding: 10px 16px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.partner-cta-btn span {
    transition: transform 0.3s ease;
}
.partner-cta-btn:hover span {
    transform: translateX(4px);
}
.btn-outline-primary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-block;
    text-align: center;
}
.btn-outline-primary:hover {
    background: var(--navy);
    color: var(--white);
}
.btn-md {
    padding: 12px 24px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .talents-partner-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .tp-card {
        padding: 36px 24px;
    }
    .tp-card-title {
        font-size: 1.25rem;
    }
    .partner-cta-duo {
        flex-direction: column;
    }
    .partner-cta-divider {
        width: 100%;
        height: 1px;
    }
    .partner-cta-block {
        padding: 24px 20px;
    }
}
