/* ==========================================================================
   WILLIAM SAADA'PT — Secrétaire IA pour artisans
   Direction artistique : le carnet de chantier. Papier crème quadrillé,
   encre bleu nuit, bleu de travail, jaune chantier, orange, vert « décroché ».
   Cartes façon autocollants (contour encre + ombre franche), mascottes
   dessinées à la main, titres Bricolage Grotesque très gras, notes Caveat.
   ========================================================================== */

:root {
  --cream: #fff8ec;
  --cream-2: #fff1d9;
  --white: #ffffff;
  --ink: #1b2340;
  --ink-2: #4a5272;
  --ink-3: #6b7290;
  --line: #e7dfcf;
  --line-2: #d3d8e6;
  --blue: #2f5bea;
  --blue-2: #2449c4;
  --blue-soft: #e5ecff;
  --yellow: #ffd23f;
  --yellow-2: #ffc61a;
  --yellow-soft: #fff2c2;
  --orange: #ff7a2f;
  --orange-ink: #c4560f;
  --orange-soft: #ffe6d6;
  --green: #1fbf75;
  --green-ink: #0f8a52;
  --green-soft: #dcf7ea;
  --red: #f0444a;
  --red-ink: #c62828;
  --red-soft: #ffe1e1;

  --bw: 2.5px;
  --sh: 4px 4px 0 var(--ink);
  --sh-lg: 7px 7px 0 var(--ink);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  --font-d: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-h: "Caveat", "Segoe Print", "Comic Sans MS", cursive;
  --font-m: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --pad: clamp(20px, 4vw, 64px);
  --maxw: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--cream);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  font-family: var(--font-d);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  background-color: var(--cream);
  background-image:
    linear-gradient(rgba(27, 35, 64, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 35, 64, .045) 1px, transparent 1px);
  background-size: 34px 34px;
  background-position: center top;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
em { font-style: normal; color: var(--blue); }
strong { font-weight: 700; }

/* --------------------------------------------------------------------------
   Fond : ondes de voix WebGL (transparentes, sur le papier)
   -------------------------------------------------------------------------- */
#wave {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
main { position: relative; z-index: 2; }

/* --------------------------------------------------------------------------
   Typographie & boutons
   -------------------------------------------------------------------------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 6px 14px 6px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
.kicker::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); border: 2px solid var(--ink); }

.hand { font-family: var(--font-h); font-weight: 700; letter-spacing: 0; }

.hl {
  color: inherit;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-position: 0 86%;
  background-size: 100% 40%;
  padding: 0 .06em;
  margin: 0 -.03em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: inline-block; will-change: transform; }

.section-title {
  margin: 0;
  font-size: clamp(36px, 5.2vw, 78px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.04em;
}
.sec-head { max-width: var(--maxw); margin: 0 auto clamp(40px, 6vw, 72px); padding: 0 var(--pad); }
.sec-intro { max-width: 580px; margin: 24px 0 0; color: var(--ink-2); font-size: clamp(16px, 1.25vw, 19px); }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: var(--bw) solid var(--ink);
  background: var(--white);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
}
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { background: var(--yellow); }
@media (hover: hover) and (pointer: fine) { .btn-primary:hover { background: #ffdb5c; } }
.btn-ghost { background: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); box-shadow: 3px 3px 0 var(--yellow); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-xl { height: 60px; padding: 0 28px; font-size: 17px; }
.btn .arrow { transition: transform .3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.is-loading { pointer-events: none; opacity: .85; }
.play-ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}
.btn-primary .play-ico { background: var(--ink); color: var(--yellow); }
.play-ico svg { width: 12px; height: 12px; fill: currentColor; margin-left: 2px; }
.magnetic { display: inline-block; }

.rec-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--ink);
  animation: rec 1.6s infinite;
}
@keyframes rec {
  0% { box-shadow: 0 0 0 0 rgba(240, 68, 74, .55); }
  70% { box-shadow: 0 0 0 9px rgba(240, 68, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 68, 74, 0); }
}

/* Bulle de BD */
.bubble {
  position: absolute;
  z-index: 4;
  padding: 6px 16px 8px;
  border: var(--bw) solid var(--ink);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 25px;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--ink);
}
.bubble::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -9px;
  width: 14px;
  height: 14px;
  background: var(--white);
  border-right: var(--bw) solid var(--ink);
  border-bottom: var(--bw) solid var(--ink);
  transform: rotate(45deg);
}
.bubble.is-pop { animation: pop .5s var(--ease-back); }
@keyframes pop { from { transform: scale(.6) rotate(-6deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* --------------------------------------------------------------------------
   Mascottes
   -------------------------------------------------------------------------- */
.mascot { display: block; aspect-ratio: 1; flex: none; }
.mascot svg { width: 100%; height: 100%; overflow: visible; }
.mascot .m-blink { transform-box: fill-box; transform-origin: center; animation: m-blink 5.4s infinite; animation-delay: var(--bd, 0s); }
@keyframes m-blink { 0%, 93%, 100% { transform: scaleY(1); } 95.5% { transform: scaleY(.1); } }
.mascot .m-look { transition: transform .35s var(--ease-out); }
.mascot .m-head { transform-box: view-box; transform-origin: 100px 140px; transition: transform .6s var(--ease-out); }
.mascot .m-talk { display: none; }
.mascot.is-talking .m-idle { display: none; }
.mascot.is-talking .m-talk { display: inline; transform-box: fill-box; transform-origin: center; animation: m-talk .19s ease-in-out infinite alternate; }
@keyframes m-talk { from { transform: scaleY(.3) scaleX(1.1); } to { transform: scaleY(1.15) scaleX(.92); } }
.mascot .m-wave { transform-box: view-box; transform-origin: 152px 140px; animation: m-wave 2.6s ease-in-out infinite; }
@keyframes m-wave { 0%, 55%, 100% { transform: rotate(0); } 65% { transform: rotate(-16deg); } 75% { transform: rotate(8deg); } 85% { transform: rotate(-12deg); } }
.mascot .m-sweat { animation: m-sweat 1.6s ease-in infinite; }
@keyframes m-sweat { 0% { transform: translateY(-4px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
.mascot .m-glow { animation: m-glow 1.8s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes m-glow { from { transform: scale(.85); opacity: .6; } to { transform: scale(1.08); opacity: 1; } }
.mascot .m-hole { fill: var(--m-hole, #fffaf0); }
.mascot.is-hop { animation: m-hop .7s var(--ease-back); }
@keyframes m-hop { 0% { transform: translateY(0); } 35% { transform: translateY(-14%) rotate(-4deg); } 100% { transform: none; } }
.bob { animation: bob 3.6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Mascotte en vignette (visage cadré) */
.face {
  position: relative;
  display: block;
  flex: none;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--blue-soft);
}
.face .mascot { position: absolute; width: 168%; left: -34%; top: -8%; }
.face-yellow { background: var(--yellow-soft); }
.face-green { background: var(--green-soft); }

/* --------------------------------------------------------------------------
   Ouverture (loader)
   -------------------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--cream);
  /* Filet de sécurité : si le JavaScript ne charge pas, le rideau s'ouvre seul. */
  animation: loader-safety .5s 4.5s forwards;
}
@keyframes loader-safety { to { opacity: 0; visibility: hidden; } }
html:not(.is-loading) .loader { opacity: 0; visibility: hidden; transition: opacity .55s var(--ease-out), visibility 0s .55s; }
.loader-inner { display: grid; justify-items: center; gap: 18px; text-align: center; }
.loader-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--green);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--white);
}
.loader-ring svg { width: 34px; height: 34px; fill: currentColor; animation: ring-shake 1s var(--ease-out) infinite; }
.loader-ring span {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: ring-out 1.8s var(--ease-out) infinite;
}
.loader-ring span:nth-child(2) { animation-delay: .6s; }
.loader-ring span:nth-child(3) { animation-delay: 1.2s; }
@keyframes ring-out { from { transform: scale(1); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
@keyframes ring-shake {
  0%, 50%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(-14deg); }
  20%, 40% { transform: rotate(14deg); }
}
.loader-status { position: relative; height: 20px; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.loader-status span { display: block; transition: opacity .3s, transform .3s var(--ease-out); }
.ls-ok { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); color: var(--green-ink); }
.loader.is-picked .ls-ring { opacity: 0; transform: translateY(-8px); }
.loader.is-picked .ls-ok { opacity: 1; transform: none; }
.loader.is-picked .loader-ring svg { animation: none; }
.loader-brand { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }

/* --------------------------------------------------------------------------
   Curseur (souris uniquement)
   -------------------------------------------------------------------------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 400;
    pointer-events: none;
  }
  .cursor-ring {
    position: absolute;
    left: -16px;
    top: -16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--ink);
    transition: transform .35s var(--ease-out), background-color .25s, opacity .25s;
  }
  .cursor.is-hover .cursor-ring { transform: scale(1.5); background: rgba(255, 210, 63, .45); }
  .cursor.is-hidden .cursor-ring { opacity: 0; }
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px var(--pad);
  padding-top: max(14px, env(safe-area-inset-top));
  transition: background-color .3s, border-color .3s, transform .45s var(--ease-out);
  border-bottom: var(--bw) solid transparent;
}
.nav.is-scrolled {
  background: rgba(255, 248, 236, .9);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  border-bottom-color: var(--ink);
}
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: var(--bw) solid var(--ink);
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.06em;
  color: var(--ink);
  transform: rotate(-4deg);
  transition: transform .4s var(--ease-back);
}
.brand:hover .brand-mark { transform: rotate(6deg) scale(1.05); }
.brand-mark i { font-style: normal; color: var(--blue); }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -.03em; }
.nav-links { display: flex; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.nav-links a { position: relative; padding: 7px 13px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(27, 35, 64, .06); }
.nav-links a.is-active { color: var(--ink); background: var(--yellow-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: var(--bw) solid var(--ink); background: var(--white); box-shadow: 2px 2px 0 var(--ink); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease-out); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
  padding: 100px var(--pad) 40px;
  background-color: var(--cream);
  background-image:
    linear-gradient(rgba(27, 35, 64, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 35, 64, .05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 14px; font-size: clamp(32px, 8.5vw, 46px); font-weight: 800; letter-spacing: -.04em; }
.mobile-menu nav small { font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: 0; }
.mobile-menu .mm-mascot { position: absolute; right: var(--pad); bottom: max(26px, env(safe-area-inset-bottom)); width: 100px; }

/* --------------------------------------------------------------------------
   Héros
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
  max-width: calc(var(--maxw) + 2 * var(--pad));
  margin: 0 auto;
  padding: 120px var(--pad) 90px;
}
.hero-title {
  margin: 0;
  font-size: clamp(46px, 7vw, 112px);
  line-height: .96;
  font-weight: 800;
  letter-spacing: -.05em;
}
.hero-sub { max-width: 560px; margin: 28px 0 0; font-size: clamp(16px, 1.3vw, 20px); color: var(--ink-2); }
.hero-sub strong { color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green); border: 2px solid var(--ink); fill: none; stroke: var(--white); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }

.hero-phone { position: relative; display: grid; justify-items: center; }
.hero-mascot { position: absolute; z-index: 3; left: calc(50% - 300px); bottom: 2%; width: 176px; }
.hero-mascot .mascot { width: 100%; }
.hero-bubble { left: calc(50% - 318px); bottom: calc(2% + 178px); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: grid;
  justify-items: center;
  gap: 8px;
  transform: translateX(-50%);
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-3);
}
.scroll-cue i { width: 2.5px; height: 34px; border-radius: 2px; background: var(--ink); animation: cue 2s var(--ease-in-out) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* --------------------------------------------------------------------------
   Téléphones (maquettes)
   -------------------------------------------------------------------------- */
.phone {
  position: relative;
  width: min(100%, 310px);
  aspect-ratio: 9 / 18.6;
  padding: 10px;
  border-radius: 46px;
  border: 3px solid var(--ink);
  background: linear-gradient(160deg, #3a4573, #1b2340 45%, #2c3763);
  box-shadow: 12px 12px 0 -3px var(--yellow), 12px 12px 0 0 var(--ink);
}
.phone-island {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 3;
  width: 34%;
  height: 25px;
  border-radius: 20px;
  background: #0d1124;
  transform: translateX(-50%);
}
.ph-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  color: var(--ink);
  background: linear-gradient(172deg, #d9e5ff 0%, #f1f5ff 46%, #fff3dc 100%);
}

/* Héros : 3 états */
.ph-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 66px 20px 26px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(.97);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), visibility 0s .45s;
}
#hero-phone[data-state="ringing"] .ph-ringing,
#hero-phone[data-state="missed"] .ph-missed,
#hero-phone[data-state="live"] .ph-live { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ph-small { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; }
.ph-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 24px 0 14px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: #ffd9c2;
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -.03em;
}
.ph-avatar i {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  opacity: .35;
  animation: ring-out 2s var(--ease-out) infinite;
}
.ph-avatar i:last-child { animation-delay: 1s; }
.ph-number { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ph-loc { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.ph-question { margin: auto 0 0; font-size: 15px; line-height: 1.3; color: var(--ink-2); }
.ph-question em { display: block; margin-top: 2px; font-family: var(--font-h); font-weight: 700; font-size: 1.7em; color: var(--orange-ink); }
.ph-actions { display: flex; justify-content: space-between; width: 100%; gap: 10px; margin-top: 18px; }
.ph-btn { display: grid; justify-items: center; gap: 8px; width: 50%; font-size: 12.5px; font-weight: 700; line-height: 1.2; color: var(--ink-2); transition: color .2s; }
.ph-btn:hover { color: var(--ink); }
.ph-btn-ico {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.ph-btn-ico svg { width: 26px; height: 26px; fill: var(--white); }
.ph-btn:active .ph-btn-ico { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.ph-decline .ph-btn-ico { background: var(--red); }
.ph-decline .ph-btn-ico svg { transform: rotate(135deg); }
.ph-accept .ph-btn-ico { background: var(--green); animation: accept-pulse 1.6s infinite; }
.ph-accept .ph-btn-ico svg { animation: ring-shake 1.4s var(--ease-out) infinite; }
@keyframes accept-pulse {
  0% { box-shadow: 3px 3px 0 var(--ink), 0 0 0 0 rgba(31, 191, 117, .55); }
  70% { box-shadow: 3px 3px 0 var(--ink), 0 0 0 16px rgba(31, 191, 117, 0); }
  100% { box-shadow: 3px 3px 0 var(--ink), 0 0 0 0 rgba(31, 191, 117, 0); }
}
.ph-missed-ico {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 24px 0 14px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--red-soft);
}
.ph-missed-ico svg { width: 34px; height: 34px; fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.ph-big { margin: 0; font-size: 25px; font-weight: 800; letter-spacing: -.03em; }
.ph-missed .ph-big { color: var(--red-ink); }
.ph-text { margin: 10px 0 0; font-size: 14.5px; color: var(--ink-2); }
.ph-link { margin-top: auto; padding: 11px 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); box-shadow: 2px 2px 0 var(--ink); font-size: 13.5px; font-weight: 700; transition: transform .2s var(--ease-out); }
.ph-link:hover { transform: translate(-1px, -1px); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(31, 191, 117, .25); }
.ph-live .ph-small { color: var(--green-ink); }
.ph-live-tc { font-variant-numeric: tabular-nums; }
.ph-bars { display: flex; align-items: center; justify-content: center; gap: 5px; height: 90px; margin: 32px 0 16px; }
.ph-bars i { width: 8px; height: 20%; border-radius: 6px; border: 2px solid var(--ink); background: var(--blue); animation: bars 1s var(--ease-in-out) infinite; }
.ph-bars i:nth-child(3n) { background: var(--yellow); }
.ph-bars i:nth-child(3n+2) { background: var(--orange); }
.ph-bars i:nth-child(2n) { animation-duration: .8s; }
.ph-bars i:nth-child(3n) { animation-duration: 1.2s; }
.ph-bars i:nth-child(4n) { animation-delay: -.3s; }
.ph-bars i:nth-child(5n) { animation-delay: -.6s; }
@keyframes bars { 0%, 100% { height: 18%; } 50% { height: 92%; } }
.ph-quote { margin: 0; font-family: var(--font-h); font-weight: 700; font-size: 26px; line-height: 1.12; }

/* Écran verrouillé */
.lock-day { margin: 62px 0 0; text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-2); text-transform: capitalize; }
.lock-time { margin: 0; text-align: center; font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.notifs { display: grid; gap: 8px; padding: 24px 11px 0; }
.notif {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 6px 18px -6px rgba(27, 35, 64, .25);
  font-size: 13px;
  line-height: 1.3;
}
.notif strong { display: block; font-weight: 700; }
.notif span { color: var(--ink-3); font-size: 12px; }
.n-ico { flex: none; width: 30px; height: 30px; border-radius: 9px; position: relative; }
.n-ico::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 2px solid #fff; border-right-color: transparent; transform: rotate(-45deg); }
.n-red { background: var(--red); }
.n-grey { background: #9aa1b8; }

/* --------------------------------------------------------------------------
   Ruban de chantier
   -------------------------------------------------------------------------- */
.marquee {
  position: relative;
  z-index: 3;
  margin: 0 -3vw;
  overflow: hidden;
  padding: 13px 0;
  border-block: 3px solid var(--ink);
  background: var(--yellow);
  transform: rotate(-1.6deg);
  box-shadow: 0 6px 0 rgba(27, 35, 64, .1);
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 7px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 10px, transparent 10px 20px);
  opacity: .9;
}
.marquee::before { top: 0; }
.marquee::after { bottom: 0; }
.marquee-inner { display: flex; width: max-content; padding: 4px 0; animation: marquee 30s linear infinite; }
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee span::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Le problème (scène épinglée)
   -------------------------------------------------------------------------- */
.missed { position: relative; }
.missed-pin {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(30px, 6vw, 100px);
  min-height: 100vh;
  max-width: calc(var(--maxw) + 2 * var(--pad));
  margin: 0 auto;
  padding: 110px var(--pad) 70px;
}
.missed-head { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); margin: 0 0 26px; }
.missed-clock {
  margin: 0;
  font-size: clamp(64px, 10vw, 150px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
  color: var(--red);
  text-shadow: 5px 5px 0 var(--ink);
}
.missed-mascot { width: clamp(96px, 10vw, 150px); }
.missed-lines { display: grid; gap: 12px; }
.ml { margin: 0; font-size: clamp(22px, 2.4vw, 35px); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; }
.ml em { color: var(--ink-3); font-weight: 600; }
.missed-phone { display: grid; justify-items: center; }
.phone-lock { width: min(100%, 300px); box-shadow: 12px 12px 0 -3px var(--red-soft), 12px 12px 0 0 var(--ink); }

/* Chiffres */
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(40px, 6vw, 80px);
}
.fact {
  padding: clamp(24px, 2.6vw, 34px);
  border: var(--bw) solid var(--ink);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--sh);
}
.fact:nth-child(2) { transform: rotate(.6deg); }
.fact-num { margin: 0 0 12px; display: flex; align-items: baseline; gap: 6px; }
.fact-num b { font-size: clamp(56px, 6.6vw, 96px); font-weight: 800; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.fact-num em { font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.fact:nth-child(1) .fact-num { color: var(--red); }
.fact:nth-child(2) .fact-num { color: var(--blue); }
.fact:nth-child(3) .fact-num { color: var(--green-ink); }
.fact .fact-num em { color: inherit; }
.fact p { margin: 0; color: var(--ink-2); font-size: 16px; }
.fact small { display: block; margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }

/* Bascule : bandeau bleu */
.pivot {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 82vh;
  padding: 110px var(--pad) 120px;
  text-align: center;
  color: var(--white);
  background-color: var(--blue);
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1.5px, transparent 1.6px);
  background-size: 26px 26px;
  border-block: 3px solid var(--ink);
  overflow: hidden;
}
.pivot-inner { position: relative; display: grid; justify-items: center; }
.pivot-mascot { position: relative; width: clamp(130px, 13vw, 180px); margin-bottom: 22px; }
.pivot-mascot::before { content: ""; position: absolute; left: 4%; right: 4%; top: 2%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--ink); background: var(--yellow); box-shadow: 5px 5px 0 var(--ink); }
.pivot-mascot .mascot { position: relative; width: 100%; }
.pivot-bubble { left: 78%; bottom: 82%; font-size: 30px; }
.pivot-text { max-width: 1040px; margin: 0; font-size: clamp(40px, 6.2vw, 100px); line-height: 1; font-weight: 800; letter-spacing: -.05em; }
.pivot-text em { color: var(--yellow); }
.pivot-text .w { display: inline-block; }

/* --------------------------------------------------------------------------
   La démo
   -------------------------------------------------------------------------- */
.demo { padding: clamp(80px, 10vw, 140px) 0; }
.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: var(--maxw);
  margin: 0 auto 28px;
  padding: 0 var(--pad);
}
.demo-tabs button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 20px 7px 7px;
  border-radius: 20px;
  border: var(--bw) solid var(--ink);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  text-align: left;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .2s;
}
.demo-tabs .face { width: 54px; height: 54px; }
.demo-tabs .tab-txt { display: grid; gap: 1px; }
.demo-tabs b { font-size: 16.5px; font-weight: 800; letter-spacing: -.02em; }
.demo-tabs small { font-size: 13px; font-weight: 600; color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) {
  .demo-tabs button:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
}
.demo-tabs button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.demo-tabs button[aria-selected="true"] { background: var(--yellow); }
.demo-tabs button[aria-selected="true"] small { color: var(--ink); }

.demo-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr);
  gap: clamp(22px, 3vw, 44px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  align-items: start;
}
.call {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  border-radius: 26px;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.call-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px 14px 14px; border-bottom: var(--bw) solid var(--ink); background: var(--cream); }
.call-id { display: flex; align-items: center; gap: 12px; }
.call-id b { display: block; font-size: 16.5px; font-weight: 800; letter-spacing: -.02em; }
.call-id small { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.call-avatar { width: 54px; height: 54px; }
.call[data-state="ringing"] .call-avatar { animation: ring-shake 1s var(--ease-out) infinite; }
.call[data-state="live"] #call-status { color: var(--green-ink); }
.call[data-state="ended"] #call-status { color: var(--ink-3); }
.call-timer { padding: 5px 11px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); font-family: var(--font-m); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.call[data-state="live"] .call-timer { color: var(--white); background: var(--green); }
.call-wave { display: block; width: 100%; height: 64px; border-bottom: 2px dashed var(--line-2); }
.call-body { display: grid; grid-template-columns: minmax(0, 1fr) 236px; min-height: 0; }
.transcript {
  height: 380px;
  overflow-y: auto;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.transcript-empty { margin: auto; max-width: 330px; text-align: center; color: var(--ink-3); font-size: 15px; }
.msg { max-width: 86%; padding: 10px 15px 11px; border-radius: 18px; font-size: 15px; line-height: 1.45; border: 2px solid var(--ink); }
.msg small { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.msg-a { align-self: flex-start; background: var(--blue-soft); border-top-left-radius: 5px; }
.msg-a small { color: var(--blue); }
.msg-c { align-self: flex-end; background: var(--yellow-soft); border-top-right-radius: 5px; }
.msg-c small { color: var(--orange-ink); text-align: right; }
.msg-sys { align-self: center; max-width: none; padding: 5px 13px; border: 0; border-radius: 999px; background: #eef0f6; font-size: 12px; font-weight: 700; letter-spacing: .03em; color: var(--ink-3); }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(-3px); opacity: .9; } }
.caret { display: inline-block; width: 2.5px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--blue); animation: caret .8s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.fiche { margin: 0; padding: 18px 16px; border-left: var(--bw) solid var(--ink); background: var(--cream); display: grid; align-content: start; gap: 8px; }
.fiche::before { content: "Ce qu'il a compris"; font-family: var(--font-h); font-size: 24px; font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.fiche div { padding: 8px 11px; border-radius: 12px; background: var(--white); border: 2px dashed var(--line-2); transition: border-color .4s, background-color .4s, transform .4s var(--ease-back); }
.fiche dt { font-size: 11px; font-weight: 800; color: var(--ink-3); text-transform: uppercase; letter-spacing: .07em; }
.fiche dd { margin: 2px 0 0; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--ink-3); min-height: 1.3em; }
.fiche div.is-set { border-style: solid; border-color: var(--green); background: var(--green-soft); }
.fiche div.is-set dd { color: var(--ink); }
.fiche div.is-urgent { border-color: var(--red); background: var(--red-soft); }
.fiche div.is-urgent dd { color: var(--red-ink); font-weight: 800; }
.fiche div.is-warn { border-color: var(--yellow-2); background: var(--yellow-soft); }
.fiche div.is-warn dd { color: #8a5a00; font-weight: 800; }

.call-controls { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 20px; border-top: var(--bw) solid var(--ink); background: var(--cream); }
.btn-sound .snd-on { display: none; }
.btn-sound[aria-pressed="true"] .snd-on { display: inline; }
.btn-sound[aria-pressed="true"] .snd-off { display: none; }
.btn-sound[aria-pressed="true"] { background: var(--green-soft); }

.result { display: grid; justify-items: center; gap: 16px; position: sticky; top: 100px; }
.result-head { display: flex; align-items: center; gap: 10px; margin: 0; }
.result-head .face { width: 50px; height: 50px; }
.result-label { margin: 0; font-family: var(--font-h); font-size: 25px; font-weight: 700; line-height: 1; }
.result-label b { color: var(--blue); }
.phone-artisan { width: min(100%, 290px); box-shadow: 12px 12px 0 -3px var(--blue-soft), 12px 12px 0 0 var(--ink); }
.phone-artisan .lock-time { font-size: 54px; transition: font-size .5s var(--ease-out); }
.phone-artisan .lock-day { transition: margin .5s var(--ease-out); }
.phone-artisan.has-cards .lock-day { margin-top: 50px; }
.phone-artisan.has-cards .lock-time { font-size: 34px; }
.phone-artisan.has-cards .result-cards { padding-top: 14px; }
.result-cards { display: grid; gap: 8px; padding: 22px 10px 0; }
.result-empty { margin: 40px 16px 0; text-align: center; font-size: 13.5px; color: var(--ink-3); }
.rcard {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 6px 18px -6px rgba(27, 35, 64, .28);
  font-size: 12.5px;
  line-height: 1.38;
}
.rcard-h { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; font-size: 11px; color: var(--ink-3); }
.rcard-h b { color: var(--ink); font-size: 12px; font-weight: 800; }
.rcard-h span:last-child { margin-left: auto; }
.rc-ico { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font-size: 10.5px; font-weight: 800; }
.rc-sms { background: var(--green); color: #fff; }
.rc-cal { background: var(--blue); color: #fff; }
.rc-alert { background: var(--red); color: #fff; }
.rc-star { background: var(--yellow); color: var(--ink); }
.tag { display: inline-block; padding: 1px 7px; margin-right: 4px; border-radius: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; }
.tag-red { background: var(--red-soft); color: var(--red-ink); }
.tag-amber { background: var(--yellow-soft); color: #8a5a00; }
.rcard-btn { display: inline-block; margin-top: 7px; padding: 5px 11px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 800; font-size: 11.5px; }

.demo-note { max-width: var(--maxw); margin: 26px auto 0; padding: 0 var(--pad); font-size: 13px; color: var(--ink-3); }
.demo-live { max-width: var(--maxw); margin: 10px auto 0; padding: 0 var(--pad); font-size: 16px; font-weight: 600; }
.demo-live a { color: var(--blue); font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Comment ça marche
   -------------------------------------------------------------------------- */
.methode { padding: clamp(80px, 10vw, 140px) 0; }
.steps-wrap {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 100px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.steps-sticky { position: sticky; top: 28vh; }
.steps-num { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.steps-num span { font-size: clamp(100px, 14vw, 210px); font-weight: 800; line-height: .85; letter-spacing: -.07em; font-variant-numeric: tabular-nums; color: var(--blue); text-shadow: 7px 7px 0 var(--yellow); }
.steps-num small { font-size: 16px; font-weight: 800; color: var(--ink-3); }
.steps-label { margin: 22px 0 0; font-family: var(--font-h); font-weight: 700; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; color: var(--ink); }
.steps-mascot { width: clamp(110px, 10vw, 150px); margin-top: 18px; }
.steps { position: relative; margin: 0; padding: 0 0 0 42px; list-style: none; display: grid; gap: clamp(50px, 8vh, 90px); }
.steps::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 3px; background: repeating-linear-gradient(var(--line-2) 0 8px, transparent 8px 15px); }
.steps::after { content: ""; position: absolute; left: 6px; top: 10px; width: 3px; border-radius: 3px; height: calc((100% - 20px) * var(--p, 0)); background: var(--blue); }
.step { position: relative; opacity: .38; transition: opacity .5s var(--ease-out); }
.step.is-active, .no-motion .step { opacity: 1; }
.step::before { content: ""; position: absolute; left: -44px; top: 6px; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 3px solid var(--ink); transition: background-color .4s, transform .4s var(--ease-back); }
.step.is-active::before { background: var(--yellow); transform: scale(1.25); }
.step-n { display: inline-block; padding: 2px 9px; border-radius: 8px; background: var(--ink); color: var(--yellow); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; }
.step h3 { margin: 12px 0 12px; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
.step p { margin: 0; max-width: 560px; color: var(--ink-2); font-size: 17px; }
.chip { display: inline-block; margin-top: 16px; padding: 6px 13px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); font-size: 13.5px; font-weight: 700; color: var(--ink); }

/* --------------------------------------------------------------------------
   Le calcul
   -------------------------------------------------------------------------- */
.calc {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  max-width: calc(var(--maxw) + 2 * var(--pad));
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--pad);
}
.calc-mascot { width: clamp(120px, 12vw, 170px); margin-top: 26px; }
.calc-card {
  padding: clamp(22px, 3vw, 38px);
  border-radius: 26px;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: var(--sh-lg);
}
.range { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 16px; margin-bottom: 24px; }
.range label { font-size: 15.5px; font-weight: 600; color: var(--ink-2); }
.range output { padding: 1px 10px; border-radius: 10px; background: var(--yellow-soft); font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.range input { grid-column: 1 / -1; }
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 34px;
  background: transparent;
  cursor: pointer;
  --v: 50%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 12px;
  border-radius: 8px;
  border: 2px solid var(--ink);
  background: linear-gradient(90deg, var(--blue) 0 var(--v), #eceef4 var(--v) 100%);
}
input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; border: 2px solid var(--ink); background: #eceef4; }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--blue); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform .2s var(--ease-back);
}
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc-result { margin-top: 6px; padding-top: 22px; border-top: 2px dashed var(--line-2); }
.calc-cap { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.calc-big { margin: 6px 0 18px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.calc-big b { font-size: clamp(54px, 6.5vw, 92px); font-weight: 800; letter-spacing: -.06em; line-height: .95; color: var(--red); font-variant-numeric: tabular-nums; text-shadow: 4px 4px 0 var(--red-soft); }
.calc-big span { font-size: 18px; font-weight: 700; color: var(--ink-2); }
.calc-bars { display: grid; gap: 10px; }
.cbar { position: relative; height: 36px; border-radius: 11px; border: 2px solid var(--ink); background: #f6f4ee; overflow: hidden; }
.cbar i { position: absolute; inset: 0 auto 0 0; width: 100%; transform-origin: left; transition: transform .6s var(--ease-out); }
.cbar span { position: relative; display: flex; align-items: center; height: 100%; padding: 0 12px; font-size: 13.5px; font-weight: 800; }
.cbar-lost i { background: #ff9fa2; }
.cbar-cost i { background: var(--yellow); }
.calc-pay { margin: 18px 0 0; font-size: 17px; font-weight: 800; color: var(--green-ink); }
.calc-note { margin: 16px 0 0; font-size: 12.5px; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   Métiers
   -------------------------------------------------------------------------- */
.metiers { padding: clamp(60px, 8vw, 120px) 0; }
.metier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.metier {
  display: flex;
  flex-direction: column;
  padding: 0 22px 24px;
  border-radius: 24px;
  border: var(--bw) solid var(--ink);
  background: var(--white);
  box-shadow: var(--sh);
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .metier:hover { transform: translate(-3px, -4px) rotate(-.6deg); box-shadow: 7px 8px 0 var(--ink); }
}
.metier-top {
  position: relative;
  display: grid;
  justify-items: center;
  margin: 0 -22px 18px;
  padding: 16px 0 0;
  border-bottom: var(--bw) solid var(--ink);
  background: var(--blue-soft);
}
.metier:nth-child(2) .metier-top { background: var(--yellow-soft); }
.metier:nth-child(3) .metier-top { background: var(--green-soft); }
.metier-top .mascot { width: 158px; margin-bottom: -2px; }
.metier-name { position: absolute; left: 14px; top: 12px; padding: 1px 10px 3px; border-radius: 10px; border: 2px solid var(--ink); background: var(--white); font-family: var(--font-h); font-size: 21px; font-weight: 700; line-height: 1.1; transform: rotate(-4deg); }
.metier-n { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; color: var(--blue); text-transform: uppercase; }
.metier h3 { margin: 6px 0 12px; font-size: 23px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.metier p { margin: 0 0 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.metier ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 14.5px; }
.metier li { position: relative; padding-left: 24px; }
.metier li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--yellow) no-repeat center / 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2340' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E");
}
.metier-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); box-shadow: 2px 2px 0 var(--ink); font-size: 14px; font-weight: 800; text-align: left; align-self: flex-start; transition: transform .18s var(--ease-out), box-shadow .18s, background-color .2s; }
.metier-cta:hover { background: var(--yellow); transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.metier-cta span { transition: transform .3s var(--ease-out); }
.metier-cta:hover span { transform: translateX(3px); }
.metier-soon { padding-top: 24px; background: transparent; border-style: dashed; box-shadow: none; }
.metier-soon .metier-n { color: var(--orange-ink); }
.stamp {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 12px;
  border: 3px solid var(--red);
  border-radius: 10px;
  color: var(--red);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transform: rotate(-6deg);
}

/* --------------------------------------------------------------------------
   Tarifs
   -------------------------------------------------------------------------- */
.tarifs { padding: clamp(80px, 10vw, 140px) 0; }
.pilot {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 30px;
  width: calc(min(100%, var(--maxw)) - 2 * var(--pad));
  margin: 0 auto 30px;
  padding: 22px 26px 22px 46px;
  border-radius: 24px;
  border: 3px solid var(--ink);
  background: var(--yellow);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.pilot::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 20px; border-right: 3px solid var(--ink); background: repeating-linear-gradient(-45deg, var(--ink) 0 9px, var(--yellow) 9px 18px); }
.pilot-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.pilot-badge b { color: var(--red-ink); }
.pilot-title { margin: 0; font-size: clamp(19px, 1.8vw, 24px); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; }
.pilot-title b { background: var(--white); padding: 0 .2em; border-radius: 6px; }
.pilot-title em { color: var(--ink); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.pilot-text { margin: 6px 0 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.pilot .btn-primary { background: var(--ink); color: var(--white); box-shadow: 3px 3px 0 var(--white); }
@media (hover: hover) and (pointer: fine) { .pilot .btn-primary:hover { background: var(--ink); box-shadow: 5px 5px 0 var(--white); } }

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border-radius: 26px;
  border: var(--bw) solid var(--ink);
  background: var(--white);
  box-shadow: var(--sh);
}
.plan-pro {
  border-width: 3px;
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--sh-lg);
}
.plan-flag { position: absolute; top: -16px; right: 22px; padding: 6px 14px; border-radius: 12px; border: var(--bw) solid var(--ink); background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .02em; box-shadow: 2px 2px 0 var(--ink); transform: rotate(4deg); }
.plan-name { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.04em; }
.plan-tag { margin: 0 0 20px; font-family: var(--font-h); font-size: 25px; font-weight: 700; line-height: 1.1; color: var(--ink-2); }
.plan-pro .plan-tag { color: var(--yellow); }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.plan-price b { font-size: 56px; font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.plan-price span { font-weight: 700; color: var(--ink-3); }
.plan-pro .plan-price span, .plan-pro .plan-setup { color: rgba(255, 255, 255, .8); }
.plan-setup { margin: 6px 0 22px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.plan ul { margin: 0 0 26px; padding: 22px 0 0; border-top: 2px dashed var(--line-2); list-style: none; display: grid; gap: 11px; font-size: 15px; }
.plan-pro ul { border-top-color: rgba(255, 255, 255, .35); }
.plan li { position: relative; padding-left: 28px; }
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--green) no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E");
}
.plan-pro li::before { background-color: var(--yellow); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2340' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E"); }
.plan li strong { font-weight: 800; }
.plan li:has(strong)::before { display: none; }
.plan li:has(strong) { padding-left: 0; }
.plan .btn { margin-top: auto; }
.plan-pro .btn-primary { box-shadow: 3px 3px 0 var(--ink); }
.tarifs-note { max-width: var(--maxw); margin: 26px auto 0; padding: 0 var(--pad); font-size: 13px; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   Règles d'or
   -------------------------------------------------------------------------- */
.regles { padding: clamp(60px, 8vw, 120px) 0; }
.regle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.regle { padding: 26px 24px; border: var(--bw) solid var(--ink); border-radius: 22px; background: var(--white); box-shadow: var(--sh); }
.regle-ico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 16px; border-radius: 15px; border: 2px solid var(--ink); background: var(--blue-soft); transform: rotate(-4deg); }
.regle:nth-child(2) .regle-ico { background: var(--yellow-soft); transform: rotate(3deg); }
.regle:nth-child(3) .regle-ico { background: var(--green-soft); }
.regle:nth-child(4) .regle-ico { background: var(--orange-soft); transform: rotate(4deg); }
.regle:nth-child(5) .regle-ico { background: var(--red-soft); transform: rotate(-3deg); }
.regle:nth-child(6) .regle-ico { background: var(--blue-soft); transform: rotate(2deg); }
.regle-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.regle h3 { margin: 0 0 10px; font-size: 20.5px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; }
.regle p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   Qui est derrière
   -------------------------------------------------------------------------- */
.william { padding: clamp(60px, 8vw, 110px) var(--pad); }
.william-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 30px;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: var(--sh-lg);
}
.william-mono { position: relative; width: clamp(150px, 15vw, 210px); aspect-ratio: 1; }
.william-mono svg { width: 100%; height: 100%; overflow: visible; }
.william-mono text { font-family: var(--font-d); font-weight: 800; }
.william-quote { margin: 0; font-size: clamp(19px, 1.9vw, 27px); line-height: 1.38; font-weight: 600; letter-spacing: -.015em; }
.william-quote em { background: var(--yellow-soft); color: var(--ink); padding: 0 .15em; border-radius: 6px; font-weight: 800; }
.william-sign { margin: 14px 0 0; font-family: var(--font-h); font-size: 34px; font-weight: 700; color: var(--blue); line-height: 1; }
.william-facts { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.william-facts li { display: grid; padding: 12px 16px; border: 2px solid var(--ink); border-radius: 16px; background: var(--cream); }
.william-facts b { font-size: 28px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.william-facts span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { padding: clamp(60px, 8vw, 120px) 0; }
.faq-list { max-width: 940px; margin: 0 auto; padding: 0 var(--pad); display: grid; gap: 12px; }
.qa { border: var(--bw) solid var(--ink); border-radius: 18px; background: var(--white); box-shadow: 3px 3px 0 var(--ink); transition: box-shadow .25s, background-color .25s; }
.qa[open] { background: var(--cream); box-shadow: 5px 5px 0 var(--ink); }
.qa summary {
  position: relative;
  display: block;
  padding: 20px 64px 20px 22px;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: -.02em;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--yellow);
  transition: background-color .25s;
}
.qa summary::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 2.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2.5px 100% no-repeat;
  transition: transform .35s var(--ease-out);
}
.qa[open] summary::after { transform: rotate(135deg); }
.qa[open] summary::before { background: var(--white); }
.qa-a { overflow: hidden; }
.qa-a p { margin: 0; padding: 0 64px 22px 22px; color: var(--ink-2); font-size: 16.5px; max-width: 800px; }

/* --------------------------------------------------------------------------
   Réserver : bandeau bleu + formulaire
   -------------------------------------------------------------------------- */
.rdv {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
  padding: clamp(90px, 11vw, 150px) max(var(--pad), calc((100% - var(--maxw)) / 2)) clamp(70px, 8vw, 110px);
  color: var(--white);
  background-color: var(--blue);
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1.5px, transparent 1.6px);
  background-size: 26px 26px;
  border-top: 3px solid var(--ink);
}
.rdv-copy { position: sticky; top: 110px; }
.rdv .kicker::before { background: var(--yellow); }
.final-title { margin: 0; font-size: clamp(50px, 7vw, 108px); line-height: .96; font-weight: 800; letter-spacing: -.05em; }
.rdv .hl { color: var(--ink); background-position: 0 0; background-size: 100% 100%; padding: 0 .12em; border-radius: .1em; }
.rdv-sub { margin: 24px 0 0; max-width: 480px; font-size: clamp(16px, 1.3vw, 19px); color: rgba(255, 255, 255, .92); }
.rdv-pilot { display: flex; align-items: center; gap: 12px; margin: 24px 0 0; max-width: 480px; padding: 14px 18px; border-radius: 16px; border: var(--bw) solid var(--ink); background: var(--yellow); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); font-size: 14.5px; font-weight: 600; }
.rdv-pilot .rec-dot { flex: none; }
.rdv-pilot b { font-weight: 800; }
.rdv-call { margin: 20px 0 0; font-size: 16px; font-weight: 600; }
.rdv-call a { color: var(--yellow); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.crew { display: flex; align-items: flex-end; margin: 34px 0 0 -10px; }
.crew .mascot { width: clamp(84px, 8vw, 118px); margin-right: -14px; }
.crew .mascot:nth-child(1) { animation-delay: -.4s; }
.crew .mascot:nth-child(2) { animation-delay: -1.3s; }
.crew .mascot:nth-child(3) { animation-delay: -2.2s; }
.crew .mascot:nth-child(4) { animation-delay: -3s; }
.crew-note { margin: 6px 0 0; font-family: var(--font-h); font-size: 24px; font-weight: 700; color: var(--yellow); }

.rf {
  position: relative;
  padding: clamp(22px, 3vw, 38px);
  border-radius: 28px;
  border: 3px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  box-shadow: 9px 9px 0 var(--ink);
}
.rf-top { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.rf-count { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.rf-progress { flex: 1; height: 12px; border-radius: 8px; border: 2px solid var(--ink); background: #eceef4; overflow: hidden; }
.rf-progress i { display: block; height: 100%; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(.3333); transition: transform .5s var(--ease-out); }
.rf-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.rf-q { display: block; padding: 0; margin: 0 0 16px; font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.rf-q2 { margin-top: 30px; font-size: clamp(18px, 1.5vw, 21px); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chipo { position: relative; cursor: pointer; }
.chipo input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chipo span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--white);
  font-size: 15px;
  font-weight: 600;
  transition: background-color .2s, box-shadow .2s var(--ease-out), transform .2s var(--ease-out);
}
.chipo:hover span { background: var(--cream); }
.chipo input:checked + span { background: var(--yellow); box-shadow: 2px 2px 0 var(--ink); font-weight: 800; }
.chipo input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.chipo:active span { transform: scale(.96); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; align-content: start; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.field label small { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border-radius: 14px;
  border: 2px solid var(--line-2);
  background: #fbfbfd;
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 78px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa0b6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 3px 3px 0 var(--blue); }
.field.has-err input { border-color: var(--red); background: #fff6f6; }
.tel { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px; }
.tel select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.field-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 21px; height: 21px; margin: 1px 0 0; accent-color: var(--blue); }
.consent a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.rf-err { margin: 10px 0 0; font-size: 13.5px; font-weight: 700; color: var(--red-ink); }
.field .rf-err { margin: 0; }
.rf-err-send { padding: 12px 14px; border-radius: 12px; border: 2px solid var(--red); background: var(--red-soft); }
.rf-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.rf-nav #rf-next { margin-left: auto; }
.rf-done { text-align: center; padding: 10px 0 6px; }
.rf-done:focus { outline: none; }
.rf-done-mascot { width: 140px; margin: 0 auto 8px; }
.rf-done-ico { display: none; }
.rf-done-title { margin: 0 0 12px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.035em; }
.rf-done p { margin: 0 auto 12px; max-width: 440px; color: var(--ink-2); }
.rf-done em { color: var(--blue); font-weight: 700; }
.rf-ref { font-family: var(--font-m); font-size: 13px; }
.rf-ref b { color: var(--ink); padding: 2px 8px; border-radius: 8px; background: var(--yellow-soft); }
.rf-done .btn { margin-top: 10px; }
.reel { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   Pied de page & CTA collant (mobile)
   -------------------------------------------------------------------------- */
.footer-wrap { position: relative; z-index: 2; background: var(--ink); color: rgba(255, 248, 236, .78); }
.footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 30px;
  align-items: start;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 44px var(--pad) max(44px, env(safe-area-inset-bottom));
  font-size: 14.5px;
}
.footer-brand .brand-name { font-size: 22px; color: var(--cream); }
.footer-brand .brand-name em { color: var(--yellow); }
.footer-brand p { margin: 8px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; }
.footer-links a:hover, .footer-legal a:hover { color: var(--yellow); }
.footer-legal { display: grid; gap: 8px; justify-items: end; }

.sticky-cta { display: none; }
.noscript { position: fixed; bottom: 0; left: 0; right: 0; z-index: 500; margin: 0; padding: 14px; text-align: center; background: var(--yellow); color: var(--ink); font-weight: 700; border-top: 3px solid var(--ink); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .metier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .call-body { grid-template-columns: minmax(0, 1fr); }
  .fiche { grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 0; border-top: var(--bw) solid var(--ink); padding: 14px 16px; }
  .fiche::before { grid-column: 1 / -1; }
  .transcript { height: 330px; }
  .hero-mascot { left: calc(50% - 268px); width: 150px; }
  .hero-bubble { left: calc(50% - 284px); bottom: calc(2% + 150px); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-actions .btn { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 110px; text-align: left; }
  .hero-phone { order: 2; padding: 0 0 96px; }
  .hero-mascot { left: calc(50% - 162px); width: 116px; bottom: 0; }
  .hero-bubble { left: calc(50% - 42px); bottom: 38px; font-size: 22px; }
  .hero-bubble::after { left: -9px; bottom: 12px; transform: rotate(135deg); }
  .scroll-cue { display: none; }
  .missed-pin { grid-template-columns: 1fr; min-height: 0; padding-top: 90px; }
  .missed-phone { order: 2; }
  .facts { grid-template-columns: 1fr; }
  .fact:nth-child(2) { transform: none; }
  .demo-stage { grid-template-columns: 1fr; }
  .result { position: static; }
  .steps-wrap { grid-template-columns: 1fr; }
  .steps-aside { display: none; }
  .step { opacity: 1; }
  .calc { grid-template-columns: 1fr; }
  .calc-mascot { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .pilot { grid-template-columns: 1fr; width: calc(min(100%, 560px) - 2 * var(--pad)); }
  .regle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .william-card { grid-template-columns: 1fr; }
  .rdv { grid-template-columns: 1fr; }
  .rdv-copy { position: static; }
  .footer { grid-template-columns: 1fr; }
  .footer-legal { justify-items: start; }
  .sticky-cta {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 56px;
    border-radius: 999px;
    border: 3px solid var(--ink);
    background: var(--yellow);
    color: var(--ink);
    font-weight: 800;
    font-size: 16.5px;
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform .45s var(--ease-out), opacity .3s;
  }
  .sticky-cta.is-hidden { transform: translateY(150%); opacity: 0; pointer-events: none; }
}

@media (max-width: 600px) {
  .demo-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .demo-tabs button { flex-direction: column; align-items: center; gap: 6px; padding: 8px 6px 10px; border-radius: 16px; text-align: center; }
  .demo-tabs .face { width: 50px; height: 50px; }
  .demo-tabs b { font-size: 14.5px; }
  .demo-tabs small { font-size: 11.5px; }
  .hero-title { font-size: clamp(42px, 12.4vw, 60px); }
  .kicker { font-size: 11.5px; letter-spacing: .03em; }
  .hero-ctas .btn, .hero-ctas .magnetic { width: 100%; }
  .phone { width: min(100%, 280px); }
  .missed-head { flex-wrap: nowrap; }
  .metier-grid { grid-template-columns: 1fr; }
  .regle-grid { grid-template-columns: 1fr; }
  .fiche { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .transcript { height: 340px; padding: 16px; }
  .msg { max-width: 92%; font-size: 14.5px; }
  .call-head { padding: 12px 14px 12px 12px; }
  .call-avatar { width: 46px; height: 46px; }
  .call-controls { padding: 12px 14px; }
  .call-controls .btn { flex: 1 1 auto; }
  .fields { grid-template-columns: 1fr; }
  .chipo span { padding: 9px 14px; font-size: 14.5px; }
  .rf-nav .btn { flex: 1; }
  .tarifs-note, .demo-note { font-size: 12.5px; }
  .pilot { padding-left: 40px; }
  .pivot-bubble { left: 70%; font-size: 26px; }
  .crew .mascot { width: 78px; }
  .footer { padding-bottom: 104px; }
}

/* Mouvement réduit : pas d'animations décoratives */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-inner { animation: none; }
}

/* Mascottes posées sur le bandeau bleu : petite ombre pour les détacher */
.crew .mascot, .rf-done-mascot { filter: drop-shadow(3px 4px 0 rgba(27, 35, 64, .45)); }
