@charset "UTF-8";
/* ═══════════════════════════════════════════════════════════════
   Extériorea : formats complémentaires (Pesées, Modes opératoires,
   Carnet de matériel, volume de terre). Chargé après theme.css, sur
   ces vues seulement. Même grammaire que le reste du site : bandeau
   vert nuit, Josefin Sans en capitales, équerres vert vif, planches
   à joint de 2 px sur le vert des filets, angles de 3 px.
   Aucune nouvelle couleur : variables --ea-* seules.
   Tout ce qui colle ou se cible par ancre se place SOUS l’en-tête
   fixe (--ea-hh : 72 px, identique sur ordinateur et sur mobile).
   ═══════════════════════════════════════════════════════════════ */

/* Les tableaux défilent dans leur cadre : jamais la page entière. */
body { overflow-x: clip; }

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

/* ── Éléments communs ─────────────────────────────────────────── */
.ea-fx-section { padding: clamp(44px, 6vw, 72px) 0 clamp(56px, 8vw, 88px); }

/* Puces en équerre, comme dans les articles. */
.ea-fx-puces { margin: 0 0 1.2em; }
.ea-fx-puces li,
.ea-fx-liste li { position: relative; padding-left: 1.5em; margin-bottom: .55em; }
.ea-fx-puces li::before,
.ea-fx-liste li::before {
    content: '';
    position: absolute;
    left: 0; top: .42em;
    width: 8px; height: 8px;
    border-left: 2px solid var(--ea-vif);
    border-bottom: 2px solid var(--ea-vif);
}
/* Points à vérifier : l’équerre retournée, en gris. */
.ea-fx-puces--vigilance li::before {
    border-left: 0; border-bottom: 0;
    border-right: 2px solid var(--ea-ink-soft);
    border-top: 2px solid var(--ea-ink-soft);
}

.ea-fx-liste { margin: 0 0 1.2em; }
.ea-fx-liste a {
    color: var(--ea-vif-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
.ea-fx-liste a:hover { color: var(--ea-encre); }
.ea-fx-liste--sources a { overflow-wrap: anywhere; }

/* Petit titre à filet, comme « Derniers articles » sur l’accueil. */
.ea-fx-sous,
.ea-fx-tete h2 {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: .66rem;
    letter-spacing: .16em;
    color: var(--ea-ink-soft);
    margin: 1.9em 0 .9em;
}
.ea-fx-sous::after,
.ea-fx-tete h2::after { content: ''; flex: 1; height: 1px; background: var(--ea-ligne); }
.ea-fx-oeil {
    font-family: 'Josefin Sans', sans-serif;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ea-vif-hover);
    margin-bottom: 8px;
}
.ea-fx-note { font-size: .92rem; color: var(--ea-ink-soft); max-width: 66ch; }
.ea-fx-vide { padding-top: 22px; border-top: 2.5px solid var(--ea-vif); color: var(--ea-ink-soft); max-width: 640px; }
.ea-fx-signature {
    margin: 52px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--ea-ligne);
    font-family: 'Josefin Sans', sans-serif;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ea-ink-soft);
}
.ea-fx-avis {
    max-width: 72ch;
    margin: 0 0 40px;
    padding: 14px 18px 14px 20px;
    border-left: 3px solid var(--ea-vif);
    background: var(--ea-surface);
    color: var(--ea-encre);
    font-size: .96rem;
}
.ea-fx-attention {
    margin: 14px 0 0;
    padding: 12px 16px;
    border-left: 3px solid var(--ea-paille-lig);
    background: var(--ea-paille);
    color: var(--ea-encre);
    font-size: .96rem;
}
.ea-fx-attention strong {
    font-family: 'Josefin Sans', sans-serif;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-right: 4px;
}
.ea-fx-folio {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    letter-spacing: .06em;
    color: var(--ea-vif-hover);
}

/* ── Coiffe : bandeau vert nuit, relevé dans une équerre ──────── */
.ea-fx-coiffe-grille {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: clamp(32px, 5vw, 72px);
    align-items: end;
}
.ea-fx-coiffe--seule { grid-template-columns: minmax(0, 1fr); }
.ea-fx-coiffe-texte { min-width: 0; max-width: 860px; }
.ea-fx-coiffe .ea-hero-h1 {
    font-size: clamp(1.45rem, 3.2vw, 2.6rem);
    overflow-wrap: break-word;
    hyphens: manual;
}
.ea-fx-coiffe-desc {
    margin-top: 18px;
    max-width: 68ch;
    font-size: 1.04rem;
    line-height: 1.65;
    font-weight: 300;
    color: var(--ea-clair-soft);
}
.ea-fx-releve {
    position: relative;
    display: grid;
    align-content: end;
    gap: 6px;
    min-height: 190px;
    padding: 0 0 22px 24px;
    border-left: 2px solid var(--ea-vif);
    border-bottom: 2px solid var(--ea-vif);
    color: var(--ea-clair);
}
.ea-fx-releve-picto { color: var(--ea-vif-hero); margin-bottom: auto; }
.ea-fx-releve-picto svg { display: block; }
.ea-fx-releve-n {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    line-height: 1;
    letter-spacing: .02em;
    padding-top: 24px;
}
.ea-fx-releve-l {
    font-family: 'Josefin Sans', sans-serif;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ea-clair-soft);
}

/* ── Pesées : sommaire collant sous l’en-tête fixe ─────────────── */
.ea-fx-gd { padding: clamp(44px, 6vw, 72px) 0 clamp(56px, 8vw, 88px); }
.ea-fx-gd-grille {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}
.ea-fx-gd-nav {
    position: sticky;
    top: calc(var(--ea-hh) + 24px);
    max-height: calc(100vh - var(--ea-hh) - 48px);
    overflow-y: auto;
}
.ea-fx-gd-nav-titre {
    font-family: 'Josefin Sans', sans-serif;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ea-ink-soft);
    border-top: 2.5px solid var(--ea-vif);
    padding-top: 12px;
    margin: 0 0 10px;
}
.ea-fx-gd-nav ol { list-style: none; margin: 0; padding: 0; counter-reset: eafx; }
.ea-fx-gd-nav li { counter-increment: eafx; border-bottom: 1px solid var(--ea-ligne); }
.ea-fx-gd-nav a {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 4px;
    padding: 9px 0;
    font-size: .9rem;
    line-height: 1.35;
    color: var(--ea-ink-soft);
    transition: color .2s, padding-left .25s ease;
}
.ea-fx-gd-nav a::before {
    content: counter(eafx, decimal-leading-zero);
    font-family: 'Josefin Sans', sans-serif;
    font-size: .66rem;
    font-weight: 300;
    letter-spacing: .06em;
    color: var(--ea-vif-hover);
    padding-top: 3px;
}
.ea-fx-gd-nav a:hover { color: var(--ea-encre); padding-left: 6px; }
.ea-fx-gd-corps { min-width: 0; max-width: 76ch; }
.ea-fx-gd-corps > section > p { color: var(--ea-encre); line-height: 1.75; }
.ea-fx-gd-corps > section > p + p { margin-top: 1em; }
.ea-fx-gd-sec { margin-bottom: 56px; scroll-margin-top: calc(var(--ea-hh) + 24px); }
.ea-fx-gd-sec > h2 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ea-vif);
    margin-bottom: 20px;
}
.ea-fx-gd-h2 { display: flex; align-items: baseline; gap: 14px; }
.ea-fx-gd-h2 .ea-fx-folio { font-size: .8em; flex-shrink: 0; }
.ea-fx-gd-bref {
    padding: 24px 28px 12px;
    margin: 0 0 56px;
    background: var(--ea-surface);
    border-left: 3px solid var(--ea-vif);
    scroll-margin-top: calc(var(--ea-hh) + 24px);
}
.ea-fx-gd-bref h2 {
    font-size: .68rem;
    letter-spacing: .16em;
    color: var(--ea-vif-hover);
    margin-bottom: 16px;
}
.ea-fx-gd-bref li { color: var(--ea-encre); }

/* Tableaux : toujours dans un cadre à défilement horizontal interne. */
.ea-fx-table-cadre {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--ea-ligne);
    border-radius: var(--ea-r);
    background: var(--ea-fond);
}
.ea-fx-table-cadre:focus-visible { outline: 2px solid var(--ea-vif); outline-offset: 3px; }
.ea-fx-table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: .95rem; }
.ea-fx-table--fiche { min-width: 0; }
.ea-fx-table caption {
    text-align: left;
    padding: 12px 16px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ea-ink-soft);
    border-bottom: 1px solid var(--ea-ligne);
}
.ea-fx-table th, .ea-fx-table td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--ea-ligne);
    color: var(--ea-encre);
    line-height: 1.5;
}
.ea-fx-table th + th, .ea-fx-table th + td, .ea-fx-table td + td { border-left: 1px solid var(--ea-ligne); }
.ea-fx-table thead th {
    background: var(--ea-nuit);
    border-bottom: 0;
    color: var(--ea-clair);
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    font-size: .74rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.3;
}
.ea-fx-table thead th + th { border-left-color: rgba(255,255,255,.1); }
.ea-fx-table thead a { color: var(--ea-vif-hero); text-decoration: underline; text-underline-offset: 3px; }
.ea-fx-table thead a:hover { color: var(--ea-clair); }
.ea-fx-table tbody th { font-weight: 600; background: var(--ea-surface); }
.ea-fx-table tbody tr:last-child th, .ea-fx-table tbody tr:last-child td { border-bottom: 0; }
.ea-fx-table--fiche th { width: 36%; }
.ea-fx-table--calcul td { font-variant-numeric: tabular-nums; }
.ea-fx-table--calcul td:last-child { font-weight: 700; white-space: nowrap; }

.ea-fx-cas { margin: 0; border-top: 1px solid var(--ea-ligne); }
.ea-fx-cas-ligne {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--ea-ligne);
}
.ea-fx-cas dt {
    font-family: 'Josefin Sans', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.35;
    color: var(--ea-encre);
}
.ea-fx-cas dd { margin: 0; color: var(--ea-encre); line-height: 1.65; }

/* ── Fiches du carnet : planche à joint de 2 px ────────────────── */
.ea-fx-fiches {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    background: var(--ea-ligne);
    border: 2px solid var(--ea-ligne);
}
.ea-fx-fiches--serrees { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); margin-top: 22px; }
.ea-fx-fiche { background: var(--ea-fond); transition: background .2s; }
.ea-fx-fiche:hover { background: var(--ea-surface); }
.ea-fx-fiche-lien {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    padding: 18px 18px 22px;
    color: inherit;
}
.ea-fx-fiche-lien:hover { color: inherit; }
.ea-fx-fiche-vue {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    margin-bottom: 10px;
    background: var(--ea-tint);
    color: var(--ea-vert);
    transition: background .3s ease, color .3s ease;
}
.ea-fx-fiche-lien:hover .ea-fx-fiche-vue { background: var(--ea-nuit); color: var(--ea-vif-hero); }
.ea-fx-etat {
    position: absolute;
    top: 8px; left: 8px;
    padding: 4px 8px 3px;
    background: var(--ea-nuit);
    border-radius: var(--ea-r);
    font-family: 'Josefin Sans', sans-serif;
    font-size: .54rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ea-clair);
}
.ea-fx-fiche-marque {
    font-family: 'Josefin Sans', sans-serif;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ea-vif-hover);
}
.ea-fx-fiche-nom {
    font-size: .9rem;
    line-height: 1.3;
    color: var(--ea-encre);
    transition: color .2s;
}
.ea-fx-fiche-lien:hover .ea-fx-fiche-nom { color: var(--ea-vif-hover); }
.ea-fx-fiche-type { font-size: .88rem; color: var(--ea-ink-soft); line-height: 1.45; }

.ea-fx-rayons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.ea-fx-rayons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 7px;
    border: 1px solid var(--ea-ligne);
    border-radius: var(--ea-r);
    font-family: 'Josefin Sans', sans-serif;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ea-ink-soft);
    transition: border-color .2s, color .2s, background .2s;
}
.ea-fx-rayons a:hover { border-color: var(--ea-vif); color: var(--ea-vif-hover); }
.ea-fx-rayons a[aria-current="page"] { background: var(--ea-nuit); border-color: var(--ea-nuit); color: var(--ea-clair); }
.ea-fx-rayon-n { color: var(--ea-vif-hover); }
.ea-fx-rayons a[aria-current="page"] .ea-fx-rayon-n { color: var(--ea-vif-hero); }

/* Page d’une fiche */
.ea-fx-fp { padding: clamp(44px, 6vw, 72px) 0 clamp(56px, 8vw, 88px); }
.ea-fx-fp-haut {
    display: grid;
    grid-template-columns: minmax(0, 41fr) minmax(0, 59fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}
.ea-fx-fp-vue {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    background: var(--ea-tint);
    border-top: 2.5px solid var(--ea-vif);
    color: var(--ea-vert);
}
.ea-fx-fp-vue > svg { width: 30%; height: auto; }
.ea-fx-fp-resume { margin-bottom: 26px; }
.ea-fx-fp-infos .ea-fx-avis { margin-bottom: 26px; }
.ea-fx-fp-meta { margin: 0; border-bottom: 1px solid var(--ea-ligne); }
.ea-fx-fp-meta > div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--ea-ligne);
    font-size: .95rem;
}
.ea-fx-fp-meta dt {
    font-family: 'Josefin Sans', sans-serif;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ea-ink-soft);
    padding-top: 4px;
}
.ea-fx-fp-meta dd { margin: 0; color: var(--ea-encre); overflow-wrap: anywhere; }
.ea-fx-fp-meta a { color: var(--ea-vif-hover); text-decoration: underline; text-underline-offset: 3px; }
/* Les onglets d’ancres collent SOUS l’en-tête fixe, jamais derrière. */
.ea-fx-fp-onglets {
    position: sticky;
    top: var(--ea-hh);
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 0 28px;
    margin-top: 64px;
    background: var(--ea-fond);
    border-bottom: 1px solid var(--ea-ligne);
}
.ea-fx-fp-onglets a {
    position: relative;
    padding: 15px 0 13px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ea-ink-soft);
    transition: color .2s;
}
.ea-fx-fp-onglets a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -1px;
    width: 100%; height: 2px;
    background: var(--ea-vif);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}
.ea-fx-fp-onglets a:hover { color: var(--ea-encre); }
.ea-fx-fp-onglets a:hover::after { transform: scaleX(1); }
.ea-fx-fp-corps { max-width: 76ch; padding-top: 44px; }
.ea-fx-fp-section { margin-bottom: 52px; scroll-margin-top: calc(var(--ea-hh) + 72px); }
.ea-fx-fp-section > h2 {
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ea-vif);
    margin-bottom: 18px;
}
.ea-fx-fp-section h3 { font-size: .9rem; margin: 1.6em 0 .8em; }
.ea-fx-fp-section > p { line-height: 1.75; }
.ea-fx-fp-voisins {
    background: var(--ea-surface);
    border-top: 1px solid var(--ea-ligne);
    padding: clamp(40px, 6vw, 64px) 0;
}
.ea-fx-fp-voisins .ea-fx-tete h2 { margin-top: 0; }

/* ── Index des pesées : lignes à filets, comme les jalons ──────── */
.ea-fx-ix-liste { list-style: none; margin: 0; padding: 0; }
.ea-fx-ix-ligne {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 150px;
    align-items: start;
    gap: 24px;
    padding: 30px 0;
    border-top: 1px solid var(--ea-ligne);
    transition: padding-left .28s ease;
}
.ea-fx-ix-ligne:first-child { border-top: 2.5px solid var(--ea-vif); }
.ea-fx-ix-ligne:last-child { border-bottom: 1px solid var(--ea-ligne); }
.ea-fx-ix-ligne:hover { padding-left: 14px; }
.ea-fx-ix-num {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: .04em;
    color: var(--ea-vif-hover);
    padding-top: 2px;
}
.ea-fx-ix-titre { font-size: clamp(1.05rem, 2.1vw, 1.5rem); line-height: 1.2; margin-bottom: 10px; }
.ea-fx-ix-titre a,
.ea-fx-tx-titre a {
    color: var(--ea-encre);
    background-image: linear-gradient(var(--ea-vif), var(--ea-vif));
    background-size: 0 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size .28s ease, color .2s;
}
.ea-fx-ix-titre a:hover,
.ea-fx-tx-titre a:hover { background-size: 100% 2px; color: var(--ea-vif-hover); }
.ea-fx-ix-accroche { margin: 0; color: var(--ea-ink-soft); max-width: 66ch; }
.ea-fx-ix-compte { display: grid; justify-items: end; text-align: right; gap: 6px; }
.ea-fx-ix-compte-n { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 1.8rem; line-height: 1; color: var(--ea-encre); }
.ea-fx-ix-compte-l {
    font-family: 'Josefin Sans', sans-serif;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ea-ink-soft);
}

/* ── Index des modes opératoires : planche en 2 colonnes ───────── */
.ea-fx-tx-grille {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    background: var(--ea-ligne);
    border: 2px solid var(--ea-ligne);
}
.ea-fx-tx-fiche {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 26px 22px;
    background: var(--ea-fond);
    transition: background .2s;
}
.ea-fx-tx-fiche:hover { background: var(--ea-surface); }
.ea-fx-tx-niveau {
    margin: 0;
    font-family: 'Josefin Sans', sans-serif;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ea-vif-hover);
}
.ea-fx-tx-titre { font-size: clamp(1rem, 1.8vw, 1.25rem); line-height: 1.25; }
.ea-fx-tx-accroche { margin: 0; color: var(--ea-ink-soft); flex: 1; }
.ea-fx-tx-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 8px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--ea-ligne);
    font-family: 'Josefin Sans', sans-serif;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ea-ink-soft);
}

/* ── Mode opératoire : relevé en marge, étapes sur une tige ────── */
.ea-fx-tu { padding: clamp(44px, 6vw, 72px) 0 clamp(56px, 8vw, 88px); }
.ea-fx-tu-grille {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}
.ea-fx-tu-marge { position: sticky; top: calc(var(--ea-hh) + 24px); }
.ea-fx-tu-releve { margin: 0; border-top: 2.5px solid var(--ea-vif); }
.ea-fx-tu-releve > div { padding: 12px 0; border-bottom: 1px solid var(--ea-ligne); }
.ea-fx-tu-releve dt {
    font-family: 'Josefin Sans', sans-serif;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ea-ink-soft);
}
.ea-fx-tu-releve dd { margin: 4px 0 0; font-weight: 600; font-size: 1.02rem; line-height: 1.35; color: var(--ea-encre); }
.ea-fx-tu-corps { min-width: 0; max-width: 76ch; }
.ea-fx-tu-mat {
    padding: 24px 28px 12px;
    margin-bottom: 60px;
    background: var(--ea-paille);
    border-top: 1px solid var(--ea-paille-lig);
    border-bottom: 1px solid var(--ea-paille-lig);
}
.ea-fx-tu-mat h2 { font-size: clamp(1.05rem, 2vw, 1.35rem); margin-bottom: 16px; }
.ea-fx-tu-mat .ea-fx-oeil { color: var(--ea-encre); }
.ea-fx-tu-mat li { color: var(--ea-encre); }
.ea-fx-tu-mat .ea-fx-puces li::before { border-color: var(--ea-vif-hover); }
.ea-fx-tu-etapes { list-style: none; margin: 0 0 56px; padding: 0; }
.ea-fx-tu-etape {
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 28px;
    padding-bottom: 40px;
    scroll-margin-top: calc(var(--ea-hh) + 24px);
}
/* La tige de l’espalier : relie les étapes, chacune y greffe un bras vert. */
.ea-fx-tu-etape::before {
    content: '';
    position: absolute;
    left: 56px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--ea-ligne);
}
.ea-fx-tu-etape:first-child::before { top: 13px; }
.ea-fx-tu-etape:last-child::before { bottom: auto; height: 15px; }
.ea-fx-tu-etape:only-child::before { display: none; }
.ea-fx-tu-etape::after {
    content: '';
    position: absolute;
    left: 56px;
    top: 13px;
    width: 22px;
    height: 2px;
    background: var(--ea-vif);
}
.ea-fx-tu-num {
    justify-self: end;
    padding-right: 12px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: .04em;
    color: var(--ea-vif-hover);
}
.ea-fx-tu-etape-corps { min-width: 0; }
.ea-fx-tu-etape-titre { font-size: clamp(.98rem, 1.8vw, 1.2rem); line-height: 1.25; margin: 0 0 12px; }
.ea-fx-tu-etape-corps > p { line-height: 1.75; }
.ea-fx-tu-controle {
    padding: 22px 26px 18px;
    margin-bottom: 56px;
    background: var(--ea-surface);
    border-left: 3px solid var(--ea-vif);
}
.ea-fx-tu-controle h2 { font-size: .68rem; letter-spacing: .16em; color: var(--ea-vif-hover); margin-bottom: 12px; }
.ea-fx-tu-controle p { line-height: 1.7; }
.ea-fx-tu-suite { margin-bottom: 48px; }
.ea-fx-tu-suite > h2 {
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ea-vif);
    margin-bottom: 16px;
}

/* ── Volume de terre ──────────────────────────────────────────── */
.ea-fx-ou-grille {
    display: grid;
    grid-template-columns: minmax(0, 59fr) minmax(0, 41fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}
.ea-fx-ou-form {
    min-width: 0;
    padding: 28px 30px 12px;
    background: var(--ea-surface);
    border-top: 3px solid var(--ea-vif);
}
.ea-fx-ou-titre { font-size: clamp(1.05rem, 2vw, 1.35rem); margin-bottom: 20px; }
.ea-fx-ou-groupe { margin: 0 0 22px; padding: 16px 0 0; border: 0; border-top: 1px solid var(--ea-ligne); min-width: 0; }
.ea-fx-ou-groupe legend {
    padding: 0 0 12px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ea-vif-hover);
}
.ea-fx-champ { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.ea-fx-champ label {
    font-family: 'Josefin Sans', sans-serif;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ea-ink-soft);
}
.ea-fx-champ input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    color: var(--ea-encre);
    background: var(--ea-fond);
    border: 1px solid var(--ea-ligne);
    border-radius: var(--ea-r);
    transition: border-color .2s;
}
.ea-fx-champ input::placeholder { color: var(--ea-ink-soft); opacity: 1; }
.ea-fx-champ input:focus { outline: 2px solid var(--ea-vif); outline-offset: 1px; border-color: var(--ea-vif); }
.ea-fx-champ input[aria-invalid="true"] { border: 2px solid var(--ea-encre); background: var(--ea-paille); }
.ea-fx-champ-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ea-fx-champ-trio .ea-fx-champ { margin-bottom: 8px; }
.ea-fx-ou-groupe > .ea-fx-aide { display: block; margin-bottom: 16px; }
.ea-fx-aide { font-size: .86rem; color: var(--ea-ink-soft); line-height: 1.45; }
.ea-fx-erreur {
    margin: 0 0 16px;
    padding: 10px 14px;
    border-left: 3px solid var(--ea-encre);
    background: var(--ea-paille);
    color: var(--ea-encre);
    font-weight: 600;
}
.ea-fx-erreur[hidden] { display: none; }
.ea-fx-ou-resultat { position: sticky; top: calc(var(--ea-hh) + 24px); min-width: 0; }
.ea-fx-chiffres { margin: 0 0 22px; border-top: 2.5px solid var(--ea-vif); }
.ea-fx-chiffres > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--ea-ligne);
}
.ea-fx-chiffres dt {
    font-family: 'Josefin Sans', sans-serif;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ea-ink-soft);
}
.ea-fx-chiffres dd {
    margin: 0;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    font-size: 1.45rem;
    letter-spacing: .02em;
    color: var(--ea-encre);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.ea-fx-chiffres > .ea-fx-chiffres-fort {
    background: var(--ea-nuit);
    padding: 16px 18px;
    border-bottom-color: var(--ea-nuit);
}
.ea-fx-chiffres-fort dt { color: var(--ea-clair-soft); }
.ea-fx-chiffres-fort dd { color: var(--ea-vif-hero); font-size: clamp(1.8rem, 4vw, 2.4rem); }
.ea-fx-ou-phrases p { color: var(--ea-encre); line-height: 1.65; }
.ea-fx-ou-ref, .ea-fx-ou-methode { padding-bottom: clamp(48px, 7vw, 80px); }
.ea-fx-ou-colonne > * { max-width: 78ch; }
.ea-fx-ou-colonne > .ea-fx-table-cadre { max-width: 100%; }
.ea-fx-ou-colonne > h2 {
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ea-vif);
    margin: 1.9em 0 .8em;
}
.ea-fx-ou-ref > .ea-fil > h2:first-child { margin-top: 0; }
.ea-fx-ou-colonne > p { line-height: 1.75; }
.ea-fx-ou-colonne > p + p { margin-top: 1em; }
.ea-fx-ou-colonne > p + .ea-fx-table-cadre { margin-top: 20px; }

/* ── Réactivité ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .ea-fx-coiffe-grille { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .ea-fx-releve {
        justify-self: start;
        display: inline-grid;
        grid-template-columns: auto auto;
        align-items: center;
        column-gap: 16px;
        min-height: 0;
        padding: 6px 4px 14px 18px;
    }
    .ea-fx-releve-picto { grid-row: span 2; margin: 0; }
    .ea-fx-releve-n { padding-top: 0; font-size: 2rem; }

    .ea-fx-gd-grille, .ea-fx-tu-grille { display: block; }
    .ea-fx-gd-nav { position: static; max-height: none; margin-bottom: 44px; }
    .ea-fx-tu-marge { position: static; margin-bottom: 40px; }
    .ea-fx-tu-releve { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
    .ea-fx-tu-releve > div + div { padding-left: 18px; border-left: 1px solid var(--ea-ligne); }

    .ea-fx-fiches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ea-fx-ou-grille { grid-template-columns: minmax(0, 1fr); }
    .ea-fx-ou-resultat { position: static; }
    .ea-fx-ix-ligne { grid-template-columns: 56px minmax(0, 1fr); row-gap: 12px; }
    .ea-fx-ix-compte { grid-column: 2; justify-items: start; text-align: left; grid-auto-flow: column; align-items: baseline; gap: 8px; }
    .ea-fx-ix-compte-n { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .ea-fx-gd-sec, .ea-fx-gd-bref, .ea-fx-tu-etape { scroll-margin-top: calc(var(--ea-hh) + 20px); }
    .ea-fx-fiches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ea-fx-fiche-lien { padding: 14px 14px 18px; }
    .ea-fx-etat { top: 6px; left: 6px; font-size: .5rem; padding: 3px 6px 2px; }
    .ea-fx-fp-haut { grid-template-columns: minmax(0, 1fr); }
    .ea-fx-fp-vue { aspect-ratio: 16 / 10; }
    .ea-fx-fp-vue > svg { width: 22%; }
    .ea-fx-fp-onglets { position: static; margin-top: 44px; gap: 0 20px; }
    .ea-fx-fp-section { scroll-margin-top: calc(var(--ea-hh) + 20px); }
    .ea-fx-fp-meta > div { grid-template-columns: 92px minmax(0, 1fr); }
    .ea-fx-tx-grille { grid-template-columns: minmax(0, 1fr); }
    .ea-fx-tx-fiche { padding: 22px 20px 18px; }
    .ea-fx-cas-ligne { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .ea-fx-gd-bref, .ea-fx-tu-mat, .ea-fx-tu-controle, .ea-fx-ou-form { padding-inline: 18px; }
    .ea-fx-tu-etape { grid-template-columns: 40px minmax(0, 1fr); gap: 20px; }
    .ea-fx-tu-etape::before, .ea-fx-tu-etape::after { left: 40px; }
    .ea-fx-tu-etape::after { width: 14px; }
    .ea-fx-tu-num { font-size: 1.3rem; padding-right: 8px; }
    .ea-fx-ix-ligne { grid-template-columns: 40px minmax(0, 1fr); gap: 12px 14px; padding: 24px 0; }
    .ea-fx-ix-ligne:hover { padding-left: 0; }
    .ea-fx-ix-num { font-size: 1.2rem; }
    .ea-fx-champ-trio { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .ea-fx-chiffres dd { white-space: normal; }
    .ea-fx-table { font-size: .9rem; }
}

@media (max-width: 480px) {
    .ea-fx-fiches { grid-template-columns: minmax(0, 1fr); }
    .ea-fx-tu-releve { grid-auto-flow: row; }
    .ea-fx-tu-releve > div + div { padding-left: 0; border-left: 0; }
}
