body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

header {
    background: #A6D6B3;
    color: #fff;
    text-align: center;
}
header img {
    width: 100%;
    height: 30vh;
    display: block;
    object-fit: cover;
}

main {
    padding: 20px;
}

section {
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1 {
	font-size: 1.5em;
    color: #ffffff; /* Blanc */
}

h2, h3 {
    color: #B34700;
}

p {
    margin: 10px 0;
}

a {
    color: #B34700;
    text-decoration: underline;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
    background: #ffd8b5;
}

img.responsive-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* facultatif si tu forces la hauteur */
}


.video-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    text-align: left;
}

/* Ajustement de l’image */
.video-container img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
}

.video-container iframe {
    width: 100% !important; /* Force la largeur pour correspondre à l'image */
    max-width: 500px !important; /* Empêche l'agrandissement */
    height: auto !important;
    aspect-ratio: 16 / 9; /* Conserve le bon format vidéo */
    display: block;
}

/* Bouton Play bien centré */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.play-button::after {
    content: '▶';
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.play-button:hover {
    background: rgba(255, 0, 0, 1);
}

/* Ajustement mobile */
@media screen and (max-width: 768px) {
    .video-container {
        max-width: 90%;
    }

    .video-container img {
        max-width: 300px;
    }
}

@media screen and (max-width: 480px) {
    .video-container {
        max-width: 100%;
    }

    .video-container img {
        max-width: 250px;
    }
}


footer {
    background: #1F2A48;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
}
