/* FEP Toolkit : styles des blocs générés par les shortcodes */
.fep-grid{display:grid;gap:16px;margin:16px 0 24px}
.fep-grid--2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.fep-grid--3{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.fep-grid--4{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
.fep-card{background:#fff;border:1px solid #D6DCD8;border-radius:14px;padding:22px;display:flex;flex-direction:column;gap:8px;color:#10233A}
.fep-card h3{margin:0;font-size:1.15em;line-height:1.25}
.fep-card p{margin:0;line-height:1.6;color:#3E4C58}
.fep-card--link{text-decoration:none}
.fep-card--link:hover{border-color:#10233A}
.fep-card--link span{font-size:.875em;color:#4D5B66}
.fep-tag{align-self:flex-start;padding:5px 11px;border-radius:999px;font-size:.8125em;font-weight:700}
.fep-tag--ok{background:#DDF1E5;color:#145A38}
.fep-tag--todo{background:#FFE45C;color:#10233A}
.fep-tags{font-size:.875em}
.fep-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto!important}
.fep-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:10px;background:#10233A;color:#fff!important;font-weight:700;text-decoration:none}
.fep-btn:hover{background:#1F7A4D}
.fep-btn--ghost{background:transparent;color:#10233A!important;border:2px solid #10233A}
.fep-btn--ghost:hover{background:#F3F5F2}
.fep-disclosure{font-size:.875em;color:#4D5B66}
.fep-faq details{border-bottom:1px solid #D6DCD8;padding:4px 0}
.fep-faq summary{cursor:pointer;font-weight:700;padding:14px 0;min-height:44px;list-style-position:outside}
.fep-faq details p{margin:0 0 16px;line-height:1.65;color:#3E4C58}
.fep-proches a{font-weight:700}
.fep-maj{padding:12px 16px;border-radius:10px;background:#FFE45C;color:#10233A;display:inline-block}

/* ---------- Footer (corrige les styles manquants du modèle) ---------- */
.fep-foot h2{margin:0 0 14px;font:700 16px 'Atkinson Hyperlegible',sans-serif;color:#fff}
.fep-foot ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
body .fep-foot a{display:inline-flex;align-items:center;min-height:36px;color:#C9D3DC;text-decoration:none;font-size:15px}
body .fep-foot a:hover{color:#fff;text-decoration:underline}

/* ---------- Page métier ---------- */
.fep-has-render .page-header .entry-title,.fep-has-render h1.entry-title{display:none}
.fep-metier{max-width:1000px;margin:0 auto;padding:8px 0 64px;font-family:'Atkinson Hyperlegible','Segoe UI',system-ui,sans-serif;color:#10233A;font-size:18px;line-height:1.65}
.fep-metier h1,.fep-metier h2,.fep-metier h3{font-family:'Bricolage Grotesque',sans-serif;color:#10233A;letter-spacing:-.01em}
.fep-hero{background:#F3F5F2;border-radius:18px;padding:40px;margin:16px 0 48px;display:flex;flex-direction:column;gap:16px}
.fep-hero p{margin:0;color:#3E4C58;font-size:19px}
.fep-breadcrumb{font-size:15px;color:#4D5B66}
.fep-breadcrumb a{font-weight:700}
.fep-h1{margin:0;font-weight:800;font-size:clamp(32px,4.4vw,52px);line-height:1.04}
.fep-hero .fep-meta{font-size:14px;color:#4D5B66}
.fep-bref{background:#fff;border:2px solid #10233A;border-radius:14px;padding:22px 24px;display:flex;flex-direction:column;gap:12px}
.fep-bref>strong{font:800 20px 'Bricolage Grotesque',sans-serif}
.fep-check{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.fep-check li{display:flex;gap:10px;font-size:16px;line-height:1.5}
.fep-check li:before{content:"";flex:none;width:18px;height:18px;margin-top:3px;border-radius:4px;background:#1F7A4D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat}
.fep-section{margin:0 0 48px}
.fep-section>h2{margin:0 0 20px;font-weight:800;font-size:clamp(26px,3vw,38px);line-height:1.1}
.fep-section>p{color:#3E4C58}
.fep-alert{background:#FFE45C;border-radius:18px;padding:32px 36px}
.fep-alert>h2{font-size:clamp(22px,2.6vw,30px)}
.fep-alert p{color:#10233A;margin:0 0 12px}
.fep-cal{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.fep-cal__item{padding:24px;border-radius:14px;background:#fff;border:2px solid #10233A;display:flex;flex-direction:column;gap:10px}
.fep-cal__item strong{font:800 26px 'Bricolage Grotesque',sans-serif}
.fep-cal__item p{margin:0;font-size:16px;color:#3E4C58}
.fep-cal__item--done{background:#10233A;color:#F3F5F2}
.fep-cal__item--done p{color:#C9D3DC}
.fep-cal__item--done .fep-tag--ok{background:#3FA36F;color:#0B1A2C}
.fep-soft{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:20px;align-items:start}
.fep-soft .fep-grid--3{grid-template-columns:1fr;margin-top:0}
.fep-card--soft{background:#F3F5F2}
@media (max-width:760px){.fep-soft{grid-template-columns:1fr}.fep-hero{padding:28px 22px}.fep-alert{padding:26px 22px}}
.fep-steps{list-style:none;counter-reset:fep;margin:0;padding:0}
.fep-steps li{counter-increment:fep;position:relative;padding:18px 0 18px 64px;border-bottom:1px solid #D6DCD8}
.fep-steps li:before{content:counter(fep);position:absolute;left:0;top:18px;width:44px;height:44px;border-radius:50%;background:#10233A;color:#fff;display:flex;align-items:center;justify-content:center;font:800 20px 'Bricolage Grotesque',sans-serif}
.fep-steps h3{margin:0 0 4px;font-size:21px;line-height:1.25}
.fep-steps p{margin:0;font-size:16px;color:#3E4C58}

/* ---------- Pages rédigées ---------- */
.fep-note{font-size:.875em;color:#4D5B66;border-top:1px solid #D6DCD8;padding-top:12px;margin-top:32px}
.wp-block-details{border-bottom:1px solid #D6DCD8;padding:4px 0}
.wp-block-details summary{cursor:pointer;font-weight:700;padding:14px 0;min-height:44px}
.wp-block-table table{border-collapse:collapse;width:100%}
.wp-block-table th,.wp-block-table td{border:1px solid #D6DCD8;padding:10px 12px;text-align:left;vertical-align:top}
.wp-block-table thead th{background:#10233A;color:#fff}

/* ---------- Pages mises en page avec Elementor ---------- */
.fep-el-body .elementor-widget-text-editor p:last-child{margin-bottom:0}
.fep-el-body .elementor-widget-text-editor a{font-weight:700;text-decoration:underline;text-underline-offset:3px}
.fep-el-body .elementor-widget-heading h2{margin-top:24px}
.fep-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.fep-list li{position:relative;padding-left:30px;line-height:1.6}
.fep-list li:before{content:"";position:absolute;left:0;top:4px;width:18px;height:18px;border-radius:4px;background:#1F7A4D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat}
.fep-ol{list-style:none;counter-reset:fepol;margin:0;padding:0}
.fep-ol li{counter-increment:fepol;position:relative;padding:14px 0 14px 60px;border-bottom:1px solid #D6DCD8;line-height:1.6;min-height:44px}
.fep-ol li:before{content:counter(fepol);position:absolute;left:0;top:12px;width:40px;height:40px;border-radius:50%;background:#10233A;color:#fff;display:flex;align-items:center;justify-content:center;font:800 18px 'Bricolage Grotesque',sans-serif}
.fep-table-wrap{overflow-x:auto;border-radius:12px;border:1px solid #D6DCD8}
.fep-table-wrap table{border-collapse:collapse;width:100%;min-width:520px;font-size:16px}
.fep-table-wrap th,.fep-table-wrap td{padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid #D6DCD8;color:#10233A}
.fep-table-wrap thead th{background:#10233A;color:#fff;font-weight:700}
.fep-table-wrap tbody tr:nth-child(even){background:#F3F5F2}
.fep-todo{border:2px dashed #B4451F;border-radius:12px;padding:16px 18px;color:#B4451F;font-weight:700;background:#FFF7F3}
.fep-note-el{border-top:1px solid #D6DCD8;padding-top:14px;margin-top:16px}
.fep-toc .elementor-toc__header{background:#F3F5F2}
.fep-toc{border-radius:12px;overflow:hidden}

/* ---------- v1.5 : comparatifs, fiches, annuaire, schéma, factures, auteur ---------- */
.fep-yes,.fep-no,.fep-unk{display:inline-block;padding:3px 9px;border-radius:999px;font-size:.8125em;font-weight:700;white-space:nowrap}
.fep-yes{background:#DDF1E5;color:#145A38}
.fep-no{background:#F6E1DA;color:#8A2E12}
.fep-unk{background:#EEF0EE;color:#4D5B66}
.fep-compare table{min-width:860px}
.fep-compare th[scope=row]{background:#fff;min-width:180px}
.fep-compare small{color:#4D5B66;font-weight:400}
.fep-compare__cta{white-space:nowrap}
.fep-compare__cta a{margin:2px 0}
.fep-btn--sm{min-height:40px;padding:0 14px;font-size:.875em}
.fep-link{font-weight:700}
.fep-choix{border:2px solid #10233A;border-radius:14px;padding:20px 22px;background:#fff;margin:8px 0 24px}
.fep-choix__titre{display:block;font:800 20px 'Bricolage Grotesque',sans-serif;margin-bottom:12px;color:#10233A}
.fep-choix ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.fep-choix li{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 0;border-top:1px solid #D6DCD8}
.fep-choix__profil{background:#FFE45C;color:#10233A;border-radius:999px;padding:4px 10px;font-weight:700;font-size:.875em}
.fep-fiche{border:1px solid #D6DCD8;border-radius:14px;overflow:hidden;background:#fff;margin:8px 0 24px}
.fep-fiche dl{margin:0}
.fep-fiche dl>div{display:grid;grid-template-columns:minmax(140px,1fr) 2fr;gap:12px;padding:12px 18px;border-bottom:1px solid #D6DCD8}
.fep-fiche dl>div:nth-child(even){background:#F3F5F2}
.fep-fiche dt{font-weight:700;color:#10233A}
.fep-fiche dd{margin:0;color:#3E4C58}
.fep-fiche__cta{padding:14px 18px;margin:0}
@media (max-width:600px){.fep-fiche dl>div{grid-template-columns:1fr;gap:4px}}
.fep-annuaire__meta{color:#3E4C58}
.fep-annuaire__tools{display:flex;flex-direction:column;gap:6px;max-width:380px;margin:12px 0;font-weight:700}
.fep-annuaire__tools input{min-height:48px;padding:0 14px;border:2px solid #A9B4AE;border-radius:10px;font:inherit;font-weight:400}
.fep-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.fep-chips button{min-height:44px;padding:0 16px;border-radius:999px;border:2px solid #10233A;background:#fff;color:#10233A;font:700 15px 'Atkinson Hyperlegible',sans-serif;cursor:pointer}
.fep-chips button[aria-pressed="true"]{background:#10233A;color:#fff}
.fep-annuaire tr[hidden]{display:none}
.fep-flux{margin:8px 0 24px;border:1px solid #D6DCD8;border-radius:14px;background:#fff;padding:18px 20px}
.fep-flux figcaption{font:800 18px 'Bricolage Grotesque',sans-serif;color:#10233A;margin-bottom:10px}
.fep-flux ol{list-style:none;margin:0;padding:0}
.fep-flux li{display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1.3fr);align-items:center;gap:10px;padding:12px 0;border-top:1px solid #D6DCD8}
.fep-flux__qui{font-weight:700;color:#10233A}
.fep-flux__fleche{font-size:22px;color:#1F7A4D;text-align:center}
.fep-flux__quoi{display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.fep-flux__quoi small{color:#3E4C58;line-height:1.45}
@media (max-width:600px){.fep-flux li{grid-template-columns:1fr}.fep-flux__fleche{display:none}}
.fep-factures{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:8px 0 12px}
.fep-facture{background:#F3F5F2;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:12px}
.fep-facture header{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.fep-facture h3{margin:0;font-size:1.05em;line-height:1.3}
.fep-facture__doc{background:#fff;border:1px solid #D6DCD8;border-radius:6px;padding:14px;box-shadow:0 10px 24px -18px rgba(16,35,58,.5);font-size:.9375em}
.fep-facture__doc small{display:block;font-size:.75em;font-weight:700;color:#4D5B66;text-transform:uppercase;letter-spacing:.04em}
.fep-facture__client{margin:0 0 10px;color:#10233A}
.fep-facture__doc table{width:100%;border-collapse:collapse}
.fep-facture__doc td{padding:6px 0;border-bottom:1px dashed #D6DCD8;vertical-align:top;color:#10233A}
.fep-facture__doc td:last-child{text-align:right;white-space:nowrap;padding-left:10px}
.fep-facture__total td{font-weight:700;border-bottom:0}
.fep-facture__mention{margin:10px 0 0;padding:8px 10px;background:#FFF8CC;border-left:3px solid #E0C200;color:#10233A;font-size:.875em}
.fep-facture__note{margin:0;font-size:.875em;color:#3E4C58}
.fep-auteur{display:flex;gap:16px;align-items:flex-start;margin:40px auto 24px;max-width:860px;padding:20px 22px;border:1px solid #D6DCD8;border-radius:14px;background:#fff}
.fep-auteur img,.fep-auteur__initiale{flex:none;width:64px;height:64px;border-radius:50%;object-fit:cover}
.fep-auteur__initiale{display:flex;align-items:center;justify-content:center;background:#10233A;color:#fff;font:800 26px 'Bricolage Grotesque',sans-serif}
.fep-auteur p{margin:0 0 6px;color:#3E4C58;font-size:.9375em}
.fep-auteur__nom{font-weight:700;color:#10233A!important}
.fep-auteur__meta{font-size:.8125em!important}
.fep-todo{border:2px dashed #B4451F;border-radius:12px;padding:16px 18px;color:#B4451F;font-weight:700;background:#FFF7F3}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}

/* ---------- v1.6 : classements ---------- */
.fep-top{list-style:none;margin:8px 0 12px;padding:0;display:flex;flex-direction:column;gap:14px;counter-reset:none}
.fep-top__item{border:1px solid #D6DCD8;border-radius:14px;background:#fff;overflow:hidden}
.fep-top__item:first-child{border:2px solid #10233A}
.fep-top__head{display:grid;grid-template-columns:48px minmax(0,1fr) minmax(140px,200px);gap:14px;align-items:center;padding:16px 18px}
.fep-top__rang{width:44px;height:44px;border-radius:50%;background:#10233A;color:#fff;display:flex;align-items:center;justify-content:center;font:800 20px 'Bricolage Grotesque',sans-serif}
.fep-top__item:first-child .fep-top__rang{background:#FFE45C;color:#10233A}
.fep-top__head h3{margin:0;font-size:1.2em}
.fep-top__head p{margin:2px 0 0;color:#3E4C58;font-size:.9375em}
.fep-top__body{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:0 18px 14px}
.fep-top__body ul{margin:6px 0 0;padding-left:18px;font-size:.9375em;color:#3E4C58}
.fep-top__body li{margin:3px 0}
.fep-top__foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 18px;background:#F3F5F2;font-size:.9375em}
.fep-top__foot small{color:#4D5B66}
.fep-score{display:flex;flex-direction:column;gap:6px}
.fep-score__num{font:800 26px 'Bricolage Grotesque',sans-serif;color:#10233A;line-height:1}
.fep-score__num small{font-size:.5em;color:#4D5B66;font-weight:700}
.fep-score__bar{display:block;height:8px;border-radius:99px;background:#E7EBE8;overflow:hidden}
.fep-score__bar span{display:block;height:100%;background:#1F7A4D;border-radius:99px}
.fep-choix__score{font-weight:700;color:#1F7A4D}
.fep-analyse{border:1px solid #D6DCD8;border-radius:14px;padding:16px 18px;margin:0 0 14px;background:#fff}
.fep-analyse h3{margin:0 0 10px}
.fep-analyse .fep-top__body{padding:0}
.fep-duel td.fep-win{background:#DDF1E5;font-weight:700}
.fep-duel td small,.fep-duel th small{color:#4D5B66;font-weight:400}
.fep-total th,.fep-total td{font-weight:800;background:#F3F5F2}
.fep-verdict{border-left:4px solid #1F7A4D;padding:10px 14px;background:#F3F5F2;border-radius:0 10px 10px 0}
@media (max-width:640px){.fep-top__head{grid-template-columns:44px minmax(0,1fr)}.fep-top__head .fep-score{grid-column:1/-1}.fep-top__body{grid-template-columns:1fr}}
