/* MaMission — feuille de style du site, alignée sur le thème de l'appli (lib/app/theme.dart). */
:root {
  --violet: #6C63FF;
  --violet-600: #5A4DE6;
  --violet-700: #4F46E5;
  --violet-800: #4338CA;
  --violet-300: #9381FF;
  --lav-25: #FBFAFF;
  --lav-50: #F5F3FF;
  --lav-100: #EDE9FF;
  --lav-200: #DDD6FE;
  --cyan: #00B8D4;
  --ink: #1D1B27;
  --ink-2: #3E3E49;
  --muted: #6D6A7C;
  --line: #E9E6F5;
  --green: #1E7F3B;
  --green-bg: #E3F5E8;
  --amber: #8F5F00;
  --amber-bg: #FFF2CC;
  --red: #C2262E;
  --red-bg: #FDE8E8;
  --grad-bar: linear-gradient(115deg, #6C63FF 0%, #5A4DE6 45%, #4F46E5 80%, #4338CA 100%);
  --grad-brand: linear-gradient(135deg, #6C63FF 0%, #00B8D4 100%);
  --grad-pill: linear-gradient(90deg, #6C63FF 0%, #8B5CF6 100%);
  --shadow-card: 0 26px 50px -30px rgba(76, 64, 200, .38), 0 2px 8px rgba(29, 27, 39, .04);
  --shadow-float: 0 24px 50px -20px rgba(30, 20, 110, .5);
  --radius: 28px;
  --font: "Ubuntu", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--lav-50);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; }
button { font-family: inherit; }
::selection { background: var(--lav-200); color: var(--ink); }
:focus-visible { outline: 3px solid var(--violet-700); outline-offset: 3px; border-radius: 10px; }
.on-violet :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .final-card :focus-visible, .cta-card :focus-visible { outline-color: #fff; }

.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: currentColor; stroke: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; padding: 12px 18px; border-radius: 14px; background: #fff; color: var(--violet-700); font-weight: 700; box-shadow: var(--shadow-float); }
.skip-link:focus { top: 16px; }

/* ---------- En-tête ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: background-color .3s ease, box-shadow .3s ease, color .3s ease; }
.header-bar { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; border-radius: 13px; box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .55); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .86); transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.site-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .2); }
.site-nav .nav-cta { margin-left: 8px; padding: 11px 18px; background: #fff; color: var(--violet-700); font-weight: 700; box-shadow: 0 12px 26px -12px rgba(20, 10, 80, .6); }
.site-nav .nav-cta:hover { background: #fff; color: var(--violet-700); transform: translateY(-1px); }
.menu-btn { display: none; }
.site-header.is-scrolled, .site-header.menu-open { color: var(--ink); background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 12px 30px -20px rgba(40, 30, 120, .45); }
.site-header.is-scrolled .site-nav a { color: var(--ink-2); }
.site-header.is-scrolled .site-nav a:hover, .site-header.is-scrolled .site-nav a[aria-current="page"] { color: var(--violet-700); background: var(--lav-100); }
.site-header.is-scrolled .site-nav .nav-cta { background: var(--grad-bar); color: #fff; }
.site-header.is-scrolled :focus-visible { outline-color: var(--violet-700); }

@media (max-width: 960px) {
  .header-bar { height: 68px; }
  .brand { font-size: 19px; }
  .brand img { width: 38px; height: 38px; border-radius: 12px; }
  .site-nav { display: none; }
  .js .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .16); color: inherit; font-size: 22px; cursor: pointer; }
  .js .site-header.is-scrolled .menu-btn, .js .site-header.menu-open .menu-btn { background: var(--lav-100); color: var(--violet-700); }
  .menu-btn .i-close { display: none; }
  .menu-open .menu-btn .i-open { display: none; }
  .menu-open .menu-btn .i-close { display: block; }
  .js .site-nav { position: absolute; top: 100%; left: 16px; right: 16px; display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-float); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .js .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .js .site-nav a { padding: 14px 16px; border-radius: 16px; color: var(--ink-2); font-size: 16px; }
  .js .site-nav a:hover, .js .site-nav a[aria-current="page"] { color: var(--violet-700); background: var(--lav-50); }
  .js .site-nav .nav-cta { margin: 6px 0 0; text-align: center; background: var(--grad-bar); color: #fff; }
}

/* ---------- Fonds en dégradé (rappel de la barre d'appli) ---------- */
.violet-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: 0 0 56px 56px; background: var(--grad-bar); box-shadow: 0 34px 60px -34px rgba(79, 70, 229, .65); }
.violet-bg .blob { position: absolute; border-radius: 50%; filter: blur(70px); animation: drift 18s ease-in-out infinite alternate; }
.violet-bg .b1 { width: 560px; height: 560px; right: -160px; top: -220px; background: var(--cyan); opacity: .38; }
.violet-bg .b2 { width: 460px; height: 460px; left: -180px; bottom: -260px; background: #A28BFF; opacity: .55; animation-duration: 22s; }
.violet-bg .b3 { width: 320px; height: 320px; left: 46%; top: 34%; background: #fff; opacity: .1; animation-duration: 26s; }
.violet-bg .dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(60% 70% at 72% 40%, #000, transparent); mask-image: radial-gradient(60% 70% at 72% 40%, #000, transparent); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border: 0; border-radius: 16px; font-size: 16px; font-weight: 700; line-height: 1.2; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn .ic { font-size: 19px; }
.btn-primary { background: var(--grad-bar); color: #fff; box-shadow: 0 16px 30px -14px rgba(79, 70, 229, .8); }
.btn-white { background: #fff; color: var(--violet-700); box-shadow: 0 16px 30px -14px rgba(20, 10, 80, .55); }
.btn-outline { background: #fff; color: var(--violet-700); box-shadow: inset 0 0 0 1.5px var(--violet); }
.btn-outline:hover { background: var(--lav-50); }

.btn-store { display: inline-flex; align-items: center; gap: 13px; min-height: 62px; padding: 10px 24px 10px 18px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 18px 36px -16px rgba(20, 10, 80, .65); transition: transform .2s ease, box-shadow .2s ease; }
.btn-store:hover { transform: translateY(-2px); box-shadow: 0 24px 44px -16px rgba(20, 10, 80, .7); }
.btn-store .play { width: 26px; height: 29px; }
.store-copy small, .btn-soon small { display: block; font-size: 11px; font-weight: 500; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; }
.store-copy small { color: var(--muted); }
.store-copy strong, .btn-soon strong { display: block; margin-top: 2px; font-size: 18px; font-weight: 700; line-height: 1.2; }
.btn-soon { display: inline-flex; align-items: center; gap: 13px; min-height: 62px; padding: 10px 22px 10px 16px; border-radius: 18px; border: 1.5px dashed rgba(255, 255, 255, .42); color: rgba(255, 255, 255, .82); }
.btn-soon .ic { font-size: 24px; }
.btn-soon strong { color: #fff; }

/* ---------- Puces et statuts (repris des cartes de l'appli) ---------- */
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; background: var(--lav-100); color: var(--violet-700); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px 8px 12px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 13px; font-weight: 500; letter-spacing: .03em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-chip.caps { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12.5px; padding-left: 15px; }
.hero-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; animation: pulse 2.2s infinite; }
.st { display: inline-flex; align-items: center; gap: .4em; padding: .42em .8em; border-radius: 999px; font-size: .86em; font-weight: 500; white-space: nowrap; }
.st .ic { font-size: 1.05em; }
.st-open { background: var(--lav-100); color: var(--violet-700); }
.st-wait { background: var(--amber-bg); color: var(--amber); }
.st-run { background: var(--green-bg); color: var(--green); }

/* ---------- Accueil : héros ---------- */
.hero { position: relative; isolation: isolate; padding: 150px 0 150px; color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 48px; }
.hero-copy > * { animation: heroIn .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero h1 { margin: 24px 0 24px; font-size: clamp(42px, 4.6vw, 66px); line-height: 1.04; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: #CFF6FF; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 em { background: linear-gradient(90deg, #fff 0%, #C9F4FF 45%, #7FE3F5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.lead { max-width: 540px; margin: 0 0 36px; color: rgba(255, 255, 255, .94); font-size: 19px; line-height: 1.65; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 640px; }
.hero-visual::before { content: ""; position: absolute; width: min(470px, 100%); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 0 0 72px rgba(255, 255, 255, .045), 0 0 0 144px rgba(255, 255, 255, .025); }
.hero-visual .phone { animation: phoneIn 1.1s .15s cubic-bezier(.2, .7, .2, 1) both; }
.float-card { position: absolute; z-index: 3; display: flex; text-align: left; align-items: center; gap: 12px; max-width: 280px; padding: 14px 18px 14px 14px; border-radius: 22px; background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: var(--shadow-float); animation: float 7s ease-in-out infinite; }
.float-card b { display: block; font-size: 15px; line-height: 1.3; }
.float-card small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.fc-icon { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-size: 20px; }
.fc-1 { right: -20%; top: 5%; }
.fc-2 { left: -14%; top: 70%; animation-delay: -3.5s; }

/* ---------- Téléphone (écrans de l'appli reconstruits) ---------- */
.phone { --pw: 300px; position: relative; flex: none; width: var(--pw); height: calc(var(--pw) * 2.07); padding: calc(var(--pw) * .033); border-radius: calc(var(--pw) * .16); background: #15141B; color: var(--ink); font-size: calc(var(--pw) / 26); line-height: 1.35; text-align: left; box-shadow: inset 0 0 0 2px #2D2B36, 0 60px 100px -40px rgba(12, 6, 50, .85), 0 30px 60px -30px rgba(12, 6, 50, .45); }
.phone::after { content: ""; position: absolute; z-index: 20; top: calc(var(--pw) * .058); left: 50%; width: .8em; height: .8em; margin-left: -.4em; border-radius: 50%; background: #09090D; box-shadow: inset 0 0 0 .14em #1F1E27; }
.p-screen { position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--pw) * .128); background: #F6F4FF; }
.p-screen::before, .p-screen::after { content: ""; position: absolute; border-radius: 50%; filter: blur(28px); pointer-events: none; }
.p-screen::before { left: -35%; top: 48%; width: 90%; height: 50%; background: rgba(0, 184, 212, .17); }
.p-screen::after { right: -35%; top: 16%; width: 80%; height: 40%; background: rgba(147, 129, 255, .2); }
.screen { position: absolute; inset: 0; z-index: 1; }

.a-top { position: relative; z-index: 2; padding: 1em 1.3em 1.35em; border-radius: 0 0 1.9em 1.9em; background: var(--grad-bar); color: #fff; box-shadow: 0 .9em 1.8em -1em rgba(79, 70, 229, .7); }
.a-top.light { background: transparent; color: var(--ink); box-shadow: none; padding-bottom: .4em; }
.a-status { display: flex; align-items: center; justify-content: space-between; padding: 0 .3em; font-size: .9em; font-weight: 500; }
.a-status .sb { display: flex; align-items: center; gap: .35em; }
.a-status .sb .ic { font-size: 1.05em; }
.a-title { margin-top: .55em; font-size: 1.42em; font-weight: 700; text-align: center; letter-spacing: -.01em; }
.a-title.row { display: flex; align-items: center; gap: .6em; font-size: 1.2em; text-align: left; }
.a-title.row .ic { font-size: 1.15em; }
.a-title.caps { letter-spacing: .04em; text-transform: uppercase; font-size: 1.12em; }
.av.sm { width: 2.4em; height: 2.4em; font-size: .78em; box-shadow: 0 0 0 .18em rgba(255, 255, 255, .35); }
.a-who { display: flex; flex-direction: column; line-height: 1.2; }
.a-who small { font-size: .7em; font-weight: 400; opacity: .85; }
.a-body { position: relative; z-index: 1; padding: 1.1em 1.1em 0; }

.a-nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: .75em .3em 1.45em; border-radius: 1.5em 1.5em 0 0; background: rgba(255, 255, 255, .94); box-shadow: 0 -.7em 1.6em -1.1em rgba(76, 64, 200, .45); }
.a-nav::after { content: ""; position: absolute; left: 50%; bottom: .55em; width: 7.5em; height: .28em; margin-left: -3.75em; border-radius: 1em; background: #55535F; }
.tab { display: flex; flex-direction: column; align-items: center; gap: .3em; }
.tab b { display: grid; place-items: center; width: 3.2em; height: 2.3em; border-radius: 999px; background: #ECEAF6; color: #55535F; transition: width .3s, background-color .3s; }
.tab b .ic { font-size: 1.2em; }
.tab small { font-size: .66em; font-weight: 500; color: #6B6979; }
.tab.on b { width: 3.9em; background: var(--violet); color: #fff; }
.tab.on small { color: var(--violet); font-weight: 700; }

.seg { display: flex; padding: .3em; border-radius: 999px; background: #fff; box-shadow: 0 .5em 1.2em -.7em rgba(76, 64, 200, .45); }
.seg span { flex: 1; padding: .62em 0; border-radius: 999px; color: var(--violet); font-size: .95em; font-weight: 700; text-align: center; }
.seg .on { background: var(--grad-pill); color: #fff; }

.m-card { position: relative; margin-top: 1em; padding: 1.1em 1.1em 1em 1.55em; border-radius: 1.6em; background: #fff; box-shadow: 0 1.1em 2.2em -1.3em rgba(76, 64, 200, .5); }
.m-card::before { content: ""; position: absolute; left: .75em; top: 1.15em; width: .28em; height: 2.9em; border-radius: 1em; background: linear-gradient(#6C63FF, #00B8D4); }
.m-head { display: flex; justify-content: space-between; gap: .6em; }
.m-title { font-size: 1.06em; font-weight: 700; line-height: 1.25; }
.m-price { margin-top: .15em; color: var(--violet); font-size: 1.35em; font-weight: 700; }
.m-avatar { flex: none; width: 3.1em; height: 3.1em; border-radius: 50%; display: grid; place-items: center; padding: .17em; background: linear-gradient(135deg, #6C63FF, #00B8D4); }
.m-avatar span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: #F1F0F6; color: #6B6979; font-size: 1.25em; }
.m-meta { display: flex; flex-wrap: wrap; gap: .45em; margin-top: .85em; }
.pill { display: inline-flex; align-items: center; gap: .4em; padding: .45em .72em; border: 1px solid var(--line); border-radius: .95em; background: #fff; color: var(--ink-2); font-size: .86em; box-shadow: 0 .25em .6em -.35em rgba(0, 0, 0, .18); }
.pill .ic { color: var(--violet); }
.m-foot { display: flex; align-items: center; justify-content: space-between; gap: .5em; margin-top: .85em; }
.offers-btn { display: inline-flex; align-items: center; gap: .4em; padding: .55em .9em; border-radius: 999px; background: linear-gradient(90deg, #6C63FF, #4F46E5); color: #fff; font-size: .9em; font-weight: 700; box-shadow: 0 .55em 1.1em -.45em rgba(79, 70, 229, .8); }
.offers-btn.bump { animation: bump .5s ease; }

.o-label { margin: 1.2em .3em .6em; color: var(--muted); font-size: .76em; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.o-card { display: flex; align-items: flex-start; gap: .7em; margin-bottom: .6em; padding: .85em; border-radius: 1.4em; background: #fff; box-shadow: 0 .9em 1.8em -1.2em rgba(76, 64, 200, .45); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1.2), box-shadow .4s ease; }
.o-card.is-pending { opacity: 0; transform: translateY(1em) scale(.97); }
.av { flex: none; width: 2.75em; height: 2.75em; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-size: .95em; font-weight: 700; }
.o-main { flex: 1; min-width: 0; }
.o-name { display: flex; align-items: center; gap: .4em; font-size: .98em; font-weight: 700; }
.o-name .rate { display: inline-flex; align-items: center; gap: .2em; color: var(--ink-2); font-size: .8em; font-weight: 500; }
.o-name .rate .ic { color: #F5B400; }
.o-name .new { padding: .1em .5em; border-radius: 999px; background: #1F2A44; color: #fff; font-size: .7em; font-weight: 500; }
.o-msg { margin-top: .15em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--muted); font-size: .84em; line-height: 1.35; }
.o-time { display: flex; align-items: center; gap: .35em; margin-top: .45em; color: #8E8E93; font-size: .76em; }
.o-side { display: flex; flex-direction: column; align-items: flex-end; gap: .4em; }
.o-price { padding: .3em .7em; border-radius: 999px; background: var(--lav-100); color: var(--violet); font-size: .92em; font-weight: 700; }
.o-side .st { font-size: .76em; }

.toast { position: absolute; z-index: 6; left: .65em; right: .65em; top: 2.3em; display: flex; align-items: center; gap: .7em; padding: .8em .9em; border-radius: 1.3em; background: rgba(255, 255, 255, .98); box-shadow: 0 1.2em 2.4em -1em rgba(20, 10, 80, .6); opacity: 0; transform: translateY(-140%); transition: transform .55s cubic-bezier(.2, .9, .3, 1.15), opacity .3s ease; }
.toast.is-shown { opacity: 1; transform: none; }
.toast img { flex: none; width: 2.5em; height: 2.5em; border-radius: .8em; }
.toast .t-copy { flex: 1; min-width: 0; }
.toast .t-app { display: block; color: var(--muted); font-size: .72em; }
.toast b { display: block; font-size: .92em; }
.toast .t-text { display: block; overflow: hidden; color: var(--ink-2); font-size: .84em; white-space: nowrap; text-overflow: ellipsis; }

/* Écran « Nouvelle mission » */
.stepper { display: flex; gap: .45em; margin: .5em 0 1.4em; }
.stepper i { position: relative; flex: 1; height: .32em; overflow: hidden; border-radius: 1em; background: #E0DDEB; }
.stepper i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--violet); transform: scaleX(0); transform-origin: left; }
.stepper i:first-child::after { transform: none; }
.cr-title { font-size: 2em; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.cr-sub { margin: .4em 0 1.2em; color: var(--muted); font-size: .9em; }
.cr-label { margin: .9em .1em .45em; color: var(--muted); font-size: .7em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cr-field { display: flex; align-items: center; gap: .65em; min-height: 3.4em; padding: .8em 1em; border-radius: 1.3em; background: #fff; color: var(--ink); font-size: .95em; box-shadow: 0 .8em 1.6em -1.1em rgba(76, 64, 200, .45); }
.cr-field .ic { color: var(--violet); font-size: 1.2em; }
.cr-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.typed { display: inline-block; white-space: nowrap; }
.cr-btn { display: flex; align-items: center; justify-content: center; gap: .5em; margin-top: 1.4em; padding: 1em; border-radius: 1.4em; background: var(--grad-bar); color: #fff; font-size: .95em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 .9em 1.6em -.9em rgba(79, 70, 229, .85); }

.mini-btns { display: flex; gap: .5em; margin-top: .4em; }
.mini-btns span { flex: 1; display: flex; align-items: center; justify-content: center; gap: .4em; padding: .8em; border-radius: 1.1em; font-size: .88em; font-weight: 700; }
.mini-btns .ghost { background: #fff; color: var(--violet); box-shadow: inset 0 0 0 1.5px var(--violet); }
.mini-btns .solid { background: var(--grad-bar); color: #fff; box-shadow: 0 .7em 1.3em -.8em rgba(79, 70, 229, .9); }
.m-card.compact .m-foot { margin-top: .6em; }

/* Écran conversation */
.chat-banner { display: flex; align-items: center; gap: .75em; padding: .85em 1em; border-radius: 1.3em; background: #fff; box-shadow: 0 .8em 1.6em -1.1em rgba(76, 64, 200, .45); }
.chat-banner > .ic { color: var(--violet); font-size: 1.5em; }
.chat-banner b { display: block; overflow: hidden; color: var(--ink-2); font-size: .92em; white-space: nowrap; text-overflow: ellipsis; }
.chat-banner .cb-meta { display: flex; align-items: center; gap: .5em; margin-top: .2em; color: var(--violet); font-size: .9em; font-weight: 700; }
.chat-banner .cb-meta .st { font-size: .78em; }
.chat-banner > div { min-width: 0; }
.day { width: max-content; margin: 1em auto .8em; padding: .35em .9em; border-radius: 999px; background: #E3E6F0; color: #55607A; font-size: .7em; font-weight: 700; letter-spacing: .06em; }
.chat { display: flex; flex-direction: column; gap: .55em; }
.bub { max-width: 78%; padding: .7em .9em .5em; border-radius: 1.2em; font-size: .9em; line-height: 1.35; }
.bub time { display: flex; align-items: center; justify-content: flex-end; gap: .3em; margin-top: .25em; font-size: .72em; opacity: .7; }
.bub.in { align-self: flex-start; background: #fff; color: var(--ink); box-shadow: 0 .6em 1.4em -1em rgba(76, 64, 200, .45); }
.bub.out { align-self: flex-end; background: var(--violet); color: #fff; }
.bub.out time .ic { color: #7FE3F5; }
.typing { align-self: flex-start; display: inline-flex; gap: .3em; padding: .85em 1em; border-radius: 1.2em; background: #fff; }
.typing i { width: .45em; height: .45em; border-radius: 50%; background: #B4B0C9; animation: dots 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.chat-input { position: absolute; z-index: 2; left: .9em; right: .9em; bottom: 6.1em; display: flex; align-items: center; justify-content: space-between; padding: .4em .4em .4em 1.1em; border-radius: 999px; background: #fff; color: #A3A0B3; font-size: .9em; box-shadow: 0 .6em 1.4em -1em rgba(76, 64, 200, .5); }
.chat-input span:last-child { display: grid; place-items: center; width: 2.5em; height: 2.5em; border-radius: 50%; background: var(--violet); color: #fff; }

/* Séquences jouées à l'affichage d'un écran */
.screen.is-active .seq { animation: seqIn .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0s); }
.screen.is-active .typed { animation: typeIn var(--t, .9s) steps(var(--n, 20)) both; animation-delay: var(--d, 0s); }
.screen.is-active .stepper i:nth-child(2)::after { animation: grow .5s ease forwards; animation-delay: 1.5s; }
.screen.is-active .stepper i:nth-child(3)::after { animation: grow .5s ease forwards; animation-delay: 2.3s; }
.screen.is-active .stepper i:nth-child(4)::after { animation: grow .5s ease forwards; animation-delay: 3s; }
.screen.is-active .o-card.pick { animation: seqIn .55s cubic-bezier(.2, .7, .2, 1) both, pick .45s ease forwards; animation-delay: var(--d, 0s), 1.6s; }
.screen.is-active .typing { animation: typingShow 1.5s ease both; animation-delay: var(--d, 0s); }

/* ---------- Bande « confiance » ---------- */
.trust { position: relative; z-index: 2; margin-top: -66px; }
.trust-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 30px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-card); }
.trust-copy { margin: 0; }
.trust-copy strong { display: block; font-size: 19px; line-height: 1.3; }
.trust-copy span { display: block; margin-top: 3px; color: var(--muted); font-size: 15px; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.trust-chips li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--lav-25); color: var(--ink-2); font-size: 15px; font-weight: 500; }
.trust-chips .ci { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--violet); font-size: 17px; box-shadow: 0 6px 14px -6px rgba(76, 64, 200, .5); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section.process { padding-top: 40px; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2, .process-head h2 { margin: 0 0 18px; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -.03em; }
.section-lead { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }

.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aud-card { position: relative; display: flex; flex-direction: column; padding: 18px 18px 36px; border-radius: 34px; background: #fff; box-shadow: var(--shadow-card); }
.aud-card > :not(.aud-visual) { margin-inline: 18px; }
.aud-card.pro { background: radial-gradient(120% 70% at 100% 0%, rgba(0, 184, 212, .5), transparent 60%), linear-gradient(160deg, #6C63FF 0%, #5A4DE6 45%, #4338CA 100%); color: #fff; }
.aud-visual { position: relative; height: 230px; margin-bottom: 30px; overflow: hidden; border-radius: 24px; background: var(--lav-50); }
.aud-label { align-self: flex-start; margin-bottom: 16px; padding: 7px 13px; border-radius: 999px; background: var(--lav-100); color: var(--violet-700); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pro .aud-label { background: rgba(255, 255, 255, .2); color: #fff; }
.aud-card h3 { margin-top: 0; margin-bottom: 12px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.16; letter-spacing: -.02em; }
.aud-card > p { margin-top: 0; margin-bottom: 26px; color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.pro > p { color: rgba(255, 255, 255, .9); }
.checks { display: grid; gap: 12px; margin-top: 0; margin-bottom: 0; padding: 0; list-style: none; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; font-weight: 500; line-height: 1.45; }
.tick { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--lav-100); color: var(--violet); font-size: 14px; }
.tick .ic { stroke-width: 3; }
.pro .tick { background: rgba(255, 255, 255, .22); color: #fff; }

/* Visuel client : publication guidée */
.v-client::before { content: ""; position: absolute; width: 260px; height: 260px; left: -60px; bottom: -120px; border-radius: 50%; background: rgba(0, 184, 212, .18); filter: blur(30px); }
.v-client::after { content: ""; position: absolute; width: 220px; height: 220px; right: -50px; top: -90px; border-radius: 50%; background: rgba(147, 129, 255, .28); filter: blur(30px); }
.mini-create { position: absolute; z-index: 1; left: 50%; top: 50%; width: min(340px, 82%); padding: 18px; border-radius: 22px; background: #fff; box-shadow: 0 20px 40px -24px rgba(76, 64, 200, .55); transform: translate(-50%, -50%); }
.mc-top { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.mc-top .ic { font-size: 16px; }
.mc-stepper { position: relative; height: 5px; margin: 14px 0 16px; background: repeating-linear-gradient(90deg, #E4E1F0 0 calc(25% - 5px), transparent 0 25%); }
.mc-stepper::after { content: ""; position: absolute; inset: 0; background: var(--grad-brand); -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(25% - 5px), transparent 0 25%); mask: repeating-linear-gradient(90deg, #000 0 calc(25% - 5px), transparent 0 25%); clip-path: inset(0 75% 0 0); animation: stepFill 9s infinite; }
.mc-field { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--lav-25); font-size: 14px; }
.mc-field .ic { color: var(--violet); font-size: 17px; }
.mc-typed { white-space: nowrap; clip-path: inset(0 100% 0 0); animation: miniType 9s steps(18) infinite; }
.mc-caret { width: 2px; height: 17px; margin-left: -8px; background: var(--violet); animation: caret 1s steps(1) infinite; }
.mc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mc-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 12px; background: #F4F4F6; color: var(--muted); font-size: 13px; font-weight: 500; animation: chipOn 9s infinite; }
.mc-chips span:nth-child(2) { animation-delay: .5s; }
.mc-chips span:nth-child(3) { animation-delay: 1s; }
.mc-chips .ic { font-size: 14px; }

/* Visuel prestataire : carte des missions */
.v-pro { background: #EEF2F8; }
.v-pro .map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-chips { position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px; display: flex; gap: 8px; }
.map-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; box-shadow: 0 8px 18px -10px rgba(30, 20, 110, .55); }
.map-chips .ic { font-size: 15px; }
.mk { position: absolute; z-index: 1; left: var(--x); top: var(--y); width: 34px; height: 41px; transform: translate(-50%, -100%); }
.mk svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 10px rgba(79, 70, 229, .45)); }
.mk::before { content: ""; position: absolute; left: 50%; top: 100%; width: 46px; height: 46px; border-radius: 50%; background: rgba(108, 99, 255, .35); transform: translate(-50%, -50%) scale(.4); animation: halo 2.6s ease-out infinite; animation-delay: var(--hd, 0s); }
.mk.main { width: 42px; height: 50px; }
.me { position: absolute; left: var(--x); top: var(--y); width: 16px; height: 16px; border: 3px solid #fff; border-radius: 50%; background: #1A73E8; box-shadow: 0 0 0 8px rgba(26, 115, 232, .18); transform: translate(-50%, -50%); }
.map-pop { position: absolute; z-index: 2; left: calc(var(--x) + 26px); top: calc(var(--y) - 74px); padding: 10px 14px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 14px 28px -14px rgba(30, 20, 110, .6); }
.map-pop b { display: block; font-size: 13px; }
.map-pop span { display: block; color: var(--violet); font-size: 13px; font-weight: 700; }
.motion-ok .v-pro .mk, .motion-ok .v-pro .map-pop { opacity: 0; }
.motion-ok .is-visible .v-pro .mk { animation: drop .7s cubic-bezier(.2, .8, .3, 1.2) forwards; animation-delay: var(--dd, .2s); }
.motion-ok .is-visible .v-pro .map-pop { animation: seqIn .6s ease forwards; animation-delay: 1.3s; }

/* ---------- Fonctionnement ---------- */
.process-grid { display: grid; grid-template-columns: 1fr minmax(0, 440px); grid-template-areas: "head visual" "steps visual"; column-gap: 72px; align-items: center; }
.process-head { grid-area: head; align-self: end; }
.process-head .section-lead { max-width: 520px; }
.steps { grid-area: steps; align-self: start; display: grid; gap: 14px; margin: 40px 0 0; padding: 0; list-style: none; }
.step { position: relative; padding: 22px 26px 24px 34px; border: 1px solid var(--line); border-radius: 24px; transition: background-color .35s ease, box-shadow .35s ease, border-color .35s ease; }
.step:hover { background: rgba(255, 255, 255, .6); }
.step::before { content: ""; position: absolute; left: 16px; top: 24px; bottom: 24px; width: 4px; border-radius: 4px; background: var(--line); transition: background .35s ease; }
.step.is-active { border-color: transparent; background: #fff; box-shadow: var(--shadow-card); }
.step.is-active::before { background: linear-gradient(#6C63FF, #00B8D4); }
.step-num { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.step.is-active .step-num { color: var(--violet); }
.step h3 { margin: 0 0 6px; font-size: 21px; line-height: 1.3; }
.step h3 button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.step h3 button::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.step h3 button:focus-visible { outline: none; }
.step h3 button:focus-visible::after { outline: 3px solid var(--violet-700); outline-offset: 2px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.step-progress { position: absolute; left: 34px; right: 26px; bottom: 11px; height: 3px; overflow: hidden; border-radius: 3px; background: var(--lav-100); opacity: 0; transition: opacity .3s; }
.step-progress i { display: block; height: 100%; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; }
.autoplay .step.is-active .step-progress { opacity: 1; }
.autoplay .step.is-active .step-progress i { animation: progress 6.5s linear forwards; }
.autoplay:is(:hover, :focus-within, .is-offscreen) .step-progress i { animation-play-state: paused; }
.process-visual { grid-area: visual; position: relative; display: grid; place-items: center; padding: 40px 0; }
.process-visual::before { content: ""; position: absolute; width: min(420px, 100%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(108, 99, 255, .28), rgba(0, 184, 212, .12) 55%, transparent 70%); filter: blur(10px); }
.process-visual .screen { opacity: 0; visibility: hidden; transform: translateX(8%); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1), visibility .5s; }
.process-visual .screen.is-active { opacity: 1; visibility: visible; transform: none; }

/* ---------- Appel final ---------- */
.final { padding-top: 0; }
.final-card { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 40px; overflow: hidden; padding: 72px; border-radius: 40px; color: #fff; }
.final-card .violet-bg { border-radius: inherit; }
.final-card h2 { max-width: 620px; margin: 0 0 32px; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -.03em; }
.final-art { position: relative; height: 300px; display: grid; place-items: center; }
.final-art .ripple { position: absolute; width: 170px; height: 170px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 50%; animation: ripple 4.5s ease-out infinite; }
.final-art .r2 { animation-delay: 1.5s; }
.final-art .r3 { animation-delay: 3s; }
.final-logo { position: relative; z-index: 1; width: 132px; height: 132px; border-radius: 34px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 8px rgba(255, 255, 255, .12); animation: float 6s ease-in-out infinite; }
.orbit { position: absolute; z-index: 2; font-size: 15px; box-shadow: 0 14px 28px -14px rgba(10, 5, 50, .7); animation: float 7s ease-in-out infinite; }
.orbit.st { padding: 9px 14px; font-weight: 700; }
.orbit.o1 { left: 0; top: 18%; }
.orbit.o2 { right: 0; top: 34%; animation-delay: -2.4s; }
.orbit.o3 { left: 12%; bottom: 10%; animation-delay: -4.6s; }
.offers-chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: #fff; color: var(--violet-700); font-weight: 700; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 34px 0; color: var(--muted); font-size: 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 16px; font-weight: 700; }
.footer-brand img { width: 36px; height: 36px; border-radius: 11px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.footer-links a, .footer-links button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; transition: color .2s; }
.footer-links a:hover, .footer-links button:hover { color: var(--violet-700); }

/* ---------- Pages intérieures ---------- */
.page-hero { position: relative; isolation: isolate; padding: 148px 0 124px; color: #fff; }
.page-hero h1 { max-width: 820px; margin: 20px 0 12px; font-size: clamp(36px, 5vw, 58px); line-height: 1.06; letter-spacing: -.03em; }
.page-meta { margin: 0; color: rgba(255, 255, 255, .9); font-size: 17px; }
.page-meta a { color: #fff; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); text-underline-offset: 4px; }
.page-meta a:hover { text-decoration-color: #fff; }
.page-body { position: relative; z-index: 2; margin-top: -70px; padding-bottom: 110px; }
.page-hero .wrap > * { animation: heroIn .8s cubic-bezier(.2, .7, .2, 1) both; }
.page-hero .wrap > :nth-child(2) { animation-delay: .07s; }
.page-hero .wrap > :nth-child(3) { animation-delay: .14s; }

.card { padding: 32px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-card); }
.card-title { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; font-size: 23px; line-height: 1.25; letter-spacing: -.015em; }
.ic-tile { flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--lav-100); color: var(--violet); font-size: 22px; }

.doc-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.doc-toc { position: sticky; top: 100px; padding: 22px 16px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-card); }
.doc-toc p { margin: 0 10px 10px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.doc-toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.doc-toc a { display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; border-radius: 12px; color: var(--ink-2); font-size: 14.5px; line-height: 1.35; transition: background-color .2s, color .2s; }
.doc-toc a::before { counter-increment: toc; content: counter(toc); flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--lav-100); color: var(--violet-700); font-size: 12px; font-weight: 700; transition: background .2s, color .2s; }
.doc-toc a:hover, .doc-toc a.is-current { background: var(--lav-50); color: var(--violet-700); }
.doc-toc a.is-current::before { background: var(--violet); color: #fff; }
.doc-stack { display: grid; gap: 18px; }
.doc-card { scroll-margin-top: 96px; padding: 32px 36px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-card); color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.doc-card h2 { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; color: var(--ink); font-size: clamp(21px, 2.2vw, 25px); line-height: 1.25; letter-spacing: -.015em; }
.doc-num { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-bar); color: #fff; font-size: 16px; font-weight: 700; box-shadow: 0 10px 18px -10px rgba(79, 70, 229, .8); }
.doc-card p { margin: 0 0 10px; }
.doc-card > :last-child { margin-bottom: 0; }
.doc-card ul, .doc-card ol { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.doc-card li { position: relative; padding-left: 28px; }
.doc-card li::before { content: ""; position: absolute; left: 5px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 0 4px var(--lav-100); }
.doc-card a, .card a.link, .email-card .foot a { color: var(--violet-700); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(108, 99, 255, .35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.doc-card a:hover, .card a.link:hover, .email-card .foot a:hover { text-decoration-color: var(--violet-700); }
.doc-card strong { color: var(--ink); }
.doc-card ul + p { margin-top: 14px; }
.doc-card .btn { margin-top: 18px; color: #fff; font-weight: 700; text-decoration: none; }
.doc-card .callout { display: flex; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 18px; background: var(--lav-50); }
.doc-card .callout .ic { margin-top: 3px; color: var(--violet); font-size: 20px; }

/* Support */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.req-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.req-list li { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 18px; background: var(--lav-50); color: var(--ink-2); font-weight: 500; }
.req-list .ic-tile { width: 38px; height: 38px; border-radius: 12px; background: #fff; font-size: 18px; box-shadow: 0 6px 14px -8px rgba(76, 64, 200, .55); }
.delay { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; padding: 18px 20px; border-radius: 22px; background: var(--grad-bar); color: #fff; }
.delay .ic { font-size: 30px; }
.delay strong { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.delay span { display: block; opacity: .9; font-size: 14px; }
.card > p { margin: 0 0 12px; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.card > p:last-child { margin-bottom: 0; }
.cta-card { position: relative; isolation: isolate; overflow: hidden; margin-top: 20px; padding: 56px 32px; border-radius: 34px; color: #fff; text-align: center; }
.cta-card .violet-bg { border-radius: inherit; }
.cta-card h2 { margin: 0 0 10px; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; letter-spacing: -.02em; }
.cta-card p { margin: 0 0 26px; color: rgba(255, 255, 255, .92); font-size: 17px; }

/* Suppression de compte : étapes reliées */
.timeline { counter-reset: none; }
.timeline .doc-card { position: relative; }
.timeline .doc-card:not(:last-child)::after { content: ""; position: absolute; left: 55px; bottom: -19px; width: 2px; height: 20px; background: var(--lav-200); }

/* 404 */
.nf-hero { text-align: center; padding-bottom: 150px; }
.nf-digits { display: flex; align-items: flex-end; justify-content: center; gap: 10px; font-size: clamp(110px, 18vw, 200px); font-weight: 700; line-height: .9; letter-spacing: -.04em; }
.nf-zero { position: relative; width: .62em; height: .74em; margin: 0 .04em .02em; border: .12em solid #fff; border-radius: 50%; }
.nf-pin { position: absolute; left: 50%; bottom: 52%; width: .36em; height: .44em; margin-left: -.18em; animation: bounce 2.2s ease-in-out infinite; }
.nf-pin svg { width: 100%; height: 100%; filter: drop-shadow(0 10px 14px rgba(20, 10, 80, .45)); }
.nf-shadow { position: absolute; left: 50%; bottom: 36%; width: .2em; height: .05em; margin-left: -.1em; border-radius: 50%; background: rgba(20, 10, 80, .35); animation: shadow 2.2s ease-in-out infinite; }
.nf-card { max-width: 640px; margin-inline: auto; text-align: center; padding: 44px 36px; }
.nf-card h1 { margin: 0 0 10px; font-size: clamp(34px, 5vw, 50px); line-height: 1.08; letter-spacing: -.03em; }
.nf-card p:not(.kicker) { margin: 0 0 28px; color: var(--muted); font-size: 17px; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Pages d'action e-mail */
.email-page { min-height: 100vh; }
.email-shell { position: relative; isolation: isolate; min-height: 100vh; padding: 36px 16px 56px; }
.email-shell > .violet-bg { bottom: auto; height: 340px; }
.email-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 40px; color: #fff; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.email-brand img { width: 46px; height: 46px; border-radius: 14px; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .6); }
.email-card { width: min(100%, 720px); margin: 0 auto; padding: 36px; border-radius: 32px; background: #fff; box-shadow: var(--shadow-card), 0 40px 80px -50px rgba(30, 20, 110, .6); animation: heroIn .7s cubic-bezier(.2, .7, .2, 1) both; }
.email-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.email-icon { width: 58px; height: 58px; border-radius: 19px; font-size: 28px; transition: background-color .3s, color .3s; }
.email-card:has(.badge.success) .email-icon { background: var(--green-bg); color: var(--green); }
.email-card:has(.badge.error) .email-icon { background: var(--red-bg); color: var(--red); }
.email-card .badge { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px; background: var(--lav-100); color: var(--violet-700); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.email-card .badge.success { background: var(--green-bg); color: var(--green); }
.email-card .badge.error { background: var(--red-bg); color: var(--red); }
.email-card .badge-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(108, 99, 255, .14); }
.email-card .badge:not(.success):not(.error) .badge-dot { animation: pulseViolet 1.8s infinite; }
.email-card h1 { margin: 0 0 12px; font-size: clamp(30px, 5vw, 44px); line-height: 1.06; letter-spacing: -.03em; }
.email-card .lead { max-width: 52ch; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.email-card .detail { margin: 12px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.email-card .detail:empty { display: none; }
.email-panel { margin-top: 26px; padding: 22px 24px; border-radius: 22px; background: var(--lav-50); }
.email-panel h2 { margin: 0 0 14px; font-size: 17px; }
.email-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: es; }
.email-steps li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); line-height: 1.5; }
.email-steps li::before { counter-increment: es; content: counter(es); flex: none; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: var(--grad-bar); color: #fff; font-size: 13px; font-weight: 700; }
.email-card .form-grid { display: grid; gap: 14px; }
.email-card .field label { display: block; margin: 0 0 7px 4px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.email-card .field input { width: 100%; min-height: 56px; padding: 16px 20px; border: 1px solid #EAEAEA; border-radius: 16px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.email-card .field input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(108, 99, 255, .16); }
.email-card .btn[disabled] { opacity: .55; cursor: wait; transform: none; box-shadow: none; }
.email-card .form-status { margin: 0; color: var(--muted); font-size: 14.5px; }
.email-card .form-status:empty { display: none; }
.email-card .form-status.error { color: var(--red); font-weight: 700; }
.email-card .form-status.success { color: var(--green); font-weight: 700; }
.email-card .foot { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.hidden { display: none !important; }

/* ---------- Bandeau cookies ---------- */
[data-consent-banner] { position: fixed; z-index: 9999; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 18px; max-width: 780px; margin: auto; padding: 18px 20px; border-radius: 24px; background: #fff; color: var(--ink); font-family: var(--font); box-shadow: 0 28px 60px -22px rgba(40, 30, 120, .5), 0 0 0 1px var(--line); animation: bannerIn .45s cubic-bezier(.2, .7, .2, 1) both; }
[data-consent-banner] .cb-icon { flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--lav-100); color: var(--violet); font-size: 22px; }
[data-consent-banner] p { flex: 1; margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
[data-consent-banner] a { color: var(--violet-700); text-decoration: underline; text-underline-offset: 2px; }
[data-consent-banner] .cb-actions { display: flex; gap: 10px; }
[data-consent-banner] button { min-height: 46px; padding: 10px 20px; border-radius: 14px; font: 700 14px var(--font); white-space: nowrap; cursor: pointer; transition: transform .2s; }
[data-consent-banner] button:hover { transform: translateY(-1px); }
[data-consent-banner] [data-reject] { border: 1.5px solid var(--lav-200); background: #fff; color: var(--ink-2); }
[data-consent-banner] [data-accept] { border: 0; background: var(--grad-bar); color: #fff; box-shadow: 0 12px 22px -12px rgba(79, 70, 229, .8); }

/* ---------- Apparition au défilement ---------- */
.motion-ok .reveal { opacity: 0; transform: translateY(30px); transition: opacity .85s cubic-bezier(.2, .7, .2, 1), transform .85s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rd, 0s); }
.motion-ok .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes phoneIn { from { opacity: 0; transform: translateY(46px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(50px, 36px) scale(1.12); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); } 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
@keyframes pulseViolet { 0% { box-shadow: 0 0 0 0 rgba(108, 99, 255, .45); } 70% { box-shadow: 0 0 0 8px rgba(108, 99, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(108, 99, 255, 0); } }
@keyframes bump { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.14); } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes seqIn { from { opacity: 0; transform: translateY(.9em); } to { opacity: 1; transform: none; } }
@keyframes typeIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes grow { to { transform: none; } }
@keyframes pick { from { box-shadow: 0 .9em 1.8em -1.2em rgba(76, 64, 200, .45); } to { box-shadow: 0 0 0 .16em var(--violet), 0 1em 2em -1.1em rgba(76, 64, 200, .7); } }
@keyframes dots { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-.25em); opacity: 1; } }
@keyframes typingShow { 0% { opacity: 0; max-height: 0; padding-block: 0; } 12%, 82% { opacity: 1; max-height: 3em; padding-block: .85em; } 100% { opacity: 0; max-height: 0; padding-block: 0; margin-top: -.55em; } }
@keyframes stepFill { 0%, 10% { clip-path: inset(0 75% 0 0); } 24%, 34% { clip-path: inset(0 50% 0 0); } 48%, 58% { clip-path: inset(0 25% 0 0); } 72%, 94% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 75% 0 0); } }
@keyframes miniType { 0% { clip-path: inset(0 100% 0 0); } 28%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes chipOn { 0%, 34% { background: #F4F4F6; color: var(--muted); } 40%, 92% { background: var(--violet); color: #fff; } 100% { background: #F4F4F6; color: var(--muted); } }
@keyframes halo { 0% { transform: translate(-50%, -50%) scale(.4); opacity: .9; } 100% { transform: translate(-50%, -50%) scale(1.9); opacity: 0; } }
@keyframes drop { 0% { opacity: 0; transform: translate(-50%, -190%); } 60% { opacity: 1; transform: translate(-50%, -92%); } 100% { opacity: 1; transform: translate(-50%, -100%); } }
@keyframes ripple { 0% { transform: scale(.75); opacity: .8; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes bannerIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.16em); } }
@keyframes shadow { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(.6); opacity: .4; } }

/* ---------- Adaptations ---------- */
@media (max-width: 1100px) {
  .fc-1 { right: -6%; }
  .fc-2 { left: -6%; }
  .final-card { padding: 56px; }
}
@media (max-width: 960px) {
  .hero { padding: 124px 0 140px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .lead { margin-inline: auto; }
  .store-row { justify-content: center; }
  .hero-visual { min-height: 0; padding: 30px 0 10px; }
  .hero-visual::before { width: min(380px, 100%); }
  .fc-1 { right: 2%; top: 8%; }
  .fc-2 { left: 2%; top: 70%; }
  .trust-card { flex-direction: column; align-items: flex-start; }
  .section { padding: 90px 0; }
  .aud-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; grid-template-areas: "head" "visual" "steps"; }
  .process-head { text-align: center; }
  .process-head .section-lead { margin-inline: auto; }
  .process-visual { padding: 40px 0 0; }
  .final-card { grid-template-columns: 1fr; text-align: center; }
  .final-card h2 { margin-inline: auto; }
  .final-art { order: -1; height: 240px; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-toc { display: none; }
  .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .violet-bg { border-radius: 0 0 36px 36px; }
  .hero { padding: 112px 0 120px; }
  .hero h1 { font-size: clamp(38px, 11vw, 48px); }
  .lead { font-size: 17px; }
  .store-row { flex-direction: column; align-items: stretch; }
  .btn-store, .btn-soon { justify-content: center; }
  .hero-visual::before { width: min(300px, 100%); }
  .phone { --pw: 264px; }
  .float-card { max-width: 210px; padding: 10px 14px 10px 10px; gap: 10px; border-radius: 18px; }
  .float-card b { font-size: 13.5px; }
  .float-card small { font-size: 12px; }
  .fc-icon { width: 34px; height: 34px; border-radius: 12px; font-size: 17px; }
  .fc-1 { right: -4px; top: 6%; }
  .fc-2 { left: -4px; top: 72%; }
  .trust { margin-top: -56px; }
  .trust-card { padding: 22px 20px; }
  .trust-chips li { font-size: 14px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .section-lead { font-size: 16.5px; }
  .aud-card { padding: 12px 12px 28px; border-radius: 28px; }
  .aud-card > :not(.aud-visual) { margin-inline: 12px; }
  .aud-visual { height: 210px; margin-bottom: 24px; border-radius: 20px; }
  .map-chips span { padding: 7px 10px; font-size: 12px; }
  .violet-bg .b1 { width: 340px; height: 340px; right: -140px; top: -170px; opacity: .3; }
  .mini-create { width: 90%; padding: 14px; }
  .mc-stepper { margin: 12px 0 14px; }
  .mc-chips { flex-wrap: nowrap; gap: 6px; }
  .mc-chips span { padding: 6px 9px; font-size: 12px; }
  .map-chips span:nth-child(3) { display: none; }
  .step { padding: 20px 20px 22px 30px; }
  .step::before { left: 14px; }
  .step-progress { left: 30px; right: 20px; }
  .final-card { padding: 40px 22px; border-radius: 30px; }
  .final-card .btn-store { width: 100%; justify-content: center; }
  .orbit { font-size: 13px; }
  .page-hero { padding: 116px 0 108px; }
  .page-body { margin-top: -60px; padding-bottom: 72px; }
  .card { padding: 24px 20px; }
  .doc-card { padding: 24px 20px; font-size: 16px; }
  .doc-card h2 { gap: 12px; }
  .doc-num { width: 36px; height: 36px; border-radius: 12px; font-size: 15px; }
  .timeline .doc-card:not(:last-child)::after { left: 37px; }
  .cta-card { padding: 44px 20px; border-radius: 28px; }
  .nf-card { padding: 32px 20px; }
  .btn-row .btn { width: 100%; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
  .email-shell { padding-top: 28px; }
  .email-card { padding: 26px 20px; border-radius: 26px; }
  [data-consent-banner] { flex-direction: column; align-items: stretch; gap: 14px; }
  [data-consent-banner] .cb-icon { display: none; }
  [data-consent-banner] button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .mc-typed { clip-path: none; }
  .mc-stepper::after { clip-path: inset(0 50% 0 0); }
  .hero-chip .dot { animation: none !important; }
  .typing { display: none !important; }
}
