/* ===== Compléments du thème aux composants de la maquette (assets/css/cocon.css) : styles des blocs natifs, fiches métier, accueil, formulaire, éligibilité ===== */
/* Contenu éditorial : variantes et styles des blocs natifs */
.kj.kj-980{max-width:980px}
.kj>.kj-sec:first-child{padding-top:0}
.kj figure{margin:0}
.kj img{max-width:100%;height:auto;border-radius:12px}
.kj ul:not([class]),.kj ol:not([class]),.kj ul.wp-block-list:not([class*=kj-]):not([class*=kh-]),.kj ol.wp-block-list:not([class*=kj-]):not([class*=kh-]){margin:0 0 14px;padding-left:22px}
.kj li{margin-bottom:6px}
.kj-steps strong{display:block;color:#02185a;font-size:16.5px;margin-bottom:4px}
.kj-steps li{font-size:15px;line-height:1.6;margin:0}
.kh-prog{list-style:none;padding:0}
.kh-prog li{margin:0;padding:14px 18px;border-left:3px solid #fc4a16;background:#f6f7fb;border-radius:0 12px 12px 0;font-size:15.5px;line-height:1.6}
.kh-prog strong,.kh-prog b{color:#02185a}
.kj-src-list{margin:0 0 14px;padding-left:20px;font-size:15px}
.kj-src-list li{margin-bottom:6px}
.kj-key{margin:0 0 14px}
.kj-key strong{color:#02185a}
.kh-alert{margin:0 0 14px}
.kh-motto{margin:18px 0 8px}
.kj-tbl td,.kj-tbl th{vertical-align:top}
.kj-ctabox .kn-cta,.kj-ctabox .kp-ghost2{text-decoration:none !important}
.kj-exs{margin:6px 0 18px}
.kj-ex:first-child{border-top:0}
.kj-ex h3{margin-top:2px}
.kj-pair b{display:inline-flex;align-items:center;gap:6px}
.kj-pair i>svg.lucide{width:14px;height:14px}
.kia-go span{flex:1}
.kia-case span{display:block}
.kj-grid3 .kj-tool h3,.kj-risks .kj-risk h3{font-size:17px;margin:0 0 8px}
.kj-tool p,.kj-risk p,.kh-req p{margin:0 0 10px}
.kj-tool p:last-child,.kj-risk p:last-child,.kh-req p:last-child{margin-bottom:0}
.kh-req h3{font-size:17px;margin:0 0 8px}
.kj-grid3.kcd-orange .kj-tool>i{width:40px;height:40px;border-radius:12px;background:#fff1ec;color:#fc4a16;display:grid;place-items:center;font-size:16px;margin-bottom:12px}
.kj-grid3.kcd-vert .kj-tool>i{width:38px;height:38px;border-radius:11px;background:#ecf8f2;color:#0e7a55;display:grid;place-items:center;font-size:15px;margin-bottom:12px}
.kj-grid3.kcd-rouge .kj-tool>i{width:38px;height:38px;border-radius:11px;background:#fff1ec;color:#d63d0f;display:grid;place-items:center;font-size:15px;margin-bottom:12px}
.kj-grid3.kcd-bleu .kj-tool>i{width:38px;height:38px;border-radius:11px;background:#eaf0fb;color:#011a58;display:grid;place-items:center;font-size:15px;margin-bottom:12px}
.kj-risks.kcd-vert .kj-risk>i{background:#ecf8f2;color:#0e7a55}
.kj-risks.kcd-bleu .kj-risk>i{background:#eaf0fb;color:#011a58}
.kj-risks.kcd-orange .kj-risk>i{background:#fff1ec;color:#fc4a16}
.kj-tile>i{flex:none}
.kj-tile p{margin:0}
.kj-box p{margin:0 0 12px}
.kj-box ul.kj-checks li{color:#e6ebf5}
.kj-comp .kj-checks{margin-top:4px}
.kj-comp p{margin:0 0 12px}
.kj-eg{margin:0 0 12px}.kj-eg p{margin:0}
.kia-stat p{margin:0 0 10px}.kia-stat p:last-child{margin:0}
.ci-ess p,.ci-way p{margin:0}
.kh-exams p{margin:0 0 10px}
.kh-steps p{margin:0 0 10px}
.kh-steps ul{margin-top:6px}
.kh-recap-acts .kn-cta{text-decoration:none !important}
.kc-rules p{margin:0 0 8px}
.kj-faq details>*:not(summary){margin:10px 0 0;font-size:15.5px}
.ci-q>*:not(summary){margin:0 0 14px;font-size:15px}
.kj-faq details p+p{margin-top:8px}
.kj .kc-list{margin-top:14px}
.kc-inline{margin:0 0 14px}
.kc-chips{display:flex;gap:6px;flex-wrap:wrap}
.kc-chips-hero{gap:8px;margin-top:18px}
.kc-case .meta span{display:inline-flex;align-items:center;gap:5px}
.kc-back{margin-top:18px}
.kc-mcta-art{margin-top:36px}
.kc-sec-partage{padding-top:0}
.ks-final{margin-top:34px}
.kp-card .kn-tile{width:40px;height:40px;border-radius:11px;background:#eaf0fb;color:#011a58;display:grid;place-items:center}
.kp-card .kn-tile svg{width:18px;height:18px}
section.kp-hero .kp-bc+.kp-badge{margin-top:18px}
.kp-badge>i>svg.lucide{width:14px;height:14px}
.kh-brief .ci-logo{height:auto}
.kh-acts .kp-ghost,.kp-acts .kp-ghost{text-decoration:none}
.kh-final .kj-checks{margin:0}
.kh-final .kh-contact a{color:#fff;font-weight:700}

/* Fiches métier, hub des métiers, accueil (sections à styles en ligne de la maquette) */
.fm-hero{margin:0 auto;padding:22px 32px 30px}
.fm-w900{max-width:900px}.fm-w1080{max-width:1080px}
.fm-kick{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.fm-ico{flex:none;display:grid;place-items:center;border-radius:11px;background:#eaf0fb;color:#011a58}
.fm-kick .fm-ico{width:52px;height:52px}.fm-kick .fm-ico svg{width:21px;height:21px}
.fm-ico-44,.fm-ico-40{width:44px;height:44px}.fm-ico-44 svg,.fm-ico-40 svg{width:18px;height:18px}
.fm-sur{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#fc4a16}
.fm-hero h1{font-size:36px;line-height:1.15;letter-spacing:-.025em;color:#02185a;margin:0 0 16px;text-wrap:pretty}
.fm-hero.fm-w1080 h1{font-size:40px;line-height:1.14;margin-top:10px}
.fm-lead{font-size:17px;line-height:1.68;color:#4a5568;margin:0}
.fm-hero.fm-w1080 .fm-lead{line-height:1.65;max-width:720px}
.fm-sec{max-width:900px;margin:0 auto;padding:0 32px 38px}
.fm-sec-comp{padding-bottom:34px}.fm-sec-vig{padding-bottom:40px}
.fm-h2s{font-size:23px;color:#02185a;margin:0 0 6px;letter-spacing:-.02em}
.fm-sec-comp .fm-h2s{margin-bottom:14px}
.fm-exs{display:flex;flex-direction:column}
.fm-ex{display:grid;grid-template-columns:44px minmax(0,1fr);gap:18px;padding:22px 0;border-top:1px solid #e6e9f0}
.fm-ex:first-child{border-top:0}
.fm-ex .n{font-size:15px;font-weight:800;color:#fc4a16;padding-top:3px}
.fm-ex h3{font-size:17.5px;line-height:1.35;color:#02185a;margin:0 0 8px}
.fm-ex p{font-size:15.5px;line-height:1.72;color:#4a5568;margin:0;text-wrap:pretty}
.fm-comps{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.fm-comp{display:block;background:#fff;border:1px solid #cfdcf2;border-radius:12px;padding:16px 18px;text-decoration:none;color:inherit;transition:border-color .15s,box-shadow .15s}
a.fm-comp:hover{border-color:#011a58;box-shadow:0 14px 30px -20px rgba(1,26,88,.4)}
.fm-comp .h{display:flex;align-items:center;gap:9px}
.fm-comp .code{flex:none;width:32px;height:32px;border-radius:9px;background:#eaf0fb;color:#011a58;display:grid;place-items:center;font-weight:800;font-size:13px}
.fm-comp b{font-size:14px;color:#01204f}
.fm-comp p{margin:10px 0 0;font-size:14px;line-height:1.55;color:#4a5568}
.fm-note{font-size:13px;color:#8b93a5;margin:12px 0 0}
.fm-vig{border:1px solid #e6e9f0;background:#f6f7fb;border-radius:14px;padding:22px 26px}
.fm-vig h2{font-size:17px;color:#02185a;margin:0 0 12px}
.fm-vig ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:7px;font-size:15px;line-height:1.6;color:#4a5568}
.fm-band{background:#f6f7fb;padding:40px 32px}
.fm-band-dark{background:#011a58;padding:36px 32px}
.fm-band-in{margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.fm-band h2{font-size:21px;color:#02185a;margin:0 0 5px}
.fm-band-dark h2{font-size:20px;color:#fff}
.fm-band p{font-size:14.5px;color:#6b7488;margin:0;max-width:560px}
.fm-band-dark p{color:#c9d3e6;max-width:520px}
.fm-btn{display:inline-flex;align-items:center;height:46px;padding:0 20px;border-radius:10px;background:#fc4a16;color:#fff !important;font-weight:800;font-size:14.5px;text-decoration:none}
.fm-btn:hover{background:#e23e0d}
.fm-btn-navy{height:48px;padding:0 22px;background:#011a58;font-size:15px}
.fm-btn-navy:hover{background:#0b2f86}
.fm-nav{background:#f6f7fb;padding:24px 32px}
.fm-nav-in{max-width:900px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.fm-prev{font-size:13.5px;font-weight:700;text-decoration:none;color:#6b7488}
.fm-next{font-size:14.5px;font-weight:800;text-decoration:none;color:#011a58}
.fm-metiers{padding:0 32px 56px}
.fm-metiers-compact{padding:60px 32px}
.fm-in{max-width:1080px;margin:0 auto}
.fm-h2{font-size:30px;line-height:1.2;letter-spacing:-.02em;color:#02185a;margin:10px 0}
.fm-intro{font-size:16px;line-height:1.65;color:#4a5568;margin:0 0 30px;max-width:640px}
.fm-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}
.fm-card{display:flex;flex-direction:column;padding:24px;border:1px solid #e6e9f0;border-radius:16px;background:#fff;text-decoration:none;color:inherit;transition:box-shadow .15s,border-color .15s}
.fm-card:hover,.fm-card-c:hover{border-color:#cfdcf2;box-shadow:0 18px 40px -24px rgba(1,26,88,.35)}
.fm-card .h{display:flex;gap:14px;align-items:center}
.fm-card h2{font-size:17px;font-weight:800;color:#02185a;margin:0;line-height:1.3}
.fm-card .s,.fm-card-c .s{display:block;font-size:13.5px;color:#6b7488;margin-top:3px}
.fm-card p{font-size:14px;line-height:1.6;color:#4a5568;margin:14px 0 0}
.fm-card .more{display:inline-flex;align-items:center;gap:7px;margin-top:14px;font-size:13.5px;font-weight:800;color:#011a58}
.fm-card .more svg,.fm-suite-lien svg,.fm-sel-more svg{width:11px;height:11px;color:#011a58}
.fm-grid-c{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.fm-card-c{display:flex;gap:14px;align-items:center;padding:20px;border:1px solid #e6e9f0;border-radius:14px;background:#fff;text-decoration:none;color:inherit;transition:box-shadow .15s,border-color .15s}
.fm-card-c .t{font-size:16px;font-weight:800;color:#02185a;line-height:1.3}
.fm-suite{margin:18px 0 0;font-size:14.5px;color:#4a5568;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.fm-suite-lien{font-weight:800;color:#011a58;text-decoration:none;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.fm-sel{margin-top:40px;border:1px solid #cfdcf2;background:#f7f9fd;border-radius:18px;padding:30px 32px}
.fm-sel h3{font-size:21px;color:#02185a;margin:0 0 6px}
.fm-sel-intro{font-size:14.5px;color:#4a5568;margin:0 0 18px}
.fm-sel-tabs{display:flex;flex-wrap:wrap;gap:8px}
.fm-sel-tabs button{height:38px;padding:0 15px;border-radius:999px;white-space:nowrap;border:1.5px solid #cfdcf2;background:#fff;color:#011a58;font:inherit;font-weight:700;font-size:13.5px;cursor:pointer}
.fm-sel-tabs button:hover{border-color:#011a58}
.fm-sel-tabs button[aria-selected="true"]{border-color:#011a58;background:#011a58;color:#fff}
.fm-sel-panel{margin-top:22px;background:#fff;border:1px solid #e6e9f0;border-radius:14px;padding:24px 26px}
.fm-sel-panel .fm-sur{font-size:12px;letter-spacing:.08em}
.fm-sel-panel h4{font-size:17px;font-weight:800;color:#02185a;margin:6px 0 14px}
.fm-sel-panel ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.fm-sel-panel li{display:flex;gap:12px;font-size:15px;line-height:1.55;color:#3d4759}
.fm-sel-panel li svg{flex:none;width:15px;height:15px;color:#fc4a16;margin-top:4px}
.fm-sel-more{display:inline-flex;align-items:center;gap:8px;margin-top:20px;font-size:14px;font-weight:800;color:#011a58;text-decoration:none}
@media (max-width:760px){
	.fm-hero,.fm-sec{padding-left:18px;padding-right:18px}
	.fm-band,.fm-band-dark,.fm-nav,.fm-metiers{padding-left:18px;padding-right:18px}
	.fm-metiers-compact{padding:44px 18px}
	.fm-grid,.fm-grid-c{grid-template-columns:1fr}
	.fm-h2{font-size:25px}
	.fm-sel{padding:22px 18px}
	.fm-sel-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -18px;padding:0 18px}
	.fm-sel-panel{padding:20px}
	.kp-in{padding:48px 18px 56px}
	.kc-sec{padding:44px 18px}
	.kc-msec{padding:10px 18px 44px}
	.kc-art{padding:36px 18px 32px}
	.kp-kids{padding:44px 18px 56px}
}

/* Cas d'usage : formulaire Gravity Forms aux couleurs de la maquette */
.kc-form .gform_wrapper{margin:0}
.kc-form .gform_heading{display:none}
.kc-form .gform_fields{row-gap:18px !important}
.kc-form .gfield_label,.kc-form legend.gfield_label{font-size:13px !important;font-weight:800 !important;color:#02185a !important;margin-bottom:6px !important}
.kc-form .gfield_required{color:#b42318}
.kc-form input[type=text],.kc-form input[type=email],.kc-form select,.kc-form textarea{font:inherit !important;font-size:15px !important;color:#02185a !important;border:1px solid #cfd7e6 !important;border-radius:10px !important;padding:11px 12px !important;background:#fff !important;width:100% !important;box-shadow:none !important}
.kc-form textarea{min-height:240px;line-height:1.55 !important}
.kc-form .kc-gf-court textarea{min-height:90px}
.kc-form input:focus,.kc-form select:focus,.kc-form textarea:focus{outline:2px solid #2572ca !important;outline-offset:1px;border-color:#2572ca !important}
.kc-form .gfield_description,.kc-form .gform_fileupload_rules{font-size:12.5px !important;color:#6b7488 !important;padding-top:6px !important}
.kc-form .gform_drop_area{display:flex;align-items:center;gap:12px;padding:14px !important;border:1.5px dashed #b9c3da !important;border-radius:12px !important;background:#fbfcfe !important;font-size:14px;color:#3d4759}
.kc-form .gfield--type-consent label{font-size:13.5px !important;line-height:1.5 !important;font-weight:500 !important;color:#3d4759 !important}
.kc-form .gfield--type-consent>.gfield_label{display:none}
.kc-form .kc-gf-radio .gfield_radio{display:flex;gap:18px;flex-wrap:wrap}
.kc-form .kc-gf-radio .gchoice label{font-size:14px !important;font-weight:600 !important;color:#3d4759 !important}
.kc-form .gform_footer{padding-top:6px !important;margin-top:6px !important}
.kc-form .gform_button{display:inline-flex !important;align-items:center;gap:10px;padding:15px 24px !important;border:0 !important;border-radius:999px !important;background:#fc4a16 !important;color:#fff !important;font:inherit !important;font-size:15.5px !important;font-weight:800 !important;cursor:pointer;line-height:1.2 !important}
.kc-form .gform_button:hover{background:#e23e0d !important}
.kc-form .validation_message,.kc-form .gform_validation_errors{font-size:12.5px;color:#b42318;font-weight:700}
.kc-form .kc-count{display:block;text-align:right;margin-top:6px}
.kc-form .kc-ok p{margin:0;font-size:15px;line-height:1.6}

/* Test d'éligibilité (fenêtre .kc-modal.kel) */
.kc-modal.kel h3{margin:0;font-size:26px;line-height:1.2;color:#02185a}
.kc-modal .close svg{width:16px;height:16px}
.kel-res .kn-cta,.kel-acts a{text-decoration:none}
.kel-res b svg{width:15px;height:15px;vertical-align:-2px;margin-right:4px}
html.kc-modal-ouvert{overflow:hidden}
.kj-tbl.has-fixed-layout{table-layout:auto}
.kj p.is-style-lien{margin:0 0 14px}
/* Listes : la remise à zéro de Tailwind (preflight) retire les puces et numéros */
.kj-toc ol,.ci-livr ol,.ci-way ol,.ci-ol,.kj ol.wp-block-list:not([class*="kj-"]):not([class*="kh-"]),.kj ol:not([class]){list-style:decimal}
.kj ul.wp-block-list:not([class*="kj-"]):not([class*="kh-"]),.kj ul:not([class]),.kj-src-list,.kj-src ul,.fm-vig ul,.kc-rules ul,.kia-stat ul{list-style:disc}
.kj-faq summary,.ci-q summary{display:list-item}
.kj-faq summary{list-style:disclosure-closed}.kj-faq details[open] summary{list-style:disclosure-open}
.ci-q summary{list-style:none}
/* Titres : graisse des maquettes (gras navigateur 700), le thème met h1 à 800 et h3/h4 à 600 */
.fm-hero h1,.kh-hero h1,.kj-hero h1,.kc h3,.kc h4,.kj h3,.kj h4,.fm-sec h3,.fm-sel h3,.fm-sel h4,.kh-final h3,.kp-kids h3,.kc-modal h3{font-weight:700}
.fm-card h2,.fm-card-c .t,.fm-sel-panel h4{font-weight:800}
/* Icônes en ligne : Tailwind (preflight) met les svg en display:block */
i>svg.lucide,.kn-cta>svg.lucide,.kn-btn>svg.lucide,.kp-ghost>svg.lucide,.kp-ghost2>svg.lucide,.kj-more>svg.lucide,.kc-case .more>svg.lucide,.ks-card .more>svg.lucide{display:inline-block;vertical-align:-.125em}
.kod-card .links a{display:inline-flex;align-items:center;gap:4px}
/* La maquette ne met pas .kc.kj en border-box : 900 px de contenu + 32 px de marge de chaque côté */
.kc.kj,.kj{box-sizing:content-box}
section.kp-hero+.kc.kj:not(.kmd){padding-top:28px}
.fm-hero.fm-w1080 h1{margin:12px 0 14px;max-width:760px}
.fm-hero.fm-w1080 .fm-lead{max-width:720px}
.kj-pair.kj-pair-inverse .warn{order:-1}
.kc.kc-msec,.kc.kci,.kc.kh{box-sizing:content-box}
.kc-form textarea{min-height:240px !important}
.kc-form .kc-gf-court textarea{min-height:90px !important}
.kc-form .kc-gf-radio .gchoice{flex:none}
.kc-form input[type=file]{font:inherit;font-size:14px;padding:12px;border:1.5px dashed #b9c3da;border-radius:12px;background:#fbfcfe;width:100%}
.kc-form .gfield_required:empty{display:none}
/* Liens du texte soulignés comme dans la maquette (Tailwind les remet à « inherit ») */
.kj p a:not([class]),.kj li a:not([class]),.kj td a:not([class]),.kj-faq a:not([class]),.ci-panel a:not([class]),.kc-art a:not([class]){text-decoration:underline}
.kj.kj-980{box-sizing:border-box}
.kj-toc a{text-decoration:none !important}.kj-toc a:hover{text-decoration:underline !important}
