/* ==========================================================================
   The Webix — feuille de style principale
   Palette : marine #141040 · or #e6c068 · bleu #505bff · fond pâle #f6f5fb
   Typo    : Inter (texte) · Space Grotesk (titres)
   ========================================================================== */

:root {
  --navy: #141040;
  --navy-deep: #0d0a2e;
  --navy-2: #1f1a57;
  --navy-3: #251f66;
  --navy-4: #2a2470;
  --navy-line: #1d1856;
  --navy-border: #2f2a6b;
  --navy-border-2: #332d78;
  --navy-border-3: #3a348a;
  --navy-border-4: #4a4590;
  --gold: #e6c068;
  --blue: #505bff;
  --ink: #141040;
  --muted: #454866;
  --soft: #f6f5fb;
  --line: #e3e1f0;
  --lavender: #e3e1f0;
  --chip-border: #c5c1ec;
  --lilac: #b5b0e6;
  --on-dark: #d6d4ee;
  --on-dark-2: #c9c7e6;
  --on-dark-3: #a9a7cf;
  --input-border: #8a8cab;
  --warn-bg: #fff4ea;
  --warn-border: #f0cba9;
  --warn-ink: #b45309;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", Inter, system-ui, sans-serif;
  --container: 1160px;
  --gutter: 32px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #ffffff;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.bg-soft { background: var(--soft); }

h1, h2, h3, h4, p, ul { margin: 0; }
a { color: var(--ink); }
a:hover { color: var(--blue); }
img, svg { display: block; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
}
.container--narrow { max-width: 860px; }
.container--mid { max-width: 1120px; }
.container--cta { max-width: 800px; }

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

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes up    { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pop   { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pop2  { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes mq    { to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(230,192,104,.55); } 60% { box-shadow: 0 0 0 16px rgba(230,192,104,0); } }
@keyframes drift { to { background-position: 48px 48px; } }
@keyframes fill  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bob   { 50% { transform: translateY(-12px) rotate(-1deg); } }
@keyframes kin   { from { transform: translateX(4%); } to { transform: translateX(-30%); } }
@keyframes hl    { to { background-size: 100% 14%; } }
@keyframes riseb { from { transform: scaleY(0); } }
@keyframes tmA   { from { transform: scaleX(0); } }
@keyframes tmB   { from { transform: scaleX(0); } }

.in   { animation: up .8s cubic-bezier(.2,.7,.2,1) both; }
.pop  { animation: pop .5s cubic-bezier(.2,.7,.2,1) both; }
.popA { animation: pop .45s cubic-bezier(.2,.7,.2,1) both; }
.popB { animation: pop2 .45s cubic-bezier(.2,.7,.2,1) both; }
.d1 { animation-delay: .12s; } .d2 { animation-delay: .24s; } .d3 { animation-delay: .36s; }
.d4 { animation-delay: .44s; } .d5 { animation-delay: .5s; }  .d6 { animation-delay: .6s; }

.mq  { animation: mq 42s linear infinite; }
.mqr { animation: mq 48s linear infinite reverse; }
.mq:hover, .mqr:hover { animation-play-state: paused; }
.kinm { animation: mq 36s linear infinite; }

.hl {
  background: linear-gradient(var(--blue), var(--blue)) no-repeat 0 96% / 0 14%;
  animation: hl .9s 1.2s cubic-bezier(.2,.7,.2,1) forwards;
}

.lift { transition: transform .25s, box-shadow .25s; }
.lift:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20,16,64,.18); }

.cta { transition: transform .2s; animation: pulse 2.6s infinite; }
.cta:hover { transform: scale(1.04); }

.tab { transition: background .2s, color .2s, transform .2s; }
.tab:hover { transform: translateY(-2px); }

.grid-bg {
  background-color: var(--navy);
  background-image:
    linear-gradient(var(--navy-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--navy-line) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: drift 7s linear infinite;
}

.riseb { transform-origin: bottom; animation: riseb .6s cubic-bezier(.2,.7,.2,1) both; }
.grow  { transform-origin: left;  animation: fill .8s cubic-bezier(.2,.7,.2,1) both; }

.tmA  { animation: tmA 6.5s linear both; }
.tmB  { animation: tmB 6.5s linear both; }
.tm0  { transform: scaleX(0); }
.hbA  { animation: tmA 5s linear both; }
.hbOn { transform: scaleX(1); }

/* Barre de progression du défilement */
.scroll-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 4px; background: var(--gold); z-index: 10;
  transform: scaleX(0); transform-origin: left;
}

/* Animations au défilement (progressive) */
@supports (animation-timeline: view()) {
  .rv  { animation: up linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  .scroll-bar { animation: fill linear both; animation-timeline: scroll(root); }
  .kin { animation: kin linear both; animation-timeline: view(); }
}

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

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */
.display { font-family: var(--font-display); }

.eyebrow {
  color: var(--gold);
  font-size: 14px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow--blue { color: var(--blue); letter-spacing: .06em; font-size: 13px; }

.h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(38px, 4.9vw, 68px);
  line-height: 1.04; letter-spacing: -.02em;
  text-wrap: balance;
}
.h1--md { font-size: clamp(36px, 4.6vw, 64px); }
.h1--sm { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.05; }
.h1--form { font-size: clamp(34px, 3.8vw, 50px); line-height: 1.1; letter-spacing: 0; }

.h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.08; letter-spacing: -.02em;
}
.h2--sm { font-size: clamp(28px, 3vw, 42px); line-height: 1.1; }
.h2--xs { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; }
.h2--xxs { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.01em; }
.h2--cta { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.06; text-wrap: balance; }
.h2--cta-lg { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.04; text-wrap: balance; }

.h3 { font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 1.2; }

.lead  { font-size: 19px; }
.muted { color: var(--muted); }
.fine  { color: var(--muted); font-size: 13px; }
.on-dark   { color: var(--on-dark); }
.on-dark-2 { color: var(--on-dark-2); }
.on-dark-3 { color: var(--on-dark-3); }
.white { color: #ffffff; }
.gold  { color: var(--gold); }
.blue  { color: var(--blue); }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; text-decoration: none; font-weight: 600;
  border-radius: 10px; border: 0; min-height: 44px;
}
.btn--gold { background: var(--gold); color: var(--navy); padding: 18px 28px; font-size: 18px; }
.btn--gold:hover { color: var(--navy); }
.btn--gold-lg { padding: 20px 32px; font-size: 19px; }
.btn--gold-sm { padding: 12px 20px; font-size: 15px; border-radius: 8px; }
.btn--navy { background: var(--navy); color: #ffffff; padding: 14px 22px; font-size: 16px; min-height: 48px; }
.btn--navy:hover { color: #ffffff; }
.btn--outline-gold { border: 2px solid var(--gold); color: var(--gold); padding: 14px 24px; background: transparent; }
.btn--outline-gold:hover { color: var(--gold); background: rgba(230,192,104,.08); }
.link-white { color: #ffffff; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.link-white:hover { color: var(--gold); }
.link-ink { color: var(--ink); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

/* Pastilles / onglets */
.pill {
  border-radius: 99px; padding: 12px 20px; min-height: 44px;
  font-size: 15px; font-weight: 600;
  background: #ffffff; color: var(--ink); border: 1px solid var(--chip-border);
}
.pill[aria-pressed="true"] { background: var(--navy); color: #ffffff; border-color: var(--navy); }
.pill--dark { background: transparent; color: #ffffff; border-color: var(--navy-border-4); }
.pill--dark[aria-pressed="true"] { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.pill--tight { padding: 12px 18px; }

.icon-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: transparent; border: 1px solid var(--navy-border-4);
  display: inline-flex; align-items: center; justify-content: center;
}

.play {
  border-radius: 50%; background: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
}
.play--xs { width: 40px; height: 40px; background: transparent; border: 2px solid var(--gold); }
.play--sm { width: 44px; height: 44px; }
.play--md { width: 56px; height: 56px; }
.play--lg { width: 72px; height: 72px; }
.play--xl { width: 76px; height: 76px; }

/* --------------------------------------------------------------------------
   En-tête et pied de page
   -------------------------------------------------------------------------- */
.site-header { background: var(--navy); padding: 20px var(--gutter); }
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 16px 32px;
}
/* Mot-symbole (repris du site actuel : Bebas Neue + Courier, trait séparateur) */
.brand { display: flex; align-items: center; gap: 14px; color: #ffffff; text-decoration: none; }
.brand:hover { color: var(--gold); }
.brand__icon { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.brand__name { font-family: "Bebas Neue", var(--font-display); font-weight: 400; font-size: 27px; line-height: 1; letter-spacing: .03em; }
.brand__sep { width: 1px; height: 28px; background: currentColor; opacity: .55; flex: none; }
.brand__tag { font-family: "Courier Prime", "Courier New", monospace; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; line-height: 1.2; }
.brand--stack { flex-direction: column; align-items: flex-start; gap: 5px; }
.brand--stack .brand__sep { width: 44px; height: 1px; }
@media (max-width: 480px) { .site-header .brand__sep, .site-header .brand__tag { display: none; } }
.nav {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 12px 28px; font-size: 15px; font-weight: 500;
}
.nav a { color: #ffffff; text-decoration: none; }
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav .nav__lang { color: var(--on-dark-2); }

.site-footer { background: var(--navy-deep); padding: 48px var(--gutter); color: var(--on-dark-2); font-size: 14px; }
.site-footer--compact { padding: 40px var(--gutter); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.site-footer--compact .site-footer__inner { gap: 16px 32px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col--about { flex: 1 1 280px; }
.site-footer__col--links { flex: 0 1 200px; }
.site-footer__col--contact { flex: 0 1 240px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer .brand { color: #ffffff; }
.site-footer .brand:hover { color: var(--gold); }
.site-footer a:hover { color: #ffffff; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 104px var(--gutter); }
.section--md { padding: 88px var(--gutter); }
.section--sm { padding: 80px var(--gutter); }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); }
.section--cta { padding: 96px var(--gutter); }
.section--cta-lg { padding: 112px var(--gutter); }

.stack { display: flex; flex-direction: column; }
.stack--xs { gap: 6px; }  .stack--sm { gap: 10px; } .stack--md { gap: 16px; }
.stack--lg { gap: 20px; } .stack--xl { gap: 28px; } .stack--2xl { gap: 32px; }
.stack--3xl { gap: 36px; } .stack--4xl { gap: 40px; } .stack--5xl { gap: 44px; }

.section-head { max-width: 800px; }
.section-head--md { max-width: 760px; }
.section-head--sm { max-width: 720px; }

.cta-block { align-items: center; text-align: center; gap: 26px; }
.cta-block p { max-width: 600px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.cta-row--center { justify-content: center; }

/* Grilles réutilisables */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.grid--metrics { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.grid--metrics-sm { grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 16px; }
.grid--metrics-xs { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 24px; }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.grid--team { grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 16px; }
.grid--team-lg { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }

/* Cartes */
.card { border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.card--white { background: #ffffff; }
.card--soft  { background: var(--soft); }
.card--navy  { background: var(--navy); }
.card--outline { border: 1px solid var(--line); }
.card--sm { border-radius: 16px; padding: 24px; gap: 10px; }
.card--xs { border-radius: 16px; padding: 22px; gap: 4px; }

.list { padding-left: 20px; display: flex; flex-direction: column; gap: 12px; }
.list--tight { gap: 10px; }

.metric { display: flex; flex-direction: column; gap: 6px; }
.metric__v { font-family: var(--font-display); font-weight: 700; line-height: 1.05; white-space: nowrap; font-size: 34px; }
.metric__v--30 { font-size: 30px; line-height: 1.1; }
.metric__l { color: var(--muted); font-size: 14px; }
.metric__l--13 { font-size: 13px; }

/* --------------------------------------------------------------------------
   Accueil — héros
   -------------------------------------------------------------------------- */
.hero { padding: 80px var(--gutter) 56px; overflow: hidden; }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.hero__copy { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero__copy .lead { color: var(--on-dark); max-width: 560px; }
.hero__visual { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero__visual-title { color: #ffffff; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.hero__video-link { display: flex; align-items: center; gap: 10px; color: #ffffff; font-weight: 600; text-decoration: none; min-height: 44px; }
.hero__video-link:hover { color: var(--gold); }
.hero__note { color: var(--on-dark-2); font-size: 14px; }

.phone-stack { position: relative; width: min(310px, 82vw); height: 540px; }
.phone-stack__ghost { position: absolute; inset: 0; border-radius: 28px; border: 1px solid var(--navy-border-3); }
.phone-stack__ghost--1 { background: var(--navy-2); transform: translateX(34px) rotate(7deg) scale(.94); }
.phone-stack__ghost--2 { background: var(--navy-3); transform: translateX(17px) rotate(3.5deg) scale(.97); }

.phone {
  position: absolute; inset: 0; border-radius: 28px; background: var(--navy-4);
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.phone[hidden] { display: none; }
.phone__screen { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding-top: 28px; }
.phone__label { color: var(--on-dark); font-size: 12px; }
.phone__caption { background: var(--navy); padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.phone__big { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -.02em; color: var(--gold); }
.phone__sub { color: #ffffff; font-size: 16px; font-weight: 600; line-height: 1.3; }
.phone__who { color: var(--on-dark-2); font-size: 13px; }
.phone__sound { margin-top: 8px; color: #ffffff; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }

.phone-bars { position: absolute; top: 14px; left: 16px; right: 16px; display: flex; gap: 6px; pointer-events: none; }
.phone-bars__track { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.28); overflow: hidden; display: block; }
.phone-bars__fill { display: block; height: 100%; background: #ffffff; transform-origin: left; }

.carousel-nav { display: flex; align-items: center; gap: 16px; }
.carousel-nav__pos { color: var(--on-dark-2); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; min-width: 44px; text-align: center; }

.hero-stats {
  margin: 72px auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 0; border-top: 1px solid var(--navy-border);
}
.hero-stats__item { padding: 28px 20px 0 0; display: flex; flex-direction: column; gap: 6px; }
.hero-stats__v { font-family: var(--font-display); font-size: 46px; font-weight: 700; line-height: 1; color: #ffffff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-stats__v--gold { color: var(--gold); }
.hero-stats__l { color: var(--on-dark-2); font-size: 14px; }
.hero-method { margin: 24px auto 0; color: var(--on-dark-3); font-size: 12px; }

/* --------------------------------------------------------------------------
   Accueil — logos clients
   -------------------------------------------------------------------------- */
.clients { padding: 56px 0; border-bottom: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; gap: 16px; }
.clients__head { padding: 0 var(--gutter) 16px; display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; }
.marquee { display: flex; gap: 16px; width: max-content; }
.logo-tile {
  width: 220px; height: 88px; border: 1px solid var(--line); border-radius: 14px; background: #ffffff;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.15; color: var(--muted);
}
.logo-tile img { max-width: 168px; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.logo-tile--dark { background: var(--navy); border-color: var(--navy); color: #ffffff; }
.logo-tile--combo { gap: 10px; color: var(--ink); font-size: 18px; letter-spacing: .02em; }
.logo-tile__mark { width: 40px; height: 40px; flex: none; }
.clients__note { text-align: center; padding: 8px var(--gutter) 0; }

/* --------------------------------------------------------------------------
   Accueil — résultats par domaine
   -------------------------------------------------------------------------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.case-panel { background: #ffffff; border-radius: 24px; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 32px; }
.case-panel__head { display: flex; flex-direction: column; gap: 12px; }
.case-panel__title { font-family: var(--font-display); font-size: clamp(26px, 3vw, 42px); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; max-width: 860px; }
.case-panel__note { max-width: 760px; }
.case-metric { background: var(--soft); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }

/* --------------------------------------------------------------------------
   Accueil — pubs vidéo
   -------------------------------------------------------------------------- */
.ads { padding: 96px 0; overflow: hidden; }
.ads__head { padding: 0 var(--gutter) 40px; display: flex; flex-direction: column; gap: 14px; }
.ads__head p { max-width: 640px; }
.ads__track { display: flex; gap: 20px; width: max-content; padding: 0 20px; }
.ad-card {
  width: 210px; height: 372px; border-radius: 20px; background: var(--navy-2); border: 1px solid var(--navy-border-2);
  padding: 18px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none;
}
.ad-card__title { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.2; color: #ffffff; }
.ads__foot { padding: 44px var(--gutter) 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* --------------------------------------------------------------------------
   Accueil — le problème (cartes qui se retournent)
   -------------------------------------------------------------------------- */
.problem { display: flex; flex-direction: column; gap: 40px; }
.problem__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.problem__copy { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.problem__copy .h2 { text-wrap: balance; }
.problem__switch { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.switch-row { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 16px; }
.switch-row .la, .switch-row .lb { transition: opacity .3s; }
.switch { width: 84px; height: 48px; border-radius: 99px; border: 0; background: var(--navy); padding: 6px; display: flex; align-items: center; }
.knob { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); display: block; transition: transform .3s; }
.on .knob { transform: translateX(36px); }
.on .la, .off .lb { opacity: .45; }
.off .c2, .on .c1 { display: none; }

.fc { perspective: 1200px; border-radius: 20px; }
.fi { display: grid; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.ff, .fb { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; min-height: 250px; }
.ff { background: var(--warn-bg); border: 1px solid var(--warn-border); }
.fb { background: var(--navy); transform: rotateY(180deg); }
.on .fi { transform: rotateY(180deg); }
.flip-num { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 1; color: var(--warn-ink); }
.fb .flip-num { color: var(--gold); }
.fb .h3 { color: #ffffff; }
.fb p { color: var(--on-dark); }
.problem__close { font-family: var(--font-display); font-size: 26px; font-weight: 600; }

/* Bande cinétique */
.kinetic { background: var(--soft); padding: 56px 0; overflow: hidden; }
.kinetic p {
  width: max-content; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(64px, 9vw, 136px); line-height: 1; letter-spacing: -.03em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 2px var(--lilac);
}

/* --------------------------------------------------------------------------
   Accueil — cinq étapes
   -------------------------------------------------------------------------- */
.steps { position: relative; }
.steps__line { position: absolute; top: 25px; left: 10%; right: 10%; height: 4px; border-radius: 4px; background: var(--line); }
.pl { height: 100%; border-radius: 4px; background: var(--blue); transform-origin: left; transform: scaleX(0); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.s1 .pl { transform: scaleX(.25); } .s2 .pl { transform: scaleX(.5); } .s3 .pl { transform: scaleX(.75); } .s4 .pl { transform: scaleX(1); }
.steps__row { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.step-btn { background: none; border: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); }
.step-btn__n {
  width: 54px; height: 54px; border-radius: 50%; background: #ffffff; border: 2px solid var(--chip-border); color: var(--muted);
  font-family: var(--font-display); font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center;
}
.step-btn__l { font-size: 15px; font-weight: 500; line-height: 1.25; text-align: center; }
.step-btn[aria-pressed="true"] { color: var(--ink); }
.step-btn[aria-pressed="true"] .step-btn__n { background: var(--blue); border-color: var(--blue); color: #ffffff; animation: pulse 2.6s infinite; }
.step-btn[aria-pressed="true"] .step-btn__l { font-weight: 700; }

.steps__panel { border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 3.5vw, 44px); min-height: 380px; }
.step-pane { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 32px; align-items: stretch; }
.step-pane[hidden] { display: none; }
.step-pane__copy { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.step-pane__title { font-family: var(--font-display); font-size: clamp(26px, 2.8vw, 38px); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.step-pane__text { color: var(--muted); font-size: 18px; }
.step-pane__get { background: var(--soft); border-radius: 14px; padding: 16px 18px; font-size: 16px; }
.step-pane__visual { background: var(--soft); border-radius: 24px; padding: 28px; min-height: 300px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.step-pane__visual .fine { font-size: 12px; }

.chip-white { background: #ffffff; border-radius: 10px; padding: 12px 16px; font-weight: 600; font-size: 15px; }
.mini-phone { width: 150px; height: 244px; border-radius: 22px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.bar-row { display: flex; align-items: center; gap: 12px; }
.bar-row__name { flex: none; width: 52px; font-size: 14px; font-weight: 600; }
.bar-row__track { flex: 1; height: 18px; border-radius: 99px; background: #ffffff; overflow: hidden; }
.bar-row__fill { height: 100%; border-radius: 99px; background: var(--chip-border); }
.bar-row__fill--keep { background: var(--blue); }
.bar-row__tag { font-size: 12px; color: var(--muted); white-space: nowrap; }
.bar-row__tag--keep { font-weight: 600; color: var(--blue); }

.sms { font-size: 15px; padding: 12px 14px; max-width: 84%; }
.sms--in  { align-self: flex-start; background: var(--navy); color: #ffffff; border-radius: 16px 16px 16px 4px; }
.sms--out { align-self: flex-end; background: #ffffff; color: var(--ink); border-radius: 16px 16px 4px 16px; }
.sms-tag { align-self: center; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: #ffffff; color: var(--muted); }
.sms-tag--gold { background: var(--gold); color: var(--navy); font-size: 13px; padding: 8px 14px; }

.pipeline { display: flex; gap: 12px; align-items: flex-start; }
.pipeline__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pipeline__h { font-size: 12px; font-weight: 600; line-height: 1.25; min-height: 30px; }
.pipeline__row { height: 28px; border-radius: 8px; background: #ffffff; display: block; }
.pipeline__row--win { background: var(--gold); }

.kpis { display: flex; gap: 12px; }
.kpi { flex: 1 1 0; min-width: 0; background: #ffffff; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.kpi__h { font-size: 13px; font-weight: 600; line-height: 1.25; min-height: 32px; }
.kpi__bars { height: 90px; display: flex; align-items: flex-end; gap: 6px; }
.kpi__bar { flex: 1; border-radius: 4px 4px 0 0; background: var(--chip-border); }
.kpi__bar--hi { background: var(--blue); }

/* --------------------------------------------------------------------------
   Accueil — témoignages
   -------------------------------------------------------------------------- */
.temo__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.temo__panel { background: var(--navy); border-radius: 28px; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 28px; min-height: 480px; overflow: hidden; }
.temo-slide { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); align-items: center; }
.temo-slide[hidden] { display: none; }
.temo-slide__video {
  flex: 0 0 230px; height: 360px; border-radius: 20px; background: var(--navy-2); border: 1px solid var(--navy-border-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-decoration: none;
}
.temo-slide__video span:last-child { color: #ffffff; font-weight: 600; font-size: 15px; }
.temo-slide__copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.temo-slide__big { font-family: var(--font-display); font-weight: 700; font-size: clamp(52px, 7vw, 104px); line-height: .95; letter-spacing: -.03em; color: var(--gold); }
.temo-slide__sub { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.2; color: #ffffff; }
.temo-slide__quote { color: var(--on-dark); font-size: 19px; max-width: 620px; padding-top: 8px; }
.temo-slide__who { color: #ffffff; font-size: 15px; font-weight: 600; }
.temo__nav { margin-top: auto; display: flex; align-items: center; gap: 16px; }
.temo__pos { color: var(--on-dark-2); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.temo__track { flex: 1; height: 3px; border-radius: 3px; background: var(--navy-border); overflow: hidden; }
.temo__fill { height: 100%; background: var(--gold); transform-origin: left; }

/* --------------------------------------------------------------------------
   Accueil — pour qui / équipe / FAQ
   -------------------------------------------------------------------------- */
.fit-card { border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.fit-card--yes { background: var(--navy); }
.fit-card--yes .h3 { color: var(--gold); }
.fit-card--yes .list { color: #ffffff; }
.fit-card--no { border: 1px solid var(--line); }
.fit-card--no .list { color: var(--muted); }
.fit-card__alt { color: var(--muted); font-size: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.fit-card__alt strong { color: var(--ink); }

.team-mini { background: #ffffff; border-radius: 18px; padding: 20px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.avatar {
  width: 96px; height: 96px; border-radius: 50%; background: var(--lavender);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--blue);
  object-fit: cover;
}
.team-mini__name { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.team-mini__role { font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.35; }
.team__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--soft); border-radius: 14px; padding: 20px 24px; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-size: 19px; font-weight: 600; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { font-size: 26px; color: var(--blue); line-height: 1; transition: transform .2s; }
.faq details[open] .pm { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 16px; padding-top: 8px; }

/* --------------------------------------------------------------------------
   Pages intérieures
   -------------------------------------------------------------------------- */
.page-hero { padding: 72px var(--gutter) 80px; }
.page-hero--deep { padding: 64px var(--gutter) 136px; }
.page-hero .lead { color: var(--on-dark); }
.breadcrumb { color: var(--on-dark-2); font-size: 14px; }
.breadcrumb a { color: var(--on-dark-2); }
.breadcrumb a:hover { color: #ffffff; }

.stats-float {
  margin: -72px auto 0; background: #ffffff; border: 1px solid var(--line); border-radius: 20px; padding: 32px;
  box-shadow: 0 24px 60px rgba(20,16,64,.14);
}
.stats-float .metric__v { font-size: 34px; line-height: 1.1; }

.quote-card { background: var(--navy); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.quote-card__text { font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.25; color: #ffffff; }
.quote-card__who { color: var(--gold); font-size: 15px; font-weight: 600; }

.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.split__main { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.split__aside { flex: 1 1 380px; min-width: 0; }

.step-num { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--blue); }
.card--navy .step-num { color: var(--gold); }
.card--navy .h3, .card--navy h3 { color: #ffffff; }
.card--navy p { color: var(--on-dark); }
.card--navy .list { color: #ffffff; }

.big-num { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; color: var(--gold); }
.commit { background: var(--navy); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.commit p:last-child { color: #ffffff; font-size: 18px; font-weight: 600; }

/* Études — cartes de résultats */
.result-card { background: #ffffff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.result-card[hidden] { display: none; }
.result-card__sector { font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.result-card__inv { align-self: flex-start; background: var(--navy); color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 17px; padding: 8px 14px; border-radius: 8px; }
.result-card__headline { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.result-card__kpis { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 500; }
.result-card__kpis span { background: var(--soft); border-radius: 8px; padding: 8px 12px; }

/* Équipe */
.member { background: #ffffff; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.member__photo { height: 300px; border-radius: 14px; background: var(--lavender); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; overflow: hidden; }
.member__photo--sm { height: 200px; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.member__initial { font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1; color: var(--blue); }
.member__photo-label { font-size: 12px; color: var(--muted); }
.member__body { display: flex; flex-direction: column; gap: 6px; padding: 0 4px 6px; }
.member__name { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.member__role { font-size: 14px; font-weight: 600; color: var(--blue); }
.member__bio { color: var(--muted); font-size: 15px; }

/* Réserver : une colonne, texte court puis calendrier */
.booking { padding: 64px var(--gutter) 96px; }
.booking__inner { display: flex; flex-direction: column; gap: 32px; }
.booking__copy { display: flex; flex-direction: column; gap: 14px; text-align: center; align-items: center; }
.booking__copy .lead { max-width: 640px; }
.booking__alt { font-size: 15px; }
.booking__alt a { color: var(--ink); text-decoration: none; }
.booking__alt a:hover { color: var(--blue); }

.form { width: 100%; background: #ffffff; border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.form__row { display: flex; flex-wrap: wrap; gap: 18px; }
.form__row .field { flex: 1 1 180px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1px solid var(--input-border); border-radius: 8px;
  font-size: 16px; min-height: 46px; width: 100%; background: #ffffff; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form--calendar { padding: 12px; gap: 0; overflow: hidden; }
.form--calendar iframe { display: block; width: 100%; min-height: 720px; }

/* --------------------------------------------------------------------------
   Lecteur vidéo (modal)
   -------------------------------------------------------------------------- */
.player {
  border: 0; padding: 0; margin: auto; background: transparent;
  max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
  display: none; align-items: center; justify-content: center;
}
.player[open] { display: flex; }
.player::backdrop { background: rgba(13,10,46,.92); }
.player__box { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; padding: 16px; }
.player__frame {
  aspect-ratio: var(--ratio, 9 / 16);
  width: min(92vw, calc((100vh - 110px) * var(--ratio-num, 0.5625)));
  max-height: calc(100vh - 110px);
  background: #000; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.player__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.player__close {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--navy-border-4);
  background: var(--navy); display: flex; align-items: center; justify-content: center;
}
.player__close:hover { background: var(--navy-4); }

/* --------------------------------------------------------------------------
   Images de couverture des vidéos dans les cases (lecture au clic)
   -------------------------------------------------------------------------- */
.ad-card, .phone__screen, .temo-slide__video { position: relative; overflow: hidden; isolation: isolate; }
.ad-card__video, .phone__video, .temo-slide__clip {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  background: var(--navy-2);
}
.ad-card::after, .temo-slide__video::after, .phone__screen::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,16,64,.05) 0%, rgba(20,16,64,0) 40%, rgba(20,16,64,.82) 100%);
}
.phone__screen::after { background: linear-gradient(180deg, rgba(20,16,64,.35) 0%, rgba(20,16,64,0) 30%, rgba(20,16,64,0) 70%, rgba(20,16,64,.6) 100%); }
.ad-card > .play, .ad-card__title, .phone__screen > .play, .temo-slide__video > .play, .temo-slide__video > span { position: relative; z-index: 2; }
.ad-card { transition: transform .25s, box-shadow .25s; }

/* --------------------------------------------------------------------------
   Pages légales
   -------------------------------------------------------------------------- */
.legal { padding: 64px var(--gutter) 96px; }
.legal__inner { max-width: 800px; font-size: 17px; line-height: 1.65; }
.legal h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.2; letter-spacing: -.01em;
  margin-top: 44px; margin-bottom: 14px; scroll-margin-top: 24px;
}
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: 14px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal li > ul { margin: 8px 0 0; }
.legal a { color: var(--blue); }
.legal__toc { background: var(--soft); border-radius: 16px; padding: 22px 24px; margin-bottom: 44px; }
.legal__toc-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.legal__toc ol { gap: 4px; margin: 0; font-size: 15px; }
.legal__toc a { color: var(--ink); text-decoration: none; }
.legal__toc a:hover { color: var(--blue); text-decoration: underline; }

/* Bouton qui ressemble à un lien (pied de page) */
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: none; cursor: pointer; }
.link-btn:hover { color: #ffffff; }

/* --------------------------------------------------------------------------
   Bannière de consentement aux témoins (Loi 25)
   -------------------------------------------------------------------------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20;
  max-width: 760px; margin: 0 auto;
  background: var(--navy); color: #ffffff; border: 1px solid var(--navy-border-4);
  border-radius: 16px; padding: 18px 20px; box-shadow: 0 24px 60px rgba(13,10,46,.45);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  font-size: 15px; line-height: 1.5;
}
.consent[hidden] { display: none; }
.consent__text { flex: 1 1 380px; min-width: 0; color: var(--on-dark); }
.consent__text a { color: var(--gold); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent__refuse { background: transparent; color: #ffffff; border: 1px solid var(--navy-border-4); padding: 12px 20px; font-size: 15px; border-radius: 8px; }
.consent__refuse:hover { color: #ffffff; background: var(--navy-4); }

/* --------------------------------------------------------------------------
   Écrans étroits
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section, .section--md, .section--sm, .section--cta, .section--cta-lg { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 56px; }
  .hero__inner { gap: 48px; }
  .hero-stats { margin-top: 56px; }
  .hero-stats__v { font-size: 38px; }
  .steps__line { left: 8%; right: 8%; }
  .step-btn__n { width: 44px; height: 44px; font-size: 16px; }
  .steps__line { top: 20px; }
  .step-btn__l { font-size: 12px; }
  .temo-slide__video { flex: 1 1 100%; height: 240px; }
  .kpis { flex-wrap: wrap; }
  .kpi { flex: 1 1 140px; }
  .page-hero--deep { padding-bottom: 112px; }
  .stats-float { padding: 24px; margin-top: -56px; }
  .booking__inner { gap: 24px; }
  .form { padding: 24px; }
}
