* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* S'assurer que le HTML prend toute la largeur */
html {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

:root {
    --primary: #0d47a1;
    --primary-light: #1976d2;
    --primary-dark: #0277bd;
    --secondary: #00acc1;
    --secondary-light: #26c6da;
    --secondary-dark: #00838f;
    --accent-green: #00b894;
    --accent-blue: #0984e3;
    --dark: #1a1a2e;
    --dark-light: #2d3436;
    --light: #f8f9fa;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0d47a1 0%, #0277bd 100%);
    --gradient-secondary: linear-gradient(135deg, #00acc1 0%, #00b894 100%);
    --gradient-hero: linear-gradient(
        135deg,
        #0d47a1 0%,
        #00acc1 50%,
        #00b894 100%
    );
    --shadow-sm: 0 2px 8px rgba(13, 71, 161, 0.1);
    --shadow-md: 0 4px 16px rgba(13, 71, 161, 0.15);
    --shadow-lg: 0 8px 32px rgba(13, 71, 161, 0.2);
}

body {
    font-family: "Inter", sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: #f9f9f9;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Images responsive par défaut */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Assurer que tous les conteneurs sont responsive */
.container,
.wrapper,
.content-wrapper {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}
/* Header */

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.logo {
    margin-right: 3rem;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    flex: 1;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-links a.active-link {
    color: var(--primary);
}
/* Burger Menu */

.burger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--dark);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
}
/* Dropdown */

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 0.8rem 0;
    display: none;
    z-index: 2000;
}

.dropdown-content a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--dark);
    text-decoration: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}
/* Carousel Banner */

.carousel {
    padding-top: 80px;
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
    width: 90%;
    box-sizing: border-box;
}

.carousel-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    word-wrap: break-word;
}

.carousel-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.4;
    word-wrap: break-word;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
}
/* Sections */

.section {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.intro-section {
    text-align: center;
    background: white;
}

.intro-section h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: white;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    transition: all 0.5s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-item:hover::before {
    top: -30%;
    right: -30%;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
}
/* Notre Histoire */

.history-section {
    background: white;
}

.history-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: var(--primary);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 1.5rem 3rem;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--primary);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 2rem 2.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
    border-left-color: var(--secondary);
}

.timeline-year {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.8rem;
}
/* Événements à venir */

.events-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}
/* Partenaires */

.partners-section {
    background: var(--light);
    padding: 4rem 0;
    overflow: hidden;
}

.partners-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.partners-marquee {
    display: flex;
    animation: marquee 25s linear infinite;
    gap: 4rem;
}

.partners-marquee:hover {
    animation-play-state: paused;
}

.partner-logo {
    height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* CTA */

.cta-section {
    background: var(--gradient-hero);
    color: white;
    text-align: center;
    padding: 6rem 5%;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cta-section > * {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.cta-section .cta-button {
    background: white;
    color: var(--primary);
}

.cta-section .cta-button:hover {
    background: var(--light);
    color: var(--primary-dark);
}
/* Footer */

footer {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 100%);
    color: white;
    padding: 5rem 5% 2rem;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-light);
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-md);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    animation: whatsapp-pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    background: #20ba5a;
}

.whatsapp-btn:active {
    transform: scale(0.95);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4),
            0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-tooltip {
    background: var(--dark);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip::before {
    content: "";
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid var(--dark);
}

.whatsapp-widget:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* News Section */
.news-section {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--light-gray);
}

.news-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.news-image {
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-info {
    padding: 1.8rem;
}

.news-date {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.news-read-more:hover {
    gap: 1rem;
    color: var(--secondary);
}

.news-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.news-info p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Login Mobile */
.nav-links li.login-mobile {
    display: none;
}

.nav-links.active li.login-mobile {
    display: block;
    border-top: 2px solid var(--light-gray);
    margin-top: 1rem;
    padding-top: 1rem;
}

.login-btn-mobile {
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    max-width: 250px;
    margin: 0 auto;
    text-align: center;
    display: block;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-btn-mobile:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive */

@media (max-width: 1024px) {
    /* Navbar responsive pour tablettes et petits écrans */
    nav {
        padding: 1rem 3%;
    }

    .logo {
        margin-right: 1.5rem;
    }

    .logo img {
        height: 40px;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .nav-right {
        gap: 1rem;
    }

    .lang-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }

    .login-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .section {
        padding: 4rem 4%;
    }
    .carousel-content h1 {
        font-size: 3.2rem;
    }
    .carousel-content p {
        font-size: 1.3rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 4%;
    }

    .burger {
        display: block;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        box-shadow: var(--shadow-lg);
        border-top: 2px solid var(--light-gray);
    }
    .nav-links.active {
        max-height: 600px;
        padding: 1.5rem 0;
    }
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    .nav-links a {
        display: block;
        padding: 1.2rem;
        font-size: 1.1rem;
    }
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background: var(--light);
        margin-top: 0.5rem;
    }
    .dropdown.active .dropdown-content {
        display: block;
    }
    .carousel {
        height: 70vh;
        min-height: 500px;
        padding-top: 70px;
    }
    .carousel-content {
        padding: 1.5rem;
        width: 95%;
        max-width: 100%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .carousel-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    .carousel-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
        word-wrap: break-word;
    }
    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
    .section {
        padding: 3rem 4%;
    }
    .intro-section h2,
    .history-section h2,
    .events-section h2 {
        font-size: 2.2rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .stat-item {
        padding: 2rem;
    }
    .timeline::before {
        left: 30px;
    }
    .timeline-item {
        padding-left: 70px;
        padding-right: 1rem;
        width: 100%;
        text-align: left;
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-item::after {
        left: 20px;
    }
    .timeline-content {
        padding: 1.5rem;
    }
    .events-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .event-card {
        max-width: 100%;
    }

    /* News section responsive mobile */
    .news-section {
        padding: 3rem 4%;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-card {
        max-width: 100%;
    }

    .news-image {
        height: 200px;
    }

    .news-info {
        padding: 1.5rem;
    }

    .news-info h3 {
        font-size: 1.2rem;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .lang-selector {
        position: static;
        transform: none;
        margin-left: auto;
        padding-right: 1rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.8rem 3%;
    }

    .logo img {
        height: 35px;
    }

    .carousel {
        height: 50vh;
        min-height: 300px;
        padding-top: 60px;
    }

    .carousel {
        height: 65vh;
        min-height: 450px;
        padding-top: 60px;
    }

    .carousel-content {
        padding: 1.2rem;
        width: 95%;
        max-width: 100%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .carousel-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    .carousel-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.4;
        word-wrap: break-word;
    }
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    .stat-number {
        font-size: 2.5rem;
    }
    .stat-item {
        padding: 1.5rem;
    }
    .intro-section h2,
    .history-section h2,
    .events-section h2 {
        font-size: 1.8rem;
    }
    .section {
        padding: 2rem 3%;
    }
    .timeline-item {
        padding-left: 60px;
    }
    .timeline-item::after {
        left: 15px;
        width: 15px;
        height: 15px;
    }
    .timeline::before {
        left: 22px;
    }
    .event-image {
        height: 200px;
    }
    .event-info {
        padding: 1.5rem;
    }
    .event-info h3 {
        font-size: 1.2rem;
    }

    /* News section très petit mobile */
    .news-section {
        padding: 2rem 3%;
    }

    .news-grid {
        gap: 1.2rem;
    }

    .news-image {
        height: 180px;
    }

    .news-info {
        padding: 1.2rem;
    }

    .news-info h3 {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}
/* Événements à venir - Version dynamique */

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    justify-content: center;
}

.event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    border: 1px solid var(--light-gray);
}

.event-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.event-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

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

.event-card:hover .event-image img {
    transform: scale(1.12);
}

.event-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.event-info {
    padding: 2rem;
}

.event-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.event-info p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.event-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.event-card:hover .event-btn {
    opacity: 1;
    transform: translateY(0);
}

.event-btn:hover {
    gap: 1.2rem;
    color: var(--secondary);
}
/* Responsive */

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .event-image {
        height: 240px;
    }
    .event-info {
        padding: 1.8rem;
    }
    .event-info h3 {
        font-size: 1.4rem;
    }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1002;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.lang-link {
    color: var(--dark);
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lang-link:hover,
.lang-link.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.lang-separator {
    color: #aaa;
    font-weight: 400;
}

.login-btn {
    padding: 0.6rem 1.5rem;
    background: var(--gradient-primary);
    color: white !important;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: inline-block !important;
    position: relative;
    z-index: 1003 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white !important;
}

/* S'assurer que le bouton de connexion est visible sur desktop */
@media (min-width: 901px) {
    .nav-right .login-btn {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1003 !important;
        color: white !important;
    }

    .nav-right {
        z-index: 1002 !important;
    }
}

/* Content Sections */

.content-section {
    display: none;
    padding: 4rem 5%;
    min-height: 60vh;
}

/* Bureau Exécutif Image */
.bureau-executif-image {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.bureau-executif-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.bureau-executif-image img:hover {
    transform: scale(1.02);
}

.content-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}
/* Qui Sommes-Nous */

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.about-text h2::before {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin-bottom: 1rem;
}

.about-text p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    transition: transform 0.5s ease;
    object-fit: cover;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Présentation de l'établissement */
.presentation-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}

.presentation-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.presentation-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.presentation-text h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 1rem;
}

.presentation-text h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.presentation-text p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.presentation-features {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary);
    min-width: 50px;
    text-align: center;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.presentation-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
}

.presentation-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 71, 161, 0.1) 0%,
        rgba(0, 172, 193, 0.1) 100%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.presentation-image:hover::before {
    opacity: 1;
}

.presentation-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.presentation-image:hover img {
    transform: scale(1.05);
}

/* Responsive : sur mobile, le sélecteur reste visible à droite */

@media (max-width: 768px) {
    .nav-right {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-top: 1rem;
    }
    .lang-selector {
        margin: 0 auto;
    }

    /* Masquer le bouton de connexion dans nav-right car il est déjà dans le burger */
    .nav-right .login-btn {
        display: none !important;
    }
}

/* Page Header (commun à toutes les pages) */
.page-header {
    margin-top: 0;
    padding-top: 80px;
    height: 60vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* Background attachment fixed seulement sur desktop */
@media (min-width: 1025px) {
    .page-header {
        background-attachment: fixed;
    }
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
    margin: 0 auto;
    text-align: center;
}

.header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
    line-height: 1.2;
}

.header-content p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    word-wrap: break-word;
    line-height: 1.5;
}

/* Boutons dans le header de contact */
.contact-header-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-cta-btn i {
    font-size: 1.1rem;
}

.contact-join-btn {
    background: var(--gradient-primary);
    color: white;
}

.contact-join-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

.contact-write-btn {
    background: white;
    color: var(--primary);
    border: 2px solid white;
}

.contact-write-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--primary);
}

/* Contact Section */
.contact-section {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.info-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.info-card p {
    color: #666;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Photo Section */
.photo-section {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.photo-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--light-gray);
}

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

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

.photo-item:hover img {
    transform: scale(1.1);
}

.photo-caption {
    padding: 1.5rem;
}

.photo-caption h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.photo-caption p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

/* Video Section */
.video-section {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.video-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--light-gray);
}

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

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.5rem;
}

.video-date {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.video-info p {
    color: #666;
    margin: 0;
    line-height: 1.7;
}

/* About Page - Content Navigation */
.content-nav {
    background: white;
    padding: 1.5rem 5%;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 80px;
    z-index: 99;
    border-bottom: 2px solid var(--light-gray);
}

.content-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-pill {
    padding: 0.8rem 1.5rem;
    background: var(--light);
    color: var(--dark);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
}

.nav-pill:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

.nav-pill.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

/* About Page - Content Sections */
.content-section {
    display: none;
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.content-section.active {
    display: block;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* About Page - Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: white;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* About Page - Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--secondary);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.value-card p {
    color: #666;
    line-height: 1.7;
}

/* About Page - Mission & Vision */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.mission-card,
.vision-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--primary);
}

.vision-card {
    border-left-color: var(--secondary);
}

.mission-card h2,
.vision-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mission-card h2 i,
.vision-card h2 i {
    color: var(--primary);
}

.vision-card h2 i {
    color: var(--secondary);
}

.mission-card p,
.vision-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* About Page - Objectives List */
.objectives-list {
    list-style: none;
    margin-top: 3rem;
}

.objectives-list li {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

.objectives-list li:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--secondary);
}

.objective-icon {
    font-size: 2.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.objectives-list h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.objectives-list p {
    color: #666;
    margin: 0;
    line-height: 1.7;
}

/* About Page - Timeline (Plan d'Actions) */
.timeline-marker {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

.timeline-empty {
    width: 60px;
    flex-shrink: 0;
}

.quarter-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.action-list {
    list-style: none;
    margin-top: 1.5rem;
}

.action-list li {
    padding: 0.8rem 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.action-list li i {
    color: var(--accent-green);
}

/* About Page - Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--light-gray);
}

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

.team-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.team-social {
    display: flex;
    gap: 1rem;
}

.team-social a {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.team-info {
    padding: 2rem;
}

.team-role {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.team-info p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-contact a {
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.team-contact a:hover {
    color: var(--secondary);
}

/* Responsive - Contact, Photo, Video */
@media (max-width: 1024px) {
    .presentation-section {
        padding: 4rem 4%;
    }

    .presentation-intro {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .presentation-text h2 {
        font-size: 2.2rem;
    }

    .presentation-image {
        order: -1;
    }

    .page-header {
        height: 55vh;
        min-height: 450px;
    }

    .header-content {
        padding: 2rem;
        text-align: center;
    }

    .header-content h1 {
        font-size: 3rem;
        line-height: 1.2;
        word-wrap: break-word;
    }

    .header-content p {
        font-size: 1.3rem;
        line-height: 1.5;
        word-wrap: break-word;
    }

    .contact-header-buttons {
        gap: 1.2rem;
        margin-top: 1.8rem;
    }

    .contact-cta-btn {
        padding: 0.95rem 2.2rem;
        font-size: 0.98rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .photo-grid,
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 50vh;
        min-height: 400px;
        padding-top: 70px;
    }

    .header-content {
        padding: 1.5rem;
        text-align: center;
    }

    .header-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        word-wrap: break-word;
    }

    .header-content p {
        font-size: 1.1rem;
        line-height: 1.5;
        word-wrap: break-word;
    }

    .contact-header-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .contact-cta-btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .contact-section,
    .photo-section,
    .video-section {
        padding: 3rem 4%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* WhatsApp Widget Responsive */
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .contact-form {
        padding: 2rem;
    }

    .photo-grid,
    .video-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .content-nav {
        top: 70px;
        padding: 1rem 4%;
    }

    .content-nav-inner {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .nav-pill {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Présentation responsive mobile */
    .presentation-section {
        padding: 3rem 4%;
    }

    .presentation-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .presentation-text h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .presentation-text p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .presentation-image {
        order: -1;
        border-radius: 15px;
    }

    .presentation-features {
        margin-top: 2rem;
        gap: 1.2rem;
    }

    .feature-item {
        padding: 1.2rem;
        flex-direction: row;
        gap: 1rem;
    }

    .feature-item i {
        font-size: 1.5rem;
        min-width: 40px;
    }

    .feature-item h4 {
        font-size: 1.1rem;
    }

    .feature-item p {
        font-size: 0.9rem;
    }

    .objectives-list li {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-card,
    .vision-card {
        padding: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* About page responsive */
    .about-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .team-image {
        height: 280px;
    }

    .bureau-executif-image {
        padding: 1.5rem;
    }

    .content-section {
        padding: 3rem 4%;
    }
}

@media (max-width: 480px) {
    .page-header {
        height: 40vh;
        min-height: 300px;
        padding-top: 60px;
    }

    .header-content {
        padding: 1rem;
        text-align: center;
    }

    .header-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        word-wrap: break-word;
        margin-bottom: 1rem;
    }

    .header-content p {
        font-size: 1rem;
        line-height: 1.4;
        word-wrap: break-word;
        margin-bottom: 1.5rem;
    }

    .contact-header-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .contact-cta-btn {
        padding: 0.85rem 1.8rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .contact-cta-btn i {
        font-size: 1rem;
    }

    .contact-section,
    .photo-section,
    .video-section {
        padding: 2rem 3%;
    }

    .contact-form {
        padding: 1.5rem;
    }

    /* WhatsApp Widget Responsive */
    .whatsapp-widget {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 26px;
    }

    .info-card {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .content-nav-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-pill {
        text-align: center;
        justify-content: center;
    }

    .team-image {
        height: 280px;
    }

    .photo-item img {
        height: 250px;
    }

    /* About page responsive - mobile */
    .about-intro {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .about-image {
        order: -1;
        border-radius: 15px;
    }

    .about-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: cover;
    }

    /* Présentation responsive */
    .presentation-section {
        padding: 3rem 4%;
    }

    .presentation-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .presentation-text h2 {
        font-size: 2rem;
    }

    .presentation-image {
        order: -1;
        border-radius: 15px;
    }

    .presentation-features {
        margin-top: 2rem;
    }

    .feature-item {
        padding: 1.2rem;
    }

    .feature-item i {
        font-size: 1.5rem;
        min-width: 40px;
    }

    .feature-item h4 {
        font-size: 1.1rem;
    }

    .feature-item p {
        font-size: 0.9rem;
    }

    .team-image {
        height: 250px;
    }

    .content-section {
        padding: 2rem 3%;
        min-height: auto;
    }

    .content-wrapper {
        padding: 0;
    }
}

/* ============================================
   RESPONSIVE COMPLET - TOUS APPAREILS
   ============================================ */

/* Très petits écrans (< 360px) */
@media (max-width: 360px) {
    nav {
        padding: 0.6rem 2%;
    }

    .logo img {
        height: 30px;
    }

    .carousel {
        height: 60vh;
        min-height: 400px;
        padding-top: 55px;
    }

    .carousel-content {
        padding: 0.8rem;
        width: 95%;
        max-width: 100%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .carousel-content h1 {
        font-size: 1.3rem;
        line-height: 1.2;
        margin-bottom: 0.6rem;
        word-wrap: break-word;
    }

    .carousel-content p {
        font-size: 0.85rem;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .carousel-content {
        padding: 1rem;
        width: 95%;
        max-width: 100%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .carousel-content h1 {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
        word-wrap: break-word;
    }

    .carousel-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        word-wrap: break-word;
    }

    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .section {
        padding: 1.5rem 2%;
    }

    .intro-section h2,
    .history-section h2,
    .events-section h2 {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-item {
        padding: 1.2rem;
    }

    .page-header {
        height: 35vh;
        min-height: 250px;
        padding-top: 55px;
    }

    .header-content {
        padding: 0.8rem;
        text-align: center;
    }

    .header-content h1 {
        font-size: 1.5rem;
        line-height: 1.2;
        word-wrap: break-word;
        margin-bottom: 0.8rem;
    }

    .header-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        word-wrap: break-word;
        margin-bottom: 1.2rem;
    }

    .contact-header-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
        margin-top: 1.2rem;
    }

    .contact-cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        width: 100%;
        max-width: 240px;
        justify-content: center;
    }

    .contact-cta-btn i {
        font-size: 0.95rem;
    }

    .contact-section,
    .photo-section,
    .video-section,
    .content-section {
        padding: 1.5rem 2%;
    }

    .contact-form {
        padding: 1.2rem;
    }

    .bureau-executif-image {
        padding: 1rem;
    }

    .bureau-executif-image img {
        border-radius: 10px;
    }

    .info-card {
        padding: 1.2rem;
    }

    /* WhatsApp Widget Responsive */
    .whatsapp-widget {
        bottom: 10px;
        right: 10px;
    }

    .whatsapp-btn {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .info-card i {
        font-size: 1.5rem;
    }

    .info-card h3 {
        font-size: 1.1rem;
    }

    .nav-pill {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .about-text h2 {
        font-size: 1.5rem;
    }

    .team-image {
        height: 220px;
    }

    .mission-card,
    .vision-card {
        padding: 1.5rem;
    }

    .mission-card h2,
    .vision-card h2 {
        font-size: 1.5rem;
    }
}

/* Tablettes en mode portrait (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Navbar responsive pour tablettes */
    nav {
        padding: 1rem 3%;
    }

    .logo {
        margin-right: 1.5rem;
    }

    .logo img {
        height: 40px;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }

    .nav-right {
        gap: 1rem;
    }

    .lang-selector {
        font-size: 0.85rem;
    }

    .lang-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }

    .login-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .section {
        padding: 4rem 4%;
    }

    .carousel {
        height: 70vh;
        min-height: 500px;
    }

    .carousel-content h1 {
        font-size: 3rem;
    }

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

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

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

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

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

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

    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }

    .about-intro {
        gap: 3rem;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    /* Pour les tablettes entre 900px et 1024px, réduire encore les espacements */
    @media (min-width: 901px) and (max-width: 1024px) {
        nav {
            padding: 1rem 2.5%;
        }

        .logo {
            margin-right: 1rem;
        }

        .nav-links {
            gap: 0.6rem;
        }

        .nav-links a {
            font-size: 0.85rem;
            padding: 0.4rem 0.6rem;
        }

        .nav-right {
            gap: 0.8rem;
        }

        .lang-link {
            padding: 0.25rem 0.5rem;
            font-size: 0.8rem;
        }

        .login-btn {
            padding: 0.4rem 0.9rem;
            font-size: 0.8rem;
        }
    }

    /* Pour les tablettes plus petites (jusqu'à 900px), activer le burger */
    @media (max-width: 900px) {
        .burger {
            display: block;
        }

        .nav-links {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: white;
            flex-direction: column;
            gap: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease;
            box-shadow: var(--shadow-lg);
            border-top: 2px solid var(--light-gray);
        }

        .nav-links.active {
            max-height: 600px;
            padding: 1.5rem 0;
        }

        .nav-links li {
            width: 100%;
            text-align: center;
        }

        .nav-links a {
            display: block;
            padding: 1.2rem;
            font-size: 1rem;
        }

        .dropdown:hover .dropdown-content {
            display: none !important;
        }

        .dropdown-content {
            position: static !important;
            box-shadow: none;
            background: var(--light);
            border-radius: 0;
            display: none !important;
            max-height: 0 !important;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
            padding: 0 !important;
            opacity: 0;
        }

        .dropdown.active .dropdown-content {
            display: block !important;
            max-height: 200px !important;
            padding: 0.5rem 0 !important;
            opacity: 1;
        }

        .dropdown > a {
            cursor: pointer;
        }

        .nav-right .login-btn {
            display: none;
        }

        .nav-links.active li.login-mobile {
            display: block;
        }
    }
}

/* Tablettes en mode paysage (1024px - 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
    .section {
        padding: 4.5rem 4%;
    }

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

    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

/* Orientation paysage pour mobiles */
@media (max-width: 768px) and (orientation: landscape) {
    .carousel {
        height: 100vh;
        min-height: 100vh;
    }

    .page-header {
        height: 100vh;
        min-height: 100vh;
    }

    .content-nav {
        position: relative;
        top: 0;
    }
}

/* Amélioration pour les très grands écrans */
@media (min-width: 1920px) {
    .section,
    .contact-section,
    .photo-section,
    .video-section {
        max-width: 1600px;
    }

    nav {
        max-width: 1600px;
    }

    .content-wrapper {
        max-width: 1600px;
    }
}

/* Amélioration de l'accessibilité tactile sur mobile */
@media (hover: none) and (pointer: coarse) {
    .nav-links a,
    .cta-button,
    .submit-btn,
    .event-btn,
    .nav-pill {
        min-height: 44px;
        min-width: 44px;
    }

    .dot {
        width: 14px;
        height: 14px;
    }
}

/* Prévention du zoom sur les inputs iOS */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Amélioration générale pour tous les écrans */
@media (max-width: 1200px) {
    .section,
    .contact-section,
    .photo-section,
    .video-section,
    .content-section {
        padding-left: 3%;
        padding-right: 3%;
    }
}

/* Amélioration pour les tablettes */
@media (min-width: 481px) and (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

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

    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* Amélioration pour les écrans moyens */
@media (min-width: 769px) and (max-width: 991px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

/* S'assurer que tous les éléments flex sont responsive */
@media (max-width: 768px) {
    .content-nav-inner,
    .nav-right,
    .lang-selector,
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Masquer le bouton de connexion dans nav-right car il est déjà dans le burger */
    .nav-right .login-btn {
        display: none !important;
    }

    /* Améliorer les espacements */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        word-wrap: break-word;
        hyphens: auto;
    }

    /* S'assurer que les tableaux sont scrollables */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Amélioration pour les très petits écrans en mode paysage */
@media (max-width: 568px) and (orientation: landscape) {
    .carousel {
        height: 100vh;
    }

    .page-header {
        height: 100vh;
    }

    .content-nav {
        position: relative;
        top: 0;
    }
}
