/* ========================================
   DESIGN PREMIUM - FIERS DE LOUVIERS
   ======================================== */

/* Import Google Fonts Premium */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

/* Variables CSS Premium */
:root {
    /* Typographie */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', -apple-system, sans-serif;
    /* Retour à Inter pour ne pas changer l'identité */

    /* Couleurs de la charte graphique */
    --couleur-principale: #312783;
    --couleur-secondaire: #42B9B8;
    --couleur-accent: #42B9B8;

    /* Couleurs enrichies (basées sur la charte) */
    --primary-50: #f5f3ff;
    --primary-100: #ede9fe;
    --primary-500: #312783;
    --primary-600: #271f66;
    --primary-700: #1d1749;
    --primary-900: #130f2d;

    --secondary-50: #ecfeff;
    --secondary-100: #cffafe;
    --secondary-500: #42B9B8;
    --secondary-600: #359a99;
    --secondary-700: #287b7a;

    /* Ombres premium */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 12px 40px rgba(49, 39, 131, 0.35);
    --shadow-secondary: 0 12px 40px rgba(66, 185, 184, 0.35);

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset global avec typographie premium */
* {
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

body {
    background-color: var(--bg-page);
    color: var(--color-text);
    /* Grain subtil pour la texture */
}

/* Typographie "Editorial" */
h1,
h2,
h3,
h4,
.hero-modern-title,
.section-moderne-title {
    font-family: var(--font-heading);
    color: var(--color-deep);
}

.hero-modern-title,
.section-moderne-title {
    font-weight: 400;
    /* Élégance fine */
    letter-spacing: -0.02em;
}

/* HEADER ULTRA-CLEAN */
.site-header-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(49, 39, 131, 0.08);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.site-header-modern:hover {
    box-shadow: var(--shadow-md);
}

/* SECTION ÉQUIPE - Fond Bleu Foncé (Photo 1) */
.section-equipe-moderne {
    background-color: var(--couleur-principale);
    /* #312783 */
    color: white;
    padding: 80px 20px;
    position: relative;
}

.section-equipe-moderne .section-moderne-title,
.section-equipe-moderne h2,
.section-equipe-moderne h3 {
    color: white !important;
    background: none;
    -webkit-text-fill-color: initial;
}

.section-equipe-moderne p {
    color: rgba(255, 255, 255, 0.9);
}

.equipe-home-container {
    max-width: 1200px;
    margin: 0 auto;
    /* Autres styles de grille à conserver */
}

.header-modern-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Logo */
.site-branding-modern {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--couleur-principale) 0%, var(--couleur-secondaire) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.logo-link:hover .logo-circle {
    transform: rotate(360deg) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-fiers {
    font-size: 14px;
    color: var(--couleur-secondaire);
    font-weight: 400;
}

.logo-fiers strong {
    font-weight: 800;
    color: var(--couleur-secondaire);
}

.logo-subtitle {
    font-size: 10px;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Navigation moderne */
.main-navigation-modern {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu-modern {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-menu-modern li {
    margin: 0;
}

.nav-menu-modern a {
    display: block;
    padding: 10px 20px;
    color: var(--couleur-texte);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
    border-radius: 12px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.nav-menu-modern a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(49, 39, 131, 0.1), transparent);
    transition: left 0.6s ease;
}

.nav-menu-modern a:hover::before {
    left: 100%;
}

.nav-menu-modern a:hover,
.nav-menu-modern a.current {
    color: var(--couleur-principale);
    background-color: #f1f5f9;
}

.nav-menu-modern a.current::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--couleur-principale);
    border-radius: 50%;
}

/* Bouton CTA header */
.header-cta {
    flex-shrink: 0;
}

.btn-header-cta {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--couleur-principale) 0%, var(--couleur-secondaire) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(49, 39, 131, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-header-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-header-cta:hover::before {
    left: 100%;
}

.btn-header-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(49, 39, 131, 0.5);
}

/* Menu mobile toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--couleur-principale);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover span {
    background: var(--couleur-secondaire);
}

/* Mobile responsive */
@media (max-width: 968px) {
    .main-navigation-modern {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .main-navigation-modern.active {
        display: block;
    }

    .nav-menu-modern {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

    .nav-menu-modern a {
        padding: 15px 20px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .logo-text {
        display: none;
    }
}

@media (max-width: 640px) {
    .header-modern-container {
        gap: 20px;
    }

    .logo-circle {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* HERO SECTION - Style Photo 3 */
.hero-modern {
    background-color: #ffffff;
    background-image: none;
    /* Pas de gradient bizarre */
    padding: 80px 20px;
    position: relative;
    overflow: visible;
    /* Important pour l'ombre */
}

.hero-modern::before,
.hero-modern::after {
    display: none !important;
}

.hero-modern-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* Plus d'espace pour le texte */
    gap: 60px;
    align-items: center;
    position: relative;
    /* Sécurité */
}

.hero-modern-title {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--couleur-principale);
    background: none;
    -webkit-text-fill-color: initial;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-modern-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 16px;
    letter-spacing: 0.1em;
    background: none;
    -webkit-text-fill-color: initial;
    font-style: normal;
}

.hero-modern-description {
    font-size: 20px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 32px;
    max-width: 500px;
    font-weight: 400;
}

.hero-modern-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* =========================================
   BOUTONS MODERNES (Clean & Premium)
   ========================================= */

.btn-modern,
.btn-primary-modern,
.btn-secondary-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    line-height: 1;
    border: 2px solid transparent;
}

/* Bouton Primaire (Bleu Nuit -> Turquoise hover) */
.btn-primary-modern {
    background-color: var(--couleur-principale);
    color: white !important;
    box-shadow: 0 4px 15px rgba(49, 39, 131, 0.3);
}

.btn-primary-modern:hover {
    background-color: var(--couleur-secondaire);
    border-color: var(--couleur-secondaire);
}

.btn-outline-modern:hover {
    background-color: var(--couleur-secondaire);
    color: white;
}

.btn-outline-small {
    padding: 10px 25px;
    font-size: 14px;
}

.btn-primary-large {
    padding: 18px 45px;
    font-size: 18px;
}

.btn-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn-modern:hover .btn-arrow {
    transform: translateX(5px);
}

/* Hero Image */
.hero-modern-image {
    position: relative;
}

.hero-modern-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Image arrondie comme sur la photo (pour les photos classiques) */
.hero-modern-image img:not(.logo-hero) {
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Style spécifique pour le logo Hero - CONTRAINTE STRICTE */
.logo-hero {
    display: block;
    margin: 0 auto;
    width: 100%;
    /* S'adapte au conteneur */
    max-width: 320px;
    /* LIMITE STRICTE DE LARGEUR pour éviter l'effet géant */
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    object-fit: contain;
}

.hero-badge {
    position: absolute;
    bottom: -30px;
    right: 30px;
    background: white;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    gap: 15px;
    align-items: center;
    max-width: 280px;
}

.badge-icon {
    font-size: 32px;
}

.badge-content strong {
    display: block;
    color: var(--couleur-principale);
    font-size: 14px;
    margin-bottom: 3px;
}

.badge-content p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

/* CONTENT MODERN */
.content-modern {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Moderne */
.section-moderne {
    margin-bottom: 100px;
}

.section-moderne-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-moderne-title {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--couleur-principale) 0%, var(--couleur-secondaire) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-moderne-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--couleur-principale), var(--couleur-secondaire));
    border-radius: 3px;
}

.link-voir-plus {
    color: var(--couleur-secondaire);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.link-voir-plus:hover {
    color: var(--couleur-principale);
    transform: translateX(5px);
}

/* Actualités Moderne Grid */
.actualites-moderne-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.actu-moderne-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    backdrop-filter: blur(10px);
}

.actu-moderne-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(49, 39, 131, 0.03) 0%, rgba(66, 185, 184, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.actu-moderne-card:hover::before {
    opacity: 1;
}

.actu-moderne-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--couleur-principale), var(--couleur-secondaire));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.actu-moderne-card:hover::after {
    transform: scaleX(1);
}

.actu-moderne-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 10px 20px -5px rgba(0, 0, 0, 0.05);
    /* Ombre premium très douce */
}

/* CARTE PROCURATION (Style Bleu Foncé - Photo 2) */
.actu-moderne-card.highlight-blue,
/* Fallback: si c'est la dernière carte, on suppose que c'est celle d'action spéciale */
.actualites-moderne-grid .actu-moderne-card:last-child {
    background-color: var(--couleur-principale);
    color: white;
    border: none;
    box-shadow: 0 20px 40px rgba(49, 39, 131, 0.2);
}

.actu-moderne-card.highlight-blue h3,
.actualites-moderne-grid .actu-moderne-card:last-child h3,
.actu-moderne-card.highlight-blue p,
.actualites-moderne-grid .actu-moderne-card:last-child p {
    color: white;
}

.actu-moderne-card.highlight-blue .btn-outline-modern,
.actualites-moderne-grid .actu-moderne-card:last-child .btn-outline-modern {
    background: white;
    color: var(--couleur-principale);
    border-color: white;
}

.actu-moderne-card.highlight-blue .btn-outline-modern:hover,
.actualites-moderne-grid .actu-moderne-card:last-child .btn-outline-modern:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.actu-moderne-image {
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.actu-moderne-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.actu-moderne-content {
    padding: 30px;
}

.actu-moderne-date {
    color: var(--couleur-secondaire);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.actu-moderne-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--couleur-principale);
    margin-bottom: 12px;
    line-height: 1.3;
}

.actu-moderne-content p {
    color: #64748b;
    line-height: 1.6;
    font-size: 15px;
}

/* Card CTA Spéciale (Procuration) */
.actu-card-cta {
    background: var(--couleur-principale);
    color: white;
}

.actu-cta-icon {
    text-align: center;
    font-size: 64px;
    padding: 30px 0 10px;
}

.actu-card-cta .actu-moderne-content h3 {
    color: white;
}

.actu-card-cta .actu-moderne-content p {
    color: rgba(255, 255, 255, 0.9);
}

.actu-card-cta .btn-outline-small {
    background: white;
    color: var(--couleur-principale);
    border-color: white;
    margin-top: 15px;
}

.actu-card-cta .btn-outline-small:hover {
    background: var(--couleur-secondaire);
    color: white;
    border-color: var(--couleur-secondaire);
}

/* Section Équipe Home */
.section-equipe-home {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 80px 40px;
    border-radius: 30px;
    margin-bottom: 100px;
}

.equipe-home-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.equipe-home-visual {
    position: relative;
}

.equipe-visual-placeholder {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--couleur-principale);
    font-weight: 600;
}

.quote-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--couleur-principale);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.quote-content {
    font-size: 22px;
    font-style: italic;
    color: var(--couleur-secondaire);
    line-height: 1.6;
    margin-bottom: 25px;
    padding-left: 25px;
    border-left: 4px solid var(--couleur-secondaire);
}

.equipe-description {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 30px;
}

.equipe-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 35px;
}

.stat-item {
    flex: 1;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--couleur-secondaire);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1.5px;
}

/* Section Rejoindre */
/* Section Rejoindre - Style Pro */
.section-rejoindre {
    background-color: var(--surface-off-white);
    /* Fond gris très clair au lieu du turquoise */
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Bordure subtile */
    border-radius: 12px;
    padding: 60px 40px;
    margin-bottom: 100px;
}

.rejoindre-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.rejoindre-cta {
    color: white;
}

.rejoindre-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.rejoindre-cta h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--couleur-principale);
    /* Texte Bleu sur fond clair */
    margin-bottom: 15px;
    text-transform: uppercase;
}

.rejoindre-cta p {
    font-size: 18px;
    line-height: 1.7;
    color: #475569;
    /* Texte gris sur fond clair */
}

.rejoindre-actions {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.action-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.action-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--couleur-secondaire);
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.action-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--couleur-principale);
    margin-bottom: 8px;
}

.action-card p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 15px;
}

.btn-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--couleur-secondaire);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    transform: scale(1.1);
    background: var(--couleur-principale);
}

/* Actualités Blog Grid */
.actualites-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-card-content {
    padding: 25px;
}

.blog-card-date {
    font-size: 13px;
    color: var(--couleur-secondaire);
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-card-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-card-content h3 a {
    color: var(--couleur-principale);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-content h3 a:hover {
    color: var(--couleur-secondaire);
}

.blog-card-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
}

.link-lire-plus {
    color: var(--couleur-secondaire);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.link-lire-plus:hover {
    color: var(--couleur-principale);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .hero-modern-container {
        gap: 50px;
    }

    .hero-modern-title {
        font-size: 48px;
    }

    .actualites-moderne-grid,
    .actualites-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .equipe-home-container,
    .rejoindre-container {
        gap: 50px;
    }
}

@media (max-width: 968px) {
    .hero-modern-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-modern-title {
        font-size: 40px;
    }

    .hero-badge {
        position: static;
        margin-top: 20px;
    }

    .actualites-moderne-grid,
    .actualites-blog-grid,
    .equipe-home-container,
    .rejoindre-container {
        grid-template-columns: 1fr;
    }

    .hero-modern-actions {
        flex-direction: column;
    }

    .hero-modern-actions .btn-modern {
        width: 100%;
        justify-content: center;
    }

    .section-moderne-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .section-rejoindre {
        padding: 40px 30px;
    }

    .rejoindre-cta h2 {
        font-size: 32px;
    }

    .equipe-stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .hero-modern-title {
        font-size: 32px;
    }

    .hero-modern-description {
        font-size: 16px;
    }

    .section-moderne-title {
        font-size: 28px;
    }

    .quote-title {
        font-size: 24px;
    }

    .quote-content {
        font-size: 18px;
    }
}

/* ========================================
   LOGO HEADER
   ======================================== */
.site-logo {
    height: 65px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.site-logo:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* =========================================
   10. FOOTER PREMIUM (ULTRA-LUXE - CLEAN)
   ========================================= */

.site-footer-modern {
    background-color: #0f1020;
    /* Bleu Nuit Profond */
    color: #f8fafc;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
}

.site-footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(66, 185, 184, 0.3), transparent);
}

.footer-modern-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

/* Marque */
.footer-title-brand {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, white 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    margin-top: 0;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Colonnes */
.footer-section h3 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #475569;
    margin-bottom: 25px;
    margin-top: 5px;
    /* Alignement optique avec le titre brand */
}

/* Listes */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-list a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-list a:hover {
    color: var(--couleur-secondaire);
    padding-left: 5px;
}

/* Icônes */
.footer-icon {
    display: inline-block;
    min-width: 20px;
    margin-right: 12px;
    text-align: center;
    font-size: 16px;
    line-height: 1;
    transform: translateY(2px);
    /* Centrage optique fin */
}

/* Bottom */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 12px;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-separator {
    color: #1e293b;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 576px) {
    .site-footer-modern {
        padding: 50px 0 30px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-list li {
        justify-content: center;
    }

    .footer-list a:hover {
        padding-left: 0;
    }
}

/* ========================================
   ANIMATIONS PREMIUM & MICRO-INTERACTIONS
   ======================================== */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Animation d'apparition progressive */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation de pulsation subtile */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Effet de brillance */
@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Appliquer les animations aux sections */
.section-moderne {
    animation: fadeIn 0.8s ease-out;
}

.actu-moderne-card:nth-child(1) {
    animation: scaleIn 0.6s ease-out 0.1s backwards;
}

.actu-moderne-card:nth-child(2) {
    animation: scaleIn 0.6s ease-out 0.2s backwards;
}

.actu-moderne-card:nth-child(3) {
    animation: scaleIn 0.6s ease-out 0.3s backwards;
}

/* Effet de brillance sur les boutons */
.btn-primary-modern,
.btn-header-cta {
    position: relative;
    overflow: hidden;
}

.btn-primary-modern::after,
.btn-header-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
    pointer-events: none;
}

/* Effet de profondeur sur les images */
.hero-modern-image img,
.actu-moderne-image img,
.blog-card-image img {
    transition: var(--transition-smooth);
}

.hero-modern-image:hover img {
    transform: scale(1.03) translateZ(0);
}

/* Badge flottant avec animation */
.hero-badge {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Effet de survol sur les stats */
.stat-item {
    transition: var(--transition-smooth);
    cursor: default;
}

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

.stat-item:hover .stat-number {
    animation: pulse 0.6s ease-in-out;
}

/* Amélioration des ombres au survol */
.blog-card:hover,
.programme-preview-card:hover {
    box-shadow: var(--shadow-xl);
}

/* Effet de gradient animé sur les titres */
.section-moderne-title {
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

/* Effet de focus amélioré pour l'accessibilité */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--primary-500);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Curseur personnalisé sur les éléments interactifs */
.btn-modern,
.nav-menu-modern a,
.actu-moderne-card,
.blog-card {
    cursor: pointer;
}

/* Effet de verre (glassmorphism) */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Amélioration du badge avec glassmorphism */
.hero-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Effet de particules en arrière-plan */
.hero-modern::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(49, 39, 131, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(66, 185, 184, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

/* Amélioration des transitions pour les liens */
.link-voir-plus,
.link-lire-plus {
    position: relative;
    display: inline-block;
}

.link-voir-plus::after,
.link-lire-plus::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
    transition: width 0.4s ease;
}

.link-voir-plus:hover::after,
.link-lire-plus:hover::after {
    width: 100%;
}

/* Amélioration de la section rejoindre avec effet de brillance */
.section-rejoindre {
    position: relative;
    overflow: hidden;
}

.section-rejoindre::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: rotateGradient 10s linear infinite;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Amélioration des cartes d'action */
.action-card {
    transition: var(--transition-smooth);
}

.action-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* Effet de loading skeleton pour les images */
.actu-moderne-image,
.blog-card-image,
.programme-preview-image {
    position: relative;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

/* Amélioration responsive avec animations */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Effet de texte premium pour les citations */
.quote-content {
    position: relative;
    padding-left: 30px;
}

.quote-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 60px;
    font-family: var(--font-display);
    color: var(--secondary-500);
    opacity: 0.3;
    line-height: 1;
}

/* Amélioration du footer avec effet de vague */
.site-footer-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            var(--primary-500) 0%,
            var(--secondary-500) 50%,
            var(--primary-500) 100%);
    background-size: 200% 100%;
    animation: waveGradient 3s ease infinite;
}

@keyframes waveGradient {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

/* Amélioration de l'accessibilité avec des indicateurs visuels */
.btn-modern:active {
    transform: scale(0.97);
}

/* Effet de lueur sur les éléments importants */
.btn-primary-modern:hover,
.btn-header-cta:hover {
    box-shadow:
        0 0 20px rgba(49, 39, 131, 0.4),
        0 0 40px rgba(49, 39, 131, 0.2),
        0 12px 35px rgba(49, 39, 131, 0.5);
}

/* Amélioration de la typographie avec des ligatures */
body {
    font-feature-settings: "liga" 1, "calt" 1;
    text-rendering: optimizeLegibility;
}

/* Effet de parallaxe subtil */
@media (min-width: 1024px) {
    .hero-modern-image {
        transform: translateZ(0);
        will-change: transform;
    }

    .section-moderne {
        transform: translateZ(0);
        will-change: transform;
    }
}