:root {
    --primary-yellow: #FFD600;
    --primary-black: #121212;
    --primary-white: #FFFFFF;
    --primary-red: #D50000;
    --secondary-yellow: #FFEB3B;
    --light-yellow: #FFF9C4;
    --dark-red: #B71C1C;
    --light-red: #FFCDD2;
    --dark-gray: #424242;
    --light-gray: #F5F5F5;
    --accent-blue: #2196F3;
    --accent-green: #4CAF50;
    --accent-purple: #9C27B0;
    --accent-orange: #FF9800;
    --text-dark: #212121;
    --text-light: #757575;
    --gradient-dark: linear-gradient(90deg, var(--primary-black) 0%, var(--dark-gray) 100%);
    --gradient-yellow: linear-gradient(90deg, var(--primary-yellow) 0%, var(--secondary-yellow) 100%);
    --gradient-red: linear-gradient(90deg, var(--primary-red) 0%, var(--dark-red) 100%);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, var(--light-yellow) 0%, var(--primary-white) 100%);
    color: var(--text-dark);
    scroll-behavior: smooth;
}

/* Animation d'entrée pour les sections */
.animate-entry {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Styles */
.navbar {
    background: linear-gradient(90deg, var(--primary-black) 0%, var(--dark-gray) 100%);
    box-shadow: none;
    padding: 0px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 70% 30%, var(--primary-yellow) 0%, transparent 15%);
    opacity: 0.2;
    z-index: 0;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 28px;
    color: var(--primary-yellow) !important;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand .navbar-logo {
    height: 100px;
    margin-right: 50px;
}

.navbar-nav .nav-link {
    color: var(--primary-white);
    font-weight: 500;
    margin: 0 10px;
    padding: 10px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary-yellow);
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--primary-yellow);
    border-radius: 1.5px;
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.search-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1000;
}

.search-bar:hover {
    background: var(--primary-yellow);
    color: var(--primary-black);
}

.search-bar.active {
    width: 375px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    justify-content: space-between;
    padding: 0 10px;
}

.search-input {
    background: none;
    border: none;
    color: var(--primary-white);
    padding: 10px 15px;
    outline: none;
    width: 0;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    font-size: 16px;
}

.search-bar.active .search-input {
    width: 250px;
    opacity: 1;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-btn {
    background: none;
    border: none;
    color: var(--primary-white);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
    top: 0;
    flex-shrink: 0;
}

.search-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar.active .search-btn {
    position: static;
    width: 40px;
    height: 40px;
}

.search-bar:hover .search-btn {
    color: var(--primary-black);
}

.search-btn:hover {
    transform: scale(1.2);
}

.profile-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--primary-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.profile-btn i {
    font-size: 22px;
}

.profile-btn:hover {
    background: var(--primary-yellow);
    color: var(--primary-black);
    transform: scale(1.1);
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../image/about-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--primary-white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(213,0,0,0.3) 0%, rgba(255,214,0,0.3) 100%);
    z-index: 0;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.hero-section:hover::before {
    transform: translateY(-10px);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    max-width: 700px;
    line-height: 1.6;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.hero-section:hover .hero-subtitle {
    opacity: 1;
}

.btn-hero {
    background: var(--gradient-red);
    color: var(--primary-white);
    border: none;
    padding: 15px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    border-radius: 30px;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(213,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.btn-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.4s ease;
}

.btn-hero:hover::after {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(213,0,0,0.4);
}

/* Pulse Button Animation */
.pulse-btn {
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    }
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--gradient-dark);
    color: var(--primary-white);
    position: relative;
}

.about-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 80%, var(--primary-red) 0%, transparent 10%);
    opacity: 0.1;
    z-index: 0;
}

.section-header {
    margin-bottom: 40px;
    text-align: left;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-white);
    position: relative;
    display: inline-block;
    cursor: default;
    margin-bottom: 50px;
    transition: color 0.3s ease;
}

.section-title:hover {
    color: var(--primary-yellow);
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-red));
    border-radius: 2.5px;
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 150px;
}

.about-card {
    background: linear-gradient(135deg, var(--primary-white) 0%, var(--light-gray) 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.about-content {
    padding: 25px;
    text-align: left;
}

.about-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.highlight-box {
    background: var(--gradient-yellow);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background-color: var(--primary-red);
    border-radius: 0 0 0 80px;
    opacity: 0.2;
}

.highlight-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-black);
    position: relative;
    z-index: 1;
}

.highlight-text {
    color: var(--primary-black);
    position: relative;
    z-index: 1;
    font-size: 16px;
    line-height: 1.7;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-box {
    background: var(--gradient-dark);
    color: var(--primary-white);
    border-radius: 15px;
    padding: 25px;
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 70% 30%, var(--primary-yellow) 0%, transparent 15%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-box:hover::before {
    opacity: 0.2;
}

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

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--primary-yellow);
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
    color: var(--primary-white);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Team member styles (original design) */
.team-member {
    background: linear-gradient(135deg, var(--primary-white) 0%, var(--light-gray) 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Team member in scroll grid (fixed size) */
.team-member-scroll {
    flex-shrink: 0;
    width: 350px;
    min-width: 350px;
    max-width: 350px;
    height: auto;
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-yellow);
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 48px;
    color: var(--primary-black);
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(255,214,0,0.3);
    overflow: hidden;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.member-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--primary-black);
    position: relative;
    z-index: 1;
}

.member-role {
    color: var(--primary-red);
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.member-bio {
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    font-size: 15px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

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

.social-links a:hover {
    background: var(--gradient-yellow);
    color: var(--primary-black);
    transform: translateY(-3px);
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background: var(--gradient-dark);
    color: var(--primary-white);
    position: relative;
}

.video-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 70% 20%, var(--primary-red) 0%, transparent 10%);
    opacity: 0.1;
    z-index: 0;
}

.video-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

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

.video-info {
    background: linear-gradient(135deg, var(--primary-white) 0%, var(--light-gray) 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.video-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, var(--primary-yellow) 0%, transparent 15%);
    opacity: 0.1;
    z-index: 0;
}

.video-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-black);
    position: relative;
    z-index: 1;
}

.video-description {
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    font-size: 16px;
    line-height: 1.7;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: var(--gradient-dark);
    color: var(--primary-white);
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../image/pattern.png') repeat;
    opacity: 0.05;
    z-index: 0;
}

.gallery-carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
    padding-top: 30px;
    padding-bottom: 20px;
}

.gallery-carousel {
    display: flex;
    gap: 30px;
    animation: scroll-infinite 40s linear infinite;
    width: fit-content;
    will-change: transform;
}

.gallery-carousel:hover {
    animation-play-state: paused;
}

/* Animation de défilement infini - s'arrête à 25% pour créer une boucle parfaite avec 4 items dupliqués 3 fois (16 items) */
@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-25% - 7.5px));
    }
}

.gallery-item {
    position: relative;
    flex-shrink: 0;
    width: 450px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 214, 0, 0.3);
    z-index: 10;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.9) 60%, rgba(0, 0, 0, 0.6) 85%, transparent 100%);
    padding: 25px;
    padding-top: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-date {
    font-size: 14px;
    font-weight: 600;
    color: #FFD600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.gallery-description {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
}

.gallery-item:hover .gallery-description {
    opacity: 1;
    transform: translateY(0);
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(90deg, var(--primary-black) 0%, var(--dark-gray) 100%);
    color: var(--primary-white);
    padding: 60px 0 30px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}


footer p, footer a, footer h5 {
    color: var(--primary-white);
}

footer h5 {
    color: var(--primary-yellow) !important;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 32px;
    color: var(--primary-yellow);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-logo::before {
    position: absolute;
    left: -40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-white);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-yellow) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    font-size: 22px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 214, 0, 0.6);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 500;
    background-color: rgba(255,255,255,0.05);
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--primary-yellow);
}

.copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 214, 0, 0.2);
    text-align: center;
    color: var(--primary-white);
}

.copyright p {
    color: var(--primary-white);
    margin: 0;
}

/* Responsive */
@media (prefers-reduced-motion: reduce) {
    .animate-entry, .pulse-btn, .bounce-btn, .about-card, .team-member, .gallery-item, .pulse-icon {
        animation: none;
        transition: none;
    }
}

/* Responsive - Header Mobile */
@media (max-width: 992px) {
    .navbar {
        padding: 10px 0;
    }
    
    .navbar-brand {
        font-size: 22px;
    }
    
    .navbar-brand .navbar-logo {
        height: 60px;
        margin-right: 15px;
    }
    
    .navbar-nav .nav-link {
        font-size: 15px;
        margin: 0 5px;
        padding: 8px 12px;
    }
    
    .navbar-actions {
        gap: 8px;
    }
    
    .search-bar {
        width: 44px;
        height: 44px;
    }
    
    .search-bar.active {
        width: calc(100vw - 120px);
        max-width: 320px;
    }
    
    .search-bar.active .search-input {
        width: calc(100% - 60px);
        margin-right: 10px;
    }
    
    .profile-btn {
        width: 44px;
        height: 44px;
    }
    
    .search-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .navbar-toggler {
        border: 2px solid rgba(255, 255, 255, 0.3);
        padding: 6px 10px;
        background-color: rgba(255, 255, 255, 0.1);
        z-index: 1001;
        position: relative;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 214, 0, 0.25);
        border-color: var(--primary-yellow);
    }
    
    .navbar-toggler:hover {
        background-color: rgba(255, 255, 255, 0.15);
        border-color: var(--primary-yellow);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    .navbar-collapse {
        background-color: rgba(18, 18, 18, 0.98);
        margin-top: 10px;
        padding: 15px;
        border-radius: 10px;
        border: 1px solid rgba(255, 214, 0, 0.2);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 8px 0;
    }
    
    .navbar-brand {
        font-size: 20px;
    }
    
    .navbar-brand .navbar-logo {
        height: 50px;
        margin-right: 12px;
    }
    
    .navbar-nav {
        padding: 15px 0;
    }
    
    .navbar-nav .nav-link {
        font-size: 16px;
        margin: 5px 0;
        padding: 10px 15px;
        display: block;
        text-align: center;
    }
    
    .navbar-nav .nav-link.active::after {
        display: none;
    }
    
    .navbar-actions {
        gap: 10px;
        margin-top: 10px;
        justify-content: center;
    }
    
    .search-bar {
        width: 40px;
        height: 40px;
    }
    
    .search-bar.active {
        width: calc(100vw - 100px);
        max-width: 280px;
    }
    
    .search-input {
        font-size: 14px;
    }
    
    .search-bar.active .search-input {
        width: calc(100% - 50px);
        margin-right: 8px;
    }
    
    .search-btn {
        font-size: 16px;
        width: 36px;
        height: 36px;
        left: 2px;
    }
    
    .search-bar.active .search-btn {
        width: 32px;
        height: 32px;
    }
    
    .profile-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .navbar-toggler {
        border: 2px solid rgba(255, 255, 255, 0.3);
        padding: 5px 8px;
        background-color: rgba(255, 255, 255, 0.1);
        z-index: 1001;
        position: relative;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 214, 0, 0.25);
        border-color: var(--primary-yellow);
    }
    
    .navbar-toggler:hover {
        background-color: rgba(255, 255, 255, 0.15);
        border-color: var(--primary-yellow);
    }
    
    .navbar-toggler-icon {
        width: 20px;
        height: 20px;
    }
    
    .navbar-collapse {
        background-color: rgba(18, 18, 18, 0.98);
        margin-top: 15px;
        padding: 15px;
        border-radius: 10px;
        border: 1px solid rgba(255, 214, 0, 0.2);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    }
    
    .navbar-collapse.show {
        display: block !important;
    }
    
    /* Carrousel galerie responsive */
    .gallery-item {
        width: 340px;
        height: 220px;
    }
    
    .gallery-carousel {
        gap: 20px;
        animation: scroll-infinite 35s linear infinite;
    }
    
    .gallery-overlay {
        padding: 18px;
        /* Sur mobile, afficher légèrement l'overlay par défaut */
        opacity: 0.7;
        transform: translateY(0);
    }
    
    .gallery-item:hover .gallery-overlay {
        opacity: 1;
    }
    
    .gallery-title {
        font-size: 14px;
        line-height: 1.2;
        margin-bottom: 6px;
    }
    
    .gallery-date {
        font-size: 11px;
        letter-spacing: 0.5px;
        margin-bottom: 8px;
    }
    
    .gallery-description {
        font-size: 12px;
        line-height: 1.4;
        /* Sur mobile, masquer par défaut pour éviter surcharge */
        opacity: 0;
    }
    
    .gallery-item:hover .gallery-description {
        opacity: 1;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .about-text, .highlight-text, .video-description, .member-bio {
        font-size: 14px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .social-icons {
        justify-content: center;
    }
    
    /* Footer Mobile Styles */
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .footer-logo {
        font-size: 26px;
        text-align: center;
        display: block;
        margin-bottom: 15px;
    }
    
    .footer-logo::before {
        display: none;
    }
    
    footer .col-lg-4 {
        text-align: center;
        margin-bottom: 30px;
    }
    
    footer .col-lg-4:last-of-type {
        margin-bottom: 0;
    }
    
    footer p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 8px;
    }
    
    footer h5 {
        font-size: 18px;
        margin-bottom: 15px !important;
    }
    
    .social-icons {
        justify-content: center;
        gap: 12px;
        margin-top: 15px;
    }
    
    .social-icons a {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .footer-links a {
        padding: 12px 20px;
        font-size: 15px;
        display: block;
        width: 100%;
        text-align: center;
        border-radius: 10px;
        background-color: rgba(255, 255, 255, 0.08);
        transition: all 0.3s ease;
    }
    
    .footer-links a:hover {
        background-color: rgba(255, 214, 0, 0.2);
        transform: translateX(5px);
        color: var(--primary-yellow);
    }
    
    .copyright {
        margin-top: 30px;
        padding-top: 20px;
        text-align: center;
    }
    
    .copyright p {
        font-size: 13px;
        opacity: 0.9;
    }
}

/* ============================================
   PARTNERS SECTION - Bande défilante
   ============================================ */
.partners-section {
    padding: 3rem 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(circle at 70% 30%, var(--primary-yellow) 0%, transparent 15%);
    opacity: 0.15;
}

.partners-section .container {
    position: relative;
    z-index: 1;
}

.partners-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-white);
}

.partners-section .section-title::after {
    display: none;
}

.partners-section .partners-empty {
    color: rgba(255, 255, 255, 0.7);
}

.partners-band-wrapper {
    overflow: hidden;
    width: 100%;
    /* Masque plus doux pour ne pas couper les logos sur les bords */
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.partners-band-inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 1.25rem 2rem 2.5rem;
    animation: partnersScroll 35s linear infinite;
    width: max-content;
}

.partners-band-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    width: 220px;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 214, 0, 0.2);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    position: relative;
}

/* Tooltip au survol : nom du partenaire (sous le logo pour ne pas être coupée) */
.partners-band-item-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.92);
    color: var(--primary-white);
    font-size: 0.85rem;
    white-space: nowrap;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.partners-band-item-tooltip::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -6px;
    border: 6px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.92);
}

.partners-band-item:hover .partners-band-item-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(8px);
}

.partners-band-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 214, 0, 0.08);
    border-color: rgba(255, 214, 0, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.partners-band-item img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    min-height: 50px;
    object-fit: contain;
    filter: grayscale(0.2) brightness(1.05);
    transition: filter 0.3s ease;
}

.partners-band-item:hover img {
    filter: grayscale(0) brightness(1.1);
}

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

@media (max-width: 768px) {
    .partners-band-item {
        height: 85px;
        width: 150px;
        padding: 0.75rem 1rem;
        border-radius: 10px;
    }
    .partners-band-inner {
        gap: 2rem;
    }
}