/* Polices hébergées sur bpiz.fr (plus de requête vers Google : affichage plus rapide, aucune adresse IP envoyée à un tiers). Licence SIL OFL 1.1. */
@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-weight:200 800;font-display:swap;src:url(/assets/fonts/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/instrument-sans-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root {
  --navy: #1f3a5f;
  --navy-deep: #132b49;
  --orange: #f6a21e;
  --orange-deep: #d78300;
  --orange-soft: #fff0d8;
  --blue-soft: #eaf0f7;
  --paper: #fbfbf8;
  --white: #ffffff;
  --ink: #171717;
  --muted: #414952;
  --line: #e3e4e6;
  --shadow: 0 20px 50px rgba(20, 43, 73, 0.1);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.025rem/1.68 "Instrument Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.internal { background: #f7f8f8; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, .button { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: #fff; padding: .75rem 1rem; border-radius: .6rem; }
.skip-link:focus { top: 1rem; }
.container { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.container.narrow { width: min(920px, calc(100% - 2rem)); }
.display, h1, h2, h3, .button, .eyebrow, .metric strong, .score { font-family: "Bricolage Grotesque", Arial, sans-serif; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.5rem, 6.6vw, 5.2rem); line-height: .98; letter-spacing: -.045em; }
h2 { color: var(--navy); font-size: clamp(2rem, 4.3vw, 3.25rem); line-height: 1.03; letter-spacing: -.035em; }
h3 { font-size: 1.25rem; line-height: 1.2; }
.muted { color: var(--muted); }
.orange { color: var(--orange); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; color: var(--navy); background: var(--blue-soft); border-radius: 999px; padding: .45rem .8rem; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow.on-dark { color: var(--orange); background: rgba(246, 162, 30, .14); border: 1px solid rgba(246, 162, 30, .45); }
.eyebrow-dot { width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }

.site-header { position: sticky; top: 0; z-index: 50; color: #fff; background: rgba(31, 58, 95, .97); border-bottom: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px); }
.nav { min-height: 66px; display: flex; align-items: center; gap: 1.5rem; }
.logo { display: flex; align-items: center; flex: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; color: #fff; }
.logo .orange { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 1.35rem; margin-left: auto; font-size: .95rem; }
.nav-links a:not(.button):hover, .nav-links a:not(.button):focus-visible { color: var(--orange); }
.nav-links .disabled-link { color: rgba(255,255,255,.45); cursor: not-allowed; }
.menu-button { display: none; margin-left: auto; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; padding: .55rem .75rem; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.15rem; border: 0; border-radius: 14px; cursor: pointer; font-weight: 800; font-size: 1rem; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(246,162,30,.55); outline-offset: 3px; }
.button.primary { color: #171717; background: var(--orange); box-shadow: 0 6px 0 var(--orange-deep); }
.button.primary:hover { box-shadow: 0 4px 0 var(--orange-deep); transform: translateY(2px); }
.button.navy { color: #fff; background: var(--navy); box-shadow: 0 6px 0 var(--navy-deep); }
.button.ghost { color: inherit; background: transparent; border: 2px solid rgba(255,255,255,.35); }
.button.outline { color: var(--navy); background: #fff; border: 1.5px solid var(--line); }
.button.small { min-height: 38px; padding: .48rem .85rem; font-size: .9rem; border-radius: 11px; }

.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); padding: clamp(3.5rem, 8vw, 7rem) 0 5rem; }
.hero::before { content: ""; position: absolute; width: 42rem; height: 42rem; right: -15rem; top: -22rem; border-radius: 50%; background: radial-gradient(circle, rgba(246,162,30,.28), rgba(246,162,30,0) 67%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { max-width: 760px; margin: 1.4rem 0; }
.hero-copy { max-width: 650px; color: rgba(255,255,255,.8); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-note { margin: 1.25rem 0 0; max-width: 620px; color: rgba(255,255,255,.62); font-size: .93rem; }
.book-wrap { position: relative; display: grid; place-items: center; min-height: 545px; }
.book-wrap::before { content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; background: rgba(246,162,30,.12); border: 1px dashed rgba(246,162,30,.4); }
.book { position: relative; z-index: 1; width: min(100%, 340px); filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); animation: float 7s ease-in-out infinite; }
.book-price { position: absolute; z-index: 2; left: 0; bottom: 8%; color: #171717; background: var(--orange); border-radius: 12px; padding: .65rem 1rem; font-weight: 800; transform: rotate(-3deg); }
@keyframes float { 50% { transform: translateY(-12px); } }
.metrics { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-top: 3.5rem; }
.metric { padding: 1.2rem 1.3rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; }
.metric strong { display: block; color: var(--orange); font-size: 2rem; line-height: 1; }
.metric span { color: rgba(255,255,255,.76); font-size: .9rem; }
.hero-offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; margin-top: 1.3rem; }
/* Les deux cartes partagent les mêmes lignes (titre, prix, visuel, encarts, texte, bouton) : tout est aligné d'une carte à l'autre. */
@supports (grid-template-rows: subgrid) {
  .hero-offers { row-gap: 0; }
  .hero-offers .offer-card { display: grid; grid-template-rows: subgrid; grid-row: span 7; row-gap: 0; min-height: 0; }
}
.hero .offer-card { color: var(--ink); }
.hero .offer-card h3 { color: var(--navy); }
.hero .offer-card > p { color: var(--muted); }
.hero-offer-visual { display: flex; align-items: center; gap: 1.4rem; height: 186px; box-sizing: border-box; padding: 1rem 1.3rem; margin: .9rem 0 .8rem; background: #f3f6fa; border: 1px solid var(--line); border-radius: 14px; }
.hero-offer-bars { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .75rem; }
.hero-bar-label { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .25rem; color: var(--navy); font-size: .74rem; font-weight: 700; line-height: 1.1; }
.hero-bar-label b { font-weight: 800; }
.hero-offer-bars .progress { height: 8px; }
.hero-mini-book { flex: none; height: 100%; width: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.25)); }
.hero-offer-stats { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .7rem; }
.hero-offer-stats > div { display: flex; align-items: baseline; gap: .6rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.hero-offer-stats > div:last-child { padding-bottom: 0; border-bottom: 0; }
.hero-offer-stats strong { flex: none; min-width: 2.2ch; color: var(--navy); font: 800 1.7rem/1 "Bricolage Grotesque", Arial, sans-serif; }
.hero-offer-stats span { color: var(--muted); font-size: .88rem; font-weight: 600; line-height: 1.25; }
.hero-offer-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1.1rem; }
.hero-offer-highlights .highlight-box { display: flex; flex-direction: column; }
.highlight-box { border-radius: 10px; padding: .55rem .7rem; }
.highlight-box p { margin: 0; font-size: .78rem; line-height: 1.3; color: var(--ink); }
.highlight-label { display: block; font-weight: 800; font-size: .65rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .25rem; }
.highlight-box.good { background: rgba(102,193,158,.15); border: 1px solid rgba(102,193,158,.4); }
.highlight-box.good .highlight-label { color: #2f9d72; }
.highlight-box.bad { background: rgba(233,131,131,.15); border: 1px solid rgba(233,131,131,.4); }
.highlight-box.bad .highlight-label { color: #c94b4b; }
.highlight-box.neutral { background: rgba(31,58,95,.06); border: 1px solid rgba(31,58,95,.2); }
.highlight-box.neutral .highlight-label { color: var(--navy); }
.hero .offer-card .score-ring { width: 96px; height: 96px; flex-shrink: 0; }
.hero .offer-card .score-inner { width: 74px; height: 74px; }
.hero .offer-card .score-inner .score { font-size: 1.6rem; }
.hero .offer-card .score-inner { color: #fff; }
.hero .offer-card .score-inner small { font-size: .7rem; color: rgba(255,255,255,.75); }
.hero-offer-cta { width: 100%; text-align: center; margin-top: auto; align-self: end; }
.hero .offer-card > p { margin: 0 0 1.2rem; }

/* ---- Avant / Après ---- */
.ba-grid { position: relative; gap: 1.6rem; }
.card.ba-card { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 1.7rem; overflow: hidden; }
.ba-card h3 { display: flex; align-items: center; gap: .7rem; margin: 0; font-size: 1.35rem; }
.ba-mark { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; }
.ba-mark svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ba-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.ba-list li { display: flex; align-items: center; gap: .7rem; line-height: 1.3; }
.ba-list li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 15px; }
.ba-result { display: inline-flex; align-items: center; gap: .7rem; align-self: flex-start; margin-top: auto; padding: .55rem 1rem; border-radius: 999px; font-family: "Bricolage Grotesque", Arial, sans-serif; font-size: 1rem; }

.card.ba-before { background: #fbf6ec; border: 2px dashed rgba(215,131,0,.5); }
.ba-before .ba-mark { color: #8a5200; background: #ffe2b0; }
.ba-before .ba-list li { color: #5b5346; font-style: italic; }
.ba-before .ba-list li::before { background-color: #ffe2b0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a5200' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M9.5 9a2.5 2.5 0 1 1 3.6 2.2c-.7.4-1.1.9-1.1 1.8M12 17h.01'/%3E%3C/svg%3E"); }
.ba-before .ba-result { color: #8f2f2f; background: rgba(233,131,131,.2); }

.card.ba-after { background: linear-gradient(160deg, #e3f5ec 0%, #eaf0f7 100%); border: 2px solid #66c19e; box-shadow: 0 18px 40px rgba(47,157,114,.16); }
.ba-after .ba-mark { color: #fff; background: #2f9d72; }
.ba-after .ba-list li { color: var(--ink); font-weight: 600; }
.ba-after .ba-list li::before { background-color: #2f9d72; background-image: 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.ba-after .ba-result { color: var(--navy); background: #fff; border: 1.5px solid #66c19e; padding: .4rem 1rem .4rem .45rem; }
.ba-ring { --score: 73; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--orange) calc(var(--score)*1%), #dce2e8 0); }
.ba-ring::before { content: "73"; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: #fff; font: 800 .68rem/1 "Bricolage Grotesque", Arial, sans-serif; }

.ba-arrow { position: absolute; z-index: 2; top: 50%; left: 50%; width: 46px; height: 46px; display: grid; place-items: center; transform: translate(-50%, -50%); border-radius: 50%; color: var(--navy-deep); background: var(--orange); border: 4px solid #fff; box-shadow: 0 8px 18px rgba(19,43,73,.2); }
.ba-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Confidentialité : trois cartes colorées ---- */
.card.privacy-card { position: relative; display: flex; flex-direction: column; gap: .7rem; padding: 1.6rem; }
.privacy-card h3, .privacy-card p { margin: 0; }
.p-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: .5rem; border-radius: 16px; box-shadow: 0 8px 16px rgba(19,43,73,.14); }
.p-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.privacy-card.tone-orange { background: #fff1d8; }
.privacy-card.tone-orange .p-icon { color: var(--navy-deep); background: var(--orange); }
.privacy-card.tone-green { background: #e3f5ec; }
.privacy-card.tone-green .p-icon { color: #fff; background: #2f9d72; }
.privacy-card.tone-blue { background: #e4ecf7; }
.privacy-card.tone-blue .p-icon { color: #fff; background: var(--navy); }

@media (max-width: 680px) {
  .ba-grid { gap: 1rem; }
  .ba-arrow { display: none; }
}

.section { padding: clamp(2.75rem, 5.5vw, 4.5rem) 0; } /* 14/10/2026 : etait clamp(4rem, 8vw, 7rem), vides de 240 px entre blocs */
.section.white { background: #fff; }
.section.navy { color: #fff; background: var(--navy); }
.section.navy h2 { color: #fff; }
.section.orange-band { color: #171717; background: var(--orange); text-align: center; }
.section-head { max-width: 760px; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section.navy .section-head p { color: rgba(255,255,255,.72); }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 6rem); }
.accent-line { width: 72px; height: 6px; border-radius: 999px; background: var(--orange); }
.lead { font-size: 1.1rem; color: var(--muted); }
.highlight { background: var(--orange-soft); border-radius: 18px; padding: 1.3rem 1.4rem; }
.grid { display: grid; gap: 1rem; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.45rem; }
.card.hover { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card.hover:hover { transform: translateY(-5px); border-color: var(--orange); box-shadow: var(--shadow); }
.level-card { display: flex; flex-direction: column; }
.module-list { display: grid; gap: .75rem; margin-top: 1.25rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.module-row { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.number { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--navy); background: var(--orange-soft); font-weight: 800; }
.step-card strong { display: block; color: var(--orange); font: 800 3.4rem/.9 "Bricolage Grotesque", Arial, sans-serif; }
.step-card h3 { margin: 1rem 0 .55rem; }
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 0 1.25rem; }
.faq summary { cursor: pointer; color: var(--navy); font: 700 1.08rem/1.3 "Bricolage Grotesque", Arial, sans-serif; padding: 1.15rem 2.2rem 1.15rem 0; }
.faq details p { color: var(--muted); padding-bottom: 1.15rem; }
.privacy-card { background: var(--blue-soft); border: 0; }
.report-quote { color: rgba(255,255,255,.82); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.offer-card { display: flex; flex-direction: column; min-height: 300px; }
.offer-card.featured { border: 3px solid var(--orange); padding: calc(1.45rem - 1.5px); }
.offer-price { color: var(--navy); font: 800 2.15rem/1 "Bricolage Grotesque", Arial, sans-serif; margin: .5rem 0 .9rem; }
.offer-price small { display: block; margin-top: .45rem; color: var(--muted); font: 600 .8rem/1.4 "Instrument Sans", Arial, sans-serif; }
.offer-card .offer-more { margin-top: auto; color: var(--orange-deep); font-weight: 800; }

.page-hero { color: #fff; background: var(--navy); padding: 3rem 0 3.4rem; }
.page-hero h1 { margin: 1.1rem 0 .8rem; font-size: clamp(2.4rem, 5vw, 4.5rem); }
.page-hero p { max-width: 650px; color: rgba(255,255,255,.76); font-size: 1.08rem; }
/* Badge credits restants, peint par Bpiz.paintCredits() dans le page-hero des pages module/checkpoint/rapport */
.credits-badge { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: .82rem; font-weight: 700; }
.main { padding: 2.5rem 0 5rem; }
.notice { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 16px; background: var(--blue-soft); color: var(--navy); }
.notice.orange-bg { background: var(--orange-soft); color: var(--ink); }
.notice-icon { width: 28px; height: 28px; display: grid; place-items: center; flex: none; border-radius: 50%; background: #fff; font-weight: 800; }

/* Sources officielles (onglet Infos officielles des modules) : liens distingues du texte courant */
.sources-off { overflow-wrap: anywhere; }
.sources-off a { font-weight: 700; color: var(--orange); text-decoration: none; }
.sources-off a:hover, .sources-off a:focus-visible { color: var(--orange-deep); text-decoration: underline; }
.sources-off a::after { content: " \2197"; font-weight: 700; }

.project-top { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.progress { height: 10px; overflow: hidden; border-radius: 999px; background: #dce2e8; }
.progress > span { display: block; width: var(--progress, 0%); height: 100%; border-radius: inherit; background: var(--orange); }
.level-section { margin-top: 2.5rem; }
.level-heading { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.level-heading h2 { margin: 0; font-size: 1.8rem; }
.level-heading > strong { margin-left: auto; color: var(--navy); font: 800 1.2rem/1 "Bricolage Grotesque", Arial, sans-serif; }
.project-progress { --score: 0; width: 190px; height: 190px; flex: none; display: grid; place-items: center; text-align: center; border-radius: 50%; background: conic-gradient(var(--orange) calc(var(--score) * 1%), rgba(255,255,255,.14) 0); box-shadow: 0 0 0 10px rgba(255,255,255,.06); }
.project-progress::before { content: ""; grid-area: 1 / 1; width: 148px; height: 148px; border-radius: 50%; background: var(--navy); }
.project-progress > div { position: relative; grid-area: 1 / 1; display: grid; gap: .2rem; }
.project-progress strong { font: 800 2.35rem/1 "Bricolage Grotesque", Arial, sans-serif; }
.project-progress span { max-width: 100px; color: rgba(255,255,255,.72); font-size: .82rem; line-height: 1.25; }
.module-card { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; min-height: 122px; }
.module-card.done { border-color: #b9d9ce; }
.module-card.current { border-color: var(--orange); box-shadow: 0 12px 34px rgba(246,162,30,.14); }
.module-card.locked { opacity: .68; }
.module-card h3 { margin: 0 0 .3rem; }
.status { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .84rem; font-weight: 700; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #acb3ba; }
.status.done::before { background: #278467; }
.status.current::before { background: var(--orange); }
.analysis-card { color: #fff; background: var(--navy); border: 0; }
.analysis-card h3 { color: #fff; }
.analysis-card p { color: rgba(255,255,255,.7); }
.evaluation-high { border-color: #55a889 !important; background: #eef9f4 !important; color: var(--ink) !important; }
.evaluation-mid { border-color: var(--orange) !important; background: #fff5e4 !important; color: var(--ink) !important; }
.evaluation-low { border-color: #d66d6d !important; background: #fcecec !important; color: var(--ink) !important; }
.evaluation-high h3, .evaluation-mid h3, .evaluation-low h3 { color: var(--navy); }
.checkpoint-bars { display: grid; gap: .85rem; margin-top: 1.4rem; }
.checkpoint-bar { padding: 1rem; border-radius: 14px; background: rgba(255,255,255,.08); }
.checkpoint-bar .bar-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .55rem; font-weight: 800; }
.checkpoint-bar .progress { background: rgba(255,255,255,.16); }
.checkpoint-bar.high .progress > span { background: #66c19e; }
.checkpoint-bar.mid .progress > span { background: var(--orange); }
.checkpoint-bar.low .progress > span { background: #e98383; }
.audience-section { color: #fff; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); }
.audience-section h2, .audience-section .section-head p, .audience-section .lead { color: #fff; }
.audience-card { border: 0; border-top: 7px solid var(--orange); box-shadow: 0 14px 35px rgba(0,0,0,.16); }
.audience-section .audience-card,
.audience-section .audience-card h3,
.audience-section .audience-card p { color: var(--ink); }
.audience-card:nth-child(2) { border-top-color: #66c19e; }
.audience-card:nth-child(3) { border-top-color: #f3c467; }
.audience-card:nth-child(4) { border-top-color: #7da7d8; }
.faq-section { background: linear-gradient(180deg, var(--orange-soft), #fff8ec); }
.faq-section .faq details { border-color: #e2c48f; box-shadow: 0 8px 22px rgba(130,84,17,.07); }
.faq-section .faq details[open] { border-left: 6px solid var(--orange); }

.module-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 1.3rem; align-items: start; }
.module-content { display: grid; gap: 1rem; }
.module-sidebar { position: sticky; top: 86px; display: grid; gap: 1rem; }
.module-hero { padding-block: 2.5rem; }
.module-counter { position: relative; isolation: isolate; flex: none; width: 112px; height: 112px; display: grid; place-content: center; text-align: center; border-radius: 50%; color: #fff; background: conic-gradient(from 0deg, var(--orange) var(--module-progress, 30%), rgba(255,255,255,.14) 0); box-shadow: 0 0 0 8px rgba(255,255,255,.06); }
.module-counter::before { content: ""; position: absolute; z-index: -1; inset: 11px; border-radius: 50%; background: var(--navy); }
.module-counter strong { font: 800 2.2rem/.9 "Bricolage Grotesque", Arial, sans-serif; }
.module-counter span { font-size: .85rem; color: rgba(255,255,255,.72); }
.module-sidebar > article:nth-child(2) { position: relative; overflow: hidden; border: 2px solid var(--orange); background: linear-gradient(145deg, #fff8e8, #fff); box-shadow: 0 14px 32px rgba(246,162,30,.16); }
.module-sidebar > article:nth-child(2)::before { content: "✓"; position: absolute; right: -.35rem; top: -.65rem; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; color: rgba(19,43,73,.14); background: var(--orange-soft); font: 800 2rem/1 "Bricolage Grotesque", Arial, sans-serif; }
.module-sidebar > article:nth-child(2) h3 { position: relative; color: var(--navy); font-size: 1.25rem; }
.module-sidebar > article:nth-child(2) p { position: relative; color: var(--ink); }
.module-navigation { display: flex; justify-content: space-between; gap: 1rem; margin-top: .5rem; }
.formhead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border-radius: 14px; color: var(--navy); background: var(--blue-soft); margin-bottom: 1rem; font-size: .9rem; }
.formhead .saved { font-weight: 800; color: #247054; }
.qform { display: grid; gap: 1rem; }
.q { position: relative; padding: 1.45rem; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; }
.qh { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7rem; color: var(--ink); font-family: "Bricolage Grotesque", Arial, sans-serif; font-weight: 800; }
.qh > b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--navy); font-size: .85rem; }
.qc { margin: .6rem 0 1rem; color: var(--muted); }
.qaide { align-self: start; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--ink); background: var(--orange); box-shadow: 0 4px 0 var(--orange-deep); cursor: pointer; font-weight: 900; font-size: 1.05rem; }
.qaide:hover { transform: translateY(1px); box-shadow: 0 3px 0 var(--orange-deep); }
.q textarea, .q input[type="text"], .q input[type="number"], .q input[type="email"], .q select { width: 100%; min-height: 46px; margin-top: .4rem; border: 1.5px solid #c9cfd6; border-radius: 12px; background: #fff; padding: .75rem .85rem; }
.q textarea { min-height: 104px; }
.opt { display: inline-flex; cursor: pointer; margin: .3rem .25rem .15rem 0; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; padding: .55rem .75rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: .92rem; font-weight: 700; }
.opt input:checked + span { color: var(--navy); background: var(--orange-soft); border-color: var(--orange); }
.qtable { width: 100%; border-collapse: collapse; margin-top: .75rem; }
.qtable th, .qtable td { padding: .65rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.qtable input { min-width: 110px; }
.addrow { border: 1.5px dashed var(--orange); border-radius: 999px; background: #fff; color: var(--orange-deep); padding: .55rem .85rem; cursor: pointer; font-weight: 800; }
.calc, .evalbox, .financial-choices { margin-top: 1rem; padding: 1rem; border-radius: 14px; background: var(--blue-soft); }
/* .calc : bloc de calcul auto (M7 marge, M8 seuil, M8 reste a financer) — trois cellules reliees par des operateurs */
.calc { display: flex; align-items: stretch; flex-wrap: wrap; gap: .6rem; }
.calc .box { flex: 1 1 130px; margin: 0; padding: .85rem .9rem; border-radius: 12px; background: #fff; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.calc .box .bl { font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; margin-bottom: .3rem; }
.calc .box .bv { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.calc .box.res { background: var(--navy); }
.calc .box.res .bl { color: rgba(255,255,255,.72); }
.calc .box.res .bv { color: #fff; }
.calc .box.res.res-ok { background: #E8F5EE; }
.calc .box.res.res-ok .bl { color: #1D6B45; }
.calc .box.res.res-ok .bv { color: #1D6B45; }
.calc .op { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; min-width: 1.2rem; font-size: 1.4rem; font-weight: 800; color: var(--muted); }
@media (max-width: 560px) { .calc .op { flex-basis: 100%; } }
.money { font-weight: 800; color: var(--navy); }
.warn { display: none; padding: .8rem 1rem; border-radius: 12px; background: var(--orange-soft); }
.warn.on { display: block; }
.evalbox { margin-top: 1.25rem; padding: 1.25rem; border: 2px solid var(--orange); border-radius: 18px; background: linear-gradient(135deg, var(--orange-soft), #fff); box-shadow: 0 12px 30px rgba(246,162,30,.12); }
.evalbox > b { display: block; color: var(--navy); font: 800 1.2rem/1.3 "Bricolage Grotesque", Arial, sans-serif; }
.evaluation-button { margin-top: 1rem; }
.evaluation-button:disabled { cursor: not-allowed; color: #67717c; background: #dfe4e9; box-shadow: none; opacity: 1; }
.evaluation-button:not(:disabled) { color: var(--navy); background: var(--orange); box-shadow: 0 5px 0 var(--orange-deep); }
.manque { margin-top: .75rem; color: #8f2f2f; font-weight: 700; }
.help-dialog { width: min(680px, calc(100% - 1.25rem)); max-height: min(82vh, 760px); overflow: auto; padding: 0; border: 0; border-radius: 20px; color: var(--ink); background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.35); }
.help-dialog::backdrop { background: rgba(15,31,51,.66); backdrop-filter: blur(3px); }
.dialog-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; color: #fff; background: var(--navy); }
.dialog-head strong { font: 800 1.1rem/1.3 "Bricolage Grotesque", Arial, sans-serif; }
.dialog-head button { width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--navy); background: var(--orange); cursor: pointer; font-size: 1.4rem; }
.help-dialog [data-help-content] { padding: 1.35rem; }
.help-dialog [data-help-content] > .card.o { margin-bottom: 1.5rem; }
.help-dialog .qn { display: inline-flex; margin-right: .6rem; padding: .3rem .6rem; border-radius: 999px; color: #fff; background: var(--navy); font-size: .75rem; font-weight: 800; }
.help-dialog .qt { color: var(--navy); font: 800 1.3rem/1.25 "Bricolage Grotesque", Arial, sans-serif; }
.help-dialog .ex { padding: 1rem; border-radius: 14px; background: var(--orange-soft); }
.help-dialog h2 { font-size: 1.7rem; }
.help-dialog a { color: var(--navy); font-weight: 800; text-decoration: underline; text-decoration-color: var(--orange); }
.question-card { padding: 1.55rem; }
.help-library { padding: clamp(1.4rem, 3vw, 2.2rem); }
.help-question { border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 1.2rem; }
.help-question h3 { display: flex; align-items: center; gap: .65rem; margin-bottom: .55rem; }
.help-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { margin: .55rem 0; }
.source-list a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.question-title { display: flex; align-items: center; gap: .75rem; margin-bottom: .65rem; }
.question-title h3 { margin: 0; }
.question-tag { color: #fff; background: var(--navy); border-radius: 999px; padding: .25rem .65rem; font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.example { margin: 1rem 0; padding: 1rem; border-radius: 14px; background: var(--orange-soft); }
textarea, input[type="text"] { width: 100%; color: var(--ink); background: #fff; border: 1.5px solid #cfd3d8; border-radius: 13px; padding: .9rem 1rem; font-size: 1rem; }
textarea { min-height: 112px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; padding: .62rem .85rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; }
.chip input:checked + span { color: var(--navy); background: var(--orange-soft); border-color: var(--orange); }
.save-bar { position: sticky; bottom: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem; border-radius: 16px; color: #fff; background: rgba(19,43,73,.96); box-shadow: var(--shadow); }

.diagnostic-panel { border: 1.5px solid var(--orange); }
.runner { display: none; margin-top: 1.5rem; padding: 1.4rem; border-radius: 18px; background: var(--blue-soft); }
.runner.active { display: grid; grid-template-columns: minmax(0,1fr) 220px; column-gap: 1.5rem; align-items: center; }
.runner.active > .runner-heading, .runner.active > .progress, .runner.active > p { grid-column: 1 / -1; }
.runner.active > .runner-step { grid-column: 1; }
.runner.active::after { content: "Bpiz"; grid-column: 2; grid-row: 2 / span 4; width: 170px; height: 170px; justify-self: center; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: radial-gradient(circle at center, var(--blue-soft) 0 54%, transparent 55%), conic-gradient(var(--orange) 0 28%, #6aa58f 28% 52%, #759bc8 52% 74%, #dce4ed 74%); box-shadow: 0 12px 30px rgba(19,43,73,.15); font: 800 2rem/1 "Bricolage Grotesque", Arial, sans-serif; animation: loaderPulse 1.5s ease-in-out infinite; }
@keyframes loaderPulse { 0%,100% { transform: scale(.96); } 50% { transform: scale(1.03); } }
.chargeur { display: flex; justify-content: center; align-items: flex-end; gap: 1px; height: 60px; margin: 0 auto 1rem; user-select: none; overflow: visible; font: 800 2.9rem/1 "Bricolage Grotesque", Arial, sans-serif; letter-spacing: -.08rem; }
.chargeur span { display: inline-block; color: var(--orange); animation: ondule 1.5s cubic-bezier(.4,0,.2,1) infinite; }
.chargeur span:first-child { color: var(--navy); }
.chargeur span:nth-child(2) { animation-delay: .13s; }
.chargeur span:nth-child(3) { animation-delay: .26s; }
.chargeur span:nth-child(4) { animation-delay: .39s; }
@keyframes ondule { 0%,55%,100% { transform: translateY(0); opacity: .32; } 25% { transform: translateY(-9px); opacity: 1; } }
.runner-step { display: flex; align-items: center; gap: .8rem; margin: .65rem 0; color: var(--muted); }
.runner-step.done { color: var(--ink); }
.runner-step .number { border-radius: 50%; background: #ccd8e6; }
.runner-step.done .number { color: var(--ink); background: var(--orange); }
.result { display: none; }
.result.visible { display: block; animation: reveal .45s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(12px); } }
.score-panel { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; color: #fff; background: var(--navy); border-radius: var(--radius); padding: 1.6rem; }
.score-ring { --score: 73; width: 138px; height: 138px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--orange) calc(var(--score) * 1%), rgba(255,255,255,.14) 0); }
.score-ring::before { content: ""; position: absolute; }
.score-inner { width: 106px; height: 106px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--navy); }
.score { font-size: 2.2rem; line-height: .9; }
.priority { padding: 1.2rem; border-radius: 16px; background: rgba(246,162,30,.13); border: 1px solid rgba(246,162,30,.45); }
.strength { background: var(--blue-soft); }
.weakness { background: var(--orange-soft); }
.answer-review { display: grid; gap: .8rem; }
.answer-item { border: 1.5px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.answer-item summary { display: grid; grid-template-columns: 1fr auto; gap: 1rem; cursor: pointer; padding: 1rem 1.1rem; }
.answer-body { padding: 0 1.1rem 1.1rem; color: var(--muted); }
.analysis-groups { display: grid; gap: 1rem; }
.analysis-module { border: 1.5px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; }
.analysis-module > summary { display: grid; grid-template-columns: 1fr auto; gap: 1rem; cursor: pointer; padding: 1.2rem 1.3rem; color: #fff; background: var(--navy); font-family: "Bricolage Grotesque", Arial, sans-serif; font-size: 1.2rem; font-weight: 800; }
.analysis-list { display: grid; gap: .8rem; padding: 1rem; }
.question-analysis { padding: 1rem; border-radius: 14px; background: #f8f9fa; border-left: 5px solid var(--orange); }
.question-analysis.positive { border-left-color: #28795e; background: #edf8f3; }
.question-analysis.warning { border-left-color: var(--orange-deep); background: #fff7ea; }
.question-analysis.critical { border-left-color: #c84f4f; background: #fff0f0; }
.question-analysis-head { display: grid; grid-template-columns: 1fr auto; gap: .75rem; align-items: start; }
.question-analysis h4 { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0; color: var(--ink); font: 700 1.02rem/1.35 "Bricolage Grotesque", Arial, sans-serif; }
.question-analysis h4 > span { width: max-content; padding: .2rem .5rem; border-radius: 999px; color: #fff; background: var(--navy); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.question-analysis p { margin: .5rem 0 0; font-size: .94rem; }
.question-analysis .answer { color: var(--ink); }
.question-analysis .todo { color: var(--navy); }
.axis { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: start; }
.impact { color: var(--orange-deep); background: var(--orange-soft); border-radius: 999px; padding: .3rem .65rem; font-size: .78rem; font-weight: 800; }
.impact.positive { color: #185a44; background: #dff3ea; }
.impact.warning { color: #885300; background: #ffedcc; }
.impact.critical { color: #8f2f2f; background: #fbe0e0; }
.business-plan { border-left: 5px solid var(--orange); border-radius: 0 14px 14px 0; background: #fff; padding: 1rem 1.1rem; }
.business-plan h3 { color: var(--navy); margin-bottom: .35rem; }
.runner-heading { display: flex; align-items: center; justify-content: center; gap: .7rem; margin-bottom: .8rem; }
.runner-heading h3 { margin: 0; }
.chargeur.compact { width: 70px; height: 34px; margin: 0; font-size: 1.75rem; }
.report-score { width: 174px; height: 174px; }
.report-score .score-inner { width: 132px; height: 132px; }
.report-score .score { font-size: 2.9rem; }
.score-ring.score-high { background: conic-gradient(#50b58d calc(var(--score) * 1%), rgba(255,255,255,.14) 0); }
.score-ring.score-mid { background: conic-gradient(var(--orange) calc(var(--score) * 1%), rgba(255,255,255,.14) 0); }
.score-ring.score-low { background: conic-gradient(#df6868 calc(var(--score) * 1%), rgba(255,255,255,.14) 0); }
.priority.compact { max-width: 640px; padding: 1rem 1.15rem; justify-self: start; }
.level-score { display: flex; flex-direction: column; min-height: 245px; border-width: 2px; }
.level-score h3 { min-height: 3.2rem; }
.level-score .progress { margin-top: auto; }
.conclusion-card { border: 2px solid var(--navy); background: linear-gradient(135deg, var(--blue-soft), #fff); }
.conclusion-card h2 { color: var(--navy); }
.report-identity { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; border-top: 5px solid var(--orange); }
.report-identity > div { display: grid; gap: .25rem; }
.report-identity strong { color: var(--navy); font-size: .98rem; }
.ai-review { padding-top: .25rem; }
.review-status { min-height: 190px; }
.review-status .status { width: max-content; }
.review-gate { border: 2px solid var(--orange); background: var(--orange-soft); }
.check-list { display: grid; gap: .55rem; padding-left: 1.25rem; }
.business-plan-grid { display: grid; gap: .75rem; }
.business-plan-summary { padding: 1.25rem; border-radius: 16px; color: #fff; background: var(--navy); }
.business-plan-summary h3 { color: #fff; }
.report-print { display: flex; width: max-content; margin: 1.5rem auto 0; }

.dashboard-hero { padding-block: 2.2rem; }
.dashboard-summary { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 1.25rem; align-items: center; padding: 1.35rem 1.5rem; border-radius: 20px; color: #fff; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); box-shadow: var(--shadow); }
.dashboard-summary h1 { margin: .35rem 0 .2rem; color: #fff; font-size: clamp(2rem,3.5vw,3rem); }
.dashboard-summary p { margin: 0; color: rgba(255,255,255,.78); }
.dashboard-kpis { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; }
.dashboard-kpi { min-width: 118px; padding: .7rem .85rem; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; background: rgba(255,255,255,.09); text-align: center; }
.dashboard-kpi strong { display: block; color: #fff; font: 800 1.45rem/1 "Bricolage Grotesque", Arial, sans-serif; }
.dashboard-kpi span { display: block; margin-top: .25rem; color: rgba(255,255,255,.74); font-size: .8rem; }
.projects-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.project-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; }
.project-tile { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; border-top: 6px solid var(--orange); }
.project-tile.archived { opacity: .68; border-top-color: #8b96a3; }
.project-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: 1rem; }
.project-action { border: 1px solid var(--line); border-radius: 9px; padding: .55rem .7rem; color: var(--navy); background: #fff; cursor: pointer; font: 700 .86rem/1 "Instrument Sans", Arial, sans-serif; }
.project-action:hover { border-color: var(--orange); background: var(--orange-soft); }
.project-tile .mini-ring { --score: 0; width: 88px; height: 88px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--orange) calc(var(--score)*1%), var(--line) 0); }
.project-tile .mini-ring::before { content: attr(data-label); width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: #fff; font-weight: 800; }
.empty-project { border: 2px dashed #aeb9c6; background: transparent; }
.auth-shell { min-height: calc(100vh - 140px); display: grid; place-items: center; padding: 3rem 0; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); }
.auth-card { width: min(560px, calc(100% - 1.25rem)); margin: 0 auto; padding: clamp(1.5rem,4vw,2.4rem); }
.auth-card label { display: block; margin-top: 1rem; font-weight: 800; }
.auth-card input { display: block; width: 100%; min-height: 52px; margin-top: .45rem; padding: .8rem .9rem; border: 1.5px solid #b9c2cc; border-radius: 11px; color: var(--ink); background: #fff; font: inherit; }
.auth-card input:focus { outline: 3px solid rgba(246,162,30,.25); border-color: var(--orange); }
.auth-card button[type="submit"] { width: 100%; margin-top: 1.3rem; }
.auth-links { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.tabs { display: flex; gap: .6rem; margin-bottom: 1.4rem; }
.tab { flex: 1; padding: .75rem .5rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--muted); font: 700 .95rem/1 "Instrument Sans", Arial, sans-serif; text-align: center; cursor: pointer; transition: .15s; }
.tab[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.panel[hidden] { display: none; }
.msg { display: none; margin-top: 1rem; padding: .85rem 1rem; border-radius: 12px; font-size: .92rem; }
.msg.on { display: block; }
.msg.err { background: #fbe0e0; border: 1px solid #e3a9a9; color: #8f2f2f; }
.msg.ok { background: #dff3ea; border: 1px solid #a9d9c4; color: #185a44; }
.switch { margin-top: 1rem; text-align: center; color: var(--muted); font-size: .92rem; }
.switch a { color: var(--navy); font-weight: 800; cursor: pointer; }
.sessionbox .who, #sessionWho { font-weight: 800; color: var(--navy); }
.impact-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 1rem 0 1.25rem; }
.impact-legend > div { padding: .85rem 1rem; border-radius: 13px; background: #fff; border: 1px solid var(--line); }
.impact-legend p { margin: .45rem 0 0; color: var(--muted); font-size: .9rem; }
.legal-page { padding-block: 3rem; }
.legal-page article { max-width: 820px; }
.legal-page h2 { margin-top: 2rem; font-size: 1.55rem; }

.site-footer { color: rgba(255,255,255,.7); background: var(--navy); padding: 2.7rem 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 2rem; }
.site-footer strong, .site-footer a:hover { color: #fff; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer .disabled-link { color: rgba(255,255,255,.4); cursor: not-allowed; }
.toast { position: fixed; right: 1rem; bottom: 1rem; z-index: 100; max-width: 330px; padding: .9rem 1rem; border-radius: 13px; color: #fff; background: var(--navy-deep); box-shadow: var(--shadow); transform: translateY(140%); transition: transform .25s ease; }
.toast.show { transform: translateY(0); }
.mt { margin-top: 1.5rem; }
.mt-lg { margin-top: 2.5rem; }
.center { text-align: center; }

@media (max-width: 900px) {
  .hero-grid, .split, .module-layout { grid-template-columns: 1fr; }
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .grid.three, .offer-grid { grid-template-columns: 1fr; }
  .module-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .dashboard-summary { grid-template-columns: 1fr; }
  .dashboard-kpis { justify-content: flex-start; }
  .report-identity { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .book-wrap { min-height: 480px; }
  .hero-offers { grid-template-columns: 1fr; gap: 1.1rem; }
}
@media (max-width: 480px) {
  .hero-offer-visual { height: auto; min-height: 186px; gap: 1rem; padding: .9rem 1rem; }
  .hero-mini-book { height: 150px; }
  .hero-offer-highlights { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container, .container.narrow { width: min(100% - 1.25rem, 1180px); }
  .menu-button { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: .6rem; right: .6rem; top: 60px; align-items: stretch; flex-direction: column; gap: .25rem; padding: .75rem; border-radius: 14px; color: #fff; background: var(--navy-deep); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .65rem .75rem; }
  .hero { padding-top: 3rem; }
  .hero-grid { gap: 1rem; }
  .book-wrap { min-height: 390px; }
  .book { width: min(100%, 300px); }
  .metrics, .grid.four, .grid.two, .module-sidebar, .footer-grid { grid-template-columns: 1fr; }
  .metric { display: flex; align-items: baseline; gap: .7rem; }
  .project-top { grid-template-columns: 1fr; }
  .project-progress { width: 150px; height: 150px; }
  .project-progress::before { width: 116px; height: 116px; }
  .module-card { grid-template-columns: auto 1fr; }
  .module-card > :last-child { grid-column: 1 / -1; }
  .score-panel { grid-template-columns: 1fr; text-align: center; }
  .score-ring { margin: auto; }
  .report-score { width: 158px; height: 158px; }
  .report-score .score-inner { width: 120px; height: 120px; }
  .axis { grid-template-columns: auto 1fr; }
  .impact { grid-column: 2; justify-self: start; }
  .save-bar { align-items: stretch; flex-direction: column; }
  .module-navigation { flex-direction: column; }
  .runner.active { grid-template-columns: 1fr; }
  .runner.active > *, .runner.active::after { grid-column: 1; }
  .runner.active::after { grid-row: auto; width: 130px; height: 130px; }
  .dashboard-summary, .project-list, .impact-legend, .report-identity { grid-template-columns: 1fr; }
  .help-columns { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .chargeur span { animation: none !important; opacity: 1; }
}

@media print {
  .site-header, .site-footer, .button, .save-bar { display: none !important; }
  #bpiz-cookie-banner, #bpiz-cookie-manage { display: none !important; }
  body { background: #fff; }
  .main { padding: 0; }
  .card, .score-panel { break-inside: avoid; box-shadow: none; }
  /* Sans cette regle, Chrome/Edge n'impriment pas les fonds et degrades
     (anneau de score en conic-gradient, barres de progression) tant que la
     case "Graphiques d'arriere-plan" du dialogue d'impression n'est pas
     cochee manuellement -- ce que personne ne fait. On force l'impression
     fidele des couleurs, quel que soit ce reglage. */
  *, *::before, *::after { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; color-adjust: exact !important; }
}

/* --- Retours bêta 19/09/2026 --- */
/* --- Retours bêta 24/09/2026 --- */
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: .9rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.hero-top .eyebrow.on-dark { font-size: .92rem; padding: .55rem 1rem; }
.hero-back { display: inline-flex; align-items: center; gap: .4rem; color: #fff; text-decoration: none; font-weight: 800; font-size: .88rem; font-family: "Bricolage Grotesque", Arial, sans-serif; background: transparent; border: 2px solid rgba(255,255,255,.35); border-radius: 11px; padding: .48rem .9rem; white-space: nowrap; transition: border-color .18s ease, background .18s ease; }
.hero-back:hover, .hero-back:focus-visible { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); color: #fff; }
.qtable-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: .75rem; }
.qtable-wrap .qtable { margin-top: 0; }


/* Point 5 : bandeau "notice" (ex. "Accès complet.") collé à la carte
   suivante (ex. "Progression totale") quand il est affiché. */
.notice + .card { margin-top: 1.5rem; }

/* Point 4 : "Mon compte" doit se distinguer de "Connexion" dans le bandeau. */
.nav-account-active { color: var(--orange); font-weight: 800; }

/* Point 1 : œil de visibilité sur les champs mot de passe (ajouté par bpiz.js). */
.champ-motdepasse { position: relative; }
.champ-motdepasse input.a-loeil { padding-right: 2.6rem !important; }
.oeil-motdepasse { position: absolute; top: 50%; right: .55rem; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; padding: 0; border: 0; background: none; color: #7c8794; cursor: pointer; border-radius: 6px; }
.oeil-motdepasse:hover, .oeil-motdepasse:focus-visible { color: var(--navy); }

