/* Lodia — site v3 (02/11/2026). Direction : « registre du gérant » poussé vers l'édition haut de gamme.
   Papier gris-vert, encre d'ardoise, bleu de Prusse pour agir, laiton pour l'IA. Cartes à double cadre, grands titres
   Schibsted serrés, sections aérées, mouvement court (transform/opacity seulement), mouvement réduit respecté. */
.v3 {
  --ease-out: cubic-bezier(.23, 1, .32, 1); --ease-io: cubic-bezier(.77, 0, .175, 1); --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --shell: color-mix(in srgb, var(--text) 4%, transparent); --shell-line: color-mix(in srgb, var(--text) 8%, transparent);
  --dark-bg: #0e1517; --dark-2: #151e21; --dark-3: #1b272b; --dark-text: #e6eef0; --dark-2text: #adbdc2; --dark-brass: #e4b95e;
  --wrap: 1200px; --gutter: 16px;
  background: var(--bg); color: var(--text); overflow-x: clip;
}
@media (min-width: 768px) { .v3 { --gutter: 32px; } }
.v3 main { display: block; }
.wrap-x { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.v3 .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.v3 h1, .v3 h2, .v3 h3 { font-family: var(--font-display); letter-spacing: -.03em; text-wrap: balance; color: var(--text); }
.v3 p { text-wrap: pretty; }
:where(.v3) a { color: var(--brand-text); }
.v3 .num { font-variant-numeric: tabular-nums; }

/* ---------- En-tête flottant ---------- */
.s-header { position: sticky; top: 0; z-index: 30; padding: 10px var(--gutter) 0; pointer-events: none; }
.s-bar { pointer-events: auto; max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 6px 6px 6px 18px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--shell-line); box-shadow: 0 8px 30px rgba(20, 34, 42, .06);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.s-bar .logo { min-height: 44px; font-size: 1.3rem; }
.s-nav { display: none; gap: 2px; margin-left: 12px; }
.s-nav a { padding: 8px 12px; border-radius: 999px; font: 500 .9375rem/1 var(--font-sans); color: var(--text-2); text-decoration: none; transition: color .2s ease, background-color .2s ease; }
.s-nav a[aria-current="page"] { color: var(--text); background: var(--shell); }
@media (hover: hover) and (pointer: fine) { .s-nav a:hover { color: var(--text); background: var(--shell); } }
.s-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.s-login { display: none; padding: 10px 14px; font: 500 .9375rem/1 var(--font-sans); color: var(--text); text-decoration: none; }
.s-burger { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--shell-line); background: var(--surface); position: relative; cursor: pointer; }
.s-burger span { position: absolute; left: 13px; right: 13px; height: 1.75px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease-out); }
.s-burger span:first-child { top: 17px; } .s-burger span:last-child { top: 25px; }
.s-menu { inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: 88px 24px 32px; background: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); flex-direction: column; gap: 24px; }
.s-menu:popover-open { display: flex; }
.s-menu nav { display: flex; flex-direction: column; }
.s-menu nav a { font: 700 2rem/1.2 var(--font-display); letter-spacing: -.03em; color: var(--text); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line);
  animation: menu-in .5s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms + 60ms); }
@keyframes menu-in { from { opacity: 0; transform: translateY(18px); } }
@media (min-width: 1000px) { .s-nav, .s-login { display: inline-flex; } .s-burger { display: none; } }
@media (max-width: 420px) { .s-actions .pill-cta { display: none; } }
.s-ribbon { margin: 10px auto 0; max-width: max-content; padding: 6px 14px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font: 500 .8125rem/1.3 var(--font-sans); text-align: center; }

/* ---------- Boutons pilule avec icône imbriquée ---------- */
.pill-cta { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 6px 6px 22px; border-radius: 999px; background: var(--brand); color: var(--brand-ink) !important;
  font: 600 1rem/1 var(--font-sans); text-decoration: none; box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 10px 24px -10px color-mix(in srgb, var(--brand) 70%, transparent);
  transition: transform .16s var(--ease-out), background-color .2s ease; }
.pill-cta i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: rgba(255, 255, 255, .16); transition: transform .3s var(--ease-out); }
.pill-cta:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .pill-cta:hover { background: var(--brand-hover); } .pill-cta:hover i { transform: translateX(3px) scale(1.05); } }
.pill-sm { min-height: 44px; padding: 4px 4px 4px 16px; font-size: .9375rem; } .pill-sm i { width: 36px; height: 36px; }

/* ---------- Héros ---------- */
.hero3 { position: relative; padding: 48px 0 40px; isolation: isolate; overflow-x: clip; }
.hero-bg { position: absolute; inset: -80px 0 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.o1 { width: 520px; height: 520px; right: -120px; top: -60px; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 32%, transparent), transparent 70%); }
.o2 { width: 420px; height: 420px; left: -160px; top: 220px; background: radial-gradient(circle, color-mix(in srgb, #c9a24a 30%, transparent), transparent 70%); }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(var(--shell-line) 1px, transparent 1px), linear-gradient(90deg, var(--shell-line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%); opacity: .7; }
.hero3-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hero3 { padding: 72px 0 64px; } .hero3-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid var(--ai-line); background: var(--ai-soft); color: var(--ai);
  font: 600 .8125rem/1.2 var(--font-sans); letter-spacing: .01em; margin: 0 0 22px; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0; animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { 0% { opacity: .7; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.6); } }
.hero3 h1 { font-size: clamp(2.35rem, 7.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.045em; margin: 0 0 22px; font-weight: 800; }
.hero3 h1 span { display: block; }
.hero3 h1 em { font-style: normal; color: var(--brand-text); background: linear-gradient(90deg, var(--brand-text), color-mix(in srgb, var(--brand-text) 55%, var(--ai))); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero3 h1 .l3 { color: var(--text-2); }
.lede { font-size: clamp(1.0625rem, 2.2vw, 1.25rem); line-height: 1.55; color: var(--text-2); max-width: 34em; margin: 0 0 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.play-link { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font: 600 1rem/1 var(--font-sans); color: var(--text) !important; text-decoration: none; }
.play-link small { color: var(--text-3); font-weight: 500; }
.play { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--shell-line); background: var(--surface); color: var(--brand-text); box-shadow: var(--shadow-1); transition: transform .16s var(--ease-out); }
.play-link:active .play { transform: scale(.94); }
.fine { margin: 22px 0 0; font-size: .875rem; color: var(--text-3); }
.hero3-copy > * { animation: rise .9s var(--ease-out) both; }
.hero3-copy > :nth-child(2) { animation-delay: 60ms; } .hero3-copy > :nth-child(3) { animation-delay: 120ms; } .hero3-copy > :nth-child(4) { animation-delay: 180ms; } .hero3-copy > :nth-child(5) { animation-delay: 240ms; }
.hero3-demo { animation: rise 1s var(--ease-out) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
/* le H1 (élément LCP) n'est pas masqué au chargement */
.hero3-copy > h1 { animation-name: rise-soft; } @keyframes rise-soft { from { transform: translateY(10px); } }

/* ---------- Démonstration (double cadre) ---------- */
.demo-shell { padding: 7px; border-radius: 28px; background: var(--shell); border: 1px solid var(--shell-line); box-shadow: 0 40px 80px -40px rgba(20, 34, 42, .35); }
.demo-core { position: relative; border-radius: 22px; background: var(--surface); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); padding: 14px 14px 18px; overflow: hidden; min-height: 470px; }
@media (min-width: 480px) { .demo-core { padding: 16px 20px 20px; } }
.demo-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dots { display: inline-flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }
.demo-live { display: inline-flex; align-items: center; gap: 8px; font: 600 .75rem/1 var(--font-sans); color: var(--ok); }
.demo-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); margin-bottom: 16px; }
.demo-tabs button { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 52px; padding: 8px 10px; border: 0; border-radius: 10px; background: none; color: var(--text-2);
  font: 600 .8125rem/1.2 var(--font-sans); text-align: left; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .16s var(--ease-out); }
.demo-tabs button:active { transform: scale(.97); }
.demo-tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }
.tab-n { font: 600 .6875rem/1 var(--font-mono); color: var(--text-3); }
.tab-bar { position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; }
[data-demo].is-auto button[aria-selected="true"] .tab-bar { animation: tabbar var(--dwell, 7s) linear both; }
[data-demo].is-paused button[aria-selected="true"] .tab-bar { animation-play-state: paused; }
@keyframes tabbar { to { transform: scaleX(1); } }
.scene { display: block; }
.scene[hidden] { display: none; }
.scene-title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 600 .875rem/1.3 var(--font-sans); color: var(--text-2); }
.scene-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.fake-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); font: 600 .8125rem/1 var(--font-sans); }
.fake-btn.ai { background: var(--ai); color: #fff; }
:root[data-theme="sombre-desactive"] .fake-btn.ai { color: #1a1206; }
@media not all /* thème sombre désactivé : Lodia est en clair */ { :root:not([data-theme="light"]) .fake-btn.ai { color: #1a1206; } }
.chip { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font: 600 .75rem/1.3 var(--font-sans); white-space: nowrap; }
.chip.ok { background: var(--ok-soft); color: var(--ok); } .chip.warn { background: var(--warn-soft); color: var(--warn); } .chip.risk { background: var(--risk-soft); color: var(--risk); }
/* scène 1 : tri */
.dossiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dossiers li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.doc-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-text); }
.doc-main { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.doc-main b { font-size: .9375rem; } .doc-main small { color: var(--text-3); font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scan { position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: linear-gradient(90deg, transparent, var(--ai), transparent); transform: scaleX(0); transform-origin: left; }
.doc-res { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; } .doc-res small { font-size: .75rem; color: var(--text-3); }
.ai-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--ai-soft); border: 1px solid var(--ai-line); color: var(--text); }
.ai-note p { margin: 0; font-size: .8125rem; line-height: 1.45; } .ai-note .key { color: var(--ai); }
.is-active[data-panel="tri"] .dossiers li { animation: rise .6s var(--ease-out) both; animation-delay: calc(var(--i) * 110ms); }
.is-active[data-panel="tri"] .scan { animation: scan 1s var(--ease-io) both; animation-delay: calc(var(--i) * 420ms + 300ms); }
.is-active[data-panel="tri"] .doc-res { animation: pop .45s var(--ease-out) both; animation-delay: calc(var(--i) * 420ms + 1150ms); }
.is-active[data-panel="tri"] .ai-note { animation: rise .6s var(--ease-out) both 2.9s; }
@keyframes scan { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.9) translateX(6px); } }
/* scène 2 : bail */
.paper { position: relative; padding: 16px 16px 10px; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(var(--surface), var(--surface-2)); }
.ligne { margin: 0 0 9px; font: 500 .8125rem/1.45 var(--font-sans); color: var(--text); clip-path: inset(0 0 0 0); }
.is-active[data-panel="bail"] .ligne { animation: write .9s steps(28, end) both; animation-delay: calc(var(--i) * .75s + .2s); }
@keyframes write { from { clip-path: inset(0 100% 0 0); } }
.caret { display: none; }
.ai-card { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--ai-soft); border: 1px solid var(--ai-line); }
.ai-card p { margin: 0 0 10px; font-size: .8125rem; line-height: 1.45; } .ai-card .ai-head { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ai); margin-bottom: 4px; }
.is-active[data-panel="bail"] .ai-card { animation: rise .6s var(--ease-out) both 4s; }
.check-line { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; font: 600 .8125rem/1.3 var(--font-sans); }
.box { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line-strong); color: transparent; transition: background-color .2s, color .2s; }
.is-active[data-panel="bail"] .box { animation: tick .3s var(--ease-out) both 5.4s; }
@keyframes tick { to { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); } }
/* scène 3 : révision */
.formula { display: flex; align-items: stretch; flex-wrap: wrap; gap: 8px; }
.f-cell { flex: 1 1 80px; display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); }
.f-cell small { font-size: .75rem; color: var(--text-3); } .f-cell b { font: 700 1.125rem/1 var(--font-display); letter-spacing: -.02em; }
.op { align-self: center; font: 600 1.125rem/1 var(--font-sans); color: var(--text-3); }
.is-active[data-panel="irl"] .f-cell { animation: rise .5s var(--ease-out) both; } .is-active[data-panel="irl"] .f-cell:nth-of-type(2) { animation-delay: .25s; } .is-active[data-panel="irl"] .f-cell:nth-of-type(3) { animation-delay: .5s; }
.result { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 16px 0 6px; }
.result small { width: 100%; font-size: .8125rem; color: var(--text-3); } .result b { font: 800 2.5rem/1 var(--font-display); letter-spacing: -.04em; }
.spark { width: 100%; height: 64px; display: block; margin: 4px 0 8px; }
.spark-line { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.spark-dot { fill: var(--ai); }
.is-active[data-panel="irl"] .spark-line { animation: draw 1.6s var(--ease-io) both .8s; }
.is-active[data-panel="irl"] .spark-dot { animation: pop .4s var(--ease-out) both 2.3s; }
@keyframes draw { from { stroke-dashoffset: 1; } }
.scene .small .ico { vertical-align: -2px; }

/* ---------- Preuves ---------- */
.proofs3 { padding: 8px 0 24px; }
.proofs3 ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.proofs3 li { display: flex; gap: 12px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.proofs3 li .ico { color: var(--brand-text); flex: none; margin-top: 2px; } .proofs3 b { display: block; margin-bottom: 2px; } .proofs3 span { font-size: .9375rem; color: var(--text-2); }

/* ---------- Sections ---------- */
.sec { padding: 72px 0; }
@media (min-width: 900px) { .sec { padding: 112px 0; } }
.soft-sec { background: var(--surface-2); }
.sec-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-head h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.06; margin: 10px 0 14px; font-weight: 800; }
.sec-head p { font-size: 1.0625rem; color: var(--text-2); margin: 0; line-height: 1.55; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-text); font: 700 .6875rem/1.2 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; }
.tag-ai { background: var(--ai-soft); color: var(--ai); }
.center { text-align: center; margin-top: 32px; }

/* vidéo */
.video-shell { max-width: 1040px; margin: 0 auto; padding: 7px; border-radius: 28px; background: var(--shell); border: 1px solid var(--shell-line); }
.video-core { border-radius: 22px; overflow: hidden; background: #0e1517; aspect-ratio: 16 / 9; }
.video-core video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* agents (section sombre dans les deux thèmes) */
.dark-sec { background: var(--dark-bg); color: var(--dark-text); --text: var(--dark-text); --text-2: var(--dark-2text); --text-3: #93a4a9; --line: #253337; --surface: var(--dark-2); --surface-2: var(--dark-3); --ai: var(--dark-brass); --ai-soft: #2a2312; --ai-line: #5a4a22; --brand-text: #8ac8dc; --brand-soft: #18343e; --ok: #7fcf98; }
.dark-sec .sec-head p { color: var(--dark-2text); }
.agents-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .agents-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; } }
.agents { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.agents li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; background: var(--dark-2); border: 1px solid #253337; }
.agents b { font: 700 1.0625rem/1.2 var(--font-display); } .agents li > span:not(.ag-ico):not(.ag-state) { font-size: .9375rem; color: var(--dark-2text); line-height: 1.45; }
.ag-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #2a2312; color: var(--dark-brass); margin-bottom: 6px; }
.ag-state { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font: 600 .75rem/1 var(--font-sans); color: #7fcf98; }
.journal { margin-top: 32px; border-radius: 18px; border: 1px solid #253337; background: #0b1113; padding: 16px 18px; font-family: var(--font-mono); }
.journal-t { margin: 0 0 10px; font: 600 .75rem/1 var(--font-sans); color: var(--dark-2text); letter-spacing: .1em; text-transform: uppercase; }
.journal ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.journal li { display: grid; grid-template-columns: 48px 1fr; gap: 2px 12px; font-size: .8125rem; line-height: 1.45; color: var(--dark-2text); }
.journal time { color: var(--dark-brass); grid-row: span 2; } .journal b { color: var(--dark-text); font-family: var(--font-sans); }
.journal.in li { animation: rise .5s var(--ease-out) both; animation-delay: calc(var(--i) * 180ms + 200ms); }

/* méthode */
.methode { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .methode { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.methode li { padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.methode li:last-child { background: var(--brand); border-color: var(--brand); --text: var(--brand-ink); color: var(--brand-ink); }
.methode li:last-child p, .methode li:last-child .m-n { color: color-mix(in srgb, var(--brand-ink) 86%, transparent); }
.m-n { font: 600 .8125rem/1 var(--font-mono); color: var(--text-3); } .methode h3 { font-size: 1.5rem; margin: 18px 0 10px; } .methode p { margin: 0; color: var(--text-2); line-height: 1.55; }
.gardes { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.gardes li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--text-2); padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--line-2); }
.gardes .ico { color: var(--ok); flex: none; margin-top: 1px; }

/* bento produit */
.bento3 { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bento3 { grid-template-columns: repeat(6, 1fr); } .b-card { grid-column: span 2; } .b-card.wide { grid-column: span 3; } .b-card.full { grid-column: span 6; } .b-card.full .b-core { display: grid; grid-template-columns: 320px 1fr; column-gap: 32px; align-items: center; } .b-card.full .b-visual { grid-row: span 3; } }
@media (min-width: 700px) and (max-width: 999px) { .b-card.full { grid-column: span 2; } }
.b-card { display: block; padding: 6px; border-radius: 24px; background: var(--shell); border: 1px solid var(--shell-line); text-decoration: none; color: inherit !important; transition: transform .3s var(--ease-out); }
.b-core { height: 100%; padding: 22px; border-radius: 19px; background: var(--surface); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.b-card h3 { font-size: 1.25rem; margin: 16px 0 6px; } .b-card p { margin: 0 0 14px; color: var(--text-2); line-height: 1.5; font-size: .9375rem; }
.more { display: inline-flex; align-items: center; gap: 6px; font: 600 .875rem/1 var(--font-sans); color: var(--brand-text); }
.more .ico { transition: transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .b-card:hover { transform: translateY(-3px); } .b-card:hover .more .ico, .res:hover .more .ico { transform: translateX(3px); } }
.b-card:active { transform: scale(.985); }
.b-visual { height: 120px; border-radius: 14px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.b-visual svg { width: 100%; max-width: 280px; height: 100%; }
.b-visual rect, .b-visual circle { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.5; }
.b-visual .ok { fill: var(--ok-soft); stroke: var(--ok); } .b-visual .warn { fill: var(--warn-soft); stroke: var(--warn); } .b-visual .risk { fill: var(--risk-soft); stroke: var(--risk); }
.b-visual .hi { fill: var(--brand-soft); stroke: var(--brand); } .b-visual .v-paper { fill: var(--surface); }
.b-visual .v-lines rect { fill: var(--surface-3); stroke: none; } .b-visual .v-bars rect:not(.hi) { fill: var(--surface-3); stroke: none; }
.b-visual path { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; }
.b-visual .v-axis { stroke: var(--line-2); } .b-visual .v-flow { stroke: var(--ai); stroke-dasharray: 4 5; }
.b-visual .v-sign, .b-visual .v-trend { stroke-dasharray: 1; stroke-dashoffset: 0; }
.b-visual .v-shutter { fill: var(--brand); stroke: none; }
.reveal.in .b-visual .v-sign, .reveal.in .b-visual .v-trend { animation: draw 1.4s var(--ease-io) both .3s; }
.reveal.in .b-visual .v-flow { animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.reveal.in .b-visual .v-bars rect, .reveal.in .b-visual .v-sci rect { transform-box: fill-box; transform-origin: bottom; animation: grow .8s var(--ease-out) both; }
.reveal.in .b-visual .v-bars rect:nth-child(2), .reveal.in .b-visual .v-sci rect:nth-child(2) { animation-delay: .1s; } .reveal.in .b-visual .v-bars rect:nth-child(3), .reveal.in .b-visual .v-sci rect:nth-child(3) { animation-delay: .2s; } .reveal.in .b-visual .v-bars rect:nth-child(4) { animation-delay: .3s; }
@keyframes grow { from { transform: scaleY(.2); opacity: 0; } }
.reveal.in .b-visual .v-bins rect, .reveal.in .b-visual .v-pills rect { animation: pop .5s var(--ease-out) both; animation-delay: .6s; }

/* captures */
.captures { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .captures { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.steps3 { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.steps3 li { display: flex; gap: 14px; align-items: flex-start; } .steps3 b { display: block; margin-bottom: 2px; } .steps3 li > span:last-child { color: var(--text-2); font-size: .9375rem; line-height: 1.5; }
.step-n { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-text); font: 700 .875rem/1 var(--font-sans); }
.shots { position: relative; margin: 0; padding-bottom: 40px; }
.shot-desk { padding: 6px; border-radius: 20px; background: var(--shell); border: 1px solid var(--shell-line); }
.shot-desk img { display: block; width: 100%; height: auto; border-radius: 15px; }
.shot-mob { position: absolute; right: -4px; bottom: 0; width: 28%; min-width: 96px; padding: 5px; border-radius: 26px; background: var(--text); box-shadow: 0 30px 60px -20px rgba(20, 34, 42, .45); }
.shot-mob img { display: block; width: 100%; height: auto; border-radius: 21px; }
.reveal.in .shot-mob { animation: float-in 1s var(--ease-out) both .25s; }
@keyframes float-in { from { opacity: 0; transform: translateY(30px) rotate(2deg); } }

/* comparatif */
.compare { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.compare:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .9375rem; vertical-align: middle; }
.compare thead th { font: 700 .8125rem/1.2 var(--font-sans); color: var(--text-2); background: var(--surface-2); }
.compare th { text-transform: none; letter-spacing: 0; } .compare td, .compare tbody th { background: var(--surface); } .compare tbody th { font: 600 .9375rem/1.4 var(--font-sans); color: var(--text); } .compare tr:last-child > * { border-bottom: 0; }
.compare .us { background: color-mix(in srgb, var(--brand) 7%, var(--surface)); } .compare thead .us { color: var(--brand-text); }
.yes { color: var(--ok); display: inline-flex; } .no { color: var(--text-3); }

/* tarifs */
.plans3 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.plan3 { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.plan3.featured { border: 1.5px solid var(--brand); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--brand) 60%, transparent); }
.plan3 h3 { font-size: 1.25rem; margin: 0 0 10px; } .plan3 .amount { font: 800 2rem/1 var(--font-display); letter-spacing: -.035em; margin: 0 0 4px; } .plan3 .amount small { font: 500 .875rem/1 var(--font-sans); color: var(--text-3); letter-spacing: 0; }
.plan3 ul { list-style: none; margin: 16px 0 20px; padding: 0; display: grid; gap: 8px; flex: 1; align-content: start; } .plan3 li { display: flex; gap: 8px; font-size: .9375rem; color: var(--text-2); } .plan3 li .ico { color: var(--ok); flex: none; margin-top: 2px; }
.plan-flag { position: absolute; top: -12px; left: 22px; padding: 4px 10px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font: 700 .75rem/1.2 var(--font-sans); }

/* ressources */
.res-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.res { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit !important; transition: transform .25s var(--ease-out), border-color .2s ease; }
.res b { font: 700 1.125rem/1.3 var(--font-display); letter-spacing: -.02em; color: var(--text); } .res .tag { align-self: flex-start; }
@media (hover: hover) and (pointer: fine) { .res:hover { transform: translateY(-2px); border-color: var(--line-2); } }
.res-tool { background: var(--ai-soft); border-color: var(--ai-line); }

/* FAQ */
.faq3 { display: grid; gap: 32px; } @media (min-width: 1000px) { .faq3 { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.faq-list3 { display: grid; gap: 10px; }
.v3 .faq-list3 details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); padding: 0 18px; }
.v3 .faq-list3 summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 0; font: 600 1rem/1.35 var(--font-sans); cursor: pointer; list-style: none; }
.v3 .faq-list3 summary::after { display: none; } .v3 .faq-list3 summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 999px; background: var(--surface-2); }
.plus::before, .plus::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13.25px; height: 1.5px; background: var(--text-2); transition: transform .3s var(--ease-out); }
.plus::after { transform: rotate(90deg); } details[open] .plus::after { transform: rotate(0); }
.faq-list3 details p { margin: 0 0 16px; color: var(--text-2); line-height: 1.6; }

/* inscription */
.cta3 { background: linear-gradient(180deg, var(--bg), var(--brand-soft)); }
.cta3-grid { display: grid; gap: 32px; } @media (min-width: 900px) { .cta3-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .checks li { display: flex; gap: 10px; } .checks .ico { color: var(--ok); }
.signup { padding: 24px; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(20, 34, 42, .3); } .signup h3 { font-size: 1.375rem; margin: 0; }

/* ---------- Pages de contenu ---------- */
.doc-hero { padding: 40px 0 32px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 60% 100% at 85% 0%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 70%); }
.doc-hero h1 { font-size: clamp(2rem, 5.4vw, 3.25rem); line-height: 1.06; margin: 14px 0 16px; max-width: 22ch; font-weight: 800; }
.chapo { font-size: clamp(1.0625rem, 2vw, 1.25rem); line-height: 1.6; color: var(--text-2); max-width: 46em; margin: 0 0 12px; }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .875rem; color: var(--text-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); } .crumbs a { color: var(--text-2); }
.doc-grid { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 80px; }
@media (min-width: 1100px) { .doc-grid { grid-template-columns: 220px minmax(0, 1fr) 220px; gap: 48px; } .doc-toc, .doc-more { position: sticky; top: 96px; align-self: start; max-height: calc(100dvh - 120px); overflow: auto; } }
.doc-toc ol, .doc-more ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.doc-toc a, .doc-more a { display: block; padding: 6px 0; font-size: .875rem; line-height: 1.4; color: var(--text-2); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .doc-toc a:hover, .doc-more a:hover { color: var(--brand-text); } }
.toc-cta { margin-top: 20px; padding: 14px; border-radius: 14px; background: var(--brand-soft); } .toc-cta p { margin: 0 0 10px; font-size: .875rem; }
@media (max-width: 1099px) { .doc-toc { order: 0; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); } .toc-cta { display: none; } .doc-more { order: 2; } }
.doc-body { max-width: 720px; font-size: 1.0625rem; line-height: 1.7; }
.doc-body h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); line-height: 1.15; margin: 44px 0 14px; scroll-margin-top: 96px; }
.doc-body section:first-of-type h2 { margin-top: 8px; }
.doc-body h3 { font-size: 1.25rem; margin: 28px 0 10px; } .doc-body p { margin: 0 0 16px; color: var(--text); }
.doc-body ul { padding-left: 1.2em; margin: 0 0 18px; } .doc-body li { margin-bottom: 6px; }
.doc-body .banner { margin: 28px 0; font-size: .9375rem; line-height: 1.55; }
.ia-split { display: grid; gap: 12px; margin: 0 0 24px; } @media (min-width: 640px) { .ia-split { grid-template-columns: 1fr 1fr; } }
.ia-split > div { padding: 18px; border-radius: 18px; background: var(--ai-soft); border: 1px solid var(--ai-line); font-size: .9375rem; line-height: 1.5; }
.ia-split > div:last-child { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.ia-k { display: flex; align-items: center; gap: 8px; margin: 0 0 8px !important; font: 700 .9375rem/1.2 var(--font-sans); color: var(--ai) !important; } .ia-k.human { color: var(--brand-text) !important; }
.ia-split ul { margin: 0; }
.sources { margin-top: 36px; padding: 18px 20px; border-radius: 16px; background: var(--surface-2); font-size: .9375rem; } .sources h2 { font-size: 1.125rem; margin: 0 0 8px; }
.related h2 { font-size: 1.25rem; } .rel-grid { list-style: none; padding: 0 !important; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.rel-grid a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-size: .9375rem; line-height: 1.35; }
.disclaimer { margin-top: 32px; }
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; } .letters a { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 700; }
.glossary h2 { font-size: 1.75rem; margin: 40px 0 12px; scroll-margin-top: 96px; } .glossary dl { margin: 0; display: grid; gap: 10px; }
.term { padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 96px; } .term:target { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.term dt { font: 700 1.125rem/1.3 var(--font-display); } .term dd { margin: 6px 0 0; } .term dd p { margin: 0 0 6px; line-height: 1.6; color: var(--text-2); }

/* simulateurs */
.simu-layout { display: grid; gap: 32px; } @media (min-width: 1000px) { .simu-layout { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } .simu-card { position: sticky; top: 96px; } }
.simu-card { padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(20, 34, 42, .35); display: grid; gap: 14px; }
.simu-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.simu-out { display: block; padding: 16px 18px; border-radius: 14px; background: var(--ai-soft); border: 1px solid var(--ai-line); font-size: 1.0625rem; line-height: 1.5; }
.simu-out b { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.02em; }
.simu-out.flash { animation: flash .5s var(--ease-out); } @keyframes flash { from { transform: scale(.985); opacity: .6; } }

/* pied de page */
.s-foot { border-top: 1px solid var(--line); padding: 56px 0 24px; background: var(--surface); }
.s-foot .wrap-x:first-child { display: grid; gap: 32px; } @media (min-width: 1000px) { .s-foot .wrap-x:first-child { grid-template-columns: 1fr 3fr; gap: 56px; } }
.foot-brand p { color: var(--text-2); font-size: .9375rem; max-width: 30ch; }
.foot-cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.foot-title { font: 700 .75rem/1.2 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin: 0 0 10px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; } .foot-cols a { display: inline-block; padding: 6px 0; font-size: .875rem; color: var(--text-2); text-decoration: none; line-height: 1.35; }
@media (hover: hover) and (pointer: fine) { .foot-cols a:hover { color: var(--brand-text); } }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--text-3); }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Mouvement réduit : déplacements coupés, fondus gardés ---------- */
@media (prefers-reduced-motion: reduce) {
  .v3 *, .v3 *::before, .v3 *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .js .reveal { transform: none; transition: opacity .3s ease; transition-delay: 0ms; }
  .pulse::after { display: none; }
  .b-card, .res, .pill-cta i { transition: none; }
}

/* Correctifs (02/11) : virgule des chiffres tabulaires trop large en Schibsted, formule sur une ligne au téléphone */
.f-cell b, .result b { font-variant-numeric: lining-nums proportional-nums; }
.f-cell { flex: 1 1 0; min-width: 0; }
.formula { flex-wrap: nowrap; gap: 6px; }
@media (max-width: 480px) { .f-cell { padding: 8px 9px; } .f-cell b { font-size: 1rem; } .f-cell small { font-size: .6875rem; } }
.fake-btn { white-space: nowrap; }

/* ---------- Scènes des pages fonctionnalités (v1.1) : transform et opacity uniquement ---------- */
.doc-hero.has-scene .wrap-x { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .doc-hero.has-scene .wrap-x { grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 48px; } }
.f-scene { margin: 0; padding: 14px; border-radius: 22px; background: var(--surface-2); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); max-width: 440px; }
.fs { display: block; width: 100%; height: auto; aspect-ratio: 360 / 220; overflow: visible; }
.fs .p { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.5; }
.fs .l { fill: var(--surface-3); }
.fs .b { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 1.5; }
.fs .bf, .fs .dot { fill: var(--brand); }
.fs .ok { fill: var(--ok); } .fs .warn { fill: var(--warn); }
.fs .okf { fill: var(--ok-soft); stroke: var(--ok); stroke-width: 1.5; }
.fs .warnf { fill: var(--warn-soft); stroke: var(--warn); stroke-width: 1.5; }
.fs .riskf { fill: var(--risk-soft); stroke: var(--risk); stroke-width: 1.5; }
.fs .aif { fill: var(--ai); } .fs .aif2 { fill: var(--ai-soft); stroke: var(--ai-line); stroke-width: 1.5; }
.fs .st { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.fs .st.w { stroke: var(--surface); } .fs .st.ai { stroke: var(--ai); }
.fs .flow { stroke: var(--ai); stroke-dasharray: 4 6; }
.fs .axis { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-linecap: round; }
.f-scene .e, .f-scene .g, .f-scene .u, .f-scene .pop { animation-duration: .7s; animation-timing-function: var(--ease-out); animation-fill-mode: both; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
.f-scene .e { animation-name: fs-in; }
.f-scene .g { animation-name: fs-x; transform-box: fill-box; transform-origin: left center; }
.f-scene .u { animation-name: fs-y; transform-box: fill-box; transform-origin: center bottom; }
.f-scene .pop { animation-name: fs-pop; animation-duration: .5s; animation-timing-function: cubic-bezier(.34, 1.56, .64, 1); transform-box: fill-box; transform-origin: center; }
.f-scene .floaty { animation: fs-in .7s var(--ease-out) both, fs-float 5s ease-in-out infinite; animation-delay: calc(var(--d, 0) * 110ms + 120ms), calc(var(--d, 0) * 110ms + 1.4s); }
.f-scene .floaty.f2 { animation-duration: .7s, 6.5s; }
.f-scene .ia-twinkle { animation: fs-pop .5s cubic-bezier(.34, 1.56, .64, 1) both, fs-tw 2.8s ease-in-out infinite; animation-delay: calc(var(--d, 0) * 110ms + 120ms), calc(var(--d, 0) * 110ms + 1.2s); }
.f-scene .flow.e { animation: fs-in .7s var(--ease-out) both, fs-tw 2.4s ease-in-out infinite; animation-delay: calc(var(--d, 0) * 110ms + 120ms), 1.6s; }
.f-scene .spin-slow { transform-box: fill-box; transform-origin: center; animation: fs-spin 9s linear infinite 1.5s; }
@keyframes fs-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes fs-x { from { transform: scaleX(0); } }
@keyframes fs-y { from { opacity: 0; transform: scaleY(.1); } }
@keyframes fs-pop { from { opacity: 0; transform: scale(.3); } }
@keyframes fs-float { 0%, 100% { transform: none; } 50% { transform: translateY(-4px); } }
@keyframes fs-tw { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes fs-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .f-scene *, .f-scene *::before { animation: none !important; } }
