header {
    background-image: url('../img/Background.jpg');
    background-size: center;
	background-position: top center;
    min-height: 110vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

header .affiche-header {
	position: absolute;
	left: 50%;
	top: 56%;
	transform: translate(-50%, -50%);
	display: flex;
	gap: 0; /* plus d'espace entre affiche et description */
	align-items: center;
	justify-content: center;
	padding: 30px 20px;
	width: calc(100% - 80px);
	max-width: 1200px;
	z-index: 12;
}

header .affiche-header .affiche {
	flex: 0 0 300px;
	margin-right: 0;
	margin-left: -140px;
	margin-top: -104px;
}

header .affiche-header .affiche img {
	max-width: 300px;
}

header .affiche-header .affiche-description {
	margin-left: 80px;
	flex: 0 0 auto;
	margin-top: -50px;  
}

.affiche {
	flex: 1 1 320px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.affiche img {
	width: 100%;
	max-width: 320px;
	height: auto;
}

.affiche-description {
	flex: 0 1 360px;
	display: flex;
	flex-direction: column;
	gap: 10px; /* réduire l'espacement vertical */
	align-items: flex-start;
	padding: 12px 14px;
	border-radius: 8px;
}

.affiche-description h2 {
	font-family: 'Poppins', sans-serif; 
	font-size: 28px;
	color: #eaeaea;
	line-height: 1.1;
	margin-bottom: 6px;
	text-shadow: 0 0 6px rgba(255,255,255,0.03);
	order: 1;
	width: 100%;
	margin-top: 12px; 
}

.affiche-description > a {
	text-decoration: none;
	order: 0;
	display: block;
} 

.affiche-description button {
	appearance: none;
	-webkit-appearance: none;
	border: none;
	color: #ffffff;
	cursor: pointer;
	padding: 6px 0; 
	font-size: 13px; 
	border-radius: 0;
	width: auto; 
	text-align: left; 
	transition: opacity 0.12s ease;
	box-shadow: none;
	font-weight: 500;
}

.affiche-description button:hover {
	opacity: 0.85;
}

/* Variante pour le bouton principal (Télécharger) */
/* Forcer les liens/boutons à rester en texte simple blanc */
.affiche-description a button {
	background: transparent !important;
	color: #fff !important;
	border: none !important;
	box-shadow: none !important;
}

.affiche-header .skate,
.affiche-header .basket,
.affiche-header .breakdance,
.affiche-header .graffiti {
    scale: 1 ;
	padding-left: 200px;
	padding-right: 20px;
}

/* Tablette et petits laptops (max-width: 992px) */
@media (max-width: 992px) {
    header {
        min-height: 80vh; /* Réduire la hauteur du header */
    }
    
    header .affiche-header {
        /* Retirer le positionnement complexe */
        position: relative; 
        left: auto;
        top: auto;
        transform: none;
        
        flex-direction: column; /* Empiler l'image et la description */
        gap: 40px; 
        padding: 30px 20px;
        width: 90%; 
        max-width: 700px; 
        margin: 0 auto; /* Centrer le bloc */
    }
    
    /* Réinitialisation de la position de l'affiche et de la description */
    header .affiche-header .affiche,
    header .affiche-header .affiche-description {
        flex: 1 1 100%; 
        margin: 0; /* Supprimer les marges négatives */
        padding: 0;
        text-align: center;
    }
    
    /* Ajuster la taille de l'image de l'affiche */
    header .affiche-header .affiche img {
        max-width: 250px; 
        width: 100%;
        height: auto;
    }
    
    .affiche-description {
        align-items: center; /* Centrer le contenu de la description */
    }

    .affiche-description h2 {
        text-align: center;
        font-size: 24px;
    }

    .affiche-description p {
        text-align: center;
    }
}

/* Mobile (max-width: 576px) */
@media (max-width: 576px) {
    header {
        min-height: 70vh;
    }

    header .affiche-header {
        gap: 20px;
        padding: 20px 10px;
        width: 100%;
    }

    /* L'image elle-même */
    header .affiche-header .affiche img {
        max-width: 200px; 
    }

    .affiche-description h2 {
        font-size: 20px; 
    }

    .affiche-description p {
        font-size: 0.9em;
    }

    .affiche-description button {
        padding: 10px 20px;
        font-size: 1em;
    }
}