/* Astrasell SaaS — style commun. Clair, très épuré, accent dégradé violet → cyan, une section sombre pour les prix. */
:root {
  --bg: #f7f7fb; --card: rgba(255,255,255,.72); --ink: #0a0b1a; --muted: #596079; --line: rgba(10,11,26,.09);
  --a1: #5b4bff; --a2: #00c2ff; --a3: #ff7a59; --ok: #12a06b; --warn: #b4690e; --bad: #c0362c;
  --grad: linear-gradient(120deg, #5b4bff 0%, #00c2ff 100%);
  --soft: #f0f1f8; --accent: #5b4bff; --accent-soft: #eeecff;
  --r: 18px; --wrap: 1160px;
  --display: "Sora", "Inter", -apple-system, "Segoe UI", sans-serif;
  --text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
section { padding: 96px 0; position: relative; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.08; letter-spacing: -0.035em; }
h1 { font-size: clamp(38px, 6.6vw, 84px); font-weight: 600; letter-spacing: -0.045em; }
h2 { font-size: clamp(28px, 4.2vw, 50px); font-weight: 600; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 1.9vw, 20px); color: var(--muted); max-width: 640px; line-height: 1.55; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--a1); margin-bottom: 16px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head .lead { margin-top: 16px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* barre maquette */
.maquette { background: #0a0b1a; color: #c9ccdc; font-size: 12.5px; padding: 7px 0; position: relative; z-index: 20; }
.maquette .wrap { display: flex; gap: 10px 18px; align-items: center; flex-wrap: wrap; }
.maquette b { color: #fff; font-weight: 600; }
.maquette label { display: inline-flex; gap: 6px; align-items: center; }
.maquette select { background: #1a1c33; color: #fff; border: 1px solid #2c2f4d; border-radius: 8px; padding: 3px 8px; font: inherit; max-width: 210px; }
.maquette a { color: #9ab0ff; text-decoration: none; }
.maquette a:hover { text-decoration: underline; }
.maquette .sp { margin-left: auto; display: flex; gap: 16px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 15; background: rgba(247,247,251,.78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.04em; text-decoration: none; display: inline-flex; align-items: center; gap: 9px; }
.logo i { width: 18px; height: 18px; border-radius: 6px; background: var(--grad); display: inline-block; transform: rotate(45deg); box-shadow: 0 0 18px rgba(91,75,255,.55); }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; color: var(--muted); font-size: 14.5px; transition: color .2s; }
.nav ul a:hover { color: var(--ink); }
@media (max-width: 860px) { .nav ul { display: none; } }

/* boutons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: var(--grad); color: #fff; padding: 13px 24px; border-radius: 99px; font: 600 15px/1 var(--text); text-decoration: none; cursor: pointer; box-shadow: 0 10px 30px -8px rgba(91,75,255,.6), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .2s, box-shadow .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(91,75,255,.75), inset 0 1px 0 rgba(255,255,255,.35); }
.btn.ghost { background: rgba(255,255,255,.7); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { background: #fff; }
.btn.small { padding: 10px 18px; font-size: 14px; }
.btn.block { width: 100%; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 99px; background: rgba(10,11,26,.05); color: var(--muted); }
.pill.accent { background: var(--accent-soft); color: var(--a1); }

/* hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.aurora { position: absolute; inset: -10% -10% auto -10%; height: 760px; z-index: 0; pointer-events: none; filter: blur(70px); opacity: .75; }
.aurora i { position: absolute; border-radius: 50%; animation: float 16s ease-in-out infinite; }
.aurora i:nth-child(1) { width: 520px; height: 520px; left: 8%; top: 0; background: radial-gradient(circle, rgba(91,75,255,.55), transparent 65%); }
.aurora i:nth-child(2) { width: 460px; height: 460px; right: 6%; top: 60px; background: radial-gradient(circle, rgba(0,194,255,.5), transparent 65%); animation-delay: -5s; }
.aurora i:nth-child(3) { width: 380px; height: 380px; left: 42%; top: 240px; background: radial-gradient(circle, rgba(255,122,89,.32), transparent 65%); animation-delay: -9s; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.12); } }
.grid-bg { position: absolute; inset: 0 0 auto 0; height: 760px; z-index: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%); opacity: .7; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { margin: 20px 0 22px; }
.hero .lead { margin-bottom: 30px; }
.waitlist { display: flex; gap: 8px; max-width: 480px; padding: 6px; background: rgba(255,255,255,.85); border-radius: 99px; box-shadow: 0 0 0 1px var(--line), 0 12px 40px -16px rgba(91,75,255,.4); }
.waitlist input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; font: inherit; font-size: 15px; outline: none; color: var(--ink); }
.hint { font-size: 13.5px; color: var(--muted); margin-top: 14px; max-width: 480px; }
.msg { font-size: 13.5px; color: var(--ok); margin-top: 8px; min-height: 20px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding-top: 40px; } }
@media (max-width: 520px) { .waitlist { flex-direction: column; border-radius: 22px; padding: 8px; } .waitlist input { padding: 10px 12px; } }

/* carte démo */
.demo { position: relative; border-radius: 22px; background: rgba(255,255,255,.82); backdrop-filter: blur(16px); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -30px rgba(40,30,120,.35); overflow: hidden; }
.demo::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .35s linear; }
.demo-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.demo-top .dots { display: flex; gap: 6px; } .demo-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(10,11,26,.12); }
.chrono { font-family: var(--display); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.demo-body { padding: 18px 18px 6px; }
.demo-url { border-radius: 12px; padding: 12px 14px; font: 500 14px/1.2 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); background: var(--soft); margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 42px; }
.demo-url::after { content: ""; display: inline-block; width: 1px; height: 14px; background: var(--a1); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo ul { list-style: none; margin: 0; padding: 0; }
.demo li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); transition: color .3s, opacity .3s; opacity: .45; }
.demo li:first-child { border-top: 0; }
.demo li.on { opacity: 1; color: var(--ink); }
.ring { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(10,11,26,.14); position: relative; transition: all .3s; }
.demo li.run .ring { border-color: var(--a1) transparent var(--a2) transparent; animation: spin .8s linear infinite; }
.demo li.on .ring { background: var(--ok); border-color: var(--ok); animation: none; }
.demo li.on .ring::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-foot { padding: 12px 18px 16px; font-size: 12.5px; color: var(--muted); }

/* ruban */
.ribbon { padding: 28px 0; border-block: 1px solid var(--line); overflow: hidden; background: rgba(255,255,255,.5); }
.ribbon .track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.ribbon:hover .track { animation-play-state: paused; }
.ribbon span { white-space: nowrap; font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: -0.02em; padding: 8px 20px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* chiffres */
.stats { padding: 72px 0 8px; }
.stats .grid { grid-template-columns: repeat(4, 1fr); }
.stat b { display: block; font-family: var(--display); font-size: clamp(44px, 6vw, 76px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .stats .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }

/* grilles et cartes */
.grid { display: grid; gap: 16px; }
.g3 { grid-template-columns: repeat(3, 1fr); } .g2 { grid-template-columns: repeat(2, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g3, .g2, .g4 { grid-template-columns: 1fr; } section { padding: 68px 0; } }
.card { position: relative; border-radius: var(--r); padding: 26px; background: var(--card); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.card p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.card.spot::after { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(91,75,255,.12), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card.spot:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(91,75,255,.35), 0 24px 50px -24px rgba(91,75,255,.35); }
.card.spot:hover::after { opacity: 1; }
.num { font: 600 13px var(--display); color: var(--a1); letter-spacing: .06em; margin-bottom: 18px; display: block; }

/* comparaison */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } }
.vs .card.me { background: #fff; box-shadow: 0 0 0 1.5px var(--a1), 0 30px 60px -30px rgba(91,75,255,.45); }
.big { font-family: var(--display); font-size: clamp(26px, 3.2vw, 36px); font-weight: 600; letter-spacing: -0.04em; margin: 14px 0 16px; line-height: 1.1; }
.vs ul { list-style: none; padding: 0; margin: 0; }
.vs li { padding: 10px 0 10px 26px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); position: relative; }
.vs li:first-child { border-top: 0; }
.vs .old li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 2px; background: #c0362c; opacity: .6; }
.vs .me li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 5px; height: 10px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.vs .me li { color: var(--ink); }

/* mini-visuels du bento */
.mini { height: 74px; margin-bottom: 20px; display: flex; align-items: flex-end; gap: 8px; }
.mini.angles i { flex: 1; border-radius: 10px; background: var(--grad); opacity: .25; transition: opacity .3s, height .3s; }
.mini.angles i:nth-child(1) { height: 46%; } .mini.angles i:nth-child(2) { height: 100%; opacity: .9; } .mini.angles i:nth-child(3) { height: 68%; }
.card:hover .mini.angles i:nth-child(1) { height: 82%; opacity: .7; }
.mini.pages i { flex: 1; height: 100%; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line); position: relative; }
.mini.pages i::before { content: ""; position: absolute; left: 8px; right: 8px; top: 10px; height: 6px; border-radius: 3px; background: var(--grad); opacity: .6; }
.mini.pages i::after { content: ""; position: absolute; left: 8px; right: 16px; top: 24px; height: 36px; border-radius: 4px; background: repeating-linear-gradient(var(--soft) 0 4px, transparent 4px 9px); }
.mini.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; align-items: stretch; }
.mini.photos i { border-radius: 8px; background: linear-gradient(135deg, #cfd2ff, #bff0ff); } .mini.photos i:nth-child(2) { background: linear-gradient(135deg, #ffd6c9, #ffe9b8); } .mini.photos i:nth-child(3) { background: linear-gradient(135deg, #bff0ff, #d4ffe8); } .mini.photos i:nth-child(4) { background: linear-gradient(135deg, #e0d4ff, #ffd0e8); }
.mini.offers { align-items: center; flex-wrap: wrap; }
.mini.offers span { padding: 7px 12px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px var(--line); font: 600 13px var(--display); letter-spacing: -0.02em; }
.mini.offers span:nth-child(2) { background: var(--grad); color: #fff; box-shadow: none; }
.mini.pay { align-items: center; gap: 0; }
.mini.pay i { flex: 1; height: 4px; background: var(--line); position: relative; } .mini.pay i:nth-child(odd) { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); } .mini.pay i:nth-child(even) { background: linear-gradient(90deg, #5b4bff, #c8ccf0); }
.mini.chat { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px; }
.mini.chat span { padding: 7px 12px; border-radius: 14px; font-size: 12.5px; background: var(--soft); max-width: 90%; }
.mini.chat span:last-child { background: var(--grad); color: #fff; align-self: flex-end; }

/* prix : section sombre */
section.dark { background: #080919; color: #eceefb; --line: rgba(255,255,255,.1); --muted: #a2a8c4; --card: rgba(255,255,255,.05); border-radius: 36px; margin: 0 10px; overflow: hidden; }
section.dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 380px at 15% 0%, rgba(91,75,255,.35), transparent 70%), radial-gradient(600px 360px at 90% 10%, rgba(0,194,255,.22), transparent 70%); pointer-events: none; }
section.dark .wrap { position: relative; }
section.dark h2, section.dark h3 { color: #fff; }
section.dark .kicker { color: #8fa2ff; }
.billing { display: inline-flex; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 26px; }
.billing label { cursor: pointer; padding: 8px 18px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; transition: all .25s; }
.billing input { position: absolute; opacity: 0; pointer-events: none; }
.billing label:has(input:checked) { background: #fff; color: #0a0b1a; }
.billing .pill { background: rgba(0,194,255,.2); color: #7fdcff; } .billing label:has(input:checked) .pill { background: var(--accent-soft); color: var(--a1); }
.price { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s, box-shadow .3s; }
.price:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(143,162,255,.5), 0 30px 60px -30px rgba(91,75,255,.7); }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.price.vedette { background: linear-gradient(180deg, rgba(91,75,255,.22), rgba(255,255,255,.04)); box-shadow: none; }
.price.vedette::before { content: ""; position: absolute; inset: 0; border-radius: 22px; padding: 1.5px; background: conic-gradient(from var(--ang), #5b4bff, #00c2ff, #ff7a59, #5b4bff); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: turn 6s linear infinite; pointer-events: none; }
@keyframes turn { to { --ang: 360deg; } }
.price .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 28px; }
.price .top .pill { background: rgba(255,255,255,.12); color: #fff; }
.price .amount { font-family: var(--display); font-size: 52px; font-weight: 600; letter-spacing: -0.05em; margin: 16px 0 4px; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.price .amount small { font: 500 15px var(--text); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price .old { text-decoration: line-through; color: var(--muted); font-size: 15px; font-family: var(--text); letter-spacing: 0; margin-right: 8px; font-weight: 500; }
.price .sub { color: var(--muted); font-size: 14px; min-height: 22px; }
.price ul { list-style: none; padding: 0; margin: 22px 0 26px; flex: 1; }
.price li { padding: 9px 0 9px 28px; position: relative; font-size: 14.5px; border-top: 1px solid var(--line); color: #dfe2f6; }
.price li:first-child { border-top: 0; }
.price li::before { content: ""; position: absolute; left: 5px; top: 14px; width: 5px; height: 9px; border: solid #6ee7b7; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.price li.strong { font-weight: 600; color: #fff; } .price li.dim { color: var(--muted); } .price li.dim::before { border-color: rgba(255,255,255,.25); }
section.dark .btn.ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); } section.dark .btn.ghost:hover { background: rgba(255,255,255,.16); }
.reload { margin-top: 22px; border-radius: var(--r); padding: 22px 26px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: #dfe2f6; }
.reload .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.reload .chip { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--line); border-radius: 12px; padding: 9px 14px; font-size: 14px; }
.reload .chip b { font-family: var(--display); font-variant-numeric: tabular-nums; }
.src { font-size: 13px; color: var(--muted); margin-top: 14px; }
.trialtag { margin-bottom: 22px; display: inline-flex; gap: 8px; align-items: center; margin-left: 14px; vertical-align: top; }
@media (max-width: 520px) { .trialtag { margin: 0 0 22px; display: flex; } }

/* tableaux */
.tw { overflow-x: auto; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line); }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); font-weight: 600; font-size: 12.5px; color: var(--muted); white-space: nowrap; letter-spacing: .02em; }
tr:last-child td { border-bottom: 0; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.me td { background: var(--accent-soft); }
.good { color: var(--ok); font-weight: 600; } .mid { color: var(--warn); font-weight: 600; } .bad { color: var(--bad); font-weight: 600; }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 20px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font: 600 19px var(--display); letter-spacing: -0.025em; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,11,26,.05); color: var(--muted); font: 400 20px var(--text); transition: transform .3s, background .3s; }
details[open] summary::after { transform: rotate(45deg); background: var(--grad); color: #fff; }
details p { color: var(--muted); margin-top: 12px; max-width: 740px; }

.final { text-align: center; }
.final h2 { max-width: 820px; margin: 0 auto; }
.final .lead { margin: 18px auto 30px; }
footer { padding: 36px 0 56px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* apparition au défilement */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* page de chiffrage (interne) */
.page-head { padding: 44px 0 8px; }
.controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 22px 0; }
.ctl { border-radius: var(--r); padding: 16px 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.ctl label { font-size: 13px; color: var(--muted); display: block; margin-bottom: 8px; }
.ctl input[type=number], .ctl select { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font: inherit; background: #fff; }
.ctl input[type=range] { width: 100%; accent-color: var(--a1); }
.ctl .val { font: 600 20px var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.callout { border-radius: 0 var(--r) var(--r) 0; border-left: 3px solid var(--a1); background: var(--accent-soft); padding: 16px 20px; font-size: 15px; margin: 18px 0; }
.callout.warn { border-color: var(--warn); background: #fff6e8; }
.v-block { margin-top: 40px; }
.v-block h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 24px; }
.v-block > p { color: var(--muted); max-width: 780px; margin: 10px 0 16px; }
.sub-t { font-size: 14px; font-weight: 600; margin: 20px 0 8px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 16px 0; }
.kpi { border-radius: var(--r); padding: 16px 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.kpi span { font-size: 13px; color: var(--muted); display: block; }
.kpi b { display: block; font: 600 28px var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.kpi.hl { background: #080919; color: #fff; box-shadow: none; } .kpi.hl span { color: #a2a8c4; }
.bar { height: 8px; border-radius: 4px; background: var(--soft); min-width: 90px; position: relative; overflow: hidden; margin-top: 6px; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--grad); }
.bar i.neg { background: #e0645a; }
.chart { background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); padding: 18px; }
.chart svg { width: 100%; height: auto; display: block; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.tw table td:first-child { min-width: 200px; }

.rows { margin: 14px 0 6px; }
.rows div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: #dfe2f6; }
.rows div:first-child { border-top: 0; }
.rows b { font-family: var(--display); font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; }
section.dark .card p { color: var(--muted); }
.terms { list-style: none; padding: 0; margin: 28px 0 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; max-width: 860px; }
.terms li { position: relative; padding-left: 26px; font-size: 15px; color: var(--muted); }
.terms li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 5px; height: 10px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 640px) { .terms { grid-template-columns: 1fr; } }

/* demande de démo (site public, 23/10) */
.demande { display: grid; gap: 10px; max-width: 560px; margin: 0 auto; text-align: left; }
.demande .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.demande input, .demande textarea { width: 100%; border: 0; border-radius: 14px; padding: 13px 16px; font: inherit; font-size: 15px; color: var(--ink); background: rgba(255,255,255,.9); box-shadow: 0 0 0 1px var(--line); outline: none; resize: vertical; }
.demande input:focus, .demande textarea:focus { box-shadow: 0 0 0 2px var(--a1); }
.demande .btn { justify-self: center; margin-top: 6px; }
.demande .btn:disabled { opacity: .6; cursor: default; }
.demande .msg { text-align: center; }
.demande .msg.err { color: #c2410c; }
.demande .piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 520px) { .demande .row2 { grid-template-columns: 1fr; } }
