/*
 * =========================================================
 * EDEN BOREAL — Pages statiques (Contact, A propos, Auteur)
 * =========================================================
 * Toutes les couleurs utilisent var(--eb-*) defini dans design-system.css.
 * Aucune valeur en dur.
 * =========================================================
 */

/* =========================================================
 * UTILITAIRES COMMUNS
 * ========================================================= */

.eb-static-page {
    min-height: 100vh;
    background: var(--eb-bg);
    color: var(--eb-text);
}

.eb-container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--eb-spacing-md, 1rem);
}

/* =========================================================
 * BREADCRUMBS
 * ========================================================= */

.eb-breadcrumbs {
    padding-block: var(--eb-spacing-sm);
    font-size: 0.875rem;
    color: var(--eb-text-muted);
}

.eb-breadcrumbs a {
    color: var(--eb-accent);
    text-decoration: none;
}

.eb-breadcrumbs a:hover {
    text-decoration: underline;
}

.eb-breadcrumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
}

.eb-breadcrumbs li + li::before {
    content: '/';
    margin-right: 0.25rem;
    color: var(--eb-text-muted);
}

/* =========================================================
 * HERO COMMUN
 * ========================================================= */

.eb-page-hero {
    padding-block: 4rem 3rem;
    background: var(--eb-bg-secondary);
    border-bottom: 1px solid var(--eb-border);
    position: relative;
    overflow: hidden;
}

.eb-page-hero__inner {
    position: relative;
    z-index: 1;
}

.eb-page-hero__eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: var(--eb-letter-spacing-wide);
    text-transform: uppercase;
    color: var(--eb-accent);
    margin: 0 0 0.75rem;
}

.eb-page-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--eb-text);
    margin: 0 0 1rem;
}

.eb-page-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--eb-text-muted);
    max-width: 640px;
    margin: 0;
    line-height: var(--eb-line-height);
}

/* =========================================================
 * HERO CONTACT
 * ========================================================= */

.eb-contact-hero {
    background: linear-gradient(
        135deg,
        var(--eb-bg-secondary) 0%,
        color-mix(in srgb, var(--eb-accent) 8%, var(--eb-bg)) 100%
    );
}

/* =========================================================
 * HERO A PROPOS
 * ========================================================= */

.eb-about-hero {
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--eb-accent) 6%, var(--eb-bg)) 0%,
        var(--eb-bg-secondary) 100%
    );
}

.eb-about-hero__leaf {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.08;
    pointer-events: none;
}

/* =========================================================
 * HERO AUTEUR
 * ========================================================= */

.eb-author-hero {
    background: linear-gradient(
        160deg,
        var(--eb-bg-secondary) 0%,
        color-mix(in srgb, var(--eb-accent) 10%, var(--eb-bg)) 100%
    );
    padding-block: 3rem;
}

.eb-author-hero-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.eb-author-photo-wrap {
    position: relative;
    flex-shrink: 0;
}

.eb-author-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--eb-accent);
    display: block;
}

.eb-author-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--eb-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--eb-bg);
    border: 3px solid color-mix(in srgb, var(--eb-accent) 60%, transparent);
    flex-shrink: 0;
}

.eb-author-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--eb-accent);
    color: var(--eb-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border: 2px solid var(--eb-bg);
}

.eb-author-hero__info {
    flex: 1;
    min-width: 0;
}

.eb-author-hero__name {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--eb-text);
    margin: 0 0 0.25rem;
    line-height: 1.2;
}

.eb-author-hero__title {
    font-size: 1rem;
    color: var(--eb-accent);
    font-weight: 500;
    margin: 0 0 0.5rem;
}

.eb-author-hero__location {
    font-size: 0.9rem;
    color: var(--eb-text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* =========================================================
 * SECTIONS COMMUNES
 * ========================================================= */

.eb-static-section {
    padding-block: 3rem;
}

.eb-static-section--alt {
    background: var(--eb-bg-secondary);
}

.eb-section-title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--eb-text);
    margin: 0 0 1.5rem;
}

.eb-section-lead {
    font-size: 1.05rem;
    color: var(--eb-text-muted);
    margin: 0 0 2rem;
    max-width: 680px;
    line-height: var(--eb-line-height);
}

/* =========================================================
 * CONTACT — GRILLE 2 COLONNES
 * ========================================================= */

.eb-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* =========================================================
 * CONTACT CARDS (email, delai, partenariats)
 * ========================================================= */

.eb-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.eb-contact-card {
    background: var(--eb-bg);
    border: 1px solid var(--eb-border);
    border-radius: var(--eb-radius-lg);
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eb-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--eb-accent) 15%, transparent);
}

.eb-contact-card__icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.eb-contact-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--eb-text);
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: var(--eb-letter-spacing-wide);
    font-size: 0.8rem;
}

.eb-contact-card__content {
    font-size: 1rem;
    color: var(--eb-text-muted);
    margin: 0;
    line-height: var(--eb-line-height);
}

.eb-contact-card__link {
    color: var(--eb-accent);
    font-weight: 600;
    word-break: break-all;
}

.eb-contact-card__link:hover {
    text-decoration: underline;
}

/* =========================================================
 * CF7 — FORMULAIRE CONTACT
 * ========================================================= */

.eb-contact-form-wrap {
    background: var(--eb-bg);
    border: 1px solid var(--eb-border);
    border-radius: var(--eb-radius-lg);
    padding: 2rem;
}

.eb-contact-form-wrap h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--eb-text);
    margin: 0 0 1.5rem;
}

.wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 1.25rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--eb-border);
    border-radius: var(--eb-radius);
    background: var(--eb-bg-secondary);
    color: var(--eb-text);
    font-family: var(--eb-font);
    font-size: var(--eb-font-size-base);
    line-height: var(--eb-line-height);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--eb-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--eb-accent) 20%, transparent);
}

.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-form input[type="submit"],
.wpcf7-form .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background: var(--eb-accent);
    color: var(--eb-bg);
    border: none;
    border-radius: var(--eb-radius);
    font-family: var(--eb-font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover {
    background: color-mix(in srgb, var(--eb-accent) 80%, var(--eb-text));
    transform: translateY(-1px);
}

.wpcf7-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--eb-text);
    margin-bottom: 0.35rem;
}

.wpcf7-not-valid-tip {
    color: color-mix(in srgb, #ef4444 80%, var(--eb-text));
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

.wpcf7-response-output {
    padding: 0.75rem 1rem;
    border-radius: var(--eb-radius);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.wpcf7-mail-sent-ok {
    background: color-mix(in srgb, var(--eb-accent) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--eb-accent) 30%, transparent);
    color: var(--eb-accent);
}

/* CF7 fallback (pas de plugin) */
.eb-cf7-fallback {
    text-align: center;
    padding: 2rem;
    color: var(--eb-text-muted);
    font-size: 0.95rem;
}

.eb-cf7-fallback a {
    color: var(--eb-accent);
    font-weight: 600;
}

/* =========================================================
 * A PROPOS — STATS
 * ========================================================= */

.eb-about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-block: 2rem;
}

.eb-stat-item {
    background: var(--eb-bg);
    border: 1px solid var(--eb-border);
    border-radius: var(--eb-radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eb-stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--eb-accent) 15%, transparent);
}

.eb-stat-item__value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--eb-accent);
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.eb-stat-item__label {
    font-size: 0.875rem;
    color: var(--eb-text-muted);
    display: block;
    line-height: 1.4;
}

/* =========================================================
 * A PROPOS — VALEURS
 * ========================================================= */

.eb-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.eb-value-card {
    background: var(--eb-bg);
    border: 1px solid var(--eb-border);
    border-radius: var(--eb-radius-lg);
    padding: 1.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 3px solid var(--eb-accent);
}

.eb-value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--eb-accent) 15%, transparent);
}

.eb-value-card__icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.eb-value-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--eb-text);
    margin: 0 0 0.75rem;
}

.eb-value-card__text {
    font-size: 0.95rem;
    color: var(--eb-text-muted);
    margin: 0;
    line-height: var(--eb-line-height);
}

/* =========================================================
 * A PROPOS — CARTE ZONES SVG
 * ========================================================= */

.eb-zones-map {
    border: 1px solid var(--eb-border);
    border-radius: var(--eb-radius-lg);
    overflow: hidden;
    background: var(--eb-bg-secondary);
    padding: 1.5rem;
}

.eb-zones-map svg {
    width: 100%;
    height: auto;
    display: block;
}

.eb-zones-map__city-label {
    font-size: 11px;
    fill: var(--eb-text);
    font-family: var(--eb-font);
}

.eb-zones-map__city-dot {
    fill: var(--eb-accent);
}

.eb-zones-map__border {
    fill: color-mix(in srgb, var(--eb-accent) 12%, var(--eb-bg-secondary));
    stroke: var(--eb-border);
    stroke-width: 1;
}

/* =========================================================
 * AUTEUR — ARTICLES RECENTS
 * ========================================================= */

.eb-recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.eb-post-card {
    background: var(--eb-bg);
    border: 1px solid var(--eb-border);
    border-radius: var(--eb-radius-lg);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.eb-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--eb-accent) 15%, transparent);
}

.eb-post-card__thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--eb-bg-secondary);
}

.eb-post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.eb-post-card:hover .eb-post-card__thumb img {
    transform: scale(1.03);
}

.eb-post-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--eb-text-muted);
    background: var(--eb-bg-secondary);
}

.eb-post-card__body {
    padding: 1rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.eb-post-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: color-mix(in srgb, var(--eb-accent) 12%, transparent);
    color: var(--eb-accent);
    margin-bottom: 0.5rem;
    align-self: flex-start;
}

.eb-post-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--eb-text);
    margin: 0 0 0.5rem;
    line-height: 1.4;
    flex: 1;
}

.eb-post-card__title a {
    color: inherit;
    text-decoration: none;
}

.eb-post-card__title a:hover {
    color: var(--eb-accent);
}

.eb-post-card__date {
    font-size: 0.8rem;
    color: var(--eb-text-muted);
    margin: 0;
}

/* =========================================================
 * CTA SECTIONS
 * ========================================================= */

.eb-static-cta {
    text-align: center;
    padding-block: 3rem;
    background: color-mix(in srgb, var(--eb-accent) 6%, var(--eb-bg));
    border-top: 1px solid var(--eb-border);
}

.eb-static-cta__title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--eb-text);
    margin: 0 0 0.75rem;
}

.eb-static-cta__subtitle {
    font-size: 1rem;
    color: var(--eb-text-muted);
    margin: 0 0 1.5rem;
}

.eb-static-cta__btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================================
 * BOUTONS
 * ========================================================= */

.eb-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--eb-radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    border: 2px solid transparent;
    font-family: var(--eb-font);
}

.eb-btn--primary {
    background: var(--eb-accent);
    color: var(--eb-bg);
    border-color: var(--eb-accent);
}

.eb-btn--primary:hover {
    background: color-mix(in srgb, var(--eb-accent) 80%, var(--eb-text));
    border-color: color-mix(in srgb, var(--eb-accent) 80%, var(--eb-text));
    color: var(--eb-bg);
    transform: translateY(-2px);
    text-decoration: none;
}

.eb-btn--outline {
    background: transparent;
    color: var(--eb-accent);
    border-color: var(--eb-accent);
}

.eb-btn--outline:hover {
    background: color-mix(in srgb, var(--eb-accent) 10%, transparent);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--eb-accent);
}

/* =========================================================
 * AUTEUR — BIO / EXPERTISE
 * ========================================================= */

.eb-author-bio {
    max-width: 720px;
}

.eb-author-bio p {
    font-size: 1.05rem;
    line-height: var(--eb-line-height);
    color: var(--eb-text);
    margin: 0 0 1rem;
}

.eb-expertise-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.eb-expertise-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--eb-text);
    padding: 0.75rem 1rem;
    background: var(--eb-bg-secondary);
    border-radius: var(--eb-radius);
    border: 1px solid var(--eb-border);
}

.eb-expertise-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--eb-accent);
    flex-shrink: 0;
    margin-top: 0.4rem;
}

/* =========================================================
 * ANIMATIONS
 * ========================================================= */

.eb-fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.eb-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Desactiver les animations si l'utilisateur prefere */
@media (prefers-reduced-motion: reduce) {
    .eb-fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =========================================================
 * RESPONSIVE — 768px breakpoint
 * ========================================================= */

@media (max-width: 768px) {

    .eb-page-hero {
        padding-block: 2.5rem 2rem;
    }

    .eb-contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .eb-about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .eb-values-grid {
        grid-template-columns: 1fr;
    }

    .eb-recent-posts-grid {
        grid-template-columns: 1fr;
    }

    .eb-author-hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .eb-author-hero__location {
        justify-content: center;
    }

    .eb-expertise-list {
        grid-template-columns: 1fr;
    }

    .eb-static-cta__btns {
        flex-direction: column;
        align-items: center;
    }

    .eb-about-hero__leaf {
        display: none;
    }

    .eb-contact-form-wrap {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .eb-about-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
 * MODE SOMBRE — overrides specifiques pages statiques
 * ========================================================= */

[data-theme="dark"] .eb-contact-form-wrap,
[data-theme="dark"] .eb-contact-card,
[data-theme="dark"] .eb-stat-item,
[data-theme="dark"] .eb-value-card,
[data-theme="dark"] .eb-post-card {
    background: var(--eb-bg-secondary);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .eb-contact-form-wrap,
    :root:not([data-theme="light"]) .eb-contact-card,
    :root:not([data-theme="light"]) .eb-stat-item,
    :root:not([data-theme="light"]) .eb-value-card,
    :root:not([data-theme="light"]) .eb-post-card {
        background: var(--eb-bg-secondary);
    }
}


/* =========================================================
 * FIX MOBILE — Bouton retour accueil page 404
 * ========================================================= */

@media (max-width: 600px) {
    .eb-404__home-btn,
    .eb-404 .eb-btn,
    .eb-404 a[class*="btn"] {
        width: fit-content;
        display: inline-flex;
    }
}

/* =========================================================
 * FORMULAIRE RECHERCHE — Page 404
 * ========================================================= */

.eb-404-search {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 480px;
    border: 1.5px solid var(--eb-border, #c8dede);
    border-radius: 50px;
    overflow: hidden;
    background: var(--eb-bg, #fff);
}

.eb-404-search__input {
    flex: 1 1 0%;
    min-width: 0;
    border: none;
    outline: none;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-family: var(--eb-font, inherit);
    background: transparent;
    color: var(--eb-text, #0A1A1C);
}

.eb-404-search__input::placeholder {
    color: var(--eb-text-muted, #6b7280);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eb-404-search__btn {
    flex-shrink: 0;
    border: none;
    background: transparent;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    color: var(--eb-accent, #1A8A8A);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
}

.eb-404-search__btn:hover {
    color: var(--eb-accent-dark, #0F5F5F);
}


/* =========================================================
 * PAGES LEGALES — layout commun (privacy, legal, cookies)
 * ========================================================= */

.eb-page-legal .eb-legal-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 3rem 0 5rem;
}

.eb-page-legal .eb-legal-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--eb-text);
    margin: 2.5rem 0 0.75rem;
    padding-top: 2rem;
    border-top: 1px solid var(--eb-border);
    line-height: 1.3;
}

.eb-page-legal .eb-legal-content h2:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.eb-page-legal .eb-legal-content p {
    color: var(--eb-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.eb-page-legal .eb-legal-content ul {
    margin: 0.5rem 0 1rem 1.5rem;
    color: var(--eb-text);
    line-height: 1.8;
}

.eb-page-legal .eb-legal-content ul li {
    margin-bottom: 0.35rem;
}

.eb-page-legal .eb-legal-content a {
    color: var(--eb-accent);
    text-decoration: none;
}

.eb-page-legal .eb-legal-content a:hover {
    text-decoration: underline;
}

.eb-page-legal .eb-legal-content code {
    font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', monospace;
    font-size: 0.875em;
    background: var(--eb-bg-secondary);
    padding: 0.1em 0.4em;
    border-radius: 4px;
    color: var(--eb-text);
}

/* --- Hero legal --------------------------------------------------- */
.eb-legal-hero .eb-page-hero__eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--eb-accent);
    margin-bottom: 0.5rem;
}

/* --- Date mise a jour --------------------------------------------- */
.eb-legal-updated {
    font-size: 0.8rem;
    color: var(--eb-text-muted);
    margin-top: 0.75rem;
}

/* --- Tableau cookies ---------------------------------------------- */
.eb-legal-table-wrap {
    overflow-x: auto;
    margin: 1rem 0 1.5rem;
    border-radius: var(--eb-radius-lg);
    border: 1px solid var(--eb-border);
}

.eb-legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    min-width: 480px;
}

.eb-legal-table th {
    background: var(--eb-bg-secondary);
    color: var(--eb-text);
    font-weight: 600;
    padding: 0.6rem 0.9rem;
    text-align: left;
    border-bottom: 2px solid var(--eb-border);
}

.eb-legal-table td {
    padding: 0.6rem 0.9rem;
    border-bottom: 1px solid var(--eb-border);
    color: var(--eb-text);
    vertical-align: top;
    line-height: 1.5;
}

.eb-legal-table tr:last-child td {
    border-bottom: none;
}

.eb-legal-table tr:nth-child(even) td {
    background: var(--eb-bg-secondary);
}

.eb-legal-table-note {
    font-size: 0.8125rem;
    color: var(--eb-text-muted);
    font-style: italic;
    margin-top: 0;
}

/* --- Dark mode — pages legales ------------------------------------ */
[data-theme="dark"] .eb-page-legal .eb-legal-content code {
    background: var(--eb-bg-secondary);
}

[data-theme="dark"] .eb-legal-table th {
    background: var(--eb-bg-secondary);
}

[data-theme="dark"] .eb-legal-table tr:nth-child(even) td {
    background: var(--eb-bg-secondary);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .eb-page-legal .eb-legal-content code,
    :root:not([data-theme="light"]) .eb-legal-table th,
    :root:not([data-theme="light"]) .eb-legal-table tr:nth-child(even) td {
        background: var(--eb-bg-secondary);
    }
}

/* --- Responsive — pages legales ----------------------------------- */
@media (max-width: 768px) {
    .eb-page-legal .eb-legal-content {
        padding: 2rem 0 3rem;
    }
    .eb-page-legal .eb-legal-content h2 {
        font-size: 1.15rem;
    }
    .eb-page-legal .eb-legal-content ul {
        margin-left: 1rem;
    }
}


/* =============================================================================
   COMPARATIFS — template-comparison.php
   Cible : .eb-page-comparison
   ============================================================================= */

/* ─── Tokens réutilisés ─────────────────────────────────────────────────────── */
.eb-page-comparison {
  --eb-comp-winner-bg: #fffbeb;
  --eb-comp-winner-border: #f59e0b;
  --eb-comp-winner-text: #92400e;
  --eb-comp-score-h: 6px;
  --eb-comp-score-fill: var(--eb-accent, #22c55e);
  --eb-comp-score-track: var(--eb-border, #e5e7eb);
  --eb-comp-card-radius: var(--eb-radius-lg, 12px);
  --eb-comp-item-bg: var(--eb-bg-secondary, #f9fafb);
}

/* ─── Hero Comparatif ───────────────────────────────────────────────────────── */
.eb-comp-hero {
  position: relative;
  overflow: hidden;
  background: var(--eb-bg-secondary);
  padding: 4rem 0 3rem;
}
.eb-comp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.eb-comp-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.eb-comp-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.72) 100%);
}
.eb-comp-hero .eb-container {
  position: relative;
  z-index: 1;
}
.eb-comp-hero__inner {
  max-width: 860px;
}
.eb-comp-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.2rem;
}
.eb-comp-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #fff;
}
.eb-comp-hero:not(:has(.eb-comp-hero__bg)) .eb-comp-hero__title {
  color: var(--eb-text);
}
.eb-comp-hero__intro {
  font-size: 1.1rem;
  color: rgba(255,255,255,.88);
  max-width: 640px;
  line-height: 1.6;
}
.eb-comp-hero:not(:has(.eb-comp-hero__bg)) .eb-comp-hero__intro {
  color: var(--eb-text-muted);
}

/* ─── Badges ────────────────────────────────────────────────────────────────── */
.eb-comp-badge {
  display: inline-block;
  padding: .25em .7em;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.eb-comp-badge--count  { background: var(--eb-accent); color: #fff; }
.eb-comp-badge--date   { background: var(--eb-bg-secondary); color: var(--eb-text-muted); border: 1px solid var(--eb-border); }
.eb-comp-badge--type   { background: #dbeafe; color: #1e40af; }
.eb-comp-badge--winner { background: #fef3c7; color: #92400e; font-size: .8rem; }
.eb-comp-badge--item   { background: var(--eb-bg-secondary); color: var(--eb-accent); border: 1px solid var(--eb-accent); font-size: .72rem; }

/* ─── Bannière Gagnant ──────────────────────────────────────────────────────── */
.eb-comp-winner {
  background: var(--eb-comp-winner-bg);
  border-top: 3px solid var(--eb-comp-winner-border);
  border-bottom: 1px solid #fde68a;
  padding: 1.5rem 0;
}
.eb-comp-winner__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.eb-comp-winner__trophy {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}
.eb-comp-winner__text   { flex: 1; min-width: 180px; }
.eb-comp-winner__label  { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--eb-comp-winner-text); margin: 0; }
.eb-comp-winner__name   { font-size: 1.25rem; font-weight: 700; color: var(--eb-comp-winner-text); margin: .25rem 0 0; }
.eb-comp-winner__reason { font-size: .9rem; color: var(--eb-comp-winner-text); margin: .2rem 0 0; opacity: .8; }

/* ─── Verdict éditorial ─────────────────────────────────────────────────────── */
.eb-comp-verdict-block {
  padding: 2rem 0;
}
.eb-comp-verdict-block__inner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--eb-bg-secondary);
  border-left: 4px solid var(--eb-accent);
  padding: 1.25rem 1.5rem;
  border-radius: var(--eb-radius);
  max-width: 860px;
}
.eb-comp-verdict-block__icon {
  color: var(--eb-accent);
  flex-shrink: 0;
  margin-top: .15rem;
}
.eb-comp-verdict-block__text { font-size: 1rem; line-height: 1.7; color: var(--eb-text); }
.eb-comp-verdict-block__text p { margin: 0; }

/* ─── Sections génériques ───────────────────────────────────────────────────── */
.eb-comp-section { padding: 3rem 0; }
.eb-comp-section__title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--eb-text);
}
.eb-comp-empty { padding: 3rem 0; color: var(--eb-text-muted); }
.eb-comp-affiliate-notice {
  margin-top: 1.5rem;
  color: var(--eb-text-muted);
  font-size: .8rem;
}

/* ─── Stars + Score bar ─────────────────────────────────────────────────────── */
.eb-stars { display: inline-flex; gap: .05em; font-size: 1em; line-height: 1; }
.eb-star--full  { color: #f59e0b; }
.eb-star--half  { color: #f59e0b; opacity: .6; }
.eb-star--empty { color: var(--eb-border); }
.eb-comp-rating { font-weight: 600; font-size: .9em; color: var(--eb-text-muted); margin-right: .3em; }
.eb-score-bar {
  height: var(--eb-comp-score-h);
  background: var(--eb-comp-score-track);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 4px;
}
.eb-score-bar__fill {
  height: 100%;
  background: var(--eb-comp-score-fill);
  border-radius: 999px;
  transition: width .4s ease;
}
.eb-comp-score-num { font-size: .8em; color: var(--eb-text-muted); }

/* ─── Difficulté ────────────────────────────────────────────────────────────── */
.eb-diff-facile   { color: #16a34a; }
.eb-diff-moyen    { color: #ca8a04; }
.eb-diff-difficile{ color: #dc2626; }

/* =============================================================================
   FORMAT TABLE
   ============================================================================= */
.eb-comp-table-wrap {
  overflow-x: auto;
  border-radius: var(--eb-radius);
  border: 1px solid var(--eb-border);
}
.eb-comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  min-width: 640px;
}
.eb-comp-table thead th {
  background: var(--eb-bg-secondary);
  color: var(--eb-text-muted);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--eb-border);
  white-space: nowrap;
}
.eb-comp-table__product-col { min-width: 200px; }
.eb-comp-table td {
  padding: .875rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid var(--eb-border);
}
.eb-comp-table tbody tr:last-child td { border-bottom: none; }
.eb-comp-table tbody tr:hover { background: var(--eb-bg-secondary); }
.eb-comp-table__row--winner { background: #fffbeb !important; }
.eb-comp-table__product-cell {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.eb-comp-table__img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: var(--eb-radius);
  border: 1px solid var(--eb-border);
}
.eb-comp-table__name { font-weight: 600; color: var(--eb-text); display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.eb-comp-table__meta { font-size: .78rem; color: var(--eb-text-muted); }
.eb-comp-table__rating-cell { white-space: nowrap; min-width: 120px; }
.eb-comp-table__price-cell  { white-space: nowrap; font-weight: 600; }
.eb-comp-table__score-cell  { min-width: 100px; }
.eb-comp-table__list { list-style: none; padding: 0; margin: 0; font-size: .85rem; display: flex; flex-direction: column; gap: .25rem; }
.eb-comp-table__cta-cell    { white-space: nowrap; vertical-align: middle; }

/* =============================================================================
   FORMAT CARDS
   ============================================================================= */
.eb-comp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.eb-comp-card {
  background: var(--eb-bg);
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-comp-card-radius);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.eb-comp-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.eb-comp-card--winner {
  border-color: var(--eb-comp-winner-border);
  box-shadow: 0 0 0 2px #fde68a;
}
.eb-comp-card__winner-ribbon {
  background: var(--eb-comp-winner-border);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .3em 1.5em;
  text-align: center;
}
.eb-comp-card__badge {
  display: block;
  background: var(--eb-accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-align: center;
  padding: .2em 1em;
}
.eb-comp-card__image-wrap {
  padding: 1.25rem;
  background: var(--eb-bg-secondary);
  display: flex;
  justify-content: center;
}
.eb-comp-card__image {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
.eb-comp-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .75rem; }
.eb-comp-card__name { font-size: 1rem; font-weight: 700; color: var(--eb-text); margin: 0; }
.eb-comp-card__rating { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.eb-comp-card__price { font-weight: 700; color: var(--eb-accent); margin: 0; font-size: 1.05rem; }
.eb-comp-card__meta  { font-size: .82rem; color: var(--eb-text-muted); margin: 0; }
.eb-comp-card__pros-cons { display: flex; flex-direction: column; gap: .5rem; }
.eb-comp-card__list { list-style: none; padding: 0; margin: 0; font-size: .82rem; display: flex; flex-direction: column; gap: .2rem; }
.eb-comp-card__verdict { font-size: .88rem; color: var(--eb-text-muted); font-style: italic; margin: 0; }
.eb-comp-card__footer { padding: 0 1.25rem 1.25rem; }

/* =============================================================================
   FORMAT TOPLIST
   ============================================================================= */
.eb-toplist-filters {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.eb-toplist-filters__label { font-size: .85rem; color: var(--eb-text-muted); font-weight: 600; }
.eb-toplist-filter {
  background: var(--eb-bg-secondary);
  border: 1px solid var(--eb-border);
  border-radius: 999px;
  padding: .35em .9em;
  font-size: .82rem;
  font-weight: 600;
  color: var(--eb-text-muted);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.eb-toplist-filter:hover,
.eb-toplist-filter.is-active {
  background: var(--eb-accent);
  color: #fff;
  border-color: var(--eb-accent);
}
.eb-toplist-items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.eb-toplist-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--eb-bg);
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-radius);
  padding: 1.25rem;
  position: relative;
  transition: box-shadow .2s;
}
.eb-toplist-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.eb-toplist-item--winner {
  border-color: var(--eb-comp-winner-border);
  background: #fffdf7;
  box-shadow: 0 0 0 2px #fde68a;
}
.eb-toplist-item__rank {
  min-width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--eb-bg-secondary);
  border: 1px solid var(--eb-border);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--eb-text-muted);
  flex-shrink: 0;
}
.eb-toplist-item--winner .eb-toplist-item__rank {
  background: var(--eb-comp-winner-border);
  border-color: var(--eb-comp-winner-border);
  color: #fff;
}
.eb-toplist-item__img-wrap { flex-shrink: 0; }
.eb-toplist-item__img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--eb-radius);
  border: 1px solid var(--eb-border);
}
.eb-toplist-item__body { flex: 1; display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.eb-toplist-item__name { font-size: 1.05rem; font-weight: 700; color: var(--eb-text); margin: 0; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.eb-toplist-item__meta { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.eb-toplist-item__price { font-weight: 700; color: var(--eb-accent); font-size: .95rem; }
.eb-toplist-item__verdict { font-size: .88rem; color: var(--eb-text-muted); margin: 0; }
.eb-toplist-item__pros { list-style: none; padding: 0; margin: 0; font-size: .85rem; display: flex; flex-direction: column; gap: .2rem; }
.eb-toplist-item__cta { margin-left: auto; flex-shrink: 0; align-self: center; }

/* =============================================================================
   ANALYSE DÉTAILLÉE PAR PRODUIT
   ============================================================================= */
.eb-comp-details .eb-comp-section__title { margin-bottom: 1.5rem; }
.eb-comp-item {
  background: var(--eb-comp-item-bg);
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-comp-card-radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.eb-comp-item--winner {
  border-color: var(--eb-comp-winner-border);
  background: #fffdf7;
}
.eb-comp-item__header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--eb-border);
}
.eb-comp-item__img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--eb-radius);
  border: 1px solid var(--eb-border);
  flex-shrink: 0;
}
.eb-comp-item__header-text { flex: 1; min-width: 180px; }
.eb-comp-item__name { font-size: 1.2rem; font-weight: 700; color: var(--eb-text); margin: 0 0 .5rem; }
.eb-comp-item__rating { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.eb-comp-item__price  { font-weight: 700; color: var(--eb-accent); }
.eb-comp-item__scores {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1.5rem;
  max-width: 500px;
}
.eb-comp-item__score-row { display: grid; grid-template-columns: 1fr auto 160px; align-items: center; gap: .75rem; }
.eb-comp-item__score-label { font-size: .88rem; color: var(--eb-text); }
.eb-comp-item__score-val   { font-size: .8rem; color: var(--eb-text-muted); white-space: nowrap; }
.eb-comp-item__pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.eb-comp-item__pros h4,
.eb-comp-item__cons h4 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 .5rem;
  color: var(--eb-text-muted);
}
.eb-comp-item__pros ul,
.eb-comp-item__cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .88rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.eb-comp-item__verdict {
  background: var(--eb-bg);
  border-left: 3px solid var(--eb-accent);
  padding: .875rem 1.125rem;
  border-radius: 0 var(--eb-radius) var(--eb-radius) 0;
}
.eb-comp-item__verdict h4 {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--eb-accent);
  margin: 0 0 .35rem;
}
.eb-comp-item__verdict p { margin: 0; font-size: .92rem; color: var(--eb-text); }

/* =============================================================================
   FAQ COMPARATIF
   ============================================================================= */
.eb-comp-faq { background: var(--eb-bg-secondary); }
.eb-faq-list { display: flex; flex-direction: column; gap: .5rem; max-width: 760px; }
.eb-faq-item {
  background: var(--eb-bg);
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-radius);
  overflow: hidden;
}
.eb-faq-item.is-open { border-color: var(--eb-accent); }
.eb-faq-item__question { margin: 0; }
.eb-faq-item__toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 1.25rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--eb-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.eb-faq-item__toggle:hover { color: var(--eb-accent); }
.eb-faq-item__chevron { flex-shrink: 0; transition: transform .25s ease; }
.eb-faq-item.is-open .eb-faq-item__chevron { transform: rotate(180deg); }
.eb-faq-item__answer {
  padding: 0 1.25rem 1.25rem;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--eb-text);
}
.eb-faq-item__answer p { margin: 0; }

/* =============================================================================
   PLANTES LIÉES
   ============================================================================= */
.eb-comp-plants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}
.eb-comp-plants-card {
  text-decoration: none;
  background: var(--eb-bg);
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-comp-card-radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.eb-comp-plants-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.eb-comp-plants-card__img-wrap {
  background: var(--eb-bg-secondary);
  aspect-ratio: 1/1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eb-comp-plants-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.eb-comp-plants-card__body { padding: .875rem; flex: 1; }
.eb-comp-plants-card__name  { font-size: .88rem; font-weight: 600; color: var(--eb-text); margin: 0 0 .2rem; }
.eb-comp-plants-card__latin { font-size: .78rem; color: var(--eb-text-muted); margin: 0; }

/* =============================================================================
   COMPARATIFS SIMILAIRES
   ============================================================================= */
.eb-comp-similar { background: var(--eb-bg-secondary); }
.eb-comp-similar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.eb-comp-similar-card {
  text-decoration: none;
  background: var(--eb-bg);
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-comp-card-radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.eb-comp-similar-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.eb-comp-similar-card__img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--eb-bg-secondary);
}
.eb-comp-similar-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.eb-comp-similar-card__body { padding: 1rem 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.eb-comp-similar-card__title { font-size: .95rem; font-weight: 600; color: var(--eb-text); margin: 0; line-height: 1.4; }

/* =============================================================================
   DARK MODE — comparatifs
   ============================================================================= */
[data-theme="dark"] .eb-page-comparison,
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .eb-page-comparison {
    --eb-comp-winner-bg: #1c1700;
    --eb-comp-winner-border: #b45309;
    --eb-comp-winner-text: #fde68a;
    --eb-comp-item-bg: var(--eb-bg-secondary);
    --eb-comp-score-track: rgba(255,255,255,.12);
  }
}
[data-theme="dark"] .eb-comp-hero__title,
[data-theme="dark"] .eb-comp-hero__intro {
  color: #fff;
}
[data-theme="dark"] .eb-comp-table tbody tr:hover {
  background: rgba(255,255,255,.04);
}
[data-theme="dark"] .eb-comp-table__row--winner {
  background: #1c1700 !important;
}
[data-theme="dark"] .eb-comp-card--winner,
[data-theme="dark"] .eb-toplist-item--winner,
[data-theme="dark"] .eb-comp-item--winner {
  background: #1c1700;
}
[data-theme="dark"] .eb-comp-badge--date {
  background: rgba(255,255,255,.08);
}
[data-theme="dark"] .eb-comp-verdict-block__inner {
  background: rgba(255,255,255,.04);
}

/* =============================================================================
   RESPONSIVE — comparatifs
   ============================================================================= */
@media (max-width: 900px) {
  .eb-comp-similar-grid {
    grid-template-columns: 1fr 1fr;
  }
  .eb-comp-item__pros-cons {
    grid-template-columns: 1fr;
  }
  .eb-comp-item__score-row {
    grid-template-columns: 1fr auto;
  }
  .eb-comp-item__score-row .eb-score-bar {
    display: none;
  }
}

@media (max-width: 640px) {
  .eb-comp-hero { padding: 2.5rem 0 2rem; }
  .eb-comp-similar-grid { grid-template-columns: 1fr; }
  .eb-comp-cards { grid-template-columns: 1fr; }
  .eb-comp-plants-grid { grid-template-columns: repeat(2, 1fr); }
  .eb-comp-winner__inner { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .eb-toplist-item { flex-wrap: wrap; }
  .eb-toplist-item__cta { margin-left: 0; margin-top: .75rem; width: 100%; }
  .eb-toplist-item__cta .eb-btn { width: 100%; justify-content: center; }
}


/* =============================================================================
   ARCHIVES CPT + TAXONOMIES — Styles communs
   Cible : .eb-archive-page
   ============================================================================= */

/* ─── Tokens locaux archives ────────────────────────────────────────────────── */
.eb-archive-page {
  --eb-arch-hero-min-h: 260px;
  --eb-arch-filter-bg: var(--eb-bg-secondary);
  --eb-arch-card-thumb-h: 200px;
  --eb-arch-chip-radius: 999px;
  --eb-arch-card-radius: var(--eb-radius-lg, 12px);
}

/* =============================================================================
   HERO ARCHIVE
   ============================================================================= */
.eb-archive-hero {
  position: relative;
  background: var(--eb-bg-secondary);
  padding: 3.5rem 0 2.5rem;
  min-height: var(--eb-arch-hero-min-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Motif botanique léger en arrière-plan */
.eb-archive-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 5 Q25 15 20 25 Q15 15 20 5Z' fill='%231a8a8a' fill-opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  opacity: 1;
  z-index: 0;
}

.eb-archive-hero .eb-container,
.eb-archive-hero .eb-breadcrumb {
  position: relative;
  z-index: 1;
}

.eb-archive-hero__content { max-width: 720px; }

.eb-archive-hero__count {
  display: inline-block;
  background: var(--eb-accent);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .3em .85em;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.eb-archive-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--eb-text);
  margin: 0 0 .75rem;
}

.eb-archive-hero__desc {
  font-size: 1.05rem;
  color: var(--eb-text-muted);
  line-height: 1.65;
  max-width: 580px;
  margin: 0;
}

/* Breadcrumb dans le hero */
.eb-archive-hero .eb-breadcrumb {
  margin-bottom: 1.25rem;
  font-size: .82rem;
  color: var(--eb-text-muted);
}
.eb-archive-hero .eb-breadcrumb__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}
.eb-archive-hero .eb-breadcrumb__list li + li::before {
  content: '/';
  margin-right: .25rem;
  opacity: .5;
}
.eb-archive-hero .eb-breadcrumb a { color: var(--eb-accent); text-decoration: none; }
.eb-archive-hero .eb-breadcrumb a:hover { text-decoration: underline; }

/* =============================================================================
   BARRE DE FILTRES
   ============================================================================= */
.eb-archive-filters {
  background: var(--eb-arch-filter-bg);
  border-bottom: 1px solid var(--eb-border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.eb-archive-filters__inner {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Recherche */
.eb-archive-search { flex-shrink: 0; }
.eb-archive-search__input {
  background: var(--eb-bg);
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-radius);
  padding: .5em 1em;
  font-size: .9rem;
  color: var(--eb-text);
  width: 200px;
  transition: border-color .15s, box-shadow .15s;
}
.eb-archive-search__input::placeholder { color: var(--eb-text-muted); }
.eb-archive-search__input:focus {
  outline: none;
  border-color: var(--eb-accent);
  box-shadow: 0 0 0 3px rgba(26, 138, 138, .15);
}

/* Groupes de filtres */
.eb-archive-filter-group { display: flex; flex-direction: column; gap: .4rem; }

.eb-archive-filter-group__label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--eb-text-muted);
}

.eb-archive-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

/* Chips */
.eb-chip {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  padding: .3em .75em;
  border-radius: var(--eb-arch-chip-radius);
  border: 1px solid var(--eb-border);
  background: var(--eb-bg);
  color: var(--eb-text-muted);
  font-size: .8rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.eb-chip:hover {
  background: var(--eb-accent-light, #a8dede);
  color: var(--eb-text);
  border-color: var(--eb-accent);
}
.eb-chip--active {
  background: var(--eb-accent);
  color: #fff;
  border-color: var(--eb-accent);
  font-weight: 600;
}
.eb-chip--active:hover {
  background: var(--eb-accent);
  color: #fff;
}
.eb-chip__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.1);
  border-radius: 999px;
  font-size: .7em;
  font-weight: 700;
  min-width: 1.4em;
  height: 1.4em;
  padding: 0 .3em;
}
.eb-chip--active .eb-chip__count { background: rgba(255,255,255,.25); }

/* Tri */
.eb-archive-sort {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
  flex-shrink: 0;
}
.eb-archive-sort__label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--eb-text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}
.eb-archive-sort__select {
  background: var(--eb-bg);
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-radius);
  padding: .4em .75em;
  font-size: .85rem;
  color: var(--eb-text);
  cursor: pointer;
  transition: border-color .15s;
}
.eb-archive-sort__select:focus {
  outline: none;
  border-color: var(--eb-accent);
}

/* =============================================================================
   GRILLE CARDS
   ============================================================================= */
.eb-archive-grid-section { padding: 2.5rem 0 4rem; }

.eb-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.eb-archive-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* =============================================================================
   CARD ARCHIVE
   ============================================================================= */
.eb-archive-card {
  background: var(--eb-bg);
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-arch-card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.eb-archive-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
  transform: translateY(-3px);
}

/* Vignette */
.eb-archive-card__thumb-link { display: block; }
.eb-archive-card__thumb {
  height: var(--eb-arch-card-thumb-h);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--eb-bg-secondary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eb-archive-card__thumb-placeholder {
  font-size: 3rem;
  opacity: .3;
  user-select: none;
}
.eb-archive-card__tag {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--eb-accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .25em .6em;
  border-radius: 999px;
}

/* Corps */
.eb-archive-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.eb-archive-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.eb-archive-card__meta-item {
  font-size: .74rem;
  font-weight: 600;
  color: var(--eb-text-muted);
  background: var(--eb-bg-secondary);
  border: 1px solid var(--eb-border);
  padding: .2em .6em;
  border-radius: 999px;
}

.eb-archive-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  color: var(--eb-text);
}
.eb-archive-card__title a {
  color: inherit;
  text-decoration: none;
}
.eb-archive-card__title a:hover {
  color: var(--eb-accent);
}

.eb-archive-card__excerpt {
  font-size: .875rem;
  color: var(--eb-text-muted);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.eb-archive-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--eb-border);
}
.eb-archive-card__date {
  font-size: .78rem;
  color: var(--eb-text-muted);
}
.eb-archive-card__link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--eb-accent);
  text-decoration: none;
}
.eb-archive-card__link:hover {
  text-decoration: underline;
}

/* =============================================================================
   ÉTAT VIDE
   ============================================================================= */
.eb-archive-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--eb-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.eb-archive-empty p { font-size: 1.1rem; margin: 0; }

/* =============================================================================
   PAGINATION
   ============================================================================= */
.eb-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}
.eb-pagination .page-numbers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
}
.eb-pagination .page-numbers li a,
.eb-pagination .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 .75rem;
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-radius);
  background: var(--eb-bg);
  color: var(--eb-text-muted);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.eb-pagination .page-numbers li a:hover {
  background: var(--eb-accent-light);
  border-color: var(--eb-accent);
  color: var(--eb-text);
}
.eb-pagination .page-numbers li .current {
  background: var(--eb-accent);
  border-color: var(--eb-accent);
  color: #fff;
  font-weight: 700;
}
.eb-pagination .page-numbers li .dots {
  border: none;
  background: none;
}

/* =============================================================================
   SECTIONS TAXONOMY CROSS-CPT
   ============================================================================= */
.eb-taxonomy-section { padding: 3rem 0; }
.eb-taxonomy-section + .eb-taxonomy-section {
  border-top: 1px solid var(--eb-border);
}

.eb-taxonomy-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: .75rem;
}

.eb-taxonomy-section__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--eb-text);
  margin: 0;
}

.eb-taxonomy-section__all {
  font-size: .85rem;
  font-weight: 600;
  color: var(--eb-accent);
  text-decoration: none;
  white-space: nowrap;
}
.eb-taxonomy-section__all:hover { text-decoration: underline; }

/* =============================================================================
   DARK MODE — archives
   ============================================================================= */
[data-theme="dark"] .eb-archive-hero {
  background: var(--eb-bg-secondary);
}
[data-theme="dark"] .eb-archive-hero__bg {
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 5 Q25 15 20 25 Q15 15 20 5Z' fill='%2322c55e' fill-opacity='0.05'/%3E%3C/svg%3E");
}
[data-theme="dark"] .eb-archive-filters {
  background: var(--eb-bg-secondary);
  border-color: var(--eb-border);
}
[data-theme="dark"] .eb-archive-search__input {
  background: var(--eb-bg);
  border-color: var(--eb-border);
  color: var(--eb-text);
}
[data-theme="dark"] .eb-chip {
  background: var(--eb-bg);
  border-color: var(--eb-border);
  color: var(--eb-text-muted);
}
[data-theme="dark"] .eb-chip:hover {
  background: rgba(26,138,138,.2);
  border-color: var(--eb-accent);
  color: var(--eb-text);
}
[data-theme="dark"] .eb-archive-sort__select {
  background: var(--eb-bg);
  border-color: var(--eb-border);
  color: var(--eb-text);
}
[data-theme="dark"] .eb-archive-card {
  background: var(--eb-bg);
  border-color: var(--eb-border);
}
[data-theme="dark"] .eb-archive-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
}
[data-theme="dark"] .eb-archive-card__thumb {
  background-color: var(--eb-bg-secondary);
}
[data-theme="dark"] .eb-archive-card__meta-item {
  background: var(--eb-bg-secondary);
  border-color: var(--eb-border);
}
[data-theme="dark"] .eb-archive-card__footer {
  border-color: var(--eb-border);
}
[data-theme="dark"] .eb-pagination .page-numbers li a,
[data-theme="dark"] .eb-pagination .page-numbers li span {
  background: var(--eb-bg);
  border-color: var(--eb-border);
  color: var(--eb-text-muted);
}
[data-theme="dark"] .eb-pagination .page-numbers li a:hover {
  background: rgba(26,138,138,.15);
  border-color: var(--eb-accent);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .eb-archive-hero {
    background: var(--eb-bg-secondary);
  }
  :root:not([data-theme="light"]) .eb-archive-filters {
    background: var(--eb-bg-secondary);
  }
  :root:not([data-theme="light"]) .eb-archive-card {
    background: var(--eb-bg);
    border-color: var(--eb-border);
  }
}

/* =============================================================================
   RESPONSIVE — archives
   ============================================================================= */
@media (max-width: 900px) {
  .eb-archive-grid,
  .eb-archive-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .eb-archive-filters__inner {
    gap: .75rem;
  }
  .eb-archive-sort {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .eb-archive-hero { padding: 2.5rem 0 2rem; }
  .eb-archive-hero__title { font-size: 1.75rem; }
  .eb-archive-grid,
  .eb-archive-grid--3 {
    grid-template-columns: 1fr;
  }
  .eb-archive-search__input { width: 100%; }
  .eb-archive-filter-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .25rem; }
  .eb-archive-card__thumb { height: 160px; }
  .eb-taxonomy-section__header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .eb-archive-filters__inner { flex-direction: column; }
}

/* ==========================================================================
 * SITENAV — Navigation principale (identique front-page.php)
 * Appliqué à tous les templates CPT Eden Boreal via ce fichier partagé.
 * ========================================================================== */

.eb-sitenav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--eb-bg, #f2f8f8);
  border-bottom: 1px solid var(--eb-border, #d6e8e8);
  box-shadow: 0 1px 8px rgba(10,26,28,.06);
  transition: background 0.25s ease, border-color 0.25s ease;
  align-items: center;
  overflow: visible;
}
.eb-sitenav__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 80px;
  height: auto;
  padding-block: 10px;
}
.eb-sitenav__brand { display: flex; align-items: center; flex-shrink: 0; }
.eb-sitenav__logo  { height: 36px; width: auto; display: block; }
.eb-sitenav__nav { flex: 1; }
.eb-sitenav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.eb-sitenav__list li { position: relative; }
.eb-sitenav__list a {
  display: block;
  padding: 0.45em 0.85em;
  border-radius: var(--eb-radius, 8px);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--eb-text, #0a1a1c);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.eb-sitenav__list a:hover,
.eb-sitenav__list .current-menu-item > a,
.eb-sitenav__list .current-menu-ancestor > a {
  background: var(--eb-bg-secondary, #e0eff0);
  color: var(--eb-accent, #1a8a8a);
}
.eb-sitenav__list .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 200px;
  background: var(--eb-bg, #f2f8f8);
  border: 1px solid var(--eb-border, #d6e8e8);
  border-radius: var(--eb-radius, 8px);
  box-shadow: 0 4px 20px rgba(10,26,28,.1);
  padding: 0.4rem;
  list-style: none;
  z-index: 200;
}
.eb-sitenav__list li:hover > .sub-menu,
.eb-sitenav__list li:focus-within > .sub-menu { display: block; }
.eb-sitenav__list .sub-menu a {
  border-radius: calc(var(--eb-radius, 8px) - 2px);
  font-size: 0.875rem;
  font-weight: 400;
}
.eb-sitenav__fallback {
  flex: 1;
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.eb-sitenav__fallback a {
  display: block;
  padding: 0.45em 0.85em;
  border-radius: var(--eb-radius, 8px);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--eb-text, #0a1a1c);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.eb-sitenav__fallback a:hover { background: var(--eb-bg-secondary, #e0eff0); color: var(--eb-accent, #1a8a8a); }
.eb-sitenav__search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--eb-text, #0a1a1c);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.eb-sitenav__search:hover { background: var(--eb-bg-secondary, #e0eff0); color: var(--eb-accent, #1a8a8a); }
.eb-sitenav__lang {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.eb-sitenav__lang-btn {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--eb-text-muted, #4a6267);
  text-decoration: none;
  padding: 0.25em 0.5em;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.eb-sitenav__lang-btn:hover { color: var(--eb-accent, #1a8a8a); background: var(--eb-bg-secondary, #e0eff0); }
.eb-sitenav__lang-sep { font-size: 0.7rem; color: var(--eb-border, #d6e8e8); }
.eb-sitenav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: var(--eb-radius, 8px);
}
.eb-sitenav__toggle:hover { background: var(--eb-bg-secondary, #e0eff0); }
.eb-sitenav__burger,
.eb-sitenav__burger::before,
.eb-sitenav__burger::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--eb-dark, #0a1a1c);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.eb-sitenav__burger { position: relative; }
.eb-sitenav__burger::before,
.eb-sitenav__burger::after { content: ''; position: absolute; left: 0; }
.eb-sitenav__burger::before { top: -6px; }
.eb-sitenav__burger::after  { top: 6px; }
[aria-expanded="true"] .eb-sitenav__burger { background: transparent; }
[aria-expanded="true"] .eb-sitenav__burger::before { transform: rotate(45deg) translate(4px, 4px); }
[aria-expanded="true"] .eb-sitenav__burger::after  { transform: rotate(-45deg) translate(4px, -4px); }

@media (max-width: 768px) {
  .eb-sitenav__toggle { display: flex; }
  .eb-sitenav__nav {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--eb-bg, #f2f8f8);
    border-bottom: 1px solid var(--eb-border, #d6e8e8);
    padding: 1rem var(--eb-spacing-md, 1.5rem);
    box-shadow: 0 8px 24px rgba(10,26,28,.08);
  }
  .eb-sitenav__nav.eb-sitenav__nav--open { display: block; }
  .eb-sitenav__list { flex-direction: column; align-items: flex-start; gap: 0; }
  .eb-sitenav__list a { width: 100%; padding: 0.65em 0.5em; border-radius: 6px; }
  .eb-sitenav__list .sub-menu {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    background: transparent;
  }
}

/* ==========================================================================
 * FOOTER EB — Grille + légal (partagé tous templates CPT)
 * ========================================================================== */

.eb-footer {
  background: var(--eb-dark, #0a1a1c);
  color: rgba(255,255,255,.8);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem;
}
.eb-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 2.5rem 2rem;
  margin-block-end: 2.5rem;
}
@media (max-width: 960px) {
  .eb-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .eb-footer__grid { grid-template-columns: 1fr; }
}
.eb-footer__col-title { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 1rem; }
.eb-footer__logo { display: block; max-width: 140px; height: auto; opacity: .85; }
.eb-footer__logo:hover { opacity: 1; }
.eb-footer__tagline { font-size: .875rem; line-height: 1.6; color: rgba(255,255,255,.65); margin-block: .875rem 1.25rem; max-width: 28ch; }
.eb-footer__social-list { display: flex; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.eb-footer__social-link { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); transition: background .15s, color .15s; }
.eb-footer__social-link:hover { background: var(--eb-accent, #1a8a8a); color: #fff; }
.eb-footer__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.eb-footer__nav-link { font-size: .875rem; color: rgba(255,255,255,.7); text-decoration: none; transition: color .15s; }
.eb-footer__nav-link:hover { color: #fff; }
.eb-footer__nl-desc { font-size: .8rem; color: rgba(255,255,255,.65); margin: 0 0 .875rem; line-height: 1.5; }
.eb-newsletter-form--sm { flex-direction: column; }
.eb-newsletter-form--sm .eb-newsletter-form__input { min-width: 0; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.eb-newsletter-form--sm .eb-newsletter-form__input::placeholder { color: rgba(255,255,255,.5); }
.eb-footer__legal { border-top: 1px solid rgba(255,255,255,.1); padding-block-start: 1.25rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.eb-footer__copyright { font-size: .8rem; color: rgba(255,255,255,.5); margin: 0; }
.eb-footer__legal-list { display: flex; flex-wrap: wrap; gap: .25rem 1rem; list-style: none; margin: 0; padding: 0; }
.eb-footer__legal-link { font-size: .78rem; color: rgba(255,255,255,.5); text-decoration: none; }
.eb-footer__legal-link:hover { color: rgba(255,255,255,.8); text-decoration: underline; }

/* ==========================================================================
 * MATERIALS GRID — Section équipements/outils (CPT guide)
 * ========================================================================== */

.eb-guide-materials {
  margin-block: 2rem;
}
.eb-guide-materials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: 1rem;
}
@media (max-width: 768px) {
  .eb-guide-materials__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .eb-guide-materials__grid { grid-template-columns: 1fr; }
}
.eb-guide-materials__card {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .625rem .875rem;
  background: var(--eb-bg-secondary, #e0eff0);
  border: 1px solid var(--eb-border, #d6e8e8);
  border-radius: var(--eb-radius, 8px);
  font-size: .875rem;
  font-weight: 500;
  color: var(--eb-text, #0a1a1c);
  min-height: 44px;
}
.eb-guide-materials__emoji { font-size: 1.1rem; flex-shrink: 0; line-height: 1; }

/* ==========================================================================
 * SIDEBAR STEPS LIST — Liste cliquable des titres d'étapes
 * ========================================================================== */

.eb-guide-sidebar__steps {
  margin-top: .75rem;
}
.eb-guide-sidebar__steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.eb-guide-sidebar__steps-list li { counter-increment: eb-step-counter; }
.eb-guide-sidebar__steps-list { counter-reset: eb-step-counter; }
.eb-guide-sidebar__step-link {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  font-size: .8rem;
  color: var(--eb-text-muted, #4a6267);
  text-decoration: none;
  padding: .2em 0;
  transition: color .15s;
  line-height: 1.4;
}
.eb-guide-sidebar__step-link::before {
  content: counter(eb-step-counter) ".";
  flex-shrink: 0;
  font-weight: 700;
  font-size: .75rem;
  color: var(--eb-accent, #1a8a8a);
  min-width: 1.25rem;
}
.eb-guide-sidebar__step-link:hover { color: var(--eb-accent, #1a8a8a); }

/* ==========================================================================
 * GALLERY INLINE — Images intercalées dans le contenu guide
 * ========================================================================== */

.eb-gallery-inline {
  margin-block: 1.5rem;
  border-radius: var(--eb-radius, 8px);
  overflow: hidden;
}
.eb-gallery-inline--right {
  float: right;
  margin-inline-start: 1.5rem;
  max-width: 340px;
  width: 40%;
}
.eb-gallery-inline--left {
  float: left;
  margin-inline-end: 1.5rem;
  max-width: 340px;
  width: 40%;
}
.eb-gallery-inline--full {
  float: none;
  clear: both;
  max-width: 100%;
  width: 100%;
}
.eb-gallery-inline__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.eb-gallery-inline--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--eb-bg-secondary, #e0eff0);
  aspect-ratio: 4/3;
}
.eb-gallery-inline__icon { font-size: 2rem; opacity: .4; }
@media (max-width: 600px) {
  .eb-gallery-inline--right,
  .eb-gallery-inline--left {
    float: none;
    max-width: 100%;
    width: 100%;
    margin-inline: 0;
  }
}

/* ============================================================
   IMAGES PAR ÉTAPE — cards alternées texte / image (guides)
   ============================================================ */

.eb-step-row {
  clear: both; /* prevent float:right gallery from overlapping step cards */
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 0;
  align-items: stretch;
  margin: 2rem 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
  background: #fff;
}

/* Pair : image à gauche (55%), texte à droite (45%) */
.eb-step-row--even {
  grid-template-columns: 55fr 45fr;
}
.eb-step-row--even .eb-step-image {
  order: -1;
}

/* Pleine largeur (pas d'image) */
.eb-step-row--full {
  grid-template-columns: 1fr;
}

.eb-step-content {
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.eb-step-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #A8DEDE;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
}

.eb-step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0A1A1C;
  margin: 0 0 1rem 0;
}

.eb-step-content p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #3a5252;
  margin: 0;
}

.eb-step-image {
  overflow: hidden;
  min-height: 280px;
}

.eb-step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.eb-step-row:hover .eb-step-image img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .eb-step-row,
  .eb-step-row--even {
    grid-template-columns: 1fr;
  }
  .eb-step-row--even .eb-step-image {
    order: 0;
  }
  .eb-step-image {
    min-height: 200px;
  }
  .eb-step-content {
    padding: 1.5rem;
  }
  .eb-step-number {
    font-size: 2.5rem;
  }
}

/* =============================================================================
   DARK MODE — guides : step cards + materials grid
   ============================================================================= */
[data-theme="dark"] .eb-step-row {
  background: var(--eb-bg-secondary);
  box-shadow: 0 2px 12px rgba(0,0,0,.3), 0 1px 3px rgba(0,0,0,.2);
}
[data-theme="dark"] .eb-step-content h3 { color: #F2F8F8; }
[data-theme="dark"] .eb-step-content p  { color: var(--eb-text-muted); }
[data-theme="dark"] .eb-guide-materials__card {
  border-color: rgba(168,222,222,.15);
}
[data-theme="dark"] .eb-guide-sidebar__step-link {
  color: var(--eb-text-muted);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .eb-step-row {
    background: var(--eb-bg-secondary);
    box-shadow: 0 2px 12px rgba(0,0,0,.3), 0 1px 3px rgba(0,0,0,.2);
  }
  :root:not([data-theme="light"]) .eb-step-content h3 { color: #F2F8F8; }
  :root:not([data-theme="light"]) .eb-step-content p  { color: var(--eb-text-muted); }
  :root:not([data-theme="light"]) .eb-guide-materials__card {
    border-color: rgba(168,222,222,.15);
  }
  :root:not([data-theme="light"]) .eb-guide-sidebar__step-link {
    color: var(--eb-text-muted);
  }
}


/* =============================================================================
   HERO V2 — Page d'accueil (photo de fond Gemini + overlay jour uniquement)
   ============================================================================= */

.eb-hero-v2 {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.eb-hero-v2__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.eb-hero-v2:hover .eb-hero-v2__bg {
  transform: scale(1.0);
}

/* Overlay double couche — assombrit + teinte cyan */
.eb-hero-v2__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(10, 26, 28, 0.88) 0%,
      rgba(10, 26, 28, 0.72) 50%,
      rgba(15, 60, 60, 0.55) 100%
    );
}

.eb-hero-v2__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.eb-hero-v2__content {
  max-width: 620px;
}

/* Eyebrow */
.eb-hero-v2__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #A8DEDE;
  margin-bottom: 1.5rem;
}

.eb-hero-v2__eyebrow-line {
  display: block;
  width: 32px;
  height: 2px;
  background: #1A8A8A;
  flex-shrink: 0;
}

/* Titre — Inter Bold */
.eb-hero-v2__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

/* Sous-titre */
.eb-hero-v2__subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* CTAs */
.eb-hero-v2__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.eb-hero-v2__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}

.eb-hero-v2__btn--primary {
  background: #1A8A8A;
  color: #ffffff;
  border: 2px solid #1A8A8A;
}

.eb-hero-v2__btn--primary:hover {
  background: #157575;
  border-color: #157575;
  transform: translateY(-1px);
}

.eb-hero-v2__btn--ghost {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.eb-hero-v2__btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

/* Stats */
.eb-hero-v2__stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.eb-hero-v2__dot {
  color: #1A8A8A;
}

/* Responsive */
@media (max-width: 768px) {
  .eb-hero-v2 {
    min-height: 85vh;
    align-items: flex-end;
    padding-bottom: 3rem;
  }
  .eb-hero-v2__title {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }
  .eb-hero-v2__subtitle {
    font-size: 1rem;
  }
  .eb-hero-v2__ctas {
    flex-direction: column;
  }
  .eb-hero-v2__btn {
    justify-content: center;
  }
}


/* =============================================================================
   PLANTES VEDETTES — Section homepage
   ============================================================================= */

.eb-plants-featured {
  padding: 4rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.eb-plants-featured__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.eb-plants-featured__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0A1A1C;
}

.eb-plants-featured__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1A8A8A;
  text-decoration: none;
}

.eb-plants-featured__link:hover {
  text-decoration: underline;
}

.eb-plants-featured__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}

/* Grande card */
.eb-plant-card-big {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: block;
  height: 100%;
  min-height: 460px;
  text-decoration: none;
  background: #0F3C3C;
}

.eb-plant-card-big__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.eb-plant-card-big:hover .eb-plant-card-big__img {
  transform: scale(1.04);
}

.eb-plant-card-big__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,26,28,0.88) 0%,
    rgba(10,26,28,0.2) 55%,
    transparent 100%
  );
  transition: background 0.3s ease;
}

.eb-plant-card-big:hover .eb-plant-card-big__overlay {
  background: linear-gradient(
    to top,
    rgba(10,26,28,0.92) 0%,
    rgba(26,138,138,0.18) 55%,
    transparent 100%
  );
}

.eb-plant-card-big__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.eb-plant-card-big__type {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #A8DEDE;
  margin-bottom: 6px;
}

.eb-plant-card-big__name {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.eb-plant-card-big__sub {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.eb-plant-card-big__btn {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1A8A8A;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}

.eb-plant-card-big:hover .eb-plant-card-big__btn {
  background: #157575;
  transform: translateX(3px);
}

.eb-plant-card-big__img--fallback {
  background: linear-gradient(135deg, #1a4a3a, #0F3C3C);
}

/* Petites cards */
.eb-plants-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.eb-plant-card-small {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  height: 100%;
  min-height: 220px;
  background: #0F3C3C;
}

.eb-plant-card-small::before {
  content: '';
  position: absolute;
  bottom: calc(50% - 4px);
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--eb-accent, #1A8A8A);
  z-index: 3;
  box-shadow: 0 0 8px var(--eb-accent, #1A8A8A);
}

.eb-plant-card-small::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4px;
  height: 50%;
  background: var(--eb-accent, #1A8A8A);
  border-radius: 0 2px 0 0;
  z-index: 3;
}

.eb-plant-card-small__img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.eb-plant-card-small__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.eb-plant-card-small:hover .eb-plant-card-small__img {
  transform: scale(1.06);
}

.eb-plant-card-small__hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,26,28,0.82) 0%,
    rgba(10,26,28,0.1) 55%,
    transparent 100%
  );
  transition: background 0.35s ease;
}

.eb-plant-card-small:hover .eb-plant-card-small__hover-overlay {
  background: linear-gradient(
    to top,
    rgba(10,26,28,0.88) 0%,
    var(--eb-accent-rgba, rgba(26,138,138,0.55)) 60%,
    transparent 100%
  );
}

.eb-plant-card-small__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.85rem 1rem;
  z-index: 2;
}

.eb-plant-card-small__type {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #A8DEDE;
  margin-bottom: 3px;
}

.eb-plant-card-small__name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.eb-plant-card-small__img--fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a4a3a, #0F3C3C);
}

/* Responsive */
@media (max-width: 900px) {
  .eb-plants-featured__grid {
    grid-template-columns: 1fr;
  }
  .eb-plant-card-big {
    height: 300px;
    min-height: 300px;
  }
  .eb-plants-small {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
}
@media (max-width: 480px) {
  .eb-plants-small {
    grid-template-columns: 1fr;
  }
}

/* Dark mode */
[data-theme="dark"] .eb-plants-featured__title {
  color: #F2F8F8;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .eb-plants-featured__title {
    color: #F2F8F8;
  }
}
[data-theme="dark"] .eb-plant-card-small,
:root:not([data-theme="light"]) .eb-plant-card-small {
  background: #0A1A1C;
}


/* =========================================================
 * ARCHIVE PLANTES — Hero simplifié (override du hero générique)
 * ========================================================= */

.eb-archive-page--plant .eb-archive-hero {
  background: #F2F8F8;
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid #e0eded;
}

/* Masquer le div background pattern sur l'archive plantes */
.eb-archive-page--plant .eb-archive-hero__bg {
  display: none;
}

.eb-archive-page--plant .eb-archive-hero .eb-breadcrumb {
  margin-bottom: 1.25rem;
}

.eb-archive-page--plant .eb-archive-hero__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0A1A1C;
  margin-bottom: 0.5rem;
}

.eb-archive-hero__sub {
  font-size: 1rem;
  color: #5a7a7a;
  margin: 0;
}

/* =========================================================
 * ARCHIVE PLANTES — Section grid
 * ========================================================= */

.eb-plants-archive-section {
  padding: 0 0 4rem;
}

/* =========================================================
 * ARCHIVE PLANTES — Grid Option D
 * ========================================================= */

.eb-plants-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

/* ── Card D ─────────────────────────────────────────────── */

.eb-plant-card-d {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: block;
  height: 260px;
  text-decoration: none;
  background: #0F3C3C;
  cursor: pointer;
}

.eb-plant-card-d__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.eb-plant-card-d:hover .eb-plant-card-d__img {
  transform: scale(1.06);
}

.eb-plant-card-d__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,26,28,0.72) 0%,
    transparent 55%,
    rgba(10,26,28,0.45) 100%
  );
  transition: background 0.3s ease;
}

.eb-plant-card-d:hover .eb-plant-card-d__overlay {
  background: linear-gradient(
    135deg,
    rgba(10,26,28,0.82) 0%,
    rgba(26,138,138,0.15) 55%,
    rgba(10,26,28,0.55) 100%
  );
}

/* Accent géométrique coin haut droit */
.eb-plant-card-d__geo {
  position: absolute;
  top: 0;
  right: 0;
  width: 70px;
  height: 70px;
  border-radius: 0 16px 0 100%;
}

/* Numéro discret */
.eb-plant-card-d__num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(168,222,222,0.55);
}

/* Corps bas */
.eb-plant-card-d__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.eb-plant-card-d__name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 3px;
}

.eb-plant-card-d__type {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #A8DEDE;
}

/* Bouton glassmorphism */
.eb-plant-card-d__btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(168,222,222,0.15);
  border: 1px solid rgba(168,222,222,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A8DEDE;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.eb-plant-card-d:hover .eb-plant-card-d__btn {
  background: rgba(168,222,222,0.3);
  transform: translateX(3px);
}

/* ── Responsive ────────────────────────────────────────── */

@media (max-width: 1200px) {
  .eb-plants-archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .eb-plants-archive-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1rem;
    gap: 12px;
    margin: 2rem auto;
  }
  .eb-plant-card-d { height: 200px; }
}

@media (max-width: 480px) {
  .eb-plants-archive-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Dark mode ─────────────────────────────────────────── */

[data-theme="dark"] .eb-archive-page--plant .eb-archive-hero,
:root:not([data-theme="light"]) .eb-archive-page--plant .eb-archive-hero {
  background: #0A1A1C;
  border-bottom-color: rgba(168,222,222,0.1);
}

[data-theme="dark"] .eb-archive-page--plant .eb-archive-hero__title,
:root:not([data-theme="light"]) .eb-archive-page--plant .eb-archive-hero__title {
  color: #F2F8F8;
}

[data-theme="dark"] .eb-archive-hero__sub,
:root:not([data-theme="light"]) .eb-archive-hero__sub {
  color: #8ab8b8;
}



/* =========================================================
 * Footer — éléments désactivés (liens à venir)
 * ========================================================= */

.eb-footer-link-disabled {
    color: var(--eb-text-muted, #6b7280);
    cursor: default;
    opacity: 0.5;
    font-size: inherit;
}

.eb-social-icon.eb-social-disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}


/* =========================================================
 * LA SERRE — home.php (page blog)
 * ========================================================= */

.eb-serre-hero {
    background: linear-gradient(135deg, #0A1A1C 0%, #0F3C3C 60%, #1A6060 100%);
    padding: 5rem 2rem 4rem;
    text-align: center;
    color: #fff;
}

.eb-serre-hero__inner {
    max-width: 620px;
    margin: 0 auto;
}

.eb-serre-hero__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--eb-accent-light, #A8DEDE);
    margin-bottom: 1rem;
}

.eb-serre-hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.1;
}

.eb-serre-hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

.eb-serre-grid-wrap {
    padding: 3rem 0 4rem;
}

.eb-serre-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 900px) {
    .eb-serre-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 580px) {
    .eb-serre-grid {
        grid-template-columns: 1fr;
    }
    .eb-serre-hero {
        padding: 3.5rem 1.5rem 3rem;
    }
}

.eb-serre-card {
    background: var(--eb-bg, #fff);
    border: 0.5px solid var(--eb-border, #d8eaec);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.eb-serre-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(10, 26, 28, 0.10);
}

.eb-serre-card__img-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--eb-bg-secondary, #e0eff0);
}

.eb-serre-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.eb-serre-card:hover .eb-serre-card__img {
    transform: scale(1.04);
}

.eb-serre-card__body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.eb-serre-card__cats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.eb-serre-card__cat {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--eb-accent, #1A8A8A);
    text-decoration: none;
    background: rgba(26, 138, 138, 0.08);
    padding: 2px 8px;
    border-radius: 20px;
    transition: background 0.15s;
}

.eb-serre-card__cat:hover {
    background: rgba(26, 138, 138, 0.16);
}

.eb-serre-card__title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.eb-serre-card__title a {
    color: var(--eb-text, #0A1A1C);
    text-decoration: none;
}

.eb-serre-card__title a:hover {
    color: var(--eb-accent, #1A8A8A);
}

.eb-serre-card__excerpt {
    font-size: 0.875rem;
    color: var(--eb-text-muted, #5a7a80);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.eb-serre-card__meta {
    font-size: 0.78rem;
    color: var(--eb-text-muted, #5a7a80);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.4rem;
}

.eb-serre-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--eb-text-muted, #5a7a80);
    font-size: 1rem;
}

.eb-serre-pagination {
    text-align: center;
    padding-top: 1rem;
}

.eb-serre-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--eb-text, #0A1A1C);
    text-decoration: none;
    border: 1px solid var(--eb-border, #d8eaec);
    margin: 0 2px;
    transition: background 0.15s, color 0.15s;
}

.eb-serre-pagination .page-numbers.current,
.eb-serre-pagination .page-numbers:hover {
    background: var(--eb-accent, #1A8A8A);
    color: #fff;
    border-color: var(--eb-accent, #1A8A8A);
}


/* =========================================================
 * HOMEPAGE — Section "À la une" : cards horizontales compactes
 * ========================================================= */

.eb-featured-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 900px) {
    .eb-featured-list {
        grid-template-columns: 1fr;
    }
}

.eb-featured-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--eb-bg, #fff);
    border: 0.5px solid var(--eb-border, #d8eaec);
    border-radius: 12px;
    padding: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}

.eb-featured-item:hover {
    box-shadow: 0 4px 16px rgba(10, 26, 28, 0.08);
    transform: translateY(-2px);
}

.eb-featured-item__img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--eb-bg-secondary, #e0eff0);
}

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

.eb-featured-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.eb-featured-item__cat {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--eb-accent, #1A8A8A);
}

.eb-featured-item__title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--eb-text, #0A1A1C);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eb-featured-item__date {
    font-size: 0.75rem;
    color: var(--eb-text-muted, #5a7a80);
}

.eb-featured-empty {
    color: var(--eb-text-muted, #5a7a80);
    font-size: 0.9rem;
    padding: 1rem 0;
}


/* =========================================================
 * ARTICLE BLOG — single-post.php  (.eb-post-*)
 * ========================================================= */

/* --- Hero ------------------------------------------------ */
.eb-post-hero {
    position: relative;
    height: 480px;
    overflow: hidden;
    background: var(--eb-bg-alt, #1a2e2e);
}

.eb-post-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.eb-post-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.65) 100%
    );
}

.eb-post-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 2rem 2rem;
    color: #fff;
}

.eb-post-hero__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.eb-post-cat-badge {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--eb-accent, #2c7a7b);
    color: #fff;
    text-decoration: none;
}

.eb-post-cat-badge:hover {
    background: var(--eb-accent-dark, #1a5e5e);
    color: #fff;
}

.eb-post-hero__title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: #fff;
}

.eb-post-hero__byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
}

.eb-post-hero__byline a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
}

.eb-post-hero__byline a:hover {
    color: #fff;
    text-decoration: underline;
}

.eb-post-hero__sep {
    opacity: 0.5;
    font-size: 0.75rem;
}

/* --- Layout (sidebar + article) -------------------------- */
.eb-post-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    align-items: start;
}

/* --- Sidebar --------------------------------------------- */
.eb-post-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Table of contents */
.eb-post-toc {
    background: var(--eb-bg-alt, #f4f9f9);
    border: 1px solid var(--eb-border, #d1e5e5);
    border-radius: 12px;
    padding: 1.25rem 1.25rem 1rem;
}

.eb-post-toc__title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--eb-text-muted, #6b7280);
    margin: 0 0 0.75rem;
}

.eb-post-toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.eb-post-toc__item {
    display: block;
}

.eb-post-toc__link {
    display: block;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--eb-text, #1a2e2e);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.eb-post-toc__link:hover {
    background: var(--eb-accent-bg, rgba(44, 122, 123, 0.08));
    color: var(--eb-accent, #2c7a7b);
}

.eb-post-toc__link--active {
    background: var(--eb-accent-bg, rgba(44, 122, 123, 0.12));
    color: var(--eb-accent, #2c7a7b);
    font-weight: 600;
}

/* Share buttons */
.eb-post-share {
    background: var(--eb-bg-alt, #f4f9f9);
    border: 1px solid var(--eb-border, #d1e5e5);
    border-radius: 12px;
    padding: 1.25rem;
}

.eb-post-share__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--eb-text-muted, #6b7280);
    display: block;
    margin: 0 0 0.75rem;
}

.eb-post-share__buttons {
    display: flex;
    gap: 8px;
}

/* Boutons ronds compacts */
.eb-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--eb-border, #c8dede);
    background: transparent;
    color: var(--eb-text-muted, #6b7280);
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.eb-share-btn:hover {
    border-color: var(--eb-accent, #1A8A8A);
    color: var(--eb-accent, #1A8A8A);
    background: rgba(26, 138, 138, 0.08);
}

.eb-share-btn svg {
    display: block;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    pointer-events: none;
    color: inherit;
    stroke: currentColor;
    fill: none;
}

/* Pour X et FB dont le fill est utilisé */
.eb-share-btn--x svg,
.eb-share-btn--fb svg {
    fill: currentColor;
    stroke: none;
}

.eb-share-btn--copy.copied {
    border-color: #22c55e;
    color: #22c55e;
}

.eb-share-btn--copy.copied svg {
    stroke: #22c55e;
}

/* --- Article body ---------------------------------------- */
.eb-post-body {
    min-width: 0;
}

.eb-post-body h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.65rem);
    font-weight: 700;
    color: var(--eb-text, #1a2e2e);
    margin: 2.5rem 0 1rem;
    padding-top: 0.5rem;
    scroll-margin-top: 110px;
}

.eb-post-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--eb-text, #1a2e2e);
    margin: 1.75rem 0 0.75rem;
    scroll-margin-top: 110px;
}

.eb-post-body p {
    line-height: 1.75;
    color: var(--eb-text, #1a2e2e);
    margin-bottom: 1.1rem;
}

.eb-post-body ul,
.eb-post-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.1rem;
}

.eb-post-body li {
    line-height: 1.7;
    margin-bottom: 0.3rem;
    color: var(--eb-text, #1a2e2e);
}

.eb-post-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.eb-post-body th,
.eb-post-body td {
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--eb-border, #d1e5e5);
    text-align: left;
    vertical-align: top;
}

.eb-post-body th {
    background: var(--eb-bg-alt, #f4f9f9);
    font-weight: 600;
    color: var(--eb-text, #1a2e2e);
}

.eb-post-body strong {
    font-weight: 700;
    color: var(--eb-text, #1a2e2e);
}

.eb-post-body a {
    color: var(--eb-accent, #2c7a7b);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.eb-post-body a:hover {
    color: var(--eb-accent-dark, #1a5e5e);
}

/* --- Figures inline -------------------------------------- */
.eb-post-figure {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.eb-post-figure img {
    width: 100%;
    height: auto;
    display: block;
}

.eb-post-figure__caption {
    padding: 0.6rem 0.9rem;
    font-size: 0.8rem;
    color: var(--eb-text-muted, #6b7280);
    background: var(--eb-bg-alt, #f4f9f9);
    font-style: italic;
    border-top: 1px solid var(--eb-border, #d1e5e5);
}

/* --- Tags ------------------------------------------------ */
.eb-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2.5rem 0 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--eb-border, #d1e5e5);
}

.eb-post-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    background: var(--eb-bg-alt, #f4f9f9);
    color: var(--eb-text-muted, #6b7280);
    border: 1px solid var(--eb-border, #d1e5e5);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.eb-post-tag:hover {
    background: var(--eb-accent-bg, rgba(44, 122, 123, 0.1));
    color: var(--eb-accent, #2c7a7b);
    border-color: var(--eb-accent, #2c7a7b);
}

/* --- FAQ ------------------------------------------------- */
.eb-post-faq {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--eb-bg-alt, #f8fbfb);
    border-radius: 16px;
    border: 0.5px solid var(--eb-border, #c8dede);
}

.eb-post-faq__title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--eb-text, #0A1A1C);
    margin: 0 0 1.5rem;
}

.eb-post-faq__list {
    /* conteneur des items */
}

.eb-post-faq__item {
    border-bottom: 0.5px solid var(--eb-border, #c8dede);
}

.eb-post-faq__item:last-child {
    border-bottom: none;
}

.eb-post-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1rem 0;
    background: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--eb-text, #0A1A1C);
    transition: color 0.15s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.eb-post-faq__question:hover,
.eb-post-faq__question:focus,
.eb-post-faq__question:active {
    background: none;
    background-color: transparent;
    color: var(--eb-accent, #1A8A8A);
}

.eb-post-faq__question:focus {
    outline: none;
    box-shadow: none;
}

.eb-post-faq__question:focus-visible {
    outline: 2px solid var(--eb-accent, #1A8A8A);
    outline-offset: 2px;
    border-radius: 4px;
}

.eb-post-faq__question[aria-expanded="true"] {
    color: var(--eb-accent, #1A8A8A);
}

.eb-post-faq__icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    transition: transform 0.25s;
    color: var(--eb-accent, #1A8A8A);
}

.eb-post-faq__question[aria-expanded="true"] .eb-post-faq__icon {
    transform: rotate(180deg);
}

.eb-post-faq__answer {
    padding: 0 0 1rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--eb-text-muted, #4b5563);
}

.eb-post-faq__answer[hidden] {
    display: none;
}

.eb-post-faq__answer p {
    margin: 0;
}

/* --- Author card ----------------------------------------- */
.eb-post-author-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--eb-bg-alt, #f4f9f9);
    border: 1px solid var(--eb-border, #d1e5e5);
    border-radius: 14px;
    margin: 2.5rem 0;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
}

.eb-post-author-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.eb-post-author-card__avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--eb-accent, #2c7a7b);
    display: flex;
    align-items: center;
    justify-content: center;
}

.eb-post-author-card__initials {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.eb-post-author-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eb-post-author-card__info {
    flex: 1;
    min-width: 0;
}

.eb-post-author-card__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--eb-text-muted, #6b7280);
    margin-bottom: 0.25rem;
}

.eb-post-author-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--eb-text, #1a2e2e);
    margin-bottom: 0.4rem;
}

.eb-post-author-card__bio {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--eb-text-muted, #6b7280);
}

/* --- Related posts --------------------------------------- */
.eb-post-related {
    margin: 3rem 0 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--eb-border, #d1e5e5);
}

.eb-post-related__heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--eb-text, #1a2e2e);
    margin: 0 0 1.5rem;
}

.eb-post-related__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.eb-post-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--eb-border, #d1e5e5);
    border-radius: 12px;
    overflow: hidden;
    background: var(--eb-bg, #fff);
    transition: box-shadow 0.2s, transform 0.15s;
}

.eb-post-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.eb-post-card__fig {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--eb-bg-alt, #f4f9f9);
}

.eb-post-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.eb-post-card:hover .eb-post-card__img {
    transform: scale(1.04);
}

.eb-post-card__body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.eb-post-card__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--eb-text, #1a2e2e);
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.eb-post-card__link {
    color: inherit;
    text-decoration: none;
}

.eb-post-card__link:hover {
    color: var(--eb-accent, #2c7a7b);
}

.eb-post-card__date {
    font-size: 0.75rem;
    color: var(--eb-text-muted, #6b7280);
    margin-top: auto;
    padding-top: 0.5rem;
}

.eb-post-card__read-more {
    display: inline-block;
    margin-top: 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--eb-accent, #2c7a7b);
    text-decoration: none;
}

.eb-post-card__read-more:hover {
    text-decoration: underline;
}

/* --- Breadcrumb ------------------------------------------ */
.eb-post-breadcrumb {
    background: var(--eb-bg-alt, #F2F8F8);
    padding: 0.6rem 2rem;
    font-size: 0.82rem;
    color: var(--eb-text-muted, #6b7280);
    border-bottom: 0.5px solid var(--eb-border, #c8dede);
}

.eb-post-breadcrumb .eb-breadcrumb {
    margin: 0;
}

.eb-post-breadcrumb a {
    color: var(--eb-accent, #1A8A8A);
    text-decoration: none;
}

.eb-post-breadcrumb a:hover {
    text-decoration: underline;
}

/* --- Hero sans image (infographie) ----------------------- */
.eb-post-hero--no-image {
    background: linear-gradient(135deg, #0A1A1C 0%, #0F3C3C 60%, #1A6060 100%);
    height: 320px;
    display: flex;
    align-items: flex-end;
}

.eb-post-hero--no-image .eb-post-hero__overlay {
    background: transparent;
}

/* --- Infographie inline ---------------------------------- */
.eb-post-infographic {
    margin: 2rem -1rem;
    text-align: center;
}

.eb-post-infographic__img {
    width: 100%;
    max-width: 860px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(10, 26, 28, 0.12);
}

@media (max-width: 768px) {
    .eb-post-infographic {
        margin: 1.5rem 0;
    }
}

/* =========================================================
 * DARK MODE — .eb-post-*
 * ========================================================= */

[data-theme="dark"] .eb-post-toc,
:root:not([data-theme="light"]) .eb-post-toc,
[data-theme="dark"] .eb-post-share,
:root:not([data-theme="light"]) .eb-post-share {
    background: var(--eb-bg-alt);
    border-color: var(--eb-border);
}

[data-theme="dark"] .eb-post-toc__link,
:root:not([data-theme="light"]) .eb-post-toc__link {
    color: var(--eb-text);
}

[data-theme="dark"] .eb-post-body h2,
:root:not([data-theme="light"]) .eb-post-body h2,
[data-theme="dark"] .eb-post-body h3,
:root:not([data-theme="light"]) .eb-post-body h3,
[data-theme="dark"] .eb-post-body p,
:root:not([data-theme="light"]) .eb-post-body p,
[data-theme="dark"] .eb-post-body li,
:root:not([data-theme="light"]) .eb-post-body li,
[data-theme="dark"] .eb-post-body strong,
:root:not([data-theme="light"]) .eb-post-body strong,
[data-theme="dark"] .eb-post-body td,
:root:not([data-theme="light"]) .eb-post-body td {
    color: var(--eb-text);
}

[data-theme="dark"] .eb-post-body th,
:root:not([data-theme="light"]) .eb-post-body th {
    background: var(--eb-bg-alt);
    color: var(--eb-text);
}

[data-theme="dark"] .eb-post-body table,
:root:not([data-theme="light"]) .eb-post-body table,
[data-theme="dark"] .eb-post-body th,
:root:not([data-theme="light"]) .eb-post-body th,
[data-theme="dark"] .eb-post-body td,
:root:not([data-theme="light"]) .eb-post-body td {
    border-color: var(--eb-border);
}

[data-theme="dark"] .eb-post-figure__caption,
:root:not([data-theme="light"]) .eb-post-figure__caption {
    background: var(--eb-bg-alt);
    border-color: var(--eb-border);
    color: var(--eb-text-muted);
}

[data-theme="dark"] .eb-post-tag,
:root:not([data-theme="light"]) .eb-post-tag {
    background: var(--eb-bg-alt);
    border-color: var(--eb-border);
    color: var(--eb-text-muted);
}

[data-theme="dark"] .eb-post-breadcrumb,
:root:not([data-theme="light"]) .eb-post-breadcrumb {
    background: var(--eb-bg-alt);
    border-color: var(--eb-border);
}

[data-theme="dark"] .eb-share-btn,
:root:not([data-theme="light"]) .eb-share-btn {
    border-color: var(--eb-border);
    color: var(--eb-text-muted);
}

[data-theme="dark"] .eb-post-faq,
:root:not([data-theme="light"]) .eb-post-faq {
    background: rgba(26, 138, 138, 0.06);
    border-color: var(--eb-border);
}

[data-theme="dark"] .eb-post-faq__item,
:root:not([data-theme="light"]) .eb-post-faq__item {
    border-color: var(--eb-border);
}

[data-theme="dark"] .eb-post-faq__question,
:root:not([data-theme="light"]) .eb-post-faq__question {
    color: var(--eb-text);
}

[data-theme="dark"] .eb-post-faq__answer,
:root:not([data-theme="light"]) .eb-post-faq__answer {
    color: var(--eb-text-muted);
}

[data-theme="dark"] .eb-post-author-card,
:root:not([data-theme="light"]) .eb-post-author-card {
    background: var(--eb-bg-alt);
    border-color: var(--eb-border);
}

[data-theme="dark"] .eb-post-author-card__name,
:root:not([data-theme="light"]) .eb-post-author-card__name {
    color: var(--eb-text);
}

[data-theme="dark"] .eb-post-card,
:root:not([data-theme="light"]) .eb-post-card {
    background: var(--eb-bg);
    border-color: var(--eb-border);
}

[data-theme="dark"] .eb-post-card__title,
:root:not([data-theme="light"]) .eb-post-card__title {
    color: var(--eb-text);
}

[data-theme="dark"] .eb-post-card__fig,
:root:not([data-theme="light"]) .eb-post-card__fig {
    background: var(--eb-bg-alt);
}

[data-theme="dark"] .eb-post-related__heading,
:root:not([data-theme="light"]) .eb-post-related__heading,
[data-theme="dark"] .eb-post-faq__title,
:root:not([data-theme="light"]) .eb-post-faq__title,
[data-theme="dark"] .eb-post-hero__title,
:root:not([data-theme="light"]) .eb-post-hero__title {
    color: var(--eb-text);
}

[data-theme="dark"] .eb-post-tags,
:root:not([data-theme="light"]) .eb-post-tags,
[data-theme="dark"] .eb-post-related,
:root:not([data-theme="light"]) .eb-post-related {
    border-color: var(--eb-border);
}

[data-theme="dark"] .eb-post-body a,
:root:not([data-theme="light"]) .eb-post-body a {
    color: var(--eb-accent);
}

/* =========================================================
 * RESPONSIVE — .eb-post-*
 * ========================================================= */

@media (max-width: 900px) {
    .eb-post-layout {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem;
        gap: 0;
    }

    .eb-post-sidebar {
        position: static;
        order: 2;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 2.5rem;
        padding-top: 2rem;
        border-top: 1px solid var(--eb-border, #d1e5e5);
    }

    .eb-post-toc,
    .eb-post-share {
        flex: 1 1 260px;
    }

    .eb-post-body {
        order: 1;
    }

    .eb-post-hero {
        height: 340px;
    }

    .eb-post-hero__title {
        font-size: 1.4rem;
    }

    .eb-post-related__list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 580px) {
    .eb-post-hero {
        height: 260px;
    }

    .eb-post-hero__content {
        padding: 1.5rem 1rem 1rem;
    }

    .eb-post-share__btns {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .eb-post-share__btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .eb-post-related__list {
        grid-template-columns: 1fr;
    }

    .eb-post-author-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


/* -------------------------------------------------------
   Fix header sticky — compensation scroll (ancres + encarts)
   scroll-padding-top sur html = méthode la plus fiable
   scroll-margin-top en backup pour compatibilité maximale
   ------------------------------------------------------- */
html {
    scroll-padding-top: 90px;
}

.eb-guide-summary,
.eb-plant-characteristics,
h2, h3 {
    scroll-margin-top: 90px;
}
/* -------------------------------------------------------
   Sidebar sticky — compensation header dynamique
   header initial : ~140px | header après scroll : 72px
   body.is-scrolled ajouté par eb-animations.js (scrollY>60)
   ------------------------------------------------------- */
body.is-scrolled .eb-guide-sidebar,
body.is-scrolled .eb-plant-sidebar {
    top: 90px;
}
