* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f1f5f9;
    color: #172b4d;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.entete {
    background: linear-gradient(
        135deg, #102554, #174693
    );
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.marque {
    display: inline-block;
    background: white;
    color: #102554;
    border-radius: 16px;
    padding: 10px 20px;
    font-size: 32px;
    font-weight: bold;
}

.entete h1 {
    font-size: clamp(26px, 5vw, 36px);
    margin-bottom: 10px;
}

.conteneur {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 35px 20px;
    flex: 1;
}

.bienvenue {
    text-align: center;
    margin-bottom: 35px;
}

.bienvenue h2 {
    font-size: 28px;
}

.bienvenue p {
    color: #64748b;
    line-height: 1.6;
}

.espaces {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.carte {
    background: white;
    border-radius: 18px;
    padding: 28px;
    text-align: center;
    border: 1px solid #dbe4ef;
    box-shadow: 0 8px 22px #10255412;
    display: flex;
    flex-direction: column;
}

.icone {
    font-size: 45px;
    margin-bottom: 10px;
}

.pharmacie .icone {
    color: #00875a;
}

.carte p {
    color: #52657c;
    line-height: 1.7;
    flex: 1;
}

.bouton {
    display: block;
    background: #174693;
    color: white;
    padding: 14px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 12px;
}

.bouton:hover {
    background: #102554;
}

.secondaire {
    background: white;
    color: #174693;
    border: 1px solid #174693;
}

.secondaire:hover {
    background: #e8eef8;
}

.vert {
    background: #00875a;
}

.vert:hover {
    background: #006b47;
}

.information {
    margin-top: 35px;
    padding: 20px;
    background: #e8f0fa;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    line-height: 1.7;
}

footer {
    background: #102554;
    color: white;
    text-align: center;
    padding: 22px;
    font-size: 13px;
}

@media (max-width: 850px) {
    .espaces {
        grid-template-columns: 1fr;
    }
}