body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* HEADER BACKGROUND */
.site-header {
    background: #f3f3f3;
    position: relative;
}



/* CONTAINER */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    flex-wrap: wrap;
    gap: 10px;
}

/* LOGO */
.logo img {
    
}

/* MENU */
.main-nav .menu {
    display: flex;
    list-style: none;
    gap: 45px;
    margin: 0;
    padding: 0;
}

.main-nav .menu li a {
    text-decoration: none;
    color: #222;
    font-size: 18px;
    font-weight: 500;
    transition: 0.3s;
}

.main-nav .menu li a:hover {
    color: #e53935;
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #222;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* BOUTON LANGUE */
.lang-switch {
    margin-left: 30px;
}

.lang-btn {
    background: #e53935;
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
}

.lang-btn:hover {
    background: #c62828;
}

/* HERO */
.hero {
    position: relative;
    height: 650px;
    background: url('../images/Hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.hero-content {
    position: relative;
    color: #fff;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
}

.hero-buttons {
    margin-top: 20px;
}

.btn {
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    margin-right: 10px;
}

.green { background: #2e7d32; }
.red { background: #e53935; }

@media (max-width: 480px) {
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        margin-right: 0;
        text-align: center;
    }
}

/* CATEGORIES */
/* WRAPPER - chevauche le hero proprement */
.categories-wrapper {
    margin-top: -70px; /* chevauchement propre */
    position: relative;
    z-index: 10;
}

/* BLOC BLANC */
.categories {
    background: #ffffff;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-radius: 4px;
    overflow: hidden;
}

/* CHAQUE ITEM */
.cat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    gap: 15px;
    position: relative;
}

/* SÉPARATEUR VERTICAL */
.cat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: #e0e0e0;
}

/* ICÔNE */
.cat-item img {
    width: 40px;
    height: auto;
}

/* TEXTE */
.cat-text {
    display: flex;
    flex-direction: column;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

/* HOVER léger */
.cat-item:hover {
    background: #f9f9f9;
    cursor: pointer;
}

/* Responsive for categories */
@media (max-width: 768px) {
    .categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .categories {
        grid-template-columns: 1fr;
    }

    .cat-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .cat-item:not(:last-child)::after {
        display: none;
    }
}

/* SECTION ÉVÈNEMENTS */
.events {
    padding: 80px 0;
}

.events h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

/* Grille 3 colonnes */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Carte événement */
.event-thumbnail {
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 6px;          /* Coins arrondis, optionnel */
    background-color: #f5f5f5;    /* Fond gris si pas d'image */
}

.event-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.event-thumbnail:hover img {
    transform: scale(1.05);       /* Léger zoom au survol */
} 

.event-card {
    background: #fff;
    border: 1px solid #e0e0e0;      /* Bordure légère */
    border-radius: 8px;              /* Coins arrondis (optionnel) */
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.event-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #111;
}

.event-meta {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.event-date {
    display: block;                  /* Date sur sa propre ligne */
    font-weight: 500;
}

.event-lieu {
    display: block;                  /* Lieu sur sa propre ligne */
    font-style: italic;
    margin-top: 5px;
}

.event-link {
    display: inline-block;
    color: #e53935;
    text-decoration: none;
    font-weight: 500;
    border-top: 1px solid #eee;      /* Séparateur fin au-dessus du lien */
    padding-top: 12px;
    width: 100%;
    text-align: left;
    transition: color 0.3s;
}

.event-link:hover {
    color: #b71c1c;
}

/* Responsive : 2 colonnes sur tablette, 1 sur mobile */
@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* PRESIDENT */
.president-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* ou 40% 60% comme avant */
    gap: 50px;
    align-items: center; /* centrer verticalement l'image et le texte */
    padding: 80px 0;
}

.president-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* si arrondi */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* optionnel */
}

.president-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
    text-transform: uppercase; /* selon maquette */
}

.president-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    text-align: justify; /* si justifié */
}

.president-signature {
    background-color: #119C39;
    text-align: center; 
    padding: 10px;
}
#signature-gras {
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
}

.president-signature p {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .president-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* STATS SECTION */
.stats {
    background:url('../images/stats.png') center/cover no-repeat;
    padding: 20px 0;
    text-align: center;
}

.stats-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #ffffff;
    text-transform: uppercase;    /* selon ta maquette */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    padding: 0px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;              /* Vert foncé comme sur la capture (ou autre) */
    line-height: 1.2;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;    /* selon maquette */
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
.stat-item:not(:last-child) {
    border-right: 1px solid #ddd;
}
@media (max-width: 768px) {
    .stat-item:not(:last-child) {
        border-right: none;
    }
}


/* PARTENAIRES */
.partenaires {
    
    text-align: center; /* pour centrer le titre */
}

.partenaires h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #222;
    text-transform: uppercase; /* selon maquette */
}

.partenaires-carousel {
    overflow: hidden;
    width: 100%;
}

.partenaires-carousel-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.partenaires-carousel-track:hover {
    animation-play-state: paused; /* pause au survol */
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* défile la moitié (car on a dupliqué) */
}

.partenaire-item {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    padding: 10px 20px;
    background: #f5f5f5;
    border-radius: 4px;
    white-space: nowrap;
}


/* Hover optionnel */
.partenaire-item:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .partenaires-grid {
        justify-content: center;
    }
    .partenaire-item {
        font-size: 20px;
        padding: 8px 16px;
    }
}

/* NEWSLETTER */

.newsletter {
    width: 100%;
    padding: 20px 0;
}

/* BANDEAU ROUGE */
.newsletter-top {
    background: #ff1a1a;
    padding: 40px 0;
}

.newsletter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* TEXTE */
.newsletter-title {
    color: #fff;
    font-size: 31px;
    font-weight: 600;
    margin: 0;
}

/* BOUTON NOIR */
.newsletter-btn {
    background: #000;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 20px;
}

/* ZONE FORMULAIRE */
.newsletter-bottom {
    padding-bottom: 20px;
    position: relative;
    margin-top: -30px;
    
}

/* FORMULAIRE */
.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    height: 53px;
    margin: auto;
    border: #f3f3f3 3px solid;
}

/* INPUT */
.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background: #fff;
    font-size: 15px;
}

/* BOUTON ENVOYER */
.newsletter-form button {
    background: #ff1a1a;
    color: white;
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    cursor: pointer;
}

.newsletter-form button:hover {
    background: #d60000;
}
@media (max-width:768px){

.newsletter-header{
flex-direction:column;
gap:15px;
text-align:center;
}

.newsletter-form{
flex-direction:column;
gap:10px;
}

}

/* Footer général */
.site-footer {
     /* Rouge exact comme sur ta maquette */
    color: #000000;
    font-size: 14px;
}

/* Conteneur principal du footer */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

/* Liens avec séparateur */
.footer-links a {
    color: #000000;
    text-decoration: none;
    margin: 0 5px;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-links .sep {
    margin: 0 5px;
    color: rgba(20, 17, 17, 0.7);
}

/* Nom de l'organisation */
.footer-org {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Icônes sociales */
.footer-social a {
    color: #ffffff;
    margin-left: 15px;
    font-size: 18px;
    transition: transform 0.3s, opacity 0.3s;
    display: inline-block;
}

.footer-social a:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 15px;
    font-size: 13px;
    color: rgba(22, 16, 16, 0.7);
}
.copyrighta {
    text-align: center;
    font-size: 13px;
    color: rgba(22, 16, 16, 0.7);
    width: 170px;
    margin-top: -13px;
    margin-right: -190px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-social a {
        margin: 0 8px;
    }

    .footer-links .sep {
        margin: 0 3px;
    }
}

/* HEADER RESPONSIVE */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #f3f3f3;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 1000;
    }

    .main-nav.active {
        max-height: 500px;
    }

    .main-nav .menu {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        align-items: center;
    }

    .main-nav .menu li {
        width: 100%;
        text-align: center;
    }

    .lang-switch {
        margin-left: 0;
        order: 3;
    }

    .header-inner {
        position: relative;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }

    .main-nav .menu li a {
        font-size: 16px;
    }
}



