/*
Theme Name: Jardin & Plantes
Description: Thème magazine jardin, maison, décoration, travaux et immobilier. Archetype W — Revue de saison / Masthead centré.
Version: 1.0.0
Author: Jardin & Plantes
Text Domain: jardinplantes
*/

/* ── Tokens ───────────────────────────────────────────────────────────── */
:root {
    --jp-fond: #F1F1ED;
    --jp-surface: #FAFAF8;
    --jp-encre: #232123;
    --jp-doux: #5C5660;
    --jp-ligne: #DBD9D1;
    --jp-mure: #7C3855;
    --jp-mure-deep: #5E2940;
    --jp-mure-tint: #F2E6EC;
    --jp-sauge: #7F9486;
    --jp-display: 'Petrona', Georgia, serif;
    --jp-corps: 'Albert Sans', 'Helvetica Neue', sans-serif;
    --jp-mh: 132px;
}

/* ── Reset ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--jp-fond);
    color: var(--jp-encre);
    font-family: var(--jp-corps);
    font-size: 17px;
    line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--jp-display); font-weight: 600; line-height: 1.15; margin: 0; }
h1 em, h2 em { font-style: italic; color: var(--jp-mure); }
p { margin: 0 0 1.2em; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--jp-mure); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.jp-cadre { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ── Bullets décoratifs entry-content (losange mûre) ─────────────────── */
.entry-content ul { list-style: none; padding-left: 0; margin-bottom: 1.4em; }
.entry-content ol { list-style: decimal; padding-left: 1.5em; margin-bottom: 1.4em; }
.entry-content ul li { position: relative; padding-left: 1.3em; margin-bottom: 0.5em; }
.entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    background: var(--jp-mure);
    transform: rotate(45deg);
    flex-shrink: 0;
}
.entry-content ol li { margin-bottom: 0.5em; }

/* ── Masthead centré (header) ─────────────────────────────────────────── */
.jp-masthead {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--jp-fond);
    border-bottom: 1px solid var(--jp-ligne);
    transition: box-shadow 0.25s ease;
}
.jp-masthead.est-colle { box-shadow: 0 2px 16px rgba(35, 33, 35, 0.08); }
.jp-masthead-haut {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 22px 28px 16px;
    transition: padding 0.25s ease;
}
.jp-masthead.est-colle .jp-masthead-haut { padding: 12px 28px 10px; }
.jp-griffe svg { display: block; }
.jp-masthead-nav {
    border-top: 1px solid var(--jp-ligne);
}
.jp-masthead-nav .jp-cadre {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.jp-masthead-nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
}
.jp-masthead-nav ul a {
    display: inline-block;
    padding: 13px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--jp-encre);
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.jp-masthead-nav ul a:hover { color: var(--jp-mure); border-bottom-color: var(--jp-mure); }
.jp-masthead-nav ul .jp-nav-contact a {
    border: 1px solid var(--jp-encre);
    border-radius: 2px;
    padding: 8px 18px;
    margin-left: 14px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.jp-masthead-nav ul .jp-nav-contact a:hover {
    background: var(--jp-mure);
    border-color: var(--jp-mure);
    color: #fff;
}
.jp-griffe-mobile, .jp-nav-fermer { display: none; }

/* Burger */
.jp-burger {
    display: none;
    position: absolute;
    right: 22px;
    top: 26px;
    background: none;
    border: none;
    padding: 8px;
}
.jp-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--jp-encre);
    margin: 5px 0;
}

/* ── Hero homepage : ouverture centrée + panorama ─────────────────────── */
.jp-ouverture { padding: 72px 0 0; text-align: center; }
.jp-ouverture-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--jp-mure);
    margin-bottom: 22px;
}
.jp-ouverture h1 {
    font-size: clamp(2.4rem, 5.4vw, 4.1rem);
    font-weight: 500;
    max-width: 820px;
    margin: 0 auto 24px;
}
.jp-ouverture-lead {
    max-width: 620px;
    margin: 0 auto 32px;
    color: var(--jp-doux);
    font-size: 1.07rem;
}
.jp-bouton {
    display: inline-block;
    background: var(--jp-encre);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 15px 34px;
    border-radius: 2px;
    transition: background 0.2s ease;
}
.jp-bouton:hover { background: var(--jp-mure); }
.jp-bouton--clair { background: var(--jp-mure); }
.jp-bouton--clair:hover { background: var(--jp-mure-deep); }

.jp-panorama { position: relative; margin-top: 56px; }
.jp-panorama img {
    width: 100%;
    height: clamp(300px, 44vw, 480px);
    object-fit: cover;
}
.jp-panorama::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(35, 33, 35, 0.55), transparent 45%);
    pointer-events: none;
}
.jp-reperes {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: clamp(36px, 7vw, 110px);
    padding: 0 28px 30px;
}
.jp-repere { text-align: center; color: #fff; }
.jp-repere-num {
    font-family: var(--jp-display);
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    font-weight: 600;
    line-height: 1;
}
.jp-repere-lib {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-top: 7px;
}

/* ── Titres de section ────────────────────────────────────────────────── */
.jp-section-tete { text-align: center; margin-bottom: 48px; }
.jp-section-tete h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 500;
}
.jp-section-tete::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--jp-mure);
    margin: 18px auto 0;
}

/* ── Sommaire (stream articles 2 col + folios romains) ────────────────── */
.jp-sommaire { padding: 84px 0; }
.jp-sommaire-grille {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 64px;
}
.jp-entree {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding: 26px 0;
    border-bottom: 1px solid var(--jp-ligne);
}
.jp-entree-vignette {
    flex-shrink: 0;
    width: 118px;
    height: 118px;
    overflow: hidden;
}
.jp-entree-vignette img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(70%);
    transition: filter 0.35s ease, transform 0.35s ease;
}
.jp-entree:hover .jp-entree-vignette img { filter: grayscale(0); transform: scale(1.04); }
.jp-entree-folio {
    font-family: var(--jp-display);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--jp-mure);
    margin-bottom: 4px;
}
.jp-entree-folio span { color: var(--jp-doux); font-style: normal; font-family: var(--jp-corps); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; margin-left: 10px; }
.jp-entree h3 {
    font-size: 1.18rem;
    font-weight: 600;
    margin-bottom: 7px;
    transition: color 0.2s ease;
}
.jp-entree:hover h3 { color: var(--jp-mure); }
.jp-entree-extrait {
    font-size: 0.9rem;
    color: var(--jp-doux);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Portrait (persona pull-quote + photo ovale) ──────────────────────── */
.jp-portrait {
    background: var(--jp-surface);
    border-top: 1px solid var(--jp-ligne);
    border-bottom: 1px solid var(--jp-ligne);
    padding: 90px 0;
    text-align: center;
}
.jp-portrait-citation {
    font-family: var(--jp-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    max-width: 760px;
    margin: 0 auto 52px;
    position: relative;
    line-height: 1.35;
}
.jp-portrait-citation::before {
    content: '«';
    display: block;
    font-size: 3.2rem;
    color: var(--jp-mure);
    line-height: 1;
    margin-bottom: 10px;
}
.jp-portrait-photo {
    width: 210px;
    height: 270px;
    margin: 0 auto 26px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--jp-ligne);
}
.jp-portrait-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.jp-portrait h2 { font-size: 1.7rem; font-weight: 600; margin-bottom: 6px; }
.jp-portrait-role {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--jp-mure);
    margin-bottom: 30px;
}
.jp-portrait-bio {
    max-width: 660px;
    margin: 0 auto 34px;
    text-align: left;
    color: var(--jp-doux);
}
.jp-portrait-bio strong { color: var(--jp-encre); }
.jp-portrait-bio ul { margin-bottom: 1.2em; }
.jp-portrait-bio ul li { position: relative; padding-left: 1.3em; margin-bottom: 0.5em; }
.jp-portrait-bio ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    background: var(--jp-mure);
    transform: rotate(45deg);
}

/* ── Chapitres (catégories) ───────────────────────────────────────────── */
.jp-chapitres { padding: 90px 0; }
.jp-chapitres-grille {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--jp-ligne);
}
.jp-chapitre {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 34px 28px;
    border-bottom: 1px solid var(--jp-ligne);
    position: relative;
    transition: background 0.25s ease;
}
.jp-chapitre:nth-child(odd) { border-right: 1px solid var(--jp-ligne); }
.jp-chapitre::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--jp-mure);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.25s ease;
}
.jp-chapitre:hover { background: var(--jp-surface); }
.jp-chapitre:hover::before { transform: scaleY(1); }
.jp-chapitre-num {
    font-family: var(--jp-display);
    font-style: italic;
    font-size: 2rem;
    font-weight: 500;
    color: var(--jp-mure);
    line-height: 1;
    min-width: 58px;
}
.jp-chapitre h3 { font-size: 1.3rem; margin-bottom: 6px; }
.jp-chapitre-desc { font-size: 0.9rem; color: var(--jp-doux); margin-bottom: 8px; }
.jp-chapitre-compteur {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--jp-sauge);
}

/* ── Colophon (footer clair) ──────────────────────────────────────────── */
.jp-colophon {
    background: var(--jp-surface);
    border-top: 3px solid var(--jp-encre);
    padding: 64px 0 0;
}
.jp-colophon-grille {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 56px;
}
.jp-colophon-titre {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--jp-encre);
    margin-bottom: 18px;
}
.jp-colophon-desc { font-size: 0.9rem; color: var(--jp-doux); margin-top: 16px; }
.jp-colophon ul li { margin-bottom: 10px; }
.jp-colophon ul a {
    font-size: 0.92rem;
    color: var(--jp-doux);
    transition: color 0.2s ease;
}
.jp-colophon ul a:hover { color: var(--jp-mure); }
.jp-colophon-article { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.jp-colophon-article img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    flex-shrink: 0;
}
.jp-colophon-article a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--jp-encre);
    line-height: 1.4;
    transition: color 0.2s ease;
}
.jp-colophon-article a:hover { color: var(--jp-mure); }
.jp-colophon-pied {
    border-top: 1px solid var(--jp-ligne);
    text-align: center;
    padding: 22px 0;
    font-size: 0.84rem;
    color: var(--jp-doux);
}

/* ── Heroes internes (archive, pages) ─────────────────────────────────── */
.jp-bandeau {
    position: relative;
    background-size: cover;
    background-position: center;
    text-align: center;
}
.jp-bandeau::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(28, 22, 28, 0.68);
}
.jp-bandeau-inner {
    position: relative;
    z-index: 1;
    padding: 96px 28px;
    color: #fff;
}
.jp-bandeau h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.2rem);
    font-weight: 500;
    color: #fff;
    margin-bottom: 14px;
}
.jp-fil {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}
.jp-fil a { color: #fff; }
.jp-fil a:hover { text-decoration: underline; }
.jp-fil span { color: rgba(255, 255, 255, 0.6); }
.archive-hero-desc { max-width: 640px; margin: 0 auto; }
.archive-hero-desc, .archive-hero-desc p { color: #fff !important; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.archive-hero-desc p { margin: 0; }
.jp-bandeau-compteur {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    padding: 7px 16px;
    border-radius: 2px;
}

/* ── Grille archive ───────────────────────────────────────────────────── */
.jp-rayon { padding: 72px 0; }
.jp-rayon-grille {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px 32px;
}
.jp-fiche { background: transparent; }
.jp-fiche-vignette { overflow: hidden; margin-bottom: 16px; }
.jp-fiche-vignette img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: grayscale(70%);
    transition: filter 0.35s ease, transform 0.35s ease;
}
.jp-fiche:hover .jp-fiche-vignette img { filter: grayscale(0); transform: scale(1.04); }
.jp-fiche-folio {
    font-family: var(--jp-display);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--jp-mure);
    margin-bottom: 6px;
}
.jp-fiche-folio span { color: var(--jp-doux); font-style: normal; font-family: var(--jp-corps); font-size: 0.73rem; letter-spacing: 0.1em; text-transform: uppercase; margin-left: 10px; }
.jp-fiche h2 { font-size: 1.22rem; margin-bottom: 8px; transition: color 0.2s ease; }
.jp-fiche:hover h2 { color: var(--jp-mure); }
.jp-fiche-extrait { font-size: 0.9rem; color: var(--jp-doux); margin: 0; }

/* ── Bloc SEO archive ─────────────────────────────────────────────────── */
.jp-encart { background: var(--jp-surface); border-top: 1px solid var(--jp-ligne); padding: 80px 0; }
.jp-encart-titre {
    max-width: 1140px;
    margin: 0 auto 40px;
    padding: 0 28px;
}
.jp-encart-titre h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 500; }
.jp-encart-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 56px;
    align-items: center;
}
.jp-encart-texte { color: var(--jp-doux); }
.jp-encart-texte ul { margin: 0 0 1.2em; }
.jp-encart-texte ul li { position: relative; padding-left: 1.4em; margin-bottom: 0.55em; }
.jp-encart-texte ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    background: var(--jp-mure);
    transform: rotate(45deg);
}
.jp-encart-image { overflow: hidden; border-radius: 2px; box-shadow: 0 18px 44px rgba(35, 33, 35, 0.16); }
.jp-encart-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.jp-encart-image:hover img { transform: scale(1.04); }

/* ── Single ───────────────────────────────────────────────────────────── */
.jp-lecture-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    text-align: center;
}
.jp-lecture-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(28, 22, 28, 0.62), rgba(46, 24, 36, 0.78));
}
.jp-lecture-hero-inner {
    position: relative;
    z-index: 1;
    min-height: 62vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 90px 28px;
    color: #fff;
}
.jp-lecture-cat {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: var(--jp-mure);
    color: #fff;
    padding: 7px 16px;
    border-radius: 2px;
    margin-bottom: 22px;
}
.jp-lecture-hero h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 500;
    color: #fff;
    max-width: 860px;
    margin-bottom: 20px;
}
.jp-lecture-meta {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}
.jp-lecture-etoiles { margin-top: 18px; }

.jp-lecture-corps { padding: 64px 0 80px; }
.jp-lecture-image { max-width: 860px; margin: 0 auto 48px; padding: 0 28px; }
.jp-lecture-image img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 15px;
}
.jp-resume { max-width: 720px; margin: 0 auto 40px; padding: 0 28px; }
.entry-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 28px;
}
.entry-content h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 1.8em 0 0.7em;
}
.entry-content h3 { font-size: 1.25rem; margin: 1.5em 0 0.6em; }
.entry-content img { border-radius: 2px; margin: 1.5em 0; }
.entry-content a { color: var(--jp-mure); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote {
    border-left: 3px solid var(--jp-mure);
    margin: 1.6em 0;
    padding: 0.3em 0 0.3em 1.4em;
    font-family: var(--jp-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--jp-doux);
}

.jp-marques { max-width: 760px; margin: 44px auto 0; padding: 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.jp-marques a {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid var(--jp-ligne);
    padding: 7px 14px;
    border-radius: 2px;
    color: var(--jp-doux);
    transition: border-color 0.2s ease, color 0.2s ease;
}
.jp-marques a:hover { border-color: var(--jp-mure); color: var(--jp-mure); }

/* Bloc auteur */
.jp-signature {
    max-width: 760px;
    margin: 64px auto 0;
    padding: 40px 36px;
    background: var(--jp-surface);
    border: 1px solid var(--jp-ligne);
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.jp-signature-photo {
    flex-shrink: 0;
    width: 96px;
    height: 122px;
    border-radius: 50%;
    overflow: hidden;
}
.jp-signature-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.jp-signature h2 { font-size: 1.25rem; margin-bottom: 4px; }
.jp-signature-role {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--jp-mure);
    margin-bottom: 14px;
}
.jp-signature-bio { font-size: 0.92rem; color: var(--jp-doux); }
.jp-signature-bio p { margin-bottom: 0.6em; }

/* Articles similaires */
.jp-voisins { background: var(--jp-surface); border-top: 1px solid var(--jp-ligne); padding: 76px 0; margin-top: 76px; }
.jp-voisins-grille { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.jp-voisin-vignette { overflow: hidden; margin-bottom: 14px; }
.jp-voisin-vignette img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: grayscale(70%);
    transition: filter 0.35s ease, transform 0.35s ease;
}
.jp-voisin:hover .jp-voisin-vignette img { filter: grayscale(0); transform: scale(1.04); }
.jp-voisin h3 { font-size: 1.08rem; transition: color 0.2s ease; }
.jp-voisin:hover h3 { color: var(--jp-mure); }
.jp-voisin-date { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--jp-doux); margin-top: 8px; }

/* ── Pages (contact, mentions, plan) ──────────────────────────────────── */
.jp-page-corps { padding: 72px 0 88px; }
.jp-page-texte { max-width: 800px; margin: 0 auto; padding: 0 28px; color: var(--jp-doux); }
.jp-page-texte h2 { color: var(--jp-encre); font-size: 1.45rem; margin: 1.8em 0 0.6em; }

/* Contact */
.jp-contact-grille {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: flex-start;
}
.jp-contact-intro h2 { font-size: 1.6rem; font-weight: 500; margin-bottom: 18px; }
.jp-contact-intro p { color: var(--jp-doux); }
.jp-contact-ligne {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--jp-ligne);
    font-size: 0.94rem;
}
.jp-contact-ligne svg { flex-shrink: 0; color: var(--jp-mure); }
.jp-contact-form { background: var(--jp-surface); border: 1px solid var(--jp-ligne); padding: 40px; }

.wpcf7-form p { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.wpcf7-form br { display: none; }
.wpcf7-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.wpcf7-form input, .wpcf7-form textarea, .wpcf7-form select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--jp-ligne);
    border-radius: 2px;
    background: #fff;
    font-family: var(--jp-corps);
    font-size: 0.95rem;
    color: var(--jp-encre);
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--jp-mure);
}
.wpcf7-form textarea { min-height: 150px; resize: vertical; }
.wpcf7-submit {
    width: 100%;
    background: var(--jp-encre);
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background 0.2s ease;
}
.wpcf7-submit:hover { background: var(--jp-mure); }

/* Plan du site */
.jp-plan-section { max-width: 800px; margin: 0 auto 44px; padding: 0 28px; }
.jp-plan-section h2 {
    font-size: 1.35rem;
    border-bottom: 1px solid var(--jp-ligne);
    padding-bottom: 12px;
    margin-bottom: 18px;
}
.jp-plan-section ul li { margin-bottom: 10px; }
.jp-plan-section ul a { color: var(--jp-doux); transition: color 0.2s ease; }
.jp-plan-section ul a:hover { color: var(--jp-mure); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .jp-sommaire-grille { column-gap: 40px; }
    .jp-rayon-grille { grid-template-columns: 1fr 1fr; }
    .jp-encart-inner { grid-template-columns: 1fr; gap: 36px; }
    .jp-encart-image { order: -1; max-width: 560px; }
    .jp-colophon-grille { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .jp-masthead { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .jp-masthead-haut { justify-content: flex-start; padding: 18px 22px 14px; }
    .jp-burger { display: block; }
    .jp-masthead-nav {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        z-index: 200;
        background: var(--jp-fond);
        border-top: none;
        overflow-y: auto;
    }
    .jp-masthead-nav.ouvert { display: block; }
    .jp-masthead-nav .jp-cadre {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }
    .jp-griffe-mobile { display: block; margin-bottom: 32px; }
    .jp-nav-fermer {
        display: block;
        position: absolute;
        top: 22px;
        right: 22px;
        background: none;
        border: none;
        padding: 8px;
        color: var(--jp-encre);
    }
    .jp-masthead-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
    .jp-masthead-nav ul a {
        font-size: 1.05rem;
        padding: 13px 0;
        color: var(--jp-encre) !important;
        border-bottom: none;
    }
    .jp-masthead-nav ul .jp-nav-contact a { margin-left: 0; margin-top: 16px; padding: 12px 26px; }

    .jp-ouverture { padding-top: 48px; }
    .jp-reperes { gap: 28px; padding-bottom: 22px; }
    .jp-sommaire { padding: 60px 0; }
    .jp-sommaire-grille { grid-template-columns: 1fr; }
    .jp-entree-vignette { width: 92px; height: 92px; }
    .jp-portrait { padding: 64px 0; }
    .jp-chapitres { padding: 64px 0; }
    .jp-chapitres-grille { grid-template-columns: 1fr; }
    .jp-chapitre:nth-child(odd) { border-right: none; }
    .jp-rayon-grille { grid-template-columns: 1fr; }
    .jp-colophon-grille { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .jp-colophon-article { justify-content: center; }
    .jp-contact-grille { grid-template-columns: 1fr; gap: 40px; }
    .jp-contact-form { padding: 28px; }
    .jp-signature { flex-direction: column; align-items: center; text-align: center; }
    .jp-voisins-grille { grid-template-columns: 1fr; }
    .jp-lecture-hero-inner { min-height: 52vh; padding: 70px 22px; }
    .jp-bandeau-inner { padding: 70px 22px; }
}
