/* =========================================================
   Green & Vape — main.css
   Magazine éditorial. Palette vert olive + doré.
   ========================================================= */

:root {
    --gv-green:        #6B8E4E;
    --gv-green-dark:   #4F6B38;
    --gv-green-light:  #F4F7EE;
    --gv-green-border: #E1E8D4;
    --gv-gold:         #C9A227;
    --gv-gold-dark:    #A8851A;
    --gv-ink:          #1F2A1A;
    --gv-ink-soft:     #3B4A33;
    --gv-muted:        #5A6A4F;
    --gv-line:         #E5E8DD;
    --gv-bg:           #FFFFFF;
    --gv-bg-soft:      #FAFBF7;
    --gv-warn:         #B3541E;

    --gv-radius:       4px;
    --gv-radius-lg:    12px;
    --gv-shadow-sm:    0 1px 2px rgba(31,42,26,.06);
    --gv-shadow:       0 6px 24px rgba(31,42,26,.08);

    --gv-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --gv-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

    --gv-container:    1200px;
    --gv-container-narrow: 760px;
}

/* ---------- Reset léger ---------- */
body.wp-singular,
body {
    font-family: var(--gv-font-body);
    color: var(--gv-ink);
    background: var(--gv-bg);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

.wp-site-blocks,
.site {
    background: var(--gv-bg);
}

/* Override GeneratePress defaults */
.inside-article,
.inside-content,
.site-content,
#page {
    background: transparent !important;
}

.hentry { margin-bottom: 0; }

/* ---------- Typo ---------- */
h1, h2, h3, h4 {
    font-family: var(--gv-font-display);
    color: var(--gv-ink);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; font-weight: 600; font-family: var(--gv-font-body); }

a { color: var(--gv-green-dark); text-decoration: none; }
a:hover { color: var(--gv-green); text-decoration: underline; text-underline-offset: 3px; }

p { margin: 0 0 1.2em; }
strong { color: var(--gv-ink); }

/* ---------- Container ---------- */
.gv-container {
    width: 100%;
    max-width: var(--gv-container);
    margin: 0 auto;
    padding: 0 24px;
}
.gv-container--narrow { max-width: var(--gv-container-narrow); }

/* ---------- Boutons ---------- */
.gv-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: all .2s ease;
    cursor: pointer;
    text-decoration: none !important;
    line-height: 1;
}
.gv-btn--primary {
    background: var(--gv-green);
    color: #fff !important;
}
.gv-btn--primary:hover {
    background: var(--gv-green-dark);
    transform: translateY(-1px);
    box-shadow: var(--gv-shadow);
}
.gv-btn--ghost {
    background: transparent;
    color: var(--gv-green-dark) !important;
    border-color: var(--gv-green-border);
}
.gv-btn--ghost:hover { background: var(--gv-green-light); }
.gv-btn--gold {
    background: var(--gv-gold);
    color: #fff !important;
}
.gv-btn--gold:hover { background: var(--gv-gold-dark); }

.gv-btn .arrow { transition: transform .2s; }
.gv-btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.gv-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--gv-line);
}
.gv-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    height: 128px;
}
.gv-logo {
    font-family: var(--gv-font-display);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--gv-ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
}
.gv-logo:hover { color: var(--gv-green-dark); text-decoration: none; }
.gv-logo__leaf {
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--gv-green);
    color: #fff;
    border-radius: 50%;
    font-size: 1rem;
}
.gv-logo__amp { color: var(--gv-gold); font-weight: 400; }
.gv-logo__img { height: 115px; width: auto; display: block; }

.gv-nav { display: flex; align-items: center; gap: 2px; }
.gv-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    color: var(--gv-ink);
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.gv-nav__icon {
    width: 18px;
    height: 18px;
    color: var(--gv-green);
    flex-shrink: 0;
    transition: color .15s ease;
}
.gv-nav a:hover .gv-nav__icon { color: var(--gv-green-dark); }
.gv-nav a { text-decoration: none; }
.gv-nav a::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 6px;
    height: 2px;
    background: var(--gv-green);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease, opacity .2s ease;
}
.gv-nav a:hover {
    color: var(--gv-green-dark);
    text-decoration: none;
}
.gv-nav a:hover::after { opacity: 1; transform: scaleX(1); }

.gv-header__cta { display: flex; align-items: center; gap: 12px; }

.gv-burger { display: none; }

/* ---------- Promo bar ---------- */
.gv-promo {
    background: var(--gv-ink);
    color: #fff;
    text-align: center;
    font-size: 0.85rem;
    padding: 8px 16px;
    letter-spacing: 0.02em;
}
.gv-promo a { color: var(--gv-gold); font-weight: 600; }

/* ---------- Hero homepage ---------- */
.gv-hero {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, var(--gv-green-light) 0%, #fff 100%);
    border-bottom: 1px solid var(--gv-line);
    text-align: center;
}
.gv-hero__eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gv-green-dark);
    margin-bottom: 20px;
}
.gv-hero__title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    max-width: 760px;
    margin: 0 auto 20px;
    font-weight: 700;
}
.gv-hero__sub {
    font-size: 1.15rem;
    color: var(--gv-muted);
    max-width: 560px;
    margin: 0 auto 32px;
}
.gv-hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Section ---------- */
.gv-section {
    padding: 72px 0;
    border-bottom: 1px solid var(--gv-line);
}
.gv-section:last-of-type { border-bottom: 0; }
.gv-section__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.gv-section__title {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    margin: 0;
}
.gv-section__tagline {
    color: var(--gv-muted);
    margin: 6px 0 0;
    font-size: 0.95rem;
}
.gv-section__link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gv-green-dark);
    display: inline-flex; align-items: center; gap: 6px;
}
.gv-section__link:hover { gap: 10px; text-decoration: none; }

/* ---------- Cartes articles ---------- */
.gv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}
.gv-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--gv-radius-lg);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.gv-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--gv-shadow);
}
.gv-card__media {
    aspect-ratio: 16 / 9;
    background: var(--gv-green-light);
    overflow: hidden;
    position: relative;
    display: block;
}
.gv-card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.gv-card:hover .gv-card__media img { transform: scale(1.04); }

/* Placeholder gradients par silo (quand pas de featured image) */
.gv-card__placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 3.2rem;
    color: rgba(255,255,255,.45);
}
.gv-card__media--puff                 { background: linear-gradient(135deg, #8BAE5F 0%, #5C7E3C 100%); }
.gv-card__media--cigarette-electronique { background: linear-gradient(135deg, #6B8E4E 0%, #3D5428 100%); }
.gv-card__media--e-liquide            { background: linear-gradient(135deg, #A2B97A 0%, #6B8E4E 100%); }
.gv-card__media--sevrage-tabagique    { background: linear-gradient(135deg, #D4B84D 0%, #8E7621 100%); }
.gv-card__media--actualites           { background: linear-gradient(135deg, #3B4A33 0%, #1F2A1A 100%); }
.gv-card__media--default              { background: linear-gradient(135deg, #8BAE5F 0%, #4F6B38 100%); }

.gv-card__body { padding: 20px 4px 8px; }
.gv-card__badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gv-green-dark);
    background: var(--gv-green-light);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.gv-card__title {
    font-size: 1.2rem;
    line-height: 1.35;
    margin: 0 0 10px;
    font-weight: 600;
}
.gv-card__title a { color: var(--gv-ink); }
.gv-card__title a:hover { color: var(--gv-green-dark); text-decoration: none; }
.gv-card__meta {
    font-size: 0.82rem;
    color: var(--gv-muted);
    display: flex; gap: 12px; align-items: center;
}

/* Featured card (1er article de section, plus gros) */
.gv-grid--featured {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 32px;
}
.gv-grid--featured > .gv-card:first-child {
    grid-row: span 2;
}
.gv-grid--featured > .gv-card:first-child .gv-card__title { font-size: 1.6rem; }
.gv-grid--featured > .gv-card:first-child .gv-card__media { aspect-ratio: 4 / 3; }

@media (max-width: 900px) {
    .gv-grid--featured {
        grid-template-columns: 1fr;
    }
    .gv-grid--featured > .gv-card:first-child { grid-row: auto; }
}

/* ---------- Breadcrumb ---------- */
.gv-breadcrumb {
    max-width: var(--gv-container-narrow);
    margin: 0 auto 24px;
    font-size: 0.82rem;
    color: var(--gv-ink-soft);
}
.gv-breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.gv-breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.gv-breadcrumb li + li::before {
    content: "›";
    color: var(--gv-line);
    font-weight: 500;
}
.gv-breadcrumb a { color: var(--gv-ink-soft); }
.gv-breadcrumb a:hover { color: var(--gv-green-dark); text-decoration: none; }
.gv-breadcrumb [aria-current="page"] { color: var(--gv-ink); font-weight: 500; }

/* ---------- Reading progress bar ---------- */
.gv-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    z-index: 200;
    background: transparent;
    pointer-events: none;
}
.gv-progress span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gv-green) 0%, var(--gv-green-dark) 100%);
    transition: width .08s linear;
}

/* ---------- Single article ---------- */
.gv-article { padding: 32px 0 72px; }
.gv-article__header {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}
.gv-article__category {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gv-green-dark);
    margin-bottom: 16px;
}
.gv-article__title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin: 0 0 20px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
    text-wrap: balance;
}
.gv-article__lead {
    font-size: 1.25rem;
    color: var(--gv-ink-soft);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.5;
    text-wrap: pretty;
}
.gv-article__meta {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--gv-muted);
    margin-top: 20px;
}
.gv-article__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.gv-article__meta-item svg {
    width: 15px;
    height: 15px;
    color: var(--gv-green);
    flex-shrink: 0;
}
.gv-article__meta-item--updated { color: var(--gv-green-dark); font-weight: 500; }

.gv-article__featured {
    max-width: 1100px;
    margin: 0 auto 56px;
    border-radius: var(--gv-radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--gv-green-light);
}
.gv-article__featured img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Layout : contenu + TOC sticky desktop ---------- */
.gv-article__layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 720px);
    gap: 56px;
    max-width: 1080px;
    margin: 0 auto;
    align-items: start;
}
.gv-article__aside {
    position: sticky;
    top: 104px;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    padding-right: 4px;
}

/* ---------- Contenu prose ---------- */
.gv-article__content {
    font-family: var(--gv-font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gv-ink);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    hyphens: auto;
}
.gv-article__content > p,
.gv-article__content > ul,
.gv-article__content > ol,
.gv-article__content > figure,
.gv-article__content > blockquote { text-wrap: pretty; }

.gv-article__content > p { margin: 0 0 1.4em; }

/* Premier paragraphe = lead */
.gv-article__content > p:first-of-type {
    font-size: 1.22rem;
    line-height: 1.55;
    color: var(--gv-ink);
}

/* H2 avec marqueur visuel + lien d'ancrage */
.gv-article__content h2 {
    position: relative;
    margin: 2.6em 0 0.7em;
    padding-left: 16px;
    font-size: 1.9rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    scroll-margin-top: 110px;
}
.gv-article__content h2::before {
    content: "";
    position: absolute;
    left: 0; top: 0.18em; bottom: 0.22em;
    width: 4px;
    border-radius: 2px;
    background: var(--gv-green);
}
.gv-article__content h2 .gv-anchor {
    margin-left: 8px;
    opacity: 0;
    color: var(--gv-green);
    text-decoration: none;
    font-weight: 400;
    transition: opacity .15s;
}
.gv-article__content h2:hover .gv-anchor { opacity: 1; }

.gv-article__content h3 {
    margin: 2em 0 0.6em;
    font-size: 1.4rem;
    line-height: 1.25;
    scroll-margin-top: 110px;
}

/* Listes — bullets/numéros custom */
.gv-article__content ul,
.gv-article__content ol {
    margin: 0 0 1.5em 0;
    padding-left: 0;
    list-style: none;
}
.gv-article__content ul li,
.gv-article__content ol li {
    position: relative;
    padding-left: 28px;
    margin-bottom: .55em;
}
.gv-article__content ul li::before {
    content: "";
    position: absolute;
    left: 8px; top: 0.65em;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gv-green);
}
.gv-article__content ol { counter-reset: olc; }
.gv-article__content ol li {
    counter-increment: olc;
}
.gv-article__content ol li::before {
    content: counter(olc) ".";
    position: absolute;
    left: 0; top: 0;
    font-family: var(--gv-font-display);
    font-weight: 600;
    color: var(--gv-green-dark);
    width: 24px;
}
.gv-article__content li > ul,
.gv-article__content li > ol { margin-top: .5em; }

/* Blockquote — pull-quote magazine */
.gv-article__content blockquote {
    margin: 2.2em 0;
    padding: 8px 0 8px 28px;
    border-left: 3px solid var(--gv-green);
    font-family: var(--gv-font-display);
    font-style: italic;
    font-size: 1.35rem;
    line-height: 1.4;
    color: var(--gv-ink);
}
.gv-article__content blockquote p { margin: 0 0 .5em; }
.gv-article__content blockquote cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-family: var(--gv-font-body);
    font-size: 0.9rem;
    color: var(--gv-muted);
    letter-spacing: 0.02em;
}

/* Images + captions */
.gv-article__content img {
    border-radius: var(--gv-radius-lg);
    margin: 1.8em 0;
    width: 100%;
    height: auto;
    display: block;
}
.gv-article__content figure { margin: 1.8em 0; }
.gv-article__content figure img { margin: 0; }
.gv-article__content figcaption {
    margin-top: 10px;
    font-size: 0.88rem;
    color: var(--gv-muted);
    text-align: center;
    font-style: italic;
    line-height: 1.5;
}

/* Liens */
.gv-article__content a {
    color: var(--gv-green-dark);
    text-decoration: underline;
    text-decoration-color: var(--gv-green-border);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: text-decoration-color .15s;
}
.gv-article__content a:hover { text-decoration-color: var(--gv-green); }

/* Strong & em */
.gv-article__content strong { color: var(--gv-ink); font-weight: 600; }

/* Code inline */
.gv-article__content code {
    background: var(--gv-bg-soft);
    border: 1px solid var(--gv-line);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 0.9em;
    font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
    color: var(--gv-green-dark);
}

/* Disclaimer fin d'article */
.gv-article__disclaimer {
    margin: 3em 0 0;
    padding: 18px 22px;
    background: var(--gv-bg-soft);
    border: 1px solid var(--gv-line);
    border-radius: var(--gv-radius-lg);
    font-size: 0.88rem;
    color: var(--gv-muted);
    line-height: 1.55;
}
.gv-article__disclaimer strong {
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    color: var(--gv-ink-soft);
}
.gv-article__disclaimer p { margin: 0; }

/* ---------- Sommaire (TOC) ---------- */
.gv-toc {
    font-size: 0.92rem;
}
.gv-toc__title {
    font-family: var(--gv-font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gv-muted);
    margin: 0 0 14px;
    padding-left: 16px;
}
.gv-toc ol {
    list-style: none;
    margin: 0; padding: 0;
    border-left: 2px solid var(--gv-line);
}
.gv-toc li {
    margin: 0;
    padding: 0;
}
.gv-toc li::before { content: none; }
.gv-toc a {
    display: block;
    padding: 7px 16px;
    margin-left: -2px;
    border-left: 2px solid transparent;
    color: var(--gv-muted);
    line-height: 1.45;
    transition: color .15s, border-color .15s;
    text-decoration: none;
}
.gv-toc a:hover { color: var(--gv-ink); }
.gv-toc a.is-active {
    color: var(--gv-green-dark);
    border-left-color: var(--gv-green);
    font-weight: 600;
}

/* TOC mobile : accordéon */
.gv-toc__toggle {
    display: none;
    width: 100%;
    background: var(--gv-bg-soft);
    border: 1px solid var(--gv-line);
    border-radius: var(--gv-radius-lg);
    padding: 14px 18px;
    font-family: var(--gv-font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gv-ink-soft);
    cursor: pointer;
    text-align: left;
    align-items: center;
    justify-content: space-between;
}
.gv-toc__toggle::after {
    content: "+";
    font-size: 1.2rem;
    color: var(--gv-green);
    transition: transform .2s;
}
.gv-toc[data-open="true"] .gv-toc__toggle::after { content: "−"; }

/* ---------- Disclaimer nicotine ---------- */
.gv-disclaimer {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #FDF7E8;
    border-left: 3px solid var(--gv-gold);
    padding: 14px 18px;
    border-radius: var(--gv-radius);
    margin: 0 auto 32px;
    max-width: var(--gv-container-narrow);
    font-size: 0.92rem;
    color: var(--gv-ink-soft);
}
.gv-disclaimer__icon {
    width: 22px; height: 22px;
    background: var(--gv-gold);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.gv-disclaimer p { margin: 0; }

/* ---------- Notes inline ---------- */
.gv-note {
    padding: 18px 22px;
    border-radius: var(--gv-radius-lg);
    margin: 1.6em 0;
    background: var(--gv-green-light);
    border-left: 3px solid var(--gv-green);
}
.gv-note--warning { background: #FDF7E8; border-left-color: var(--gv-gold); }
.gv-note--tip { background: var(--gv-green-light); border-left-color: var(--gv-green); }
.gv-note__title { display: block; font-weight: 600; margin-bottom: 6px; color: var(--gv-ink); }

/* ---------- CTA block ---------- */
.gv-cta {
    text-align: center;
    background: var(--gv-ink);
    color: #fff;
    padding: 48px 32px;
    border-radius: var(--gv-radius-lg);
    margin: 2em 0;
}
.gv-cta__title { color: #fff; font-size: 1.6rem; margin: 0 0 10px; }
.gv-cta__text { color: #cfd5c8; margin: 0 0 20px; }

/* ---------- Archive / catégorie ---------- */
.gv-archive-hero {
    padding: 80px 0 48px;
    text-align: center;
    background: linear-gradient(180deg, var(--gv-green-light) 0%, #fff 100%);
    border-bottom: 1px solid var(--gv-line);
}
.gv-archive-hero__eyebrow {
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--gv-gold-dark);
}
.gv-archive-hero__title { font-size: clamp(2rem, 4.5vw, 3rem); margin: 14px 0 14px; }
.gv-archive-hero__desc {
    max-width: 560px; margin: 0 auto;
    color: var(--gv-muted); font-size: 1.05rem;
}

/* ---------- Pagination ---------- */
.gv-pagination {
    display: flex; justify-content: center; gap: 8px;
    padding: 48px 0;
}
.gv-pagination a,
.gv-pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 14px;
    border-radius: var(--gv-radius);
    border: 1px solid var(--gv-line);
    color: var(--gv-ink-soft);
    font-weight: 500;
}
.gv-pagination a:hover { background: var(--gv-green-light); border-color: var(--gv-green); text-decoration: none; }
.gv-pagination .current { background: var(--gv-green); color: #fff; border-color: var(--gv-green); }

/* ---------- Footer ---------- */
.gv-footer {
    background: var(--gv-ink);
    color: #cfd5c8;
    padding: 64px 0 24px;
    margin-top: 64px;
    font-size: 0.92rem;
}
.gv-footer__cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.gv-footer__cols--3 { grid-template-columns: 1.6fr 1fr 1fr; }

/* wp_nav_menu output dans le footer */
.gv-footer .menu,
.gv-footer ul.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.gv-footer .menu li { margin-bottom: 10px; }

/* ---------- Plan du site ---------- */
.gv-sitemap { padding: 20px 0 40px; }
.gv-sitemap__cat {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gv-line);
}
.gv-sitemap__cat:last-child { border-bottom: 0; }
.gv-sitemap__cat-title {
    font-size: 1.4rem;
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 16px; flex-wrap: wrap;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gv-green);
}
.gv-sitemap__cat-title a { color: var(--gv-ink); }
.gv-sitemap__cat-title a:hover { color: var(--gv-green-dark); text-decoration: none; }
.gv-sitemap__count {
    font-family: var(--gv-font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gv-muted);
    background: var(--gv-green-light);
    padding: 4px 12px;
    border-radius: 999px;
}
.gv-sitemap__list {
    list-style: none;
    margin: 0; padding: 0;
    columns: 2;
    column-gap: 32px;
}
.gv-sitemap__list li {
    break-inside: avoid;
    padding: 6px 0;
    border-bottom: 1px dashed var(--gv-line);
}
.gv-sitemap__list a { color: var(--gv-ink-soft); }
.gv-sitemap__list a:hover { color: var(--gv-green-dark); }
@media (max-width: 600px) { .gv-sitemap__list { columns: 1; } }
.gv-footer h4 {
    color: #fff;
    font-family: var(--gv-font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0 0 20px;
}
.gv-footer ul { list-style: none; margin: 0; padding: 0; }
.gv-footer li { margin-bottom: 10px; }
.gv-footer a { color: #cfd5c8; }
.gv-footer a:hover { color: var(--gv-gold); text-decoration: none; }

.gv-footer__brand .gv-logo { color: #fff; }
.gv-footer__brand .gv-logo:hover { color: var(--gv-gold); }
.gv-logo--footer .gv-logo__img {
    height: 92px;
    filter: brightness(0) invert(1);
    opacity: .92;
    transition: opacity .15s;
}
.gv-logo--footer:hover .gv-logo__img { opacity: 1; }
.gv-footer__about { margin-top: 14px; line-height: 1.6; color: #a9b1a0; }

.gv-footer__legal {
    padding-top: 24px;
    display: flex; justify-content: space-between; gap: 20px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #8d958b;
}
.gv-footer__legal p { margin: 0; }
.gv-footer__warn {
    background: rgba(201,162,39,.08);
    border: 1px solid rgba(201,162,39,.25);
    color: #e8d58a;
    padding: 14px 18px;
    border-radius: var(--gv-radius);
    margin-bottom: 32px;
    font-size: 0.88rem;
    text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .gv-article__layout {
        grid-template-columns: minmax(0, 720px);
        max-width: 720px;
    }
    .gv-article__aside {
        position: static;
        max-height: none;
        overflow: visible;
        margin-bottom: 32px;
    }
    .gv-toc {
        background: var(--gv-bg-soft);
        border: 1px solid var(--gv-line);
        border-radius: var(--gv-radius-lg);
        padding: 0;
        overflow: hidden;
    }
    .gv-toc__toggle { display: flex; }
    .gv-toc__title { display: none; }
    .gv-toc ol {
        max-height: 0;
        overflow: hidden;
        border-left: 0;
        transition: max-height .25s ease;
    }
    .gv-toc[data-open="true"] ol {
        max-height: 800px;
        padding: 12px 18px 18px;
    }
    .gv-toc a { padding: 8px 0; margin-left: 0; border-left: 0; }
    .gv-toc a.is-active { border-left: 0; padding-left: 8px; border-radius: 4px; background: rgba(107,142,78,.08); }
}

@media (max-width: 820px) {
    .gv-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px; border-bottom: 1px solid var(--gv-line); }
    .gv-nav.is-open { display: flex; }
    .gv-nav a { width: 100%; padding: 14px 16px; }
    .gv-burger {
        display: inline-flex; align-items: center; justify-content: center;
        width: 42px; height: 42px; border: 1px solid var(--gv-line);
        border-radius: var(--gv-radius); background: #fff; cursor: pointer;
    }
    .gv-burger span { width: 18px; height: 2px; background: var(--gv-ink); position: relative; }
    .gv-burger span::before, .gv-burger span::after {
        content: ''; position: absolute; width: 18px; height: 2px; background: var(--gv-ink); left: 0;
    }
    .gv-burger span::before { top: -6px; }
    .gv-burger span::after { top: 6px; }

    .gv-footer__cols { grid-template-columns: 1fr 1fr; gap: 30px; }
    .gv-hero { padding: 60px 0 40px; }
    .gv-section { padding: 56px 0; }

    .gv-article__title { font-size: clamp(1.7rem, 7vw, 2.4rem); }
    .gv-article__lead { font-size: 1.1rem; }
    .gv-article__content { font-size: 1.06rem; line-height: 1.65; }
    .gv-article__content > p:first-of-type { font-size: 1.14rem; }
    .gv-article__content h2 { font-size: 1.6rem; margin-top: 2.2em; }
    .gv-article__content h3 { font-size: 1.25rem; }
}

@media (max-width: 520px) {
    .gv-footer__cols { grid-template-columns: 1fr; }
    .gv-article__meta { flex-direction: column; gap: 8px; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
    .gv-progress span,
    .gv-toc a,
    .gv-article__content h2 .gv-anchor,
    html { transition: none !important; scroll-behavior: auto !important; }
}
