/* =============================================================
   STYLE.CSS — Le Géant Cheerleading
   STYLE GLOBAL + ACCUEIL + LE CLUB (Architecture Pro)
   ============================================================= */

/* ── 1. IMPORT DES POLICES ── */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,500;0,700;0,800;0,900;1,700;1,800;1,900&family=Barlow:wght@400;500;600;700&display=swap');

/* ── 2. VARIABLES GLOBALES ── */
:root {
    --brand-red: #E60012;
    --brand-red-dark: #B8000E;
    --brand-black: #0A0A0A;
    --brand-white: #FFFFFF;
    --brand-gray-light: #EFEFEF;
    --brand-gray-dark: #333333;
    
    --transition: all 0.25s ease-in-out;
}

/* ── 3. RESET & BASE ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Barlow', Arial, sans-serif;
    background: #F4F4F4;
    color: #1A1A1A;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
p { font-size: 1.1rem; color: #555; margin-bottom: 16px; }
strong { color: var(--brand-black); font-weight: 700; }

/* ── 4. LAYOUT & GRILLES (Réutilisables partout) ── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 80px 0; }

/* Utilitaires d'arrière-plan */
.section-bg-white { background: var(--brand-white); }
.section-bg-dark { background: var(--brand-black); color: var(--brand-white); }

.section-bg-dark p { color: #BBB; }
.section-bg-dark strong { color: var(--brand-white); }

/* Grilles */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── 5. TYPOGRAPHIE GLOBALE ── */
.title-main {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    color: var(--brand-black);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.section-bg-dark .title-main { color: var(--brand-white); }

.tagline {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--brand-red);
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.tagline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--brand-red);
}

/* ── 6. COMPOSANTS GLOBAUX (Boutons, Hero, Galerie) ── */
.btn-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-red);
    color: var(--brand-white);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 32px;
    border: 2px solid var(--brand-red);
    border-radius: 2px;
    transition: var(--transition);
    cursor: pointer;
    margin-top: 10px;
}
.btn-red:hover { background: transparent; color: var(--brand-red); }
.section-bg-dark .btn-red:hover { color: var(--brand-white); border-color: var(--brand-white); }

.hero {
    position: relative;
    background: var(--brand-black);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    opacity: 0.6;
}
.hero--large { 
    height: 70vh; 
    min-height: 500px; 
}

/* Style de carte réutilisable (Galerie / Articles) */
.gallery-card {
    position: relative; display: flex; align-items: flex-end; background: var(--brand-black);
    border-radius: 2px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition); border-bottom: 4px solid transparent;
}
.gallery-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); border-bottom-color: var(--brand-red); }
.gallery-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease; z-index: 1; }
.gallery-card:hover .gallery-img { transform: scale(1.08); opacity: 0.7; }
.gallery-info { position: relative; z-index: 2; width: 100%; padding: 40px 20px 20px; background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.6) 50%, transparent 100%); transform: translateY(10px); transition: transform 0.4s ease; }
.gallery-card:hover .gallery-info { transform: translateY(0); }
.gallery-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--brand-white); line-height: 1.1; margin-bottom: 4px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.gallery-date { font-family: 'Barlow', sans-serif; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--brand-red); }

/* ── 7. SECTIONS SPÉCIFIQUES : ACCUEIL ── */
.hero-logo-center { position: relative; z-index: 2; width: 90%; max-width: 800px; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.8)); }

.elite-image-wrapper { position: relative; border-left: 8px solid var(--brand-red); }
.elite-image-wrapper img { width: 100%; border-radius: 2px; height: 100%; object-fit: cover; }

.video-container { position: relative; max-width: 900px; margin: 40px auto 0; border-radius: 5px; cursor: pointer; overflow: hidden; }
.video-container img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.4s ease; }
.video-container:hover img { transform: scale(1.02); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--brand-red); color: var(--brand-white); width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 4px 15px rgba(230,0,18,0.4); transition: var(--transition); }
.video-container:hover .play-btn { background: var(--brand-white); color: var(--brand-red); transform: translate(-50%, -50%) scale(1.1); }

.stat-box { background: var(--brand-gray-light); padding: 30px 20px; text-align: center; border-bottom: 4px solid var(--brand-red); }
.stat-num { font-family: 'Barlow Condensed', sans-serif; font-size: 3rem; font-weight: 900; font-style: italic; color: var(--brand-black); line-height: 1; }
.stat-label { font-family: 'Barlow', sans-serif; font-weight: 700; text-transform: uppercase; color: var(--brand-gray-dark); margin-top: 5px; }

/* ── 8. SECTIONS SPÉCIFIQUES : LE CLUB ── */
.text-box { background: var(--brand-white); padding: 40px; border-radius: 2px; border: 1px solid var(--brand-gray-light); border-left: 6px solid var(--brand-red); box-shadow: 0 4px 15px rgba(0,0,0,0.03); }

/* Timeline */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding-left: 30px; border-left: 4px solid var(--brand-gray-light); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -38px; top: 5px; width: 12px; height: 12px; background: var(--brand-red); border-radius: 2px; box-shadow: 0 0 0 4px var(--brand-white); }
.timeline-year { font-family: 'Barlow Condensed', sans-serif; font-size: 2rem; font-weight: 900; font-style: italic; color: var(--brand-red); line-height: 1; margin-bottom: 8px; }
.timeline-content { background: var(--brand-white); padding: 20px 24px; border-radius: 2px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid var(--brand-gray-light); font-size: 1.1rem; color: #444; }

/* Ambitions (Grille tactique) */
.ambitions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }
.ambition-card { position: relative; background: #151515; padding: 30px 24px; border-left: 4px solid var(--brand-red); border-radius: 2px; z-index: 1; transition: var(--transition); overflow: hidden; }
.ambition-card:hover { background: #1A1A1A; transform: translateX(5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.ambition-number { position: absolute; top: -10px; right: 10px; font-family: 'Barlow Condensed', sans-serif; font-size: 6rem; font-weight: 900; font-style: italic; color: rgba(255, 255, 255, 0.03); z-index: -1; line-height: 1; user-select: none; }
.ambition-text { font-family: 'Barlow', sans-serif; font-size: 1.05rem; font-weight: 500; color: #DDDDDD; line-height: 1.5; }

/* Comité Directeur */
.comite-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.member-card { background: var(--brand-white); border-radius: 2px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); border: 1px solid var(--brand-gray-light); transition: var(--transition); border-bottom: 4px solid transparent; }
.member-card:hover { transform: translateY(-6px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-bottom-color: var(--brand-red); }
.member-img-wrapper { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #EFEFEF; }
.member-img-wrapper img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: var(--transition); }
.member-card:hover .member-img-wrapper img { filter: grayscale(0%); transform: scale(1.05); }
.member-info { padding: 24px; }
.member-role { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 800; text-transform: uppercase; color: var(--brand-red); letter-spacing: 1px; margin-bottom: 4px; }
.member-name { font-family: 'Barlow Condensed', sans-serif; font-size: 1.8rem; font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--brand-black); line-height: 1.1; margin-bottom: 12px; }
.member-desc { font-size: 0.95rem; color: #666; line-height: 1.5; }

/* Documents Administratifs */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 20px; }
.doc-link { display: flex; align-items: center; gap: 16px; background: var(--brand-gray-light); padding: 20px; border-radius: 2px; color: var(--brand-black); font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 1.05rem; transition: var(--transition); border-left: 4px solid transparent; }
.doc-link i { font-size: 1.5rem; color: var(--brand-red); }
.doc-link:hover { background: var(--brand-white); box-shadow: 0 4px 15px rgba(0,0,0,0.08); border-left-color: var(--brand-red); transform: translateX(5px); }

/* ── 9. RESPONSIVE (MEDIA QUERIES) ── */
@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    /* Inversion sur mobile si l'image doit passer en haut */
    .black-legendary .grid-2 { flex-direction: column-reverse; }
}

@media (max-width: 768px) {
    .section { padding: 50px 0; }
    .grid-3 { grid-template-columns: 1fr; gap: 20px; }
    .title-main { font-size: 2.5rem; }
    
    .hero { height: 50vh; min-height: 350px; }
    .video-container { margin-top: 20px; }
    
    .ambition-number { font-size: 4rem; }
}


/* =============================================================
   PAGE HORAIRES ENTRAINEMENTS — Le Géant Cheerleading
   NOUVEAU FORMAT (Lignes larges + Carte)
   ============================================================= */

/* --- LIGNES DES ÉQUIPES --- */
.team-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Colonne de droite un peu plus large pour les horaires */
    gap: 40px;
    background: var(--brand-white);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 2px;
    border: 1px solid var(--brand-gray-light);
    border-left: 6px solid var(--brand-red);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: var(--transition);
    align-items: center;
}

.team-row:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-left-color: var(--brand-black);
    transform: translateX(5px);
}

.team-info {
    display: flex;
    flex-direction: column;
}

.schedule-category {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--brand-red);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.schedule-team {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.8rem; /* Titre plus gros */
    font-weight: 900;
    font-style: italic;
    color: var(--brand-black);
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.schedule-age {
    display: inline-table;
    background: var(--brand-black);
    color: var(--brand-white);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
}

.team-desc {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
}

/* --- LISTE DES CRÉNEAUX --- */
.team-times {
    background: var(--brand-gray-light);
    padding: 30px;
    border-radius: 2px;
}

.schedule-list {
    list-style: none;
    padding: 0;
}

.schedule-list li {
    padding: 20px 0;
    border-top: 2px solid rgba(0,0,0,0.05);
}

.schedule-list li:first-child {
    padding-top: 0;
    border-top: none;
}

.schedule-list li:last-child {
    padding-bottom: 0;
}

.schedule-time {
    font-weight: 800;
    color: var(--brand-black);
    font-size: 1.4rem; /* Horaires écrits en grand */
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.schedule-time i {
    color: var(--brand-red);
    font-size: 1.2rem;
}

.schedule-room {
    font-size: 1.1rem; /* Texte des salles agrandi */
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.4;
}

.schedule-room i {
    color: #AAA;
    margin-top: 4px;
}

/* --- BOÎTE D'INFORMATIONS IMPORTANTES --- */
.info-box {
    background: #151515;
    padding: 40px;
    border-radius: 2px;
    border-left: 6px solid var(--brand-red);
    margin-top: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-box h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    font-style: italic;
    color: var(--brand-white);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.info-box p { color: #DDD; margin-bottom: 10px; font-size: 1.05rem; }
.info-box p:last-child { margin-bottom: 0; }
.info-box strong { color: var(--brand-white); }

/* --- MAP CONTAINER --- */
.map-container {
    border: 4px solid var(--brand-white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 2px;
    overflow: hidden;
    height: 100%;
    min-height: 350px;
}

/* Adaptation mobile spécifique pour ces lignes */
@media (max-width: 992px) {
    .team-row {
        grid-template-columns: 1fr; /* Sur tablette/mobile, l'horaire passe en dessous */
        gap: 30px;
        padding: 30px 20px;
    }
}

/* --- PAGE CONTACT --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info-item {
    margin-bottom: 30px;
}

.contact-info-item h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 5px;
}

.contact-info-item p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-black);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--brand-gray-light);
    border-radius: 2px;
    font-family: 'Barlow', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--brand-red);
    outline: none;
}

@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* --- AMÉLIORATION PAGE CONTACT --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Le formulaire prend plus de place que les infos */
    gap: 60px;
    margin-top: 40px;
}

.contact-box {
    background: var(--brand-white);
    padding: 40px;
    border: 1px solid var(--brand-gray-light);
    border-radius: 2px;
}

/* Style des champs de saisie */
.form-group { margin-bottom: 25px; }
.form-group label {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--brand-black);
}
.form-control {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--brand-gray-light);
    border-radius: 2px;
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--brand-red);
    outline: none;
    box-shadow: 0 0 0 4px rgba(230,0,18,0.1);
}

/* Style des infos de contact */
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}
.contact-icon {
    font-size: 1.5rem;
    color: var(--brand-red);
    width: 40px;
}
.contact-detail h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: var(--brand-black);
    margin-bottom: 5px;
}

@media (max-width: 992px) {
    .contact-container { grid-template-columns: 1fr; }
}


/* --- PAGE MÉDIAS --- */
.media-filters {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--brand-black);
    background: transparent;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--brand-red);
    color: white;
    border-color: var(--brand-red);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.media-card {
    background: white;
    border: 1px solid var(--brand-gray-light);
    overflow: hidden;
    transition: var(--transition);
}

.media-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.media-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.media-card:hover .media-img {
    transform: scale(1.05);
}

.media-content {
    padding: 20px;
}

.media-date {
    font-size: 0.9rem;
    color: var(--brand-red);
    font-weight: 700;
}

.media-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    margin: 10px 0;
}