/* =========================
   Police locale : Roboto
   ========================= */

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Regular.woff2') format('woff2'),
         url('fonts/Roboto-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Medium.woff2') format('woff2'),
         url('fonts/Roboto-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Bold.woff2') format('woff2'),
         url('fonts/Roboto-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

/* =========================
   Reset et base
   ========================= */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    background: #f1f1f1;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* =========================
   HEADER
   ========================= */
header {
    background-color: #003366;
    color: white;
    padding: 15px;
    text-align: center;
}

/* =========================
   MAIN
   ========================= */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 40px 20px;
    gap: 30px;
    box-sizing: border-box;
}

/* =========================
   BLOCS
   ========================= */
.zone {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 200px;
    height: 200px;
    max-width: 90%;
    text-align: center;
    padding: 30px;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;

    /* centrage contenu verticalement */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.zone:hover {
    transform: scale(1.05);
}
.zone h2 {
    margin: 0;
    font-size: 24px;
    color: #003366;
}
.zone p {
    font-size: 14px;
    color: #555;
}

/* =========================
   FOOTER
   ========================= */
footer {
    text-align: center;
    padding: 20px;
    background-color: #003366;
    color: white;
    font-size: 14px;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 600px) {
    .zone {
        width: 100%;
    }
}
