/* ====================================================
   COB.I.A — Design system
   Source: maquette/blog.html + maquette/geo.html + maquette/index.html
   ==================================================== */

:root {
  --ink: #0B0D14;
  --ink-2: #11141F;
  --navy: #0E2148;
  --navy-soft: #15294f;
  --brass: #B68A4E;
  --champ: #E4C77E;
  --paper: #F5F1E8;
  --paper-2: #FBFAF6;
  --slate: #5A6276;
  --ink-70: rgba(11,13,20,.7);
  --line: rgba(11,13,20,.13);
  --line-light: rgba(255,255,255,.14);
  --disp: "Fraunces", Georgia, serif;
  --ui: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.19,1,.22,1);
  --ok: #1D9E75;
  --mid: #B68A4E;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--ui); background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.6; overflow-wrap: break-word; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: var(--ui); cursor: pointer; }
input, select, textarea { font-family: var(--ui); }
::selection { background: var(--brass); color: #fff; }
h1, h2, h3, h4 { font-family: var(--disp); font-weight: 500; letter-spacing: -.01em; line-height: 1.1; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; }

/* ---- NAV (blog public) ---- */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(247,244,237,.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; }
.brand { font-family: var(--disp); font-size: 1.5rem; font-weight: 600; letter-spacing: .05em; }
.brand b { color: var(--brass); }
.nav .lk { display: flex; gap: 22px; }
.nav .lk a { font-size: .82rem; color: var(--ink); opacity: .8; transition: .2s; }
.nav .lk a:hover { opacity: 1; color: var(--brass); }

/* ---- HERO (blog public) ---- */
.hero { background: var(--ink); color: #fff; padding: 84px 0 70px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle,rgba(194,163,90,.16),transparent 60%); top: -200px; right: -100px; }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--champ); display: inline-flex; align-items: center; gap: .7em; }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--champ); }
.hero h1 { font-size: clamp(2.4rem,6vw,4rem); margin-top: 20px; color: #fff; max-width: 18ch; }
.hero p { margin-top: 18px; max-width: 56ch; color: rgba(255,255,255,.78); font-weight: 300; font-size: 1.05rem; }

/* ---- FEED / POST CARDS ---- */
.feed { padding: 64px 0 90px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 38px; margin-bottom: 20px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: start; transition: .3s var(--ease); }
.post:hover { box-shadow: 0 30px 60px -34px rgba(11,13,20,.3); }
.post .cat { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.post h2 { font-size: 1.7rem; margin: 10px 0 0; line-height: 1.12; }
.post .answer { margin-top: 14px; font-size: 1rem; color: var(--ink); line-height: 1.7; }
.post .answer b { color: var(--navy); font-weight: 600; }

/* ---- À RETENIR ---- */
.retenir { margin-top: 18px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.retenir .rh { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); font-weight: 600; margin-bottom: 10px; }
.retenir ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.retenir li { font-size: .9rem; padding-left: 18px; position: relative; }
.retenir li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--brass); }

/* ---- META ---- */
.meta { margin-top: 18px; display: flex; gap: 14px; flex-wrap: wrap; font-size: .78rem; color: var(--slate); align-items: center; }

/* ---- BADGE GEO (blog cards) ---- */
.badge { width: 62px; height: 62px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; background: conic-gradient(var(--brass) calc(var(--p) * 1%), var(--paper) 0); position: relative; }
.badge::after { content: ""; position: absolute; width: 48px; height: 48px; border-radius: 50%; background: #fff; }
.badge b, .badge small { position: relative; z-index: 1; text-align: center; line-height: 1; }
.badge b { font-family: var(--disp); font-size: 1.25rem; }
.badge small { font-size: .54rem; letter-spacing: .1em; color: var(--slate); display: block; }

/* ---- FOOTER ---- */
.foot { background: var(--ink); color: rgba(255,255,255,.6); padding: 40px 0; text-align: center; font-size: .84rem; }
.foot a { color: var(--champ); }

/* ---- TOPBAR (admin) ---- */
.topbar { background: var(--ink); color: #fff; padding: 0 26px; display: flex; align-items: center; gap: 24px; position: sticky; top: 0; z-index: 20; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 12px; padding: 16px 0; text-decoration: none; }
.logo .mk { width: 38px; height: 38px; border-radius: 8px; background: linear-gradient(150deg,var(--brass),var(--champ)); color: #0B0D14; display: grid; place-items: center; font-family: var(--disp); font-weight: 600; font-size: 1.05rem; }
.logo b { font-family: var(--disp); font-size: 1.2rem; font-weight: 600; letter-spacing: .04em; display: block; line-height: 1; }
.logo small { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.tabs { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.tab { background: none; border: 0; color: rgba(255,255,255,.6); padding: 14px 16px; font-size: .86rem; font-weight: 500; border-bottom: 2px solid transparent; transition: .2s; text-decoration: none; display: inline-block; }
.tab:hover { color: #fff; }
.tab.on { color: #fff; border-bottom-color: var(--brass); }
.xnav { display: flex; gap: 15px; align-items: center; margin-right: 4px; }
.xnav a { font-size: .78rem; color: rgba(255,255,255,.6); transition: .2s; text-decoration: none; }
.xnav a:hover { color: var(--champ); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; font-size: .78rem; font-weight: 600; letter-spacing: .05em; color: #fff; }

/* ---- WRAP (admin) ---- */
.admin-wrap { max-width: 1240px; margin: 0 auto; padding: 30px 26px 70px; }
.view { display: none; animation: fade .5s var(--ease); }
.view.on { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---- PAGE HEAD ---- */
.page-head { max-width: 64ch; margin-bottom: 28px; }
.page-head .eyebrow { color: var(--brass); }
.page-head .eyebrow::before { background: var(--brass); }
.page-head h2 { font-size: 2.1rem; margin: 8px 0 12px; }
.page-head p { color: var(--slate); font-size: 1rem; }
.page-head p b { color: var(--ink); font-weight: 500; }

/* ---- CARD ---- */
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.card h3 { font-size: 1.3rem; font-weight: 500; }
.h-sub { color: var(--slate); font-size: .84rem; margin-top: 4px; margin-bottom: 16px; }

/* ---- ATELIER ---- */
.atelier { display: grid; grid-template-columns: .92fr 1.08fr; gap: 22px; align-items: start; }
.atelier > * { min-width: 0; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-bottom: 16px; }
.seg button { flex: 1; background: none; border: 0; padding: 10px; font-size: .84rem; color: var(--slate); font-weight: 500; }
.seg button.on { background: var(--ink); color: #fff; }
.lbl { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); font-weight: 600; margin: 16px 0 7px; }
.in { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 6px; font-size: .92rem; color: var(--ink); background: var(--paper-2); }
.in:focus { outline: none; border-color: var(--brass); }
textarea.in { min-height: 120px; resize: vertical; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 20px; background: #fff; font-size: .82rem; color: var(--slate); }
.chip .e { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.chip.on { border-color: var(--ink); color: var(--ink); background: var(--paper-2); }
.chip.on .e { background: var(--brass); }
.run { width: 100%; margin-top: 22px; padding: 15px; background: var(--brass); color: #0B0D14; border: 0; border-radius: 6px; font-size: .95rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; transition: .25s var(--ease); }
.run:hover { background: var(--champ); }
.run:disabled { opacity: .6; }

/* ---- OUTPUT ---- */
.out-empty { border: 1.5px dashed var(--line); border-radius: 10px; padding: 64px 30px; text-align: center; color: var(--slate); }
.out-empty .ic { font-size: 2rem; color: var(--brass); margin-bottom: 12px; }
.out-empty h3 { color: var(--ink); font-size: 1.3rem; margin-bottom: 8px; }
.processing { display: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 34px; }
.processing.on { display: block; }
.processing .bar { height: 5px; background: var(--paper); border-radius: 5px; overflow: hidden; margin: 14px 0 12px; }
.processing .bar i { display: block; height: 100%; width: 30%; background: linear-gradient(90deg,var(--brass),var(--champ)); border-radius: 5px; animation: load 2s var(--ease) forwards; }
@keyframes load { to { width: 100%; } }
.processing .st { font-size: .88rem; color: var(--slate); }
.output { display: none; flex-direction: column; gap: 14px; }
.output.on { display: flex; }

/* ---- SCORE BAND ---- */
.score-band { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sc { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; display: flex; align-items: center; gap: 16px; }
.ring { --p: 80; width: 62px; height: 62px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; background: conic-gradient(var(--brass) calc(var(--p) * 1%), var(--paper) 0); }
.ring b { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--disp); font-size: 1.2rem; color: var(--ink); }
.sc .k { font-weight: 600; font-size: .92rem; }
.sc .d { font-size: .78rem; color: var(--slate); margin-top: 3px; }
.note-edit { font-size: .76rem; color: var(--slate); background: var(--paper-2); border: 1px dashed var(--line); border-radius: 8px; padding: 10px 14px; }

/* ---- BLOCS OUTPUT ---- */
.blk { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.blk-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.blk-h h4 { font-size: 1.08rem; font-weight: 500; }
.lever { font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; color: var(--brass); background: var(--paper-2); border: 1px solid var(--line); padding: 4px 9px; border-radius: 20px; white-space: nowrap; }
.answer { font-size: .96rem; line-height: 1.65; color: var(--ink); }
.answer b, .answer strong { color: var(--navy); font-weight: 600; }
.faq-q { font-weight: 600; font-size: .9rem; margin-top: 12px; }
.faq-q:first-child { margin-top: 0; }
.faq-a { font-size: .88rem; color: var(--slate); margin-top: 3px; }
.facts { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.facts li { display: flex; gap: 14px; align-items: baseline; }
.facts .n { font-family: var(--disp); font-size: 1.2rem; color: var(--brass); min-width: 5.5ch; }
.facts li span:last-child { font-size: .88rem; color: var(--ink); }
.src { display: flex; gap: 10px; padding: 6px 0; font-size: .88rem; }
.src .d { color: var(--brass); }
.ents { display: flex; flex-wrap: wrap; gap: 7px; }
.ent { font-size: .78rem; background: var(--paper-2); border: 1px solid var(--line); padding: 5px 11px; border-radius: 20px; }
.ent.brand { background: var(--ink); color: #fff; border-color: var(--ink); }
.seo-row { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.seo-row:last-child { border-bottom: 0; }
.seo-row .k { color: var(--slate); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.seo-row .v small { display: block; color: var(--ok); font-size: .74rem; margin-top: 3px; }
.schema { background: var(--ink); color: #cdd5e6; border-radius: 8px; padding: 16px; font-size: .78rem; line-height: 1.6; overflow-x: auto; font-family: ui-monospace, Menlo, Consolas, monospace; }
.schema .kk { color: var(--champ); }
.reco { display: flex; gap: 11px; padding: 8px 0; font-size: .86rem; line-height: 1.5; }
.reco .e { color: var(--brass); }
.reco b { color: var(--navy); }
.out-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 4px; }
.btn { padding: 11px 17px; border-radius: 6px; font-size: .84rem; font-weight: 500; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: .2s; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.btn:hover { border-color: var(--brass); }
.btn.solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.solid:hover { background: var(--navy); }

/* ---- NEWS LIST ---- */
.list-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar { display: flex; gap: 8px; }
.f-chip { font-size: .82rem; padding: 8px 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--slate); cursor: pointer; }
.f-chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.art { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin-bottom: 10px; cursor: pointer; transition: .2s; }
.art:hover { border-color: var(--brass); transform: translateX(3px); }
.geo-badge { --p: 80; width: 54px; height: 54px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; background: conic-gradient(var(--brass) calc(var(--p) * 1%), var(--paper) 0); position: relative; }
.geo-badge::after { content: ""; position: absolute; width: 40px; height: 40px; border-radius: 50%; background: #fff; }
.geo-badge b, .geo-badge small { position: relative; z-index: 1; text-align: center; line-height: 1; }
.geo-badge b { font-family: var(--disp); font-size: 1.1rem; }
.geo-badge small { font-size: .54rem; letter-spacing: .1em; color: var(--slate); display: block; }
.art .t { flex: 1; }
.art .ti { font-family: var(--disp); font-size: 1.18rem; font-weight: 500; line-height: 1.15; }
.art .mt { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 7px; font-size: .76rem; color: var(--slate); align-items: center; }
.eng { display: flex; gap: 5px; flex-wrap: wrap; }
.eng span { font-size: .68rem; background: var(--paper-2); border: 1px solid var(--line); padding: 2px 8px; border-radius: 20px; color: var(--ink); }
.stt { font-size: .72rem; padding: 5px 11px; border-radius: 20px; white-space: nowrap; font-weight: 500; }
.stt-pub { background: rgba(29,158,117,.12); color: var(--ok); }
.stt-draft { background: var(--paper-2); color: var(--slate); border: 1px solid var(--line); }

/* ---- BEST PRACTICES ---- */
.bp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.bp { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; cursor: pointer; transition: .25s var(--ease); }
.bp:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(11,13,20,.3); border-color: transparent; }
.bp .cat { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.bp h4 { font-size: 1.25rem; margin: 10px 0 8px; font-weight: 500; line-height: 1.15; }
.bp p { font-size: .88rem; color: var(--slate); }
.bp .ft { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: .78rem; color: var(--slate); }
.bp .gv { font-family: var(--disp); color: var(--brass); font-size: 1rem; }

/* ---- VISIBILITÉ ---- */
.kpi-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 22px; }
.kpi { background: var(--ink); color: #fff; border-radius: 10px; padding: 22px; }
.kpi .v { font-family: var(--disp); font-size: 2.4rem; color: var(--champ); line-height: 1; }
.kpi .v small { font-size: 1.1rem; }
.kpi .l { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 8px; }
.kpi .dl { font-size: .78rem; color: #5fcf9e; margin-top: 6px; }
.vis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bar-row { display: grid; grid-template-columns: 160px 1fr 34px; gap: 12px; align-items: center; margin-bottom: 12px; font-size: .86rem; }
.track { height: 9px; background: var(--paper); border-radius: 6px; overflow: hidden; }
.track i { display: block; height: 100%; background: linear-gradient(90deg,var(--brass),var(--champ)); border-radius: 6px; }
.pc { font-family: var(--disp); color: var(--brass); text-align: right; }

/* ---- TOAST ---- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 30px; font-size: .86rem; opacity: 0; transition: .3s var(--ease); z-index: 80; pointer-events: none; max-width: 90vw; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast b { color: var(--champ); }

/* ---- LOGIN PAGE ---- */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--ink); }
.login-box { background: #fff; border-radius: 14px; padding: 48px 44px; width: 100%; max-width: 420px; }
.login-box .brand { font-size: 2rem; display: block; margin-bottom: 8px; }
.login-box .sub { color: var(--slate); font-size: .9rem; margin-bottom: 32px; }
.login-box .lbl { margin-top: 20px; }
.login-box .in { margin-top: 7px; }
.login-submit { width: 100%; margin-top: 28px; padding: 15px; background: var(--ink); color: #fff; border: 0; border-radius: 6px; font-size: .95rem; font-weight: 600; cursor: pointer; transition: .2s; }
.login-submit:hover { background: var(--navy); }
.login-error { background: rgba(200,50,50,.08); border: 1px solid rgba(200,50,50,.2); color: #b91c1c; border-radius: 6px; padding: 10px 14px; font-size: .86rem; margin-bottom: 16px; }

/* ---- ARTICLE PAGE (public) ---- */
.article-hero { background: var(--ink); color: #fff; padding: 70px 0 54px; }
.article-hero .cat { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); font-weight: 600; margin-bottom: 14px; }
.article-hero h1 { font-size: clamp(2rem,5vw,3.4rem); max-width: 22ch; line-height: 1.12; }
.article-hero .meta-line { margin-top: 22px; display: flex; gap: 18px; font-size: .8rem; color: rgba(255,255,255,.65); flex-wrap: wrap; align-items: center; }
.article-hero .badge { width: 62px; height: 62px; }
.article-body { max-width: 760px; margin: 0 auto; padding: 52px 28px 80px; }
.article-body .answer-block { background: var(--paper-2); border: 2px solid var(--line); border-left: 3px solid var(--brass); border-radius: 10px; padding: 24px 28px; margin-bottom: 36px; }
.article-body .answer-block .lbl-small { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); font-weight: 600; margin-bottom: 10px; display: block; }
.article-body .answer-block .answer { font-size: 1.08rem; }
.article-body .body-content { font-size: 1.02rem; line-height: 1.75; color: var(--ink); }
.article-body .body-content h2 { font-size: 1.7rem; margin: 40px 0 16px; }
.article-body .body-content h3 { font-size: 1.3rem; margin: 28px 0 12px; }
.article-body .body-content p { margin-bottom: 18px; }
.article-body .body-content ul, .article-body .body-content ol { margin: 16px 0 18px 22px; }
.article-body .body-content li { margin-bottom: 8px; }
.article-body .body-content a { color: var(--brass); text-decoration: underline; }
.article-body .body-content strong { color: var(--navy); }

/* ---- TIPTAP EDITOR ---- */
.tiptap-wrap { border: 1px solid var(--line); border-radius: 6px; background: #fff; min-height: 200px; }
.tiptap-toolbar { display: flex; gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tiptap-toolbar button { background: none; border: 1px solid var(--line); border-radius: 4px; padding: 4px 8px; font-size: .8rem; cursor: pointer; transition: .15s; }
.tiptap-toolbar button:hover, .tiptap-toolbar button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tiptap-editor { padding: 16px; min-height: 180px; outline: none; font-size: .92rem; line-height: 1.6; }
.tiptap-editor:focus { outline: none; }
.tiptap-editor p { margin-bottom: 12px; }
.tiptap-editor h2 { font-size: 1.4rem; margin: 20px 0 10px; }
.tiptap-editor ul, .tiptap-editor ol { margin: 10px 0 12px 20px; }

/* ---- EDITABLE FIELDS ---- */
.field-editable { border: 1px dashed var(--line); border-radius: 4px; padding: 8px; background: var(--paper-2); transition: .2s; }
.field-editable:hover { border-color: var(--brass); }
.field-editable:focus { outline: none; border-color: var(--brass); background: #fff; }

/* ---- RESPONSIVE (admin + blog) ---- */
@media (max-width: 900px) {
  .atelier, .vis-grid { grid-template-columns: 1fr; }
  .bp-grid { grid-template-columns: 1fr 1fr; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .post { grid-template-columns: 1fr; padding: 28px; }
  .badge { order: -1; }
  .nav .lk a:not(:last-child) { display: none; }
}
@media (max-width: 600px) {
  .bp-grid, .kpi-row { grid-template-columns: 1fr; }
  .score-band { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 110px 1fr 30px; }
  .page-head h2 { font-size: 1.7rem; }
  .login-box { padding: 32px 24px; }
}

/* ============================================================
   HOME PAGE — styles spécifiques (body.home)
   Source : maquette/index.html
   ============================================================ */

/* Kicker (trait + texte majuscule doré) */
.kicker { font-family: var(--ui); font-weight: 500; font-size: .7rem; letter-spacing: .32em; text-transform: uppercase; color: var(--brass); display: inline-flex; align-items: center; gap: .85em; flex-wrap: wrap; }
.kicker::before { content: ""; width: 30px; height: 1px; background: var(--brass); flex: 0 0 auto; }

/* Scroll thread (barre verticale gauche, visible ≥ 1340px) */
.thread { position: fixed; left: 34px; top: 0; bottom: 0; width: 1px; z-index: 30; background: rgba(11,13,20,.1); display: none; }
.thread .fill { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: linear-gradient(var(--brass), var(--champ)); }
.thread.on-dark { background: rgba(255,255,255,.12); }
@media (min-width: 1340px) { .thread { display: block; } }

/* NAV home (fixe, fond transparent → solide au scroll) */
body.home header.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 22px 32px; transition: .5s var(--ease); background: transparent; border-bottom: none; backdrop-filter: none; }
body.home header.nav.solid { background: rgba(245,241,232,.88); backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line); padding: 14px 32px; }
body.home header.nav.solid.on-dark { background: rgba(11,13,20,.88); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
body.home .brand { font-family: var(--disp); font-size: 1.72rem; font-weight: 600; letter-spacing: .07em; color: var(--ink); padding-right: 14px; }
body.home .brand b { color: var(--brass); font-weight: 600; }
body.home header.nav.on-dark .brand { color: #fff; }
body.home nav.links { display: flex; gap: 34px; align-items: center; }
body.home nav.links a { font-size: .78rem; letter-spacing: .05em; color: var(--ink); opacity: .78; transition: .25s; font-weight: 500; }
body.home header.nav.on-dark nav.links a { color: #fff; opacity: .85; }
body.home nav.links a:hover { opacity: 1; color: var(--brass); }
body.home .nav-cta { border: 1px solid currentColor; padding: 10px 20px; border-radius: 2px; letter-spacing: .06em; opacity: 1 !important; transition: .25s; }
body.home .nav-cta:hover { background: var(--brass); border-color: var(--brass); color: #fff !important; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { width: 26px; height: 1.5px; background: var(--ink); transition: .3s; }
body.home header.nav.on-dark .burger span { background: #fff; }

/* HERO home (plein écran) */
body.home .hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; padding: 0; }
body.home .hero::after { display: none; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media .layer { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 2.4s var(--ease); animation: slowzoom 22s ease-in-out infinite alternate; }
.hero-media .layer.on { opacity: .55; }
@keyframes slowzoom { from { transform: scale(1.05); } to { transform: scale(1.14); } }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,13,20,.55) 0%, rgba(11,13,20,.35) 40%, rgba(11,13,20,.92) 100%); }
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(11,13,20,.7), transparent 65%); }
body.home .hero .wrap { position: relative; z-index: 3; width: 100%; padding-bottom: 9vh; padding-top: 0; }
body.home .hero .kicker { color: var(--champ); }
body.home .hero .kicker::before { background: var(--champ); }
.reveal-line { overflow: hidden; display: block; }
.reveal-line > span { display: block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.hero.vis .reveal-line > span { transform: none; }
.hero.vis .reveal-line:nth-child(2) > span { transition-delay: .12s; }
body.home .hero h1 { font-size: clamp(2.8rem, 7.4vw, 6.2rem); font-weight: 500; margin-top: 26px; max-width: 16ch; line-height: 1.02; }
body.home .hero h1 i { font-style: italic; color: var(--champ); font-weight: 400; }
.hero .lede { margin-top: 30px; max-width: 54ch; font-size: 1.08rem; color: rgba(255,255,255,.82); font-weight: 300; opacity: 0; transform: translateY(20px); transition: 1s var(--ease) .5s; }
.hero.vis .lede { opacity: 1; transform: none; }
.hero-meta { display: flex; gap: 26px; margin-top: 26px; flex-wrap: wrap; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); opacity: 0; transition: 1s var(--ease) .7s; }
.hero.vis .hero-meta { opacity: 1; }
.hero-meta span { display: flex; align-items: center; gap: 10px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; background: var(--brass); border-radius: 50%; }
.hero-cta { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; opacity: 0; transform: translateY(20px); transition: 1s var(--ease) .8s; }
.hero.vis .hero-cta { opacity: 1; transform: none; }

/* Boutons home */
.h-btn { display: inline-flex; align-items: center; gap: .7em; padding: 16px 30px; border-radius: 2px; font-family: var(--ui); font-size: .86rem; font-weight: 500; letter-spacing: .04em; cursor: pointer; border: 1px solid transparent; transition: .3s var(--ease); text-decoration: none; }
.h-btn-brass { background: var(--brass); color: #0B0D14; }
.h-btn-brass:hover { background: var(--champ); transform: translateY(-2px); }
.h-btn-line { border-color: rgba(255,255,255,.45); color: #fff; }
.h-btn-line:hover { border-color: var(--champ); color: var(--champ); }
.h-btn-ink { background: var(--ink); color: #fff; }
.h-btn-ink:hover { background: var(--navy); transform: translateY(-2px); }

/* STRIP (4 stats) */
.strip { position: relative; z-index: 8; margin-top: -1px; background: var(--ink-2); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.strip .wrap { display: grid; grid-template-columns: repeat(4,1fr); max-width: 1200px; }
.strip .cell { padding: 38px 30px; border-right: 1px solid rgba(255,255,255,.08); }
.strip .cell:last-child { border-right: 0; }
.strip .n { font-family: var(--disp); font-size: 2.7rem; font-weight: 500; color: var(--champ); line-height: 1; }
.strip .l { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 10px; }

/* SECTIONS */
section.block { padding: 130px 0; position: relative; }
section.block .wrap { max-width: 1200px; }
.paper { background: var(--paper); }
.paper-2-bg { background: var(--paper-2); }
.dark { background: var(--ink); color: #fff; }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.chapter { display: flex; align-items: baseline; gap: 22px; margin-bottom: 14px; }
.chapter .num { font-family: var(--disp); font-style: italic; font-size: 1.4rem; color: var(--brass); }
.chapter .rule { flex: 1; height: 1px; background: var(--line); max-width: 120px; }
.dark .chapter .rule { background: rgba(255,255,255,.18); }
.head { max-width: 50ch; }
.head h2 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); font-weight: 500; margin-top: 8px; }
.head p { margin-top: 20px; color: var(--slate); font-size: 1.06rem; max-width: 46ch; }
.dark .head p { color: rgba(255,255,255,.7); }

/* Section "Vous" — 3 cartes audience */
.grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 60px; background: var(--line); border: 1px solid var(--line); }
.bcard { background: var(--paper); padding: 42px 34px; transition: .4s var(--ease); position: relative; }
.bcard:hover { background: var(--paper-2); }
.bcard .ic { width: 30px; height: 30px; color: var(--brass); margin-bottom: 24px; font-size: 1.5rem; }
.bcard h3 { font-size: 1.5rem; font-weight: 500; }
.bcard p { margin-top: 12px; color: var(--slate); font-size: .96rem; }
.bcard .gain { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
.bcard .gain::before { content: "→"; color: var(--brass); }

/* Section "Moi" — portrait + bio */
.moi-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; margin-top: 24px; }
.portrait { position: relative; }
.portrait-frame { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--navy); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2) contrast(1.02); }
.portrait .edge { position: absolute; inset: 16px; border: 1px solid rgba(228,199,126,.45); pointer-events: none; }
.portrait figcaption { margin-top: 22px; font-family: var(--disp); font-style: italic; font-size: 1.28rem; line-height: 1.35; color: rgba(255,255,255,.92); border-left: 2px solid var(--brass); padding-left: 18px; }
.moi-body .kicker { color: var(--champ); }
.moi-body .kicker::before { background: var(--champ); }
.moi-body h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); margin-top: 16px; }
.moi-lead { margin-top: 22px; color: rgba(255,255,255,.82); font-size: 1.06rem; font-weight: 300; }
.creds { margin-top: 30px; }
.cred { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.14); align-items: start; }
.cred:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.cred .k { font-family: var(--disp); font-style: italic; font-size: 1.3rem; color: var(--brass); }
.cred strong { display: block; color: #fff; font-weight: 500; font-size: 1.04rem; }
.cred span { color: rgba(255,255,255,.62); font-size: .92rem; }
.pull { margin-top: 34px; padding: 24px 28px; border-left: 2px solid var(--brass); font-family: var(--disp); font-style: italic; font-size: 1.45rem; line-height: 1.3; color: #fff; }
.refs { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 44px; }
.ref { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); padding: 26px 24px; transition: .35s var(--ease); }
.ref:hover { background: rgba(255,255,255,.08); border-color: var(--brass); transform: translateY(-4px); }
.ref .nm { font-family: var(--disp); font-size: 1.35rem; color: #fff; }
.ref .ds { color: rgba(255,255,255,.6); font-size: .86rem; margin-top: 8px; }
.ref .go { margin-top: 16px; color: var(--champ); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }

/* Section "Nous" — liste services + cockpit */
.nous-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; margin-top: 54px; align-items: center; }
.nlist { display: flex; flex-direction: column; }
.nrow { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line); align-items: start; }
.nrow:last-child { border-bottom: 1px solid var(--line); }
.nrow .ltr { font-family: var(--disp); font-style: italic; font-size: 1.5rem; color: var(--brass); }
.nrow h4 { font-size: 1.3rem; font-weight: 500; }
.nrow p { color: var(--slate); font-size: .96rem; margin-top: 4px; }
.cockpit { background: var(--ink); color: #fff; padding: 40px; }
.cockpit h4 { font-size: 1.5rem; color: #fff; }
.cockmini { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); }
.cockmini .s { background: var(--ink); padding: 18px 20px; }
.cockmini b { font-family: var(--disp); font-size: 1.8rem; color: var(--champ); display: block; line-height: 1; }
.cockmini span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 6px; display: block; }
.meter { margin-top: 24px; }
.meter .lab { display: flex; justify-content: space-between; font-size: .78rem; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.h-bar { height: 5px; background: rgba(255,255,255,.12); overflow: hidden; }
.h-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brass), var(--champ)); transition: width 1.5s var(--ease); }

/* Formations */
.train { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 54px; background: var(--line); border: 1px solid var(--line); }
.tcard { background: var(--paper); padding: 38px 32px; transition: .35s var(--ease); }
.tcard:hover { background: var(--paper-2); }
.tcard .tag { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.tcard h3 { font-size: 1.55rem; margin-top: 14px; font-weight: 500; }
.tcard p { color: var(--slate); margin-top: 10px; font-size: .94rem; }
.tcard ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.tcard li { font-size: .88rem; color: var(--ink); padding-left: 20px; position: relative; }
.tcard li::before { content: "—"; position: absolute; left: 0; color: var(--brass); }

/* Audit */
.audit { background: var(--ink); color: #fff; padding: 60px; margin-top: 30px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; }
.audit h3 { color: #fff; font-size: 2.2rem; font-weight: 500; }
.audit p { color: rgba(255,255,255,.8); margin-top: 14px; font-weight: 300; }
.audit .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.audit .chips span { font-size: .76rem; border: 1px solid rgba(255,255,255,.24); padding: 7px 14px; }
.audit-box { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); padding: 8px 30px; }
.lvl { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.lvl:last-child { border-bottom: 0; }
.led { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.led.g { background: #36c98a; box-shadow: 0 0 10px #36c98a; }
.led.o { background: var(--champ); box-shadow: 0 0 10px var(--champ); }
.led.r { background: #e06b6b; box-shadow: 0 0 10px #e06b6b; }
.lvl b { color: #fff; font-weight: 500; font-size: .92rem; }
.lvl span { color: rgba(255,255,255,.6); font-size: .82rem; margin-left: auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; margin-top: 50px; align-items: start; }
.contact-left p { color: rgba(255,255,255,.78); font-weight: 300; margin-top: 20px; }
.channel { display: flex; gap: 16px; align-items: baseline; margin-top: 22px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.channel b { font-family: var(--disp); font-style: italic; font-size: 1.05rem; color: var(--champ); min-width: 9ch; }
.channel span { color: rgba(255,255,255,.85); }
form.req { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); padding: 38px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1/-1; }
.field label { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.field input, .field select, .field textarea { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); padding: 13px 15px; color: #fff; font-family: var(--ui); font-size: .94rem; border-radius: 2px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); }
.field select option { color: var(--ink-2); }
.needs { display: flex; flex-wrap: wrap; gap: 8px; }
.needs label { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); padding: 9px 14px; font-size: .82rem; cursor: pointer; color: rgba(255,255,255,.85); letter-spacing: 0; text-transform: none; }
.needs input { accent-color: var(--brass); }
form.req .h-btn { margin-top: 6px; width: 100%; justify-content: center; }
.form-msg { margin-top: 14px; font-size: .86rem; color: var(--champ); text-align: center; display: none; }
.form-msg.show { display: block; }
.consent { font-size: .74rem; color: rgba(255,255,255,.5); margin-top: 14px; line-height: 1.55; }

/* Mentions légales */
.legal { background: var(--paper-2); padding: 80px 0; border-top: 1px solid var(--line); }
.legal h2 { font-size: 1.7rem; font-weight: 500; }
.legal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin-top: 34px; }
.legal-col h4 { font-family: var(--ui); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-weight: 600; margin-bottom: 12px; }
.legal-col p { font-size: .86rem; color: var(--ink-70); line-height: 1.7; }
.legal-col p b { color: var(--ink); font-weight: 600; }
.legal-col a { color: var(--ink); border-bottom: 1px solid var(--brass); }

/* Footer */
footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 72px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; }
.foot-brand .brand { font-size: 1.9rem; color: #fff; font-family: var(--disp); font-weight: 600; letter-spacing: .05em; }
.foot-brand .brand b { color: var(--brass); }
.foot-brand p { margin-top: 16px; font-size: .9rem; max-width: 36ch; }
.foot-brand .ct { margin-top: 14px; font-size: .9rem; }
.foot-brand .ct a { color: var(--champ); }
.foot-brand .ct a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.18); border-radius: 4px; color: rgba(255,255,255,.55); transition: .25s; display: flex; align-items: center; justify-content: center; }
.socials a:hover { color: var(--champ); border-color: var(--brass); }
.foot-col h5 { color: #fff; font-family: var(--disp); font-size: 1.15rem; margin-bottom: 14px; font-weight: 500; }
.foot-col a { display: block; font-size: .88rem; padding: 6px 0; opacity: .78; transition: .25s; color: rgba(255,255,255,.65); }
.foot-col a:hover { opacity: 1; color: var(--champ); }
.foot-bottom { margin-top: 54px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .76rem; opacity: .55; }

/* Reveal au scroll */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.vis { opacity: 1; transform: none; }

/* Mobile menu overlay */
.mobile-menu { position: fixed; inset: 0; background: var(--ink); z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; transform: translateY(-100%); transition: .5s var(--ease); visibility: hidden; }
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu a { color: #fff; font-family: var(--disp); font-size: 1.9rem; text-decoration: none; }
.mobile-menu .close { position: absolute; top: 26px; right: 30px; font-size: 2rem; color: #fff; background: none; border: 0; cursor: pointer; }

/* Responsive home */
@media (max-width: 980px) {
  .moi-grid, .nous-grid, .audit, .contact-grid { grid-template-columns: 1fr; }
  .grid3, .train { grid-template-columns: 1fr 1fr; }
  .refs, .legal-grid { grid-template-columns: 1fr; }
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .strip .cell:nth-child(2) { border-right: 0; }
  .portrait { max-width: 440px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body.home nav.links { display: none; }
  .burger { display: flex; }
  .grid3, .train, .foot-grid { grid-template-columns: 1fr; }
  .strip .wrap { grid-template-columns: 1fr; }
  .strip .cell { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  section.block { padding: 90px 0; }
  .audit { padding: 36px; }
  .frow { grid-template-columns: 1fr; }
}

/* ARCHITECTE IA — rôles + flux + réalisations */
.roles { display: flex; flex-wrap: wrap; gap: 0 6px; align-items: center; margin: 0 0 38px; }
.roles span { font-family: var(--disp); font-style: italic; font-size: 1.3rem; color: var(--champ); }
.roles i { color: rgba(255,255,255,.3); font-style: normal; }
.flow { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 8px; }
.flow-step { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 24px; }
.flow-step .fn { font-family: var(--disp); font-style: italic; color: var(--brass); font-size: 1.1rem; }
.flow-step h4 { color: #fff; font-size: 1.18rem; font-weight: 500; margin-top: 8px; }
.flow-step p { color: rgba(255,255,255,.66); font-size: .86rem; margin-top: 6px; }
.builds { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; overflow: hidden; }
.build { background: var(--ink); padding: 24px; transition: .3s var(--ease); display: block; text-decoration: none; }
.build:hover { background: var(--ink-2); }
.build .bn { font-family: var(--disp); font-size: 1.3rem; color: #fff; }
.build .bd { color: rgba(255,255,255,.62); font-size: .86rem; margin-top: 6px; }
.build .bt { color: var(--champ); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 12px; display: inline-block; }

/* EMPREINTE — plateforme */
.platform { text-align: center; position: relative; overflow: hidden; }
.platform .wrap { max-width: 980px; }
.plat-badge { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--champ); border: 1px solid rgba(228,199,126,.4); padding: 8px 18px; border-radius: 2px; display: inline-block; }
.platform h2 { font-size: clamp(3rem,9vw,6.5rem); color: #fff; margin-top: 26px; letter-spacing: .06em; font-weight: 500; }
.platform .plat-tag { color: rgba(255,255,255,.78); font-size: 1.12rem; margin-top: 18px; font-weight: 300; max-width: 60ch; margin-inline: auto; }
.feats { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; margin-top: 54px; text-align: left; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); }
.feat { background: var(--ink); padding: 32px 34px; transition: .35s var(--ease); }
.feat:hover { background: var(--ink-2); }
.feat h4 { font-size: 1.35rem; color: #fff; font-weight: 500; }
.feat p { color: rgba(255,255,255,.66); font-size: .94rem; margin-top: 8px; }
.feat .fb { color: var(--champ); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 16px; display: inline-block; }

/* DEMO — profiling client */
.demo-shell { display: grid; grid-template-columns: .82fr 1.18fr; gap: 50px; align-items: stretch; margin-top: 56px; }
.demo-intro h3 { font-size: 1.9rem; font-weight: 500; }
.demo-intro p { color: var(--slate); margin-top: 14px; }
.scale { margin-top: 28px; }
.scale > label { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-weight: 600; margin-bottom: 12px; }
.scale-opts { display: flex; flex-direction: column; gap: 8px; }
.scale-opts button { text-align: left; padding: 15px 20px; border: 1px solid var(--line); background: var(--paper-2); font-family: var(--ui); font-size: .92rem; cursor: pointer; transition: .25s var(--ease); color: var(--ink); border-radius: 2px; }
.scale-opts button:hover { border-color: var(--brass); }
.scale-opts button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.scale-opts button small { display: block; color: var(--slate); font-size: .78rem; margin-top: 3px; }
.scale-opts button.active small { color: rgba(255,255,255,.6); }
.dept-input { margin-top: 10px; width: 100%; padding: 13px 16px; border: 1px solid var(--line); font-family: var(--ui); font-size: .92rem; border-radius: 2px; display: none; }
.dept-input.show { display: block; }
.demo-note { margin-top: 20px; font-size: .78rem; color: var(--slate); }
.stage { position: relative; background: var(--ink); min-height: 540px; display: flex; flex-direction: column; overflow: hidden; }
.stage-top { padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); }
.stage-top .t { font-family: var(--disp); font-size: 1.2rem; }
.d-dots { display: flex; gap: 6px; }
.d-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.25); transition: .3s; display: inline-block; }
.d-dots i.on { background: var(--champ); transform: scale(1.4); }
.card-area { flex: 1; position: relative; display: grid; place-items: center; padding: 26px; }
.swipe-card { position: absolute; width: min(86%,360px); background: var(--paper-2); overflow: hidden; box-shadow: 0 40px 80px -24px rgba(0,0,0,.6); cursor: grab; }
.swipe-card .simg { height: 212px; background-size: cover; background-position: center; }
.swipe-card .sq { padding: 24px 26px; }
.swipe-card .sq h4 { font-size: 1.5rem; color: var(--ink); font-weight: 500; line-height: 1.08; }
.swipe-card .sq p { color: var(--slate); font-size: .86rem; margin-top: 8px; }
.s-verdict { position: absolute; top: 18px; font-family: var(--disp); font-size: 1.5rem; font-weight: 600; padding: 5px 16px; opacity: 0; transition: .12s; }
.s-verdict.yes { right: 18px; border: 2px solid #2c9e6f; color: #2c9e6f; transform: rotate(10deg); }
.s-verdict.no { left: 18px; border: 2px solid #c25b5b; color: #c25b5b; transform: rotate(-10deg); }
.d-controls { display: flex; gap: 18px; justify-content: center; align-items: center; padding: 18px 0 28px; }
.d-controls button { width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; font-size: 1.3rem; display: grid; place-items: center; transition: .25s var(--ease); }
.sw-no { background: var(--paper-2); color: #c25b5b; }
.sw-yes { background: var(--brass); color: #0B0D14; }
.d-controls button:hover { transform: scale(1.12); }
.d-controls .dlab { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.voice-step { position: absolute; inset: 0; background: var(--ink); display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 44px; color: #fff; }
.voice-step.show { display: flex; }
.voice-step h4 { font-size: 1.7rem; color: #fff; max-width: 20ch; }
.voice-step p { color: rgba(255,255,255,.68); margin-top: 10px; font-size: .9rem; }
.mic { width: 86px; height: 86px; border-radius: 50%; background: var(--brass); border: 0; color: #0B0D14; font-size: 1.9rem; margin: 28px 0 8px; cursor: pointer; display: grid; place-items: center; position: relative; transition: .25s var(--ease); }
.mic:hover { transform: scale(1.06); }
.mic.rec { background: #c25b5b; color: #fff; }
.mic.rec::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(194,91,91,.5); animation: mic-pulse 1.2s ease-out infinite; }
@keyframes mic-pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.45); opacity: 0; } }
.voice-txt { margin-top: 8px; width: 100%; max-width: 340px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); color: #fff; font-family: var(--ui); padding: 13px 14px; font-size: .94rem; resize: none; border-radius: 2px; }
.voice-step .vrow { margin-top: 18px; }
.result-step { position: absolute; inset: 0; background: linear-gradient(165deg,var(--navy),var(--ink)); display: none; flex-direction: column; padding: 38px; color: #fff; overflow: auto; }
.result-step.show { display: flex; }
.result-step .arche { font-family: var(--ui); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--champ); }
.result-step h3 { color: #fff; font-size: 2.3rem; margin-top: 8px; font-weight: 500; line-height: 1.04; }
.result-step .rdesc { color: rgba(255,255,255,.82); font-size: .96rem; margin-top: 14px; font-weight: 300; }
.places { margin-top: 22px; display: flex; flex-direction: column; gap: 9px; }
.place { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); padding: 15px 18px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.place .pnm { font-family: var(--disp); font-size: 1.25rem; color: #fff; }
.place .pwhy { color: rgba(255,255,255,.6); font-size: .8rem; margin-top: 2px; }
.place .pmatch { font-family: var(--disp); font-size: 1.4rem; color: var(--champ); }
.restart { margin-top: 24px; align-self: flex-start; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; padding: 12px 24px; cursor: pointer; font-family: var(--ui); font-size: .82rem; border-radius: 2px; transition: .25s; }
.restart:hover { border-color: var(--champ); color: var(--champ); }

/* MON ALBERT */
.albert-card { margin-top: 50px; display: grid; grid-template-columns: 1.05fr .95fr; border: 1px solid var(--line); }
.albert-side { background: linear-gradient(160deg,var(--navy),var(--ink)); color: #fff; padding: 54px; }
.albert-side .pin { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--champ); }
.albert-side h3 { color: #fff; font-size: 2.3rem; margin-top: 14px; font-weight: 500; }
.albert-side p { color: rgba(255,255,255,.8); margin-top: 16px; font-weight: 300; }
.albert-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.albert-tags span { font-size: .74rem; border: 1px solid rgba(255,255,255,.24); padding: 7px 14px; color: rgba(255,255,255,.85); }
.albert-buy { padding: 54px; background: var(--paper-2); display: flex; flex-direction: column; justify-content: center; }
.albert-buy .aprice { font-family: var(--disp); font-size: 1.1rem; color: var(--slate); }
.albert-buy .atrial { font-family: var(--disp); font-size: 3rem; color: var(--ink); line-height: 1; margin: 6px 0 4px; }
.albert-buy ul { list-style: none; margin: 20px 0; display: flex; flex-direction: column; gap: 13px; }
.albert-buy li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink); }
.albert-buy li::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; background: var(--brass); margin-top: 8px; }
.albert-buy small { color: var(--slate); font-size: .78rem; margin-top: 10px; }

/* Responsive — nouvelles sections */
@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .builds { grid-template-columns: 1fr 1fr; }
  .feats { grid-template-columns: 1fr; }
  .demo-shell { grid-template-columns: 1fr; }
  .albert-card { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .flow, .builds { grid-template-columns: 1fr; }
  .albert-side, .albert-buy { padding: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .lede, .hero-cta, .hero-meta { opacity: 1; transform: none; transition: none; }
  .reveal-line > span { transform: none; transition: none; }
  * { animation-duration: .01ms !important; }
}
