/* ==========================================================================
   TechImpact — feuille de style commune
   Mobile d'abord : les règles de base visent le petit écran,
   les media queries min-width élargissent ensuite.
   ========================================================================== */

/* ---------- Police : Inter auto-hébergée (variable 400–700, sous-ensemble latin) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Repli calé sur les métriques d'Inter : évite le saut de mise en page au chargement */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107.12%;
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --accent:      #1649A2;
  --accent-2:    #4D8FD4;
  --accent-soft: rgba(22, 73, 162, .08);
  --accent-ring: rgba(22, 73, 162, .18);

  /* Orange HubSpot : touches chaudes, décoratives (jamais pour du petit texte) */
  --warm:      #FF7A59;
  --warm-2:    #FFB199;
  --warm-deep: #E8572F;
  --warm-soft: rgba(255, 122, 89, .10);
  --warm-ink:  #B23F1C; /* orange foncé lisible sur blanc (contraste AA) */

  --bg:      #FFFFFF;
  --bg-2:    #F7F8FB;
  --bg-3:    #EEF2F8;
  --ink:     #0B1220;
  --ink-2:   #2B3444;
  --muted:   #5B6474;
  --line:    rgba(11, 18, 32, .08);
  --line-2:  rgba(11, 18, 32, .14);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --shadow-sm: 0 1px 2px rgba(11,18,32,.04), 0 2px 8px rgba(11,18,32,.04);
  --shadow-md: 0 2px 4px rgba(11,18,32,.04), 0 12px 32px rgba(11,18,32,.07);
  --shadow-lg: 0 4px 8px rgba(11,18,32,.04), 0 24px 64px rgba(11,18,32,.10);

  --ease:     cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.45, 0, .25, 1); /* survols : démarrage et arrivée progressifs */
  --dur:      .55s;
  --dur-fast: .3s;

  --gutter: 20px;
  --maxw:   1180px;
  --nav-h:  72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 500; transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.035em; line-height: 1.05; color: var(--ink); }
.display {
  font-size: clamp(2.8rem, 9.5vw, 6rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.h2 { font-size: clamp(2.1rem, 6.5vw, 4rem); letter-spacing: -.045em; line-height: 1.02; }
.h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); letter-spacing: -.02em; line-height: 1.2; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); line-height: 1.55; color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: clamp(1.375rem, 3.6vw, 2.25rem); font-weight: 600; letter-spacing: -.02em;
  color: var(--accent);
}

/* Titres en dégradé : au survol, le dégradé glisse doucement vers du bleu / argenté
   (aucun reflet qui traverse). --gx est animée via @property : sans @property le titre
   garde simplement son dégradé. Le dégradé fait 3 fois la largeur du texte :
   au repos on en voit le premier tiers, au survol le dernier (sans orange). */
@property --gx { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.text-grad, .text-grad-warm, .text-grad-night {
  background-repeat: no-repeat;
  background-size: 300% 100%;
  background-position: var(--gx) 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--accent);
  transition: --gx 1.5s var(--ease-soft);
}
.text-grad       { background-image: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 33%, #8A9BC0 50%, var(--accent-2) 67%, var(--accent) 100%); }
.text-grad-warm  { background-image: linear-gradient(100deg, var(--accent) 0%, #5B6FD0 16%, var(--warm-deep) 33%, #7C93C8 52%, var(--accent-2) 70%, var(--accent) 100%); }
.text-grad-night { background-image: linear-gradient(100deg, #9CC3F0 0%, #CDB9D8 16%, #FFB199 33%, #D5DAE6 50%, #9CC3F0 67%, #E3E9F4 100%); }
@media (hover: hover) {
  :is(h1, h2):hover :is(.text-grad, .text-grad-warm, .text-grad-night),
  :is(.text-grad, .text-grad-warm, .text-grad-night):hover { --gx: 85%; }
}
.text-muted { color: var(--muted); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 820px; }
.section { padding-block: clamp(80px, 14vw, 160px); }
.section-tight { padding-block: clamp(56px, 9vw, 96px); }
.section-alt { background: var(--bg-2); }
.center { text-align: center; }
.stack > * + * { margin-top: var(--stack, 20px); }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: .9375rem; font-weight: 500; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn svg { transition: transform var(--dur-fast) var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }

/* Boutons : au survol, le fond passe en douceur du bleu à un gris argenté et le texte devient bleu.
   Pas de reflet qui traverse. Contraste : texte bleu #1649A2 sur gris clair ≥ 4,5. */
.btn-primary {
  --btn-bg: var(--accent);
  background-image: linear-gradient(110deg, #1649A2 0%, #1649A2 40%, #E4E9F1 70%, #C4CCDA 100%);
  background-size: 230% 100%; background-position: 0% 0; background-repeat: no-repeat;
  box-shadow: 0 1px 2px rgba(22,73,162,.2), 0 8px 24px -8px rgba(22,73,162,.55);
  /* le texte reste blanc la première moitié du fondu (fond encore bleu), puis passe au bleu */
  transition: transform var(--dur-fast) var(--ease), box-shadow .9s var(--ease-soft),
              background-position 1.2s var(--ease-soft), color .45s linear .45s;
}
.btn-primary:hover { background-position: 100% 0; color: var(--accent); box-shadow: 0 12px 30px -12px rgba(11,18,32,.3); }
.btn-secondary {
  --btn-bg: rgba(255,255,255,.7); --btn-fg: var(--ink);
  border: 1px solid var(--line-2); backdrop-filter: blur(8px);
  background-image: linear-gradient(110deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 40%, #E9EDF3 80%, #D3D9E4 100%);
  background-size: 230% 100%; background-position: 0% 0; background-repeat: no-repeat;
  transition: transform var(--dur-fast) var(--ease), box-shadow .9s var(--ease-soft),
              background-position 1.2s var(--ease-soft), border-color .9s var(--ease-soft), color .9s var(--ease-soft);
}
.btn-secondary:hover { border-color: rgba(22,73,162,.3); color: var(--accent); background-position: 100% 0; box-shadow: 0 10px 28px -12px rgba(11,18,32,.25); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .875rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-weight: 500; text-decoration: none;
}
.link-arrow svg { transition: transform var(--dur-fast) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.86); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 40px; width: auto; }

.nav-links { display: none; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: .9rem; font-weight: 450; color: var(--ink-2); text-decoration: none;
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.nav-links a:hover { background: var(--bg-3); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.nav-cta { display: none; }

.nav-toggle {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  margin-right: -8px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 1.6px; background: var(--ink); border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile plein écran */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility 0s linear var(--dur-fast);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu a:not(.btn) {
  font-size: 1.75rem; font-weight: 600; letter-spacing: -.03em;
  text-decoration: none; color: var(--ink); padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a[aria-current="page"] { color: var(--accent); }
.mobile-menu .btn { margin-top: 28px; width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(56px, 12vw, 120px));
  padding-bottom: clamp(64px, 10vw, 120px);
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before, .hero-bg::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(70px);
}
.hero-bg::before {
  width: 70vw; height: 70vw; max-width: 760px; max-height: 760px;
  top: -18%; left: 50%; transform: translateX(-70%);
  background: radial-gradient(circle, rgba(77,143,212,.30), transparent 65%);
}
.hero-bg::after {
  width: 60vw; height: 60vw; max-width: 640px; max-height: 640px;
  top: -2%; left: 50%; transform: translateX(-5%);
  background: radial-gradient(circle, rgba(255,122,89,.20), rgba(255,177,153,.08) 40%, transparent 65%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: .6;
}

.hero h1 { margin: 0 auto; max-width: 14ch; }
/* Groupe de mots courts à garder sur une ligne (ajouter .nw au span) */
.nw { white-space: nowrap; }
@media (max-width: 519px) { .nw { white-space: normal; } }
/* Titre du hero : « à votre image. » reste d'un bloc dès 375 px */
@media (min-width: 375px) { .hero h1 .nw { white-space: nowrap; } }
.hero .lead { margin: 24px auto 0; max-width: 34rem; }
.hero-ctas { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-ctas .btn { width: 100%; max-width: 320px; }
.hero-meta {
  margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px;
  font-size: .875rem; color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { color: var(--accent); }

/* Hero des pages internes : plus compact */
.hero-page { padding-bottom: clamp(48px, 8vw, 88px); }
.hero-page h1 { max-width: 16ch; }

/* Hero de l'accueil : texte à gauche, captures HubSpot à droite */
.hero-split { text-align: left; padding-bottom: clamp(72px, 10vw, 128px); }
/* Conteneur élargi : le texte part plus à gauche qu'ailleurs sur le site */
.hero-split-inner {
  display: grid; gap: clamp(48px, 8vw, 72px); align-items: center;
  max-width: 1440px; padding-inline: clamp(20px, 4.5vw, 72px);
}
.hero-split h1 { margin-left: 0; max-width: 12ch; font-size: clamp(3rem, 10.5vw, 5.5rem); }
.hero-split .lead { margin-left: 0; }
.hero-split .hero-ctas { justify-content: flex-start; align-items: stretch; flex-wrap: wrap; }
.hero-split .hero-meta { justify-content: flex-start; }

/* Composition du hero : captures HubSpot + badge partenaire */
.hero-shots { position: relative; padding-bottom: 22%; animation: rise .9s var(--ease) .35s both; }
.shot {
  margin: 0; overflow: hidden;
  border-radius: 14px; background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgba(11,18,32,.05), 0 30px 70px -20px rgba(22,73,162,.30);
}
.shot-img { display: block; width: 100%; height: auto; }
.shot-main { position: relative; z-index: 1; }
/* Transformations pilotées par variables (animées par Motion, voir hero-motion.js) :
   --ty décalage vertical en px, --sc échelle, --tk inclinaison (1 = penché, 0 = à plat) */
.hero-shots { --tk: 1; }
.shot-main, .shot-sub, .shot-badge {
  --ty: 0; --sc: 1;
  transform: translateY(calc(var(--ty) * 1px)) scale(var(--sc));
}
.shot-sub {
  position: absolute; z-index: 2; width: 68%; left: 0; bottom: 0;
  box-shadow: 0 2px 6px rgba(11,18,32,.06), 0 24px 60px -16px rgba(255,122,89,.40);
}
.shot-badge {
  position: absolute; z-index: 3; width: 44%; right: 0; bottom: 6%;
  padding: 14px 18px; border-radius: 16px;
  background: rgba(255,255,255,.92); border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 6px rgba(11,18,32,.06), 0 24px 50px -16px rgba(11,18,32,.30);
}
.shot-badge img { display: block; width: 100%; height: auto; }

/* Badge partenaire HubSpot dans le pied de page */
.partner-badge { width: auto; }
.footer-brand .partner-badge { margin-top: 20px; height: 40px; }

/* ---------- En-tête de section ---------- */
.section-head { max-width: 1120px; }
.section-head.center { margin-inline: auto; }
.section-head .h2 { margin-top: 14px; }
.section-head .lead { margin-top: 20px; font-size: clamp(.98rem, 2vw, 1.125rem); }
.section-head.center .lead { margin-inline: auto; max-width: 36rem; }


/* ---------- Méthode ---------- */
.steps-foot { margin-top: 40px; text-align: center; }

/* Méthode détaillée (page méthode) : étapes en lignes alternées */
.phases { list-style: none; display: grid; gap: clamp(72px, 12vw, 140px); }
.phase { display: grid; gap: 28px; align-items: center; }
.phase-index {
  font-size: clamp(5rem, 18vw, 10rem); font-weight: 700; letter-spacing: -.06em; line-height: .85;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(77,143,212,.25) 50%, #9FB0CD 100%);
  background-size: 100% 220%; background-position: 0 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transition: background-position 1s var(--ease), transform .8s var(--ease);
}
.phase:hover .phase-index { background-position: 0 100%; transform: scale(1.04); }
.phase h2 { font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -.045em; }
.phase .lead { margin-top: 16px; }
.phase ul { list-style: none; margin-top: 24px; display: grid; gap: 10px; }
.phase li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.phase li svg { flex-shrink: 0; margin-top: 5px; color: var(--accent); }

/* ---------- Chiffres clés ---------- */
.stats { margin-top: clamp(48px, 8vw, 88px); display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.stat {
  position: relative; background: var(--bg); padding: clamp(28px, 6vw, 56px) clamp(12px, 3vw, 28px); text-align: center;
  transition: background-color .5s var(--ease);
}
.stat:hover { background: #FBFCFF; }
.stat-num {
  font-size: clamp(3.2rem, 12vw, 7rem); font-weight: 700; letter-spacing: -.06em; line-height: 1;
  background: linear-gradient(180deg, var(--ink) 0%, var(--accent) 55%, #9FB0CD 130%);
  background-size: 100% 200%; background-position: 0 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transition: background-position .9s var(--ease), transform .7s var(--ease);
}
.stat:hover .stat-num { background-position: 0 100%; transform: scale(1.06); }
.stat-num small { font-size: .45em; letter-spacing: -.03em; }
.stat-label { margin-top: 14px; color: var(--muted); font-size: .9375rem; }
.stats-source { margin-top: 20px; color: var(--muted); font-size: .8125rem; text-align: center; }
.stats-source a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
.faq { margin-top: clamp(40px, 7vw, 64px); border-top: 1px solid var(--line); }
.faq details { position: relative; border-bottom: 1px solid var(--line); }
.faq details::before {
  content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px;
  background: linear-gradient(var(--accent), var(--accent-2));
  transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease);
}
.faq details:hover::before, .faq details[open]::before { transform: scaleY(1); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-size: clamp(1.15rem, 2.6vw, 1.4rem); font-weight: 500; letter-spacing: -.02em;
  transition: color var(--dur-fast) var(--ease), padding-left .5s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); padding-left: 18px; }
.faq details[open] summary { padding-left: 18px; }
.faq-icon {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg-3); color: var(--ink-2);
  transition: transform var(--dur) var(--ease), background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.faq details[open] .faq-icon { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-body { padding: 0 48px 28px 18px; color: var(--muted); font-size: 1.0625rem; }
.faq-body p + p { margin-top: 12px; }

/* ---------- CTA final ---------- */
.cta-final { padding-block: clamp(40px, 8vw, 96px) clamp(80px, 12vw, 140px); }
.cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); padding: clamp(56px, 10vw, 112px) clamp(24px, 6vw, 80px);
  background: linear-gradient(135deg, #0E2F6B 0%, var(--accent) 55%, #3C7CC7 100%);
  color: #fff; text-align: center;
}
.cta-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.18), transparent 40%),
    radial-gradient(40% 60% at 100% 100%, rgba(255,140,105,.95), rgba(255,122,89,.45) 45%, transparent 75%);
}
.cta-card h2 { color: #fff; max-width: 16ch; margin-inline: auto; }
@media (max-width: 400px) { .cta-card h2 { font-size: 2.3rem; } }
.cta-card p { margin: 20px auto 0; max-width: 32rem; color: rgba(255,255,255,.78); font-size: clamp(1rem, 2.2vw, 1.15rem); }
.cta-card .hero-ctas { margin-top: 36px; }
.btn-light {
  --btn-bg: #fff; --btn-fg: var(--accent);
  background-image: linear-gradient(110deg, #fff 0%, #fff 40%, #E6EBF2 75%, #C9D1DE 100%);
  background-size: 230% 100%; background-position: 0% 0; background-repeat: no-repeat;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.35);
  transition: transform var(--dur-fast) var(--ease), box-shadow .9s var(--ease-soft),
              background-position 1.2s var(--ease-soft), color .6s var(--ease-soft);
}
.btn-light:hover { background-position: 100% 0; color: var(--accent); box-shadow: 0 14px 36px -10px rgba(0,0,0,.4); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Intégrations ---------- */
.integ-grid { margin-top: clamp(40px, 7vw, 64px); display: grid; gap: 14px; }
.integ {
  display: flex; align-items: center; gap: 16px; padding: 20px;
  border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.integ:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-ring); }
.integ-logo {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; padding: 8px;
  background: #fff; border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--accent); font-size: 1.4rem;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.integ:hover .integ-logo { transform: scale(1.12) rotate(-6deg); box-shadow: 0 10px 24px -8px rgba(22,73,162,.35); }
.integ-logo img { width: 100%; height: 100%; object-fit: contain; }
.integ h3 { font-size: 1rem; letter-spacing: -.01em; }
.integ p { font-size: .875rem; color: var(--muted); margin-top: 2px; line-height: 1.45; }

/* ---------- Contact : zones + suite ---------- */
.contact-grid { display: grid; gap: 24px; }
.aside-card { padding: 28px; border-radius: var(--r-md); background: var(--bg-2); border: 1px solid var(--line); }
.aside-card h2 { font-size: 1.125rem; letter-spacing: -.02em; }
.next-steps { list-style: none; margin-top: 20px; display: grid; gap: 18px; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; counter-increment: ns; font-size: .9375rem; color: var(--muted); }
.next-steps li::before {
  content: counter(ns); width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line);
  font-weight: 600; font-size: .8125rem; color: var(--accent);
}
.next-steps strong { display: block; color: var(--ink); font-weight: 600; }
.zones { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.zones li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; font-size: .9375rem; }
.zones li span:last-child { color: var(--muted); font-size: .8125rem; }

/* ---------- Offres : cartes (Stripe) ---------- */
.plans { display: grid; gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 28px; border-radius: var(--r-lg);
  background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.plan-featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(160deg, var(--accent-2), var(--accent) 40%, rgba(255,122,89,.55)) border-box;
  box-shadow: 0 2px 4px rgba(22,73,162,.06), 0 24px 56px -12px rgba(22,73,162,.28);
}
.plan-featured:hover { border-color: transparent; box-shadow: 0 2px 4px rgba(22,73,162,.08), 0 32px 72px -12px rgba(22,73,162,.36); }
.plan-featured::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 60% at 50% 0%, rgba(77,143,212,.10), transparent 60%);
}
.plan-badge {
  position: absolute; top: -13px; left: 28px;
  padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(100deg, var(--accent) 55%, #3D4FA8); color: #fff; font-size: .75rem; font-weight: 600;
  box-shadow: 0 6px 16px -4px rgba(22,73,162,.5);
}
.plan-name { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.plan-for { margin-top: 6px; color: var(--muted); font-size: .9375rem; min-height: 3em; }
.plan-price { margin-top: 24px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price strong { font-size: 2.5rem; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.plan-from { flex-basis: 100%; font-size: .8125rem; font-weight: 500; color: var(--muted); margin-bottom: -2px; }
.plan-price span { color: var(--muted); font-size: .9375rem; }
.plan-meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .875rem; color: var(--ink-2); }
.plan-meta svg { color: var(--accent); }
.plan .btn { margin-top: 28px; width: 100%; }
.plan-list { list-style: none; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan-list-title { font-size: .8125rem; font-weight: 600; color: var(--ink); }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--ink-2); line-height: 1.45; }
.plan-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); transition: transform .5s var(--ease), color .4s var(--ease); }
.plan:hover .plan-list li svg { transform: scale(1.35) rotate(-8deg); color: var(--accent-2); }
.plan:hover .plan-list li:nth-child(2) svg { transition-delay: .03s; }
.plan:hover .plan-list li:nth-child(3) svg { transition-delay: .06s; }
.plan:hover .plan-list li:nth-child(4) svg { transition-delay: .09s; }
.plan:hover .plan-list li:nth-child(5) svg { transition-delay: .12s; }
.plan:hover .plan-list li:nth-child(6) svg { transition-delay: .15s; }
.plan:hover .plan-list li:nth-child(7) svg { transition-delay: .18s; }
.plan-price strong { transition: transform .6s var(--ease), color .4s var(--ease); display: inline-block; }
.plan:hover .plan-price strong { transform: translateY(-3px); }
.plans-note { margin-top: 28px; text-align: center; font-size: .875rem; color: var(--muted); }

/* Bandeau accompagnement continu */
.addon {
  margin-top: 20px; display: grid; gap: 24px; align-items: center;
  padding: clamp(28px, 5vw, 44px); border-radius: var(--r-lg);
  background: linear-gradient(120deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--line);
}
.addon h3 { font-size: clamp(1.4rem, 3.4vw, 1.75rem); letter-spacing: -.03em; }
.addon > div > p { margin-top: 10px; color: var(--muted); max-width: 36rem; }
.addon ul { list-style: none; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.addon li { padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .8125rem; color: var(--ink-2); }
.addon-price { display: flex; flex-direction: column; gap: 14px; }
.addon-price .plan-price { margin-top: 0; color: var(--ink); }

/* ---------- Tableau comparatif ---------- */
.compare-wrap {
  margin-top: clamp(40px, 7vw, 64px); overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg);
}
.compare { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: .9375rem; }
.compare caption { text-align: left; padding: 0; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th[scope="row"] { text-align: left; font-weight: 450; color: var(--ink-2); }
.compare thead th { position: sticky; top: 0; background: var(--bg); padding-block: 24px 20px; vertical-align: bottom; }
.compare thead th span { display: block; font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.compare thead th small { display: block; margin-top: 4px; font-weight: 400; font-size: .8125rem; color: var(--muted); }
.compare .col-featured { background: rgba(22,73,162,.035); }
.compare thead .col-featured { background: linear-gradient(180deg, rgba(22,73,162,.08), rgba(22,73,162,.035)); }
.compare thead .col-featured span { color: var(--accent); }
.compare .group th {
  text-align: left; padding-top: 28px; padding-bottom: 10px;
  font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent);
  background: var(--bg);
}
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody tr:not(.group):hover > * { background: var(--bg-2); }
.compare tbody tr:not(.group):hover > .col-featured { background: rgba(22,73,162,.06); }
.compare th:first-child, .compare td:first-child { position: sticky; left: 0; background: var(--bg); z-index: 1; }
.compare .yes { color: var(--accent); display: inline-grid; }
.compare .no { color: var(--line-2); }
.compare-hint { margin-top: 12px; font-size: .8125rem; color: var(--muted); text-align: center; }
.compare thead th:not(:first-child), .compare thead td + th { width: 20%; }

/* Mobile : une formule à la fois via un sélecteur (activé par JS) */
.compare-tabs {
  margin: clamp(32px, 6vw, 48px) auto 0; max-width: 420px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  padding: 4px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line);
}
.compare-tabs button {
  min-height: 40px; border-radius: 999px; font-size: .875rem; font-weight: 500; color: var(--muted);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.compare-tabs button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: var(--shadow-sm); }
@media (max-width: 639px) {
  .is-tabbed .compare-wrap { margin-top: 16px; }
  .is-tabbed .compare { min-width: 0; }
  .is-tabbed .compare-hint { display: none; }
  .is-tabbed .compare th, .is-tabbed .compare td { padding-inline: 16px; }
  .is-tabbed .compare th[scope="row"] { width: 60%; }
  .compare[data-plan="1"] tr > :is(:nth-child(3), :nth-child(4)),
  .compare[data-plan="2"] tr > :is(:nth-child(2), :nth-child(4)),
  .compare[data-plan="3"] tr > :is(:nth-child(2), :nth-child(3)) { display: none; }
  .compare tr.group > th { display: table-cell !important; }
}
@media (min-width: 640px) { .compare-tabs { display: none; } }

/* Aperçu offres (accueil) */
.plans-mini { margin-top: clamp(40px, 7vw, 64px); display: grid; gap: 16px; }
.plans-mini .plan { padding: 28px; }
.plans-mini .plan-for { min-height: 0; }
.plans-mini .link-arrow { margin-top: auto; padding-top: 24px; }

/* ---------- Sections à dégradé chaud (bleu + orange HubSpot, très léger) ---------- */
.section-warm { position: relative; isolation: isolate; overflow: hidden; background: var(--bg-2); }
.section-warm::before {
  content: ''; position: absolute; inset: -14%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(255,122,89,.15), transparent 70%),
    radial-gradient(55% 45% at 0% 100%, rgba(77,143,212,.13), transparent 70%);
  animation: warm-drift 18s ease-in-out infinite alternate;
}
@keyframes warm-drift { to { transform: translate3d(4%, 5%, 0) scale(1.08) rotate(2deg); } }
.section-warm-top { position: relative; isolation: isolate; }
.section-warm-top::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 520px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 80% at 85% 0%, rgba(255,122,89,.10), transparent 70%),
    radial-gradient(40% 70% at 10% 0%, rgba(77,143,212,.09), transparent 70%);
}

/* ---------- « À votre image » : panneau capture + liste sans cadres ---------- */
.feature-kicker { font-size: .9375rem; font-weight: 600; color: var(--warm-ink); transition: letter-spacing .5s var(--ease); }
.feature-panel {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: clamp(48px, 8vw, 80px);
  display: grid; gap: 32px; align-items: center;
  padding: clamp(28px, 5vw, 56px) 0 0 clamp(28px, 5vw, 56px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(255,122,89,.20), transparent 65%),
    radial-gradient(70% 90% at 0% 100%, rgba(77,143,212,.18), transparent 65%),
    linear-gradient(160deg, #FFFFFF 0%, #F3F6FC 100%);
}
.feature-copy { padding-right: clamp(28px, 5vw, 56px); }
.feature-copy h3 { margin-top: 10px; font-size: clamp(2rem, 4.8vw, 3.5rem); letter-spacing: -.045em; line-height: 1.05; }
.feature-copy p:not(.feature-kicker) { margin-top: 14px; color: var(--muted); font-size: clamp(1rem, 2vw, 1.125rem); max-width: 30rem; }
/* La capture déborde à droite et en bas, légèrement inclinée.
   --ftk (1 = penchée, 0 = à plat) est piloté par le scroll (hero-motion.js) : la capture
   se met à plat quand le panneau est au centre de l'écran. */
.feature-shot { perspective: 1400px; margin-right: -18%; padding-block: 8px 0; }
.feature-shot img {
  display: block; width: 100%; height: auto;
  border-radius: 14px 0 0 0; border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgba(11,18,32,.06), 0 30px 70px -20px rgba(22,73,162,.35);
  transform: translateY(0) rotateY(calc(-17deg * var(--ftk, 1))) rotateX(calc(8deg * var(--ftk, 1))) rotateZ(calc(-1.5deg * var(--ftk, 1)));
  transform-origin: left bottom;
  transition: transform 1s var(--ease-soft), box-shadow 1s var(--ease-soft);
}
/* Survol : la capture se redresse, monte et prend de la profondeur */
.feature-panel:hover .feature-shot img {
  transform: translateY(-10px) rotateY(calc(-5deg * var(--ftk, 1))) rotateX(calc(2deg * var(--ftk, 1))) rotateZ(0deg) scale(1.04);
  box-shadow: 0 4px 10px rgba(11,18,32,.06), 0 50px 90px -24px rgba(22,73,162,.5);
}

.feature-list { margin-top: clamp(40px, 6vw, 64px); display: grid; gap: 36px 40px; }
.feature-item { position: relative; padding-top: 24px; border-top: 1px solid var(--line-2); transition: transform .6s var(--ease); }
.feature-item::before {
  content: ''; position: absolute; left: 0; top: -1px; height: 3px; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2) 60%, #B8C4DA);
  transition: width .8s var(--ease);
}
.feature-item:hover { transform: translateY(-5px); }
.feature-item:hover::before { width: 100%; }
.feature-item:hover .feature-kicker { letter-spacing: .05em; }
.feature-item h3 { margin-top: 8px; font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.15; transition: color .4s var(--ease); }
.feature-item:hover h3 { color: var(--accent); }
.feature-item p:not(.feature-kicker) { margin-top: 10px; color: var(--muted); font-size: 1rem; }

/* Puces / étiquettes de démonstration dans les tuiles */
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 10px; font-size: .8125rem; font-weight: 500;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.chip-accent { border-color: rgba(22,73,162,.25); color: var(--accent); background: #F4F7FD; }
.chip-warm { border-color: rgba(255,122,89,.35); color: var(--warm-ink); background: #FFF6F2; }
.chip-arrow { color: var(--muted); font-size: .8rem; }
.field-mock { display: grid; gap: 8px; }
.field-mock div {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .8125rem;
}
.field-mock div { transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease); }
.field-mock div:hover { transform: translateX(8px); box-shadow: var(--shadow-md); border-color: rgba(22,73,162,.3); }
.chip { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.chip:hover { transform: translateY(-4px) rotate(-2deg); box-shadow: var(--shadow-md); }
.field-mock span { color: var(--muted); }
.field-mock b { font-weight: 500; color: var(--ink); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 88px; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--accent-2), var(--accent)); opacity: .85;
  transform-origin: bottom; transition: transform .5s var(--ease), opacity .3s var(--ease); }
.bars i:hover { transform: scaleY(1.12); opacity: 1; }
.bars i:nth-child(3n) { background: linear-gradient(180deg, var(--warm-2), var(--warm)); }

/* ---------- Onglets (Stripe / Framer) ---------- */
.tabs { margin-top: clamp(40px, 7vw, 64px); }
.tabs-list {
  position: relative; display: flex; gap: 4px; padding: 6px;
  margin-inline: auto; width: max-content; max-width: 100%;
  overflow-x: auto; scrollbar-width: none;
  border-radius: 999px; background: rgba(255,255,255,.7);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}
.tabs-list::-webkit-scrollbar { display: none; }
@media (max-width: 639px) {
  .tabs-list {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
  }
}
.tab {
  position: relative; z-index: 1; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  font-size: .9375rem; font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: color var(--dur-fast) var(--ease);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab-num {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px;
  font-size: .7rem; font-weight: 600; background: var(--bg-3); color: var(--muted);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform .5s var(--ease);
}
.tab:hover .tab-num { transform: rotate(-10deg) scale(1.2); background: var(--accent-soft); color: var(--accent); }
.tab[aria-selected="true"]:hover .tab-num { background: var(--accent); color: #fff; }
.tab[aria-selected="true"] .tab-num { background: var(--accent); color: #fff; }
/* Pastille qui glisse sous l'onglet actif */
.tabs-pill {
  position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0;
  border-radius: 999px; background: #fff;
  box-shadow: 0 1px 2px rgba(11,18,32,.06), 0 6px 16px rgba(11,18,32,.08);
  transition: transform .5s var(--ease), width .5s var(--ease);
  overflow: hidden;
}
/* Barre de progression de l'avance automatique */
.tabs-pill::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--warm));
  transform-origin: left; transform: scaleX(var(--progress, 0));
  opacity: var(--progress-on, 0);
}
.tab-panels { margin-top: clamp(24px, 5vw, 40px); }
.tab-panel {
  display: grid; gap: clamp(12px, 3vw, 40px); align-items: center;
  padding: clamp(24px, 5vw, 48px); border-radius: var(--r-xl);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
/* Gros chiffre d'étape (comme sur la page Méthode) */
.tab-big {
  font-size: clamp(5rem, 22vw, 11rem); font-weight: 700; letter-spacing: -.06em; line-height: .85;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(77,143,212,.25) 55%, #9FB0CD 100%);
  background-size: 100% 220%; background-position: 0 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transition: background-position 1s var(--ease), transform .8s var(--ease);
}
.tab-panel:hover .tab-big { background-position: 0 100%; transform: scale(1.04); }
.tab-step { font-size: .9375rem; font-weight: 600; color: var(--warm-ink); margin-bottom: 10px; }
@media (min-width: 900px) { .tab-big { min-width: 1.7ch; margin-right: 8px; } }
.tab-panel[hidden] { display: none !important; }
.tab-panel.is-entering { animation: panel-in .55s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tab-panel h3 { font-size: clamp(1.9rem, 4.6vw, 3rem); letter-spacing: -.045em; line-height: 1.06; }
.tab-panel .lead { margin-top: 14px; font-size: clamp(1rem, 2vw, 1.125rem); }
.tab-panel ul { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.tab-panel li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .9375rem; transition: transform .5s var(--ease), color .3s var(--ease); }
.tab-panel li:hover { transform: translateX(8px); color: var(--ink); }
.tab-panel li svg { flex-shrink: 0; margin-top: 4px; color: var(--accent); transition: transform .5s var(--ease), color .3s var(--ease); }
.tab-panel li:hover svg { transform: scale(1.4) rotate(-10deg); color: var(--accent-2); }

/* Entrée d'un onglet : le texte puis le visuel apparaissent en cascade */
.tab-panel.is-entering .tab-body > * { animation: rise .65s var(--ease) backwards; }
.tab-panel.is-entering .tab-body > :nth-child(2) { animation-delay: .07s; }
.tab-panel.is-entering .tab-body > :nth-child(3) { animation-delay: .14s; }
.tab-panel.is-entering .tab-body > :nth-child(4) { animation-delay: .22s; }
.tab-panel.is-entering li { animation: rise .6s var(--ease) backwards; }
.tab-panel.is-entering li:nth-child(1) { animation-delay: .22s; }
.tab-panel.is-entering li:nth-child(2) { animation-delay: .3s; }
.tab-panel.is-entering li:nth-child(3) { animation-delay: .38s; }
.tab-panel.is-entering .mock { animation: mock-in .8s var(--ease) .12s backwards; }
@keyframes mock-in { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.tab-panel.is-entering .flow > *, .tab-panel.is-entering .field-mock > *, .tab-panel.is-entering .chips > *,
.tab-panel.is-entering .progress-mock > * { animation: rise .55s var(--ease) backwards; }
.tab-panel.is-entering :is(.flow, .field-mock, .chips, .progress-mock) > :nth-child(1) { animation-delay: .3s; }
.tab-panel.is-entering :is(.flow, .field-mock, .chips, .progress-mock) > :nth-child(2) { animation-delay: .38s; }
.tab-panel.is-entering :is(.flow, .field-mock, .chips, .progress-mock) > :nth-child(3) { animation-delay: .46s; }
.tab-panel.is-entering :is(.flow, .field-mock, .chips, .progress-mock) > :nth-child(4) { animation-delay: .54s; }
.tab-panel.is-entering :is(.flow, .field-mock, .chips, .progress-mock) > :nth-child(5) { animation-delay: .62s; }
.tab-panel.is-entering :is(.flow, .field-mock, .chips, .progress-mock) > :nth-child(n+6) { animation-delay: .7s; }
.tab-panel.is-entering .bars i { transform-origin: bottom; animation: grow-y .9s var(--ease) backwards; }
.tab-panel.is-entering .bars i:nth-child(1) { animation-delay: .3s; }
.tab-panel.is-entering .bars i:nth-child(2) { animation-delay: .36s; }
.tab-panel.is-entering .bars i:nth-child(3) { animation-delay: .42s; }
.tab-panel.is-entering .bars i:nth-child(4) { animation-delay: .48s; }
.tab-panel.is-entering .bars i:nth-child(5) { animation-delay: .54s; }
.tab-panel.is-entering .bars i:nth-child(6) { animation-delay: .6s; }
.tab-panel.is-entering .bars i:nth-child(7) { animation-delay: .66s; }
.tab-panel.is-entering .bars i:nth-child(8) { animation-delay: .72s; }
@keyframes grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.tab-panel.is-entering .progress-mock i::after { animation: fill 1.1s var(--ease) .5s backwards; }
@keyframes fill { from { width: 0; } }
.tab-deliv {
  margin-top: 24px; display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding: 10px 14px; border-radius: 12px; background: #FFF6F2; border: 1px solid rgba(255,122,89,.25);
  font-size: .875rem; color: var(--ink-2);
}
.tab-deliv strong { color: var(--warm-ink); font-weight: 600; }

/* Visuels des panneaux */
.mock {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); padding: clamp(20px, 4vw, 32px); min-height: 280px;
  background: linear-gradient(150deg, #F4F7FD 0%, #FBF7F5 100%);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
}
.mock::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(255,122,89,.16), transparent 70%),
    radial-gradient(60% 60% at 0% 100%, rgba(77,143,212,.16), transparent 70%);
}
.mock-label { font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.flow { display: grid; gap: 10px; }
.flow-node {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .875rem; font-weight: 500; color: var(--ink);
}
.flow-node { transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease); }
.flow-node:hover { transform: translateX(8px); box-shadow: var(--shadow-md); border-color: rgba(22,73,162,.3); }
.flow-node:hover .flow-ico { transform: rotate(-12deg) scale(1.15); }
.flow-ico { transition: transform .5s var(--ease); }
.flow-node small { display: block; font-weight: 400; color: var(--muted); font-size: .75rem; }
.flow-ico { flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.flow-ico.warm { background: var(--warm-soft); color: var(--warm-deep); }
.flow-link { width: 2px; height: 14px; margin-left: 29px; border-radius: 2px; background: linear-gradient(var(--accent-2), var(--warm-2)); }
.progress-mock { display: grid; gap: 14px; }
.progress-mock div { display: grid; gap: 6px; font-size: .8125rem; color: var(--ink-2); }
.progress-mock i { display: block; height: 8px; border-radius: 99px; background: var(--bg-3); overflow: hidden; }
.progress-mock i::after { content: ''; display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--warm)); }

/* ---------- Carte formulaire ---------- */
.form-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(20px, 5vw, 44px); box-shadow: var(--shadow-md);
  min-height: 420px;
}
.form-loading {
  display: grid; place-items: center; min-height: 360px; border-radius: var(--r-md);
  color: var(--muted); font-size: .9375rem;
  background: linear-gradient(100deg, var(--bg-2) 30%, var(--bg-3) 50%, var(--bg-2) 70%) 0 0 / 200% 100%;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 56px 32px; background: var(--bg); }
.footer-top { display: grid; gap: 40px; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin-top: 16px; color: var(--muted); font-size: .9375rem; max-width: 28ch; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.footer h2 { font-size: .8125rem; font-weight: 600; letter-spacing: 0; color: var(--ink); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: .9375rem; }
.footer ul a { color: var(--muted); text-decoration: none; font-size: .9375rem; transition: color var(--dur-fast) var(--ease); }
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: .8125rem; color: var(--muted);
}

/* ---------- Animation d'entrée du hero (CSS, sans JS) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-anim > * { animation: rise .7s var(--ease) both; }
.hero-anim > *:nth-child(2) { animation-delay: .08s; }
.hero-anim > *:nth-child(3) { animation-delay: .16s; }
.hero-anim > *:nth-child(4) { animation-delay: .24s; }
.hero-anim > *:nth-child(5) { animation-delay: .32s; }
.hero-anim > *:nth-child(6) { animation-delay: .45s; }

/* ---------- Animations pilotées par JS (voir main.js) ---------- */
.faq-body { overflow: hidden; }

/* Captures du hero : état initial avant l'entrée en ressort (classe posée dans <head>) */
.motion-hero .hero-shots { animation: none; }
.motion-hero .shot-main { --ty: 40; --sc: .97; }
.motion-hero .shot-sub { --ty: 60; opacity: 0; }
.motion-hero .shot-badge { --ty: 50; --sc: .92; opacity: 0; }

/* Halos du hero : dérive très lente */
.hero-bg::before { animation: drift-a 22s ease-in-out infinite alternate; }
.hero-bg::after  { animation: drift-b 26s ease-in-out infinite alternate; }
@keyframes drift-a { to { translate: 6% 8%; } }
@keyframes drift-b { to { translate: -8% 4%; } }

/* Reflet lumineux sous la souris */
.glow::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(77,143,212,.10), transparent 60%);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.glow:hover::after { opacity: 1; }
.integ, .glow { position: relative; }

.stat, .btn, .hero-split h1, .feature-item { position: relative; }

/* Halos animés des sections sombres */
/* (propriétés translate/scale individuelles : elles se combinent avec le transform existant) */

/* Contact et pied de page */
.zones li { transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease); }
.zones li:hover { transform: translateX(8px); box-shadow: var(--shadow-md); border-color: rgba(22,73,162,.3); }
.next-steps li::before { transition: transform .5s var(--ease), background-color .4s var(--ease), color .4s var(--ease); }
.next-steps li:hover::before { transform: rotate(-10deg) scale(1.2); background: var(--accent); color: #fff; }
.aside-card { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.aside-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.footer ul a {
  background: linear-gradient(90deg, var(--accent), var(--accent-2)) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 2px; transition: color var(--dur-fast) var(--ease), background-size .5s var(--ease);
}
.footer ul a:hover { background-size: 100% 1.5px; }
.nav-links a { transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), transform .4s var(--ease); }
.nav-links a:hover { transform: translateY(-2px); }

/* Liens fléchés : soulignement qui se dessine */
.link-arrow { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--dur) var(--ease); padding-bottom: 2px; }
.link-arrow:hover { background-size: calc(100% - 22px) 1px; }

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .hero-ctas { flex-direction: row; justify-content: center; }
  .hero-ctas .btn { width: auto; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .integ-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  :root { --gutter: 40px; --nav-h: 84px; }
  .nav-links { display: flex; gap: 4px; }
  .nav-cta { display: inline-flex; }
  .nav-toggle, .mobile-menu { display: none; }
  .nav-logo img { height: 50px; }
  .hero-split-inner { grid-template-columns: 1.15fr 1fr; gap: 48px; }
  .hero-split h1 { font-size: clamp(3.4rem, 6.6vw, 6.25rem); }
  /* Composition plus grande : déborde vers la droite de l'écran.
     --hx / --hy (-1…1) : position de la souris, pour un léger effet de profondeur (hero-motion.js) */
  .hero-shots { perspective: 1600px; margin-right: -16%; padding-bottom: 24%; }
  .shot-main {
    transform: translate3d(calc(var(--hx, 0) * 8px), calc(var(--hy, 0) * 5px + var(--ty) * 1px), 0) scale(var(--sc))
               rotateY(calc(-9deg * var(--tk) + var(--hx, 0) * 2deg)) rotateX(calc(3deg * var(--tk) - var(--hy, 0) * 1.5deg));
    transform-origin: left center;
  }
  .shot-sub {
    width: 66%; left: -10%;
    transform: translate3d(calc(var(--hx, 0) * 16px), calc(var(--hy, 0) * 10px + var(--ty) * 1px), 0) scale(var(--sc))
               rotateY(calc(-9deg * var(--tk) + var(--hx, 0) * 2deg)) rotateX(calc(3deg * var(--tk) - var(--hy, 0) * 1.5deg)) translateZ(40px);
  }
  .shot-badge {
    width: 38%; right: 6%; bottom: 2%;
    transform: translate3d(calc(var(--hx, 0) * 26px), calc(var(--hy, 0) * 16px + var(--ty) * 1px), 0) scale(var(--sc))
               rotateY(calc(-9deg * var(--tk) + var(--hx, 0) * 2deg)) rotateX(calc(3deg * var(--tk) - var(--hy, 0) * 1.5deg)) translateZ(60px);
  }
  .feature-panel { grid-template-columns: .8fr 1.2fr; gap: 48px; padding-top: 0; }
  .feature-copy { padding-block: 56px; padding-right: 0; }
  .feature-shot { margin-top: 56px; }
  .feature-list { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1.2fr 2fr; }
  .integ-grid { grid-template-columns: repeat(3, 1fr); }
  .phase { grid-template-columns: 1fr 1.6fr; gap: 64px; }
  .plans, .plans-mini { grid-template-columns: repeat(3, 1fr); }
  .tab-panel { grid-template-columns: auto 1fr; padding-block: clamp(40px, 5vw, 64px); }
  .plan-featured { transform: translateY(-12px); }
  .plan-featured:hover { transform: translateY(-16px); }
  .addon { grid-template-columns: 1.6fr 1fr; gap: 48px; }
  .compare-hint { display: none; }
  .phase-index { text-align: right; }
  .contact-grid { grid-template-columns: 1.6fr 1fr; align-items: start; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* ---------- Page d'atterrissage Google Ads (crm-personnalise) ---------- */
.is-lp .nav-inner { justify-content: space-between; }
.lp-nav-actions { display: flex; align-items: center; gap: 14px; }
.lp-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.lp-phone svg { color: var(--accent); flex-shrink: 0; }
.lp-phone-num { display: none; }
.lp-nav-cta { display: none; }

.lp-hero { text-align: left; padding-bottom: clamp(56px, 8vw, 104px); }
.lp-hero-inner { display: grid; gap: clamp(32px, 6vw, 56px); align-items: start; }
.lp-hero h1 { margin: 14px 0 0; max-width: 18ch; font-size: clamp(2.3rem, 7.6vw, 4rem); }
.lp-hero .lead { margin: 22px 0 0; max-width: 34rem; }
.lp-points { list-style: none; margin-top: 24px; display: grid; gap: 10px; }
.lp-points li { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--ink-2); }
.lp-points svg { color: var(--accent); flex-shrink: 0; }
.lp-ctas { justify-content: flex-start; align-items: stretch; flex-wrap: wrap; margin-top: 32px; }
.lp-badge { display: block; margin-top: 32px; width: 168px; height: auto; }
.lp-form { box-shadow: var(--shadow-md); scroll-margin-top: calc(var(--nav-h) + 16px); }

/* Chiffres ROI : très grands, un message à la fois */
.roi-grid { margin-top: clamp(48px, 8vw, 80px); display: grid; gap: 40px 24px; grid-template-columns: 1fr; text-align: center; }
.roi-num {
  font-size: clamp(4.5rem, 16vw, 7.5rem); font-weight: 700; letter-spacing: -.06em; line-height: .9;
  background: linear-gradient(180deg, var(--accent) 0%, #4D8FD4 60%, #9FB0CD 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transition: transform .8s var(--ease);
}
.roi-num small { font-size: .5em; letter-spacing: -.03em; }
.roi-item:hover .roi-num { transform: translateY(-4px) scale(1.04); }
.roi-label { margin: 14px auto 0; max-width: 17rem; color: var(--muted); }
.lp-bridge { margin-top: clamp(48px, 8vw, 80px); text-align: center; display: grid; gap: 16px; justify-items: center; }
.lp-bridge p { max-width: 38rem; font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.25; }

/* Étapes de l'implémentation */
.lp-steps { list-style: none; margin-top: clamp(40px, 7vw, 64px); display: grid; gap: 36px 28px; }
.lp-step { padding-top: 20px; border-top: 1px solid var(--line-2); }
.lp-step-num {
  font-size: clamp(3.5rem, 9vw, 5rem); font-weight: 700; letter-spacing: -.06em; line-height: .9;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(77,143,212,.3) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transition: transform .8s var(--ease);
}
.lp-step:hover .lp-step-num { transform: scale(1.06); transform-origin: left; }
.lp-step h3 { margin-top: 14px; font-size: 1.5rem; letter-spacing: -.035em; }
.lp-step > p:not(.lp-step-num):not(.tab-deliv) { margin-top: 8px; color: var(--muted); font-size: .9375rem; }
.lp-step .tab-deliv { margin-top: 16px; }
.lp-stats { margin-top: clamp(48px, 8vw, 80px); }

.lp-cta-phone { margin-top: 20px; font-size: 1.25rem; font-weight: 600; }
.lp-footer { padding-block: 28px; }

/* Barre fixe mobile */
.lp-bar {
  position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.lp-bar .btn { flex: 1; padding-inline: 12px; }
body.lp { padding-bottom: 72px; }

@media (min-width: 640px) {
  .lp-phone-num { display: inline; }
  .lp-nav-cta { display: inline-flex; }
  .roi-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .lp-hero-inner { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .lp-form { position: sticky; top: calc(var(--nav-h) + 20px); }
  .roi-grid { grid-template-columns: repeat(4, 1fr); }
  .lp-steps { grid-template-columns: repeat(4, 1fr); }
  .lp-bar { display: none; }
  body.lp { padding-bottom: 0; }
}
@media (max-width: 1023px) { .lp-ctas { display: none; } } /* la barre fixe en bas les remplace */

/* ---------- Mentions légales ---------- */
.legal { padding-top: calc(var(--nav-h) + clamp(40px, 8vw, 96px)); }
.legal .h2 { font-size: clamp(2rem, 6vw, 3rem); }
.legal .h3 { margin-top: 40px; }
.legal p { margin-top: 12px; line-height: 1.7; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--accent); }
