/* Import OBLIGATOIRE en PREMIER */
@import url('https://fonts.googleapis.com/css2?family=Aldrich&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Glegoo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bahiana&display=swap');

/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #0A382E;
}

/* Header fixe */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 1.5rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo img {
    width: 50px;
    height: auto;
    display: block;
}

/* Formulaire de recherche */
.search-form {
    display: flex;
    align-items: center;
    gap: 0;
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid #ffffff;
    border-radius: 25px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-form:hover,
.search-form:focus-within {
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 15px rgba(21, 214, 129, 0.3);
}

.search-form__input {
    border: none;
    background: transparent;
    padding: 8px 15px;
    font-family: 'Aldrich', sans-serif;
    font-size: 13px;
    color: #ffffff;
    outline: none;
    width: 180px;
}

.search-form__input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-form__button {
    border: none;
    background: transparent;
    color: #ffffff;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.search-form__button:hover {
    color: #15D681;
}

.search-form__button svg {
    width: 18px;
    height: 18px;
}

/* Message de recherche */
.search-message {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(21, 214, 129, 0.95);
    color: #0A382E;
    padding: 15px 30px;
    border-radius: 25px;
    font-family: 'Aldrich', sans-serif;
    font-size: 14px;
    z-index: 9999;
    animation: slideDown 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Section Hero */
.hero {
    min-height: 100vh;
    background-image: url('/assets/img/hero\ (2).avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    gap: 0.5rem;
}

.hero__title {
    width: 70%;
    max-width: 350px;
    height: auto;
    display: block;
}

/* Ligne dates + lieu */
.hero__info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.hero__dates,
.hero__location {
    font-family: 'Aldrich', sans-serif !important;
    font-size: 13px;
    color: #FFFFFF;
    margin: 0;
}

.hero__dates {
    text-transform: uppercase;
}

.hero__separator {
    width: 65px;
    height: auto;
    display: block;
}

/* Bouton billetterie */
.hero__btn {
    margin-top: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.hero__btn img {
    width: 180px;
    height: auto;
    display: block;
}

.hero__btn:hover {
    transform: scale(1.05);
}

/* Ligne dates + lieu - décalée à droite */
.hero__info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    margin-left: 0;
    margin-bottom: 0.5rem;
}

.hero__separator {
    width: 100px;
    height: auto;
    display: block;
}

/* Bouton billetterie - taille réduite */
.hero__btn {
    margin-top: 0.3rem;
    margin-left: 0;
    display: inline-block;
    transition: transform 0.3s ease;
}

.hero__btn img {
    width: 120px;
    height: auto;
    display: block;
}

.hero__btn:hover {
    transform: scale(1.05);
}

/* ========================================
   SECTION INVITÉS
   ======================================== */
.invites-link,
.programme-link,
.infos-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.invites-link:hover,
.programme-link:hover,
.infos-link:hover {
    transform: scale(1.02);
}

.invites {
    padding: 20px;
    display: flex;
    justify-content: center;
}

.invites__container {
    width: 390px;
    height: 141px;
    background-color: #105142;
    border: 2px solid #ffffff;
    border-radius: 13px;
    padding: 14px 18px;
    position: relative;
    overflow: visible;
}

.invites__title {
    font-family: 'Aldrich', sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 10px 0;
    font-weight: normal;
}

.invites__content {
    position: relative;
    width: 100%;
    height: calc(100% - 28px);
}

.invites__list {
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    column-gap: 30px;
    row-gap: 6px;
    position: relative;
    z-index: 2;
    width: 240px;
    list-style: none;
}

.invites__name {
    font-family: 'Bruno Ace', sans-serif;
    font-size: 12px;
    color: #ffffff;
    line-height: 1.3;
    white-space: nowrap;
}

.invites__photo {
    position: absolute;
    right: -20px;
    bottom: -30px;
    width: 190px;
    top: -105px;
    height: 200px;
    object-fit: cover;
    object-position: center 25%;
    z-index: 1;
}

/* ========================================
   SECTION PROGRAMME
   ======================================== */
.programme {
    padding: 0px 20px 20px 20px;
    display: flex;
    justify-content: center;
}

.programme__container {
    width: 390px;
    background-color: #105142;
    border: 2px solid #ffffff;
    border-radius: 13px;
    padding: 14px 22px;
    position: relative;
    z-index: 2;
}

.programme__title {
    font-family: 'Aldrich', sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 10px 0;
    font-weight: normal;
}

.programme__content {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.programme__day {
    width: 168px;
    height: 79px;
    border: 1px solid #ffffff;
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.programme__day h3 {
    font-family: 'Aldrich', sans-serif;
    font-size: 13px;
    color: #ffffff;
    margin: 0 0 4px 0;
    font-weight: normal;
}

.programme__day p {
    font-family: 'Bruno Ace', sans-serif;
    font-size: 7px;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
}

/* ========================================
   SECTION INFOS PRATIQUES
   ======================================== */
.infos {
    padding: 0px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.infos__container {
    width: 390px;
    background-color: #105142;
    border: 2px solid #ffffff;
    border-radius: 13px;
    padding: 14px 18px;
    position: relative;
    z-index: 1;
}

.infos__title {
    font-family: 'Aldrich', sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 10px 0;
    font-weight: normal;
}

.infos__image {
    width: 190px;
    height: auto;
    position: absolute;
    right: -25px;
    top: -91px;
    z-index: 0;
}

.infos__text {
    font-family: 'Bruno Ace', sans-serif;
    font-size: 8px;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

/* ========================================
   SECTION PARTENAIRES
   ======================================== */
.partenaires {
    padding: 0px 20px 20px 20px;
    display: flex;
    justify-content: center;
}

.partenaires__wrapper {
    width: 390px;
}

.partenaires__title {
    font-family: 'Aldrich', sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 10px 0;
    font-weight: normal;
}

.partenaires__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
}

.partenaires__item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.partenaires__item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

/* ========================================
   MENU OVERLAY
   ======================================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 932px;
    max-height: 100vh;
    background-color: #05000A;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

.menu-overlay__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
}

.menu-overlay__close img {
    width: 40px;
    height: auto;
}

.menu-overlay__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: relative;
}

.menu-overlay__gif {
    max-width: 600px;
    width: 100%;
    height: auto;
    opacity: 0.4;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-overlay__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.menu-overlay__link {
    font-family: 'Bruno Ace', sans-serif;
    font-size: 24px;
    color: #ffffff;
    text-decoration: none;
    -webkit-text-stroke: 1px #6E6577;
    text-stroke: 1px #6E6577;
    paint-order: stroke fill;
    transition: all 0.3s ease;
}

.menu-overlay__link:hover {
    color: #ffffff;
    -webkit-text-stroke: 2px #ffffff;
    text-stroke: 2px #ffffff;
    transform: scale(1.1);
}

/* ========================================
   PAGE PROGRAMME
   ======================================== */
.programme-page {
    min-height: 100vh;
    background-color: #0A382E;
    padding: 80px 20px 40px 20px;
}

.programme-page__title {
    font-family: 'Aldrich', sans-serif;
    font-size: 32px;
    color: #ffffff;
    margin: 0 0 30px 0;
    font-weight: normal;
}

/* Section Filtrer */
.filter {
    max-width: 430px;
    margin: 0 auto;
}

.filter__container {
    width: 390px;
    height: 396px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid #ffffff;
    border-radius: 13px;
    padding: 20px;
    margin: 0 auto 30px auto;
}

.filter__title {
    font-family: 'Bruno Ace', sans-serif;
    font-size: 20px;
    color: #ffffff;
    margin: 0 0 15px 0;
    font-weight: normal;
}

.filter__group {
    margin-bottom: 20px;
}

.filter__group:last-child {
    margin-bottom: 0;
}

.filter__label {
    font-family: 'Bruno Ace', sans-serif;
    font-size: 16px;
    color: #ffffff;
    margin: 0 0 10px 0;
    font-weight: normal;
}

.filter__options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter__options--grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.filter__options--scenes {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: visible;
}

.filter__btn {
    font-family: 'Glegoo', serif;
    font-size: 14px;
    color: #ffffff;
    background-color: #0A382E;
    border: 2px solid #ffffff;
    border-radius: 13px;
    width: 75px;
    height: 37px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
}

.filter__btn:hover,
.filter__btn.active {
    background-color: #ffffff;
    color: #0A382E;
}

/* Boutons de scène avec largeurs spécifiques */
.filter__btn--scene1 {
    width: 80px;
    flex-shrink: 0;
}

.filter__btn--scene2 {
    width: 130px;
    white-space: nowrap;
    padding: 8px 8px;
    flex-shrink: 0;
    font-size: 13px;
}

.filter__btn--scene3 {
    width: 110px;
    flex-shrink: 0;
}

.filter__download {
    display: block;
    width: fit-content;
    margin: 0 auto;
    margin-left: calc(50% + 10px);
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.filter__download img {
    width: auto;
    height: auto;
    display: block;
}

.filter__download:hover {
    transform: translateX(-50%) scale(1.05);
}

/* ========================================
   PAGE INFOS PRATIQUES
   ======================================== */
.infos-page {
    min-height: 100vh;
    background-color: #0A382E;
    padding: 80px 20px 40px 20px;
}

.infos-page__title {
    font-family: 'Aldrich', sans-serif;
    font-size: 36px;
    color: #ffffff;
    margin: 0 0 30px 0;
    font-weight: normal;
    text-align: center;
}

/* Cartes d'infos */
.info-card {
    max-width: 430px;
    margin: 0 auto 30px auto;
}

.info-card__container {
    width: 390px;
    min-height: 220px;
    background-color: #105142;
    border: 2px solid #ffffff;
    border-radius: 13px;
    padding: 20px;
    margin: 0 auto;
}

.info-card__title {
    font-family: 'Aldrich', sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 15px 0;
    font-weight: normal;
}

.info-card__text {
    font-family: 'Glegoo', serif;
    font-size: 14px;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.info-card__list {
    font-family: 'Glegoo', serif;
    font-size: 14px;
    color: #ffffff;
    margin: 0 0 15px 0;
    padding-left: 20px;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

.info-card__list li {
    margin-bottom: 8px;
}

.info-card__btn {
    display: block;
    width: fit-content;
    margin: 20px 0 0 0;
    transition: transform 0.3s ease;
}

.info-card__btn img {
    width: auto;
    height: auto;
    display: block;
}

.info-card__btn:hover {
    transform: scale(1.05);
}

/* Rectangle Hébergements avec dimensions spécifiques */
.info-card__container--hebergements {
    min-height: 357px;
}

/* Rectangle FAQ avec dimensions spécifiques */
.info-card__container--faq {
    min-height: 562px;
}

/* Questions FAQ avec espacement augmenté */
.info-card__question {
    font-family: 'Glegoo', serif;
    font-size: 14px;
    color: #ffffff;
    margin: 0 0 25px 0;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.info-card__question-title {
    font-weight: bold;
}

/* ========================================
   PAGE LE FESTIVAL
   ======================================== */
.festival-page {
    min-height: 100vh;
    background-color: #0A382E;
    background-image: url('/assets/img/Savoufestfond.avif');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 80px 20px 40px 20px;
}

.festival-page__title {
    font-family: 'Bahiana', sans-serif;
    font-size: 96px;
    color: #ffffff;
    margin: 0 0 30px 0;
    font-weight: normal;
    text-align: center;
}

/* Cartes Festival */
.festival-card {
    max-width: 430px;
    margin: 30px auto;
}

/* Premier rectangle avec marge supérieure plus grande */
.festival-card:first-of-type {
    margin-top: 80px;
}

.festival-card__container {
    width: 390px;
    min-height: 331px;
    background-color: #105142;
    border: 2px solid #ffffff;
    border-radius: 13px;
    padding: 20px;
    margin: 0 auto;
    position: relative;
}

.festival-card__title {
    font-family: 'Aldrich', sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 15px 0;
    font-weight: normal;
    position: relative;
    z-index: 2;
}

.festival-card__text {
    font-family: 'Bruno Ace', sans-serif;
    font-size: 14px;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.6;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.festival-card__image {
    position: absolute;
    bottom: 10px;
    right: -2px;
    width: 180px;
    top: 84px;
    height: auto;
    opacity: 0.7;
    z-index: 1;
}

/* Rectangle EQUIPE avec hauteur spécifique */
.festival-card__container--equipe {
    min-height: 1618px;
}

/* Rectangle CHARTE avec hauteur spécifique */
.festival-card__container--charte {
    min-height: 207px;
}

/* Texte en Glegoo pour la section équipe */
.festival-card__text--glegoo {
    font-family: 'Glegoo', serif;
    font-size: 14px;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.6;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

/* Sous-titres des sections */
.festival-card__subtitle {
    font-family: 'Glegoo', serif;
    font-size: 14px;
    color: #ffffff;
    margin: 25px 0 15px 0;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

/* Images décoratives sous le texte */
.festival-card__decoration {
    position: absolute;
    z-index: 1;
}

.festival-card__decoration--logo {
    width: 450px;
    height: auto;
    top: 600px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
}

.festival-card__decoration--team {
    width: 390px;
    height: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
}

/* ========================================
   PAGE ARTISTES
   ======================================== */
.artistes-page {
    min-height: 100vh;
    background-color: #105142;
    padding: 80px 20px 40px 20px;
    position: relative;
}

/* Image verticale ARTISTES à gauche */
.artistes-page__vertical-image {
    position: absolute;
    left: 32px;
    top: 30% transform: translateY(-50%);
    height: 780px;
    width: auto;
    z-index: 0;
}

/* Cartes artistes */
.artist-card-link {
    text-decoration: none;
    display: block;
}

.artist-card {
    max-width: 430px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    position: relative;
    z-index: 10;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.artist-card:hover {
    transform: scale(1.02);
}

.artist-card__photo {
    width: 250px;
    height: 244px;
    object-fit: cover;
    border-radius: 13px;
}

.artist-card__name {
    font-family: 'Aldrich', sans-serif;
    font-size: 20px;
    color: #ffffff;
    margin: 5px 0 0 0;
    font-weight: normal;
    text-align: center;
}

.artist-card__ellipse {
    width: 120px;
    height: 2px;
    margin: 2px auto;
    display: block;
}

.artist-card__scene {
    font-family: 'Bruno Ace', sans-serif;
    font-size: 12px;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

.artist-card__date {
    font-family: 'Bruno Ace', sans-serif;
    font-size: 12px;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

/* Carte Ateyaba avec dimensions spécifiques */
.artist-card__photo--ateyaba {
    width: 255px;
    height: 244px;
}

/* Carte Adèle Castillon avec dimensions spécifiques */
.artist-card__photo--adele {
    width: 253px;
    height: 244px;
}

/* Carte Justice avec dimensions spécifiques */
.artist-card__photo--justice {
    width: 250px;
    height: 248px;
}

/* Carte Styleto avec dimensions spécifiques */
.artist-card__photo--styleto {
    width: 257px;
    height: 244px;
}

/* ========================================
   PAGE DETAIL ARTISTE
   ======================================== */
.artist-detail-page {
    min-height: 100vh;
    background-color: #0A382E;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Conteneur top avec typo + artiste superposés */
.artist-detail__top {
    position: relative;
    width: 100%;
    max-width: 430px;
    margin-top: 10px;
}

/* Premier typo en arrière-plan */
.artist-detail__typo--background {
    position: absolute;
    top: 193px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
}

/* Image de l'artiste par-dessus le premier typo */
.artist-detail__photo {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    display: block;
}

/* Centrage spécifique pour Ateyaba */
.artist-detail-page--ateyaba .artist-detail__photo {
    transform: translateX(-30px);
}

/* Deuxième typo en dessous */
.artist-detail__typo--bottom {
    width: 100%;
    max-width: 430px;
    height: auto;
    display: block;
    margin-top: 0;
}

/* Informations en bas */
.artist-detail__info {
    text-align: center;
    width: 100%;
    margin-top: -20px;
    padding-bottom: 40px;
}

.artist-detail__date {
    font-family: 'Bruno Ace', sans-serif;
    font-size: 24px;
    color: #ffffff;
    margin: 0;
    line-height: 1;
}

.artist-detail__scene {
    font-family: 'Aldrich', sans-serif;
    font-size: 40px;
    color: #ffffff;
    margin: 0;
    margin-top: 5px;
    font-weight: normal;
    line-height: 1;
}

/* Rectangle Description */
.artist-detail__description {
    width: 385px;
    min-height: 732px;
    background-color: #105142;
    background-image: url('/assets/img/template page artiste/fondrectanglematrix.avif');
    background-size: cover;
    background-position: center;
    border: 2px solid #ffffff;
    border-radius: 13px;
    padding: 20px;
    margin: 30px auto 40px auto;
    position: relative;
}

.artist-detail__description-title {
    font-family: 'Aldrich', sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 20px 0;
    font-weight: normal;
}

.artist-detail__description-text {
    font-family: 'Glegoo', serif;
    font-size: 14px;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.artist-detail__description-ellipse {
    width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
}

/* Rectangle Carrousel */
.artist-detail__gallery {
    width: 390px;
    min-height: 315px;
    background-color: #105142;
    border: 2px solid #ffffff;
    border-radius: 13px;
    padding: 20px;
    margin: 0px auto 40px auto;
}

.artist-detail__gallery-title {
    font-family: 'Aldrich', sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 20px 0;
    font-weight: normal;
}

.artist-detail__carousel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.carousel__images {
    position: relative;
    width: 200px;
    height: 220px;
    flex-shrink: 0;
}

.carousel__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel__image.active {
    opacity: 1;
}

.carousel__btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.carousel__btn:hover {
    transform: scale(1.1);
}

.carousel__btn img {
    width: 100%;
    height: 100%;
}

/* Bouton retour */
.back-button {
    position: fixed;
    bottom: 20px;
    left: 10px;
    width: 30px;
    height: 30px;
    z-index: 100;
    transition: transform 0.3s ease;
}

.back-button img {
    width: 100%;
    height: 100%;
    display: block;
}

.back-button:hover {
    transform: scale(1.1);
}

/* ========================================
   PAGE DETAIL ARTISTE - ATEYABA
   ======================================== */
.artist-detail-page--ateyaba {
    background-color: #224295;
}

.artist-detail__description--ateyaba {
    background-image: url('/assets/img/template page artiste/fondrectangleultraviolet.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.artist-detail__gallery--ateyaba {
    background-color: #256993;
}

/* ========================================
   PAGE CONTACT
   ======================================== */
.contact-page {
    min-height: 100vh;
    background-color: #0A382E;
    padding: 80px 20px 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-page__title {
    font-family: 'Aldrich', sans-serif;
    font-size: 36px;
    color: #ffffff;
    margin: 40px 0 30px 0;
    font-weight: normal;
    width: 390px;
    text-align: left;
}

/* Rectangle du formulaire */
.contact-form-container {
    width: 390px;
    min-height: 571px;
    background-color: #105142;
    border: 2px solid #ffffff;
    border-radius: 13px;
    padding: 30px 20px;
    box-sizing: border-box;
}

.contact-form__title {
    font-family: 'Aldrich', sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 30px 0;
    font-weight: normal;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form__field--message {
    margin-top: 10px;
}

.contact-form__label {
    font-family: 'Glegoo', serif;
    font-size: 16px;
    color: #ffffff;
    margin: 0;
}

.contact-form__input {
    width: 100%;
    max-width: 198px;
    height: 37px;
    background-color: #0A382E;
    border: 2px solid #ffffff;
    border-radius: 13px;
    padding: 0 15px;
    font-family: 'Glegoo', serif;
    font-size: 14px;
    color: #ffffff;
    box-sizing: border-box;
}

.contact-form__input:focus {
    outline: none;
    border-color: #ffffff;
}

.contact-form__textarea {
    width: 100%;
    max-width: 340px;
    height: 155px;
    background-color: #0A382E;
    border: 2px solid #ffffff;
    border-radius: 13px;
    padding: 15px;
    font-family: 'Glegoo', serif;
    font-size: 14px;
    color: #ffffff;
    box-sizing: border-box;
    resize: none;
}

.contact-form__textarea:focus {
    outline: none;
    border-color: #ffffff;
}

.contact-form__button {
    width: auto;
    height: auto;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0;
    margin-top: 10px;
    align-self: flex-start;
    display: block;
}

.contact-form__button img {
    width: auto;
    height: 40px;
    display: block;
}

.contact-form__button:hover {
    transform: scale(1.05);
}

/* Rectangle Coordonnées */
.contact-info-container {
    width: 390px;
    min-height: 234px;
    background-color: #105142;
    border: 2px solid #ffffff;
    border-radius: 13px;
    padding: 25px 20px;
    box-sizing: border-box;
    margin-top: 30px;
}

.contact-info__title {
    font-family: 'Aldrich', sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 25px 0;
    font-weight: normal;
}

.contact-info__item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-left: 20px;
}

.contact-info__item:last-child {
    margin-bottom: 0;
}

.contact-info__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
}

.contact-info__text {
    font-family: 'Glegoo', serif;
    font-size: 16px;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
}

/* Rectangle Réseaux sociaux */
.contact-social-container {
    width: 390px;
    min-height: 259px;
    background-color: #105142;
    border: 2px solid #ffffff;
    border-radius: 13px;
    padding: 25px 20px;
    box-sizing: border-box;
    margin-top: 30px;
}

.contact-social__title {
    font-family: 'Aldrich', sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 25px 0;
    font-weight: normal;
}

.contact-social__item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-left: 20px;
}

.contact-social__item:last-child {
    margin-bottom: 0;
}

.contact-social__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
}

.contact-social__text {
    font-family: 'Glegoo', serif;
    font-size: 16px;
    color: #ffffff;
    margin: 0;
}

/* ========================================
   PAGE SCENES
   ======================================== */
.scenes-page {
    min-height: 100vh;
    background-color: #105142;
    padding: 80px 20px 40px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* Image verticale SCENES */
.scenes-page__vertical-image {
    position: absolute;
    left: 23px;
    top: 126px;
    height: 780px;
    width: auto;
    z-index: 0;
    pointer-events: none;
}

/* Header avec triangle et titre */
.scenes-page__header {
    position: relative;
    width: 100%;
    max-width: 430px;
    margin: 40px 0 50px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scenes-page__triangle {
    position: absolute;
    width: 390px;
    top: 25px;
    height: auto;
    z-index: 1;
}

.scenes-page__title {
    font-family: 'Bahiana', cursive;
    font-size: 96px;
    color: #ffffff;
    margin: 0;
    font-weight: normal;
    z-index: 2;
    position: relative;
    text-align: center;
}

/* Cartes de scènes */
.scene-card-link {
    text-decoration: none;
    display: block;
    width: 100%;
    max-width: 390px;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease;
}

.scene-card-link:hover {
    transform: scale(1.02);
}

.scene-card {
    width: 100%;
    position: relative;
}

.scene-card__title {
    font-family: 'Aldrich', sans-serif;
    font-size: 40px;
    color: #ffffff;
    margin: 0 0 20px 0;
    font-weight: normal;
    text-align: center;
}

.scene-card__image {
    width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ========================================
   PAGE DETAIL SCENE
   ======================================== */
.scene-detail-page {
    min-height: 100vh;
    padding: 80px 20px 40px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scene-detail-page--oxygene {
    background-color: #00275E;
}

.scene-detail__image {
    width: 100%;
    max-width: 390px;
    height: auto;
    border-radius: 13px;
    margin-bottom: 30px;
}

.scene-detail__title {
    font-family: 'Aldrich', sans-serif;
    font-size: 70px;
    color: #ffffff;
    margin: 0 0 5px 0;
    font-weight: normal;
    text-align: center;
}

.scene-detail__ellipse {
    width: 200px;
    height: auto;
    margin: 0 auto 10px auto;
    display: block;
}

.scene-detail__day {
    width: 100%;
    max-width: 390px;
    text-align: center;
    margin-bottom: 50px;
}

.scene-detail__date {
    font-family: 'Bruno Ace', sans-serif;
    font-size: 24px;
    color: #ffffff;
    margin: 0 0 20px 0;
    font-weight: normal;
}

.scene-detail__artist {
    font-family: 'Bruno Ace', sans-serif;
    font-size: 16px;
    color: #ffffff;
    margin: 10px 0;
    font-weight: normal;
}

.scene-detail__waves {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 400px;
    height: auto;
    opacity: 0.3;
    pointer-events: none;
    mix-blend-mode: screen;
}

}

/* ========================================
   PAGE ERREUR 404
   ======================================== */
body.error-body {
    background-color: #090F0B;
}

.error-page {
    min-height: 100vh;
    background-color: #090F0B;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.error-page__hero {
    position: relative;
    width: 100%;
    max-width: 430px;
    margin: 0 auto 30px auto;
}

.error-page__matrix {
    width: 100%;
    height: auto;
    display: block;
}

.error-page__number {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 0, 100, 0.7)) drop-shadow(0 0 40px rgba(0, 255, 255, 0.5));
    animation: glitch 2s infinite;
}

@keyframes glitch {

    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    20% {
        transform: translate(calc(-50% - 2px), calc(-50% + 2px));
    }

    40% {
        transform: translate(calc(-50% - 2px), calc(-50% - 2px));
    }

    60% {
        transform: translate(calc(-50% + 2px), calc(-50% + 2px));
    }

    80% {
        transform: translate(calc(-50% + 2px), calc(-50% - 2px));
    }
}

.error-page__title {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Aldrich', sans-serif;
    font-size: 32px;
    color: #15D681;
    text-transform: uppercase;
    margin: 0;
    font-weight: normal;
    letter-spacing: 8px;
    -webkit-text-stroke: 1px #15D681;
}

.error-page__message {
    font-family: 'Aldrich', sans-serif;
    font-size: 16px;
    color: #ffffff;
    max-width: 400px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
    text-align: center;
}

.error-page__button {
    display: inline-block;
    padding: 12px 35px;
    background-color: #15D681;
    color: #090F0B;
    font-family: 'Aldrich', sans-serif;
    font-size: 16px;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
    text-align: center;
}

.error-page__button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(21, 214, 129, 0.6);
}

/* ========================================
   CARTES D'ARTISTES PROGRAMME
   ======================================== */
.artist-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 430px;
    margin: 0 auto;
}

.programme-card {
    background-color: #105142;
    border: 2px solid #ffffff;
    border-radius: 13px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.programme-card:hover {
    transform: scale(1.05);
}

.programme-card__image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.programme-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.programme-card__name {
    font-family: 'Bruno Ace', sans-serif;
    font-size: 14px;
    color: #ffffff;
    text-align: center;
    padding: 12px;
    margin: 0;
    font-weight: normal;
}

.artist-cards__empty {
    grid-column: 1 / -1;
    font-family: 'Aldrich', sans-serif;
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: #0A382E;
    border-top: 2px solid #ffffff;
    padding: 30px 20px 20px 20px;
    margin-top: 50px;
}

.footer__content {
    max-width: 430px;
    margin: 0 auto;
}

.footer__logo {
    text-align: center;
    margin-bottom: 20px;
}

.footer__logo img {
    width: 60px;
    height: auto;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.footer__link {
    font-family: 'Aldrich', sans-serif;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #15D681;
}

.footer__info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer__text {
    font-family: 'Glegoo', serif;
    font-size: 12px;
    color: #ffffff;
    margin: 5px 0;
}

.footer__copyright {
    font-family: 'Glegoo', serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
}

/* Adaptation du footer selon les pages */
/* Page artiste Laylow (vert) */
.artist-detail-page .footer {
    background-color: #105142;
}

/* Page artiste Ateyaba (bleu) */
.artist-detail-page--ateyaba .footer {
    background-color: #224295;
}

/* Page 404 (noir-vert foncé) */
body.error-body .footer {
    background-color: #090F0B;
}