/* ==========================================================================
   pAIsteque : feuille de style du site
   Design kawaii hérité de la maquette : traits épais #3A2E39, ombres portées
   dures, pastilles arrondies, palette pastèque.
   ========================================================================== */

:root {
  --ink: #3A2E39;
  --muted: #5B4A58;
  --muted-2: #7A6878;
  --paper: #FFFFFF;
  --pink: #FF7088;
  --pink-soft: #FFB3C2;
  --pink-pale: #FFE3EA;
  --blue-pale: #EAF6FF;
  --blue-dot: #D3E9FA;
  --blue-ice: #F7FBFF;
  --lilac: #DCE4F5;
  --green-pale: #F2FBEA;
  --green-soft: #E3F6E0;
  --green: #A9E3A0;
  --green-mid: #43B064;
  --green-text: #2F7A45;
  --green-deep: #23703B;
  --yellow: #FFD15C;
  --yellow-pale: #FFF3CC;

  --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Sniglet', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;

  --stroke: 2.5px solid var(--ink);
  --stroke-thin: 2px solid var(--ink);
  --shadow-s: 3px 3px 0 var(--ink);
  --shadow-m: 4px 4px 0 var(--ink);
  --shadow-l: 6px 6px 0 var(--ink);
  --shadow-xl: 8px 8px 0 var(--ink);
  --shadow-xxl: 10px 10px 0 var(--ink);

  --radius-card: 28px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-pad: clamp(64px, 8vw, 104px);

  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
}

/* ----- base ------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { text-wrap: balance; margin: 0; }
p, li, blockquote, figcaption { text-wrap: pretty; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: #C93554; }
button { font-family: inherit; }
input::placeholder { color: var(--muted-2); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.display { font-family: var(--font-display); font-weight: 800; }

.section { padding: var(--section-pad) 0; }
.section--blue { background: var(--blue-pale); }
.section--green { background: var(--green-pale); }
.section--white { background: var(--paper); }

.section-head {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 16px; max-width: 760px; margin: 0 auto;
}
.section-head--left { align-items: flex-start; text-align: left; margin: 0; }
.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08;
}
.section-lead {
  font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted);
}

/* Mot mis en valeur, contour épais et ombre rose (hérité de la maquette) */
.outline-word {
  color: var(--pink);
  text-shadow:
    3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 3px 0 var(--ink), 0 -3px 0 var(--ink),
    2.12px 2.12px 0 var(--ink), -2.12px 2.12px 0 var(--ink), 2.12px -2.12px 0 var(--ink), -2.12px -2.12px 0 var(--ink),
    2.77px 1.15px 0 var(--ink), -2.77px 1.15px 0 var(--ink), 2.77px -1.15px 0 var(--ink), -2.77px -1.15px 0 var(--ink),
    1.15px 2.77px 0 var(--ink), -1.15px 2.77px 0 var(--ink), 1.15px -2.77px 0 var(--ink), -1.15px -2.77px 0 var(--ink),
    0 7px 0 var(--pink-soft);
}

/* ----- composants de base ------------------------------------------------ */

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; background: var(--paper); border: var(--stroke-thin);
  border-radius: 999px; font-weight: 800; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
}
.badge svg { flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  background: var(--paper); color: var(--ink);
  border: var(--stroke); border-radius: 999px; box-shadow: var(--shadow-m);
  font-weight: 900; font-size: 17px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn--primary { background: var(--pink); }
.btn--primary:hover { background: #FF7F95; }
.btn--green { background: var(--green); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 15px; box-shadow: var(--shadow-s); }
.btn--sm:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn svg { flex-shrink: 0; transition: transform .2s ease; }
.btn:hover svg.arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 900; font-size: 17px; text-decoration: underline;
  text-underline-offset: 5px; text-decoration-thickness: 2.5px;
}
.link-arrow svg { transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(5px); }

.card {
  background: var(--paper); border: var(--stroke); border-radius: var(--radius-card);
  box-shadow: var(--shadow-l); padding: 28px;
}

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; background: var(--green-pale); border: var(--stroke-thin);
  border-radius: 999px; font-weight: 800; font-size: 13px;
}

.icon-box {
  width: 58px; height: 58px; flex-shrink: 0; border-radius: 18px;
  border: var(--stroke); display: flex; align-items: center; justify-content: center;
}
.icon-box--sm { width: 44px; height: 44px; border-radius: 14px; border-width: 2px; }

.bg-pink { background: var(--pink-pale); }
.bg-blue { background: var(--blue-pale); }
.bg-yellow { background: var(--yellow-pale); }
.bg-green { background: var(--green-soft); }

/* ----- apparition au défilement ----------------------------------------- */

.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease, transform .7s var(--ease-pop);
  transition-delay: var(--delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal--pop { transform: translateY(26px) scale(.94); }
.js .reveal--left { transform: translateX(-30px); }
.js .reveal--right { transform: translateX(30px); }

/* entrée du héros : animation CSS pure, indépendante du JS */
.hero-in { animation: hero-in .8s var(--ease-pop) both; animation-delay: var(--delay, 0ms); }
.hero-in--pop { animation-name: hero-in-pop; }
@keyframes hero-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hero-in-pop { from { opacity: 0; transform: translateY(26px) scale(.92); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   En-tête et logo animé
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--paper); border-bottom: var(--stroke);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 0 rgba(58, 46, 57, .08); }

.nav {
  min-height: 80px; padding-top: 12px; padding-bottom: 12px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 28px;
}

.logo {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  text-decoration: none; color: var(--ink);
}
.logo:hover { color: var(--ink); }
.logo__bot { width: clamp(40px, 8vw, 52px); height: auto; overflow: visible; }
.logo__word { height: clamp(22px, 4.6vw, 28px); width: auto; }

.nav__links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px;
  font-weight: 800; font-size: 16px;
}
.nav__links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 3px;
  background: var(--pink); border-radius: 3px;
  transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease-pop);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

.nav__toggle { display: none; }
.nav__links .nav__cta { display: none; }
.nav__actions { display: flex; align-items: center; gap: 12px; }

/* fenêtre moyenne : « Une question ? » se réduit à une pastille « ? » pour que l'en-tête tienne sur une ligne */
@media (min-width: 761px) and (max-width: 1180px) {
  .nav { column-gap: 20px; }
  .nav__links { column-gap: 14px; }
  .nav__actions .nav__cta--rappel { width: 46px; padding: 0; background: var(--yellow); }
  .nav__actions .nav__cta--rappel svg { display: none; }
  .nav__actions .nav__cta--rappel::before {
    content: '?'; font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1;
  }
  .nav__actions .nav__cta-label {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .nav { min-height: 68px; }
  .nav__actions { display: none; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%; background: var(--paper);
    border: var(--stroke); box-shadow: var(--shadow-s); cursor: pointer; padding: 0;
  }
  .nav__cta { display: none; }
  .nav__links {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    gap: 4px; padding: 8px 0 14px;
  }
  .nav__links a { min-height: 48px; padding: 0 6px; font-size: 18px; }
  .nav__links a::after { bottom: 6px; }
  .nav__links .nav__cta { display: inline-flex; margin-top: 8px; }
  .nav.is-open .nav__links { display: flex; }
}

/* --- animation du robot (Bite Bot) --- */

.bot { overflow: visible; }
.bot g { transform-box: fill-box; transform-origin: center; }

.bot .bot-eye { animation: bot-blink 4.6s ease-in-out infinite; }
.bot .bot-eye-right { animation-delay: .08s; }
.bot .bot-antenna {
  transform-origin: 50% 100%;
  animation: bot-antenna 3.2s ease-in-out infinite;
}
.bot .bot-head, .bot .bot-ear, .bot .bot-eye, .bot .bot-cheek, .bot .bot-mouth, .bot .bot-antenna {
  /* la tête et ce qu'elle porte oscillent ensemble */
}
.bot .bot-head-group { animation: bot-bob 3.2s ease-in-out infinite; }
.bot .bot-hand { transform-origin: 50% 20%; }

.bot--idle .bot-hand-left { animation: bot-hand-tap 3.2s ease-in-out infinite; }
.bot--idle .bot-hand-right { animation: bot-hand-tap 3.2s ease-in-out infinite .4s; }

/* survol du logo : il salue et ouvre grand la bouche */
.logo:hover .bot .bot-hand-right,
.logo:focus-visible .bot .bot-hand-right { animation: bot-wave .9s var(--ease-pop) infinite; }
.logo:hover .bot .bot-mouth,
.logo:focus-visible .bot .bot-mouth { animation: bot-chomp .5s ease-in-out infinite; }
.logo:hover .bot .bot-antenna { animation-duration: .9s; }
.logo:hover .bot .bot-eye { animation: bot-happy .9s ease-in-out infinite; }

@keyframes bot-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(.08); }
}
@keyframes bot-happy {
  0%, 100% { transform: scaleY(.55) translateY(-6%); }
  50% { transform: scaleY(.45) translateY(-6%); }
}
@keyframes bot-antenna {
  0%, 100% { transform: rotate(-7deg); }
  50% { transform: rotate(7deg); }
}
@keyframes bot-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2.5%); }
}
@keyframes bot-hand-tap {
  0%, 70%, 100% { transform: rotate(0); }
  80% { transform: rotate(-14deg); }
  90% { transform: rotate(8deg); }
}
@keyframes bot-wave {
  0%, 100% { transform: rotate(0) translateY(0); }
  30% { transform: rotate(-32deg) translateY(-10%); }
  60% { transform: rotate(18deg) translateY(-6%); }
}
@keyframes bot-chomp {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.7) translateY(10%); }
}

/* ==========================================================================
   Héros
   ========================================================================== */

.hero {
  position: relative; overflow: hidden;
  background-color: var(--blue-pale);
  background-image: radial-gradient(var(--blue-dot) 2px, transparent 2.6px);
  background-size: 26px 26px;
}
.hero__inner {
  min-height: min(800px, 92vh);
  padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 56px;
}
.hero__copy {
  flex: 1 1 480px; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
}
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 4.6vw, 58px); line-height: 1.04;
}
.hero__lead { max-width: 580px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 18px; font-weight: 800; font-size: 15px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { flex-shrink: 0; }

/* mot qui défile dans le titre */
.rotator {
  display: inline-grid; vertical-align: bottom; text-align: left;
}
.rotator > span {
  grid-area: 1 / 1; white-space: nowrap;
  opacity: 0; transform: translateY(60%);
  transition: opacity .45s ease, transform .5s var(--ease-pop);
}
.rotator > span.is-in { opacity: 1; transform: none; }
.rotator > span.is-out { opacity: 0; transform: translateY(-60%); }

.hero__visual {
  flex: 1 1 420px; min-width: 0; position: relative;
  display: flex; justify-content: center; align-items: center; padding: 28px 0;
}
.hero__disc {
  position: relative; width: min(440px, 100%); aspect-ratio: 1;
  border-radius: 50%; background: var(--paper); border: var(--stroke);
  box-shadow: var(--shadow-xxl);
  display: flex; align-items: center; justify-content: center;
}
.hero__disc .bot { width: 92%; height: auto; }
.hero__bot { animation: hero-float 5s ease-in-out infinite; }
@keyframes hero-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(-1.5deg); }
}

.toast {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 9px; max-width: 72%;
  background: var(--paper); border: var(--stroke); border-radius: 18px; box-shadow: var(--shadow-m);
  --r: 0deg; transform: rotate(var(--r));
  animation: toast-in .7s var(--ease-pop) both, toast-bob 6s ease-in-out infinite 1s;
  animation-delay: var(--d, 0s), calc(var(--d, 0s) + .8s);
}
.toast__icon {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%;
  border: var(--stroke-thin); display: flex; align-items: center; justify-content: center;
}
.toast__text { display: flex; flex-direction: column; line-height: 1.25; }
.toast__text strong { font-size: 15px; }
.toast__text span { font-size: 13px; font-weight: 600; color: var(--muted); }
.toast--1 { top: 3%; left: 0; --r: -4deg; --d: .3s; }
.toast--2 { top: 43%; right: 0; --r: 3deg; --d: .9s; }
.toast--3 { bottom: 4%; left: 3%; --r: -2deg; --d: 1.5s; }
@keyframes toast-in {
  from { opacity: 0; transform: rotate(var(--r)) translateY(24px) scale(.85); }
  to { opacity: 1; transform: rotate(var(--r)) translateY(0) scale(1); }
}
@keyframes toast-bob {
  0%, 100% { transform: rotate(var(--r)) translateY(0); }
  50% { transform: rotate(var(--r)) translateY(-6px); }
}

/* décorations scintillantes */
.spark { position: absolute; pointer-events: none; animation: twinkle 3.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0); opacity: 1; }
  50% { transform: scale(.55) rotate(25deg); opacity: .55; }
}

/* ==========================================================================
   Bandeau d'outils (défilement continu)
   ========================================================================== */

.tools {
  background: var(--paper); border-top: var(--stroke); border-bottom: var(--stroke);
  padding: 18px 0; overflow: hidden;
}
.tools__label {
  text-align: center; font-weight: 800; font-size: 13px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track {
  display: flex; gap: 12px; padding-right: 12px; flex-shrink: 0;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 16px; border: var(--stroke-thin); border-radius: 999px;
  font-weight: 800; font-size: 15px; background: var(--paper);
}
.marquee__track li i {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink);
  background: var(--c, var(--yellow)); display: inline-block;
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* ==========================================================================
   Cockpits par métier
   ========================================================================== */

.tabs { margin-top: 48px; }
.tablist {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.tab {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 22px; background: var(--paper); color: var(--ink);
  border: var(--stroke); border-radius: 999px; box-shadow: var(--shadow-s);
  font-weight: 900; font-size: 16px; cursor: pointer; overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.tab:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.tab[aria-selected="true"] { background: var(--tab-c, var(--pink-pale)); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.tab__dot {
  width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink);
  background: var(--tab-c, var(--pink-pale)); flex-shrink: 0;
}
/* barre de progression de la rotation automatique */
.tab__progress {
  position: absolute; left: 0; bottom: 0; height: 4px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: left; opacity: .85;
}
.tab[aria-selected="true"] .tab__progress.is-running { animation: tab-progress var(--rotate-ms, 7000ms) linear forwards; }
@keyframes tab-progress { to { transform: scaleX(1); } }

.panel { display: none; margin-top: 36px; }
.panel.is-active { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 36px; align-items: center; }
@media (max-width: 900px) { .panel.is-active { grid-template-columns: 1fr; } }

.panel__copy { display: flex; flex-direction: column; gap: 18px; }
.panel.is-active .panel__copy > * { animation: rise .6s var(--ease-pop) both; }
.panel.is-active .panel__copy > :nth-child(2) { animation-delay: .07s; }
.panel.is-active .panel__copy > :nth-child(3) { animation-delay: .14s; }
.panel.is-active .panel__copy > :nth-child(4) { animation-delay: .21s; }
.panel.is-active .panel__copy > :nth-child(5) { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.panel__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.panel__lead { font-size: 17px; color: var(--muted); }

.agents { display: flex; flex-direction: column; gap: 10px; }
.agents li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; background: var(--paper); border: var(--stroke-thin);
  border-radius: 16px; box-shadow: var(--shadow-s); font-weight: 700; font-size: 15.5px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.agents li:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.panel.is-active .agents li { animation: rise .55s var(--ease-pop) both; animation-delay: calc(.25s + var(--i, 0) * 70ms); }
.agents__ic {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 11px; border: var(--stroke-thin);
  display: flex; align-items: center; justify-content: center; background: var(--panel-c, var(--pink-pale));
}
.agents__tag { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--muted); white-space: nowrap; }

/* --- mini cockpit (maquette CSS animée) --- */

.cockpit {
  background: var(--paper); border: var(--stroke); border-radius: 24px; box-shadow: var(--shadow-xl);
  overflow: hidden; font-size: 13px;
}
.panel.is-active .cockpit { animation: cockpit-in .7s var(--ease-pop) both .1s; }
@keyframes cockpit-in { from { opacity: 0; transform: translateY(22px) rotate(1deg) scale(.96); } to { opacity: 1; transform: none; } }

.cockpit__bar {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: var(--panel-c, var(--pink-pale)); border-bottom: var(--stroke);
}
.cockpit__dots { display: flex; gap: 5px; }
.cockpit__dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); }
.cockpit__title { font-family: var(--font-display); font-weight: 800; font-size: 15px; margin-left: 6px; }
.cockpit__live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 999px;
  font-weight: 800; font-size: 11px;
}
.cockpit__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-mid); border: 1.5px solid var(--ink); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }

.cockpit__body { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; background: var(--blue-ice); }
@media (max-width: 480px) { .cockpit__body { grid-template-columns: 1fr; } }

.kpis { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi {
  background: var(--paper); border: var(--stroke-thin); border-radius: 14px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.kpi__label { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.kpi__value { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.1; }
.kpi__delta { font-size: 11px; font-weight: 800; color: var(--green-text); }

.chart {
  background: var(--paper); border: var(--stroke-thin); border-radius: 14px; padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.chart__title { font-weight: 800; font-size: 12px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; }
.bars i {
  flex: 1; border: 2px solid var(--ink); border-radius: 8px 8px 4px 4px;
  background: var(--panel-c, var(--pink-pale)); height: var(--h, 40%);
  transform: scaleY(0); transform-origin: bottom;
}
.panel.is-active .bars i { animation: grow .8s var(--ease-pop) forwards; animation-delay: calc(.4s + var(--i, 0) * 80ms); }
@keyframes grow { to { transform: scaleY(1); } }
.bars i:nth-child(odd) { background: var(--paper); }

.feed {
  background: var(--paper); border: var(--stroke-thin); border-radius: 14px; padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.feed__title { font-weight: 800; font-size: 12px; display: flex; align-items: center; gap: 6px; }
.feed li {
  display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.35; font-weight: 600;
  opacity: 0;
}
.panel.is-active .feed li { animation: rise .5s var(--ease-pop) forwards; animation-delay: calc(.6s + var(--i, 0) * .45s); }
.feed li b { color: var(--ink); }
.feed__bot { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--panel-c, var(--pink-pale)); display: flex; align-items: center; justify-content: center; }
.feed__bot svg { width: 16px; height: 16px; }
.feed__check { margin-left: auto; color: var(--green-text); font-weight: 900; }
.typing { display: inline-flex; gap: 3px; align-items: center; padding-top: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); animation: typing 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ==========================================================================
   Méthode
   ========================================================================== */

.steps {
  position: relative; margin-top: 64px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }

/* ligne qui se dessine au défilement, derrière les cartes */
.steps__line {
  position: absolute; left: 0; right: 0; top: 56px; height: 8px; pointer-events: none;
}
.steps__line svg { width: 100%; height: 100%; overflow: visible; }
.steps__line path { stroke: var(--ink); stroke-width: 4; stroke-dasharray: 12 10; fill: none; }
.steps__line .steps__fill { stroke: var(--pink); stroke-width: 6; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; transition: stroke-dashoffset .2s linear; }
@media (max-width: 900px) { .steps__line { display: none; } }

.step {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.step__num {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; border: var(--stroke); background: var(--step-c, var(--pink-pale));
  font-family: var(--font-display); font-weight: 800; font-size: 24px; box-shadow: var(--shadow-s);
}
.step__ico { position: absolute; top: 22px; right: 22px; width: 54px; height: 54px; }
.step__ico svg { width: 100%; height: 100%; }
.step h3 { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.1; }
.step p { font-size: 16.5px; line-height: 1.55; color: var(--muted); }
.step ul { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.step li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; font-weight: 700; line-height: 1.4; }
.step li svg { flex-shrink: 0; margin-top: 4px; }
.step .chip { margin-top: auto; }

/* icônes animées des étapes */
.step:hover .ico-handshake { animation: shake .7s ease-in-out; }
.step:hover .ico-gear { animation: spin 1.4s linear infinite; transform-origin: center; }
.step:hover .ico-rocket { animation: lift-off .8s var(--ease-pop); }
@keyframes shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes lift-off { 0% { transform: translate(0, 0); } 40% { transform: translate(6px, -10px); } 100% { transform: translate(0, 0); } }

.method-note {
  margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px;
  text-align: center; font-weight: 800; font-size: 16px;
}
.method-note .chip { background: var(--paper); font-size: 14px; padding: 8px 14px; }

/* ==========================================================================
   En pratique
   ========================================================================== */

.pratique { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.pratique__copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.pratique__visual { flex: 1 1 480px; min-width: 0; position: relative; }

.points { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.points li { display: flex; align-items: flex-start; gap: 14px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.points li strong { color: var(--ink); }
.points li:hover .icon-box { transform: rotate(-6deg) scale(1.06); }
.points .icon-box { transition: transform .25s var(--ease-pop); }

.browser {
  position: relative; background: var(--paper); border: var(--stroke); border-radius: 24px;
  box-shadow: var(--shadow-xl); overflow: hidden;
  transform: rotate(-1deg); transition: transform .4s var(--ease-pop);
}
.browser:hover { transform: rotate(0) translateY(-4px); }
.browser__bar {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: var(--blue-pale); border-bottom: var(--stroke);
}
.browser__url {
  flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0;
  padding: 6px 12px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 999px;
  font-size: 12.5px; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser__screen { position: relative; aspect-ratio: 16 / 10; background: var(--blue-ice); }
.browser__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.browser__screen img.is-missing { display: none; }

/* rendu de secours tant que la capture n'est pas déposée */
.fallback {
  position: absolute; inset: 0; display: none; padding: 12px; gap: 10px;
  grid-template-columns: 150px 1fr;
  background-color: var(--blue-pale);
  background-image: radial-gradient(var(--blue-dot) 1.5px, transparent 2px); background-size: 18px 18px;
}
.browser__screen.is-fallback .fallback { display: grid; }
@media (max-width: 480px) { .fallback { grid-template-columns: 1fr; } .fallback__side { display: none; } }
.fallback__side { background: var(--paper); border: var(--stroke-thin); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.fallback__side b { font-family: var(--font-display); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.fallback__side span { display: block; height: 10px; border-radius: 6px; background: var(--pink-pale); border: 1.5px solid var(--ink); width: var(--w, 80%); }
.fallback__main { display: grid; grid-template-rows: auto 1fr; gap: 10px; min-width: 0; }
.fallback__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fallback__kpis div { background: var(--paper); border: var(--stroke-thin); border-radius: 12px; padding: 8px 10px; font-size: 11px; font-weight: 800; color: var(--muted); }
.fallback__kpis div b { display: block; font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.fallback__chat { background: var(--paper); border: var(--stroke-thin); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 700; overflow: hidden; }
.fallback__chat p { padding: 7px 10px; border: 1.5px solid var(--ink); border-radius: 14px; max-width: 85%; line-height: 1.35; }
.fallback__chat p.me { align-self: flex-end; background: var(--pink-pale); border-bottom-right-radius: 4px; }
.fallback__chat p.bot { align-self: flex-start; background: var(--paper); border-bottom-left-radius: 4px; }
.fallback__tag {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  padding: 6px 12px; background: var(--yellow); border: var(--stroke-thin); border-radius: 999px;
  font-size: 12px; font-weight: 900; white-space: nowrap; box-shadow: var(--shadow-s);
}

.sticker {
  position: absolute; right: -10px; top: -22px; z-index: 2;
  padding: 10px 16px; background: var(--yellow); border: var(--stroke); border-radius: 999px;
  box-shadow: var(--shadow-m); font-weight: 900; font-size: 14px; transform: rotate(6deg);
  animation: sticker-wiggle 4s ease-in-out infinite;
}
@keyframes sticker-wiggle { 0%, 100% { transform: rotate(6deg); } 50% { transform: rotate(2deg) translateY(-3px); } }

/* ==========================================================================
   Tarifs
   ========================================================================== */

.pricing { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

.price-card {
  position: relative; background: var(--pink-pale); border: var(--stroke); border-radius: 32px;
  box-shadow: var(--shadow-xl); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px;
  overflow: hidden;
}
.price-card__ribbon {
  position: absolute; top: 22px; right: -42px; transform: rotate(35deg);
  padding: 6px 56px; background: var(--yellow); border-top: var(--stroke-thin); border-bottom: var(--stroke-thin);
  font-weight: 900; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.price-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.1; }
.price-card__sub { color: var(--muted); font-size: 16.5px; }
.price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px;
}
.price__amount {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 8vw, 84px); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price__unit { font-weight: 800; font-size: 17px; color: var(--muted); display: flex; flex-direction: column; line-height: 1.25; }
.price__unit b { color: var(--ink); }

/* prix + forfait IA côte à côte */
.price-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px 18px; }
.price-row .price { flex: 1 1 250px; align-content: center; }
.forfait {
  flex: 1 1 210px; position: relative; display: flex; align-items: center;
  padding: 12px 14px 12px 30px; margin-left: 14px;
  background: var(--yellow-pale); border: var(--stroke-thin); border-radius: 18px; box-shadow: var(--shadow-s);
}
.forfait__plus {
  position: absolute; left: -17px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); border: var(--stroke-thin);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1;
}
.forfait p { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.forfait strong { font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.forfait span { font-size: 13.5px; font-weight: 700; color: var(--muted); }

.pricing__side { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.pricing__side .no-hidden { flex: 1; }
.pricing-note { margin-top: 18px; text-align: center; font-size: 15px; font-weight: 600; color: var(--muted); }

.includes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
@media (max-width: 560px) { .includes { grid-template-columns: 1fr; } }
.includes li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.4; font-weight: 700; }
.includes li svg { flex-shrink: 0; margin-top: 3px; }
.includes li small { display: block; font-weight: 600; color: var(--muted); font-size: 14px; }
.price-card .btn { align-self: flex-start; }

.no-hidden {
  background: var(--paper); border: var(--stroke); border-radius: 32px; box-shadow: var(--shadow-l);
  padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 20px;
}
.no-hidden h3 { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.1; }
.no-hidden p { color: var(--muted); font-size: 16.5px; }
.strikes { display: flex; flex-direction: column; gap: 12px; }
.strikes li {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border: var(--stroke-thin); border-radius: 16px; font-weight: 800; font-size: 16px;
  background: var(--blue-ice);
}
.strikes li .x {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; border: var(--stroke-thin); background: var(--pink-pale);
  display: flex; align-items: center; justify-content: center;
}
.strikes li span { position: relative; }
.strikes li span::after {
  content: ''; position: absolute; left: -2px; right: -2px; top: 55%; height: 3px; background: #C93554; border-radius: 3px;
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-pop);
  transition-delay: calc(var(--i, 0) * 180ms + 300ms);
}
.strikes.is-visible li span::after { transform: scaleX(1); }
.no-hidden__foot { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--green-soft); border: var(--stroke-thin); border-radius: 18px; font-weight: 800; font-size: 15.5px; }

/* ==========================================================================
   Avis vidéo
   ========================================================================== */

.videos { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .videos { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; } }

.vcard { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.vcard__frame {
  position: relative; aspect-ratio: 9 / 16; border-radius: 28px; border: var(--stroke); box-shadow: var(--shadow-l);
  overflow: hidden; background: var(--ink); transition: transform .25s var(--ease-pop), box-shadow .25s ease;
}
.vcard:hover .vcard__frame { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 9px 9px 0 var(--ink); }
.vcard__frame video { width: 100%; height: 100%; object-fit: cover; }
.vcard__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer; padding: 0;
}
.vcard__play span {
  width: 76px; height: 76px; border-radius: 50%; background: var(--pink); border: var(--stroke); box-shadow: var(--shadow-m);
  display: flex; align-items: center; justify-content: center; transition: transform .2s var(--ease-pop);
}
.vcard__play:hover span { transform: scale(1.1); }
.vcard__frame.is-playing .vcard__play { display: none; }

.vcard__empty {
  position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 24px; text-align: center; color: var(--paper);
  background: repeating-linear-gradient(135deg, #4A3C49 0 14px, #3A2E39 14px 28px);
}
.vcard__empty b { font-family: var(--font-display); font-size: 20px; }
.vcard__empty code { font-size: 13px; background: rgba(255, 255, 255, .14); padding: 4px 8px; border-radius: 8px; word-break: break-all; }
.vcard__frame.is-empty .vcard__empty { display: flex; }
.vcard__frame.is-empty .vcard__play { display: none; }

/* vignette dont la vidéo est en cours de lecture dans la visionneuse */
.vcard__frame.is-zoomed::after {
  content: 'Lecture en cours'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--paper); font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  background: repeating-linear-gradient(135deg, #4A3C49 0 14px, #3A2E39 14px 28px);
}
.vcard__frame.is-zoomed .vcard__play { display: none; }
/* si le navigateur passe en plein écran natif, la vidéo reste entière */
video:fullscreen { object-fit: contain; background: #000; }
video:-webkit-full-screen { object-fit: contain; background: #000; }

/* ----- visionneuse ------------------------------------------------------- */
.viewer {
  position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center;
  background: rgba(35, 26, 34, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  overscroll-behavior: contain; touch-action: none;
}
.viewer.is-open { display: flex; animation: viewer-in .25s ease both; }
.viewer__slot {
  position: relative; background: #000; border: var(--stroke); border-radius: 24px; overflow: hidden;
  box-shadow: 10px 10px 0 var(--ink); max-width: 94vw; max-height: 90vh;
  animation: viewer-pop .35s var(--ease-pop) both;
}
.viewer__slot video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.viewer__close {
  position: absolute; top: clamp(10px, 2.4vh, 22px); right: clamp(10px, 2.4vw, 26px); z-index: 2;
  width: 48px; height: 48px; padding: 0; border-radius: 50%; background: var(--yellow); border: var(--stroke);
  box-shadow: var(--shadow-s); display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform .15s ease;
}
.viewer__close:hover { transform: rotate(90deg) scale(1.08); }
@keyframes viewer-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes viewer-pop { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }

/* ----- fenêtre « Une question ? » ---------------------------------------- */
/* Le fond défile toujours d'un pixel : avec overscroll-behavior, la molette et
   le doigt restent dans la fenêtre et ne font pas changer de chapitre derrière. */
.rappel {
  position: fixed; inset: 0; z-index: 1000; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: none;
  background: rgba(35, 26, 34, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: viewer-in .25s ease both;
}
.rappel[hidden] { display: none; }
.rappel::-webkit-scrollbar { display: none; }
.rappel__wrap {
  min-height: calc(100% + 1px); display: flex; align-items: center; justify-content: center;
  padding: clamp(12px, 3vh, 40px) 16px;
}
.rappel__card {
  position: relative; width: 100%; max-width: 560px; background: var(--paper); border: var(--stroke);
  border-radius: 32px; box-shadow: var(--shadow-xl); padding: clamp(20px, 4.5vw, 28px);
  animation: viewer-pop .35s var(--ease-pop) both;
}
.rappel__close {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  background: var(--yellow); border: var(--stroke); box-shadow: var(--shadow-s);
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .15s ease;
}
.rappel__close:hover { transform: rotate(90deg) scale(1.08); }
.rappel__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.rappel__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 5vw, 34px); line-height: 1.1; padding-right: 52px; }
.rappel__lead { font-size: 16px; line-height: 1.5; color: var(--muted); }
.rappel__form { width: 100%; display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.rappel__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
@media (max-width: 560px) { .rappel__duo { grid-template-columns: 1fr; } }
/* écran bas : le texte d'introduction s'efface pour que le formulaire tienne sans défiler */
@media (min-width: 561px) and (max-height: 700px) { .rappel__lead { display: none; } .rappel__done .rappel__lead { display: block; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .rappel__moments legend { font-weight: 800; font-size: 15px; }
.field__opt { font-weight: 600; color: var(--muted-2); }
.field input, .field textarea {
  width: 100%; min-width: 0; min-height: 46px; padding: 0 16px; background: var(--blue-ice); color: var(--ink);
  border: var(--stroke); border-radius: 16px; font-family: inherit; font-size: 16px; font-weight: 700;
  transition: background .15s ease, box-shadow .15s ease;
}
.field textarea { display: block; min-height: 62px; max-height: 180px; padding: 10px 16px; line-height: 1.4; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; background: var(--paper); box-shadow: var(--shadow-s); }
.field input[aria-invalid="true"] { background: var(--pink-pale); }
.field__error, .rappel__error { font-size: 14px; font-weight: 700; color: #B02A48; }
.rappel__error { padding: 10px 14px; background: var(--pink-pale); border: var(--stroke-thin); border-radius: 14px; color: var(--ink); }

.rappel__moments { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rappel__moments legend { padding: 0; margin-bottom: 6px; }
.rappel__moments label { position: relative; display: inline-flex; }
.rappel__moments input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rappel__moments span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; background: var(--paper);
  border: var(--stroke-thin); border-radius: 999px; font-weight: 800; font-size: 14px;
  transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.rappel__moments input:hover + span { background: var(--green-pale); }
.rappel__moments input:checked + span { background: var(--green); box-shadow: 2px 2px 0 var(--ink); transform: translate(-1px, -1px); }
.rappel__moments input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }

.rappel__piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rappel__submit { width: 100%; margin-top: 4px; }
.rappel__submit[disabled] { opacity: .65; cursor: progress; transform: none; box-shadow: var(--shadow-m); }
.rappel__note { font-size: 13.5px; color: var(--muted-2); text-align: center; }

.rappel__done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 18px 0 6px; outline: none; }
.rappel__done[hidden], .rappel__body[hidden] { display: none; }
.rappel__check {
  width: 72px; height: 72px; border-radius: 50%; background: var(--green); border: var(--stroke); box-shadow: var(--shadow-m);
  display: flex; align-items: center; justify-content: center; animation: viewer-pop .45s var(--ease-pop) both;
}

.vcard figcaption { display: flex; align-items: center; gap: 12px; }
.vcard__avatar {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; border: var(--stroke);
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 15px;
}
.vcard figcaption strong { font-size: 16px; display: block; }
.vcard figcaption span { font-size: 14px; font-weight: 600; color: var(--muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.faq__intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.faq__list { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }

.faq__bot { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.faq__bot-disc {
  width: 88px; height: 88px; flex-shrink: 0; border-radius: 50%; background: var(--blue-pale);
  border: var(--stroke); box-shadow: var(--shadow-m); display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.faq__bot-disc .bot { width: 66px; height: auto; margin-top: 10px; }
.bubble {
  position: relative; padding: 12px 16px; background: var(--paper); border: var(--stroke-thin);
  border-radius: 18px 18px 18px 6px; font-weight: 800; font-size: 15px; line-height: 1.4;
}

details { background: var(--paper); border: var(--stroke); border-radius: 22px; box-shadow: var(--shadow-m); padding: 0 22px; transition: box-shadow .2s ease, transform .2s ease; }
details:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
details[open] { background: var(--blue-ice); }
summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; font-weight: 800; font-size: 18px; line-height: 1.35; cursor: pointer; list-style: none;
}
summary::-webkit-details-marker { display: none; }
.faq-plus {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--pink-pale);
  border: var(--stroke-thin); display: flex; align-items: center; justify-content: center;
  transition: transform .25s var(--ease-pop), background .2s ease;
}
details[open] .faq-plus { transform: rotate(45deg); background: var(--pink); }
details p { margin: 0 0 20px; font-size: 16.5px; line-height: 1.6; color: var(--muted); animation: rise .4s ease both; }

/* ==========================================================================
   Appel à la démo
   ========================================================================== */

.cta {
  position: relative; overflow: hidden; background: var(--pink);
  padding: 190px 0 var(--section-pad);
}
.seed { position: absolute; pointer-events: none; animation: seed-drift 7s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes seed-drift { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 12deg)); } }

.cta__card {
  position: relative; max-width: 780px; margin: 0 auto; background: var(--paper); border: var(--stroke);
  border-radius: 36px; box-shadow: var(--shadow-xxl);
  padding: clamp(48px, 6vw, 64px) clamp(24px, 5vw, 56px) clamp(32px, 5vw, 48px);
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.cta__bot { position: absolute; left: 50%; top: -150px; width: 220px; transform: translateX(-50%); }
.cta__bot .bot { width: 100%; height: auto; }
.cta__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; }
.cta__lead { max-width: 560px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 6px; }
.cta__checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; font-weight: 800; font-size: 15px; margin-top: 8px; }
.cta__checks li { display: inline-flex; align-items: center; gap: 8px; }

/* ==========================================================================
   Pied de page
   ========================================================================== */

.stripe { height: 14px; background: #F5FCEB; }
.stripe--green { height: 18px; background: var(--green); }

.footer {
  background-color: var(--green-deep);
  background-image: repeating-linear-gradient(98deg, rgba(0, 0, 0, .07) 0 22px, rgba(0, 0, 0, 0) 22px 58px);
  color: var(--paper); padding: 64px 0 28px; display: flex; flex-direction: column; gap: 48px;
}
.footer a { color: #E9F7EC; text-decoration: none; }
.footer a:hover { color: var(--paper); text-decoration: underline; }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 56px; }
.footer__brand { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer__brand p { max-width: 320px; font-size: 16px; color: #E9F7EC; }
.footer__logo { display: inline-flex; align-items: center; gap: 6px; background: var(--paper); padding: 8px 14px 8px 8px; border-radius: 999px; border: var(--stroke); }
.footer__logo .bot { width: 36px; height: auto; }
.footer__logo img { height: 20px; width: auto; }
.footer__social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__social a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border: 2px solid rgba(255, 255, 255, .6); border-radius: 999px; font-weight: 800; font-size: 14px;
  transition: background .2s ease, transform .15s ease;
}
.footer__social a:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); text-decoration: none; }
.footer__nav { flex: 0 1 190px; display: flex; flex-direction: column; gap: 10px; }
.footer__nav h3 { font-family: var(--font-display); font-weight: 800; font-size: 19px; margin-bottom: 4px; }
.footer__nav a { font-size: 15px; font-weight: 600; line-height: 1.6; }
.footer__news { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__news label { font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.footer__news p { font-size: 15px; color: #E9F7EC; }
.footer__form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.footer__form input {
  flex: 1 1 180px; min-width: 0; min-height: 48px; padding: 0 16px; background: var(--paper); color: var(--ink);
  border: var(--stroke); border-radius: 999px; font-family: inherit; font-size: 15px;
}
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  padding-top: 22px; border-top: 2px solid rgba(255, 255, 255, .28); font-size: 14px; color: #E9F7EC;
}
.footer__bottom div { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__bottom a { display: inline-flex; align-items: center; min-height: 32px; }

/* ==========================================================================
   Mouvement réduit
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .reveal, .hero-in { opacity: 1; transform: none; }
  .bars i { transform: none; }
  .feed li { opacity: 1; }
  .marquee__track { animation: none; }
  .strikes li span::after { transform: scaleX(1); }
}
