:root {
    --green-dark: #163b22;
    --green: #1f4d2c;
    --green-light: #e8f3ea;
    --gold: #c79a3a;
    --gold-dark: #a87f2c;
    --text: #232323;
    --gray: #6b6b6b;
    --font-heading: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.65;
    background: #fff;
    user-select: none;
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; }

/* Header */
.site-header { background: rgba(255,255,255,0.97); backdrop-filter: blur(6px); border-bottom: 1px solid #e7e7e7; box-shadow: 0 2px 14px rgba(20,40,25,0.05); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-name { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: var(--green-dark); letter-spacing: 0.2px; }
.main-nav a { margin-left: 24px; color: var(--text); font-weight: 500; font-size: 0.96rem; padding-bottom: 4px; display: inline-flex; align-items: center; gap: 7px; }
.main-nav a.active, .main-nav a:hover { color: var(--green); text-decoration: none; border-bottom: 2px solid var(--gold); }
.main-nav a svg.nav-icon { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; opacity: 0.85; }

/* ===== Motifs de fond (personnalisables depuis l'admin > Paramètres du site) =====
   Le même motif est utilisé sur le bandeau "héros" de l'accueil ET sur l'en-tête
   (.page-header) de toutes les autres rubriques du site, pour une identité visuelle cohérente. */
.motif-feuilles .hero, .motif-feuilles .page-header, .hero.motif-feuilles, .page-header.motif-feuilles {
    background-image:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,0.07) 0, transparent 40%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='2'%3E%3Cpath d='M20 160 C20 100 60 60 120 50 C90 80 80 120 90 160 C60 150 30 150 20 160Z'/%3E%3Cpath d='M150 20 C150 70 120 100 70 110 C95 85 105 55 95 20 C115 25 135 20 150 20Z'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, var(--green-dark), var(--green));
    background-size: auto, 360px 360px, auto;
}
.motif-molecules .hero, .motif-molecules .page-header, .hero.motif-molecules, .page-header.motif-molecules {
    background-image:
        radial-gradient(circle at 85% 25%, rgba(255,255,255,0.06) 0, transparent 45%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.10' stroke-width='1.6'%3E%3Cline x1='30' y1='30' x2='80' y2='60'/%3E%3Cline x1='80' y1='60' x2='130' y2='35'/%3E%3Cline x1='80' y1='60' x2='90' y2='120'/%3E%3Cline x1='90' y1='120' x2='40' y2='140'/%3E%3Ccircle cx='30' cy='30' r='5'/%3E%3Ccircle cx='80' cy='60' r='6'/%3E%3Ccircle cx='130' cy='35' r='5'/%3E%3Ccircle cx='90' cy='120' r='5'/%3E%3Ccircle cx='40' cy='140' r='4'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, var(--green-dark), var(--green));
    background-size: auto, 300px 300px, auto;
}
.motif-vagues .hero, .motif-vagues .page-header, .hero.motif-vagues, .page-header.motif-vagues {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='80' viewBox='0 0 400 80'%3E%3Cpath d='M0 40 Q50 10 100 40 T200 40 T300 40 T400 40' fill='none' stroke='%23ffffff' stroke-opacity='0.10' stroke-width='2'/%3E%3C/svg%3E"),
        linear-gradient(135deg, var(--green-dark), var(--green));
    background-size: 400px 80px, auto;
}
.motif-aucun .hero, .motif-aucun .page-header, .hero.motif-aucun, .page-header.motif-aucun { background: linear-gradient(135deg, var(--green-dark), var(--green)); }

/* Géométrique / triangles bas-poly */
.motif-geometrique .hero, .motif-geometrique .page-header, .hero.motif-geometrique, .page-header.motif-geometrique {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.09' stroke-width='1.4'%3E%3Cpath d='M0 60 L60 0 L120 60 L60 120 Z'/%3E%3Cpath d='M120 60 L180 0 L220 40'/%3E%3Cpath d='M60 120 L120 60 L180 120 L120 180 Z'/%3E%3Cpath d='M0 160 L60 120 L60 220'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, var(--green-dark), var(--green));
    background-size: 260px 260px, auto;
}

/* Double hélice ADN */
.motif-adn .hero, .motif-adn .page-header, .hero.motif-adn, .page-header.motif-adn {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='240' viewBox='0 0 140 240'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.10' stroke-width='2'%3E%3Cpath d='M20 0 C60 30 60 30 20 60 C-20 90 -20 90 20 120 C60 150 60 150 20 180 C-20 210 -20 210 20 240'/%3E%3Cpath d='M120 0 C80 30 80 30 120 60 C160 90 160 90 120 120 C80 150 80 150 120 180 C160 210 160 210 120 240'/%3E%3Cline x1='24' y1='15' x2='116' y2='15'/%3E%3Cline x1='20' y1='60' x2='120' y2='60'/%3E%3Cline x1='24' y1='105' x2='116' y2='105'/%3E%3Cline x1='20' y1='150' x2='120' y2='150'/%3E%3Cline x1='24' y1='195' x2='116' y2='195'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, var(--green-dark), var(--green));
    background-size: 140px 240px, auto;
    background-position: right top, center;
}

/* Hexagones / nid d'abeille */
.motif-hexagones .hero, .motif-hexagones .page-header, .hero.motif-hexagones, .page-header.motif-hexagones {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='96' viewBox='0 0 84 96'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.09' stroke-width='1.3'%3E%3Cpolygon points='21,0 63,0 84,36 63,72 21,72 0,36'/%3E%3Cpolygon points='63,72 105,72 126,108 105,144 63,144 42,108'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, var(--green-dark), var(--green));
    background-size: 84px 96px, auto;
}

/* Croix médicales discrètes */
.motif-grille-medicale .hero, .motif-grille-medicale .page-header, .hero.motif-grille-medicale, .page-header.motif-grille-medicale {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M28 20h8v8h8v8h-8v8h-8v-8h-8v-8h8z'/%3E%3Cpath d='M88 68h8v8h8v8h-8v8h-8v-8h-8v-8h8z'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, var(--green-dark), var(--green));
    background-size: 120px 120px, auto;
}

/* Minéral / marbre — veines douces */
.motif-mineral .hero, .motif-mineral .page-header, .hero.motif-mineral, .page-header.motif-mineral {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='200' viewBox='0 0 300 200'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1.5'%3E%3Cpath d='M0 40 C60 10 90 70 150 50 C210 30 240 90 300 60'/%3E%3Cpath d='M0 140 C70 110 100 170 160 150 C220 130 250 180 300 150'/%3E%3Cpath d='M40 0 C60 60 30 100 60 160'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, var(--green-dark), var(--green));
    background-size: 340px 220px, auto;
}

/* Aquarelle organique — taches douces */
.motif-aquarelle .hero, .motif-aquarelle .page-header, .hero.motif-aquarelle, .page-header.motif-aquarelle {
    background-image:
        radial-gradient(circle at 15% 25%, rgba(255,255,255,0.10) 0, transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.07) 0, transparent 35%),
        radial-gradient(circle at 55% 80%, rgba(255,255,255,0.08) 0, transparent 32%),
        radial-gradient(circle at 90% 75%, rgba(255,255,255,0.06) 0, transparent 28%),
        linear-gradient(135deg, var(--green-dark), var(--green));
}

/* Photo de couverture personnalisée (page d'accueil) — remplace le motif par une photo.
   background-size "cover, contain" : le dégradé (1er calque) couvre tout le bandeau,
   la photo (2e calque) est affichée ENTIÈRE, sans recadrage (elle "rétrécit" pour
   tenir dans le cadre plutôt que d'être coupée sur les bords). */
.hero.has-cover-photo {
    background-size: cover, contain;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    min-height: 420px;
}

/* Photo de couverture personnalisée par rubrique (pathologies, produits, témoignages,
   autres, contact, panier) — même principe : la photo entière reste visible, jamais
   coupée. Réglée depuis Admin > Paramètres du site. */
.page-header.has-cover-photo {
    background-size: cover, contain;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.page-header.has-cover-photo h1,
.page-header.has-cover-photo p {
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

/* ============================================================
   Animations lentes des bannières (photos de couverture)
   Réglables depuis Admin > Paramètres du site > "Animation des bannières".
   Le 1er calque (dégradé) reste toujours en "cover" ; on n'anime que
   le 2e calque, qui est la photo elle-même — le dégradé de fond
   n'est donc jamais affecté par l'animation.
   ============================================================ */

/* Défilement lent : la photo, plus large que le cadre, glisse tout
   doucement de gauche à droite puis revient — comme un long panoramique. */
@keyframes bannerPan {
    0%   { background-size: cover, auto 100%; background-position: center, left center; }
    50%  { background-size: cover, auto 100%; background-position: center, right center; }
    100% { background-size: cover, auto 100%; background-position: center, left center; }
}
.hero.has-cover-photo.anim-pan,
.page-header.has-cover-photo.anim-pan {
    animation: bannerPan 34s ease-in-out infinite;
}

/* Zoom lent façon "Ken Burns" : la photo grossit très progressivement puis revient. */
@keyframes bannerZoom {
    0%   { background-size: cover, contain; }
    50%  { background-size: cover, 128%; }
    100% { background-size: cover, contain; }
}
.hero.has-cover-photo.anim-zoom,
.page-header.has-cover-photo.anim-zoom {
    animation: bannerZoom 24s ease-in-out infinite;
}

/* Respiration douce : un zoom très léger et lent, à peine perceptible. */
@keyframes bannerFondu {
    0%   { background-size: cover, contain; }
    50%  { background-size: cover, 106%; }
    100% { background-size: cover, contain; }
}
.hero.has-cover-photo.anim-fondu,
.page-header.has-cover-photo.anim-fondu {
    animation: bannerFondu 18s ease-in-out infinite;
}

/* Réduit l'animation pour les personnes sensibles au mouvement */
@media (prefers-reduced-motion: reduce) {
    .hero.has-cover-photo, .page-header.has-cover-photo { animation: none !important; }
}

/* Hero */
.hero { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; padding: 90px 0 80px; text-align: center; position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow { display: inline-block; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 16px; border-radius: 30px; margin-bottom: 22px; }
.hero h1 { font-size: 2.7rem; margin: 0 0 10px; letter-spacing: 0.2px; }
.hero.has-cover-photo h1,
.hero.has-cover-photo .hero-slogan,
.hero.has-cover-photo .hero-desc { text-shadow: 0 2px 10px rgba(0,0,0,0.45); }
.hero-slogan { font-size: 1.25rem; color: var(--gold); margin-bottom: 20px; font-weight: 600; }
.hero-desc { max-width: 720px; margin: 0 auto 30px; color: rgba(255,255,255,0.9); font-size: 1.05rem; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary { display: inline-block; background: var(--gold); color: #1a1a1a; padding: 13px 30px; border-radius: 30px; font-weight: 700; box-shadow: 0 8px 20px rgba(0,0,0,0.18); transition: 0.2s; }
.btn-primary:hover { background: var(--gold-dark); text-decoration: none; transform: translateY(-2px); }
.btn-secondary { display: inline-block; background: rgba(255,255,255,0.08); color: #fff; border: 1.5px solid rgba(255,255,255,0.55); padding: 12px 28px; border-radius: 30px; font-weight: 600; transition: 0.2s; }
.btn-secondary:hover { background: rgba(255,255,255,0.18); text-decoration: none; }

.event-banner { background: var(--green-light); padding: 14px 20px; margin-top: 20px; border-radius: 10px; border-left: 4px solid var(--gold); }

/* ===== Bandeau de confiance (inspiré de therascience.com) ===== */
.trust-band { background: var(--green-light); border-bottom: 1px solid rgba(31,77,44,0.08); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; padding: 22px 20px; }
.trust-item { display: flex; align-items: center; gap: 10px; justify-content: center; text-align: left; color: var(--green-dark); font-size: 0.88rem; font-weight: 600; }
.trust-icon { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--green-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Rubriques */
.section-intro { text-align: center; max-width: 680px; margin: 0 auto 36px; color: var(--gray); }
.rubriques { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; padding: 56px 20px; }
.rubrique-card { background: var(--green-light); border-radius: 14px; padding: 32px 28px; border: 1px solid rgba(31,77,44,0.08); transition: 0.25s; }
.rubrique-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(20,40,25,0.1); }
.rubrique-icon { font-size: 2.3rem; display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; background: #fff; border-radius: 16px; margin-bottom: 16px; box-shadow: 0 4px 12px rgba(20,40,25,0.08); }
.rubrique-card h2 { color: var(--green-dark); margin: 0 0 10px; font-size: 1.02rem; line-height: 1.3; letter-spacing: -0.01em; }
@media (min-width: 640px) {
    .rubrique-card h2 { white-space: nowrap; }
}
.rubrique-card p { margin: 0; color: #3d3d3d; }

.section-title { text-align: center; color: var(--green-dark); margin-bottom: 10px; font-size: 1.9rem; }

/* ===== Le responsable (accueil) ===== */
.responsable-section { background: var(--green-light); padding: 60px 0; }
.responsable-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.responsable-photo img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 10px 28px rgba(20,40,25,0.15); }
.responsable-fonction { color: var(--gold-dark); font-weight: 700; margin: -6px 0 14px; }
.responsable-bio-extrait { color: #3d3d3d; }
.responsable-bio-extrait p { margin: 0 0 14px; }

/* ===== Vidéo de présentation ===== */
.video-presentation-section { padding: 60px 0; background: #fff; }
.video-presentation-wrap { max-width: 820px; margin: 0 auto; text-align: center; }
.video-presentation-player { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px rgba(20,40,25,0.16); background: #000; }
.video-presentation-wrap video { width: 100%; display: block; background: #000; }
.video-presentation-caption { margin-top: 14px; color: var(--gray); font-style: italic; }
.video-toggle-btn {
    position: absolute; inset: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(15,30,18,0.28); border: none; cursor: pointer; padding: 0;
    transition: background 0.2s;
}
.video-toggle-btn:hover { background: rgba(15,30,18,0.4); }
.video-toggle-btn .play-circle {
    width: 76px; height: 76px; border-radius: 50%;
    background: rgba(255,255,255,0.92);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.video-toggle-btn .play-circle svg { width: 30px; height: 30px; fill: var(--green-dark); margin-left: 4px; }
.video-toggle-btn.is-playing { background: transparent; opacity: 0; pointer-events: none; }
.video-toggle-btn.is-playing .play-circle { opacity: 0; }

/* Produits */
.page-header {
    text-align: center;
    padding: 64px 20px 54px;
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
}
.page-header .container,
.page-header h1, .page-header p { position: relative; z-index: 2; }
.page-header h1 {
    color: #fff;
    font-size: 2.05rem;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.page-header h1 .rubrique-title-icon {
    width: 38px; height: 38px; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50%;
}
.page-header h1 .rubrique-title-icon svg { width: 20px; height: 20px; stroke: #fff; }
.page-header p { color: rgba(255,255,255,0.92); max-width: 640px; margin: 0 auto; font-size: 1.02rem; }
.page-header a { color: var(--gold); font-weight: 600; }
.page-header a:hover { color: #fff; }
.page-header .categorie-tag { background: rgba(255,255,255,0.16); color: #fff; }
.categories-filter { text-align: center; padding: 10px 20px 24px; }
.categories-filter a { margin: 0 6px; padding: 7px 18px; border: 1px solid var(--green); border-radius: 20px; display: inline-block; margin-bottom: 8px; font-size: 0.92rem; font-weight: 500; transition: 0.2s; }
.categories-filter a:hover { text-decoration: none; background: var(--green-light); }
.categories-filter a.active { background: var(--green); color: #fff; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px; padding: 10px 20px 56px; }
.product-card { border: 1px solid #ececec; border-radius: 14px; overflow: hidden; color: var(--text); transition: 0.25s; display: block; background: #fff; }
.product-card:hover { box-shadow: 0 16px 32px rgba(20,40,25,0.12); text-decoration: none; transform: translateY(-3px); border-color: transparent; }
.product-card img { width: 100%; height: 190px; object-fit: cover; }
.product-card h3, .product-card p, .product-card .price { padding: 0 18px; }
.product-card h3 { margin: 16px 0 6px; color: var(--green-dark); font-size: 1.08rem; }
.product-card .price { display: block; font-weight: 700; color: var(--gold-dark); margin: 8px 0 18px; }

/* Détail produit */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 24px 0; align-items: start; }
.product-detail-img { width: 100%; border-radius: 14px; box-shadow: 0 14px 30px rgba(20,40,25,0.1); }
.categorie-tag { display: inline-block; background: var(--green-light); color: var(--green-dark); padding: 5px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.price-big { font-size: 1.7rem; color: var(--gold-dark); font-weight: 700; }
.order-form-box { background: var(--green-light); border-radius: 14px; padding: 32px; margin: 32px 0 56px; max-width: 540px; }

/* Evénements */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; padding: 10px 20px 56px; }
.event-card { border: 1px solid #ececec; border-radius: 14px; overflow: hidden; display: block; color: var(--text); background: #fff; transition: 0.25s; }
.event-card:hover { box-shadow: 0 16px 32px rgba(20,40,25,0.12); text-decoration: none; transform: translateY(-3px); }
.event-card img { width: 100%; height: 165px; object-fit: cover; }
.event-card-body { padding: 16px 18px; }
.event-date { color: var(--gold-dark); font-weight: 700; font-size: 0.85rem; }
.event-detail-img { width: 100%; max-height: 440px; object-fit: cover; border-radius: 14px; margin: 18px 0; }
.event-meta { color: var(--gray); }

/* Promoteur (page À propos) */
.promoteur-section { padding: 24px 20px 64px; }
.promoteur-grid { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.promoteur-photo img { width: 100%; border-radius: 14px; box-shadow: 0 14px 30px rgba(20,40,25,0.1); }
.promoteur-fonction { color: var(--gold-dark); font-weight: 700; margin-top: -8px; }
.promoteur-bio h4 { color: var(--green-dark); margin-top: 24px; font-family: var(--font-heading); }

/* Forms */
form label { display: block; margin: 14px 0 6px; font-weight: 600; }
form input, form textarea, form select {
    width: 100%; padding: 11px 13px; border: 1px solid #ccc; border-radius: 8px; font-size: 1rem; font-family: var(--font-body);
}
form input:focus, form textarea:focus, form select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,77,44,0.12); }
form button { margin-top: 20px; background: var(--green); color: #fff; border: none; padding: 13px 28px; border-radius: 30px; font-weight: 700; cursor: pointer; transition: 0.2s; }
form button:hover { background: var(--green-dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 10px 20px 64px; }
.contact-form-box { background: var(--green-light); padding: 30px; border-radius: 14px; }
.contact-infos p { font-size: 1.02rem; }

.alert { padding: 13px 18px; border-radius: 10px; margin: 14px 0; }
.alert-success { background: #e3f6e8; color: #1f6b35; border: 1px solid #b8e6c3; }
.alert-error { background: #fde8e8; color: #9b2c2c; border: 1px solid #f3b3b3; }

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

/* Footer */
.site-footer { background: var(--green-dark); color: #d8e6db; padding: 48px 20px 18px; margin-top: 48px; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.footer-inner strong { font-family: var(--font-heading); font-size: 1.15rem; color: #fff; }
.site-footer a { color: #fff; }
.footer-facebook-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}
.footer-facebook-link:hover { background: var(--gold); color: var(--green-dark); text-decoration: none; }
.copyright { text-align: center; margin-top: 28px; font-size: 0.85rem; color: #aac4af; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; }

@media (max-width: 768px) {
    .main-nav a { margin-left: 12px; font-size: 0.9rem; }
    .product-detail-grid, .promoteur-grid, .contact-grid, .responsable-grid { grid-template-columns: 1fr; }
    .responsable-photo { max-width: 200px; margin: 0 auto; }
}

/* ===== Bouton menu mobile ===== */
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--green-dark); cursor: pointer; }

/* ===== Témoignages ===== */
.temoignages-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; padding: 20px 20px 60px; }
.temoignage-card { border: 1px solid #ececec; border-radius: 16px; padding: 26px; background: #fff; box-shadow: 0 4px 16px rgba(20,40,25,0.05); }
.temoignage-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.temoignage-identite { display: flex; align-items: center; gap: 12px; }
.temoignage-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--gold); }
.temoignage-head h2 { color: var(--green-dark); margin: 0 0 4px; font-size: 1.2rem; }
.temoignage-loc { color: var(--gray); font-size: 0.9rem; }
.temoignage-texte { margin: 12px 0; color: var(--text); font-style: italic; }
.temoignage-texte::before { content: "« "; color: var(--gold-dark); }
.temoignage-texte::after { content: " »"; color: var(--gold-dark); }
.temoignage-media { margin: 14px 0 6px; }
.media-video { width: 100%; max-height: 360px; border-radius: 12px; background: #000; }
.media-audio { width: 100%; margin-top: 6px; }
.media-image { width: 100%; border-radius: 12px; cursor: zoom-in; }
.media-doc { display: inline-block; background: var(--green-light); color: var(--green-dark); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.btn-agrandir { margin-top: 8px; background: var(--green); color: #fff; border: none; padding: 7px 16px; border-radius: 20px; font-weight: 600; cursor: pointer; font-size: 0.85rem; }
.btn-agrandir:hover { background: var(--green-dark); }
.temoignage-date { color: var(--gray); font-size: 0.8rem; margin-top: 12px; text-align: right; }
.temoignage-video-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--gold-dark); font-weight: 700; font-size: 0.88rem; }
.temoignage-video-link:hover { color: var(--green-dark); text-decoration: underline; }
.temoignages-home-section .temoignages-list { padding-top: 0; }

/* ===== Conseils ===== */
.conseils-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; padding: 10px 20px 64px; }
.conseil-card { border: 1px solid #ececec; border-radius: 16px; overflow: hidden; color: var(--text); display: block; transition: 0.25s; background: #fff; }
.conseil-card:hover { box-shadow: 0 16px 32px rgba(20,40,25,0.12); text-decoration: none; transform: translateY(-3px); }
.conseil-card img { width: 100%; height: 175px; object-fit: cover; }
.conseil-card-icon { font-size: 3rem; text-align: center; padding: 30px 0 8px; background: var(--green-light); }
.conseil-card-body { padding: 18px; }
.conseil-card-body h3 { margin: 10px 0 6px; color: var(--green-dark); font-family: var(--font-heading); }
.conseil-card-body p { color: var(--gray); font-size: 0.95rem; margin: 0; }
.conseil-detail { padding: 10px 20px 64px; max-width: 820px; }
.conseil-detail-img { width: 100%; max-height: 440px; object-fit: cover; border-radius: 14px; margin-bottom: 22px; }
.conseil-contenu { line-height: 1.85; font-size: 1.05rem; }

/* Éléments individuels d'une rubrique "Autres" (ex : chaque brevet, chaque conférence) */
.autre-elements-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; padding: 10px 20px 64px; }
.autre-element-card { border: 1px solid #ececec; border-radius: 16px; overflow: hidden; background: #fff; transition: 0.25s; }
.autre-element-card:hover { box-shadow: 0 16px 32px rgba(20,40,25,0.12); transform: translateY(-3px); }
.autre-element-card img { width: 100%; height: 170px; object-fit: cover; }
.autre-element-body { padding: 18px; }
.autre-element-body h3 { margin: 0 0 6px; color: var(--green-dark); font-family: var(--font-heading); font-size: 1.1rem; }
.autre-element-date { display: inline-block; font-size: 0.82rem; color: var(--gold-dark); font-weight: 600; margin-bottom: 8px; }
.autre-element-body p { color: var(--gray); font-size: 0.95rem; margin: 0 0 10px; }
.autre-element-link { display: inline-block; margin: 4px 8px 0 0; font-size: 0.92rem; font-weight: 600; color: var(--green-dark); }

/* Rubrique "Autres" — barre de défilement horizontale (ateliers, conférences...) */
.autres-scroll-wrap { padding: 10px 20px 64px; }
.autres-scroll {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 4px 18px;
    -webkit-overflow-scrolling: touch;
}
.autres-scroll::-webkit-scrollbar { height: 8px; }
.autres-scroll::-webkit-scrollbar-thumb { background: var(--green-light); border-radius: 6px; }
.autres-scroll::-webkit-scrollbar-thumb:hover { background: var(--green); }
.autre-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    border: 1px solid #ececec;
    border-radius: 16px;
    overflow: hidden;
    color: var(--text);
    display: block;
    background: #fff;
    transition: 0.25s;
}
.autre-card:hover { box-shadow: 0 16px 32px rgba(20,40,25,0.12); text-decoration: none; transform: translateY(-3px); }
.autre-card img { width: 100%; height: 165px; object-fit: cover; }
.autre-card-icon { font-size: 3rem; text-align: center; padding: 30px 0 8px; background: var(--green-light); }
.autre-card-body { padding: 16px 18px; }
.autre-card-body h3 { margin: 8px 0 6px; color: var(--green-dark); font-family: var(--font-heading); }
.autre-card-body p { color: var(--gray); font-size: 0.92rem; margin: 0; }

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .main-nav { display: none; width: 100%; flex-direction: column; padding-top: 10px; }
    .main-nav.open { display: flex; }
    .header-inner { flex-wrap: wrap; }
    .main-nav a { margin: 6px 0; display: block; }
    .hero h1 { font-size: 2.05rem; }
    .page-header h1 { font-size: 1.55rem; gap: 8px; }
    .page-header h1 .rubrique-title-icon { width: 30px; height: 30px; }
    .page-header h1 .rubrique-title-icon svg { width: 16px; height: 16px; }
}

/* ==================== Panier / Checkout / Paiement ==================== */

.btn { display: inline-block; padding: 12px 26px; border-radius: 30px; font-weight: 700; cursor: pointer; border: none; transition: 0.2s; text-align: center; text-decoration: none; font-size: 0.95rem; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; text-decoration: none; }
.btn-outline { background: #fff; color: var(--green-dark); border: 1.5px solid var(--green); }
.btn-outline:hover { background: var(--green-light); text-decoration: none; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-block { display: block; width: 100%; }

.page-section { padding: 40px 0 70px; }
.page-title { color: var(--green-dark); font-family: var(--font-heading); margin-bottom: 22px; }

.alert { padding: 16px 20px; border-radius: 10px; margin-bottom: 20px; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-warning { background: #fff6e0; color: #8a6100; border: 1px solid #f0dca0; }

.product-card { display: flex; flex-direction: column; }
.product-card-link { display: block; color: var(--text); }
.add-to-cart-form { padding: 0 18px 18px; margin-top: auto; }
.add-to-cart-qty-row { display: flex; align-items: center; gap: 8px; }
.add-to-cart-qty-row .panier-qte { width: 62px; flex-shrink: 0; }
.add-to-cart-qty-row .btn { flex: 1; }
.add-to-cart-detail { display: flex; align-items: center; gap: 12px; margin: 18px 0; flex-wrap: wrap; }
.add-to-cart-detail label { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.nav-panier { position: relative; }
.panier-badge { background: var(--gold-dark); color: #fff; border-radius: 20px; font-size: 0.72rem; font-weight: 700; padding: 1px 7px; margin-left: 4px; vertical-align: top; }

.panier-vide { text-align: center; padding: 60px 20px; }
.table-responsive { overflow-x: auto; }
.panier-table { width: 100%; border-collapse: collapse; background: #fff; }
.panier-table th, .panier-table td { padding: 14px 12px; border-bottom: 1px solid #ececec; text-align: left; vertical-align: middle; }
.panier-produit { display: flex; align-items: center; gap: 12px; }
.panier-produit img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.panier-qte { width: 70px; padding: 8px; border: 1px solid #ddd; border-radius: 8px; }
.btn-lien-suppr { background: none; border: none; color: #9b2c2c; font-size: 1.4rem; cursor: pointer; line-height: 1; }
.form-inline-suppr { display: none; }
.panier-actions { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.panier-actions-final { justify-content: flex-end; }
.panier-total { display: flex; justify-content: space-between; align-items: center; font-size: 1.2rem; padding: 18px 0; border-top: 2px solid var(--green); margin-top: 12px; }
.panier-total strong { color: var(--gold-dark); }

.checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.checkout-form label { display: block; margin: 16px 0 6px; font-weight: 600; color: var(--green-dark); }
.checkout-form input[type=text], .checkout-form input[type=email], .checkout-form input[type=number], .checkout-form textarea, .checkout-form select {
    width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 10px; font-family: inherit; font-size: 0.96rem; background: #fff;
}
.checkout-fieldset { border: 1px solid #ececec; border-radius: 10px; padding: 14px 16px; margin: 18px 0; }
.checkout-fieldset legend { padding: 0 8px; font-weight: 700; color: var(--green-dark); }
.radio-label { display: block; font-weight: 500; margin: 8px 0; color: var(--text); cursor: pointer; }
.checkout-summary-col { background: #fff; border: 1px solid #ececec; border-radius: 14px; padding: 24px; }
.checkout-summary-list { list-style: none; margin: 0 0 14px; padding: 0; }
.checkout-summary-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f2f2f2; font-size: 0.94rem; }
.checkout-total { display: flex; justify-content: space-between; font-size: 1.15rem; padding-top: 10px; }
.checkout-total strong { color: var(--gold-dark); }

@media (max-width: 860px) {
    .checkout-layout { grid-template-columns: 1fr; }
}

/* --- Carte "Conseils" mise en avant dans la page Autres --- */
.autre-card-conseils { border: 2px solid var(--gold); }
.autre-card-conseils .autre-card-icon { background: var(--gold); }

/* --- Bouton WhatsApp (près des numéros de téléphone) --- */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25D366;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    vertical-align: middle;
    margin-left: 8px;
    transition: background 0.15s ease, transform 0.15s ease;
}
.btn-whatsapp:hover { background: #1ebe5b; text-decoration: none; transform: translateY(-1px); }
.btn-whatsapp svg { flex-shrink: 0; }
.footer-tel-line { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }

/* --- Lecteur vidéo modal en petit format lisible (témoignages page d'accueil) --- */
.video-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 12, 0.72);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.video-modal-overlay.is-open { display: flex; }
.video-modal-box {
    background: #101512;
    border-radius: 14px;
    padding: 14px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    position: relative;
}
.video-modal-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.video-modal-titre {
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    margin: 2px 6px 10px;
}
.video-modal-player {
    display: block;
    width: 100%;
    max-height: 60vh;
    border-radius: 10px;
    background: #000;
}
body.video-modal-lock { overflow: hidden; }

@media (max-width: 480px) {
    .video-modal-box { max-width: 100%; }
}

/* ---- Rubrique Pathologies ---- */
.conseil-detail-visual {
    font-size: 3.5rem;
    text-align: center;
    padding: 34px 0;
    background: var(--green-light);
    border-radius: 14px;
    margin-bottom: 22px;
}
.section-title-small {
    color: var(--green-dark);
    font-size: 1.3rem;
    margin: 8px 0 18px;
    padding: 0 20px;
}
.pathologie-panier-lien {
    padding: 0 20px 40px;
}
