body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #181818;
    color: #f5f5f5;
    padding-top: 64px; /* Ajustez selon la hauteur du menu */
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.video-header {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 340px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.header-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
    z-index: 1;
}
.header-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(20,20,20,0.45);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-content {
	padding-top: 100px;
    text-align: center;
    color: #fff;
    z-index: 3;
}
.header-logo {
    max-width: 50%;
    height: 20%;
}
.header-content h1 {
    font-size: 3rem;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px #000;
    color: rgb(50, 116, 83);
}
.header-content p {
    font-size: 1.3rem;
    margin: 0;
    text-shadow: 1px 1px 6px #000;
}
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px; /* Hauteur explicite pour l'alignement */
    z-index: 1000;
    background: rgba(24,24,24,0.97);
    box-shadow: 0 2px 8px #0008;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Espace sur les côtés */
}

.social-links-nav {
    display: flex;
    align-items: center;
    gap: 15px; /* Espace entre les icônes */
}

.social-links-nav a img {
    height: 24px;
    width: 24px;
    display: block;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end; /* Aligner les menus à droite */
    align-items: center;
    gap: 40px;
    height: 100%;
}

.main-nav ul li a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0; /* Le padding est géré par l'alignement vertical */
    display: flex;
    align-items: center;
    height: 100%;
    transition: color 0.2s;
}

.main-nav ul li a:hover {
    color: rgb(57, 108, 79);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #f5f5f5;
}

.lang-switcher a {
    color: #f5f5f5;
    text-decoration: none;
    font-weight: 600;
    padding: 5px;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.lang-switcher a.active {
    background-color: #333;
}
.section {
    padding: 30px 0 20px 0;
}
.section h2 {
    color: rgb(57, 108, 79);
    margin-bottom: 20px;
    font-size: 2rem;
    letter-spacing: 1px;
}
.section ul {
    padding-left: 20px;
}

.section.contact p a {
    color: #f5f5f5;
    text-decoration: underline;
}

footer {
    background: #111;
    text-align: center;
    padding: 20px 0;
    color: #aaa;
    font-size: 0.95rem;
    border-top: 1px solid #222;
}
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
    background: #232323;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 16px #000a;
}
input, textarea {
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    background: #181818;
    color: #f5f5f5;
    box-shadow: 0 1px 4px #0003;
}
input:focus, textarea:focus {
    outline: 2px solid rgb(0, 128, 0);
    background: #222;
}
button {
    background: rgb(0, 128, 64);
    color: #181818;
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px #0005;
    letter-spacing: 1px;
}
button:hover {
    background: rgb(70, 162, 98);
}

#error-message {
    color: #ff4d4d; /* Rouge clair pour une bonne lisibilité sur fond sombre */
    text-align: center;
    margin-top: 15px;
}
.accueil-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.bio {
    flex: 1 1 320px;
    min-width: 260px;
    max-width: 520px;
}
.logo-bienvenue {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-bienvenue img {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px #0007;
    background: #232323;
    padding: 4px;
}
.video-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.video-item {
    flex: 1 1 45%;
    max-width: 45%;
    background: #232323;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px #000a;
}

.video-item h3 {
    margin-top: 0;
    color: #f5f5f5;
}

.video-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.video-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

@media (max-width: 900px) {
    .main-nav ul { gap: 18px; }
    .header-content h1 { font-size: 2.1rem; }
    .section { padding: 40px 0 20px 0; }
}
@media (max-width: 800px) {
    .accueil-flex {
        flex-direction: column;
        gap: 24px;
    }
    .logo-bienvenue {
        margin-bottom: 12px;
    }
    .video-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
@media (max-width: 698px) {
    .video-header { height: 32vh; min-height: 180px; }
    .main-nav ul { display:none; }
    .main-nav ul li a { padding: 12px 0; }
    .header-content h1 { font-size: 1.2rem; }
	.header-content { padding-top: 0px; }
	.header-logo { max-width: 40%;}
}