@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

html,
body {
    font-family: 'Poppins', Helvetica, Arial, sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    overscroll-behavior: none;
}

a {
    color: black;
    text-decoration: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    z-index: 1000;
}

header .header-title {
    font-size: 22px;
}

header nav {
    font-size: 18px;
    align-content: center;
}

.navigation-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.navigation-item img {
    height: .4em;
    margin-left: 5px;
    margin-right: 5px;
    vertical-align: middle;
    transition: transform .4s ease;
}

.navigation-item.active img {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 130%;
    right: 0;
    min-width: 150px;
    margin: 0;
    padding: .4rem 0;
    list-style: none;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .3);
    text-align: left;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
    z-index: 1e3;
}

.dropdown-menu li a {
    display: block;
    padding: .5rem 1rem;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
}

.navigation-item.active .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu .separator {
    width: 80%;
    height: 1px;
    margin: .3rem auto;
    background-color: #e0e0e0;
    opacity: .7;
    pointer-events: none;
}

.dropdown-menu li.contact a {
    font-size: 15px;
}

main .image-paragraph {
    display: flex;
    align-items: center;
}

main .message-accueil {
    font-size: 18px;
    margin-bottom: 40px;
    color: orange;
    text-align: center;
}

main h1 {
    margin-top: 100px;
    margin-bottom: 40px;
    font-size: 35px;
    text-align: center;
}

main h1::after {
    content: "";
    display: block;
    width: 100px;
    height: 2px;
    margin: 5px auto 0;
    background-color: black;
}

main h2 {
    font-size: 25px;
    text-align: center;
}

main p {
    text-align: center;
}

main p img {
    display: inline-block;
}

footer::before {
    content: "";
    display: block;
    width: 250px;
    height: 1.5px;
    margin: 5px auto 0;
    margin-bottom: 30px;
    background-color: gray;
}

footer {
    text-align: center;
    padding: 2rem;
    margin-top: 20px;
}

.block-paragraph {
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
}

.block-paragraph img {
    width: 350px;
    height: auto;
    display: block;
    margin: 0 auto 15px;
    /* centre l’image et ajoute un petit espace dessous */
}

.block-paragraph p {
    margin: 0;
}