/* ===== STYLES GÉNÉRAUX ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2f6d8c;
    --primary-light: #818cf8;
    --primary-soft: #e0e7ff;
    --secondary: #06b6d4;
    --secondary-light: #67e8f9;
    --accent: #10b981;
    --accent-light: #6ee7b7;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --card-white: #ffffff;
    --text-dark: #1e293b;
    --text-gray: #475569;
    --text-light: #3c4756;
    --shadow-sm: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02);
    --shadow-md: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.05);
    --border-light: #e2e8f0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #d7d2d2 0%, #4184b0 100%);
    color: var(--text-dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

#canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.3;
    pointer-events: none;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* ===== ANIMATIONS DES MOTS CONSERVÉES ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes titleWave {
    0% { background-position: 0% 50%; letter-spacing: normal; }
    50% { background-position: 100% 50%; letter-spacing: 2px; text-shadow: 0 0 20px rgba(79, 70, 229, 0.3); }
    100% { background-position: 0% 50%; letter-spacing: normal; }
}

@keyframes glowPulse {
    0%, 100% { background-position: 0% 50%; filter: drop-shadow(0 0 0px rgba(79, 70, 229, 0)); }
    50% { background-position: 100% 50%; filter: drop-shadow(0 0 15px rgba(79, 70, 229, 0.3)); }
}

@keyframes textReveal {
    0% { background-position: 0% 50%; opacity: 0.9; transform: translateY(0); }
    25% { letter-spacing: 2px; }
    50% { background-position: 100% 50%; opacity: 1; transform: translateY(-5px); text-shadow: 0 5px 20px rgba(79, 70, 229, 0.4); }
    75% { letter-spacing: -0.5px; }
    100% { background-position: 0% 50%; opacity: 0.9; transform: translateY(0); }
}

@keyframes underlineExpand {
    0%, 100% { width: 60px; opacity: 0.5; }
    50% { width: 120px; opacity: 1; }
}

@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes countPop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ===== HEADER & NAVIGATION ===== */
header {
    position: sticky;
    top: 0;
    z-index: 150;
    background: linear-gradient(135deg, #d7d2d2 0%, #64a4cf 100%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 150px;
    padding: 0 3rem;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: left;
    gap: 0.8rem;
    animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.logo-img {
    width: 150px;
    height: auto;
    transition: 0.3s;
}

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

.logo h1 {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shimmer 3s infinite;
}

.logo p {
    color: var(--text-gray);
}

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

.nav-links a {
    text-decoration: none;
    font-weight: 800;
    color: var(--text-noir);
    transition: 0.3s;
    position: relative;
    font-size: 1rem;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 0.8rem 1.8rem;
    border-radius: 80px;
    color: white !important;
    transition: 0.3s;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 300% auto;
    animation: titleWave 4s ease infinite;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: var(--bg-white);
    border-radius: 2rem;
    padding: 0.8rem 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.stat-card h3 {
    color: var(--primary);
    font-size: 1.8rem;
    animation: countPop 0.5s ease;
}

.stat-card p {
    color: var(--text-gray);
}

.floating-img {
    max-width: 90%;
    height: auto;
    animation: float 5s infinite ease-in-out;
    border-radius: 2.5rem;
    box-shadow: var(--shadow-md);
}

/* ===== SECTIONS COMMUNES ===== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: glowPulse 3s ease infinite;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.section-title h3 {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 300% auto;
    animation: textReveal 5s ease infinite;
    position: relative;
    display: inline-block;
}

.section-title h3::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    animation: underlineExpand 3s ease-in-out infinite;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-top: 1.5rem;
}

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

.card-glow {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 2rem;
    padding: 1.8rem;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.card-glow:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

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

.card-glow h3 {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

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

/* ===== CARTES FORMATIONS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.card-3d {
    background: linear-gradient(135deg, #5397b9, #e8e2ee);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.05), transparent);
    transition: left 0.6s ease;
}

.card-3d:hover::before {
    left: 100%;
}

.card-3d:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.card-icon img,
.diplome-icon img {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.card-3d:hover .card-icon img {
    transform: scale(1.1) rotate(5deg);
}

.card-3d h4 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.card-3d p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== CARTES DIPLÔMES ===== */
.diplomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.diplome-card {
    background: linear-gradient(135deg, #5397b9, #e8e2ee);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    padding: 1.8rem;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.diplome-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.diplome-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.diplome-card h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.diplome-badge {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.diplome-specialite {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.specialite-tag {
    background: #f1f5f9;
    border-radius: 50px;
    padding: 0.2rem 1rem;
    font-size: 0.85rem;
    color: var(--text-gray);
    transition: 0.3s;
}

.diplome-card:hover .specialite-tag {
    background: var(--primary-soft);
    color: var(--primary);
}

.diplome-details {
    list-style: none;
    margin-top: 1rem;
}

.diplome-details li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.diplome-details li i {
    color: var(--secondary);
    font-size: 0.9rem;
    width: 20px;
}

/* ===== SÉMINAIRE ===== */
.seminar-card {
    background: linear-gradient(135deg, var(--primary-soft), #ffffff);
    border-radius: 2rem;
    padding: 2rem;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}

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

.seminaire-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: pulseBadge 2s infinite;
    z-index: 2;
}

/* ===== GALERIE - VERSION MINIMALISTE ===== */
/* ===== GALERIE & VIDÉOS ===== */
.galerie-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
.tab-annee {
    background: #1e293b;
    border: 1px solid #475569;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    color: #e2e8f0;
    font-size: 1rem;
}
.tab-annee.active, .tab-annee:hover {
    background: #0e5381;
    color: white;
    border-color: #60a5fa;
}
.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.galerie-item {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
    height: 300px;
    cursor: pointer;
}
.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}
.galerie-item:hover img {
    transform: scale(1.1);
}
.galerie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}
.galerie-item:hover .galerie-overlay {
    opacity: 1;
}
.galerie-overlay i {
    font-size: 3rem;
    color: white;
}


/* ===== VIDÉOS ===== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.video-card {
    background: rgba(30, 41, 59, 0.05);
    border-radius: 30px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-light);
}

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

.video-card video {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
    background: #f1f5f9;
}

.video-card p {
    margin-top: 0.8rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.4s ease;
    cursor: pointer;
}

.lightbox.active {
    visibility: visible;
    opacity: 1;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 20px;
    animation: zoomIn 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 3001;
    transition: 0.3s;
}

.lightbox-close:hover {
    transform: scale(1.2) rotate(90deg);
    color: var(--secondary);
}

/* ===== MODALE ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 30px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2rem;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
    box-shadow: var(--shadow-md);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

body.modal-open {
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.modal-close:hover {
    background: #fee2e2;
    transform: rotate(90deg);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal-header .modal-icon img {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    object-fit: cover;
}

.modal-header h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0;
}

.modal-section {
    margin-bottom: 1.5rem;
}

.modal-section h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-section ul {
    list-style: none;
    padding: 0;
}

.modal-section ul li {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.modal-section ul li i {
    color: var(--secondary);
    width: 18px;
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.modal-badge {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0.8rem;
    text-align: center;
}

.modal-badge i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.modal-badge span {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.8rem;
}

.modal-badge small {
    color: var(--text-light);
    font-size: 0.7rem;
}

.modal-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    font-size: 1rem;
    margin-top: 1rem;
}

.modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-soft), white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.contact-content p, .contact-content a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
}

.contact-content a:hover {
    color: var(--primary);
}

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

.social-btn {
    width: 45px;
    height: 45px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-5px) scale(1.1);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== FORMULAIRE INSCRIPTION ===== */
.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1.2rem;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    color: var(--text-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-item label {
    color: var(--text-gray);
    font-weight: 400;
    cursor: pointer;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    margin-top: 0.5rem;
}

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

/* ===== FOOTER ===== */
footer {
    background: white;
    border-top: 1px solid var(--border-light);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-gray);
    margin-top: 3rem;
}

/* ===== CHATBOT ===== */
.chat-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1000;
    color: white;
    box-shadow: var(--shadow-md);
    transition: 0.3s;
}

.chat-float:hover {
    transform: scale(1.1);
}

.chat-panel {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 20px;
    display: none;
    flex-direction: column;
    z-index: 1001;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.chat-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-msgs {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    background: #f8fafc;
}

.user-message {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 12px;
    margin: 5px 0;
    border-radius: 18px 18px 4px 18px;
    max-width: 80%;
    margin-left: auto;
    word-wrap: break-word;
}

.bot-message {
    background: #f1f5f9;
    color: var(--text-dark);
    padding: 8px 12px;
    margin: 5px 0;
    border-radius: 18px 18px 18px 4px;
    max-width: 80%;
    word-wrap: break-word;
}

.chat-input {
    display: flex;
    padding: 12px;
    border-top: 1px solid var(--border-light);
    background: white;
}

.chat-input input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: 25px;
    outline: none;
    background: #f8fafc;
}

.chat-input input:focus {
    border-color: var(--primary);
}

.chat-input button {
    margin-left: 10px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 25px;
    padding: 0 15px;
    border: none;
    color: white;
}

/* ===== ÉVÉNEMENTS ===== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

.event-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.event-img-placeholder {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, var(--primary-soft), white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
}

.event-info {
    padding: 15px;
}

.event-info h4 {
    margin: 0 0 8px 0;
    color: var(--primary);
}

.event-date, .event-lieu {
    font-size: 12px;
    color: var(--text-gray);
    margin: 4px 0;
}

.event-desc {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 8px;
    line-height: 1.4;
}

.evenements-header {
    text-align: center;
    margin-bottom: 2rem;
}

.evenements-header h3 {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.evenements-header p {
    color: var(--text-gray);
}

.loading-spinner {
    text-align: center;
    padding: 2rem;
    color: var(--primary);
    font-size: 1.1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .navbar {
        flex-direction: column;
        gap: 1rem;
        height: auto;
        padding: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title h3 {
        font-size: 2rem;
    }
    
    .galerie-item {
        height: 250px;
    }
}

@media (max-width: 600px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-panel {
        width: 320px;
        height: 480px;
        right: 10px;
        bottom: 90px;
    }
    
    .galerie-item {
        height: 220px;
    }
}