/* =====================================================================
   2L Matériel : formats complémentaires (matériel comparé, gestes de rénovation,
   parc à outils en vitrine, calcul de parpaings). Préfixe dl-fx-.
   Même console que le magazine : papier, surfaces blanches, filets de trace,
   cotes en mono capitales, titres Instrument Serif, cyan profond en accent.
   Dépend de style.css (variables --dl-*).
   ===================================================================== */

/* ---------------------------------------------------------------------
   Barre : seconde ligne « Pratique » sous la console fixe.
   La barre passe de 72 à 112 px : --dl-bh suit, donc toutes les têtes de page
   et le sommaire collant se recalent seuls.
   --------------------------------------------------------------------- */
body.dl-avec-formats { --dl-bh: 112px; }

.dl-barre--formats {
    flex-direction: column;
    align-items: stretch;
}
.dl-barre--formats > .dl-cont { flex: 0 0 72px; }

.dl-fx-barre {
    flex: 0 0 40px;
    border-top: 1px solid var(--dl-trace);
    display: flex;
    align-items: center;
}
.dl-fx-barre-int {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}
.dl-fx-barre-t {
    font-family: var(--dl-mono);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dl-mute);
    flex-shrink: 0;
}
.dl-fx-barre ul {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.dl-fx-barre ul::-webkit-scrollbar { display: none; }
.dl-fx-barre a {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 6px 12px;
    font-family: var(--dl-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--dl-graphite);
    border-radius: var(--dl-radius);
    transition: color .2s var(--dl-ease), background .2s var(--dl-ease);
}
.dl-fx-barre-n { color: var(--dl-cyan-deep); font-size: 0.6rem; }
.dl-fx-barre a:hover { color: var(--dl-cyan-deep); }
.dl-fx-barre a[aria-current="page"] { background: var(--dl-graphite); color: var(--dl-papier); }
.dl-fx-barre a[aria-current="page"] .dl-fx-barre-n { color: var(--dl-cyan); }

/* Menu mobile : les formats sous les rubriques, panneau défilant s'il dépasse l'écran. */
.dl-nav-mobile { max-height: calc(100vh - var(--dl-bh)); max-height: calc(100dvh - var(--dl-bh)); overflow-y: auto; }
.dl-fx-mobile-t {
    margin: 24px 0 4px;
    padding: 0 16px;
    font-family: var(--dl-mono);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dl-cyan-deep);
}
.dl-fx-mobile-list a[aria-current="page"] { color: var(--dl-cyan-deep); }

/* ---------------------------------------------------------------------
   Communs
   --------------------------------------------------------------------- */
.dl-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dl-fx-titre { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.04; max-width: 22ch; }
.dl-fx-deck { max-width: 64ch; }
.dl-fx-detail {
    margin-top: 18px;
    font-family: var(--dl-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dl-graphite);
}

.dl-fx-kicker {
    margin: 0 0 8px;
    font-family: var(--dl-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--dl-cyan-deep);
}

.dl-fx-h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    line-height: 1.12;
    color: var(--dl-graphite);
    display: flex;
    align-items: baseline;
    gap: 14px;
}
.dl-fx-num {
    font-family: var(--dl-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--dl-cyan-deep);
    flex-shrink: 0;
}
.dl-fx-sous {
    margin: 28px 0 6px;
    font-family: var(--dl-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dl-mute);
}

.dl-fx-note {
    margin-top: 14px;
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--dl-mute);
}
.dl-fx-vide { color: var(--dl-mute); max-width: 60ch; }

.dl-fx-signature {
    margin-top: 56px;
    padding-top: 16px;
    border-top: 1px dashed var(--dl-trace);
    font-family: var(--dl-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--dl-mute);
}

.dl-fx-sec { margin-top: 64px; scroll-margin-top: calc(var(--dl-bh) + 24px); }
.dl-fx-sec > p,
.dl-fx-lecture > p,
.dl-fx-controle > p {
    margin: 1em 0 0;
    font-size: 1.04rem;
    line-height: 1.78;
    color: var(--dl-ink);
    text-wrap: pretty;
}
.dl-fx-sec > .dl-fx-h2 + p { margin-top: 18px; }
.dl-fx-sec > p.dl-fx-note { font-size: 0.86rem; color: var(--dl-mute); }

/* Puces : le trait de cote du magazine. */
.dl-fx-puces { margin: 18px 0 0; display: grid; gap: 10px; }
.dl-fx-puces li { position: relative; padding-left: 22px; line-height: 1.65; }
.dl-fx-puces li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.8em;
    width: 10px; height: 2px;
    background: var(--dl-cyan-deep);
}

/* Listes de liens : la liste du plan du site. */
.dl-fx-liens { margin: 10px 0 0; }
.dl-fx-liens li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--dl-trace);
    color: var(--dl-ink);
    transition: color .2s var(--dl-ease);
}
.dl-fx-liens li a::after { content: '→'; font-family: var(--dl-mono); color: var(--dl-mute); flex-shrink: 0; }
.dl-fx-liens li a:hover { color: var(--dl-cyan-deep); }
.dl-fx-sources { font-size: 0.92rem; }
.dl-fx-sources a { overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: var(--dl-trace); text-underline-offset: 3px; }
.dl-fx-sources a:hover { text-decoration-color: currentColor; }

/* Encadrés : « En bref », matériel, points à vérifier. Surface blanche, filet cyan à gauche. */
.dl-fx-bref {
    background: var(--dl-surface);
    border: 1px solid var(--dl-trace);
    border-left: 3px solid var(--dl-cyan-deep);
    border-radius: var(--dl-radius);
    padding: 28px 32px 30px;
    scroll-margin-top: calc(var(--dl-bh) + 24px);
}
.dl-fx-sec.dl-fx-bref { margin-top: 64px; }

/* Tableaux : le défilement horizontal reste dans son cadre, jamais sur la page. */
.dl-fx-table-wrap {
    margin-top: 22px;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--dl-trace);
    border-radius: var(--dl-radius);
    background: var(--dl-surface);
}
.dl-fx-table-wrap:focus-visible { outline: 2px solid var(--dl-cyan-deep); outline-offset: 3px; }
.dl-fx-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.94rem;
    line-height: 1.5;
}
.dl-fx-table caption {
    caption-side: bottom;
    padding: 12px 16px;
    text-align: left;
    font-family: var(--dl-mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: var(--dl-mute);
    border-top: 1px solid var(--dl-trace);
}
.dl-fx-table th,
.dl-fx-table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--dl-trace);
}
.dl-fx-table tbody tr:last-child th,
.dl-fx-table tbody tr:last-child td { border-bottom: 0; }
.dl-fx-table thead th {
    background: var(--dl-graphite);
    color: var(--dl-papier);
    font-family: var(--dl-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 0;
}
.dl-fx-table thead th a { color: var(--dl-cyan); }
.dl-fx-table thead th a:hover { color: #fff; }
.dl-fx-table tbody th { font-weight: 600; color: var(--dl-graphite); }
.dl-fx-table--fiche { min-width: 0; }
.dl-fx-table--fiche tbody th { width: 36%; font-weight: 500; color: var(--dl-mute); }

/* Choix selon le cas */
.dl-fx-cas { margin: 22px 0 0; border-top: 1px solid var(--dl-graphite); }
.dl-fx-cas-ligne {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--dl-trace);
}
.dl-fx-cas dt { font-family: var(--dl-serif); font-size: 1.25rem; line-height: 1.25; color: var(--dl-graphite); }
.dl-fx-cas dd { margin: 0; line-height: 1.65; }

/* ---------------------------------------------------------------------
   Fiches du parc à outils : la grille à joints d'1 px du magazine
   --------------------------------------------------------------------- */
.dl-fx-grille {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--dl-trace);
    border: 1px solid var(--dl-trace);
    margin-top: 28px;
}
.dl-fx-grille--serree { margin-top: 24px; }
.dl-fx-carte-visuel {
    margin: 18px 24px 0;
    aspect-ratio: 16 / 11;
    border-radius: var(--dl-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dl-graphite);
    background-color: var(--dl-papier);
    background-image:
        linear-gradient(var(--dl-trace) 1px, transparent 1px),
        linear-gradient(90deg, var(--dl-trace) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: -1px -1px;
    overflow: hidden;
}
.dl-fx-carte-visuel--photo { background-image: none; }
.dl-fx-carte-visuel img { width: 100%; height: 100%; object-fit: cover; }
.dl-fx-picto-grand {
    width: 30%;
    height: auto;
    padding: 10px;
    background: var(--dl-papier);
    transition: transform .3s var(--dl-ease);
}
.dl-fx-carte:hover .dl-fx-picto-grand { transform: translateY(-3px); }
.dl-fx-carte .dl-fiche-titre { font-size: 1.3rem; }
.dl-fx-grille--serree .dl-fiche-titre { font-size: 1.15rem; }
.dl-fx-stock { display: inline-flex; align-items: center; gap: 8px; color: var(--dl-graphite); }
.dl-fx-stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--dl-rouge); }

/* ---------------------------------------------------------------------
   Index des comparaisons et des gestes : une liste de fiches cotées
   --------------------------------------------------------------------- */
.dl-fx-ix-liste { border-top: 1px solid var(--dl-graphite); }
.dl-fx-ix-ligne {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) 200px;
    gap: 32px;
    align-items: start;
    padding: 32px 0;
    border-bottom: 1px solid var(--dl-trace);
}
.dl-fx-ix-ref {
    font-family: var(--dl-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--dl-cyan-deep);
    padding-top: 6px;
}
.dl-fx-ix-titre { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.12; }
.dl-fx-ix-titre a { transition: color .2s var(--dl-ease); }
.dl-fx-ix-ligne:hover .dl-fx-ix-titre a { color: var(--dl-cyan-deep); }
.dl-fx-ix-accroche { margin-top: 10px; font-size: 0.96rem; line-height: 1.6; color: var(--dl-mute); max-width: 68ch; }
.dl-fx-ix-compte {
    justify-self: end;
    text-align: right;
    padding-top: 8px;
    font-family: var(--dl-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dl-graphite);
}

/* ---------------------------------------------------------------------
   Comparaison et geste : sommaire collant sous la barre, colonne de lecture
   --------------------------------------------------------------------- */
.dl-fx-gd { padding: 56px 0 104px; }
.dl-fx-gd-grille {
    display: grid;
    grid-template-columns: 260px minmax(0, 760px);
    justify-content: center;
    gap: 64px;
    align-items: start;
}
.dl-fx-sommaire {
    position: sticky;
    top: calc(var(--dl-bh) + 24px);
    max-height: calc(100vh - var(--dl-bh) - 48px);
    overflow-y: auto;
}
.admin-bar .dl-fx-sommaire { top: calc(var(--dl-bh) + 56px); }
.dl-fx-sommaire-t {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--dl-graphite);
    font-family: var(--dl-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--dl-graphite);
}
.dl-fx-sommaire li { border-bottom: 1px dashed var(--dl-trace); }
.dl-fx-sommaire a {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    padding: 10px 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--dl-ink);
    transition: color .2s var(--dl-ease);
}
.dl-fx-sommaire a:hover { color: var(--dl-cyan-deep); }
.dl-fx-sommaire-n {
    font-family: var(--dl-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dl-cyan-deep);
    padding-top: 2px;
}
.dl-fx-corps { min-width: 0; }
.dl-fx-corps > :first-child { margin-top: 0; }

/* Geste : relevé en cases, étapes reliées par un filet cyan */
.dl-fx-releve {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    max-width: 1084px;
    margin: 0 auto 56px;
    background: var(--dl-trace);
    border: 1px solid var(--dl-trace);
}
.dl-fx-releve > div { background: var(--dl-surface); padding: 18px 20px; }
.dl-fx-releve dt {
    font-family: var(--dl-mono);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dl-mute);
}
.dl-fx-releve dd { margin: 8px 0 0; font-family: var(--dl-serif); font-size: 1.5rem; line-height: 1.15; color: var(--dl-graphite); }

.dl-fx-etapes { margin-top: 56px; }
.dl-fx-etape {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 40px;
    scroll-margin-top: calc(var(--dl-bh) + 24px);
}
.dl-fx-etape::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 48px; bottom: 0;
    width: 1px;
    background: var(--dl-cyan);
}
.dl-fx-etape:last-child::before { display: none; }
.dl-fx-etape-n {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--dl-graphite);
    border-radius: 50%;
    background: var(--dl-papier);
    font-family: var(--dl-mono);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dl-graphite);
}
.dl-fx-etape-titre { font-size: 1.5rem; line-height: 1.2; padding-top: 8px; }
.dl-fx-etape-corps > p { margin-top: 10px; font-size: 1.04rem; line-height: 1.75; }
.dl-fx-attention {
    padding: 14px 18px;
    border-left: 3px solid var(--dl-rouge);
    background: var(--dl-surface);
    font-size: 0.96rem !important;
}
.dl-fx-attention strong { font-weight: 700; color: var(--dl-graphite); }
.dl-fx-controle {
    margin-top: 8px;
    padding-top: 22px;
    border-top: 1px solid var(--dl-graphite);
    scroll-margin-top: calc(var(--dl-bh) + 24px);
}

/* ---------------------------------------------------------------------
   Parc à outils : onglets de rayons, puis la grille
   --------------------------------------------------------------------- */
.dl-fx-rayons { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-fx-rayons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-family: var(--dl-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dl-graphite);
    border: 1px solid var(--dl-trace);
    border-radius: 999px;
    background: var(--dl-surface);
    transition: border-color .2s var(--dl-ease), background .2s var(--dl-ease), color .2s var(--dl-ease);
}
.dl-fx-rayons a:hover { border-color: var(--dl-graphite); }
.dl-fx-rayons a[aria-current="page"] { background: var(--dl-graphite); border-color: var(--dl-graphite); color: var(--dl-papier); }
.dl-fx-rayons-n { color: var(--dl-mute); }
.dl-fx-rayons a[aria-current="page"] .dl-fx-rayons-n { color: var(--dl-cyan); }
.dl-fx-bt .dl-fx-note { max-width: 72ch; margin-top: 20px; }

/* Fiche : le visuel dans son cadre à grille, les informations à côté */
.dl-fx-fp-grille {
    display: grid;
    grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}
.dl-fx-fp-visuel {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--dl-trace);
    border-radius: var(--dl-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dl-graphite);
    background-color: var(--dl-surface);
    background-image:
        linear-gradient(var(--dl-trace) 1px, transparent 1px),
        linear-gradient(90deg, var(--dl-trace) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: -1px -1px;
    overflow: hidden;
}
.dl-fx-fp-visuel--photo { background-image: none; }
.dl-fx-fp-visuel img { width: 100%; height: 100%; object-fit: cover; }
.dl-fx-fp-visuel .dl-fx-picto-grand { width: 34%; background: var(--dl-surface); }
.dl-fx-badge {
    position: absolute;
    top: 16px; left: 16px;
    padding: 5px 10px;
    font-family: var(--dl-mono);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--dl-graphite);
    color: var(--dl-papier);
    border-radius: var(--dl-radius);
}
.dl-fx-fp-titre { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.dl-fx-fp-type { margin-top: -6px; font-family: var(--dl-mono); font-size: 0.82rem; color: var(--dl-mute); }
.dl-fx-fp-resume { margin-top: 24px; }
.dl-fx-fp-dispo {
    margin-top: 28px;
    padding: 16px 18px;
    border: 1px dashed var(--dl-graphite);
    border-radius: var(--dl-radius);
    font-size: 0.94rem;
    line-height: 1.6;
}
.dl-fx-fp-meta {
    margin: 28px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1px;
    background: var(--dl-trace);
    border: 1px solid var(--dl-trace);
}
.dl-fx-fp-meta > div { background: var(--dl-papier); padding: 14px 16px; }
.dl-fx-fp-meta dt {
    font-family: var(--dl-mono);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dl-mute);
}
.dl-fx-fp-meta dd { margin: 6px 0 0; font-weight: 600; color: var(--dl-graphite); overflow-wrap: anywhere; }
.dl-fx-fp-meta a { color: var(--dl-cyan-deep); }

.dl-fx-fp-suite { padding: 56px 0 96px; }
.dl-fx-onglets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 760px;
    margin: 0 auto;
}
.dl-fx-onglets a {
    padding: 8px 14px;
    font-family: var(--dl-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid var(--dl-trace);
    border-radius: 999px;
    color: var(--dl-graphite);
    transition: border-color .2s var(--dl-ease);
}
.dl-fx-onglets a:hover { border-color: var(--dl-graphite); }
.dl-fx-lecture { max-width: 760px; margin: 0 auto; }
.dl-fx-lecture > .dl-fx-sec:first-child { margin-top: 40px; }
.dl-fx-voisins .dl-fx-grille { margin-top: 0; }

/* ---------------------------------------------------------------------
   Accueil : la ligne des formats, dans la section des rubriques
   --------------------------------------------------------------------- */
.dl-fx-acces { margin-top: 64px; }
.dl-fx-acces .dl-section-cote { margin-bottom: 20px; }
.dl-fx-acces-liste {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--dl-trace);
    border: 1px solid var(--dl-trace);
}
.dl-fx-acces-lien {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 24px 22px;
    background: var(--dl-surface);
    transition: background .3s var(--dl-ease);
}
.dl-fx-acces-lien:hover { background: var(--dl-papier); }
.dl-fx-acces-ref {
    font-family: var(--dl-mono);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--dl-cyan-deep);
}
.dl-fx-acces-icone {
    width: 44px; height: 44px;
    border: 1px solid var(--dl-graphite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dl-graphite);
    transition: background .3s var(--dl-ease), border-color .3s var(--dl-ease);
}
.dl-fx-acces-icone svg { width: 20px; height: 20px; }
.dl-fx-acces-lien:hover .dl-fx-acces-icone { background: var(--dl-cyan); border-color: var(--dl-cyan); }
.dl-fx-acces-nom { font-family: var(--dl-serif); font-size: 1.45rem; line-height: 1.1; color: var(--dl-graphite); }
.dl-fx-acces-desc { font-size: 0.9rem; line-height: 1.55; color: var(--dl-mute); }
.dl-fx-acces-compte {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--dl-trace);
    font-family: var(--dl-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dl-graphite);
}

/* ---------------------------------------------------------------------
   Sous un article : « Pour aller plus loin »
   --------------------------------------------------------------------- */
.dl-fx-suite {
    margin: 48px auto 0;
    max-width: 880px;
    padding: 30px 36px 18px;
    background: var(--dl-surface);
    border: 1px solid var(--dl-trace);
    border-top: 3px solid var(--dl-cyan-deep);
    border-radius: var(--dl-radius);
}
.dl-fx-suite-titre { margin: 8px 0 10px; font-size: 1.6rem; }
.dl-fx-suite li + li { border-top: 1px dashed var(--dl-trace); }
.dl-fx-suite a {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: baseline;
    padding: 14px 0;
    color: var(--dl-ink);
    transition: color .2s var(--dl-ease);
}
.dl-fx-suite a:hover { color: var(--dl-cyan-deep); }
.dl-fx-suite-type {
    font-family: var(--dl-mono);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dl-cyan-deep);
}
.dl-fx-suite-nom { font-family: var(--dl-serif); font-size: 1.2rem; line-height: 1.25; }
.dl-fx-suite-fleche { font-family: var(--dl-mono); color: var(--dl-mute); }

/* Plan du site : les rayons du parc */
.dl-fx-plan-rayon {
    margin: 28px 0 10px;
    font-family: var(--dl-mono);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dl-cyan-deep);
}
.dl-fx-plan-rayon:first-of-type { margin-top: 0; }

/* ---------------------------------------------------------------------
   Calcul de parpaings : formulaire en fiche, résultat sur le panneau graphite
   --------------------------------------------------------------------- */
.dl-fx-pp-grille {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}
.dl-fx-pp-form {
    background: var(--dl-surface);
    border: 1px solid var(--dl-trace);
    border-radius: var(--dl-radius);
    padding: 32px;
}
.dl-fx-pp-groupe { margin: 28px 0 0; padding: 22px 0 0; border: 0; border-top: 1px dashed var(--dl-trace); min-width: 0; }
.dl-fx-pp-groupe legend {
    padding: 0;
    font-family: var(--dl-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dl-cyan-deep);
}
.dl-fx-pp-ligne { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dl-fx-pp-ligne--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dl-fx-pp-ligne + .dl-fx-pp-ligne,
.dl-fx-pp-champ + .dl-fx-pp-ligne { margin-top: 14px; }
.dl-fx-pp-champ { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; min-width: 0; }
.dl-fx-pp-ligne .dl-fx-pp-champ { margin-top: 0; }
.dl-fx-pp-champ label { font-size: 0.84rem; font-weight: 600; color: var(--dl-graphite); }
.dl-fx-pp-champ input,
.dl-fx-pp-champ select {
    width: 100%;
    min-width: 0;
    padding: 11px 12px;
    font-family: var(--dl-mono);
    font-size: 0.95rem;
    color: var(--dl-ink);
    background: var(--dl-papier);
    border: 1px solid var(--dl-trace);
    border-radius: var(--dl-radius);
    transition: border-color .2s var(--dl-ease);
}
.dl-fx-pp-champ input:focus,
.dl-fx-pp-champ select:focus { outline: none; border-color: var(--dl-cyan-deep); box-shadow: 0 0 0 3px rgba(26, 133, 151, .15); }
.dl-fx-pp-champ input[readonly] { color: var(--dl-mute); background: var(--dl-surface); border-style: dashed; }
.dl-fx-pp-erreur {
    margin-top: 18px;
    padding: 12px 14px;
    border-left: 3px solid var(--dl-rouge);
    background: var(--dl-papier);
    font-size: 0.92rem;
    color: #9E2F24;
}

.dl-fx-pp-resultat {
    position: sticky;
    top: calc(var(--dl-bh) + 24px);
    background: var(--dl-graphite);
    color: var(--dl-papier);
    border-radius: var(--dl-radius);
    padding: 32px;
}
.admin-bar .dl-fx-pp-resultat { top: calc(var(--dl-bh) + 56px); }
.dl-fx-pp-resultat .dl-fx-h2 { color: var(--dl-papier); }
.dl-fx-pp-chiffres { margin: 20px 0 0; }
.dl-fx-pp-chiffres > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(244, 241, 234, .16);
}
.dl-fx-pp-chiffres dt { font-size: 0.9rem; color: rgba(244, 241, 234, .76); }
.dl-fx-pp-chiffres dd { margin: 0; font-family: var(--dl-mono); font-size: 1rem; white-space: nowrap; }
.dl-fx-pp-total dt { color: var(--dl-papier); font-weight: 600; }
.dl-fx-pp-total dd { font-family: var(--dl-serif); font-size: 2.4rem; line-height: 1; color: var(--dl-cyan); }
.dl-fx-pp-verdict { margin-top: 18px; font-size: 0.98rem; line-height: 1.6; }
.dl-fx-pp-resultat .dl-fx-note { color: rgba(244, 241, 234, .7); }

.dl-fx-pp-ref { padding: 0 0 72px; }
.dl-fx-pp-ref .dl-fx-table-wrap { margin-top: 0; }
.dl-fx-pp-methode { padding: 0 0 104px; }
.dl-fx-pp-methode .dl-fx-lecture > .dl-fx-h2 { margin-top: 48px; }
.dl-fx-pp-methode .dl-fx-lecture > .dl-fx-h2:first-child { margin-top: 0; }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .dl-fx-barre-t, .dl-fx-barre-n { display: none; }
    .dl-fx-barre-int { gap: 0; }
    .dl-fx-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dl-fx-acces-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dl-fx-gd-grille { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .dl-fx-sommaire { position: static; max-height: none; overflow: visible; }
    .dl-fx-sommaire ol { columns: 2; column-gap: 32px; }
    .dl-fx-sommaire li { break-inside: avoid; }
    .dl-fx-fp-grille { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .dl-fx-fp-visuel { max-width: 420px; }
    .dl-fx-pp-grille { grid-template-columns: minmax(0, 1fr); }
    .dl-fx-pp-resultat { position: static; }
    .dl-fx-ix-ligne { grid-template-columns: 72px minmax(0, 1fr); gap: 20px; }
    .dl-fx-ix-compte { grid-column: 2; justify-self: start; text-align: left; padding-top: 0; }
}

@media (max-width: 768px) {
    body.dl-avec-formats { --dl-bh: 72px; }
    .dl-fx-barre { display: none; }
    .dl-barre--formats { flex-direction: row; align-items: center; }
    .dl-barre--formats > .dl-cont { flex: 1 1 auto; height: 100%; }

    .dl-fx-grille,
    .dl-fx-grille--serree,
    .dl-fx-acces-liste { grid-template-columns: minmax(0, 1fr); }
    .dl-fx-sommaire ol { columns: 1; }
    .dl-fx-gd { padding: 40px 0 72px; }
    .dl-fx-bref { padding: 22px 20px 24px; }
    .dl-fx-cas-ligne { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .dl-fx-etape { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
    .dl-fx-etape-n { width: 40px; height: 40px; font-size: 0.74rem; }
    .dl-fx-etape::before { left: 19px; top: 40px; }
    .dl-fx-etape-titre { font-size: 1.3rem; padding-top: 6px; }
    .dl-fx-ix-ligne { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 26px 0; }
    .dl-fx-ix-compte { grid-column: 1; }
    .dl-fx-suite { padding: 24px 20px 12px; }
    .dl-fx-suite a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
    .dl-fx-suite-type { grid-column: 1 / -1; }
    .dl-fx-pp-form,
    .dl-fx-pp-resultat { padding: 24px 20px; }
    .dl-fx-acces { margin-top: 48px; }
}

@media (max-width: 560px) {
    .dl-fx-pp-ligne,
    .dl-fx-pp-ligne--3 { grid-template-columns: minmax(0, 1fr); }
    .dl-fx-pp-total dd { font-size: 2rem; }
}
