/* ==========================================
   MODERN OVERHAUL - PREMIUM REDESIGN
   Generation Row 2026
   ========================================== */

:root {
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --premium-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    --accent-glow: 0 0 20px rgba(32, 83, 150, 0.3);
}

/* --- Global Enhancements --- */
body {
    background-color: #fdfdfd;
}

section {
    position: relative;
    overflow: hidden;
}

/* --- Hero Section - Mantained Original --- */
/* Les styles d'origine sont conservés dans main.css et components.css */

/* --- Countdown Section Refont --- */
.countdown-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6rem 0 !important;
}

.countdown-item {
    background: white;
    border-radius: 1.5rem;
    width: 130px !important;
    height: 130px !important;
    box-shadow: var(--premium-shadow);
    border: 1px solid #fff;
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-10px);
}

.countdown-number {
    font-size: 3rem !important;
    font-weight: 800 !important;
    color: var(--primary-blue);
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--gray-500);
}

/* --- Stats Section --- */
.bg-primary.text-white {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%) !important;
    border-radius: 0 0 4rem 4rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem !important;
    border-radius: 1.5rem !important;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-5px);
}

.stat-number {
    background: white !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-size: 3.5rem !important;
}

/* --- News Cards Refont --- */
.news-card {
    border: none !important;
    background: white !important;
    border-radius: 2rem !important;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.news-card:hover {
    transform: translateY(-15px) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12) !important;
}

.news-image {
    height: 250px !important;
    overflow: hidden;
}

.news-image img {
    transition: transform 0.8s ease !important;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 2rem !important;
}

.news-title {
    font-size: 1.25rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
}

.news-footer {
    border: none !important;
    padding-top: 1.5rem !important;
    margin-top: 1.5rem !important;
    border-top: 1px solid #f1f5f9 !important;
}

/* --- Opportunities Section --- */
.bg-light {
    background-color: #f8fafc !important;
}

.card.rec-card {
    border: none !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

/* --- Campaign Pillars (Inspired by GRoW 26 Charter) --- */
.pillars-refont {
    background: #f8fafc !important; /* Base claire et propre */
    padding: 6rem 0 !important;
}

.pillars-refont .section-title {
    color: var(--primary-blue) !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.pillars-refont .card {
    background: white !important;
    border: none !important;
    border-radius: 2rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.pillars-refont .card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 25px 50px rgba(32, 83, 150, 0.1) !important;
}

.pillars-refont .card-header {
    height: 120px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 2rem 2rem 0 0 !important;
}

/* Specific Charter Gradients for Each Pillar */
.integrity-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%) !important;
}

.youth-header {
    background: linear-gradient(135deg, #ff9a00 0%, #ff6b6b 100%) !important;
}

.economy-header {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
}

.future-header {
    background: linear-gradient(135deg, #1d976c 0%, #93f9b9 100%) !important;
}

.pillars-refont .card-icon {
    color: white !important;
    font-size: 2.5rem !important;
    margin-bottom: 0.5rem !important;
}

.pillars-refont .card-title {
    color: white !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
}

.pillars-refont .value-tagline {
    color: var(--primary-blue) !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    margin-top: 1rem !important;
}

.pillars-refont .value-details {
    color: var(--gray-600) !important;
}

.pillars-refont .value-points {
    display: none !important;
}

/* --- Stats Section --- */
.bg-primary.text-white .stat-number,
.bg-primary.text-white .stat-label,
.bg-primary.text-white .stat-icon i {
    color: white !important;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    transition: all 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    font-family: var(--font-heading);
    margin: 1rem 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.stat-label {
    font-size: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600 !important;
    opacity: 0.9 !important;
}

.stat-icon i {
    font-size: 2.5rem !important;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* 4 columns adjustments for pillars */
.grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem !important;
}

@media (max-width: 1200px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* --- Newsletter Section Chic Refont --- */
.newsletter-refont {
    background: #f8fafc !important;
    padding: 8rem 0 !important;
}

.newsletter-card {
    background: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem;
    border-radius: 3rem;
    box-shadow: 0 40px 100px rgba(32, 83, 150, 0.08);
    text-align: center;
    border: 1px solid #f1f5f9;
}

.newsletter-title {
    font-size: 3rem !important;
    color: var(--primary-blue) !important;
    font-weight: 800 !important;
    margin-bottom: 1rem !important;
}

.newsletter-subtitle {
    font-size: 1.1rem !important;
    color: var(--gray-500) !important;
    max-width: 500px;
    margin: 0 auto 3rem !important;
}

.input-group-premium {
    display: flex;
    gap: 15px;
    background: #f1f5f9;
    padding: 10px;
    border-radius: 100px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.input-group-premium:focus-within {
    background: white;
    border-color: var(--primary-blue-light);
    box-shadow: 0 10px 30px rgba(32, 83, 150, 0.1);
}

.input-group-premium input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    color: var(--gray-900);
    outline: none !important;
}

.btn-premium-send {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0 2.5rem;
    border-radius: 100px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-premium-send:hover {
    background: var(--primary-blue-dark);
    transform: scale(1.02);
}

.newsletter-consent {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-bottom: 2rem;
}

.checkbox-premium {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
    cursor: pointer;
}

.checkbox-premium input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.newsletter-footer-text {
    font-size: 0.85rem !important;
    color: var(--gray-400) !important;
    margin-top: 1rem !important;
}

@media (max-width: 768px) {
    .newsletter-card {
        padding: 2.5rem 1.5rem;
        border-radius: 2rem;
    }

    .input-group-premium {
        flex-direction: column;
        background: transparent;
        padding: 0;
        border-radius: 0;
    }

    .input-group-premium input {
        background: #f1f5f9;
        border-radius: 100px;
        margin-bottom: 10px;
    }

    .btn-premium-send {
        width: 100%;
        justify-content: center;
        padding: 1.2rem;
    }

    .newsletter-title {
        font-size: 2.2rem !important;
    }
}

/* --- Footer Premium Refont --- */
.footer {
    background: #0f172a !important; /* Deep Slate Navy */
    color: #94a3b8 !important;
    padding: 6rem 0 2rem !important;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    background: linear-gradient(to right, #ffffff, var(--primary-blue-light)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    margin-bottom: 1.5rem !important;
}

.footer h4 {
    color: white !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem !important;
    position: relative;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-blue-light);
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 1rem;
}

.footer a {
    color: #94a3b8 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.footer a:hover {
    color: white !important;
    padding-left: 5px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-icon:hover {
    background: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(32, 83, 150, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05) !important;
    padding-top: 2rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    color: #64748b !important;
    margin: 0 !important;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    font-size: 0.85rem !important;
}

/* Partners Section Chic */
.partners-section-chic {
    background: #0f172a;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.partners-container-chic {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.partners-container-chic::before,
.partners-container-chic::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-container-chic::before {
    left: 0;
    background: linear-gradient(to right, #0f172a, transparent);
}

.partners-container-chic::after {
    right: 0;
    background: linear-gradient(to left, #0f172a, transparent);
}

.partners-track-chic {
    display: flex;
    gap: 5rem;
    width: max-content;
    animation: scroll-partners-chic 40s linear infinite;
    align-items: center;
}

@keyframes scroll-partners-chic {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-item-chic {
    filter: grayscale(1) brightness(2);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.partner-item-chic:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


/* --- Opportunities Section Premium --- */
#opportunites {
    background: #f1f5f9 !important;
    padding: 7rem 0 !important;
}

.opp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.opp-card {
    background: white !important;
    border: none !important;
    border-radius: 24px !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.opp-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(32, 83, 150, 0.15);
}

.opp-image-wrapper {
    height: 200px;
    width: 100%;
    position: relative;
    background: #e2e8f0;
}

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

.opp-card:hover .opp-image-wrapper img {
    transform: scale(1.1);
}

.opp-type-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 2;
}

.opp-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.opp-title {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 1rem !important;
    line-height: 1.4 !important;
}

.opp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: #64748b;
}

.opp-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.opp-meta i {
    color: var(--primary-blue-light);
}

.opp-desc {
    color: #475569 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 2rem !important;
    flex: 1;
}

.opp-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.btn-opp-detail {
    flex: 1;
    padding: 0.75rem 0;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    color: #1e293b !important;
    font-size: 0.85rem;
}

.btn-opp-detail:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-opp-apply {
    flex: 1.5;
    background: var(--primary-blue) !important;
    color: white !important;
    padding: 0.75rem 0;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(32, 83, 150, 0.2);
    font-size: 0.85rem;
}

.btn-opp-apply:hover {
    background: var(--primary-blue-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(32, 83, 150, 0.3);
}

/* --- Animations Restoration --- */
[class*="fade-in"], [class*="animate-up"], [class*="scale-in"] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.appear {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* Hover effects for headings */
.news-title, .card-title, .opp-title {
    background-image: linear-gradient(var(--primary-blue), var(--primary-blue));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.3s;
}

.news-card:hover .news-title, .card:hover .card-title, .opp-card:hover .opp-title {
    background-size: 100% 2px;
}

/* --- Event Detail Premium (Text below image) --- */
.evenement-detail-page {
    background: white;
}

.event-hero-banner {
    width: 100%;
    padding-top: 6rem; /* Espace pour la navbar fixe */
}

.event-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 60vh;
    min-height: 400px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.event-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroImageZoom 25s ease-in-out infinite alternate;
}

@keyframes heroImageZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.event-identity-header {
    text-align: center;
    max-width: 900px;
    margin: 4rem auto 2rem;
}

.event-meta-chic {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--primary-blue-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.9rem;
}

.event-meta-chic span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-main-title {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
    margin: 1.5rem 0 !important;
}

.event-main-subtitle {
    font-size: 1.4rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    max-width: 700px;
    margin: 0 auto !important;
}

.event-article-content {
    max-width: 800px;
    margin: 5rem auto;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
}

.event-article-content h3 {
    font-size: 2rem !important;
    color: #1e293b !important;
    margin: 4rem 0 2rem !important;
    font-weight: 700 !important;
}

.event-article-content p {
    margin-bottom: 2rem;
}

.event-article-content blockquote {
    font-size: 1.5rem;
    font-style: italic;
    border-left: 5px solid var(--primary-blue);
    padding: 1rem 0 1rem 3rem;
    margin: 4rem 0;
    color: #1e293b;
    font-weight: 500;
}

.event-media-section {
    max-width: 1200px;
    margin: 5rem auto;
}

.media-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.media-item-premium {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
}

.media-item-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-item-premium:hover img {
    transform: scale(1.05);
}

.related-section-premium {
    background: #f8fafc;
    padding: 8rem 0;
}

.related-grid-chic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-overlay {
    opacity: 1;
}

/* Animations fixes */
.event-article-content p, .event-article-content h3, .media-item-premium {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-article-content p.appear, .event-article-content h3.appear, .media-item-premium.appear {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .event-main-title {
        font-size: 2.5rem !important;
    }
    
    .event-hero {
        height: 60vh;
    }
}

/* --- Biography Page Premium --- */

/* Stats Grid Bento Style */
.stats-grid-chic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1.5rem;
}

.stat-card-premium {
    background: white;
    padding: 3rem;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid #f1f5f9;
}

.stat-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.1);
    border-color: var(--primary-blue-light);
}

.stat-card-premium i {
    font-size: 2.5rem;
    color: var(--primary-blue-light);
    margin-bottom: 2rem;
    display: block;
    opacity: 0.8;
}

.stat-val-chic {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    color: #0f172a;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
}

.stat-label-chic {
    font-size: 1rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Timeline Premium */
.timeline-chic {
    position: relative;
    max-width: 1000px;
    margin: 5rem auto;
}

.timeline-chic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #f1f5f9, var(--primary-blue-light), #f1f5f9);
    z-index: 1;
}

.timeline-item-chic {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 6rem;
    width: 100%;
}

.timeline-item-chic:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-dot-chic {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: white;
    border: 5px solid var(--primary-blue-light);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 10px rgba(2, 132, 199, 0.1);
}

.timeline-content-chic {
    width: 85%;
    padding: 2.5rem;
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    border: 1px solid #f1f5f9;
    position: relative;
    transition: all 0.4s ease;
}

.timeline-item-chic:hover .timeline-content-chic {
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
    transform: scale(1.02);
}

.timeline-item-chic .timeline-content-chic {
    margin-right: 3rem;
}

.timeline-item-chic:nth-child(even) .timeline-content-chic {
    margin-right: 0;
    margin-left: 3rem;
}

.timeline-year-chic {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #f1f1f1;
    color: var(--primary-blue);
    font-weight: 800;
    border-radius: 30px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .stats-grid-chic {
        grid-template-columns: 1fr;
    }
    
    .timeline-chic::before {
        left: 20px;
    }
    
    .timeline-item-chic {
        justify-content: flex-start;
        padding-left: 50px;
        padding-right: 0;
    }
    
    .timeline-dot-chic {
        left: 20px;
    }
    
    .timeline-content-chic {
        width: 100%;
        margin-left: 1rem !important;
    }
}

/* --- Programme Page Premium --- */

.program-hero-chic {
    padding-top: 10rem !important; /* Espace navbar */
    background: var(--primary-blue);
}

.program-container-wide {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tabs-nav-chic {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    margin-bottom: 3rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tabs-nav-chic::-webkit-scrollbar {
    display: none;
}

.tab-btn-chic {
    padding: 1rem 2rem;
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.tab-btn-chic.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.2);
}

.policy-card-chic {
    background: white;
    padding: 3.5rem;
    border-radius: 40px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.05);
}

.measures-list-chic {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.measure-item-chic {
    padding: 2.5rem;
    background: #f8fafc;
    border-radius: 30px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.measure-item-chic:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue-light);
    background: white;
}

.chart-bar-chic {
    margin-bottom: 2.5rem;
}

.chart-bar-container-chic {
    height: 12px;
    background: #f1f5f9;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.chart-bar-fill-chic {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 20px;
    width: 0;
    transition: width 2s cubic-bezier(0.19, 1, 0.22, 1);
}

/* --- Board of Directors Premium --- */

.board-president-section {
    max-width: 500px;
    margin: -100px auto 5rem;
    position: relative;
    z-index: 10;
}

.board-card-chic {
    background: white;
    border-radius: 35px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.board-card-chic:hover {
    transform: translateY(-15px);
    box-shadow: 0 50px 100px rgba(15, 23, 42, 0.12);
    border-color: var(--primary-blue-light);
}

.board-img-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #f8fafc;
}

.board-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.board-card-chic:hover .board-img-wrapper img {
    transform: scale(1.08);
}

.board-info-chic {
    padding: 2.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.board-name-chic {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.board-role-chic {
    font-size: 0.95rem;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.board-grid-chic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .board-president-section {
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .board-grid-chic {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
}

/* --- Think Tank Premium --- */

.think-tank-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 5rem 0;
}

.expert-card-chic {
    display: grid;
    grid-template-columns: 350px 1fr;
    background: white;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.04);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.expert-card-chic:hover {
    transform: scale(1.02);
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.1);
    border-color: var(--primary-blue-light);
}

.expert-img-wrapper {
    height: 100%;
    min-height: 350px;
    overflow: hidden;
}

.expert-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-info-chic {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.expert-name-chic {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.expert-role-chic {
    font-size: 0.9rem;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.expert-bio-chic {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.expert-social-chic a {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: var(--primary-blue);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.expert-social-chic a:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .expert-card-chic {
        grid-template-columns: 1fr;
    }
    
    .expert-img-wrapper {
        height: 300px;
    }
    
    .expert-info-chic {
        padding: 2.5rem;
        text-align: center;
    }
}

/* --- Mediatheque (Archives) Premium --- */

.media-grid-chic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 4rem 0;
}

.speech-card-chic {
    background: white;
    border-radius: 30px;
    padding: 2.5rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.04);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.speech-card-chic:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.1);
    border-color: var(--primary-blue-light);
}

.speech-card-chic::before {
    content: '\f15c'; /* fa-file-alt */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 8rem;
    color: #f1f5f9;
    z-index: 0;
    opacity: 0.5;
    transition: all 0.4s ease;
}

.speech-card-chic:hover::before {
    color: rgba(2, 132, 199, 0.05);
}

.speech-tag-chic {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    z-index: 1;
}

.speech-title-chic {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 1rem;
    z-index: 1;
}

.speech-meta-chic {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    z-index: 1;
}

.meta-item-chic {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #64748b;
}

.meta-item-chic i {
    color: var(--primary-blue);
    width: 16px;
}

.speech-excerpt-chic {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    z-index: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-media-chic {
    margin-top: auto;
    width: 100%;
    padding: 1rem;
    background: var(--primary-blue-dark);
    color: white;
    border-radius: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-media-chic:hover {
    background: var(--primary-blue);
    box-shadow: 0 10px 20px rgba(2, 132, 199, 0.2);
}

/* --- Mediatheque Detail Premium --- */

.media-detail-page {
    background: white;
}

.media-header-chic {
    padding: 8rem 0 4rem;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.media-content-chic {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 0;
}

.media-meta-grid-chic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2.5rem;
    background: white;
    border-radius: 30px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.media-doc-view-chic {
    background: #f1f5f9;
    border-radius: 40px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 4rem 0;
    border: 2px dashed #e2e8f0;
}

.btn-download-premium {
    padding: 1.2rem 2.5rem;
    background: var(--primary-blue);
    color: white;
    border-radius: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 20px 40px rgba(2, 132, 199, 0.2);
}

.btn-download-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(2, 132, 199, 0.3);
    background: var(--primary-blue-dark);
    color: white;
}

.media-video-wrapper-chic {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.15);
    margin: 4rem 0;
}

/* --- Opportunities (Career) Premium --- */

.opportunity-filters-chic {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.filter-btn-chic {
    padding: 0.8rem 2rem;
    background: white;
    color: #64748b;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.filter-btn-chic.active, .filter-btn-chic:hover {
    background: var(--primary-blue);
    color: white !important;
    border-color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.2);
}

.opportunity-card-chic {
    background: white;
    border-radius: 35px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.04);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.opportunity-card-chic:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.1);
    border-color: var(--primary-blue-light);
}

.opportunity-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.opportunity-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.opportunity-content-chic {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.opportunity-type-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(2, 132, 199, 0.08);
    color: var(--primary-blue);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.btn-apply-chic {
    width: 100%;
    padding: 1.2rem;
    background: #f8fafc;
    color: var(--primary-blue);
    border-radius: 18px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    margin-top: auto;
}

.opportunity-card-chic:hover .btn-apply-chic {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* --- Opportunity Detail Premium --- */

.op-detail-header {
    background: #f8fafc;
    padding: 10rem 0 6rem;
    border-bottom: 1px solid #f1f5f9;
}

.op-detail-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 0;
}

.op-meta-list {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.op-meta-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #64748b;
    font-weight: 700;
    font-size: 0.95rem;
}

.op-meta-item i {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.op-description-chic {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
}

.op-description-chic p {
    margin-bottom: 2rem;
}

.op-image-hero {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.1);
    margin: 4rem 0;
}
