/* Utiliciel — vitrine (pages publiques), refonte du 14/10/2026.
   Sombre par défaut, thème clair via [data-theme=light]. L'admin et l'espace client gardent site.css. */
:root, [data-theme=dark] {
  color-scheme: dark;
  --bg: #0b0d12; --bg-2: #0f1218; --bg-plan: #12151d; --menu: #141822; --field: #10131b;
  --panel: rgba(255, 255, 255, .035); --panel-2: rgba(255, 255, 255, .065);
  --line: rgba(255, 255, 255, .085); --line-2: rgba(255, 255, 255, .15);
  --ink: #f1f2f6; --ink-2: #b8bccb; --ink-3: #8f95a7;
  --brand: #7c6cff; --brand-ink: #b5abff; --blue: #4f8bff;
  --pdf: #ff5a5f; --pdf-ink: #ff9a9d; --opti: #38bdf8; --opti-ink: #7dd3fc;
  --ok: #34d399; --ok-ink: #6ee7b7; --warn: #fbbf24; --warn-ink: #fcd34d; --err: #f87171; --err-ink: #fca5a5;
  --glow1: rgba(124, 108, 255, .34); --glow2: rgba(56, 140, 255, .22); --grid: rgba(255, 255, 255, .045); --spot: rgba(124, 108, 255, .12);
  --frame-bar: #1a1d26; --frame-ink: #9aa1b4;
  --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .04);
  --grad: linear-gradient(100deg, #cfc8ff 0%, #9db8ff 45%, #6fe0ff 100%);
}
[data-theme=light] {
  color-scheme: light;
  --bg: #fafafc; --bg-2: #f2f3f8; --bg-plan: #ffffff; --menu: #ffffff; --field: #ffffff;
  --panel: rgba(255, 255, 255, .78); --panel-2: rgba(16, 19, 35, .045);
  --line: rgba(16, 19, 35, .09); --line-2: rgba(16, 19, 35, .16);
  --ink: #0d1020; --ink-2: #454b63; --ink-3: #5c6277;
  --brand: #5b4bff; --brand-ink: #4836d8; --blue: #2563eb;
  --pdf: #e5484d; --pdf-ink: #c4262c; --opti: #0ea5e9; --opti-ink: #0369a1;
  --ok: #10b981; --ok-ink: #047857; --warn: #f59e0b; --warn-ink: #92400e; --err: #dc2626; --err-ink: #b91c1c;
  --glow1: rgba(91, 75, 255, .16); --glow2: rgba(37, 99, 235, .12); --grid: rgba(16, 19, 35, .05); --spot: rgba(91, 75, 255, .08);
  --frame-bar: #e9eaf0; --frame-ink: #4b5065;
  --shadow-lg: 0 30px 80px -30px rgba(20, 24, 60, .35), 0 0 0 1px rgba(16, 19, 35, .06);
  --grad: linear-gradient(100deg, #5b4bff 0%, #2563eb 50%, #0891b2 100%);
}
:root { --font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; --r: 20px; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
b, strong { font-weight: 650; }
::selection { background: rgba(124, 108, 255, .35); }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1720px, 100% - clamp(32px, 5vw, 96px)); margin: 0 auto; }
.narrow { width: min(900px, 100% - 32px); margin: 0 auto; }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.small { font-size: .9rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.hp { position: absolute; left: -9999px; }
.inline { display: inline; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 650; text-transform: uppercase; letter-spacing: .14em; color: var(--brand-ink); margin-bottom: 16px; }
.eb-pdf { color: var(--pdf-ink); } .eb-opti { color: var(--opti-ink); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.display { font-size: clamp(2.5rem, 6.4vw, 4.6rem); line-height: 1.03; letter-spacing: -.045em; font-weight: 800; margin: 0 auto 22px; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.3rem); color: var(--ink-2); max-width: 820px; margin: 0 auto 32px; line-height: 1.6; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 20px; border-radius: 12px; font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.3;
  background: var(--ink); color: var(--bg); border: 1px solid transparent; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.btn:active { transform: none; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn.big { padding: 14px 26px; font-size: 1.02rem; border-radius: 14px; }
.btn.sm { padding: 7px 13px; font-size: .86rem; border-radius: 10px; }
.btn.brand, .btn.gold { background: linear-gradient(135deg, #6a55ff, #3b6dff); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn.brand:hover, .btn.gold:hover { box-shadow: 0 12px 34px -10px rgba(91, 75, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn.ghost, .btn.light { background: var(--panel); color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover, .btn.light:hover { background: var(--panel-2); border-color: var(--ink-3); box-shadow: none; }
.btn.danger { background: transparent; color: var(--err-ink); border-color: rgba(248, 113, 113, .4); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-row.left { justify-content: flex-start; }

/* ---------- en-tête ---------- */
.top { position: sticky; top: 0; z-index: 60; background: rgba(11, 13, 18, .72); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
[data-theme=light] .top { background: rgba(250, 250, 252, .78); }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand:not(.btn) { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.22rem; letter-spacing: -.035em; text-decoration: none !important; flex-shrink: 0; }
.brand:not(.btn) img { width: 30px; height: 30px; }
.brand:not(.btn) b { color: var(--brand-ink); font-weight: 800; }
.menu { display: flex; align-items: center; gap: 2px; flex: 1; }
.menu > a, .dd-btn { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; font-size: .94rem; text-decoration: none !important; white-space: nowrap; }
.menu > a:hover, .menu > a.on, .dd-btn:hover, .dd-btn.on, .dd.open .dd-btn { color: var(--ink); background: var(--panel-2); }
.menu-only { display: none; }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; font: inherit; font-weight: 500; font-size: .94rem; cursor: pointer; }
.dd-btn svg { width: 15px; height: 15px; transition: transform .2s; }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 10px); left: -10px; width: 350px; padding: 8px; border-radius: 16px; background: var(--menu); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 981px) { .dd:hover .dd-panel { opacity: 1; visibility: visible; transform: none; } }
.dd-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; color: var(--ink); text-decoration: none !important; }
.dd-item:hover { background: var(--panel-2); }
.dd-item b { display: block; font-weight: 600; }
.dd-item small { display: block; color: var(--ink-3); font-size: .84rem; line-height: 1.35; }
.pico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #fff; flex-shrink: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.pico-pdf { background: linear-gradient(135deg, #ff7377, #d42a30); }
.pico-opti { background: linear-gradient(135deg, #38bdf8, #0369a1); }
.top-act { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.login { color: var(--ink-2); font-weight: 500; font-size: .94rem; padding: 8px 10px; white-space: nowrap; }
.login:hover { color: var(--ink); text-decoration: none; }
.theme-btn, .langbtn { height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); cursor: pointer; font: inherit; }
.theme-btn { width: 36px; display: grid; place-items: center; padding: 0; }
.theme-btn:hover, .langbtn:hover { color: var(--ink); background: var(--panel-2); }
.theme-btn svg { width: 17px; height: 17px; }
.theme-btn span { display: grid; }
[data-theme=dark] .i-moon, [data-theme=light] .i-sun { display: none; }
.burger { display: none; width: 40px; height: 36px; border: 1px solid var(--line-2); background: transparent; border-radius: 10px; cursor: pointer; color: var(--ink); padding: 0 10px; }
.burger span { display: block; height: 2px; background: currentColor; border-radius: 2px; margin: 5px 0; transition: transform .2s; }
.top.open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.top.open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* langues */
.langsel { position: relative; }
.langbtn { display: flex; align-items: center; gap: 6px; padding: 0 10px; font-size: .84rem; font-weight: 600; }
.langbtn img, .langlist img, .langhint img, .foot-langs img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); }
.langlist { display: none; position: absolute; right: 0; top: calc(100% + 8px); background: var(--menu); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; min-width: 180px; z-index: 70; }
.langsel.open .langlist { display: block; }
.langlist a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: var(--ink); font-size: .92rem; text-decoration: none; }
.langlist a:hover { background: var(--panel-2); }
.langlist a.on { font-weight: 700; color: var(--brand-ink); }
.langhint { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: .9rem; }
.langhint .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 0; }
.langhint a { color: var(--ink); display: flex; align-items: center; gap: 8px; font-weight: 600; }
.langhint-x { background: none; border: 0; color: var(--ink-3); font-size: 1.3rem; cursor: pointer; line-height: 1; }
.flash { margin-top: 20px; }

/* ---------- fonds : halos et grille ---------- */
.hero, .p-hero, .page-hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-bg::before { content: ""; position: absolute; left: 50%; top: -420px; width: 1400px; height: 1000px; transform: translateX(-50%);
  background: radial-gradient(closest-side at 38% 50%, var(--glow1), transparent 70%), radial-gradient(closest-side at 66% 46%, var(--glow2), transparent 70%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); }
.p-hero .hero-bg::before { left: 70%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%), radial-gradient(closest-side at 20% 60%, var(--glow1), transparent 70%); }

/* ---------- héros de l'accueil ---------- */
.hero { padding: clamp(52px, 8vw, 104px) 0 clamp(64px, 8vw, 104px); text-align: center; }
.announce { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink-2); font-size: .88rem; margin-bottom: 28px; text-decoration: none !important; transition: border-color .2s, color .2s; }
.announce:hover { border-color: var(--ink-3); color: var(--ink); }
.announce > span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce svg { width: 15px; height: 15px; flex-shrink: 0; }
.tag { background: linear-gradient(135deg, #6a55ff, #3b6dff); color: #fff; border-radius: 999px; padding: 3px 10px; font-weight: 600; font-size: .76rem; flex-shrink: 0; }
.badges { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; color: var(--ink-3); font-size: .9rem; }
.badges li { display: inline-flex; align-items: center; gap: 8px; }
.badges svg { width: 16px; height: 16px; color: var(--ink-2); }
.badges.left { justify-content: flex-start; }
.hero-visual { position: relative; max-width: 1480px; margin: clamp(48px, 7vw, 80px) auto 0; animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }
.hero-visual::before { content: ""; position: absolute; inset: 8% 6% -6%; background: radial-gradient(closest-side, var(--glow1), transparent); filter: blur(30px); z-index: -1; }
.hero-visual .float { position: absolute; width: 34%; right: -3%; bottom: -14%; z-index: 2; }
@keyframes rise { from { transform: translateY(28px) scale(.985); } to { transform: none; } }

/* fenêtre façon Windows autour d'une capture */
.frame { margin: 0; border-radius: 14px; overflow: hidden; background: #0f1117; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.frame-bar { display: flex; align-items: center; height: 32px; padding-left: 14px; text-align: left; background: var(--frame-bar); color: var(--frame-ink); font-size: .74rem; font-weight: 500; }
.frame-t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame-bar i { position: relative; width: 42px; height: 32px; display: grid; place-items: center; flex-shrink: 0; }
.frame-bar i:nth-of-type(1)::before { content: ""; width: 10px; height: 1px; background: currentColor; }
.frame-bar i:nth-of-type(2)::before { content: ""; width: 9px; height: 9px; border: 1px solid currentColor; }
.frame-bar i:nth-of-type(3)::before, .frame-bar i:nth-of-type(3)::after { content: ""; position: absolute; width: 12px; height: 1px; background: currentColor; transform: rotate(45deg); }
.frame-bar i:nth-of-type(3)::after { transform: rotate(-45deg); }
.frame img { width: 100%; height: auto; }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.sec.tight { padding-top: 0; }
.sec.first { padding-top: 12px; }
.sec.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 900px; margin: 0 auto clamp(36px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(2rem, 4.4vw, 3.15rem); letter-spacing: -.04em; font-weight: 750; }
.sec-head p { color: var(--ink-2); font-size: 1.08rem; margin: 0; }
.more { margin: 36px 0 0; }

/* cartes produit */
.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.prod-card, .dl-card { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 34px); border-radius: 24px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: border-color .3s; }
.prod-card::before, .dl-card::before { content: ""; position: absolute; left: -20%; right: -20%; top: -55%; height: 90%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 26%, transparent), transparent); z-index: -1; }
.prod-card:hover, .dl-card:hover { border-color: var(--line-2); }
.pc-top { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.pc-top h3, .pc-top h2 { font-size: 1.55rem; margin: 0; letter-spacing: -.03em; }
.pc-top p { margin: 0; color: var(--ink-3); font-size: .9rem; }
.pc-top .pico { width: 46px; height: 46px; border-radius: 13px; font-size: 1.15rem; }
.pc-desc { color: var(--ink-2); }
.pc-shot { margin: 18px 0 24px; }
.pc-shot .frame { box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7); }
.pc-shot .frame img { aspect-ratio: 16 / 9; object-fit: cover; object-position: left top; }
.pc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.from { color: var(--ink-3); font-size: .92rem; }
.from b { color: var(--ink); font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.ticks, .plan ul { list-style: none; padding: 0; margin: 0 0 8px; }
.ticks li, .plan li { position: relative; padding: 5px 0 5px 28px; color: var(--ink-2); }
.ticks li::before, .plan li::before { content: ""; position: absolute; left: 0; top: 9px; width: 17px; height: 17px; background: var(--ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---------- grille bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; }
.tall { grid-row: span 2; }
.tile { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: border-color .3s; }
.tile::before, .plan::after, .prod-card::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--spot), transparent 45%); }
.tile:hover::before, .plan:hover::after, .prod-card:hover::after { opacity: 1; }
.tile:hover { border-color: var(--line-2); }
.tile h3 { font-size: 1.12rem; margin: 0 0 8px; }
.tile p { color: var(--ink-2); margin: 0; font-size: .96rem; }
.tile p b { color: var(--ink); }
.tile-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(124, 108, 255, .14); color: var(--brand-ink); margin-bottom: 18px; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(124, 108, 255, .22); }
.tile-ico svg { width: 22px; height: 22px; }
.tile-ico.t-pdf { background: rgba(255, 90, 95, .12); color: var(--pdf-ink); box-shadow: inset 0 0 0 1px rgba(255, 90, 95, .22); }
.tile-media { margin: 22px -26px -26px; border-top: 1px solid var(--line); background: #0f1117; height: clamp(190px, 21vw, 290px); overflow: hidden; flex: 1 0 auto; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.tile-media.crop img { object-position: 20% 30%; }
.tall .tile-media { position: relative; height: auto; flex: 1 1 0; min-height: 260px; }
.tall .tile-media img { position: absolute; inset: 0; }
.tile-media.crop-low img { object-position: left 62%; }
.tile .mon-mock { margin-top: 22px; box-shadow: none; font-size: .84rem; }
.tile .mon-mock .mm-row { padding: 10px; }
.tile-note { margin-top: auto !important; padding-top: 18px; font-size: .88rem !important; color: var(--ink-3) !important; }
.soon { display: inline-block; vertical-align: middle; margin-left: 6px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; padding: 3px 8px; border-radius: 999px; background: rgba(251, 191, 36, .14); color: var(--warn-ink); }
.meter { display: grid; gap: 12px; margin-top: auto; padding-top: 22px; }
.meter span { display: grid; grid-template-columns: 40px 1fr 54px; align-items: center; gap: 10px; font-size: .82rem; color: var(--ink-3); }
.meter b { color: var(--ink-2); font-weight: 600; }
.meter em { font-style: normal; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.meter i { height: 6px; border-radius: 9px; background: var(--line-2); position: relative; overflow: hidden; }
.meter i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); background: linear-gradient(90deg, var(--opti), var(--brand)); border-radius: inherit; }

/* bandeau Monitoring Pro */
.band { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 28px; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 90% at 0% 0%, var(--glow1), transparent 60%), radial-gradient(60% 80% at 100% 100%, var(--glow2), transparent 60%), var(--panel); border: 1px solid var(--line-2); }
.band h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.035em; }
.band p { color: var(--ink-2); }
.band-price { font-size: 1.05rem; }
.band-price b { color: var(--ink); }
.mon-mock { background: var(--menu); border: 1px solid var(--line-2); border-radius: 18px; padding: 6px; box-shadow: var(--shadow-lg); font-size: .9rem; }
.mm-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; color: var(--ink-2); }
.mm-head span { background: var(--panel-2); border-radius: 999px; padding: 1px 9px; font-size: .78rem; }
.mm-row { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; padding: 13px 12px; border-top: 1px solid var(--line); }
.mm-row b { font-weight: 600; }
.mm-row span { color: var(--ink-3); font-size: .84rem; }
.mm-row i { width: 9px; height: 9px; border-radius: 50%; }
.mm-row .ok { background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, .15); }
.mm-row .warn { background: var(--warn); box-shadow: 0 0 0 4px rgba(251, 191, 36, .15); }
.mm-row .err { background: var(--err); box-shadow: 0 0 0 4px rgba(248, 113, 113, .15); }

/* vidéo */
.video-box { max-width: 1280px; margin: 0 auto; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); background: #0b0d12; aspect-ratio: 16 / 9; }
.video-box video { width: 100%; height: 100%; }

/* ---------- tarifs ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); isolation: isolate; }
.plan.featured { background: linear-gradient(var(--bg-plan), var(--bg-plan)) padding-box, linear-gradient(140deg, #7c6cff, #38bdf8 60%, rgba(56, 189, 248, .2)) border-box; border: 1px solid transparent; box-shadow: 0 30px 80px -30px var(--glow1); }
.plan.free { border-style: dashed; border-color: var(--line-2); }
.plan .badge { position: absolute; top: -12px; left: 22px; background: linear-gradient(135deg, #6a55ff, #3b6dff); color: #fff; font-size: .74rem; font-weight: 650; padding: 4px 11px; border-radius: 999px; }
.plan h3 { font-size: 1.08rem; margin: 0 0 6px; }
.plan .desc { color: var(--ink-3); font-size: .92rem; min-height: 4.8em; margin: 0; }
.pricing .plan h3 { min-height: 2.4em; }
.plan .amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -.045em; margin: 14px 0 2px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.strike { color: var(--ink-3); text-decoration: line-through; font-size: .95rem; margin-left: 8px; font-weight: 500; letter-spacing: 0; }
.plan .per { color: var(--ink-3); font-size: .85rem; margin-bottom: 18px; }
.plan ul { flex: 1; font-size: .93rem; margin-bottom: 22px; }
.plan li { padding-top: 4px; padding-bottom: 4px; }
.plan li::before { top: 8px; }
.plan .btn { width: 100%; }
.prod-dots { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.prod-dots span { font-size: .72rem; font-weight: 650; padding: 3px 9px; border-radius: 999px; color: #fff; }
.d-PDFDESK { background: #c4262c; } .d-OPTICARE { background: #0369a1; }
.year-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; color: var(--ink-2); font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.chips a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: .88rem; background: var(--panel); text-decoration: none; }
.chips a:hover { color: var(--ink); border-color: var(--ink-3); }
#famille, #pro, #multipostes, #comparatif { scroll-margin-top: 90px; }
.sec-head[id] { margin-top: clamp(64px, 8vw, 96px) !important; }

/* tableaux */
.cmp-wrap, .card.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); padding: 0; }
.cmp { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .94rem; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp tr:last-child > * { border-bottom: 0; }
.cmp thead th { font-weight: 650; color: var(--ink); font-size: .92rem; background: var(--panel-2); }
.cmp th[scope=row] { text-align: left; font-weight: 500; color: var(--ink-2); }
.cmp .hl { background: rgba(124, 108, 255, .08); }
.cmp .yes { color: var(--ok); display: inline-grid; } .cmp .yes svg { width: 20px; height: 20px; }
.cmp .no { color: var(--ink-3); }
.cmp .part { font-size: .82rem; color: var(--warn-ink); font-weight: 600; }
.cmp.tiers { min-width: 640px; }
.cmp.tiers td b { font-size: 1.1rem; color: var(--ink); }
table.list { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.list th { text-align: left; color: var(--ink-3); font-weight: 600; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
table.list td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.list tr:last-child td { border-bottom: 0; }
table.list .prod-dots { margin: 0 0 4px; }
.card.table-wrap table.list { min-width: 560px; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(48px, 6vw, 72px); }
.spec { padding: 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.spec svg { width: 22px; height: 22px; color: var(--brand-ink); margin-bottom: 10px; }
.spec b { display: block; }
.spec span { color: var(--ink-3); font-size: .88rem; }

/* ---------- pages produit ---------- */
.p-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 100px); }
.p-hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.p-hero .display { font-size: clamp(2.3rem, 5vw, 3.9rem); margin-left: 0; }
.p-hero .lead { margin-left: 0; }
.p-hero-visual { animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }
.p-logo { display: inline-flex; gap: 12px; align-items: center; font-weight: 700; font-size: 1.05rem; margin-bottom: 22px; }
.split { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split.rev .split-text { order: 2; }
.split h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.035em; }
.split-text .ticks { margin: 18px 0; }
.split-visual.stack { position: relative; padding-bottom: 14%; padding-right: 6%; }
.split-visual.stack .float { position: absolute; width: 58%; right: 0; bottom: 0; }
.narrow-shot { max-width: 420px; justify-self: center; width: 100%; }
.note { font-size: .9rem; color: var(--ink-3); border-left: 2px solid var(--brand); padding-left: 12px; margin: 0; }
.mini-cards, .contact-side { display: grid; gap: 14px; align-content: start; }
.mini { display: flex; gap: 16px; padding: 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.mini .tile-ico { margin: 0; }
.mini h3, .mini h2 { font-size: 1.02rem; margin: 2px 0 4px; letter-spacing: -.01em; }
.mini p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.score-card { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: var(--panel); border: 1px solid var(--line-2); }
.ring { width: 172px; height: 172px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, var(--bg-plan) 80%, transparent 81% 100%), conic-gradient(var(--ok) calc(var(--v) * 1%), var(--line-2) 0); }
.ring b { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.ring span { color: var(--ink-3); font-size: .9rem; }
.score-rows { display: grid; gap: 10px; }
.score-rows span { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); }
.score-rows em { font-style: normal; color: var(--ink-2); }

/* étapes */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.step { padding: 28px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #6a55ff, #3b6dff); color: #fff; font-weight: 800; margin-bottom: 18px; }
.step p { color: var(--ink-2); margin: 0; }

/* FAQ */
.faq { border-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { padding: 20px 4px; font-weight: 600; font-size: 1.04rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--panel-2); color: var(--ink-2); font-size: 1.2rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 0 4px 22px; }

/* bandeau final */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(44px, 7vw, 84px) clamp(20px, 5vw, 48px); border-radius: 28px; border: 1px solid var(--line-2);
  background: radial-gradient(60% 90% at 50% 0%, var(--glow1), transparent 70%), radial-gradient(40% 60% at 90% 100%, var(--glow2), transparent 70%), var(--panel); }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -.04em; }
.cta-band p { color: var(--ink-2); font-size: 1.08rem; max-width: 620px; margin: 0 auto 28px; }

/* ---------- en-têtes des pages intérieures ---------- */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); }
.page-hero .display { font-size: clamp(2.2rem, 5.2vw, 3.8rem); }
.page-hero.small .display { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.page-hero .lead { margin-bottom: 28px; }
.nf { padding-bottom: clamp(80px, 10vw, 140px); }
.nf-code { font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; letter-spacing: -.07em; line-height: 1; margin: 0 0 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-body p { margin: 0 0 16px; }

/* téléchargement */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dl-card { gap: 14px; }
.dl-card .btn { width: 100%; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 4px; font-size: .9rem; }
.dl-meta div { display: flex; gap: 6px; }
.dl-meta dt { color: var(--ink-3); }
.dl-meta dt::after { content: " :"; }
.dl-meta dd { margin: 0; font-weight: 600; }
.warn-note { font-size: .88rem; margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(251, 191, 36, .09); border: 1px solid rgba(251, 191, 36, .35); color: var(--ink-2); }
.sha summary { cursor: pointer; color: var(--ink-3); font-size: .88rem; }
.sha code { display: block; margin: 8px 0; word-break: break-all; font-family: ui-monospace, Consolas, monospace; font-size: .8rem; padding: 10px 12px; border-radius: 10px; background: var(--field); border: 1px solid var(--line); color: var(--ink-2); }
.dl-more { margin: 0; font-size: .92rem; }
.card-flags { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-3); }
.smartscreen { margin-top: 20px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding: clamp(24px, 4vw, 36px); border-radius: 24px; background: var(--panel); border: 1px solid var(--line); }
.smartscreen h2 { font-size: 1.35rem; letter-spacing: -.02em; }
.ss-steps { margin: 0; padding-left: 22px; color: var(--ink-2); }
.ss-steps li { margin-bottom: 8px; }
.ss-mock { background: #1f6fb5; color: #fff; border-radius: 10px; padding: 18px 18px 14px; font-family: "Segoe UI", system-ui, sans-serif; font-size: .86rem; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .6); }
.ss-title { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.ss-mock p { margin: 0 0 10px; opacity: .92; }
.ss-link { text-decoration: underline; }
.ss-mock em { font-style: normal; background: #ffd400; color: #111; border-radius: 50%; width: 20px; height: 20px; line-height: 20px; text-align: center; font-weight: 800; display: inline-block; font-size: .8rem; }
.ss-btns { display: flex; gap: 8px; justify-content: flex-end; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.ss-btns span { border: 1px solid #fff; padding: 5px 12px; border-radius: 3px; }
.ss-run { outline: 3px solid #ffd400; outline-offset: 2px; }
.av-note { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .94rem; }
.av-note svg { width: 22px; height: 22px; color: var(--warn); flex-shrink: 0; margin-top: 2px; }

/* contact, partenaires */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.pt-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.pt-list .card + .card { margin-top: 0; }

/* ---------- pages intérieures (compte, achat, légal, connexion) ---------- */
.page { position: relative; padding: clamp(48px, 6vw, 80px) 0 clamp(72px, 9vw, 110px); min-height: 60vh; isolation: isolate; }
.page::before { content: ""; position: absolute; left: 50%; top: -300px; width: min(1000px, 100%); height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow1), transparent 70%); z-index: -1; pointer-events: none; opacity: .7; }
.page h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -.035em; }
.card { background: var(--panel); border-radius: var(--r); border: 1px solid var(--line); padding: clamp(20px, 3vw, 30px); }
.card + .card { margin-top: 18px; }
.card h3 { margin-top: 0; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.form label small { font-weight: 400; color: var(--ink-3); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], input[type=tel], input[type=url], input:not([type]), textarea, select {
  width: 100%; font: inherit; font-size: .98rem; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--field); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(124, 108, 255, .2); }
textarea { min-height: 140px; resize: vertical; }
.check { display: flex !important; align-items: flex-start; gap: 10px !important; font-weight: 500 !important; color: var(--ink-2) !important; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); flex-shrink: 0; }
.auth { max-width: 460px; margin: 0 auto; }
.auth h1 { text-align: center; }
.auth .card { padding: clamp(24px, 4vw, 36px); }
.auth .form .btn { width: 100%; }
.auth .alt-link { text-align: center; margin-top: 18px; color: var(--ink-3); }
.alert { border-radius: 12px; padding: 13px 16px; margin-bottom: 18px; font-weight: 500; border: 1px solid; }
.alert.ok { background: rgba(52, 211, 153, .1); color: var(--ok-ink); border-color: rgba(52, 211, 153, .3); }
.alert.err { background: rgba(248, 113, 113, .1); color: var(--err-ink); border-color: rgba(248, 113, 113, .32); }
.alert.info { background: rgba(124, 108, 255, .1); color: var(--ink); border-color: rgba(124, 108, 255, .3); }
.alert a { color: inherit; text-decoration: underline; }
.gbtn { width: 100%; gap: 12px; font-weight: 600; }
.gbtn svg { width: 20px; height: 20px; }
.sep-or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: .85rem; margin: 18px 0; }
.sep-or::before, .sep-or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.summary .line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary .total { font-size: 1.3rem; font-weight: 800; border-bottom: 0; }
#paypal-buttons { margin-top: 18px; min-height: 50px; color-scheme: light; }
.secure { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: .86rem; margin-top: 14px; }
.secure svg { width: 18px; height: 18px; flex-shrink: 0; }
.pc-form { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pc-form input { max-width: 280px; font-family: ui-monospace, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
.keybox { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.keybox code { flex: 1; min-width: 240px; font-family: ui-monospace, Consolas, monospace; font-size: .86rem; background: var(--field); border: 1px dashed var(--line-2); border-radius: 10px; padding: 12px 14px; word-break: break-all; }
.state { display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.state.ok { background: rgba(52, 211, 153, .14); color: var(--ok-ink); } .state.todo { background: rgba(124, 108, 255, .14); color: var(--brand-ink); } .state.off { background: rgba(248, 113, 113, .14); color: var(--err-ink); }
.legal h2 { font-size: 1.22rem; margin-top: 34px; letter-spacing: -.015em; }
.legal p, .legal li { color: var(--ink-2); }
.legal .card { line-height: 1.7; }

/* drapeaux */
.flags { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; vertical-align: middle; }
.flags, .flag { font-style: normal; }
.flag { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.flag img { width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); object-fit: cover; }

/* ---------- pied de page ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg); padding: clamp(56px, 7vw, 80px) 0 28px; font-size: .92rem; color: var(--ink-3); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); margin: 6px 0 14px; font-weight: 650; }
.foot-grid a:not(.brand) { display: block; color: var(--ink-3); padding: 4px 0; }
.foot-grid a:not(.brand):hover { color: var(--ink); text-decoration: none; }
.foot-brand p { max-width: 360px; margin: 16px 0 10px; }
.foot-fr { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.foot-fr svg { width: 16px; height: 16px; color: var(--ok); }
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.foot-langs a { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 9px; color: var(--ink-3); font-size: .84rem; }
.foot-langs a:hover, .foot-langs a.on { background: var(--panel-2); color: var(--ink); text-decoration: none; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; font-size: .84rem; }

/* ---------- apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); animation: rv-fb .5s 4s forwards; }
.js.rv-ok .reveal { animation: none; }
.js .reveal.in { opacity: 1; transform: none; }
.bento > .reveal:nth-child(2), .pricing > .reveal:nth-child(2), .steps > .reveal:nth-child(2), .prod-grid > .reveal:nth-child(2) { transition-delay: .07s; }
.bento > .reveal:nth-child(3), .pricing > .reveal:nth-child(3), .steps > .reveal:nth-child(3) { transition-delay: .14s; }
.bento > .reveal:nth-child(4), .pricing > .reveal:nth-child(4), .steps > .reveal:nth-child(4) { transition-delay: .21s; }
@keyframes rv-fb { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- bulle d'aide ---------- */
.aide { position: fixed; right: 20px; bottom: 20px; z-index: 90; font-size: .95rem; }
.aide-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #6a55ff, #3b6dff); color: #fff; font: inherit; font-weight: 650; cursor: pointer;
  box-shadow: 0 14px 34px -10px rgba(91, 75, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .2); transition: transform .15s; }
.aide-btn:hover { transform: translateY(-1px); }
.aide-btn svg { width: 22px; height: 22px; }
.aide.open .aide-btn { display: none; }
.aide-panel { position: absolute; right: 0; bottom: 0; width: min(380px, calc(100vw - 32px)); height: min(600px, calc(100vh - 40px)); display: flex; flex-direction: column;
  background: var(--menu); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink); }
.aide-panel[hidden] { display: none; }
.aide-head { display: flex; align-items: center; gap: 8px; padding: 14px 14px 12px 18px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.aide-head h2 { flex: 1; margin: 0; font-size: 1.08rem; outline: none; }
.aide-x, .aide-back { width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; color: var(--ink); font-size: 1.35rem; line-height: 1; cursor: pointer; flex-shrink: 0; }
.aide-x:hover, .aide-back:hover { background: var(--panel-2); }
.aide-back[hidden] { display: none; }
.aide-search { padding: 12px 14px 4px; }
.aide-search input { padding: 10px 12px; font-size: .95rem; -webkit-appearance: none; appearance: none; }
.aide-body { flex: 1; min-height: 0; padding: 10px 14px 16px; overflow-y: auto; overscroll-behavior: contain; }
.aide-list { display: grid; gap: 8px; margin: 6px 0 4px; }
.aide-q { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink); font: inherit; font-weight: 600; text-align: left; cursor: pointer; transition: background .15s, border-color .15s; }
.aide-q:hover { background: var(--panel-2); border-color: var(--line-2); }
.aide-q small { display: block; font-weight: 500; color: var(--ink-3); font-size: .8rem; }
.aide-q i { font-style: normal; color: var(--brand-ink); font-size: 1.3rem; line-height: 1; }
.aide-title { font-size: 1.04rem; margin: 6px 0 8px; }
.aide-a { color: var(--ink-2); }
.aide-a p, .aide-a ol { margin: 0 0 .7em; }
.aide-a ol { padding-left: 1.2em; }
.aide-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.aide-links .btn, .aide-fb .btn { white-space: normal; text-align: center; }
.aide-fb { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.aide-thanks { margin: 0; font-weight: 600; color: var(--ok-ink); outline: none; }
.aide-more, .aide-note, .aide-sub { color: var(--ink-3); font-size: .88rem; margin: 12px 0 0; }
.aide-sub { margin: 4px 0 0; font-weight: 600; }
.aide-link { border: 0; background: none; padding: 0; color: var(--brand-ink); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }
.aide-form { display: grid; gap: 10px; }
.aide-form label { display: grid; gap: 4px; font-weight: 600; font-size: .88rem; }
.aide-form input, .aide-form textarea { padding: 10px 12px; font-size: .95rem; }
.aide-form textarea { min-height: 96px; }
.aide-form .alert, .aide-body .alert { margin: 0 0 10px; outline: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .login { display: none; }
  .hero-visual .float { width: 36%; right: 0; }
}
@media (max-width: 980px) {
  .menu { display: none; }
  .burger { display: block; }
  .top.open .menu { display: flex; flex-direction: column; align-items: stretch; gap: 2px; position: absolute; top: 64px; left: 0; right: 0; padding: 10px 16px 18px; background: var(--menu); border-bottom: 1px solid var(--line-2); box-shadow: var(--shadow-lg); max-height: calc(100vh - 64px); overflow-y: auto; }
  .top.open .menu > a { padding: 12px; font-size: 1rem; }
  .top.open .dd-btn { display: none; }
  .top.open .dd-panel { position: static; opacity: 1; visibility: visible; transform: none; width: auto; box-shadow: none; border: 0; padding: 0 0 6px; background: none; }
  .menu-only { display: block; }
  .prod-grid, .dl-grid, .split, .p-hero-in, .band, .checkout, .contact-grid, .smartscreen { grid-template-columns: 1fr; }
  .split.rev .split-text { order: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .span-3, .span-4 { grid-column: span 2; } .span-2 { grid-column: span 1; }
  .tall { grid-row: auto; }
  .steps, .steps.four, .specs { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .p-hero-text { text-align: left; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .cta-top { display: none; }
  .top-in { gap: 10px; }
  .bento, .steps, .steps.four, .specs, .form .row2 { grid-template-columns: 1fr; }
  .bento > * { grid-column: 1 / -1; }
  .hero-visual .float { display: none; }
  .split-visual.stack { padding: 0; }
  .split-visual.stack .float { display: none; }
  .score-card { grid-template-columns: 1fr; justify-items: center; }
  .score-rows { width: 100%; }
  .tile, .step { padding: 22px; }
  .tile-media { margin: 20px -22px -22px; }
  .plan .desc, .pricing .plan h3 { min-height: 0; }
  .btn.big { padding: 13px 20px; }
  .cta-row .btn { flex: 1 1 auto; }
  .foot-grid { grid-template-columns: 1fr; }
  .announce { font-size: .82rem; }
  .aide { right: 12px; bottom: 12px; }
  .aide-btn span { display: none; }
  .aide-btn { padding: 14px; }
  .aide.open { left: 0; right: 0; bottom: 0; }
  .aide-panel { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; height: auto; max-height: 88vh; max-height: 88dvh; border-radius: var(--r) var(--r) 0 0; }
}
@media print { .top, .foot, .aide, .hero-bg { display: none !important; } body { background: #fff; color: #000; } }

/* page publique /verif : badge « Logement sans caméra » */
.verif h1 { margin: 0 0 20px; }
.verif-badge { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--panel); margin-bottom: 28px; }
.verif-badge .verif-ico { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; color: #fff; background: var(--ink-3); }
.verif-badge.ok { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); } .verif-badge.ok .verif-ico { background: var(--ok); }
.verif-badge.warn { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); } .verif-badge.warn .verif-ico { background: var(--warn); color: #1a1a1a; }
.verif-badge.bad { border-color: var(--err); background: color-mix(in srgb, var(--err) 12%, transparent); } .verif-badge.bad .verif-ico { background: var(--err); }
.verif-badge b { font-size: 1.25rem; letter-spacing: -.01em; display: block; } .verif-badge p { margin: 4px 0 0; color: var(--ink-2); }
.verif-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .verif-cols { grid-template-columns: 1fr; } .verif-badge { flex-direction: column; text-align: center; } }
.verif-cols h2 { font-size: 1.05rem; margin: 0 0 10px; }
.verif-x { list-style: none; padding: 0; margin: 0; } .verif-x li { position: relative; padding: 5px 0 5px 28px; color: var(--ink-2); } .verif-x li::before { content: "–"; position: absolute; left: 6px; color: var(--ink-3); }
.verif .note { margin-top: 24px; }

/* Boîte à outils d'OptiCare (page produit) */
.tg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tg { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 14px; }
.tg h3 { margin: 0 0 4px; font-size: 1.1rem; }
.tg > p { margin: 0 0 12px; font-size: .9rem; }
.tg-list { list-style: none; margin: 0; padding: 0; }
.tg-list li { padding: 10px 0; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.45; }
.tg-list li b { display: inline; color: var(--ink); margin-right: 8px; }
.tg-list li > span:last-child { display: block; color: var(--ink-2); margin-top: 2px; }
.tg-b { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .72rem; font-weight: 600; border: 1px solid var(--line-2); color: var(--opti-ink); margin-right: 4px; vertical-align: 1px; }
@media (max-width: 1100px) { .tg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .tg-grid { grid-template-columns: 1fr; } }
.tg-list li.tg-s { padding: 7px 0; }
