@charset "UTF-8";
/* ═══════════════════════════════════════════════════════════════
   Vente Douglas : formats complémentaires (Choix raisonnés, Tours de
   main, Caisse à outils, calcul de terrasse). Chargé après style.css,
   sur ces vues seulement. Même matière que le reste du site : fond
   vert sapin, texte crème, un seul accent ambre, coins biseautés.
   Variables --vd-* seules. Tout ce qui colle ou se cible par ancre se
   place SOUS l’en-tête fixe (--vd-hh).
   ═══════════════════════════════════════════════════════════════ */

:root {
    --vd-ligne-forte: #3A6B63;
    --vd-ambre-voile: rgba(224, 145, 61, .12);
    --vd-travees: 22fr 19fr 27fr 32fr;
}

.vd-fx-tete-note { color: var(--vd-muted); font-size: .9rem; margin-top: 8px; }

.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 ─────────────────────────────────────────── */
.vd-fx-section { padding: 62px 0 84px; }

/* La travée : 2 barres verticales inégales, comme les puces des articles. */
.vd-fx-puces { margin: 0 0 1.2em; }
.vd-fx-puces li,
.vd-fx-liste li { position: relative; padding-left: 1.5em; margin-bottom: .55em; }
.vd-fx-puces li::before,
.vd-fx-liste li::before {
    content: '';
    position: absolute;
    left: 0; top: .46em;
    width: 3px; height: 14px;
    background: var(--vd-ambre);
}
.vd-fx-puces li::after {
    content: '';
    position: absolute;
    left: 6px; top: .46em;
    width: 3px; height: 7px;
    background: var(--vd-ambre);
    opacity: .5;
}
/* Points à vérifier : la cloison seule, évidée. */
.vd-fx-puces--vides li::before { background: transparent; border: 1px solid var(--vd-ambre); width: 5px; }
.vd-fx-puces--vides li::after { display: none; }

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

.vd-fx-sous {
    font-family: var(--vd-serif);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--vd-muted);
    margin: 1.8em 0 .8em;
}
.vd-fx-note { font-size: .94rem; color: var(--vd-muted); max-width: 64ch; }
.vd-fx-vide { padding-top: 22px; border-top: 2px solid var(--vd-ligne-forte); color: var(--vd-sauge); max-width: 640px; }
.vd-fx-signature {
    margin: 52px 0 0;
    padding-top: 14px;
    border-top: 2px solid var(--vd-ligne-forte);
    font-family: var(--vd-serif);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--vd-muted);
}
.vd-fx-avis {
    max-width: 72ch;
    margin: 0 0 40px;
    padding: 14px 18px 14px 20px;
    border-left: 3px solid var(--vd-ambre);
    background: var(--vd-surface);
    color: var(--vd-creme);
    font-size: .98rem;
}
.vd-fx-attention {
    margin: 14px 0 0;
    padding: 12px 16px;
    border-left: 3px solid var(--vd-ambre);
    background: var(--vd-ambre-voile);
    color: var(--vd-creme);
    font-size: .98rem;
}
.vd-fx-attention strong {
    font-family: var(--vd-serif);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--vd-ambre);
    margin-right: 4px;
}
.vd-fx-folio {
    font-family: var(--vd-serif);
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--vd-ambre);
}

/* ── Coiffe des formats : bandeau d’encre, relevé ambre ─────── */
.vd-fx-coiffe-grille {
    display: grid;
    grid-template-columns: var(--vd-travees);
    align-items: end;
}
.vd-fx-coiffe-texte { grid-column: 1 / 4; padding-right: 42px; min-width: 0; }
.vd-fx-coiffe--seule .vd-fx-coiffe-texte { grid-column: 1 / -1; padding-right: 0; }
.vd-fx-coiffe h1 { overflow-wrap: break-word; hyphens: auto; }
.vd-fx-coiffe-desc { font-size: 1.06rem; color: var(--vd-sauge); max-width: 62ch; margin-top: 14px; line-height: 1.6; }
.vd-fx-coiffe .vd-fil a { color: var(--vd-sauge); }
.vd-fx-releve {
    grid-column: 4 / 5;
    display: grid;
    align-content: end;
    gap: 6px;
    min-height: 200px;
    padding: 26px 26px 24px;
    background: var(--vd-ambre);
    color: var(--vd-fond-2);
    clip-path: polygon(0 0, calc(100% - var(--vd-biseau)) 0, 100% var(--vd-biseau), 100% 100%, 0 100%);
}
.vd-fx-releve-picto { color: var(--vd-fond-2); margin-bottom: auto; }
.vd-fx-releve-picto svg { display: block; }
.vd-fx-releve-n {
    font-family: var(--vd-serif);
    font-weight: 600;
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    line-height: 1;
    letter-spacing: -.03em;
    padding-top: 26px;
}
.vd-fx-releve-l {
    font-family: var(--vd-serif);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--vd-fond-2);
}

/* ── Choix raisonnés : sommaire collant dans la 1re travée ──────── */
.vd-fx-gd { padding: 62px 0 84px; }
.vd-fx-gd-grille { display: grid; grid-template-columns: 22fr 78fr; align-items: start; }
.vd-fx-gd-nav {
    position: sticky;
    top: calc(var(--vd-hh) + 26px);
    max-height: calc(100vh - var(--vd-hh) - 52px);
    overflow-y: auto;
    padding-right: 28px;
}
.vd-fx-gd-nav-titre {
    font-family: var(--vd-serif);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--vd-muted);
    border-top: 2px solid var(--vd-ligne-forte);
    padding-top: 12px;
    margin: 0 0 14px;
}
.vd-fx-gd-nav ol { list-style: none; margin: 0; padding: 0; counter-reset: vdfx; }
.vd-fx-gd-nav li { counter-increment: vdfx; border-bottom: 1px solid var(--vd-ligne); }
.vd-fx-gd-nav a {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 4px;
    padding: 9px 0;
    font-family: var(--vd-serif);
    font-size: .86rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--vd-sauge);
    transition: color .18s ease;
}
.vd-fx-gd-nav a::before {
    content: counter(vdfx, decimal-leading-zero);
    font-size: .7rem;
    font-weight: 600;
    color: var(--vd-ambre);
    padding-top: 2px;
}
.vd-fx-gd-nav a:hover { color: var(--vd-ambre); }
.vd-fx-gd-corps { min-width: 0; max-width: 74ch; }
.vd-fx-gd-corps > section > p { color: var(--vd-sauge); }
.vd-fx-gd-sec { margin-bottom: 58px; scroll-margin-top: calc(var(--vd-hh) + 26px); }
.vd-fx-gd-sec h2 {
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    padding-top: 14px;
    border-top: 2px solid var(--vd-ligne-forte);
    margin-bottom: 18px;
}
.vd-fx-gd-h2 { display: flex; align-items: baseline; gap: 14px; }
.vd-fx-gd-h2 .vd-fx-folio { font-size: .9em; flex-shrink: 0; }
.vd-fx-gd-bref {
    padding: 26px 28px 14px;
    margin: 0 0 58px;
    background: var(--vd-surface);
    border-top: 2px solid var(--vd-ligne-forte);
    scroll-margin-top: calc(var(--vd-hh) + 26px);
}
.vd-fx-gd-bref h2 {
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .17em;
    text-transform: uppercase;
    color: var(--vd-ambre);
    margin-bottom: 16px;
}
.vd-fx-gd-bref li { color: var(--vd-creme); }

/* Tableaux : toujours dans un cadre à défilement horizontal interne. */
.vd-fx-table-cadre {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--vd-ligne-forte);
    background: var(--vd-fond);
}
.vd-fx-table-cadre:focus-visible { outline: 3px solid var(--vd-ambre); outline-offset: 3px; }
.vd-fx-table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: .96rem; }
.vd-fx-table--fiche { min-width: 0; }
.vd-fx-table caption {
    text-align: left;
    padding: 12px 16px;
    font-family: var(--vd-serif);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--vd-muted);
    border-bottom: 1px solid var(--vd-ligne);
}
.vd-fx-table th, .vd-fx-table td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--vd-ligne);
    color: var(--vd-sauge);
}
.vd-fx-table th + th, .vd-fx-table th + td, .vd-fx-table td + td { border-left: 1px solid var(--vd-ligne); }
.vd-fx-table thead th {
    background: var(--vd-surface);
    border-bottom: 2px solid var(--vd-ligne-forte);
    color: var(--vd-creme);
    font-family: var(--vd-serif);
    font-weight: 600;
    font-size: .92rem;
    line-height: 1.25;
}
.vd-fx-table thead a { color: var(--vd-ambre); text-decoration: underline; text-underline-offset: 3px; }
.vd-fx-table tbody th { color: var(--vd-creme); font-family: var(--vd-serif); font-weight: 600; font-size: .9rem; }
.vd-fx-table tbody tr:last-child th, .vd-fx-table tbody tr:last-child td { border-bottom: 0; }
.vd-fx-table--fiche th { width: 36%; }
.vd-fx-table--calcul td { font-variant-numeric: tabular-nums; }
.vd-fx-table--calcul td:last-child { color: var(--vd-creme); font-weight: 600; white-space: nowrap; }

.vd-fx-cas { margin: 0; border-top: 1px solid var(--vd-ligne-forte); }
.vd-fx-cas-ligne {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid var(--vd-ligne-forte);
}
.vd-fx-cas dt { font-family: var(--vd-serif); font-weight: 600; color: var(--vd-creme); line-height: 1.3; }
.vd-fx-cas dd { margin: 0; color: var(--vd-sauge); }

/* ── Fiches de l’outillage ────────────────────────────────────── */
.vd-fx-fiches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 30px; }
.vd-fx-fiches--serrees { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 36px 26px; margin-top: 24px; }
.vd-fx-fiche { border-top: 2px solid var(--vd-ligne-forte); padding-top: 14px; }
.vd-fx-fiche-lien { display: flex; flex-direction: column; gap: 4px; height: 100%; }
.vd-fx-fiche-vue {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 5 / 4;
    margin-bottom: 16px;
    background: var(--vd-surface);
    color: var(--vd-creme);
    transition: background .3s ease, color .3s ease;
}
.vd-fx-fiche-lien:hover .vd-fx-fiche-vue { background: var(--vd-ambre); color: var(--vd-fond-2); }
.vd-fx-etat {
    position: absolute;
    top: 10px; left: 10px;
    padding: 3px 8px;
    border: 1px solid var(--vd-creme);
    background: var(--vd-fond);
    font-family: var(--vd-serif);
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--vd-creme);
}
.vd-fx-fiche-marque {
    font-family: var(--vd-serif);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--vd-ambre);
}
.vd-fx-fiche-nom { font-size: 1.1rem; font-weight: 600; line-height: 1.22; color: var(--vd-creme); }
.vd-fx-fiche-lien:hover .vd-fx-fiche-nom { color: var(--vd-ambre); }
.vd-fx-fiche-type { font-size: .93rem; color: var(--vd-sauge); line-height: 1.45; }

.vd-fx-rayons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 52px; }
.vd-fx-rayons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--vd-ligne-forte);
    font-family: var(--vd-serif);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--vd-creme);
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.vd-fx-rayons a:hover { border-color: var(--vd-ambre); color: var(--vd-ambre); }
.vd-fx-rayons a[aria-current="page"] { background: var(--vd-ambre); border-color: var(--vd-ambre); color: var(--vd-fond-2); }
.vd-fx-rayon-n { color: var(--vd-ambre); font-weight: 600; }
.vd-fx-rayons a[aria-current="page"] .vd-fx-rayon-n { color: var(--vd-fond-2); }

/* Page d’une fiche */
.vd-fx-fp { padding: 62px 0 84px; }
.vd-fx-fp-haut {
    display: grid;
    grid-template-columns: 41fr 59fr;
    gap: 56px;
    align-items: start;
}
.vd-fx-fp-vue {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    background: var(--vd-surface);
    border-top: 2px solid var(--vd-ligne-forte);
    color: var(--vd-creme);
}
.vd-fx-fp-vue > svg { width: 30%; height: auto; }
.vd-fx-fp-resume { color: var(--vd-sauge); margin-bottom: 26px; }
.vd-fx-fp-infos .vd-fx-avis { margin-bottom: 26px; }
.vd-fx-fp-meta { margin: 0; border-bottom: 1px solid var(--vd-ligne); }
.vd-fx-fp-meta > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--vd-ligne); font-size: .96rem; }
.vd-fx-fp-meta dt { font-family: var(--vd-serif); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--vd-muted); padding-top: 3px; }
.vd-fx-fp-meta dd { margin: 0; color: var(--vd-creme); overflow-wrap: anywhere; }
.vd-fx-fp-meta a { color: var(--vd-ambre); text-decoration: underline; text-underline-offset: 3px; }
/* Les onglets d’ancres collent SOUS l’en-tête fixe, jamais derrière. */
.vd-fx-fp-onglets {
    position: sticky;
    top: var(--vd-hh);
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 0 28px;
    margin-top: 64px;
    background: var(--vd-fond);
    border-bottom: 1px solid var(--vd-ligne-forte);
}
.vd-fx-fp-onglets a {
    position: relative;
    padding: 15px 0 13px;
    font-family: var(--vd-serif);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--vd-sauge);
    transition: color .2s ease;
}
.vd-fx-fp-onglets a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -1px;
    width: 100%; height: 2px;
    background: var(--vd-ambre);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}
.vd-fx-fp-onglets a:hover { color: var(--vd-creme); }
.vd-fx-fp-onglets a:hover::after { transform: scaleX(1); }
.vd-fx-fp-corps { max-width: 74ch; padding-top: 44px; }
.vd-fx-fp-section { margin-bottom: 52px; scroll-margin-top: calc(var(--vd-hh) + 72px); }
.vd-fx-fp-section h2 { font-size: clamp(1.4rem, 2.3vw, 1.8rem); padding-top: 14px; border-top: 2px solid var(--vd-ligne-forte); margin-bottom: 16px; }
.vd-fx-fp-section h3 { font-size: 1.12rem; font-weight: 600; margin: 1.6em 0 .7em; }
.vd-fx-fp-section > p, .vd-fx-fp-section .vd-fx-puces { color: var(--vd-sauge); }
.vd-fx-fp-voisins { background: var(--vd-surface); padding: 72px 0; }
.vd-fx-fp-voisins .vd-fx-fiche-vue { background: var(--vd-fond); }

/* ── Index « Choix raisonnés » : lignes calées sur les travées ──── */
.vd-fx-ix-liste { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--vd-ligne-forte); }
.vd-fx-ix-ligne {
    display: grid;
    grid-template-columns: 22fr minmax(0, 56fr) 22fr;
    align-items: start;
    padding: 30px 0;
    border-bottom: 1px solid var(--vd-ligne-forte);
}
.vd-fx-ix-num {
    font-family: var(--vd-serif);
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--vd-ambre);
}
.vd-fx-ix-corps { padding-right: 28px; }
.vd-fx-ix-titre { font-size: clamp(1.3rem, 2.3vw, 1.7rem); line-height: 1.12; margin-bottom: 10px; }
.vd-fx-ix-titre a,
.vd-fx-tx-titre a {
    background-image: linear-gradient(var(--vd-ambre), var(--vd-ambre));
    background-size: 0 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size .28s ease;
}
.vd-fx-ix-titre a:hover,
.vd-fx-tx-titre a:hover { background-size: 100% 2px; }
.vd-fx-ix-accroche { margin: 0; color: var(--vd-sauge); max-width: 64ch; }
.vd-fx-ix-compte { display: grid; justify-items: end; text-align: right; gap: 4px; }
.vd-fx-ix-compte-n { font-family: var(--vd-serif); font-weight: 600; font-size: 1.9rem; line-height: 1; }
.vd-fx-ix-compte-l { font-family: var(--vd-serif); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--vd-muted); }

/* ── Index des fiches pratiques : cases à filet d’encre ────────── */
.vd-fx-tx-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.vd-fx-tx-fiche {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 0 36px;
    border-top: 2px solid var(--vd-ligne-forte);
}
.vd-fx-tx-niveau {
    margin: 0;
    font-family: var(--vd-serif);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--vd-ambre);
}
.vd-fx-tx-titre { font-size: clamp(1.25rem, 2.1vw, 1.55rem); line-height: 1.15; }
.vd-fx-tx-accroche { margin: 0; color: var(--vd-sauge); flex: 1; }
.vd-fx-tx-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 10px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--vd-ligne);
    font-family: var(--vd-serif);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--vd-muted);
}

/* ── Tour de main : relevé en marge, étapes sur une cloison ──── */
.vd-fx-tu { padding: 62px 0 84px; }
.vd-fx-tu-grille { display: grid; grid-template-columns: 22fr 78fr; align-items: start; }
.vd-fx-tu-marge { padding-right: 28px; position: sticky; top: calc(var(--vd-hh) + 26px); }
.vd-fx-tu-releve { margin: 0; border-top: 2px solid var(--vd-ligne-forte); }
.vd-fx-tu-releve > div { padding: 12px 0; border-bottom: 1px solid var(--vd-ligne); }
.vd-fx-tu-releve dt {
    font-family: var(--vd-serif);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--vd-muted);
}
.vd-fx-tu-releve dd { margin: 4px 0 0; font-family: var(--vd-serif); font-weight: 600; font-size: 1.08rem; line-height: 1.3; color: var(--vd-creme); }
.vd-fx-tu-corps { min-width: 0; max-width: 74ch; }
.vd-fx-tu-mat { padding: 24px 28px 12px; margin-bottom: 64px; background: var(--vd-surface); border-top: 2px solid var(--vd-ligne-forte); }
.vd-fx-tu-mat h2 { font-size: 1.35rem; margin-bottom: 16px; }
.vd-fx-tu-mat li { color: var(--vd-creme); }
.vd-fx-tu-etapes { list-style: none; margin: 0 0 56px; padding: 0; }
.vd-fx-tu-etape {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    padding-bottom: 40px;
    scroll-margin-top: calc(var(--vd-hh) + 26px);
}
/* La cloison qui relie 2 étapes. */
.vd-fx-tu-etape::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 52px;
    bottom: 8px;
    width: 1px;
    background: var(--vd-ligne-forte);
}
.vd-fx-tu-etape:last-child::before { display: none; }
.vd-fx-tu-num {
    font-family: var(--vd-serif);
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.035em;
    color: var(--vd-ambre);
}
.vd-fx-tu-etape-corps { padding-top: 10px; border-top: 1px solid var(--vd-ligne-forte); }
.vd-fx-tu-etape-titre { font-size: clamp(1.2rem, 2.1vw, 1.45rem); line-height: 1.18; margin: 2px 0 12px; }
.vd-fx-tu-etape-corps > p { color: var(--vd-sauge); }
.vd-fx-tu-controle { padding: 16px 0 6px; margin-bottom: 56px; border-top: 2px solid var(--vd-ligne-forte); }
.vd-fx-tu-controle h2 { font-size: 1.35rem; margin-bottom: 12px; }
.vd-fx-tu-controle p { color: var(--vd-sauge); }
.vd-fx-tu-suite { margin-bottom: 48px; }
.vd-fx-tu-suite h2 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); padding-top: 14px; border-top: 2px solid var(--vd-ligne-forte); margin-bottom: 14px; }

/* ── Calcul de terrasse ───────────────────────────────────────── */
.vd-fx-ou-grille {
    display: grid;
    grid-template-columns: 59fr 41fr;
    gap: 56px;
    align-items: start;
}
.vd-fx-ou-form { padding: 26px 30px 12px; background: var(--vd-surface); border-top: 2px solid var(--vd-ligne-forte); min-width: 0; }
.vd-fx-ou-titre { font-size: 1.35rem; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 18px; }
.vd-fx-ou-groupe { margin: 0 0 20px; padding: 16px 0 0; border: 0; border-top: 1px solid var(--vd-ligne-forte); min-width: 0; }
.vd-fx-ou-groupe legend {
    padding: 0 0 12px;
    font-family: var(--vd-serif);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--vd-ambre);
}
.vd-fx-champ { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; min-width: 0; }
.vd-fx-champ label {
    font-family: var(--vd-serif);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--vd-creme);
}
.vd-fx-champ input,
.vd-fx-champ select {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    font-family: var(--vd-sans);
    font-size: 1.02rem;
    color: var(--vd-creme);
    background: var(--vd-fond);
    border: 1px solid var(--vd-ligne-forte);
    border-radius: 0;
}
.vd-fx-champ input::placeholder { color: var(--vd-muted); opacity: 1; }
.vd-fx-champ input:focus,
.vd-fx-champ select:focus { outline: 2px solid var(--vd-ambre); outline-offset: 1px; border-color: var(--vd-ambre); }
.vd-fx-champ input[aria-invalid="true"] { border: 2px solid var(--vd-ambre); background: var(--vd-ambre-voile); }
.vd-fx-champ-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vd-fx-champ-duo .vd-fx-champ { margin-bottom: 8px; }
.vd-fx-champ-duo + .vd-fx-aide { display: block; margin-bottom: 16px; }
.vd-fx-aide { font-size: .88rem; color: var(--vd-muted); line-height: 1.45; }
.vd-fx-erreur {
    margin: 0 0 16px;
    padding: 10px 14px;
    border-left: 3px solid var(--vd-ambre);
    background: var(--vd-fond);
    color: var(--vd-creme);
    font-weight: 600;
}
.vd-fx-erreur[hidden] { display: none; }
.vd-fx-ou-resultat { position: sticky; top: calc(var(--vd-hh) + 26px); min-width: 0; }
.vd-fx-chiffres { margin: 0 0 22px; border-top: 2px solid var(--vd-ligne-forte); }
.vd-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(--vd-ligne-forte);
}
.vd-fx-chiffres dt {
    font-family: var(--vd-serif);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--vd-muted);
}
.vd-fx-chiffres dd {
    margin: 0;
    font-family: var(--vd-serif);
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -.02em;
    color: var(--vd-creme);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.vd-fx-chiffres > .vd-fx-chiffres-fort { background: var(--vd-ambre); padding: 14px 16px; margin-inline: -16px; border-bottom-color: var(--vd-ambre); }
.vd-fx-chiffres-fort dt, .vd-fx-chiffres-fort dd { color: var(--vd-fond-2); }
.vd-fx-chiffres-fort dd { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.vd-fx-ou-phrases p { color: var(--vd-sauge); margin-bottom: .7em; }
.vd-fx-ou-ref, .vd-fx-ou-methode { padding-bottom: 80px; }
.vd-fx-ou-colonne > * { max-width: 78ch; }
.vd-fx-ou-colonne > .vd-fx-table-cadre { max-width: 100%; }
.vd-fx-ou-colonne h2 {
    font-size: clamp(1.4rem, 2.3vw, 1.8rem);
    padding-top: 14px;
    border-top: 2px solid var(--vd-ligne-forte);
    margin: 1.8em 0 .6em;
}
.vd-fx-ou-ref h2 { margin-top: 0; }
.vd-fx-ou-colonne > p { color: var(--vd-sauge); }

/* ── Réactivité ───────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .vd-fx-coiffe-grille { display: block; }
    .vd-fx-coiffe-texte { padding-right: 0; }
    .vd-fx-releve { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: 16px; min-height: 0; margin-top: 28px; padding: 16px 22px; }
    .vd-fx-releve-picto { grid-row: span 2; margin: 0; }
    .vd-fx-releve-n { padding-top: 0; font-size: 2rem; }

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

    .vd-fx-fiches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .vd-fx-fp-haut { gap: 40px; }
    .vd-fx-ou-grille { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .vd-fx-ou-resultat { position: static; }
    .vd-fx-ix-ligne { grid-template-columns: 64px minmax(0, 1fr); row-gap: 12px; }
    .vd-fx-ix-corps { padding-right: 0; }
    .vd-fx-ix-compte { grid-column: 2; justify-content: start; justify-items: start; text-align: left; grid-auto-flow: column; align-items: baseline; gap: 8px; }
    .vd-fx-ix-compte-n { font-size: 1.2rem; }
}

@media (max-width: 720px) {
    .vd-fx-section, .vd-fx-gd, .vd-fx-tu, .vd-fx-fp { padding: 44px 0 64px; }
    .vd-fx-fiches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 18px; }
    .vd-fx-fiche-nom { font-size: 1rem; }
    .vd-fx-etat { top: 6px; left: 6px; font-size: .55rem; padding: 2px 6px; }
    .vd-fx-fp-haut { grid-template-columns: minmax(0, 1fr); }
    .vd-fx-fp-vue { aspect-ratio: 16 / 10; }
    .vd-fx-fp-vue > svg { width: 22%; }
    .vd-fx-fp-onglets { position: static; margin-top: 48px; gap: 0 20px; }
    .vd-fx-fp-section { scroll-margin-top: calc(var(--vd-hh) + 20px); }
    .vd-fx-fp-meta > div { grid-template-columns: 92px minmax(0, 1fr); }
    .vd-fx-tx-grille { grid-template-columns: minmax(0, 1fr); }
    .vd-fx-cas-ligne { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .vd-fx-gd-bref, .vd-fx-tu-mat, .vd-fx-ou-form { padding-inline: 18px; }
    .vd-fx-tu-etape { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
    .vd-fx-tu-num { font-size: 1.9rem; }
    .vd-fx-tu-etape::before { left: 13px; top: 42px; }
    .vd-fx-ix-ligne { grid-template-columns: 52px minmax(0, 1fr); }
    .vd-fx-ix-num { font-size: 1.8rem; }
    .vd-fx-champ-duo { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .vd-fx-chiffres dd { white-space: normal; }
    .vd-fx-table { font-size: .9rem; }
}

@media (max-width: 420px) {
    .vd-fx-fiches { grid-template-columns: minmax(0, 1fr); }
}
