/* Facture électronique bâtiment Core : maquette v2 « claire » (validée par Rob le 12/10/2026). */

:root {
	--feb-fond: #ffffff;
	--feb-fond-doux: #f4f7fb;
	--feb-fond-teinte: #eaf1fb;
	--feb-encre: #14233a;
	--feb-gris: #55657d;
	--feb-trait: #dfe6ef;
	--feb-bleu: #1d5fd1;
	--feb-bleu-fonce: #123f8f;
	--feb-jaune: #ffbf1f;
	--feb-jaune-survol: #f2ae00;
	--feb-jaune-ombre: #d59a00;
	--feb-jaune-encre: #1b1b1b;
	--feb-vert: #1f8a4c;
	--feb-orange: #d9530f;
	--feb-orange-doux: #fff1e8;
	--feb-police: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body.feb { background: var(--feb-fond); color: var(--feb-encre); font-family: var(--feb-police); font-size: 18px; line-height: 1.6; }
.feb a { color: var(--feb-bleu); }
.feb a:hover, .feb a:focus { color: var(--feb-bleu-fonce); }
.feb :focus-visible { outline: 3px solid var(--feb-bleu); outline-offset: 2px; }

.feb h1, .feb h2, .feb h3, .feb .entry-title { font-family: var(--feb-police); color: var(--feb-encre); text-wrap: balance; letter-spacing: -0.01em; }
.feb .entry-title, .feb h1 { font-size: 42px; line-height: 1.12; font-weight: 800; margin-bottom: 8px; }
.feb .entry-content h2 { font-size: 30px; line-height: 1.2; font-weight: 800; margin: 48px 0 14px; }
.feb .entry-content h3 { font-size: 21px; line-height: 1.3; font-weight: 700; margin: 28px 0 10px; }
.feb .entry-content ul, .feb .entry-content ol { margin-left: 1.3em; }
.feb-etiquette { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--feb-bleu); margin: 0 0 6px; }

/* ── Bandeau du compte à rebours ─────────────────────────────────── */

.feb-bandeau { background: var(--feb-bleu-fonce); color: #fff; font-size: 15px; line-height: 1.4; padding: 8px 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; text-align: center; }
.feb-bandeau b { color: var(--feb-jaune); font-variant-numeric: tabular-nums; }

/* ── En-tête ─────────────────────────────────────────────────────── */

.feb .site-header { background: var(--feb-fond); border-bottom: 1px solid var(--feb-trait); }
.feb .inside-header { padding: 12px 24px; }
.feb-logo a, a.feb-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--feb-encre); }
.feb-logo__marque { flex: none; width: 38px; height: 38px; border-radius: 9px; background: var(--feb-bleu); display: grid; place-items: center; }
.feb-logo__nom { font-weight: 800; font-size: 18px; line-height: 1.1; color: var(--feb-encre); }
.feb-logo__nom small { display: block; font-weight: 500; font-size: 13px; color: var(--feb-gris); }
.feb .main-title { margin: 0; line-height: 1; }
.feb .main-navigation, .feb .main-navigation ul ul { background: transparent; }
.feb .main-navigation .main-nav ul li a { font-family: var(--feb-police); font-weight: 600; font-size: 16px; color: var(--feb-encre); line-height: 48px; padding: 0 12px; }
.feb .main-navigation .main-nav ul li a:hover,
.feb .main-navigation .main-nav ul li.current-menu-item > a,
.feb .main-navigation .main-nav ul li.current-menu-ancestor > a { color: var(--feb-bleu); background: transparent; }
.feb .main-navigation .main-nav ul li.current-menu-item > a,
.feb .main-navigation .main-nav ul li.current-menu-ancestor > a { text-decoration: underline; text-decoration-color: var(--feb-jaune); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.feb .menu-bar-items { display: flex; align-items: center; margin-left: 8px; }
.feb .menu-toggle, .feb .menu-toggle:hover { background: transparent; color: var(--feb-encre); font-weight: 600; min-height: 44px; }

/* ── Boutons et liens affiliés ───────────────────────────────────── */

.feb-bouton, .feb .entry-content a.feb-bouton, .feb a.feb-bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--feb-jaune); color: var(--feb-jaune-encre); font-weight: 700; text-decoration: none; border-radius: 10px; padding: 14px 20px; font-size: 17px; line-height: 1.2; box-shadow: 0 4px 0 var(--feb-jaune-ombre); border: 0; cursor: pointer; }
.feb-bouton:hover, .feb .entry-content a.feb-bouton:hover, .feb a.feb-bouton:hover { background: var(--feb-jaune-survol); color: var(--feb-jaune-encre); }
.feb a.feb-bouton--entete { padding: 11px 16px; font-size: 15px; white-space: nowrap; }
.feb-bouton--ligne, .feb .entry-content a.feb-bouton--ligne { background: var(--feb-fond); color: var(--feb-bleu); border: 2px solid var(--feb-bleu); box-shadow: none; }
.feb-bouton--ligne:hover, .feb .entry-content a.feb-bouton--ligne:hover { background: var(--feb-fond-teinte); color: var(--feb-bleu); }
.feb-mention { display: block; font-size: 13px; color: var(--feb-gris); margin-top: 6px; }
.feb-affilie { display: grid; justify-items: start; gap: 2px; }
.feb-boutons { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }

/* ── Mise en page ────────────────────────────────────────────────── */

.feb .site-content { padding-top: 0; }
.feb.one-container .site-content { padding: 0; background: var(--feb-fond); }
.feb .inside-article { padding: 32px 24px 56px; background: var(--feb-fond); }
.feb .entry-content > p, .feb .entry-content > ul, .feb .entry-content > ol, .feb .entry-content > h2, .feb .entry-content > h3, .feb .entry-content > details { max-width: 780px; }
.feb .entry-content > *:first-child { margin-top: 0; }
.feb.feb-accueil .inside-article, .feb.feb-accueil.one-container .site-content { padding: 0; }
.feb-accueil .entry-content { margin: 0; }
.feb-accueil .site.grid-container, .feb-accueil .site-content { max-width: none; }
.feb-accueil .entry-content > p { max-width: none; }

.feb-fil__liste { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--feb-gris); }
.feb-fil__liste li { margin: 0; }
.feb-fil__liste li + li::before { content: "/"; margin-right: 6px; color: #9aa7b8; }
.feb-fil__liste a { text-decoration: none; }
.feb-fil__liste a:hover { text-decoration: underline; }
.feb-date { font-size: 14px; color: var(--feb-gris); margin: 0 0 24px; }

.feb-chapeau { font-size: 20px; line-height: 1.55; color: var(--feb-gris); }
.feb-reponse { background: var(--feb-fond-teinte); border-left: 5px solid var(--feb-bleu); border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 0 0 28px; max-width: 780px; }
.feb-reponse p { margin: 0; font-size: 18px; color: var(--feb-encre); }
.feb-reponse p + p { margin-top: 8px; }
.feb-note { background: var(--feb-fond-doux); border: 1px solid var(--feb-trait); border-radius: 10px; padding: 14px 18px; font-size: 16px; margin: 0 0 24px; max-width: 780px; }
.feb-attention { background: var(--feb-orange-doux); border-left: 4px solid var(--feb-orange); border-radius: 0 10px 10px 0; padding: 14px 18px; font-size: 16px; margin: 0 0 24px; max-width: 780px; }
.feb-source { font-size: 13.5px; line-height: 1.5; color: var(--feb-gris); }
.feb-compte strong { color: var(--feb-bleu); font-variant-numeric: tabular-nums; }

.feb .entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 0 0 24px; border: 1px solid var(--feb-trait); border-radius: 12px; overflow: hidden; }
.feb .entry-content th, .feb .entry-content td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--feb-trait); text-align: left; vertical-align: middle; }
.feb .entry-content thead th { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--feb-gris); background: var(--feb-fond-doux); }
.feb .entry-content tbody tr:last-child td { border-bottom: 0; }
.feb-tableau { overflow-x: auto; margin: 0 0 24px; }
.feb-tableau table { min-width: 640px; margin: 0 !important; }

.feb .entry-content details { border-bottom: 1px solid var(--feb-trait); padding: 14px 0; max-width: 780px; }
.feb .entry-content summary { font-weight: 700; font-size: 18px; cursor: pointer; color: var(--feb-encre); }
.feb .entry-content details p { margin: 10px 0 0; }

/* ── Accueil (blocs écrits dans la page) ─────────────────────────── */

.feb-heros { background: linear-gradient(180deg, var(--feb-fond-teinte), var(--feb-fond)); }
.feb-heros__dedans { max-width: 1200px; margin: 0 auto; padding: 48px 24px 44px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.feb .feb-heros h1 { font-size: clamp(34px, 4.4vw, 50px); margin: 10px 0 0; }
.feb-heros h1 span { color: var(--feb-bleu); }
.feb .entry-content .feb-heros__chapo { font-size: 19px; color: var(--feb-gris); max-width: 560px; margin: 16px 0 0; }
.feb-heros__carte { background: var(--feb-fond); border: 1px solid var(--feb-trait); border-radius: 14px; padding: 22px; box-shadow: 0 14px 40px rgba(29, 95, 209, 0.12); }

.feb-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--feb-trait); border-bottom: 1px solid var(--feb-trait); max-width: none; }
.feb-chiffres > div { padding: 20px 18px; text-align: center; }
.feb-chiffres > div + div { border-left: 1px solid var(--feb-trait); }
.feb-chiffres b { display: block; font-size: 26px; font-weight: 800; color: var(--feb-bleu); line-height: 1.15; font-variant-numeric: tabular-nums; }
.feb-chiffres > div > span { font-size: 15px; color: var(--feb-gris); }
.feb-chiffres b [data-feb-compte] { font: inherit; color: inherit; }

.feb-bloc { max-width: 1200px; margin: 0 auto; padding: 48px 24px; }
/* Bande grise sur toute la largeur, contenu aligné sur la colonne centrale (1152 px) comme les autres blocs. */
.feb-bloc--doux { background: var(--feb-fond-doux); max-width: none; padding-left: max(24px, calc((100% - 1152px) / 2)); padding-right: max(24px, calc((100% - 1152px) / 2)); }
.feb .entry-content .feb-bloc h2 { margin-top: 0; }
.feb-bloc__intro { color: var(--feb-gris); max-width: 680px; margin: 0 0 24px; }

.feb-cal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feb-cal > div { background: var(--feb-fond); border: 1px solid var(--feb-trait); border-radius: 12px; padding: 20px 22px; }
.feb-cal__quand { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.feb-cal__fait .feb-cal__quand { color: var(--feb-vert); }
.feb-cal__avenir .feb-cal__quand { color: var(--feb-orange); }

.feb-metiers { list-style: none; margin: 0 !important; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.feb-metiers li { margin: 0; }
.feb-metiers a, .feb-metiers .feb-sanslien { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 16px; border: 1px solid var(--feb-trait); border-radius: 10px; text-decoration: none; color: var(--feb-encre); font-weight: 700; background: var(--feb-fond); }
.feb-metiers a::after { content: "→"; color: var(--feb-bleu); }
.feb-metiers a:hover { border-color: var(--feb-bleu); color: var(--feb-bleu); }

.feb-bande { background: var(--feb-bleu-fonce); color: #fff; }
.feb-bande__dedans { max-width: 1200px; margin: 0 auto; padding: 34px 24px; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.feb .entry-content .feb-bande h2 { color: #fff; margin: 0; font-size: 26px; }
.feb .entry-content .feb-bande p { color: #d6e2f7; margin: 6px 0 0; }

/* ── Cartes et « À lire aussi » ──────────────────────────────────── */

.feb-cartes { list-style: none; margin: 0 0 24px !important; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.feb-cartes li { margin: 0; }
.feb-carte { display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; border: 1px solid var(--feb-trait); border-radius: 12px; padding: 18px 20px; text-decoration: none; color: var(--feb-encre) !important; background: var(--feb-fond); transition: border-color 0.15s, box-shadow 0.15s; }
.feb-carte:hover { border-color: var(--feb-bleu); box-shadow: 0 4px 14px rgba(29, 95, 209, 0.1); }
.feb-carte__type { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--feb-bleu); }
.feb-carte__titre { font-weight: 800; font-size: 19px; line-height: 1.3; }
.feb-carte__texte { font-size: 15px; line-height: 1.45; color: var(--feb-gris); }

.feb-lire { background: var(--feb-fond-doux); border-top: 1px solid var(--feb-trait); }
.feb-lire__dedans { max-width: 1200px; margin: 0 auto; padding: 44px 24px 28px; }
.feb-lire__titre { font-size: 26px; margin: 0 0 18px; }

/* ── Pied ────────────────────────────────────────────────────────── */

.feb .site-info { background: var(--feb-fond); color: var(--feb-gris); border-top: 1px solid var(--feb-trait); }
.feb .inside-site-info { display: block; padding: 0 24px; }
.feb .copyright-bar { width: 100%; text-align: left; }
.feb-pied { max-width: 1200px; margin: 0 auto; padding: 40px 0 8px; }
.feb-pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.feb-pied__phrase { font-size: 15px; line-height: 1.5; margin: 12px 0 0; color: var(--feb-gris); }
.feb-pied__titre { font-size: 15px; font-weight: 800; color: var(--feb-encre); margin: 0 0 10px; }
.feb-pied__colonne ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.feb-pied__colonne a { color: var(--feb-gris); text-decoration: none; font-size: 15px; }
.feb-pied__colonne a:hover { color: var(--feb-bleu); text-decoration: underline; }
.feb-legal { max-width: 1200px; margin: 24px auto 0; padding: 18px 0 28px; border-top: 1px solid var(--feb-trait); font-size: 14px; line-height: 1.5; }
.feb-legal p { margin: 0 0 6px; }
.feb .feb-gerer-cookies, .feb .feb-gerer-cookies:hover, .feb .feb-gerer-cookies:focus { background: none; border: 0; padding: 0; color: var(--feb-bleu); font: inherit; font-size: inherit; text-decoration: underline; cursor: pointer; }


/* ── Catalogue : tableau comparatif et fiches logiciel ───────────── */

.feb-comparatif { border: 1px solid var(--feb-trait); border-radius: 16px; box-shadow: 0 10px 30px rgba(20, 35, 58, 0.07); background: var(--feb-fond); }
.feb .entry-content .feb-comparatif table { min-width: 980px; font-size: 15px; border: 0; border-radius: 0; }
.feb .entry-content .feb-comparatif thead th { background: var(--feb-fond-doux); font-size: 11.5px; letter-spacing: 0.05em; padding: 14px 10px; white-space: normal; vertical-align: bottom; hyphens: auto; -webkit-hyphens: auto; }
.feb .entry-content .feb-comparatif td, .feb .entry-content .feb-comparatif tbody th { padding: 16px 10px; vertical-align: middle; }
.feb .entry-content .feb-comparatif th.feb-tab-fn, .feb .entry-content .feb-comparatif td.feb-tab-fn { width: 84px; min-width: 84px; max-width: 96px; }
.feb .entry-content .feb-comparatif td:nth-child(2) { min-width: 120px; max-width: 160px; }
.feb .entry-content .feb-comparatif td:nth-child(4) { max-width: 110px; }
.feb .entry-content .feb-comparatif td:nth-child(5) { max-width: 140px; }
.feb .entry-content .feb-comparatif tr > :last-child { position: sticky; right: 0; background: var(--feb-fond); box-shadow: -8px 0 12px -10px rgba(20, 35, 58, 0.25); min-width: 150px; }
.feb .entry-content .feb-comparatif thead tr > :last-child { background: var(--feb-fond-doux); }
.feb .entry-content .feb-comparatif tr.feb-tab-une > :last-child { background: #fff8e6; }
.feb .entry-content .feb-comparatif tbody tr:hover { background: #fafcff; }
.feb-comparatif th[scope="row"] { min-width: 210px; max-width: 240px; font-weight: 400; position: relative; }
.feb .entry-content .feb-comparatif tr.feb-tab-une { background: #fff8e6; }
.feb .entry-content .feb-comparatif tr.feb-tab-une th[scope="row"] { box-shadow: inset 5px 0 0 var(--feb-jaune); padding-top: 40px; }
.feb-tab-badge { position: absolute; top: 12px; left: 14px; background: var(--feb-jaune); color: var(--feb-jaune-encre); border-radius: 999px; padding: 3px 11px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.feb-tab-ident { display: flex; align-items: center; gap: 12px; }
.feb-logo-log { flex: none; width: 48px; height: 48px; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 1px var(--feb-trait), 0 2px 6px rgba(20, 35, 58, 0.06); }
.feb-logo-log img { width: 38px; height: 38px; object-fit: contain; }
.feb-logo-log--lettre { background: var(--feb-bleu); color: #fff; font-weight: 800; font-size: 21px; box-shadow: none; }
.feb-tab-nom { display: block; font-weight: 800; font-size: 18px; }
.feb .entry-content .feb-tab-nom a { color: var(--feb-encre); text-decoration: none; }
.feb .entry-content .feb-tab-nom a:hover { color: var(--feb-bleu); text-decoration: underline; }
.feb-tab-fort { display: block; font-size: 17px; font-weight: 800; color: var(--feb-encre); }
.feb-tab-non { color: var(--feb-gris); }
.feb-tab-via { font-size: 14px; color: var(--feb-encre); }
.feb-etiq { display: inline-block; border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.feb-etiq--vert { background: #e3f5ea; color: #17673a; }
.feb-etiq--bleu { background: var(--feb-fond-teinte); color: var(--feb-bleu-fonce); }
.feb .entry-content .feb-comparatif .feb-tab-fn { text-align: center; }
.feb-pastille { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 15px; font-weight: 800; line-height: 1; }
.feb-pastille--oui { background: #e3f5ea; color: #17673a; }
.feb-pastille--non { background: #f0f2f5; color: #8a96a8; }
.feb-pastille--np { background: #fff4dc; color: #9a6a00; }
.feb-tab-action { display: grid; justify-items: center; gap: 6px; }
.feb .entry-content a.feb-tab-bouton { box-shadow: 0 3px 0 var(--feb-jaune-ombre); }
.feb .entry-content a.feb-tab-site { font-size: 13px; color: var(--feb-gris); white-space: nowrap; }
.feb-comparatif small, .feb-fiche small { display: block; color: var(--feb-gris); font-size: 13px; line-height: 1.35; margin-top: 2px; }
.feb-oui { color: var(--feb-vert); font-weight: 700; }
.feb-non { color: var(--feb-gris); }
.feb-np { color: var(--feb-gris); font-style: italic; font-size: 14px; }
.feb a.feb-bouton--petit { padding: 10px 14px; font-size: 15px; white-space: nowrap; }
.feb-lien-site { font-weight: 600; white-space: nowrap; }
.feb-fiche { border: 1px solid var(--feb-trait); border-radius: 12px; padding: 18px 20px; margin: 0 0 28px; max-width: 780px; background: var(--feb-fond); }
.feb .entry-content .feb-fiche__titre { margin: 0 0 12px; }
.feb-fiche__faits { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 14px; font-size: 16px; }
.feb-fiche__faits dt { color: var(--feb-gris); }
.feb-fiche__faits dd { margin: 0; }
.feb .entry-content .feb-fiche__fonctions { list-style: none; margin: 0 0 14px !important; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px 18px; font-size: 15px; }
.feb-fiche__fonctions li { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed var(--feb-trait); padding: 4px 0; margin: 0; }
.feb .entry-content .feb-fiche__notes { margin: 0 0 14px 1.2em !important; font-size: 15px; color: var(--feb-encre); }
.feb-fiche__pied { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.feb-fiche__pied .feb-source { margin: 0; }
@media (max-width: 560px) { .feb-fiche__faits { grid-template-columns: 1fr; gap: 2px; } .feb-fiche__faits dd { margin-bottom: 6px; } }


/* ── Accueil : carte de départ du quiz ───────────────────────────── */

.feb .entry-content .feb-heros__carte-titre { font-size: 22px; margin: 0 0 4px; }
.feb-heros__question { font-weight: 700; margin: 14px 0 10px; }
.feb .entry-content .feb-choix { list-style: none; margin: 0 !important; padding: 0; display: grid; gap: 8px; }
.feb-choix li { margin: 0; }
.feb-choix a { display: block; padding: 13px 14px; border: 2px solid var(--feb-trait); border-radius: 10px; font-weight: 600; color: var(--feb-encre); text-decoration: none; background: var(--feb-fond); }
.feb-choix a:hover, .feb-choix a:focus { border-color: var(--feb-bleu); background: var(--feb-fond-teinte); color: var(--feb-encre); }

/* ── Quiz ────────────────────────────────────────────────────────── */

.feb-quiz { background: var(--feb-fond); border: 1px solid var(--feb-trait); border-radius: 14px; padding: 22px; margin: 0 0 18px; max-width: 780px; box-shadow: 0 14px 40px rgba(29, 95, 209, 0.10); }
.feb-quiz__progres { height: 6px; background: var(--feb-fond-teinte); border-radius: 3px; overflow: hidden; margin: 0 0 16px; }
.feb-quiz__progres span { display: block; height: 100%; width: 14%; background: var(--feb-bleu); transition: width 0.2s; }
.feb-quiz__etape { border: 0; margin: 0; padding: 0; min-width: 0; }
.feb-quiz__etape legend { font-weight: 800; font-size: 20px; line-height: 1.3; margin: 0 0 12px; padding: 0; }
.feb-quiz__num { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--feb-bleu); margin-bottom: 4px; }
.feb-quiz__options { display: grid; gap: 8px; }
.feb-quiz__option { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 2px solid var(--feb-trait); border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 16px; }
.feb-quiz__option:hover { border-color: var(--feb-bleu); }
.feb-quiz__option:has(input:checked) { border-color: var(--feb-bleu); background: var(--feb-fond-teinte); }
.feb-quiz__option input { accent-color: var(--feb-bleu); width: 18px; height: 18px; margin: 0; flex: none; }
.feb-quiz__aide { color: var(--feb-orange); font-size: 15px; min-height: 1.3em; margin: 8px 0 0; }
.feb-quiz__nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.feb-quiz__nav [hidden] { display: none !important; }
.feb-quiz__resultat { max-width: 780px; margin: 0 0 18px; }
.feb .entry-content .feb-quiz__titre { margin-top: 0; }
.feb .entry-content .feb-quiz__liste { list-style: none; margin: 0 0 16px !important; padding: 0; display: grid; gap: 12px; counter-reset: feb-choix; }
.feb-quiz__choix { border: 1px solid var(--feb-trait); border-radius: 12px; padding: 16px 18px; margin: 0; background: var(--feb-fond); counter-increment: feb-choix; }
.feb .entry-content .feb-quiz__choix h3 { margin: 0 0 8px; }
.feb .entry-content .feb-quiz__choix h3::before { content: counter(feb-choix) ". "; color: var(--feb-bleu); }
.feb .entry-content .feb-quiz__choix ul { margin: 0 0 8px 1.2em !important; font-size: 15.5px; }
.feb-quiz__note { font-size: 14.5px; color: var(--feb-gris); margin: 0 0 10px; }

/* ── Colonne de droite (inc/cote.php) ────────────────────────────── */

.feb-cote { display: grid; gap: 18px; align-content: start; }
.feb-cote__bloc { display: block; background: var(--feb-fond); border: 1px solid var(--feb-trait); border-radius: 14px; padding: 20px; font-size: 15.5px; line-height: 1.5; color: var(--feb-encre); }
.feb-cote__surtitre { margin: 0 0 6px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--feb-bleu); display: block; }
.feb-cote__surtitre::before { content: "→ "; }
.feb .feb-cote__titre { display: block; margin: 0 0 8px; font-size: 20px; line-height: 1.25; font-weight: 800; color: var(--feb-encre); }
.feb-cote__texte { display: block; margin: 0 0 12px; color: var(--feb-gris); }
.feb-cote__petit { margin: 10px 0 0; font-size: 13px; color: var(--feb-gris); }
.feb a.feb-cote__bouton { display: flex; width: 100%; margin-top: 4px; }
.feb-cote__bloc--quiz { background: var(--feb-fond-teinte); border: 2px solid var(--feb-bleu); box-shadow: 0 14px 34px rgba(29, 95, 209, 0.14); }
.feb-cote__choix-liste { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.feb-cote__choix-liste li { margin: 0; }
.feb a.feb-cote__choix { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 6px 8px; text-align: center; background: var(--feb-fond); border: 1px solid #c6d5ec; border-radius: 10px; font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--feb-encre); text-decoration: none; }
.feb a.feb-cote__choix:hover { border-color: var(--feb-bleu); color: var(--feb-bleu); }
.feb-cote__bloc--compte { background: var(--feb-bleu-fonce); border-color: var(--feb-bleu-fonce); color: #fff; }
.feb-cote__bloc--compte .feb-cote__surtitre { color: var(--feb-jaune); }
.feb-cote__bloc--compte .feb-cote__texte, .feb-cote__bloc--compte .feb-cote__petit { color: #d6e2f7; }
.feb-cote__bloc--compte b { color: #fff; }
.feb .feb-cote__bloc--compte a.feb-cote__bouton { color: var(--feb-jaune-encre); margin-top: 14px; }
.feb .feb-cote__bloc--compte a { color: #fff; font-weight: 700; }
.feb-cote__grand { margin: 0 0 6px; font-size: 52px; line-height: 1; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.feb-cote__grand small { font-size: 22px; font-weight: 700; letter-spacing: 0; }
.feb-cote__logiciels, .feb-cote__sources { list-style: none; margin: 0 0 12px; padding: 0; }
.feb-cote__logiciels li, .feb-cote__sources li { margin: 0; border-bottom: 1px dashed var(--feb-trait); }
.feb-cote__logiciels li:last-child, .feb-cote__sources li:last-child { border-bottom: 0; }
.feb a.feb-cote__logiciel { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 0; text-decoration: none; }
.feb-cote__nom { font-weight: 800; color: var(--feb-encre); flex: 1 1 auto; }
.feb a.feb-cote__logiciel { align-items: center; }
.feb-cote__logiciel .feb-logo-log { width: 32px; height: 32px; border-radius: 8px; }
.feb-cote__logiciel .feb-logo-log img { width: 26px; height: 26px; }
.feb-cote__logiciel .feb-logo-log--lettre { font-size: 15px; }
.feb-cote__nom::after { content: " →"; color: var(--feb-bleu); }
.feb-cote__infos { font-size: 13px; color: var(--feb-gris); text-align: right; }
.feb-cote__sources li { padding: 8px 0; font-size: 14.5px; }
.feb-cote__sources span { display: block; font-size: 12.5px; color: var(--feb-gris); }
.feb a.feb-cote__bloc--lien { text-decoration: none; }
.feb a.feb-cote__bloc--lien:hover { border-color: var(--feb-bleu); }

@media (min-width: 1080px) {
	.feb-avec-cote .inside-article { display: grid; grid-template-columns: minmax(0, 1fr) 330px; column-gap: 48px; align-items: start; }
	.feb-avec-cote .inside-article > * { grid-column: 1; }
	.feb-avec-cote .inside-article > .feb-cote { grid-column: 2; grid-row: 1 / span 50; align-self: stretch; }
	.feb-cote__collant { position: sticky; top: 24px; }
	.admin-bar .feb-cote__collant { top: 56px; }
}
@media (max-width: 1079px) {
	.feb-avec-cote .inside-article { display: flex; flex-direction: column; }
	.feb-avec-cote .inside-article > .feb-cote { order: 99; margin-top: 40px; max-width: 560px; width: 100%; }
}

/* ── Rappel du quiz dans le contenu (inc/relances.php) ───────────── */

.feb .entry-content .feb-relance { display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; background: var(--feb-bleu-fonce); color: #fff; border-radius: 16px; padding: 24px 28px; margin: 40px 0; max-width: 780px; }
.feb-relance__texte { flex: 1 1 320px; }
.feb .entry-content .feb-relance__surtitre { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--feb-jaune); }
.feb .entry-content .feb-relance__surtitre::before { content: "→ "; }
.feb .entry-content .feb-relance__phrase { margin: 0; font-size: 17px; line-height: 1.5; color: #fff; }
.feb .entry-content a.feb-relance__bouton { flex: none; }

/* ── Barre collante du quiz (inc/relances.php, assets/feb.js) ────── */

.feb-collant { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--feb-bleu-fonce); color: #fff; border-top: 3px solid var(--feb-jaune); box-shadow: 0 -10px 30px rgba(20, 35, 58, 0.25); transform: translateY(100%); transition: transform 0.3s ease; }
.feb-collant--visible { transform: none; }
.feb-collant[hidden] { display: none; }
.feb-collant__dedans { max-width: 1200px; margin: 0 auto; padding: 12px 56px 12px 24px; display: flex; align-items: center; gap: 18px; position: relative; }
.feb-collant__badge { flex: none; border: 1px solid var(--feb-jaune); color: var(--feb-jaune); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.feb-collant__texte { flex: 1 1 auto; margin: 0; line-height: 1.3; }
.feb-collant__texte b { display: block; font-size: 18px; }
.feb-collant__texte span { display: block; font-size: 14.5px; color: #d6e2f7; }
.feb a.feb-collant__bouton { flex: none; white-space: nowrap; }
.feb-collant__fermer { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #d6e2f7; font-size: 26px; line-height: 1; cursor: pointer; padding: 0; }
.feb-collant__fermer:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
body.feb-collant-visible { padding-bottom: 84px; }
@media (max-width: 700px) {
	.feb-collant__dedans { padding: 10px 48px 10px 16px; gap: 12px; }
	.feb-collant__badge, .feb-collant__texte span { display: none; }
	.feb-collant__texte b { font-size: 15.5px; }
	.feb a.feb-collant__bouton { padding: 11px 14px; font-size: 15px; }
	.feb .entry-content .feb-relance { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.feb-collant { transition: none; }
}

/* ── Résultats du quiz (assets/quiz.js) ──────────────────────────── */

.feb .entry-content .feb-res { background: linear-gradient(180deg, var(--feb-bleu-fonce), #1a4fae); color: #fff; border-radius: 20px; padding: 32px 28px; margin: 0 0 28px; }
.feb .entry-content .feb-res p, .feb .entry-content .feb-res li { color: inherit; }
.feb .entry-content .feb-res__icone { margin: 0; text-align: center; color: var(--feb-jaune); line-height: 0; }
.feb .entry-content .feb-res__titre { margin: 10px 0 4px; text-align: center; font-size: 34px; color: #fff; }
.feb .entry-content .feb-res__sous { margin: 0 0 22px; text-align: center; color: #c9d8f3; font-size: 16px; }
.feb-res__recap { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 22px; padding: 14px 18px; background: rgba(8, 22, 54, 0.45); border-radius: 12px; font-size: 15px; }
.feb-res__recap div { display: flex; gap: 8px; align-items: baseline; }
.feb-res__recap dt { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9fb6df; }
.feb-res__recap dd { margin: 0; font-weight: 700; color: #fff; }
.feb-res__une { background: #fff; color: var(--feb-encre); border: 3px solid var(--feb-jaune); border-radius: 16px; padding: 24px; box-shadow: 0 18px 44px rgba(4, 14, 40, 0.35); }
.feb .entry-content .feb-res__une p, .feb .entry-content .feb-res__une li { color: var(--feb-encre); }
.feb .entry-content .feb-res__badge { display: inline-block; margin: 0 0 14px; background: var(--feb-jaune); color: var(--feb-jaune-encre); border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.feb-res__tete { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.feb .entry-content .feb-res__nom { margin: 0; font-size: 30px; line-height: 1.1; color: var(--feb-encre); }
.feb .entry-content .feb-res__nom--petit { font-size: 20px; color: #fff; }
.feb .entry-content .feb-res__pct { margin: 0 0 0 auto; font-size: 15px; color: var(--feb-gris); }
.feb-res__pct b { color: var(--feb-vert); font-size: 20px; }
.feb-res__barre { height: 8px; background: var(--feb-trait); border-radius: 99px; margin: 14px 0 16px; overflow: hidden; }
.feb-res__barre span { display: block; height: 100%; background: var(--feb-vert); border-radius: 99px; }
.feb .entry-content .feb-res__raisons { margin: 0 0 12px 1.2em !important; font-size: 16.5px; }
.feb .entry-content .feb-res__note { font-size: 14.5px; color: var(--feb-gris) !important; margin: 0 0 14px; }
.feb-res__action { display: grid; justify-items: center; gap: 6px; text-align: center; }
.feb .entry-content a.feb-res__bouton--grand { width: 100%; font-size: 19px; padding: 18px 22px; }
.feb .entry-content .feb-res__second { font-size: 15px; color: var(--feb-bleu); }
.feb .entry-content .feb-res__atouts { margin: 12px 0 0; text-align: center; font-size: 14px; color: var(--feb-gris) !important; }
.feb .entry-content .feb-res__autres { margin: 26px 0 12px; font-weight: 700; color: #fff; }
.feb .entry-content .feb-res__liste { list-style: none; margin: 0 !important; padding: 0; display: grid; gap: 12px; }
.feb-res__ligne { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; margin: 0; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 14px; padding: 14px 16px; }
.feb-res__rang { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 18px; background: var(--feb-jaune); color: var(--feb-jaune-encre); }
.feb .entry-content .feb-res__infos p { margin: 2px 0 0; font-size: 14.5px; color: #c9d8f3; }
.feb .entry-content .feb-res__infos .feb-res__atouts { text-align: left; color: #9fb6df !important; margin-top: 2px; }
.feb .entry-content .feb-res__pct--petit { margin: 0; }
.feb-res__pct--petit b { color: #6fdc9b; font-size: 18px; }
.feb-res__action--ligne .feb-mention { color: #c9d8f3; }
.feb .entry-content .feb-res__ligne .feb-res__second { color: #c9d8f3; font-size: 13.5px; }
.feb-res__une .feb-mention { margin-top: 0; }
.feb-res__logo { flex: none; width: 48px; height: 48px; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 1px var(--feb-trait); }
.feb-res__logo img { width: 40px; height: 40px; object-fit: contain; }
.feb-res__logo--grand { width: 60px; height: 60px; }
.feb-res__logo--grand img { width: 50px; height: 50px; }
.feb-res__logo--lettre { background: var(--feb-bleu); color: #fff; font-weight: 800; font-size: 24px; box-shadow: none; }
.feb .entry-content .feb-res__fin { margin: 24px 0 6px; text-align: center; color: #fff; }
.feb .entry-content .feb-res__fin a { color: #fff; font-weight: 700; }
.feb .entry-content .feb-res__mention { margin: 0; text-align: center; font-size: 13px; color: #9fb6df; }
@media (max-width: 700px) {
	.feb .entry-content .feb-res { padding: 24px 16px; }
	.feb-res__ligne { grid-template-columns: auto auto minmax(0, 1fr); }
	.feb-res__ligne .feb-res__pct--petit { grid-column: 3; }
	.feb-res__ligne .feb-res__action--ligne { grid-column: 1 / -1; }
	.feb-res__ligne .feb-res__action--ligne a.feb-bouton { width: 100%; }
	.feb .entry-content .feb-res__nom { font-size: 25px; }
}

/* ── Petits écrans ───────────────────────────────────────────────── */

@media (max-width: 860px) {
	.feb-heros__dedans { grid-template-columns: 1fr; }
	.feb-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.feb-chiffres > div:nth-child(3) { border-left: 0; }
	.feb-chiffres > div:nth-child(n+3) { border-top: 1px solid var(--feb-trait); }
	.feb-pied__grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
	.feb .inside-header { padding: 10px 16px; }
	.feb a.feb-bouton--entete { padding: 9px 12px; font-size: 14px; }
}
@media (max-width: 560px) {
	body.feb { font-size: 17px; }
	.feb .entry-title, .feb h1 { font-size: 32px; }
	.feb .entry-content h2 { font-size: 25px; }
	.feb .inside-article { padding: 24px 16px 44px; }
	.feb-heros__dedans, .feb-bloc, .feb-bande__dedans, .feb-lire__dedans { padding-left: 16px; padding-right: 16px; }
	.feb-cal { grid-template-columns: 1fr; }
	.feb-pied__grille { grid-template-columns: 1fr; }
	.feb .inside-site-info { padding: 0 16px; }
	.feb-bandeau { font-size: 14px; }
	.feb-bouton { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
	.feb-carte { transition: none; }
}
