
.NTCaseContent {   display: flex;/* active le mode flex */gap: 20px;/* espace entre les cases */}

.NTUneCase { flex: 1; position: relative; z-index: 1; height: 400px; overflow: hidden; transition: all 0.5s ease;}
.NTUneCase picture{z-index: 2}
.NTUneCase:first-child{ border-bottom-left-radius: 50px;}
.NTUneCase:last-child{ border-top-right-radius: 50px;}
.NTUneCase .NtDegrade{z-index: 3; width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; background: linear-gradient(0deg,rgba(11, 27, 51, 0.8) 0%, rgba(11, 27, 51, 0) 50%); transition: background 0.5s ease;}
.NTUneCase:hover .NtDegrade{background: linear-gradient(0deg,rgba(11, 27, 51, 1) 0%, rgba(11, 27, 51, 0) 100%);}

.NTUneCase .NTCaseContent{ z-index: 4; position: absolute; top: calc(100% - 120px); left: 0px; width: 100%; height: 100%; color: #FFFFFF; transition: top 0.5s ease; padding: 10px;box-sizing: border-box; display: block;}
.NTUneCase:hover .NTCaseContent{top: 0px;}
.NTUneCase .NTCaseContent .NTCaseContentTitre{text-align: center; width: 100%; height: 120px;display: flex; /* active le mode flex */    align-items: center;/* centre verticalement */    justify-content: center; /* centre horizontalement si tu veux aussi */}
.NTUneCase .NTCaseContent .NTCaseContentTitre h2{font: 30px/60px 'oswald', sans-serif; color:#FFFFFF; text-align: center;}
.NTUneCase .NTCaseContent .NTCaseContentDescLien{ display: block; position: relative; width: 100%; text-align: center; padding: 10px;box-sizing: border-box;}

picture.cover img{width: 100%;  height: 100%; object-fit: cover;       /* l’image remplit la zone sans être déformée */
  object-position: center; /* centre l’image dans la zone */}

@media screen and (max-width: 540px) 
{
	.NTCaseContent{display: block;}
	.NTUneCase { display: block; width: calc(100% - 20px); height: 300px; margin-bottom: 10px; float: left;}
	.NTUneCase .NTCaseContent .NTCaseContentTitre h2{font: 20px/30px 'oswald', sans-serif; color:#FFFFFF; text-align: center;}
.NTUneCase:first-child{ border-bottom-left-radius: 0px; border-top-left-radius: 50px;}
.NTUneCase:last-child{ border-top-right-radius: 0px; border-bottom-right-radius: 50px;}
	
}