/* --- 1. CONFIGURATION & TYPO --- */
@font-face {
    font-family: 'GT Walsheim';
    src: url("/fonts/GT-Walsheim-regular.ttf") format("truetype");
    font-weight: normal;
}

@font-face {
    font-family: 'GT Walsheim Bold';
    src: url("/fonts/GT-Walsheim-Bold.ttf") format("truetype");
    font-weight: bold;
}

:root {
    --ccl-red: #ED5E5E;
    --ccl-dark: #151515;
    --ccl-bg: #1e1e1e;
    --white: #ffffff;
    --gray: #919191;
    --font-main: 'GT Walsheim', 'Roboto', sans-serif;
    --transition: all 0.3s ease;
}

/* --- 2. RESET & STRUCTURE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px; 
}

body {
    min-height: 100vh;
    font-family: var(--font-main);
    background-color: var(--ccl-bg);
    color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

#main-content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.container {
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
}

/* --- 3. RÉGLAGES AFFICHAGE --- */
.no-desktop { display: none !important; }
.no-smartphone { display: block; }

/* --- 4. HEADER (DESKTOP) --- */
#menu-principal {
    background: var(--white);
    height: 75px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-menu {
    display: flex;
    list-style: none;
    margin-left: auto;
    gap: 30px;
    align-items: center;
}

.header-menu--item span {
    font-weight: bold;
    font-size: 15px;
    color: #000;
}

/* --- 5. MOBILE NAVIGATION (MENU EN BAS) --- */
@media screen and (max-width: 767px) {
    .no-smartphone { display: none !important; }
    .no-desktop { display: flex !important; }

    body { padding-bottom: 90px; } /* Espace pour le menu fixe */

    #menu-principal {
        position: fixed !important;
        bottom: 0 !important;
        top: auto !important;
        height: 90px !important;
        background: #000 !important;
        width: 100%;
    }

    .header-menu {
        gap: 5px;
        margin: 0 auto !important;
    }

    .header-menu--item a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-decoration: none;
    }

    .header-menu--item span {
        color: #FFFFFF !important;
        text-transform: uppercase;
        font-size: 9px !important;
        margin-top: 4px;
    }
}

/* --- 6. AGENDA : FILTRES & TITRES --- */
.quick-filters {
    background: #000;
    padding: 15px 0;
    position: sticky;
    top: 75px; 
    z-index: 900;
}

@media (max-width: 767px) {
    .quick-filters { top: 0; } 
}

.filters-scroll {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 10px;
    scrollbar-width: none; /* Firefox */
}

.filters-scroll::-webkit-scrollbar { display: none; }

.filter-chip {
    background: #333;
    color: white;
    border: 1px solid #444;
    padding: 8px 18px;
    border-radius: 20px;
    font-family: var(--font-main);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-chip.active, .filter-chip:hover {
    background: var(--ccl-red);
    border-color: var(--ccl-red);
}

.titre-section {
    font-family: 'GT Walsheim Bold', sans-serif;
    font-size: 28px;
    text-transform: uppercase;
    margin: 40px 0 25px 0;
}

.titre-section span { color: var(--ccl-red); }

/* --- 7. BOUTONS & ÉLÉMENTS UI --- */
.btn-rouge {
    background-color: var(--ccl-red);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-family: 'GT Walsheim Bold', sans-serif;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-rouge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(237, 94, 94, 0.3);
}





/* --- 7. FOOTER (Adapté CC LIVE) --- */
#site-footer {
    background-color: #111;
    color: #F0F0F0;
    padding-top: 60px;
    margin-top: 50px;
}

#site-footer h3 {
    font-family: 'GT Walsheim', sans-serif;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

#site-footer ul {
    list-style: none;
    padding: 0;
}

#site-footer a {
    color: #aaa;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

#site-footer a:hover {
    color: var(--ccl-red); /* Utilisation du rouge Live */
}

/* Layout des colonnes */
.footer-main-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

/* Plateformes liens */
.site-footer--item {
    display: flex;
    align-items: center; 
    gap: 12px;           
    margin-bottom: 10px; 
}

.site-footer--item__logo {
    width: 30px;         
    display: flex;
    justify-content: center;
}

.site-footer--item__logo img {
    max-height: 25px;    
    width: auto;
    object-fit: contain;
}

/* Réseaux Sociaux */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
}

/* Partenaires */
.partenaire-logo a {
    display: inline-block;
    background: #222;
    padding: 15px;
    border-radius: 4px;
}

.partenaire-logo img {
    height: 60px;
    object-fit: contain;
}

/* Barre de Copyright */
.footer-bottom {
    border-top: 1px solid #222;
    padding: 25px 0;
    background: #0a0a0a;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #666;
}

/* --- MEDIA QUERIES MOBILE (Copy-paste CCBAND) --- */
@media (max-width: 767px) {
    #site-footer .container {
        padding-left: 25px;
        padding-right: 25px;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-main-row {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
    }

    .footer-col {
        width: 100%;
        min-width: 0;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: left;
        padding: 0 25px;
    }

    #site-footer {
        padding-bottom: 90px; /* Espace pour le menu mobile fixe */
    }

    #site-footer--menu {
        display: none; /* Comme sur CCBand mobile */
    }

    .partenaire-logo a {
        padding: 10px;
    }
    .partenaire-logo img {
        height: 45px;
    }
}




#home-hero {
    position: relative;
    /* Prend toute la hauteur moins le header (75px) */
    height: calc(100vh - 75px); 
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000;
}

/* Image de fond avec overlay sombre pour la lisibilité */
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    font-family: 'GT Walsheim Bold', sans-serif;
    font-size: clamp(32px, 6vw, 64px); /* Plus gros pour le plein écran */
    color: #fff;
    line-height: 0.9;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.hero-content h1 span {
    display: block;
    color: var(--ccl-red);
    font-size: 0.5em; /* Sous-titre plus petit */
    letter-spacing: 2px;
    margin-top: 10px;
}

/* Animation de la flèche de scroll */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.3s;
}

.scroll-down:hover { opacity: 0.7; }

.scroll-text {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* Petit dessin de souris animée */
.mouse {
    width: 20px;
    height: 35px;
    border: 2px solid #fff;
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
}

.wheel {
    width: 2px;
    height: 6px;
    background: var(--ccl-red);
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% { opacity: 1; top: 5px; }
    100% { opacity: 0; top: 20px; }
}

/* Media Query Mobile */
@media (max-width: 767px) {
    #home-hero {
        /* Sur mobile, on retire le header du calcul car il est en bas */
        height: 100vh; 
    }
    
    .hero-content h1 {
        font-size: 40px;
        margin-bottom: 30px;
    }
}






/* --- LA BARRE DE RECHERCHE HERO --- */
.search-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.1); /* Fond blanc très transparent */
    backdrop-filter: blur(15px);         /* L'effet de flou (Glassmorphism) */
    -webkit-backdrop-filter: blur(15px); /* Compatibilité Safari */
    padding: 10px;
    border-radius: 60px;                 /* Forme pilule */
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 900px;
    margin: 0 auto;                      /* Centrage horizontal */
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-search-form {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Le champ de saisie blanc */
.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 12px 25px;
    min-width: 250px;
    transition: var(--transition);
}

.search-input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(237, 94, 94, 0.4); /* Halo rouge au clic */
}

.search-input-group i { 
    color: #888; 
    margin-right: 12px; 
    font-size: 18px;
}

.search-input-group input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    font-family: var(--font-main);
    color: #333;
}

/* Conteneur des filtres (Scroll horizontal interne) */
.quick-filters-wrapper {
    flex: 2;
    overflow: hidden;
}

.filters-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none; /* Cache la barre sur Firefox */
    padding: 5px 0;
}

.filters-scroll::-webkit-scrollbar { 
    display: none; /* Cache la barre sur Chrome/Safari */
}

/* Les petites bulles de filtres */
.filter-chip {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 18px;
    border-radius: 30px;
    white-space: nowrap;
    cursor: pointer;
    font-size: 13px;
    font-family: var(--font-main);
    transition: var(--transition);
}

.filter-chip:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #fff;
}

.filter-chip.active {
    background: var(--ccl-red);
    border-color: var(--ccl-red);
    font-weight: bold;
}

/* Le bouton Rechercher (Desktop) */
.btn-search-submit {
    background: var(--ccl-red);
    color: #fff;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: bold;
    font-family: 'GT Walsheim Bold', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
}

.btn-search-submit:hover {
    transform: scale(1.05);
    background: #ff6e6e; /* Un rouge un peu plus clair au survol */
}

/* --- ADAPTATION MOBILE --- */
@media (max-width: 767px) {
    .search-wrapper {
        background: none;
        backdrop-filter: none;
        border: none;
        padding: 0 15px;
        box-shadow: none;
    }
    
    .hero-search-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-input-group {
        width: 100%;
        min-width: 0;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }

    .quick-filters-wrapper.no-desktop {
        width: 100%;
        margin-top: 5px;
    }
}




/* --- SECTION RADAR --- */
.section-padding { 
    padding: 80px 0; 
}

.header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ccl-red);
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Animation point rouge */
.pulse {
    width: 8px; height: 8px;
    background: var(--ccl-red);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(237, 94, 94, 0.4);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(237, 94, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(237, 94, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(237, 94, 94, 0); }
}

/* --- LE SLIDER (Correctif Scroll & Débordement) --- */
.concert-slider-wrapper {
    overflow-x: auto;
    /* Le padding haut/bas permet à la carte de monter sans être coupée */
    padding: 25px 10px 50px 10px; 
    margin: 0 -10px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
}

.concert-slider-wrapper::-webkit-scrollbar { 
    display: none; /* Chrome/Safari */
}

.concert-grid {
    display: flex;
    gap: 25px;
    /* Force la grille à s'étendre horizontalement sans limite */
    width: max-content; 
}

/* --- LA CARTE CONCERT DU FUTUR --- */
.concert-card {
    flex: 0 0 320px;
    background: #1e1e1e;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    text-decoration: none;
    color: inherit;
}

.concert-card:hover {
    transform: translateY(-15px); /* Monte au survol */
    border-color: var(--ccl-red);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

.concert-card a { 
    text-decoration: none; 
    color: inherit; 
    display: block;
}

.card-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.concert-card:hover .card-img img { 
    transform: scale(1.1); 
}

/* Badges sur image */
.distance-badge {
    position: absolute;
    bottom: 15px; left: 15px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #fff;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: bold;
    z-index: 2;
}

/* Correctif Icône Cœur */
.heart-fav {
    position: absolute;
    top: 15px; right: 15px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.1);
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.heart-fav:hover { 
    background: var(--ccl-red); 
    transform: scale(1.1);
}

.heart-fav img { 
    width: 20px !important; 
    height: 20px !important; 
    filter: invert(1); 
    object-fit: contain; /* Empêche l'écrasement gauche/droite */
}

/* Contenu Texte */
.card-content { 
    padding: 20px; 
}

.event-date {
    color: var(--ccl-red);
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 8px;
}

.card-content h3 {
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #fff;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.event-location {
    font-size: 13px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-footer-action {
    padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--ccl-red);
    text-align: right;
    letter-spacing: 1px;
}

/* Bouton Géo Radar */
.btn-radar-geo {
    background: #151515;
    border: 1px solid var(--ccl-red);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-radar-geo:hover {
    background: var(--ccl-red);
    box-shadow: 0 0 20px rgba(237, 94, 94, 0.4);
}

/* Media Query Mobile */
@media (max-width: 768px) {
    .section-padding { padding: 40px 0; }
    .concert-card { flex: 0 0 280px; } /* Un peu plus étroit sur mobile */
}






/* --- SECTION ORGANISATEURS --- */
.orga-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0 40px;
    scrollbar-width: none;
}

.orga-card {
    flex: 0 0 200px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.orga-card:hover { transform: translateY(-8px); }

.orga-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    border: 3px solid #222;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: border-color 0.3s;
}

.orga-card:hover .orga-photo { border-color: var(--ccl-red); }

/* Le petit badge "Nombre de concerts" */
.orga-count {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--ccl-red);
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 10px;
    border: 2px solid #111;
}

.orga-nom {
    color: #fff;
    font-family: 'GT Walsheim Bold', sans-serif;
    font-size: 16px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.orga-city {
    color: #666;
    font-size: 12px;
}






/* --- ARTISTE CARD LIVE --- */
.artiste-card {
    position: relative;
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(255,255,255,0.05);
}

.artiste-card:hover {
    transform: translateY(-10px);
    border-color: var(--ccl-red);
}

.artiste-location {
    color: var(--ccl-red) !important; /* On passe en rouge */
}

.artiste-palmares img {
    border: 2px solid var(--ccl-red) !important; /* On passe en rouge */
}

.badge-count {
    background: var(--ccl-red) !important;
    color: #fff !important;
}




