/*
Theme Name: Pépinière La Nature
Theme URI:
Author: Pépinière La Nature
Description: Thème WordPress personnalisé pour une boutique florale, une pépinière et une activité apicole associée.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: pepiniere-la-nature
*/

:root {
    --vert: #2c5e3b;
    --vert-fonce: #1e4229;
    --vert-clair: #eaf3e7;
    --or: #dfb15b;
    --or-clair: #f4dfb4;
    --miel: #c98a22;
    --brun: #3d2b1f;
    --texte: #333333;
    --blanc: #ffffff;
    --fond: #fbfaf6;
    --bordure: #e2e5df;
    --ombre: 0 8px 24px rgba(30, 66, 41, 0.10);
}

*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--texte);
	background-color: var(--fond);  
/* Permet de positionner correctement le filigrane */
position: relative
isolation: isolate	
}   


/**************** FILIGRAN DU SITE ********************************** */
body::before {
    content: "";
	position: fixed
	inset: 0;

	/* Image du filigrane  */
	background-image: url('asstes/img/la-nature.jpeg');
	/*  UNE SEULE IMAGE  */
	background-repeat: no-repeat;
	/*  image centrée  */
	background-position: center center;
	/*  Taille du filigrane   */
	background-size: 500px auto;
	/* Transparence du filigrane   */
	opacity: 10;
	/*  Le filigrane ne gêne jamais les clics  */
	pointer-events: none;
	/*  Derrieère le contenu  */
	z-index: -1;
}   


body.admin-bar .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
    top: 32px;
}

a {
    color: var(--vert);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--miel);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--or);
    outline-offset: 3px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--blanc);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

.header-top {
    background: var(--vert);
    color: var(--blanc);
}

.header-inner {
    max-width: 1200px;
    min-height: 88px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.site-logo {
    width: 90px;
    height: 90px;
    flex: 0 0 90px;
    padding: 4px;
    background: var(--blanc);
    border: 2px solid var(--or);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text {
    min-width: 0;
}

.brand-title {
    display: block;
    color: var(--blanc);
    font-family: Georgia, serif;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.2;
}

.brand-tagline {
    margin: 4px 0 0;
    color: #e2f0d9;
    font-size: 0.92rem;
}

.main-navigation {
    background: var(--blanc);
    border-bottom: 1px solid var(--bordure);
}

.navigation-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 28px;
    margin: 0;
    padding: 0;
}

.main-navigation ul.sub-menu {
    display: none;
}

.main-navigation li a {
    display: block;
    padding: 13px 2px;
    color: var(--brun);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    border-bottom: 3px solid transparent;
}

.main-navigation li a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: var(--vert);
    border-bottom-color: var(--or);
	display: block;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    padding: 9px 12px;
    border: 1px solid var(--bordure);
    border-radius: 7px;
    background: var(--blanc);
    color: var(--vert);
    font-weight: 700;
    cursor: pointer;
}

.hero-section {
    min-height: 440px;
    padding: 75px 20px;
    color: var(--blanc);
    text-align: center;
    background:
        linear-gradient(135deg, rgba(30, 66, 41, 0.96), rgba(44, 94, 59, 0.88)),
        url("assets/img/logo-nature.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 850px;
}

.hero-content h1 {
    margin: 0 0 18px;
    font-family: Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.15;
    text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    max-width: 760px;
    margin: 0 auto 30px;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.btn-primary,
.btn-action {
    display: inline-block;
    border-radius: 5px;
    background: var(--or);
    color: #222;
    font-weight: 800;
    padding: 11px 20px;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.btn-primary {
    border-radius: 28px;
    padding: 13px 28px;
}

.btn-primary:hover,
.btn-action:hover {
    transform: translateY(-2px);
    background: var(--vert-fonce);
    color: var(--blanc);
}

.front-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 20px;
}

.front-page section {
    margin-bottom: 75px;
}

.front-page h2,
.page-title {
    margin: 0 0 34px;
    color: var(--brun);
    font-family: Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    text-align: center;
}

.front-page h2::after,
.page-title::after {
    content: "";
    display: block;
    width: 58px;
    height: 3px;
    margin: 12px auto 0;
    background: var(--or);
}

.section-presentation {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-presentation p {
    margin: 0 auto;
    font-size: 1.08rem;
}

.rubriques-grid,
.specimens-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card,
.rubrique-card,
.specimen-card,
.blog-card {
    background: var(--blanc);
    border: 1px solid var(--bordure);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--ombre);
}

.rubrique-card,
.specimen-card {
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

.rubrique-card:hover,
.specimen-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(30, 66, 41, 0.15);
}

.rubrique-media {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vert-clair);
    font-size: 3.2rem;
}

.rubrique-content,
.specimen-content,
.blog-content {
    padding: 22px;
}

/* Conteneur principal de la boutique */
.boutique-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.boutique-container .page-header {
    text-align: center;
    margin-bottom: 50px;
}

.boutique-container .page-title {
    color: #0b301a; /* Vert forêt emblématique */
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.boutique-container .page-description {
    color: #555555;
    font-size: 1.1rem;
}

/* Grille de produits */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Carte de produit individuelle */
.product-card {
    background: #ffffff;
    border: 1px solid #e2ebd5; /* Bordure très discrète vert clair */
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(11, 48, 26, 0.08);
}

/* Image du produit */
.product-media {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f7f9f5;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-media img {
    transform: scale(1.05);
}

/* Contenu textuel de la carte */
.product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-item-title {
    font-size: 1.25rem;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.product-item-title a {
    color: #0b301a;
    text-decoration: none;
}

.product-item-title a:hover {
    color: #27ae60;
}

/* Prix */
.product-price {
    font-weight: bold;
    color: #27ae60; /* Vert vif e-commerce */
    font-size: 1.15rem;
    margin-bottom: 12px;
}

/* Résumé textuel */
.product-excerpt {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Bouton de commande hyperlien */
.btn-order {
    display: block;
    text-align: center;
    background-color: #0b301a;
    color: #ffffff !important;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
}

.btn-order:hover {
    background-color: #27ae60; /* Bascule au vert actif au survol */
}

/* Notification de liste vide */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 6px;
    color: #777;
}


.rubrique-content h3,
.specimen-content h3,
.blog-content h2 {
    margin: 0 0 10px;
    color: var(--vert);
    font-family: Georgia, serif;
}

.rubrique-content p,
.specimen-content p,
.blog-content p {
    margin: 0 0 18px;
    color: #5c625d;
}

.specimen-media {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--vert-clair);
}

.specimen-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fleur-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.specimen-price {
    display: block;
    margin-bottom: 16px;
    color: var(--miel);
    font-weight: 800;
}


.btn-order {
    display: block;
    text-align: center;
    background-color: #0b301a; /* Vert forêt de votre charte graphique */
    color: #ffffff !important;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}


/* Grille de spécimens fixes */
.specimens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Badges des sous-catégories (Plantes, Apiculture) */
.product-taxonomies {
    margin-bottom: 8px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.product-taxonomies .badge-cat {
    background-color: #e2ebd5;
    color: #0b301a;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 12px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.product-taxonomies .badge-cat:hover {
    background-color: #0b301a;
    color: #ffffff;
}

/* Souhait 1 : Matérialisation des 6 cadres vides */
.empty-placeholder-card {
    border: 2px dashed #c2d1b8 !important; /* Bordure en pointillés verts clairs */
    background-color: #fcfdfe !important;
    opacity: 0.7;
    box-shadow: none !important;
    pointer-events: none; /* Désactive les clics sur les cartes vides */
}

.placeholder-blank {
    background-color: #f2f6ee !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 2.5rem;
    filter: grayscale(1);
    opacity: 0.4;
}

/* Lignes de faux texte pour structurer visuellement le cadre vide */
.placeholder-line {
    background-color: #e8eee4;
    height: 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.placeholder-line.title-line {
    width: 70%;
    height: 16px;
    margin-bottom: 15px;
}
.placeholder-line.text-line { width: 90%; }
.placeholder-line.text-line.short { width: 50%; }

.placeholder-price {
    color: #999999 !important;
    font-style: italic;
    font-size: 0.9rem;
}

.btn-disabled {
    background-color: #e0e0e0 !important;
    color: #888888 !important;
    border: none;
    cursor: not-allowed;
}


/* Conteneur de la grille */
.rubriques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px auto;
    padding: 0 15px;
    max-width: 1200px;
}

/* Style de base d'une carte */
.rubrique-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    text-decoration: none !important; /* Enlever le soulignement du lien */
    color: #2d3748 !important; /* Couleur du texte */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 140px;
}

/* Effet au survol (Hover) */
.rubrique-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background-color: #f7fafc; 
}

/* Titre principal de la carte */
.card-title {
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    color: #1a202c;
    font-weight: 600;
}

/* Sous-titre ou description */
.card-subtitle {
    font-size: 0.95rem;
    color: #718096;
    margin: 0;
    line-height: 1.4;
}


/* Styles Généraux des Sections */
.section-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

/* SECTION 1 : Les 2 catégories principales */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.category-card {
    background-color: #2e7d32; /* Vert horticole */
    color: #ffffff !important;
    padding: 40px 30px;
    border-radius: 10px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    background-color: #1b5e20;
}

.category-card .card-title {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.card-link-text {
    font-weight: bold;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* SECTION 2 : La grille d'exposition (12 cartes) */
.exposition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.plant-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease;
}

.plant-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Zone Image de la Plante */
.plant-image-wrapper {
    width: 100%;
    height: 200px;
    background-color: #f1f5f9;
}

.plant-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: bold;
    font-style: italic;
    border-bottom: 1px solid #e2e8f0;
}

/* Détails de la Plante */
.plant-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.plant-name {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    color: #1e293b;
}

.plant-description {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 20px 0;
    line-height: 1.5;
    flex-grow: 1;
}

/* Footer de la carte (Prix et Bouton) */
.plant-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.plant-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2e7d32;
}

.plant-btn {
    background-color: #f1f5f9;
    color: #475569 !important;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    text-decoration: none !important;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.plant-btn:hover {
    background-color: #e2e8f0;
}

/* Layout responsive en grille */
.rubriques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

/* Base d'une carte rubrique */
.rubrique-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rubrique-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Zone icône / emoji */
.rubrique-media {
    font-size: 2.5rem;
    line-height: 1;
}

/* Contenu textuel */
.rubrique-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rubrique-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    color: #1e293b;
}

.rubrique-content p {
    margin: 0 0 20px 0;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    flex-grow: 1; /* Aligne les boutons en bas */
}

/* Boutons d'action */
.btn-action {
    display: inline-block;
    text-align: center;
    background-color: #2e7d32;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.btn-action:hover {
    background-color: #1b5e20;
}

.section-apiculture {
    padding: 50px 35px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f9f1df, #fff);
    border: 1px solid #ead7ac;
}

.apiculture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: center;
}

.apiculture-text h3 {
    color: var(--vert);
    font-family: Georgia, serif;
    font-size: 1.7rem;
}

.apiculture-list {
    margin: 0;
    padding-left: 22px;
}

.apiculture-visual {
    min-height: 260px;
    border-radius: 10px;
    background:
        linear-gradient(rgba(44, 94, 59, .12), rgba(44, 94, 59, .12)),
        url("assets/img/logo-nature.jpg") center/contain no-repeat;
}

.blog-section {
    padding-top: 10px;
}

.blog-card {
    display: flex;
    flex-direction: column;
}

.blog-card .post-thumbnail {
    height: 190px;
    overflow: hidden;
}

.blog-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card .blog-content {
    flex: 1;
}

.blog-meta {
    margin-bottom: 8px;
    color: #70756f;
    font-size: .82rem;
}

.read-more {
    font-weight: 800;
    color: var(--vert);
}

.section-contact {
    padding: 45px 25px;
    background: var(--blanc);
    border: 1px solid var(--bordure);
    border-radius: 12px;
    text-align: center;
}

.contact-infos {
    max-width: 700px;
    margin: 0 auto;
}

.contact-infos p {
    margin: 12px 0;
}

/* Style général du Footer */
.site-footer {
    background-color: #0b301a; /* Vert foncé semblable à votre capture */
    color: #ffffff;
    padding: 40px 0 20px 0;
    font-family: sans-serif;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Grille alignée en colonnes parallèles */
.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
}

/* Ajustement des largeurs de colonnes */
.footer-grid > div {
    flex: 1;
    min-width: 200px;
}

.footer-column-brand {
    flex: 1.5 !important; /* Donne un peu plus d'espace à la première colonne */
}

/* Bloc Logo + Titre */

/* Conteneur de la marque (Logo + Texte) */
.footer-brand {
    display: flex !important;
    flex-direction: row !important; /* Aligne le logo et le texte sur la même ligne */
    align-items: center !important;  /* Centre verticalement le logo avec le texte */
    justify-content: flex-start !important;
    gap: 15px !important;            /* Espace entre le logo et le texte */
    margin-bottom: 15px;
    text-align: left !important;     /* Empêche le texte de se centrer */
}

/* Encart du Logo (Pour restreindre la taille) */
.footer-logo-container {
    width: 55px !important;          /* Largeur identique au thème bleu */
    height: 55px !important;         /* Hauteur identique au thème bleu */
    min-width: 55px !important;      /* Évite que le flexbox n'écrase le logo */
    max-width: 55px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;                /* Coupe les bords si l'image dépasse */
    border-radius: 4px;              /* Léger arrondi comme le modèle bleu */
    background: #ffffff;             /* Fond blanc si le logo a de la transparence */
}

/* Forcer l'image générée par WordPress à s'adapter à l'encart */
.footer-logo-container img,
.custom-footer-logo,
.footer-brand img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;    /* Remplit l'encart sans déformer l'image */
    max-width: 55px !important;
    max-height: 55px !important;
    display: block !important;
    margin: 0 !important;            /* Supprime les marges par défaut de WordPress */
}

/* Alignement du texte à côté du logo */
.footer-brand strong {
    color: #ffffff !important;
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
    text-align: left !important;
    display: block;
}

/* Alignement de la description sous le bloc logo */
.footer-description {
    text-align: left !important;     /* Force l'alignement à gauche */
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #b0cbb7;
}


.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-brand img {
    max-width: 50px;
    height: auto;
    border-radius: 4px;
}

.footer-brand strong {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.3;
}

.footer-description {
    color: #b0cbb7; /* Vert clair/gris pour le texte descriptif */
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Titres des colonnes (Navigation, Contact) */
.footer-grid h5 {
    color: #e5c158; /* Couleur dorée/jaune identique au thème bleu */
    font-size: 1rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Suppression définitive des puces et alignement des listes */
.footer-grid ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-grid ul li {
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.footer-grid ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-grid ul li a:hover {
    color: #e5c158; /* Changement de couleur au survol */
}

/* Ligne de séparation et Bas de page */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* Version Mobile responsive */
@media (max-width: 768px) {
    .footer-grid {
        flex-direction: column;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.site-footer {
    background-color: #06331a;
    color: #ffffff;
    font-family: Arial, sans-serif;
    padding: 60px 40px 30px 40px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 220px;
    margin-bottom: 40px;
    padding-right: 20px;
}

.brand-info {
    flex: 1.5;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo-wrapper img, .logo-wrapper .custom-logo {
    max-height: 50px;
    width: auto;
    margin-right: 15px;
    object-fit: contain;
}

.brand-title {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
}

.brand-description {
    color: #e0e0e0;
    max-width: 280px;
}

.footer-column h3 {
    color: #f5b041;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Prise en compte des classes générées par wp_nav_menu */
.footer-column ul.footer-links-list,
.footer-column .menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-column ul.footer-links-list li,
.footer-column .menu li {
    margin-bottom: 12px !important;
    padding: 0 !important;
    background: none !important;
}

.footer-column ul.footer-links-list li a,
.footer-column .menu li a,
.contact-info a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.footer-column ul.footer-links-list li a:hover,
.footer-column .menu li a:hover,
.contact-info a:hover {
    color: #f5b041 !important;
}

.contact-info p, .contact-widget-content p {
    margin: 0 0 12px 0;
}

.footer-bottom {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #cccccc;
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
    .footer-column {
        width: 100%;
        margin-bottom: 30px;
    }
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

/* Container fixé au premier plan */
.global-whatsapp-flottant-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 420px;
    width: calc(100% - 40px);
    z-index: 99999; /* S'assure de passer au-dessus de tous les éléments du site */
    box-sizing: border-box;
    animation: slideInUp 0.5s ease-out; /* Animation douce à l'apparition */
}

/* Structure interne en forme de boîte/volet */
.global-whatsapp-flottant-container .whatsapp-metacard {
    display: flex;
    flex-direction: column; /* Organisation verticale compacte */
    gap: 15px;
    background: #ffffff; /* Fond blanc pur pour détacher du fond de page */
    border-top: 4px solid #25D366; /* Accent vert WhatsApp en haut */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Ombre prononcée pour l'effet flottant */
}

.global-whatsapp-flottant-container .metacard-icon {
    font-size: 28px;
    margin-bottom: -5px;
}

.global-whatsapp-flottant-container .metacard-title {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #1e392a;
    font-weight: 700;
}

.global-whatsapp-flottant-container .metacard-text {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Bouton d'action large et facile à cliquer */
.global-whatsapp-flottant-container .btn-whatsapp-pay {
    display: block;
    background-color: #25D366;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 12px;
    font-weight: bold;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.global-whatsapp-flottant-container 
.btn-whatsapp-pay:hover {
    background-color: #128C7E;
}

/* Bouton de fermeture discret (Croix) */
.whatsapp-flottant-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 22px;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    transition: color 0.2s;
    z-index: 10;
}

.whatsapp-flottant-close:hover {
    color: #333;
}

/* Animation d'entrée */
@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Ajustements pour les très petits écrans de smartphones */
@media (max-width: 480px) {
    .global-whatsapp-flottant-container {
        bottom: 10px;
        right: 10px;
        width: calc(100% - 20px);
    }
    .global-whatsapp-flottant-container .whatsapp-metacard {
        padding: 15px;
    }
}

.page-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.entry-card {
    background: var(--blanc);
    border: 1px solid var(--bordure);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--ombre);
}

.entry-card .post-thumbnail {
    height: 210px;
}

.entry-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.entry-card-content {
    padding: 24px;
}

.entry-title {
    margin: 0 0 10px;
    font-family: Georgia, serif;
    font-size: 1.35rem;
}

.entry-title a {
    color: var(--vert);
}

.entry-meta {
    margin-bottom: 15px;
    color: #777;
    font-size: .85rem;
}

.single-post-content {
    max-width: 850px;
    margin: 0 auto;
    background: var(--blanc);
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--ombre);
}

.single-post-content .post-thumbnail {
    margin-bottom: 25px;
}

.single-post-content .post-thumbnail img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.pagination {
    margin-top: 35px;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 900px) {
    .rubriques-grid,
    .specimens-grid,
    .blog-grid,
    .blog-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .apiculture-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    body.admin-bar .site-header {
        top: 46px;
    }

    .header-inner {
        min-height: 76px;
        padding: 8px 15px;
    }

    .site-logo {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

    .brand-title {
        font-size: 1.35rem;
    }

    .brand-tagline {
        font-size: .78rem;
    }

    .menu-toggle {
        display: block;
    }

    .navigation-inner {
        display: block;
        padding: 0 15px;
    }

    .main-navigation ul {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-navigation ul.is-open {
        display: flex;
    }

    .main-navigation li a {
        text-align: center;
        border-bottom: 1px solid var(--bordure);
    }

    .rubriques-grid,
    .specimens-grid,
    .blog-grid,
    .blog-list {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: 390px;
        padding: 55px 18px;
    }

    .front-page,
    .page-main {
        padding-left: 15px;
        padding-right: 15px;
    }

    .section-apiculture {
        padding: 35px 20px;
    }
	

/* Conteneur principal */
.contact-page-container {
    background-color: #fcf8f2; /* Fond beige crème clair comme l'image */
    padding: 60px 20px;
    font-family: 'Arial', sans-serif;
}

/* Grille CSS sur 2 Colonnes équitables */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Formulaire à Gauche */
.contact-form-block h2 {
    color: #0b2c4d; /* Bleu nuit élégant pour le titre principal */
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.form-subtitle {
    color: #666;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #0b2c4d;
    font-weight: 600;
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2d9cd;
    border-radius: 4px;
    background-color: #fff;
    box-sizing: border-box;
    font-size: 15px;
}

.btn-submit-form {
    background-color: #0b2c4d;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit-form:hover {
    background-color: #164675;
}

/* Encadré d'informations à Droite (Effet carte blanche ombrée) */
.sidebar-contact {
    background: #ffffff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Ombre douce */
    border-top: 3px solid #0b2c4d; /* Petite bordure supérieure distinctive */
    margin-bottom: 25px;
}

.sidebar-contact h4 {
    color: #0b2c4d;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    letter-spacing: 0.5px;
}

.sidebar-info-content p {
    margin: 12px 0;
    color: #444;
    line-height: 1.6;
}

.sidebar-info-content a {
    color: #0b2c4d;
    text-decoration: none;
}

.sidebar-info-content a:hover {
    text-decoration: underline;
}

/* Boutons de showcase des catalogues en ligne */
.contact-showcase {
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.showcase-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.btn-showcase {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    border: 1px solid #eaeaea;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-showcase:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.btn-showcase .icon {
    font-size: 24px;
    margin-right: 15px;
}

.btn-text strong {
    display: block;
    color: #111;
}

.btn-text span {
    font-size: 12px;
    color: #777;
}

/* Rendre la grille responsive pour les tablettes et mobiles */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Bascule sur une seule colonne */
        gap: 2.5rem;
    }
}

	


/* Container de la section */
.section-contact {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

/* La carte cliquable */
.contact-card-link {
    position: relative; /* Indispensable pour l'extension du lien */
    background-color: #f4faf6; /* Fond vert très clair */
    border: 1px solid #e2e8e5;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

/* Effet visuel au survol de la carte */
.contact-card-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(30, 57, 42, 0.08);
    border-color: #25d366; /* Accentuation verte */
}

.contact-card-link h2 {
    color: #1e392a;
    margin-top: 0;
    font-size: 1.8rem;
}

.contact-infos p {
    color: #4a5568;
    line-height: 1.5;
    margin: 10px 0;
}

/* Le bouton qui va couvrir toute la carte */
.contact-card-button {
    display: inline-block;
    margin-top: 15px;
    background-color: #1e392a;
    color: #ffffff !important;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: background-color 0.2s;
}

/* Technique ultime CSS : le lien du bouton s'étend invisiblement sur toute la surface de la carte */
.contact-card-link .contact-card-button::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

/* Changement de couleur du bouton au survol */
.contact-card-link:hover .contact-card-button {
    background-color: #25d366;
}


/* --- RESPONSIVE / ADAPTABILITÉ MOBILE --- */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}


    .single-post-content {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
