@charset "UTF-8";
/* ═══════════════════════════════════════════════════════════════════
   Simcha : formats complémentaires (face-à-face, modes d’emploi,
   vitrine de fiches, outil d’échelle). Chargé après style.css.
   Même planche que le reste du site : fond blanc, pièces de carton
   cernées du trait de découpe à attaches, jetons numérotés, filets.
   Aucune nouvelle couleur : uniquement les variables --sim-* du thème.
   ═══════════════════════════════════════════════════════════════════ */

/* Hauteur réelle de l’en-tête collant (style.css : .sim-entete, sticky top 0,
   .sim-entete-int min-height 80px, plus 1px de filet ; 68px + 1px sous 600px).
   Tout ce qui colle ou se cible par ancre se place SOUS cette hauteur. */
:root { --sim-fx-entete: 81px; }

.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;
}

/* ── La découpe, posée sur n’importe quel bloc (même tracé que .sim-piece) ── */
.sim-fx-decoupe { position: relative; border-radius: var(--sim-rayon); }
.sim-fx-decoupe::after {
    content: "";
    position: absolute;
    inset: calc(-1 * var(--sim-decal));
    border: 1.5px solid var(--sim-vif);
    border-radius: calc(var(--sim-rayon) + var(--sim-decal));
    pointer-events: none;
    -webkit-mask:
        linear-gradient(90deg, #000 calc(50% - var(--sim-attache)), transparent 0 calc(50% + var(--sim-attache)), #000 0),
        linear-gradient(180deg, #000 calc(50% - var(--sim-attache)), transparent 0 calc(50% + var(--sim-attache)), #000 0);
    -webkit-mask-composite: source-in;
            mask:
        linear-gradient(90deg, #000 calc(50% - var(--sim-attache)), transparent 0 calc(50% + var(--sim-attache)), #000 0),
        linear-gradient(180deg, #000 calc(50% - var(--sim-attache)), transparent 0 calc(50% + var(--sim-attache)), #000 0);
            mask-composite: intersect;
    transition: inset .28s ease, border-radius .28s ease;
}

/* ── Éléments communs ─────────────────────────────────────────── */
.sim-fx-liste { margin: 0 0 1.2em; }
.sim-fx-liste li,
.sim-fx-puces li,
.sim-fx-gd-bref li,
.sim-fx-tu-mat li { position: relative; padding-left: 1.6em; margin-bottom: .6em; }
/* Le jeton à deux attaches du thème, repris tel quel. */
.sim-fx-liste li::before,
.sim-fx-puces li::before,
.sim-fx-gd-bref li::before,
.sim-fx-tu-mat li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.46em;
    width: 12px;
    height: 12px;
    border: 1.5px solid var(--sim-vif);
    border-radius: 50%;
    background: radial-gradient(circle, var(--sim-vif) 0 2.2px, transparent 2.7px);
    -webkit-mask:
        radial-gradient(circle, #000 0 3px, transparent 3.5px),
        linear-gradient(180deg, #000 calc(50% - 2px), transparent 0 calc(50% + 2px), #000 0);
            mask:
        radial-gradient(circle, #000 0 3px, transparent 3.5px),
        linear-gradient(180deg, #000 calc(50% - 2px), transparent 0 calc(50% + 2px), #000 0);
}
/* Points à vérifier : l’anneau seul, sans le point central. */
.sim-fx-puces--vides li::before { background: none; -webkit-mask: linear-gradient(180deg, #000 calc(50% - 2px), transparent 0 calc(50% + 2px), #000 0); mask: linear-gradient(180deg, #000 calc(50% - 2px), transparent 0 calc(50% + 2px), #000 0); }
.sim-fx-liste a { color: var(--sim-vif); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.sim-fx-liste a:hover { color: var(--sim-vif-fonce); }
.sim-fx-liste--sources a { overflow-wrap: anywhere; }
.sim-fx-sous { font-family: var(--sim-texte); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sim-gris); margin: 1.6em 0 .8em; }
.sim-fx-note { font-size: .92rem; color: var(--sim-gris); max-width: 64ch; }
.sim-fx-vide { padding-top: 30px; border-top: 2px solid var(--sim-encre); color: var(--sim-doux); max-width: 640px; }
.sim-fx-signature {
    margin: 48px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--sim-filet);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sim-gris);
}
.sim-fx-avis {
    max-width: 72ch;
    margin: 0 0 40px;
    padding: 14px 18px 14px 20px;
    border-left: 3px solid var(--sim-vif);
    background: var(--sim-carton);
    border-radius: 0 var(--sim-rayon) var(--sim-rayon) 0;
    color: var(--sim-encre);
    font-weight: 600;
    font-size: .98rem;
}

/* ── En-tête des formats : texte sur blanc, étiquette de carton ── */
.sim-fx-coiffe h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); max-width: 22ch; overflow-wrap: break-word; }
.sim-fx-coiffe .sim-coiffe-desc { max-width: 40em; margin-bottom: 0; }
.sim-fx-coiffe .sim-coiffe-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.sim-fx-coiffe .sim-coiffe-grille.sim-fx-coiffe--seule { grid-template-columns: minmax(0, 1fr); }
.sim-fx-etiquette {
    display: grid;
    justify-items: start;
    align-content: center;
    gap: 6px;
    min-height: 220px;
    padding: 30px 32px;
    background: var(--sim-carton);
}
.sim-fx-etiquette-picto { color: var(--sim-vif); margin-bottom: 10px; }
.sim-fx-etiquette-n { font-family: var(--sim-titre); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--sim-encre); }
.sim-fx-etiquette-l { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sim-gris); }

/* ── Index des face-à-face : lignes au jeton ──────────────────── */
.sim-fx-ix-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sim-filet-2); }
.sim-fx-ix-ligne {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 140px;
    gap: 28px;
    align-items: start;
    padding: 34px 0;
    border-bottom: 1px solid var(--sim-filet-2);
}
.sim-fx-ix-ligne .sim-jeton { width: 48px; height: 48px; font-size: 1rem; margin-top: 2px; }
.sim-fx-ix-type { margin: 0 0 8px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sim-vif); }
.sim-fx-ix-titre { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: 10px; }
.sim-fx-ix-titre a,
.sim-fx-tx-titre a {
    text-decoration: none;
    background: linear-gradient(var(--sim-vif), var(--sim-vif)) 0 100% / 0 1.5px no-repeat;
    transition: background-size .25s ease;
}
.sim-fx-ix-titre a:hover,
.sim-fx-tx-titre a:hover { background-size: 100% 1.5px; }
.sim-fx-ix-accroche { margin: 0; color: var(--sim-doux); max-width: 64ch; }
.sim-fx-ix-compte { display: grid; justify-items: end; text-align: right; gap: 4px; }
.sim-fx-ix-compte-n { font-family: var(--sim-titre); font-weight: 700; font-size: 2rem; line-height: 1; }
.sim-fx-ix-compte-l { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sim-gris); }

/* ── Index des modes d’emploi : pièces de carton ──────────────── */
.sim-fx-tx-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.sim-fx-tx-fiche {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px 32px 26px;
    background: var(--sim-carton);
}
.sim-fx-tx-fiche:hover::after { inset: -4px; border-radius: calc(var(--sim-rayon) + 4px); }
.sim-fx-tx-niveau { margin: 0; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sim-vif); }
.sim-fx-tx-titre { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.sim-fx-tx-accroche { margin: 0; color: var(--sim-doux); flex: 1; }
.sim-fx-tx-meta { margin: 8px 0 0; padding-top: 14px; border-top: 1px solid var(--sim-filet-2); }

/* ── Face-à-face : sommaire collant SOUS l’en-tête ─────────────── */
.sim-fx-gd { padding-block: 72px 104px; }
.sim-fx-gd-grille {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}
.sim-fx-gd-nav {
    position: sticky;
    top: calc(var(--sim-fx-entete) + 24px);
    max-height: calc(100vh - var(--sim-fx-entete) - 48px);
    overflow-y: auto;
    padding: 22px 22px 18px;
    background: var(--sim-carton);
    border-radius: var(--sim-rayon);
}
.sim-fx-gd-nav .sim-oeil { margin-bottom: 12px; }
.sim-fx-gd-nav ol { list-style: none; margin: 0; padding: 0; counter-reset: simfx; }
.sim-fx-gd-nav li { counter-increment: simfx; margin-bottom: 10px; font-size: .92rem; line-height: 1.35; }
.sim-fx-gd-nav a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px; text-decoration: none; color: var(--sim-doux); }
.sim-fx-gd-nav a::before { content: counter(simfx, decimal-leading-zero); font-family: var(--sim-titre); font-weight: 700; font-size: .78rem; color: var(--sim-vif); padding-top: 1px; }
.sim-fx-gd-nav a:hover { color: var(--sim-vif); text-decoration: underline; text-underline-offset: 3px; }
.sim-fx-gd-corps { min-width: 0; max-width: 780px; }
.sim-fx-gd-corps p { color: var(--sim-doux); max-width: 68ch; }
.sim-fx-gd-sec { margin-bottom: 56px; scroll-margin-top: calc(var(--sim-fx-entete) + 24px); }
.sim-fx-gd-sec h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-bottom: 18px; }
.sim-fx-gd-h2 { display: flex; align-items: center; gap: 14px; }
.sim-fx-gd-h2 .sim-jeton { width: 40px; height: 40px; }
.sim-fx-gd-bref {
    padding: 30px 32px 18px;
    margin: 8px 0 64px;
    background: var(--sim-carton);
    scroll-margin-top: calc(var(--sim-fx-entete) + 32px);
}
.sim-fx-gd-bref h2 { font-size: 1.3rem; margin-bottom: 16px; }
.sim-fx-gd-bref li { color: var(--sim-encre); }

/* Tableaux : toujours dans un cadre à défilement horizontal. */
.sim-fx-table-cadre {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--sim-filet-2);
    border-radius: var(--sim-rayon);
    background: var(--sim-papier);
}
.sim-fx-table-cadre:focus-visible { outline: 2px solid var(--sim-vif); outline-offset: 4px; }
.sim-fx-table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: .95rem; }
.sim-fx-table--fiche { min-width: 0; }
.sim-fx-table caption {
    text-align: left;
    padding: 14px 16px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sim-gris);
    border-bottom: 1px solid var(--sim-filet);
}
.sim-fx-table th, .sim-fx-table td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--sim-filet);
    color: var(--sim-doux);
}
.sim-fx-table thead th { background: var(--sim-carton); color: var(--sim-encre); font-family: var(--sim-titre); font-weight: 700; font-size: .95rem; }
.sim-fx-table thead a { color: var(--sim-vif); text-decoration: underline; text-underline-offset: 3px; }
.sim-fx-table tbody th { color: var(--sim-encre); font-weight: 700; background: var(--sim-papier); }
.sim-fx-table tbody tr:last-child th, .sim-fx-table tbody tr:last-child td { border-bottom: 0; }
.sim-fx-table--fiche th { width: 36%; }

.sim-fx-cas { margin: 0; border-top: 1px solid var(--sim-filet-2); }
.sim-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(--sim-filet-2);
}
.sim-fx-cas dt { font-family: var(--sim-titre); font-weight: 700; color: var(--sim-encre); line-height: 1.3; }
.sim-fx-cas dd { margin: 0; color: var(--sim-doux); }

/* ── Fiches de la vitrine ─────────────────────────────────────── */
.sim-fx-fiches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 36px; }
.sim-fx-fiches--serrees { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 44px 32px; margin-top: 26px; }
.sim-fx-fiche-lien { display: flex; flex-direction: column; gap: 4px; height: 100%; text-decoration: none; }
.sim-fx-fiche-vue {
    display: grid;
    place-items: center;
    aspect-ratio: 5 / 4;
    margin-bottom: 20px;
    background: var(--sim-carton);
    color: var(--sim-vif);
}
.sim-fx-fiche-lien:hover .sim-fx-decoupe::after { inset: -4px; border-radius: calc(var(--sim-rayon) + 4px); }
.sim-fx-fiche-etat {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 3px 9px;
    border: 1px solid var(--sim-filet-2);
    border-radius: 999px;
    background: var(--sim-papier);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sim-gris);
}
.sim-fx-fiche-marque { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sim-vif); }
.sim-fx-fiche-nom { font-size: 1.12rem; line-height: 1.25; color: var(--sim-encre); }
.sim-fx-fiche-lien:hover .sim-fx-fiche-nom { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.sim-fx-fiche-type { font-size: .92rem; color: var(--sim-doux); line-height: 1.45; }

.sim-fx-rayons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }
.sim-fx-rayons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border: 1px solid var(--sim-filet-2);
    border-radius: var(--sim-rayon);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--sim-doux);
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.sim-fx-rayons a:hover { border-color: var(--sim-vif); color: var(--sim-vif); }
.sim-fx-rayons a[aria-current="page"] { background: var(--sim-vif); border-color: var(--sim-vif); color: #FFFFFF; }
.sim-fx-rayon-n { font-size: .74rem; opacity: .8; }

/* Page d’une fiche */
.sim-fx-fp { padding-bottom: 96px; }
.sim-fx-fp-fil { padding-top: 36px; }
.sim-fx-fp-haut {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 72px;
    align-items: start;
    padding-top: 12px;
}
.sim-fx-fp-vue {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    background: var(--sim-carton);
    color: var(--sim-vif);
}
.sim-fx-fp-vue > svg { width: 34%; height: auto; }
.sim-fx-fp-marque { margin-bottom: 12px; }
.sim-fx-fp-titre { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1; overflow-wrap: break-word; }
.sim-fx-fp-type { margin: 12px 0 0; font-size: 1.05rem; color: var(--sim-doux); }
.sim-fx-fp-resume { margin: 24px 0 28px; color: var(--sim-doux); }
.sim-fx-fp-infos .sim-fx-avis { margin-bottom: 24px; }
.sim-fx-fp-meta { margin: 0; }
.sim-fx-fp-meta > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--sim-filet); font-size: .95rem; }
.sim-fx-fp-meta dt { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sim-gris); padding-top: 2px; }
.sim-fx-fp-meta dd { margin: 0; color: var(--sim-encre); overflow-wrap: anywhere; }
.sim-fx-fp-meta a { color: var(--sim-vif); text-decoration: underline; text-underline-offset: 3px; }
/* Les onglets d’ancres collent SOUS l’en-tête du thème, jamais derrière. */
.sim-fx-fp-onglets {
    position: sticky;
    top: var(--sim-fx-entete);
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 0 28px;
    margin-top: 72px;
    background: var(--sim-papier);
    border-bottom: 1px solid var(--sim-filet-2);
}
.sim-fx-fp-onglets a {
    padding: 16px 0 14px;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    color: var(--sim-doux);
    background: linear-gradient(var(--sim-vif), var(--sim-vif)) 0 100% / 0 2px no-repeat;
    transition: background-size .22s ease, color .2s ease;
}
.sim-fx-fp-onglets a:hover { color: var(--sim-encre); background-size: 100% 2px; }
.sim-fx-fp-corps { max-width: 780px; padding-top: 44px; }
.sim-fx-fp-section { margin-bottom: 52px; scroll-margin-top: calc(var(--sim-fx-entete) + 72px); }
.sim-fx-fp-section h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin-bottom: 16px; }
.sim-fx-fp-section h3 { font-size: 1.15rem; margin: 1.6em 0 .7em; }
.sim-fx-fp-section > p { color: var(--sim-doux); }
.sim-fx-fp-section .sim-fx-puces { color: var(--sim-doux); }

/* ── Mode d’emploi : étapes au jeton, reliées par la découpe ───── */
.sim-fx-tu { padding-block: 64px 104px; }
.sim-fx-tu-colonne { max-width: calc(780px + 2 * var(--sim-gouttiere)); }
.sim-fx-tu-bandeau {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
    margin: 0 0 64px;
    border-block: 1px solid var(--sim-filet-2);
}
.sim-fx-tu-bandeau > div { padding: 18px 22px 18px 0; }
.sim-fx-tu-bandeau > div + div { padding-left: 22px; border-left: 1px solid var(--sim-filet); }
.sim-fx-tu-bandeau dt { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sim-gris); }
.sim-fx-tu-bandeau dd { margin: 4px 0 0; font-family: var(--sim-titre); font-weight: 700; font-size: 1.15rem; line-height: 1.3; color: var(--sim-encre); }
.sim-fx-tu-mat { padding: 30px 32px 18px; margin-bottom: 72px; background: var(--sim-carton); }
.sim-fx-tu-mat .sim-oeil { margin-bottom: 8px; }
.sim-fx-tu-mat h2 { font-size: 1.4rem; margin-bottom: 18px; }
.sim-fx-tu-mat li { color: var(--sim-encre); }
.sim-fx-tu-etapes { list-style: none; margin: 0 0 56px; padding: 0; }
.sim-fx-tu-etape {
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 40px;
    scroll-margin-top: calc(var(--sim-fx-entete) + 24px);
}
/* Le trait de découpe entre 2 jetons : des tirets de carton, interrompus. */
.sim-fx-tu-etape::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 66px;
    bottom: 10px;
    width: 1.5px;
    background: repeating-linear-gradient(180deg, var(--sim-vif-clair) 0 14px, transparent 14px 22px);
}
.sim-fx-tu-etape:last-child::before { display: none; }
.sim-fx-tu-etape .sim-jeton { width: 56px; height: 56px; font-size: 1.1rem; }
.sim-fx-tu-etape-titre { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin: 12px 0 12px; }
.sim-fx-tu-etape-corps p { color: var(--sim-doux); }
.sim-fx-tu-attention {
    margin: 14px 0 0;
    padding: 12px 16px;
    border-left: 3px solid var(--sim-vif);
    background: var(--sim-carton);
    border-radius: 0 var(--sim-rayon) var(--sim-rayon) 0;
    font-size: .98rem;
}
.sim-fx-tu-attention strong { color: var(--sim-encre); }
.sim-fx-tu-controle { padding: 26px 0 8px; margin-bottom: 56px; border-top: 2px solid var(--sim-encre); }
.sim-fx-tu-controle h2 { font-size: 1.4rem; margin-bottom: 12px; }
.sim-fx-tu-controle p { color: var(--sim-doux); }
.sim-fx-tu-suite { margin-bottom: 48px; }
.sim-fx-tu-suite h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: 14px; }

/* ── L’outil d’échelle ────────────────────────────────────────── */
.sim-fx-ou-grille {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}
.sim-fx-ou-form { padding: 32px 32px 18px; background: var(--sim-carton); }
.sim-fx-ou-titre { font-size: 1.4rem; margin-bottom: 20px; }
.sim-fx-ou-groupe { margin: 0 0 22px; padding: 18px 0 0; border: 0; border-top: 1px solid var(--sim-filet-2); min-width: 0; }
.sim-fx-ou-groupe legend { padding: 0 0 12px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sim-vif); }
.sim-fx-champ { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; min-width: 0; }
.sim-fx-champ label { font-size: .9rem; font-weight: 700; color: var(--sim-encre); }
.sim-fx-champ input,
.sim-fx-champ select {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    font: inherit;
    font-size: 1rem;
    color: var(--sim-encre);
    background: var(--sim-papier);
    border: 1.5px solid var(--sim-filet-2);
    border-radius: var(--sim-rayon);
}
.sim-fx-champ input:focus,
.sim-fx-champ select:focus { outline: none; border-color: var(--sim-vif); box-shadow: 0 0 0 3px var(--sim-vif-clair); }
.sim-fx-champ input[aria-invalid="true"] { border-color: var(--sim-vif-fonce); border-width: 2px; }
.sim-fx-champ-duo { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; }
.sim-fx-aide { font-size: .84rem; color: var(--sim-gris); line-height: 1.45; }
.sim-fx-erreur { margin: 0 0 14px; color: var(--sim-vif-fonce); font-weight: 700; }
.sim-fx-erreur[hidden] { display: none; }
.sim-fx-ou-resultat { position: sticky; top: calc(var(--sim-fx-entete) + 32px); }
.sim-fx-chiffres { margin: 0 0 22px; border-top: 2px solid var(--sim-encre); }
.sim-fx-chiffres > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--sim-filet-2);
}
.sim-fx-chiffres dt { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sim-gris); }
.sim-fx-chiffres dd { margin: 0; font-family: var(--sim-titre); font-weight: 700; font-size: 1.6rem; color: var(--sim-encre); white-space: nowrap; }
.sim-fx-chiffres-fort dd { font-size: clamp(1.8rem, 5vw, 2.3rem); color: var(--sim-vif); white-space: normal; }
.sim-fx-ou-phrases p { color: var(--sim-doux); margin-bottom: .7em; }
.sim-fx-ou-ref, .sim-fx-ou-methode { padding-bottom: 80px; }
.sim-fx-ou-colonne { max-width: calc(860px + 2 * var(--sim-gouttiere)); }
.sim-fx-ou-colonne h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin: 1.6em 0 .6em; }
.sim-fx-ou-ref h2 { margin-top: 0; }
.sim-fx-ou-colonne > p { color: var(--sim-doux); max-width: 68ch; }
.sim-fx-ou-ref .sim-fx-table td { font-variant-numeric: tabular-nums; }

/* ── Bloc « Pour aller plus loin » sous un article ─────────────── */
.sim-fx-suite { margin: 56px 0 8px; padding: 28px 30px 16px; background: var(--sim-carton); }
.sim-fx-suite-titre { font-size: 1.3rem; margin: 0 0 16px; }
.sim-fx-suite ul { margin: 0; }
.sim-fx-suite li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 14px; }
.sim-fx-suite-type { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sim-gris); }
.sim-fx-suite a { color: var(--sim-vif); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.sim-fx-suite a:hover { color: var(--sim-vif-fonce); }

/* ── Accueil : les formats, sous les rubriques (même section) ──── */
.sim-fx-accueil { margin-top: 88px; padding-top: 36px; border-top: 1px solid var(--sim-filet); }
.sim-fx-accueil-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 8px; }
.sim-fx-tuile {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    padding: 26px 26px 22px;
    background: var(--sim-carton);
    text-decoration: none;
}
.sim-fx-tuile:hover::after { inset: -4px; border-radius: calc(var(--sim-rayon) + 4px); }
.sim-fx-tuile-picto { color: var(--sim-vif); margin-bottom: 10px; }
.sim-fx-tuile h3 { font-size: 1.3rem; }
.sim-fx-tuile:hover h3 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.sim-fx-tuile-compte { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sim-gris); }

/* ── Navigation : le groupe « Pour choisir » ──────────────────── */
.sim-fx-nav { position: relative; }
.sim-fx-nav-det > summary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-block: 0;
    font-weight: 600;
    font-size: .98rem;
    cursor: pointer;
    list-style: none;
}
.sim-fx-nav-det > summary::-webkit-details-marker { display: none; }
.sim-fx-nav-det > summary::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--sim-vif);
    border-bottom: 1.5px solid var(--sim-vif);
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s ease;
}
.sim-fx-nav-det[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.sim-fx-nav-liste {
    position: absolute;
    top: calc(100% + 22px);
    left: -22px;
    z-index: 120;
    display: grid;
    gap: 2px;
    min-width: 260px;
    padding: 14px 22px;
    background: var(--sim-papier);
    border: 1px solid var(--sim-filet-2);
    border-radius: var(--sim-rayon);
}
.sim-nav-liens .sim-fx-nav-liste a { display: inline-block; padding-block: 8px 2px; }
.sim-fx-nav-compte { display: block; padding-bottom: 6px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sim-gris); }

/* ── Plan du site ─────────────────────────────────────────────── */
.sim-plan-groupe .sim-fx-plan-note { font-size: .82rem; color: var(--sim-gris); margin: -6px 0 14px; }

/* ── Réactivité ───────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .sim-fx-gd-grille { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .sim-fx-gd-nav { position: static; max-height: none; }
    .sim-fx-fiches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sim-fx-accueil-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sim-fx-fp-haut { gap: 48px; }
}

@media (max-width: 900px) {
    .sim-fx-coiffe .sim-coiffe-grille { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .sim-fx-etiquette { min-height: 0; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 18px; padding: 20px 22px; justify-self: start; max-width: 100%; }
    .sim-fx-etiquette-picto { grid-row: span 2; margin: 0; }
    .sim-fx-etiquette-n { font-size: 2.2rem; }
    .sim-fx-gd { padding-block: 48px 80px; }
    .sim-fx-tx-grille { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .sim-fx-fiches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 28px; }
    .sim-fx-fp-haut { grid-template-columns: minmax(0, 1fr); }
    .sim-fx-fp-vue { aspect-ratio: 16 / 10; }
    .sim-fx-fp-vue > svg { width: 22%; }
    .sim-fx-fp-onglets { position: static; margin-top: 56px; }
    .sim-fx-fp-section { scroll-margin-top: calc(var(--sim-fx-entete) + 24px); }
    .sim-fx-ou-grille { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .sim-fx-ou-resultat { position: static; }
    .sim-fx-ix-ligne { grid-template-columns: 48px minmax(0, 1fr); gap: 18px; }
    .sim-fx-ix-compte { grid-column: 2; justify-items: start; text-align: left; grid-auto-flow: column; align-items: baseline; gap: 8px; }
    .sim-fx-ix-compte-n { font-size: 1.2rem; }

    /* Le groupe de navigation dans le menu plein écran : la liste suit, à plat. */
    .sim-fx-nav-det > summary { font-family: var(--sim-titre); font-size: 1.9rem; font-weight: 700; color: var(--sim-encre); }
    .sim-fx-nav-liste { position: static; min-width: 0; padding: 10px 0 0 20px; background: none; border: 0; border-radius: 0; gap: 6px; }
    .sim-nav-liens .sim-fx-nav-liste a { font-size: 1.3rem; padding-block: 4px 0; }
    .sim-fx-nav-compte { display: none; }
    /* Groupe ouvert : le menu centré risquerait de couper son haut sur un petit
       écran ; il repart du haut et défile. */
    .sim-nav:has(.sim-fx-nav-det[open]) { justify-content: flex-start; }
}

@media (max-width: 600px) {
    :root { --sim-fx-entete: 69px; }
    .sim-fx-fiches { gap: 40px 22px; }
    .sim-fx-fiche-nom { font-size: 1rem; }
    .sim-fx-fiche-etat { top: 8px; left: 8px; font-size: .58rem; padding: 2px 7px; }
    .sim-fx-accueil-grille { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .sim-fx-accueil { margin-top: 64px; }
    .sim-fx-cas-ligne { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .sim-fx-gd-bref, .sim-fx-tu-mat, .sim-fx-tx-fiche, .sim-fx-ou-form, .sim-fx-suite { padding-inline: 20px; }
    .sim-fx-tu-etape { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
    .sim-fx-tu-etape .sim-jeton { width: 44px; height: 44px; font-size: .95rem; }
    .sim-fx-tu-etape::before { left: 21px; top: 54px; }
    .sim-fx-tu-bandeau { grid-template-columns: minmax(0, 1fr); }
    .sim-fx-tu-bandeau > div { padding: 14px 0; }
    .sim-fx-tu-bandeau > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--sim-filet); }
    .sim-fx-fp-meta > div { grid-template-columns: 92px minmax(0, 1fr); }
    .sim-fx-fp-onglets { gap: 0 20px; }
    .sim-fx-champ-duo { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .sim-fx-table { font-size: .9rem; }
}

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