@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;600;700;900&family=Roboto:wght@300;400;500;600;700&display=swap');

/* ==========================
   Styles de base
   ========================== */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    color: #333333;
    background: linear-gradient(60deg, #FF7FC9 0%, #E8FFFF 50%, #83FEFF 60%);
    min-height: 100vh;
    background-attachment: fixed;
}

/* ==========================
   Header
   ========================== */
.header {
    display: flex;
    align-items: center;
    background-color: #2E2A39;
    height: 150px;
    padding: 0 20px;
}

.header__logo {
    flex: 0 0 auto;
    margin-right: 20px;
}

.header__logo-img {
    max-width: 60px;
    height: auto;
}

/* ==========================
   Navigation Desktop
   ========================== */
.nav-bar {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.nav-bar__link {
    font-family: 'Lato', sans-serif;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.2em;
    background-color: pink;
    padding: 0.5em 1em;
    border-radius: 10px;
    text-decoration: none;
    color: #2F2F2F;
    border: 2px solid cyan;
    transition: all 0.3s ease;
}

/* ==========================
   Navigation Mobile
   ========================== */
.nav-bar-mobile {
    display: none;
}

.nav-bar-mobile__icon {
    height: 48px;
    transform: scaleX(-1);
    position: absolute;
    z-index: 33260;
    top: 8px;
    left: 8px;
    filter: invert(100%);
    transition: transform 0.3s ease;
}

.nav-bar-mobile__container {
    display: flex;
    flex-direction: column;
    background-color: rgba(210,105,30,.25);
    width: 100%;
    padding: 2em 0;
    backdrop-filter: blur(10px);
    position: absolute;
    z-index: 33261;
    top: 150px;
    left: 0;
    gap: 20px;
    box-shadow: 0px 0px 30px #f200ff;
}

.nav-bar-mobile__container--hidden {
    display: none;
}

.nav-bar-mobile__link {
    font-family: 'Lato', sans-serif;
    width: 80%;
    font-size: 1.4em;
    font-weight: 600;
    line-height: 1.2em;
    text-align: center;
    margin: 0 auto;
    background-color: pink;
    padding: 0.5em 1em;
    border-radius: 10px;
    text-decoration: none;
    color: #333333;
    border: 2px solid cyan;
    transition: all 0.3s ease;
}

/* ==========================
   Effets hover et click
   ========================== */
.nav-bar__link:hover,
.nav-bar-mobile__link:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.nav-bar__link:active,
.nav-bar-mobile__link:active {
    transform: scale(0.95);
}

/* ==========================
   Hero Section
   ========================== */
.hero {
    width: 100%;
    height: auto;
    margin-top: 0;
    overflow: hidden;
}

.hero__image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    max-height: 600px;
}

/* ==========================
   Info Section
   ========================== */
.info {
    padding: 2em 1em;
    text-align: center;
    max-width: 1200px;
    margin: 80px auto 60px; /* Modifié pour centrer horizontalement */
}

.info__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1em;
}

.info__icon {
    width: 30px;
    height: 30px;
}

.info__title {
    font-family: 'Lato', sans-serif;
    font-size: 2.5em;
    font-weight: 700;
    color: #333333;
    margin: 0;
    text-align: center; /* Ajouté pour assurer le centrage du texte */
}

.info__subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5em;
    font-weight: 600;
    color: #666666;
    max-width: 800px;
    margin: 1em auto 0;
    text-align: center; /* Ajouté pour assurer le centrage du texte */
}

/* ==========================
   Festival Section
   ========================== */
.festival {
    padding: 2em;
    margin: 2em auto;
    max-width: 1400px;
}

.festival__content {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 3em;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 4em;
}

.festival__text-content {
    flex: 1;
    padding-left: 1em; /* Ajouté un petit padding au contenu */
}

.festival__title {
    font-family: 'Lato', sans-serif;
    font-size: 120px;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.2em 0;
    text-align: left;
    padding-left: 0; /* Supprimé le padding-left */
    white-space: nowrap;
}

.festival__subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 1.8em;
    font-weight: 600;
    color: #444;
    margin: 0 0 1em 0;
}

.festival__description {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1em;
    line-height: 1.6;
    color: #666;
    max-width: 600px;
    font-weight: 400;
}

.festival__image-container {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
}

.festival__image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ==========================
   Banner Section
   ========================== */
.banner {
    width: 100%;
    padding: 4em 0;
    margin-top: 4em;
}

.banner__content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner__image-container {
    width: 400px;
    height: 400px;
    position: relative;
    z-index: 2;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.banner__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.banner__lines {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    padding: 0 15%;
}

.banner__line {
    width: 33%;
    height: auto;
    opacity: 0.8;
}

.banner__line--left {
    transform: scaleX(-1);
}

/* ==========================
   Section Artistes
   ========================== */
.artists {
    padding: 4em 2em;
    max-width: 1400px;
    margin: 0 auto;
}

.artists__title {
    font-family: 'Lato', sans-serif;
    font-size: 120px;
    font-weight: 700;
    color: #333;
    margin-bottom: 1em;
    text-align: left;
    padding-left: 1em;
}

.artists__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5em;
    padding: 0 1em;
}

.artist-card {
    text-align: center;
    position: relative;
}

.artist-card__image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    border-radius: 6%;
    margin-bottom: 1em;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.artist-card__image {
    position: absolute;
    border-radius: 6%;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%;
    object-fit: cover;
    border: 5px solid white;
}

.artist-card__dot {
    position: absolute;
    border-radius: 50%;
}

.artist-card__dot--cyan {
    width: 60px;
    height: 60px;
    background-color: #83FEFF;
    right: -50px;
    top: -30px;
    z-index: 2;
    border: 4px solid white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.artist-card__dot--pink {
    width: 60px;
    height: 60px;
    background-color: #FF7FC9;
    left: -40px;
    bottom: -150px;
    border: 4px solid white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.artist-card__name {
    font-family: 'Lato', sans-serif;
    font-size: 2.5em;
    font-weight: 900;
    font-style: italic; /* Ajout de l'italique */
    color: #333;
    text-align: left;
    padding-left: 0.5em;
    margin-top: 1em;
    letter-spacing: 0.02em;
}

/* ==========================
   Media Queries
   ========================== */
@media(width < 1200px) {
    .festival__title {
        font-size: 90px;
    }
}

@media(width < 992px) {
    .artists__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .artist-card__name {
        font-size: 2em; /* Légèrement plus petit sur tablette */
    }
    
    .artists__title,
    .festival__title {
        font-size: 70px;
        padding-left: 0.5em;
    }

    .festival__content {
        flex-direction: column;
        gap: 2em;
        padding: 2em;
    }

    .festival__image-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
    }

    .festival__subtitle {
        font-size: 1.5em;
    }

    .banner__image-container {
        width: 300px;
        height: 300px;
    }

    .banner__lines {
        padding: 0 10%;
    }
}

@media(width < 768px) {
    .hero__image {
        max-height: 400px;
    }

    .info {
        padding: 1.5em 1em;
    }

    .info__title {
        font-size: 2em;
    }
    
    .info__subtitle {
        font-size: 1.2em;
    }
}

@media(width < 600px) {
    .nav-bar {
        display: none;
    }
    
    .header {
        flex-direction: column;
        justify-content: center;
        padding: 10px;
    }

    .nav-bar-mobile {
        display: block;
        width: 100%;
    }

    .header__logo {
        margin: 0 0 10px 0;
    }
}

@media(width < 576px) {
    .artists__grid,
    .festival {
        padding: 1em;
    }
    .artist-card__name {
        font-size: 1.8em; /* Encore plus petit sur mobile */
    }

    .artists__title,
    .festival__title {
        font-size: 50px;
        padding-left: 0.3em;
    }

    .festival__content {
        padding: 1.5em;
    }

    .festival__subtitle {
        font-size: 1.3em;
    }

    .festival__description {
        font-size: 1em;
    }

    .info__title {
        font-size: 1.8em;
    }
    
    .info__subtitle {
        font-size: 1.1em;
    }
}

/* ==========================
   Equalizer
   ========================== */
.equalizer {
    width: 100%;
    padding: 4em 0;
    background-color: #2E2A39;
    margin: 4em 0;
}

.equalizer__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem; /* Espace entre les éléments */
}

.equalizer__player {
    flex: 1;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    
    position: relative;
}

.equalizer__play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background-color: #FF7FC9;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equalizer__play-btn:hover {
    transform: scale(1.1);
    background-color: #83FEFF;
}

.equalizer__bars {
    width: 100%;
    display: flex;
    align-items: flex-end;
    gap: 7px;
    height: 120px;
}

.equalizer__bars--reverse {
    align-items: flex-start;
    margin-top: 10px;
}

.equalizer__bars .bar {
    flex: 1;
    min-width: 8px;
    max-width: 16px;
    background-color: #83FEFF;
    border-radius: 8px 8px 0 0;
    height: 40%;
    transition: height 0.1s ease;
}

.equalizer__bars--reverse .bar {
    border-radius: 0 0 8px 8px;
    background-color: #FF7FC9;
}

.equalizer-link-container {
    text-align: center;
    padding: 2rem 0;
    margin: 2rem 0;
}

.equalizer-link {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #FF7FC9;
    color: #2E2A39;
    text-decoration: none;
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    border: 2px solid #83FEFF;
    transition: all 0.3s ease;
}

.equalizer-link:hover {
    transform: scale(1.05);
    background-color: #83FEFF;
    border-color: #FF7FC9;
}

/* ==========================
   Media Queries
   ========================== */
@media (max-width: 1200px) {
    .equalizer__dot-container:first-child {
        left: -60px;
    }
    
    .equalizer__dot-container:last-child {
        right: -60px;
    }
    
    .equalizer__dot {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 992px) {
    .equalizer__content {
        padding: 0 1em;
    }
    
    .equalizer__bars {
        height: 100px;
        gap: 5px;
    }
    
    .equalizer__bars .bar {
        min-width: 6px;
    }
}

@media (max-width: 768px) {
    .equalizer__dot-container {
        display: none; /* Cache les points sur mobile */
    }
    
    .equalizer__bars {
        height: 80px;
        gap: 4px;
    }
    
    .equalizer__bars .bar {
        min-width: 4px;
    }
    
    .equalizer__play-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .equalizer {
        padding: 2em 0;
        margin: 2em 0;
    }
    
    .equalizer__bars {
        height: 60px;
        gap: 3px;
    }
    
    .equalizer__play-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ==========================
   Programmation Section
   ========================== */
.programmation {
    padding: 6rem 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
   
    
}

.programmation__title {
    font-family: 'Lato', sans-serif;
    font-size: 120px;
    font-weight: 700;
    color: #333;
    margin: 0 0 2rem 0;
    text-align: center;
    font-style: italic;
}

.programmation__filters {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.programmation__filter-btn {
    padding: 0.8rem 1.5rem;
    background-color: #FF7FC9;
    border: 2px solid white;
    border-radius: 10px;
    color: #2E2A39;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.programmation__filter-btn:hover {
    background-color: #2E2A39;
    color: white;
    transform: translateY(-2px);
}

.programmation__filter-btn.active {
    background-color: #2E2A39;
    color: white;
    transform: translateY(-2px);
}

/* ==========================
   Container des cards
   ========================== */
.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

/* ==========================
   Card styles
   ========================== */
.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9f9f9;
    border: 4px solid #83FEFF;  /* Ajout du contour cyan */
    border-radius: 8px;
    width: 100%;
    max-width: 300px;
    min-height: 200px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-family: 'Lato', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin: 5px 0 5px 0;
    color: #333;
}

.description {
    width: 100%;
    margin: 5px 0 15px 0;
    color: #555;
    text-align: left;  /* Changé de center à left */
}

.card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
}

.card-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 50%;
}

.card-info p {
    margin: 15px 0;
    color: #555;
    text-align: left;
}

.price {
    font-weight: bold;
    color: #83FEFF !important;
    font-size: 1.5em;  /* Ajout de la taille de police */
    margin: 20px 0;    /* Augmentation des marges */
}

.horaire {
    font-style: italic;
}

.card-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
}

.card-image {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 10px;
    border: 2px solid transparent; /* Bordure transparente par défaut */
    background-image: linear-gradient(/* Dégradé que vous utilisez pour le fond de la page */);
    background-clip: padding-box; /* Pour que le dégradé soit visible à l'intérieur de la bordure */
    padding: 2px; /* Pour créer l'effet de bordure */
    display: inline-block; /* Assurez-vous que l'image se comporte comme un bloc */
}

/* ==========================
   Places vendues et barre de progression
   ========================== */
.places-vendues-container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-top: 5px;
}

.places-vendues-container h4 {
    margin: 0;
    padding-left: 15px;
    color: #555;
}

.progress-bar {
    width: 100%;
    margin: 0.5rem 0;
    background-color: #ddd;
    border-radius: 6px;
    height: 24px;
}

.progress {
    width: 0;
    border-radius: 6px;
    height: 24px;
    text-align: right;
    position: relative;
    background-color: #15acff;
    animation: bounce 3s ease-in-out;
}

.progress span {
    color: white;
    font-size: 12px;
    position: relative;  /* Changé de absolute à relative */
    z-index: 1;
}

@keyframes bounce {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ==========================
   Responsive Design
   ========================== */
@media (max-width: 768px) {
    .programmation__title {
        font-size: 80px;
    }

    .card {
        max-width: 100%;
        margin: 0 10px;
    }

    .card-content {
        flex-direction: column;
    }

    .card-info {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    .card-image-container {
        width: 100%;
        padding-left: 0;
    }

    .card-image {
        margin: 10px auto;
    }

    .card-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .programmation__title {
        font-size: 50px;
    }

    .card-title {
        font-size: 1.8rem;
    }

    .card-image {
        width: 100px;
        height: 100px;
    }

    .programmation__filters {
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================
   Footer
   ========================== */
.footer {
    background-color: #83FEFF;
    padding: 2em 0;
    width: 100%;
}

.footer__content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2em;
    text-align: center;
}

.footer__text {
    font-family: 'Lato', sans-serif;
    font-size: 1.2em;
    color: #2E2A39;
    text-align: center;
    margin-bottom: 2em;
    font-weight: bold; /* Modifié pour être en gras */
}

.footer__bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
}

.footer__nav {
    display: flex;
    gap: 2em;
}

.footer__link {
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    color: #2E2A39;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold; /* Modifié pour être en gras */
}

.footer__link:hover {
    color: #FF7FC9;
}

.footer__scroll-top {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: #2E2A39;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

.footer__scroll-top:hover {
    background-color: #FF7FC9;
    transform: translateY(-5px);
}

/* Pour les appareils qui préfèrent moins de mouvement */
@media (prefers-reduced-motion: reduce) {
    .footer__scroll-top {
        transition: none;
    }
}

/* ==========================
   Responsive
   ========================== */
@media (max-width: 768px) {
    .footer__bottom {
        flex-direction: column;
        gap: 2em;
    }

    .footer__nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1em;
    }

    .footer__text {
        font-size: 1em;
    }
}

/* ==========================
   Services Section
   ========================== */
.services {
    padding: 6rem 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.services__title {
    font-family: 'Lato', sans-serif;
    font-size: 120px;
    font-weight: 700;
    color: #333;
    margin: 0 0 2rem 0;
    text-align: center;
    font-style: italic;
}

.services__item {
    border: 3px solid #ddd;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.services__item-header {
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
}

.services__item-title {
    font-family: 'Lato', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.services__item-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.services__item-header.active .services__item-icon {
    transform: rotate(45deg);
}

/* Style pour les contenus standards (Bar et Restauration, Animations) */
.services__item-content {
    display: none;
    padding: 1rem;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: center;
}

.services__item-content.active {
    display: grid;
}

.services__item-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

.services__item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

/* Style spécifique pour la section Accès */
.access-layout {
    display: none;
}

.access-layout.active {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.services__text-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.services__text-column {
    text-align: left;
}

.services__subtitle {
    color: #333;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem 0;
    font-weight: bold;
}

.services__text-column ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.services__text-column li {
    margin-bottom: 0.5rem;
    color: #666;
}

.services__text-column p {
    margin: 0.5rem 0;
    color: #666;
    line-height: 1.6;
}

.services__image-container {
    width: 100%;
    margin-top: 2rem;
}

.services__image-container img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: cover;
    border-radius: 4px;
}

/* Media Queries */
@media (max-width: 1200px) {
    .services__title {
        font-size: 90px;
    }
}

@media (max-width: 992px) {
    .services__item-content {
        grid-template-columns: 1fr;
    }
    
    .services__item-image {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .services__title {
        font-size: 70px;
    }

    .services__item {
        width: 90%;
    }

    .services__item-title {
        font-size: 2.5rem;
    }

    .services__text-columns {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .services__title {
        font-size: 50px;
    }

    .services__item {
        width: 95%;
    }

    .services__item-title {
        font-size: 2rem;
    }
}

/* Style spécifique pour la section Accès */
.access-layout {
    display: none !important;
}

.access-layout.active {
    display: flex !important;
    flex-direction: column !important;
    padding: 1rem;
    gap: 2rem;
}

/* Conteneur du texte en deux colonnes */
.services__text-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
    order: 1;
}

/* Container de l'image en bas */
.services__image-container {
    width: 100%;
    margin-top: 2rem;
    order: 2;
}

.services__image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

/* Ajustement pour le responsive */
@media (max-width: 768px) {
    .services__text-columns {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Ajoutez ce code à votre fichier CSS */
.photo {
    border: 2px solid transparent; /* Bordure transparente par défaut */
    background-image: linear-gradient(/* Dégradé que vous utilisez pour le fond de la page */);
    background-clip: padding-box; /* Pour que le dégradé soit visible à l'intérieur de la bordure */
    padding: 2px; /* Pour créer l'effet de bordure */
}