/* =========================================================
   One Small Step — feuille de style (mobile d'abord)
   Palette « Nuit cobalt » : nuit profonde, bleu électrique, touche menthe.
   Polices : Sora (titres), Inter (texte).
   ========================================================= */
:root {
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", "Inter", system-ui, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --gutter: 18px;
  --header-h: 68px;
  --space: clamp(72px, 10vw, 128px);
  --maxw: 1180px;

  /* ---------- Thème nuit (par défaut) ---------- */
  color-scheme: dark;
  --bg: #0a0e1a;
  --bg-alt: #0d1222;
  --surface: #121a2e;
  --surface-2: #18213a;
  --line: rgba(233, 237, 247, .09);
  --line-strong: rgba(233, 237, 247, .17);
  --text: #e9edf7;
  --muted: #9aa4bf;
  --accent: #6e8bff;
  --accent-hover: #8aa2ff;
  --on-accent: #0a0e1a;
  --accent-text: #8ea4ff;      /* accent lisible en texte */
  --mint: #5fe3c8;
  --mint-text: #5fe3c8;
  --glow-1: rgba(110, 139, 255, .22);
  --glow-2: rgba(95, 227, 200, .1);
  --grid-line: rgba(233, 237, 247, .045);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  --todo-bg: #3b2a10; --todo-text: #ffd69a;
  --err-bg: #3a1620; --err-text: #ffc2cc; --err-border: #6b2636;
}

/* ---------- Thème clair ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f7fb;
  --bg-alt: #eef1f8;
  --surface: #ffffff;
  --surface-2: #f3f5fb;
  --line: rgba(14, 20, 40, .09);
  --line-strong: rgba(14, 20, 40, .17);
  --text: #0e1428;
  --muted: #4a5470;
  --accent: #3a5bef;
  --accent-hover: #2c49d4;
  --on-accent: #ffffff;
  --accent-text: #2f4fe0;
  --mint: #2bc4a4;
  --mint-text: #0b7d67;
  --glow-1: rgba(58, 91, 239, .13);
  --glow-2: rgba(43, 196, 164, .1);
  --grid-line: rgba(14, 20, 40, .05);
  --shadow: 0 30px 60px -32px rgba(14, 20, 40, .35);
  --todo-bg: #fff1d6; --todo-text: #6b4200;
  --err-bg: #fdecef; --err-text: #8a1730; --err-border: #f4c3cd;
}

html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, fill .2s ease !important;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font: 400 16px/1.65 var(--sans); color: var(--text); background: var(--bg);
  overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, .h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 8.4vw, 4.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 5.4vw, 2.75rem); letter-spacing: -.03em; }
h3, .h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: var(--accent); color: var(--on-accent); }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.accent-text { color: var(--accent-text); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 1.1em;
  font: 600 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mint-text);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--glow-2); }
.lead { font-size: 1.08rem; color: var(--muted); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.35em; border-radius: 999px;
  font: 600 .95rem/1.1 var(--sans); text-decoration: none; text-align: center; cursor: pointer;
  color: var(--on-accent); background: var(--accent); border: 1px solid var(--accent);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(2px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface); border-color: var(--accent); color: var(--text); }
.btn--large { min-height: 54px; padding: .85em 1.6em; font-size: 1rem; }
.btn--small { min-height: 40px; padding: .5em 1.05em; font-size: .88rem; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-text); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.actions, .hero__actions, .cta-panel__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   En-tête, tiroir
   ========================================================= */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease;
}
body.is-scrolled .topbar { border-bottom-color: var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand__mark { flex: none; border-radius: 11px; }
.brand__name { font: 600 1.08rem/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.nav { display: none; gap: 28px; }
.nav a { position: relative; text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--muted); transition: color .2s ease; }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--accent); }
.topbar__cta { display: flex; align-items: center; gap: 8px; }
.topbar__btn { display: none; }

.theme-toggle {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; cursor: pointer;
  border-radius: 50%; background: transparent; color: var(--muted); border: 1px solid var(--line-strong);
}
.theme-toggle:hover { color: var(--text); border-color: var(--accent); }
.theme-toggle__icon { display: grid; place-items: center; grid-area: 1 / 1; transition: transform .3s ease, opacity .2s ease; }
.theme-toggle__icon--moon { opacity: 0; transform: rotate(90deg) scale(.6); }
:root[data-theme="light"] .theme-toggle__icon--moon { opacity: 1; transform: none; }
:root[data-theme="light"] .theme-toggle__icon--sun { opacity: 0; transform: rotate(-90deg) scale(.6); }

.burger {
  display: grid; align-content: center; gap: 5px; width: 42px; height: 40px; padding: 0 11px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 12px;
}
.burger span { display: block; height: 1.6px; border-radius: 2px; background: var(--text); }

.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(4, 6, 12, .6); opacity: 0; transition: opacity .25s ease; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); overflow-y: auto;
  display: flex; flex-direction: column; gap: 28px; padding: 16px 22px 28px;
  background: var(--bg-alt); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .28s cubic-bezier(.2, .7, .2, 1);
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.drawer__close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.drawer__links { list-style: none; margin: 0; padding: 0; }
.drawer__links a {
  display: flex; justify-content: space-between; align-items: center; padding: 15px 2px;
  border-bottom: 1px solid var(--line); font: 600 1.3rem/1.2 var(--display); letter-spacing: -.02em; text-decoration: none;
}
.drawer__links a::after { content: "→"; font: 400 1rem var(--sans); color: var(--muted); }
.drawer__links a[aria-current] { color: var(--accent-text); }
.drawer__foot { margin-top: auto; display: grid; gap: 12px; }
.drawer__theme {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; cursor: pointer;
  border-radius: 999px; background: transparent; color: var(--text); border: 1px solid var(--line-strong); font: 600 .95rem/1 var(--sans);
}
.drawer__theme .theme-toggle__icon { grid-area: auto; transform: none !important; opacity: 1 !important; color: var(--accent-text); }
.drawer__theme .theme-toggle__icon--moon { display: none; }
:root[data-theme="light"] .drawer__theme .theme-toggle__icon--moon { display: grid; }
:root[data-theme="light"] .drawer__theme .theme-toggle__icon--sun { display: none; }

/* =========================================================
   Accueil
   ========================================================= */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 40px 0 72px; }
.hero__bg {
  position: absolute; inset: -20% -10% 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 42% at 78% 30%, var(--glow-1), transparent 70%),
    radial-gradient(36% 34% at 12% 8%, var(--glow-2), transparent 70%),
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 40%, transparent 100%);
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 40%, transparent 100%);
}
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero__lead { font-size: clamp(1.05rem, 2.6vw, 1.22rem); color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.hero__actions .btn { flex: 1 1 auto; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 26px 0 0; padding: 0; font-size: .92rem; color: var(--muted); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { color: var(--mint-text); }
/* Téléphones étroits : la bulle ne montre que la mascotte (le libellé reste lu par les
   lecteurs d'écran) pour ne pas recouvrir le contenu */
@media (max-width: 399px) {
  .chat__launcher { padding: 0 8px; }
  .chat__launcher-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* Mobile : mentions empilées à gauche, hors de la zone de la bulle d'Arc (coin bas droit) */
@media (max-width: 559px) {
  .hero__facts { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero__facts li { white-space: nowrap; }
}

/* ---------- Titre en machine à écrire (accueil, première visite ; js/site.js) ----------
   .tw est posé dans <head> : le titre garde sa place mais reste invisible jusqu'au début de
   l'effet. Secours : si le JavaScript ne démarre pas, il réapparaît seul après 2,5 s. */
.tw [data-typewriter] { visibility: hidden; animation: tw-secours 0s 2.5s forwards; }
@keyframes tw-secours { to { visibility: visible; } }
.tw-c { visibility: hidden; }
.tw-c.is-on { visibility: visible; }
.tw-c.is-caret { position: relative; }
.tw-c.is-caret::after {
  content: ""; position: absolute; visibility: visible;
  left: calc(100% + .05em); top: .1em; bottom: .02em; width: .065em; border-radius: 2px;
  background: var(--mint); box-shadow: 0 0 12px color-mix(in srgb, var(--mint) 60%, transparent);
  animation: tw-clignote 1s steps(1) infinite; transition: opacity .3s ease;
}
[data-typewriter].is-typing .tw-c.is-caret::after { animation: none; } /* fixe pendant la frappe */
[data-typewriter].is-done .tw-c.is-caret::after { animation: tw-clignote 1s steps(1) infinite; }
[data-typewriter].is-gone .tw-c.is-caret::after { animation: none; opacity: 0; }
@keyframes tw-clignote { 50% { opacity: 0; } }

/* ---------- Hero et bandeau vidéo : toujours sombres (texte clair lisible dans les deux thèmes) ---------- */
.hero--video, .band, .about-hero {
  color-scheme: dark;
  --bg: #0a0e1a; --surface: #121a2e; --surface-2: #18213a;
  --text: #eef1f9; --muted: #b7c0d8; --line: rgba(233, 237, 247, .1); --line-strong: rgba(233, 237, 247, .22);
  --accent: #6e8bff; --accent-hover: #8aa2ff; --on-accent: #0a0e1a; --accent-text: #9db0ff;
  --mint: #5fe3c8; --mint-text: #5fe3c8; --glow-2: rgba(95, 227, 200, .12);
  background: #0a0e1a; color: var(--text);
}
.hero--video { padding-top: 0; }
.hero__media { position: absolute; inset: 0 0 auto; height: 100svh; z-index: -1; overflow: hidden; }
.hero__video, .band__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
}
/* Mobile : cadré sur la serveuse et sa tablette (bord gauche de l'image) */
.hero__video { object-position: 6% 30%; }
.hero__video::-webkit-media-controls, .band__video::-webkit-media-controls,
.hero__video::-webkit-media-controls-start-playback-button, .band__video::-webkit-media-controls-start-playback-button,
.hero__video::-webkit-media-controls-overlay-play-button, .band__video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }
/* Voile bleu nuit : léger en haut (on voit la scène), dense sous le titre et les boutons */
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 14, 26, .55) 0%, rgba(10, 14, 26, .25) 16%, rgba(10, 14, 26, .35) 30%,
    rgba(10, 14, 26, .86) 44%, rgba(10, 14, 26, .97) 56%, #0a0e1a 100%);
}
.hero--video .hero__grid { padding-top: 34svh; }
.hero--video h1, .hero--video .hero__lead { text-shadow: 0 2px 24px rgba(4, 7, 15, .6); }
.hero--video .hero__lead { color: #c9d0e3; }

/* Bouton son du hero (présent seulement si la vidéo a une piste audio) */
.hero__sound {
  position: absolute; z-index: 2; top: calc(34svh - 60px); right: var(--gutter);
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px; padding: 0 16px 0 13px; border-radius: 999px;
  font: 600 .86rem/1 var(--sans); letter-spacing: .01em; color: var(--text); cursor: pointer;
  background: rgba(10, 14, 26, .55); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .7);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.hero__sound[hidden] { display: none; }
.hero__sound:hover { background: rgba(18, 26, 46, .8); border-color: var(--accent); }
.hero__sound:active { transform: translateY(1px); }
.hero__sound:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 999px; }
.hero__sound-icon { flex: none; }
.hero__sound-icon--on { display: none; color: var(--mint); }
.hero__sound.is-on .hero__sound-icon--on { display: block; }
.hero__sound.is-on .hero__sound-icon--off { display: none; }
.hero__sound.is-on { border-color: color-mix(in srgb, var(--mint) 45%, transparent); }
/* Mobile et tablette : à droite, en bas de la partie dégagée de la vidéo (au-dessus du titre).
   Grand écran : sous le téléphone, aligné sur son bord gauche (loin de la bulle d'Arc). */
@media (min-width: 920px) {
  .hero__visual:has(.hero__sound:not([hidden])) { flex-direction: column; align-items: center; gap: 18px; }
  .hero__sound { position: static; align-self: flex-start; margin-left: calc((100% - min(100%, 360px)) / 2); }
}

/* Bandeau « Parlons de votre commerce » (vidéo chargée à l'approche de l'écran) */
.band { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(78svh, 620px); padding: var(--space) 0; text-align: center; }
.band__video { z-index: -2; object-position: 50% 50%; }
.band__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 80% at 50% 50%, rgba(10, 14, 26, .7), rgba(10, 14, 26, .86) 70%, rgba(10, 14, 26, .94)),
    linear-gradient(180deg, #0a0e1a 0%, rgba(10, 14, 26, 0) 18%, rgba(10, 14, 26, 0) 82%, #0a0e1a 100%);
}
.band__inner { max-width: 720px; display: flex; flex-direction: column; align-items: center; }
.band h2 { font-size: clamp(2rem, 7vw, 3.4rem); text-shadow: 0 2px 24px rgba(4, 7, 15, .6); }
.band p:not(.eyebrow) { color: #c9d0e3; font-size: 1.1rem; max-width: 520px; margin-bottom: 28px; }

/* Téléphone de démonstration (HTML pur, aucune image) */
.hero__visual { display: flex; justify-content: center; }
.phone {
  position: relative; width: min(100%, 360px); padding: 16px; border-radius: 30px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), 0 0 0 8px color-mix(in srgb, var(--surface) 55%, transparent);
}
.phone::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--accent), transparent 40%, transparent 70%, var(--mint)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; pointer-events: none; }
.phone__head { display: flex; align-items: center; gap: 10px; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); }
.phone__head strong { display: block; font: 600 .98rem/1.1 var(--display); }
.phone__head span { font-size: .78rem; color: var(--muted); }
.phone__log { display: flex; flex-direction: column; gap: 10px; padding: 16px 2px 6px; }
.bubble { margin: 0; max-width: 84%; padding: 10px 13px; border-radius: 16px; font-size: .9rem; line-height: 1.45; }
.bubble--user { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 5px; }
.bubble--bot { align-self: flex-start; background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.bubble--recap { align-self: stretch; max-width: none; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: color-mix(in srgb, var(--mint) 12%, transparent); border: 1px solid color-mix(in srgb, var(--mint) 45%, transparent); color: var(--text); font-weight: 600; font-size: .84rem; }
.phone__caption { margin: 10px 0 0; text-align: center; font-size: .74rem; color: var(--muted); }

/* Sections */
.section { padding: var(--space) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section--first { padding-top: clamp(40px, 6vw, 64px); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-cta { margin: 36px 0 0; }
.split { display: grid; gap: 40px; align-items: center; }

/* Cartes */
.cards { display: grid; gap: 16px; }
.card {
  position: relative; padding: 26px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover { border-color: var(--line-strong); }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px;
  color: var(--accent-text); background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.card--soft { background: transparent; border-style: dashed; }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: none; }
.step { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step__num { display: inline-block; margin-bottom: 16px; font: 600 .85rem/1 var(--display); color: var(--mint-text); letter-spacing: .06em; }
.step h3 { margin-bottom: .4em; }
.step p { margin: 0; color: var(--muted); }

/* Navigateur (aperçu de la démo) */
.browser-link { display: block; text-decoration: none; color: inherit; border-radius: var(--radius); }
.browser {
  margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow); transition: transform .35s ease, border-color .35s ease;
}
.browser-link:hover .browser { transform: translateY(-4px); border-color: var(--accent); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.browser__bar span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: .74rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.browser__placeholder { aspect-ratio: 16 / 10; display: grid; place-items: center; font: 600 1.6rem var(--display); color: var(--muted); background: var(--bg-alt); }

/* Tarifs */
.prices { display: grid; gap: 16px; }
.price-card {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.price-card--accent { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 9%, var(--surface)), var(--surface) 60%); }
.price-card header p { margin: 0; }
.price-card__name { font: 600 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.price-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 14px 0 10px !important; }
.price-card__price strong { font: 600 clamp(2.6rem, 9vw, 3.3rem)/1 var(--display); letter-spacing: -.04em; }
.price-card__price > span { color: var(--muted); font-size: .95rem; }
.prix { font: inherit; color: inherit; letter-spacing: inherit; white-space: nowrap; }
.price-card__pitch { color: var(--muted); }
.checks, .minus { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li, .minus li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; margin-top: 3px; color: var(--mint-text); }
.minus svg { flex: none; margin-top: 3px; color: var(--muted); }
.minus li { color: var(--muted); }
.price-card .checks { padding-top: 20px; border-top: 1px solid var(--line); }
/* Option payante (paiement en ligne, acompte) : mise en avant par un liseré menthe */
.price-card--option { border-color: color-mix(in srgb, var(--mint) 50%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--mint) 8%, var(--surface)), var(--surface) 60%); }
.badge--option { position: absolute; top: -13px; left: 22px; margin: 0 !important; color: var(--on-accent); background: var(--mint); border-color: var(--mint); }
.price-card__from { flex-basis: 100%; color: var(--muted); font-size: .9rem; }
.price-card__quote { font-size: clamp(2rem, 7vw, 2.5rem) !important; }
.price-card__cta { margin-top: auto; align-self: stretch; }
.prices--detail .price-card .checks { margin-bottom: 6px; }
/* Bandeau « appel de 15 min » sous les formules */
.call-band { display: grid; gap: 16px; align-items: center; margin-top: 20px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.call-band p { margin: 0; color: var(--muted); }
.call-band strong { color: var(--text); }
.call-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.call-band__actions .btn { flex: 1 1 auto; }
.contact__direct .btn svg { flex: none; }

/* Fenêtre de devis (<dialog>) */
.modal { width: min(100% - 24px, 620px); max-height: min(92svh, 860px); margin: auto; padding: 0; border: 0; border-radius: calc(var(--radius) + 6px); background: transparent; color: var(--text); overflow: visible; }
.modal::backdrop { background: rgba(5, 8, 16, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.form--modal { max-height: min(92svh, 860px); overflow-y: auto; overscroll-behavior: contain; box-shadow: var(--shadow); border-color: var(--line-strong); }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal__head .eyebrow { margin-bottom: .6em; }
.modal__head h2 { margin: 0; }
.modal__close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -6px -6px 0 0; border-radius: 50%; color: var(--muted); background: transparent; border: 1px solid var(--line-strong); cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.modal__close:hover { color: var(--text); border-color: var(--accent); }
.modal__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.form .modal__actions .btn { justify-self: auto; }
html:has(.modal[open]) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .modal[open] { animation: none; } }

.not-included { margin-top: 20px; padding: 26px 24px; border-radius: var(--radius); border: 1px dashed var(--line-strong); }
.not-included h2 { font-size: 1.1rem; margin-bottom: 16px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq__item { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer;
  list-style: none; font: 600 1.02rem/1.35 var(--display); letter-spacing: -.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); font: 400 1.1rem/1 var(--sans); color: var(--accent-text); transition: transform .25s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

/* Bandeau d'appel final */
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate; padding: clamp(36px, 7vw, 72px) clamp(22px, 6vw, 64px);
  border-radius: calc(var(--radius) + 8px); background: var(--surface); border: 1px solid var(--line-strong);
}
.cta-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 100% 0%, var(--glow-1), transparent 70%), radial-gradient(40% 70% at 0% 100%, var(--glow-2), transparent 70%); }
.cta-panel h2 { max-width: 640px; }
.cta-panel p { max-width: 560px; color: var(--muted); font-size: 1.05rem; margin-bottom: 28px; }

/* En-tête des pages intérieures */
.page-head { position: relative; isolation: isolate; padding: clamp(48px, 9vw, 104px) 0 clamp(8px, 2vw, 16px); }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 85% 0%, var(--glow-1), transparent 70%); pointer-events: none; }
.page-head h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); max-width: 860px; }
.page-head__lead { max-width: 640px; color: var(--muted); font-size: 1.1rem; margin: 0; }

/* Démos */
.demo-feature { display: grid; gap: 28px; align-items: center; margin-bottom: 20px; padding: 18px; border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid var(--line); }
.demo-feature__text { padding: 4px 6px 10px; }
.demo-feature__sector { color: var(--muted); margin-top: -.4em; }
.badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px; font: 600 .74rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-strong); }
.badge--live { color: var(--mint-text); border-color: color-mix(in srgb, var(--mint) 45%, transparent); }
.badge--live span { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--glow-2); }
.card--soon { border-style: dashed; }

/* Réalisations */
/* Réalisations : captures dans un cadre de navigateur + version mobile qui chevauche */
.showcases { display: grid; gap: 28px; }
@media (min-width: 760px) { .showcases { grid-template-columns: 1fr 1fr; } .showcases > :first-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .showcases { grid-template-columns: repeat(3, 1fr); } .showcases > :first-child { grid-column: auto; } }
.showcases > .reveal { display: flex; }
.showcase {
  position: relative; flex: 1; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease, border-color .45s ease;
}
.showcase__stage {
  position: relative; padding: 26px 26px 0; isolation: isolate;
  background: radial-gradient(70% 80% at 30% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
              linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent);
}
.browser-frame {
  margin-right: 13%; border-radius: 12px 12px 0 0; overflow: hidden; background: #0d1222;
  border: 1px solid var(--line-strong); border-bottom: 0;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .75);
}
.browser-frame__bar { display: flex; align-items: center; gap: 12px; height: 28px; padding: 0 12px; background: #161d33; border-bottom: 1px solid rgba(233, 237, 247, .08); }
.browser-frame__dots { display: inline-flex; gap: 5px; flex: none; }
.browser-frame__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(233, 237, 247, .22); }
.browser-frame__dots i:first-child { background: #ff6b6b; } .browser-frame__dots i:nth-child(2) { background: #ffc857; } .browser-frame__dots i:last-child { background: #5fe3c8; }
.browser-frame__url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 10px; border-radius: 999px; background: rgba(233, 237, 247, .07); color: #b7c0d8; font: 500 .7rem/1.2 var(--sans); text-align: center; }
.browser-frame__screen, .mini-phone__screen { position: relative; overflow: hidden; container-type: inline-size; background: #0d1222; }
.browser-frame__screen { aspect-ratio: 16 / 10; }
.showcase__shot {
  display: block; width: 100%; height: auto; max-width: none;
  transition: transform 1.1s cubic-bezier(.45, .05, .25, 1);
}
.mini-phone {
  position: absolute; right: 18px; bottom: -14px; z-index: 1; width: 27%;
  padding: 5px; border-radius: 22px; background: #0a0e1a; border: 1px solid rgba(233, 237, 247, .2);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .4);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.mini-phone__screen { aspect-ratio: 9 / 19.5; border-radius: 17px; }
.showcase__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 26px 26px 26px; border-top: 1px solid var(--line); background: var(--surface); }
.showcase__body p { color: var(--muted); }
.showcase__link { margin-top: auto; }
.showcase__link::after { content: ""; position: absolute; inset: 0; z-index: 3; } /* toute la carte est cliquable */
.showcase__link:focus-visible { outline: none; }
.showcase:has(.showcase__link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.tag { display: inline-flex; align-items: center; margin-bottom: 14px; padding: 5px 11px; border-radius: 999px; font: 600 .72rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); background: color-mix(in srgb, var(--accent) 13%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent); }
@media (min-width: 760px) and (max-width: 1099px) {
  .showcase--featured { display: grid; grid-template-columns: 1.35fr 1fr; }
  .showcase--featured .showcase__stage { padding-bottom: 26px; }
  .showcase--featured .browser-frame { border-radius: 12px; border-bottom: 1px solid var(--line-strong); }
  .showcase--featured .mini-phone { bottom: 10px; }
  .showcase--featured .showcase__body { border-top: 0; border-left: 1px solid var(--line); justify-content: center; }
}
/* Survol, focus clavier, ou carte bien visible sur écran tactile (.is-playing) : la carte se
   soulève avec un halo violet et les captures défilent jusqu'en bas de la page */
@media (prefers-reduced-motion: no-preference) {
  .showcase:is(:hover, :focus-within, .is-playing) {
    transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 55%, transparent);
    box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .85), 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent), 0 18px 70px -14px color-mix(in srgb, var(--accent) 55%, transparent);
  }
  .showcase:is(:hover, :focus-within, .is-playing) .showcase__shot { transition-duration: var(--duree, 6s); transition-timing-function: cubic-bezier(.37, 0, .4, 1); }
  .showcase:is(:hover, :focus-within, .is-playing) .browser-frame__screen .showcase__shot { transform: translateY(calc(-100% + 62.5cqi)); }
  .showcase:is(:hover, :focus-within, .is-playing) .mini-phone__screen .showcase__shot { transform: translateY(calc(-100% + 216.67cqi)); }
  .showcase:is(:hover, :focus-within, .is-playing) .mini-phone { transform: translateY(-6px); }
}

/* À propos */
.about { display: grid; gap: 36px; }
.about__text p { font-size: 1.08rem; }
.about__text p:first-child { font: 500 clamp(1.2rem, 3.4vw, 1.45rem)/1.5 var(--display); letter-spacing: -.01em; color: var(--text); }
.about__tags { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.about__tags li { padding: 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.about__tags strong { display: block; font: 600 1rem/1.25 var(--display); }
.about__tags span { font-size: .85rem; color: var(--muted); }

/* Contact et formulaire */
.contact { display: grid; gap: 28px; align-items: start; }
.form { display: grid; gap: 18px; padding: clamp(22px, 5vw, 36px); border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); }
.form__row { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; margin: 0; }
.field label { font-weight: 600; font-size: .92rem; }
.field label span { color: var(--accent-text); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm);
  font: 16px/1.4 var(--sans); color: var(--text); background: var(--bg); border: 1px solid var(--line-strong);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; padding-right: 42px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field__help { font-size: .82rem; color: var(--muted); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { margin: 0; font-size: .85rem; color: var(--muted); }
.form__legal a { color: var(--accent-text); }
.form__error { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--err-bg); color: var(--err-text); border: 1px solid var(--err-border); }
.form .btn { justify-self: start; }
.contact__aside { display: grid; gap: 14px; }
.contact__direct { display: grid; gap: 10px; }
.contact__direct .btn { justify-content: flex-start; overflow-wrap: anywhere; }
.mini-steps { margin: 0; padding-left: 1.2em; color: var(--muted); display: grid; gap: 8px; }

/* Pages légales */
.legal { max-width: 820px; }
.legal__block { padding: 26px 0; border-top: 1px solid var(--line); }
.legal__block h2 { font-size: 1.3rem; }
.legal__block ul { margin: 0 0 1em; padding-left: 1.2em; }
.legal__block li { margin-bottom: .45em; }
.legal__block p, .legal__block li { color: var(--muted); }
.legal__dl { display: grid; gap: 2px 24px; margin: 0; }
.legal__dl dt { font-weight: 600; font-size: .85rem; color: var(--text); }
.legal__dl dd { margin: 0 0 12px; color: var(--muted); }
.legal a { color: var(--accent-text); }
.legal__date { color: var(--muted); font-size: .9rem; }
.todo { padding: 1px 8px; border-radius: 6px; background: var(--todo-bg); color: var(--todo-text); font-weight: 600; }

/* =========================================================
   Pied de page
   ========================================================= */
.footer { padding: 64px 0 112px; background: var(--bg-alt); border-top: 1px solid var(--line); font-size: .93rem; color: var(--muted); }
.footer__grid { display: grid; gap: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer__brand .brand { margin-bottom: 18px; }
.footer__brand p { max-width: 340px; margin-bottom: .5em; }
.footer__zone { font-size: .85rem; }
.footer__title { font: 600 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover, .footer a[aria-current] { color: var(--text); }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.footer__bottom { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; font-size: .85rem; }
.footer__bottom p { margin: 0; }
.footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* Apparitions au défilement (classe ajoutée par le JS uniquement) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Assistant Arc
   ========================================================= */
.chat { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; }
.chat__launcher {
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 8px; cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); border-radius: 999px;
  background: var(--surface-2); color: var(--text); font: 600 .96rem/1 var(--sans);
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .7), 0 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent);
  transition: transform .2s ease;
}
.chat__launcher:hover { transform: translateY(-2px); }
.chat.is-open .chat__launcher { display: none; }
.chat__panel {
  position: fixed; inset: 0; z-index: 61; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text); animation: chat-in .25s ease;
}
@keyframes chat-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; padding-top: calc(14px + env(safe-area-inset-top)); background: var(--surface); border-bottom: 1px solid var(--line); }
.chat__id { flex: 1; min-width: 0; }
.chat__id h2 { font-size: 1.1rem; margin: 0; letter-spacing: -.01em; }
.chat__id p { margin: 0; font-size: .8rem; color: var(--muted); }
.online-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--glow-2); vertical-align: 1px; }
.chat__tool, .chat__close {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
}
.chat__close { font-size: 1.5rem; line-height: 1; }
.chat__tool:hover, .chat__close:hover { border-color: var(--accent); }
.chat__tool[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.chat__voice .chat__voice-on { display: none; }
.chat__voice[aria-pressed="true"] .chat__voice-on { display: inline; }
.chat__voice[aria-pressed="true"] .chat__voice-off { display: none; }
.chat__log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: .95rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg--bot { position: relative; align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg--user { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 5px; }
.msg--error { align-self: flex-start; background: var(--err-bg); color: var(--err-text); border: 1px solid var(--err-border); }
.msg--bot a { color: var(--accent-text); font-weight: 600; text-underline-offset: 2px; }
.msg__replay {
  display: none; vertical-align: -3px; margin-left: 8px; width: 26px; height: 26px; padding: 0;
  place-items: center; border-radius: 50%; cursor: pointer; background: transparent; color: var(--accent-text); border: 1px solid var(--line-strong);
}
body.voix-active .msg__replay { display: inline-grid; }
.msg__replay:hover, .msg__replay:focus-visible { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.chat__thinking { display: flex; align-items: center; gap: 12px; padding: 4px 16px 10px; color: var(--muted); font-size: .9rem; }
.chat__dots { display: inline-flex; gap: 4px; }
.chat__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: arc-dot 1s ease-in-out infinite; }
.chat__dots i:nth-child(2) { animation-delay: .15s; }
.chat__dots i:nth-child(3) { animation-delay: .3s; }
.chat__suggestions { display: flex; gap: 8px; padding: 0 16px 10px; overflow-x: auto; min-width: 0; }
.chat__suggestions button { flex: none; padding: 9px 14px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: 500 .86rem/1.2 var(--sans); }
.chat__suggestions button:hover { border-color: var(--accent); }
.chat__form { position: relative; display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px 22px; border-top: 1px solid var(--line); background: var(--surface); }
.chat__form textarea { flex: 1; min-width: 0; resize: none; max-height: 120px; min-height: 46px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-strong); font: 16px/1.4 var(--sans); color: var(--text); background: var(--bg); }
.chat__form textarea:focus { outline: none; border-color: var(--accent); }
.chat__send, .chat__mic { width: 46px; height: 46px; flex: none; border-radius: 14px; cursor: pointer; display: grid; place-items: center; }
.chat__send { border: 0; background: var(--accent); color: var(--on-accent); }
.chat__send:disabled { opacity: .5; cursor: wait; }
.chat__mic { background: var(--bg); color: var(--accent-text); border: 1px solid var(--line-strong); }
.chat__mic:hover { border-color: var(--accent); }
.chat__mic.is-on { background: var(--mint); color: #062a22; border-color: var(--mint); animation: arc-ring-btn 1.3s ease-out infinite; }
@keyframes arc-ring-btn { 0% { box-shadow: 0 0 0 0 rgba(95, 227, 200, .45); } 100% { box-shadow: 0 0 0 10px rgba(95, 227, 200, 0); } }
.chat__count { position: absolute; right: 16px; bottom: 4px; font-size: .7rem; color: var(--muted); }
.chat__count.is-max { color: var(--err-text); }
.chat__legal { margin: 0; padding: 6px 16px calc(10px + env(safe-area-inset-bottom)); font-size: .74rem; color: var(--muted); background: var(--surface); text-align: center; }
.chat__legal a { color: var(--accent-text); }
.chat__hello {
  position: absolute; right: 0; bottom: calc(100% + 12px); width: max-content; max-width: min(270px, calc(100vw - 32px));
  padding: 12px 38px 12px 14px; border-radius: 16px 16px 5px 16px; background: var(--surface-2); color: var(--text);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow); font-size: .93rem; line-height: 1.45;
  animation: hello-in .35s cubic-bezier(.2, .8, .25, 1.15);
}
.chat__hello p { margin: 0; cursor: pointer; }
.chat__hello-close { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; border: 0; background: transparent; color: var(--muted); font-size: 1.15rem; line-height: 1; }
.chat__hello-close:hover { color: var(--text); background: var(--surface); }
.chat.is-open .chat__hello { display: none; }
@keyframes hello-in { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }

/* Mascotte : états pilotés par body[data-arc] (idle, wake, listen, think, talk, joy) */
.arc { --arc-size: 44px; position: relative; display: inline-grid; width: var(--arc-size); height: var(--arc-size); flex: none; }
.arc__svg, .arc__img { grid-area: 1 / 1; width: 100%; height: 100%; display: block; }
.arc__img { object-fit: cover; border-radius: 50%; }
.arc::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid transparent; opacity: 0; transition: opacity .25s ease; }
.arc__svg { animation: arc-float 4.2s ease-in-out infinite; transition: transform .12s ease; }
.arc__eyes, .arc__happy, .arc__smile, .arc__talk, .arc__brows { transform-box: fill-box; transform-origin: center; transition: opacity .2s ease, transform .25s ease; }
.arc__eyes { animation: arc-blink 5.5s infinite; }
.arc__happy, .arc__talk { opacity: 0; }
.arc--launcher { --arc-size: 40px; }
.arc--head { --arc-size: 46px; }
.arc--mini { --arc-size: 38px; }
body[data-arc="wake"] .arc--head .arc__svg { animation: arc-wake .9s cubic-bezier(.2, .8, .25, 1.25); }
body[data-arc="listen"] .arc::after { opacity: 1; border-color: var(--mint); animation: arc-ring 1.3s ease-out infinite; }
body[data-arc="listen"] .arc__brows { transform: translateY(-1.5px); }
body[data-arc="think"] .arc::after { opacity: 1; border-top-color: var(--accent); border-right-color: var(--mint); animation: arc-spin 1.1s linear infinite; }
body[data-arc="think"] .arc__eyes { animation: none; transform: translate(1.5px, -1.5px); }
body[data-arc="talk"] .arc__smile { opacity: 0; }
body[data-arc="talk"] .arc__talk { opacity: 1; animation: arc-talk .32s ease-in-out infinite alternate; }
body[data-arc="talk"] .arc::after { opacity: .9; border-color: color-mix(in srgb, var(--accent) 80%, transparent); }
body.arc-beat .arc__svg, body.arc-beat .arc::after { transform: scale(1.06); }
body[data-arc="joy"] .arc__eyes { opacity: 0; animation: none; }
body[data-arc="joy"] .arc__happy { opacity: 1; }
body[data-arc="joy"] .arc__smile { transform: scale(1.25, 1.35); }
body[data-arc="joy"] .arc__svg { animation: arc-hop .55s ease-in-out 3; }
@keyframes arc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes arc-blink { 0%, 93%, 100% { transform: scaleY(1); } 95.5% { transform: scaleY(.1); } }
@keyframes arc-wake { 0% { transform: scale(.7) rotate(-8deg); } 60% { transform: scale(1.1) rotate(3deg); } 100% { transform: none; } }
@keyframes arc-ring { 0% { transform: scale(.92); opacity: .95; } 100% { transform: scale(1.22); opacity: 0; } }
@keyframes arc-spin { to { transform: rotate(360deg); } }
@keyframes arc-talk { from { transform: scaleY(.35); } to { transform: scaleY(1.1); } }
@keyframes arc-hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-6px) rotate(-4deg); } 70% { transform: translateY(0) rotate(3deg); } }
@keyframes arc-dot { 0%, 100% { transform: translateY(0); opacity: .45; } 50% { transform: translateY(-3px); opacity: 1; } }

/* =========================================================
   Écrans plus larges
   ========================================================= */
@media (max-width: 359px) {
  :root { --gutter: 14px; }
  .brand__name { font-size: .98rem; }
  .chat__tool, .chat__close { width: 36px; height: 36px; }
  .chat__send, .chat__mic { width: 42px; height: 42px; }
}
@media (min-width: 560px) {
  :root { --gutter: 24px; }
  .hero__actions .btn { flex: 0 0 auto; }
  .topbar__btn { display: inline-flex; }
  .cards--2, .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .about__tags { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 640px) {
  .chat__panel {
    position: absolute; inset: auto 0 70px auto; width: 392px; height: min(640px, calc(100vh - 120px));
    border-radius: 20px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75);
  }
  .chat__head { padding-top: 14px; }
  .chat__legal { padding-bottom: 10px; }
  .chat.is-open .chat__launcher { display: flex; }
}
@media (min-width: 920px) {
  .nav { display: flex; }
  .burger { display: none; }
  .hero { padding: 72px 0 112px; }
  /* Ordinateur : vidéo sur toute la hauteur du hero, voile dense à gauche (titre, boutons) */
  .hero--video { padding: 0; min-height: min(100svh, 920px); display: flex; align-items: center; }
  .hero__media { inset: 0; height: auto; }
  /* Retournée : la serveuse passe à droite, hors du voile dense qui porte le titre */
  .hero__video { object-position: 50% 40%; transform: scaleX(-1); }
  .hero__veil {
    background:
      linear-gradient(90deg, rgba(10, 14, 26, .96) 0%, rgba(10, 14, 26, .9) 34%, rgba(10, 14, 26, .62) 56%, rgba(10, 14, 26, .5) 100%),
      linear-gradient(180deg, rgba(10, 14, 26, .5) 0%, rgba(10, 14, 26, 0) 20%, rgba(10, 14, 26, 0) 75%, #0a0e1a 100%);
  }
  .hero--video .hero__grid { padding: 72px var(--gutter) 112px; }
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; }
  .prices--detail .price-card { padding: 36px 34px; }
  .prices--with-option { grid-template-columns: repeat(3, 1fr); }
  .prices--with-option .price-card { padding: 34px 28px; }
  .call-band { grid-template-columns: 1fr auto; padding: 24px 30px; }
  .demo-feature { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; padding: 24px; }
  .contact { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 32px; }
  .about { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 64px; }
  .about__tags { grid-template-columns: 1fr; }
  .legal__dl { grid-template-columns: 240px 1fr; }
  .footer { padding-bottom: 64px; }
  .footer__bottom { padding-right: 200px; }
  .card:hover { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .arc__svg, .arc__eyes, .arc::after, .arc__talk, .chat__dots i, .chat__mic.is-on, .chat__hello { animation: none !important; }
  body.arc-beat .arc__svg, body.arc-beat .arc::after { transform: none; }
}

/* À propos : parcours */
.about__subtitle { margin-top: 2em; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: baseline; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.timeline__year { font: 600 .9rem/1 var(--display); color: var(--mint-text); }

/* =========================================================
   À propos
   ========================================================= */
/* Hero personnel : globe des attaques en fond (vidéo sur grand écran, image fixe sinon),
   voile nuit violet pour la lisibilité. Toujours sombre (voir .hero--video plus haut). */
.about-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 10vw, 120px) 0 28px; }
.about-hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #070a14; }
.about-hero__still, .about-hero__video { position: absolute; top: 0; height: 100%; object-fit: cover; pointer-events: none; }
.about-hero__still { left: 0; width: 100%; object-position: 62% 50%; opacity: .75; }
.about-hero__video { display: none; }
.about-hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(124, 92, 255, .18), transparent 70%),
    linear-gradient(180deg, rgba(10, 14, 26, .55) 0%, rgba(10, 14, 26, .78) 55%, #0a0e1a 100%),
    linear-gradient(90deg, rgba(14, 10, 38, .55), rgba(14, 10, 38, .2));
}
@media (min-width: 760px) {
  .about-hero__still { left: auto; right: -14%; width: 114%; object-position: 50% 50%; }
  .about-hero__video { display: block; right: -14%; width: 114%; opacity: .9; }
  .about-hero__veil {
    background:
      radial-gradient(45% 60% at 72% 45%, rgba(124, 92, 255, .16), transparent 70%),
      linear-gradient(90deg, rgba(10, 14, 26, .94) 0%, rgba(12, 12, 34, .82) 38%, rgba(20, 14, 52, .42) 70%, rgba(10, 14, 26, .55) 100%),
      linear-gradient(180deg, transparent 70%, #0a0e1a 100%);
  }
}
.about-hero__grid { display: grid; gap: 40px; align-items: center; }
.about-hero__text { max-width: 720px; }
.about-hero h1 { font-size: clamp(2.3rem, 6.4vw, 4.3rem); line-height: 1.04; max-width: 13ch; margin-bottom: .4em; text-shadow: 0 2px 30px rgba(4, 7, 15, .6); }
.about-hero__lead { font-size: clamp(1.08rem, 2.6vw, 1.3rem); color: #d5dbee; max-width: 34em; margin-bottom: 14px; }
.about-hero__who { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.about-hero__text .portrait__badge { margin-bottom: 30px; }
.about-hero__who strong { color: var(--text); }
.about-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.about-hero__credit { margin-top: clamp(40px, 7vw, 72px); font-size: .78rem; color: rgba(183, 192, 216, .7); }
.about-hero__credit a { color: inherit; }
.about-hero__portrait { display: grid; justify-items: center; gap: 16px; }
.portrait { width: clamp(180px, 24vw, 280px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; padding: 6px;
  background: conic-gradient(from 210deg, var(--accent), #a78bfa, var(--mint), var(--accent));
  box-shadow: 0 30px 70px -24px rgba(124, 92, 255, .55), 0 0 0 1px rgba(233, 237, 247, .08); }
.portrait__badge { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px; border-radius: 999px; font-size: .82rem; color: var(--text);
  background: rgba(10, 14, 26, .6); border: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.portrait__badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(95, 227, 200, .18); }
@media (max-width: 759px) { .about-hero__portrait { order: -1; justify-items: start; } .portrait { width: 128px; } }
@media (min-width: 920px) { .about-hero__grid--photo { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; } }

/* Histoire */
.about-story__grid { display: grid; gap: 24px; }
.about-story__text p { font-size: 1.1rem; color: var(--muted); }
.about-story__text p:first-child { font: 500 clamp(1.18rem, 3vw, 1.42rem)/1.55 var(--display); letter-spacing: -.01em; color: var(--text); }
@media (min-width: 920px) { .about-story__grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 64px; } }

/* Chiffres */
.section--tight { padding: 0; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { padding: 24px 20px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface)); }
.stat__value { display: block; margin-bottom: 6px; font: 600 clamp(2rem, 5vw, 2.8rem)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--text), var(--accent-text)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: .92rem; color: var(--muted); }
@media (min-width: 920px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* Projets */
.section-head__lead { color: var(--muted); }
.projects { display: grid; gap: 22px; }
@media (min-width: 680px) { .projects { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .projects { grid-template-columns: repeat(3, 1fr); } }
.projects > .reveal { display: flex; }
.project { flex: 1; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease, border-color .45s ease; }
.project__visual { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d1222; border-bottom: 1px solid var(--line); }
.project__visual img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.project__visual--icon, .project__visual--art { display: grid; place-items: center;
  background: radial-gradient(60% 80% at 50% 30%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%),
              linear-gradient(rgba(233, 237, 247, .05) 1px, transparent 1px) 0 0 / 28px 28px,
              linear-gradient(90deg, rgba(233, 237, 247, .05) 1px, transparent 1px) 0 0 / 28px 28px, #0d1222; }
.project__visual--icon img { width: 34%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 22%; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .8); }
.project__visual--panel { display: grid; justify-items: center; align-items: start; padding-top: 7%;
  background: radial-gradient(60% 80% at 50% 20%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%), #0d1222; }
.project__visual--panel img { width: 50%; height: auto; border-radius: 16px; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .85), 0 0 0 1px rgba(233, 237, 247, .1); transform-origin: top center; }
.project__visual--art { color: #b9a8ff; }
.project__visual--art svg { filter: drop-shadow(0 0 24px rgba(124, 92, 255, .55)); }
.project__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 22px 22px 24px; }
.project__body p { color: var(--muted); font-size: .97rem; }
.project__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; }
.project__tags li { padding: 4px 10px; border-radius: 999px; font: 600 .72rem/1.2 var(--sans); color: var(--accent-text);
  background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); }
.project__link { margin-top: auto; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
@media (prefers-reduced-motion: no-preference) {
  .project:hover, .project:focus-within { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 50%, transparent);
    box-shadow: 0 26px 50px -26px rgba(0, 0, 0, .8), 0 16px 60px -16px color-mix(in srgb, var(--accent) 50%, transparent); }
  .project:hover .project__visual img, .project:focus-within .project__visual img { transform: scale(1.04); }
}

/* Compétences */
.skills { display: grid; gap: 14px; }
@media (min-width: 680px) { .skills { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .skills { grid-template-columns: repeat(4, 1fr); } }
.skill { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.skill h3 { margin: 0 0 14px; font: 600 1.02rem/1.2 var(--display); color: var(--text); }
.skill ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.skill li { padding: 7px 12px; border-radius: 999px; font-size: .88rem; color: var(--text); background: var(--surface-2, rgba(233, 237, 247, .06)); border: 1px solid var(--line-strong); }

/* Parcours : frise verticale */
.journey { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; max-width: 760px; }
.journey::before { content: ""; position: absolute; left: 31px; top: 12px; bottom: 12px; width: 2px; border-radius: 2px;
  background: linear-gradient(var(--accent), #a78bfa 60%, var(--mint)); opacity: .55; }
.journey__step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; }
.journey__year { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 34px; border-radius: 999px;
  font: 600 .9rem/1 var(--display); color: var(--text); background: var(--bg); border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 0 0 4px var(--bg), 0 0 22px -4px color-mix(in srgb, var(--accent) 60%, transparent); }
.journey__year--none { width: 14px; height: 14px; margin-left: 25px; border-radius: 50%; background: var(--accent); }
.journey__text { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }

/* Citation de fin */
.quote { margin: 0 auto; max-width: 820px; text-align: center; padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 56px); border-radius: 24px; position: relative; overflow: hidden;
  background: radial-gradient(70% 90% at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), var(--surface); border: 1px solid var(--line); }
.quote blockquote { margin: 0 0 12px; }
.quote blockquote p { font: 500 clamp(1.4rem, 3.6vw, 2.1rem)/1.3 var(--display); letter-spacing: -.02em; color: var(--text); }
.quote blockquote p::before { content: "« "; color: var(--accent-text); } .quote blockquote p::after { content: " »"; color: var(--accent-text); }
.quote figcaption { color: var(--muted); margin-bottom: 28px; }

/* =========================================================
   International : langue, devise, moyens de paiement
   ========================================================= */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line-strong); }
.lang-switch__item { display: grid; place-items: center; min-width: 34px; height: 30px; padding: 0 8px; border-radius: 999px; font: 600 .76rem/1 var(--sans); letter-spacing: .06em; color: var(--muted); text-decoration: none; }
a.lang-switch__item:hover { color: var(--text); background: var(--surface); }
.lang-switch__item.is-current { color: var(--on-accent); background: var(--accent); }
.topbar .lang-switch { display: none; }
@media (min-width: 560px) { .topbar .lang-switch { display: inline-flex; } }
.lang-switch--drawer { align-self: center; }
.lang-switch--drawer .lang-switch__item { min-width: 52px; height: 40px; font-size: .86rem; }
.lang-switch--footer { padding: 2px; }
.lang-switch--footer .lang-switch__item { height: 26px; }

.currency { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 22px; }
.currency__label { font-weight: 600; font-size: .92rem; }
.currency__select { min-height: 44px; padding: 0 38px 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background-color: var(--surface); color: var(--text); font: 500 .95rem var(--sans); cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.currency__select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.currency__help { font-size: .84rem; color: var(--muted); }

.payment-note { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; padding: 14px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--text); font-weight: 500; }
.payment-note svg { flex: none; color: var(--mint-text); }

.lang-root { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: var(--bg); color: var(--text); }
.lang-root__box { text-align: center; display: grid; gap: 10px; justify-items: center; }
.lang-root__box .brand__name { font-size: 1.4rem; }
.lang-root__q { margin: 0; color: var(--muted); }
.lang-root__choices { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
