/* ==========================================================================
   LumiSEO — feuille de style principale
   Direction artistique Luminos Web : Google Sans, violet #7C3AED,
   aubergine en mode sombre, pilules, bordures fines, lavis lavande.
   ========================================================================== */

@font-face {
  font-family: "Google Sans";
  src: url("../fonts/google-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Google Sans";
  src: url("../fonts/google-sans-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #faf8fd;
  --ink: #111016;
  --ink-2: #2b2833;
  --muted: #605b6a;
  --faint: #8b8496;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-ink: #ffffff;
  --accent-soft: #7c3aed14;
  --accent-soft-2: #7c3aed24;
  --accent-line: #7c3aed40;
  --line: #5c458124;
  --line-strong: #5c45813d;
  --surface: #ffffff;
  --surface-glass: #ffffffc7;
  --surface-tint: #f6f1ffb0;
  --surface-2: #f8f5fc;
  --field: #ffffff;
  --navbar: #fffefee6;
  --shadow-sm: 0 1px 2px #301c5410, 0 6px 18px -10px #301c541f;
  --shadow: 0 18px 50px -14px #38214c26;
  --shadow-lg: 0 40px 90px -30px #38214c40;
  --grid: #ece8f2;
  --axis: #d6cfe0;
  --series-1: #7c3aed;
  --series-2: #eb6834;
  --good: #0ca30c;
  --good-ink: #0a7d0a;
  --warn: #fab219;
  --warn-ink: #9a6400;
  --serious: #ec835a;
  --bad: #d03b3b;
  --bad-ink: #b42323;
  --wash-1: #7c3aed1f;
  --wash-2: #c084fc1a;
  --selection: #7c3aed2e;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --font: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  --wrap: 1200px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c060f;
  --bg-soft: #100a14;
  --ink: #f7f5fa;
  --ink-2: #e4dfec;
  --muted: #ffffffb3;
  --faint: #ffffff7a;
  --accent: #a569f1;
  --accent-hover: #b783f5;
  --accent-ink: #170b28;
  --accent-soft: #a569f11c;
  --accent-soft-2: #a569f12e;
  --accent-line: #ae78f64d;
  --line: #b3a1ce26;
  --line-strong: #b3a1ce40;
  --surface: #140d19;
  --surface-glass: #140d19cc;
  --surface-tint: #37235147;
  --surface-2: #1b1322;
  --field: #120f19;
  --navbar: #0c060fe0;
  --shadow-sm: 0 1px 2px #0006, 0 6px 18px -10px #0008;
  --shadow: 0 18px 50px -12px #0009;
  --shadow-lg: 0 40px 90px -30px #000c;
  --grid: #251c2d;
  --axis: #3a2f45;
  --series-1: #a569f1;
  --series-2: #d95926;
  --good-ink: #3fcf6a;
  --warn-ink: #fab219;
  --bad-ink: #f28e9b;
  --wash-1: #7c3aed2e;
  --wash-2: #a855f71a;
  --selection: #a569f147;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
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;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
::selection { background: var(--selection); }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 2000; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 14px; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #9262ec; border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-hover); }

/* ---------- Effets globaux ---------- */
.site-effects { position: fixed; inset: 0; z-index: 900; pointer-events: none; overflow: hidden; }
.luminos-glow-canvas { pointer-events: none; position: absolute; inset: 0; display: block; width: 100%; height: 100%; user-select: none; }
.page-wash {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -8%, var(--wash-1), transparent 70%),
    radial-gradient(700px 520px at 100% 10%, var(--wash-2), transparent 70%),
    radial-gradient(900px 600px at 50% 120%, var(--wash-2), transparent 70%);
}
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .grain { mix-blend-mode: screen; opacity: .03; }

[data-spot] { position: relative; isolation: isolate; }
[data-spot]::before, [data-spot]::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; }
[data-spot]::before {
  padding: 2px;
  background: radial-gradient(350px circle at var(--sx, 50%) var(--sy, 50%), var(--accent), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
[data-spot]::after { background: radial-gradient(350px circle at var(--sx, 50%) var(--sy, 50%), var(--accent-soft), transparent 70%); }
@media (hover: hover) and (pointer: fine) { [data-spot][data-spot-on]::before, [data-spot][data-spot-on]::after { opacity: 1; } }
[data-spot]:focus-within::before { opacity: 1; }

/* Apparitions au défilement */
[data-reveal] { opacity: 0; transform: translateY(18px); filter: blur(4px); transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.no-js [data-reveal] { opacity: 1; transform: none; filter: none; }

/* ---------- Boutons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, box-shadow .3s var(--ease), transform .3s var(--ease);
  will-change: transform;
}
.btn .ic { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .ic-move { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 1px 0 #ffffff38, 0 10px 24px -14px var(--accent); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: inset 0 1px 0 #ffffff38, 0 16px 30px -14px var(--accent); }
.btn-primary:active { transform: translateY(1px) scale(.99); }
.btn-ghost { background: var(--surface-glass); color: var(--ink); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--accent-line); color: var(--accent); }
.btn-sm { --h: 36px; padding: 0 15px; font-size: 13px; }
.btn-icon { width: var(--h); padding: 0; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: color .2s; }
.link-arrow:hover { color: var(--accent); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 800;
  background: var(--navbar); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 10px 32px -24px #301c5426, inset 0 -1px 0 var(--line);
  transition: background .4s var(--ease), box-shadow .3s;
}
.header-row { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; letter-spacing: -0.04em; line-height: 1; }
.brand-mark { width: 30px; height: 30px; color: var(--ink); transition: transform .8s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-60deg); }
.brand-word b { font-weight: 700; }
.brand-word span { font-weight: 400; color: var(--accent); }
.main-nav { display: flex; gap: 4px; margin-inline: auto; }
.main-nav a { position: relative; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--ink-2); border-radius: 999px; transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--accent); background: var(--accent-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; color: var(--ink); transition: background .2s, color .2s, transform .5s var(--ease); }
.theme-toggle:hover { background: var(--accent-soft); color: var(--accent); }
.theme-toggle svg { width: 26px; height: 26px; display: block; overflow: visible; }
.theme-toggle[disabled] { cursor: default; }
.tt-icon { transform-box: fill-box; transform-origin: center; }
:root[data-theme="dark"] .tt-sun, :root:not([data-theme="dark"]) .tt-moon { opacity: 0; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px var(--accent-soft-2); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }
.hero h1 { margin-top: 18px; font-size: clamp(42px, 6vw, 72px); letter-spacing: -0.048em; line-height: 1.02; font-weight: 500; }
.hero h1 .accent { color: var(--accent); }
.split-word { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; transform: translateY(105%); opacity: 0; filter: blur(6px); animation: wordUp 1s var(--ease) forwards; animation-delay: calc(var(--w) * 60ms + 120ms); }
@keyframes wordUp { to { transform: none; opacity: 1; filter: none; } }
.hero-lead { margin-top: 22px; max-width: 520px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.fade-up { opacity: 0; transform: translateY(14px); animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--d, .4s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Barre de recherche */
.search { position: relative; margin-top: 32px; max-width: 600px; }
.search-box {
  position: relative; display: flex; align-items: center; gap: 6px;
  padding: 7px 7px 7px 20px; border-radius: 999px;
  background: var(--field); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), inset 0 1px 0 #ffffff;
  transition: border-color .25s, box-shadow .35s var(--ease), transform .35s var(--ease);
  isolation: isolate;
}
:root[data-theme="dark"] .search-box { box-shadow: var(--shadow), inset 0 1px 0 #ffffff12; }
.search-box::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 55%, #7c3aed 70%, #c084fc 80%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s; animation: spinBorder 3.2s linear infinite;
}
.search-box:focus-within { border-color: transparent; box-shadow: var(--shadow-lg), 0 0 0 6px var(--accent-soft); transform: translateY(-1px); }
.search-box:focus-within::before { opacity: 1; }
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spinBorder { to { --angle: 360deg; } }
.search-box > .ic { width: 22px; height: 22px; color: var(--accent); }
.search-input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); }
.search-input::placeholder { color: var(--faint); }
.search .btn { --h: 50px; padding: 0 24px; font-size: 15px; }
.search-error { min-height: 22px; margin: 10px 0 0 22px; font-size: 13px; color: var(--bad-ink); }
.search-hints { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-glass); font-size: 13px; color: var(--ink-2); transition: border-color .2s, color .2s, transform .3s var(--ease); }
.chip-btn:hover { border-color: var(--accent-line); color: var(--accent); transform: translateY(-1px); }
.chip-btn img { width: 14px; height: 14px; border-radius: 3px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; font-size: 13.5px; color: var(--muted); }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row .ic { color: var(--accent); width: 18px; height: 18px; }

/* Visuel du hero : tableau de bord en perspective */
.hero-visual { position: relative; height: 560px; perspective: 1400px; }
.hv-stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -14deg)) rotateZ(1deg); transition: transform .9s var(--ease); }
.hv-card {
  position: absolute; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); padding: 18px; overflow: hidden;
  opacity: 0; animation: cardIn 1.1s var(--ease) forwards; animation-delay: var(--d, .5s);
}
@keyframes cardIn { from { opacity: 0; transform: translate3d(0, 30px, -60px) scale(.96); } to { opacity: 1; transform: translate3d(0, 0, var(--z, 0)); } }
.hv-card h4 { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-2); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hv-card small { color: var(--faint); font-size: 11.5px; }
.hv-tag { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 999px; }
.hv-main { left: 4%; top: 6%; width: 74%; --z: 0px; }
.hv-browser { display: flex; align-items: center; gap: 6px; margin: -4px 0 14px; }
.hv-browser i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.hv-browser span { margin-left: 8px; flex: 1; height: 24px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 11px; color: var(--muted); display: flex; align-items: center; padding: 0 10px; gap: 6px; }
.hv-scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hv-score { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border-radius: var(--r); background: var(--surface-2); }
.hv-score svg { width: 64px; height: 64px; }
.hv-score span { font-size: 11px; color: var(--muted); font-weight: 500; }
.hv-line { margin-top: 12px; padding: 12px; border-radius: var(--r); background: var(--surface-2); }
.hv-line svg { width: 100%; height: 86px; overflow: visible; }
.hv-traffic { right: 0; top: 0; width: 42%; --z: 70px; animation-delay: .8s; }
.hv-big { font-size: 34px; font-weight: 500; letter-spacing: -0.04em; color: var(--accent); line-height: 1.1; margin-top: 8px; }
.hv-vitals { right: 2%; bottom: 8%; width: 50%; --z: 110px; animation-delay: 1s; }
.hv-vital { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; margin-top: 10px; font-size: 12px; }
.hv-vital b { font-weight: 600; font-size: 12px; color: var(--ink-2); }
.hv-meter { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.hv-meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--good); animation: meter 1.6s var(--ease) forwards; animation-delay: calc(1.4s + var(--k) * .15s); }
@keyframes meter { to { width: var(--v); } }
.hv-shop { left: 0; bottom: 4%; width: 42%; --z: 50px; animation-delay: 1.2s; }
.hv-bars { display: flex; align-items: flex-end; gap: 5px; height: 64px; margin-top: 12px; }
.hv-bars i { flex: 1; border-radius: 4px 4px 0 0; background: var(--accent); opacity: .85; height: 0; animation: grow 1.2s var(--ease) forwards; animation-delay: calc(1.5s + var(--k) * .07s); }
@keyframes grow { to { height: var(--v); } }
.hv-caption { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); font-size: 12px; color: var(--faint); white-space: nowrap; }
.float-a { animation: cardIn 1.1s var(--ease) forwards, bob 7s ease-in-out 2.2s infinite; }
@keyframes bob { 50% { translate: 0 -10px; } }
.gauge-anim .g-arc { transition: stroke-dashoffset 1.8s var(--ease); }
.draw-line { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); animation: draw 2.2s var(--ease) forwards; animation-delay: var(--d, .9s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.fade-area { opacity: 0; animation: fadeIn 1.2s var(--ease) forwards; animation-delay: 1.8s; }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Bande défilante ---------- */
.marquee { position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: var(--surface-tint); -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.marquee-item .ic { color: var(--accent); width: 18px; height: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { margin-top: 14px; font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.045em; }
.section-head h2 .accent { color: var(--accent); }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 17px; }

/* Bento des fonctionnalités */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tile {
  position: relative; grid-column: span 4; padding: 26px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease);
}
.tile:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.tile.w6 { grid-column: span 6; }
.tile.w8 { grid-column: span 8; }
.tile-ic { width: 30px; height: 30px; color: var(--accent); }
.tile h3 { margin-top: 18px; font-size: 21px; letter-spacing: -0.03em; }
.tile p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.tile ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 7px; }
.tile li { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.tile-art { margin-top: 20px; }

/* Démo e-commerce */
.shop-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.shop-copy h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.045em; margin-top: 14px; }
.shop-copy h2 .accent { color: var(--accent); }
.shop-copy p { margin-top: 18px; color: var(--muted); font-size: 16.5px; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.check-list .ic { color: var(--accent); width: 20px; height: 20px; margin-top: 2px; }
.shop-panel { position: relative; padding: 24px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.shop-panel .note { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--faint); margin-top: 14px; }

/* Processus */
.process { position: relative; max-width: 940px; margin: 0 auto; }
.process::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--line-strong), var(--line-strong)) no-repeat; }
.process-progress { position: absolute; left: 21px; top: 10px; width: 1px; height: var(--p, 0%); background: var(--accent); transition: height .2s linear; }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr 1fr; gap: 28px; padding: 26px 0; align-items: center; }
.step-num { width: 43px; height: 43px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-strong); font-size: 12px; font-weight: 600; color: var(--ink-2); z-index: 1; transition: background .4s, color .4s, border-color .4s; }
.step.is-in .step-num { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.step h3 { font-size: 24px; letter-spacing: -0.035em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.step-art { height: 120px; border-radius: var(--r-lg); background: var(--surface-tint); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.step-art svg { width: 70%; height: auto; }

/* Gratuit */
.free-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.free-card { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.free-card .big { font-size: 46px; letter-spacing: -0.05em; color: var(--accent); line-height: 1; font-weight: 500; }
.free-card h3 { margin-top: 14px; font-size: 19px; }
.free-card p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.sources { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.sources span { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: var(--surface-glass); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--accent-line); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-size: 16.5px; font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 20px; height: 20px; color: var(--accent); transition: transform .4s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.faq .faq-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* CTA final */
.cta-band { position: relative; padding: 70px 40px; border-radius: var(--r-xl); text-align: center; overflow: hidden; background: radial-gradient(600px 300px at 50% 0%, var(--accent-soft-2), transparent 70%), var(--surface); border: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(30px, 4.2vw, 50px); letter-spacing: -0.045em; }
.cta-band h2 .accent { color: var(--accent); }
.cta-band p { margin: 14px auto 0; max-width: 520px; color: var(--muted); }
.cta-band .search { margin: 30px auto 0; text-align: left; }
.cta-orbit { position: absolute; width: 520px; height: 520px; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; border: 1px dashed var(--accent-line); opacity: .5; animation: spin 60s linear infinite; pointer-events: none; }
.cta-orbit::before { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); top: -5px; left: 50%; box-shadow: 0 0 20px var(--accent); }
.cta-orbit.o2 { width: 760px; height: 760px; animation-duration: 90s; animation-direction: reverse; }
@keyframes spin { to { rotate: 360deg; } }

/* Pied de page */
.site-footer { margin-top: 80px; padding: 56px 0 34px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-grid a { font-size: 14px; color: var(--ink-2); transition: color .2s; display: inline-flex; align-items: center; gap: 6px; }
.footer-grid a:hover { color: var(--accent); }
.footer-about p { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 320px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.footer-bottom a:hover { color: var(--accent); }
.badge-new { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }

/* ==========================================================================
   Vue analyse
   ========================================================================== */
body.is-app .marketing { display: none; }
.app { display: none; padding: 34px 0 40px; min-height: calc(100vh - 70px); }
body.is-app .app { display: block; }
.app-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.app-bar .search { margin: 0; flex: 1; min-width: 280px; max-width: 720px; }
.app-bar .search-box { box-shadow: var(--shadow-sm); }
.app-bar .search .btn { --h: 44px; }
.app-bar .search-input { height: 42px; font-size: 15.5px; }
.app-bar .search-error { position: absolute; margin-top: 6px; }

/* Progression */
.scan { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; margin-top: 34px; }
.scan-visual { position: relative; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 18px; overflow: hidden; min-height: 470px; }
.scan-screen { position: relative; margin-top: 12px; height: 340px; border-radius: var(--r); background: var(--surface-2); overflow: hidden; border: 1px solid var(--line); }
.scan-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .8s; }
.scan-screen img.is-on { opacity: 1; }
.scan-skel { position: absolute; inset: 0; padding: 22px; display: grid; gap: 12px; align-content: start; }
.scan-skel i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--line) 25%, var(--accent-soft-2) 50%, var(--line) 75%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
.scan-skel i:nth-child(1) { width: 40%; height: 18px; }
.scan-skel i:nth-child(2) { width: 85%; }
.scan-skel i:nth-child(3) { width: 70%; }
.scan-skel i:nth-child(4) { height: 120px; border-radius: 12px; }
.scan-skel i:nth-child(5) { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.scan-beam { position: absolute; left: 0; right: 0; height: 120px; top: -120px; background: linear-gradient(180deg, transparent, var(--accent-soft-2) 70%, var(--accent) 100%); opacity: .7; animation: beam 2.6s var(--ease-io) infinite; mix-blend-mode: multiply; }
:root[data-theme="dark"] .scan-beam { mix-blend-mode: screen; }
.scan-beam::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); box-shadow: 0 0 18px 2px var(--accent); }
@keyframes beam { to { top: 100%; } }
.scan-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 13px; color: var(--muted); }
.scan-meta b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.scan-pct { font-size: 44px; font-weight: 500; letter-spacing: -0.05em; color: var(--accent); line-height: 1; }
.scan-bar { height: 4px; border-radius: 999px; background: var(--accent-soft-2); overflow: hidden; margin-top: 10px; }
.scan-bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--accent); border-radius: inherit; transition: width .5s var(--ease); }
.scan-side { display: grid; gap: 18px; align-content: start; }
.scan-steps { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); padding: 10px; }
.scan-step { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 14px; color: var(--muted); transition: background .3s, color .3s; }
.scan-step.is-run { background: var(--accent-soft); color: var(--ink); }
.scan-step.is-done, .scan-step.is-warn { color: var(--ink-2); }
.scan-step small { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.st-ic { width: 22px; height: 22px; display: grid; place-items: center; }
.st-ic .ic { width: 20px; height: 20px; }
.scan-step.is-done .st-ic { color: var(--good); }
.scan-step.is-warn .st-ic { color: var(--warn-ink); }
.scan-step.is-skip .st-ic { color: var(--faint); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--accent-soft-2); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.pending-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.scan-feed { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); padding: 16px 18px; max-height: 210px; overflow: hidden; -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }
.scan-feed h4 { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.feed-line { display: flex; gap: 9px; align-items: baseline; font-size: 13px; color: var(--ink-2); padding: 4px 0; animation: feedIn .5s var(--ease); }
.feed-line .ic { width: 14px; height: 14px; color: var(--accent); transform: translateY(2px); }
.feed-line span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Rapport ---------- */
.report { margin-top: 30px; }
.r-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.r-site { display: flex; gap: 16px; align-items: center; min-width: 0; }
.r-fav { width: 52px; height: 52px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; flex: none; }
.r-fav img { width: 30px; height: 30px; object-fit: contain; }
.r-site h1 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.045em; line-height: 1.1; overflow-wrap: anywhere; }
.r-site .r-url { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.r-site .r-url:hover { color: var(--accent); }
.r-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.r-date { font-size: 12.5px; color: var(--faint); margin-top: 6px; }


.r-section { padding-top: 46px; scroll-margin-top: 140px; }
.r-section > header { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.r-section > header h2 { font-size: clamp(24px, 2.8vw, 32px); letter-spacing: -0.04em; display: flex; align-items: center; gap: 12px; }
.r-section > header h2 .ic { color: var(--accent); width: 28px; height: 28px; }
.r-section > header p { color: var(--muted); font-size: 14.5px; max-width: 640px; margin-top: 6px; }

.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.span2 { grid-column: span 2; }
.span3 { grid-column: span 3; }
.span-all { grid-column: 1 / -1; }

.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); min-width: 0; }
.card h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.card h3 .ic { color: var(--accent); width: 18px; height: 18px; }
.card .sub { margin-top: 3px; font-size: 13px; color: var(--faint); }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.card-foot { margin-top: 14px; font-size: 12.5px; color: var(--faint); display: flex; gap: 6px; align-items: flex-start; }
.card-foot .ic { width: 15px; height: 15px; margin-top: 2px; }

/* Score héros */
.overview { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.4fr); gap: 16px; margin-top: 26px; }
.hero-score { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; padding: 28px; overflow: hidden; }
.hero-score { background: radial-gradient(420px 280px at 0% 0%, var(--accent-soft-2), transparent 70%), var(--surface); }
.ring-big { position: relative; width: 190px; height: 190px; }
.ring-big svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-big .ring-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-big .ring-val b { font-size: 60px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.ring-big .ring-val span { font-size: 12.5px; color: var(--faint); margin-top: 4px; }
.hero-score h2 { font-size: 26px; letter-spacing: -0.035em; }
.hero-score p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.verdict { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; padding: 5px 12px 5px 9px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line); }
.verdict .ic { width: 17px; height: 17px; }
.st-good { color: var(--good-ink); }
.st-warn { color: var(--warn-ink); }
.st-bad { color: var(--bad-ink); }
.st-info { color: var(--accent); }
.st-skip { color: var(--faint); }
.issue-counts { display: flex; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.issue-counts div { display: grid; gap: 2px; }
.issue-counts b { font-size: 24px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; }
.issue-counts span { font-size: 12px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.issue-counts i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.scores-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.score-tile { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 18px 10px 16px; cursor: pointer; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.score-tile:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.score-tile .gauge { width: 92px; height: 92px; }
.score-tile b { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.score-tile small { font-size: 11.5px; color: var(--faint); display: inline-flex; gap: 5px; align-items: center; }
.score-tile small .ic { width: 13px; height: 13px; }
.gauge { position: relative; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.gauge .g-val { position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; font-weight: 500; letter-spacing: -0.04em; }
.gauge .g-val.na { font-size: 14px; color: var(--faint); }
.g-track { stroke: var(--surface-2); }
.g-arc { transition: stroke-dashoffset 1.6s var(--ease); }

.snapshot { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.shot-frame { border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; background: var(--surface-2); aspect-ratio: 16 / 10; position: relative; }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-frame .empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--faint); font-size: 13px; text-align: center; padding: 20px; }
.shot-mobile { position: absolute; right: 14px; bottom: 14px; width: 24%; aspect-ratio: 9 / 18; border-radius: 14px; overflow: hidden; border: 3px solid var(--ink); background: var(--surface); box-shadow: var(--shadow-lg); }
.shot-mobile img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.facts { display: grid; gap: 0; }
.fact { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.fact:last-child { border-bottom: 0; }
.fact .ic { color: var(--accent); width: 18px; height: 18px; }
.fact span { color: var(--muted); }
.fact b { font-weight: 600; text-align: right; overflow-wrap: anywhere; max-width: 260px; }

/* Stat tiles */
.stat { display: grid; gap: 4px; align-content: start; }
.stat .label { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.stat .label .ic { width: 16px; height: 16px; color: var(--accent); }
.stat .value { font-size: 30px; font-weight: 500; letter-spacing: -0.045em; line-height: 1.15; color: var(--ink); overflow-wrap: anywhere; }
.stat .value.accent { color: var(--accent); }
.stat .value small { font-size: 15px; letter-spacing: -0.01em; color: var(--muted); margin-left: 3px; font-weight: 400; }
.stat .hint { font-size: 12.5px; color: var(--faint); display: flex; align-items: center; gap: 6px; }
.stat .hint .ic { width: 14px; height: 14px; }
.stat-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; }
.stat-status .ic { width: 15px; height: 15px; }
.metric-card { display: grid; gap: 6px; }
.metric-card .mbar { height: 6px; border-radius: 999px; background: var(--surface-2); position: relative; overflow: hidden; margin-top: 6px; }
.metric-card .mbar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; transition: width 1.4s var(--ease); }

/* Segmented (distribution CrUX) */
.seg { display: flex; gap: 2px; height: 28px; border-radius: 6px; overflow: hidden; margin-top: 12px; }
.seg > div { position: relative; display: flex; align-items: center; padding-left: 8px; font-size: 12px; font-weight: 600; color: #fff; min-width: 0; white-space: nowrap; transform-origin: left; animation: segIn 1.2s var(--ease) both; border-radius: 4px; }
.seg > div.dark-text { color: #0b0b0b; }
@keyframes segIn { from { transform: scaleX(0); } }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend i.line { height: 2px; width: 14px; border-radius: 2px; }

/* Graphiques */
.chart { position: relative; width: 100%; }
.chart svg { width: 100%; height: auto; overflow: visible; display: block; }
.chart text { font-family: var(--font); fill: var(--faint); font-size: 11px; }
.chart .ax-line { stroke: var(--axis); stroke-width: 1; }
.chart .grid-line { stroke: var(--grid); stroke-width: 1; }
.chart .hit { fill: transparent; cursor: crosshair; }
.chart .bar { fill: var(--series-1); transition: opacity .2s; }
.chart .bar.s2 { fill: var(--series-2); }
.chart .bar:hover, .chart .bar.is-hot { opacity: .78; }
.chart .line { fill: none; stroke: var(--series-1); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: var(--series-1); opacity: .1; }
.chart .dot { fill: var(--series-1); stroke: var(--surface); stroke-width: 2; }
.chart .cross { stroke: var(--axis); stroke-width: 1; opacity: 0; transition: opacity .15s; }
.chart .val-label { fill: var(--ink-2); font-size: 11.5px; font-weight: 600; }
.chart .cat-label { fill: var(--muted); font-size: 12px; }
.chart.grow .bar-h { transform-box: fill-box; transform-origin: left center; animation: barH 1.1s var(--ease) both; animation-delay: calc(var(--k, 0) * 60ms); }
.chart.grow .bar-v { transform-box: fill-box; transform-origin: center bottom; animation: barV 1.1s var(--ease) both; animation-delay: calc(var(--k, 0) * 25ms); }
@keyframes barH { from { transform: scaleX(0); } }
@keyframes barV { from { transform: scaleY(0); } }
.chart.grow .line { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.8s var(--ease) forwards; }
.chart.grow .area { animation: areaIn 1.4s var(--ease) .5s both; }
@keyframes areaIn { from { opacity: 0; } }
.hbars { display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: minmax(90px, 34%) 1fr auto; gap: 12px; align-items: center; font-size: 13px; }
.hbar .hb-label { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar .hb-track { height: 10px; border-radius: 0 4px 4px 0; position: relative; }
.hbar .hb-fill { position: absolute; inset: 0 auto 0 0; border-radius: 0 4px 4px 0; background: var(--series-1); width: var(--w); transform-origin: left; animation: barH 1.1s var(--ease) both; animation-delay: calc(var(--k, 0) * 60ms); }
.hbar .hb-val { font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.hbar:hover .hb-fill { opacity: .8; }
.tip { position: fixed; z-index: 1500; pointer-events: none; padding: 9px 12px; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: 12.5px; box-shadow: var(--shadow); opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; max-width: 260px; }
.tip.on { opacity: 1; transform: none; }
.tip .t-val { font-weight: 600; font-size: 14px; display: block; }
.tip .t-row { display: flex; align-items: center; gap: 8px; }
.tip .t-key { width: 12px; height: 2px; border-radius: 2px; flex: none; }
.tip .t-lab { opacity: .75; }
.data-table { margin-top: 12px; }
.data-table summary { cursor: pointer; font-size: 12.5px; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; list-style: none; }
.data-table summary::-webkit-details-marker { display: none; }
.data-table table { margin-top: 10px; }

/* Tables */
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td .url { overflow-wrap: anywhere; color: var(--muted); font-size: 12.5px; }
.mono { font-family: var(--mono); font-size: 12.5px; }

/* Checks */
.checks { display: grid; gap: 0; }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.check:last-child { border-bottom: 0; }
.check > .ic { width: 22px; height: 22px; margin-top: 1px; }
.check-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.check-top b { font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em; }
.check-top .check-val { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; max-width: 100%; }
.check p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.check .fix { margin-top: 8px; font-size: 13px; color: var(--ink-2); padding: 9px 12px; border-radius: 10px; background: var(--surface-tint); border: 1px solid var(--line); display: flex; gap: 8px; }
.check .fix .ic { color: var(--accent); width: 16px; height: 16px; margin-top: 2px; flex: none; }
.check code, .code-inline { font-family: var(--mono); font-size: 12px; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); overflow-wrap: anywhere; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.pill .ic { width: 14px; height: 14px; }
.pill.on { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.pills { display: flex; flex-wrap: wrap; gap: 7px; }
.na-note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: var(--surface-tint); border: 1px dashed var(--accent-line); font-size: 13.5px; color: var(--ink-2); }
.na-note .ic { color: var(--accent); width: 18px; height: 18px; margin-top: 2px; }
.na-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Aperçus SERP et partage */
.serp { padding: 18px; border-radius: var(--r); background: #fff; color: #202124; font-family: Arial, sans-serif; border: 1px solid #dadce0; }
.serp-site { display: flex; align-items: center; gap: 10px; }
.serp-site img, .serp-site .sfav { width: 26px; height: 26px; border-radius: 50%; background: #f1f3f4; border: 1px solid #e8eaed; padding: 4px; }
.serp-site b { display: block; font-size: 14px; font-weight: 400; color: #202124; }
.serp-site small { display: block; font-size: 12px; color: #4d5156; }
.serp h4 { margin-top: 8px; font-size: 20px; line-height: 1.3; font-weight: 400; color: #1a0dab; letter-spacing: 0; font-family: Arial, sans-serif; }
.serp p { margin-top: 4px; font-size: 14px; line-height: 1.58; color: #4d5156; }
.og-card { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.og-img { aspect-ratio: 1.91 / 1; background: var(--surface-2); display: grid; place-items: center; color: var(--faint); font-size: 13px; overflow: hidden; }
.og-img img { width: 100%; height: 100%; object-fit: cover; }
.og-body { padding: 12px 14px; }
.og-body small { font-size: 11.5px; text-transform: uppercase; color: var(--faint); letter-spacing: .04em; }
.og-body b { display: block; margin-top: 3px; font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.og-body p { margin-top: 3px; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Arborescence des titres */
.htree { display: grid; gap: 2px; max-height: 380px; overflow: auto; padding-right: 6px; }
.hnode { display: grid; grid-template-columns: 34px 1fr; gap: 8px; align-items: baseline; padding: 6px 8px; border-radius: 8px; font-size: 13.5px; color: var(--ink-2); padding-left: calc(8px + var(--lvl) * 16px); }
.hnode:hover { background: var(--surface-2); }
.hnode b { font-size: 11px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 5px; text-align: center; padding: 1px 0; }
.hnode.skip b { color: var(--warn-ink); background: #fab21922; }
.hnode span { overflow-wrap: anywhere; }

/* Filmstrip */
.filmstrip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(64px, 96px); justify-content: start; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.frame { display: grid; gap: 6px; text-align: center; }
.frame img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); opacity: 0; animation: fadeIn .6s var(--ease) forwards; animation-delay: calc(var(--k) * 90ms); }
.frame small { font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }

/* Pile techno */
.tech-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tech-group h4 { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.tech-group h4 .ic { width: 15px; height: 15px; color: var(--accent); }
.tech { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); margin-bottom: 8px; font-size: 14px; font-weight: 500; transition: border-color .2s, transform .3s var(--ease); }
.tech:hover { border-color: var(--accent-line); transform: translateX(3px); }
.tech .t-ini { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--accent); flex: none; }
.tech small { display: block; font-size: 11.5px; color: var(--faint); font-weight: 400; }

/* Produits */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product { border-radius: 14px; border: 1px solid var(--line); overflow: hidden; background: var(--surface); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; display: block; }
.product:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.product .p-img { aspect-ratio: 1; background: var(--surface-2); display: grid; place-items: center; color: var(--faint); position: relative; overflow: hidden; }
.product .p-img img { width: 100%; height: 100%; object-fit: cover; }
.product .p-rank { position: absolute; left: 8px; top: 8px; font-size: 11px; font-weight: 700; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 2px 8px; }
.product .p-promo { position: absolute; right: 8px; top: 8px; font-size: 11px; font-weight: 700; background: var(--bad); color: #fff; border-radius: 999px; padding: 2px 8px; }
.product .p-body { padding: 10px 12px 12px; }
.product .p-name { font-size: 13px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.product .p-price { margin-top: 6px; font-size: 14px; font-weight: 600; }
.product .p-price s { font-weight: 400; color: var(--faint); font-size: 12px; margin-left: 4px; }
.product .p-meta { margin-top: 3px; font-size: 11.5px; color: var(--faint); }

.estimate { position: relative; overflow: hidden; }
.estimate .hero-fig { font-size: clamp(40px, 5vw, 58px); font-weight: 500; letter-spacing: -0.05em; line-height: 1.05; color: var(--accent); margin-top: 10px; }
.estimate .range { margin-top: 6px; font-size: 14px; color: var(--muted); }
.range-bar { position: relative; height: 8px; border-radius: 999px; background: var(--accent-soft-2); margin: 18px 0 8px; }
.range-bar i { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--accent); opacity: .35; }
.range-bar b { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); transform: translate(-50%, -50%); box-shadow: var(--shadow-sm); }
.disclaimer { margin-top: 14px; display: flex; gap: 8px; font-size: 12.5px; color: var(--faint); line-height: 1.55; }
.disclaimer .ic { width: 15px; height: 15px; margin-top: 2px; flex: none; }
.method { margin-top: 12px; font-size: 13px; color: var(--muted); }
.method summary { cursor: pointer; color: var(--accent); font-weight: 500; }
.method ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 4px; }

/* Recommandations */
.reco-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.reco-filters button { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; border: 1px solid var(--line); background: var(--surface); color: var(--muted); transition: all .2s; }
.reco-filters button:hover { color: var(--accent); border-color: var(--accent-line); }
.reco-filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.recos { display: grid; gap: 10px; }
.reco { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, opacity .3s; }
.reco:hover { border-color: var(--accent-line); }
.reco.is-done { opacity: .55; }
.reco.is-done .reco-title { text-decoration: line-through; }
.reco input { appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; cursor: pointer; transition: all .2s; margin-top: 1px; }
.reco input:checked { background: var(--accent); border-color: var(--accent); }
.reco input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--accent-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.reco-title { font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em; }
.reco p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.reco-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tag { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; display: inline-flex; gap: 5px; align-items: center; }
.tag i { width: 7px; height: 7px; border-radius: 50%; }

/* Historique */
.history { margin-top: 26px; max-width: 600px; }
.history h4 { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.history h4 button { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--faint); font-weight: 500; }
.history h4 button:hover { color: var(--bad-ink); }
.history-list { display: flex; flex-wrap: wrap; gap: 8px; }
.history-item { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-glass); font-size: 13px; transition: border-color .2s, transform .3s var(--ease); }
.history-item:hover { border-color: var(--accent-line); transform: translateY(-1px); }
.history-item .h-score { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 1600; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); transition: opacity .3s, transform .4s var(--ease); display: flex; gap: 8px; align-items: center; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast .ic { width: 18px; height: 18px; }

.error-panel { margin-top: 40px; padding: 40px; text-align: center; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.error-panel .ic { width: 44px; height: 44px; color: var(--bad-ink); margin: 0 auto; }
.error-panel h2 { margin-top: 16px; font-size: 28px; }
.error-panel p { margin: 10px auto 0; max-width: 520px; color: var(--muted); }
.error-panel .btn { margin-top: 22px; }

.config-note { margin-top: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 520px; max-width: 680px; width: 100%; margin: 10px auto 0; }
  .tile, .tile.w6, .tile.w8 { grid-column: span 6; }
  .overview { grid-template-columns: 1fr; }
  .scores-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tech-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .main-nav.open { display: grid; position: absolute; top: 70px; left: 0; right: 0; padding: 14px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .menu-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; }
  .menu-toggle .ic { width: 22px; height: 22px; }
  .header-actions .btn-cta { display: none; }
  .shop-demo, .scan, .snapshot { grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px 1fr; }
  .step-art { display: none; }
  .free-grid { grid-template-columns: 1fr; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .span2, .span3 { grid-column: auto; }
  .scores-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .r-head { grid-template-columns: 1fr; }
  .r-actions { justify-content: flex-start; }
  .hero-score { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .issue-counts { justify-content: center; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .hero { padding-top: 40px; }
  .hero-visual { height: 440px; }
  .hv-scores { grid-template-columns: repeat(2, 1fr); }
  .hv-shop { display: none; }
  .search-box { padding-left: 14px; }
  .search .btn { padding: 0 16px; }
  .search .btn .btn-label { display: none; }
  .tile, .tile.w6, .tile.w8 { grid-column: span 12; }
  .section { padding: 76px 0; }
  .g4, .g6 { grid-template-columns: 1fr 1fr; }
  .tech-groups { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .reco { grid-template-columns: auto 1fr; }
  .reco-tags { grid-column: 2; justify-content: flex-start; }
  .hbar { grid-template-columns: minmax(80px, 38%) 1fr auto; }
  .ring-big { width: 160px; height: 160px; }
  .ring-big .ring-val b { font-size: 50px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .site-effects { display: none; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; }
}

/* ---------- Impression / PDF ---------- */
@media print {
  @page { margin: 14mm; }
  :root { --bg: #fff; --surface: #fff; --shadow-sm: none; --shadow: none; --shadow-lg: none; }
  body { background: #fff; color: #111; }
  .site-header, .site-footer, .app-bar, .r-side, .r-actions, .page-wash, .grain, .site-effects, .reco-filters, .data-table summary, .toast, .tip, .history { display: none !important; }
  .card, .reco, .check { break-inside: avoid; }
  .r-section { padding-top: 22px; }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  * { animation: none !important; transition: none !important; }
  .hbar .hb-fill, .seg > div { transform: none !important; }
}

/* ---------- Compléments ---------- */
.hv-arc { stroke-dasharray: 163.36; stroke-dashoffset: 163.36; animation: gaugeIn 1.8s var(--ease) forwards; animation-delay: var(--d, 1s); }
@keyframes gaugeIn { to { stroke-dashoffset: var(--off); } }
.search-box > span:first-child { display: inline-flex; }
.search-box > span:first-child .ic { width: 22px; height: 22px; color: var(--accent); }
.tile > span:first-child { display: inline-flex; }
.shop-panel .note .ic { width: 15px; height: 15px; }
.hv-browser span .ic { width: 12px; height: 12px; color: var(--good); }
.check-list li > span { display: inline-flex; }
@media (max-width: 620px) {
  .hero-visual { height: 520px; }
  .hv-stage { transform: rotateX(5deg) rotateY(-6deg); }
  .hv-main { left: 0; top: 0; width: 100%; }
  .hv-traffic { display: none; }
  .hv-vitals { right: 0; bottom: 4%; width: 78%; }
  .scan-visual { min-height: 0; }
  .scan-screen { height: 220px; }
  .shot-mobile { width: 30%; }
  .fact b { max-width: 170px; }
}
