body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 20px;
    margin-top: 90px;
    background-color: #f8f9fa;
    color: #333;
    padding: 0 20px;
    line-height: 1.6;
}

.en_tete {
    position: fixed;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    align-items: center;
    background-color: #222;
    padding: 10px;
    box-sizing: border-box;
    z-index: 2000;
}

.logo {
    height: 60px;
}

.menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: auto;
    padding: 0;
    gap: 15px;
}

.menu li {
    position: relative;
}

.menu a {
    text-decoration: none;
    background-color: #444;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s;
}

.menu a:hover {
    background-color: #666;
}

.submenu {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    background-color: #555;
    list-style: none;
    padding: 5px 0;
    margin: 0;
    border-radius: 5px;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.submenu li a {
    padding: 8px 12px;
    display: block;
    color: white;
}

.submenu li a:hover {
    background-color: #777;
}

.dropdown:hover .submenu {
    display: block;
}

.bouton_contact a {
    background-color: #d9534f;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.bouton_contact a:hover {
    background-color: #c9302c;
}

h1 {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    color: #222;
    margin-top: 40px;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.texte {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.texte p {
    line-height: 1.7;
    margin: 15px 0;
    font-size: 1rem;
    text-align: justify;
}

.texte a {
    color: #0066cc;
    text-decoration: underline;
    transition: color 0.2s;
}

.texte a:hover {
    color: #004080;
}

.texte h1, 
.texte h2 {
    text-align: center;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
    color: #222;
    margin-top: 20px;
    margin-bottom: 15px;
}


.carousel-container {
    position: relative;
    margin: 50px auto;
    width: 1000px;
    height: 500px;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.carousel img {
    position: absolute;
    max-width: 500px;
    max-height: 350px;
    object-fit: contain;
    background: #000;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: transform 0.7s ease, opacity 0.7s ease;
    opacity: 0;
    z-index: 0;
}


.carousel img.active {
    transform: translateX(0) scale(1.2);
    opacity: 1;
    z-index: 5;
}

.carousel img.left1 {
    transform: translateX(-250px) scale(0.9);
    opacity: 0.8;
    z-index: 4;
}

.carousel img.left2 {
    transform: translateX(-450px) scale(0.7);
    opacity: 0.5;
    z-index: 3;
}

.carousel img.right1 {
    transform: translateX(250px) scale(0.9);
    opacity: 0.8;
    z-index: 4;
}

.carousel img.right2 {
    transform: translateX(450px) scale(0.7);
    opacity: 0.5;
    z-index: 3;
}

.btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 40px;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    user-select: none;
}
.btn:hover { background: rgba(0,0,0,0.8); }

.btn.prev { left: 20px; }
.btn.next { right: 20px; }
