/* Nextylab, refonte de la landing.
   Les valeurs viennent du système de marque (tokens.json du design system Nextylab). */

/* ---------- Tokens ---------- */
/* .theme-dark remet les valeurs sombres dans un bloc posé sur une section claire */
:root,
.theme-dark {
  --bg: #0A0A0A;
  --surface: #141416;
  --elevated: #1F1F23;
  --line: #2A2A30;
  --ink: #FFFFFF;
  --ink-2: #A1A1AA;
  --orange: #FF6B2C;
  --orange-hover: #FF8A55;
  --orange-text: #FF6B2C;
  --on-orange: #0A0A0A;

  --font-display: "Inter", system-ui, sans-serif;
  --font-text: "Inter", system-ui, sans-serif;

  --nav-bg: rgba(12, 12, 14, 0.94);
  --nav-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.7);

  /* Bouton arc-en-ciel : fond blanc sur une zone sombre */
  --rb-fill: #FFFFFF;
  --rb-fade: rgba(255, 255, 255, 0.6);
  --rb-text: #0A0A0A;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 0 0 rgba(255, 255, 255, 0.04) inset, 0 16px 40px -12px rgba(0, 0, 0, 0.7);
  --shadow-float: 0 24px 64px -16px #000000cc;
  --gradient-halo: radial-gradient(50% 50% at 50% 50%, rgba(255, 107, 44, 0.42) 0%, rgba(255, 107, 44, 0) 100%);

  --gutter: clamp(20px, 4vw, 64px);
  --container: 1440px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Sections claires (alternance prévue pour la suite de la page) */
.theme-light {
  --bg: #FFFFFF;
  --surface: #F4F4F5;
  --elevated: #FFFFFF;
  --line: #E4E4E7;
  --ink: #0A0A0A;
  --ink-2: #6B7280;
  --orange-text: #C2410C;
  --shadow-card: 0 1px 3px 0 rgba(10, 10, 10, 0.08), 0 8px 24px -8px rgba(10, 10, 10, 0.12);
  --shadow-float: 0 24px 48px -16px rgba(10, 10, 10, 0.2);
  --nav-bg: rgba(255, 255, 255, 0.82);
  --nav-shadow: 0 12px 32px -14px rgba(10, 10, 10, 0.18);

  /* Bouton arc-en-ciel : fond noir sur une zone claire, comme le composant d'origine */
  --rb-fill: #121213;
  --rb-fade: rgba(18, 18, 19, 0.6);
  --rb-text: #FFFFFF;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -64px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--orange);
  color: var(--on-orange);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 16px; }

.accent { color: var(--orange); }
.nowrap { white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font: 600 15px/1 var(--font-text);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--orange);
  color: var(--on-orange);
}
.btn--primary:hover { background: var(--orange-hover); }

.btn--sm {
  height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

/* Bouton clair, pour contraster sur la nav sombre */
.btn--light {
  background: var(--ink);
  color: var(--bg);
}
.btn--light:hover { background: #E4E4E7; }

/* Bouton arc-en-ciel du CTA du hero (choix validé le 2026-10-19), d'après le RainbowButton
   de Magic UI : bordure en dégradé qui défile, lueur floue sous le bouton. Le fond suit le thème
   (blanc sur zone sombre, noir sur zone claire), comme le composant d'origine. */
.btn--rainbow {
  --color-1: 0 100% 63%;
  --color-2: 270 100% 63%;
  --color-3: 210 100% 63%;
  --color-4: 195 100% 63%;
  --color-5: 90 100% 63%;
  --rainbow: linear-gradient(90deg, hsl(var(--color-1)), hsl(var(--color-5)), hsl(var(--color-3)), hsl(var(--color-4)), hsl(var(--color-2)));

  position: relative;
  height: 44px;
  border: calc(0.08 * 1rem) solid transparent;
  background:
    linear-gradient(var(--rb-fill), var(--rb-fill)) padding-box,
    linear-gradient(var(--rb-fill) 50%, var(--rb-fade) 80%, transparent) border-box,
    var(--rainbow) border-box;
  background-size: 200%;
  color: var(--rb-text);
  font-weight: 500;
  animation: rainbow 2s linear infinite;
}

.btn--rainbow::before {
  content: "";
  position: absolute;
  bottom: -20%;
  left: 50%;
  z-index: 0;
  width: 60%;
  height: 20%;
  transform: translateX(-50%);
  background: var(--rainbow);
  background-size: 200%;
  filter: blur(calc(0.8 * 1rem));
  animation: rainbow 2s linear infinite;
}

@keyframes rainbow {
  0% { background-position: 0%; }
  100% { background-position: 200%; }
}

/* ---------- Barre de navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px var(--gutter) 0;
}

.nav {
  position: relative;
  max-width: min(1080px, 90%);
  min-height: 66px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 10px 11px 10px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled .nav { box-shadow: var(--nav-shadow); }

.nav__brand {
  justify-self: start;
  display: flex;
  align-items: center;
  height: 44px;
}
.nav__brand img { width: auto; height: 26px; }

/* Bureau : le menu se fond dans la grille (liens au centre, bouton à droite) */
.nav__menu { display: contents; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--ink); }

.nav__cta { justify-self: end; }

.nav__toggle { display: none; }

/* Mobile et tablette : bouton menu et panneau déroulant */
@media (max-width: 880px) {
  .nav {
    max-width: none;
    grid-template-columns: 1fr auto;
    min-height: 60px;
    padding: 7px 7px 7px 20px;
  }

  .nav__toggle {
    justify-self: end;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--elevated);
    color: var(--ink);
    cursor: pointer;
  }
  .nav__toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s var(--ease-out);
  }
  .nav.is-open .nav__toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle-bar:last-child { transform: translateY(-4px) rotate(-45deg); }

  .nav__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px 12px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-float);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
  }
  .nav.is-open .nav__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0s;
  }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__links li + li { border-top: 1px solid var(--line); }
  .nav__links a {
    display: block;
    padding: 14px 8px;
    color: var(--ink);
    font-size: 17px;
  }

  .nav__cta {
    justify-self: auto;
    width: 100%;
    height: 52px;
    font-size: 15px;
  }
}

/* ---------- Écran d'accueil ---------- */
/* D'après l'intro de PeakLab : un fond plein écran (la photo aux lamelles orange, avec un léger zoom arrière),
   le symbole dont les deux pièces s'emboîtent, le nom qui s'écrit, puis tout remonte (2,1 s puis 0,95 s).
   Entièrement en CSS : même sans main.js, l'écran se retire seul. */
.intro-screen { display: none; }
html.intro .intro-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #060607;
  animation: intro-lift 0.95s cubic-bezier(0.76, 0, 0.24, 1) 2.1s forwards;
}
.intro-screen__photo {
  position: absolute;
  inset: 0;
  background: url('/assets/fonds/fond-orange.webp') center / cover no-repeat;
  animation: intro-photo 3.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
/* Assombrit le centre pour que le logo blanc et orange se lise sur les lamelles claires */
.intro-screen__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38% 34% at 50% 50%, rgba(6, 6, 7, 0.78), rgba(6, 6, 7, 0) 100%),
    rgba(6, 6, 7, 0.28);
}
.intro-screen__logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  animation: intro-logo-out 0.75s cubic-bezier(0.76, 0, 0.24, 1) 2.05s forwards;
}
.intro-screen__symbol { width: 60px; height: auto; overflow: visible; }
.intro-screen__symbol path { transform-box: fill-box; transform-origin: center; animation: intro-join 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both; }
.intro-screen__symbol .is-a { --from: -16px 16px; }
.intro-screen__symbol .is-b { --from: 16px -16px; }
.intro-screen__word { display: flex; color: #FFFFFF; font: 600 44px/1 var(--font-display); letter-spacing: -0.03em; }
.intro-screen__word span {
  display: inline-block;
  animation: intro-letter 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.8s + var(--i) * 0.05s);
}
/* Un clic, la molette ou une touche font remonter l'écran tout de suite (main.js) */
html.intro .intro-screen.is-skip,
html.intro .intro-screen.is-skip .intro-screen__logo { animation-delay: 0s; }
html.intro.intro-skip :is(.hero__title, .hero__lead, .hero__actions, .hero__art, .clients) { animation-delay: 0.35s; }

/* Le hero se lève pendant que l'écran remonte */
html.intro .hero__title { animation-delay: 2.45s; }
html.intro .hero__lead { animation-delay: 2.53s; }
html.intro .hero__actions { animation-delay: 2.61s; }
html.intro .hero__art { animation-delay: 2.67s; }
html.intro .clients { animation-delay: 2.75s; }

@media (max-width: 600px) {
  .intro-screen__logo { gap: 14px; }
  .intro-screen__symbol { width: 46px; }
  .intro-screen__word { font-size: 34px; }
}
@keyframes intro-lift { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes intro-logo-out { to { opacity: 0; transform: translateY(-48px); } }
@keyframes intro-photo { from { opacity: 0; transform: scale(1.12); } }
@keyframes intro-join { from { opacity: 0; translate: var(--from); } }
@keyframes intro-letter { from { opacity: 0; filter: blur(8px); transform: translateY(0.35em); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  padding: 0 var(--gutter) 56px;
  background: var(--bg);
}

/* Deux colonnes : le texte à gauche, le symbole en trame à droite, les clients en dessous */
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-top: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 24px 48px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero__lead {
  margin: 0;
  max-width: 520px;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}
/* Sous le bouton : ce que le visiteur réserve (durée, format, gratuité) */
.hero__note { flex-basis: 100%; margin: 2px 0 0; color: var(--ink-2); font-size: 14px; line-height: 20px; }

.hero__art {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1;
  touch-action: pan-y;
}
.hero__art canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Logos clients en défilement continu : 4 listes identiques, la piste avance d'une liste puis reboucle */
.clients {
  grid-column: 1 / -1;
  margin-top: clamp(16px, 3vw, 40px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.clients__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.clients__track {
  display: flex;
  width: max-content;
  animation: clients-scroll 28s linear infinite;
}
.clients:hover .clients__track { animation-play-state: paused; }

.clients__group {
  flex: none;
  display: flex;
  align-items: center;
  gap: 72px;
  padding-right: 72px;
}
.clients__group img {
  width: auto;
  height: var(--h);
  opacity: 0.6;
}

@keyframes clients-scroll {
  to { transform: translateX(-25%); }
}

/* Au survol (écrans avec souris), le logo reprend ses couleurs d'origine */
@media (hover: hover) {
  .clients__group li { position: relative; }
  .clients__group img { transition: opacity 0.3s ease; }
  .clients__group li::after {
    content: "";
    position: absolute;
    inset: 0;
    background: center / contain no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  .clients__group li:hover::after { background-image: var(--logo); opacity: 1; }
  .clients__group li:hover img { opacity: 0; }
}

/* Apparition au chargement */
.hero__title,
.hero__lead,
.hero__actions,
.hero__art,
.clients {
  animation: hero-rise 0.8s var(--ease-out) both;
}
.hero__lead { animation-delay: 0.08s; }
.hero__actions { animation-delay: 0.16s; }
.hero__art { animation-delay: 0.22s; }
.clients { animation-delay: 0.3s; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Tablette : une colonne, le symbole sous le texte */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hero__art { justify-self: center; max-width: 440px; }
}

@media (max-width: 600px) {
  .hero__content { gap: 24px; }
  .hero__lead { font-size: 17px; line-height: 27px; }
  .hero__art { display: none; }
  /* Mobile : texte centré dans l'espace libre, logos calés en bas de l'écran, bouton pleine largeur */
  .hero { min-height: calc(100svh - 76px); align-content: stretch; padding-bottom: 28px; }
  .hero__inner { display: flex; flex-direction: column; gap: 40px; }
  .hero__content { margin-block: auto; }
  .hero__actions, .hero__actions .btn { width: 100%; }
  .hero__actions .btn { height: 52px; font-size: 16px; }
  .clients { margin-top: 0; }
  .clients__group { gap: 48px; padding-right: 48px; }
  .clients__group img { height: calc(var(--h) * 0.8); }
}

/* Sans animation : une seule liste, centrée et fixe */
@media (prefers-reduced-motion: reduce) {
  .clients__viewport { -webkit-mask-image: none; mask-image: none; }
  .clients__track { width: auto; }
  .clients__group[aria-hidden="true"] { display: none; }
  .clients__group { flex: 1; flex-wrap: wrap; justify-content: center; gap: 24px 48px; padding-right: 0; }
}

/* ---------- Sections ---------- */
/* Chaque section occupe au moins toute la hauteur de l'écran, contenu centré verticalement */
.section {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 8vw, 112px) var(--gutter);
  background: var(--bg);
  color: var(--ink);
}

.method__inner,
.faq__inner,
.cta__inner { width: 100%; }

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Apparition au défilement (seulement si le JS tourne, le contenu reste lisible sans) */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Vous vous reconnaissez ? ---------- */
/* Section haute : le texte reste fixé au centre de l'écran pendant que les lettres se révèlent */
.pains {
  position: relative;
  height: 240vh;
  background: var(--bg);
  color: var(--ink);
}

.pains__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  padding: 0 var(--gutter);
}

.pains__text {
  max-width: 1120px;
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  color: #8A8F98;
  font-size: clamp(28px, 3.7vw, 54px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}
/* Hiérarchie : liaisons en gris, mots qui portent le problème en noir gras, la solution sur sa ligne avec la fin en orange */
.pains__text strong { color: var(--ink); font-weight: 700; }
.pains__text .accent { font-weight: 700; }
.pains__line { display: block; margin-top: 0.45em; }

/* Chaque lettre a son index (--i) ; la progression du défilement (--p, de 0 à 1) la fait passer
   du flou et pâle au net, avec une vague de 14 lettres pour que l'apparition reste fluide. */
.pains__word { display: inline-block; white-space: nowrap; }
.js .pains__char {
  --t: clamp(0, (var(--p, 1) * (var(--n) + 14) - var(--i)) / 14, 1);
  display: inline-block;
  opacity: calc(0.12 + 0.88 * var(--t));
  filter: blur(calc((1 - var(--t)) * 10px));
  transform: translateY(calc((1 - var(--t)) * 0.12em));
}

/* Écrans tactiles : un filtre de flou par lettre coûte trop cher au défilement. On obtient le même flou avec
   une ombre de texte (lettre transparente + ombre floue de sa couleur), bien plus légère à dessiner. */
.pains__text { --char-color: #8A8F98; }
.pains__text strong { --char-color: var(--ink); }
.pains__text .accent { --char-color: var(--orange); }
@media (hover: none) {
  .js .pains__char {
    filter: none;
    color: transparent;
    text-shadow: 0 0 calc((1 - var(--t)) * 9px) var(--char-color);
  }
}

@media (max-width: 600px) {
  .pains { height: 220vh; }
  .pains__text { font-size: clamp(30px, 9vw, 40px); line-height: 1.2; letter-spacing: -0.02em; }
}

@media (prefers-reduced-motion: reduce) {
  .pains { height: auto; }
  .pains__sticky { position: static; height: auto; padding-block: 96px; }
  .js .pains__char { opacity: 1; filter: none; transform: none; color: inherit; text-shadow: none; }
}

/* ---------- Offres ---------- */
/* Carte focus (d'après le Depth Carousel de React Bits) : l'offre active au centre, les deux autres en retrait.
   main.js pose --pos (-1, 0, 1) et --dist (sa valeur absolue) sur chaque carte. */
.offers { overflow: hidden; background: var(--surface); }

.offers__title {
  max-width: 760px;
  margin: 0 auto clamp(32px, 4vw, 56px);
  text-align: center;
  text-wrap: balance;
}

.offers__stage {
  position: relative;
  width: 100%;
  max-width: 1240px;
  height: clamp(520px, 66vh, 600px);
  margin: 0 auto;
  touch-action: pan-y;
}

.offer-card {
  --pos: 0;
  --dist: 0;
  position: absolute;
  top: 0;
  left: 50%;
  width: min(960px, 82vw);
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 24px;
  --pad: clamp(28px, 3.5vw, 48px);
  padding: var(--pad);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--elevated);
  transform: translateX(-50%) translateX(calc(var(--pos) * 68%)) scale(calc(1 - min(var(--dist), 1) * 0.16));
  /* Au-delà d'une position, la carte s'efface : pendant un glisser, elle passe d'un bord à l'autre sans se voir */
  opacity: calc((1 - min(var(--dist), 1) * 0.55) * clamp(0, (1.5 - var(--dist)) * 2, 1));
  z-index: calc(3 - var(--dist));
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out), box-shadow 0.6s;
  cursor: pointer;
}
.offer-card.is-active { cursor: grab; box-shadow: 0 40px 80px -40px rgba(10, 10, 10, 0.3); }
/* Pendant le glisser, les cartes suivent le pointeur sans délai */
.offers__stage.is-dragging .offer-card { transition: none; }
.offers__stage.is-dragging,
.offers__stage.is-dragging * { cursor: grabbing; }
.offers__stage a { -webkit-user-drag: none; }

.offer-card__text { padding-right: 8px; }
.offer-card__text h3 { margin: 0; font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; }
.offer-card__text p { margin: 14px 0 0; color: var(--ink-2); font-size: 17px; line-height: 27px; }
/* Pertinent si : les situations où l'offre a du sens, pour choisir entre les trois */
.offer-card__fit-label { margin: 22px 0 0; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 20px; }
.trade-hero__fit-label { margin: 24px 0 0; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 22px; }
.trade-hero__fit { max-width: 540px; margin: 10px 0 8px; padding: 0; list-style: none; display: grid; gap: 8px; }
.offer-card__fit { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.offer-card__fit li,
.trade-hero__fit li { display: flex; gap: 10px; color: var(--ink-2); font-size: 15px; line-height: 22px; }
.offer-card__fit li::before,
.trade-hero__fit li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(255, 107, 44, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 6.2 2 2 4-4.4' fill='none' stroke='%23C2410C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.offer-card__link { margin-top: 22px; }
.offer-card[aria-hidden="true"] .offer-card__link { pointer-events: none; }

/* Le visuel occupe toute la moitié droite de la carte, jusqu'à ses bords, et la carte le rogne */
.offer-card__visual {
  position: relative;
  align-self: stretch;
  margin: calc(var(--pad) * -1) calc(var(--pad) * -1) calc(var(--pad) * -1) 0;
  container-type: size;
  overflow: hidden;
  background: radial-gradient(75% 70% at 70% 50%, #FFF0E6 0%, rgba(255, 255, 255, 0) 75%);
}

.offers__nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; }
.offers__arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--elevated);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.offers__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.offers__arrow:hover { border-color: var(--orange); transform: scale(1.05); }
.offers__arrow:focus-visible,
.offers__dots button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.offers__dots { display: flex; gap: 8px; }
.offers__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: #D4D4D8; cursor: pointer; transition: width 0.3s, background 0.3s; }
.offers__dots button.is-active { width: 28px; background: var(--orange); }

/* Tablette : colonnes plus étroites, le texte prend plus de lignes */
@media (max-width: 1100px) {
  .offers__stage { height: 600px; }
}
@media (max-width: 760px) {
  .offers__stage { height: 760px; }
  .offer-card {
    width: 84vw;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 20px;
    --pad: 22px;
    border-radius: 26px;
    transform: translateX(-50%) translateX(calc(var(--pos) * 96%)) scale(calc(1 - min(var(--dist), 1) * 0.1));
  }
  .offer-card__text { padding-right: 0; }
  .offer-card__text h3 { font-size: 26px; }
  .offer-card__text p { margin-top: 10px; font-size: 15px; line-height: 23px; }
  .offer-card__fit-label { margin-top: 16px; font-size: 13px; }
  .offer-card__fit li { font-size: 14px; line-height: 20px; }
  .offer-card__link { margin-top: 16px; }
  .offer-card__visual { margin: 0 calc(var(--pad) * -1) calc(var(--pad) * -1); }
}

/* ---------- Scènes des offres ---------- */
/* Une scène par offre, en mouvement continu tant que sa carte est active (.is-active).
   Reprises par les pages Métiers et Solutions : le conteneur doit porter container-type: size. */
.vz { position: absolute; inset: 0; overflow: hidden; color: #0A0A0A; font-size: clamp(9px, 2.9cqw, 14px); line-height: 1.3; }
.offer-card:not(.is-active) .vz * { animation-play-state: paused !important; }
@keyframes vz-spin { to { rotate: 1turn; } }

/* 1. Agent : la boule est l'agent (le programme, avec sa mémoire et vos outils), branchée à un modèle d'IA qui change
   sans qu'elle perde rien ; en haut, la machine où elle tourne. Les yeux suivent la souris (main.js pose --lx et --ly). */
.vz--agent { --s: min(38cqw, 36cqh); }
.vz-orb {
  position: absolute;
  left: 50%;
  top: 42%;
  width: var(--s);
  aspect-ratio: 1;
  translate: -50% -50%;
}
.vz-orb__halo {
  position: absolute;
  inset: -32%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 107, 44, 0.28), rgba(255, 107, 44, 0));
}
.vz-orb__body {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #FFB48C 0%, #FF7A3D 34%, #F25C1C 68%, #D9480F 100%);
  box-shadow: inset calc(var(--s) * -0.05) calc(var(--s) * -0.07) calc(var(--s) * 0.14) rgba(140, 40, 0, 0.35),
    0 calc(var(--s) * 0.12) calc(var(--s) * 0.24) calc(var(--s) * -0.08) rgba(255, 107, 44, 0.55);
  animation: vz-float 5s ease-in-out infinite;
}
.vz-orb__eyes {
  position: absolute;
  left: 50%;
  top: 46%;
  display: flex;
  gap: calc(var(--s) * 0.13);
  translate: calc(-50% + var(--lx, 0) * var(--s) * 0.17) calc(-50% + var(--ly, 0) * var(--s) * 0.14);
  transition: translate 0.35s var(--ease-out);
}
.vz-orb__eyes i {
  width: calc(var(--s) * 0.105);
  height: calc(var(--s) * 0.26);
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 0 calc(var(--s) * 0.05) rgba(255, 255, 255, 0.55);
  animation: vz-blink 6.5s infinite;
}
@keyframes vz-float { 50% { translate: 0 calc(var(--s) * -0.035); } }
@keyframes vz-blink {
  0%, 46%, 50%, 88%, 91.5%, 95%, 100% { scale: 1 1; }
  48%, 89.5%, 93.5% { scale: 1 0.08; }
}

.vz-host,
.vz-model {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.6em;
  translate: -50% 0;
  padding: 0.55em 0.9em;
  border: 1px solid #EFE6E0;
  border-radius: 0.9em;
  background: #FFFFFF;
  box-shadow: 0 0.8em 1.6em -0.8em rgba(60, 40, 20, 0.3);
  white-space: nowrap;
}
.vz-host { top: 7%; }
.vz-host small,
.vz-model small { color: #71717A; font-size: 0.82em; }
.vz-host .vz-swap,
.vz-model .vz-swap { font-weight: 600; }
.vz-model { bottom: 9%; padding: 0.7em 1.1em; animation: vz-model 12s infinite; }
.vz-model .vz-swap span { color: #C2410C; }

/* Valeurs qui défilent verticalement : la dernière répète la première pour boucler sans saut */
.vz-swap { display: inline-block; height: 1.3em; overflow: hidden; line-height: 1.3em; vertical-align: bottom; }
.vz-swap span { display: block; }
.vz-swap--2 span { animation: vz-swap-2 9s infinite; }
.vz-swap--4 span { animation: vz-swap-4 12s infinite; }
@keyframes vz-swap-2 {
  0%, 42% { translate: 0 0; animation-timing-function: var(--ease-out); }
  50%, 92% { translate: 0 -1.3em; animation-timing-function: var(--ease-out); }
  100% { translate: 0 -2.6em; }
}
@keyframes vz-swap-4 {
  0%, 20% { translate: 0 0; animation-timing-function: var(--ease-out); }
  25%, 45% { translate: 0 -1.3em; animation-timing-function: var(--ease-out); }
  50%, 70% { translate: 0 -2.6em; animation-timing-function: var(--ease-out); }
  75%, 95% { translate: 0 -3.9em; animation-timing-function: var(--ease-out); }
  100% { translate: 0 -5.2em; }
}
/* À chaque changement de modèle, la carte s'allume brièvement */
@keyframes vz-model {
  0%, 21%, 30%, 46%, 55%, 71%, 80%, 96%, 100% { border-color: #EFE6E0; }
  24%, 49%, 74%, 99% { border-color: #FF6B2C; }
}

/* Le fil qui relie l'agent à son modèle */
.vz-link {
  position: absolute;
  left: 50%;
  top: calc(42% + var(--s) * 0.55);
  bottom: calc(9% + 3em);
  border-left: 2px dashed #F2C7AE;
}

.vz-chip {
  position: absolute;
  top: 42%;
  display: flex;
  align-items: center;
  gap: 0.45em;
  translate: 0 -50%;
  padding: 0.45em 0.8em;
  border: 1px solid #EFE6E0;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 0.6em 1.2em -0.6em rgba(60, 40, 20, 0.28);
  font-size: 0.85em;
  font-weight: 600;
  white-space: nowrap;
  animation: vz-bob 4.5s ease-in-out infinite;
}
.vz-chip::before { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: #FF6B2C; }
.vz-chip--mem { right: calc(50% + var(--s) * 0.68); }
.vz-chip--tools { left: calc(50% + var(--s) * 0.68); animation-delay: -2.2s; }
@keyframes vz-bob { 50% { translate: 0 calc(-50% - 0.35em); } }

/* 2. Automatisation : les applications du quotidien en orbite autour de Nextylab (centre calé sur le bord droit).
   Logos Simple Icons 10.4.0 chargés depuis jsDelivr : les versions récentes n'ont plus Microsoft ni Slack. */
.vz-orbit { position: absolute; right: 16cqh; top: 50%; width: 0; height: 0; }
.vz-ring {
  --t: 40s;
  position: absolute;
  left: 0;
  top: 0;
  width: var(--size);
  aspect-ratio: 1;
  translate: -50% -50%;
  border: 2px dotted #D6D3D1;
  border-radius: 50%;
  animation: vz-spin var(--t) linear infinite;
}
.vz-ring--1 { --size: 46cqh; --t: 26s; }
.vz-ring--2 { --size: 80cqh; --t: 38s; animation-direction: reverse; }
.vz-ring--3 { --size: 114cqh; --t: 50s; }
.vz-tool {
  position: absolute;
  left: calc(50% + 50% * cos(var(--a)));
  top: calc(50% + 50% * sin(var(--a)));
  width: 3.7em;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  translate: -50% -50%;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0.4em 1em -0.3em rgba(60, 40, 20, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.04);
  animation: vz-spin var(--t) linear infinite reverse; /* reste droit pendant que l'anneau tourne */
}
.vz-ring--2 .vz-tool { animation-direction: normal; }
/* Logo monochrome de l'application (Simple Icons) teinté de sa couleur officielle */
.vz-tool b { width: 1.75em; height: 1.75em; background: var(--c); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.vz-orbit__core {
  position: absolute;
  left: 0;
  top: 0;
  width: 22cqh;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  translate: -50% -50%;
  border-radius: 50%;
  background: #0A0A0A;
  box-shadow: 0 1.2em 2.4em -0.8em rgba(0, 0, 0, 0.45);
}
.vz-orbit__core::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 107, 44, 0.5);
  animation: vz-ping 2.8s var(--ease-out) infinite;
}
.vz-orbit__core svg { width: 52%; height: 52%; }
@keyframes vz-ping { from { scale: 1; opacity: 1; } to { scale: 1.7; opacity: 0; } }

/* 3. Logiciel : un tableau de bord épuré et les curseurs de l'équipe, comme dans Figma */
.vz-win {
  position: absolute;
  left: 9%;
  top: 13%;
  right: -10%;
  bottom: -10%;
  overflow: hidden;
  border: 1px solid #E7E5E4;
  border-radius: 1.3em;
  background: #FFFFFF;
  box-shadow: 0 2em 4em -2em rgba(60, 40, 20, 0.3);
}
.vz-win__nav { display: flex; align-items: center; gap: 0.7em; height: 3.4em; padding: 0 1.2em; border-bottom: 1px solid #F0EFED; }
.vz-win__logo { width: 1.3em; height: 1.3em; margin-right: 0.6em; border-radius: 0.4em; background: #FF6B2C; }
.vz-pill { width: 3.6em; height: 0.6em; border-radius: 1em; background: #ECEBE9; }
.vz-win__avatars { display: flex; margin-left: auto; padding-right: 10%; }
.vz-win__avatars i { width: 1.6em; height: 1.6em; margin-left: -0.4em; border: 2px solid #FFFFFF; border-radius: 50%; background: var(--c); }
.vz-win__dash { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9em; padding: 1.3em 1.2em; padding-right: 12%; }
.vz-stat { display: flex; flex-direction: column; gap: 0.6em; padding: 1em; border: 1px solid #F0EFED; border-radius: 0.9em; background: #FAFAF9; }
.vz-stat span { width: 55%; height: 0.5em; border-radius: 1em; background: #E7E5E4; }
.vz-stat b { width: 75%; height: 1.1em; border-radius: 0.4em; background: #D6D3D1; }
.vz-stat b.is-accent { background: #FFB48C; }
.vz-chart {
  grid-column: span 2;
  height: 8em;
  display: flex;
  align-items: flex-end;
  gap: 0.6em;
  padding: 1em;
  border: 1px solid #F0EFED;
  border-radius: 0.9em;
  background: #FAFAF9;
}
.vz-chart i { flex: 1; height: var(--h); border-radius: 0.35em 0.35em 0.15em 0.15em; background: linear-gradient(#FFB48C, #FFD9C4); }
.vz-chart i:nth-child(6) { background: linear-gradient(#FF6B2C, #FFA375); }
.vz-list { display: flex; flex-direction: column; justify-content: space-between; padding: 1em; border: 1px solid #F0EFED; border-radius: 0.9em; background: #FAFAF9; }
.vz-list span { height: 0.55em; border-radius: 1em; background: #E7E5E4; }
.vz-list span:nth-child(odd) { width: 80%; }
.vz-table { grid-column: 1 / -1; border: 1px solid #F0EFED; border-radius: 0.9em; background: #FAFAF9; }
.vz-table span { display: flex; align-items: center; gap: 0.9em; padding: 0.85em 1em; }
.vz-table span + span { border-top: 1px solid #F0EFED; }
.vz-table i { width: 1.6em; height: 1.6em; flex: none; border-radius: 50%; background: var(--c); }
.vz-table b { width: var(--w); height: 0.6em; border-radius: 1em; background: #E7E5E4; }
.vz-table em { width: 3.8em; height: 1.2em; margin-left: auto; border-radius: 1em; background: #DCFCE7; }
.vz-table em.is-wait { background: #FFE4D5; }

.vz-cursor { position: absolute; left: 0; top: 0; display: flex; align-items: flex-start; will-change: translate; }
.vz-cursor svg { width: 1.5em; height: 1.5em; flex: none; filter: drop-shadow(0 0.15em 0.25em rgba(0, 0, 0, 0.25)); }
.vz-cursor path { fill: var(--c); stroke: #FFFFFF; stroke-width: 1.5; stroke-linejoin: round; }
.vz-cursor em {
  margin: 1.15em 0 0 -0.25em;
  padding: 0.3em 0.65em;
  border-radius: 0.2em 0.6em 0.6em 0.6em;
  background: var(--c);
  color: #FFFFFF;
  font-size: 0.85em;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 0.3em 0.8em -0.2em rgba(0, 0, 0, 0.25);
}
.vz-cursor--you { animation: vz-cursor-you 11s infinite; }
.vz-cursor--a { animation: vz-cursor-a 13s infinite; }
.vz-cursor--b { animation: vz-cursor-b 15s infinite; }
@keyframes vz-cursor-you {
  0%, 6% { translate: 26cqw 62cqh; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  24%, 32% { translate: 50cqw 34cqh; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  52%, 58% { translate: 36cqw 76cqh; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  78%, 86% { translate: 58cqw 58cqh; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  100% { translate: 26cqw 62cqh; }
}
@keyframes vz-cursor-a {
  0%, 8% { translate: 70cqw 30cqh; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  30%, 40% { translate: 56cqw 64cqh; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  62%, 70% { translate: 76cqw 52cqh; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  100% { translate: 70cqw 30cqh; }
}
@keyframes vz-cursor-b {
  0%, 10% { translate: 44cqw 86cqh; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  34%, 44% { translate: 70cqw 80cqh; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  68%, 76% { translate: 18cqw 40cqh; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  100% { translate: 44cqw 86cqh; }
}

@media (prefers-reduced-motion: reduce) {
  .offer-card { transition: none; }
  .vz * { animation: none !important; }
  .vz-orb__eyes { transition: none; }
}

/* ---------- Méthode ---------- */
/* Cartes collantes qui s'empilent : texte à gauche, illustration de l'étape à droite */
/* clip-path : la bande de fond du titre figé ne déborde jamais sur la section précédente */
.method { background: var(--surface); clip-path: inset(0); }

.method__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.method__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

/* Bureau : le titre tient sur une ligne, sa taille suit la largeur de l'écran (texte ~29 fois la taille de police) */
@media (min-width: 961px) {
  .method__intro .section-title { font-size: min(48px, 2.95vw); white-space: nowrap; }
}

.method__lead {
  margin: 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 28px;
}

/* Bureau assez haut : le titre reste figé en haut, les cartes s'empilent dessous puis glissent sous lui */
.has-pinned-intro .method__intro {
  position: sticky;
  top: 100px;
  z-index: 2;
  padding-bottom: 24px;
  background: var(--surface);
  box-shadow: 0 0 0 100vmax var(--surface);
  clip-path: inset(-100vmax -100vmax 0 -100vmax);
}

.method__cards {
  --stack-step: 16px;
  --last: 3; /* index de la dernière carte */
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Temps de pause : la pile complète reste affichée avant de repartir */
.method__cards::after {
  content: "";
  flex: none;
  height: 22vh;
}

.step-card {
  position: sticky;
  top: calc(var(--stick-top, 188px) + var(--i) * var(--stack-step));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 3.2vw, 48px) clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--elevated);
  color: var(--ink);
  min-height: var(--card-h, 0px);
  margin-bottom: calc((var(--last) - var(--i)) * var(--stack-step));
  box-shadow: 0 -12px 40px -24px rgba(10, 10, 10, 0.25);
  transform-origin: top center;
  transition: transform 0.4s var(--ease-out), filter 0.4s var(--ease-out);
}

.step-card__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 8px 0;
}

.step-card__head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.step-card__num {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: clamp(72px, 8vw, 112px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.06em;
}

.step-card__pill {
  margin-bottom: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 107, 44, 0.14);
  color: var(--orange-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
}

.step-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.step-card__body p {
  max-width: 440px;
  margin: 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 29px;
}

.step-card__visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(16px, 2vw, 24px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}

/* ---------- Illustrations d'interface des étapes ---------- */
.mock {
  width: 100%;
  max-width: 420px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
}

.mock-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--elevated);
  box-shadow: var(--shadow-card);
}

.mock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

/* Diagnostic : visio façon Apple, trois participants en orbite autour du bouton d'appel actif */
.mock-call {
  --r: 100px;
  --s: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.mock-call__stage {
  position: relative;
  display: grid;
  place-items: center;
  width: calc(var(--r) * 2 + var(--s));
  height: calc(var(--r) * 2 + var(--s));
}

.mock-call__path {
  position: absolute;
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  border: 1px dashed rgba(10, 10, 10, 0.16);
  border-radius: 50%;
}

.mock-call__btn {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FF8A55 0%, #FF6B2C 100%);
  box-shadow: 0 16px 32px -12px rgba(255, 107, 44, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.mock-call__pulse {
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 107, 44, 0.22);
  animation: call-pulse 2.6s ease-out infinite;
}
.mock-call__pulse + .mock-call__pulse { animation-delay: 1.3s; }

@keyframes call-pulse {
  from { opacity: 0.8; transform: scale(1); }
  to { opacity: 0; transform: scale(2.5); }
}

/* L'orbite tourne, chaque visage tourne en sens inverse pour rester droit */
.mock-call__orbit {
  position: absolute;
  inset: 0;
  animation: call-orbit 32s linear infinite;
}

@keyframes call-orbit {
  to { transform: rotate(360deg); }
}

.mock-call__avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1));
}

.mock-call__face {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 3px solid #FFFFFF;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #FFFFFF 0%, var(--tint) 70%);
  box-shadow: 0 12px 24px -10px rgba(10, 10, 10, 0.35);
  animation: call-orbit 32s linear infinite reverse;
}
.mock-call__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mock-call__avatar.is-speaking .mock-call__face {
  box-shadow: 0 0 0 3px #FF6B2C, 0 12px 24px -10px rgba(10, 10, 10, 0.35);
}

.mock-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 18px -10px rgba(10, 10, 10, 0.3);
  font-size: 12px;
  font-weight: 600;
}
.mock-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 44, 0.2);
}
.mock-status b {
  color: var(--ink-2);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* Prototype : téléphone en version 1, les trois participants laissent leurs retours,
   un tap sur « Valider » fait passer en version 2. Boucle de 10 s ; sans animation, tout reste visible. */
.mock-proto {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.mock-proto__stage {
  position: relative;
  width: 400px;
  max-width: 100%;
  height: 290px;
}

.mock-proto__phone {
  position: absolute;
  top: 0;
  left: 50%;
  width: 158px;
  height: 290px;
  padding: 7px;
  border-radius: 38px;
  background: #0A0A0A;
  box-shadow: inset 0 0 0 1.5px #3A3A42, 0 30px 50px -22px rgba(10, 10, 10, 0.5);
  transform: translateX(-50%);
}

.mock-proto__screen {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 34px 12px 12px;
  overflow: hidden;
  border-radius: 31px;
  background: #FFFFFF;
}

.mock-proto__island {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 52px;
  height: 15px;
  border-radius: 10px;
  background: #0A0A0A;
  transform: translateX(-50%);
}

.mock-proto__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.mock-proto__sk { display: block; flex: 1; height: 7px; border-radius: 4px; background: #E4E4E7; }
.mock-proto__sk--title { flex: 0 0 52%; height: 10px; }
.mock-proto__sk--short { flex: 0 0 55%; }

.mock-proto__version {
  position: relative;
  display: grid;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}
.mock-proto__version b {
  grid-area: 1 / 1;
  padding: 2px 7px;
  border-radius: 999px;
  text-align: center;
}
.mock-proto__version .is-v1 { background: #F4F4F5; color: #0A0A0A; animation: proto-v1 10s infinite; }
.mock-proto__version .is-v2 { background: #FF6B2C; color: #0A0A0A; opacity: 0; animation: proto-v2 10s infinite; }

.mock-proto__chart {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 66px;
  padding: 10px;
  border-radius: 12px;
  background: #F4F4F5;
}
.mock-proto__chart span { flex: 1; height: var(--h); border-radius: 3px; background: #D4D4D8; }
.mock-proto__chart span.is-on { background: #FF6B2C; }

.mock-proto__rows { display: flex; flex-direction: column; gap: 10px; }
.mock-proto__rows div { position: relative; display: flex; align-items: center; gap: 8px; }
.mock-proto__dot { flex: none; width: 16px; height: 16px; border-radius: 50%; background: #E4E4E7; }

/* Points chauds : là où les retours sont posés */
.mock-proto__spot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF6B2C;
  box-shadow: 0 0 0 3px rgba(255, 107, 44, 0.25);
  animation: proto-spot 2s ease-in-out infinite;
}
.mock-proto__rows .mock-proto__spot { top: 3px; right: 0; }

@keyframes proto-spot {
  50% { box-shadow: 0 0 0 6px rgba(255, 107, 44, 0.12); }
}

.mock-proto__btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  height: 30px;
  border-radius: 10px;
  background: #FF6B2C;
  color: #0A0A0A;
  font-size: 11px;
  font-weight: 700;
  animation: proto-tap 10s infinite;
}

/* Retours des participants : bulle Memoji + bulle de message */
.mock-proto__note {
  position: absolute;
  top: var(--y);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: proto-note 10s infinite;
  animation-delay: var(--d);
}
.mock-proto__note--right { flex-direction: row-reverse; }

.mock-proto__face {
  flex: none;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 2.5px solid #FFFFFF;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #FFFFFF 0%, var(--tint) 70%);
  box-shadow: 0 10px 20px -10px rgba(10, 10, 10, 0.4);
}
.mock-proto__face img { width: 100%; height: 100%; object-fit: cover; }

.mock-proto__bubble {
  padding: 7px 11px;
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: 14px 14px 14px 4px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 22px -12px rgba(10, 10, 10, 0.35);
  color: #0A0A0A;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.mock-proto__note--right .mock-proto__bubble { border-radius: 14px 14px 4px 14px; }

.mock-proto__cursor {
  position: absolute;
  z-index: 3;
  top: 252px;
  left: calc(50% + 6px);
  opacity: 0;
  filter: drop-shadow(0 4px 6px rgba(10, 10, 10, 0.3));
  animation: proto-cursor 10s infinite;
}

@keyframes proto-note {
  0%, 4% { opacity: 0; transform: translateY(8px) scale(0.94); }
  9%, 86% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(-6px); }
}

@keyframes proto-cursor {
  0%, 44% { opacity: 0; transform: translate(90px, 50px); }
  50% { opacity: 1; }
  57% { opacity: 1; transform: translate(0, 0) scale(1); }
  60% { transform: translate(0, 0) scale(0.82); }
  63% { transform: translate(0, 0) scale(1); }
  72% { opacity: 1; transform: translate(0, 0); }
  80%, 100% { opacity: 0; transform: translate(20px, 18px); }
}

@keyframes proto-tap {
  0%, 59% { transform: scale(1); box-shadow: none; }
  61% { transform: scale(0.94); box-shadow: 0 0 0 6px rgba(255, 107, 44, 0.25); }
  66%, 100% { transform: scale(1); box-shadow: none; }
}

@keyframes proto-v1 {
  0%, 60% { opacity: 1; }
  63%, 96% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes proto-v2 {
  0%, 60% { opacity: 0; }
  63%, 96% { opacity: 1; }
  100% { opacity: 0; }
}

/* Proposition : le document avec son devis, la maquette du futur outil posée devant, puis le devis accepté.
   Boucle de 8 s ; sans animation, tout reste visible. */
.mock-offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.mock-offer__stage { position: relative; width: 400px; max-width: 100%; height: 290px; }
.mock-offer__doc {
  position: absolute;
  left: 4%;
  top: 3%;
  width: 52%;
  height: 92%;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--elevated);
  box-shadow: 0 18px 40px -22px rgba(10, 10, 10, 0.35);
  rotate: -3deg;
}
.mock-offer__head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.mock-offer__head b { font-size: 13px; font-weight: 600; }
.mock-offer__logo { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 7px; background: #0A0A0A; }
.mock-offer__sk { height: 6px; border-radius: 4px; background: #E7E5E4; }
.mock-offer__sk--short { width: 62%; }
.mock-offer__quote { display: flex; flex-direction: column; gap: 7px; margin-top: 6px; padding: 10px; border-radius: 10px; background: var(--surface); }
.mock-offer__label { color: var(--ink-2); font-size: 10.5px; font-weight: 600; }
.mock-offer__line { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mock-offer__line i { height: 5px; border-radius: 3px; background: #E2E0DD; }
.mock-offer__line i:first-child { width: 52%; }
.mock-offer__line i:last-child { width: 22%; }
.mock-offer__line--total { padding-top: 7px; border-top: 1px dashed #D6D3D1; }
.mock-offer__line--total b { font-size: 11px; font-weight: 600; }
.mock-offer__line--total i:last-child { width: 30%; height: 7px; background: #FFB48C; }
.mock-offer__btn {
  display: grid;
  margin-top: auto;
  padding: 7px 0;
  border-radius: 8px;
  background: var(--orange);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  animation: offer-press 8s infinite;
}
.mock-offer__btn span { grid-area: 1 / 1; }
.mock-offer__btn .is-a { animation: offer-label-a 8s infinite; }
.mock-offer__btn .is-b { opacity: 0; animation: offer-label-b 8s infinite; }
.mock-offer__mockup {
  position: absolute;
  right: 2%;
  bottom: 16%;
  width: 46%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--elevated);
  box-shadow: 0 24px 48px -24px rgba(10, 10, 10, 0.4);
  rotate: 3deg;
  animation: offer-float 8s ease-in-out infinite;
}
.mock-offer__bar { display: flex; align-items: center; gap: 4px; padding: 7px 9px; border-bottom: 1px solid var(--line); }
.mock-offer__bar i { width: 6px; height: 6px; border-radius: 50%; background: #E2E0DD; }
.mock-offer__bar span { margin-left: 6px; color: var(--ink-2); font-size: 10.5px; font-weight: 600; }
.mock-offer__screen { display: grid; grid-template-columns: 26% 1fr; height: 124px; }
.mock-offer__side { display: flex; flex-direction: column; gap: 8px; padding: 11px 8px; border-right: 1px solid var(--line); }
.mock-offer__side i { height: 5px; border-radius: 3px; background: #E7E5E4; }
.mock-offer__side i:first-child { background: #FFB48C; }
.mock-offer__main { display: flex; flex-direction: column; gap: 8px; padding: 10px; }
.mock-offer__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mock-offer__cards i { height: 28px; border: 1px solid #F0EFED; border-radius: 6px; background: var(--surface); }
.mock-offer__chart { flex: 1; display: flex; align-items: flex-end; gap: 5px; padding: 6px; border-radius: 6px; background: var(--surface); }
.mock-offer__chart i { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; background: #FFD9C4; }
.mock-offer__chart i:nth-child(4) { background: #FF8A55; }
.mock-offer__cursor {
  position: absolute;
  z-index: 3;
  left: 30%;
  top: 84%;
  opacity: 0;
  filter: drop-shadow(0 4px 6px rgba(10, 10, 10, 0.3));
  animation: offer-cursor 8s infinite;
}
@keyframes offer-float { 50% { translate: 0 -6px; } }
@keyframes offer-cursor {
  0%, 30% { opacity: 0; translate: 150px 30px; }
  42% { opacity: 1; }
  58%, 72% { opacity: 1; translate: 0 0; scale: 1; }
  63% { scale: 0.85; }
  82%, 100% { opacity: 0; translate: 0 0; }
}
@keyframes offer-press {
  0%, 60% { scale: 1; box-shadow: none; }
  63% { scale: 0.96; }
  68%, 92% { scale: 1; box-shadow: 0 0 0 5px rgba(255, 107, 44, 0.22); }
  100% { box-shadow: none; }
}
@keyframes offer-label-a { 0%, 63% { opacity: 1; } 66%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes offer-label-b { 0%, 63% { opacity: 0; } 66%, 95% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .mock-offer * { animation: none !important; }
  .mock-offer__cursor { display: none; }
}

/* Maintenance : écran verrouillé, les notifications Nextylab arrivent l'une après l'autre */
.mock-lock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 360px;
  color: var(--ink);
}

.mock-lock__clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.mock-lock__clock span { color: rgba(10, 10, 10, 0.55); font-size: 13px; font-weight: 500; }
.mock-lock__clock b {
  font-size: 52px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.mock-lock__stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-lock__notif {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 24px -14px rgba(10, 10, 10, 0.3);
  animation: lock-notif 9s infinite;
  animation-delay: var(--d);
}

.mock-lock__app {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2E2E35 0%, #141416 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.mock-lock__notif div { min-width: 0; flex: 1; }
.mock-lock__notif p { margin: 0; }
.mock-lock__meta { display: flex; justify-content: space-between; gap: 8px; color: rgba(10, 10, 10, 0.5); font-size: 10.5px; }
.mock-lock__meta b { color: rgba(10, 10, 10, 0.7); font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; font-size: 10px; }
.mock-lock__title { margin-top: 2px !important; font-size: 12.5px; font-weight: 600; }
.mock-lock__text { color: rgba(10, 10, 10, 0.65); font-size: 12px; line-height: 1.35; }

@keyframes lock-notif {
  0%, 3% { opacity: 0; transform: translateY(-14px) scale(0.96); }
  9%, 88% { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; transform: translateY(-6px) scale(0.98); }
}

@media (max-width: 860px) {
  .method__cards { --stack-step: 14px; }
  .step-card {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .step-card__text { gap: 20px; padding: 0; }
  .step-card__visual { min-height: 240px; }
}

@media (max-width: 600px) {
  .method__inner { gap: 40px; }
  .method__lead { font-size: 17px; line-height: 27px; }
  .method__cards { gap: 20px; }
  .step-card__body p { font-size: 16px; line-height: 26px; }
  .step-card__visual { min-height: 0; padding: 16px; }
  .mock { font-size: 12px; }
  .mock-proto__stage { width: 100%; height: 284px; }
  .mock-proto__phone { width: 150px; height: 284px; border-radius: 34px; }
  .mock-proto__screen { padding-top: 30px; border-radius: 28px; }
  .mock-proto__note { top: calc(var(--y) * 0.88); }
  .mock-proto__note--right { display: none; }
  .mock-proto__face { width: 36px; height: 36px; }
  .mock-proto__bubble { padding: 5px 9px; font-size: 10.5px; }
  .mock-proto__cursor { top: 250px; }
  .mock-offer__stage { width: 100%; height: 270px; }
  .mock-offer__doc { width: 56%; padding: 13px; }
  .mock-offer__mockup { width: 48%; }
  .mock-lock__clock b { font-size: 40px; }
  .mock-call { --r: 88px; --s: 62px; }
  .mock-call__btn, .mock-call__pulse { width: 68px; height: 68px; }
}

/* ---------- Engagements ---------- */
/* Les engagements à gauche, chacun avec son icône ; à droite, un écran qui illustre l'engagement actif.
   Passage automatique de l'un à l'autre (barre orange), un clic choisit. */
.pledges__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.pledges__title { max-width: 520px; }

.pledges__list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.pledge {
  position: relative;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.pledge__h { margin: 0; }
.pledge__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  text-align: left;
  cursor: pointer;
}
.pledge__btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 8px; }
.pledge__btn > span:last-child { opacity: 0.45; transition: opacity 0.4s; }
.pledge.is-active .pledge__btn > span:last-child,
.pledge__btn:hover > span:last-child { opacity: 1; }

/* Icône façon réglages iOS : glyphe plein dans un carré arrondi, orange quand l'engagement est actif */
.pledge__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #E9E9EE;
  transition: background 0.4s, box-shadow 0.4s;
}
.pledge__icon svg { width: 20px; height: 20px; fill: #8E8E93; transition: fill 0.4s; }
.pledge.is-active .pledge__icon {
  background: linear-gradient(180deg, #FF8A4C 0%, var(--orange) 100%);
  box-shadow: 0 6px 14px -6px rgba(255, 107, 44, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.pledge.is-active .pledge__icon svg { fill: #FFFFFF; }

.pledge__text {
  margin: 8px 0 0 52px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 25px;
}
/* Avec JavaScript, seul le texte de l'engagement actif est déplié */
.js .pledge__text { max-height: 0; margin-top: 0; overflow: hidden; transition: max-height 0.5s var(--ease-out), margin-top 0.5s var(--ease-out); }
.js .pledge.is-active .pledge__text { max-height: 100px; margin-top: 8px; }

.pledge__bar { position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: var(--orange); }
.pledge.is-active .pledge__bar { animation: pledge-progress 6s linear forwards; }
.pledges.is-paused .pledge__bar,
.pledges__content:hover .pledge__bar { animation-play-state: paused; }
@keyframes pledge-progress { to { width: 100%; } }

/* L'écran : chaque illustration apparaît en fondu quand son engagement devient actif */
.pledges__screen {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-xl);
  background: var(--surface);
}
.pledge-il {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.5s, transform 0.5s var(--ease-out);
}
.pledge-il.is-active { opacity: 1; transform: none; }
.pledge-card {
  width: 100%;
  max-width: 380px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 20px 40px -28px rgba(10, 10, 10, 0.4);
}

@keyframes pledge-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pledge-pop { 0% { opacity: 0; transform: scale(0.6) rotate(-8deg); } 70% { transform: scale(1.06) rotate(2deg); } 100% { opacity: 1; transform: none; } }
@keyframes pledge-dot { 0%, 60%, 100% { opacity: 0.35; } 30% { opacity: 1; } }

/* Des versions qui se succèdent */
.pl-rapid { display: flex; flex-direction: column; gap: 4px; list-style: none; }
.pl-rapid li { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.pl-rapid li + li::before { content: ""; position: absolute; left: 11px; top: -12px; width: 2px; height: 16px; background: var(--line); transition: background 0.4s; }
.pl-rapid li.is-on + li::before { background: var(--orange); }
.pl-rapid b { position: relative; flex: none; width: 24px; height: 24px; border: 2px solid var(--line); border-radius: 50%; background: #FFFFFF; transition: background 0.3s, border-color 0.3s; }
.pl-rapid b::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #FFFFFF; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 0.3s 0.1s; }
.pl-rapid li.is-on b { border-color: var(--orange); background: var(--orange); }
.pl-rapid li.is-on b::after { transform: rotate(45deg) scale(1); }
.pl-rapid span { flex: 1; font-size: 15px; font-weight: 600; }
.pl-rapid small { padding: 2px 8px; border-radius: 6px; background: var(--surface); color: var(--ink-2); font-size: 12px; font-weight: 600; opacity: 0.4; transition: opacity 0.3s, background 0.3s, color 0.3s; }
.pl-rapid li.is-on small { opacity: 1; background: rgba(255, 107, 44, 0.12); color: var(--orange-text); }

/* Deux montants connus avant de signer */
.pl-price__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); opacity: 0.35; transition: opacity 0.4s; }
.pl-price__row.is-on { opacity: 1; }
.pl-price__row span { font-size: 15px; font-weight: 600; }
.pl-price__row em { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; font-style: normal; }
.pl-price__row em i { width: 46px; height: 8px; border-radius: 4px; background: var(--line); }
.pl-price__ok { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 107, 44, 0.1); color: var(--orange-text); font-size: 14px; font-weight: 600; opacity: 0; }
.pl-price__ok::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); color: #FFFFFF; font-size: 11px; }
.pl-price__ok.is-on { animation: pledge-pop 0.5s var(--ease-out) both; }

/* La même personne, joignable directement */
.pl-contact { display: flex; align-items: center; gap: 12px; }
.pl-contact__face { width: 46px; height: 46px; flex: none; border-radius: 50%; overflow: hidden; background: #FFE1CF; }
.pl-contact__face img { width: 100%; height: 100%; object-fit: cover; }
.pl-contact > div { flex: 1; min-width: 0; }
.pl-contact strong { display: block; font-size: 15px; }
.pl-contact small { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 13px; }
.pl-contact small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3FA35B; }
.pl-contact__call { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--orange); }
.pl-contact__call svg { width: 16px; height: 16px; fill: #FFFFFF; }
.pl-contact__msg { min-height: 44px; margin-top: 14px; }
.pl-contact__msg > * { display: none; }
.pl-contact__msg > .is-on { display: flex; animation: pledge-rise 0.4s var(--ease-out) both; }
.pl-bubble { width: fit-content; max-width: 100%; margin: 0; padding: 10px 13px; border-radius: 14px 14px 14px 4px; background: var(--surface); font-size: 14px; line-height: 20px; }
.pl-typing { gap: 4px; padding: 13px 14px; }
.pl-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9A9AA2; animation: pledge-dot 1s infinite; }
.pl-typing i:nth-child(2) { animation-delay: 0.15s; }
.pl-typing i:nth-child(3) { animation-delay: 0.3s; }

@media (max-width: 960px) {
  .pledges__inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .pledge__btn { gap: 14px; font-size: 18px; line-height: 26px; }
  .pledge__text { margin-left: 50px; }
  .pledges__screen { aspect-ratio: 4 / 3.4; }
  .pledge-il { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .pledge.is-active .pledge__bar { animation: none; }
  .pl-typing i { animation: none; }
}

/* ---------- Données en Europe ---------- */
/* Texte en haut ; en bas, un grand globe centré sur l'Europe, coupé par la section suivante.
   --g est la taille du canevas. La sphère en occupe environ 69 % et commence à 15,5 % du haut :
   on la place au moins 40 px sous le texte et on en montre la moitié. Sans WebGL, l'icône reste affichée. */
.europe {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  justify-content: space-between;
  padding-bottom: 0;
  background: radial-gradient(55% 45% at 50% 100%, rgba(255, 107, 44, 0.16) 0%, rgba(255, 107, 44, 0) 70%), var(--bg);
}

.europe__intro {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 760px;
  margin: auto; /* centré dans l'espace laissé au-dessus du globe */
  text-align: center;
}

.europe__intro p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 28px;
}

.europe__globe {
  --g: min(1400px, 160vw, 165svh);
  position: relative;
  flex: none;
  align-self: flex-start;
  width: var(--g);
  aspect-ratio: 1;
  margin: calc(40px - 0.155 * var(--g)) 0 calc(-0.5 * var(--g)) calc((100% - var(--g)) / 2);
}

.europe__globe canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: grab;
  touch-action: pan-y;
  transition: opacity 1s ease;
  contain: layout paint size;
}
.europe__globe canvas.is-grabbing { cursor: grabbing; }
.europe__globe.is-ready canvas { opacity: 1; } /* la sphère est atténuée dans js/globe.js, l'orange reste plein */

.europe__icon {
  position: absolute;
  left: 50%;
  top: 24%;
  width: 72px;
  height: 72px;
  transform: translateX(-50%);
}
.europe__globe.is-ready .europe__icon { display: none; }

@media (max-width: 600px) {
  .europe__intro p { font-size: 16px; line-height: 25px; }
  .europe__globe { --g: min(230vw, 120svh); }
}

/* ---------- Simulateur de temps passé ---------- */
/* Épuré, façon Apple : la tâche (ou la sienne), le temps par mois en grand, deux curseurs continus.
   Micro-interactions d'après la bibliothèque Arc (uiarc.dev) : chiffres qui roulent, surlignage qui glisse
   d'une tâche à l'autre, champ qui s'ouvre pour nommer sa tâche, curseur qui résiste en butée, bouton qui
   confirme avant d'amener au formulaire. Toutes les courbes sont des ease-out lissées, sans rebond. */
.savings { --smooth: cubic-bezier(0.22, 1, 0.36, 1); }
.savings__inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.savings__title { max-width: 720px; text-wrap: balance; }
.js [data-blur-title] .bw {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  translate: 0 0.25em;
  transition: opacity 1s var(--smooth), filter 1s var(--smooth), translate 1s var(--smooth);
  transition-delay: calc(var(--w) * 70ms);
}
.js [data-blur-title].is-in .bw { opacity: 1; filter: none; translate: none; }

/* Choix de la tâche : un surlignage blanc glisse sous l'option choisie */
.savings__tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 28px 0 0;
  padding: 4px;
  border: 0;
  border-radius: 14px;
  background: var(--surface);
}
.savings__glide {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 10px;
  background: var(--elevated);
  box-shadow: 0 3px 10px -2px rgba(10, 10, 10, 0.12), 0 0 0 0.5px rgba(10, 10, 10, 0.05);
}
.savings__tabs.is-ready .savings__glide { transition: transform 0.55s var(--smooth), width 0.55s var(--smooth), height 0.55s var(--smooth); }
.savings__tabs label { position: relative; z-index: 1; cursor: pointer; }
.savings__tabs input { position: absolute; opacity: 0; pointer-events: none; }
.savings__tabs label span { display: block; padding: 9px 16px; color: var(--ink-2); font-size: 15px; font-weight: 500; line-height: 20px; transition: color 0.3s var(--smooth); }
.savings__tabs label:hover span,
.savings__tabs input:checked + span { color: var(--ink); }
.savings__tabs input:focus-visible + span { border-radius: 10px; outline: 2px solid var(--orange); outline-offset: -2px; }

/* Nom de sa propre tâche : le champ s'ouvre en douceur quand « Autre tâche » est choisie */
.savings__name {
  width: min(100%, 460px);
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.55s var(--smooth), opacity 0.4s var(--smooth);
}
.savings__name > div { overflow: hidden; }
.savings__name.is-open { grid-template-rows: 1fr; opacity: 1; }
.savings__name-input {
  width: 100%;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--elevated);
  color: var(--ink);
  font: 500 16px/22px var(--font-text);
  text-align: center;
  transition: border-color 0.3s var(--smooth), box-shadow 0.3s var(--smooth);
}
.savings__name-input::placeholder { color: #A1A1AA; }
.savings__name-input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 107, 44, 0.16); }

/* Le temps par mois en très grand ; chaque chiffre roule jusqu'à sa valeur */
.savings__number { margin: 36px 0 0; }
.savings__total {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: baseline;
  font-size: clamp(72px, 11vw, 150px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}
.roll {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
}
.roll__strip {
  display: flex;
  flex-direction: column;
  /* Le dégradé se répète à chaque chiffre de la colonne (10 % de sa hauteur) */
  background: linear-gradient(180deg, #FF9A6A 0%, #FF6B2C 55%, #E2551B 100%) 0 0 / 100% 10%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 1s var(--smooth);
}
.roll__strip span { height: 1em; line-height: 1; }
.roll__space { font-size: 0.45em; white-space: pre; letter-spacing: 0; }
.roll__unit { margin: 0 0.04em; color: var(--ink-2); font-size: 0.4em; font-weight: 600; letter-spacing: -0.01em; }
.savings__caption { margin: 14px 0 0; color: var(--ink-2); font-size: 19px; line-height: 28px; }
.savings__caption b { color: var(--ink); font-weight: 600; }

/* Curseurs continus façon iOS ; poussés au-delà de leur butée, ils résistent puis reviennent */
.savings__controls { width: 100%; max-width: 720px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin: 44px 0 0; text-align: left; }
.savings__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.savings__row label { color: var(--ink-2); font-size: 15px; }
.savings__row output { color: var(--ink); font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; transition: color 0.3s var(--smooth), scale 0.4s var(--smooth); }
.savings__field.is-limit output { color: var(--orange-text); scale: 1.08; }
.savings__range {
  --p: 50%;
  --pull: 0px;
  width: 100%;
  height: 32px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  translate: var(--pull) 0;
  transition: translate 0.7s var(--smooth);
}
.savings__range.is-pulling { transition: none; }
.savings__range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--orange) var(--p), #E5E5EA var(--p)); }
.savings__range::-moz-range-track { height: 4px; border-radius: 2px; background: #E5E5EA; }
.savings__range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--orange); }
.savings__range::-webkit-slider-thumb {
  width: 28px;
  height: 28px;
  margin-top: -12px;
  border: 0;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.16), 0 0 0 0.5px rgba(0, 0, 0, 0.04);
  -webkit-appearance: none;
  appearance: none;
  transition: scale 0.35s var(--smooth), box-shadow 0.3s var(--smooth);
}
.savings__range::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #FFFFFF; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.16); }
.savings__range:active::-webkit-slider-thumb { scale: 1.1; }
.savings__range:focus-visible { outline: none; }
.savings__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(255, 107, 44, 0.35), 0 3px 8px rgba(0, 0, 0, 0.15); }

/* Bouton : il se transforme en confirmation, puis amène au formulaire */
.savings__foot { display: flex; flex-direction: column; align-items: center; gap: 18px; margin: 36px 0 0; }
.savings__foot p { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 26px; }
.savings__foot b { color: var(--ink); font-weight: 600; }
.savings__cta { position: relative; display: inline-grid; min-width: 280px; overflow: hidden; transition: background-color 0.45s var(--smooth), color 0.45s var(--smooth); }
.savings__cta > span { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 8px; transition: transform 0.6s var(--smooth), opacity 0.4s var(--smooth); }
.savings__cta-done { opacity: 0; transform: translateY(110%); }
.savings__cta.is-done,
.savings__cta.is-done:hover { background: var(--ink); color: #FFFFFF; }
.savings__cta.is-done .savings__cta-label { opacity: 0; transform: translateY(-110%); }
.savings__cta.is-done .savings__cta-done { opacity: 1; transform: none; }
.savings__note { margin: 14px 0 0; color: var(--ink-2); font-size: 13px; line-height: 20px; }

@media (max-width: 600px) {
  .savings__tabs label span { padding: 8px 12px; font-size: 14px; }
  .savings__caption { font-size: 17px; line-height: 26px; }
  .savings__controls { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 36px; }
  .savings__foot p { font-size: 16px; line-height: 25px; }
  .savings__cta { width: 100%; min-width: 0; height: 52px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .roll__strip,
  .savings__glide,
  .savings__name,
  .savings__range,
  .savings__cta > span { transition: none !important; }
}

/* ---------- FAQ ---------- */
/* Une colonne centrée : le titre puis l'accordéon. La question ouverte se pose sur une carte blanche
   et la réponse arrive en bulle, comme un message de l'assistant. */
.faq { background: var(--surface); }

.faq__inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.faq__inner .section-title { text-align: center; }

.faq__list { min-width: 0; display: flex; flex-direction: column; gap: 8px; }

.faq__item {
  border: 1px solid transparent;
  border-radius: 18px;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.faq__item.is-open {
  border-color: var(--line);
  background: var(--bg);
  box-shadow: 0 20px 40px -28px rgba(10, 10, 10, 0.35);
}

.faq__h { margin: 0; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 0;
  border-radius: 18px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  text-align: left;
  cursor: pointer;
}
.faq__q:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.faq__num { flex: none; width: 28px; color: #B5B5BD; font-size: 13px; font-variant-numeric: tabular-nums; transition: color 0.3s; }
.faq__item.is-open .faq__num { color: var(--orange-text); }
.faq__label { flex: 1; }

/* Plus qui tourne en moins sur fond orange */
.faq__icon {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease-out);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  margin: -0.75px 0 0 -5px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), background 0.3s;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__q:hover .faq__icon { border-color: var(--orange); }
.faq__item.is-open .faq__icon { border-color: var(--orange); background: var(--orange); transform: rotate(180deg); }
.faq__item.is-open .faq__icon::before,
.faq__item.is-open .faq__icon::after { background: #FFFFFF; }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }

/* Réponse : avatar Nextylab et bulle. Les réponses ne se replient qu'avec JavaScript ; sans lui, tout reste lisible. */
.faq__a { display: grid; grid-template-rows: 1fr; }
.js .faq__a {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.45s var(--ease-out), visibility 0s 0.45s;
}
.js .faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.45s var(--ease-out);
}
.faq__reply { min-height: 0; overflow: hidden; display: flex; align-items: flex-end; gap: 18px; padding: 0 22px; }
.faq__reply > * { margin-bottom: 22px; }
.faq__avatar { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #0A0A0A; }
.faq__avatar svg { width: 14px; height: 14px; fill: #FFFFFF; }
.faq__bubble { min-width: 0; max-width: 640px; padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: var(--surface); }
.faq__bubble p { margin: 0; color: var(--ink); font-size: 16px; line-height: 25px; }

/* À l'ouverture, l'assistant « écrit » un instant avant que la réponse apparaisse */
.faq__typing { display: none; gap: 5px; padding: 6px 2px; }
.faq__typing i { width: 7px; height: 7px; border-radius: 50%; background: #9A9AA2; animation: faq-dot 1s infinite; }
.faq__typing i:nth-child(2) { animation-delay: 0.15s; }
.faq__typing i:nth-child(3) { animation-delay: 0.3s; }
.faq__item.is-typing .faq__typing { display: flex; }
.faq__item.is-typing .faq__bubble p { display: none; }
@keyframes faq-dot { 0%, 60%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }

@media (max-width: 600px) {
  .faq__q { gap: 12px; padding: 16px; font-size: 16px; line-height: 24px; }
  .faq__reply { gap: 12px; padding: 0 16px; }
  .faq__reply > * { margin-bottom: 16px; }
  .faq__bubble p { font-size: 15px; line-height: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .faq__typing i { animation: none; }
}

/* ---------- CTA final ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(80px, 10vw, 136px);
}

.cta__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 120% at 100% 50%, rgba(255, 107, 44, 0.55) 0%, rgba(168, 59, 18, 0.32) 38%, rgba(10, 10, 10, 0) 70%);
  pointer-events: none;
}

/* Fond animé en lamelles (js/cta-shader.js) ; le halo ci-dessus sert de secours sans WebGL */
.cta__shader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
}
.cta.has-shader .cta__shader { opacity: 1; mix-blend-mode: lighten; }
.cta.has-shader .cta__glow { opacity: 0; }

/* Voile sombre côté texte, pour que le titre et le texte restent lisibles sur les lamelles */
.cta__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.78) 34%, rgba(10, 10, 10, 0.3) 54%, rgba(10, 10, 10, 0) 72%);
}
.cta:not(.has-shader) .cta__veil { display: none; }

/* Landing : la photo aux lamelles orange remplace le fond animé ; le voile garde le texte lisible */
.cta__photo { position: absolute; inset: 0; pointer-events: none; background: url('/assets/fonds/fond-orange.webp') center / cover no-repeat; }
.cta.cta--photo .cta__glow { display: none; }
.cta.cta--photo .cta__veil { display: block; }

.cta__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* Landing : le texte à gauche, la demande de rendez-vous à droite */
.cta__inner--booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.cta__content {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
/* Le titre tient sur deux lignes équilibrées qui remplissent la colonne : sa taille suit celle de la colonne */
.cta__content .cta__title { max-width: none; font-size: clamp(26px, 7.4cqi, 60px); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }

.cta__title {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 56px);
  text-wrap: balance;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.cta__lead {
  max-width: 600px;
  margin: 0;
  color: #D4D4D8;
  font-size: 18px;
  line-height: 28px;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding-top: 8px;
}

.cta__alt { margin: 0; color: #A1A1AA; font-size: 16px; line-height: 25px; }

.cta__mail {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease;
}
.cta__mail:hover { text-decoration-color: var(--ink); }

/* Demande de rendez-vous (js/rendez-vous.js) : carte en verre liquide, qui floute et sature le fond animé,
   avec un liseré lumineux et un reflet en haut */
.booking {
  position: relative;
  isolation: isolate;
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0.02) 62%, rgba(255, 255, 255, 0.1) 100%),
    rgba(10, 10, 12, 0.62);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  backdrop-filter: blur(26px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 28px rgba(255, 255, 255, 0.05),
    0 30px 60px -20px rgba(0, 0, 0, 0.55);
}
.booking::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(120% 55% at 18% 0%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
}
.js .booking { display: flex; }

/* Trois étapes : la date, puis l'horaire, puis les coordonnées. Une seule est visible à la fois. */
.booking { min-height: 470px; }
.booking__progress { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.booking__progress li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
}
.booking__progress b {
  width: 20px;
  height: 20px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  transition: background 0.3s;
}
.booking__progress li.is-active { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.booking__progress li.is-active b { background: var(--orange); }
.booking__progress li.is-done { color: rgba(255, 255, 255, 0.8); cursor: pointer; }
.booking__progress li.is-done b { background: rgba(255, 107, 44, 0.45); }

.booking__panel { min-width: 0; margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 14px; }
.booking__panel[hidden] { display: none; }
.booking__panel:not([hidden]) { animation: booking-in 0.35s var(--ease-out) both; }
@keyframes booking-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.booking__panel .booking__legend { margin-bottom: 0; outline: none; }

/* Rappel du choix précédent, avec un lien pour revenir en arrière */
.booking__chosen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 107, 44, 0.16);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
}
.booking__back {
  flex: none;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.75);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.booking__back:hover { color: #FFFFFF; }
.booking__legend,
.booking__field > span {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
}

.booking__month { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.booking__month strong { font-size: 15px; font-weight: 600; text-transform: capitalize; }
.booking__nav {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, opacity 0.2s;
}
.booking__nav svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.booking__nav:hover:not(:disabled) { border-color: var(--orange); }
.booking__nav:disabled { opacity: 0.3; cursor: default; }

.booking__week,
.booking__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.booking__week span { padding-bottom: 4px; color: rgba(255, 255, 255, 0.5); font-size: 11px; font-weight: 600; text-align: center; }
.booking__day {
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.booking__day:hover:not(:disabled) { background: rgba(255, 255, 255, 0.12); }
.booking__day:disabled { color: rgba(255, 255, 255, 0.24); cursor: default; }
.booking__day.is-today:not(.is-selected) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.booking__day.is-selected { background: var(--orange); color: #FFFFFF; font-weight: 600; }

.booking__slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.booking__slot {
  padding: 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.booking__slot:hover { border-color: var(--orange); }
.booking__slot.is-selected { border-color: var(--orange); background: var(--orange); font-weight: 600; }

.booking__field { display: flex; flex-direction: column; min-width: 0; }
.booking__field input,
.booking__field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 22px;
  resize: vertical;
  transition: border-color 0.2s, background 0.2s;
}
.booking__field textarea { min-height: 84px; }
.booking__field input::placeholder,
.booking__field textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
.booking__field input:focus,
.booking__field textarea:focus { outline: none; border-color: var(--orange); background: rgba(255, 255, 255, 0.12); }
.booking__field [aria-invalid="true"] { border-color: #FF8A5C; }

.booking__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.booking__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.booking__submit { width: 100%; }
.booking__submit:disabled { opacity: 0.6; cursor: progress; }
.booking__status { margin: -6px 0 0; font-size: 13px; line-height: 20px; }
.booking__status:empty { display: none; }
.booking__status.is-error { color: #FF9C73; }
.booking__status a { color: var(--ink); font-weight: 600; }
.booking__note { margin: 0; color: rgba(255, 255, 255, 0.6); font-size: 12px; line-height: 18px; }
.booking__note a { color: #C8C8CE; text-decoration: underline; text-underline-offset: 3px; }

/* Une fois la demande envoyée, la carte affiche le récapitulatif */
.booking__done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 12px 4px; }
.booking__done b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); font-size: 20px; }
.booking__done strong { font-size: 20px; font-weight: 600; }
.booking__done p { margin: 0; color: #C8C8CE; font-size: 15px; line-height: 23px; }

@media (max-width: 960px) {
  .cta__inner--booking { grid-template-columns: minmax(0, 1fr); }
  .cta__veil { background: linear-gradient(180deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.75) 32%, rgba(10, 10, 10, 0.35) 55%, rgba(10, 10, 10, 0.35) 100%); }
}

@media (max-width: 600px) {
  .booking { min-height: 0; }
  .booking__progress li { justify-content: center; gap: 6px; padding: 8px 4px; font-size: 12px; white-space: nowrap; }
  .booking__row { grid-template-columns: minmax(0, 1fr); }
  .booking__day { height: 38px; }
}

/* ---------- Pied de page ---------- */
.site-footer {
  padding: 56px var(--gutter) 32px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-2);
  font-size: 14px;
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer__brand {
  flex: 1 1 280px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__brand img { align-self: flex-start; width: auto; height: 26px; }
.footer__brand p { margin: 0; line-height: 22px; }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}

.site-footer a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover { color: var(--ink); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

@media (max-width: 600px) {
  .cta__lead { font-size: 17px; line-height: 27px; }
  .cta__glow { background: radial-gradient(120% 70% at 100% 100%, rgba(255, 107, 44, 0.5) 0%, rgba(168, 59, 18, 0.28) 40%, rgba(10, 10, 10, 0) 75%); }
  .footer__bottom { flex-direction: column; }
}

/* ---------- Menus déroulants « Solutions » et « Métiers » ---------- */
.nav__dropdown { position: relative; }

.nav__drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: 500 15px/1.6 var(--font-text);
  cursor: pointer;
  transition: color 0.2s ease;
}
.nav__drop-btn:hover,
.nav__dropdown.is-open .nav__drop-btn { color: var(--ink); }
.nav__chevron { transition: transform 0.25s var(--ease-out); }
.nav__dropdown.is-open .nav__chevron { transform: rotate(180deg); }

.nav__submenu {
  position: absolute;
  top: calc(100% + 26px);
  left: 50%;
  z-index: 5;
  width: 330px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(16, 16, 18, 0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-float);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
}
/* Pont invisible entre le bouton et le panneau, pour garder le survol */
.nav__submenu::before {
  content: "";
  position: absolute;
  top: -28px;
  right: 0;
  left: 0;
  height: 28px;
}

.nav__dropdown.is-open .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0s;
}

@media (hover: hover) and (min-width: 881px) {
  .nav__dropdown:hover .nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0s;
  }
  .nav__dropdown:hover .nav__chevron { transform: rotate(180deg); }
  .nav__dropdown:hover .nav__drop-btn { color: var(--ink); }
}

.nav__links .nav__sub-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.nav__links .nav__sub-link:hover,
.nav__links .nav__sub-link[aria-current="page"] { background: var(--elevated); }

.nav__sub-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--elevated);
  color: var(--ink);
}
.nav__sub-link:hover .nav__sub-icon { background: var(--line); }

.nav__sub-text { display: flex; flex-direction: column; }
.nav__sub-text b { font-size: 14px; font-weight: 600; line-height: 20px; }
.nav__sub-text small { color: var(--ink-2); font-size: 12.5px; line-height: 18px; }

/* Catégorie d'offres (« Sur-mesure ») en tête du menu Solutions */
.nav__sub-label { margin: 0; padding: 8px 10px 6px; color: var(--ink-2); font-size: 12.5px; font-weight: 600; line-height: 18px; }

@media (max-width: 880px) {
  .nav__dropdown { border-top: 1px solid var(--line); }
  .nav__drop-btn {
    width: 100%;
    justify-content: space-between;
    padding: 14px 8px;
    color: var(--ink);
    font-size: 17px;
  }
  .nav__submenu {
    position: static;
    width: auto;
    display: none;
    padding: 0 0 8px;
    border: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav__submenu::before { display: none; }
  .nav__dropdown.is-open .nav__submenu { display: flex; transform: none; }
  .nav__links .nav__sub-link { padding: 8px; }
}

/* ---------- Pages métiers ---------- */
.trade-hero {
  min-height: calc(100svh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(48px, 6vw, 80px);
  background: var(--bg);
}

.trade-hero__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.trade-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.trade-hero__back {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.trade-hero__back::before { content: "← "; }
.trade-hero__back:hover { color: var(--ink); }

.trade-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.trade-hero__lead {
  max-width: 540px;
  margin: 0;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 30px;
}

/* La scène de l'offre la plus utile au métier, reprise de la section Offres et jouée dès l'arrivée */
.trade-hero__visual {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: radial-gradient(80% 70% at 50% 65%, #FFEBDD 0%, #F7F5F2 72%);
}
.trade-hero__scene { position: absolute; inset: 0; container-type: size; }

.trade-pains__inner,
.trade-solutions__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.trade-pains__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
}

.trade-pains__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.trade-row {
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.trade-row:nth-child(2) { transition-delay: 0.06s; }
.trade-row:nth-child(3) { transition-delay: 0.12s; }
.trade-row:nth-child(4) { transition-delay: 0.18s; }
.trade-row__num {
  flex: none;
  width: 32px;
  color: var(--orange-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 28px;
}
.trade-row h3 { margin: 0; font-size: 20px; font-weight: 600; line-height: 28px; }
.trade-row p { max-width: 560px; margin: 6px 0 0; color: var(--ink-2); font-size: 16px; line-height: 25px; }

.trade-solutions__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.trade-solutions__head {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.trade-solutions__head p { margin: 0; color: var(--ink-2); font-size: 18px; line-height: 28px; }

/* Solutions en deux colonnes de lignes, sans cartes */
.trade-solutions__grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 5vw, 72px);
}
.trade-solution {
  position: relative;
  padding: 28px 0 28px 28px;
  border-top: 1px solid var(--line);
}
.trade-solution:nth-child(2) { transition-delay: 0.06s; }
.trade-solution:nth-child(3) { transition-delay: 0.12s; }
.trade-solution:nth-child(4) { transition-delay: 0.18s; }
.trade-solution__dot {
  position: absolute;
  top: 37px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 107, 44, 0.16);
}
.trade-solution h3 { margin: 0; font-size: 22px; font-weight: 600; line-height: 30px; letter-spacing: -0.01em; }
.trade-solution p { max-width: 480px; margin: 8px 0 0; color: var(--ink-2); font-size: 16px; line-height: 25px; }

@media (max-width: 960px) {
  .trade-hero__inner,
  .trade-pains__inner { grid-template-columns: minmax(0, 1fr); }
  .trade-hero__visual { max-width: 460px; width: 100%; justify-self: center; }
}

@media (max-width: 600px) {
  .trade-hero { min-height: 0; }
  .trade-hero__lead { font-size: 17px; line-height: 27px; }
  .trade-hero .hero__actions,
  .trade-hero .hero__actions .btn { width: 100%; }
  .trade-hero .hero__actions .btn { height: 52px; font-size: 16px; }
  .trade-solutions__grid { grid-template-columns: minmax(0, 1fr); }
  .trade-row { gap: 16px; padding: 22px 0; }
}


/* ---------- Pages Solutions ---------- */
/* Une page par offre : même hero et mêmes listes que les pages Métiers, puis le modèle de prix et les autres offres */
.offer-model__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 56px clamp(32px, 6vw, 96px);
}
.offer-model__head p { max-width: 460px; margin: 16px 0 0; color: var(--ink-2); font-size: 18px; line-height: 28px; }
.offer-model__link,
.offer-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}
.offer-model__link { margin-top: 20px; }
.offer-model__link:hover,
.offer-card__link:hover { color: var(--orange-text); }

.offer-model__plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.offer-plan { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); }
.offer-plan:nth-child(2) { transition-delay: 0.06s; }
.offer-plan h3 { margin: 0; font-size: 20px; font-weight: 600; line-height: 28px; }
.offer-plan strong { display: block; margin-top: 2px; color: var(--orange-text); font-size: 15px; font-weight: 600; line-height: 22px; }
.offer-plan ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.offer-plan li { display: flex; gap: 12px; color: var(--ink-2); font-size: 16px; line-height: 24px; }
.offer-plan li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--orange); }

.offer-others {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.offer-others > span { margin-right: 12px; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.offer-others a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.offer-others a:hover { border-color: var(--orange); }
.offer-others__icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--surface); }
.offer-others b { display: block; font-size: 15px; font-weight: 600; line-height: 20px; }
.offer-others small { display: block; color: var(--ink-2); font-size: 13px; line-height: 18px; }

/* Page Agents IA : l'agent (le programme) et le modèle (le cerveau), et où peut tourner chacun */
.offer-split { background: var(--surface); }
.offer-split__inner { width: 100%; max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.offer-split__head { max-width: 760px; }
.offer-split__head p { margin: 16px 0 0; color: var(--ink-2); font-size: 18px; line-height: 28px; }
.offer-split__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.offer-split__col { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--elevated); }
.offer-split__col:nth-child(2) { transition-delay: 0.06s; }
.offer-split__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 107, 44, 0.12); }
.offer-split__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--orange-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.offer-split__col h3 { margin: 20px 0 0; font-size: 24px; font-weight: 600; line-height: 32px; letter-spacing: -0.01em; }
.offer-split__col > p { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; line-height: 25px; }
.offer-split__col h4 { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; line-height: 22px; }
.offer-split__col ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.offer-split__col li { display: flex; gap: 12px; color: var(--ink-2); font-size: 16px; line-height: 24px; }
.offer-split__col li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--orange); }
.offer-split__note {
  max-width: 900px;
  margin: 0;
  padding: 24px 28px;
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: var(--elevated);
  font-size: 18px;
  line-height: 28px;
}
@media (max-width: 760px) {
  .offer-split__cols { grid-template-columns: minmax(0, 1fr); }
  .offer-split__note { padding: 20px 22px; font-size: 16px; line-height: 25px; }
}

@media (max-width: 960px) {
  .offer-model__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 600px) {
  .offer-model__plans { grid-template-columns: minmax(0, 1fr); }
  .offer-plan { padding: 24px; }
  .offer-others a { width: 100%; }
}

/* ---------- Page « Étude de cas » ---------- */
/* Pas encore d'étude publiée : une fiche vierge dont le client s'écrit en boucle invite le visiteur à devenir le prochain */
.case-hero {
  min-height: calc(100svh - 82px);
  display: grid;
  align-content: center;
  padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(48px, 6vw, 80px);
  background: var(--bg);
}

.case-hero__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.case-hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.case-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.case-hero__lead { max-width: 540px; margin: 0; color: var(--ink-2); font-size: 19px; line-height: 30px; }

/* La fiche : une feuille légèrement inclinée posée sur une seconde */
.case-card {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 40px 80px -40px rgba(10, 10, 10, 0.35);
  transform: rotate(-1.5deg);
}
.case-card::before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  transform: rotate(3deg);
}

.case-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.case-card__label { color: var(--ink-2); font-size: 14px; font-weight: 600; }
.case-card__stamp {
  padding: 4px 10px;
  border: 1.5px solid var(--orange);
  border-radius: 8px;
  color: var(--orange-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: rotate(4deg);
}

.case-card__fields { margin: 0; }
.case-card__field { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.case-card__field dt { color: var(--ink-2); font-size: 13px; font-weight: 600; }
.case-card__field dd { margin: 6px 0 0; font-size: 16px; line-height: 25px; }
.case-card__client { display: flex; align-items: center; min-height: 34px; font-family: var(--font-display); font-size: 24px !important; font-weight: 700; letter-spacing: -0.02em; }
.case-card__caret { width: 2px; height: 1.05em; margin-left: 3px; border-radius: 1px; background: var(--orange); animation: case-caret 1s steps(1) infinite; }
@keyframes case-caret { 50% { opacity: 0; } }

/* Rubriques encore vierges : des lignes d'écriture en pointillé sous une indication discrète */
.case-card__blank { display: flex; flex-direction: column; gap: 10px; }
.case-card__blank span { color: var(--ink-2); font-style: italic; }
.case-card__blank i { display: block; height: 10px; border-radius: 5px; background: var(--surface); }
.case-card__blank i + i { width: 62%; }

.case-card__sign { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 22px; color: var(--ink-2); font-size: 13px; }
.case-card__sign i { flex: 1; max-width: 200px; border-bottom: 1.5px dashed #C8C8CE; }

/* Ce que contiendra chaque étude */
.case-plan { background: var(--surface); }
.case-plan__inner { width: 100%; max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.case-plan__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case-plan__item { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg); }
.case-plan__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(180deg, #FF8A4C 0%, var(--orange) 100%);
  box-shadow: 0 6px 14px -6px rgba(255, 107, 44, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.case-plan__icon svg { width: 22px; height: 22px; fill: #FFFFFF; }
.case-plan__item h3 { margin: 6px 0 0; font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.3; }
.case-plan__item p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 25px; }
.case-plan__note { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 23px; }

@media (max-width: 960px) {
  .case-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .case-card { max-width: 560px; width: 100%; justify-self: center; }
  .case-plan__list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .case-hero { min-height: 0; }
  .case-hero__lead { font-size: 17px; line-height: 27px; }
  .case-hero .hero__actions,
  .case-hero .hero__actions .btn { width: 100%; }
  .case-card { transform: none; }
  .case-card__client { font-size: 20px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .case-card__caret { animation: none; }
}

/* ---------- Pages juridiques ---------- */
.legal { padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(64px, 8vw, 112px); background: var(--bg); }
.legal__inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.legal__title { margin: 8px 0 0; font-size: clamp(34px, 4.4vw, 52px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
.legal__updated { margin: 0 0 16px; color: var(--ink-2); font-size: 14px; }
.legal h2 { margin: 28px 0 0; font-size: 22px; font-weight: 600; line-height: 30px; letter-spacing: -0.01em; }
.legal p, .legal li { margin: 0; color: #3F3F46; font-size: 16px; line-height: 27px; }
.legal ul { margin: 0; padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal__table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.legal table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; line-height: 21px; }
.legal th, .legal td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { background: var(--surface); font-weight: 600; }
.legal tr:last-child td { border-bottom: 0; }


/* ---------- Blog ---------- */
.blog, .article { padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(64px, 8vw, 112px); background: var(--bg); }
.blog__inner { max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.blog__title { margin: 0; max-width: 820px; font-size: clamp(36px, 4.6vw, 58px); font-weight: 700; line-height: 1.08; letter-spacing: -0.035em; }
.blog__lead { margin: 0 0 24px; max-width: 640px; color: var(--ink-2); font-size: 19px; line-height: 30px; }
.blog__list { border-bottom: 1px solid var(--line); }
.post-card a { display: flex; flex-direction: column; gap: 10px; padding: 32px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.post-card h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; transition: color 0.2s ease; }
.post-card p { margin: 0; max-width: 680px; color: var(--ink-2); font-size: 16px; line-height: 26px; }
.post-card a:hover h2 { color: var(--orange-text); }
.post-card__tag { align-self: flex-start; padding: 3px 10px; border-radius: var(--radius-pill); background: rgba(255, 107, 44, 0.12); color: var(--orange-text); font-size: 12.5px; font-weight: 600; }
.post-card__meta { color: var(--ink-2); font-size: 13px; }

.article__inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.article__crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--ink-2); font-size: 14px; }
.article__crumbs a { color: var(--ink-2); text-decoration: none; }
.article__crumbs a:hover { color: var(--ink); }
.article__title { margin: 0; font-size: clamp(32px, 4.2vw, 50px); font-weight: 700; line-height: 1.1; letter-spacing: -0.035em; }
.article__meta { margin: 0 0 12px; color: var(--ink-2); font-size: 14px; }
.article__body { display: flex; flex-direction: column; gap: 18px; }
.article__body h2 { margin: 24px 0 0; font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.article__body h3 { margin: 8px 0 0; font-size: 19px; font-weight: 600; line-height: 1.35; }
.article__body p, .article__body li { margin: 0; color: #3F3F46; font-size: 18px; line-height: 30px; }
.article__body ul, .article__body ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.article__body ul { list-style: disc; }
.article__body a { color: var(--ink); text-decoration-color: var(--orange); text-underline-offset: 3px; }
.article__body strong { color: var(--ink); }

.article__cta { margin-top: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-xl); background: radial-gradient(90% 90% at 100% 100%, rgba(255, 107, 44, 0.3) 0%, rgba(255, 107, 44, 0) 65%), var(--bg); color: var(--ink); }
.article__cta h2 { margin: 0; font-size: clamp(24px, 2.8vw, 32px); font-weight: 700; letter-spacing: -0.02em; }
.article__cta p { margin: 0; max-width: 520px; color: var(--ink-2); font-size: 17px; line-height: 27px; }

.article__faq { margin-top: 32px; display: flex; flex-direction: column; }
.article__faq h2 { margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.02em; }
.article__q { border-top: 1px solid var(--line); }
.article__q:last-child { border-bottom: 1px solid var(--line); }
.article__q summary { padding: 18px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.article__q summary::-webkit-details-marker { display: none; }
.article__q summary::after { content: "+"; float: right; color: var(--ink-2); font-weight: 400; }
.article__q[open] summary::after { content: "−"; }
.article__q p { margin: 0 0 18px; color: #3F3F46; font-size: 16px; line-height: 26px; }

.article__related { margin-top: 32px; }
.article__related h2 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.article__related a { display: flex; flex-direction: column; gap: 8px; padding: 18px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.article__related b { font-size: 17px; font-weight: 600; line-height: 1.35; transition: color 0.2s ease; }
.article__related a:hover b { color: var(--orange-text); }

@media (max-width: 600px) {
  .article__body p, .article__body li { font-size: 17px; line-height: 28px; }
  .article__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
