/* ==========================================================================
   AlwaysVox / Emma : refonte 2026
   Thème unique clair « glace » + une seule section nuit (bascule volontaire).
   Rayons : boutons et puces en pilule, panneaux 24-28 px, champs 14 px.
   Un seul accent : cobalt. Le vert n'est utilisé que pour l'état « en ligne ».
   ========================================================================== */

:root {
  --ice-50: #F6F9FC;
  --ice-100: #EAF0F7;
  --ice-200: #DCE6F2;
  --ice-300: #C7D5E8;
  --ink: #0A1730;
  --ink-2: #1B2A4A;
  --muted: #44526C;
  --faint: #5A6883;
  --line: rgba(10, 23, 48, .10);
  --line-2: rgba(10, 23, 48, .16);

  --cobalt: #2B54F0;
  --cobalt-ink: #1F43D6;
  --cobalt-soft: rgba(43, 84, 240, .09);
  --live: #12B76A;

  --night: #060B18;
  --night-ink: #E9EEF8;
  --night-muted: #A3B0C9;
  --night-line: rgba(233, 238, 248, .12);
  --night-cobalt: #4F72FF;

  --r-card: 28px;
  --r-input: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 72px;
  --font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ice-100);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
svg { fill: currentColor; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
::selection { background: var(--cobalt); color: #fff; }

.container { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 56px); }
.section { padding-block: clamp(96px, 11vw, 168px); scroll-margin-top: var(--nav-h); }
#demo { scroll-margin-top: calc(var(--nav-h) + 24px); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none;
}
.skip:focus { top: 12px; }
#top-sentinel { position: absolute; top: 0; height: 8px; width: 1px; }

/* ---------- Typographie ---------- */
.display {
  font-weight: 620;
  font-stretch: 88%;
  letter-spacing: -.035em;
  line-height: 1;
  text-wrap: balance;
}
h2.display { font-size: clamp(38px, 4.6vw, 70px); }
.display em { font-style: normal; color: var(--cobalt); }
.lead {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
  text-wrap: pretty;
}
.eyebrow {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cobalt);
}
.section-head { max-width: 820px; }
.section-head .display { margin-top: 18px; }
.section-head .eyebrow + .display { margin-top: 18px; }
.section-head > .display:first-child { margin-top: 0; }
.section-head .lead { margin-top: 22px; }

/* ---------- Boutons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border: 0; border-radius: 999px;
  font: inherit; font-size: 15.5px; font-weight: 560; font-stretch: 100%; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease), color .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.98); }
.btn-lg { --h: 56px; padding: 0 26px; font-size: 16.5px; }
.btn-md { --h: 48px; }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--ink);
  color: var(--ice-50);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(10, 23, 48, .22), 0 10px 26px -12px rgba(10, 23, 48, .55);
}
.btn-primary:hover { background: var(--ink-2); }
.btn-primary.has-icon { padding-right: 8px; gap: 16px; }
.btn-block.has-icon { justify-content: space-between; padding-left: 26px; }
.btn-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ice-50); color: var(--ink);
  transition: transform .25s var(--ease);
}
.btn-lg .btn-icon { width: 42px; height: 42px; }
.btn-icon svg { width: 17px; height: 17px; }
.btn-primary:hover .btn-icon { transform: translateX(3px); }

.btn-secondary {
  background: rgba(255, 255, 255, .7);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px rgba(10, 23, 48, .06);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: #fff; box-shadow: 0 0 0 1px rgba(10, 23, 48, .24), 0 2px 6px rgba(10, 23, 48, .08); }
.btn-icon-only { width: var(--h); padding: 0; }

/* Liens soulignés (texte courant) */
.lead a, .fine a, .calc-note a, .calc-offer a, .consent a, .faq-body a, .form-intro a {
  color: var(--cobalt-ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  transition: color .18s;
}
.lead a:hover, .fine a:hover, .calc-note a:hover, .calc-offer a:hover, .consent a:hover, .faq-body a:hover { color: var(--ink); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(234, 240, 247, .78);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 30px; height: 30px; fill: var(--cobalt); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-sub { font-size: 10px; letter-spacing: .32em; color: var(--muted); font-weight: 450; margin-bottom: 4px; }
.logo-emma { font-size: 21px; letter-spacing: .42em; font-weight: 500; margin-right: -.42em; }
.nav-links { display: flex; gap: 32px; margin-left: auto; margin-right: 8px; }
.nav-links a {
  font-size: 15px; color: var(--muted); text-decoration: none; padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color .18s, background-size .3s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); background-size: 100% 1px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-call-m { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 64px;
  background:
    radial-gradient(70% 60% at 68% 52%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%),
    var(--ice-200);
}
.hero-wordmark {
  position: absolute; z-index: -1; left: 50%; top: 52%;
  transform: translate(-50%, -50%);
  font-size: clamp(220px, 34vw, 640px);
  font-weight: 820; font-stretch: 64%;
  letter-spacing: -.012em; line-height: .8;
  color: #fff; opacity: .88;
  white-space: nowrap; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, rgba(0, 0, 0, .35) 100%);
          mask-image: linear-gradient(to bottom, #000 55%, rgba(0, 0, 0, .35) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center; gap: clamp(24px, 4vw, 64px);
}
.hero-copy { max-width: 680px; }
.hero-title {
  margin-top: 22px;
  font-size: clamp(46px, 4.5vw, 78px);
  font-stretch: 84%;
  line-height: 1;
}
.hero-title > span { display: block; }
.hero-copy .lead { margin-top: 28px; max-width: 40ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.hero-stage { position: relative; display: grid; place-items: center; min-height: min(70vh, 640px); }
.orb-wrap { position: relative; width: min(38vw, 60vh, 560px); aspect-ratio: 1; }

/* L'orbe : un objet en verre, pas une lueur. Le flou d'arrière-plan
   déforme les lettres EMMA placées derrière, ce qui la rend physique. */
.orb {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(120% 120% at 28% 18%, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .10) 42%, rgba(160, 184, 228, .30) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .8),
    inset 0 22px 44px rgba(255, 255, 255, .55),
    inset 0 -46px 90px rgba(31, 67, 214, .30),
    inset 26px 0 60px rgba(255, 255, 255, .18),
    0 60px 100px -36px rgba(14, 36, 96, .45);
  animation: orb-float 8s ease-in-out infinite;
}
.orb-core {
  position: absolute; inset: 29%; border-radius: 50%;
  background: radial-gradient(closest-side, #DCE5FF 0%, rgba(96, 128, 255, .82) 36%, rgba(43, 84, 240, .26) 70%, rgba(43, 84, 240, 0) 100%);
  filter: blur(16px);
  animation: orb-breathe 5.2s ease-in-out infinite;
}
.orb-rim {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent; border-top-color: rgba(255, 255, 255, .95); border-left-color: rgba(255, 255, 255, .45);
  transform: rotate(-28deg); filter: blur(.4px);
}
.orb-spec {
  position: absolute; top: 11%; left: 22%; width: 30%; height: 15%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0));
  transform: rotate(-30deg); filter: blur(1.5px);
}
.orb::after {
  content: ""; position: absolute; left: 24%; right: 24%; bottom: 5%; height: 20%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0));
  filter: blur(6px);
}
.orb-shadow {
  position: absolute; left: 50%; bottom: -9%; width: 52%; height: 7%;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 23, 48, .32), rgba(10, 23, 48, 0));
  filter: blur(6px);
  animation: orb-shadow 8s ease-in-out infinite;
}
@keyframes orb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes orb-shadow { 0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; } 50% { transform: translateX(-50%) scale(.84); opacity: .7; } }
@keyframes orb-breathe { 0%, 100% { transform: scale(1); opacity: .95; } 50% { transform: scale(1.08); opacity: 1; } }

/* Entrée du hero */
.hero-in { animation: rise .95s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 90ms + 120ms); }
.hero-stage { animation: orb-in 1.4s var(--ease-out) both .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes orb-in { from { opacity: 0; transform: translateY(30px) scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- Révélations au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Les mains prises ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.split-media { grid-column: 1 / span 6; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); }
.split-copy { grid-column: 8 / span 5; }
.split-copy .lead { margin-top: 24px; }
.split-copy .display > span { display: block; }
.feature-list { margin-top: 40px; border-top: 1px solid var(--line); }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0 0; color: var(--muted); font-size: 16.5px; line-height: 1.5; }
.feature-list strong { color: var(--ink); font-weight: 600; }
.feature-icon {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--cobalt-soft); color: var(--cobalt);
}
.feature-icon svg { width: 20px; height: 20px; }

/* ---------- La nuit (seule bascule de thème) ---------- */
.night { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--night-ink); }
.night-bg { position: absolute; inset: 0; z-index: -2; }
.night-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: .62; }
.night::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 11, 24, .96) 0%, rgba(6, 11, 24, .82) 42%, rgba(6, 11, 24, .38) 100%),
    linear-gradient(0deg, rgba(6, 11, 24, .9) 0%, rgba(6, 11, 24, 0) 40%);
}
.night-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.night .display { color: #fff; }
.night .lead { color: var(--night-muted); margin-top: 24px; }
.night-stat { margin-top: 48px; display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.stat-number {
  font-size: clamp(110px, 13vw, 210px); font-weight: 800; font-stretch: 66%;
  line-height: .78; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums;
}
.stat-caption { max-width: 26ch; color: var(--night-muted); font-size: 16px; line-height: 1.5; padding-bottom: 6px; }

.week-panel {
  border-radius: var(--r-card);
  background: rgba(10, 17, 34, .62);
  box-shadow: inset 0 0 0 1px var(--night-line), inset 0 1px 0 rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  padding: clamp(22px, 2.6vw, 32px);
}
.week-head { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: end; margin-bottom: 14px; font-size: 14px; color: var(--night-ink); font-weight: 560; }
.week-head > span:first-child { grid-column: 1 / -1; margin-bottom: 14px; }
.week-axis { grid-column: 2; display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 450; color: var(--night-muted); font-variant-numeric: tabular-nums; }
.week-grid { display: grid; grid-template-columns: 28px repeat(24, minmax(0, 1fr)); gap: 3px 3px; align-items: center; }
.week-day { font-size: 12px; color: var(--night-muted); font-weight: 500; }
.cell { height: 16px; border-radius: 3px; background: var(--night-cobalt); }
.cell.open { background: rgba(233, 238, 248, .9); }
.js .week-panel .cell { opacity: 0; transform: scaleY(.3); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--i) * 22ms); }
.js .week-panel.is-in .cell { opacity: 1; transform: none; }
.week-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 18px; font-size: 13.5px; color: var(--night-muted); }
.week-legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.sw-open { background: rgba(233, 238, 248, .9); }
.sw-emma { background: var(--night-cobalt); }

/* ---------- Fonctionnement (scènes collantes, défilement natif) ---------- */
.how-title { max-width: 14ch; }
.how-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); margin-top: 24px; }
.steps { counter-reset: step; }
.step:first-child { min-height: 58vh; }
.step { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; max-width: 30rem; }
.step h3 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 600; font-stretch: 92%; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
.step p { margin-top: 16px; color: var(--muted); font-size: 17.5px; line-height: 1.6; }
.js .step { opacity: .32; transition: opacity .5s var(--ease); }
.js .step.is-active { opacity: 1; }
.stage-col { position: relative; }
.call {
  position: sticky; top: calc(50vh - 290px + var(--nav-h) / 2);
  height: 580px; max-width: 540px; margin-inline: auto;
  border-radius: 32px; background: var(--ice-50);
  box-shadow: 0 0 0 1px var(--line), 0 40px 90px -40px rgba(14, 36, 96, .45), 0 2px 6px rgba(10, 23, 48, .05);
  padding: 22px; overflow: hidden;
}
.call-head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 18px; border-bottom: 1px solid var(--line); }
.mini-orb {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: radial-gradient(closest-side, #B7C8FF, var(--cobalt) 60%, #1A35A8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 6px 16px -6px rgba(43, 84, 240, .7);
}
.call-who { display: flex; flex-direction: column; line-height: 1.25; font-size: 15px; }
.call-status { position: relative; font-size: 13.5px; color: var(--muted); height: 1.25em; }
.st { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transition: opacity .35s; }
.call.s1 .st-ring { opacity: 1; }
.call.s2 .st-ring { opacity: 0; }
.call.s2 .st-live { opacity: 1; }
.call.s3 .st-live { opacity: 0; }
.call.s3 .st-done { opacity: 1; }
.wave { margin-left: auto; display: flex; align-items: center; gap: 3px; height: 22px; }
.wave i { width: 3px; height: 30%; border-radius: 2px; background: var(--cobalt); opacity: .9; }
.call.s1:not(.s3) .wave i { animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: -.2s !important; }
.wave i:nth-child(3) { animation-delay: -.5s !important; }
.wave i:nth-child(4) { animation-delay: -.3s !important; }
.wave i:nth-child(5) { animation-delay: -.7s !important; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }

.ringing {
  position: absolute; left: 0; right: 0; bottom: 64px;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  transition: opacity .45s var(--ease), transform .6s var(--ease-out);
}
.ringing-orb { position: relative; width: 84px; height: 84px; border-radius: 50%;
  background: radial-gradient(closest-side, #C9D6FF, var(--cobalt) 62%, #1A35A8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 14px 34px -12px rgba(43, 84, 240, .8);
}
.ringing-orb::before, .ringing-orb::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(43, 84, 240, .45);
  animation: ring 2.4s var(--ease-out) infinite;
}
.ringing-orb::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(2.1); opacity: 0; } }
.ringing-text { font-size: 14px; color: var(--muted); }
.call.s2 .ringing { opacity: 0; transform: translateY(20px); pointer-events: none; }
.transcript { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; transition: opacity .5s var(--ease), transform .6s var(--ease-out); }
.bubble {
  max-width: 86%; padding: 14px 18px; border-radius: 20px; font-size: 15px; line-height: 1.5;
  opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.bubble .who { display: block; font-size: 12px; font-weight: 600; letter-spacing: .02em; margin-bottom: 4px; color: var(--faint); }
.from-client { background: #fff; box-shadow: 0 0 0 1px var(--line); border-bottom-left-radius: 6px; color: var(--ink); }
.from-emma { align-self: flex-end; background: var(--cobalt); color: #fff; border-bottom-right-radius: 6px; }
.from-emma .who { color: rgba(255, 255, 255, .78); }
.call.s1 .b1, .call.s2 .b2, .call.s2 .b3 { opacity: 1; transform: none; }
.call.s2 .b3 { transition-delay: .45s; }
.call.s3 .transcript { opacity: .1; transform: translateY(-24px); filter: blur(1px); }
.call-note {
  align-self: center; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--faint); padding: 6px 12px; border-radius: 999px;
  background: var(--ice-100); box-shadow: inset 0 0 0 1px var(--line);
}
.call-note svg { width: 14px; height: 14px; color: var(--cobalt); }

.agenda {
  position: absolute; left: 22px; right: 22px; bottom: 22px;
  border-radius: 22px; background: #fff; padding: 18px;
  box-shadow: 0 0 0 1px var(--line), 0 -20px 50px -20px rgba(14, 36, 96, .25);
  opacity: 0; transform: translateY(40px); transition: opacity .55s var(--ease-out), transform .7s var(--ease-out);
}
.call.s3 .agenda { opacity: 1; transform: none; transition-delay: .1s; }
.agenda-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: 15px; }
.agenda-head span { font-size: 13px; color: var(--faint); }
.slot { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; margin-top: 8px; }
.slot .t { font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }
.slot .s { height: 38px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-radius: 10px; background: var(--ice-100); font-size: 14px; color: var(--muted); }
.slot.is-break .s { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--faint); }
.slot.is-new .s { background: var(--cobalt); color: #fff; font-weight: 600; clip-path: inset(0 100% 0 0 round 10px); transition: clip-path .9s var(--ease-out) .55s; }
.call.s3 .slot.is-new .s { clip-path: inset(0 0 0 0 round 10px); }
.chip { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .2); }

.sms {
  position: absolute; left: 22px; right: 22px; top: 86px;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 18px;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px rgba(14, 36, 96, .4);
  opacity: 0; transform: translateY(-16px) scale(.98); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.call.s3 .sms { opacity: 1; transform: none; transition-delay: 1.3s; }
.sms-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--live); color: #fff; }
.sms-icon svg { width: 18px; height: 18px; }
.sms-body { font-size: 14.5px; line-height: 1.45; }
.sms-meta { display: block; font-size: 12px; color: var(--faint); font-weight: 560; margin-bottom: 2px; }

/* ---------- Tarifs ---------- */
.pricing .section-head { margin-bottom: 56px; }
.plans {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: var(--r-card); background: var(--ice-50);
  box-shadow: 0 0 0 1px var(--line);
}
.plan { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); }
.plan + .plan { box-shadow: -1px 0 0 var(--line); }
.plan.is-featured {
  position: relative; z-index: 1; margin-block: -14px; padding-block: calc(clamp(28px, 3vw, 40px) + 14px);
  background: #fff; border-radius: var(--r-card);
  box-shadow: 0 0 0 1px var(--line-2), 0 30px 70px -30px rgba(14, 36, 96, .35);
}
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.chip-pop { font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--cobalt-soft); color: var(--cobalt-ink); white-space: nowrap; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 28px; }
.price .cur { font-size: 16px; font-weight: 560; color: var(--muted); }
.price .amount { font-size: clamp(56px, 5vw, 76px); font-weight: 640; font-stretch: 84%; letter-spacing: -.04em; line-height: .9; font-variant-numeric: tabular-nums; }
.price .per { font-size: 16px; color: var(--muted); }
.plan-minutes { margin-top: 18px; font-size: 16.5px; color: var(--ink); }
.plan-minutes strong { font-weight: 640; }
.plan-details { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.9; }
.plan-cta { margin-top: 32px; }
.fine { margin-top: 28px; font-size: 14px; line-height: 1.6; color: var(--faint); max-width: 80ch; }

/* ---------- Calcul + démo ---------- */
.convert .section-head { margin-bottom: 48px; }
.convert-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px; align-items: stretch; }
.panel { border-radius: var(--r-card); background: var(--ice-50); box-shadow: 0 0 0 1px var(--line); padding: clamp(24px, 3vw, 44px); }
.form-panel { background: #fff; box-shadow: 0 0 0 1px var(--line-2), 0 30px 70px -36px rgba(14, 36, 96, .35); }

.calc-rows { display: flex; flex-direction: column; gap: 14px; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.calc-label { font-size: 16.5px; color: var(--ink); line-height: 1.35; }
.stepper {
  flex: none; display: inline-flex; align-items: center; height: 48px; padding: 3px; border-radius: 999px;
  background: #fff; box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px rgba(10, 23, 48, .05);
}
.stepper button {
  touch-action: manipulation;
  width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: background-color .15s, transform .15s, opacity .15s;
}
.stepper button svg { width: 18px; height: 18px; }
.stepper button:hover { background: var(--ice-100); }
.stepper button:active { transform: scale(.92); }
.stepper button:disabled { opacity: .3; cursor: default; background: transparent; transform: none; }
.stepper output { min-width: 52px; text-align: center; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-result { margin-top: 36px; }
.result-tag {
  display: inline-flex; margin-bottom: 14px; padding: 5px 11px; border-radius: 999px;
  background: var(--cobalt-soft); color: var(--cobalt-ink);
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em; line-height: 1.2;
}
.result-number { display: flex; align-items: baseline; gap: 10px; }
.result-number .cur { font-size: 20px; font-weight: 560; color: var(--muted); }
.result-number [data-out="result"] { font-size: clamp(64px, 7vw, 108px); font-weight: 680; font-stretch: 78%; letter-spacing: -.035em; line-height: .9; font-variant-numeric: tabular-nums; color: var(--ink); }
.result-caption { margin-top: 10px; color: var(--muted); font-size: 16.5px; }
.result-hyp { margin-top: 4px; }
.calc-note { margin-top: 20px; font-size: 14px; line-height: 1.6; color: var(--faint); }
.calc-offer { margin-top: 14px; font-size: 15px; }

.form-title { font-size: clamp(22px, 1.8vw, 26px); font-weight: 620; font-stretch: 94%; letter-spacing: -.02em; line-height: 1.15; }
.form-intro { margin-top: 12px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
form { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 560; color: var(--ink); }
input, select { font: inherit; font-stretch: 100%; }
.field input, .phone select {
  height: 52px; width: 100%; padding: 0 16px; border-radius: var(--r-input);
  border: 0; background: var(--ice-50); color: var(--ink); font-size: 16px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow .18s, background-color .18s;
}
.field input::placeholder { color: #66738B; }
.field input:hover, .phone select:hover { box-shadow: inset 0 0 0 1px rgba(10, 23, 48, .28); }
.field input:focus, .phone select:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--cobalt), 0 0 0 4px rgba(43, 84, 240, .14); }
.phone { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.phone select {
  width: auto; padding: 0 36px 0 14px; cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #C2410C; }
.notice { font-size: 14.5px; line-height: 1.5; color: var(--ink); padding: 12px 14px; border-radius: 12px; background: var(--ice-100); }
.notice.is-error { background: #FDF0EA; color: #8A2C0D; }
.consent { font-size: 13px; line-height: 1.55; color: var(--faint); }
.form-done { text-align: center; padding: 48px 8px; }
.done-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--cobalt-soft); color: var(--cobalt); margin-bottom: 20px; }
.done-icon svg { width: 26px; height: 26px; }
.form-done .form-title:focus { outline: none; }

/* ---------- Questions ---------- */
.faq { background: var(--ice-50); box-shadow: inset 0 1px 0 var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-intro .lead { margin-top: 22px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; font-size: clamp(18px, 1.5vw, 21px); font-weight: 560; letter-spacing: -.012em; line-height: 1.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .2s, transform .3s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); border-radius: 1px; }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq-list details[open] .faq-plus { background: var(--ink); }
.faq-list details[open] .faq-plus::before, .faq-list details[open] .faq-plus::after { background: #fff; }
.faq-list details[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list summary:hover .faq-plus { background: var(--ice-100); }
.faq-list details[open] summary:hover .faq-plus { background: var(--ink-2); }
.faq-body { padding: 0 56px 28px 0; color: var(--muted); font-size: 16.5px; line-height: 1.65; }

/* ---------- Pied de page ---------- */
.footer { position: relative; overflow: hidden; background: var(--ice-200); padding-top: clamp(64px, 8vw, 104px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 40px; }
.footer-brand p { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 30ch; line-height: 1.55; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--muted); }
.footer-col a { text-decoration: none; transition: color .18s; width: fit-content; }
.footer-col a:hover { color: var(--ink); }
.footer-col .footer-tel { display: flex; flex-direction: column; gap: 2px; color: var(--ink); font-weight: 500; }
.footer-tel-label { font-size: 13.5px; font-weight: 400; color: var(--muted); }
/* Mention à côté du numéro de démo (07-LEGAL/05-integration-site.md, A). Gris plus clair que le reste du pied de page, mais 4.7:1 sur --ice-200 (--faint n'y fait que 4.45:1). */
.footer-note { margin-top: -6px; font-size: 12.5px; line-height: 1.5; color: #56647E; }
.footer-col .footer-note a { color: inherit; white-space: nowrap; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.footer-col .footer-note a:hover { color: var(--ink); }
.footer-h { font-size: 13px; font-weight: 650; color: var(--ink); margin-bottom: 6px; }
.footer-bottom { margin-top: 56px; padding-block: 22px; box-shadow: 0 -1px 0 var(--line); font-size: 13.5px; color: var(--faint); position: relative; z-index: 1; }
.footer-wordmark {
  margin-top: -2vw; text-align: center;
  font-size: clamp(160px, 31vw, 560px); font-weight: 820; font-stretch: 64%;
  letter-spacing: -.012em; line-height: .72; color: #fff; opacity: .7;
  user-select: none; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 92%); mask-image: linear-gradient(to bottom, #000 30%, transparent 92%);
  height: .62em; overflow: hidden;
}

/* ---------- Barre d'action mobile ---------- */
.mbar { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-links { display: none; }
}

@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 640px; }
  .hero-stage { min-height: 0; margin-top: 8px; }
  .orb-wrap { width: min(62vw, 420px); }
  .hero-wordmark { top: 70%; }

  .split-media { grid-column: 1 / -1; }
  .split-copy { grid-column: 1 / -1; margin-top: 40px; }

  .night-grid { grid-template-columns: 1fr; }

  .how-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .stage-col { order: -1; }
  .call { position: relative; top: auto; }
  .step, .step:first-child { min-height: 0; padding-block: 28px; border-top: 1px solid var(--line); }
  .step:first-child { margin-top: 32px; }
  .js .step { opacity: 1; }

  .plans { grid-template-columns: 1fr; }
  .plan + .plan { box-shadow: 0 -1px 0 var(--line); }
  .plan.is-featured { margin: 0 -1px; padding-block: clamp(28px, 3vw, 40px); }

  .convert-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  :root { --nav-h: 64px; }
  body { font-size: 16.5px; padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .section { padding-block: 88px; }
  .nav-call, .nav-demo { display: none; }
  .nav-call-m { display: inline-flex; --h: 44px; }
  .logo-emma { font-size: 19px; }

  .hero { min-height: 0; padding: calc(var(--nav-h) + 36px) 0 40px; align-items: flex-start; }
  .hero-title { font-size: clamp(42px, 11.4vw, 58px); }
  .hero-copy .lead { margin-top: 20px; }
  .hero-ctas { flex-direction: column; align-items: stretch; margin-top: 30px; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas .btn-primary.has-icon { justify-content: space-between; padding-left: 24px; }
  .orb-wrap { width: min(70vw, 300px); margin-top: 28px; }
  .hero-wordmark { font-size: 52vw; top: auto; bottom: 2%; transform: translateX(-50%); }

  .split-media img { aspect-ratio: 4 / 5; }
  .night-stat { gap: 14px; }
  .week-grid { gap: 2px; grid-template-columns: 22px repeat(24, minmax(0, 1fr)); }
  .week-head { grid-template-columns: 22px 1fr; }
  .cell { height: 12px; border-radius: 2px; }

  .call { height: 600px; padding: 16px; border-radius: 28px; }
  .bubble { font-size: 14.5px; padding: 12px 15px; max-width: 92%; }
  .agenda { left: 14px; right: 14px; bottom: 14px; padding: 14px; }
  .sms { left: 14px; right: 14px; top: 78px; }

  .price .amount { font-size: 60px; }
  .calc-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .faq-body { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .mbar {
    display: grid; grid-template-columns: 1fr auto; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(234, 240, 247, .84);
    -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
    box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%); transition: transform .4s var(--ease-out);
  }
  .mbar.is-visible { transform: none; }
  .mbar .btn-icon-only { width: 56px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .week-panel .cell { opacity: 1; transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .orb { -webkit-backdrop-filter: none; backdrop-filter: none; background: #D2DEEF; }
  .nav.is-scrolled, .mbar, .week-panel, .sms, .btn-secondary { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav.is-scrolled, .mbar { background: var(--ice-100); }
}
