body {
    margin: 0;
    padding: 25px 15px;
    background: #faf8f2;
    color: #4f4944;
    font-family: Arial, Helvetica, sans-serif;
}

.page-cartes {
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
}


/* =========================================
   BANNIERE
   ========================================= */

.entete-cartes {
    margin-bottom: 24px;
}

.banniere-cartes {
    width: 100%;
    height: 0;
    padding-top: 38.2727%;

    background-image:
        url("images/bannieres/banniere-aux-cartes-virtuelles.jpg");

    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}


/* =========================================
   CONTENU
   ========================================= */

.accueil-nouveau {
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
}

.introduction-cartes {
    margin: 15px auto 24px;
    text-align: center;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.6;

    color: #655853;
}


/* =========================================
   LES PETITS PLUS
   ========================================= */

.petits-plus-cartes {
    margin: 24px auto 36px;
    padding: 20px 28px;

    background: #f7f3eb;

    border: 1px solid #d4cbbb;
    border-radius: 8px;

    text-align: center;
}

.petits-plus-cartes h2 {
    margin: 0 0 10px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: normal;

    color: #655853;
}

.petits-plus-cartes p {
    margin: 0;

    font-size: 19px;
    line-height: 1.7;

    color: #555;
}

.petits-plus-cartes a {
    color: #2f5d3a;
    text-decoration: underline;
    font-weight: bold;
}

.petits-plus-cartes a:hover {
    color: #1f4028;
}


/* =========================================
   CATEGORIES
   ========================================= */

.titre-categories-accueil {
    margin: 0 0 26px;

    text-align: center;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: normal;

    color: #655853;
}

.grille-accueil-4 {
    display: grid;

    grid-template-columns:
        repeat(4, 250px);

    justify-content: center;

    column-gap: 20px;
    row-gap: 32px;
}

.categorie-accueil {
    width: 250px;
    text-align: center;
}

.vignette-accueil {
    display: block;

    width: 250px;
    height: 192px;

    object-fit: cover;

    border: 1px solid #c9c1b2;
    border-radius: 6px;

    box-sizing: border-box;
}

.categorie-accueil h3 {
    margin: 10px 0 7px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: normal;

    color: #554a46;
}

.liens-types-cartes {
    font-size: 14px;
    line-height: 1.5;
}

.liens-types-cartes a {
    color: #526248;
    text-decoration: none;
}

.liens-types-cartes a:hover {
    text-decoration: underline;
}

.liens-types-cartes span {
    margin: 0 5px;
    color: #aaa39a;
}


/* =========================================
   AU FIL DE L'ANNEE
   ========================================= */

.au-fil-nouvelle-version {
    margin-top: 50px;
    padding-top: 30px;

    border-top: 1px solid #d8d1c5;
}

.au-fil-nouvelle-version h2 {
    margin: 0 0 10px;

    text-align: center;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: normal;

    color: #655853;
}

.au-fil-nouvelle-version > p {
    max-width: 760px;
    margin: 0 auto;

    text-align: center;
    line-height: 1.7;
}

.note-au-fil {
    max-width: 720px;

    margin: 24px auto 0;
    padding: 18px 22px;

    text-align: center;

    background: #faf8f4;

    border: 1px dashed #cfc6b9;
    border-radius: 7px;

    color: #6d6964;
}

.au-fil-nouvelle-version h2 {
    margin-bottom: 30px;
}


/* =========================================
   PIED DE PAGE
   ========================================= */

.pied-cartes {
    margin-top: 40px;
    padding: 22px 0;

    text-align: center;

    border-top: 1px solid #d8d1c5;

    color: #777;
    font-size: 14px;
}


/* =========================================
   ADAPTATION ECRANS PLUS PETITS
   ========================================= */

@media (max-width: 1080px) {

    .grille-accueil-4 {
        grid-template-columns:
            repeat(2, 250px);
    }

}

@media (max-width: 560px) {

    .grille-accueil-4 {
        grid-template-columns: 250px;
    }

}

.bloc-ecrire {
    clear: both;
    padding-top: 75px;
    padding-bottom: 25px;
    text-align: center;
}


.grand-lien-ecrire {
    display: inline;
    padding: 0;
    color: #526248;
    background: none;
    border: 0;
    border-radius: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.grand-lien-ecrire:hover,
.grand-lien-ecrire:focus {
    color: #6b795f;
    background: none;
}
