/* ================================================================
   lp.css — Landing Agent Aizora (index.html uniquement)
   Plan partagé avec le dashboard : fond bleu-blanc, encre noir d'ébène,
   indigo en primaire, une seule bande sombre (#integrations).
   Le widget (.aw-*) reproduit fidèlement le vrai widget Aizora
   (Agent.Aizora/app/widget/chat/page.tsx + public/widget.js).
   agence.html (style.css) et terms.html (agent.css) n'utilisent pas ce fichier.
   ================================================================ */

@font-face {
  font-family: 'Chillax';
  src: url('../fonts/Chillax-Variable.woff2') format('woff2'),
       url('../fonts/Chillax-Variable.woff') format('woff');
  font-weight: 200 700;
  font-display: swap;
}

/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
  --bg:      #F3F5FF;   /* bleu-blanc */
  --surface: #FFFFFF;
  --ink:     #0A0820;   /* noir d'ébène */
  --muted:   #5B5A72;
  --line:    #E3E5F2;
  --line-2:  #D2D5E8;
  --line-3:  #B8BCD6;

  --indigo:       #7130F0;
  --indigo-press: #5D21D6;
  --indigo-wash:  #ECE5FE;
  --cyan:   #72f9ff;
  --callie: #F5A7F5;

  --dark-panel: #14122B;
  --dark-line:  #2A2843;
  --dark-text:  #A9A8C0;
  --dark-ink:   #F3F5FF;

  --r-lg:  16px;   /* grands panneaux */
  --r:     12px;   /* cartes */
  --r-ctl: 10px;   /* contrôles */
  --pad:   24px;   /* padding unique des cartes */

  --f-text: 'Chillax', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-display: 'Syne', 'Chillax', system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 32px);
  --sec-y:  clamp(80px, 10.5vw, 144px);
  --elev: 0 1px 2px rgba(10, 8, 32, .04), 0 24px 48px rgba(10, 8, 32, .10);
  --gap-x:  clamp(32px, 5vw, 72px);
  --nav-h:  64px;
  --t: .16s ease;
}

/* ─── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--f-text); font-size: 16px; line-height: 1.6;
  color: var(--muted); background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
strong { font-weight: 600; color: var(--ink); }
::selection { background: var(--indigo); color: #fff; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; border-radius: 4px; }

.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 { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: var(--r-ctl); }
.skip:focus { top: 12px; }

/* Conteneur 1200 px, un seul bord gauche partagé */
.wrap { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--gap-x); align-items: start; }
.split--center { align-items: center; }

/* ─── BOUTONS & LIENS ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 16px; border: 1px solid transparent; border-radius: var(--r-ctl);
  font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background-color var(--t), border-color var(--t), color var(--t);
}
.btn-lg { height: 44px; padding: 0 16px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-press); }
.btn-line { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--line-3); }
.btn-line i { color: var(--muted); font-size: .85em; }
.btn-quiet { color: var(--muted); }
.btn-quiet:hover { color: var(--ink); }
.link { color: var(--indigo); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--t); }
.link:hover { color: var(--indigo-press); }

/* ─── NAV ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 245, 255, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color var(--t);
}
.nav.is-scrolled, .nav.is-open { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 32px; height: var(--nav-h); }
.nav-logo { display: block; margin-left: -10px; }
.nav-logo img { height: 58px; width: 116px; }
.nav-links { display: flex; gap: 28px; font-size: 15px; }
.nav-links a { color: var(--muted); white-space: nowrap; transition: color var(--t); }
/* Entre 961 et 1100 px, le sélecteur de langue tient sans faire passer un lien sur deux lignes */
@media (max-width: 1100px) {
  .nav-in, .nav-links { gap: 20px; }
  .nav-ctas { gap: 4px; }
}
.nav-links a:hover { color: var(--ink); }
.nav-ctas { display: flex; gap: 8px; margin-left: auto; }
.nav-burger {
  display: none; width: 44px; height: 44px; border-radius: var(--r-ctl);
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); transition: border-color var(--t);
}
.nav-burger:hover { border-color: var(--line-3); }
.mnav { display: flex; flex-direction: column; padding: 4px var(--gutter) 16px; border-top: 1px solid var(--line); }
.mnav[hidden] { display: none; }
.mnav a { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.mnav a:last-child { border-bottom: 0; }

/* ─── SECTIONS ────────────────────────────────────────────── */
.sec { padding-block: var(--sec-y); }
.sec--white { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-title {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(30px, 1.2rem + 2.1vw, 44px); line-height: 1.1; letter-spacing: -.03em;
  color: var(--ink); text-wrap: balance;
}
.sec-lead { margin-top: 14px; font-size: 18px; line-height: 1.55; max-width: 58ch; text-wrap: pretty; }

/* ─── HERO (titre centré, MacBook coupé sous l'écran) ─────── */
/* Sans JS ou mouvement réduit : flux normal, état final. Avec animation (html.anim) : scène épinglée,
   le défilement redresse le MacBook et déroule l'onboarding, puis le site du client prend le relais. */
.hero { position: relative; overflow-x: clip; }
.hero-track { position: relative; padding-top: clamp(40px, 8vh, 96px); }
.anim .hero { margin-top: calc(-1 * var(--nav-h)); } /* la scène passe sous la barre de navigation : même cadrage à 0 et une fois épinglée */
.anim .hero-track { padding-top: calc(var(--nav-h) + clamp(40px, 8vh, 96px)); }
.anim .hero-pin { height: 300vh; }
.anim .hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.anim .hero-track { will-change: transform; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-title {
  max-width: 13em;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(36px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -.035em;
  color: var(--ink); text-wrap: balance;
}
.hero-sub { margin-top: 24px; font-size: 20px; line-height: 1.45; color: var(--muted); text-wrap: balance; }
.nw { white-space: nowrap; }
.hero-trial { margin-top: 16px; font-size: 14px; color: var(--muted); }

.urlform {
  display: flex; align-items: center; gap: 4px; width: 100%; max-width: 520px; height: 52px; padding: 4px;
  margin-top: 20px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px;
  transition: border-color var(--t), box-shadow var(--t);
}
.urlform:hover { border-color: var(--line-3); }
.urlform:focus-within { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(113, 48, 240, .14); }
.urlform-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding-left: 12px; color: var(--muted); text-align: left; }
.urlform-field input { flex: 1; min-width: 0; height: 42px; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
.urlform-field input::placeholder { color: #9897AE; }
.urlform .btn { height: 42px; border-radius: 9px; }
.urlform--hero { max-width: 560px; height: 56px; margin-top: 40px; }
.urlform--hero .btn { height: 46px; }
.final-meta i { color: var(--indigo); margin-right: 6px; font-size: .85em; }

/* MacBook Pro : capot aluminium, verre noir, encoche ; seul l'écran est visible (coupe sous l'écran) */
.hero-device { padding-top: 40px; }
.mac {
  --z: .88;
  position: relative; width: 100%; max-width: 1160px; margin: 0 auto;
  transform-origin: 50% 0;
}
.anim .mac { max-width: min(1160px, calc((100vh - var(--nav-h) - 48px) * 1.55)); max-width: min(1160px, calc((100svh - var(--nav-h) - 48px) * 1.55)); }
/* Bord aluminium : léger dégradé vertical, liseré clair en haut */
.mac-lid {
  position: relative; padding: .38% .38% 0;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, #E2E4E9 0%, #B9BDC5 45%, #9DA1AA 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 0 0 .5px rgba(0, 0, 0, .18),
    0 50px 80px -40px rgba(10, 8, 32, .35),
    0 18px 36px -18px rgba(10, 8, 32, .18);
}
/* Verre noir : bordure un peu plus épaisse en bas */
.mac-glass {
  position: relative; overflow: hidden;
  padding: 1.3% 1.3% 1.9%;
  border-radius: 21px 21px 0 0;
  background: #060608;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.mac-glare {
  position: absolute; inset: 0; z-index: 8; pointer-events: none; border-radius: inherit;
  background: linear-gradient(118deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .02) 32%, rgba(255, 255, 255, 0) 33%, rgba(255, 255, 255, 0) 100%);
}
.mac-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 9px 9px 0 0; background: #fff; }
.mac-notch {
  position: absolute; z-index: 6; top: 0; left: 50%; transform: translateX(-50%);
  width: 15%; max-width: 180px; height: calc(30px * var(--z)); border-radius: 0 0 10px 10px; background: #060608;
}
.mac-notch i {
  position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, rgba(120, 150, 220, .75) 0, rgba(40, 60, 110, .6) 22%, #0B0F1A 55%, #030407 100%);
  box-shadow: 0 0 0 1.5px #121218;
}

/* Contenu de l'écran : mis à l'échelle d'un vrai écran (zoom), mise en page réelle dessous */
.sf { position: absolute; inset: 0; display: flex; flex-direction: column; zoom: var(--z); font-family: var(--f-text); color: #0A0820; text-align: left; }
.sf-menubar, .sf-toolbar, .sf-tabs { font-family: -apple-system, 'SF Pro Text', system-ui, 'Segoe UI', sans-serif; }
.sf-menubar {
  flex: none; display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 18px;
  background: #E4E6EC; font-size: 13px; color: #1C1B2A; white-space: nowrap;
}
.sf-menu { display: flex; align-items: center; gap: 18px; }
.sf-apple { width: 13px; height: 16px; margin-top: -2px; }
.sf-menu b { font-weight: 700; }
.sf-status { display: flex; align-items: center; gap: 14px; }
.sf-status i { font-size: 12px; }
.sf-toolbar {
  flex: none; display: grid; grid-template-columns: 1fr minmax(0, 520px) 1fr; align-items: center; gap: 16px;
  height: 52px; padding: 0 16px; background: #F6F6F8; color: #74767F;
}
.sf-lights { display: flex; gap: 8px; }
.sf-lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .14); }
.sf-lights i:nth-child(2) { background: #FEBC2E; }
.sf-lights i:nth-child(3) { background: #28C840; }
.sf-lights { grid-area: 1 / 1; }
.sf-nav { grid-area: 1 / 1; display: flex; align-items: center; gap: 22px; margin-left: 84px; font-size: 13px; }
.sf-addr { grid-area: 1 / 2; }
.sf-tools { grid-area: 1 / 3; }
.sf-nav .sf-off { opacity: .35; }
.sf-addr {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 36px;
  border-radius: 10px; background: #E9EAEE; font-size: 13.5px; color: #1C1B2A; overflow: hidden;
}
.sf-addr > i { font-size: 10px; color: #74767F; }
.sf-addr .sf-reload { position: absolute; right: 12px; font-size: 11px; }
.sf-addr-stack { display: grid; }
.sf-addr-stack > span { grid-area: 1 / 1; white-space: nowrap; transition: opacity .3s ease; }
.sf-tools { display: flex; justify-content: flex-end; gap: 22px; font-size: 14px; }
.sf-tabs {
  flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; height: 34px; padding: 0 8px 6px;
  background: #F6F6F8; border-bottom: 1px solid #DCDDE3;
  font-size: 12px; color: #6A6D78;
}
.sf-tab { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; padding: 0 16px; border-radius: 7px; white-space: nowrap; overflow: hidden; transition: background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.sf-tab img { flex: none; width: 14px; height: 14px; }
.sf-tab b { flex: none; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 4px; background: #D63A2F; color: #fff; font-size: 9px; }
.sf-view { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.sf-page { position: absolute; inset: 0; transition: opacity .4s ease, visibility .4s; }

/* Étape affichée : onb (démarrage) ou site */
.sf[data-step="site"] .sf-page--a, .sf[data-step="onb"] .sf-page--b { opacity: 0; visibility: hidden; }
.sf[data-step="site"] .sf-addr-a, .sf[data-step="onb"] .sf-addr-b { opacity: 0; }
.sf[data-step="onb"] .sf-tab--a, .sf[data-step="site"] .sf-tab--b { background: #fff; color: #1C1B2A; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06); }

/* Onglet 1 : MagicOnboarding (tokens du dashboard) */
.ob { height: 100%; background: #F3F5FF; padding: 0 56px; }
.ob-head { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.ob-logo { height: 22px; width: auto; }
.ob-dash { font-size: 14px; color: #5B5A72; transition: opacity .3s ease; }
.ob-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; padding-top: 16px; }
.ob-url {
  display: flex; align-items: center; gap: 10px; width: 100%; max-width: 360px; height: 40px; padding: 0 14px;
  border: 1px solid #E3E5F2; border-radius: 10px; background: #fff; font-size: 14px; color: #0A0820;
}
.ob-url i { font-size: 13px; color: #5B5A72; }
.ob-caret { width: 1.5px; height: 18px; margin-left: -8px; background: #7130F0; opacity: 0; }
.ob-url[data-typing="1"] { border-color: #7130F0; box-shadow: 0 0 0 3px rgba(113, 48, 240, .12); }
.ob-url[data-typing="1"] .ob-caret { opacity: 1; }
.ob-h { display: grid; margin-top: 20px; font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: #0A0820; }
.ob-p { display: grid; margin-top: 8px; font-size: 14px; color: #5B5A72; }
.ob-h > span, .ob-p > span { grid-area: 1 / 1; transition: opacity .3s ease; }
.ob[data-ready="0"] .ob-b, .ob[data-ready="1"] .ob-a { opacity: 0; }
.ob[data-ready="0"] .ob-dash { opacity: 0; }
.ob-card { margin-top: 24px; padding: 20px; background: #fff; border: 1px solid #E3E5F2; border-radius: 12px; }
.ob-steps { display: flex; flex-direction: column; gap: 12px; }
.ob-step { display: flex; align-items: flex-start; gap: 12px; }
.ob-ico { position: relative; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; color: rgba(10, 8, 32, .25); }
.ob-ico::before { content: ''; position: absolute; left: 7px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ob-txt { min-width: 0; font-size: 14px; line-height: 1.45; color: rgba(10, 8, 32, .4); transition: color .2s ease; }
.ob-txt small { display: block; font-size: 12px; line-height: 1.4; color: #5B5A72; }
.ob-step[data-s="pending"] .ob-txt small { visibility: hidden; }
.ob-step[data-s="running"] .ob-txt, .ob-step[data-s="done"] .ob-txt { color: #0A0820; }
.ob-step[data-s="running"] .ob-txt { font-weight: 500; }
.ob-step[data-s="running"] .ob-ico::before {
  left: 2px; top: 2px; width: 16px; height: 16px; background: none;
  border: 2px solid #7130F0; border-right-color: transparent; animation: spin .7s linear infinite;
}
.ob-step[data-s="done"] .ob-ico { background: rgba(16, 185, 129, .12); color: #059669; }
.ob-step[data-s="done"] .ob-ico::before {
  left: 7px; top: 4px; width: 5px; height: 9px; border-radius: 0; background: none;
  border: solid currentColor; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg);
}
@keyframes spin { to { transform: rotate(360deg); } }
.ob-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; transition: opacity .3s ease; }
.ob[data-ready="0"] .ob-btns { opacity: 0; }
.ob-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px;
  border: 1px solid #E3E5F2; border-radius: 10px; background: #fff; font-size: 14px; font-weight: 500; color: #0A0820;
}
.ob-btn--p { background: #7130F0; border-color: #7130F0; color: #fff; }
.ob-btn i { font-size: 12px; }
.ob-test { margin-bottom: 8px; font-size: 14px; font-weight: 500; color: #5B5A72; }
.ob-tester {
  position: relative; height: 520px; overflow: hidden; border: 1px solid #E3E5F2; border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgba(10, 8, 32, .04), 0 8px 24px rgba(10, 8, 32, .06);
}
.ob-empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border: 1px dashed #E3E5F2; border-radius: 16px; text-align: center; transition: opacity .3s ease;
}
.ob-empty i { font-size: 22px; color: rgba(10, 8, 32, .25); }
.ob-empty p { max-width: 16rem; font-size: 14px; color: #5B5A72; }
.aw--tester { position: absolute; inset: 0; border-radius: 0; box-shadow: none; transition: opacity .3s ease; }
.ob[data-ready="0"] .aw--tester, .ob[data-ready="1"] .ob-empty { opacity: 0; }

/* Onglet 2 : le site vroom-occasions.fr (garage fictif, annonces réalistes, vraies photos) */
.sf-page--b { background: #fff; }
.vs { position: absolute; inset: 0; padding: 0 40px; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: #16181D; }
.vs-nav { display: flex; align-items: center; gap: 32px; height: 64px; margin: 0 -40px; padding: 0 40px; border-bottom: 1px solid #EEF0F3; }
.vs-logo { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.vs-logo b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #D63A2F; color: #fff; font-size: 15px; }
.vs-links { display: flex; gap: 24px; font-size: 14px; color: #5A606B; }
.vs-btn { display: flex; align-items: center; height: 36px; margin-left: auto; padding: 0 16px; border-radius: 8px; background: #16181D; color: #fff; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.vs-burger { display: none; }
.vs-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch;
  height: 264px; margin-top: 16px; border-radius: 16px; background: #F2F4F7; overflow: hidden;
}
.vs-hero-txt { align-self: center; padding: 0 32px 0 40px; }
.vs-h { display: block; max-width: 12em; font-size: 36px; line-height: 1.08; font-weight: 700; letter-spacing: -.025em; }
.vs-p { display: block; margin-top: 12px; font-size: 15px; line-height: 1.45; color: #5A606B; }
.vs-search {
  display: flex; align-items: center; gap: 4px; max-width: 440px; height: 48px; margin-top: 24px; padding: 4px;
  background: #fff; border: 1px solid #E4E7EC; border-radius: 12px; font-size: 13.5px; color: #8A909B;
}
.vs-search > span { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 12px; white-space: nowrap; }
.vs-search > span + span { border-left: 1px solid #E4E7EC; }
.vs-search b { display: flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 9px; background: #D63A2F; color: #fff; font-weight: 600; }
.vs-hero-img { position: relative; min-height: 0; background: #DADDE3; }
.vs-hero-img img, .vs-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vs-hero-img img { object-position: 50% 60%; }
.vs-card:first-child .vs-img img { object-position: 50% 92%; }
.vs-list-head { display: flex; align-items: baseline; justify-content: space-between; margin: 24px 0 12px; }
.vs-list-head strong { font-size: 17px; font-weight: 700; color: #16181D; }
.vs-list-head span { font-size: 13.5px; font-weight: 600; color: #D63A2F; }
.vs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vs-card { padding: 0 0 14px; border: 1px solid #EEF0F3; border-radius: 12px; background: #fff; overflow: hidden; }
.vs-img { position: relative; aspect-ratio: 3 / 2; background: #E8EAEE; }
.vs-card strong { display: block; margin: 12px 14px 0; font-size: 14.5px; font-weight: 650; color: #16181D; }
.vs-trim { display: block; margin: 1px 14px 0; font-size: 12.5px; color: #6B717C; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 10px 14px 0; }
.vs-tags i { padding: 2px 7px; border-radius: 6px; background: #F2F4F7; font-size: 11.5px; font-style: normal; line-height: 1.5; color: #4A505B; white-space: nowrap; }
.vs-card b { display: block; margin: 10px 14px 0; font-size: 16px; font-weight: 700; }

/* Widget sur le site : lanceur, ouverture, conversations en boucle */
.aw--site {
  position: absolute; right: 24px; bottom: 96px; width: 360px; height: 452px; max-height: calc(100% - 120px); transform-origin: 100% 100%;
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.aw--site[data-open="0"] { opacity: 0; visibility: hidden; transform: translateY(12px) scale(.96); }
.aw--site .aw-msgs { transition: opacity .35s ease; }
.aw--site .aw-msgs.is-out { opacity: 0; }
.sf-launch { position: absolute; right: 24px; bottom: 24px; transition: opacity .3s ease, transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.sf-launch[data-in="0"] { opacity: 0; transform: scale(.6); }
.sf-launch > span { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .2s ease; }
.aw--site[data-open="1"] ~ .sf-launch .hl-chat, .aw--site[data-open="0"] ~ .sf-launch .hl-x { opacity: 0; }

/* Inclinaison initiale (le défilement la redresse) */
.anim .mac { transform: perspective(1600px) rotateX(20deg) scale(.94); will-change: transform; }
@media (max-width: 767px) and (min-height: 501px) {
  .anim .mac { transform: perspective(1200px) rotateX(10deg) scale(.96); }
}

/* ─── WIDGET AIZORA (reproduction fidèle) ─────────────────── */
/* Thème de démonstration : Vroom Occasions, rouge corail (texte blanc >= 4,5:1) */
.aw--vroom, .aw-launcher--vroom {
  --aw-c:  #D63A2F;                 /* primaryColor */
  --aw-cc: rgba(214, 58, 47, .8);   /* primaryColor + "cc" */
  --aw-99: rgba(214, 58, 47, .6);
  --aw-55: rgba(214, 58, 47, .33);
  --aw-sh: rgba(214, 58, 47, .4);
  --aw-h1: #8E1D15;                 /* headerColor */
  --aw-h2: #E8473B;                 /* headerColor2 */
}
.aw {
  display: flex; flex-direction: column; overflow: hidden;
  background: #F3F5FF; border-radius: 20px;
  box-shadow: 0 12px 40px rgba(10, 8, 32, .18), 0 4px 14px rgba(113, 48, 240, .10);
  font-family: var(--f-text); color: #0A0820; text-align: left;
}
.aw-head {
  position: relative; flex: none; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px;
  background: linear-gradient(135deg, var(--aw-h1) 0%, var(--aw-h2) 100%);
}
.aw-who > div { min-width: 0; }
.aw-orb {
  position: absolute; top: -24px; right: -24px; width: 96px; height: 96px; border-radius: 50%; opacity: .2;
  background: radial-gradient(circle, #72F9FF 0%, #F5A7F5 45%, rgba(245, 167, 245, 0) 72%);
}
.aw-who { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.aw-name { display: block; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-status { display: flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 10px; line-height: 1.4; color: rgba(255, 255, 255, .5); }
.aw-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #34D399; }
.aw-tools { position: relative; z-index: 1; flex: none; display: flex; align-items: center; gap: 8px; }
.aw-new {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .7);
  font-size: 11px; font-weight: 500; letter-spacing: .01em; line-height: 1.4;
}
.aw-close { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: rgba(255, 255, 255, .6); }
.aw-ava {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--aw-c), var(--aw-cc));
}
.aw-ava svg { width: 14px; height: 14px; }
.aw-ava--lg { width: 32px; height: 32px; }
.aw-ava--lg svg { width: 20px; height: 20px; }

.aw-msgs {
  flex: 1 1 auto; min-height: 0; overflow: hidden; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 16px; padding: 16px;
}
.aw-row { display: flex; align-items: flex-end; gap: 8px; }
.aw-row--user { justify-content: flex-end; }
.aw-row > .aw-ava { margin-bottom: 2px; }
.aw-bub {
  max-width: 78%; padding: 10px 14px; border-radius: 16px;
  font-size: 13px; line-height: 1.625; box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.aw-bub--user { border-bottom-right-radius: 2px; color: #fff; background: linear-gradient(135deg, var(--aw-c), var(--aw-cc)); white-space: pre-wrap; }
.aw-bub--bot { border-bottom-left-radius: 2px; background: #fff; color: #0A0820; }
.aw-bub--bot p { margin: 0 0 .5em; }
.aw-typing { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-radius: 16px 16px 16px 2px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.aw-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--aw-c); animation: awBounce 1s infinite; }
.aw-typing i:nth-child(1) { animation-delay: -.3s; }
.aw-typing i:nth-child(2) { animation-delay: -.15s; background: var(--aw-99); }
.aw-typing i:nth-child(3) { background: var(--aw-55); }
@keyframes awBounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(.8, 0, 1, 1); }
  50% { transform: none; animation-timing-function: cubic-bezier(0, 0, .2, 1); }
}
.aw-in { animation: awIn .25s ease both; }
@keyframes awIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Proposition « Parler à un conseiller » */
.aw-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.aw-chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; font-size: 12px; line-height: 16px; }
.aw-chip--go { padding: 8px 14px 8px 10px; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--aw-c), var(--aw-cc)); }
.aw-chip--no { padding: 8px 14px; font-weight: 500; color: #8b8ba0; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
/* Formulaire « Être recontacté » */
.aw-form { flex: 1; min-width: 0; overflow: hidden; border-radius: 16px 16px 16px 2px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.aw-form-head { padding: 12px 12px 4px; }
.aw-form-title { font-size: 13px; font-weight: 600; line-height: 1.25; color: #0A0820; }
.aw-form-sub { margin-top: 2px; font-size: 11px; line-height: 1.25; color: #8b8ba0; }
.aw-form-fields { display: flex; flex-direction: column; gap: 8px; padding: 0 12px 12px; }
.aw-field { padding: 10px 14px; border-radius: 12px; border: 1px solid #e5e7eb; background: #F3F5FF; color: #0A0820; font-size: 13px; line-height: 1.4; }
.aw-field--area { min-height: 76px; }
/* Confirmation « Demande envoyée » */
.aw-sent {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px 16px 16px 2px;
  background: linear-gradient(135deg, rgba(114, 249, 255, .125), rgba(245, 167, 245, .125));
  border: 1px solid rgba(114, 249, 255, .25); box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.aw-sent-ico { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #72F9FF, #F5A7F5); }
.aw-sent-title { font-size: 13px; font-weight: 600; line-height: 1.25; color: #0A0820; }
.aw-sent-sub { font-size: 11px; line-height: 1.25; color: #0A0820; opacity: .6; }
/* Toast « Information enregistrée » */
.aw-toast {
  flex: none; margin: 0 16px 8px; padding: 8px 12px; border-radius: 12px; text-align: center;
  font-size: 12px; line-height: 16px; color: #0A0820; box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  background: linear-gradient(135deg, rgba(114, 249, 255, .08), rgba(245, 167, 245, .08));
  border: 1px solid rgba(114, 249, 255, .19);
}
.aw-toast[hidden] { display: none; }
.aw-toast svg { display: inline-block; vertical-align: -1px; margin-right: 4px; color: #10B981; }
/* Pied : saisie + « Powered by » */
.aw-foot { flex: none; padding: 10px 12px; background: #fff; border-top: 1px solid #f3f4f6; }
.aw-bar { display: flex; align-items: center; gap: 8px; }
.aw-bar[hidden] { display: none; }
.aw-input {
  flex: 1; min-width: 0; padding: 10px 16px; border-radius: 12px; border: 1px solid #e5e7eb;
  background: #F3F5FF; color: #9ca3af; font-size: 13px; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.aw-send { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 12px; color: #fff; background: var(--aw-c); opacity: .3; }
.aw-cancel { flex: none; padding: 10px 16px; border-radius: 12px; background: #F3F5FF; color: #8b8ba0; font-size: 13px; font-weight: 500; line-height: 16px; }
.aw-submit { flex: 1; padding: 10px 16px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--aw-c), var(--aw-cc)); font-size: 13px; font-weight: 600; line-height: 16px; text-align: center; }
.aw-pby { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 6px 0 2px; }
.aw-pby span { font-size: 9px; letter-spacing: .025em; color: #b0b4c0; line-height: 12px; }
.aw-pby img { width: 57px; height: 12px; }
/* Bulle de lancement (état ouvert : croix) */
.aw-launcher {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--aw-c) 0%, var(--aw-cc) 100%);
  box-shadow: 0 4px 20px var(--aw-sh);
}

/* ─── ÉTAPES ──────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { position: relative; padding: var(--pad); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); }
.step-num {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--indigo); color: #fff; font-size: 14px; font-weight: 600;
}
.step-time { position: absolute; top: var(--pad); right: var(--pad); font-size: 14px; font-weight: 600; color: var(--indigo); line-height: 32px; font-variant-numeric: tabular-nums; }
.step h3 { margin-top: 20px; font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.step p { margin-top: 8px; font-size: 15px; }

/* ─── DÉMO : cinq sites, cinq hésitations ─────────────────── */
/* Thèmes du widget, un par site fictif (texte blanc >= 4,5:1, distincts de l'indigo Aizora) */
[data-biz="vroom"]    { --aw-rgb: 214, 58, 47;  --aw-c: #D63A2F; --aw-h1: #8E1D15; --aw-h2: #E8473B; }
[data-biz="sourire"]  { --aw-rgb: 29, 111, 216; --aw-c: #1D6FD8; --aw-h1: #0F4A9E; --aw-h2: #2F86F0; }
[data-biz="lumea"]    { --aw-rgb: 15, 122, 104; --aw-c: #0F7A68; --aw-h1: #0A4F44; --aw-h2: #14937D; }
[data-biz="horizon"]  { --aw-rgb: 43, 76, 111;  --aw-c: #2B4C6F; --aw-h1: #172B44; --aw-h2: #3B6189; }
[data-biz="formapro"] { --aw-rgb: 184, 82, 10;  --aw-c: #B8520A; --aw-h1: #7E3605; --aw-h2: #D9691A; }
.demo-stage {
  --aw-cc: rgba(var(--aw-rgb), .8); --aw-99: rgba(var(--aw-rgb), .6);
  --aw-55: rgba(var(--aw-rgb), .33); --aw-sh: rgba(var(--aw-rgb), .4);
}
.demo-tabs { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }
.demo-tab {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color var(--t);
}
.demo-tab:hover { border-color: var(--line-3); }
.demo-tab[aria-selected="true"] { border-color: var(--indigo); }
.biz-mark {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: var(--r-ctl);
  background: var(--aw-c); color: #fff; font: 700 16px/1 Arial, Helvetica, sans-serif;
}
.biz-mark--serif { font: italic 700 19px/1 Georgia, 'Times New Roman', serif; }
.demo-tab-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.demo-tab strong { font-size: 15px; color: var(--ink); }
.demo-tab small { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-live { display: flex; gap: 10px; align-items: baseline; margin-top: 20px; font-size: 14px; }
.demo-live i { color: var(--indigo); }
/* Scène : hauteur fixe, le widget défile à l'intérieur */
.demo-stage {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: var(--pad); border: 1px solid var(--line); border-radius: var(--r-lg);
  background-color: var(--surface);
  background-image: radial-gradient(rgba(113, 48, 240, .14) 1px, transparent 1px);
  background-size: 18px 18px;
}
.demo-note {
  display: flex; align-items: center; gap: 10px; width: 100%; max-width: 400px; padding: 10px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-ctl);
  font-size: 14px; line-height: 1.4; color: var(--muted);
}
.demo-note i { flex: none; color: #9897AE; }
.demo-note--ok { color: var(--ink); }
.demo-note--ok i { color: #059669; }
.demo-foot { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 400px; }
.demo-foot .demo-note { flex: 1; min-width: 0; }
.aw--demo { width: 100%; max-width: 400px; height: 480px; flex: none; }
.aw--demo .aw-msgs { overflow-y: auto; scrollbar-width: thin; }

/* ─── FONCTIONNALITÉS ─────────────────────────────────────── */
.feats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.feat { padding: var(--pad); background: var(--surface); }
.feat-ico, .point-ico {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-ctl);
  background: var(--indigo); color: #fff; font-size: 16px;
}
.feat h3 { margin-top: 18px; font-size: 17px; font-weight: 600; color: var(--ink); }
.feat p { margin-top: 6px; font-size: 15px; }

/* ─── RÉGLAGES ────────────────────────────────────────────── */
.points { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.point { display: flex; gap: 16px; padding: var(--pad); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.point h3 { font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.point p { margin-top: 4px; font-size: 15px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.panel-head, .panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--pad); }
.panel-head { border-bottom: 1px solid var(--line); font-size: 15px; }
.panel-foot { border-top: 1px solid var(--line); }
.panel-mode { padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 13px; font-weight: 500; transition: background-color var(--t), color var(--t); }
.panel.is-manual .panel-mode { background: var(--indigo-wash); color: var(--indigo); }
.panel-saved { font-size: 14px; white-space: nowrap; }
.panel-saved i { color: var(--indigo); margin-right: 4px; font-size: .8em; }
/* Les deux vues partagent la même cellule : hauteur = la plus haute, rien ne bouge */
.panel-stack { display: grid; }
.panel-pane { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 20px; padding: var(--pad); }
.panel-pane:not(.is-on) { visibility: hidden; }
.field-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-ctl); }
.seg-btn { padding: 8px 6px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; color: var(--muted); transition: border-color var(--t), color var(--t), background-color var(--t); }
.seg-btn:hover { color: var(--ink); }
.seg-btn[aria-pressed="true"] { background: var(--surface); border-color: var(--line-2); color: var(--ink); font-weight: 600; }
.aw--mini { box-shadow: none; border: 1px solid var(--line); }
.tone-stack { display: grid; flex: 1; min-width: 0; }
.tone-stack > .aw-bub { grid-area: 1 / 1; align-self: end; justify-self: start; max-width: 86%; }
.tone-stack > :not(.is-on) { visibility: hidden; }
.fake-input { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); font-size: 15px; color: var(--ink); }
.fake-input i { color: var(--muted); font-size: 13px; }
.file-chip { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.manual-list li { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.manual-list li:first-child { padding-top: 0; }
.manual-list i { width: 16px; text-align: center; color: var(--muted); font-size: 13px; }
.badge { margin-left: auto; padding: 2px 9px; border-radius: 999px; white-space: nowrap; background: var(--indigo-wash); color: var(--indigo); font-size: 12px; font-weight: 600; }
.notice { display: flex; gap: 12px; margin-top: auto; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); font-size: 14px; line-height: 1.5; }
.notice i { color: var(--indigo); margin-top: 3px; }

/* ─── INTÉGRATIONS (la bande sombre) ──────────────────────── */
.sec--dark { background: var(--ink); color: var(--dark-text); }
.sec--dark .sec-title, .sec--dark strong, .sec--dark h3 { color: var(--dark-ink); }
.works { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 24px; font-size: 14px; }
.works ul { display: flex; flex-wrap: wrap; gap: 8px; }
.works li { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid var(--dark-line); border-radius: 999px; color: var(--dark-ink); }
.works li i { color: var(--dark-text); }
.integ { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.dpanel { display: flex; flex-direction: column; padding: var(--pad); background: var(--dark-panel); border: 1px solid var(--dark-line); border-radius: var(--r-lg); }
.dpanel h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.dpanel p { font-size: 15px; }
.dpanel-lead { margin-bottom: 18px; }
.install-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--dark-line); }
.install-row strong { display: block; margin-bottom: 2px; font-size: 15px; }
.install-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-ctl); background: #221F3D; color: var(--dark-ink); font-size: 17px; }
.snippet { display: flex; align-items: stretch; margin-top: 20px; border: 1px solid var(--dark-line); border-radius: var(--r-ctl); background: var(--ink); overflow: hidden; }
.snippet code { flex: 1; min-width: 0; padding: 14px; white-space: normal; overflow-wrap: anywhere; line-height: 1.55; font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; font-size: 12.5px; color: var(--cyan); }
.snippet-copy { flex: none; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-left: 1px solid var(--dark-line); color: var(--dark-ink); font-size: 14px; transition: color var(--t); }
.snippet-copy:hover { color: var(--cyan); }
.dest { display: flex; flex-wrap: wrap; gap: 8px; }
.dest li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 1px solid #353352; border-radius: 999px; color: #E4E5F2; font-size: 14px; }
.log { margin-top: 20px; border: 1px solid var(--dark-line); border-radius: var(--r-ctl); overflow: hidden; font-size: 13.5px; }
.log-row { display: grid; grid-template-columns: 44px minmax(0, 1.2fr) minmax(0, .6fr) minmax(0, 1.5fr); gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--dark-line); font-variant-numeric: tabular-nums; color: #D9D9E8; }
.log-row--head { border-top: 0; background: #100E24; color: #7D7C96; font-size: 12px; }
.st { display: inline-flex; align-items: center; gap: 7px; }
.st::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; }
.st--ok::before { background: var(--cyan); }
.st--retry::before { background: var(--callie); }

/* ─── TARIFS ──────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: var(--pad); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.plan--pro { border-color: rgba(113, 48, 240, .55); box-shadow: var(--elev); }
.plan-badge { position: absolute; top: -12px; left: var(--pad); padding: 3px 10px; border-radius: 999px; background: var(--indigo); color: #fff; font-size: 12px; font-weight: 600; line-height: 18px; }
.plan-name { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; color: var(--ink); }
.plan-for { margin-top: 4px; font-size: 15px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 20px; }
.plan-amount { font-family: var(--f-display); font-weight: 600; font-size: 48px; line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-per { font-size: 15px; }
.plan-quota { flex: 1; display: flex; flex-direction: column; gap: 10px; padding-top: 18px; margin-bottom: 24px; border-top: 1px solid var(--line); font-size: 15px; font-variant-numeric: tabular-nums; }
.plan-quota li { display: flex; align-items: center; gap: 10px; }
.plan-quota i { width: 16px; text-align: center; color: var(--indigo); font-size: 13px; }
.included { margin-top: 20px; padding: var(--pad); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.included h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.included-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; font-size: 15px; }
.included-list li { display: flex; gap: 10px; align-items: baseline; }
.included-list i { color: var(--indigo); font-size: 12px; }

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq-head { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.faq + .faq { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--pad); cursor: pointer; list-style: none; font-weight: 500; color: var(--ink); transition: color var(--t); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--indigo); }
.faq summary:focus-visible { outline-offset: -2px; border-radius: var(--r-ctl); }
.faq summary i { flex: none; font-size: 12px; color: var(--muted); transition: transform .2s ease; }
.faq[open] summary i { transform: rotate(45deg); }
.faq p { padding: 0 var(--pad) 20px; max-width: 64ch; font-size: 15px; }

/* ─── CTA FINAL (bande indigo) ────────────────────────────── */
.sec--indigo { background: var(--indigo); color: rgba(255, 255, 255, .85); }
.sec--indigo .sec-title { color: #fff; }
.sec--indigo .urlform { max-width: none; border-color: transparent; }
.sec--indigo .urlform:hover { border-color: transparent; }
.sec--indigo .urlform:focus-within { box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.final-meta { margin-top: 14px; font-size: 14px; }
.sec--indigo .final-meta i { color: #fff; }

/* ─── FOOTER (minimal) ────────────────────────────────────── */
.foot { padding: 40px 0; background: var(--bg); border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 32px; }
.foot-in img { height: 48px; width: 96px; margin: -8px 0 -8px -8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.foot-links a { transition: color var(--t); }
.foot-links a:hover { color: var(--ink); }
.foot-copy { margin-left: auto; font-size: 14px; }

/* ─── SÉCURITÉ ────────────────────────────────────────────── */
/* La carte de l'extension et la grille des garanties partagent fond, bordure et arrondi. */
.safe-card, .guards { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); }
.safe-card { padding: var(--pad); }
.safe-card-head { display: flex; align-items: flex-start; gap: 16px; padding-bottom: var(--pad); border-bottom: 1px solid var(--line); }
.safe-wp { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-ctl); background: var(--ink); color: #fff; font-size: 20px; }
.safe-card-head h3 { font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.safe-card-head p { margin-top: 4px; font-size: 15px; }
.safe-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--pad) 48px; padding-top: var(--pad); }
.safe-cols h4 { font-size: 15px; font-weight: 600; color: var(--ink); }
.safe-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; font-size: 15px; line-height: 1.5; }
.safe-list li { display: flex; gap: 12px; align-items: flex-start; }
.safe-list i {
  display: grid; place-items: center; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: rgba(16, 185, 129, .12); color: #059669; font-size: 10px;
}
.safe-list--never i { background: rgba(10, 8, 32, .06); color: var(--muted); }
.guards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 20px; overflow: hidden;
  background: var(--line);
}
.guard { padding: var(--pad); background: var(--bg); }
.guard-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-ctl); background: var(--surface); border: 1px solid var(--line); color: var(--indigo); font-size: 16px; }
.guard h3 { margin-top: 18px; font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.guard p { margin-top: 6px; font-size: 15px; }
.safe-note { display: flex; gap: 10px; align-items: baseline; margin-top: 20px; font-size: 15px; }
.safe-note i { color: var(--indigo); }
@media (max-width: 960px) {
  .guards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .safe-cols, .guards { grid-template-columns: minmax(0, 1fr); }
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links, .nav-ctas .btn-quiet { display: none; }
  .nav-burger { display: grid; place-items: center; }
  .nav-in { gap: 12px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; row-gap: 28px; }
  .integ { grid-template-columns: minmax(0, 1fr); }
  .foot-copy { margin-left: 0; width: 100%; }
}
@media (min-width: 961px) { .mnav { display: none !important; } }

@media (max-width: 1229px) {
  .mac { --z: .74; }
}
@media (max-width: 960px) {
  .mac { --z: .62; }
  .ob { padding: 0 32px; }
  .ob-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
  .vs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vs-card:nth-child(4) { display: none; }
  .vs-links span:nth-child(n+3) { display: none; }
}
@media (max-width: 767px) {
  .hero-track { padding-top: 32px; }
  .anim .hero-track { padding-top: calc(var(--nav-h) + 32px); }
  .hero-sub { margin-top: 16px; font-size: 18px; }
  .urlform--hero { margin-top: 32px; }
  .anim .hero-pin { height: 220vh; }
  .hero-device { padding-top: 32px; }
}
/* Téléphone en portrait : le même balisage devient un iPhone (un écran 16:10 sur un téléphone en
   portrait rend le texte illisible). Écran portrait, Dynamic Island, barre d'état, Safari avec la
   barre d'adresse en bas, widget plein écran comme le vrai widget sous 480 px.
   Largeur bornée par la hauteur visible pour que le téléphone entier tienne sous la nav une fois
   centré ; --z est recalculé par lp.js pour garder ~300 px de largeur CSS dans l'écran.
   Téléphone en paysage (hauteur <= 500 px) : on garde le MacBook, qui convient à un écran large.
   lp.js utilise la requête inverse (wide). */
@media (max-width: 767px) and (min-height: 501px) {
  .mac { --z: .9; width: 100%; max-width: 320px; }
  .anim .mac { max-width: min(320px, calc((100vh - var(--nav-h) - 32px) * .46)); max-width: min(320px, calc((100svh - var(--nav-h) - 32px) * .46)); }
  .mac-lid {
    padding: 3px; border-radius: 52px;
    background: linear-gradient(160deg, #E4E6EA 0%, #B4B8C0 40%, #9A9EA7 100%);
  }
  .mac-glass { padding: 9px; border-radius: 49px; }
  .mac-screen { aspect-ratio: 9 / 19.5; border-radius: 40px; }
  .mac-notch { top: 9px; width: 32%; height: auto; aspect-ratio: 3.4 / 1; border-radius: 999px; }
  .mac-notch i { left: auto; right: 14%; width: 9px; height: 9px; margin: -4.5px 0 0; box-shadow: none; }

  .sf { background: #fff; transition: background-color .4s ease; }
  .sf[data-step="onb"] { background: #F3F5FF; }
  /* Barre d'état : heure à gauche, réseau / wifi / batterie à droite, l'îlot au milieu */
  .sf-menubar { order: 0; height: 50px; padding: 4px 28px 0 34px; background: transparent; font-size: 15px; font-weight: 600; color: #0A0820; }
  .sf-menubar::before { content: '9:41'; }
  .sf-menu, .sf-status > span { display: none; }
  .sf-status { gap: 6px; }
  .sf-status::before { content: '\f012'; font: 900 13px/1 'Font Awesome 6 Free'; }
  .sf-status i { font-size: 13px; }
  .sf-view { order: 1; }
  /* Safari iOS : barre d'adresse en bas, place pour l'indicateur d'accueil */
  .sf-toolbar { order: 2; display: flex; height: auto; padding: 8px 14px 30px; border-top: 1px solid #DCDDE3; }
  .sf-lights, .sf-nav, .sf-tools, .sf-tabs { display: none; }
  .sf-addr { flex: 1; height: 42px; padding: 0 40px; border-radius: 12px; font-size: 15px; }
  .sf::after {
    content: ''; position: absolute; z-index: 9; left: 50%; bottom: 8px; width: 36%; height: 5px;
    margin-left: -18%; border-radius: 3px; background: #0A0820;
  }

  /* Onglet 1 : démarrage en une colonne (le testeur est remplacé par le site, juste après) */
  .ob { padding: 0 20px; }
  .ob-head { height: 52px; }
  .ob-logo { height: 20px; }
  .ob-p, .ob-dash, .ob-right { display: none; }
  .ob-grid { grid-template-columns: minmax(0, 1fr); padding-top: 4px; }
  .ob-url { max-width: none; }
  .ob-h { margin-top: 18px; font-size: 24px; }
  .ob-card { margin-top: 16px; padding: 16px; }
  .ob-steps { gap: 12px; }
  .ob-btns { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }

  /* Onglet 2 : le site en version mobile */
  .vs { padding: 0 16px; }
  .vs-nav { gap: 12px; height: 52px; margin: 0 -16px; padding: 0 16px; }
  .vs-links, .vs-btn, .vs-search { display: none; }
  .vs-burger { display: flex; flex-direction: column; gap: 5px; margin-left: auto; }
  .vs-burger i { width: 18px; height: 2px; border-radius: 1px; background: #16181D; }
  .vs-hero { grid-template-columns: minmax(0, 1fr); height: auto; margin-top: 12px; }
  .vs-hero-txt { padding: 18px 18px 16px; }
  .vs-h { font-size: 24px; }
  .vs-p { font-size: 14px; }
  .vs-hero-img { height: 150px; }
  .vs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .vs-card:nth-child(4) { display: block; }

  /* Widget plein écran (comme le vrai widget sous 480 px), lanceur caché quand il est ouvert */
  .aw--site { inset: 0; width: auto; height: auto; max-height: none; border-radius: 0; box-shadow: none; transform-origin: 50% 100%; }
  .aw--site[data-open="0"] { transform: translateY(24px); }
  .aw--site .aw-new { gap: 0; padding: 6px; font-size: 0; } /* icône seule : le nom du site reste lisible */
  .aw--site .aw-msgs { justify-content: flex-end; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 28px); mask-image: linear-gradient(to bottom, transparent 0, #000 28px); }
  .sf-launch { right: 16px; bottom: 16px; }
  .aw--site[data-open="1"] ~ .sf-launch { opacity: 0; transform: scale(.6); }
}

@media (max-width: 767px) {
  .demo-tabs {
    flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin: 24px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 2px; scroll-padding-inline: var(--gutter);
  }
  .demo-tabs::-webkit-scrollbar { display: none; }
  .demo-tab { flex: none; width: 240px; scroll-snap-align: start; }
  .demo-note, .demo-foot, .aw--demo { max-width: none; }
}

@media (max-width: 600px) {
  :root { --pad: 20px; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .included-list { grid-template-columns: minmax(0, 1fr); }
  .demo-stage { padding: 12px; }
  .log-row--head { display: none; }
  .log-row { grid-template-columns: 42px minmax(0, 1fr); gap: 2px 12px; }
  .log-row > :nth-child(1) { grid-row: 1 / span 3; align-self: start; color: #7D7C96; }
  .log-row > :nth-child(3) { color: #7D7C96; font-size: 12px; }
  .log-row > :nth-child(4) { margin-top: 2px; }
  .log-row:first-child + .log-row { border-top: 0; }
  .seg-btn { font-size: 13px; padding: 8px 2px; }
  .point { gap: 14px; }
}

@media (max-width: 400px) {
  /* En-tête du widget étroit : « Nouveau » en icône seule, le nom du site reste entier */
  .aw-new { gap: 0; padding: 6px; font-size: 0; }
}

@media (max-width: 520px) {
  .urlform { height: auto; flex-direction: column; align-items: stretch; padding: 6px; }
  .urlform .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
