/* Page d'accueil (complète home.css) */

body.accueil {
    max-width: 62em;
    margin: 0 auto;
    padding: 0 1.2em 2em 1.2em;
    line-height: 1.5;
}

body.accueil p {
    margin-top: 0.8em;
    margin-bottom: 0.8em;
}

body.accueil a:hover {
    background-color: transparent;
    text-decoration: underline;
}

header.entete {
    display: flex;
    align-items: center;
    gap: 1.5em;
    padding-top: 2em;
}

header.entete img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

header.entete h1 {
    font-size: 2em;
    border: none;
    margin: 0;
}

header.entete p {
    margin: 0.3em 0 0 0;
    color: #505050;
}

body.accueil nav.menu {
    margin: 1.5em 0 0.5em 0;
}

body.accueil h2 {
    font-size: 1.5em;
    margin-top: 1.8em;
}

h3.rubrique {
    border: none;
    color: #505050;
    font-size: 1.05em;
    font-variant: small-caps;
    letter-spacing: 0.04em;
    margin: 1.5em 0 0.6em 0;
}

div.cartes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16em, 1fr));
    gap: 0.9em;
    margin-top: 1em;
}

a.carte {
    display: block;
    padding: 0.9em 1.1em;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background: #ffffff;
    color: #111111;
}

a.carte:hover {
    border-color: #003399;
    box-shadow: 0 2px 6px rgba(0, 51, 153, 0.12);
    text-decoration: none;
}

a.carte h3 {
    border: none;
    margin: 0 0 0.3em 0;
    font-size: 1.08em;
    color: #003399;
}

a.carte p {
    margin: 0;
    font-size: 0.92em;
    color: #444444;
}

ul.divers li {
    margin-bottom: 0.5em;
}

footer.pied {
    margin-top: 3em;
    padding-top: 1em;
    border-top: 1px solid #cccccc;
    font-size: 0.85em;
    color: #707070;
}

@media (max-width: 700px) {
    body.accueil {
        margin: 0;
        padding: 0 1em 2em 1em;
    }
    header.entete {
        gap: 1em;
        padding-top: 1.2em;
    }
    header.entete img {
        width: 80px;
        height: 80px;
    }
    header.entete h1 {
        font-size: 1.6em;
    }
}
