.descriptif-container{
display: grid;
grid-template-rows:  30% 70%  ;
}

.image-side {
position: relative;
width: 100%;
height: 50vh;
margin: auto;
border: 1px solid #333;
}

img {
width: 100%;
height: 100%;
display: block; /* Removes extra space below image */
object-fit: cover; /* Ensures image maintains aspect ratio and covers the space */
}

.text-side {
height: auto;
margin: 0.3rem;
}

.carousel-subtitle {
letter-spacing: 3px;
font-size: 1rem;
text-transform: uppercase;
font-weight: 700;
transition: 0.4s all ease-in-out;
margin-bottom: 0.5rem;
}

.carousel-title {
font-family: 'Playfair Display', serif;
font-size: 1.5rem;
line-height: 2rem;
letter-spacing: 3px;
font-weight: 600;
transition: 0.6s all ease-in-out;
margin-bottom: 1rem;
}

.carousel-description {
transition: 0.6s all ease-in-out;
line-height: 1.4rem;
margin-bottom: 0.7rem;
}

.carousel_btn {
letter-spacing: 2px;
font-size: 0.7rem;
text-transform: uppercase;
font-weight: 700;
transition: 0.6s all ease-in-out;
}

/*fin texte*/
.carousel__nav {
position: absolute;
right: 0;
z-index: 2;
background-color: #fff;
bottom: 0;
}

.carousel__icon {
display: inline-block;
vertical-align: middle;
width: 16px;
fill: #5d5d5d;
}

.carousel__arrow {
cursor: pointer;
display: inline-block;
padding: 11px 15px;
position: relative;
}

@media (min-width: 900px) {
.descriptif-container {
display: grid;
grid-template-columns: 30% 70%;
}

.text-side {
height: 50vh;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.image-side {
width: 100%;
height: 50vh;
}

.carousel-subtitle {font-size: 0.8rem;}
.carousel-title {font-size: 1.3rem;}
.carousel-description {font-size: 0.9rem;}
.carousel_btn {font-size: 0.7rem;}
}

/*fin 900*/
.carousel__arrow:nth-child(1):after {
content:'';
right: -3px;
position: absolute;
width: 1px;
background-color: #b0b0b0;
height: 14px;
top: 50%;
margin-top: -7px;
}


@media (min-width: 1200px) {
.text-side {
padding: 1rem;
}
}