/* ============================================================
HERBIER SAUVAGE – CSS FINAL
============================================================ */

/* ------------------------------------------------------------
VARIABLES
------------------------------------------------------------ */
:root {
    --f: #1b3b2b;
    --s: #4e6e58;
    --g: #c3a175;
    --c: #2c2c2c;
    --b: #faf8f5;
    --w: #ffffff;
    --e: #e8e3da;
    --fs: "Playfair Display", serif;
    --ss: "Plus Jakarta Sans", sans-serif;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow: 0 4px 20px rgba(27, 59, 43, 0.06);
    --transition: 0.3s ease;
}

/* ------------------------------------------------------------
RESET & BASE
------------------------------------------------------------ */
html {
    scroll-behavior: smooth;
}

html.lb-open {
    overflow: hidden;
}

body {
    background: var(--b);
    color: var(--c);
    font-family: var(--ss);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4 {
    font-family: var(--fs);
    color: var(--f);
    line-height: 1.25;
}

[hidden] {
    display: none !important;
}

/* ------------------------------------------------------------
OVERRIDES GENERATEPRESS
------------------------------------------------------------ */
.site-content,
.content-area,
#primary,
#main,
.site-main {
    display: block !important;
    width: 100%;
    max-width: 100%;
    float: none;
    margin: 0;
    padding: 0;
}

.home .site-content,
.single-plantes .site-content,
.single-dt_portfolio .site-content,
.home .grid-container,
.single-plantes .grid-container,
.single-dt_portfolio .grid-container {
    padding: 0;
    margin: 0;
    max-width: 100%;
}

.hero-botanique,
.hh {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    margin: 0;
}

.home .fc,
.single-plantes .fc,
.single-dt_portfolio .fc {
    padding: 0 16px;
}

aside,
.sidebar,
#sidebar,
.dt-sidebar {
    display: none !important;
}

/* ------------------------------------------------------------
RECHERCHE COMMUNE
------------------------------------------------------------ */
.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 16px 0 0;
}

.search-module {
    display: flex;
    align-items: center;
    height: 48px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow var(--transition), border-color var(--transition);
}

.search-module:focus-within {
    border-color: var(--g);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.search-module input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 18px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--c);
    font-size: 0.92rem;
}

.search-module input[type="search"]::placeholder {
    color: #95a5a6;
    font-style: italic;
}

.search-module button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-width: 52px;
    padding: 0 16px;
    border: 0;
    background: var(--g);
    color: #fff;
    transition: background var(--transition);
}

.search-module button:hover {
    background: #b8935e;
}

.search-module button svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ------------------------------------------------------------
AUTOCOMPLÉTION
------------------------------------------------------------ */
.autocomplete-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    max-height: 350px;
    overflow-y: auto;
    padding: 8px 0;
    background: var(--w);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.autocomplete-suggestions.active {
    display: block;
}

.autocomplete-suggestion {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 18px;
    border: 0;
    border-bottom: 1px solid var(--b);
    background: none;
    text-align: left;
    font-size: 0.85rem;
    transition: background 0.2s ease;
    cursor: pointer;
}

.autocomplete-suggestion:last-child {
    border-bottom: none;
}

.autocomplete-suggestion:hover,
.autocomplete-suggestion.highlight {
    background: rgba(78, 110, 88, 0.08);
}

.suggestion-icon {
    font-size: 18px;
    line-height: 1;
}

.suggestion-name {
    font-weight: 600;
    color: var(--f);
}

.suggestion-latin {
    margin-left: auto;
    font-size: 0.8rem;
    font-style: italic;
    color: var(--s);
}

/* ------------------------------------------------------------
RECHERCHE FIXED
------------------------------------------------------------ */
.hs-fixed-search {
    position: fixed;
    right: 15px;
    top: 90px;
    z-index: 900;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 2px solid var(--g);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--f);
    box-shadow: 0 8px 25px rgba(27, 59, 43, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hs-fixed-search:hover {
    transform: scale(1.1);
    border-color: var(--f);
    color: var(--w);
    background: var(--f);
}

.hs-fixed-search svg {
    display: block;
    width: 24px;
    height: 24px;
}

.hs-fixed-search-panel {
    position: fixed;
    right: 80px;
    top: 115px;
    z-index: 901;
    width: min(400px, calc(100vw - 40px));
    max-width: 100%;
    display: none;
}

.hs-fixed-search-panel.is-open {
    display: block;
    animation: fadeInBottom 0.25s ease both;
}

.hs-fixed-search-panel[hidden] {
    display: none;
}

.hs-fixed-search-inner {
    position: relative;
    background: #fff;
    border: 1px solid #e7e3db;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    padding: 16px;
}

.hs-fixed-search-form.search-module {
    height: 48px;
    margin: 0;
    border: 1px solid var(--e);
    background: #faf8f5;
}

.hs-fixed-search-form .hs-fixed-search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--f);
    font-size: 14px;
}

.hs-fixed-search-form .hs-fixed-search-submit {
    flex-shrink: 0;
    width: 52px;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--g);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.hs-fixed-search-form .hs-fixed-search-submit:hover {
    background: #b8935e;
}

.hs-fixed-search-form .hs-fixed-search-submit svg {
    width: 16px;
    height: 16px;
}

.hs-fixed-search-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--f);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hs-fixed-suggestions.autocomplete-suggestions {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    display: none;
    margin-top: 10px;
    max-height: 320px;
    border: 0;
    box-shadow: none;
    border-radius: var(--radius);
}

.hs-fixed-suggestions.active {
    display: block;
}

/* ------------------------------------------------------------
HERO
------------------------------------------------------------ */
.hero-botanique {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 68vh;
    min-height: 500px;
    overflow: hidden;
    background: var(--f);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center 30%;
    background-attachment: scroll;
}



.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(19, 40, 30, 0.35) 0%, rgba(19, 40, 30, 0.08) 50%);
}

.hero-content {
    position: relative;
    z-index: 5;
    width: min(590px, calc(100% - 32px));
    margin-left: max(4vw, 48px);
    margin-right: auto;
    padding: 24px 28px;
    text-align: left;
    background: rgba(25, 48, 36, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-content h1 {
    margin: 0 0 8px;
    font-size: clamp(30px, 4.5vw, 50px);
    font-weight: 800;
    line-height: 1.16;
    color: #fff !important;
}

.hero-sous-titre {
    margin: 4px 0 16px;
    font-family: var(--fs);
    font-size: clamp(18px, 2.5vw, 27px);
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
}

.hero-subtext {
    margin-top: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-botanique .search-wrapper {
    max-width: 420px;
    margin-top: 18px;
}

.scroll-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    animation: bounce 2s infinite;
}

.scroll-arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* ------------------------------------------------------------
INTRO
------------------------------------------------------------ */
.section-intro {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1280px;
    margin: 20px auto;
    padding: 20px 16px;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.intro-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.intro-icon {
    width: 100%;
    max-width: 498px;
    overflow: hidden;
}

.intro-icon img {
    width: min(580px, 90%);
    height: auto;
    margin: 0 auto;
}

.btn-voir-fiche {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid var(--f);
    border-radius: 30px;
    background: transparent;
    color: var(--f);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.btn-voir-fiche:hover {
    background: var(--f);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 59, 43, 0.25);
}

/* ------------------------------------------------------------
TITRES
------------------------------------------------------------ */
h2,
.filters-title,
.intro-title,
.st {
    font-size: clamp(30px, 4.4vw, 42px);
}

.filters-title,
.intro-title,
.st {
    position: relative;
    margin: 0 0 16px;
    padding-bottom: 10px;
    font-weight: 700;
    color: var(--f);
}

.filters-title::after,
.intro-title::after,
.st::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--g);
}

/* ------------------------------------------------------------
FILTRES
------------------------------------------------------------ */
.filters-wrapper {
    position: sticky;
    top: 0;
    z-index: 50;
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 16px 10px;
    background: var(--b);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 16px 22px -18px rgba(0, 0, 0, 0.28);
}

.filters-title {
    margin: 0 0 12px;
}

.filters-top-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.categorie-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.categorie-filter a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--e);
    border-radius: 22px;
    background: var(--w);
    color: var(--c);
    font-weight: 500;
    font-size: 0.85rem;
    transition: all var(--transition);
}

.categorie-filter a:hover {
    border-color: var(--g);
    transform: translateY(-2px);
}

.categorie-filter a.actif {
    background: var(--f);
    border-color: var(--f);
    color: #fff;
}

.categorie-filter a.actif-champignons {
    background: #8d6e63;
    border-color: #8d6e63;
    color: #fff;
}

.search-toggle-btn {

    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    margin-left: 6px;
    border: 1px solid var(--e);
    border-radius: 50%;
    background: var(--w);
    color: var(--f);
    transition: all var(--transition);
}

.search-toggle-btn:hover,
.search-toggle-btn.is-active {
    border-color: var(--g);
    color: var(--g);
    transform: scale(1.08);
}

.search-toggle-btn svg {
    width: 19px;
    height: 19px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.filters-search {
    display: none;
    width: 100%;
    max-width: 440px;
    margin-top: 10px;
}

.filters-search.is-open {
    display: block;
    animation: fadeInBottom 0.35s ease both;
}

.alphabet-filter {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 4px 0 8px;
    scrollbar-width: thin;
}

.alphabet-filter a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    flex-shrink: 0;
    padding: 0 10px;
    border: 1px solid var(--e);
    border-radius: 6px;
    background: var(--w);
    color: var(--c);
    font-weight: 600;
    font-size: 0.8rem;
    transition: all var(--transition);
}

.alphabet-filter a:hover,
.alphabet-filter a.actif {
    background: var(--f);
    border-color: var(--f);
    color: #fff;
    transform: translateY(-2px);
}

/* ------------------------------------------------------------
GRILLE DES CARTES
------------------------------------------------------------ */
.section-grille {
    max-width: 1280px;
    margin: 0 auto 120px;
    padding: 10px 16px 0;
}

.grille-herbier {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.carte-plante {
    position: relative;
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    background: var(--w);
    box-shadow: 0 2px 10px rgba(27, 59, 43, 0.05);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.carte-plante:hover,
.carte-plante:focus-visible {
    transform: translateY(-4px);
    border-color: var(--g);
    box-shadow: 0 12px 30px rgba(27, 59, 43, 0.12);
}

.carte-media,
.carte-img-container {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    background: #e8e3da;
}

.carte-media img,
.carte-img-container img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carte-plante:hover .carte-media img,
.carte-plante:hover .carte-img-container img {
    transform: scale(1.045);
}

.carte-img-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #b0a89a;
    font-size: 0.85rem;
    text-align: center;
}

.carte-info {
    display: block;
    padding: 13px 14px 12px;
    text-align: center;
}

.carte-info h3,
.carte-info h4,
.carte-titre {
    margin: 0 0 3px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--f);
}

.carte-info .nom-latin {
    display: block;
    margin-top: 2px;
    font-size: 0.8rem;
    font-style: italic;
    line-height: 1.35;
    color: var(--s);
    opacity: 0.8;
}

.grille-empty {
    grid-column: 1 / -1;
    padding: 60px 20px;
    text-align: center;
    color: var(--s);
    font-size: 1.1rem;
}

/* ------------------------------------------------------------
SINGLE PAGE – STRUCTURE
------------------------------------------------------------ */
.fp {
    font-family: var(--ss);
    color: var(--c);
    background: var(--b);
    font-size: 15px;
    line-height: 1.7;
}

.fc {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.sb {
    width: 100%;
    padding-top: 40px;
}

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

.gs.is {
    gap: 20px;
}

.gs.rev {
    grid-template-columns: 1fr;
}

.wys {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--c);
}

.botanical-term {
    color: var(--s);
    font-weight: 600;
    border-bottom: 1px dashed rgba(78, 110, 88, 0.3);
    cursor: help;
}

.botanical-term:hover {
    color: var(--f);
    border-bottom-color: var(--s);
}

/* ------------------------------------------------------------
EN-TÊTE FICHE
------------------------------------------------------------ */
.hh {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 420px;
    min-height: 420px;
    overflow: hidden;
    background: var(--f);
    margin-bottom: -20px;
}

.hh-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hh-ov {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(19, 40, 30, 0.10), rgba(19, 40, 30, 0.48));
}

.hh-in {
    position: relative;
    z-index: 5;
    width: min(760px, 90%);
    padding: 34px;
    text-align: center;
    background: rgba(25, 48, 36, 0.50);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: fadeInTop 0.8s ease forwards;
}

.badge,
.ct,
.nl,
.syn-ind {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    transition: all var(--transition);
}

.badge {
    margin-bottom: 12px;
    padding: 5px 14px;
    background: var(--g);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
}

.ht {
    margin: 0;
    font-family: var(--fs);
    font-size: clamp(32px, 5.5vw, 50px);
    font-weight: 800;
    font-style: normal;
    line-height: 1.2;
    color: #fff !important;
    cursor: pointer;
}

.nlw {
    margin-top: 10px;
}

.nl {
    padding: 5px 13px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    font-family: var(--fs);
    font-size: clamp(14px, 2vw, 18px);
    font-style: italic;
    cursor: pointer;
}

.nl:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
}

.synonymes-text {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

.synonymes-label {
    color: #d8bd93;
    font-weight: 700;
}

.synonymes-list {
    font-style: italic;
}

.sp {
    width: 30px;
    height: 1px;
    margin: 10px auto;
    background: rgba(255, 255, 255, 0.3);
}

.ct {
    margin: 0;
    padding: 5px 13px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #e4ece7;
    font-size: clamp(13px, 2.2vw, 18px);
    letter-spacing: 1px;
}

/* ------------------------------------------------------------
MÉDAILLON
------------------------------------------------------------ */
.mc {
    position: relative;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -40px;
    animation: fadeInBottom 0.9s ease 0.2s both;
}

.mf {
    position: relative;
    width: 240px;
    height: 240px;
    padding: 0;
    overflow: hidden;
    border: 8px solid var(--b);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 25px rgba(27, 59, 43, 0.15);
    transition: transform var(--transition);
}

.mf:hover {
    transform: scale(1.02);
}

.mf .ic {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.phc,
.phb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 240px;
    border: 4px dashed var(--e);
    border-radius: 50%;
    background: repeating-linear-gradient(45deg, #f5f1ea, #f5f1ea 10px, #eee8dd 10px, #eee8dd 20px);
    color: #8a968d;
    font-size: 12px;
    text-transform: uppercase;
}

.phb {
    width: 100%;
    height: 280px;
    border-radius: 12px;
}

/* ------------------------------------------------------------
TAGS CARACTÉRISTIQUES
------------------------------------------------------------ */
.ec {
    margin-bottom: 20px;
    text-align: center;
}

.ett {
    display: block;
    margin-bottom: 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--s);
    opacity: 0.65;
}

.eg {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.etu {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border: 1px solid var(--e);
    border-radius: 20px;
    background: #fff;
    color: var(--c);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
}

.etu:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.ei {
    font-size: 14px;
    line-height: 1;
}

.el {
    font-size: 12px;
}

.etu[href="#description"] {
    background: rgba(78, 110, 88, 0.08);
    border-color: rgba(78, 110, 88, 0.16);
    color: #2e5340;
}

.etu[href="#ecologie"] {
    background: rgba(139, 168, 102, 0.10);
    border-color: rgba(139, 168, 102, 0.18);
    color: #4b6132;
}

.etu[href="#usages"] {
    background: rgba(195, 161, 117, 0.12);
    border-color: rgba(195, 161, 117, 0.20);
    color: #6d542f;
}

.etu[href="#proprietes"] {
    background: rgba(85, 124, 156, 0.10);
    border-color: rgba(85, 124, 156, 0.18);
    color: #33566f;
}

.etu[href="#toxicite"] {
    background: rgba(184, 85, 72, 0.09);
    border-color: rgba(184, 85, 72, 0.16);
    color: #8f3c30;
}

/* ------------------------------------------------------------
FLORAISON / FRUCTIFICATION
------------------------------------------------------------ */
.sais {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.sbl {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1.5px solid var(--e);
    border-radius: var(--radius);
    background: #fff;
    white-space: nowrap;
}

.flo {
    border-left: 3px solid #ffb74d;
}

.fru {
    border-left: 3px solid #a1887f;
}

.si {
    font-size: 22px;
    line-height: 1;
}

.sl {
    display: block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--s);
    opacity: 0.7;
}

.sp2 {
    font-size: 13px;
    font-weight: 600;
    color: var(--f);
}

/* ------------------------------------------------------------
DESCRIPTION BOTANIQUE
------------------------------------------------------------ */
.iw {
    text-align: center;
}

.isk {
    max-height: 380px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    mix-blend-mode: multiply;
}

.src {
    display: block;
    font-size: 10px;
    color: var(--s);
    margin-top: 12px;
    text-align: center;
}

.organs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 8px;
}

.organ-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.organ-icon {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 18px;
}

.organ-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--s);
}

.organ-text {
    font-size: 14px;
    line-height: 1.7;
}

/* ------------------------------------------------------------
GALERIE
------------------------------------------------------------ */
.gc {
    position: relative;
    width: 100%;
    margin: -8px 0 5px;
    padding: 12px 56px;
    overflow: visible;
}

.gt {
    display: flex;
    gap: 12px;
    padding: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.gcard {
    flex: 0 0 180px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
    background: #e8e3da;
    scroll-snap-align: start;
    transition: transform var(--transition);
    cursor: pointer;
    border: 0;
    padding: 0;
}

.gcard:hover {
    transform: scale(1.02);
}

.gcard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gn {
    position: absolute;
    top: 50%;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    transform: translateY(-50%);
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.98);
    color: var(--f);
    transition: all 0.25s ease;
}

.gn:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.gn svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.8;
    display: block;
}

.gl {
    left: 8px;
}

.gr {
    right: 8px;
}

/* ------------------------------------------------------------
ÉCOLOGIE & CARTES LEAFLET
------------------------------------------------------------ */
.ew {
    width: 100%;
    padding: 30px 0;
    background: #ecf1ed;
}

.eg2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    align-items: stretch;
}

.ecd {
    padding: 20px 16px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.ect {
    margin: 0 0 16px;
    font-family: var(--fs);
    font-size: 20px;
    font-weight: 700;
    color: var(--f);
}

.map-box {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #e2dbcd;
    background: #faf8f5;
    width: 100%;
    min-height: 210px;
}

.map-box-tall {
    height: 380px;
}

.map-box-mini {
    height: 210px;
}

#fmap,
#omap {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
}

.map-box .leaflet-tile-pane {
    filter: sepia(0.12) saturate(0.9) contrast(1.02);
}

.leaflet-container {
    background: #e8edea;
    font-family: inherit;
}

.leaflet-container img {
    max-width: none !important;
    max-height: none !important;
    padding: 0 !important;
}

.leaflet-control-zoom {
    z-index: 10;
}

.leaflet-tooltip.custom-tooltip {
    background: #fff !important;
    border: 1px solid #c3a175 !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-family: var(--ss) !important;
    color: var(--c);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    white-space: normal;
}

.leaflet-tooltip.custom-tooltip::before {
    display: none;
}

.cm {
    background: none !important;
    border: none !important;
}

.map-legend-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 16px 0 8px;
}

.ml {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 0.85rem;
    padding: 8px 0 4px;
}

.li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lc {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.lc.pr {
    background: #74b94c;
}

.lc.cf {
    background: #ffed00;
}

.lc.ab {
    background: #8D6E63;
}

.lc.dp {
    background: #C62828;
}

.lc.nr {
    background: #D4CFC5;
}

.stb {
    margin-top: 16px;
    padding: 16px;
    border-radius: 12px;
    background: #f0f8ff;
    border: 1px solid #cce0ff;
}

.stl2 {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 6px;
}

.uicn-row-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0;
}

.ub {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
}

.uicn-label-text {
    font-size: 0.9rem;
}

.stc {
    font-size: 0.9rem;
    margin-top: 6px;
}

.uicn-source {
    font-size: 0.75rem;
    color: var(--s);
    display: block;
    margin-top: 4px;
}

.eco-intro-txt {
    margin-bottom: 12px;
}

.row-eco-criteria {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 16px;
    border-top: 1px solid #f0eae1;
}

.criteria-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #fbfaf7;
}

.criteria-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--s);
    opacity: 0.85;
}

.criteria-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.etag {
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    cursor: help;
}

.e-hab {
    background: rgba(195, 161, 117, 0.1);
    border-color: rgba(195, 161, 117, 0.2);
    color: #6d5b43;
}

.e-hum {
    background: rgba(78, 110, 88, 0.07);
    border-color: rgba(78, 110, 88, 0.15);
    color: var(--f);
}

.e-tem {
    background: rgba(255, 152, 0, 0.07);
    border-color: rgba(255, 152, 0, 0.15);
    color: #7a4422;
}

.e-lum {
    background: rgba(255, 183, 77, 0.07);
    border-color: rgba(255, 183, 77, 0.15);
    color: #7a631f;
}

.e-sol {
    background: rgba(139, 119, 101, 0.07);
    border-color: rgba(139, 119, 101, 0.15);
    color: #52483d;
}

.altb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 10px;
    padding: 4px 10px;
    border: 1px solid #cedef0;
    border-radius: 6px;
    background: #eef5fc;
    color: #1e5a8a;
    font-size: 12px;
    font-weight: 600;
}

.ob-redesign {
    margin-top: 16px;
}

.ob-title-label {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 6px;
}

/* ------------------------------------------------------------
PROPRIÉTÉS / USAGES
------------------------------------------------------------ */
.prop-section {
    position: relative;
    padding: 50px 0;
    overflow: hidden;
    background: transparent;
}

.prop-bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.24;
}

.prop-gradient-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(250, 248, 245, 0.88) 0%, rgba(250, 248, 245, 0.62) 40%, rgba(250, 248, 245, 0.90) 100%);
}

.props-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.props-col {
    display: flex;
    flex-direction: column;
}

.prop-card,
.poso-card,
.tox-card,
.saviez-card {
    margin: 20px 0;
    padding: 30px 34px;
    border: 1px solid rgba(195, 161, 117, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 12px rgba(27, 59, 43, 0.04);
}

.prop-title {
    margin: 0 0 16px;
    font-family: var(--fs);
    font-size: 20px;
    font-weight: 700;
    color: var(--f);
}

.prop-tags,
.tox-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.tag {
    display: inline-block;
    padding: 4px 14px;
    border: 1px solid rgba(78, 110, 88, 0.15);
    border-radius: 20px;
    background: #f0f3ee;
    color: var(--f);
    font-size: 12px;
    font-weight: 600;
    cursor: help;
    transition: all var(--transition);
}

.tag:hover {
    filter: brightness(0.98);
    transform: translateY(-1px);
}

.tag-p {
    background: #eef4ef;
    border-color: rgba(78, 110, 88, 0.16);
    color: #375843;
}

.tag-m {
    background: #e9f2f8;
    border-color: rgba(65, 120, 160, 0.18);
    color: #2f5f82;
}

.tag-i {
    background: #f0edf6;
    border-color: rgba(120, 90, 160, 0.16);
    color: #6c5390;
}

.tag-tox {
    background: #fbeeea;
    border-color: rgba(190, 90, 75, 0.18);
    color: #a4453a;
}

.tag-nut {
    background: #e8f0f0;
    border-color: rgba(70, 130, 130, 0.16);
    color: #33605f;
}

.prop-text,
.poso-text,
.tox-text,
.saviez-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--c);
}

.ind-block {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed rgba(78, 110, 88, 0.15);
}

.sub-title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--s);
}

.prop-card .poso-inline {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed rgba(78, 110, 88, 0.15);
    background: transparent;
    border-left: 0;
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
}

.poso-card {
    border-left: 4px solid var(--g);
    background: #f5f8f2;
}

.poso-title {
    margin: 0 0 10px;
    font-family: var(--fs);
    font-size: 18px;
    color: var(--f);
}

.tox-card {
    border-left: 4px solid #b97c73;
    background: #fcf6f4;
}

.tox-title {
    margin: 0 0 10px;
    font-family: var(--fs);
    font-size: 18px;
    color: #8a4a3e;
}

.saviez-card {
    border: 1px solid rgba(195, 161, 117, 0.2);
    background: #f4f1e8;
}

.saviez-title {
    margin: 0 0 8px;
    font-family: var(--fs);
    font-size: 20px;
    color: var(--f);
}

/* ------------------------------------------------------------
BIBLIOGRAPHIE
------------------------------------------------------------ */
.bib {
    margin-top: 30px;
    padding: 40px 0;
    background: var(--f);
    color: #fff;
}

.bib .st {
    color: #fff;
}

.bib .st::after {
    background: var(--g);
}

.bc2 {
    position: relative;
    padding: 12px 56px;
    overflow: visible;
}

.bt {
    display: flex;
    gap: 18px;
    padding: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    align-items: flex-end;
}

.bt::-webkit-scrollbar {
    display: none;
}

.bcard {
    flex: 0 0 115px;
    overflow: hidden;
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-self: flex-end;
    transition: transform var(--transition);
}

.bcard:hover {
    transform: translateY(-6px);
}

.bcv {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f1ea;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.bci {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blg {
    display: none !important;
}

.sources-list {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sources-title {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
}

.sources-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.source-link {
    display: inline-block;
    padding: 5px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    transition: all var(--transition);
}

.source-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--g);
    color: var(--g);
}

/* ------------------------------------------------------------
LIGHTBOX
------------------------------------------------------------ */
.lb {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.lb.open {
    display: flex;
}

.lb-viewport {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.lbi {
    max-width: 92vw;
    max-height: 78vh;
    border-radius: 6px;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: zoom-in;
    user-select: none;
    touch-action: none;
    transition: transform 0.2s ease;
}

.lbi.is-zoomed {
    cursor: grab;
}

.lbi.is-dragging {
    cursor: grabbing;
    transition: none;
}

.lb-caption {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: min(90vw, 900px);
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 14px;
    text-align: center;
    pointer-events: none;
}

.lb-nav {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 28px;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.lb-nav:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-50%) scale(1.08);
}

.lb-nav svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lb-prev {
    left: 20px;
    transform: translateY(-50%);
}

.lb-next {
    right: 20px;
    transform: translateY(-50%);
}

.lb-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    z-index: 10;
    display: flex;
    gap: 14px;
    transform: translateX(-50%);
}

.lb-controls button {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.lb-controls button:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: scale(1.08);
}

.lb-close {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 11;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.lb-close:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: rotate(90deg);
}

/* ------------------------------------------------------------
TOOLTIPS
------------------------------------------------------------ */
.badge[data-tip-html],
.ht[data-tip-html],
.nl[data-tip-html],
[data-tip] {
    cursor: help;
}

.hs-tooltip {
    position: fixed;
    z-index: 999999;
    max-width: min(450px, 88vw);
    padding: 12px 16px;
    border: 1px solid rgba(195, 161, 117, 0.45);
    border-radius: 12px;
    background: rgba(19, 40, 30, 0.97);
    color: #fff;
    font-family: var(--ss);
    font-size: 12.5px;
    line-height: 1.6;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    transform: translateX(-50%);
    display: none;
}

.hs-tooltip.open {
    display: block;
}

.hs-tooltip.is-sticky {
    pointer-events: auto;
}

.hs-tooltip .tt {
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(195, 161, 117, 0.3);
    color: #d8bd93;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.hs-tooltip .tip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 3px 0;
}

.hs-tooltip .tip-row strong {
    color: #d8bd93;
    font-weight: 700;
}

.hs-tooltip .tip-row span {
    text-align: right;
}

.hs-tooltip .tip-names {
    text-align: center;
    font-style: italic;
    line-height: 1.7;
}

.hs-tooltip .tip-simple {
    white-space: pre-line;
    text-align: left;
}

.hs-tooltip .tip-scroll {
    max-height: min(48vh, 340px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-right: 8px;
    scrollbar-width: thin;
}

.hs-tooltip.is-sticky .hs-tooltip-inner {
    max-height: min(55vh, 380px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.hs-tooltip.is-sticky .tip-scroll {
    max-height: none;
    overflow: visible;
}

.hs-tooltip .tip-rich {
    white-space: normal;
    text-align: left;
    word-break: break-word;
}

.hs-tooltip .tip-rich p {
    margin: 0 0 8px;
}

.hs-tooltip .tip-rich p:last-child {
    margin-bottom: 0;
}

.hs-tooltip .tip-rich strong,
.hs-tooltip .tip-rich b {
    color: #fff;
    font-weight: 700;
}

.hs-tooltip .tip-rich em,
.hs-tooltip .tip-rich i {
    font-style: italic;
}

.hs-tooltip .tip-rich br {
    display: block;
}

.hs-tooltip-close {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 2;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 15px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hs-tooltip-close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.hs-tooltip-inner {
    position: relative;
    z-index: 1;
}

/* ------------------------------------------------------------
HEADER
------------------------------------------------------------ */
.hs-header-section {
    position: relative;
    z-index: 100;
    width: 100%;
    background-color: #f6f4ef;
    border-bottom: 1px solid #e7e3db;
}

.hs-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
}

.hs-header-logo-wrapper {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.hs-header-logo {
    display: inline-flex;
    text-decoration: none;
}

.hs-header-logo img {
    display: block;
    width: auto;
    max-height: 54px;
}

.hs-logo-fallback {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-family: var(--fs);
}

.hs-logo-main {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--f);
}

.hs-logo-sub {
    margin-top: 2px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #c3a267;
}

.hs-header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hs-header-nav {
    display: flex;
    align-items: center;
}

.hs-header-nav .hs-nav-menu,
.hs-header-nav > ul {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hs-header-nav .menu-item {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hs-header-nav .menu-item a {
    position: relative;
    display: inline-block;
    padding: 3px 0 7px 0;
    color: var(--f);
    font-family: var(--ss);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    text-decoration: none;
    transition: color 0.25s ease;
}

.hs-header-nav .menu-item a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background-color: #c3a267;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hs-header-nav .menu-item a:hover {
    color: #c3a267;
}

.hs-header-nav .menu-item a:hover::after {
    width: 100%;
}

.hs-header-nav .menu-item.current-menu-item > a,
.hs-header-nav .menu-item.current-page-item > a,
.hs-header-nav .menu-item.current_page_parent > a {
    color: #1a3a2a;
    font-weight: 700;
}

.hs-header-nav .menu-item.current-menu-item > a::after,
.hs-header-nav .menu-item.current-page-item > a::after,
.hs-header-nav .menu-item.current_page_parent > a::after {
    width: 100%;
    background-color: #c3a267;
}

.hs-header-nav .menu-item-has-children {
    position: relative;
}

.hs-header-nav .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 110;
    min-width: 200px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    border: 1px solid #e7e3db;
    border-radius: 8px;
    background-color: var(--b);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transition: all 0.25s ease;
}

.hs-header-nav .menu-item-has-children:hover .sub-menu,
.hs-header-nav .menu-item-has-children:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.hs-header-nav .sub-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hs-header-nav .sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--f);
    font-size: 13.5px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease;
}

.hs-header-nav .sub-menu li a::after {
    display: none;
}

.hs-header-nav .sub-menu li a:hover {
    background-color: #f0ede5;
    color: var(--f);
}

/* ------------------------------------------------------------
MENU BURGER MOBILE
------------------------------------------------------------ */
.burger-toggle {
    display: none;
    padding: 8px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    z-index: 1001;
    transition: background 0.25s ease, transform 0.2s ease;
}

.burger-toggle:hover {
    background: rgba(27, 59, 43, 0.14);
    transform: scale(1.05);
}

.burger-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    margin: 4.5px 0;
    border-radius: 2px;
    background-color: #4a6b55;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.burger-toggle:hover span {
    background-color: #1b3b2b;
}

.burger-toggle.is-active {
    background: rgba(195, 161, 117, 0.22);
}

.burger-toggle.is-active span {
    background-color: #1b3b2b;
}

.burger-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-toggle.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 1000;
    width: 280px;
    height: 100vh;
    overflow-y: auto;
    padding: 80px 25px 25px;
    background-color: #fcfbf9;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
    transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav-mobile.is-active {
    right: 0;
}

.site-nav-mobile .mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav-mobile .mobile-menu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(27, 59, 43, 0.06);
}

.site-nav-mobile .mobile-menu li:last-child {
    border-bottom: none;
}

.site-nav-mobile .mobile-menu li a {
    display: block;
    padding: 14px 10px;
    color: var(--f);
    font-family: var(--ss);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
}

.site-nav-mobile .mobile-menu li a:hover,
.site-nav-mobile .mobile-menu li a:focus {
    background: rgba(195, 161, 117, 0.16);
    color: #1b3b2b;
    padding-left: 12px;
}

.site-nav-mobile .mobile-menu li.current-menu-item a,
.site-nav-mobile .mobile-menu li.current-page-item a {
    background: rgba(195, 161, 117, 0.18);
    color: #1b3b2b;
    font-weight: 700;
}

.site-nav-mobile .sub-menu {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0 0 0 15px;
    list-style: none;
}

.site-nav-mobile .sub-menu li {
    border-bottom: none;
}

.site-nav-mobile .sub-menu li a {
    padding: 10px;
    font-size: 14.5px;
    font-weight: 400;
    color: #4a4a4a;
}

.site-nav-mobile .sub-menu li a:hover {
    color: #1b3b2b;
    background: rgba(195, 161, 117, 0.12);
}

/* ------------------------------------------------------------
FOOTER
------------------------------------------------------------ */
.hs-footer-section {
    width: 100%;
    margin: 0;
    padding: 45px 20px 28px;
    background-color: #4a4635;
    color: #f4f1ea;
    font-size: 14px;
    line-height: 1.5;
}

.hs-footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.hs-footer-title {
    margin-top: 0;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.hs-footer-text {
    margin: 0;
    font-size: 13.5px;
    color: #e2ded4;
}

.hs-warning-icon {
    margin-right: 4px;
    color: #f39c12;
}

.hs-footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.hs-footer-thumb {
    display: block;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 1 / 1;
}

.hs-footer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.hs-footer-thumb:hover img {
    transform: scale(1.08);
}

.hs-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hs-footer-links li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hs-footer-links li:last-child {
    border-bottom: none;
}

.hs-footer-links a {
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hs-footer-links a:hover {
    color: #d4a359;
}

.copyright,
#copyright,
.site-footer .copyright,
.footer-copyright,
.copyright-text,
.site-info,
#colophon .site-info,
.generatepress-footer .site-info {
    margin-top: 0 !important;
    padding: 20px 15px !important;
    border-top: 1px solid rgba(195, 161, 117, 0.2) !important;
    background-color: var(--f) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.copyright a,
#copyright a,
.site-footer .copyright a,
.footer-copyright a,
.copyright-text a,
.site-info a,
#colophon .site-info a,
.generatepress-footer .site-info a {
    color: var(--g) !important;
}

.site-footer,
#colophon {
    margin-top: 0 !important;
}

/* ------------------------------------------------------------
ANIMATIONS
------------------------------------------------------------ */
@keyframes fadeInBottom {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInTop {
    0% {
        opacity: 0;
        transform: translateY(-22px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fade-in-bottom {
    animation: fadeInBottom 0.75s ease both;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ------------------------------------------------------------
RESPONSIVE
------------------------------------------------------------ */
@media (min-width: 600px) {
    .grille-herbier {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .section-intro {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
        padding: 40px 30px;
    }

    .intro-side {
        margin-top: -60px;
    }

    .intro-icon {
        margin-top: -40px;
        position: relative;
        z-index: 2;
    }

    .grille-herbier {
        gap: 25px;
    }

    .gs {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }

    .gs.is {
        grid-template-columns: 1fr 340px;
        gap: 35px;
        align-items: flex-start;
    }

    .gs.rev {
        grid-template-columns: 1fr 1.5fr;
    }

    .sb {
        padding-top: 65px;
    }

    .hh {
        height: 480px;
        min-height: 480px;
    }

    .hh-in {
        padding: 44px 52px;
    }

    .mc {
        margin-top: -160px;
        align-items: flex-end;
    }

    .mf,
    .phc {
        width: 300px;
        height: 300px;
        border-width: 6px;
    }

    .ec {
        text-align: left;
    }

    .eg,
    .sais {
        justify-content: flex-start;
    }

    .organs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px 30px;
    }

    .gcard {
        flex: 0 0 240px;
    }

    .eg2 {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .ecd {
        padding: 32px;
    }

    .props-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .bcard {
        flex: 0 0 135px;
    }

    .hs-footer-container {
        grid-template-columns: 1fr 1.2fr 1fr;
    }
}

@media (min-width: 1024px) {
    .grille-herbier {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .eg2 {
        gap: 45px;
    }
}

@media (max-width: 768px) {
    .hs-header-nav {
        display: none !important;
    }

    .burger-toggle {
        display: block !important;
    }

    .hs-header-actions {
        gap: 12px;
    }

    .hero-botanique {
        height: 56vh;
        min-height: 380px;
        justify-content: flex-start;
    }

    .hero-content {
        width: calc(100% - 24px);
        margin: 0 12px;
        padding: 18px;
        text-align: left;
    }

    .hero-botanique .search-wrapper {
        margin-left: 0;
        margin-right: auto;
    }

    .intro-side {
        margin-top: 0;
    }

    .intro-icon {
        margin-top: 0;
        padding-top: 5px;
    }

    .intro-icon img {
        max-width: 70%;
        margin-top: 5px;
    }

    .filters-wrapper {
        padding: 8px 12px 6px;
    }

    .filters-title {
        margin-bottom: 8px;
        padding-bottom: 6px;
        font-size: 26px;
    }

    .filters-top-row {
        gap: 6px;
        margin-bottom: 6px;
    }

    .alphabet-filter {
        gap: 3px;
    }

    .alphabet-filter a {
        min-width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .hh {
        height: 360px;
        min-height: 360px;
        margin-bottom: -10px;
    }

    .hh-in {
        padding: 20px 16px;
        margin-bottom: 14px;
    }

    .ht {
        font-size: clamp(26px, 7vw, 34px) !important;
        line-height: 1.25 !important;
    }

    .single-plantes .gs.is,
    .single-dt_portfolio .gs.is {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 12px;
    }

    .single-plantes .mc,
    .single-dt_portfolio .mc {
        order: -1;
        width: 100%;
        margin-top: -85px;
        margin-bottom: 20px;
        align-items: center;
    }

    .mf,
    .phc {
        width: 250px;
        height: 250px;
        margin: 0 auto;
        border-width: 5px;
    }

    .ett {
        display: none;
    }

    .eg,
    .sais {
        justify-content: center;
    }

    .sbl {
        padding: 6px 12px;
        font-size: 12px;
    }

    .si {
        font-size: 18px;
    }

    .sp2 {
        font-size: 12px;
    }

    .gc {
        margin: 0 0 5px;
        padding: 10px 0;
    }

    .gt {
        gap: 8px;
        padding: 0 4px;
        scroll-snap-type: x mandatory;
    }

    .gcard {
        flex: 0 0 82vw;
    }

    .gn {
        width: 40px;
        height: 40px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    }

    .gn svg {
        width: 20px;
        height: 20px;
        stroke-width: 2.5;
    }

    .gl {
        left: 6px;
    }

    .gr {
        right: 6px;
    }

    .bc2 {
        padding-left: 44px;
        padding-right: 44px;
    }

    .prop-section {
        padding: 18px 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    .prop-section .st {
        margin-bottom: 10px;
    }

    .prop-card,
    .poso-card,
    .tox-card,
    .saviez-card {
        margin: 12px 0;
        padding: 20px 16px;
    }

    .props-grid {
        gap: 14px;
    }

    .ew {
        padding: 20px 0;
        margin-bottom: 0;
    }

    .ecd {
        padding: 16px;
        border-radius: 10px;
        margin-bottom: 8px;
    }

    .bib {
        margin-top: 0;
        padding: 30px 0;
    }

    .organs-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .organ-item {
        padding: 6px 0;
    }

    .organ-text {
        font-size: 13px;
    }

    .section-intro,
    .filters-wrapper,
    .section-grille,
    .prop-section,
    .bib,
    .sb {
        margin-top: 15px;
        margin-bottom: 20px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .home .fc,
    .single-plantes .fc,
    .single-dt_portfolio .fc {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .hs-footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hs-footer-grid {
        max-width: 320px;
    }

    .entry-content ul,
    .site-content ul,
    .wys ul {
        padding-left: 0;
        margin-left: 0;
        list-style-position: inside;
    }

    .site-nav-mobile .mobile-menu,
    .site-nav-mobile .sub-menu,
    .hs-footer-links,
    .hs-header-nav .sub-menu {
        padding-left: 0;
        margin-left: 0;
        list-style: none;
    }

    .lb-nav {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    .lb-nav svg {
        width: 20px;
        height: 20px;
    }

    .lb-prev {
        left: 10px;
    }

    .lb-next {
        right: 10px;
    }

    .lb-controls button {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .lb-close {
        width: 44px;
        height: 44px;
        font-size: 22px;
        border-radius: 12px;
        bottom: 15px;
        right: 15px;
    }

    .lb-caption {
        top: 15px;
        font-size: 13px;
        padding: 6px 14px;
    }

    .map-box-tall {
        height: 280px;
    }

    .map-box-mini {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 14px 16px;
    }

    .filters-title {
        font-size: 24px;
    }

    .grille-herbier {
        gap: 10px;
    }

    .mf,
    .phc {
        width: 220px;
        height: 220px;
        border-width: 4px;
    }

    .single-plantes .mc,
    .single-dt_portfolio .mc {
        margin-top: -70px;
        margin-bottom: 16px;
    }

    .intro-icon {
        max-width: 100%;
    }

    .gn {
        width: 32px;
        height: 32px;
    }

    .gn svg {
        width: 16px;
        height: 16px;
    }

    .prop-card,
    .poso-card,
    .tox-card,
    .saviez-card {
        padding: 16px 14px;
    }

    .gcard {
        flex: 0 0 90vw;
    }

    .bcard {
        flex: 0 0 98px;
    }

    .hs-fixed-search {
        width: 48px;
        height: 48px;
        right: 5px;
    }

    .hs-fixed-search-panel {
        right: 15px;
        top: 80px;
    }

    .map-box-tall {
        height: 240px;
    }

    .map-box-mini {
        height: 160px;
    }
}

@media (max-width: 380px) {
    .carte-info .nom-latin {
        display: none;
    }

    .carte-info h3,
    .carte-info h4,
    .carte-titre {
        font-size: 0.78rem;
    }

    .grille-herbier {
        gap: 6px;
    }
}

/* ------------------------------------------------------------
UTILITAIRES
------------------------------------------------------------ */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}

/* Fallback iOS pour background fixed */
@supports (-webkit-touch-callout: none) {

    .hh-bg,
    .prop-bg-img {
        background-attachment: scroll;
    }
}

/* Supprimer Ken Burns sur le hero */
.hero-bg {
    animation: none !important;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* Sur mobile, éviter le fixed qui peut être buggé */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
    }
}



