/* botler360.com — palette calée sur le logo : bleu nuit du smoking + or du médaillon.
   Un seul accent (l'or) porte tous les CTA. Typo maison : Fraunces + Inter. */
/* Polices hébergées par le site (OFL, cf. /fonts/OFL-*.txt) : aucune requête vers Google Fonts.
   Fraunces : axes graisse + taille optique ; Inter : axe graisse. Sous-ensembles latin + latin étendu. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/fraunces-latin-opsz-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/fraunces-latin-ext-opsz-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/fonts/fraunces-latin-opsz-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/fonts/fraunces-latin-ext-opsz-italic.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --ink: #0A1128;          /* fond sombre dominant */
  --ink-2: #0F1834;
  --ink-3: #16224A;
  --line-d: rgba(233, 237, 250, .12);
  --on-ink: #F4F1E8;       /* texte sur sombre */
  --on-ink-2: #B7BED6;     /* texte secondaire sur sombre (AA ≥ 7:1) */

  --paper: #FAF6EC;        /* sections de lecture */
  --paper-2: #F1EADA;
  --card: #FFFFFF;
  --text: #141A30;
  --text-2: #4B5170;       /* secondaire sur clair (AA ≥ 7:1) */
  --line: rgba(20, 26, 48, .12);

  --gold: #F5B90F;         /* accent unique */
  --gold-2: #FFD35A;
  --gold-ink: #7A5200;     /* or lisible sur clair (texte) */
  --ok: #3FCB8B;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(5, 10, 30, .55), 0 10px 30px -12px rgba(5, 10, 30, .35);
  --shadow-soft: 0 20px 50px -28px rgba(20, 26, 48, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { box-shadow: 0 0 0 6px var(--ink); outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.1em; height: 1.1em; flex: none; }

/* ── Boutons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 16px/1 var(--body); text-decoration: none; white-space: nowrap;
  padding: 16px 24px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover .ico { transform: translateX(2px); }
.btn .ico { transition: transform .25s var(--ease); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(245, 185, 15, .6); }
.btn--gold:hover { background: var(--gold-2); box-shadow: 0 14px 40px -10px rgba(245, 185, 15, .75); }
.btn--ghost { color: var(--on-ink); border-color: rgba(244, 241, 232, .35); }
.btn--ghost:hover { border-color: var(--on-ink); background: rgba(244, 241, 232, .06); }
.btn--dark { background: var(--ink); color: var(--on-ink); }
.btn--dark:hover { background: var(--ink-3); }
.btn--line { color: var(--text); border-color: var(--text); }
.btn--line:hover { background: var(--text); color: var(--paper); }
.btn--sm { padding: 11px 18px; font-size: 15px; }
.btn--lg { padding: 20px 30px; font-size: 18px; }
.cta-duo { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sur fond clair, le bouton « fantôme » passe en version encre */
.works .btn--ghost, .families .btn--ghost, .booking .btn--ghost { color: var(--text); border-color: rgba(20, 26, 48, .3); }
.works .btn--ghost:hover, .families .btn--ghost:hover { background: rgba(20, 26, 48, .05); border-color: var(--text); }

/* ── Typo de section ─────────────────────────────────────── */
.eyebrow { font: 600 13px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.eyebrow--gold { color: var(--gold); }
h2 { font-size: clamp(34px, 4.6vw, 58px); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--text-2); max-width: 60ch; margin-top: 18px; }
.lead--light { color: var(--on-ink-2); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 780px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-cta { margin-top: clamp(40px, 5vw, 64px); display: flex; justify-content: center; }

/* ── Barre du haut ───────────────────────────────────────── */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.topbar.is-solid { background: rgba(10, 17, 40, .86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line-d); }
.topbar__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-ink); font: 700 20px/1 var(--display); letter-spacing: -.01em; }
.logo img { width: 38px; height: 38px; border-radius: 50%; transform: scale(1.04); box-shadow: 0 0 0 2px rgba(245, 185, 15, .35); }
.topbar__nav { display: flex; gap: 4px; margin-left: auto; }
.topbar__nav a { color: var(--on-ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.topbar__nav a:hover { color: var(--on-ink); background: rgba(244, 241, 232, .07); }
.topbar__cta { flex: none; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; background: var(--ink); color: var(--on-ink); padding: 128px 0 0; overflow: hidden; isolation: isolate; }
.hero__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(620px 420px at 78% 42%, rgba(245, 185, 15, .20), transparent 70%),
    radial-gradient(900px 600px at 10% -10%, rgba(70, 96, 190, .28), transparent 65%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.hero__glow::after { /* grain très léger */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 3px 3px;
  mask-image: linear-gradient(180deg, #000 40%, transparent);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 32px; } }
.hero h1 { font-size: clamp(40px, 4.9vw, 68px); font-weight: 600; letter-spacing: -.025em; line-height: 1.02; }
.hero h1 em { display: block; font-style: italic; font-weight: 500; color: var(--gold); margin-top: .08em; }
.hero__sub { font-size: clamp(18px, 1.6vw, 21px); color: var(--on-ink-2); margin: 26px 0 34px; max-width: 34em; }
.hero__manifesto { margin-top: 28px; font-size: 15px; color: var(--on-ink-2); display: flex; gap: 10px; align-items: center; }
.hero__manifesto::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(63, 203, 139, .18); flex: none; }

/* La scène du hero : Botler apparaît, puis envoie nos réalisations une par une */
.eco { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 640px; margin: 0 auto; }
.eco__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eco__path { fill: none; stroke: rgba(245, 185, 15, .5); stroke-width: 1.4; stroke-dasharray: 4 7; opacity: 0; animation: flow 1.6s linear infinite, fadein .6s ease forwards; animation-delay: 0s, calc(.8s + var(--i) * .8s); }
@keyframes flow { to { stroke-dashoffset: -22; } }
@keyframes fadein { to { opacity: 1; } }
.eco__spark { fill: var(--gold-2); opacity: 0; filter: drop-shadow(0 0 6px rgba(245, 185, 15, .9)); }
.eco__core { position: absolute; left: 50%; top: 50%; width: 19%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 3; animation: corein .7s var(--ease) .1s both; }
@keyframes corein { from { opacity: 0; transform: translate(-50%, -50%) scale(.6); } }
.eco__core img { width: 100%; height: 100%; border-radius: 50%; transform: scale(1.03); box-shadow: 0 0 0 6px rgba(10, 17, 40, .9), 0 0 60px 10px rgba(245, 185, 15, .45); }
.eco__ring { position: absolute; inset: -18%; border-radius: 50%; border: 1.5px solid rgba(245, 185, 15, .45); animation: ring 3s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }

/* Chaque réalisation part du centre (--fx/--fy), à son tour */
.st { position: absolute; z-index: 2; opacity: 0; animation: emit .9s var(--ease) forwards, spot 12s ease-in-out infinite; animation-delay: calc(1s + var(--i) * .8s), calc(4.4s + var(--i) * 3s); }
@keyframes emit { from { opacity: 0; transform: translate(var(--fx), var(--fy)) scale(.35); } to { opacity: 1; transform: none; } }
@keyframes spot { 0%, 25%, 100% { transform: none; } 5%, 20% { transform: translateY(-8px) scale(1.035); } }
.st > figure { box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06); }
.st__cap { position: absolute; left: 10px; bottom: -13px; z-index: 2; display: inline-flex; gap: 6px; align-items: baseline; white-space: nowrap; font-size: 12px; color: var(--on-ink); background: rgba(10, 17, 40, .92); border: 1px solid rgba(245, 185, 15, .4); padding: 5px 10px; border-radius: 99px; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6); }
.st__cap b { color: var(--gold); font-weight: 600; }
.st--0 { left: 0; top: 6%; width: 58%; --fx: 40%; --fy: 50%; }
.st--1 { right: 0; top: 0; width: 29%; --fx: -70%; --fy: 45%; }
.st--2 { left: 7%; top: 50%; width: 21%; --fx: 130%; --fy: -15%; }
.st--3 { right: 0; top: 64%; width: 42%; --fx: -40%; --fy: -30%; }
.st--1 .st__cap { left: auto; right: 10px; }
.st--2 .st__cap { left: 50%; transform: translateX(-50%); }
.st--3 .st__cap { left: auto; right: 12px; bottom: auto; top: -13px; }
.st__cap { font-size: 12.5px; }

/* Capture recadrée (fenêtre d'agent, carte d'appel) */
.frame-card { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.frame-card img { width: 100%; height: auto; }
.frame-card--call { background: #10172f; }

.card-ui { font-size: 12.5px; padding: 12px 14px; }
.eco .bubble { font-size: 12.5px; padding: 7px 11px; }
.eco .mk-dash__chart { height: 34px; }
.eco .mk-dash__kpis b { font-size: 14px; }
.eco .mk-dash__row { font-size: 11px; margin-top: 8px; }

.card-ui { background: rgba(22, 34, 74, .82); border: 1px solid var(--line-d); border-radius: var(--r-md); padding: 14px 16px; box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; color: var(--on-ink); }
.card-ui p { margin-top: 6px; }
.card-ui b { color: var(--gold); }
.card-ui__row { display: flex; align-items: center; gap: 8px; }
.card-ui__row .muted { margin-left: auto; }
.card-ui .muted { color: var(--on-ink-2); font-size: 13px; }
.card-ui .ok { color: var(--ok); display: flex; gap: 6px; align-items: center; font-weight: 600; font-size: 13px; }
.pulse, .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(63, 203, 139, .6); animation: pulse 1.8s infinite; flex: none; }
.dot { background: var(--gold); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(63, 203, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 203, 139, 0); } }
.wave { display: flex; gap: 3px; align-items: center; height: 26px; margin-top: 8px; }
.wave i { flex: 1; background: var(--gold); border-radius: 2px; height: 30%; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.6s; } .wave i:nth-child(4n) { animation-delay: -.8s; }
@keyframes wave { 50% { height: 100%; } }
.bubble { padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.4; max-width: 90%; }
.bubble--in { background: rgba(244, 241, 232, .1); border-bottom-left-radius: 4px; margin-top: 0 !important; }
.bubble--out { background: var(--gold); color: var(--ink); margin-left: auto; border-bottom-right-radius: 4px; font-weight: 500; }

/* Cadres d'écran */
.frame-browser { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .08); }
.frame-browser__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #EDEAE2; }
.frame-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #D3CEC2; }
.frame-browser__bar i:first-child { background: #F08A7E; } .frame-browser__bar i:nth-child(2) { background: #F3C45B; } .frame-browser__bar i:nth-child(3) { background: #7FCB8C; }
.frame-browser__bar span { margin-left: 10px; font-size: 11.5px; color: #4B5170; background: #fff; padding: 3px 10px; border-radius: 6px; flex: 1; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame-browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.frame-phone { margin: 0; border-radius: 30px; padding: 7px; background: #0B0F1E; box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, .14); }
.frame-phone img { width: 100%; height: auto; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border-radius: 24px; }

/* Bandeau qui défile : nos clients, chacun dans son format (site, agent, app) */
/* Bandeau : les noms des clients en ligne, sobre (choix du 01/10). */
.ticker { margin-top: 64px; padding: 26px 0 52px; }
.ticker__lead { text-align: center; color: var(--on-ink-2); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.ticker__lead b { color: var(--gold); font-weight: 600; }
.ticker__mask { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ticker__track { display: flex; align-items: center; width: max-content; margin: 0; padding: 0; list-style: none; animation: tick 70s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.nm { display: flex; align-items: center; padding: 0 34px; }
.nm__in { text-align: center; }
.nm__name { display: block; font: 600 clamp(24px, 3vw, 34px)/1.1 var(--display); color: var(--on-ink); white-space: nowrap; }
.nm__name--sans { font-family: var(--body); font-weight: 700; letter-spacing: -.02em; }
.nm__name--it { font-style: italic; font-weight: 500; }
.nm__name--caps { font-family: var(--body); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: clamp(18px, 2.2vw, 26px); }
.nm__what { display: block; margin-top: 6px; font-size: 13px; color: var(--on-ink-2); white-space: nowrap; }
.nm__star { color: var(--gold); font-size: 16px; padding-left: 34px; opacity: .8; }

/* ── Botler en direct ────────────────────────────────────── */
.botler { background: linear-gradient(180deg, var(--ink-2), var(--ink)); color: var(--on-ink); padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.botler::before { content: ""; position: absolute; width: 700px; height: 700px; left: -200px; bottom: -300px; background: radial-gradient(circle, rgba(245, 185, 15, .13), transparent 65%); pointer-events: none; }
.botler__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; position: relative; }
@media (min-width: 960px) { .botler__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; } }
.botler h2 { color: var(--on-ink); }
.botler__id { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
/* Le majordome animé (sprites superposés ; un seul visible à la fois). */
.face { position: relative; width: min(260px, 62vw); aspect-ratio: 1; margin-top: 36px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px rgba(245, 185, 15, .55), 0 30px 70px -30px rgba(0, 0, 0, .8); background: #0D182C; }
.face__move { position: absolute; inset: 0; transform-origin: 50% 85%; animation: face-breath 4.2s ease-in-out infinite; transition: transform .32s ease-out; }
.face__spr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.face__spr.is-on { opacity: 1; }
/* Les réponses de Botler gardent leurs retours à la ligne (listes de prix). */
.msg--bot { white-space: pre-line; }
/* Une fois l'échange lancé avec l'agent, les questions toutes prêtes s'effacent (le champ reste à portée). */
#agent-slot.is-talking .chat__starters { display: none; }
/* La pastille flottante du moteur vocal est masquée : la voix se pilote depuis notre bouton. */
.vrp-root { display: none !important; }
@keyframes face-breath { 0%, 100% { scale: 1; } 50% { scale: 1.008; translate: 0 -1px; } }
@media (prefers-reduced-motion: reduce) { .face__move { animation: none; transition: none; } }
@media (max-width: 860px) { .face { width: 180px; margin-top: 24px; } }
.botler__id strong { display: block; font: 600 22px/1.2 var(--display); }
.avatar { display: inline-block; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 2px rgba(245, 185, 15, .5); }
.avatar img { width: 100%; height: 100%; transform: scale(1.04); }
.avatar--lg { width: 76px; height: 76px; }
.avatar--xl { width: 110px; height: 110px; box-shadow: 0 0 0 3px var(--gold), 0 0 70px rgba(245, 185, 15, .45); }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--on-ink-2); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 1.8s infinite; }

.chat { background: rgba(244, 241, 232, .04); border: 1px solid var(--line-d); border-radius: var(--r-lg); box-shadow: var(--shadow); display: flex; flex-direction: column; min-height: 560px; overflow: hidden; backdrop-filter: blur(6px); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line-d); }
.chat__head strong { display: block; font-size: 16px; }
.chat__voice { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; background: rgba(245, 185, 15, .12); color: var(--gold); border: 1px solid rgba(245, 185, 15, .4); border-radius: 999px; padding: 10px 16px; font: 600 14px/1 var(--body); cursor: pointer; transition: background .2s; }
.chat__voice:hover { background: rgba(245, 185, 15, .22); }
/* En communication : or plein, y compris au survol (la souris reste sur le bouton après le clic). */
.chat__voice.is-live, .chat__voice.is-live:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.chat__log { flex: 1; padding: 24px 20px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; max-height: 440px; }
.msg { max-width: 86%; padding: 14px 18px; border-radius: 20px; font-size: 16px; line-height: 1.55; animation: pop .45s var(--ease) both; }
.msg--bot { background: rgba(244, 241, 232, .08); border-bottom-left-radius: 6px; }
.msg--me { background: var(--gold); color: var(--ink); margin-left: auto; border-bottom-right-radius: 6px; font-weight: 500; }
.msg a { color: var(--gold); font-weight: 600; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; }
.msg--typing { display: inline-flex; gap: 5px; padding: 16px 18px; width: max-content; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--on-ink-2); animation: blink 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .2s; } .msg--typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.chat__starters { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 16px; }
.starter { font: 500 14.5px/1.35 var(--body); color: var(--on-ink); text-align: left; background: transparent; border: 1px solid rgba(245, 185, 15, .45); border-radius: 14px; padding: 10px 14px; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.starter:hover { background: rgba(245, 185, 15, .12); border-color: var(--gold); transform: translateY(-1px); }
.starter[disabled] { opacity: .45; cursor: default; transform: none; }
html:not(.js) .chat__form, html:not(.js) .chat__starters, html:not(.js) .launcher, html:not(.js) [data-voice], html:not(.js) [data-open-write] { display: none; }
.chat__form { display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--line-d); }
.chat__form input { flex: 1; min-width: 0; background: rgba(244, 241, 232, .07); border: 1px solid var(--line-d); color: var(--on-ink); border-radius: 999px; padding: 14px 18px; font: 400 16px var(--body); }
.chat__form input::placeholder { color: var(--on-ink-2); }
.chat__form input:focus { outline: none; border-color: var(--gold); }
.chat__send { width: 50px; height: 50px; flex: none; border-radius: 50%; border: 0; background: var(--gold); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.chat__send .ico { width: 20px; height: 20px; }
/* Mode relecture interne (?slot=1) : on voit la zone que l'agent de Yacine remplacera */
.show-slots [data-agent-slot], .show-slots [data-booking-slot] { outline: 2px dashed var(--gold); outline-offset: 8px; position: relative; }
.show-slots [data-agent-slot]::after { content: "Zone agent Botler — à brancher par Yacine (#agent-slot)"; position: absolute; top: -34px; left: 0; font: 600 12px var(--body); color: var(--ink); background: var(--gold); padding: 4px 10px; border-radius: 6px; }

/* ── Ce qu'on sait faire ─────────────────────────────────── */
.families { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); }
.fam-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(40px, 6vw, 80px); }
.fam-tabs a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 18px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-soft); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.fam-tabs a:hover { transform: translateY(-2px); border-color: var(--text); }
.fam-tabs span { font: 600 13px var(--display); color: var(--gold-ink); }
.fam { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
@media (min-width: 960px) {
  .fam { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 72px; }
  .fam--r .fam__copy { order: 2; }
}
.fam__n { font: italic 500 18px var(--display); color: var(--gold-ink); margin-bottom: 10px; }
.fam h3 { font-size: clamp(28px, 3.2vw, 40px); }
.fam__line { font-size: 19px; color: var(--text-2); margin: 14px 0 24px; max-width: 40ch; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { color: var(--gold-ink); margin-top: .25em; }
.prods { display: grid; gap: 10px; margin-top: 28px; }
.prod { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 14px 14px 18px; }
.prod strong { display: block; font-size: 16px; }
.prod span { display: block; font-size: 14.5px; color: var(--text-2); line-height: 1.4; margin-top: 2px; }
.fam__visual { position: relative; min-height: 380px; }
.fv { position: absolute; transition: transform .6s var(--ease); }
.fam__visual .fv--0 { left: 0; top: 6%; width: 78%; z-index: 1; }
.fam__visual .fv--1 { right: 0; bottom: 0; width: 58%; z-index: 2; }
.fam__visual .fv--2 { right: 4%; top: 0; width: 24%; z-index: 3; }
.fam__visual .fv--1:has(.frame-phone) { width: 26%; right: 6%; bottom: -4%; }
.fam__visual .fv--0:has(.frame-phone) { width: 30%; left: 4%; top: 0; }
.fam:hover .fv--0 { transform: translate(-6px, -6px) rotate(-.6deg); }
.fam:hover .fv--1 { transform: translate(6px, 6px); }
.fam:hover .fv--2 { transform: translateY(-10px) rotate(1.5deg); }
.fam__visual.fam__visual--apps .fv.fv--1 { width: 64%; right: 0; bottom: 4%; }
.fam__visual--apps .fv--2 { right: auto; left: 32%; top: 10%; width: 25%; }
@media (min-width: 960px) { .fam__visual { min-height: 480px; } }

.aio { margin-top: clamp(40px, 5vw, 64px); background: var(--ink); color: var(--on-ink); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; overflow: hidden; position: relative; }
@media (min-width: 900px) { .aio { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.aio h3 { font-size: clamp(26px, 2.8vw, 36px); }
.aio p { color: var(--on-ink-2); margin-top: 14px; }
.aio__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.aio__tags li { font-size: 14px; font-weight: 600; padding: 7px 14px; border: 1px solid var(--line-d); border-radius: 999px; }
.aio__demo { background: rgba(244, 241, 232, .05); border: 1px solid var(--line-d); border-radius: var(--r-md); padding: 20px; position: relative; }
.aio__q { background: rgba(244, 241, 232, .1); border-radius: 14px; padding: 12px 16px; margin: 0 0 14px auto !important; width: max-content; max-width: 100%; color: var(--on-ink) !important; font-size: 15px; }
.aio__a { display: flex; gap: 12px; }
.aio__a p { margin: 0 !important; font-size: 15px; color: var(--on-ink) !important; }
.aio__spark { color: var(--gold); font-size: 20px; line-height: 1.2; }
.aio mark { background: rgba(245, 185, 15, .22); color: var(--gold-2); padding: 0 4px; border-radius: 4px; font-weight: 600; }
.aio__note { position: absolute; right: 14px; bottom: 10px; margin: 0 !important; font-size: 12px !important; letter-spacing: .08em; text-transform: uppercase; }

/* ── Réalisations ────────────────────────────────────────── */
.works { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper-2); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { font: 600 15px/1 var(--body); padding: 12px 18px; border-radius: 999px; border: 1.5px solid rgba(20, 26, 48, .2); background: transparent; color: var(--text); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.works__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; grid-auto-flow: dense; }
@media (min-width: 720px) { .works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .works__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.work { background: var(--card); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.work[hidden] { display: none; }
.work__visual { position: relative; padding: 22px 22px 0; background: linear-gradient(160deg, var(--ink-3), var(--ink)); }
.work__visual .frame-browser { border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: 0 -10px 40px -20px rgba(0, 0, 0, .5); transition: transform .5s var(--ease); }
.work:hover .work__visual .frame-browser { transform: translateY(-4px); }
.work__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work__sector { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.work h3 { font-size: 24px; }
.work__body > p:not(.work__sector) { color: var(--text-2); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tags li { font-size: 13px; font-weight: 500; padding: 5px 10px; border-radius: 8px; background: var(--paper); color: var(--text); }
.work__link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (min-width: 1100px) {
  .work--featured { grid-column: span 2; flex-direction: row; }
  .work--featured .work__visual { flex: 1.4; padding: 32px 90px 0 32px; }
  .work--featured .work__body { flex: 1; padding: 36px 32px; justify-content: center; }
  .work--featured h3 { font-size: 32px; }
  .work--featured .work__phone { position: absolute; right: 22px; bottom: -30px; width: 26%; transition: transform .5s var(--ease); }
  .work--featured:hover .work__phone { transform: translateY(-10px) rotate(2deg); }
}
.work__phone { display: none; }
@media (min-width: 1100px) { .work--featured .work__phone { display: block; } }

/* ── Méthode ─────────────────────────────────────────────── */
.method { padding: clamp(80px, 10vw, 130px) 0; background: var(--paper); }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; position: relative; }
.steps__n { font: italic 600 64px/1 var(--display); color: var(--gold-ink); display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: rgba(245, 185, 15, .18); margin-bottom: 18px; }
.steps h3 { font-size: 24px; margin-bottom: 10px; }
.steps p { color: var(--text-2); }

/* ── Ce que nos agents ne font jamais ────────────────────── */
.never { background: var(--ink); color: var(--on-ink); padding: clamp(80px, 10vw, 130px) 0; }
.never__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 960px) { .never__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; } .never__grid > div { position: sticky; top: 120px; } }
.never h2 { color: var(--on-ink); margin-bottom: 32px; }
.never__list { display: grid; gap: 14px; }
.never__list li { display: flex; gap: 18px; padding: 24px; border: 1px solid var(--line-d); border-radius: var(--r-md); background: rgba(244, 241, 232, .03); }
.never__x { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(245, 185, 15, .12); color: var(--gold); flex: none; }
.never__list h3 { font-size: 22px; margin-bottom: 6px; }
.never__list p { color: var(--on-ink-2); }

/* ── Rendez-vous ─────────────────────────────────────────── */
.booking { padding: clamp(80px, 10vw, 130px) 0; background: var(--paper); }
.booking__card { background: var(--card); border: 1px solid var(--line); border-radius: 34px; box-shadow: var(--shadow-soft); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; max-width: 1180px; }
@media (min-width: 900px) { .booking__card { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.booking .ticks { margin-top: 26px; }
.booking__slot { display: flex; justify-content: center; }
.todo-slot { width: 100%; border: 2px dashed rgba(122, 82, 0, .45); border-radius: var(--r-lg); padding: 36px 28px; text-align: center; display: grid; justify-items: center; gap: 10px; background: #FFFBEF; }
.todo-slot > .ico { width: 40px; height: 40px; color: var(--gold-ink); }
.todo-slot p { color: var(--text-2); }
.todo-slot strong { color: var(--text); font-size: 18px; }
.todo-slot .btn { margin-top: 10px; }

/* ── Données ─────────────────────────────────────────────── */
.data { padding: 0 0 clamp(80px, 10vw, 130px); background: var(--paper); }
.data__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 860px) { .data__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.data__item { padding: 28px 0 0; border-top: 2px solid var(--text); }
.data__item h3 { font-size: 22px; margin-bottom: 8px; }
.data__item p { color: var(--text-2); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { padding: clamp(80px, 10vw, 130px) 0; background: var(--paper-2); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; } }
.faq details { border-bottom: 1px solid rgba(20, 26, 48, .18); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font: 600 clamp(18px, 1.7vw, 21px)/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--text); position: relative; flex: none; transition: transform .3s var(--ease), background .3s; }
.faq summary span::before, .faq summary span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; background: var(--text); transform: translate(-50%, -50%); }
.faq summary span::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq details[open] summary span { background: var(--gold); border-color: var(--gold); }
.faq details[open] summary span::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { padding: 0 50px 26px 0; color: var(--text-2); }

/* ── CTA final ───────────────────────────────────────────── */
.final { background: var(--ink); color: var(--on-ink); padding: clamp(90px, 12vw, 160px) 0; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 0; width: 900px; height: 600px; transform: translate(-50%, -40%); background: radial-gradient(closest-side, rgba(245, 185, 15, .22), transparent); pointer-events: none; }
.final__inner { position: relative; display: grid; justify-items: center; gap: 20px; }
.final h2 { color: var(--on-ink); max-width: 16ch; margin-top: 16px; }
.final .lead { margin: 0 0 16px; }
.final .cta-duo { justify-content: center; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: #070C1D; color: var(--on-ink-2); padding: 64px 0 110px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }
.footer__brand p { margin-top: 14px; }
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer nav a { text-decoration: none; color: var(--on-ink-2); }
.footer nav a:hover { color: var(--on-ink); }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-d); font-size: 14px; }

/* ── Barre de CTA mobile ─────────────────────────────────── */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: none; gap: 8px; padding: 8px; background: rgba(10, 17, 40, .92); border: 1px solid var(--line-d); border-radius: 999px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow); transform: translateY(140%); transition: transform .4s var(--ease); }
.dock.is-on { transform: none; }
.dock .btn { padding: 14px 18px; font-size: 15px; }
.dock .btn--gold { flex: 1; }

/* ── Apparitions au scroll ───────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ── Mobile ──────────────────────────────────────────────── */
/* Sous 1000 px, le visuel garde sa composition desktop et se réduit d'un bloc */
@media (max-width: 999px) {
  .hero { padding-top: 108px; }
  .eco { width: 640px; max-width: none; zoom: .78; margin-bottom: 40px; }
}
@media (max-width: 560px) { .eco { zoom: .62; } }
@media (max-width: 420px) { .eco { zoom: .55; } }
@media (max-width: 370px) { .eco { zoom: .5; } }
@media (max-width: 860px) {
  .topbar__nav { display: none; }
  .topbar__cta { margin-left: auto; }
  .lang { margin-left: auto; } .lang + .topbar__cta { margin-left: 0; }
  .dock { display: flex; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cta-duo .btn { flex: 1 1 100%; }
  .fam-tabs { display: none; }
  .card-ui { font-size: 12.5px; padding: 10px 12px; }
  .bubble { font-size: 12.5px; padding: 7px 10px; }
  .wave { height: 18px; }
  .ticker { margin-top: 48px; }
  .ticker__item { width: 120px; }
  .chat { min-height: 520px; }
  .msg { max-width: 94%; font-size: 15.5px; }
  .chat__voice span { display: none; }
  .chat__voice { min-width: 44px; min-height: 44px; justify-content: center; padding: 10px; }
  .chat__voice { padding: 10px 12px; }
  .prod { flex-direction: column; align-items: flex-start; }
  .fam__visual { min-height: 290px; }
  .faq details p { padding-right: 0; }
  .topbar__cta { padding: 10px 14px; font-size: 14px; }
  .logo span { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .st, .eco__path, .eco__core { opacity: 1 !important; }
  .eco__spark, .bx__spark { display: none; }
}

/* ── Pages légales ───────────────────────────────────────── */
.legal-page { background: var(--paper); }
.legal { padding-top: 130px; padding-bottom: 90px; max-width: 780px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 32px; }
.legal h2 { font-size: 24px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--text-2); margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--text); }


/* ── Maquettes animées (une par métier) ─────────────────── */
.mk { font-family: var(--body); }
.mk-site { background: #fff; color: #1d1a16; }
.mk-site__body { padding: 10px 12px 12px; background: #FBF7F1; }
.mk-site__nav { display: flex; align-items: center; gap: 8px; font-size: 10px; }
.mk-site__nav b { font: italic 600 12px var(--display); margin-right: auto; }
.mk-site__nav span { width: 22px; height: 4px; border-radius: 2px; background: #D9D1C4; }
.mk-site__nav em { font-style: normal; font-weight: 600; display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.mk-badge { font-style: normal; background: #C2410C; color: #fff; border-radius: 99px; font-size: 9px; padding: 1px 5px; animation: bump 3.2s infinite; }
@keyframes bump { 0%, 70%, 100% { transform: scale(1); } 76% { transform: scale(1.5); } 84% { transform: scale(.9); } }
.mk-site__hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; align-items: center; margin: 12px 0; }
.mk-h { font: 600 15px/1.1 var(--display); color: #1d1a16; }
.mk-btn { display: block; width: 58px; height: 14px; border-radius: 99px; background: #C2410C; margin-top: 8px; }
.mk-site__img { aspect-ratio: 16 / 10; border-radius: 8px; background: radial-gradient(circle at 35% 40%, #F6C97A, #D98A3A 45%, #7C3A12); position: relative; overflow: hidden; }
.mk-site__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-100%); animation: shine 4s ease-in-out infinite; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }
.mk-site__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.mk-card { background: #fff; border-radius: 7px; padding: 5px; font-size: 9px; box-shadow: 0 2px 6px rgba(0,0,0,.06); animation: rise 6s var(--ease) infinite; animation-delay: var(--d); }
@keyframes rise { 0%, 100% { transform: translateY(0); } 10% { transform: translateY(-3px); } 20% { transform: translateY(0); } }
.mk-card p { font-weight: 600; margin-top: 4px; }
.mk-card__img { aspect-ratio: 4 / 3; border-radius: 5px; background: linear-gradient(160deg, #EBD9BF, #C9A57A); }
.mk-card__img--1 { background: linear-gradient(160deg, #D8E3D0, #7E9C6E); }
.mk-card__img--2 { background: linear-gradient(160deg, #E2D3E6, #9C7BA6); }
.mk-card__row { display: flex; justify-content: space-between; align-items: center; margin-top: 3px; }
.mk-add { font-size: 8px; font-weight: 600; padding: 2px 5px; border-radius: 99px; border: 1px solid #C2410C; color: #C2410C; }
.mk-add.is-hot { animation: hot 3.2s infinite; }
@keyframes hot { 0%, 60%, 100% { background: transparent; color: #C2410C; } 66%, 80% { background: #C2410C; color: #fff; } }

.mk-app { padding: 6px; }
.mk-app__screen { position: relative; aspect-ratio: 9 / 19.5; border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #0F4C5C, #0B3440 45%, #F4F1EA 45%); padding: 10px 10px 0; color: #fff; font-size: 9px; }
.mk-app__status { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 8px; opacity: .9; }
.mk-app__notch { width: 34%; height: 12px; border-radius: 99px; background: #000; }
.mk-app__hello { font: 600 15px var(--display); margin-top: 14px; }
.mk-app__sub { opacity: .75; margin-top: 2px; }
.mk-app__hero { margin-top: 10px; height: 22%; border-radius: 12px; background: linear-gradient(135deg, #F5B90F, #E0732A); position: relative; overflow: hidden; }
.mk-app__hero span { position: absolute; left: 10px; bottom: 10px; width: 50%; height: 8px; border-radius: 4px; background: rgba(255,255,255,.8); box-shadow: 0 -12px 0 rgba(255,255,255,.5); }
.mk-app__list { height: 32%; overflow: hidden; margin-top: 12px; mask-image: linear-gradient(180deg, #000 75%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent); }
.mk-app__scroll { animation: appscroll 9s linear infinite; }
@keyframes appscroll { to { transform: translateY(-50%); } }
.mk-app__row { display: flex; gap: 8px; align-items: center; background: #fff; color: #14202A; border-radius: 10px; padding: 8px; margin-bottom: 6px; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.mk-app__row b { color: #0F4C5C; font-size: 9px; }
.mk-app__fab { position: absolute; right: 10px; bottom: 44px; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(245,185,15,.6); animation: pulse 2s infinite; }
.mk-app__nav { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; background: #fff; color: #7A8590; padding: 7px 0 9px; font-size: 7.5px; }
.mk-app__nav span { display: grid; justify-items: center; gap: 3px; }
.mk-app__nav i { width: 12px; height: 12px; border-radius: 4px; background: currentColor; opacity: .5; }
.mk-app__nav .on { color: #0F4C5C; font-weight: 600; }
.mk-app__nav .on i { opacity: 1; }

.mk-chat { display: flex; flex-direction: column; gap: 6px; }
.mk-chat .bubble { margin: 0 !important; opacity: 0; animation: chatloop 10s infinite; }
.mk-b1 { animation-delay: 0s !important; } .mk-b2 { animation-delay: 1.2s !important; } .mk-b3 { animation-delay: 2.6s !important; } .mk-b4 { animation-delay: 3.6s !important; }
@keyframes chatloop { 0% { opacity: 0; transform: translateY(6px); } 5%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; } }

.mk-dash .mk-live { display: inline-flex; align-items: center; gap: 5px; }
.mk-dash__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.mk-dash__kpis div { background: rgba(244,241,232,.06); border-radius: 8px; padding: 6px 8px; }
.mk-dash__kpis span { display: block; font-size: 10px; color: var(--on-ink-2); }
.mk-dash__kpis b { font: 600 16px var(--display); color: var(--on-ink); }
.mk-dash__chart { display: flex; align-items: flex-end; gap: 5px; height: 48px; margin-top: 10px; }
.mk-dash__chart i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--gold), rgba(245,185,15,.35)); animation: grow 3.6s ease-in-out infinite; }
.mk-dash__chart i:nth-child(1) { height: 35%; } .mk-dash__chart i:nth-child(2) { height: 55%; animation-delay: -.4s; } .mk-dash__chart i:nth-child(3) { height: 42%; animation-delay: -.8s; }
.mk-dash__chart i:nth-child(4) { height: 70%; animation-delay: -1.2s; } .mk-dash__chart i:nth-child(5) { height: 60%; animation-delay: -1.6s; } .mk-dash__chart i:nth-child(6) { height: 82%; animation-delay: -2s; }
.mk-dash__chart i:nth-child(7) { height: 74%; animation-delay: -2.4s; } .mk-dash__chart i:nth-child(8) { height: 90%; animation-delay: -2.8s; } .mk-dash__chart i:nth-child(9) { height: 100%; animation-delay: -3.2s; }
@keyframes grow { 50% { transform: scaleY(.75); } }
.mk-dash__chart i { transform-origin: bottom; }
.mk-dash__row { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 12px; padding: 7px 9px; border-radius: 8px; background: rgba(245,185,15,.12); animation: slidein 5s var(--ease) infinite; }
@keyframes slidein { 0% { opacity: 0; transform: translateX(-10px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.mk-crm__row { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px; border-radius: 10px; background: rgba(244,241,232,.05); animation: slidein 6s var(--ease) infinite; animation-delay: var(--d); }
.mk-crm__row div { flex: 1; min-width: 0; }
.mk-crm__row b { display: block; font-size: 13px; }
.mk-crm__row span:not(.mk-crm__av) { display: block; font-size: 11.5px; color: var(--on-ink-2); }
.mk-crm__av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); color: var(--gold); font-weight: 700; font-size: 12px; flex: none; }
.mk-crm__s { font-style: normal; font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: rgba(245,185,15,.18); color: var(--gold-2); white-space: nowrap; }
.mk-crm__s--1 { background: rgba(122,160,255,.18); color: #B9CBFF; }
.mk-crm__s--2 { background: rgba(63,203,139,.18); color: #8BE3B9; }

.mk-brand { display: flex; align-items: center; gap: 12px; }
.mk-brand__disc { width: 58px; height: 58px; flex: none; border-radius: 50%; background: repeating-radial-gradient(circle, #111 0 2px, #1E1E1E 2px 4px); display: grid; place-items: center; animation: spin 4s linear infinite; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.mk-brand__disc span { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle, #0A1128 0 18%, #C2410C 20%); }
@keyframes spin { to { transform: rotate(360deg); } }
.mk-brand__txt { min-width: 0; }
.mk-brand__txt b { display: block; font: italic 600 14px/1.2 var(--display); color: var(--on-ink); }
.mk-brand__txt .muted { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.mk-brand__by { display: block; font-size: 11px; color: var(--gold); margin-top: 2px; }
.mk-brand__eq { display: flex; gap: 2px; align-items: flex-end; height: 14px; margin-top: 6px; }
.mk-brand__eq i { width: 3px; background: var(--gold); border-radius: 1px; height: 30%; animation: wave 1s ease-in-out infinite; }
.mk-brand__eq i:nth-child(2n) { animation-delay: -.3s; } .mk-brand__eq i:nth-child(3n) { animation-delay: -.6s; }

/* Maquettes dans les blocs « métiers » : un peu plus grandes */
.fam__visual .mk.card-ui { font-size: 14px; padding: 18px 20px; }
.fam__visual.fam__visual--apps .fv.fv--0 { left: 12%; top: 0; width: 33%; }
.fam__visual.fam__visual--apps .fv.fv--1 { right: 12%; left: auto; top: 8%; bottom: auto; width: 33%; }
.fam__visual--plateformes .fv--0 { left: 0; top: 4%; width: 70%; }
.fam__visual--plateformes .fv--1 { right: 0; bottom: 2%; width: 56%; }
.fam__visual--standard .fv--1 { width: 50%; right: 2%; bottom: 6%; }

/* ── Méthode : les étapes, puis la preuve réelle ─────────── */
.method .steps li { display: flex; gap: 20px; align-items: flex-start; padding: 24px; }
.method .steps li.is-featured { border: 2px solid var(--gold); box-shadow: 0 20px 50px -24px rgba(245,185,15,.55); background: #FFFBEF; }
.method .steps__n { width: 60px; height: 60px; font-size: 36px; flex: none; margin: 0; }
.proof { margin: clamp(32px, 4vw, 48px) 0 0; background: var(--ink); color: var(--on-ink); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 44px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.proof::before { content: ""; position: absolute; right: -140px; top: -160px; width: 420px; height: 420px; background: radial-gradient(closest-side, rgba(245,185,15,.22), transparent); pointer-events: none; }
.proof__title { position: relative; font: 600 clamp(22px, 2.4vw, 30px)/1.2 var(--display); margin-bottom: 24px; }
.proof__pair { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; }
@media (min-width: 860px) { .proof__pair { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; } }
.proof__label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-2); margin-bottom: 12px; }
.proof__step.is-now .proof__label { color: var(--gold); }
.proof__text { margin-top: 12px; color: var(--on-ink-2); font-size: 15.5px; }
.proof__step.is-now .frame-browser { box-shadow: 0 0 0 2px var(--gold), var(--shadow); }
.proof__arrow { display: grid; justify-items: center; gap: 6px; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.proof__arrow .ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: rgba(245,185,15,.14); }
@media (max-width: 859px) { .proof__arrow .ico { transform: rotate(90deg); } }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(63, 203, 139, .18); flex: none; display: inline-block; }
.contrast { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; text-align: center; }
.contrast__usual { color: var(--text-2); text-decoration: line-through; text-decoration-color: rgba(75,81,112,.5); font-size: 18px; }
.contrast__ours { font: 600 clamp(20px, 2.2vw, 26px) var(--display); color: var(--text); }
.section-cta { gap: 12px; flex-wrap: wrap; }
.prods__label { margin-top: 28px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.prods__label + .prods { margin-top: 10px; }
.topbar__nav a[aria-current="page"] { color: var(--on-ink); background: rgba(244,241,232,.1); }

/* ── Page Tarifs ─────────────────────────────────────────── */
.p-hero { position: relative; background: var(--ink); color: var(--on-ink); padding: 150px 0 70px; overflow: hidden; isolation: isolate; }
.p-hero h1 { font-size: clamp(40px, 5.4vw, 68px); max-width: 16ch; }
.p-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.p-jump a { color: var(--on-ink); text-decoration: none; font-size: 15px; font-weight: 600; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line-d); transition: background .2s, border-color .2s; }
.p-jump a:hover { background: rgba(244,241,232,.08); border-color: var(--gold); }
.p-body { background: var(--paper); padding: 40px 0 90px; }
.p-group { padding: 56px 0 8px; }
.p-group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 24px; }
.p-group__head h2 { font-size: clamp(28px, 3vw, 38px); }
.p-group__head p { color: var(--text-2); }
.p-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 700px) { .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .p-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .p-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.p-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; transition: transform .3s var(--ease), box-shadow .3s; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.p-card.is-featured { border: 2px solid var(--gold); background: #FFFBEF; }
.p-card h3 { font-size: 22px; }
.p-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.p-price b { font: 600 clamp(34px, 3.2vw, 42px)/1 var(--display); letter-spacing: -.02em; }
.p-price span { color: var(--text-2); font-size: 15px; }
.p-note { font-size: 14.5px; color: var(--gold-ink); font-weight: 600; }
.p-card .ticks { font-size: 15.5px; margin-bottom: 8px; }
.p-plus { font-weight: 600; font-size: 14.5px; color: var(--text-2); }
.p-card .btn { margin-top: auto; align-self: flex-start; }
.p-included { margin-top: 64px; background: var(--ink); color: var(--on-ink); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); display: grid; gap: 22px; }
.p-included h2 { font-size: clamp(24px, 2.6vw, 32px); color: var(--on-ink); }
.p-included ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 800px) { .p-included ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.p-included li { display: flex; gap: 10px; align-items: flex-start; color: var(--on-ink-2); }
.p-included .ico { color: var(--gold); margin-top: .2em; }
.p-foot { margin-top: 24px; font-size: 14.5px; color: var(--text-2); max-width: 80ch; }
.p-grid.p-grid--1 { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
@media (min-width: 700px) { .p-grid--1 .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } }

/* ── Réalisations : études de cas ────────────────────────── */
.cases { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.case { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.case__stage { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: radial-gradient(120% 90% at 20% 0%, var(--ink-3), var(--ink) 70%); padding: 32px 32px 0; }
.case__browser { width: 84%; border-bottom-left-radius: 0; border-bottom-right-radius: 0; transition: transform .5s var(--ease); }
.case__phone { position: absolute; right: 26px; top: 26%; width: 23%; transition: transform .5s var(--ease); }
.case:hover .case__browser { transform: translateY(-4px); }
.case:hover .case__phone { transform: translateY(-10px) rotate(2deg); }
.case--phones .case__stage { display: flex; justify-content: center; align-items: flex-start; gap: 6%; padding-top: 36px; }
.case__ph { width: 32%; flex: none; transition: transform .5s var(--ease); }
.case__ph--0 { transform: rotate(-3deg); } .case__ph--1 { transform: rotate(3deg) translateY(24px); }
.case:hover .case__ph--0 { transform: rotate(-4deg) translateY(-6px); } .case:hover .case__ph--1 { transform: rotate(4deg) translateY(14px); }
.case__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case__sector { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.case h3 { font-size: clamp(24px, 2.4vw, 30px); }
.case__body > p:not(.case__sector):not(.case__link) { color: var(--text-2); font-size: 16px; }
.case__link { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.case__link--off { text-decoration: none; color: var(--text-2); }
@media (min-width: 900px) {
  .case--featured { grid-column: 1 / -1; flex-direction: row; }
  .case--featured .case__stage { flex: 1.5; aspect-ratio: auto; min-height: 460px; padding: 44px 44px 0; }
  .case--featured .case__body { flex: 1; padding: 44px 40px; justify-content: center; }
  .case--featured .case__phone { top: 22%; width: 22%; }
}
@media (max-width: 600px) { .case__stage { padding: 22px 22px 0; } .case__phone { right: 14px; } }

/* Légende sous les visuels des familles */
.fam__cap { position: absolute; left: 0; right: 0; bottom: -40px; font-size: 14px; color: var(--text-2); text-align: center; }

/* Agents et marques : le site, puis deux téléphones côte à côte */
.fam__visual.fam__visual--agents .fv.fv--0, .fam__visual.fam__visual--marques .fv.fv--0 { left: 0; top: 12%; width: 70%; }
.fam__visual.fam__visual--agents .fv.fv--1, .fam__visual.fam__visual--marques .fv.fv--1 { width: 25%; left: auto; right: 28%; top: auto; bottom: 0; }
.fam__visual.fam__visual--agents .fv.fv--2, .fam__visual.fam__visual--marques .fv.fv--2 { width: 25%; left: auto; right: 0; top: 0; }

/* ─── Réalisations : actions de carte + page /realisations/ ─── */
.case__actions { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; }
.case__actions .case__link { margin-top: 0; padding-top: 0; }
.works--page { background: var(--paper); padding: 24px 0 96px; }
.r-group { padding: 56px 0 8px; scroll-margin-top: 90px; }
.r-cta { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 22px 26px; border-radius: var(--r-md); background: var(--paper-2); border: 1px solid var(--line); }
.r-cta p { color: var(--text-2); max-width: 60ch; }
.r-cta b { color: var(--text); }
.r-try { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 760px) { .r-try { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.r-try__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.r-try__card h3 { font-size: 24px; }
.r-try__card > p:not(.case__sector) { color: var(--text-2); font-size: 16px; }
.p-jump__n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 6px; border-radius: 99px; background: rgba(245, 185, 15, .18); color: var(--gold); font-size: 12px; }
.p-hero .cta-duo { margin-top: 28px; }

/* ─── Sélecteur de langue ─── */
.lang { position: relative; }
.topbar__in { gap: 18px; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 8px 10px; border-radius: 99px; color: var(--on-ink); font: 600 13px/1 var(--body); letter-spacing: .04em; border: 1px solid var(--line-d); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { border-color: var(--gold); }
.lang summary .ico { width: 16px; height: 16px; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; margin: 0; padding: 6px; list-style: none; min-width: 168px; background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 14px; box-shadow: var(--shadow); }
.lang a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--on-ink); text-decoration: none; font-size: 15px; }
.lang a:hover { background: rgba(244, 241, 232, .08); }
.lang a[aria-current] { color: var(--gold); font-weight: 600; }
.topbar .logo { flex: none; }
@media (max-width: 520px) {
  .topbar__in { gap: 10px; }
  .lang summary { padding: 8px; } .lang summary span { display: none; }
  .topbar__cta { padding: 9px 12px; font-size: 13px; }
}
@media (max-width: 370px) { .topbar .logo span { display: none; } }

/* ─── Hero : 5 briques, une par une, puis reliées (choix du 01/10) ───
   Sans JS (ou mouvement réduit) : état final, tout visible et relié. */
.bx__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bx__ring { fill: none; stroke: rgba(245, 185, 15, .6); stroke-width: 1.6; stroke-dasharray: 1300; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease), opacity .6s; }
.bx__spark { fill: var(--gold-2); filter: drop-shadow(0 0 6px rgba(245, 185, 15, .9)); transition: opacity .6s; }
.bx__t { position: absolute; width: 31%; transform: translate(-50%, -50%); z-index: 2; padding: 9px 9px 10px; border-radius: 18px; background: var(--ink-3); border: 1px solid var(--line-d); box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .85); transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .4s, box-shadow .4s; }
.bx__ui { height: 104px; border-radius: 11px; background: #F4F1E8; overflow: hidden; position: relative; }
.bx__label { margin-top: 9px; display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--on-ink); line-height: 1.2; }
.bx__label::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--gold); }
.bx__center { position: absolute; left: 50%; top: 52%; width: 40%; transform: translate(-50%, -50%); text-align: center; z-index: 1; display: grid; }
.bx__center > * { grid-area: 1 / 1; align-self: center; }
.bx__line { font: 500 19px/1.35 var(--display); color: var(--on-ink); opacity: 0; transition: opacity .2s, transform .2s; transform: translateY(6px); }
.bx__together { font: 600 30px/1.15 var(--display); color: var(--on-ink); transition: opacity .2s, transform .2s; }
.bx__together em { display: block; font-style: italic; font-weight: 500; color: var(--gold); }

/* animé (ajouté par app.js) */
.bx.is-anim .bx__t { opacity: 0; transform: translate(-50%, -50%) scale(.9); }
.bx.is-anim .bx__t.is-on { opacity: 1; transform: translate(-50%, -50%); }
.bx.is-anim .bx__t.is-hot { border-color: rgba(245, 185, 15, .8); box-shadow: 0 0 0 4px rgba(245, 185, 15, .14), 0 30px 70px -26px rgba(0, 0, 0, .9); transform: translate(-50%, -50%) scale(1.06); }
.bx.is-anim .bx__ring { stroke-dashoffset: 1300; }
.bx.is-anim .bx__spark { opacity: 0; }
.bx.is-anim .bx__together { opacity: 0; transform: translateY(8px); }
.bx.is-anim .bx__line.is-on { opacity: 1; transform: none; transition: opacity .5s var(--ease) .22s, transform .5s var(--ease) .22s; }
.bx.is-linked .bx__ring { stroke-dashoffset: 0; }
.bx.is-linked .bx__spark { opacity: 1; transition-delay: 1.4s; }
.bx.is-linked .bx__together { opacity: 1; transform: none; transition: opacity .7s var(--ease) .9s, transform .7s var(--ease) .9s; }
.bx.is-out .bx__t, .bx.is-out .bx__ring, .bx.is-out .bx__spark, .bx.is-out .bx__together { opacity: 0 !important; transition-delay: 0s !important; }

/* mini-interfaces dessinées (pas de captures) */
.bx__ui > div { position: absolute; inset: 0; padding: 10px; }
.bx__ui i, .bx__ui b { display: block; }
.ui-g { height: 12px; width: 48%; border-radius: 4px; background: var(--gold); }
.ui-l { height: 6px; border-radius: 3px; background: rgba(20, 26, 48, .14); margin-top: 7px; }
.ui-l--s { width: 64%; }
.ui-site { display: flex; flex-direction: column; }
.ui-dots { display: flex; gap: 4px; margin-bottom: 10px; } .ui-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(20, 26, 48, .22); }
.ui-btn { margin-top: auto; width: 38%; height: 16px; border-radius: 99px; background: var(--ink); }
.ui-agent { display: flex; flex-direction: column; gap: 7px; justify-content: center; }
.ui-b { display: block; height: 18px; border-radius: 10px; }
.ui-b--in { width: 70%; background: #fff; box-shadow: 0 2px 6px rgba(20, 26, 48, .1); }
.ui-b--me { width: 52%; margin-left: auto; background: var(--gold); }
.ui-typing { display: flex; gap: 4px; padding: 7px 9px; width: 46px; border-radius: 10px; background: #fff; }
.ui-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-2); animation: tp 1s infinite; }
.ui-typing i:nth-child(2) { animation-delay: .15s; } .ui-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tp { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.ui-call { display: flex; align-items: center; gap: 12px; background: var(--ink); }
.ui-ph { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; animation: ring2 1.6s ease-in-out infinite; }
.ui-ph svg { width: 20px; height: 20px; }
@keyframes ring2 { 0%, 100% { box-shadow: 0 0 0 0 rgba(63, 203, 139, .5); } 50% { box-shadow: 0 0 0 9px rgba(63, 203, 139, 0); } }
.ui-wave { display: flex; gap: 3px; align-items: center; height: 40px; }
.ui-wave i { width: 3px; border-radius: 2px; background: var(--gold); animation: wv 1s ease-in-out infinite; animation-delay: calc(var(--k) * -.11s); }
@keyframes wv { 0%, 100% { height: 6px; } 50% { height: 30px; } }
.ui-app { display: flex; align-items: center; justify-content: center; gap: 10px; }
.ui-phone { width: 46px; height: 84px; border-radius: 10px; border: 3px solid var(--ink); background: #fff; padding: 6px 5px; display: flex; flex-direction: column; gap: 5px; }
.ui-phone .ui-g { width: 100%; height: 16px; }
.ui-phone i { height: 6px; border-radius: 3px; background: rgba(20, 26, 48, .14); }
.ui-notif { width: 64px; height: 26px; border-radius: 9px; background: var(--ink); position: relative; }
.ui-notif::before { content: ""; position: absolute; left: 7px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.ui-plat { display: flex; flex-direction: column; gap: 8px; }
.ui-bars { display: flex; align-items: flex-end; gap: 5px; height: 52px; }
.ui-bars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--gold); height: calc(30% + var(--k) * 10%); }
.ui-rows { display: grid; gap: 5px; } .ui-rows i { height: 8px; border-radius: 4px; background: rgba(20, 26, 48, .14); } .ui-rows i:last-child { width: 70%; }
@media (prefers-reduced-motion: reduce) { .ui-wave i, .ui-typing i, .ui-ph { animation: none !important; } .ui-wave i { height: 18px; } }
.bx__center { top: 57%; width: 33%; }
.bx__line { font-size: 17px; }
@media (max-width: 560px) {
  .bx__label { font-size: 21px; gap: 9px; } .bx__label::before { width: 9px; height: 9px; }
  .bx__line { font-size: 26px; } .bx__center { width: 36%; }
  .bx__together { font-size: 42px; }
}
.bx__center { top: 47%; width: 34%; }
.bx__together { font-size: 27px; }
.bx__caps { position: absolute; left: 50%; bottom: -7%; width: 92%; transform: translateX(-50%); display: grid; text-align: center; }
.bx__caps > * { grid-area: 1 / 1; }
.bx__line { font-size: 18px; color: var(--on-ink-2); }
@media (max-width: 560px) { .bx__together { font-size: 38px; } .bx__line { font-size: 27px; } .bx__caps { bottom: -12%; } .eco.bx { margin-bottom: 90px; } }
@media (min-width: 561px) { .eco.bx { margin-bottom: 40px; } }

/* ─── Botler en personne (06/10, retours de Maëva) ───
   L'élément marquant : la tête ronde du majordome, et un halo d'or qui respire avec SA voix (--lvl, 0→1).
   La voix est l'action principale ; l'écrit est en option. Une seule fenêtre de conversation : le panneau. */
.botler__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.botler__copy { max-width: 30em; }
.presence { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.halo { --lvl: 0; border-radius: 50%; padding: 10px; transition: box-shadow .09s linear;
  box-shadow: 0 0 0 calc(2px + var(--lvl) * 10px) rgba(245, 185, 15, calc(.45 + var(--lvl) * .45)),
              0 0 calc(24px + var(--lvl) * 70px) rgba(245, 185, 15, calc(.16 + var(--lvl) * .5)); }
.halo .face { margin: 0; box-shadow: none; }
.face--xl { width: clamp(220px, 26vw, 340px); }
.face--sm { width: 56px; }
.halo--sm { padding: 4px; }
.presence__status { margin: 4px 0 0; min-height: 1.5em; font-size: 15px; color: var(--on-ink-2); }
.btn--xl { padding: 18px 30px; font-size: 18px; gap: 10px; }
.btn--xl .ico { width: 1.25em; height: 1.25em; }
.btn[data-voice].is-live, .btn[data-voice].is-live:hover { background: var(--on-ink); color: var(--ink); box-shadow: none; }
.presence__write { background: none; border: 0; padding: 6px 4px; color: var(--on-ink-2); font: 500 15px/1.4 var(--body); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(244, 241, 232, .35); cursor: pointer; }
.presence__write:hover { color: var(--on-ink); text-decoration-color: var(--gold); }

/* La bulle, en bas à droite, sur toutes les pages (comme chez nos clients). */
.launcher { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 70; width: 68px; height: 68px; padding: 0; border: 0; border-radius: 50%; overflow: hidden; cursor: pointer; background: #0D182C;
  box-shadow: 0 0 0 3px var(--gold), 0 16px 40px -12px rgba(0, 0, 0, .7); transition: transform .25s var(--ease), opacity .25s; }
.launcher img { width: 100%; height: 100%; object-fit: cover; display: block; }
.launcher:hover { transform: scale(1.06); }
.launcher.is-away { opacity: 0; pointer-events: none; transform: scale(.8); }

.panel { position: fixed; right: 20px; bottom: calc(100px + env(safe-area-inset-bottom)); z-index: 71; width: min(390px, calc(100vw - 32px)); max-height: min(640px, calc(var(--vvh, 100dvh) - 130px));
  display: flex; flex-direction: column; overflow: hidden; color: var(--on-ink); background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 24px; box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .8); }
.panel[hidden] { display: none; }
.panel__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 12px 16px; border-bottom: 1px solid var(--line-d); }
.panel__who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.panel__who strong { font: 600 18px/1.2 var(--display); }
.panel__who span { font-size: 13.5px; color: var(--on-ink-2); }
.panel__close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-d); background: transparent; color: var(--on-ink); cursor: pointer; }
.panel__close:hover { background: rgba(244, 241, 232, .08); }
.panel__voice { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px; }
.panel__voice .btn { width: 100%; justify-content: center; }
.panel .chat { min-height: 0; flex: 1; border: 0; border-radius: 0; box-shadow: none; background: transparent; backdrop-filter: none; }
.panel .chat__log { max-height: none; min-height: 120px; padding: 6px 16px 16px; }
.panel .chat__starters { padding: 0 16px 12px; }
.panel .chat__form { padding: 12px; }
/* Mode voix : l'écrit reste replié derrière « ou écrire votre question ». Mode écrit : la conversation s'ouvre. */
.panel:not(.is-writing) .chat { display: none; }
.panel.is-writing .panel__voice .presence__write { display: none; }
.panel.is-writing .panel__voice { padding-bottom: 8px; }

@media (max-width: 860px) {
  .botler__stage { grid-template-columns: minmax(0, 1fr); }
  .botler__copy { text-align: center; margin: 0 auto; }
  .face--xl { width: min(240px, 64vw); }
  .dock { right: 100px; }
  .dock .btn--gold { display: none; }
}
@media (max-width: 600px) {
  .panel { left: 8px; right: 8px; bottom: 8px; width: auto; max-height: calc(var(--vvh, 100dvh) - 16px); }
  .launcher.is-open { opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .halo, .launcher { transition: none; } }

/* Panneau en mode voix : la tête en grand, au centre, comme dans la section (l'écrit la ramène dans l'en-tête). */
.panel:not(.is-writing) .panel__head { position: relative; flex-direction: column; text-align: center; gap: 10px; padding: 26px 16px 4px; border-bottom: 0; }
.panel:not(.is-writing) .panel__head .face--sm { width: 150px; }
.panel:not(.is-writing) .panel__head .halo--sm { padding: 7px; }
.panel:not(.is-writing) .panel__who { align-items: center; }
.panel:not(.is-writing) .panel__close { position: absolute; top: 12px; right: 12px; }
/* L'étiquette de la bulle : « Parler à Botler », à la première visite et au survol. */
.launcher__hint { position: fixed; right: 100px; bottom: calc(38px + env(safe-area-inset-bottom)); z-index: 70; padding: 9px 14px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font: 600 14px/1 var(--body); white-space: nowrap; border: 1px solid rgba(245, 185, 15, .5); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .7); opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.launcher__hint.is-on, .launcher:hover + .launcher__hint, .launcher:focus-visible + .launcher__hint { opacity: 1; transform: none; }
.launcher.is-away ~ .launcher__hint, .launcher.is-open ~ .launcher__hint { opacity: 0; }
@media (max-width: 860px) { .launcher__hint { display: none; } }

/* ─── Revue UX du 06/10 ─── */
/* P1-1 : sous le bouton voix, à quoi sert le micro (et le lien Confidentialité). */
.mic-note { margin: 2px 0 0; max-width: 30em; font-size: 13px; line-height: 1.45; color: var(--on-ink-2); text-align: center; }
.mic-note a { color: inherit; text-underline-offset: 3px; text-decoration-color: rgba(244, 241, 232, .4); }
.mic-note a:hover { color: var(--on-ink); text-decoration-color: var(--gold); }
.presence .mic-note { margin-top: -8px; }
.mic-note__link { white-space: nowrap; }
html:not(.js) .mic-note { display: none; }

/* P1-3 : sur tablette et téléphone, la tête (≈200 px) puis la voix passent AVANT le texte. */
@media (max-width: 860px) {
  .presence { order: -1; gap: 14px; }
  .face--xl { width: 200px; }
}

@media (max-width: 600px) {
  /* P2-2 : une bulle plus petite, et des pastilles sur une ligne qui défile (rien sous la bulle). */
  .launcher { width: 56px; height: 56px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .p-jump { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .p-jump::-webkit-scrollbar { display: none; }
  .p-jump a { flex: none; white-space: nowrap; }

  /* P1-2 + P2-4 : en mode écrit, le panneau prend toute la zone VISIBLE (clavier compris, --vvh posé par app.js),
     au-dessus de la barre du haut ; la tête et le bouton voix se réduisent (icône micro dans l'en-tête). */
  .panel.is-writing { top: var(--vvt, 0px); bottom: auto; left: 0; right: 0; height: var(--vvh, 100dvh); max-height: none; border: 0; border-radius: 0; z-index: 80; }
  .panel.is-writing .panel__head { min-height: 64px; padding: 8px 12px; padding-right: 12px; gap: 10px; }
  .panel.is-writing .panel__head .face--sm { width: 40px; }
  .panel.is-writing .panel__who { padding-right: 54px; }
  .panel.is-writing .panel__voice { position: absolute; top: 10px; right: 64px; padding: 0; }
  .panel.is-writing .panel__voice .btn { width: 44px; height: 44px; padding: 0; gap: 0; justify-content: center; box-shadow: none; }
  .panel.is-writing .panel__voice .btn span, .panel.is-writing .mic-note { display: none; }
  .panel.is-writing .chat__starters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
  .panel.is-writing .chat__starters::-webkit-scrollbar { display: none; }
  .panel.is-writing .starter { flex: none; white-space: nowrap; }
  .panel.is-writing .starter[data-done="1"] { display: none; }
  .panel.is-writing .chat__log { min-height: 0; }
}

/* « Vous préférez le téléphone ? » (fr, en) : discret, sous l'écrit ; le numéro est le lien. */
.tel-line { margin: 14px auto 0; max-width: 30em; font: 400 14px/1.5 var(--body); color: var(--on-ink-2); text-align: center; }
.tel-line .ico { display: inline-block; width: 17px; height: 17px; margin-right: 6px; vertical-align: -3px; color: var(--gold); }
.tel-line a { color: var(--gold); font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.tel-line a:hover, .tel-line a:focus-visible { color: var(--on-ink); }
.tel-line__by { display: block; font-size: 13px; opacity: .85; }
