:root {
    /* Official Colors from CDC */
    --primary-color: #2D7A3A; /* Vert forêt */
    --secondary-color: #1A5EA8; /* Bleu institutionnel */
    --accent-color: #E07B2A; /* Orange accent */
    --bg-white: #FFFFFF;
    --bg-light: #F5F5F5; /* Gris clair */
    --text-main: #3C3C3C; /* Gris foncé */
    --text-muted: #7f8c8d;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-special: 'Anton', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Shadows & Transitions */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --transition-fast: all 0.2s ease;
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.font-anton {
    font-family: var(--font-special);
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

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

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

/* Topbar Ad Carousel */
.topbar-ad-wrapper {
    width: 100%;
    height: 132px;
    background: #ffffff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    position: relative;
}
.topbar-ad-carousel {
    width: 100%;
    height: 100%;
}
.topbar-ad-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 10px 6px;
}
.topbar-ad-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.topbar-ad-slide img {
    /* Recadrage plein cadre : quelle que soit la forme de l'image source
       (carree, portrait, bandeau large...), elle remplit toute la bande
       sans jamais s'ecraser ni se retrouver minuscule au centre.
       object-position: top -> pour les affiches carrees (logo/titre/dates
       en haut), on garde la partie la plus identifiable plutot qu'une
       tranche centrale arbitraire qui coupe tout. */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 6px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.topbar-ad-slide img:hover {
    opacity: 0.88;
    transform: scale(1.02);
}

/* Topbar Nav Arrows */
.topbar-ad-prev,
.topbar-ad-next {
    color: #555 !important;
    width: 32px !important;
    height: 32px !important;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    box-shadow: 0 1px 6px rgba(0,0,0,0.15);
    top: 50% !important;
    transform: translateY(-50%) !important;
}
.topbar-ad-prev::after,
.topbar-ad-next::after {
    font-size: 12px !important;
    font-weight: 900;
}
.topbar-ad-prev { left: 8px !important; }
.topbar-ad-next { right: 8px !important; }

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid #eee;
    transition: var(--transition-base);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

@media (max-width: 480px) {
    .logo img {
        height: 42px;
    }
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-register {
    background: var(--primary-color);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 700;
}

.btn-register:hover {
    background: #235d2d;
    transform: translateY(-2px);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition-base);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-white);
    z-index: 999;
    display: block;
    padding-top: 100px;
    padding-bottom: 50px;
    overflow-y: auto;
    transition: var(--transition-base);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    text-align: center;
}

.mobile-nav-links li {
    margin-bottom: 2rem;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.btn-register-mobile {
    background: var(--primary-color);
    color: white !important;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 700;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding-top: 80px;
}

/* Swiper Slides (Hero) */
.hero-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-slide-1 {
    background: linear-gradient(rgba(45, 122, 58, 0.6), rgba(45, 122, 58, 0.6)), url('../assets/img/hero.jpg');
}

.hero-slide-2 {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/img/hero-slide2.jpg');
}

.hero-slide-3 {
    background: linear-gradient(rgba(20, 50, 100, 0.6), rgba(20, 50, 100, 0.6)), url('../assets/img/hero-slide3.jpg');
}

/* Pagination / Navigation customization */
.swiper-button-next, .swiper-button-prev {
    color: white !important;
}
.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.7;
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-color) !important;
}

/* Ad Slider Section */
.ad-slider-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}
.ad-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.ad-slide img:hover {
    transform: translateY(-5px);
}
.ad-pagination {
    position: relative !important;
    margin-top: 20px;
}

/* Sur mobile, le contenu (titre + sous-titre + boutons + countdown) depasse largement
   100vh : le centrage vertical forcait alors le haut du texte a remonter sous la navbar
   fixe. On passe en hauteur libre avec un padding qui degage explicitement la navbar. */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 130px;
        padding-bottom: 60px;
    }
}

.hero-content {
    max-width: 1000px;
}

/* Chiffres Clés */
.key-figures {
    background: var(--primary-color);
    color: white;
    padding: 50px 0;
}

.figures-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    text-align: center;
}

.figure-item h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    font-family: var(--font-special);
}

.figure-item p {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.9;
}

/* Sections */
.section {
    padding: 100px 0;
    scroll-margin-top: 80px; /* Offset for fixed navbar */
}

.section-alt {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-header .underline {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto;
}

/* Axes Grid */
.axes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.axe-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-top: 5px solid var(--primary-color);
    transition: var(--transition-base);
}

.axe-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.axe-num {
    font-family: var(--font-special);
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: block;
}

.axe-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Cards Styling (for News & Speakers) */
.card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.agenda-list li {
    position: relative;
    padding-left: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

/* Actualités Grid */
#actualites .row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 auto;
}

#actualites .col-md-4 {
    flex: 1;
    min-width: 300px;
    max-width: calc(33.333% - 20px);
}

@media (max-width: 1100px) {
    #actualites .col-md-4 {
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    #actualites .col-md-4 {
        max-width: 100%;
        flex: 0 0 100%;
    }
}





/* Forms & Buttons Helpers */
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition-fast);
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 122, 58, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-submit:hover {
    background: #235d2d;
    transform: translateY(-2px);
}

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

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

/* Publics Cibles */
.publics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.public-item {
    text-align: center;
    padding: 35px 25px;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.public-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: var(--secondary-color);
}

.public-icon {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.public-item:hover .public-icon {
    transform: scale(1.1);
}

.public-item p {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.5;
    margin: 0;
}

/* Partners Carousel */
.partners-carousel {
    overflow: hidden;
    padding: 20px 0;
}

.partners-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.partner-logo {
    min-width: 150px;
    height: 60px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 0 20px;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 0.9rem;
    white-space: nowrap;
}

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

/* Footer */
.footer {
    background: #222;
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 50px;
}

.footer h4 {
    color: var(--primary-color);
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 1rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.contact-item {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.contact-item span {
    display: block;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 1200px) {
    .figures-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
    .publics-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .figures-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 2rem; }
    .section { padding: 60px 0; }
    
    .countdown-container { gap: 1rem; flex-wrap: wrap; }
    .countdown-item { padding: 1rem; min-width: 80px; flex: 1 1 calc(50% - 1rem); }
    .countdown-value { font-size: 1.5rem; }
    
    /* Hero Buttons */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .figures-grid { grid-template-columns: 1fr; }
    .publics-grid { grid-template-columns: 1fr; }
    .countdown-item { flex: 1 1 100%; }
}

/* ==========================================================================
   Refonte 2026 — Hero, Navbar, About, Axes, CTA/Newsletter
   ========================================================================== */

.hero-buttons{
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
}
.hero-title span {
    font-size: 5rem;
    display: inline-block;
}

@media (max-width: 768px) {
    .hero-title { font-size: 1.8rem; }
    .hero-title span { font-size: 2.2rem; word-wrap: break-word; white-space: normal; }
}

.text-gradient-blue {
    background: linear-gradient(90deg, #3ebbf8 0%, #00e0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
    background: linear-gradient(90deg, #b8e986 0%, #f8e71c 50%, #f5a623 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 850px;
    margin: 0 auto 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.hero-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}
.hero-info i {
    color: #b8e986;
}
.hero-info .dot {
    color: rgba(255, 255, 255, 0.4);
}

.btn-primary-purple {
    background: #8976C7;
    color: white;
    padding: 1.1rem 2.2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-primary-purple:hover {
    background: #7562af;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: white;
    padding: 1.1rem 2.2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 50px;
}

.countdown-item {
    background: rgba(25, 68, 43, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    min-width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.countdown-value {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    color: white;
}

.countdown-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .countdown-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 30px;
    }
    .countdown-item {
        padding: 1rem 0.5rem;
    }
    .countdown-value {
        font-size: 2rem;
    }
    .countdown-label {
        font-size: 0.7rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    .btn-primary-purple, .btn-outline-white {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

.nav-links .btn-register {
    background: #8976C7;
    color: white !important;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    border: none;
    font-weight: 600;
}
.nav-links .btn-register:hover {
    background: #7562af;
}

/* Navbar overrides for the new design */
.navbar {
    background: transparent !important;
    border-bottom: none !important;
    padding: 1.5rem 0 !important;
}
.navbar.scrolled {
    background: white !important;
    padding: 0.8rem 0 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem 0 !important;
    }
    .navbar.scrolled {
        padding: 0.6rem 0 !important;
    }
}

.nav-links a {
    color: var(--text-main) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
}

.navbar.scrolled .nav-links a {
    color: var(--text-main) !important;
}
.navbar.scrolled .nav-links .btn-register {
    color: white !important;
}

.nav-links li:first-child a {
    background: rgba(0, 0, 0, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
}
.navbar.scrolled .nav-links li:first-child a {
    background: rgba(0, 0, 0, 0.05);
}

/* Mobile menu toggle styling overrides */
.menu-toggle {
    position: relative;
    width: 30px;
    height: 20px;
    gap: 0 !important;
}
@media (max-width: 992px) {
    .menu-toggle {
        display: block !important;
    }
}
.menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: white !important;
    transition: all 0.3s ease;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }

.navbar.scrolled .menu-toggle span {
    background: var(--text-main) !important;
}

.menu-toggle.active span {
    background: var(--text-main) !important;
}
.menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.nav-links .dropdown a i {
    font-size: 0.7rem;
    margin-left: 5px;
}

/* About Section New Styling */
.about-badge {
    display: inline-block;
    background: #e6f4ea;
    color: #0b9e43;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.about-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: #3b2b5f;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
}

.about-title .text-green {
    color: #0b9e43;
}

.about-description {
    font-size: 1.1rem;
    color: #655b85;
    line-height: 1.6;
    margin-bottom: 40px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #6a5ba8;
    color: white;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.about-feature-content h4 {
    color: #3b2b5f;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.about-feature-content p {
    color: #655b85;
    font-size: 0.95rem;
    margin: 0;
}

.btn-outline-green {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #0b9e43;
    border: 1px solid #c3e6cb;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline-green:hover {
    background: #0b9e43;
    color: white;
    border-color: #0b9e43;
}

#about .grid > div {
    /* Empêche le "blowout" de la grille CSS : sans min-width:0, la colonne
       contenant le carrousel Swiper peut être mesurée avec une largeur
       aberrante (des millions de pixels) au premier rendu, ce qui casse
       l'affichage de l'image. */
    min-width: 0;
}

.about-image-wrapper {
    position: relative;
    min-width: 0;
}

.about-swiper {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.about-swiper .about-swiper-pagination {
    bottom: 18px;
}

.about-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 0.6;
}

.about-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #0b9e43;
}

.about-floating-box {
    position: absolute;
    bottom: 20px;
    left: -40px;
    background: white;
    padding: 25px 35px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.about-floating-box h3 {
    font-size: 2.5rem;
    color: #0b9e43;
    margin: 0;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.about-floating-box p {
    margin: 5px 0 0;
    color: #6a5ba8;
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .about-floating-box {
        left: 20px;
        bottom: 20px;
    }
    .about-title {
        font-size: 2.2rem;
    }
    .about-image {
        height: 420px;
    }
}

@media (max-width: 480px) {
    .about-image {
        height: 300px;
    }
    .about-floating-box {
        padding: 15px 22px;
    }
    .about-floating-box h3 {
        font-size: 1.8rem;
    }
}

/* Axes Stratégiques New Styling */
.axes-section {
    background-color: #fafafc;
    padding: 100px 0;
    text-align: center;
}

.axes-badge {
    display: inline-block;
    background: #e6f4ea;
    color: #0b9e43;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.axes-title {
    font-size: 3rem;
    font-weight: 800;
    color: #3b2b5f;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.axes-subtitle {
    font-size: 1.1rem;
    color: #655b85;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.axes-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.axes-card-new {
    background: white;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    text-decoration: none;
}

.axes-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.axes-icon-box {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.axe-c1 { background: #0b9e43; }
.axe-c2 { background: #008f8f; }
.axe-c3 { background: #007bff; }
.axe-c4 { background: #4a6cf7; }
.axe-c5 { background: #8a2be2; }
.axe-c6 { background: #d2691e; }
.axe-c7 { background: #e06c00; }

.axes-card-new h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3b2b5f;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.axes-card-arrow {
    color: #a097b8;
    font-size: 1.1rem;
}

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

@media (max-width: 768px) {
    .axes-grid-new { grid-template-columns: repeat(2, 1fr); }
    .axes-title { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .axes-grid-new { grid-template-columns: 1fr; }
}

/* Registration / CTA Section New Styling */
.register-cta {
    background: #11823b;
    color: white;
    padding: 100px 0 0 0;
    text-align: center;
}

.register-cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.register-cta h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    color: white;
}

.register-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.register-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.register-newsletter {
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
}

.newsletter-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 30px;
}

.newsletter-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
    color: white;
}

.newsletter-info p {
    font-size: 0.95rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 500px;
    width: 100%;
}

.newsletter-input {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
}

.btn-newsletter {
    background: white;
    color: #11823b;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-newsletter:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .newsletter-grid {
        flex-direction: column;
        text-align: center;
    }
    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }
    .btn-newsletter {
        justify-content: center;
    }
    .register-cta h2 { font-size: 2.2rem; }
}

/* Bouton WhatsApp flottant */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    z-index: 1500;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    color: white;
}
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    animation: whatsapp-pulse 2.2s ease-out infinite;
    z-index: -1;
}
@keyframes whatsapp-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.7); opacity: 0; }
}
@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 16px;
        right: 16px;
    }
}

/* Speakers placeholders (à confirmer) */
.speaker-photo {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    /* La plupart des photos envoyées sont en format portrait (visage en
       haut du cadre) : un recadrage centré coupe souvent le haut de la
       tête. On ancre le recadrage vers le haut pour garder le visage
       entier dans le rond. */
    object-position: center top;
    display: block;
    border: 4px solid var(--bg-light);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.speaker-placeholder-avatar {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: 4px solid var(--bg-light);
    color: var(--secondary-color);
    font-size: 2.6rem;
}

.speaker-theme {
    font-size: 0.82rem;
    color: #0b9e43;
    background: #e6f4ea;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 10px;
    font-weight: 600;
}

@media (max-width: 480px) {
    .speaker-photo,
    .speaker-placeholder-avatar {
        width: 150px;
        height: 150px;
    }
}

/* Admin - Pagination generique des tableaux (js/admin-tables.js) */
.page-hidden,
.search-hidden {
    display: none !important;
}
.table-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.pagination-info {
    font-size: 0.8rem;
    color: #888;
    font-weight: 600;
}
.pagination-btn {
    background: #f4f7f6;
    border: 1px solid #e0e0e0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
}
.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


/* ==========================================================================
   Galerie photos (aperçu accueil + page galerie.php + visionneuse)
   ========================================================================== */
.page-galerie .navbar {
    background: #fff !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
}
.nav-links a.active { color: var(--primary-color) !important; }
.page-galerie .nav-links li:first-child a,
.page-galerie .navbar.scrolled .nav-links li:first-child a { background: none; padding: 0; }
.page-galerie .nav-links a.active { background: rgba(45, 122, 58, 0.1); padding: 8px 16px; border-radius: 20px; }

.gallery-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1f5a2a 55%, var(--secondary-color) 130%);
    color: #fff;
    padding: 80px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.gallery-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -60px -10%;
    height: 120px;
    background: #fff;
    border-radius: 50% 50% 0 0;
}
.gallery-hero .container { position: relative; z-index: 1; }
.gallery-hero-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffd5b0;
    margin-bottom: 12px;
}
.gallery-hero h1 {
    font-family: var(--font-special);
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.gallery-hero p { max-width: 640px; margin: 0 auto; opacity: 0.9; }
.gallery-hero-stats {
    display: inline-flex;
    gap: 30px;
    margin-top: 25px;
    padding: 10px 25px;
    border-radius: 30px;
    background: rgba(255,255,255,0.12);
    font-size: 0.9rem;
}
.gallery-hero-stats strong { font-size: 1.2rem; color: #ffd5b0; margin-right: 4px; }

.gallery-page { padding-top: 40px; }

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}
.gallery-filter {
    border: 1px solid #d6e6d9;
    background: #fff;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 9px 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-fast);
}
.gallery-filter span {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 10px;
    background: #eef3ef;
    font-size: 0.75rem;
}
.gallery-filter:hover { border-color: var(--primary-color); color: var(--primary-color); }
.gallery-filter.active { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.gallery-filter.active span { background: rgba(255,255,255,0.25); }

/* Mosaïque (masonry en colonnes CSS) */
.gallery-masonry { column-count: 4; column-gap: 16px; }
.gallery-masonry .gallery-item { margin-bottom: 16px; break-inside: avoid; }
@media (max-width: 1100px) { .gallery-masonry { column-count: 3; } }
@media (max-width: 768px)  { .gallery-masonry { column-count: 2; column-gap: 10px; } .gallery-masonry .gallery-item { margin-bottom: 10px; } }
@media (max-width: 340px)  { .gallery-masonry { column-count: 1; } }

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    background: #eef1ee;
    cursor: zoom-in;
    box-shadow: var(--shadow-sm);
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.is-hidden { display: none; }
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0) 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item-overlay i { position: absolute; top: 14px; right: 14px; font-size: 1rem; }
.gallery-item-overlay em { font-style: normal; font-weight: 600; font-size: 0.85rem; line-height: 1.3; }
.gallery-item:hover .gallery-item-overlay,
.gallery-item:focus-visible .gallery-item-overlay { opacity: 1; }

.gallery-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.gallery-empty i { font-size: 3rem; color: var(--primary-color); opacity: 0.4; margin-bottom: 15px; }
.gallery-empty h3 { color: var(--primary-color); margin-bottom: 10px; }
.gallery-empty p { margin-bottom: 25px; }

/* Aperçu sur la page d'accueil */
.gallery-teaser {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 14px;
}
.gallery-teaser .gallery-item { height: 100%; }
.gallery-teaser .gallery-item img { height: 100%; object-fit: cover; }
.gallery-teaser .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-teaser-cta { text-align: center; margin-top: 40px; }
@media (max-width: 992px) {
    .gallery-teaser { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; }
    .gallery-teaser .gallery-item:nth-child(n+7) { display: none; }
}
@media (max-width: 600px) {
    .gallery-teaser { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 8px; }
    .gallery-teaser .gallery-item:nth-child(n+6) { display: none; }
}

/* Visionneuse plein écran */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 18, 12, 0.94);
    padding: 60px 70px;
}
.gallery-lightbox.active { display: flex; animation: glbFade 0.25s ease; }
@keyframes glbFade { from { opacity: 0; } to { opacity: 1; } }
.glb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.glb-img {
    max-width: 100%;
    max-height: calc(100vh - 160px);
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: opacity 0.2s ease;
}
.glb-img.is-loading { opacity: 0.3; }
.glb-caption { color: #fff; margin-top: 15px; text-align: center; font-size: 0.95rem; max-width: 800px; }
.glb-counter { position: absolute; top: 22px; left: 25px; color: rgba(255,255,255,0.7); font-size: 0.85rem; font-weight: 600; }
.gallery-lightbox button {
    position: absolute;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}
.gallery-lightbox button:hover { background: var(--accent-color); }
.glb-close { top: 15px; right: 20px; }
.glb-prev { left: 15px; top: 50%; transform: translateY(-50%); }
.glb-next { right: 15px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
    .gallery-lightbox { padding: 60px 10px; }
    .glb-prev, .glb-next { top: auto; bottom: 15px; transform: none; }
    .glb-prev { left: calc(50% - 60px); }
    .glb-next { right: calc(50% - 60px); }
}
