/* style.css */
:root {
    --bg-color: #050505;
    --card-bg: #111111;
    --text-color: #e5e5e5;
    --accent-blue: #e2e8f0;
    --border-color: #222222;
    --mouse-x: 0px;
    --mouse-y: 0px;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at calc(50% + var(--mouse-x)) calc(50% + var(--mouse-y)), rgba(226, 232, 240, 0.15) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

/* TOP BAR & SOCIALS */
.top-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: rgba(5, 5, 5, 0.95);
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.nav-socials {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
}

.nav-socials a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.2s ease, filter 0.3s ease;
    display: inline-flex;
}

.nav-socials a:hover {
    color: var(--accent-blue);
    transform: scale(1.20);
    filter: drop-shadow(0 0 12px var(--accent-blue));
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.04);
}

.lang-switcher a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    opacity: 0.55;
    padding: 0.15rem 0.3rem;
    border-radius: 999px;
    transition: opacity 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.lang-switcher a:hover {
    opacity: 1;
    color: var(--accent-blue);
}

.lang-switcher a.active {
    opacity: 1;
    color: #050505;
    background-color: var(--text-color);
    cursor: default;
}

.lang-switcher .lang-sep {
    color: var(--border-color);
    font-size: 0.7rem;
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 0.6rem;
        padding: 0.7rem 1rem;
    }

    .lang-switcher {
        position: static;
        transform: none;
    }
}

/* NAVBAR & LOGO */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    background-color: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

@keyframes pulseLogo {
    0% { filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0)); }
    50% { filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8)); }
    100% { filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0)); }
}

.logo img {
    height: 120px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: height 0.3s ease;
    animation: pulseLogo 3s infinite;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links > li > a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
    display: inline-block;
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    border-bottom: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    box-sizing: border-box;
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
    opacity: 1;
}

.nav-links > li > a:hover {
    color: #ffffff;
}

.nav-links > li > a.active {
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 16px rgba(226, 232, 240, 0.7), 0 0 25px rgba(226, 232, 240, 0.5);
}

.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    list-style: none;
    padding: 0.5rem 0;
    min-width: 200px;
    display: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu { display: block; }

.dropdown-menu li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    display: block;
    text-transform: none;
    font-weight: 400;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dropdown-menu li a.active {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* STRUCTURE */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    flex: 1;
    text-align: center;
}

.hero-container {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: #ffffff;
}

h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--accent-blue);
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

p {
    line-height: 1.6;
    color: #a3a3a3;
    margin-bottom: 1rem;
}

.hero-section {
    position: relative;
    width: calc(100% - 80px);
    margin: 2rem auto;
    min-height: 600px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(226, 232, 240, 0.15);
    animation: hero-glow 3s ease infinite;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('images/banniere.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(1.15) saturate(1.25);
    z-index: 0;
}

@keyframes hero-glow {
    0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(226, 232, 240, 0.15); }
    50% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 42px rgba(226, 232, 240, 0.4); }
}

@media (prefers-reduced-motion: reduce), (max-width: 1024px) {
    .hero-section { animation: none; }
}

.bio-grid { perspective: 1200px; }
.scroll-flip-card { transform-style: preserve-3d; transform-origin: bottom center; will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
    .scroll-flip-card { transform: none !important; opacity: 1 !important; }
}

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

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 900px;
}

.hero-content h2 { font-size: 3.8rem; text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8); }
.hero-content h3 { font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 1.2rem; letter-spacing: normal; text-transform: none; color: #e5e5e5; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7); margin-bottom: 0; }
.hero-content p { font-size: 1.3rem; color: #ffffff; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); margin-bottom: 1.8rem; }

/* INFOS & BIO GRID (INDEX) */
.info-section {
    max-width: 1100px;
    margin: 0 auto 3rem auto;
    width: 100%;
    padding: 0 1.5rem;
}

.info-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.info-card p {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-card strong { color: var(--accent-blue); }

.bio-grid {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.bio-card {
    flex: 1;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem 1rem;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.bio-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.bio-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 2px solid var(--border-color);
}

.bio-card h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.bio-card-name {
    font-size: 0.85rem;
    color: var(--accent-blue);
    margin-top: 0.3rem;
    margin-bottom: 0;
}

/* BIO PAGES DIPLOMAS */
.bio-content { text-align: center; margin-bottom: 3rem; }
.bio-photo { width: 200px; height: 200px; border-radius: 50%; border: 3px solid var(--accent-blue); object-fit: cover; margin-bottom: 1.5rem; }
.president-photo { width: 320px; height: 320px; }
.president-name { font-size: 2.2rem; }
.bio-content p { color: #ffffff; font-size: 1.1rem; max-width: 800px; margin: 0 auto 1.2rem auto; line-height: 1.8; text-align: justify;}
.bio-content p.bio-qualifications { color: var(--accent-blue); font-weight: 700; text-align: center; font-size: 1rem; }

.diplomas-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.zoomable-diploma {
    max-width: 250px;
    width: 100%;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: zoom-in;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.zoomable-diploma:hover {
    transform: scale(1.05);
    border-color: var(--accent-blue);
}

/* RÈGLEMENT */
.reglement-text {
    text-align: justify;
    line-height: 1.8;
    background-color: rgba(17, 17, 17, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 1.5rem;
}
.reglement-text h4 { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; color: #ffffff; letter-spacing: 1px; margin-top: 1.8rem; margin-bottom: 0.6rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.3rem; }
.reglement-text h5 { color: #ffffff; font-size: 1.1rem; margin-top: 1.2rem; margin-bottom: 0.4rem; }
.reglement-text ul { margin-top: 0.5rem; margin-bottom: 1rem; padding-left: 1.5rem; }
.mot-president-text p, .mot-president-text li { color: #ffffff; }
.mot-president-text h5 { font-weight: normal; font-size: 1rem; }

/* BOUTONS PDF */
.btn { display: inline-block; background-color: var(--accent-blue); color: #000000; padding: 0.8rem 1.6rem; font-weight: 700; text-decoration: none; border-radius: 4px; text-transform: uppercase; transition: background-color 0.3s ease, transform 0.2s ease; }
.btn:hover { background-color: #ffffff; transform: translateY(-2px); }
.pdf-download-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; padding: 1.2rem 1.8rem; margin-top: 1.5rem; transition: border-color 0.3s ease; }
.pdf-download-card:hover { border-color: var(--accent-blue); }
.pdf-info { display: flex; align-items: center; gap: 1.2rem; }
.pdf-icon { width: 48px; height: auto; }
.pdf-text h4 { margin: 0; font-size: 1.1rem; color: #ffffff; text-align: left; }
.pdf-text p { margin: 0.2rem 0 0 0; font-size: 0.85rem; color: #888888; text-align: left; }

/* IMAGES & MODAL */
.pdf-viewer-container { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; margin-top: 1.5rem; }
.pdf-page-img { max-width: 750px; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--border-color); }
.principes-img { max-width: 380px; width: 100%; height: auto; display: block; margin: 1rem auto 0.5rem auto; border-radius: 8px; border: 1px solid var(--border-color); cursor: zoom-in; transition: transform 0.3s ease; }
.principes-img:hover { transform: scale(1.02); border-color: var(--accent-blue); }
.zoom-hint { font-size: 0.85rem; color: var(--accent-blue); opacity: 0.8; margin-bottom: 1.5rem; }

.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); backdrop-filter: blur(8px); justify-content: center; align-items: center; cursor: zoom-out; }
.modal-content { max-width: 90%; max-height: 90vh; border-radius: 8px; border: 1px solid var(--accent-blue); animation: zoomIn 0.3s ease; cursor: default; }
.modal-close { position: absolute; top: 20px; right: 35px; color: #ffffff; font-size: 40px; font-weight: bold; cursor: pointer; transition: color 0.2s ease; }
.modal-close:hover { color: var(--accent-blue); }
@keyframes zoomIn { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* EQUIPE & PARTENAIRES */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 2.5rem; }
.team-card { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 2rem; display: flex; align-items: center; text-align: left; gap: 2rem; transition: transform 0.3s ease, border-color 0.3s ease; }
.team-card:hover { transform: translateY(-5px); border-color: #ffffff; }
.team-avatar { width: 150px; height: 150px; flex-shrink: 0; border-radius: 50%; background-color: #1a1a1a; border: 2px solid var(--border-color); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.team-card:hover .team-avatar { border-color: #ffffff; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-info { flex: 1; }
.team-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: #ffffff; margin-bottom: 0.2rem; text-align: left; }
.team-role { display: block; color: var(--accent-blue); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }

/* AGENDA */
.agenda-time { font-size: 0.85rem; color: #ffffff; margin-bottom: 0.5rem; font-weight: 600; }
.agenda-badge { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; padding: 0.2rem 0.6rem; background-color: rgba(56, 189, 248, 0.1); color: var(--accent-blue); border: 1px solid rgba(56, 189, 248, 0.3); border-radius: 4px; }
.agenda-gallery-link { display: block; margin-top: 1.2rem; color: var(--accent-blue); background-color: rgba(226,232,240,0.08); border: 1px solid rgba(226,232,240,0.25); border-radius: 8px; padding: 0.8rem 1.2rem; text-decoration: none; font-size: 0.9rem; font-weight: 600; text-align: center; transition: background-color 0.3s ease; }
.agenda-gallery-link:hover { background-color: rgba(226,232,240,0.16); }
.agenda-badge.badge-special { background-color: rgba(168, 85, 247, 0.1); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.3); }
.agenda-badge.badge-club { background-color: rgba(34, 197, 94, 0.1); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.3); }
.agenda-badge.badge-actuel { background-color: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }

/* CALENDRIER AGENDA */
.agenda-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: start; margin-top: 2.5rem; text-align: left; }
.calendar-wrapper { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.5rem; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.calendar-header h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: #ffffff; letter-spacing: 1px; margin: 0; }
.calendar-nav-btn { background-color: transparent; border: 1px solid var(--border-color); color: #ffffff; width: 36px; height: 36px; border-radius: 6px; cursor: pointer; font-size: 1.1rem; transition: border-color 0.3s ease, color 0.3s ease; }
.calendar-nav-btn:hover { border-color: var(--accent-blue); color: var(--accent-blue); }
.calendar-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; color: var(--accent-blue); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar-day { min-height: 90px; background-color: #0d0d0d; border: 1px solid var(--border-color); border-radius: 6px; padding: 0.4rem; display: flex; flex-direction: column; gap: 0.3rem; overflow: hidden; }
.calendar-day.empty { background-color: transparent; border-color: transparent; }
.calendar-day.today { border-color: var(--accent-blue); }
.calendar-day-number { font-size: 0.8rem; color: #888888; font-weight: 600; }
.calendar-day.today .calendar-day-number { color: var(--accent-blue); }
.calendar-event-pill { display: block; width: 100%; text-align: left; border-radius: 4px; padding: 0.2rem 0.4rem; font-size: 0.7rem; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: 'Montserrat', sans-serif; border-width: 1px; border-style: solid; }
.calendar-event-pill:hover { filter: brightness(1.3); }

.event-modal-content { background-color: var(--card-bg); border: 1px solid var(--accent-blue); border-radius: 8px; padding: 2rem; max-width: 500px; width: 90%; text-align: left; cursor: default; animation: zoomIn 0.3s ease; }
.event-modal-content h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: #ffffff; margin-bottom: 0.8rem; letter-spacing: 0.5px; }

.agenda-sidebar { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.5rem; }
.agenda-sidebar h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; color: #ffffff; margin-bottom: 1rem; letter-spacing: 0.5px; }
.upcoming-event-list { display: flex; flex-direction: column; gap: 0.8rem; }
.upcoming-event-item { display: block; width: 100%; text-align: left; background-color: #0d0d0d; border: 1px solid var(--border-color); border-radius: 8px; padding: 0.8rem 1rem; cursor: pointer; transition: border-color 0.3s ease, transform 0.2s ease; }
.upcoming-event-item:hover { border-color: #ffffff; transform: translateY(-2px); }
.upcoming-event-item.is-important { border-color: #facc15; }
.upcoming-event-date { font-size: 0.72rem; color: #888888; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.3rem; }
.upcoming-event-title { font-size: 0.9rem; color: #ffffff; font-weight: 600; margin-bottom: 0.4rem; }
.upcoming-event-empty { color: #767676; font-size: 0.85rem; }

/* CEINTURES */
.belt-heading { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.8rem; }
.belt-swatch { display: inline-block; width: 22px; height: 22px; border-radius: 4px; flex-shrink: 0; }
.belt-heading h4 { margin-top: 0; margin-bottom: 0; }

/* CONTACT */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; margin-top: 2.5rem; text-align: left; }
.contact-left { display: flex; flex-direction: column; gap: 1.8rem; }
.contact-info-card { border: 1px solid #ffffff; border-radius: 8px; padding: 1.8rem; }
.map-embed { width: 100%; height: 220px; border: 0; border-radius: 8px; margin-top: 1.2rem; }
.contact-right { border: 1px solid #ffffff; border-radius: 12px; padding: 3rem 2.5rem; }
.form-subtitle { display: inline-block; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; color: #ffffff; border-bottom: 1px solid #ffffff; padding-bottom: 3px; margin-bottom: 1.2rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: flex; gap: 1.2rem; }
.form-group { flex: 1; }
.form-group.full-width { width: 100%; }
.contact-form input, .contact-form textarea { width: 100%; background-color: #111111; border: 1px solid #222222; border-radius: 6px; padding: 1.1rem; color: #ffffff; font-family: 'Montserrat', sans-serif; font-size: 0.95rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #ffffff; }
.contact-file-label { display: block; margin-bottom: 0.5rem; color: #a3a3a3; font-size: 0.9rem; }
.contact-file-upload { position: relative; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.contact-file-btn { display: inline-block; background-color: transparent; color: #ffffff; border: 1px solid #ffffff; border-radius: 6px; padding: 0.8rem 1.4rem; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease; white-space: nowrap; }
.contact-file-btn:hover { background-color: #ffffff; color: #000000; }
.contact-file-name { color: #a3a3a3; font-size: 0.85rem; overflow-wrap: anywhere; }
.contact-form input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.btn-submit { width: 100%; background-color: transparent; color: #ffffff; border: none; border-radius: 6px; padding: 1.1rem; font-weight: 700; font-size: 1.1rem; cursor: pointer; transition: background-color 0.3s ease; margin-top: 0.5rem; border: 1px solid #ffffff; }
.btn-submit:hover { background-color: #ffffff; color: #000000; }

/* FOOTER */
footer { text-align: center; padding: 2rem; border-top: 1px solid var(--border-color); background-color: #080808; margin-top: auto; }
footer p { font-size: 0.85rem; color: #767676; margin: 0; }

.agenda-footer { display: flex; justify-content: center; align-items: center; position: relative; flex-wrap: wrap; gap: 0.5rem; }
.admin-access-link { position: absolute; right: 2rem; font-size: 0.75rem; color: #767676; text-decoration: none; transition: color 0.3s ease; }
.admin-access-link:hover { color: var(--accent-blue); }

/* GALERIE */
.gallery-breadcrumb { margin: 1.5rem 0 1.5rem 0; font-size: 0.9rem; color: #a3a3a3; }
.gallery-breadcrumb a { color: var(--accent-blue); text-decoration: none; }
.gallery-breadcrumb a:hover { text-decoration: underline; }
.gallery-breadcrumb-current { color: #ffffff; font-weight: 600; }
.gallery-breadcrumb-sep { color: #444444; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.2rem; }
.gallery-folder-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 10px; padding: 2rem 1rem; cursor: pointer; transition: border-color 0.3s ease, transform 0.3s ease; text-align: center; }
.gallery-folder-card:hover { border-color: var(--accent-blue); transform: translateY(-4px); }
.gallery-folder-card i { font-size: 2.2rem; color: var(--accent-blue); }
.gallery-year-card { padding: 0.8rem; }
.gallery-year-icon { width: 100%; max-width: 220px; height: auto; }
.gallery-folder-label { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; color: #ffffff; letter-spacing: 1px; }
.gallery-folder-count { font-size: 0.8rem; color: #888888; }

.gallery-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.gallery-media-thumb { position: relative; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; border: 1px solid var(--border-color); cursor: zoom-in; background-color: var(--card-bg); }
.gallery-media-thumb img, .gallery-media-thumb video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-media-thumb:hover img, .gallery-media-thumb:hover video { transform: scale(1.05); }
.gallery-play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background-color: rgba(0,0,0,0.6); color: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; pointer-events: none; }
.gallery-empty { grid-column: 1 / -1; color: #888888; padding: 2rem 0; }

.gallery-agenda-link { grid-column: 1 / -1; display: inline-block; margin-bottom: 1rem; color: var(--accent-blue); background-color: rgba(226,232,240,0.08); border: 1px solid rgba(226,232,240,0.25); border-radius: 8px; padding: 0.8rem 1.2rem; text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: background-color 0.3s ease; }
.gallery-agenda-link:hover { background-color: rgba(226,232,240,0.16); }

.gallery-modal { display: none; position: fixed; z-index: 2100; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.92); align-items: center; justify-content: center; }
.gallery-modal.open { display: flex; }
.gallery-modal-content { max-width: 85vw; max-height: 85vh; display: flex; align-items: center; justify-content: center; }
.gallery-modal-content img, .gallery-modal-content video { max-width: 85vw; max-height: 85vh; border-radius: 6px; }
.gallery-modal-close { position: absolute; top: 1.5rem; right: 2rem; background: none; border: none; color: #ffffff; font-size: 2.2rem; cursor: pointer; line-height: 1; }
.gallery-modal-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: #ffffff; font-size: 1.3rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; transition: background-color 0.3s ease; }
.gallery-modal-nav:hover { background-color: rgba(255,255,255,0.25); }
.gallery-modal-prev { left: 1.5rem; }
.gallery-modal-next { right: 1.5rem; }

/* GEAR CARDS (EPI, tenue) */
.gear-intro { max-width: 760px; margin: 0 auto 2.5rem auto; font-size: 1.05rem; }
.gear-intro strong { color: var(--accent-blue); }

.gear-section { margin-bottom: 3.5rem; text-align: left; }
.gear-section h3 { text-align: center; margin-bottom: 1.8rem; }
.gear-section h3 i { color: var(--accent-blue); margin-right: 0.5rem; }

.gear-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 320px)); justify-content: center; gap: 1.5rem; }

.gear-card { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; text-align: center; transition: transform 0.3s ease, border-color 0.3s ease; }
.gear-card:hover { transform: translateY(-5px); border-color: #ffffff; }

.gear-card-visual { position: relative; width: 100%; aspect-ratio: 4 / 3; background-color: #1a1a1a; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; }
.gear-card-img { width: 100%; height: 100%; object-fit: cover; }
.gear-card-icon { display: none; width: 38%; max-width: 100px; height: auto; fill: currentColor; color: var(--accent-blue); }
.gear-card-visual.no-image .gear-card-img { display: none; }
.gear-card-visual.no-image .gear-card-icon { display: block; }

.gear-card-body { padding: 1.2rem 1.2rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.gear-card-body h4 { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 1px; color: #ffffff; margin-bottom: 0.7rem; }

.gear-card-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin-bottom: 0.9rem; }
.gear-tag { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 0.25rem 0.6rem; border-radius: 20px; border: 1px solid; white-space: nowrap; }
.gear-tag-obligatoire { color: #f87171; border-color: #f87171; background-color: rgba(248, 113, 113, 0.1); }
.gear-tag-recommande { color: #facc15; border-color: #facc15; background-color: rgba(250, 204, 21, 0.1); }
.gear-tag-facultatif { color: #94a3b8; border-color: #94a3b8; background-color: rgba(148, 163, 184, 0.1); }
.gear-tag-homme { color: #38bdf8; border-color: #38bdf8; background-color: rgba(56, 189, 248, 0.1); }
.gear-tag-femme { color: #f472b6; border-color: #f472b6; background-color: rgba(244, 114, 182, 0.1); }
.gear-tag-mixte { color: #a3a3a3; border-color: var(--border-color); background-color: rgba(226, 232, 240, 0.05); }

.gear-card-desc { color: #a3a3a3; font-size: 0.85rem; margin-bottom: 0; text-align: justify; }

.gear-provided-box { text-align: left; max-width: 700px; margin: 0 auto; }
.gear-provided-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.gear-provided-list li { display: flex; align-items: flex-start; gap: 0.9rem; color: #e5e5e5; font-size: 0.95rem; }
.gear-provided-list li strong { color: var(--accent-blue); }
.gear-provided-list i { color: var(--accent-blue); font-size: 1.2rem; margin-top: 0.2rem; flex-shrink: 0; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 1rem; padding: 1rem; }
    .logo img { height: 90px; }
    .nav-links { flex-direction: column; width: 100%; gap: 0.6rem; }
    .nav-links > li { width: 100%; text-align: center; }
    .nav-links > li > a { font-size: 0.75rem; padding: 4px 8px; }
    .dropdown-menu li a { font-size: 0.8rem; padding: 0.5rem 1rem; }
    .dropdown-menu { left: 0; right: 0; width: 100%; margin: 0.4rem auto 0 auto; z-index: 1001; }
    .hero-section { width: calc(100% - 30px); min-height: 260px; background-size: contain; background-color: #050505; }
    .hero-section::before { background-image: url('images/banniere-mobile.webp'); }
    .hero-content { padding: 1rem; }
    .hero-content h2 { font-size: 1.5rem; }
    .hero-content h3 { font-size: 0.85rem; }
    .info-card h3 { font-size: 1.2rem; }
    .info-card p { font-size: 0.8rem; }
    .reglement-text { padding: 1.2rem; font-size: 0.9rem; }
    h2 { font-size: 1.7rem; }
    .ceintures-text { font-size: 0.85rem; }
    .president-photo { width: 180px; height: 180px; }
    .president-name { font-size: 1.3rem; }
    .ceintures-text h4 { font-size: 1.2rem; }
    .ceintures-text .belt-swatch { width: 16px; height: 16px; }
    .ceintures-text p, .ceintures-text li { font-size: 0.85rem; }
    .contact-info-card { padding: 1.2rem; }
    .contact-info-card p { font-size: 0.9rem; }
    .map-embed { height: 160px; }
    .contact-right { padding: 1.5rem 1.2rem; }
    .contact-form input, .contact-form textarea { padding: 0.8rem; font-size: 0.85rem; }
    .btn-submit { padding: 0.8rem; font-size: 0.95rem; }
    .bio-grid { flex-direction: column; gap: 1rem; }
    .team-card { flex-direction: column; text-align: center; }
    .team-card h3 { text-align: center; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
    .admin-access-link { position: static; }
    .agenda-layout { grid-template-columns: 1fr; }
    .calendar-wrapper { padding: 1rem; }
    .calendar-day { min-height: 56px; padding: 0.25rem; }
    .calendar-day-number { font-size: 0.7rem; }
    .calendar-event-pill { font-size: 0.6rem; padding: 0.12rem 0.25rem; }
    .calendar-header h3 { font-size: 1.4rem; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.8rem; }
    .gallery-media-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.6rem; }
    .gallery-folder-card { padding: 1.2rem 0.6rem; }
    .gallery-modal-nav { width: 38px; height: 38px; font-size: 1rem; }
    .gallery-modal-prev { left: 0.5rem; }
    .gallery-modal-next { right: 0.5rem; }
    .gallery-modal-close { top: 1rem; right: 1rem; font-size: 1.8rem; }
    .gear-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 240px)); gap: 1rem; }
    .gear-card-body { padding: 1rem; }
    .gear-intro { font-size: 0.9rem; }
}