/* =====================================================================
   Jardin Éco : formats pratiques
   Options au jardin, carnets de culture, cabane à outils (vitrine), quantité de paillis.
   Même vocabulaire que le magazine : l'almanach horticole, les folios № en Space Mono,
   la Young Serif des titres, le filet pointillé de germination, la feuille verte en puce,
   les sachets de graines teintés par rayon. Classes je-fx-.
   ===================================================================== */

:root {
    /* L'en-tête est fixe (--hh, 76 px) : tout ce qui colle se cale dessous. */
    --je-fx-haut: calc(var(--hh) + 24px);
    --je-fx-mesure: 720px;
}
.admin-bar { --je-fx-haut: calc(var(--hh) + 56px); }

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

/* ---------------------------------------------------------------------
   En-tête : entrée « Pratique » et son sous-menu
   --------------------------------------------------------------------- */

.je-nav-pratique { position: relative; }
.je-nav-pratique-t[aria-current="true"]::after { width: 100%; }
.je-nav-sous {
    position: absolute; top: calc(100% + 14px); left: -20px; z-index: 110;
    min-width: 240px; padding: 10px 0;
    background: var(--je-surface); border: 1px solid var(--je-line); border-radius: 3px;
    box-shadow: var(--je-ombre-douce);
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity 0.2s var(--je-ease), transform 0.2s var(--je-ease), visibility 0.2s;
}
.je-nav-sous::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.je-nav-pratique:hover .je-nav-sous,
.je-nav-pratique:focus-within .je-nav-sous { opacity: 1; visibility: visible; transform: none; }
.je-nav-liste .je-nav-sous a,
.je-has-hero .je-entete:not(.is-scrolled) .je-nav-liste .je-nav-sous a {
    display: block; padding: 9px 20px; color: var(--je-ink); white-space: nowrap; font-size: 0.9rem;
}
.je-nav-liste .je-nav-sous a::after { display: none; }
.je-nav-liste .je-nav-sous a:hover,
.je-nav-liste .je-nav-sous a[aria-current="page"] { color: var(--je-green); background: var(--je-green-tint); }

/* ---------------------------------------------------------------------
   Communs
   --------------------------------------------------------------------- */

.je-fx-coiffe { min-height: 50vh; justify-content: flex-end; padding-bottom: 54px; }
.je-fx-coiffe .je-cadre { text-align: left; align-items: flex-start; padding-top: calc(var(--hh) + 34px); width: 100%; }
.je-fx-coiffe .je-fil { margin-bottom: 20px; }
.je-fx-coiffe-titre { max-width: 18em; font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.08; }
.je-fx-coiffe-deck { max-width: 40em; font-size: 1.05rem; }
.je-fx-coiffe-detail { margin-top: 16px; font-family: var(--je-mono); font-size: 0.78rem; color: var(--je-honey); }

.je-fx-h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); line-height: 1.15; margin-bottom: 18px; color: var(--je-ink); }
.je-fx-num {
    display: block; margin-bottom: 8px;
    font-family: var(--je-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--je-honey-deep);
}
.je-fx-sous {
    margin: 26px 0 10px; font-family: var(--je-mono); font-size: 0.72rem; font-weight: 400;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--je-green);
}
.je-fx-kicker {
    font-family: var(--je-mono); font-size: 0.68rem; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--je-green); margin-bottom: 8px;
}
.je-fx-note { margin-top: 14px; font-size: 0.88rem; line-height: 1.55; color: var(--je-soft); }
.je-fx-vide { padding: 40px 0; color: var(--je-soft); }
.je-fx-signature {
    margin-top: 56px; padding-top: 18px; border-top: 1.5px dashed var(--je-line);
    font-family: var(--je-mono); font-size: 0.76rem; color: var(--je-soft);
}

.je-fx-sec { margin-top: 56px; scroll-margin-top: var(--je-fx-haut); }
.je-fx-sec p, .je-fx-bref p, .je-fx-controle p { margin-bottom: 1em; line-height: 1.72; color: #2A352C; }
.je-fx-bref, .je-fx-controle { scroll-margin-top: var(--je-fx-haut); }

/* Puce feuille, la même que dans les articles */
.je-fx-puces { display: grid; gap: 10px; }
.je-fx-puces li { position: relative; padding-left: 1.6em; line-height: 1.6; }
.je-fx-puces li::before {
    content: ''; position: absolute; left: 0; top: 0.5em;
    width: 9px; height: 9px; border-radius: 50% 50% 50% 0; transform: rotate(45deg);
    background: var(--je-green);
}

/* Encadré « En bref » : aplat vert tendre, filet miel à gauche */
.je-fx-bref {
    background: var(--je-green-tint); border-left: 3px solid var(--je-green);
    border-radius: var(--je-r); padding: 28px 30px;
}
.je-fx-bref .je-fx-h2 { font-size: 1.4rem; }

/* Listes de liens */
.je-fx-liens { display: grid; gap: 9px; }
.je-fx-liens li { position: relative; padding-left: 24px; }
.je-fx-liens li::before { content: '→'; position: absolute; left: 0; color: var(--je-green); font-family: var(--je-mono); }
.je-fx-liens a { color: var(--je-ink); text-decoration: underline; text-decoration-color: var(--je-line); text-underline-offset: 3px; transition: color 0.2s, text-decoration-color 0.2s; }
.je-fx-liens a:hover { color: var(--je-green); text-decoration-color: currentColor; }
.je-fx-sources { font-size: 0.92rem; }

/* Tableaux : défilement horizontal contenu, jamais la page */
.je-fx-table-wrap {
    max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
    border: 1px solid var(--je-line); border-radius: var(--je-r); background: var(--je-surface);
}
.je-fx-table-wrap:focus-visible { outline: 2px solid var(--je-green); outline-offset: 2px; }
.je-fx-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.92rem; line-height: 1.45; }
.je-fx-table caption {
    caption-side: top; text-align: left; padding: 14px 18px 10px;
    font-family: var(--je-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--je-soft);
}
.je-fx-table th, .je-fx-table td { padding: 12px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--je-line); }
.je-fx-table thead th {
    background: var(--je-paper-2); font-family: var(--je-mono); font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase; color: var(--je-ink);
}
.je-fx-table thead th a { color: var(--je-green-deep); text-decoration: underline; text-underline-offset: 3px; }
.je-fx-table tbody th { font-weight: 600; color: var(--je-ink); width: 30%; }
.je-fx-table tbody tr:nth-child(even) td, .je-fx-table tbody tr:nth-child(even) th { background: rgba(229, 237, 227, 0.4); }
.je-fx-table--fiche { min-width: 0; }

/* Choix selon le cas */
.je-fx-cas { border-top: 1px solid var(--je-ink); }
.je-fx-cas-ligne {
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px;
    padding: 18px 0; border-bottom: 1.5px dashed var(--je-line);
}
.je-fx-cas dt { font-family: var(--je-serif); font-size: 1.1rem; line-height: 1.3; color: var(--je-ink); }
.je-fx-cas dd { color: #2A352C; line-height: 1.6; }

/* ---------------------------------------------------------------------
   Sachets de la cabane (fiches)
   --------------------------------------------------------------------- */

.je-fx-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.je-fx-grille--serree { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }
.je-fx-carte { min-height: 0; }
.je-fx-carte .je-sachet-fenetre { height: 132px; }
.je-fx-carte-photo { padding: 0; overflow: hidden; }
.je-fx-carte-photo img { width: 100%; height: 100%; object-fit: cover; }
.je-fx-picto { width: 22px; height: 22px; flex-shrink: 0; }
.je-fx-picto-grand { width: 46px; height: 46px; color: var(--tint, var(--je-green)); }
.je-fx-carte-nom { font-size: 1.16rem; line-height: 1.2; }
.je-fx-carte .je-sachet-pied span:first-child { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.66rem; }

/* ---------------------------------------------------------------------
   Index des options : un registre d'almanach
   --------------------------------------------------------------------- */

.je-fx-ix, .je-fx-tx { padding: 64px 0 88px; }
.je-fx-ix-liste { border-top: 1px solid var(--je-ink); }
.je-fx-ix-ligne {
    display: grid; grid-template-columns: 90px minmax(0, 1fr) 180px; gap: 30px; align-items: baseline;
    padding: 30px 0; border-bottom: 1.5px dashed var(--je-line);
}
.je-fx-ix-num { font-family: var(--je-mono); font-size: 0.82rem; color: var(--je-honey-deep); }
.je-fx-ix-titre { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; }
.je-fx-ix-titre a {
    background-image: linear-gradient(var(--je-honey), var(--je-honey));
    background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%;
    transition: background-size 0.35s var(--je-ease);
}
.je-fx-ix-ligne:hover .je-fx-ix-titre a { background-size: 100% 2px; }
.je-fx-ix-accroche { margin-top: 10px; color: var(--je-soft); max-width: 46em; line-height: 1.6; }
.je-fx-ix-compte { font-family: var(--je-mono); font-size: 0.74rem; color: var(--je-green); text-align: right; }

/* ---------------------------------------------------------------------
   Index des carnets : fiches d'almanach, 2 par ligne
   --------------------------------------------------------------------- */

.je-fx-tx-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.je-fx-tx-carnet {
    display: flex; flex-direction: column;
    background: var(--je-surface); border: 1px solid var(--je-line); border-radius: 3px;
    border-top: 3px solid var(--je-green); padding: 26px 28px 22px;
}
.je-fx-tx-tete {
    display: flex; justify-content: space-between; gap: 16px; margin-bottom: 14px;
    font-family: var(--je-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--je-honey-deep);
}
.je-fx-tx-titre { font-size: 1.45rem; line-height: 1.18; }
.je-fx-tx-titre a:hover { color: var(--je-green); }
.je-fx-tx-accroche { margin-top: 10px; color: var(--je-soft); line-height: 1.6; flex-grow: 1; }
.je-fx-tx-meta {
    margin-top: 18px; padding-top: 14px; border-top: 1.5px dashed var(--je-line);
    font-family: var(--je-mono); font-size: 0.74rem; color: var(--je-soft);
}

/* ---------------------------------------------------------------------
   Option et carnet : sommaire collant + colonne
   --------------------------------------------------------------------- */

.je-fx-gd, .je-fx-tu { padding: 56px 0 88px; }
.je-fx-gd-grille { display: grid; grid-template-columns: 250px minmax(0, var(--je-fx-mesure)); gap: 56px; justify-content: center; align-items: start; }
.je-fx-sommaire {
    position: sticky; top: var(--je-fx-haut);
    max-height: calc(100vh - var(--je-fx-haut) - 24px); overflow-y: auto;
    padding: 20px 0; border-top: 1px solid var(--je-ink); border-bottom: 1.5px dashed var(--je-line);
}
.je-fx-sommaire-t {
    font-family: var(--je-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--je-green); margin-bottom: 12px;
}
.je-fx-sommaire ol { display: grid; gap: 2px; }
.je-fx-sommaire a { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 6px; padding: 6px 0; font-size: 0.88rem; line-height: 1.35; color: var(--je-ink); transition: color 0.2s; }
.je-fx-sommaire a:hover { color: var(--je-green); }
.je-fx-sommaire-n { font-family: var(--je-mono); font-size: 0.72rem; color: var(--je-honey-deep); padding-top: 2px; }
.je-fx-corps { min-width: 0; }
.je-fx-corps > :first-child { margin-top: 0; }

/* Relevé du carnet */
.je-fx-releve {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
    max-width: calc(250px + 56px + var(--je-fx-mesure)); margin: 0 auto 48px;
    background: var(--je-line); border: 1px solid var(--je-line);
}
.je-fx-releve div { background: var(--je-surface); padding: 18px 20px; display: flex; flex-direction: column-reverse; gap: 6px; }
.je-fx-releve dt { font-family: var(--je-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--je-soft); }
.je-fx-releve dd { font-family: var(--je-serif); font-size: 1.35rem; line-height: 1.15; color: var(--je-ink); }

/* Étapes reliées par le filet pointillé */
.je-fx-etapes { margin-top: 48px; position: relative; }
.je-fx-etape { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding-bottom: 36px; scroll-margin-top: var(--je-fx-haut); }
.je-fx-etape::before {
    content: ''; position: absolute; left: 25px; top: 52px; bottom: 0;
    border-left: 1.5px dashed var(--je-line);
}
.je-fx-etape:last-child::before { display: none; }
.je-fx-etape-n {
    width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--je-green); border-radius: 50% 50% 50% 0; background: var(--je-surface);
    font-family: var(--je-mono); font-size: 0.86rem; color: var(--je-green-deep);
}
.je-fx-etape-titre { font-size: 1.3rem; line-height: 1.2; margin: 12px 0 10px; }
.je-fx-etape-corps p { line-height: 1.72; color: #2A352C; }
.je-fx-attention {
    margin-top: 12px; padding: 12px 16px; border-left: 3px solid var(--je-honey);
    background: rgba(200, 134, 44, 0.08); font-size: 0.94rem;
}
.je-fx-attention strong { color: var(--je-honey-deep); }
.je-fx-controle { margin-top: 8px; padding: 26px 30px; border: 1.5px dashed var(--je-green); border-radius: var(--je-r); }

/* ---------------------------------------------------------------------
   Cabane à outils
   --------------------------------------------------------------------- */

.je-fx-bt { padding: 48px 0 88px; }
.je-fx-bt-rayons { display: flex; flex-wrap: wrap; gap: 10px; }
.je-fx-bt-rayons a {
    --tint: var(--je-ink);
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px; border: 1px solid var(--je-line); border-radius: 2px; background: var(--je-surface);
    font-size: 0.88rem; font-weight: 500; color: var(--je-ink);
    transition: border-color 0.2s, color 0.2s;
}
.je-fx-bt-rayons a .je-fx-picto { width: 18px; height: 18px; color: var(--tint); }
.je-fx-bt-rayons a:hover { border-color: var(--tint); }
.je-fx-bt-rayons a[aria-current="page"] { border-color: var(--je-ink); background: var(--je-ink); color: var(--je-paper); }
.je-fx-bt-rayons a[aria-current="page"] .je-fx-picto { color: var(--je-paper); }
.je-fx-bt-n { font-family: var(--je-mono); font-size: 0.72rem; color: var(--je-soft); }
.je-fx-bt-rayons a[aria-current="page"] .je-fx-bt-n { color: var(--je-honey); }
.je-fx-bt-note { max-width: 640px; margin: 22px 0 40px; }

/* Fiche */
.je-fx-fp { padding: 56px 0 48px; }
.je-fx-fp-grille { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.je-fx-fp-visuel {
    position: relative; aspect-ratio: 4 / 3; margin: 0;
    display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--tint) 14%, var(--je-surface));
    border: 1px solid var(--je-line); border-radius: 3px; overflow: hidden;
}
.je-fx-fp-visuel::after {
    content: ''; position: absolute; left: 18px; right: 18px; bottom: 18px; height: 1px;
    background: repeating-linear-gradient(to right, var(--tint) 0 5px, transparent 5px 10px); opacity: 0.55;
}
.je-fx-fp-visuel .je-fx-picto-grand { width: 30%; height: auto; }
.je-fx-fp-visuel--photo img { width: 100%; height: 100%; object-fit: cover; }
.je-fx-badge { position: absolute; left: 18px; top: 0; }
.je-fx-fp-marque { font-family: var(--je-serif); font-size: 1.6rem; line-height: 1.15; margin-bottom: 18px; }
.je-fx-fp-resume { margin-bottom: 22px; }
.je-fx-fp-dispo {
    padding: 14px 18px; border-left: 3px solid var(--je-honey); background: rgba(200, 134, 44, 0.08);
    font-size: 0.94rem; line-height: 1.55;
}
.je-fx-fp-dispo strong { color: var(--je-honey-deep); }
.je-fx-fp-meta { margin-top: 24px; border-top: 1px solid var(--je-line); }
.je-fx-fp-meta div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--je-line); }
.je-fx-fp-meta dt { font-family: var(--je-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--je-soft); padding-top: 3px; }
.je-fx-fp-meta dd a { color: var(--je-green); text-decoration: underline; text-underline-offset: 3px; }

.je-fx-fp-suite { padding: 0 0 72px; }
.je-fx-onglets {
    display: flex; flex-wrap: wrap; gap: 6px 26px; padding: 14px 0; margin-bottom: 8px;
    border-top: 1px solid var(--je-ink); border-bottom: 1.5px dashed var(--je-line);
}
.je-fx-onglets a { font-family: var(--je-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--je-ink); }
.je-fx-onglets a:hover { color: var(--je-green); }
.je-fx-lecture { max-width: var(--je-fx-mesure); margin-inline: auto; }
.je-fx-voisins { padding: 0 0 80px; }

/* ---------------------------------------------------------------------
   Accueil, plan du site, bloc sous les articles
   --------------------------------------------------------------------- */

.je-fx-acces { margin-top: 64px; }
.je-fx-acces-sur { margin: 28px 0 22px; }
.je-fx-acces-liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--je-ink); }
.je-fx-acces-liste li + li { border-left: 1.5px dashed var(--je-line); }
.je-fx-acces-lien { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 22px 22px 18px; transition: background 0.25s var(--je-ease); }
.je-fx-acces-lien:hover { background: var(--je-surface); }
.je-fx-acces-lien .je-fx-picto { color: var(--je-green); }
.je-fx-acces-nom { font-family: var(--je-serif); font-size: 1.3rem; line-height: 1.15; color: var(--je-ink); }
.je-fx-acces-desc { font-size: 0.9rem; line-height: 1.5; color: var(--je-soft); flex-grow: 1; }
.je-fx-acces-compte { font-family: var(--je-mono); font-size: 0.72rem; color: var(--je-honey-deep); }

.je-fx-plan-rayon { font-family: var(--je-sans); font-size: 1rem; font-weight: 700; margin: 18px 0 10px; }
.je-fx-plan-rayon a:hover { color: var(--je-green); }

.je-fx-suite {
    margin: 40px 0; padding: 26px 28px; background: var(--je-surface);
    border: 1px solid var(--je-line); border-top: 3px solid var(--je-honey); border-radius: var(--je-r);
}
.je-fx-suite-titre { font-size: 1.5rem; margin-bottom: 14px; }
.je-fx-suite ul { display: grid; gap: 12px; }
.je-fx-suite li { display: grid; gap: 2px; }
.je-fx-suite-type { font-family: var(--je-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--je-green); }
.je-fx-suite a { color: var(--je-ink); text-decoration: underline; text-decoration-color: var(--je-line); text-underline-offset: 3px; }
.je-fx-suite a:hover { color: var(--je-green); text-decoration-color: currentColor; }

/* ---------------------------------------------------------------------
   Quantité de paillis
   --------------------------------------------------------------------- */

.je-fx-pl { padding: 56px 0 64px; }
.je-fx-pl-grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: start; }
.je-fx-pl-form { background: var(--je-surface); border: 1px solid var(--je-line); border-radius: var(--je-r); padding: 30px; }
.je-fx-pl-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.je-fx-pl-champ { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.je-fx-pl-champ label { font-family: var(--je-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--je-ink); }
.je-fx-pl-champ input, .je-fx-pl-champ select {
    width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid var(--je-line); border-radius: 4px;
    font-family: var(--je-sans); font-size: 1rem; color: var(--je-ink); background: var(--je-paper);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.je-fx-pl-champ input:focus, .je-fx-pl-champ select:focus { outline: none; border-color: var(--je-green); box-shadow: 0 0 0 3px var(--je-green-tint); }
.je-fx-pl-erreur { padding: 10px 14px; border-left: 3px solid var(--je-clay); background: rgba(178, 106, 69, 0.08); font-size: 0.92rem; }

.je-fx-pl-resultat {
    position: sticky; top: var(--je-fx-haut);
    background: var(--je-green-deep); color: #fff; border-radius: var(--je-r); padding: 30px;
}
.je-fx-pl-resultat .je-surtitre { color: var(--je-honey); }
.je-fx-pl-chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.16); }
.je-fx-pl-chiffres div { background: var(--je-green-deep); padding: 16px 18px; display: flex; flex-direction: column-reverse; gap: 4px; }
.je-fx-pl-chiffres dt { font-family: var(--je-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.je-fx-pl-chiffres dd { font-family: var(--je-serif); font-size: 1.6rem; line-height: 1.1; }
.je-fx-pl-total { grid-column: 1 / -1; }
.je-fx-pl-total dd { font-size: 2.6rem; color: var(--je-honey); }
.je-fx-pl-phrase { margin-top: 18px; line-height: 1.55; }
.je-fx-pl-resultat .je-fx-note { color: rgba(255, 255, 255, 0.72); }

.je-fx-pl-ref { padding: 24px 0 24px; }
.je-fx-pl-colonne { max-width: calc(var(--je-fx-mesure) + 60px); }
.je-fx-pl-ref .je-fx-table-wrap { margin-bottom: 40px; }
.je-fx-pl-methode { padding: 24px 0 88px; }
.je-fx-pl-methode .je-fx-h2 { margin-top: 44px; }
.je-fx-pl-methode p { margin-bottom: 1em; line-height: 1.72; color: #2A352C; }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */

@media (max-width: 1100px) {
    .je-fx-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .je-fx-acces-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .je-fx-acces-liste li:nth-child(3) { border-left: 0; }
    .je-fx-acces-liste li:nth-child(n+3) { border-top: 1.5px dashed var(--je-line); }
}

@media (max-width: 980px) {
    .je-fx-gd-grille { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .je-fx-sommaire { position: static; max-height: none; }
    .je-fx-releve { max-width: none; }
    .je-fx-pl-grille { grid-template-columns: minmax(0, 1fr); }
    .je-fx-pl-resultat { position: static; }
    .je-fx-fp-grille { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .je-fx-fp-visuel { max-width: 460px; }
    .je-fx-ix-ligne { grid-template-columns: 70px minmax(0, 1fr); }
    .je-fx-ix-compte { grid-column: 2; text-align: left; }
}

@media (max-width: 768px) {
    /* Menu mobile : le sous-menu s'ouvre à plat, sous « Pratique » */
    .je-nav { overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .je-nav-sous {
        position: static; min-width: 0; padding: 0 0 12px; border: 0; border-radius: 0; box-shadow: none;
        background: transparent; opacity: 1; visibility: visible; transform: none;
    }
    .je-nav-sous::before { display: none; }
    .je-nav-liste .je-nav-sous li { border-bottom: 0; }
    .je-nav-liste .je-nav-sous a,
    .je-has-hero .je-entete:not(.is-scrolled) .je-nav-liste .je-nav-sous a {
        padding: 8px 30px 8px 46px; font-family: var(--je-sans); font-size: 0.98rem; white-space: normal;
    }

    .je-fx-coiffe { min-height: 0; padding-bottom: 40px; }
    .je-fx-grille, .je-fx-grille--serree { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .je-fx-tx-liste { grid-template-columns: minmax(0, 1fr); }
    .je-fx-cas-ligne { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .je-fx-releve { grid-template-columns: minmax(0, 1fr); }
    .je-fx-bref, .je-fx-controle, .je-fx-pl-form, .je-fx-pl-resultat, .je-fx-suite { padding: 22px 20px; }
    .je-fx-table th, .je-fx-table td { padding: 10px 14px; }
}

@media (max-width: 560px) {
    .je-fx-grille, .je-fx-grille--serree { grid-template-columns: minmax(0, 1fr); }
    .je-fx-acces-liste { grid-template-columns: minmax(0, 1fr); }
    .je-fx-acces-liste li + li { border-left: 0; border-top: 1.5px dashed var(--je-line); }
    .je-fx-ix-ligne { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .je-fx-ix-compte { grid-column: 1; }
    .je-fx-pl-duo { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .je-fx-pl-chiffres { grid-template-columns: minmax(0, 1fr); }
    .je-fx-fp-meta div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
