body{
	display: flex;
    flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-bottom: 6.25rem;
    gap: 0rem;
}

header{
	width: 100%;
	display: flex;
	justify-content: center;
	height: fit-content;
	margin-top: 3vw;
	margin-bottom: 2vw;
}

.titleSoftHeart{
	font-family: 'montserrat';
	font-size: 5vw;
    font-weight: bold;
    text-align: center;
	color: rgb(0, 0, 0);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: nowrap;
	border: 0spx solid gray;
    color: rgb(0, 0, 0);
}

.headercontainer{
	width: 92%;
	height: fit-content;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	border: 0px solid white;
}
.headercontainer img{
	width: 50%;
	padding: 0;
	margin: 0;
	border: solid salmon 0px;
}
hr{
	display: flex;
	background-color: rgb(0, 0, 0);
	width: 75%;
	height:0.3rem;
	justify-content: center;
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;

	
}
main{
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.maincontainer{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 60%;
	height: fit-content;
	border: 0px white solid ;
	row-gap: 5rem;
	flex-wrap: nowrap;

}

.Photogallery{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	column-gap: 1vw;
    justify-content: center;
    align-items: center;
	width: 100%;
	border: 0px solid red ;
}

.PhotoSection-1{
    width:75%;
    display: flex;
    flex-direction: column;
    justify-content: center;
	row-gap: 1vh;
	border: 0px solid red ;
}

.PhotoSection0{
    width: 48%;
    display: flex;
    flex-direction: column;
    justify-content: center;
	row-gap: 1vh;
	border: 0px solid red ;
}

.PhotoSection1{
    width: 48%;
    display: flex;
    flex-direction: column;
    justify-content: center;
	row-gap: 1vh;
	border: 0px solid red ;
}


.Photobox{
	width: 100%;
	border: 0px solid white;
}

.Photobox img{
	display: flex;
	justify-content: center;
	width: 100%;

}

.Crewbox{
	display: flex;
	flex-direction: column;
	width: 100%;
	height: fit-content;
	border: 0px solid green;


}
.nomequipe{
	font-family: 'Montserrat';
	font-weight: bold;
	font-size: 1.5vw;
	color:rgb(0, 0, 0);
	text-shadow: 0px 0px 0px rgb(0, 153, 255);
	text-decoration: underline;
	border: 0px solid brown;
	width: 100%;
	height: fit-content;
	text-align: center;
	margin-top: 2vw;
	margin-bottom: 2vw;
}
.Listeequipe{
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
}

.Equipe1{
	display: flex;
	flex-direction: column;
	text-align: center;
	width:100%;
	height: 100%;
	border: 0px solid green;
	color: rgb(0, 0, 0);
	row-gap: 1vw;
}
.Equipe1 .role{
	text-align: center;
    font-weight: bold;
    font-size: 1.7vw;
}
.Equipe1 .nom{
	text-align: center;
    font-weight: normal;
    font-size: 1.5vw;
}


.role{
	font-family: 'Montserrat',sans-serif;
	font-size: 1.75vw;
	font-weight:bold;
	color: rgb(0, 0, 0);
    text-align: left;
}

.nom{
	font-family: 'Montserrat',sans-serif;
	font-size: 0vw;
	font-weight:normal;
	color: rgb(0, 0, 0);
    text-align: left;
}

.Crew{
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: fit-content;
	border: 0px solid orange;

}

.Cast{
	display: flex;
	flex-direction: column;
	text-align: right;
	justify-content: center;
	border: 0px solid yellow;
	width: 100%;
	height: 100%;
}
.ListeCast{
	text-align: center;
	color: rgb(0, 0, 0);
}
.nomcast{
	font-size: 1.5vw;
	font-family: 'Montserrat',sans-serif;
	font-weight: bold;
	color: rgb(0, 0, 0);
    line-height: 5vw;
}

.listematériel{
	font-family: 'Montserrat';
	font-size: 1.3vw;
	font-weight: normal;
	color: rgb(0, 0, 0);
	text-align: center;
}
.nommatériel{
    font-size: 2vw;
    line-height: normal;
}

.Videobox{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-top: 0vw;
	height: 25vw;
	width: 50vw;
    border: 0px salmon solid;
}

.VideoTitle{
	display: flex;
	justify-content: center;
	align-items: center;
	
	color:rgb(54,143,41);
	font-size: 6.25rem;
	font-family: 'Montserrat', sans-serif;
	font-weight: bold;
}


a{
    text-decoration: none;
}


/*================Phone================================================*/

@media (max-width:1000px) {
	.titleSoftHeart{
		font-size: 12vw;
	}
	.maincontainer{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	align-content: center;
	width: 100%;
	height: fit-content;
	border: 0px white solid ;
	margin-bottom: 1.5rem;
	margin: 1.5rem;
	}
	.Videobox {
		width: 100%;
		height: 30rem;
	}
	header{
		width: 92%;
	}
	.headercontainer img{
		width: 90%;
	}
	hr{
		width: 92%;
	}

	.Photogallery{
		width : 100%
	}
	.nomequipe{
	font-family: 'Montserrat';
	font-weight: bold;
	font-size: 5vw;
	color:rgb(0, 0, 0);
	text-decoration: underline;
	border: 0px solid brown;
	width: 100%;
	height: fit-content;
	text-align: center;
	margin-top: 3vw;
	margin-bottom: 2vw;
	}

	.Equipe1{
		display: flex;
		flex-direction: column;
		justify-content: left;
		align-content: space-between;
		text-align: center;
		width:100%;
		height: 100%;
		border: 0px solid orange;
		color: rgb(0, 0, 0);
		row-gap: 3vw;
	}
    .Equipe1 .role{
        font-size: 3vw;
    }
    .Equipe1 .nom{
        font-size: 2.5vw;
    }
    
	.Equipe2{
		row-gap: 3vw;
	}
	
    .Equipe2 .role{
        font-size: 3vw;
    }
    .Equipe2 .nom{
        font-size: 2.5vw;
    }

    .Equipe3 .role{
        font-size: 3vw;
    }
    .Equipe3 .nom{
        font-size: 2.5vw;
    }
	.role{
		font-family: 'Montserrat',sans-serif;
		font-size: 3.5vw;
		font-weight:normal ;
		color: rgb(0, 0, 0);
	}

	.nom{
		font-family: 'Montserrat',sans-serif;
		font-size: 3vw;
		font-weight:bold ;
		color: rgb(0, 0, 0);
	}

	.Crew{
		display: flex;
		flex-wrap: wrap;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: fit-content;
		border: 0px solid orange;
	}

	.Cast{
		display: flex;
		flex-direction: column;
		text-align: right;
		justify-content: center;
		border: 0px solid yellow;
		width: 100%;
		height: 100%;
	}
	.ListeCast{
		text-align: center;
		color: rgb(0, 0, 0);
		
	}
	.nomcast{
		font-size: 3.5vw;
		font-family: 'Montserrat',sans-serif;
		font-weight: bold;
		color: rgb(0, 0, 0);
		line-height: 8vw;
	}
	.listematériel{
		line-height: 6vw;
	}
    .nommatériel{
        font-size: 3vw;
    }

}

:where(img[width][height]) { height: auto; } /* ajouté par maj-images-html.ps1 */

/* Vidéos : prennent la largeur du cadre en gardant leurs proportions */
.Photobox video { display: block; width: 100%; height: auto; }

/* --- Bouton Retour (identique sur toutes les pages) --- */
.buttonbox{
	width: 100%;
	display: flex;
	align-items: left;
	border: solid rgb(8, 118, 245) 0px;
}
button{
    background-color: rgba(245, 245, 220, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(0, 0, 0);
    border: none;
    font-size: 1vw;
    height: fit-content;
    font-family: 'Montserrat';
    font-weight: bold;
    padding: 1rem;
    transition: 0.2s ease-in-out;
    cursor:pointer;
    text-wrap: nowrap;
	border: solid red 0px;
}
button:hover{
    color: green;
    text-shadow: 0.4rem 0.4rem 0rem rgba(0, 128, 0, 0.411);
    opacity: 0.5;
}
@media (max-width:1000px) {
	button{
		font-size: clamp(15px, 3.5vw, 22px);
	}
}

/* <picture> n'a pas de boîte propre : l'image garde la mise en page prévue pour <img> */
picture { display: contents; }


/* --- Titre : Montserrat noir, comme les autres pages à fond blanc --- */
.titleSoftHeart{
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: rgb(0, 0, 0);
    font-size: 8vw;
}
@media (max-width:1000px) {
    .titleSoftHeart{ font-size: 15vw; }
}

/* --- Barre sous le titre : mêmes dimensions que sur les autres pages --- */
hr{ width: 75%; height: 0.15rem; border: none; border-radius: 1rem; background-color: rgb(0, 0, 0); }
@media (max-width:1000px) {
    hr{ width: 92%; }
}

/* --- Première photo : même largeur que les 2 colonnes (48% + 48% + l'espace de 1vw entre elles) --- */
.PhotoSection-1{
    width: calc(96% + 1vw);
    margin-bottom: 1vh;
}

/* --- Nom de l artiste : interligne normal (avant : 5vw = grand vide au-dessus et en dessous) --- */
.nomcast{ line-height: 1.3; }

/* --- Noms des artistes / acteurs : interligne normal (avant : jusqu a 4x la taille du texte) --- */
.nomcast{ line-height: 1.3; }
.nomcast + .nomcast{ margin-top: 0.35em; }

/* --- Tablette / téléphone : moins d espace entre la galerie et les crédits --- */
@media (max-width:1000px) {
    .maincontainer{ row-gap: 2rem; }
}

/* --- Ordinateur : espace entre la galerie et les crédits harmonisé (~75px) --- */
@media (min-width:1001px) {
    .maincontainer{ row-gap: 3rem; }
}

/* --- Liste technique sur deux colonnes (comme Diamant), centrées verticalement l'une par rapport à l'autre --- */
.Listeequipe{ align-items: center; column-gap: 4vw; }
.Equipe1, .Equipe2{
	display: flex;
	flex-direction: column;
	width: 100%;
	color: rgb(0, 0, 0);
	row-gap: 1vw;
}
.Equipe1 .role, .Equipe1 .nom{ text-align: left; }
.Equipe2 .role, .Equipe2 .nom{ text-align: right; }
.Equipe1 .role, .Equipe2 .role{ font-weight: bold; font-size: 1.3vw; }
.Equipe1 .nom, .Equipe2 .nom{ font-weight: normal; font-size: 1vw; }
@media (max-width:1000px) {
    .Equipe1, .Equipe2{ row-gap: 3vw; }
    .Equipe1 .role, .Equipe2 .role{ font-size: 3vw; }
    .Equipe1 .nom, .Equipe2 .nom{ font-size: 2.5vw; }
}
@media (min-width:1001px) {
    .Equipe1, .Equipe2{ row-gap: 0; }
}

/* --- Vidéos 4:3 : réserve la bonne hauteur avant chargement --- */
.Photobox video{ aspect-ratio: 4 / 3; object-fit: cover; }

/* --- Téléphone : titre "Soft Heart" sur une seule ligne (avant : coupé sur 2 lignes sous ~420 px de large) --- */
@media (max-width:600px) {
    header .headercontainer .titleSoftHeart{ font-size: min(13.5vw, 62px); white-space: nowrap; } /* plus précis que la règle de styleCommun.css, chargé après */
}

/* --- Galerie en plusieurs blocs (grand / paires / grand / paires / grand) : même espace partout entre les rangées --- */
.Photogallery{ row-gap: 1vh; }
.PhotoSection-1{ margin-bottom: 0; }
