/* ===================================================== */
/* ===================== RESET ========================== */
/* ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}


/* ===================================================== */
/* ===================== BASE =========================== */
/* ===================================================== */

body {
    background: #F3EDE2;
    color: #1f2933;
    line-height: 1.6;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}


/* ===================================================== */
/* ===================== BANDEROLE ====================== */
/* ===================================================== */

.hero {
    background: #F3EDE2;
    padding: 20px 0;

    display: flex;
    justify-content: center;
}

.hero img {
    width: 95%;
    max-width: 1600px;
    height: 180px;

    object-fit: contain;
    display: block;
}


/* ===================================================== */
/* ===================== MENU =========================== */
/* ===================================================== */

.menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    background: #9B111E;

    position: sticky;
    top: 0;
    z-index: 10;
}

.menu a {
    padding: 20px 45px;

    text-decoration: none;
    color: white;

    font-weight: 700;
    font-size: 22px;

    letter-spacing: 1px;

    transition: background 0.3s, color 0.3s;
}

.menu a:hover,
.menu a.active {
    background: #F99B1D;
    color: #1f2933;
}


/* ===================================================== */
/* ===================== CADRES ========================= */
/* ===================================================== */

.title-card,
.photo-card,
.content-card {
    width: 95%;
    max-width: 900px;

    margin-left: auto;
    margin-right: auto;

    background: #ffffff;

    border-radius: 20px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}


/* ===================================================== */
/* ===================== CADRE TITRE ==================== */
/* ===================================================== */

.title-card {
    margin-top: 35px;
    margin-bottom: 20px;

    padding: 15px 25px;

    text-align: center;
}

.title-card h1 {
    font-family: "Segoe UI", Arial, sans-serif;

    font-size: 30px;

    font-weight: 700;

    color: #023047;

    line-height: 1.3;
}


/* ===================================================== */
/* ===================== CADRE PHOTO ==================== */
/* ===================================================== */

.photo-card {
    margin-bottom: 20px;

    padding: 20px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-card img {
    width: 100%;
    max-width: 300px;

    height: auto;

    display: block;

    border-radius: 12px;

    object-fit: contain;
}


/* ===================================================== */
/* ===================== CADRE TEXTE ==================== */
/* ===================================================== */

.content-card {
    margin-bottom: 50px;

    padding: 40px;

    text-align: left;
}

.content-card p {
    font-family: "Segoe UI", Arial, sans-serif;

    font-size: 18px;

    line-height: 1.6;

    font-weight: 400;
}


/* ===================================================== */
/* ===================== FOOTER ========================= */
/* ===================================================== */

footer {
    background: #9B111E;

    color: #ffffff;

    text-align: center;

    padding: 12px 10px;

    margin-top: auto;

    font-size: 14px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    color: #F99B1D;
}


/* ===================================================== */
/* ===================== MENTIONS LÉGALES =============== */
/* ===================================================== */

.legal {
    background: #f9f9f9;

    padding: 50px 30px;

    max-width: 900px;

    margin: 60px auto;

    border-radius: 15px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

    font-size: 16px;

    line-height: 1.8;
}

.legal h1 {
    font-size: 36px;

    text-align: center;

    margin-bottom: 40px;

    color: #fb8500;
}

.legal-section {
    margin-bottom: 35px;
}

.legal-section h2 {
    font-size: 20px;

    margin-bottom: 12px;

    color: #023047;

    border-bottom: 2px solid #ffb703;

    padding-bottom: 5px;
}


/* ===================================================== */
/* ===================== TABLETTE ======================= */
/* ===================================================== */

@media screen and (max-width: 768px) {

    .menu a {
        padding: 14px 25px;
        font-size: 18px;
    }


    /* ===================== TITRE ===================== */

    .title-card {
        width: 95%;

        margin-top: 30px;
        margin-bottom: 15px;

        padding: 12px 20px;

        border-radius: 18px;
    }

    .title-card h1 {
        font-size: 26px;
    }


    /* ===================== PHOTO ===================== */

    .photo-card {
        width: 95%;

        margin-bottom: 15px;

        padding: 18px;

        border-radius: 18px;
    }

    .photo-card img {
        max-width: 260px;
    }


    /* ===================== TEXTE ===================== */

    .content-card {
        width: 95%;

        margin-bottom: 35px;

        padding: 30px 25px;

        border-radius: 18px;
    }

    .content-card p {
        font-size: 16px;
        line-height: 1.6;
    }
}


/* ===================================================== */
/* ===================== PETIT TELEPHONE =============== */
/* ===================================================== */

@media screen and (max-width: 480px) {

    .hero img {
        height: 140px;
    }


    .menu a {
        padding: 12px 15px;
        font-size: 16px;
    }


    /* ===================== TITRE ===================== */

    .title-card {
        width: 96%;

        margin-top: 20px;
        margin-bottom: 12px;

        padding: 10px 15px;

        border-radius: 15px;
    }

    .title-card h1 {
        font-size: 22px;
    }


    /* ===================== PHOTO ===================== */

    .photo-card {
        width: 96%;

        margin-bottom: 12px;

        padding: 15px;

        border-radius: 15px;
    }

    .photo-card img {
        max-width: 220px;
    }


    /* ===================== TEXTE ===================== */

    .content-card {
        width: 96%;

        margin-bottom: 25px;

        padding: 20px 15px;

        border-radius: 15px;
    }

    .content-card p {
        font-size: 13px;
        line-height: 1.5;
    }
}