:root {
    --primary-violet: #7c3aed;
    --dark-violet: #4c1d95;
    --deep-indigo: #1e1b4b;
    --soft-violet: #f5f3ff;
    --accent-amber: #f59e0b;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 40px rgba(76, 29, 149, 0.06);
    --glass-bg: rgba(255, 255, 255, 0.85);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* ── NAVBAR PREMIUM ─────────────────── */

.iptge-nav {
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    background-color: var(--glass-bg);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 80px;
    display: flex;
    align-items: center;
}

/* HOME : fond navbar toujours blanc, jamais transparent */
.iptge-nav.at-top-home {
    background: #fff !important;
    background-color: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1.5px solid #ede9fe !important;
    box-shadow: 0 4px 24px rgba(76,29,149,.10) !important;
}

.iptge-nav.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-links li a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--deep-indigo) !important;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-violet);
    transition: width 0.3s;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-violet) !important;
}

.nav-cta {
    background: linear-gradient(135deg, var(--deep-indigo), var(--primary-violet)) !important;
    border-radius: 100px !important;
    padding: 10px 24px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
    color: #fff !important;
}

/* ── TITRES & SECTIONS ───────────────── */
.section-iptge {
    padding: 100px 0;
}

.section-label {
    background: var(--soft-violet);
    color: var(--primary-violet);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--deep-indigo);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.section-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 700px;
}

/* ── CARDS PREMIUM ──────────────────── */
.premium-card,
.valeur-card,
.glass-card,
.home-obj-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: var(--shadow-md);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    padding: 32px;
}

.premium-card:hover,
.valeur-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(76, 29, 149, 0.1);
    border-color: var(--primary-violet);
}

.v-icon {
    width: 64px;
    height: 64px;
    background: var(--soft-violet);
    color: var(--primary-violet);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

/* ── BOUTONS ────────────────────────── */
.btn-purple {
    background: linear-gradient(135deg, var(--dark-violet), var(--primary-violet));
    color: #fff !important;
    border-radius: 100px;
    padding: 14px 32px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

.btn-purple:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.35);
}

.arrow-circle {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.btn-purple:hover .arrow-circle {
    transform: translateX(4px);
}

/* ── SHARED COMPONENTS ───────────────── */
.stats-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    padding: 30px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-top: -55px;
    border: 1px solid rgba(226, 232, 240, 0.4);
    flex-wrap: wrap;
    gap: 24px;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 130px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-violet);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 700;
}

/* ── TEAM SYSTEM ── */
.team-item-minimal {
    text-align: center;
    margin-bottom: 35px;
}

.avatar-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--soft-violet), var(--primary-violet));
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    background: #f1f5f9;
}

.avatar-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-item-minimal:hover .avatar-wrap {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.18);
}

.team-item-minimal:hover .avatar-inner img {
    transform: scale(1.1);
}

.t-name-min {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--deep-indigo);
    display: block;
    margin-bottom: 6px;
}

.t-role-min {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-violet);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── TABS SYSTEM ── */
.premium-nav .nav-link {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.6);
    color: var(--text-muted);
    border-radius: 14px;
    padding: 14px 28px;
    font-weight: 700;
    margin: 0 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.premium-nav .nav-link.active {
    background: var(--deep-indigo);
    color: #fff;
    border-color: var(--deep-indigo);
    box-shadow: 0 10px 25px rgba(30, 27, 75, 0.2);
    transform: translateY(-3px);
}

.premium-nav .nav-link i {
    opacity: 0.7;
}

/* ── NEWS SYSTEM ── */
.news-featured {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.news-featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(76, 29, 149, 0.1);
}

.feat-img {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.feat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateX(8px);
    border-color: var(--primary-violet);
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.08);
}

.news-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--deep-indigo);
    line-height: 1.3;
    margin-bottom: 12px;
}

/* ── RESPONSIVE ─────────────────────── */
@media (max-width: 991px) {
    .iptge-nav {
        height: 70px;
    }

    .section-iptge {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.1rem;
    }
}

@media (max-width: 768px) {
    .team-item-minimal .avatar-wrap {
        width: 120px;
        height: 120px;
    }

    .news-card {
        flex-direction: column !important;
    }

    .news-card>div:first-child {
        width: 100% !important;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
        height: 200px;
    }
}

@media (max-width: 576px) {
    .section-iptge {
        padding: 45px 0;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .nav-logo img {
        height: 40px !important;
        width: 40px !important;
    }
}

/* ── ABOUT PAGE SPECIFIC RESPONSIVE ────────── */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.info-table td:first-child {
    width: 35%;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.info-table td:last-child {
    color: var(--deep-indigo);
    font-weight: 600;
}

.directeur-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: var(--soft-violet);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
    margin-bottom: 50px;
    gap: 30px;
}

.directeur-img-wrap {
    flex: 0 0 240px;
    text-align: center;
}

.directeur-img {
    width: 220px;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.directeur-content {
    flex: 1;
    min-width: 280px;
}

@media (max-width: 768px) {
    .info-table td {
        display: block;
        width: 100% !important;
        padding: 8px 15px;
        border-bottom: none;
    }

    .info-table td:first-child {
        padding-bottom: 0;
        font-size: 0.75rem;
    }

    .info-table td:last-child {
        padding-top: 4px;
        border-bottom: 1px solid rgba(226, 232, 240, 0.6);
        margin-bottom: 10px;
    }

    .directeur-section {
        padding: 30px 20px;
        gap: 20px;
        text-align: center;
    }

    .directeur-img-wrap {
        flex: 0 0 100%;
    }

    .directeur-content {
        min-width: 100%;
    }

    .cta-band {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px !important;
    }
}

/* ── GLOBAL HERO BACKGROUND ───────────────── */
.hero-about .hero-bg,
.hero-premium .hero-bg,
.prog-hero .prog-hero-bg {
    background-color: #0a041c;
    background-image: url('../img/actualite.jpg') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}