/* ==================================================
   IDÉES AU JARDIN
   Feuille de style principale
   ================================================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    color: #79314f;
    background-color: #f0c6ca;
    background-image: url("bgtuileceline/bglys.jpg");
    font-family: Arial, Helvetica, sans-serif;
}

/* Liens */

a {
    color: #8d3159;
    text-decoration: none;
}

a:hover {
    color: #b35d7d;
    text-decoration: underline;
}

/* Publicité du haut */

.publicite-haut {
    min-height: 90px;
    margin: 20px auto 30px;
    text-align: center;
}

/* Conteneur principal */

.page-idees-jardin {
    width: 900px;
    max-width: calc(100% - 30px);
    margin: 30px auto;
    padding: 25px 35px 40px;
    background-color: #f6e4e8;
    background-image: url("bgtuileceline/bgrosegradient.jpg");
    border: 3px solid #a45772;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(99, 42, 62, 0.22);
}

/* Bannière */

.entete-idees {
    text-align: center;
}

.banniere-idees {
    display: block;
    width: 900px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 25px;
    border: 1px solid #d59aaa;
    border-radius: 8px;
}

/* Séparateurs */

.separateur-fleurs {
    display: block;
    width: 392px;
    max-width: 85%;
    height: auto;
    margin: 25px auto;
}

/* Introduction */

.introduction-idees {
    width: 720px;
    max-width: 100%;
    margin: 25px auto 35px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.4;
}

.introduction-idees p {
    margin: 0 0 14px;
}

/* Ensemble des cartes */

.categories-jardin {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    width: 760px;
    max-width: 100%;
    margin: 0 auto 35px;
}

/* Cartes des sujets */

.carte-jardin {
    min-height: 150px;
    padding: 34px 28px;
    text-align: center;
    background-color: #fff9f3;
    border: 1px solid #dcbfc6;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(90,45,60,.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carte-jardin:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(121, 49, 79, 0.17);
}

/* Titres des cartes */	 


/* Petite ligne décorative au-dessus des titres */
.carte-jardin h2 {
    position: relative;
    margin: 0 0 14px;
    padding-top: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-style: italic;
    font-weight: normal;
    line-height: 1.3;
}

.carte-jardin h2::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 50%;
    width: 120px;
    height: 1px;
    background-color: #c98fa3;
    transform: translateX(-50%);
}

.carte-jardin h2::after {
    content: "";
    position: absolute;
    top: -3px;
    left: 50%;
    width: 9px;
    height: 9px;
    background-color: #d99aad;
    border: 2px solid #fff9f3;
    border-radius: 50%;
    transform: translateX(-50%);
}

}

.carte-jardin h2 {
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-style: italic;
    font-weight: normal;
    line-height: 1.3;
}

.carte-jardin h2 a {
    color: #7b2950;
}

.carte-jardin h2 a:hover {
    color: #b35d7d;
}

/* Texte des cartes */

.carte-jardin p {
    margin: 0;
    color: #664a53;
    font-size: 16px;
    line-height: 1.55;
}

/* Bloc Partage trucs */

.partage-trucs {
    width: 680px;
    max-width: 100%;
    margin: 28px auto;
    padding: 20px 25px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.6;
    background-color: #fff9f3;
    border: 1px solid #d8b0b8;
    border-radius: 10px;
    box-shadow: 0 2px 7px rgba(121, 49, 79, 0.10);
}

.partage-trucs p {
    margin: 5px 0;
}

/* Colibri et visite complète */

.visite-complete {
    width: 720px;
    max-width: 100%;
    margin: 25px auto 35px;
}

.visite-complete p {
    text-align: center;
}


.visite-complete p {
    margin: 0 auto 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.6;
}


.lien-colibri img {
    display: block;
    max-width: 140px;
    height: auto;
    margin: 0 auto 6px;
    border: 0;
}
	
.colibri-droite {
    text-align: right;
    margin-top: 25px;
}

.lien-colibri {
    display: inline-block;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: bold;
}
/* Navigation du bas */

.navigation-bas {
    margin: 30px auto 15px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.8;
}

.navigation-bas .petits-liens {
    margin-top: 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
} 


.navigation-suivante {
    text-align: right;
    margin: 30px 0;
}

.navigation-suivante h3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: normal;
}

.navigation-suivante img {
    width: auto;
    height: auto;
    vertical-align: middle;
}
.navigation-suivante a {
    color: #7b2950;
    text-decoration: none;
}

.navigation-suivante a:hover {
    text-decoration: underline;
}

/* Menu commun */

.menu-commun {
    margin: 30px auto 0;
    text-align: center;
}

/* Écrans moins larges */

@media screen and (max-width: 760px) {

    .page-idees-jardin {
        padding: 20px 16px 30px;
    }

    .categories-jardin {
        grid-template-columns: 1fr;
    }

    .carte-jardin {
        min-height: 0;
    }
}

/* ==================================================
   PAGE TRUCS DE JARDINAGE
   ================================================== */

/* Introduction */

.introduction-trucs {
    width: 730px;
    max-width: 100%;
    margin: 15px auto 25px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
}

.introduction-trucs h1 {
    margin: 0 0 15px;
    color: #7b2950;
    font-size: 32px;
    font-weight: normal;
    font-style: italic;
}

.introduction-trucs p {
    margin: 8px 0;
    font-size: 19px;
    line-height: 1.6;
}

.nouveaux-trucs {
    font-size: 18px !important;
    font-style: italic;
}

.nouveaux-trucs img {
    vertical-align: middle;
    margin: 0 3px;
}

/* Sommaire des catégories */

.sommaire-trucs {
    width: 760px;
    max-width: 100%;
    margin: 25px auto 40px;
    padding: 18px 20px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 2;
    background-color: #fff9f3;
    border: 1px solid #dcbfc6;
    border-radius: 10px;
}

.sommaire-trucs span,
.navigation-rubrique span {
    margin: 0 7px;
    color: #c895a6;
}

/* Grande section */

.section-trucs {
    width: 780px;
    max-width: 100%;
    margin: 0 auto 38px;
    padding: 28px 30px 22px;
    background-color: #fff9f3;
    border: 1px solid #dcbfc6;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(90, 45, 60, 0.08);
    scroll-margin-top: 20px;
}

.section-trucs > h2 {
    position: relative;
    margin: 0 0 28px;
    padding-top: 24px;
    color: #7b2950;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-style: italic;
    font-weight: normal;
    line-height: 1.3;
}

/* Petite ligne et point */

.section-trucs > h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 120px;
    height: 1px;
    background-color: #c98fa3;
    transform: translateX(-50%);
}

.section-trucs > h2::after {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    width: 9px;
    height: 9px;
    background-color: #d99aad;
    border: 2px solid #fff9f3;
    border-radius: 50%;
    transform: translateX(-50%);
}

/* Liste et fiches */

.liste-trucs {
    display: grid;
    gap: 18px;
}

.un-truc {
    position: relative;
    padding: 20px 22px 18px 38px;
    color: #59444b;
    background-color: #fdf2ef;
    border-left: 4px solid #d7a4b3;
    border-radius: 6px;
}

/* Petite feuille dessinée en CSS */

.un-truc::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 16px;
    width: 9px;
    height: 14px;
    background-color: #9da979;
    border-radius: 9px 1px 9px 1px;
    transform: rotate(-35deg);
}

.un-truc h3 {
    margin: 0 0 12px;
    color: #7b4058;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: normal;
}

.un-truc p {
    margin: 0 0 13px;
    font-size: 17px;
    line-height: 1.65;
}

.un-truc p:last-child {
    margin-bottom: 0;
}

/* Signatures et petites notes */

.signature-truc {
    color: #6f742f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px !important;
    font-style: italic;
}

.petite-note {
    color: #765762;
    font-size: 15px !important;
    font-style: italic;
}

/* Truc avec photo */

.truc-avec-image {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.texte-truc {
    flex: 1;
}

.image-truc {
    display: block;
    width: 150px;
    height: auto;
    margin-top: 5px;
    border: 1px solid #cfa8b4;
    border-radius: 5px;
}

/* Retour en haut */

.retour-haut {
    margin: 22px 0 0;
    text-align: right;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
}

.retour-haut a::before {
    content: "\2191 ";
}

/* Navigation entre les pages */

.navigation-rubrique {
    width: 760px;
    max-width: 100%;
    margin: 35px auto 25px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 2;
}

/* Colibri vers la page suivante */

.navigation-suivante {
    margin: 25px 0 30px;
    text-align: right;
}

.navigation-suivante h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: normal;
}

.navigation-suivante img {
    width: auto;
    height: auto;
    margin-right: 7px;
    vertical-align: middle;
}

/* Liens de retour */

.retours-rubrique {
    margin: 25px auto 30px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.6;
}

/* Compteur */

.compteur-visiteurs {
    margin: 25px auto 5px;
    text-align: center;
}

/* Écrans moins larges */

@media screen and (max-width: 700px) {

    .section-trucs {
        padding: 25px 18px 20px;
    }

    .un-truc {
        padding: 18px 17px 17px 35px;
    }

    .truc-avec-image {
        display: block;
    }

    .image-truc {
        margin: 18px auto 0;
    }

    .sommaire-trucs span,
    .navigation-rubrique span {
        margin: 0 3px;
    }
}

/* Encadré respect de la nature */

.encadre-nature {
    width: 760px;
    max-width: 100%;
    margin: 25px auto 30px;
    padding: 22px 28px;
    text-align: center;
    color: #664a53;
    background-color: #fff9f3;
    border: 1px solid #dcbfc6;
    border-radius: 10px;
}

.encadre-nature h2 {
    margin: 0 0 12px;
    color: #7b2950;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: normal;
    font-style: italic;
}

.encadre-nature p {
    margin: 7px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.6;
}

/* ==================================================
   JOLIES FLEURS TOUT L'AUTOMNE
   ================================================== */

/* Note sous l'introduction */

.note-floraison {
    width: 760px;
    max-width: 100%;
    margin: 20px auto 35px;
    padding: 17px 25px;
    text-align: center;
    color: #664a53;
    background-color: #fff9f3;
    border: 1px solid #dcbfc6;
    border-radius: 10px;
}

.note-floraison p {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-style: italic;
    line-height: 1.6;
}

/* Grille sur deux colonnes */

.grille-plantes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 22px;
    width: 790px;
    max-width: 100%;
    margin: 0 auto 35px;
}

/* Une carte de plante */

.carte-plante {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 275px;
    padding: 28px 25px 24px;
    color: #59444b;
    background-color: #fff9f3;
    border: 1px solid #dcbfc6;
    border-radius: 11px;
    box-shadow: 0 2px 5px rgba(90, 45, 60, 0.08);
}

/* Petit badge de rusticité */

.badge-zone {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    color: #7b2950;
    background-color: #f4dfe5;
    border: 1px solid #d9aeba;
    border-radius: 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
}

/* Nom français */

.carte-plante h2 {
    margin: 18px 70px 7px 0;
    color: #7b2950;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-style: italic;
    font-weight: normal;
    line-height: 1.3;
}

/* Nom botanique */

.nom-latin {
    min-height: 42px;
    margin: 0 0 15px;
    color: #816a72;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.45;
}

/* Renseignements */

.details-plante {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #ead8dc;
}

.details-plante p {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.45;
}

.details-plante p:last-child {
    margin-bottom: 0;
}

.details-plante strong {
    color: #754057;
    font-weight: bold;
}

/* Retour en haut sous les cartes */

.retour-haut-plantes {
    width: 790px;
    max-width: 100%;
    margin: 0 auto 30px;
}

/* Écrans moins larges */

@media screen and (max-width: 700px) {

    .grille-plantes {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .carte-plante {
        min-height: 0;
    }

    .nom-latin {
        min-height: 0;
    }
}


/* ==================================================
   SPÉCIAL BULBES D'AUTOMNE
   ================================================== */

/* Encadré du début */

.encadre-bulbes {
    width: 760px;
    max-width: 100%;
    margin: 20px auto 32px;
    padding: 22px 28px;
    text-align: center;
    color: #664a53;
    background-color: #fff9f3;
    border: 1px solid #dcbfc6;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(90, 45, 60, 0.06);
}

.encadre-bulbes h2 {
    margin: 0 0 12px;
    color: #7b2950;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-style: italic;
    font-weight: normal;
}

.encadre-bulbes p {
    margin: 7px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.3;
}

/* Ensemble du guide */

.guide-bulbes {
    display: grid;
    gap: 22px;
    width: 790px;
    max-width: 100%;
    margin: 0 auto 35px;
}

/* Une étape */

.etape-bulbes {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 28px 30px;
    color: #59444b;
    background-color: #fff9f3;
    border: 1px solid #dcbfc6;
    border-radius: 11px;
    box-shadow: 0 2px 5px rgba(90, 45, 60, 0.08);
    scroll-margin-top: 20px;
}

/* Numéro rond */

.numero-etape {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    color: #7b2950;
    background-color: #f4dfe5;
    border: 1px solid #d8acb9;
    border-radius: 50%;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 43px;
    text-align: center;
}

/* Contenu de l'étape */

.contenu-etape {
    flex: 1;
    min-width: 0;
}

.contenu-etape h2 {
    margin: 3px 0 16px;
    color: #7b2950;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-style: italic;
    font-weight: normal;
    line-height: 1.3;
}

.contenu-etape p {
    margin: 0 0 14px;
    font-size: 17px;
    line-height: 1.68;
}

.contenu-etape p:last-child {
    margin-bottom: 0;
}

/* Phrase personnelle */

.phrase-jardin {
    padding: 15px 18px;
    color: #754057;
    background-color: #fdf0f2;
    border-left: 4px solid #d5a0b0;
    border-radius: 5px;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
}

/* Conseil important sur le feuillage */

.conseil-important {
    padding: 16px 18px;
    color: #664a53;
    background-color: #f8e9ed;
    border: 1px solid #ddb8c2;
    border-radius: 7px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: bold;
}

/* Liste de matériel */

.materiel-bulbes {
    width: 790px;
    max-width: 100%;
    margin: 35px auto 25px;
    padding: 28px 32px 30px;
    color: #59444b;
    background-color: #fff9f3;
    border: 1px solid #dcbfc6;
    border-radius: 11px;
    box-shadow: 0 2px 5px rgba(90, 45, 60, 0.08);
}

.materiel-bulbes h2 {
    margin: 0 0 10px;
    color: #7b2950;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-style: italic;
    font-weight: normal;
}

.intro-materiel {
    margin: 0 0 22px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.6;
}

.liste-materiel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 35px;
}

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

.liste-materiel li {
    position: relative;
    margin: 0 0 12px;
    padding-left: 28px;
    font-size: 16px;
    line-height: 1.5;
}

.liste-materiel li::before {
    content: "\2713";
    position: absolute;
    top: 0;
    left: 2px;
    color: #8b965e;
    font-size: 18px;
    font-weight: bold;
}

/* Retour en haut */

.retour-haut-bulbes {
    width: 790px;
    max-width: 100%;
    margin: 0 auto 30px;
}

/* Écrans moins larges */

@media screen and (max-width: 700px) {

    .etape-bulbes {
        display: block;
        padding: 24px 20px;
    }

    .numero-etape {
        margin: 0 auto 15px;
    }

    .contenu-etape h2 {
        text-align: center;
    }

    .liste-materiel {
        grid-template-columns: 1fr;
    }

    .materiel-bulbes {
        padding: 25px 20px;
    }
}