* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    background-color: #f0f8ff;
    color: #333;
}

header {
    background-color: #4a6fa5;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.titre {
    display: flex;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.nav-liens-html {
    display: flex;
    list-style: none;
}

.nav-liens-html li {
    margin-left: 20px;
}

.nav-liens-html a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.nav-liens-html a:hover {
    text-decoration: underline;
}

.icones-reseaux {
    display: flex;
    gap: 10px;
}

.icones-reseaux a {
    line-height: 0;
}

.container {
    width: 90%;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
    color: #2c3e50;
    margin-bottom: 15px;
    border-bottom: 2px solid #4a6fa5;
    padding-bottom: 10px;
}

h2 {
    color: #4a6fa5;
    margin: 20px 0 10px 0;
}

h3 {
    color: #6b8cbc;
    margin: 15px 0 8px 0;
}

.fondtexte {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #e8f4f8;
    border-radius: 8px;
}


.flex-texte {
    flex: 1;
    padding-right: 20px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.image-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ddd;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 5px;
}

section {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border-left: 4px solid #4a6fa5;
}

footer {
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    margin-top: 30px;
}

.footer-liens-html {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.liens {
    display: flex;
    gap: 15px;
}

.liens-html {
    color: white;
    text-decoration: none;
}

.footer-liens-html a:hover {
    text-decoration: underline;
}

.arrondi {
    display: inline-block;
    background-color: #4a6fa5;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    margin: 5px;
}

.btn:hover {
    background-color: #3a5a80;
}

.tableaupro{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 300px;
    gap: 15px;
}

.tableaustages{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px;
    gap: 15px;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    /* Animation de transition lors du changement de diapositive */
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

.carousel-slide {
min-width: 100%;
display: -moz-flex;
display: -webkit-flex;
display: -ms-flex;
display: flex;
-moz-flex-wrap: wrap;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
position: relative;
margin: -2.5em 0 0 -2.5em auto;
justify-content: center; 
align-items: center;     
height: 400px;
overflow: hidden;
padding: 1em;
}

/* Images responsive : l'image remplit réellement le cadre disponible
   (elle grandit et rétrécit avec l'écran) sans être rognée ni déformée.
   Pour ajuster la taille, modifie le "padding" ci-dessus : plus il est
   grand, plus l'image parait petite. */
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


.carousel-button {
    position: absolute;
    top: 45%;
    color: white;
    border: none;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 10px 16px;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 1;
    font-size: 1.6em;
    border-radius: 4px;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.65);
}

.carousel-button.prev { left: 0px; }
.carousel-button.next { right: 0px; }

.visuallyhidden {
    position: absolute; /* Positionne l'élément en dehors du flux normal */
    width: 1px;        /* Réduit la largeur à 1 pixel */
    height: 1px;       /* Réduit la hauteur à 1 pixel */
    margin: -1px;      /* Utilise une marge négative pour éviter l'espace supplémentaire */
    padding: 0;        /* Aucune marge intérieure */
    overflow: hidden;   /* Cache tout débordement */
    clip-path: rect(0, 0, 0, 0); /* Cache l'élément en le découpant */
    border: 0;         /* Enlève toute bordure */
}

.carousel-dots {
    justify-self: center;
    display: flex;
    gap: 0.6em;
	align-self: end;
    margin-bottom: 5em;
    z-index: 2;
    padding: 0.4em 0.8em;
    border-radius: 1000px;
}
 
.carousel-dots .dot {
    border-radius: 50%;
    /* Les points sont en forme de cercle */
    width: 10px;
    height: 10px;
    cursor: pointer;
    /* Curseur en forme de main pour un meilleur contrôle */
    display: inline-block;
}
 
.carousel-dots .dot.active {
    transform: scale(1.2);
}
/* Styles pour les points de navigation du carrousel */
.carousel-dots .active {
    /* Border de 10px pour le point actif */
    border: 10px solid #761530 !important;
    /* !important permet de surcharger les autres styles éventuels */
}
.carousel-dots .inactive {
    /* Border de 10px pour les points inactifs */
    border: 10px solid #2596be;
}

@media screen and (max-width: 1280px) {

.carousel-slide  .image{
margin: -1.25em 0 0 -1.25em;
}

.carousel-slide .image {
width: calc(33.33333% - 1.25em);
margin: 1.25em 0 0 1.25em;
}

}

@media screen and (max-width: 980px) {

.carousel-slide .image{
margin: -2.5em 0 0 -2.5em;
}

.carousel-slide  .image{
width: calc(50% - 2.5em);
margin: 2.5em 0 0 2.5em;
}

}

@media screen and (max-width: 736px) {

.carousel-slide .image {
margin: -1.25em 0 0 -1.25em;
}

.carousel-slide  .image{
width: calc(50% - 1.25em);
margin: 1.25em 0 0 1.25em;
}

.carousel-slide .image > .image {
-moz-transform: scale(1.0);
-webkit-transform: scale(1.0);
-ms-transform: scale(1.0);
transform: scale(1.0);
}

}

@media screen and (max-width: 480px) {

.carousel-slide .image {
margin: 0;
}

.carousel-slide  .image{
width: 100%;
margin: 1.25em 0 0 0;
}

}
@media screen and (max-width: 736px) {

				.image.main {
					margin: 0 0 2em 0;
				}

			}