/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   FOND PLEIN ÉCRAN
========================= */
.background {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.accueil-bg {
    background-image: url("fond.jpg");
}

/* =========================
   MENU
========================= */
nav {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 10;
    font-family: Arial, sans-serif;
}

.menu {
    list-style: none;
}

.menu-title {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: bold;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
}

.submenu {
    display: none;
    list-style: none;
    margin-top: 10px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
}

.submenu.open {
    display: block;
}

.submenu li a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
}

.submenu li a:hover {
    background-color: #e8dcd8;
}

/* =========================
   PAGE ACCUEIL
========================= */
body {
    min-height: 100vh;
    font-family: Arial, sans-serif;
}

.container {
    text-align: center;
    padding-top: 18vh;
    padding-left: 20px;
    padding-right: 20px;
}

.container h1 {
    font-size: 42px;
    color: black;
    margin-bottom: 15px;
}

.container h2 {
    font-size: 36px;
    color: white;
    font-weight: normal;
    margin-bottom: 30px;
}

.phrase-accroche {
    color: black;
    font-size: 21px;
    margin-bottom: 30px;
}

/* Bouton */
.btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 30px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: black;
}

/* =========================
   RESPONSIVE MOBILE
========================= */
@media (max-width: 768px) {
    nav {
        right: 20px;
        top: 15px;
    }

    .container {
        padding-top: 120px;
    }

    .container h1 {
        font-size: 32px;
    }

    .container h2 {
        font-size: 24px;
    }

    .phrase-accroche {
        font-size: 18px;
    }
}
