/* Palette de couleurs: Rouge, Blanc, Jaune, Bleu */
:root {
    --primary-red: #dc2626;
    --secondary-red: #ef4444;
    --light-red: #fee2e2;
    --primary-blue: #2563eb;
    --secondary-blue: #3b82f6;
    --light-blue: #dbeafe;
    --primary-yellow: #eab308;
    --secondary-yellow: #fbbf24;
    --light-yellow: #fef3c7;
    --white: #ffffff;
    --light-gray: #f9fafb;
    --gray: #6b7280;
    --dark-gray: #374151;
    --border-gray: #e5e7eb;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-gray);
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 16px;
}

/* Ajustement de la taille de base pour différents écrans */
@media (min-width: 1921px) {
    body {
        font-size: 18px;
    }
}

@media (min-width: 2560px) {
    body {
        font-size: 20px;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

/* Container responsive pour la page contact */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 1025px) and (max-width: 1400px) {
    .contact-grid {
        gap: 1.5rem;
    }
}

@media (min-width: 1401px) {
    .contact-grid {
        gap: 2.5rem;
    }
}

/* Container responsive pour différentes tailles d'écran */
@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
        padding: 0 50px;
    }
}
}

@media (min-width: 1921px) {
    .container {
        max-width: 2000px;
        padding: 0 60px;
    }
}

@media (min-width: 2560px) {
    .container {
        max-width: 2600px;
        padding: 0 80px;
    }
}

/* Menu Hamburger Flottant */
.floating-menu-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.floating-menu-toggle.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Sur les petits écrans, le menu hamburger est toujours visible */
@media (max-width: 768px) {
    .floating-menu-toggle {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Cacher le menu de navigation principal sur mobile */
    .nav-menu {
        display: none !important;
    }
}

.floating-menu-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.floating-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.floating-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.floating-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.floating-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.floating-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 90vw;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
}

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

.floating-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-menu-header h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0;
}

.floating-menu-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.floating-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.floating-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.floating-menu-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-menu-list a {
    display: block;
    padding: 1.25rem 1.5rem;
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.floating-menu-list a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--white);
    padding-left: 2rem;
}

.floating-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .floating-menu-toggle {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        display: flex !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    .floating-menu-toggle span {
        width: 24px;
        height: 2.5px;
    }
    
    /* S'assurer que le menu principal est caché */
    .nav-menu {
        display: none !important;
    }
}

/* Navigation Moderne */
.navbar {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.nav-brand {
    flex-shrink: 0;
}

.nav-brand-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-brand-link:hover {
    transform: scale(1.05);
}

.nav-brand-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav-brand-link:hover::after {
    width: 100%;
}

.nav-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.nav-brand-link:hover .nav-logo {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.nav-brand-text {
    white-space: nowrap;
}

/* Wrapper pour les menus */
.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex: 1;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu-main {
    gap: 0.5rem;
}

.nav-menu-user {
    gap: 0.75rem;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.nav-menu-user::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3), transparent);
}

/* Sur mobile, cacher le menu principal */
@media (max-width: 768px) {
    .nav-menu-wrapper {
        display: none !important;
    }
    
    .nav-brand-link .nav-logo {
        height: 40px;
    }
    .nav-brand-text {
        font-size: 1.2rem;
    }
}

.nav-menu li {
    position: relative;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: rgba(255,255,255,0);
    transition: background 0.3s ease;
    z-index: -1;
}

.nav-link:hover {
    transform: translateY(-2px);
    color: var(--white);
}

.nav-link:hover::before {
    width: 70%;
}

.nav-link:hover::after {
    background: rgba(255,255,255,0.1);
}

/* Styles spécifiques pour les liens utilisateur */
.nav-link-user {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.nav-link-user:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
}

.nav-link-admin {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2) 0%, rgba(234, 179, 8, 0.1) 100%);
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.nav-link-admin:hover {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.3) 0%, rgba(234, 179, 8, 0.2) 100%);
    border-color: rgba(234, 179, 8, 0.5);
}

.nav-link-staff {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.nav-link-staff:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(37, 99, 235, 0.2) 100%);
    border-color: rgba(37, 99, 235, 0.5);
}

.nav-link-login {
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.1) 100%);
    border: 1px solid rgba(255,255,255,0.2);
    font-weight: 600;
}

.nav-link-login:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.15) 100%);
    border-color: rgba(255,255,255,0.4);
}

.nav-link-logout {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.nav-link-logout:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.3) 0%, rgba(220, 38, 38, 0.2) 100%);
    border-color: rgba(220, 38, 38, 0.5);
}

/* Styles pour les différents rôles */
.nav-link-manager {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.nav-link-manager:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(34, 197, 94, 0.2) 100%);
    border-color: rgba(34, 197, 94, 0.5);
}

.nav-link-marketing {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.nav-link-marketing:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(168, 85, 247, 0.2) 100%);
    border-color: rgba(168, 85, 247, 0.5);
}

.nav-link-caissier {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(249, 115, 22, 0.1) 100%);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.nav-link-caissier:hover {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.3) 0%, rgba(249, 115, 22, 0.2) 100%);
    border-color: rgba(249, 115, 22, 0.5);
}

.nav-link-securite {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.1) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.nav-link-securite:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3) 0%, rgba(239, 68, 68, 0.2) 100%);
    border-color: rgba(239, 68, 68, 0.5);
}

.nav-link-media {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(236, 72, 153, 0.1) 100%);
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.nav-link-media:hover {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3) 0%, rgba(236, 72, 153, 0.2) 100%);
    border-color: rgba(236, 72, 153, 0.5);
}

/* Menu déroulant (Dropdown) */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    position: relative;
    padding-right: 1.5rem;
}

.nav-dropdown > a::after {
    content: '▼';
    position: absolute;
    right: 0.5rem;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover > a::after {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--dark-gray);
    text-decoration: none;
    transition: background-color 0.2s ease;
    border: none;
    background: transparent;
    border-radius: 0;
}

.nav-dropdown-menu a:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
}

/* Menu hamburger - Section title */
.menu-section-title {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-gray);
    margin-top: 0.5rem;
}

.menu-section-title:first-child {
    margin-top: 0;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
}

.main-content > .container:first-child {
    margin-top: 0;
}

/* Flash Messages */
.flash-messages {
    max-width: 1200px;
    margin: 0 auto 1rem;
    padding: 0 20px;
    text-align: center;
}

.alert {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    border-left: 4px solid;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    animation: slideInDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
    opacity: 0.3;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #10b981;
    color: #065f46;
}

.alert-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #ef4444;
    color: #991b1b;
}

.alert-info {
    background: linear-gradient(135deg, var(--light-blue) 0%, #bfdbfe 100%);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* Buttons Modernes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn::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;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1d4ed8 100%);
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, var(--primary-blue) 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--gray) 0%, var(--dark-gray) 100%);
    color: var(--white);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--gray) 100%);
}

.btn-success {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-yellow) 100%);
    color: var(--dark-gray);
    font-weight: 600;
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--secondary-yellow) 0%, var(--primary-yellow) 100%);
}

.btn-danger {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
    color: var(--white);
}

.btn-danger:hover {
    background: linear-gradient(135deg, var(--secondary-red) 0%, var(--primary-red) 100%);
}

/* Forms Modernes */
.form-group {
    margin-bottom: 1.75rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.form-control:hover:not(:focus) {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

/* Tables */
.table-container {
    background-color: var(--white);
    border-radius: 8px;
    overflow-x: auto;
    overflow-y: visible;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    -webkit-overflow-scrolling: touch; /* Smooth scrolling sur mobile */
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Largeur minimale pour éviter la compression */
}

table thead {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    color: var(--white);
}

table th,
table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-gray);
}

table tbody tr:hover {
    background-color: var(--light-gray);
}

table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

/* Cards */
/* Cards Modernes avec Glassmorphism */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(220, 38, 38, 0.1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
    border-color: rgba(220, 38, 38, 0.2);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover::after {
    opacity: 1;
}

.card-header {
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.card-header h2 {
    color: var(--primary-red);
    margin: 0;
}

/* ========== SYSTÈME DE GRILLE MODERNE ET UNIFIÉ ========== */
.grid {
    display: grid;
    gap: 1.5rem;
    width: 100%;
}

/* Grille 2 colonnes - Optimisée pour les cartes larges */
.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 2rem;
}

/* Grille 3 colonnes - Standard pour les cartes moyennes */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
    align-items: stretch;
    width: 100%;
}

/* Grille 4 colonnes - Pour les cartes compactes */
.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.75rem;
}

/* Grille de contact optimisée */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
    align-items: start;
}

.contact-form-card,
.contact-info-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0; /* Permet au contenu de s'adapter */
}

.contact-info-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.contact-info-item {
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-social {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Responsive pour la page contact */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-card,
    .contact-info-card {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        gap: 1.25rem;
        margin-top: 1rem;
    }
    
    .contact-info-content {
        padding: 1.25rem;
    }
    
    .contact-info-item {
        margin-bottom: 1.25rem;
    }
    
    .contact-info-item h3 {
        font-size: 1.1rem;
    }
    
    .contact-info-item p {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .contact-grid {
        gap: 1rem;
    }
    
    .contact-info-content {
        padding: 1rem;
    }
    
    .contact-info-item {
        margin-bottom: 1rem;
    }
}

/* Animation d'apparition pour les cartes dans les grilles */
.grid > * {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    opacity: 0;
}

.grid > *:nth-child(1) { animation-delay: 0.05s; }
.grid > *:nth-child(2) { animation-delay: 0.1s; }
.grid > *:nth-child(3) { animation-delay: 0.15s; }
.grid > *:nth-child(4) { animation-delay: 0.2s; }
.grid > *:nth-child(5) { animation-delay: 0.25s; }
.grid > *:nth-child(6) { animation-delay: 0.3s; }
.grid > *:nth-child(7) { animation-delay: 0.35s; }
.grid > *:nth-child(8) { animation-delay: 0.4s; }
.grid > *:nth-child(n+9) { animation-delay: 0.45s; }

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

/* Grid spécifique pour exactement 3 éléments - Utilise maintenant grid-3 */
.grid-3-exact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
    align-items: stretch;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-yellow) 100%);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-red);
}

.stat-card h3 {
    color: var(--gray);
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.stat-card .stat-value {
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Footer */
/* Footer Moderne */
.footer {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #1f2937 100%);
    color: var(--white);
    text-align: center;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-top: 4px solid var(--primary-red);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(220, 38, 38, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Icônes sociales */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-icon::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.4s, height 0.4s;
}

.social-icon:hover::before {
    width: 100px;
    height: 100px;
}

.social-icon:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    z-index: 0;
}

.social-icon svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--primary-red);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.social-icon:hover svg {
    transform: scale(1.1) rotate(5deg);
    color: var(--white);
}

/* Animation au survol spécifique pour chaque icône */
.social-icon:nth-child(1):hover {
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    border-color: var(--primary-blue);
}

.social-icon:nth-child(2):hover {
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
    border-color: #1877f2;
}

.social-icon:nth-child(3):hover {
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
    border-color: #e1306c;
}

.social-icon:nth-child(4):hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    border-color: #25d366;
}

/* Responsive pour les icônes sociales */
@media (max-width: 768px) {
    .social-icons {
        gap: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .social-icons {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* Icônes sociales flottantes */
.floating-social-icons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.floating-social-icon::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.4s ease, height 0.4s ease;
}

.floating-social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.floating-social-icon svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.floating-social-icon:hover {
    transform: scale(1.15) translateX(-5px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
}

.floating-social-icon:hover svg {
    transform: scale(1.2) rotate(5deg);
}

/* Animation d'apparition */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px) translateY(-50%);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(-50%);
    }
}

.floating-social-icons {
    animation: slideInRight 0.6s ease-out;
}

/* Responsive pour les icônes flottantes */
@media (max-width: 768px) {
    .floating-social-icons {
        right: 15px;
        gap: 0.75rem;
    }
    
    .floating-social-icon {
        width: 50px;
        height: 50px;
    }
    
    .floating-social-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .floating-social-icons {
        right: 10px;
        gap: 0.5rem;
    }
    
    .floating-social-icon {
        width: 45px;
        height: 45px;
    }
    
    .floating-social-icon svg {
        width: 16px;
        height: 16px;
    }
}

/* Masquer les icônes flottantes sur très petits écrans si nécessaire */
@media (max-width: 360px) {
    .floating-social-icons {
        display: none;
    }
}

/* Product/Activity Cards */
.product-card,
.activity-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(220, 38, 38, 0.1);
    position: relative;
    background: linear-gradient(135deg, var(--white) 0%, rgba(249, 250, 251, 1) 100%);
}

/* Effet de brillance au survol */
/* Effet de brillance au survol */
.product-card::after,
.activity-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 3;
}

/* Effet de lumière au survol */
.product-card:hover,
.activity-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 0 30px rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
}

.product-card:hover::after,
.activity-card:hover::after {
    transform: scaleX(1);
}

.product-card img,
.activity-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
    background-color: var(--light-gray);
    padding: 0.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    position: relative;
    z-index: 1;
}

.product-card:hover img,
.activity-card:hover img {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.05);
}

/* Overlay moderne sur les images */
.product-card::before,
.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.product-card:hover::before,
.activity-card:hover::before {
    opacity: 1;
}

.product-card-body,
.activity-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card h3,
.activity-card h3 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.product-card .price,
.activity-card .price {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1rem;
}

/* Dashboard */
.dashboard-header {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(220, 38, 38, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 100%);
}

.dashboard-header h1 {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-align: center;
}

/* Hero Section Moderne Premium */
.hero-section-modern {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    overflow: hidden;
    will-change: opacity;
}

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

.hero-carousel-slide.prev,
.hero-carousel-slide.next {
    opacity: 0;
    z-index: 1;
}

.hero-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    transition: transform 8s ease-out, filter 2s ease-in-out;
    filter: brightness(0.75);
    will-change: transform, filter;
}

.hero-carousel-slide.active img {
    transform: scale(1);
    filter: brightness(0.85);
}

/* Animation de zoom léger pour l'effet Ken Burns */
@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

.hero-carousel-slide.active img {
    animation: kenBurns 10s ease-in-out infinite alternate;
}

.hero-video-modern,
.hero-image-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(220, 38, 38, 0.85) 0%,
        rgba(37, 99, 235, 0.75) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
}

.hero-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: 3;
}

.hero-content-modern {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-text-modern {
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

.hero-badge-text {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
}

.hero-title-modern {
    margin: 0;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-title-line {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    animation: slideInLeft 1s ease-out 0.6s both;
}

.hero-title-main {
    display: block;
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    animation: slideInRight 1s ease-out 0.8s both;
    position: relative;
}

.hero-title-main::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-yellow), transparent);
    animation: expandLine 1s ease-out 1.2s both;
}

.hero-subtitle-modern {
    font-size: clamp(1.1rem, 2.5vw, 1.75rem);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 1s both;
}

.highlight-text {
    color: var(--primary-yellow);
    font-weight: 600;
    text-shadow: 0 0 20px rgba(234, 179, 8, 0.5);
}

.hero-buttons-modern {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-hero svg {
    transition: transform 0.3s ease;
}

.btn-hero:hover svg {
    transform: translateX(5px);
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.6);
    background: linear-gradient(135deg, var(--secondary-red) 0%, var(--primary-red) 100%);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.9rem;
    opacity: 0.8;
    animation: fadeIn 1s ease-out 1.4s both, bounce 2s infinite 2s;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

@media (max-width: 768px) {
    .hero-section-modern {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-title-line {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .hero-title-main {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-modern {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn-hero {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-buttons-modern {
        gap: 1rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-section-modern {
        min-height: 450px;
    }
    
    .hero-content-modern {
        padding: 0 1rem;
    }
    
    .hero-badge-text {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
    
    .hero-title-main {
        font-size: 2rem;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
}

/* Hero Section (ancienne - gardée pour compatibilité) */
.hero-section {
    width: 100%;
    margin-bottom: 3rem;
}

.hero-content {
    width: 100%;
    position: relative;
}

.hero-video-container {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero-video,
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.8) 0%, rgba(37, 99, 235, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-text {
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

/* Info Sections */
.info-section {
    margin: 4rem 0;
}

.info-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-yellow) 100%);
    padding: 3.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid var(--primary-red);
    max-width: 100%;
}

.info-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.info-card h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.info-card ul {
    text-align: left;
    max-width: 800px;
    margin: 1rem auto;
}

.info-card li {
    margin-bottom: 0.5rem;
}

/* Target Audience Grid */
.target-audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    align-items: stretch;
    transition: gap 0.3s ease, grid-template-columns 0.3s ease;
    width: 100%;
}

/* Grille des partenaires - limitée à 2 colonnes maximum */
#partenaires-grid {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 769px) {
    #partenaires-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Styles pour les textes de la page À Propos */
.info-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    transition: font-size 0.3s ease, line-height 0.3s ease;
}

.info-list {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--dark-gray);
    margin-top: 1rem;
    padding-left: 2rem;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    transition: font-size 0.3s ease, line-height 0.3s ease;
}

/* Media queries pour les textes de la page À Propos */
@media (max-width: 768px) {
    .info-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .info-list {
        font-size: 0.95rem;
        line-height: 1.7;
        padding-left: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .info-text {
        font-size: 1rem;
        line-height: 1.75;
    }
    
    .info-list {
        font-size: 1rem;
        line-height: 1.75;
    }
}

@media (min-width: 1025px) and (max-width: 1400px) {
    .info-text {
        font-size: 1.05rem;
        line-height: 1.8;
    }
    
    .info-list {
        font-size: 1.05rem;
        line-height: 1.8;
    }
}

@media (min-width: 1401px) and (max-width: 1920px) {
    .info-text {
        font-size: 1.1rem;
        line-height: 1.85;
    }
    
    .info-list {
        font-size: 1.1rem;
        line-height: 1.85;
    }
}

@media (min-width: 1921px) {
    .info-text {
        font-size: 1.3rem;
        line-height: 2;
    }
    
    .info-list {
        font-size: 1.3rem;
        line-height: 2;
    }
}

@media (min-width: 2560px) {
    .info-text {
        font-size: 1.5rem;
        line-height: 2.2;
    }
    
    .info-list {
        font-size: 1.5rem;
        line-height: 2.2;
    }
}

/* ========== STYLES POUR LA PAGE MENU ========== */

/* Onglets du menu */
.menu-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--light-gray);
    padding-bottom: 0;
}

.menu-tab {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--gray);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    bottom: -3px;
}

.menu-tab:hover {
    color: var(--primary-red);
    background: rgba(220, 38, 38, 0.05);
}

.menu-tab.active {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
    background: rgba(220, 38, 38, 0.05);
}

.menu-tab span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.menu-tab:hover span {
    transform: translateY(-2px);
}

/* Sections du menu */
.menu-section {
    display: none;
    animation: fadeInUp 0.5s ease;
}

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

.section-title {
    color: var(--primary-red);
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-red);
    text-align: center;
}

.sub-section {
    margin-bottom: 3rem;
}

.sub-section-title {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-blue);
}

/* Grille du menu */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
    align-items: stretch;
}

/* Cartes d'items du menu */
.menu-item-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    position: relative;
    min-height: 100%;
    height: 100%;
}
}

.menu-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: rgba(220, 38, 38, 0.2);
}

.menu-item-card:hover::before {
    transform: scaleX(1);
}

.menu-item-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f3f4f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0.5rem;
}

.menu-item-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    display: block;
    max-width: 100%;
    max-height: 100%;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    position: relative;
    z-index: 2;
    padding: 0.5rem;
}

/* Effet de fond basé sur l'image avec blur et couleurs */
.menu-item-image {
    background: linear-gradient(
        135deg,
        rgba(220, 38, 38, 0.08) 0%,
        rgba(37, 99, 235, 0.08) 50%,
        rgba(234, 179, 8, 0.08) 100%
    );
}

.menu-item-image.has-image-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.menu-item-image.has-image-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(30px) brightness(1.1) saturate(1.4);
    opacity: 0.4;
    z-index: 0;
    transform: scale(1.2);
    background-size: cover;
    background-position: center;
}

.menu-item-image.has-image-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(0, 0, 0, 0.05) 100%
    );
    z-index: 1;
    pointer-events: none;
}

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

.menu-item-image-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--light-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 3rem;
}

.menu-item-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 0;
}

.menu-item-name {
    color: var(--primary-red);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.menu-item-description {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.menu-item-price {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.menu-add-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.empty-section {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--gray);
    background: var(--light-gray);
    border-radius: 12px;
    margin: 2rem 0;
}

.empty-section p {
    font-size: 1.1rem;
    margin: 0;
}

/* Media queries pour le menu */
@media (max-width: 768px) {
    .menu-tabs {
        gap: 0.5rem;
    }
    
    .menu-tab {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        flex: 1;
        min-width: 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .sub-section-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .menu-item-image,
    .menu-item-image-placeholder {
        height: 220px;
    }
    
    .menu-item-image img {
        object-fit: contain;
        object-position: center;
    }
    
    .menu-item-body {
        padding: 1.25rem;
    }
    
    .menu-item-name {
        font-size: 1.1rem;
    }
    
    .menu-item-description {
        font-size: 0.9rem;
    }
    
    .menu-item-price {
        font-size: 1.3rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 1401px) {
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
        gap: 2rem;
    }
    
    .menu-item-image,
    .menu-item-image-placeholder {
        height: 300px;
    }
    
    .menu-item-image img {
        object-fit: contain;
        object-position: center;
    }
}

.audience-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 1.75rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-blue);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.audience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.audience-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-left-color: var(--primary-red);
}

.audience-card:hover::before {
    transform: scaleY(1);
}

.audience-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.audience-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Product/Activity Images */
.product-image {
    width: 100%;
    height: 300px;
    min-height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px 8px 0 0;
    display: block;
}

.activity-image {
    width: 100%;
    height: 400px;
    min-height: 400px;
    object-fit: contain;
    object-position: center;
    background-color: var(--light-gray);
    border-radius: 8px 8px 0 0;
    display: block;
    padding: 1rem;
    box-sizing: border-box;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    position: relative;
    z-index: 1;
}

/* Quand l'image est dans un wrapper, ajuster les styles */
.activity-image-wrapper .activity-image {
    height: 100%;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
}

/* Wrapper pour l'image avec overlay */
.activity-image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    min-height: 400px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.activity-card:hover .activity-image-wrapper::before {
    opacity: 1;
}

.activity-card:hover .activity-image {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.05);
}

/* Ajuster la hauteur de l'image dans le wrapper */
.activity-image-wrapper .activity-image {
    height: 100%;
    padding: 1rem;
    border-radius: 0;
}

/* Styles pour les images dans le calendrier */
#calendrier-container .card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#calendrier-container .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

#calendrier-container .card > div > div:first-child {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

#calendrier-container .card > div > div:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
    border-radius: 12px;
}

#calendrier-container .card:hover > div > div:first-child::before {
    opacity: 1;
}

#calendrier-container .card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    position: relative;
    z-index: 0;
}

#calendrier-container .card:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

#calendrier-container .card > div {
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    #calendrier-container .card > div {
        flex-direction: column;
    }
    
    #calendrier-container .card > div > div:first-child {
        width: 100% !important;
        height: 250px !important;
    }
}

.product-image-placeholder {
    width: 100%;
    height: 300px;
    min-height: 300px;
    background: linear-gradient(135deg, var(--light-yellow) 0%, var(--light-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 8px 0 0;
}

.activity-image-placeholder {
    width: 100%;
    height: 400px;
    min-height: 400px;
    background: linear-gradient(135deg, var(--light-yellow) 0%, var(--light-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 8px 0 0;
}

/* ========================================================================
   RESPONSIVE DESIGN - OPTIMISATION POUR TOUS LES ÉCRANS
   ======================================================================== */

/* ========== MOBILE (jusqu'à 480px) ========== */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-brand a {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-content {
        padding: 1rem 0;
    }
    
    .dashboard-header {
        padding: 1.5rem 1rem;
    }
    
    .dashboard-header h1 {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-card .stat-value {
        font-size: 1.5rem;
    }
    
    /* Hero Section */
    .hero-video-container {
        height: 40vh;
        min-height: 300px;
        border-radius: 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Info Cards */
    .info-card {
        padding: 1.5rem 1rem;
        margin: 2rem 0;
    }
    
    .info-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .info-card h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .info-section {
        margin: 2.5rem 0;
    }
    
    .info-card {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
        border-radius: 12px;
    }
    
    .info-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }
    
    .info-card h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .info-card p,
    .info-card ul {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .info-card li {
        margin-bottom: 0.4rem;
    }
    
    .target-audience-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .audience-card {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .audience-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }
    
    .audience-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Tables */
    .table-container {
        overflow-x: auto;
    }
    
    table {
        font-size: 0.875rem;
    }
    
    table th,
    table td {
        padding: 0.75rem 0.5rem;
    }
    
    /* Cards */
    .card {
        padding: 1rem;
    }
    
    .card-header h2 {
        font-size: 1.5rem;
    }
    
    /* Grid */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1rem;
    }
    
    .contact-info-content {
        padding: 1rem;
    }
    
    .contact-info-item {
        margin-bottom: 1.25rem;
    }
    
    .product-card,
    .activity-card {
        margin-bottom: 1rem;
    }
    
    .product-image-placeholder {
        height: 200px;
    }
    
    .activity-image,
    .activity-image-placeholder {
        height: 300px;
        min-height: 300px;
    }
}

/* ========== TABLETTE (481px - 768px) ========== */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-menu-wrapper {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }
    
    .nav-menu-main {
        gap: 0.5rem;
    }
    
    .nav-menu-user {
        gap: 0.75rem;
        padding-left: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    }
    
    .nav-menu-wrapper {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }
    
    .nav-menu-main {
        gap: 0.5rem;
    }
    
    .nav-menu-user {
        gap: 0.75rem;
        padding-left: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-video-container {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .btn-large {
        min-width: 200px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-card {
        padding: 2rem 1.5rem;
    }
    
    .info-section {
        margin: 3rem 0;
    }
    
    .info-card {
        padding: 2rem 1.5rem;
        border-radius: 14px;
    }
    
    .info-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 1.25rem;
    }
    
    .info-card h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .info-card p,
    .info-card ul {
        font-size: 1rem;
        line-height: 1.75;
    }
    
    .target-audience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .audience-card {
        padding: 1.5rem;
    }
    
    .audience-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.875rem;
    }
    
    .audience-card p {
        font-size: 0.95rem;
        line-height: 1.55;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ========== LAPTOP (769px - 1024px) ========== */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 30px;
    }
    
    .nav-menu-wrapper {
        gap: 2.5rem;
    }
    
    .nav-menu-main {
        gap: 0.5rem;
    }
    
    .nav-menu-user {
        gap: 0.75rem;
        padding-left: 2rem;
    }
    
    .nav-link {
        font-size: 0.95rem;
        padding: 0.625rem 1.25rem;
    }
    
    .hero-video-container {
        height: 60vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-section {
        margin: 3.5rem 0;
    }
    
    .info-card {
        padding: 2.5rem;
        border-radius: 15px;
    }
    
    .info-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }
    
    .info-card h2 {
        font-size: 2.25rem;
        margin-bottom: 1.25rem;
    }
    
    .info-card p,
    .info-card ul {
        font-size: 1.05rem;
        line-height: 1.8;
    }
    
    .target-audience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .audience-card {
        padding: 1.75rem;
    }
    
    .audience-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .audience-card p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .grid-2 {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
        gap: 1.75rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
        gap: 1.75rem;
    }
    
    .grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
        gap: 1.5rem;
    }
}

/* ========== DESKTOP (1025px - 1920px) ========== */
@media (min-width: 1025px) and (max-width: 1920px) {
    .container {
        max-width: 1600px;
        padding: 0 50px;
    }
    
    .hero-video-container {
        height: 70vh;
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .info-section {
        margin: 4rem 0;
    }
    
    .info-card {
        padding: 3rem;
        border-radius: 16px;
    }
    
    .info-icon {
        width: 110px;
        height: 110px;
        margin-bottom: 1.75rem;
    }
    
    .info-card h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .info-card p,
    .info-card ul {
        font-size: 1.1rem;
        line-height: 1.85;
    }
    
    .target-audience-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    #partenaires-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
    
    .audience-card {
        padding: 2rem;
    }
    
    .audience-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .audience-card p {
        font-size: 1.05rem;
        line-height: 1.65;
    }
    
    .grid-2 {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
        gap: 2.5rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
        gap: 2.5rem;
    }
    
    .grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
        gap: 2rem;
    }
}

/* ========== LARGE DESKTOP / 4K (1921px - 2559px) ========== */
@media (min-width: 1921px) and (max-width: 2559px) {
    .container {
        max-width: 1800px;
        padding: 0 60px;
    }
    
    .navbar {
        padding: 1.5rem 0;
    }
    
    .nav-brand-link {
        font-size: 2rem;
    }
    
    .nav-logo {
        height: 60px;
    }
    
    .nav-menu-wrapper {
        gap: 4rem;
    }
    
    .nav-menu-main {
        gap: 0.75rem;
    }
    
    .nav-menu-user {
        gap: 1rem;
        padding-left: 3rem;
    }
    
    .nav-link {
        font-size: 1.05rem;
        padding: 0.75rem 1.5rem;
    }
    
.main-content {
    padding: 1.5rem 0;
}
    
    .dashboard-header {
        padding: 3rem;
    }
    
    .dashboard-header h1 {
        font-size: 3rem;
    }
    
    .hero-video-container {
        height: 80vh;
        min-height: 700px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 1.25rem 2.5rem;
        font-size: 1.3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .stat-card {
        padding: 2.5rem;
    }
    
    .stat-card h3 {
        font-size: 1.1rem;
    }
    
    .stat-card .stat-value {
        font-size: 2.5rem;
    }
    
    .info-card {
        padding: 4rem;
        margin: 4rem 0;
    }
    
    .info-icon {
        width: 120px;
        height: 120px;
        font-size: 4rem;
    }
    
    .info-card h2 {
        font-size: 3.5rem;
        margin-bottom: 2rem;
    }
    
    .info-card p,
    .info-card ul {
        font-size: 1.3rem;
        line-height: 2;
    }
    
    .info-card li {
        margin-bottom: 0.75rem;
    }
    
    .target-audience-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .audience-card {
        padding: 2.5rem;
    }
    
    .audience-card h3 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .audience-card p {
        font-size: 1.1rem;
        line-height: 1.8;
    }
    
    .card {
        padding: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .card-header h2 {
        font-size: 2.25rem;
    }
    
    table th,
    table td {
        padding: 1.5rem;
        font-size: 1.1rem;
    }
    
    .product-card h3,
    .activity-card h3 {
        font-size: 1.5rem;
    }
    
    .product-card .price,
    .activity-card .price {
        font-size: 1.75rem;
    }
    
    .product-image-placeholder {
        height: 300px;
    }
    
    .activity-image,
    .activity-image-placeholder,
    .activity-image-wrapper {
        height: 450px;
        min-height: 450px;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .form-control {
        padding: 1rem;
        font-size: 1.1rem;
    }
}

/* ========== ULTRA WIDE / 4K+ (2560px et plus) ========== */
@media (min-width: 2560px) {
    .container {
        max-width: 2400px;
        padding: 0 80px;
    }
    
    .navbar {
        padding: 2rem 0;
    }
    
    .nav-brand-link {
        font-size: 2.5rem;
        gap: 1rem;
    }
    
    .nav-logo {
        height: 70px;
    }
    
    .nav-menu-wrapper {
        gap: 5rem;
    }
    
    .nav-menu-main {
        gap: 1rem;
    }
    
    .nav-menu-user {
        gap: 1.25rem;
        padding-left: 4rem;
    }
    
    .nav-link {
        font-size: 1.15rem;
        padding: 0.875rem 1.75rem;
    }
    
    .main-content {
        padding: 2.5rem 0;
    }
    
    .dashboard-header {
        padding: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .info-card {
        padding: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .grid {
        gap: 2rem;
    }
    
    .grid-3-exact {
        gap: 2rem;
    }
    
    .target-audience-grid {
        gap: 2rem;
        margin-top: 2rem;
    }
    
    #partenaires-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 850px;
    }
    
    .audience-card {
        padding: 2.5rem;
    }
    
    .stats-grid {
        gap: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .dashboard-header h1 {
        font-size: 3.5rem;
    }
    
    .hero-video-container {
        height: 85vh;
        min-height: 800px;
    }
    
    .hero-title {
        font-size: 5.5rem;
    }
    
    .hero-subtitle {
        font-size: 2.5rem;
    }
    
    .btn-large {
        padding: 1.5rem 3rem;
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
    
    .stat-card {
        padding: 3rem;
    }
    
    .stat-card h3 {
        font-size: 1.2rem;
    }
    
    .stat-card .stat-value {
        font-size: 3rem;
    }
    
    .info-card {
        padding: 5rem;
        margin: 5rem 0;
    }
    
    .info-icon {
        width: 150px;
        height: 150px;
        font-size: 5rem;
    }
    
    .info-card h2 {
        font-size: 4.5rem;
        margin-bottom: 2.5rem;
    }
    
    .info-card p,
    .info-card ul {
        font-size: 1.5rem;
        line-height: 2.2;
    }
    
    .info-card li {
        margin-bottom: 1rem;
    }
    
    .target-audience-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
        margin-top: 4rem;
    }
    
    #partenaires-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }
    
    .audience-card {
        padding: 3rem;
    }
    
    .audience-card h3 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .audience-card p {
        font-size: 1.2rem;
        line-height: 2;
    }
    
    .card {
        padding: 3rem;
        margin-bottom: 2.5rem;
    }
    
    .card-header h2 {
        font-size: 2.5rem;
    }
    
    table th,
    table td {
        padding: 2rem;
        font-size: 1.2rem;
    }
    
    .product-card h3,
    .activity-card h3 {
        font-size: 1.75rem;
    }
    
    .product-card .price,
    .activity-card .price {
        font-size: 2rem;
    }
    
    .product-image-placeholder {
        height: 350px;
    }
    
    .activity-image,
    .activity-image-placeholder,
    .activity-image-wrapper {
        height: 500px;
        min-height: 500px;
    }
    
    .btn {
        padding: 1.25rem 2.5rem;
        font-size: 1.2rem;
    }
    
    .form-control {
        padding: 1.25rem;
        font-size: 1.2rem;
    }
    
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.75rem;
    }
    
    h3 {
        font-size: 2rem;
    }
}

/* ========== ORIENTATION PAYSAGE POUR TABLETTES ========== */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .hero-video-container {
        height: 70vh;
        min-height: 500px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .target-audience-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========== AMÉLIORATION DE LA LISIBILITÉ SUR GRANDS ÉCRANS ========== */
@media (min-width: 1921px) {
    /* Augmenter l'espacement entre les sections */
    section {
        margin-bottom: 4rem;
    }
    
    /* Améliorer l'espacement des lignes */
    p {
        line-height: 1.8;
    }
    
    /* Optimiser les tableaux pour grands écrans */
    .table-container {
        font-size: 1.1rem;
    }
}

/* ========================================================================
   PAGE ALCOOLS - STYLES SPÉCIFIQUES
   ======================================================================== */

/* Navigation des catégories */
.alcool-categories-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0 3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--light-yellow) 0%, var(--light-blue) 100%);
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--white);
    color: var(--primary-red);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary-red);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-link:hover {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.category-icon {
    font-size: 1.5rem;
}

/* Section catégorie */
.alcool-category-section {
    margin: 4rem 0;
    padding: 2rem 0;
    scroll-margin-top: 100px; /* Pour le scroll smooth */
}

.category-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary-red);
}

.category-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--primary-red);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.category-icon-large {
    font-size: 3rem;
}

.category-count {
    color: var(--gray);
    font-size: 1.1rem;
    font-style: italic;
}

/* Grille des produits alcools */
.alcool-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Carte produit alcool */
.alcool-product-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.alcool-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-color: var(--primary-blue);
}

.alcool-product-image,
.alcool-product-image-placeholder {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--light-yellow) 0%, var(--light-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.alcool-product-image-placeholder {
    background: linear-gradient(135deg, var(--light-yellow) 0%, var(--light-blue) 100%);
}

.product-icon {
    font-size: 4rem;
    opacity: 0.7;
}

.alcool-product-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.alcool-product-name {
    color: var(--primary-red);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-weight: bold;
}

.alcool-product-description {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.alcool-product-info {
    margin-bottom: 1rem;
}

.stock-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.stock-available {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.stock-unavailable {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.alcool-product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--light-yellow) 0%, var(--light-blue) 100%);
    border-radius: 8px;
}

.price-label {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.price-value {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: bold;
}

.alcool-product-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    flex: 1;
    text-align: center;
}

.empty-category {
    text-align: center;
    padding: 3rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    color: var(--gray);
    font-style: italic;
}

/* Responsive pour la page alcools */
@media (max-width: 768px) {
    .alcool-categories-nav {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .category-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .category-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .category-icon-large {
        font-size: 2.5rem;
    }
    
    .alcool-products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .alcool-product-image,
    .alcool-product-image-placeholder {
        height: 200px;
    }
}

@media (min-width: 1921px) {
    .alcool-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 2.5rem;
    }
    
    .alcool-product-card {
        border-radius: 15px;
    }
    
    .alcool-product-image,
    .alcool-product-image-placeholder {
        height: 300px;
    }
    
    .alcool-product-body {
        padding: 2rem;
    }
    
    .alcool-product-name {
        font-size: 1.6rem;
    }
    
    .price-value {
        font-size: 2.2rem;
    }
    
    .category-title {
        font-size: 3.5rem;
    }
    
    .category-icon-large {
        font-size: 4rem;
    }
}

/* Styles pour les vidéos dans la galerie - Responsive */
.galerie-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    background-color: var(--light-gray);
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.galerie-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
}

/* Ajustements pour différentes tailles d'écran */
@media (max-width: 768px) {
    .galerie-video-container {
        padding-bottom: 75%; /* Ratio plus carré pour mobile */
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .galerie-video-container {
        padding-bottom: 60%;
    }
}

@media (min-width: 1025px) {
    .galerie-video-container {
        padding-bottom: 56.25%; /* Ratio 16:9 standard */
    }
}

@media (min-width: 1921px) {
    .galerie-video-container {
        padding-bottom: 50%; /* Ratio plus large pour grands écrans */
    }
}

/* Styles pour les images dans la galerie */
.galerie-image-container {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    border-radius: 8px 8px 0 0;
}

.galerie-image-container img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    transform: translateZ(0);
}

@media (min-width: 769px) {
    .galerie-image-container {
        min-height: 400px;
    }
}

@media (min-width: 1025px) {
    .galerie-image-container {
        min-height: 450px;
    }
}

@media (min-width: 1921px) {
    .galerie-image-container {
        min-height: 500px;
    }
}

/* ========== CAROUSEL GALERIE ========== */
.galerie-carousel-wrapper {
    width: 100%;
    margin-bottom: 1rem;
}

.galerie-carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.galerie-carousel-track {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.galerie-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
}

.galerie-carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

/* Overlay pour améliorer la lisibilité du texte sur l'image */
.galerie-carousel-slide::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.galerie-carousel-slide.prev {
    transform: translateX(-100%);
    z-index: 1;
}

.galerie-carousel-slide.next {
    transform: translateX(100%);
    z-index: 1;
}

.galerie-carousel-image-overlay,
.galerie-carousel-video {
    flex: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background: transparent;
}

/* Overlay pour améliorer la lisibilité du texte sur l'image */
.galerie-carousel-slide::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.galerie-carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    transform: translateZ(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.galerie-carousel-image:hover img {
    transform: scale(1.01);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
}

.galerie-carousel-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.galerie-carousel-caption {
    padding: 1.5rem 2rem;
    background: linear-gradient(to top, rgba(220, 38, 38, 0.95) 0%, rgba(37, 99, 235, 0.95) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: auto;
}

.galerie-carousel-caption h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.galerie-carousel-caption p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.95;
}

/* Boutons de navigation */
.galerie-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.galerie-carousel-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.galerie-carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.galerie-carousel-prev {
    left: 20px;
}

.galerie-carousel-next {
    right: 20px;
}

/* Indicateurs */
.galerie-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 25px;
}

.galerie-carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.galerie-carousel-indicator.active {
    background: var(--white);
    transform: scale(1.3);
}

.galerie-carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

/* Compteur */
.galerie-carousel-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
}

/* Miniatures */
.galerie-carousel-thumbnails {
    display: flex;
    gap: 8px;
    padding: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    background: var(--light-gray);
    border-radius: 0 0 20px 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-red) var(--light-gray);
}

.galerie-carousel-thumbnails::-webkit-scrollbar {
    height: 8px;
}

.galerie-carousel-thumbnails::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

.galerie-carousel-thumbnails::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 10px;
}

.galerie-carousel-thumbnail {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    background: var(--white);
}

.galerie-carousel-thumbnail:hover {
    transform: scale(1.1);
    border-color: var(--primary-blue);
    z-index: 5;
}

.galerie-carousel-thumbnail.active {
    border-color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.5);
    transform: scale(1.15);
}

.galerie-carousel-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.galerie-carousel-thumbnail-video {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .galerie-carousel-track {
        height: 50vh;
        min-height: 400px;
    }
    
    .galerie-carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .galerie-carousel-prev {
        left: 10px;
    }
    
    .galerie-carousel-next {
        right: 10px;
    }
    
    .galerie-carousel-caption {
        padding: 1rem 1.5rem;
    }
    
    .galerie-carousel-caption h3 {
        font-size: 1.2rem;
    }
    
    .galerie-carousel-caption p {
        font-size: 0.9rem;
    }
    
    .galerie-carousel-thumbnail {
        width: 80px;
        height: 80px;
    }
    
    .galerie-carousel-counter {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .galerie-carousel-track {
        height: 60vh;
        min-height: 450px;
    }
}

@media (min-width: 1921px) {
    .galerie-carousel-container {
        max-width: 1800px;
    }
    
    .galerie-carousel-track {
        height: 75vh;
        max-height: 1000px;
    }
    
    .galerie-carousel-thumbnail {
        width: 120px;
        height: 120px;
    }
}

/* Grille des médias de la galerie */
.galerie-medias-grid {
    margin-top: 1rem;
}

.galerie-medias-grid .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galerie-medias-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Styles pour les filtres Photo/Vidéo */
.galerie-type-filter {
    animation: fadeIn 0.5s ease-in;
}

.galerie-type-filter .card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    border: 2px solid var(--border-gray);
    transition: all 0.3s ease;
}

.galerie-type-filter .card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.galerie-type-filter h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.galerie-type-filter .btn {
    min-width: 120px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 25px;
}

.galerie-type-filter .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .galerie-type-filter .btn {
        min-width: 100px;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .galerie-type-filter h3 {
        font-size: 1.1rem;
    }
}

/* ========== VUE D'ENSEMBLE GALERIE ========== */
.galerie-vue-ensemble {
    width: 100%;
    margin-bottom: 1rem;
}

/* ========== HEADER GALERIE MODERNE ========== */
.galerie-header {
    text-align: center;
    padding: 3rem 0 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.galerie-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 100%);
}

.galerie-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: font-size 0.3s ease;
}

.galerie-subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin: 0;
    opacity: 0.8;
    transition: font-size 0.3s ease;
}

/* ========== FILTRES GALERIE MODERNES ========== */
.galerie-filter-section {
    margin-bottom: 3rem;
}

.galerie-filter-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.galerie-filter-title {
    color: var(--primary-red);
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.galerie-filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.galerie-filter-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(220, 38, 38, 0.1);
    min-width: 180px;
    position: relative;
    overflow: hidden;
}

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

.galerie-filter-btn:hover::before {
    left: 100%;
}

.galerie-filter-btn span {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 1rem;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.galerie-filter-btn small {
    font-size: 0.85rem;
    color: var(--gray);
    opacity: 0.8;
    transition: color 0.3s ease;
}

.galerie-filter-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 1);
}

.galerie-filter-btn:hover span,
.galerie-filter-btn:hover small {
    color: var(--primary-blue);
}

.galerie-filter-btn.active {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.galerie-filter-btn.active span,
.galerie-filter-btn.active small {
    color: var(--white);
}

/* ========== INTRO CARD ========== */
.galerie-intro-card {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.galerie-intro-title {
    color: var(--primary-red);
    margin: 0 0 1rem 0;
    font-size: 1.75rem;
    font-weight: 600;
}

.galerie-intro-text {
    color: var(--dark-gray);
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* ========== GRILLE ÉVÉNEMENTS MODERNE ========== */
.galerie-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
    padding: 1rem 0;
    align-items: stretch;
    transition: gap 0.3s ease, grid-template-columns 0.3s ease;
}

/* Styles pour les filtres de la galerie */
.galerie-filter-card {
    margin-bottom: 1rem;
    padding: 1.5rem;
}

.galerie-filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.galerie-event-header-card {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--light-yellow) 0%, var(--light-blue) 100%);
    padding: 1.5rem;
}

.galerie-type-filter {
    margin-bottom: 1rem;
}

.galerie-type-filter-card {
    padding: 1rem;
}

/* ========== RESPONSIVE GALERIE - MOBILE (max-width: 480px) ========== */
@media (max-width: 480px) {
    .galerie-header {
        padding: 2rem 0 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 15px;
    }
    
    .galerie-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .galerie-subtitle {
        font-size: 1rem;
    }
    
    .galerie-filter-section {
        margin-bottom: 2rem;
    }
    
    .galerie-filter-card {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .galerie-filter-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .galerie-filter-buttons {
        gap: 0.5rem;
    }
    
    .galerie-filter-btn {
        padding: 0.75rem 1rem;
        min-width: 140px;
        border-radius: 10px;
    }
    
    .galerie-filter-btn span {
        font-size: 0.9rem;
    }
    
    .galerie-filter-btn small {
        font-size: 0.75rem;
    }
    
    .galerie-intro-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
        border-radius: 15px;
    }
    
    .galerie-intro-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .galerie-intro-text {
        font-size: 0.95rem;
    }
    
    .galerie-events-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0.5rem 0;
    }
    
    .galerie-event-header-card {
        padding: 1rem;
    }
    
    .galerie-event-header-card h2 {
        font-size: 1.25rem;
    }
    
    .galerie-type-filter-card {
        padding: 1rem;
    }
    
    .galerie-type-filter h3 {
        font-size: 1.1rem;
    }
}

/* ========== RESPONSIVE GALERIE - TABLETTE PETITE (481px - 640px) ========== */
@media (min-width: 481px) and (max-width: 640px) {
    .galerie-header {
        padding: 2.5rem 0 1.75rem;
        margin-bottom: 1.75rem;
    }
    
    .galerie-title {
        font-size: 2rem;
    }
    
    .galerie-subtitle {
        font-size: 1.1rem;
    }
    
    .galerie-filter-card {
        padding: 1.25rem;
    }
    
    .galerie-filter-title {
        font-size: 1.35rem;
    }
    
    .galerie-filter-btn {
        min-width: 160px;
        padding: 0.875rem 1.25rem;
    }
    
    .galerie-intro-card {
        padding: 2rem;
    }
    
    .galerie-intro-title {
        font-size: 1.5rem;
    }
    
    .galerie-events-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
        gap: 1.5rem;
    }
}

/* ========== RESPONSIVE GALERIE - TABLETTE (641px - 768px) ========== */
@media (min-width: 641px) and (max-width: 768px) {
    .galerie-header {
        padding: 2.75rem 0 2rem;
    }
    
    .galerie-title {
        font-size: 2.25rem;
    }
    
    .galerie-subtitle {
        font-size: 1.15rem;
    }
    
    .galerie-filter-card {
        padding: 1.5rem;
    }
    
    .galerie-filter-title {
        font-size: 1.4rem;
    }
    
    .galerie-filter-btn {
        min-width: 170px;
    }
    
    .galerie-intro-card {
        padding: 2.25rem;
    }
    
    .galerie-intro-title {
        font-size: 1.65rem;
    }
    
    .galerie-events-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
        gap: 1.75rem;
    }
    
    .galerie-event-card {
        height: 300px;
    }
    
    .galerie-event-info h3 {
        font-size: 1.15rem;
    }
    
    .galerie-event-overlay {
        padding: 1.5rem 1rem 1rem;
    }
}

/* ========== RESPONSIVE GALERIE - TABLETTE LARGE (769px - 1024px) ========== */
@media (min-width: 769px) and (max-width: 1024px) {
    .galerie-header {
        padding: 3rem 0 2.25rem;
    }
    
    .galerie-title {
        font-size: 2.5rem;
    }
    
    .galerie-subtitle {
        font-size: 1.2rem;
    }
    
    .galerie-filter-card {
        padding: 1.75rem;
    }
    
    .galerie-filter-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .galerie-filter-buttons {
        gap: 0.875rem;
    }
    
    .galerie-filter-btn {
        min-width: 180px;
        padding: 1rem 1.5rem;
    }
    
    .galerie-intro-card {
        padding: 2.5rem;
    }
    
    .galerie-intro-title {
        font-size: 1.75rem;
    }
    
    .galerie-events-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
        gap: 2rem;
    }
    
    .galerie-event-card {
        height: 320px;
    }
    
    .galerie-event-info h3 {
        font-size: 1.3rem;
    }
    
    .galerie-event-overlay {
        padding: 1.75rem 1.25rem 1.25rem;
    }
}

/* ========== RESPONSIVE GALERIE - DESKTOP MOYEN (1025px - 1400px) ========== */
@media (min-width: 1025px) and (max-width: 1400px) {
    .galerie-header {
        padding: 3.5rem 0 2.5rem;
    }
    
    .galerie-title {
        font-size: 2.75rem;
    }
    
    .galerie-subtitle {
        font-size: 1.25rem;
    }
    
    .galerie-filter-card {
        padding: 2rem;
    }
    
    .galerie-filter-title {
        font-size: 1.6rem;
    }
    
    .galerie-filter-btn {
        min-width: 190px;
    }
    
    .galerie-intro-card {
        padding: 2.75rem;
    }
    
    .galerie-intro-title {
        font-size: 1.85rem;
    }
    
    .galerie-events-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
        gap: 2.25rem;
    }
    
    .galerie-event-card {
        height: 360px;
    }
    
    .galerie-event-info h3 {
        font-size: 1.4rem;
    }
}

/* ========== RESPONSIVE GALERIE - DESKTOP LARGE (1401px - 1920px) ========== */
@media (min-width: 1401px) and (max-width: 1920px) {
    .galerie-header {
        padding: 4rem 0 3rem;
    }
    
    .galerie-title {
        font-size: 3rem;
    }
    
    .galerie-subtitle {
        font-size: 1.3rem;
    }
    
    .galerie-filter-card {
        padding: 2.5rem;
    }
    
    .galerie-filter-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .galerie-filter-btn {
        min-width: 200px;
        padding: 1.25rem 2rem;
    }
    
    .galerie-filter-btn span {
        font-size: 1.1rem;
    }
    
    .galerie-filter-btn small {
        font-size: 0.9rem;
    }
    
    .galerie-intro-card {
        padding: 3rem;
    }
    
    .galerie-intro-title {
        font-size: 2rem;
    }
    
    .galerie-intro-text {
        font-size: 1.2rem;
    }
    
    .galerie-events-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
        gap: 2.5rem;
    }
    
    .galerie-event-card {
        height: 400px;
    }
    
    .galerie-event-info h3 {
        font-size: 1.5rem;
    }
}

/* ========== RESPONSIVE GALERIE - DESKTOP TRÈS LARGE (1921px - 2559px) ========== */
@media (min-width: 1921px) and (max-width: 2559px) {
    .galerie-header {
        padding: 4.5rem 0 3.5rem;
    }
    
    .galerie-title {
        font-size: 3.25rem;
    }
    
    .galerie-subtitle {
        font-size: 1.4rem;
    }
    
    .galerie-filter-card {
        padding: 2.75rem;
    }
    
    .galerie-filter-title {
        font-size: 1.9rem;
        margin-bottom: 2.25rem;
    }
    
    .galerie-filter-buttons {
        gap: 1.25rem;
    }
    
    .galerie-filter-btn {
        min-width: 210px;
        padding: 1.375rem 2.25rem;
    }
    
    .galerie-filter-btn span {
        font-size: 1.15rem;
    }
    
    .galerie-filter-btn small {
        font-size: 0.95rem;
    }
    
    .galerie-intro-card {
        padding: 3.5rem;
    }
    
    .galerie-intro-title {
        font-size: 2.25rem;
    }
    
    .galerie-intro-text {
        font-size: 1.25rem;
    }
    
    .galerie-events-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
        gap: 2.75rem;
    }
    
    .galerie-event-card {
        height: 450px;
    }
    
    .galerie-event-info h3 {
        font-size: 1.65rem;
    }
    
    .galerie-event-date {
        font-size: 1.05rem;
    }
    
    .galerie-event-stat {
        font-size: 0.95rem;
        padding: 0.45rem 0.9rem;
    }
}

/* ========== RESPONSIVE GALERIE - ULTRA WIDE / 4K (2560px+) ========== */
@media (min-width: 2560px) {
    .galerie-header {
        padding: 5rem 0 4rem;
    }
    
    .galerie-title {
        font-size: 3.5rem;
    }
    
    .galerie-subtitle {
        font-size: 1.5rem;
    }
    
    .galerie-filter-card {
        padding: 3rem;
    }
    
    .galerie-filter-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .galerie-filter-buttons {
        gap: 1.5rem;
    }
    
    .galerie-filter-btn {
        min-width: 220px;
        padding: 1.5rem 2.5rem;
    }
    
    .galerie-filter-btn span {
        font-size: 1.2rem;
    }
    
    .galerie-filter-btn small {
        font-size: 1rem;
    }
    
    .galerie-intro-card {
        padding: 4rem;
    }
    
    .galerie-intro-title {
        font-size: 2.5rem;
    }
    
    .galerie-intro-text {
        font-size: 1.3rem;
    }
    
    .galerie-events-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
        gap: 3rem;
    }
    
    .galerie-event-card {
        height: 480px;
    }
    
    .galerie-event-info h3 {
        font-size: 1.75rem;
    }
    
    .galerie-event-date {
        font-size: 1.1rem;
    }
    
    .galerie-event-stat {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

.galerie-event-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    cursor: pointer;
    border: 1px solid rgba(220, 38, 38, 0.1);
    position: relative;
    height: 350px;
    transition: height 0.3s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.galerie-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 2;
}

.galerie-event-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.galerie-event-card:hover::before {
    transform: scaleX(1);
}

.galerie-event-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.galerie-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    filter: brightness(0.95);
}

.galerie-event-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.galerie-event-card:hover .galerie-event-image::before {
    opacity: 1;
}

.galerie-event-card:hover .galerie-event-image img {
    transform: scale(1.15) rotate(1deg);
    filter: brightness(1.1) contrast(1.1);
}

.galerie-event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.galerie-event-card:hover .galerie-event-overlay {
    background: linear-gradient(to top, rgba(220, 38, 38, 0.95) 0%, rgba(37, 99, 235, 0.9) 50%, rgba(0,0,0,0.7) 100%);
}

.galerie-event-info {
    color: var(--white);
}

.galerie-event-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.galerie-event-date {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 500;
}

.galerie-event-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.galerie-event-stat {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive pour la vue d'ensemble */
@media (max-width: 768px) {
    .galerie-events-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
        padding: 0.25rem 0;
    }
    
    .galerie-event-card {
        height: 280px;
    }
    
    .galerie-event-info h3 {
        font-size: 1.15rem;
    }
    
    .galerie-event-overlay {
        padding: 1.25rem 0.75rem 0.75rem;
    }
    
    .galerie-event-stats {
        gap: 0.5rem;
    }
    
    .galerie-event-stat {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .galerie-events-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .galerie-event-card {
        height: 250px;
    }
    
    .galerie-event-info h3 {
        font-size: 1rem;
    }
    
    .galerie-event-date {
        font-size: 0.85rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .galerie-events-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .galerie-event-card {
        height: 320px;
    }
}

/* Les styles pour 1025px+ sont maintenant dans les media queries spécifiques ci-dessus */

/* Les styles pour 1921px+ sont maintenant dans les media queries spécifiques ci-dessus */

/* ========== CAROUSEL GALERIE PAGE D'ACCUEIL ========== */
.home-gallery-carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.home-gallery-track {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
}

.home-gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.home-gallery-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.home-gallery-slide.prev {
    transform: translateX(-100%);
    z-index: 1;
}

.home-gallery-slide.next {
    transform: translateX(100%);
    z-index: 1;
}

.home-gallery-image-container {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
    padding: 1rem;
    position: relative;
}

.home-gallery-image-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    transform: translateZ(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
}

.home-gallery-slide:hover .home-gallery-image-container img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.home-gallery-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.home-gallery-slide:hover .home-gallery-image-container::before {
    opacity: 1;
}

.home-gallery-caption {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    color: var(--white);
    text-align: center;
}

.home-gallery-caption p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.home-gallery-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 12px;
    border-radius: 20px;
}

.home-gallery-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.home-gallery-indicator.active {
    background: var(--white);
    transform: scale(1.3);
    width: 30px;
    border-radius: 5px;
}

.home-gallery-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* Responsive pour le carousel d'accueil */
@media (max-width: 768px) {
    .home-gallery-track {
        height: 50vh;
        min-height: 400px;
        max-height: 500px;
    }
    
    .home-gallery-caption {
        padding: 0.8rem 1rem;
    }
    
    .home-gallery-caption p {
        font-size: 0.9rem;
    }
    
    .home-gallery-indicators {
        bottom: 15px;
        padding: 6px 10px;
        gap: 6px;
    }
    
    .home-gallery-indicator {
        width: 8px;
        height: 8px;
    }
    
    .home-gallery-indicator.active {
        width: 24px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .home-gallery-track {
        height: 55vh;
        min-height: 450px;
    }
}

@media (min-width: 1921px) {
    .home-gallery-carousel {
        max-width: 1600px;
    }
    
    .home-gallery-track {
        height: 65vh;
        max-height: 900px;
    }
}

