body {
    background-color: #f8f9fa;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #212529;
    font-size: 1.15rem;
}

.en-tete {
    background-image: url("./image/IMG_20260414_133657.jpg");
    object-position: center 5%; 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    min-height: 500px;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
    padding-top: 148px;
    box-sizing: border-box;
}

nav {
    padding: 1.5rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    background-color: transparent;
    transition: padding 0.3s ease, background-color 0.3s ease;
}

nav.scrolled {
    background-color: white;
    padding: 0.5rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav img {
    height: 100px;
    width: auto;
    margin-right: auto;
    transition: height 0.3s ease;
    background-color: rgba(255, 255, 255, 0.5);
}

nav.scrolled img {
    height: 70px;
}

ul.menu-principal {
    display: flex;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.menu-principal > li {
    position: relative;
    margin-left: 1.5rem;
}

nav a {
    background-color: #267267;
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    cursor: pointer;
}

nav a:hover, .active {
    background-color: white;
    color: #267267;
}

.sous-menu {
    display: none;
    position: absolute;
    background-color: #267267;
    list-style-type: none;
    padding: 0;
    margin: 0;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    min-width: 220px;
    z-index: 1001;
}

ul.menu-principal > li > .sous-menu {
    top: 100%;
    left: 0;
}

li:hover > .sous-menu {
    display: block;
}

.sous-menu li {
    position: relative;
}

.sous-menu a {
    border-radius: 0;
    padding: 0.8rem 1.2rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sous-menu .sous-menu {
    display: none;
    position: absolute; 
    top: 0;             
    left: 100%;         
    background-color: #1e5a52;
}

.sous-menu li:hover > .sous-menu {
    display: block;
}

section.page-seance-liste {
    width: 100%;
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
}

h1 {
    color: #3EBCAA;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 50px;
}

.liste-dossiers-verticale {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-left: 12%;
}

.item-dossier {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    color: #267267;
    transition: transform 0.2s ease;
}

.item-dossier:hover {
    transform: translateX(10px);
    color: #3EBCAA;
}

.item-dossier i {
    font-size: 28px;
    margin-right: 15px;
}

.item-dossier span {
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: underline;
}

.fin-de-page {
    font-size: 1.1rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 3rem 5%;
    background-color: #267267;
    color: white;
    width: 100%;
    box-sizing: border-box;
    display: flex;
}

.fin-de-page .left, 
.fin-de-page .middle, 
.fin-de-page .right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
}

.fin-de-page h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.fin-de-page iframe {
    width: 100%;
    max-width: 380px;
    height: 250px;
    border-radius: 8px;
    margin: 1rem 0;
}

@media (max-width: 768px) {
    .liste-dossiers-verticale {
        padding-left: 5%;
    }
    .fin-de-page {
        flex-direction: column;
        gap: 40px;
    }
    .sous-menu, .sous-menu .sous-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
    }
    li:hover > .sous-menu {
        display: block;
    }
}