@charset "iso-8859-1";

/* Index des fleurs - Mon Coin de Jardin */


/* -------------------------------------------------
   Réglages généraux
------------------------------------------------- */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #7f3455;
    font-family: Georgia, "Times New Roman", serif;
    background-color: #f0c6ca;
    background-image: url("bgtuileceline/bglys.jpg");
}

a {
    color: #8e3159;
}

a:hover,
a:focus {
    color: #b55c7d;
}


/* -------------------------------------------------
   Publicité du haut
------------------------------------------------- */

.publicite-haut {
    width: 728px;
    max-width: 100%;
    min-height: 90px;
    margin: 20px auto;
    text-align: center;
}


/* -------------------------------------------------
   Conteneur principal
------------------------------------------------- */

.index-fleurs-conteneur {
    width: 920px;
    max-width: calc(100% - 30px);
    margin: 0 auto 35px;
    padding: 28px 42px 38px;
    background: rgba(255, 250, 248, 0.94);
    border: 2px solid #a85b78;
    box-shadow: 0 4px 16px rgba(105, 44, 67, 0.18);
}


/* -------------------------------------------------
   Bannière
------------------------------------------------- */

.banniere-index-fleurs {
    margin: 0 auto 30px;
    text-align: center;
}

.banniere-index-fleurs img {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
}


/* -------------------------------------------------
   Séparateur décoratif
------------------------------------------------- */

.separateur-or {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
}


/* -------------------------------------------------
   Introduction
------------------------------------------------- */

.index-fleurs-intro {
    max-width: 760px;
    margin: 0 auto 24px;
    padding: 20px 26px;
    font-size: 19px;
    line-height: 1.65;
    text-align: center;
    background: #fff8f5;
    border: 1px solid #d8a4b7;
    border-radius: 10px;
}

.index-fleurs-intro p {
    margin: 0 0 15px;
}

.index-fleurs-intro p:last-child {
    margin-bottom: 0;
}

.nombre-plantes {
    color: #6f2949;
    font-weight: bold;
}

.astuce-recherche {
    font-size: 17px;
}

kbd {
    padding: 1px 6px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    background: #f7e6eb;
    border: 1px solid #c78ca4;
    border-radius: 4px;
}


/* -------------------------------------------------
   Alphabet
------------------------------------------------- */

.alphabet-fleurs {
    display: grid;
    grid-template-columns: repeat(18, 36px);
    justify-content: center;
    gap: 6px;
    margin: 28px auto 34px;
    padding: 16px 10px;
    background: #f7e7ec;
    border-top: 1px solid #c98da5;
    border-bottom: 1px solid #c98da5;
}

.alphabet-fleurs a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #8e3159;
    font-size: 19px;
    font-weight: bold;
    line-height: 1;
    text-decoration: none;
    background: #fffaf8;
    border: 1px solid #b86f8b;
    border-radius: 50%;
}

.alphabet-fleurs a:hover,
.alphabet-fleurs a:focus {
    color: #812d50;
    background: #f2d8e1;
    text-decoration: none;
}


/* -------------------------------------------------
   Groupes de fleurs
------------------------------------------------- */

.groupe-fleurs {
    margin: 0 0 30px;
    padding: 0 24px 20px;
    background: #fffdfb;
    border: 1px solid #d9a7b9;
    border-radius: 10px;
}

.titre-lettre {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 0 -24px 8px;
    padding: 10px 22px;
    background: #efd5de;
    border-bottom: 1px solid #d2a0b3;
    border-radius: 9px 9px 0 0;
}

.titre-lettre h2 {
    margin: 0;
    color: #812d50;
    font-size: 34px;
    line-height: 1;
}

.titre-lettre span {
    color: #8a5570;
    font-size: 15px;
}


/* -------------------------------------------------
   Liste des fleurs
------------------------------------------------- */

.liste-fleurs {
    margin: 0;
    padding: 0;
    list-style: none;
}

.liste-fleurs li {
    padding: 13px 4px;
    border-bottom: 1px dotted #d9b6c3;
}

.liste-fleurs li:last-child {
    border-bottom: 0;
}

.nom-fleur {
    display: block;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
}

.nom-latin {
    display: block;
    margin-top: 2px;
    color: #6f6670;
    font-size: 16px;
    font-style: italic;
}

.photos-fleur {
    display: block;
    margin-top: 6px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.photos-fleur a {
    font-weight: bold;
}

.photos-fleur span {
    margin: 0 5px;
    color: #c08aa0;
}


/* -------------------------------------------------
   Liens de retour
------------------------------------------------- */

.retour-alphabet {
    margin: 12px 0 0;
    text-align: right;
    font-size: 14px;
}

.liens-retour {
    margin: 34px 0 22px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.liens-retour span {
    margin: 0 10px;
}


/* -------------------------------------------------
   Compteur
------------------------------------------------- */

.compteur-visiteurs {
    min-height: 35px;
    margin: 24px 0;
    text-align: center;
}


/* -------------------------------------------------
   Écrans plus étroits
------------------------------------------------- */

@media (max-width: 900px) {

    .alphabet-fleurs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 760px) {

    .index-fleurs-conteneur {
        max-width: calc(100% - 16px);
        padding: 22px 16px 30px;
    }

    .index-fleurs-intro {
        padding: 17px;
        font-size: 17px;
    }

    .groupe-fleurs {
        padding-right: 16px;
        padding-left: 16px;
    }

    .titre-lettre {
        margin-right: -16px;
        margin-left: -16px;
    }

    .alphabet-fleurs {
        gap: 7px;
        padding-right: 8px;
        padding-left: 8px;
    }

    .alphabet-fleurs a {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}


.barre-feuilles {
    width: 100%;
    margin: 24px 0;
    text-align: center;
}

.barre-feuilles img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}