/* ============================================================================
   ROMEDIA — Landing page
   Direction artistique : anthracite premium, accent indigo-violet (charte logo),
   bordures fines lumineuses, cartes élégantes, animations discrètes.
   ========================================================================== */

/* ---------------------------------------------------------------- TOKENS -- */
:root{
  /* Fonds */
  --bg:        #0A0B10;
  --bg-alt:    #0D0E15;
  --surface:   #12131B;
  --surface-2: #171826;

  /* Texte */
  --ink:       #F2F2F7;
  --ink-soft:  #B4B5C4;
  --ink-mute:  #7C7E92;

  /* Accent (dérivé du logotype ROMEDIA) */
  --accent:      #6C4BF5;
  --accent-hi:   #8A6BFF;
  --accent-low:  #4B2FD6;
  --accent-glow: rgba(108, 75, 245, .38);

  /* Lignes */
  --line:      rgba(255,255,255,.08);
  --line-hi:   rgba(255,255,255,.14);
  --line-glow: rgba(138,107,255,.34);

  /* Formes */
  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --shadow:    0 1px 0 rgba(255,255,255,.04) inset, 0 18px 40px -24px rgba(0,0,0,.9);
  --shadow-lg: 0 1px 0 rgba(255,255,255,.05) inset, 0 40px 80px -40px rgba(0,0,0,1);

  /* Rythme */
  --shell: 1180px;
  --pad-y: clamp(76px, 9vw, 132px);
  --nav-h: 68px;

  /* Type */
  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

html{
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

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

img, video { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
h1{ font-size: clamp(2.25rem, 4.3vw, 3.5rem); }
h2{ font-size: clamp(1.85rem, 3.7vw, 2.9rem); line-height: 1.12; }
h3{ font-size: clamp(1.12rem, 1.6vw, 1.35rem); letter-spacing: -.012em; }

::selection{ background: var(--accent); color: #fff; }

:focus-visible{
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link{
  position: fixed; top: 10px; left: 10px; z-index: 200;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--accent); color: #fff; font-weight: 600;
  transform: translateY(-160%); transition: transform .18s ease;
}
.skip-link:focus{ transform: translateY(0); }

.shell{
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.shell--narrow{ max-width: 880px; }

.section{ padding-block: var(--pad-y); position: relative; }
.section--alt{
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section__head{
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.section__head--left{ margin-inline: 0; text-align: left; max-width: 860px; }

.section__sub{
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.09rem);
  text-wrap: pretty;
}

.eyebrow{
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-hi);
  margin: 0 0 18px;
}

.grad{
  background: linear-gradient(96deg, #6F8BFF 0%, var(--accent) 45%, #A855F7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.disclaimer{
  color: var(--ink-mute);
  font-size: .875rem;
  line-height: 1.65;
  max-width: 720px;
}
.disclaimer--center{ margin-inline: auto; text-align: center; }

.reassure{
  display: inline-flex; align-items: flex-start; gap: 10px;
  color: var(--ink-soft); font-size: .93rem;
}
.reassure .dot{ margin-top: .55em; }
.reassure--center{ justify-content: center; }
.reassure .dot{
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-hi);
  box-shadow: 0 0 0 4px var(--accent-glow);
  flex: none;
}

/* --------------------------------------------------------------- LOGOTYPE -- */
.logo{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -.03em;
  background: linear-gradient(94deg, #3D5BF0 0%, #6C4BF5 52%, #9333EA 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.logo__dot{ color: #9333EA; -webkit-text-fill-color: #9333EA; }
.logo-img{ height: 26px; width: auto; }

/* --------------------------------------------------------------- BOUTONS -- */
.btn{
  --btn-py: 12px; --btn-px: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--btn-py) var(--btn-px);
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease,
              background-color .22s ease, border-color .22s ease, color .22s ease;
  will-change: transform;
  text-align: center;
}
.btn--sm{ --btn-py: 9px; --btn-px: 17px; font-size: .87rem; }
.btn--lg{ --btn-py: 15px; --btn-px: 30px; font-size: 1rem; }
.btn--block{ display: flex; width: 100%; }

/* Le dégradé du bouton est volontairement plus dense que --accent-hi :
   le texte blanc reste au-dessus de 4,5:1 sur toute la hauteur. */
.btn--primary{
  background: linear-gradient(180deg, #7350F0, #5F3DEB);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.09) inset, 0 10px 30px -12px var(--accent-glow);
}
.btn--primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset, 0 16px 38px -12px rgba(108,75,245,.6);
}
.btn--primary:active{ transform: translateY(0); }

.btn--ghost{
  background: rgba(255,255,255,.03);
  border-color: var(--line-hi);
  color: var(--ink);
}
.btn--ghost:hover{
  background: rgba(255,255,255,.06);
  border-color: var(--line-glow);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------ NAVIGATION -- */
.nav{
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(10,11,16,.62);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.nav.is-stuck{
  border-bottom-color: var(--line);
  background: rgba(10,11,16,.86);
}
.nav__inner{
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
}
.nav__brand{ display: flex; align-items: center; flex: none; }

.nav__links{
  display: flex; align-items: center; gap: 30px;
  margin-inline: auto;
  font-size: .92rem; font-weight: 500;
  color: var(--ink-soft);
}
.nav__links a{ position: relative; padding: 4px 0; transition: color .2s ease; }
.nav__links a::after{
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--accent-hi); transition: right .26s cubic-bezier(.2,.7,.3,1);
}
.nav__links a:hover{ color: var(--ink); }
.nav__links a:hover::after{ right: 0; }

.nav__actions{ display: flex; align-items: center; gap: 12px; flex: none; }

.nav__burger{
  display: none;
  width: 40px; height: 40px; padding: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__burger span{
  display: block; width: 16px; height: 1.5px; background: var(--ink);
  border-radius: 2px; transition: transform .22s ease, opacity .22s ease;
}
.nav__burger[aria-expanded="true"] span:first-child{ transform: translateY(3.25px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child{ transform: translateY(-3.25px) rotate(-45deg); }

.nav__mobile{
  display: none;
  flex-direction: column; gap: 4px;
  padding: 10px clamp(20px,5vw,40px) 22px;
  border-top: 1px solid var(--line);
  background: rgba(10,11,16,.96);
  backdrop-filter: blur(16px);
}
.nav__mobile a{ padding: 13px 2px; font-weight: 500; color: var(--ink-soft); }
.nav__mobile a:hover{ color: var(--ink); }
.nav__mobile .btn{ margin-top: 10px; color: #fff; }

/* ------------------------------------------------------------------ HERO -- */
.hero{
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(44px, 5.5vw, 76px));
  padding-bottom: clamp(52px, 6vw, 84px);
  overflow: hidden;
}
.hero__glow{
  position: absolute; z-index: 0;
  top: -32%; left: 50%; transform: translateX(-50%);
  width: min(1100px, 130vw); aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%,
              rgba(108,75,245,.20) 0%, rgba(108,75,245,.07) 34%, transparent 62%);
  pointer-events: none;
}
.hero__grid{
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}
.hero__copy, .hero__visual{ min-width: 0; }
.hero__copy .lede{
  margin-top: 20px;
  max-width: 34em;
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  color: var(--ink-soft);
  text-wrap: pretty;
}
.hero__cta{
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 30px 0 20px;
}

/* Composition visuelle : 3 formats verticaux */
.hero__visual{ position: relative; }

/* Carrousel infini de formats verticaux */
.stack{
  --marquee-gap: 12px;
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.stack .vcard{ width: 168px; }
.stack .marquee__row{ align-items: stretch; }
.stack .marquee__row--static{ overflow-x: auto; flex-wrap: nowrap; }

.vcard{
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line-hi);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .3s ease;
}
.vcard:hover{ border-color: var(--line-glow); }

.vcard img, .vcard video{
  width: 100%; height: 100%; object-fit: cover;
}
.vcard__btn{
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.55) 100%);
  border: 0; cursor: pointer; padding: 0;
  transition: background-color .25s ease;
}
.vcard__btn:hover{ background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.7) 100%); }
.vcard__play{
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  transition: transform .22s ease, background-color .22s ease;
}
.vcard__btn:hover .vcard__play{ transform: scale(1.08); background: rgba(255,255,255,.24); }
.vcard__play svg{ width: 16px; height: 16px; fill: #fff; margin-left: 2px; }
.vcard__cap{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12px 12px 13px;
  font-size: .74rem; line-height: 1.35; font-weight: 500;
  color: rgba(255,255,255,.9);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.82));
  pointer-events: none;
}
.vcard.is-playing .vcard__btn,
.vcard.is-playing .vcard__cap{ opacity: 0; pointer-events: none; }

/* Le parcours mis en place — mini-flux animé sous les formats */
.funnel{
  position: relative;
  margin: 22px 0 0;
  padding: 16px 18px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  backdrop-filter: blur(6px);
  overflow: hidden;
}
.funnel__title{
  font-family: var(--font-display);
  font-size: .66rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}

/* Le fil qui relie les quatre étapes, posé derrière les pastilles */
.funnel__track{
  position: absolute; left: 34px; right: 34px; top: 60px; height: 2px;
}
.funnel__rail,
.funnel__lit,
.funnel__pulse{
  position: absolute; inset: 0; border-radius: 2px;
}
.funnel__rail{ background: rgba(255,255,255,.1); }
.funnel__lit{
  background: linear-gradient(90deg, var(--accent-low), var(--accent-hi));
  transform-origin: left center; transform: scaleX(0);
  transition: transform 1.3s cubic-bezier(.35,.1,.25,1) .3s;
}
.is-in .funnel__lit{ transform: scaleX(1); }
.funnel__pulse{
  background: linear-gradient(90deg, transparent, #EDE9FF, transparent);
  background-size: 30% 100%; background-repeat: no-repeat;
  background-position: -35% 0; opacity: 0;
}
.is-in .funnel__pulse{
  opacity: 1;
  animation: funnel-pulse 5.5s cubic-bezier(.5,0,.5,1) 1.7s infinite;
}
@keyframes funnel-pulse{
  0%      { background-position: -35% 0 }
  72%,100%{ background-position: 135% 0 }
}

.funnel__steps{
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.funnel__steps li{
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  min-width: 0;
}
.funnel__node{
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  border: 1px solid var(--line-hi);
  background: linear-gradient(180deg, #16171F, #101119);
  transition: border-color .35s ease, transform .35s cubic-bezier(.2,.7,.3,1);
}
.funnel__node svg{
  width: 19px; height: 19px;
  fill: none; stroke: rgba(255,255,255,.7); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.funnel__node .f-fill{ fill: rgba(255,255,255,.7); stroke: none; }
.funnel__node .f-accent{ stroke: var(--accent-hi); stroke-width: 2; }
.funnel__node .f-accent-fill{ fill: var(--accent); stroke: none; }
.funnel:hover .funnel__node{ transform: translateY(-2px); }

.funnel__steps li.is-end .funnel__node{
  border-color: var(--accent-hi);
  background: linear-gradient(180deg, rgba(46,34,92,1), rgba(28,22,58,1));
  box-shadow: 0 0 18px -4px var(--accent-glow);
}
.funnel__steps li.is-end .funnel__node svg{ stroke: #D6CCFF; }

.funnel__lbl{
  font-size: .68rem; font-weight: 600; line-height: 1.25;
  color: var(--ink-mute); text-align: center;
  text-wrap: balance;
}
.funnel__steps li.is-end .funnel__lbl{ color: #C9BEFF; }

/* ------------------------------------------------------------ PROOF BAR -- */
.proofbar{
  position: relative;
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
  padding-block: clamp(34px, 4.5vw, 54px);
  overflow: hidden;
}
/* Une lueur très basse, qui rattache le bandeau au hero */
.proofbar::before{
  content: ''; position: absolute; z-index: 0;
  top: -70%; left: 50%; transform: translateX(-50%);
  width: min(1100px, 130vw); aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%,
              rgba(108,75,245,.10) 0%, rgba(108,75,245,.03) 40%, transparent 66%);
  pointer-events: none;
}
.proofbar > *{ position: relative; z-index: 1; }

.proofbar__stats{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
}

.stat{
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(20px, 2.2vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(130% 90% at 0% 0%, rgba(108,75,245,.10), transparent 58%),
    linear-gradient(180deg, var(--surface), rgba(18,19,27,.5));
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color .4s ease, transform .4s cubic-bezier(.2,.7,.3,1);
}
/* Filet lumineux en haut de carte */
.stat::before{
  content: ''; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-glow) 45%, transparent);
  opacity: .55; transition: opacity .4s ease;
}
.stat:hover{ border-color: var(--line-hi); transform: translateY(-3px); }
.stat:hover::before{ opacity: 1; }

.stat__value{
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700; letter-spacing: -.035em; line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.stat__plus{
  color: var(--accent-hi);
  margin-right: .04em;
}
/* Le trait d'accent sous le chiffre : il se trace à l'arrivée dans l'écran */
.stat__rule{
  display: block;
  width: 34px; height: 2px; border-radius: 2px;
  margin: 14px 0 13px;
  background: linear-gradient(90deg, var(--accent-hi), var(--accent-low));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .7s cubic-bezier(.2,.8,.3,1) var(--d, 0ms);
}
.is-in .stat__rule{ transform: scaleX(1); }
.stat:hover .stat__rule{ width: 48px; transition: transform .7s, width .35s ease; }

.stat__label{
  display: block;
  font-size: .88rem; line-height: 1.5; color: var(--ink-soft);
  text-wrap: pretty;
}
.stat__note{
  display: flex; align-items: center; gap: 8px;
  margin-top: auto; padding-top: 16px;
  font-size: .67rem; letter-spacing: .13em; text-transform: uppercase;
  font-weight: 700; color: var(--ink-mute);
}
.stat__note::before{
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(108,75,245,.18);
  flex: none;
}

.stat__value.is-todo{
  font-size: clamp(.82rem, 1.1vw, .9rem);
  letter-spacing: .04em; white-space: normal;
  color: var(--accent-hi);
  border: 1px dashed var(--line-glow);
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(108,75,245,.07);
  display: inline-block;
}

/* ---------------------------------------------------- DÉFILEMENT INFINI -- */
/* Mécanique partagée par le bandeau de logos et le carrousel du hero. */
.marquee__track{
  display: flex; width: max-content;
  animation: marquee-scroll var(--marquee-duration, 26s) linear infinite;
}
.is-marquee:hover .marquee__track,
.is-marquee:focus-within .marquee__track,
.is-marquee.is-holding .marquee__track{ animation-play-state: paused; }

@keyframes marquee-scroll{
  from{ transform: translate3d(0, 0, 0); }
  to  { transform: translate3d(var(--marquee-shift, -50%), 0, 0); }
}

.marquee__row{
  display: flex; align-items: center; gap: var(--marquee-gap, 12px);
  padding-inline: calc(var(--marquee-gap, 12px) / 2);
}
.marquee__row--static{
  flex-wrap: wrap; justify-content: center;
  padding-inline: clamp(20px, 5vw, 40px);
}
.marquee__cell{ flex: none; display: flex; }

/* ------------------------------------------------------- BANDEAU LOGOS -- */
.logobar{ margin-top: clamp(30px, 3.4vw, 44px); }
.logobar__label{
  margin: 0 0 20px;
  text-align: center;
  font-size: .7rem; letter-spacing: .13em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-mute);
}
.logobar__viewport{ position: relative; }
/* Fondu sur les bords : le bandeau naît et disparaît, il ne se coupe pas. */
.logobar__viewport.is-marquee{
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.logobar__item{
  flex: none;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: 168px;
}

.logobar__plate{
  display: grid; place-items: center;
  width: 100%; height: 66px; padding: 0 20px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #FAFAFD, #ECECF3);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 24px -16px rgba(0,0,0,.9);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease;
}
.logobar__item:hover .logobar__plate{
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -16px rgba(0,0,0,1);
}

/* Calage optique : la hauteur utile dépend des proportions du logo. */
.logobar__plate img{
  width: auto; max-width: 100%;
  object-fit: contain;
  height: 32px;                      /* défaut, avant mesure */
}
.logobar__plate img.is-square{ height: 46px; }   /* logos carrés ou ronds */
.logobar__plate img.is-wide{   height: 36px; }   /* logotypes classiques */
.logobar__plate img.is-long{   height: 28px; }   /* logotypes très allongés */

/* Logo qui porte déjà son propre fond : il remplit la plaque. */
.logobar__plate--bleed{ padding: 0; border-color: rgba(255,255,255,.18); }
.logobar__plate--bleed img,
.logobar__plate--bleed img.is-square,
.logobar__plate--bleed img.is-wide,
.logobar__plate--bleed img.is-long{
  height: 100%; width: 100%; max-width: none;
  object-fit: cover;
}
/* Pastille ronde, pour un compte de créateur. */
.logobar__plate--round img,
.logobar__plate--round img.is-square,
.logobar__plate--round img.is-wide{
  height: 50px; width: 50px; max-width: none;
  border-radius: 50%; object-fit: cover;
}
/* Wordmark texte, pour les marques dont on n'a pas encore le fichier logo. */
.logobar__word{
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em;
  color: #15161D; white-space: nowrap;
}

.logobar__name{
  font-size: .72rem; font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink-mute);
  text-align: center;
  white-space: nowrap;
  transition: color .3s ease;
}
.logobar__item:hover .logobar__name{ color: var(--ink-soft); }

/* ============================= LE SYSTÈME ROMEDIA ========================= */
.sys{
  position: relative;
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--line-hi);
  border-radius: var(--r-lg);
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(59,91,240,.12), transparent 55%),
    radial-gradient(80% 100% at 100% 0%, rgba(147,51,234,.10), transparent 55%),
    linear-gradient(180deg, var(--surface), rgba(13,14,21,.9));
  box-shadow: var(--shadow-lg);
}

.sys__body{
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(120px, 168px) minmax(0,1fr);
  gap: clamp(12px, 1.4vw, 20px);
  align-items: stretch;
}

/* --- Un moteur ----------------------------------------------------------- */
.sys__engine{
  display: flex; flex-direction: column;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(0,0,0,.3);
}
.sys__tag{
  align-self: flex-start;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: .66rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-hi);
  padding: 5px 11px;
  border: 1px solid var(--line-glow); border-radius: 999px;
  background: rgba(108,75,245,.1);
}
.sys__engine h3{ font-size: clamp(1.2rem, 1.9vw, 1.5rem); margin-bottom: 8px; }
.sys__lede{
  margin: 0 0 22px;
  color: var(--ink-soft); font-size: .92rem;
  text-wrap: pretty;
}

/* --- Les quatre étapes, reliées entre elles ------------------------------ */
.sysflow{ position: relative; display: flex; flex-direction: column; }
.sysflow__step{
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 11px 0;
  opacity: 0; transform: translateY(8px);
  transition: opacity .55s ease calc(.12s + var(--i) * .12s),
              transform .55s cubic-bezier(.2,.7,.3,1) calc(.12s + var(--i) * .12s);
}
.is-in .sysflow__step{ opacity: 1; transform: none; }

/* Le fil vertical qui relie une étape à la suivante */
.sysflow__step:not(:last-child)::after{
  content: '';
  position: absolute; left: 21px; top: 55px; bottom: -5px;
  width: 1px;
  background: linear-gradient(180deg, var(--line-glow), rgba(138,107,255,.14));
}

.mi{
  flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-hi);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  transition: border-color .35s ease, background-color .35s ease, transform .35s cubic-bezier(.2,.7,.3,1);
}
.sysflow__step:hover .mi{
  border-color: var(--line-glow);
  transform: translateY(-2px);
}
.mi svg{
  width: 24px; height: 24px;
  fill: none;
  stroke: rgba(255,255,255,.72); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.mi .mi-fill{ fill: var(--accent-hi); stroke: none; }
.mi .mi-fill-stroke{ stroke: var(--accent-hi); }
.mi .mi-accent{ stroke: var(--accent-hi); stroke-width: 2; }
.mi .mi-back{ stroke: rgba(255,255,255,.3); }

.sysflow__label{
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 600; color: var(--ink);
}

/* --- La sortie d'un moteur ---------------------------------------------- */
.sys__out{
  margin: 22px 0 0;
  padding: 12px 16px;
  border-radius: 10px;
  text-align: center;
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: #D6CCFF;
  border: 1px dashed var(--line-glow);
  background: rgba(108,75,245,.09);
}
.sys__out--strong{
  color: #fff;
  border-style: solid;
  border-color: transparent;
  background: linear-gradient(180deg, #7350F0, #5F3DEB);
  box-shadow: 0 10px 30px -14px var(--accent-glow);
}

/* --- La transition centrale --------------------------------------------- */
.sys__bridge{
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 8px 4px;
}
.sys__stream{
  position: relative;
  /* Le flux déborde volontairement de sa colonne : il touche les deux
     moteurs et montre que l'attention passe de l'un à l'autre. */
  width: calc(100% + clamp(24px, 2.8vw, 40px));
  margin-inline: calc(-1 * clamp(12px, 1.4vw, 20px));
  height: 26px;
}
.sys__streamLine{
  position: absolute; left: 0; right: 0; top: 50%;
  height: 2px; transform: translateY(-50%);
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(138,107,255,.15), var(--accent-hi) 30%, var(--accent-hi) 70%, rgba(138,107,255,.15));
  box-shadow: 0 0 14px rgba(108,75,245,.45);
}
/* Les deux prises, à chaque extrémité */
.sys__streamLine::before,
.sys__streamLine::after{
  content: '';
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--accent-hi);
}
.sys__streamLine::before{ left: -2px; }
.sys__streamLine::after{ right: -2px; }

.sys__stream i{
  position: absolute; top: 50%; left: 0;
  width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 0 14px 3px rgba(160,130,255,.9);
  opacity: 0;
  animation: sys-flow 4.8s cubic-bezier(.55,0,.45,1) infinite;
  animation-delay: var(--s, 0s);
}
@keyframes sys-flow{
  0%      { left: 0;    opacity: 0 }
  10%     { opacity: 1 }
  80%     { opacity: 1 }
  92%,100%{ left: 100%; opacity: 0 }
}
.sys__bridgeLabel{
  margin: 0; text-align: center;
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 600; line-height: 1.4;
  color: var(--ink);
  text-wrap: balance;
}

/* --- La boucle de retour ------------------------------------------------- */
.sys__return{
  position: relative;
  margin-top: clamp(16px, 2vw, 24px);
  padding-top: 26px;
  height: 74px;
}
/* Un « U » à l'envers : le fil descend à droite, traverse, remonte à gauche. */
.sys__rail{
  position: absolute; inset: 0 clamp(40px, 8%, 90px) 20px;
  border: 1px solid var(--line-glow);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  overflow: hidden;
}
.sys__railPulse{
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-hi), transparent);
  background-size: 34% 100%;
  background-repeat: no-repeat;
  background-position: 130% 0;
  animation: sys-return 5.5s cubic-bezier(.5,0,.5,1) infinite;
}
@keyframes sys-return{
  0%  { background-position: 130% 0 }
  100%{ background-position: -40% 0 }
}
/* La flèche qui repique vers le moteur 1 */
.sys__railArrow{
  position: absolute; left: -6px; top: -2px;
  width: 11px; height: 11px;
  border-left: 2px solid var(--accent-hi);
  border-top: 2px solid var(--accent-hi);
  border-radius: 2px 0 0 0;
  transform: rotate(45deg);
}
.sys__returnLabel{
  position: absolute; left: 50%; bottom: 7px;
  transform: translateX(-50%);
  margin: 0; padding: 0 16px;
  background: #101119;
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 600; white-space: nowrap;
  color: var(--ink);
}

/* --- Le cycle ------------------------------------------------------------ */
.sys__cycle{
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 6px 8px;
  margin-top: clamp(14px, 1.8vw, 20px);
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-mute);
}
.sys__cycle li{ display: flex; align-items: center; gap: 8px; }
.sys__cycle li:not(:last-child)::after{ content: '→'; color: var(--accent); }
.sys__cycle li:last-child{ color: var(--accent-hi); }

/* ------------------------------------------------------ ÉTUDE DE CAS ---- */
/* En-tête : le titre respire à gauche, les repères tiennent la droite. */
.case-head{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(34px, 4vw, 52px);
}
.case-head h2{
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 14px;
}
.case-head__sub{
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.5vw, 1.28rem);
  font-weight: 500; line-height: 1.3; letter-spacing: -.012em;
  color: var(--ink-soft);
  max-width: 26ch;
  text-wrap: balance;
}

.case-facts{
  display: grid; gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.case-facts > div{
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 14px;
  padding: 13px 16px;
  background: rgba(10,11,16,.72);
}
.case-facts dt{
  font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute);
  align-self: center;
}
.case-facts dd{
  margin: 0;
  font-size: .88rem; font-weight: 500; color: var(--ink);
  text-wrap: pretty;
}

.shorts{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.case-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 32px);
  align-items: start;
}
.case-h3{
  font-size: 1.02rem;
  letter-spacing: .01em;
  margin-bottom: 12px;
}
.case-note{
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), rgba(18,19,27,.5));
}
.case-note p{ color: var(--ink-soft); font-size: .95rem; }
.case-note strong{ color: var(--ink); font-weight: 600; }
.case-note__lede{ margin-bottom: 20px; }

/* Trois piliers, lisibles d'un coup d'œil plutôt qu'en un seul pavé */
.pillars{ display: flex; flex-direction: column; gap: 1px; margin: 0 0 18px; }
.pillar{
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.pillar:last-child{ border-bottom: 1px solid var(--line); }
.pillar__n{
  flex: none;
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  color: var(--accent-hi);
  padding-top: 2px;
}
.pillar h4{
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: .97rem; font-weight: 600; letter-spacing: -.01em;
  color: var(--ink);
}
.pillar p{ margin: 0; font-size: .9rem !important; line-height: 1.5; }
.case-note__meta{
  color: var(--ink-mute) !important;
  font-size: .84rem !important;
  line-height: 1.6;
}

/* Vidéo YouTube (façade cliquable, aucun chargement avant clic) */
.yt{
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-hi);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  width: 100%; padding: 0; display: block;
}
.yt img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.yt:hover img{ transform: scale(1.03); }
.yt__veil{
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(10,11,16,.15), rgba(10,11,16,.6));
}
.yt__play{
  width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #7350F0, #5F3DEB);
  box-shadow: 0 12px 34px -10px var(--accent-glow), 0 0 0 1px rgba(255,255,255,.16) inset;
  transition: transform .24s cubic-bezier(.2,.7,.3,1);
}
.yt:hover .yt__play{ transform: scale(1.09); }
.yt__play svg{ width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.yt__meta{
  position: absolute; left: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 600;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(10,11,16,.7);
  border: 1px solid var(--line-hi);
  backdrop-filter: blur(8px);
  color: var(--ink-soft);
}
.yt iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Captures de stats — carrousel manuel */
.proof-shots{ margin-top: clamp(32px, 4vw, 52px); }
.proof-shots__head{
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.proof-shots__hint{
  margin: 0;
  font-size: .74rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute);
}

.carousel__nav{ display: flex; gap: 8px; flex: none; }
.carousel__btn{
  width: 40px; height: 40px; padding: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-hi);
  background: rgba(255,255,255,.04);
  color: var(--ink);
  cursor: pointer;
  transition: background-color .22s ease, border-color .22s ease, opacity .22s ease;
}
.carousel__btn svg{
  width: 17px; height: 17px;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.carousel__btn:hover:not(:disabled){
  background: rgba(255,255,255,.09);
  border-color: var(--line-glow);
}
.carousel__btn:disabled{ opacity: .3; cursor: default; }

.shots{
  display: flex;
  gap: clamp(12px, 1.6vw, 18px);
  overflow-x: auto;
  /* `proximity` et non `mandatory` : le calage ne se bat pas avec les flèches. */
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Le rail va bord à bord pour montrer qu'il défile. */
  margin-inline: calc(-1 * clamp(20px, 5vw, 40px));
  padding: 4px clamp(20px, 5vw, 40px);
  scroll-padding-inline-start: clamp(20px, 5vw, 40px);
}
.shots::-webkit-scrollbar{ display: none; }
.shots:focus-visible{ outline-offset: -2px; }

.shot{
  flex: 0 0 clamp(258px, 30%, 340px);
  scroll-snap-align: start;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
  transition: border-color .3s ease;
}
.shot:hover{ border-color: var(--line-hi); }
.shot img{
  width: 100%; height: auto; aspect-ratio: 8 / 5;
  /* Les chiffres clés sont en haut à gauche de chaque capture. */
  object-fit: cover; object-position: left top;
  background: #fff;
}
.shot figcaption{
  padding: 12px 14px;
  font-size: .84rem; font-weight: 600; color: var(--ink);
  border-top: 1px solid var(--line);
}
.shot__src{
  display: block; margin-top: 4px;
  font-size: .72rem; font-weight: 500; color: var(--ink-mute);
}

/* ------------------------------------------- LA PAGE KARTLAND EN VRAI -- */
.kartsite{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(36px, 4.5vw, 60px);
  padding: clamp(26px, 3.4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(108,75,245,.12), transparent 58%),
    var(--surface);
}
.kartsite__copy > p{ color: var(--ink-soft); font-size: .96rem; }
.kartsite__actions:not(:empty){ margin-top: 24px; }

/* Le parcours : chaque étape montre l'écran réel, pas une puce numérotée */
.flow{
  display: flex; flex-direction: column;
  margin-top: 26px;
}
.flow__step{
  position: relative;
  display: flex; align-items: center; gap: 16px;
  padding: 11px 0;
  opacity: 0; transform: translateY(8px);
  transition: opacity .55s ease calc(.15s + var(--i) * .13s),
              transform .55s cubic-bezier(.2,.7,.3,1) calc(.15s + var(--i) * .13s);
}
.is-in .flow__step{ opacity: 1; transform: none; }

/* Le fil qui descend d'une étape à la suivante */
.flow__step:not(:last-child)::after{
  content: '';
  position: absolute; left: 22px; top: 57px; bottom: -6px;
  width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-hi), rgba(138,107,255,.12));
}

.flow__node{
  position: relative;
  flex: none;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  border: 1px solid var(--line-hi);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  transition: border-color .35s ease, transform .35s cubic-bezier(.2,.7,.3,1),
              box-shadow .35s ease;
}
.flow__step:hover .flow__node{
  border-color: var(--accent-hi);
  transform: translateY(-2px);
  box-shadow: 0 0 20px -6px var(--accent-glow);
}
.flow__node svg{
  width: 23px; height: 23px;
  fill: none; stroke: rgba(255,255,255,.75); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.flow__node .f-fill{ fill: rgba(255,255,255,.75); stroke: none; }
.flow__node .f-accent{ stroke: var(--accent-hi); stroke-width: 1.8; }
.flow__node .f-accent-fill{ fill: var(--accent); stroke: none; }

/* Le numéro, en pastille, posé sur le coin de l'écran */
.flow__n{
  position: absolute; top: -6px; right: -6px;
  display: grid; place-items: center;
  width: 19px; height: 19px; border-radius: 50%;
  font-family: var(--font-display);
  font-size: .62rem; font-weight: 700; font-style: normal;
  color: #fff;
  background: linear-gradient(180deg, #7350F0, #5F3DEB);
  border: 2px solid var(--surface);
}

.flow__body{ display: block; min-width: 0; }
.flow__label{
  display: block;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: var(--ink);
}
.flow__detail{
  display: block; margin-top: 3px;
  font-size: .87rem; color: var(--ink-mute);
}

/* Cadre de téléphone : la vraie page, qui défile lentement */
.kartsite__device{ display: grid; justify-items: center; gap: 12px; }
.phone{
  width: min(330px, 100%);
  padding: 10px;
  border-radius: 34px;
  background: linear-gradient(180deg, #23242F, #14151D);
  border: 1px solid var(--line-hi);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.6);
}
.phone__screen{
  position: relative;
  aspect-ratio: 9 / 17.5;
  border-radius: 26px;
  overflow: hidden;
  background: #0B1229;
}
/* Encoche */
.phone__screen::before{
  content: '';
  position: absolute; z-index: 2; top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 86px; height: 20px; border-radius: 999px;
  background: #0C0D14;
}
.phone__page{
  width: 100%; height: auto; display: block;
  animation: phone-scroll 34s cubic-bezier(.45,0,.55,1) infinite alternate;
}
.phone:hover .phone__page{ animation-play-state: paused; }
@keyframes phone-scroll{
  from{ transform: translateY(0); }
  to  { transform: translateY(calc(-100% + 575px)); }
}
.phone__cap{
  margin: 0; text-align: center;
  font-size: .78rem; color: var(--ink-mute);
  max-width: 30ch;
}

.cta-inline{
  display: flex; justify-content: center;
  margin-top: clamp(36px, 4.5vw, 56px);
}

/* --------------------------------------------------- VALUE ASSET / VIDEO -- */
.va{ position: relative; }
.va .yt{ aspect-ratio: 16/9; }

.slot{
  position: relative;
  display: grid; place-items: center;
  gap: 12px;
  padding: clamp(30px, 5vw, 56px) 26px;
  text-align: center;
  border: 1px dashed var(--line-glow);
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(108,75,245,.09), transparent 60%),
    var(--surface);
}
.slot--video{ aspect-ratio: 16/9; align-content: center; }
.slot__tag{
  font-family: var(--font-display);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-hi);
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line-glow);
  background: rgba(108,75,245,.1);
}
.slot__title{
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.02rem; color: var(--ink);
}
.slot__hint{
  font-size: .84rem; color: var(--ink-mute);
  max-width: 46ch; margin: 0;
}
.slot__code{
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .78rem;
  color: var(--ink-soft);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px 9px;
}
.slot__icon{
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-glow);
  background: rgba(108,75,245,.12);
}
.slot__icon svg{ width: 19px; height: 19px; fill: none; stroke: var(--accent-hi); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.after-video{
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  margin-top: clamp(26px, 3vw, 38px);
  text-align: center;
}
.after-video p{
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 600; letter-spacing: -.015em;
}

/* --------------------------------------------------------------- MÉTHODE -- */
.journey{ --gap: clamp(14px, 1.8vw, 22px); }

/* --- Le fil des 90 jours ------------------------------------------------- */
.journey__rail{
  position: relative;
  height: 52px;
  margin-bottom: clamp(6px, 1vw, 12px);
}
.journey__track,
.journey__fill,
.journey__pulse{
  position: absolute; left: 5px; right: 5px; bottom: 9px; height: 2px;
  border-radius: 2px;
}
.journey__track{ background: rgba(255,255,255,.1); }
.journey__fill{
  background: linear-gradient(90deg, var(--accent-low), var(--accent-hi));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.5s cubic-bezier(.35,.1,.25,1) .15s;
}
.is-in .journey__fill{ transform: scaleX(1); }

/* Une impulsion repasse lentement sur le fil, une fois qu'il est tracé */
.journey__pulse{
  background: linear-gradient(90deg, transparent, #EDE9FF, transparent);
  background-size: 26% 100%;
  background-repeat: no-repeat;
  background-position: -30% 0;
  opacity: 0;
}
.is-in .journey__pulse{
  opacity: 1;
  animation: journey-pulse 6s cubic-bezier(.5,0,.5,1) 1.7s infinite;
}
@keyframes journey-pulse{
  0%      { background-position: -30% 0 }
  70%,100%{ background-position: 130% 0 }
}

.journey__ticks{
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  height: 100%;
}
.journey__ticks li{
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  justify-content: flex-end;
  height: 100%;
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  color: var(--ink-mute);
}
.journey__ticks li b{ order: -1; font-weight: 700; }
.journey__ticks i{
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--bg);
  border: 2px solid rgba(255,255,255,.24);
  margin-bottom: 4px;
}
/* Le dernier repère est posé au bout du fil */
.journey__ticks li.is-end{
  position: absolute; right: 0; bottom: 0;
  align-items: flex-end;
  color: var(--accent-hi);
}
.journey__ticks li.is-end i{
  background: var(--accent);
  border-color: var(--accent-hi);
  box-shadow: 0 0 0 4px rgba(108,75,245,.2), 0 0 14px rgba(108,75,245,.5);
}

/* --- Les trois phases ---------------------------------------------------- */
.journey__steps{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-bottom: clamp(28px, 3.5vw, 42px);
}

.phase{
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(108,75,245,.09), transparent 62%),
    linear-gradient(180deg, var(--surface), rgba(18,19,27,.5));
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color .4s ease, transform .4s cubic-bezier(.2,.7,.3,1);
}
.phase::before{
  content: ''; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-glow) 45%, transparent);
  opacity: .5; transition: opacity .4s ease;
}
.phase:hover{ border-color: var(--line-hi); transform: translateY(-4px); }
.phase:hover::before{ opacity: 1; }

.phase__head{
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 18px;
}
.phase__n{
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: .88rem;
  color: var(--accent-hi);
  border: 1px solid var(--line-glow);
  background: rgba(108,75,245,.1);
}
.phase__when{
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  color: var(--ink-mute);
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line);
}
.phase h3{ margin-bottom: 9px; }
.phase > p{ color: var(--ink-soft); font-size: .95rem; }
.phase__out{
  margin-top: auto;
  padding-top: 18px;
  font-size: .88rem; font-weight: 600;
  color: var(--accent-hi) !important;
  line-height: 1.45;
  text-wrap: pretty;
}

/* --- Les trois visuels : même viewBox, donc même hauteur ----------------- */
.phase__viz{
  margin: 0 0 20px;
  padding: 12px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(108,75,245,.07), transparent 70%),
    rgba(0,0,0,.34);
  overflow: hidden;
}
.phase__viz svg{
  width: 100%; height: auto; display: block;
  aspect-ratio: 300 / 130;
}

/* Phase 1 — on verrouille une direction */
.ph__aimGlow{ fill: rgba(108,75,245,.42); opacity: .35; animation: ph-breathe 6s ease-in-out infinite; }
@keyframes ph-breathe{ 0%,100%{ opacity: .22 } 50%{ opacity: .5 } }
.ph__aim{ fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1.6; }
.ph__aimDot{ fill: var(--accent-hi); }

.ph__opt rect{ fill: rgba(255,255,255,.03); stroke: rgba(255,255,255,.08); stroke-width: 1; }
.ph__opt .ph__optLine{ fill: rgba(255,255,255,.14); stroke: none; }
.ph__opt{ transition: opacity .5s ease; }
.phase:hover .ph__opt{ opacity: .45; }

.ph__pick{
  transform-origin: 187px 67px;
  transform: scale(.95); opacity: 0;
  transition: transform .8s cubic-bezier(.2,.85,.3,1.05) .25s, opacity .6s ease .25s;
}
.is-in .ph__pick{ transform: scale(1); opacity: 1; }
.phase:hover .ph__pick{ transform: scale(1.03); }
.ph__pickPlate{ fill: rgba(24,20,48,.96); stroke: var(--accent-hi); stroke-width: 1.5; }
.ph__pickLine{ fill: rgba(255,255,255,.85); }
.ph__pickRing{ fill: rgba(108,75,245,.22); stroke: var(--accent-hi); stroke-width: 1.4; }
.ph__pickCheck{
  fill: none; stroke: var(--accent-hi); stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 16; stroke-dashoffset: 16;
  transition: stroke-dashoffset .5s ease .95s;
}
.is-in .ph__pickCheck{ stroke-dashoffset: 0; }

/* Phase 2 — le contenu part, le parcours suit */
.ph__waves path{ fill: none; stroke: rgba(138,107,255,.35); stroke-width: 1.8; stroke-linecap: round; }
.ph__plate{ fill: rgba(18,19,29,1); stroke: rgba(255,255,255,.18); stroke-width: 1.4; }
.ph__plate--lit{ fill: rgba(24,20,48,.96); stroke: var(--accent-hi); }
.ph__playFill{ fill: rgba(255,255,255,.7); }
.ph__pageLine{ fill: none; stroke: rgba(255,255,255,.4); stroke-width: 2.4; stroke-linecap: round; }
.ph__cta{ fill: var(--accent); }

.ph__wire{ stroke: rgba(255,255,255,.14); stroke-width: 2; stroke-linecap: round; }
.ph__wireLit{
  stroke: var(--accent-hi); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 58; stroke-dashoffset: 58;
  transition: stroke-dashoffset .9s cubic-bezier(.4,.1,.2,1) .3s;
}
.is-in .ph__wireLit{ stroke-dashoffset: 0; }
.ph__wireDot{ fill: #EDE9FF; opacity: 0; }
.is-in .ph__wireDot{ animation: ph-travel 5s cubic-bezier(.5,0,.5,1) 1.4s infinite; }
@keyframes ph-travel{
  0%      { transform: translateX(0);   opacity: 0 }
  12%     { opacity: 1 }
  76%     { opacity: 1 }
  88%,100%{ transform: translateX(58px); opacity: 0 }
}
.ph__okRing{ fill: rgba(108,75,245,.2); stroke: var(--accent-hi); stroke-width: 1.4; }
.ph__okCheck{
  fill: none; stroke: var(--accent-hi); stroke-width: 2.3;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 20; stroke-dashoffset: 20;
  transition: stroke-dashoffset .5s ease 1.2s;
}
.is-in .ph__okCheck{ stroke-dashoffset: 0; }

/* Phase 3 — on garde ce qui prend, on le décline */
.ph__tested rect{ fill: rgba(255,255,255,.03); stroke: rgba(255,255,255,.08); stroke-width: 1; }
.ph__tested{ transition: opacity .5s ease; }
.phase:hover .ph__tested{ opacity: .4; }

.ph__win{ fill: rgba(24,20,48,.96); stroke: var(--accent-hi); stroke-width: 1.5; }
.ph__winBar{ fill: rgba(255,255,255,.8); }
.ph__winBar--soft{ fill: rgba(255,255,255,.34); }

.ph__fan path{
  fill: none; stroke: var(--accent-hi); stroke-width: 1.6;
  stroke-linecap: round; opacity: .7;
  stroke-dasharray: 210; stroke-dashoffset: 210;
  transition: stroke-dashoffset .8s cubic-bezier(.4,.1,.2,1);
}
.ph__fan path:nth-child(1){ transition-delay: .35s }
.ph__fan path:nth-child(2){ transition-delay: .5s }
.ph__fan path:nth-child(3){ transition-delay: .65s }
.is-in .ph__fan path{ stroke-dashoffset: 0; }

.ph__clones rect{
  fill: rgba(108,75,245,.2);
  stroke: var(--accent-hi); stroke-width: 1.3;
  opacity: 0; transform-origin: center;
  transition: opacity .5s ease, transform .6s cubic-bezier(.2,.85,.3,1.05);
}
.ph__clones rect:nth-child(1){ transition-delay: .8s }
.ph__clones rect:nth-child(2){ transition-delay: .95s }
.ph__clones rect:nth-child(3){ transition-delay: 1.1s }
.is-in .ph__clones rect{ opacity: 1; }
.phase:hover .ph__clones rect{ transform: translateX(4px); }

.ph__cloneBars rect{
  fill: rgba(255,255,255,.6);
  opacity: 0; transition: opacity .5s ease;
}
.ph__cloneBars rect:nth-child(1){ transition-delay: .9s }
.ph__cloneBars rect:nth-child(2){ transition-delay: 1.05s }
.ph__cloneBars rect:nth-child(3){ transition-delay: 1.2s }
.is-in .ph__cloneBars rect{ opacity: 1; }

.disclaimer{ margin-inline: auto; text-align: center; }

/* ----------------------------------------------------------- RÉSERVATION -- */
.booking{
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  overflow: hidden;
}
.booking__glow{
  position: absolute; z-index: 0;
  bottom: -46%; left: 50%; transform: translateX(-50%);
  width: min(1000px, 130vw); aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%,
              rgba(108,75,245,.20) 0%, rgba(108,75,245,.06) 38%, transparent 64%);
  pointer-events: none;
}
.booking .shell{ position: relative; z-index: 1; }

.booking__slot{
  border: 1px solid var(--line-hi);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.booking__slot iframe{ width: 100%; border: 0; display: block; background: #fff; }
/* Le widget iClosed s'affiche sur fond clair : on lui prépare la place pour
   qu'il n'y ait pas de trou sombre pendant son chargement. */
.booking__slot .iclosed-widget{
  background: #fff;
  display: block;
}
.booking__slot .iclosed-widget iframe{ border-radius: 0; }
.booking__slot .slot{ border: 0; border-radius: 0; }

.booking__foot{
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin-top: 26px;
}

/* ---------------------------------------------------------------- FOOTER -- */
.footer{
  border-top: 1px solid var(--line);
  padding-top: clamp(40px, 5vw, 60px);
  padding-bottom: 28px;
  background: var(--bg);
}
.footer__inner{
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1.4fr) auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.footer__brand p{
  margin: 12px 0 0;
  font-size: .84rem; color: var(--ink-mute); max-width: 32ch;
}
.footer__links{ display: flex; flex-wrap: wrap; gap: 12px 40px; }
.footer__links ul{ display: flex; flex-direction: column; gap: 9px; }
.footer__links a{ font-size: .88rem; color: var(--ink-soft); transition: color .2s ease; }
.footer__links a:hover{ color: var(--ink); }
.footer__links .is-todo{
  font-size: .82rem; color: var(--ink-mute);
  border-bottom: 1px dashed var(--line-glow);
}
.footer__contact a{
  font-size: .9rem; font-weight: 600; color: var(--ink-soft);
  border-bottom: 1px solid var(--line-hi);
  padding-bottom: 2px; transition: color .2s ease, border-color .2s ease;
}
.footer__contact a:hover{ color: var(--accent-hi); border-color: var(--accent); }
.footer__copy{
  margin-top: clamp(32px, 4vw, 46px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.footer__copy p{ font-size: .8rem; color: var(--ink-mute); margin: 0; }

/* ------------------------------------------------------- PAGES LÉGALES -- */
/* Navigation réduite : sur ces pages il n'y a rien à parcourir. */
.nav--simple .nav__inner{ justify-content: space-between; }

.legal{
  padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 88px));
  padding-bottom: clamp(64px, 8vw, 110px);
  position: relative;
}
.legal::before{
  content: ''; position: absolute; z-index: 0;
  top: -30%; left: 50%; transform: translateX(-50%);
  width: min(900px, 130vw); aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%,
              rgba(108,75,245,.14) 0%, rgba(108,75,245,.04) 38%, transparent 64%);
  pointer-events: none;
}
.legal__wrap{ position: relative; z-index: 1; max-width: 780px; }

.legal h1{
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  margin-bottom: 10px;
}
.legal__updated{
  margin: 0 0 clamp(36px, 4vw, 52px);
  font-size: .88rem; color: var(--ink-mute);
}
.legal h1 + .legal__block{ margin-top: clamp(36px, 4vw, 52px); }

.legal__block{
  padding-top: clamp(26px, 3vw, 36px);
  margin-top: clamp(26px, 3vw, 36px);
  border-top: 1px solid var(--line);
}
.legal__block:first-of-type{ border-top: 0; padding-top: 0; }
.legal__block h2{
  font-size: clamp(1.15rem, 1.8vw, 1.42rem);
  margin-bottom: 14px;
}
.legal__block p{
  color: var(--ink-soft);
  font-size: .97rem; line-height: 1.72;
  max-width: 68ch;
  text-wrap: pretty;
}
.legal__block p + p{ margin-top: 1em; }
.legal__strong{ color: var(--ink) !important; font-weight: 600; }

.legal a{
  color: var(--accent-hi);
  border-bottom: 1px solid var(--line-glow);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}
.legal a:hover{ color: #fff; border-color: var(--accent-hi); }

/* Les informations d'identification, posées en tableau lisible */
.legal__facts{
  display: grid; gap: 1px;
  margin: 22px 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.legal__facts > div{
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr);
  gap: 14px;
  padding: 13px 16px;
  background: var(--surface);
}
.legal__facts dt{
  font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute);
  align-self: center;
}
.legal__facts dd{
  margin: 0;
  font-size: .92rem; font-weight: 500; color: var(--ink);
}

@media (max-width: 620px){
  .legal__facts > div{ grid-template-columns: 1fr; gap: 4px; }
}

/* ------------------------------------------------------------ STICKY CTA -- */
.sticky-cta{
  position: fixed; z-index: 90;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: none;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid var(--line-hi);
  background: rgba(13,14,21,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.95);
  transform: translateY(150%);
  transition: transform .32s cubic-bezier(.2,.7,.3,1);
}
.sticky-cta.is-visible{ transform: translateY(0); }

/* ------------------------------------------------------------- REVEAL ---- */
.reveal{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.2,.7,.3,1) var(--d, 0ms),
              transform .6s cubic-bezier(.2,.7,.3,1) var(--d, 0ms);
}
.reveal.is-in{ opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal{ opacity: 1; transform: none; }

  /* Les éléments qui n'existaient qu'à travers une animation sont figés
     dans un état lisible : rien ne disparaît quand on coupe le mouvement. */
  .sys__stream i{ opacity: 1 !important; }
  .sys__stream i:nth-of-type(1){ left: 14% }
  .sys__stream i:nth-of-type(2){ left: 48% }
  .sys__stream i:nth-of-type(3){ left: 82% }
  .sys__railPulse{ background-position: 50% 0 !important; }
  .journey__pulse, .ph__wireDot{ display: none; }
  .journey__fill{ transform: scaleX(1) !important; }
  .ph__pick, .ph__clones rect, .ph__cloneBars rect{ opacity: 1 !important; transform: none !important; }
  .ph__fan path, .ph__pickCheck, .ph__wireLit, .ph__okCheck{ stroke-dashoffset: 0 !important; }
}

/* ══════════════════════════════════════════════════════════════ RESPONSIVE */

@media (max-width: 1080px){
  /* minmax(0, …) : sans cela, la piste se cale sur le contenu le plus large
     (les formats verticaux) et pousse le hero hors de l'écran. */
  .hero__grid{ grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero__copy{ max-width: min(760px, 100%); }
  .hero__visual{ width: 100%; max-width: min(620px, 100%); }
  .case-grid{ grid-template-columns: 1fr; }

  /* Le système passe en parcours vertical : moteur 1, attention,
     moteur 2, réservations, puis les données qui repartent. */
  .sys__body{ grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sys__bridge{ padding: 20px 4px; gap: 14px; }
  .sys__stream{
    width: 26px; height: 76px;
    margin-inline: 0; margin-block: calc(-1 * clamp(10px, 1.6vw, 16px));
  }
  .sys__streamLine{
    left: 50%; right: auto; top: 0; bottom: 0;
    width: 2px; height: auto;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(138,107,255,.15), var(--accent-hi) 30%, var(--accent-hi) 70%, rgba(138,107,255,.15));
  }
  /* Les deux prises passent en haut et en bas */
  .sys__streamLine::before,
  .sys__streamLine::after{
    left: 50%; right: auto; top: auto;
    transform: translateX(-50%);
  }
  .sys__streamLine::before{ top: -2px; }
  .sys__streamLine::after{ bottom: -2px; }
  .sys__stream i{
    left: 50%; top: 0; margin-top: 0; margin-left: -4px;
    animation-name: sys-flow-v;
  }
  @keyframes sys-flow-v{
    0%      { top: 0;    opacity: 0 }
    10%     { opacity: 1 }
    80%     { opacity: 1 }
    92%,100%{ top: 100%; opacity: 0 }
  }

  .footer__inner{ grid-template-columns: 1fr 1fr; }
  .footer__contact{ grid-column: 1 / -1; }
}

@media (max-width: 900px){
  .nav__links{ display: none; }
  .nav__burger{ display: flex; }
  .nav__inner{ justify-content: space-between; }
  .nav.is-open .nav__mobile{ display: flex; }

  .proofbar__stats{ grid-template-columns: repeat(2, 1fr); }
  /* Les 90 jours passent en parcours vertical : le fil horizontal n'a plus
     de sens, chaque phase porte sa propre période et son maillon. */
  .journey__rail{ display: none; }
  .journey__steps{ grid-template-columns: 1fr; }
  .phase__viz{ max-width: 520px; margin-inline: auto; width: 100%; }
  /* Le maillon entre deux phases */
  .phase:not(:last-child)::after{
    content: '';
    position: absolute; z-index: 2;
    left: 50%; bottom: calc(-1 * var(--gap) / 2 - 13px);
    width: 26px; height: 26px; border-radius: 50%;
    transform: translateX(-50%);
    background: var(--bg);
    border: 1px solid var(--line-glow);
  }
  .phase:not(:last-child) .phase__out::after{
    content: '';
    position: absolute; z-index: 3;
    left: 50%; bottom: calc(-1 * var(--gap) / 2 - 5px);
    width: 7px; height: 7px;
    border-top: 1.8px solid var(--accent-hi);
    border-right: 1.8px solid var(--accent-hi);
    transform: translateX(-50%) rotate(135deg);
  }
  .phase{ overflow: visible; }
  .phase__out{ position: relative; }
  .kartsite{ grid-template-columns: 1fr; }
  .kartsite__device{ order: -1; }
  .case-head{ grid-template-columns: 1fr; align-items: start; gap: 26px; }
  .case-head__sub{ max-width: 40ch; }
}

@media (max-width: 720px){
  :root{ --nav-h: 60px; }

  .nav__actions .btn--sm{ display: none; }
  .nav.is-open .nav__actions .btn--sm{ display: none; }

  .hero{ padding-top: calc(var(--nav-h) + 40px); }
  .hero__cta{ flex-direction: column; align-items: stretch; }
  .hero__cta .btn{ width: 100%; }

  /* Le carrousel du hero garde sa mécanique : seules les cartes rétrécissent. */
  .stack .vcard{ width: 148px; }
  .stack .marquee__row--static{
    margin-inline: calc(-1 * clamp(20px, 5vw, 40px));
    padding-inline: clamp(20px, 5vw, 40px);
    scrollbar-width: none;
  }
  .stack .marquee__row--static::-webkit-scrollbar{ display: none; }

  .shorts{
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * clamp(20px, 5vw, 40px));
    padding: 0 clamp(20px, 5vw, 40px) 6px;
    scrollbar-width: none;
  }
  .shorts::-webkit-scrollbar{ display: none; }
  .shorts .vcard{ flex: 0 0 min(62vw, 250px); scroll-snap-align: center; }


  .sticky-cta{ display: block; }
  body{ padding-bottom: 84px; }

  .footer__inner{ grid-template-columns: 1fr; }
  .footer__links{ gap: 24px 40px; }

  /* La boucle de retour respire sur petit écran */
  .sys__return{ height: 104px; padding-top: 22px; }
  .sys__rail{ inset: 0 14px 34px; }
  .sys__returnLabel{
    white-space: normal; text-align: center;
    max-width: 72%; padding: 0 10px; bottom: 6px;
    line-height: 1.35;
  }
  .sys__cycle{ font-size: .68rem; letter-spacing: .1em; }
}

@media (max-width: 620px){
  .case-facts > div{ grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 460px){
  .proofbar__stats{ grid-template-columns: 1fr; }
  .funnel__lbl{ font-size: .62rem; letter-spacing: -.01em; }
  .funnel__node{ width: 34px; height: 34px; }
  .funnel__track{ left: 30px; right: 30px; top: 56px; }
}
