/* RGPDCookie — système de design (site public + bases communes)
   Esprit : épuré, papier chaud, encre profonde, une seule couleur d'accent,
   matières translucides, textures abstraites discrètes, mouvements amortis. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900; 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: "Inter";
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 100 900; 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;
}

:root {
  --paper: #f6f5f1;
  --paper-2: #efede7;
  --card: #ffffff;
  --ink: #0e1116;
  --ink-2: #2a2f38;
  --muted: #5d6470;
  --faint: #8d939d;
  --line: rgba(14, 17, 22, .08);
  --line-2: rgba(14, 17, 22, .14);
  --brand: #2346ff;
  --brand-ink: #1a34cc;
  --brand-soft: #eceffe;
  --violet: #7b61ff;
  --peach: #ffb59a;
  --mint: #2fbf8c;
  --mint-soft: #e5f6ef;
  --rose: #e5484d;
  --rose-soft: #fdecec;
  --amber: #c27c0e;
  --amber-soft: #fbf1df;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-1: 0 1px 2px rgba(14,17,22,.04), 0 2px 8px rgba(14,17,22,.04);
  --shadow-2: 0 2px 6px rgba(14,17,22,.04), 0 12px 32px rgba(14,17,22,.08);
  --shadow-3: 0 4px 10px rgba(14,17,22,.05), 0 30px 70px rgba(14,17,22,.14);

  /* Ressort amorti (≈ damping 1, response .4) traduit en courbe CSS */
  --spring: cubic-bezier(.2, .8, .2, 1);
  --spring-bounce: cubic-bezier(.34, 1.36, .64, 1);

  --grain: 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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --wrap: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(35, 70, 255, .16); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

/* ── Typographie : approche optique, tracking selon la taille ── */
h1, h2, h3, h4 { margin: 0; font-weight: 650; color: var(--ink); }
.display { font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 680; }
.h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.06; letter-spacing: -.035em; }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -.03em; }
.h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.015em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.55; color: var(--muted); letter-spacing: -.005em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 550; letter-spacing: .01em; color: var(--muted); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(47,191,140,.16); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.grad-text { background: linear-gradient(100deg, var(--brand) 10%, var(--violet) 55%, #e8846a 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: 1.5rem; letter-spacing: -.02em; margin: 2.2em 0 .6em; }
.prose h3 { font-size: 1.15rem; margin: 1.8em 0 .5em; }
.prose p, .prose ul { margin: 0 0 1.1em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose code { font: .9em ui-monospace, "SF Mono", Menlo, monospace; background: var(--paper-2); padding: .15em .4em; border-radius: 6px; }
.prose pre { background: var(--ink); color: #dfe3ea; padding: 18px 20px; border-radius: var(--r); overflow-x: auto; }
.prose pre code { background: none; padding: 0; color: inherit; }

/* ── Boutons : retour immédiat à l'appui ── */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); font-weight: 560; font-size: .9375rem; letter-spacing: -.005em;
  transition: transform 160ms var(--spring), background-color 200ms ease, box-shadow 200ms ease;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: #22262e; }
.btn:active { transform: scale(.97); transition-duration: 80ms; }
.btn-brand { --bg: var(--brand); box-shadow: 0 6px 20px rgba(35,70,255,.28), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-brand:hover { background: var(--brand-ink); }
.btn-ghost { --bg: rgba(255,255,255,.7); --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(12px); }
.btn-ghost:hover { background: #fff; }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-light:hover { background: #f1f1ee; }
.btn-sm { height: 36px; padding: 0 16px; font-size: .875rem; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform 200ms var(--spring); }
.btn:hover .arrow { transform: translateX(3px); }
.link { color: var(--brand); font-weight: 550; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── Navigation : matière translucide au-dessus du contenu ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 241, .72);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 250ms ease, background-color 250ms ease;
}
.nav.scrolled { box-shadow: 0 1px 0 var(--line); background: rgba(246, 245, 241, .82); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 680; font-size: 1.0625rem; letter-spacing: -.02em; }
.logo-mark { width: 28px; height: 28px; flex: none; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; font-size: .9rem; color: var(--ink-2); transition: background-color 160ms ease, color 160ms ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(14,17,22,.05); color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.6px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: transform 300ms var(--spring), opacity 200ms; }
.nav[data-open="true"] .nav-toggle span:first-child { transform: translateY(2.8px) rotate(45deg); }
.nav[data-open="true"] .nav-toggle span:last-child { transform: translateY(-2.8px) rotate(-45deg); }
@media (max-width: 920px) {
  .nav-links, .nav-cta .hide-m { display: none; }
  .nav-toggle { display: block; }
  .nav-cta { margin-left: 0; }
}
.nav-sheet {
  display: none; position: fixed; inset: 64px 0 auto 0; z-index: 49; padding: 12px 20px 24px;
  background: rgba(246,245,241,.96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 40px rgba(14,17,22,.08);
  transform-origin: top; transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: transform 320ms var(--spring), opacity 200ms ease, visibility 0s 320ms;
}
.nav[data-open="true"] + .nav-sheet { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.nav-sheet a { display: block; padding: 14px 4px; font-size: 1.125rem; font-weight: 550; border-bottom: 1px solid var(--line); }
.nav-sheet .btn { margin-top: 16px; }
/* Placé après la règle de base : sinon « display: none » l'emportait et le menu mobile ne s'ouvrait jamais. */
@media (max-width: 920px) {
  .nav-sheet { display: block; max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; }
}

/* ── Sections ── */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-sm { padding: clamp(48px, 7vw, 80px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .h2 { margin-top: 12px; }
.section-head .lead { margin-top: 16px; }
.grain::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .22; mix-blend-mode: multiply; pointer-events: none; border-radius: inherit; }
.dark { background: #0b0d12; color: #e9ebf0; }
.dark .h2, .dark .h3, .dark h2, .dark h3 { color: #fff; }
.dark .lead, .dark .muted { color: #a2a8b3; }
.dark.grain::after { mix-blend-mode: screen; opacity: .08; }

/* ── Héros ── */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 8vw, 104px); isolation: isolate; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { margin-top: 20px; }
.hero .lead { margin-top: 22px; max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: .875rem; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--mint); }
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; margin: 0 auto; }
.hero-visual canvas, .hero-visual .poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-visual .poster { background: center / contain no-repeat url("../img/hero-poster.webp"); transition: opacity 600ms ease; }
.hero-visual.ready .poster { opacity: 0; }
.hero-visual canvas { opacity: 0; transition: opacity 900ms ease; }
.hero-visual.ready canvas { opacity: 1; }
.hero-bg { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 78% 30%, rgba(123,97,255,.16), transparent 70%),
    radial-gradient(35% 40% at 92% 70%, rgba(255,181,154,.22), transparent 70%),
    radial-gradient(40% 45% at 10% 10%, rgba(35,70,255,.07), transparent 70%); }
.floating-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px;
  background: rgba(255,255,255,.72); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255,255,255,.8); font-size: .8125rem; line-height: 1.3; z-index: 2;
  animation: float 9s ease-in-out infinite;
}
.floating-chip b { display: block; font-weight: 620; font-size: .875rem; }
.floating-chip .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.chip-1 { left: -2%; top: 18%; }
.chip-2 { right: 0; bottom: 14%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
/* Mobile : les deux cartes restent visibles, en plus compact, à cheval sur le bord du visuel. */
@media (max-width: 600px) {
  .floating-chip { padding: 7px 10px 7px 7px; gap: 8px; border-radius: 13px; font-size: .6875rem; max-width: 64%; }
  .floating-chip b { font-size: .75rem; }
  .floating-chip .ic { width: 26px; height: 26px; border-radius: 8px; }
  .floating-chip .ic svg { width: 15px; height: 15px; }
  .chip-1 { left: 0; top: 6%; }
  .chip-2 { right: 0; bottom: 6%; }
}
.gcm-state { font-weight: 600; color: var(--mint); transition: color .4s ease; }
.gcm-state.is-denied { color: var(--rose); }
.floating-chip .flash { animation: chip-flash .9s ease; }
@keyframes chip-flash { 0% { background: rgba(35,70,255,.14); } 100% { background: transparent; } }
/* Étoiles européennes en filigrane derrière le visuel */
.eu-stars { position: absolute; left: -4%; top: -4%; width: 108%; height: 108%; color: #e8b400; opacity: .2; z-index: 0; pointer-events: none; animation: eu-turn 160s linear infinite; }
@keyframes eu-turn { to { transform: rotate(360deg); } }

/* ── Logos CMS ── */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 34px; }
.logos a { display: inline-flex; align-items: center; gap: 10px; font-weight: 560; color: var(--muted); font-size: .9375rem; filter: grayscale(1); opacity: .72; transition: filter 300ms ease, opacity 300ms ease, transform 200ms var(--spring); }
.logos a:hover { filter: none; opacity: 1; color: var(--ink); }
.logos img { width: 28px; height: 28px; }

/* ── Cartes ── */
.cards { display: grid; gap: 16px; }
@media (min-width: 760px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } .cards-2 { grid-template-columns: repeat(2, 1fr); } .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; background: var(--card); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); overflow: hidden; }
.card .h3 { margin-top: 18px; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: .9688rem; }
.card-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.card-icon svg { width: 22px; height: 22px; }
.card-art { position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; opacity: .9; pointer-events: none; }
.card-link { transition: transform 300ms var(--spring), box-shadow 300ms ease; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); }

/* Bento */
.bento { display: grid; gap: 16px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento .b-4 { grid-column: span 4; } .bento .b-3 { grid-column: span 3; } .bento .b-2 { grid-column: span 2; } }

/* ── Démo navigateur ── */
.browser { border-radius: 20px; background: #fff; box-shadow: var(--shadow-3), inset 0 0 0 1px var(--line); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #f3f2ee; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #dad8d2; }
.browser-bar .url { margin-left: 12px; flex: 1; max-width: 300px; height: 26px; border-radius: 8px; background: #fff; display: flex; align-items: center; padding: 0 10px; font-size: .75rem; color: var(--faint); box-shadow: inset 0 0 0 1px var(--line); }
.browser-body { position: relative; height: 420px; overflow: hidden; background: linear-gradient(180deg, #fff, #fbfaf7); }
.mock-page { padding: 28px; }
.mock-page .mh { height: 18px; width: 46%; border-radius: 6px; background: #ecebe6; }
.mock-page .ml { height: 10px; border-radius: 5px; background: #f1f0eb; margin-top: 12px; }
.mock-page .mimg { height: 120px; border-radius: 14px; margin-top: 22px; background: linear-gradient(120deg, #e9ecff, #fbe9e2 60%, #e6f5ee); }

/* ── Configurateur de démo ── */
.demo-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 980px) { .demo-grid { grid-template-columns: 340px 1fr; } }
.control { margin-bottom: 22px; }
.control-label { font-size: .8125rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.segmented { position: relative; display: inline-flex; padding: 4px; border-radius: 12px; background: rgba(14,17,22,.06); width: 100%; }
.segmented button { position: relative; z-index: 1; flex: 1; height: 34px; border: 0; background: transparent; border-radius: 9px; font-size: .8438rem; font-weight: 550; color: var(--muted); cursor: pointer; transition: color 200ms ease; }
.segmented button[aria-pressed="true"] { color: var(--ink); }
.segmented .thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 9px; background: #fff; box-shadow: 0 1px 3px rgba(14,17,22,.12), 0 0 0 .5px rgba(14,17,22,.06); transition: transform 380ms var(--spring), width 380ms var(--spring); }
.swatches { display: flex; gap: 10px; }
.swatches button { width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); transition: transform 160ms var(--spring); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.swatches button:active { transform: scale(.9); }

.demo-banner {
  position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 20px; border-radius: 18px;
  background: #fff; color: var(--ink); box-shadow: 0 20px 50px rgba(14,17,22,.18), 0 0 0 1px rgba(14,17,22,.06);
  transition: transform 450ms var(--spring), opacity 300ms ease, background-color 300ms ease, color 300ms ease, left 450ms var(--spring), right 450ms var(--spring), top 450ms var(--spring), bottom 450ms var(--spring), width 450ms var(--spring);
  font-size: .875rem;
}
.demo-banner h4 { margin: 0; font-size: 1rem; letter-spacing: -.01em; color: inherit; }
.demo-banner p { margin: 6px 0 0; opacity: .75; line-height: 1.5; }
.demo-banner .row { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.demo-banner .row button { flex: 1; min-width: 110px; height: 40px; border-radius: 11px; font-weight: 600; font-size: .8438rem; cursor: pointer; border: 0; transition: transform 120ms var(--spring); }
.demo-banner .row button:active { transform: scale(.97); }
.demo-banner .b-acc { background: var(--accent, var(--brand)); color: #fff; }
.demo-banner .b-rej { background: transparent; color: var(--accent, var(--brand)); box-shadow: inset 0 0 0 1.5px var(--accent, var(--brand)); }
.demo-banner .b-cus { background: transparent; color: inherit; opacity: .7; text-decoration: underline; text-underline-offset: 3px; flex: 0 0 auto !important; min-width: 0 !important; padding: 0 6px; }
.demo-banner.pos-left { right: auto; width: 340px; }
.demo-banner.pos-center { top: 50%; bottom: auto; left: 50%; right: auto; width: 380px; transform: translate(-50%, -50%); }
.demo-banner.theme-dark { background: #12151b; color: #f2f3f5; }
.demo-banner.theme-glass { background: rgba(255,255,255,.66); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%); }
.demo-banner.gone { opacity: 0; transform: translateY(24px); pointer-events: none; }
.demo-banner.pos-center.gone { transform: translate(-50%, -40%); }
.demo-result { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(.96); opacity: 0; text-align: center; transition: opacity 300ms ease, transform 450ms var(--spring); pointer-events: none; }
.demo-result.show { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.demo-result .pill { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .875rem; font-weight: 550; }
.demo-result button { margin-top: 12px; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .8125rem; }
.gcm-log { margin-top: 14px; font: .75rem/1.6 ui-monospace, "SF Mono", Menlo, monospace; background: #0b0d12; color: #a7b0c0; border-radius: 14px; padding: 14px 16px; min-height: 96px; }
.gcm-log .g { color: #6ee7b7; } .gcm-log .r { color: #fca5a5; }

/* ── Étapes + code ── */
.steps { counter-reset: step; display: grid; gap: 16px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 28px; border-radius: var(--r-lg); background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-size: .8125rem; font-weight: 650; color: var(--brand); letter-spacing: .02em; }
.step h3 { margin-top: 14px; font-size: 1.125rem; }
.step p { margin: 8px 0 0; color: var(--muted); font-size: .9375rem; }
.code {
  position: relative; display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 18px 20px; border-radius: var(--r);
  background: #0b0d12; color: #d6dbe4; font: .875rem/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; overflow-x: auto;
}
.code code { white-space: pre; flex: 1; }
.code .t { color: #8ab4ff; } .code .a { color: #f5c27a; } .code .s { color: #8ee6b8; }
.copy { flex: none; height: 32px; padding: 0 12px; border-radius: 9px; border: 0; background: rgba(255,255,255,.1); color: #fff; font: 550 .8125rem "Inter", system-ui; cursor: pointer; transition: background-color 160ms ease, transform 120ms var(--spring); }
.copy:hover { background: rgba(255,255,255,.18); }
.copy:active { transform: scale(.95); }
.copy.done { background: var(--mint); }

/* ── Vitrine tableau de bord (section sombre) ── */
.showcase { border-radius: var(--r-xl); overflow: hidden; }
.mock-dash { display: grid; grid-template-columns: 200px 1fr; min-height: 420px; border-radius: 20px; background: #12151b; box-shadow: 0 40px 90px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.06); overflow: hidden; font-size: .8125rem; }
.mock-dash aside { padding: 20px 14px; border-right: 1px solid rgba(255,255,255,.06); display: flex; flex-direction: column; gap: 4px; color: #9aa1ad; }
.mock-dash aside b { color: #fff; font-size: .875rem; margin: 0 8px 14px; }
.mock-dash aside span { padding: 8px 10px; border-radius: 8px; }
.mock-dash aside span.on { background: rgba(255,255,255,.07); color: #fff; }
.mock-dash main { padding: 22px; display: grid; gap: 14px; align-content: start; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-kpi { padding: 14px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.mock-kpi small { color: #8d94a0; display: block; }
.mock-kpi strong { display: block; font-size: 1.5rem; color: #fff; letter-spacing: -.02em; margin-top: 4px; }
.mock-chart { height: 170px; border-radius: 12px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); padding: 12px; }
.mock-chart svg { width: 100%; height: 100%; }
@media (max-width: 720px) { .mock-dash { grid-template-columns: 1fr; } .mock-dash aside { display: none; } .mock-kpis { grid-template-columns: 1fr 1fr; } .mock-kpis .mock-kpi:last-child { display: none; } }
.feature-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--mint); }

/* ── Check-list conformité ── */
.checklist { display: grid; gap: 12px; }
@media (min-width: 760px) { .checklist { grid-template-columns: 1fr 1fr; } }
.check-item { display: flex; gap: 14px; padding: 20px; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.check-item .ok { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint); flex: none; }
.check-item .ok svg { width: 14px; height: 14px; }
.check-item b { display: block; font-weight: 600; }
.check-item span { color: var(--muted); font-size: .9063rem; }

/* ── Tableau comparatif ── */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; font-size: .9375rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: .8125rem; color: var(--muted); font-weight: 600; background: #fbfaf8; }
.compare tr:last-child td { border-bottom: 0; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare .us { background: rgba(35,70,255,.035); }
.yes { color: var(--mint); font-weight: 700; } .no { color: var(--faint); } .part { color: var(--amber); font-weight: 600; font-size: .8125rem; }
.table-scroll { overflow-x: auto; border-radius: var(--r-lg); }

/* ── Tarifs ── */
.billing-toggle { display: inline-flex; margin: 0 auto 36px; }
.billing-toggle .segmented { width: auto; }
.billing-toggle .segmented button { padding: 0 18px; min-width: 120px; }
.save-badge { margin-left: 6px; font-size: .6875rem; font-weight: 650; color: var(--mint); background: var(--mint-soft); padding: 2px 7px; border-radius: 999px; }
.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.plan.featured { background: #0b0d12; color: #e9ebf0; box-shadow: var(--shadow-3); }
.plan.featured .muted, .plan.featured .plan-feats { color: #a7adb8; }
.plan.featured h3 { color: #fff; }
.plan-badge { position: absolute; top: 22px; right: 22px; font-size: .75rem; font-weight: 650; padding: 5px 10px; border-radius: 999px; background: linear-gradient(100deg, var(--brand), var(--violet)); color: #fff; }
.plan h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.price .amount { font-size: 3rem; font-weight: 680; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; transition: opacity 200ms ease; }
.price .per { color: var(--muted); font-size: .875rem; }
.plan.featured .price .per { color: #a7adb8; }
.price-note { font-size: .8125rem; color: var(--muted); min-height: 1.4em; margin-top: 6px; }
.plan-feats { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; font-size: .9375rem; color: var(--ink-2); }
.plan-feats li { display: flex; gap: 10px; }
.plan-feats svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--mint); }
.plan .btn { margin-top: auto; }

/* ── FAQ (accordéon natif) ── */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 200ms ease; }
.faq details[open] { box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 580; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; opacity: .5; transition: transform 300ms var(--spring);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%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='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 22px; color: var(--muted); }

/* ── Appel final ── */
.cta-final { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(48px, 8vw, 88px) clamp(24px, 6vw, 72px); background: #0b0d12; color: #fff; isolation: isolate; }
.cta-final .h2 { color: #fff; max-width: 18ch; }
.cta-final .lead { color: #a7adb8; max-width: 46ch; }
.cta-final .art { position: absolute; right: -8%; top: -30%; width: 70%; max-width: 720px; z-index: -1; opacity: .95; pointer-events: none; }

/* ── Pied de page ── */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--line); margin-top: 40px; font-size: .9063rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer h4 { font-size: .8125rem; color: var(--faint); font-weight: 600; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: .8438rem; }
.footer-bottom a { color: var(--muted); font-weight: 550; }

/* ── Pages internes ── */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.page-hero .lead { margin-top: 18px; max-width: 60ch; }
.breadcrumb { display: flex; gap: 8px; font-size: .8125rem; color: var(--faint); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--ink); }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.guide-steps { list-style: none; counter-reset: g; margin: 0; padding: 0; display: grid; gap: 14px; }
.guide-steps li { counter-increment: g; position: relative; padding: 22px 22px 22px 72px; background: #fff; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.guide-steps li::before { content: counter(g); position: absolute; left: 22px; top: 20px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 650; font-size: .875rem; }
.guide-steps b { display: block; font-weight: 600; }
.guide-steps p { margin: 4px 0 0; color: var(--muted); }
.guide-steps code { font: .8125rem ui-monospace, Menlo, monospace; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.article-meta { display: flex; gap: 14px; color: var(--faint); font-size: .875rem; margin-top: 18px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }

/* ── Formulaires (communs au site et à l'espace client) ── */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label, .label { font-size: .8438rem; font-weight: 580; color: var(--ink-2); }
.hint { font-size: .8125rem; color: var(--faint); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]), .field select, .field textarea {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 0; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-2); font-size: .9375rem; transition: box-shadow 160ms ease;
  -webkit-appearance: none; appearance: none;
}
.field textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6470' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; padding-right: 36px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--brand), 0 0 0 4px rgba(35,70,255,.12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9063rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.hp { position: absolute !important; left: -9999px !important; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: 12px; font-size: .9063rem; margin-bottom: 16px; }
.alert-error { background: var(--rose-soft); color: #9d1f23; }
.alert-success { background: var(--mint-soft); color: #13684a; }
.alert-info { background: var(--brand-soft); color: var(--brand-ink); }
.alert-warn { background: var(--amber-soft); color: #7a4d06; }

/* ── Authentification ── */
.auth { min-height: 100vh; display: grid; }
@media (min-width: 960px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth-side { position: relative; overflow: hidden; display: none; background: #0b0d12; color: #fff; padding: 48px; isolation: isolate; }
@media (min-width: 960px) { .auth-side { display: flex; flex-direction: column; justify-content: space-between; } }
.auth-side .art { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 90% at 20% 0%, #121a4a 0%, #0a0d1f 55%, #07080f 100%); }
.auth-side .art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(7,8,15,.85) 0%, rgba(7,8,15,.35) 32%, rgba(7,8,15,0) 55%); }
/* Halos flous qui dérivent : le « blur motion ». */
.auth-side .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; mix-blend-mode: screen; }
.auth-side .blob-1 { width: 62%; aspect-ratio: 1; left: -12%; top: -10%; background: radial-gradient(circle at 40% 40%, #2346ff, rgba(35,70,255,0) 68%); animation: auth-drift-1 22s ease-in-out infinite alternate; }
.auth-side .blob-2 { width: 54%; aspect-ratio: 1; right: -14%; top: 22%; background: radial-gradient(circle at 50% 50%, #7a5cff, rgba(122,92,255,0) 66%); opacity: .45; animation: auth-drift-2 27s ease-in-out infinite alternate; }
.auth-side .blob-3 { width: 48%; aspect-ratio: 1; left: 18%; bottom: -18%; background: radial-gradient(circle at 50% 50%, #12b3ff, rgba(18,179,255,0) 66%); opacity: .32; animation: auth-drift-3 31s ease-in-out infinite alternate; }
@keyframes auth-drift-1 { to { transform: translate(18%, 14%) scale(1.15); } }
@keyframes auth-drift-2 { to { transform: translate(-22%, 10%) scale(.9); } }
@keyframes auth-drift-3 { to { transform: translate(14%, -16%) scale(1.2); } }
/* Filigrane : les 12 étoiles du drapeau européen, très légères, qui tournent sur 360°. */
.eu-ring { position: absolute; left: 50%; top: 46%; width: min(78%, 560px); aspect-ratio: 1; margin: 0; translate: -50% -50%; fill: #fff; opacity: .07; pointer-events: none; animation: eu-in 1.8s cubic-bezier(.2,.8,.2,1) both, eu-spin 90s linear infinite; }
@keyframes eu-spin { to { rotate: 360deg; } }
@keyframes eu-in { from { opacity: 0; filter: blur(18px); scale: .86; } to { opacity: .07; filter: blur(0); scale: 1; } }
.eu-ring-m { display: none; }
/* Carte du formulaire : arrive nette depuis un flou, repart en flou à l'envoi. */
.auth-box { animation: auth-box-in 700ms cubic-bezier(.2,.8,.2,1) both; }
@keyframes auth-box-in { from { opacity: 0; filter: blur(12px); transform: translateY(10px) scale(.985); } to { opacity: 1; filter: none; transform: none; } }
.auth-box.is-leaving { opacity: .35; filter: blur(6px); transform: scale(.99); transition: opacity 420ms ease, filter 420ms ease, transform 420ms cubic-bezier(.2,.8,.2,1); pointer-events: none; }
@media (max-width: 959px) {
  .auth-main { position: relative; overflow: hidden; isolation: isolate; }
  .eu-ring-m { display: block; z-index: -1; top: 50%; width: min(130vw, 640px); fill: var(--brand, #2346ff); opacity: .05; animation: eu-spin 120s linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-side .blob, .eu-ring, .auth-box { animation: none; }
  .auth-box.is-leaving { transition: opacity 200ms ease; filter: none; transform: none; }
}
.auth-side blockquote { margin: 0; font-size: 1.5rem; line-height: 1.35; letter-spacing: -.02em; max-width: 22ch; }
.auth-main { display: flex; flex-direction: column; justify-content: center; padding: 40px 24px; }
.auth-box { width: 100%; max-width: 400px; margin: 0 auto; }
.auth-box .h1 { font-size: 2rem; margin: 28px 0 8px; }

/* ── Erreurs ── */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 24px; }
.error-page .code-big { font-size: clamp(5rem, 16vw, 9rem); font-weight: 700; letter-spacing: -.06em; line-height: 1; }

/* ── Apparition au défilement (ressort amorti) ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 900ms var(--spring); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { transform: none; transition: opacity 300ms ease; }
  .floating-chip { animation: none; }
  .eu-stars { animation: none; }
  .demo-banner, .segmented .thumb { transition: opacity 200ms ease; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .nav-sheet, .floating-chip, .btn-ghost, .demo-banner.theme-glass { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(14,17,22,.3); --line-2: rgba(14,17,22,.5); --muted: #3a3f48; }
}

/* Ajustements après revue visuelle */
.segmented button { white-space: nowrap; }
.billing-toggle .segmented button { min-width: 0; padding: 0 20px; }
.mock-kpi small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-kpi strong { font-size: 1.3rem; white-space: nowrap; }
.card p code { font: .85em ui-monospace, "SF Mono", Menlo, monospace; background: var(--paper-2); padding: .1em .35em; border-radius: 5px; }
.section-sm + .section { padding-top: clamp(40px, 6vw, 72px); }

/* Alertes : icône à taille fixe */
.alert > svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }

/* Captcha maison */

/* ── Défilé des plateformes ─────────────────────────── */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.logos-row { display: flex; align-items: center; gap: 46px; margin: 0; padding: 6px 23px; list-style: none; }
.logos-row a { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 560; color: var(--muted); font-size: .9375rem; filter: grayscale(1); opacity: .72; transition: filter 300ms ease, opacity 300ms ease, color 300ms ease; }
.logos-row a:hover, .logos-row a:focus-visible { filter: none; opacity: 1; color: var(--ink); }
.logos-row img { width: 28px; height: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; justify-content: center; }
  .marquee-track .logos-row { flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
  .marquee-track .logos-row[aria-hidden] { display: none; }
}

/* ── Testez votre site ─────────────────────────────── */
.tester { position: relative; max-width: 860px; margin: 0 auto; padding: 40px clamp(20px, 5vw, 48px); border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); text-align: center; overflow: hidden; }
.tester::before { content: ""; position: absolute; inset: -40% -10% auto; height: 70%; background: radial-gradient(closest-side, rgba(35,70,255,.10), transparent); pointer-events: none; }
.tester > * { position: relative; }
.tester-intro .h2 { margin: 14px 0 10px; }
.tester-intro .lead { max-width: 600px; margin: 0 auto; }
.tester-form { display: flex; align-items: center; gap: 10px; max-width: 620px; margin: 28px auto 0; padding: 7px 7px 7px 12px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 200ms ease; }
.tester-form:focus-within { box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 5px rgba(35,70,255,.12); }
.tester-form input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font: inherit; font-size: 1.0625rem; color: var(--ink); outline: none; }
.tester-form .btn { flex: none; border-radius: 999px; }
.tester-fav { position: relative; width: 30px; height: 30px; flex: none; display: grid; place-items: center; color: var(--faint); }
.tester-fav svg { width: 22px; height: 22px; }
.tester-fav img { position: absolute; inset: 0; width: 30px; height: 30px; border-radius: 8px; object-fit: contain; background: #fff; box-shadow: 0 1px 4px rgba(14,17,22,.12); animation: pop 360ms var(--spring-bounce); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.tester-steps { display: grid; gap: 10px; max-width: 420px; margin: 28px auto 0; padding: 0; list-style: none; text-align: left; }
.tester-steps li { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: .9688rem; transition: color 300ms ease; }
.tester-steps li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-2); transition: background 300ms ease, box-shadow 300ms ease; }
.tester-steps li.is-active { color: var(--ink); }
.tester-steps li.is-active::before { box-shadow: inset 0 0 0 2px rgba(35,70,255,.25); border-top: 2px solid var(--brand); animation: spin 800ms linear infinite; box-sizing: border-box; }
.tester-steps li.is-done { color: var(--ink-2); }
.tester-steps li.is-done::before { background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.tester-result { margin: 28px auto 0; max-width: 680px; text-align: left; animation: rise 420ms var(--spring); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tester [hidden] { display: none !important; }
.tr-head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: var(--paper); }
.tr-head img { width: 44px; height: 44px; flex: none; border-radius: 12px; object-fit: contain; background: #fff; padding: 4px; box-shadow: 0 1px 4px rgba(14,17,22,.12); }
.tr-site { flex: 1; min-width: 0; }
.tr-site b, .tr-site small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-site b { font-size: 1.0625rem; }
.tr-site small { color: var(--muted); font-size: .8438rem; }
.tr-score { --c: var(--mint); position: relative; width: 58px; height: 58px; flex: none; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(14,17,22,.08) 0); font-weight: 700; font-size: 1rem; }
.tr-score::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--paper); }
.tr-score span { position: relative; }
.tr-score.v-warn { --c: var(--amber); }
.tr-score.v-bad { --c: var(--rose); }
.tr-verdict { display: flex; align-items: baseline; gap: 10px; margin: 18px 4px 8px; font-size: 1.125rem; font-weight: 650; }
.tr-verdict .pill { flex: none; white-space: nowrap; font-size: .8125rem; padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.pill-ok { background: var(--mint-soft); color: #13684a; }
.pill-warn { background: var(--amber-soft); color: #7a4d06; }
.pill-bad { background: var(--rose-soft); color: #9d1f23; }
.tr-checks { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.tr-checks li { display: flex; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--line); opacity: 0; animation: rise 360ms var(--spring) forwards; }
.tr-checks i { width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; color: #fff; }
.tr-checks .s-ok i { background: var(--mint); }
.tr-checks .s-warn i { background: var(--amber); }
.tr-checks .s-bad i { background: var(--rose); }
.tr-checks b { display: block; font-weight: 600; }
.tr-checks span { color: var(--muted); font-size: .9063rem; line-height: 1.5; }
.tr-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tr-error { padding: 14px 16px; border-radius: var(--r); background: var(--rose-soft); color: #9d1f23; text-align: left; }
.tester-note { margin: 22px auto 0; max-width: 560px; color: var(--faint); font-size: .8125rem; }
@media (max-width: 560px) {
  .tester-form { flex-wrap: wrap; border-radius: var(--r); padding: 8px; }
  .tester-form input { flex-basis: calc(100% - 50px); }
  .tester-form .btn { width: 100%; }
  .tr-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .tester-result, .tr-checks li, .tester-fav img { animation: none; opacity: 1; }
  .tester-steps li.is-active::before { animation: none; }
}

/* Vérification anti-robot invisible (partials/verification.twig) */
.hv { display: flex; align-items: center; gap: 12px; margin: 4px 0 18px; padding: 12px 14px; border-radius: 14px; background: var(--brand-soft, #eceffe); color: var(--brand-ink, #1a34cc); transition: background-color .3s ease, color .3s ease; }
.hv-mark { position: relative; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(14,17,22,.08); }
.hv-shield { display: block; }
.hv-tick { stroke-dasharray: 12; stroke-dashoffset: 12; transition: stroke-dashoffset .45s ease .1s; }
.hv-spin { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: currentColor; opacity: 0; }
.hv[data-state="busy"] .hv-spin, .hv[data-state="idle"] .hv-spin { opacity: .9; animation: hv-turn .8s linear infinite; }
.hv[data-state="ok"] { background: #e8f6ee; color: #11734b; }
.hv[data-state="ok"] .hv-tick { stroke-dashoffset: 0; }
.hv[data-state="error"] { background: #fdecee; color: #b4232f; }
.hv-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hv-text b { font-size: .9063rem; font-weight: 600; }
.hv-text small { font-size: .8125rem; opacity: .8; }
.hv-noscript { display: block; margin-top: 4px; font-size: .8125rem; }
@keyframes hv-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hv-spin { animation: none !important; } .hv-tick { transition: none; } }

/* Pages légales : fiche d'identité de l'éditeur, tableaux des traitements */
.prose .legal-lead { font-size: 1.0625rem; line-height: 1.65; color: var(--ink); padding: 18px 20px; border-radius: 16px; background: rgba(35,70,255,.05); box-shadow: inset 0 0 0 1px rgba(35,70,255,.12); }
.prose .legal-updated { font-size: .8125rem; color: var(--muted); margin-top: -4px; }
.prose .legal-card { margin: 16px 0 12px; display: grid; gap: 1px; border-radius: 14px; overflow: hidden; background: var(--line); box-shadow: inset 0 0 0 1px var(--line); }
.prose .legal-card > div { display: grid; grid-template-columns: minmax(150px, 34%) 1fr; gap: 14px; padding: 11px 16px; background: #fff; }
.prose .legal-card dt { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.prose .legal-card dd { margin: 0; font-size: .9375rem; overflow-wrap: anywhere; }
.prose .table-scroll { overflow-x: auto; margin: 16px 0; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.prose .legal-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .875rem; line-height: 1.5; }
.prose .legal-table th { text-align: left; padding: 10px 14px; font-size: .75rem; font-weight: 650; color: var(--muted); background: #fbfaf8; border-bottom: 1px solid var(--line); }
.prose .legal-table td { padding: 11px 14px; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose .legal-table tr:last-child td { border-bottom: 0; }
.prose .legal-table td:first-child { font-weight: 560; }
@media (max-width: 560px) { .prose .legal-card > div { grid-template-columns: 1fr; gap: 2px; } }
