/* Guides pratiques, lexique, ressources et espace client : compléments à site-campagnes-v4.css (même charte). */
.tun-fil{font-size:14px;color:#5a7099;margin:0 0 -30px}
.tun-fil a{color:#1B3F8F;font-weight:700;text-decoration:none}
.camp-hero-seul{grid-template-columns:minmax(0,800px)}
a.tun-lien{text-decoration:none;color:inherit;transition:transform .15s ease,box-shadow .15s ease}
a.tun-lien:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(14,29,58,.1)}
.tun-lire{margin-top:auto;font-weight:800;color:#1B3F8F;font-size:15px}
.res-source{font-size:13px;color:#5a7099}
.lex-lien{color:#1B3F8F;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px;font-weight:600}
.lex-def{font-size:20px;color:#0e1d3a}
.lex-texte{margin:0;font-size:17px;line-height:1.65;color:#33415c}
.lex-offre p{font-size:16.5px}
.camp-bande-claire .camp-cta{background:linear-gradient(145deg,#4A8FD4,#1B3F8F);color:#fff}
.lex-proches,.lex-themes{display:flex;flex-wrap:wrap;gap:8px}
.lex-chip{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:999px;border:1.5px solid rgba(27,63,143,.18);background:#fff;color:#1B3F8F;font:700 15px 'Public Sans',sans-serif;text-decoration:none;cursor:pointer}
.lex-chip.actif{background:#1B3F8F;color:#fff;border-color:#1B3F8F}
a.camp-pastille{text-decoration:none}
.lex-recherche{display:block;margin:6px 0 14px}
.lex-recherche input{width:100%;box-sizing:border-box;min-height:56px;padding:0 20px;border-radius:999px;border:1.5px solid rgba(27,63,143,.2);font:500 17px 'Public Sans',sans-serif;background:#fff;color:#0e1d3a}
.lex-lettres{display:flex;flex-wrap:wrap;gap:4px;margin-top:14px}
.lex-lettres a{min-width:36px;min-height:36px;display:grid;place-items:center;border-radius:10px;color:#1B3F8F;font-weight:800;text-decoration:none;background:rgba(74,143,212,.1)}
.lex-liste{display:grid;gap:26px}
.lex-groupe{scroll-margin-top:110px}
.lex-groupe h2{margin:0 0 10px;font-size:26px}
.lex-item{display:flex;flex-direction:column;gap:4px;padding:16px 20px;margin-bottom:8px;border-radius:20px;background:#fff;border:1px solid rgba(27,63,143,.12);color:inherit;text-decoration:none}
.lex-item b{color:#1B3F8F;font-size:17px}
.lex-item span{color:#33415c;font-size:15.5px;line-height:1.5}
.lex-item[hidden],.lex-groupe[hidden]{display:none}
.res-fiche summary{list-style:none;cursor:pointer;display:flex;flex-direction:column;gap:10px}
.res-fiche summary::-webkit-details-marker{display:none}
.res-fiche[open] .tun-lire{display:none}
.res-fiche .camp-etapes{margin-top:14px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:600px){a.tun-lien .tun-lire,a.tun-lien .res-source{grid-column:2}.tun-fil{margin-bottom:-22px}.lex-def{font-size:18px}.res-fiche summary{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:14px}.res-fiche summary .camp-ico{grid-row:1/3}.res-fiche summary .tun-lire{grid-column:2}}
/* v3 : couleur de thème par guide (--theme / --theme-clair) et illustrations. */
.tun-theme .camp-pastille{background:var(--theme-clair);color:var(--theme)}
.tun-theme .camp-cta{background:var(--theme);box-shadow:0 12px 26px color-mix(in srgb,var(--theme) 30%,transparent)}
.tun-theme .camp-num,.tun-theme .camp-qn{background:var(--theme)}
.tun-theme .camp-choix label:has(input:checked){border-color:var(--theme);background:var(--theme-clair)}
.tun-theme .camp-choix input{accent-color:var(--theme)}
.tun-theme .camp-ico{background:var(--theme-clair);color:var(--theme)}
.tun-theme .tun-fil a,.tun-theme .tun-lire,.tun-theme .camp-faq summary::after,.tun-theme .lex-lien{color:var(--theme)}
.tun-theme .camp-tarif{background:var(--theme-clair);color:var(--theme)}
.tun-theme .camp-btn2{color:var(--theme)}
a.tun-carte-theme{background:var(--theme-clair);border-color:transparent}
a.tun-carte-theme b{color:var(--theme)}
a.tun-carte-theme .camp-ico{background:#fff;color:var(--theme)}
a.tun-carte-theme .tun-lire{color:var(--theme)}
.tun-hero-illu{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:end}
.tun-hero-image{display:flex;justify-content:center;align-items:flex-end}
.tun-illu{display:block;width:auto;max-width:100%;height:clamp(260px,30vw,420px);object-fit:contain}
.tun-bande-illu{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.8fr);align-items:end;gap:10px;border-radius:34px;overflow:hidden;color:#fff;background:radial-gradient(ellipse 34% 130% at 78% 58%,#E3E9F7 0%,#E3E9F7 44%,rgba(227,233,247,.8) 57%,rgba(170,190,228,.45) 71%,rgba(80,105,160,.18) 86%,rgba(14,29,58,0) 100%),#0e1d3a}
.tun-bande-texte{padding:clamp(28px,4vw,44px);display:flex;flex-direction:column;gap:14px;max-width:560px;align-self:center}
.tun-bande-texte h2{color:#fff!important;margin:0!important}
.tun-bande-texte p{margin:0;color:#C9D6EE;font-size:17px;line-height:1.55}
.tun-bande-texte .camp-cta{background:var(--ambre,#F2A93B)!important;color:#2A1600!important;box-shadow:none}
.tun-bande-texte .camp-btn2{background:rgba(255,255,255,.12);color:#fff!important;border-color:rgba(255,255,255,.3)}
.tun-bande-image{display:flex;justify-content:center;align-items:flex-end}
.tun-illu-halo{display:block;width:auto;max-width:100%;height:clamp(240px,26vw,330px)}
@media(max-width:860px){.tun-hero-illu{grid-template-columns:1fr}.tun-illu{height:clamp(240px,62vw,340px)}
  .tun-bande-illu{grid-template-columns:1fr;background:radial-gradient(ellipse 100% 62% at 50% 86%,#E3E9F7 0%,#E3E9F7 52%,rgba(227,233,247,.8) 57%,rgba(170,190,228,.45) 71%,rgba(80,105,160,.18) 86%,rgba(14,29,58,0) 100%),#0e1d3a}
  .tun-bande-texte{max-width:none;padding-bottom:0}
  .tun-bande-texte .camp-btn2{background:#0e1d3a}
  .tun-bande-image{margin-top:24px}}
/* v4 : fiche mot du lexique en cartes (page /lexique/<mot> et modale sur /lexique), couleur et icône par thème (--lx, --lx-clair). */
.lex-page{gap:28px}
.lex-page .tun-fil{margin:0}
.lex-fiche{--lx:#1B3F8F;--lx-clair:#E9F0FC;background:#fff;border:1px solid rgba(27,63,143,.1);border-radius:32px;box-shadow:0 24px 60px rgba(14,29,58,.08);padding:clamp(22px,3.4vw,40px);display:flex;flex-direction:column;gap:22px}
.lex-tete{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap}
.lex-tete-texte{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0}
.lex-pastille{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border-radius:999px;background:var(--lx-clair);color:var(--lx);font-weight:800;font-size:14.5px;text-decoration:none}
.lex-fiche .lex-titre{margin:0;font-family:'Bricolage Grotesque',sans-serif;font-size:clamp(34px,5vw,54px);line-height:1.04;letter-spacing:-.02em;color:#0e1d3a;overflow-wrap:anywhere}
.lex-aussi{margin:0;color:#5a7099;font-size:15px}
.lex-outils{display:flex;gap:8px;flex-wrap:wrap}
.lex-outil{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:14px;border:1.5px solid rgba(14,29,58,.12);background:#fff;color:#0e1d3a;font:700 15px 'Public Sans',sans-serif;cursor:pointer}
.lex-outil:hover{border-color:var(--lx);color:var(--lx)}
.lex-outil[aria-pressed="true"]{background:var(--lx-clair);border-color:var(--lx);color:var(--lx)}
.lex-outil[aria-pressed="true"] svg{fill:currentColor}
.lex-haut{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:18px}
.lex-illu{margin:0;border-radius:24px;background:radial-gradient(circle at 85% 10%,rgba(255,255,255,.7) 0 70px,transparent 71px),linear-gradient(160deg,var(--lx-clair),#fff 120%);border:1px solid color-mix(in srgb,var(--lx) 18%,transparent);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:30px 18px;min-height:220px;text-align:center}
.lex-ico{width:112px;height:112px;border-radius:28px;background:#fff;display:grid;place-items:center;color:var(--lx);box-shadow:0 16px 34px color-mix(in srgb,var(--lx) 16%,transparent);transform:rotate(-4deg)}
.lex-illu figcaption{display:flex;flex-direction:column;gap:3px}
.lex-illu b{color:var(--lx);font-size:17px}
.lex-illu small{color:#5a7099;font-size:14px}
.lex-quelques{border-radius:24px;border:1px solid rgba(14,29,58,.1);padding:clamp(20px,3vw,32px);display:flex;flex-direction:column;justify-content:center;gap:12px}
.lex-sur{margin:0;display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--lx)}
.lex-sur::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--lx)}
.lex-fiche .lex-def{margin:0;font-size:clamp(19px,2vw,23px);line-height:1.5;font-weight:600;color:#0e1d3a}
.lex-duo{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.lex-duo-seul{grid-template-columns:1fr}
.lex-boite{border-radius:22px;padding:20px 24px;margin:0}
.lex-fiche .lex-boite h2{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-family:'Public Sans',sans-serif;font-size:17px;font-weight:800;letter-spacing:0}
.lex-boite p,.lex-boite li{margin:0;font-size:16.5px;line-height:1.6;color:#33415c}
.lex-boite ul{margin:0;padding-left:20px;display:grid;gap:6px}
.lex-exemple{background:#F1F6FD;border:1px solid #D6E3F6}
.lex-exemple h2 svg{color:#C88A00}
.lex-savoir{background:#FFF8E6;border:1px solid #F5E2B0}
.lex-savoir h2 svg{color:#D49A00}
.lex-fiche .lex-loin h2{margin:0 0 10px;font-family:'Public Sans',sans-serif;font-size:17px;font-weight:700;color:#0e1d3a;letter-spacing:0}
.lex-chip-mot::after{content:"→";margin-left:6px;font-weight:600;opacity:.7}
.lex-chip-guide{background:var(--lx-clair);border-color:transparent;color:var(--lx)}
.lex-chip-ext{color:#33415c;border-style:dashed}
.lex-suite{display:flex;justify-content:space-between;gap:12px;border-top:1px solid rgba(14,29,58,.08);margin:4px calc(-1 * clamp(22px,3.4vw,40px)) calc(-1 * clamp(22px,3.4vw,40px));padding:14px clamp(14px,2.6vw,30px);background:#FAFBFD;border-radius:0 0 32px 32px}
.lex-suite a{display:flex;flex-direction:column;gap:2px;padding:8px 12px;border-radius:14px;text-decoration:none;min-width:0}
.lex-suite a:hover{background:#fff}
.lex-suite span{font-weight:800;color:var(--lx);font-size:15.5px}
.lex-suite b{font-weight:600;color:#5a7099;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lex-suiv{text-align:right;align-items:flex-end}
/* Liste : icône du thème devant chaque mot. */
.lex-item{flex-direction:row;align-items:flex-start;gap:14px}
.lex-item .lex-item-ico{flex:none;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--lx-clair,#E9F0FC);color:var(--lx,#1B3F8F)}
.lex-item .lex-item-texte{display:flex;flex-direction:column;gap:4px;min-width:0;color:inherit;font-size:inherit}
.lex-item:hover{border-color:rgba(27,63,143,.3);box-shadow:0 10px 26px rgba(14,29,58,.07)}
.lex-chip-fav[hidden]{display:none}
/* Modale (page /lexique). */
.lex-dialog{width:min(980px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:32px;background:#fff;box-shadow:0 40px 100px rgba(14,29,58,.35);overflow:hidden}
.lex-dialog::backdrop{background:rgba(14,29,58,.5);backdrop-filter:blur(6px)}
.lex-dialog[open]{display:flex;flex-direction:column}
.lex-dialog-tete{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px 14px clamp(22px,3.4vw,40px);border-bottom:1px solid rgba(14,29,58,.08);flex:none}
.lex-dialog-tete p{margin:0;font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#33415c}
.lex-fermer{width:44px;height:44px;border-radius:50%;border:1px solid rgba(14,29,58,.12);background:#F4F7FB;color:#0e1d3a;font-size:22px;line-height:1;cursor:pointer}
.lex-dialog-corps{overflow:auto;flex:1;overscroll-behavior:contain}
.lex-dialog .lex-fiche{border:0;border-radius:0;box-shadow:none}
.lex-dialog .lex-suite{position:sticky;bottom:0;border-radius:0;z-index:2}
.lex-dialog-offre{margin:0;padding:0 clamp(22px,3.4vw,40px) 20px;color:#5a7099;font-size:15px}
.lex-dialog-offre a{color:#1B3F8F;font-weight:700}
html.lex-modale-ouverte{overflow:hidden}
@media(max-width:760px){.lex-haut,.lex-duo{grid-template-columns:1fr}.lex-illu{min-height:0;flex-direction:row;justify-content:flex-start;text-align:left;padding:18px}.lex-ico{width:72px;height:72px;border-radius:20px}.lex-ico svg{width:34px;height:34px}.lex-outils{width:100%}.lex-outil{flex:1 1 auto;justify-content:center;padding:0 12px;white-space:nowrap}.lex-dialog{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;border-radius:0}.lex-fiche{border-radius:24px}.lex-suite{border-radius:0 0 24px 24px}}
.lex-groupe{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:10px}
.lex-groupe h2{grid-column:1/-1;margin:0}
.lex-groupe .lex-item{margin:0}
.lex-item .lex-item-texte>span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
