/* NOMMERA — accueil v4 (parcours client). Portée .hv ; chargé uniquement si NOMMERA_FR_HOME_V4_ENABLED=1. */
/* NOMMERA — « Par où commencer ? » (prototype v2 : cartes historiques améliorées). Portée .hv */
.hv{--g:var(--green);--gi:var(--green-ink);--home-dark:#111;--home-panel:#1d1e20;--home-line:#2e3033;--home-muted:#60646c;--home-h2-feature:clamp(34px,3vw,46px);--home-h3:clamp(21px,1.6vw,27px);
  color:var(--ink);font-size:17px;line-height:1.6;overflow-x:clip}
.hv *{box-sizing:border-box}
:where(.hv) :is(h2,h3,p,ul){margin:0;padding:0}
:where(.hv) :is(h2,h3){font-weight:800;letter-spacing:-.03em;text-wrap:balance}
:where(.hv) a{color:inherit;text-decoration:none}
.hv :focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:8px}
.hv-wrap{max-width:1260px;margin:0 auto;padding:0 clamp(20px,3vw,32px)}
.hv-sec{padding:clamp(56px,7vw,100px) 0}
.hv-eyebrow{font-size:13px;font-weight:800;letter-spacing:.08em;color:var(--gi);margin-bottom:14px}
.hv h2{font-size:var(--home-h2-feature);line-height:1.08}
.hv-lede{font-size:clamp(17px,1.4vw,19px);line-height:1.6;color:#4a4f57;max-width:36em;margin-top:14px}
.hv-head{margin-bottom:clamp(24px,3vw,38px)}
.hv-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 24px;border-radius:99px;font-size:16px;font-weight:800;border:1.5px solid var(--ink);text-align:center;transition:background .18s,border-color .18s}
.hv-btn-dark{background:var(--ink);color:#fff}.hv-btn-dark:hover{background:var(--gi);border-color:var(--gi)}
.hv-btn-green{background:var(--g);border-color:var(--g);color:var(--ink)}.hv-btn-green:hover{background:#3de6b9;border-color:#3de6b9}

.pill{display:inline-flex;align-items:center;gap:6px;padding:5px 11px 5px 7px;border-radius:99px;font-style:normal;font-size:12px;font-weight:800;line-height:1;white-space:nowrap}
.pill::before{content:"";flex:none;width:14px;height:14px;border-radius:50%;display:grid;place-items:center;font-size:9px;font-weight:900;line-height:1;background:rgba(0,0,0,.16)}
.pill.p-ok{background:var(--g);color:#06251c}.pill.p-ok::before{content:"✓"}

/* ---------- cartes de situation ---------- */
.hv-sit{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.hv-card{position:relative;display:flex;flex-direction:column;border-radius:28px;border:1.5px solid var(--ink);padding:0 24px 26px;overflow:hidden;isolation:isolate;transition:transform .25s ease,box-shadow .25s ease}
.hv-card:hover{transform:translateY(-4px);box-shadow:0 22px 34px -24px rgba(17,17,17,.55)}
.hv-card.c1{--bg:#e4e8fd;--tint:#c9d1fb;--ac:#94a5f7}
.hv-card.c2{--bg:#d6f4fa;--tint:#aeeaf5;--ac:#00dbff}
.hv-card.c3{--bg:#dcf5e9;--tint:#b4ead2;--ac:#02d098}
.hv-card.c4{--bg:#f3ead9;--tint:#e6d6b6;--ac:#e0a458}
.hv-card{background:var(--bg)}
/* zone illustrée : forme douce + points + pastille d'état, derrière le dessin au trait */
.hv-ill{position:relative;height:190px;margin:0 -24px 16px;overflow:hidden;display:flex;align-items:flex-end;justify-content:center;padding-top:20px}
.hv-ill svg{position:relative;z-index:2;height:100%;width:auto;max-width:86%;max-height:170px;margin-bottom:0}
.hv-ill .blob{position:absolute;z-index:1;left:50%;bottom:-96px;width:240px;height:240px;margin-left:-120px;border-radius:50%;background:var(--tint)}
.hv-ill .chip{position:absolute;z-index:3;display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border-radius:99px;background:#fff;border:1.5px solid var(--ink);font-size:12px;font-weight:800;line-height:1;white-space:nowrap}
.hv-ill .chip i{width:8px;height:8px;border-radius:50%;background:var(--ac);border:1.5px solid var(--ink);display:block}
.hv-ill .chip.a{left:16px;bottom:20px}.hv-ill .chip.b{right:14px;bottom:44px}
.hv-card.c3 .blob{border-radius:34px;transform:rotate(-8deg);width:220px;height:190px;margin-left:-110px;bottom:-56px}
.hv-card.c1 .chip i{background:var(--g)}
.hv-num{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;letter-spacing:.1em;color:#33373d;margin-bottom:8px}
.hv-num::after{content:"";width:28px;height:2px;background:var(--ink);opacity:.5}
.hv-card h3{font-size:clamp(19px,1.45vw,23px);line-height:1.15;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px;margin-bottom:10px}
.hv-card p{font-size:15.5px;line-height:1.5;color:#40444b;margin-bottom:20px}
.hv-card .hv-btn{margin-top:auto;width:100%;font-size:15px;padding:12px 16px}
.hv-sub{display:block;margin-top:12px;font-size:14px;font-weight:700;text-align:center;color:#2b3036;text-decoration:underline!important;text-underline-offset:4px;min-height:24px}
.hv-card.c2 .hv-btn{margin-top:auto}
.hv-card>.hv-btn+.hv-sub{margin-bottom:-6px}
@media (max-width:1179px){.hv-sit{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:719px){
  .hv-sit{grid-template-columns:1fr;gap:16px}
  .hv-card{padding:0 22px 24px}
  .hv-ill{height:168px;margin:0 -22px 14px}.hv-ill svg{max-height:150px}
  .hv-card .hv-btn{font-size:16px}
  }
@media (prefers-reduced-motion:reduce){.hv *{transition-duration:.01ms!important}}

/* NOMMERA — accueil (prototype v3) : hero « un livre, de la préparation au suivi », deux publics, situations, résultats, confiance. Portée .hv */
.hv{--lav:#94a5f7;--lav-soft:#e4e8fd;--muted:#4a4f57}
.hv-sec{padding:clamp(48px,6vw,88px) 0}
.hv-sec.tight{padding-top:0}
.hv-btn-ghost{background:transparent;color:var(--ink)}.hv-btn-ghost:hover{background:var(--ink);color:#fff}
.hv-btn-light{background:#fff;border-color:#fff;color:var(--ink)}.hv-btn-light:hover{background:var(--g);border-color:var(--g)}
.hv-link{display:inline-flex;align-items:center;gap:6px;font-weight:800;font-size:16px;color:var(--ink);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px;min-height:44px}
.hv-link:hover{color:var(--gi)}
.hv h2{font-size:var(--home-h2-feature);line-height:1.08}
.pill{display:inline-flex;align-items:center;gap:6px;padding:5px 11px 5px 7px;border-radius:99px;font-style:normal;font-size:12px;font-weight:800;line-height:1;white-space:nowrap}
.pill::before{content:"";flex:none;width:14px;height:14px;border-radius:50%;display:grid;place-items:center;font-size:9px;font-weight:900;line-height:1;background:rgba(0,0,0,.16)}
.pill.p-ok{background:var(--g);color:#06251c}.pill.p-ok::before{content:"✓"}
.pill.p-pend{background:#2d2f33;color:#d3d5da}.pill.p-pend::before{content:"";background:none;border:1.5px solid currentColor}

/* ---------- HERO ---------- */
.hv-hero{padding:clamp(28px,3.4vw,48px) 0 clamp(44px,5vw,72px)}
.hv-hero-grid{display:grid;grid-template-columns:46fr 54fr;gap:clamp(28px,3.6vw,56px);align-items:center}
.hv-hero-text{max-width:560px}
.hv-hero h1{font-size:clamp(40px,3.9vw,56px);line-height:1.03;letter-spacing:-.035em;margin-bottom:22px;font-weight:800}
.hv-hero h1 u{text-decoration:none;background-image:linear-gradient(transparent 64%,var(--lav) 64%)}
.hv-hero .hv-lede{margin:0 0 28px}
.hv-ctas{display:flex;flex-wrap:wrap;gap:12px}
.hv-ctas .hv-btn{flex:1 1 auto}
.hv-start{margin-top:14px}

/* visuel : un livre, de la préparation au suivi */
.st{background:#111;color:#fff;border-radius:30px;padding:clamp(18px,2vw,26px);display:grid;gap:16px;box-shadow:0 36px 64px -40px rgba(17,17,17,.6);min-width:0;font-size:15px;line-height:1.3}
.st-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.st-tag{font-size:11.5px;font-weight:800;letter-spacing:.09em;padding:7px 12px;border-radius:99px;border:1px solid #4a4f57;color:#d9dbe0}
.st-mid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr);gap:14px;align-items:center}
.st-book{position:relative;border-radius:10px 18px 18px 10px;background:linear-gradient(155deg,#a6b4fa,#7d8ee8);color:#111;overflow:hidden;display:flex;align-self:center;width:100%;aspect-ratio:.68;min-height:min-content}
.st-spine{flex:none;width:13%;background:rgba(17,17,17,.3)}
.st-bk{padding:16px 11px 14px;display:flex;flex-direction:column;gap:8px;min-width:0;width:100%}
.st-bk small{font-size:10.5px;font-weight:800;letter-spacing:.1em}
.st-bk strong{font-size:clamp(17px,1.5vw,22px);line-height:1.05;letter-spacing:-.03em}
.st-pg{display:grid;gap:7px;margin:10px 0 auto}.st-pg i{display:block;height:6px;border-radius:6px;background:rgba(17,17,17,.2)}.st-pg i:nth-child(2){width:86%}.st-pg i:nth-child(3){width:64%}.st-pg i:nth-child(4){width:78%}
.st-bk em{font-style:normal;font-size:12px;font-weight:800;padding-top:8px;border-top:1px solid rgba(17,17,17,.25)}
.st-rows{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.st-row{display:grid;grid-template-columns:20px minmax(0,1fr);gap:12px;align-items:center;background:#1d1e20;border:1px solid #2e3033;border-radius:14px;padding:11px 14px;transition:border-color .4s}
.st-ind{width:20px;height:20px;border-radius:50%;border:1.5px solid #6b6f77;display:grid;place-items:center;font-size:11px;font-weight:900;color:transparent;transition:background .4s,border-color .4s,color .4s;background:transparent}
.st-row .dn{opacity:1}.st-row .pe{opacity:0}
.st-row .st-ind{background:var(--g);border-color:var(--g);color:#06251c}
.st-rh{display:flex;justify-content:space-between;align-items:center;gap:10px}
.st-rh b{font-size:15.5px;letter-spacing:-.01em}
.st-sub{display:block;margin-top:5px;font-size:13px;color:#aeb2b9}
.st-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.st-chips i{font-style:normal;font-size:12px;font-weight:700;padding:4px 9px;border-radius:99px;background:#2a2c30;color:#d9dbe0}
.sw2{display:inline-grid}.sw2>*{grid-area:1/1;justify-self:end;transition:opacity .4s}
.st-final{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #2e3033;padding-top:14px;font-size:12px;font-weight:800;letter-spacing:.08em;color:#b9bcc2}
.st-final .sw2>*{justify-self:start}
.st-final .dn{color:var(--g)}.st-final .pe{opacity:0}
.st-prog{display:flex;gap:6px}.st-prog i{width:26px;height:4px;border-radius:4px;background:var(--g)}
/* mode animé : état initial puis passage ligne par ligne */
.st.anim .st-row .dn{opacity:0}.st.anim .st-row .pe{opacity:1}
.st.anim .st-row .st-ind{background:transparent;border-color:#6b6f77;color:transparent}
.st.anim .st-row.on .dn{opacity:1}.st.anim .st-row.on .pe{opacity:0}
.st.anim .st-row.on .st-ind{background:var(--g);border-color:var(--g);color:#06251c}
.st.anim .st-row.on{border-color:#3a5a4e}
.st.anim .st-final .dn{opacity:0}.st.anim .st-final .pe{opacity:1}
.st.anim.fin .st-final .dn{opacity:1}.st.anim.fin .st-final .pe{opacity:0}
.st.anim .st-prog i{background:#3a3d42;transition:background .4s}
.st.anim .st-prog i.on{background:var(--g)}
.st-bk em .dn{display:none}
.st.anim .st-bk .pe{display:inline}.st.anim.fin .st-bk .pe{display:none}.st.anim.fin .st-bk .dn{display:inline}

/* ---------- DEUX PUBLICS ---------- */
.hv-head{margin-bottom:clamp(24px,3vw,38px)}
.hv-aud{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:stretch}
.hv-pan{position:relative;display:flex;flex-direction:column;border-radius:28px;border:1.5px solid var(--ink);padding:clamp(24px,2.6vw,36px);overflow:hidden;isolation:isolate}
.hv-pan.b2b{background:#111;color:#fff;--tint:#26283a;border-color:#111}
.hv-pan.b2c{background:#fff;--tint:#dcf5e9}
.hv-pan .hv-eyebrow{margin-bottom:12px}
.hv-pan.b2b .hv-eyebrow{color:var(--g)}
.hv-pan h3{font-size:clamp(23px,2vw,30px);line-height:1.12;margin-bottom:20px;max-width:15em}
.hv-pan ul.hv-ck{list-style:none;display:grid;gap:11px;margin-bottom:26px}
.hv-ck li{display:flex;gap:11px;align-items:flex-start;font-size:16px;line-height:1.4;color:#d9dbe0}
.hv-ck li::before{content:"✓";flex:none;width:22px;height:22px;border-radius:50%;background:var(--g);color:#06251c;font-size:12px;font-weight:900;display:grid;place-items:center;margin-top:1px}
.hv-lanes{display:grid;gap:12px;margin-bottom:18px}
.hv-lane{background:var(--cream);border:1.5px solid var(--ink);border-radius:18px;padding:16px 18px}
.hv-lane h4{margin:0 0 4px;font-size:17px;font-weight:800;letter-spacing:-.01em}
.hv-lane p{margin:0 0 10px;font-size:14.5px;line-height:1.45;color:var(--muted)}
.hv-chips{display:flex;flex-wrap:wrap;gap:8px}
.hv-chip{display:inline-flex;align-items:center;min-height:36px;padding:6px 14px;border-radius:99px;border:1.5px solid var(--ink);background:#fff;font-size:14px;font-weight:800;transition:background .18s,color .18s}
.hv-chip:hover{background:var(--ink);color:#fff}
.hv-note{font-size:13.5px;color:var(--muted);margin-bottom:22px}
.hv-pan .hv-btn{margin-top:auto;align-self:flex-start}

/* ---------- SITUATIONS ---------- */
.hv-orient{margin-top:clamp(22px,2.6vw,32px);display:flex;justify-content:center}
.hv-sit{grid-template-columns:repeat(4,minmax(0,1fr))}
.hv-card .hv-btn{margin-top:auto}
.hv-card p.hv-d{margin-bottom:22px}

/* ---------- RÉSULTATS + CONFIANCE ---------- */
.hv-out{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:clamp(28px,3.4vw,44px)}
.hv-o{position:relative;border-top:2px solid var(--ink);padding-top:18px}
.hv-o b.n{display:block;font-size:13px;font-weight:800;letter-spacing:.1em;color:var(--gi);margin-bottom:8px}
.hv-o h3{font-size:clamp(23px,2vw,30px);margin-bottom:8px}
.hv-o p{font-size:16.5px;color:var(--muted);max-width:22em}
.hv-trust{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) auto;gap:24px 40px;align-items:center;background:#111;color:#fff;border-radius:28px;padding:clamp(24px,2.8vw,40px)}
.hv-trust h3{font-size:clamp(22px,1.9vw,28px);line-height:1.15}
.hv-trust ul{list-style:none;display:grid;gap:10px}
.hv-trust li{display:flex;gap:11px;align-items:flex-start;font-size:16px;color:#e4e6ea}
.hv-trust li::before{content:"✓";flex:none;width:22px;height:22px;border-radius:50%;background:var(--g);color:#06251c;font-size:12px;font-weight:900;display:grid;place-items:center;margin-top:1px}
.hv-trust small{grid-column:1/-1;font-size:13.5px;color:#aeb2b9;border-top:1px solid #2e3033;padding-top:16px}

/* ---------- RESSOURCES ---------- */
.hv-res{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.hv-r{display:flex;flex-direction:column;gap:8px;background:#fff;border:1.5px solid var(--ink);border-radius:22px;padding:24px;transition:transform .25s,box-shadow .25s}
.hv-r:hover{transform:translateY(-4px);box-shadow:0 22px 34px -24px rgba(17,17,17,.55)}
.hv-r small{font-size:12px;font-weight:800;letter-spacing:.09em;color:var(--gi)}
.hv-r h3{font-size:clamp(19px,1.5vw,22px);line-height:1.2}
.hv-r p{font-size:15.5px;color:var(--muted);line-height:1.5}
.hv-r span.go{margin-top:auto;padding-top:8px;font-weight:800;font-size:15px;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}

/* ---------- CTA FINAL ---------- */

@media (max-width:1179px){.hv-sit{grid-template-columns:repeat(2,minmax(0,1fr))}.hv-trust{grid-template-columns:1fr}.hv-trust .hv-btn{justify-self:start}}
@media (max-width:959px){.hv-hero-grid{grid-template-columns:1fr}.hv-hero-text{max-width:640px}.hv-aud{grid-template-columns:1fr}.hv-out{grid-template-columns:1fr;gap:26px}.hv-res{grid-template-columns:1fr}}
@media (max-width:719px){
  .hv-sit{grid-template-columns:1fr}
  .hv-ctas .hv-btn{width:100%}
  .st-mid{grid-template-columns:1fr}.st-book{display:none}
  .st-rh b{font-size:15px}
  .hv-pan{padding:24px 20px}
}
@media (prefers-reduced-motion:reduce){.hv *{transition-duration:.01ms!important}}

.hv-spines{display:flex;align-items:flex-end;gap:7px;height:96px;margin:auto 0 26px;border-bottom:2px solid #3a3d42;padding:0 4px}
.hv-spines i{display:block;width:clamp(16px,2vw,26px);border-radius:5px 5px 0 0;background:var(--lav)}
.hv-spines i:nth-child(1){height:70%}.hv-spines i:nth-child(2){height:90%;background:var(--g)}.hv-spines i:nth-child(3){height:60%;background:#fff}
.hv-spines i:nth-child(4){height:82%;background:#00dbff}.hv-spines i:nth-child(5){height:100%}.hv-spines i:nth-child(6){height:66%;background:var(--g)}
.hv-spines i:nth-child(7){height:88%;background:#fff}.hv-spines i:nth-child(8){height:74%;background:#00dbff}.hv-spines i:nth-child(9){height:54%}
@media (max-width:959px){.hv-spines{margin-top:6px}}

/* balayage de la fiche du livre (hero) : une passe quand une étape passe au vert */
.st-scan{position:absolute;left:0;right:0;top:-34%;height:34%;background:linear-gradient(180deg,transparent,rgba(255,255,255,.6),transparent);opacity:0;pointer-events:none}
.st-book.scan .st-scan{animation:stscan 1.1s ease-in-out}
@keyframes stscan{0%{top:-34%;opacity:0}15%{opacity:1}85%{opacity:1}100%{top:100%;opacity:0}}

/* ---------- CTA FINAL : texte + dialogue ---------- */
.hv-final{position:relative;overflow:hidden;background:var(--lav-soft);border-radius:32px;padding:clamp(32px,4.4vw,64px);display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(24px,4vw,56px);align-items:center}
.hv-final-text{display:grid;gap:14px;justify-items:start}
.hv-final h2{max-width:14em}
.hv-final .hv-lede{margin:0 0 10px}
.hv-chat{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-content:center}
.hv-chat>*{grid-column:1}.hv-chat>:nth-child(1){grid-row:1}.hv-chat>:nth-child(2),.hv-chat>:nth-child(3){grid-row:2}.hv-chat>:nth-child(4){grid-row:3}.hv-chat>:nth-child(5),.hv-chat>:nth-child(6){grid-row:4}
.hv-chat .m{margin:0;max-width:86%;padding:14px 18px;border-radius:20px;font-size:16px;line-height:1.4;font-weight:600;transition:opacity .45s ease,transform .45s ease}
.hv-chat .me{justify-self:end;background:#fff;color:var(--ink);border-bottom-right-radius:6px;box-shadow:0 10px 20px -16px rgba(17,17,17,.5)}
.hv-chat .we{justify-self:start;background:#111;color:#fff;border-bottom-left-radius:6px}
.hv-chat .ty{display:none;justify-self:start;align-self:start;margin:0;gap:5px;padding:16px 18px;border-radius:20px;border-bottom-left-radius:6px;background:#111}
.hv-chat .ty i{width:7px;height:7px;border-radius:50%;background:#9aa0a8;animation:hvty 1s infinite ease-in-out}
.hv-chat .ty i:nth-child(2){animation-delay:.15s}.hv-chat .ty i:nth-child(3){animation-delay:.3s}
@keyframes hvty{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-4px);opacity:1}}
.hv-chat.anim .m{opacity:0;transform:translateY(14px)}
.hv-chat.anim .m.on{opacity:1;transform:none}
.hv-chat.anim .ty.on{display:inline-flex}
@media (max-width:959px){.hv-final{grid-template-columns:1fr}.hv-chat .m{max-width:94%}}
