:root {
    --maxw: 480px;
    --gap: 16px;
    --radius: 12px;
    --bg: #DFE7EA;
    --ink: #092a3c;
    --accent: #3C889E;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--bg);
}

.wrap {
    width: 100%;
    margin-inline: auto;
    max-width: var(--maxw);
    min-height: 100dvh;
}

#image {
    text-align: center;
    padding: 20px 0 20px 0;
    background: var(--ink);
}

#titre {
    padding: 20px;
    background: var(--bg);
}

#titre img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
    padding-bottom: 50px;
}

/* H1 + span (surtitre/accroche) */
.page-title {
    margin: 0 0 8px;
    font-size: clamp(22px, 6.5vw, 32px);
    letter-spacing: -0.015em;
    font-family: outfit, sans-serif;
    font-weight: 700;
    color: var(--ink);
    text-align: center;
}

.page-title span {
    display: block;
    margin-top: 6px;
    font-weight: 600;

    font-size: 0.95em;
}

#contenu {
padding: 20px;
}

h2 {
    margin: 0px 0 12px;
    font-size: clamp(18px, 4.8vw, 22px);
    color: var(--ink);
}

/* Cartes / blocs de contenu */
.cards {
    display: grid;
    grid-template-columns: 1fr;
    /* mobile: 1 colonne */
    gap: var(--gap);
    margin-bottom: 20px;
    width: 100%;
}


.card {
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:16px;
    border:1px solid #e7e7ea;
    border-radius:var(--radius);
    background:#fff;
    box-shadow:0 1px 2px rgba(0,0,0,.03);
    min-height:96px;
    font-weight:600;
    cursor: pointer;
    transition: .2s, transform .15s;
    font-size: 16px;
    width: 100%;
}

p.rouge {
    font-size: 14px;
    color: red!important;
    font-weight: bold;
}

.rouge a {
    color: red!important;
    text-decoration: underline;
}



/* Petites améliorations >600px (toujours mobile-first) */
@media (min-width:600px) {
    :root {
        --maxw: 640px
    }

    .cards {
        grid-template-columns: 1fr 1fr
    }

    /* 2 colonnes dès le petit tablette */
}

a {
    text-decoration: none;
}