:root {
  --accent: #ff6a00;
  --accent-lt: #ff8a33;
  --accent-soft: rgba(255, 106, 0, 0.12);
  --accent-glow: rgba(255, 106, 0, 0.4);
  --bg: #000000;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --dim: rgba(255, 255, 255, 0.42);
  --radius: 24px;
  --ease: cubic-bezier(0.6, 0.6, 0, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Geist", "Inter", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --card-bg: radial-gradient(45% 95% at 50% 100%, rgba(255, 255, 255, 0.045) 0%, transparent 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.06) 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.08;
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.1), 0 0 24px rgba(0, 0, 0, 0.12);
}

h1 {
  font-size: clamp(42px, 6.4vw, 74px);
}

h2 {
  font-size: clamp(34px, 4.4vw, 52px);
}

h3 {
  font-size: clamp(24px, 2.6vw, 32px);
}

h4 {
  font-size: 18px;
  letter-spacing: -0.02em;
  font-weight: 500;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.narrow {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.center {
  text-align: center;
}

.section {
  position: relative;
  padding: 130px 0;
  overflow-x: clip;
}

.label {
  display: inline-block;
  margin-bottom: 14px;
  font-weight: 500;
  font-size: 15px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.55) 0%, transparent 100%), var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 20px;
  font-size: 17px;
  max-width: 480px;
}

.center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Background structure ---------- */
.guides {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.guides::before,
.guides::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  left: max(24px, calc(50% - 600px));
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.13) 0 2px, transparent 2px 10px);
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}

.guides::after {
  left: auto;
  right: max(24px, calc(50% - 600px));
}

.dash {
  height: 1px;
  width: 100%;
  background: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 10px);
}

.section > .dash {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(100px);
  background: var(--accent);
  opacity: 0.16;
}

.section > .container {
  z-index: 1;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--card-bg);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), color 0.3s;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255, 255, 255, 0.04);
}

/* Primary: inner pill + rotating light border */
.btn-primary {
  padding: 5px;
  border: none;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #fff;
}

.btn-primary .in {
  position: relative;
  display: block;
  padding: 11px 22px;
  border-radius: inherit;
  background: linear-gradient(180deg, #ff7a1a 0%, var(--accent) 55%, #d95300 100%);
  box-shadow: 0 2px 15px rgba(255, 106, 0, 0.25), 0 6px 27px rgba(255, 106, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 1px 4px rgba(255, 255, 255, 0.3);
  transition: box-shadow 0.45s var(--ease);
  overflow: hidden;
}

.btn-primary .in::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: shine 4.5s var(--ease) infinite;
}

@keyframes shine {
  0%, 60% {
    left: -60%;
  }
  100% {
    left: 130%;
  }
}

.btn-primary:hover .in {
  box-shadow: 0 2px 20px rgba(255, 106, 0, 0.4), 0 0 40px rgba(255, 106, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 1px 6px rgba(255, 255, 255, 0.7);
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  overflow: hidden;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
}

.ring::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130%;
  aspect-ratio: 1;
  background: conic-gradient(from 0deg, transparent 0 260deg, var(--accent-lt) 355deg, transparent 360deg),
    rgba(255, 106, 0, 0.14);
  transform: translate(-50%, -50%);
  animation: rotate 6s linear infinite;
}

@keyframes rotate {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.btn-white .in {
  background: #fff;
  color: #111;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.btn-white .ring::after {
  background: conic-gradient(from 0deg, transparent 0 260deg, #fff 355deg, transparent 360deg), rgba(255, 255, 255, 0.2);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  align-items: center;
}

.btn-row.center {
  justify-content: center;
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  border-radius: var(--radius);
  background: var(--card-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: inset 0 10px 34px rgba(255, 255, 255, 0.02), inset 0 0 15px rgba(255, 255, 255, 0.035),
    0 -5px 35px rgba(0, 0, 0, 0.07);
  isolation: isolate;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.11);
  mask: linear-gradient(to top, transparent 0%, #000 100%);
  -webkit-mask: linear-gradient(to top, transparent 0%, #000 100%);
  pointer-events: none;
}

/* mouse spotlight */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 106, 0, 0.09), transparent 60%);
  z-index: -1;
}

.card:hover::after {
  opacity: 1;
}

/* le cadre de la vidéo est couvert par son contenu : le halo passe au-dessus */
.video-frame::after {
  z-index: 1;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 106, 0, 0.16), transparent 60%);
}

/* Titre du hero : même halo rouge, sur les lettres et derrière elles */
@property --spot {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

[data-spot-text] {
  position: relative;
  isolation: isolate;
}

[data-spot-text]::after {
  content: "";
  position: absolute;
  inset: -60px;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s ease;
  background: radial-gradient(80px circle at calc(var(--mx, 50%) + 60px) calc(var(--my, 50%) + 60px), rgba(255, 106, 0, 0.08), transparent 65%);
}

[data-spot-text]:hover::after {
  opacity: 1;
}

[data-spot-text] .w {
  margin-right: -0.06em;
}

[data-spot-text] .w > span {
  --spot: 0;
  padding: 0 0.06em 0.08em 0;
  margin-bottom: -0.08em;
  background: radial-gradient(60px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 106, 0, var(--spot)) 0%, rgba(255, 106, 0, 0) 100%), linear-gradient(#fff, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  transition: transform 0.9s var(--ease-out), opacity 0.9s var(--ease-out), --spot 0.7s ease;
  transition-delay: calc(var(--i) * 70ms), calc(var(--i) * 70ms), 0s;
}

[data-spot-text]:hover .w > span {
  --spot: 0.2;
}

.pad {
  padding: 32px;
}

/* inline brand tile inside headings */
.tile {
  display: inline-grid;
  place-items: center;
  vertical-align: middle;
  width: 1.15em;
  height: 1.15em;
  margin: -0.1em 0.12em 0;
  border-radius: 0.28em;
  background: radial-gradient(70% 70% at 50% 0%, rgba(255, 255, 255, 0.35), transparent),
    linear-gradient(180deg, #ff7a1a, #b84a00);
  box-shadow: 0 0 30px rgba(255, 106, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  position: relative;
}

.tile img {
  width: 72%;
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

/* ---------- Yeux du logo (animés par main.js) ---------- */
.tf-eyes {
  position: relative;
  display: inline-flex;
  flex: none;
  aspect-ratio: 166 / 34;
}

.tf-eyes .tf-eye {
  width: 50%;
  height: auto;
  max-width: none;
  filter: none;
  transform-origin: 50% 55%;
  will-change: transform;
}

/* ---------- Split text ---------- */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.w > span {
  display: inline-block;
  transform: translateY(110%) rotate(8deg);
  transform-origin: left bottom;
  opacity: 0;
  transition: transform 0.9s var(--ease-out), opacity 0.9s var(--ease-out);
  transition-delay: calc(var(--i) * 70ms);
}

[data-split].in .w > span {
  transform: none;
  opacity: 1;
}

[data-split] .tile {
  transform: translateY(24px) scale(0.6);
  opacity: 0;
  transition: transform 0.9s var(--ease-out), opacity 0.9s;
  transition-delay: calc(var(--i) * 70ms);
}

[data-split].in .tile {
  transform: none;
  opacity: 1;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.45s var(--ease), backdrop-filter 0.45s;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.nav-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: radial-gradient(50% 100% at 50% 50%, rgba(255, 255, 255, 0.16) 40%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s;
}

.nav.scrolled .nav-line {
  opacity: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.brand .tf-eyes {
  width: 42px;
  filter: drop-shadow(0 0 6px rgba(255, 106, 0, 0.7));
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 15px;
}

.nav-links a {
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.45s var(--ease);
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:last-child {
  top: 23px;
}

.nav.open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav.open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
/* hero en plein écran : la vidéo passe en dessous, place libre pour un fond */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-eyes {
  display: flex;
  width: 150px;
  margin: 0 auto 34px;
}

/* halo rouge, de la couleur du logo. Posé sur chaque œil : le conteneur a la classe .reveal,
   dont l'état final remet filter à none et effaçait le halo. */
.hero-eyes .tf-eye {
  filter: drop-shadow(0 0 4px rgba(255, 106, 0, 0.8)) drop-shadow(0 0 14px rgba(255, 106, 0, 0.55)) drop-shadow(0 0 32px rgba(255, 106, 0, 0.3));
}

.rotator-line {
  margin-top: 28px;
  font-size: 20px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 10px;
}

.rotator {
  position: relative;
  display: inline-block;
  height: 1.6em;
  clip-path: inset(0 -200px);
  vertical-align: bottom;
  transition: width 0.5s var(--ease);
}

.rot-item {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 1.6em;
  width: max-content;
  white-space: nowrap;
  color: var(--text);
  font-weight: 600;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out);
}

.rot-item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.rot-item img.round {
  border-radius: 50%;
}

.rot-item.active {
  transform: none;
  opacity: 1;
}

.rot-item.leave {
  transform: translateY(-100%);
  opacity: 0;
}

/* ---------- Courbe de progression ---------- */
.growth {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 100px;
}

.growth h2 {
  max-width: 760px;
  margin: 0 auto;
}

.growth-wrap {
  position: relative;
  margin-top: 56px;
  padding: 44px 0 0 70px;
  text-align: left;
}

.growth-title {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.growth-axis-y {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 13px;
  color: var(--dim);
}

.growth-ticks {
  position: absolute;
  left: 0;
  top: 44px;
  bottom: 34px;
  width: 58px;
}

.growth-ticks span {
  position: absolute;
  right: 0;
  font-size: 12px;
  color: var(--dim);
  transform: translateY(-50%);
}

/* alignées sur les lignes de la grille (0, 113, 226, 340 sur 340) */
.growth-ticks span:nth-child(1) {
  top: 0;
}

.growth-ticks span:nth-child(2) {
  top: 33.3%;
}

.growth-ticks span:nth-child(3) {
  top: 66.5%;
}

.growth-ticks span:nth-child(4) {
  top: 100%;
}

.growth-axis-x {
  display: flex;
  justify-content: space-between;
  height: 34px;
  padding-top: 10px;
  font-size: 13px;
  color: var(--dim);
}

/* années aux deux bouts de l'axe du temps */
.growth-axis-x b {
  font-weight: 500;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.growth-axes line {
  stroke: rgba(255, 255, 255, 0.25);
  vector-effect: non-scaling-stroke;
}

.growth-chart {
  position: relative;
  aspect-ratio: 1000 / 340;
}

.growth-chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.growth-grid line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-dasharray: 2 8;
}

.growth-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.4s var(--ease-out) 0.2s;
}

.growth-area {
  opacity: 0;
  transition: opacity 1.2s var(--ease) 1.4s;
}

.growth-wrap.in .growth-line {
  stroke-dashoffset: 0;
}

.growth-wrap.in .growth-area {
  opacity: 1;
}

.here {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s var(--ease-out) 1s, transform 0.8s var(--ease-out) 1s;
}

.growth-wrap.in .here {
  opacity: 1;
  transform: none;
}

.here-dot {
  position: absolute;
  left: -8px;
  top: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.25), 0 0 20px var(--accent);
}

.here-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: here-ping 2s ease-out infinite;
}

@keyframes here-ping {
  from {
    transform: scale(1);
    opacity: 0.8;
  }
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

.here-label {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 6px 24px rgba(255, 106, 0, 0.4);
}

.here-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* logo The Foundation en noir dans l'étiquette */
.here-label .tf-eyes {
  width: 30px;
  filter: brightness(0);
}

.here-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  transform: translateX(-50%) rotate(45deg);
}

.why {
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- Offre de lancement ---------- */
.offer {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.offer-badge {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(255, 106, 0, 0.45);
}

.offer-prices {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.offer-old {
  position: relative;
  font-size: 26px;
  font-weight: 500;
  color: var(--dim);
  text-decoration: none;
}

/* barre rouge tracée en diagonale */
.offer-old::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: 50%;
  height: 2px;
  background: var(--accent);
  transform: rotate(-8deg) scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out) 1.2s;
}

.offer.in .offer-old::after {
  transform: rotate(-8deg) scaleX(1);
}

.offer-new {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
}

.offer-note {
  font-size: 13px;
  color: var(--dim);
}

.offer.ended .offer-badge,
.offer.ended .offer-old,
.offer.ended .offer-note {
  display: none;
}

/* ---------- Compte à rebours ---------- */
.countdown {
  margin-top: 30px;
}

.countdown-label {
  font-size: 14px;
  color: var(--dim);
  margin-bottom: 14px;
}

.countdown-units {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

.cd-unit {
  width: 86px;
  padding: 14px 0 10px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.cd-num {
  display: block;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.cd-num.tick {
  animation: cd-tick 0.45s var(--ease-out);
}

@keyframes cd-tick {
  from {
    transform: translateY(-40%);
    opacity: 0;
    filter: blur(3px);
  }
}

.cd-unit:last-of-type .cd-num {
  color: var(--accent);
}

.cd-name {
  margin-top: 4px;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cd-sep {
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  padding-top: 18px;
  color: var(--dim);
  animation: pulse 1s steps(1) infinite;
}

.countdown.ended {
  display: none;
}

/* ---------- Video ---------- */
.video-section {
  padding: 40px 0 110px;
}

.video-title {
  margin: 0 auto 40px;
  text-align: center;
}

.video-frame {
  max-width: 1000px;
  margin: 0 auto;
  padding: 8px;
  border-radius: 28px;
}

.video-slot {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #050505;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.video-slot video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding-left: 4px;
  background: linear-gradient(180deg, #ff7a1a, var(--accent));
  box-shadow: 0 0 40px rgba(255, 106, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.45s var(--ease);
}

.video-frame:hover .play {
  transform: scale(1.08);
}

.pill-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  font-size: 14px;
}

.pill-top b {
  background: var(--accent);
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 0 14px var(--accent-glow);
}

/* Agent window */
.agent-window {
  max-width: 1000px;
  margin: 80px auto 0;
  padding: 8px;
  border-radius: 28px;
}

.agent-inner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #0f0f11;
  border: 1px solid var(--line);
  text-align: left;
}

.agent-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--dim);
}

.agent-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}

.agent-bar span {
  margin-left: 10px;
  font-family: var(--mono);
}

.agent-bar .live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-family: var(--font);
}

.agent-bar .live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}

.agent-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 340px;
}

.flow {
  position: relative;
  padding: 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flow-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 14px;
  opacity: 0.35;
  transform: scale(0.98);
  transition: all 0.6s var(--ease);
}

.flow-step img {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  object-fit: contain;
  flex: none;
}

.flow-step small {
  display: block;
  color: var(--dim);
  font-size: 12px;
}

.flow-step .state {
  margin-left: auto;
  font-size: 12px;
  color: var(--dim);
}

.flow-step.active {
  opacity: 1;
  transform: none;
  border-color: rgba(255, 106, 0, 0.5);
  background: var(--accent-soft);
  box-shadow: 0 0 30px rgba(255, 106, 0, 0.12);
}

.flow-step.active .state {
  color: var(--accent);
}

.flow-step.done {
  opacity: 0.8;
  transform: none;
}

.log {
  padding: 28px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 2;
  color: var(--dim);
}

.log div {
  animation: log-in 0.5s var(--ease-out);
}

@keyframes log-in {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
}

.log .ok {
  color: var(--accent);
}

.log .w2 {
  color: var(--text);
}

.caret {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--text);
  vertical-align: -2px;
  animation: pulse 1s steps(1) infinite;
}

/* ---------- Companies ---------- */
.companies {
  text-align: center;
  margin-bottom: 110px;
}

.companies-label {
  font-size: 14px;
  color: var(--dim);
  margin-bottom: 28px;
}

.companies-marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.companies-marquee + .companies-marquee {
  margin-top: 22px;
}

.companies-marquee.rtl .companies-track {
  animation-direction: normal;
}

.companies-track {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  flex: none;
  /* défilement de gauche à droite */
  animation: companies-x 70s linear infinite reverse;
}

/* tous les logos ont le même canevas 400x120 : même taille affichée */
.companies-track img {
  height: 54px;
  width: auto;
  max-width: none;
  opacity: 0.6;
  transition: opacity 0.35s;
}

.companies-track img:hover {
  opacity: 1;
}

@keyframes companies-x {
  to {
    transform: translateX(-100%);
  }
}

/* ---------- Reviews ---------- */
.reviews {
  margin: 64px 0 110px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.review-row {
  display: flex;
  overflow: hidden;
}

.review-track {
  display: flex;
  gap: 18px;
  padding-right: 18px;
  flex: none;
  animation: reviews-x 60s linear infinite;
}

.review-row.reverse .review-track {
  animation-direction: reverse;
}

.review-row:hover .review-track {
  animation-play-state: paused;
}

@keyframes reviews-x {
  to {
    transform: translateX(-100%);
  }
}

.review {
  width: 360px;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
}

.review p {
  color: var(--text);
  font-size: 15px;
}

.review-foot {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, #2a2a2e, #141416);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  flex: none;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-name {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}

.review-role {
  font-size: 13px;
  color: var(--dim);
}

.review-result {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-lt);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 106, 0, 0.3);
  white-space: nowrap;
}

/* ---------- Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.beam-list {
  position: relative;
  margin-top: 30px;
  padding: 4px 0 4px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.beam-list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--accent);
  box-shadow: 0 0 5px rgba(255, 106, 0, 0.5), 0 0 20px rgba(255, 106, 0, 0.7);
}

.beam-list::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 106, 0, 0.1), transparent);
  filter: blur(5px);
  z-index: -1;
}

.beam-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 500;
}

.beam-list svg {
  width: 20px;
  height: 20px;
  flex: none;
}

/* Simulator */
.sim {
  padding: 10px;
  border-radius: 28px;
}

.sim-inner {
  padding: 28px;
  border-radius: 20px;
}

.sim h4 {
  color: var(--text);
}

.sim .sub {
  font-size: 14px;
  margin-top: 6px;
}

.meter {
  position: relative;
  margin: 30px 0 8px;
}

.bars {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 54px;
  gap: 3px;
}

.bars i {
  flex: 1;
  border-radius: 3px;
  height: 100%;
  background: rgba(255, 255, 255, 0.14);
  transition: background 0.25s, box-shadow 0.25s, height 0.25s;
}

.bars i.on {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.55);
}

.meter input {
  position: absolute;
  inset: -10px 0 -24px;
  width: 100%;
  opacity: 0;
  cursor: grab;
  margin: 0;
}

.thumb {
  position: relative;
  height: 20px;
  margin-top: 8px;
}

.thumb span {
  position: absolute;
  left: var(--p, 25%);
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 12px solid var(--accent);
  filter: drop-shadow(0 0 6px var(--accent));
  transition: left 0.1s;
}

.sim-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.sim-box {
  border-radius: 16px;
  padding: 16px 18px;
}

.sim-box strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.04em;
}

.sim-box.hot {
  background: radial-gradient(45% 95% at 50% 100%, rgba(255, 106, 0, 0.08), transparent),
    linear-gradient(180deg, rgba(255, 106, 0, 0.06), rgba(255, 106, 0, 0.09));
}

.sim-box.hot strong {
  background: radial-gradient(50% 60% at 50% 50%, rgba(255, 255, 255, 0.6), transparent), var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sim-box span {
  font-size: 13px;
}

.sim-note {
  font-size: 12px;
  color: var(--dim);
  margin-top: 14px;
}

/* ---------- Results (rotating circles) ---------- */
.orbits {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 0;
}

.orbit {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transform: translate(-50%, -50%);
  animation: orbit 12s linear infinite;
}

.orbit::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 0 250deg, var(--accent) 345deg, transparent 360deg);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
}

.orbit::after {
  content: "";
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 290deg, rgba(255, 106, 0, 0.35) 350deg, transparent 360deg);
  filter: blur(30px);
}

.orbit.o1 {
  width: 1300px;
  height: 1300px;
}

.orbit.o2 {
  width: 960px;
  height: 960px;
  animation-delay: -4s;
}

.orbit.o3 {
  width: 620px;
  height: 620px;
  animation-delay: -8s;
}

@keyframes orbit {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.curve {
  position: relative;
  height: 24px;
  margin: 70px 0 -1px;
}

.curve svg {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1440px;
  transform: translateX(-50%);
}

.sweep {
  animation: sweep 7s linear infinite;
}

@keyframes sweep {
  from {
    transform: translateX(-400px);
  }
  to {
    transform: translateX(1840px);
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  overflow: hidden;
  padding: 0;
}

.illu {
  position: relative;
  height: 300px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
}

.feature-card .txt {
  padding: 4px 32px 32px;
}

.feature-card .txt p {
  margin-top: 10px;
  font-size: 15px;
  max-width: 400px;
}

/* chart illustration */
.chart {
  position: absolute;
  inset: 34px 26px 0 64px;
}

.chart-y {
  position: absolute;
  left: 22px;
  top: 30px;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 11px;
  color: var(--dim);
}

.chart svg {
  width: 100%;
  height: 210px;
  overflow: visible;
}

.chart .area {
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}

.chart .ln {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linejoin: round;
  transition: stroke-dashoffset 1.8s var(--ease-out), opacity 0.6s;
}

.chart .ln.ghost {
  stroke: rgba(255, 106, 0, 0.15);
  stroke-width: 1;
}

.chart .ln.blur {
  filter: blur(6px);
  stroke-width: 3;
}

.chart .series {
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.chart .series.active {
  opacity: 1;
}

.chart .series.active .area {
  opacity: 1;
}

.chart-pills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.cpill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--text);
  opacity: 0.45;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.cpill img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: contain;
}

.cpill.active {
  opacity: 1;
  transform: translateY(-3px);
}

/* chat illustration */
.chat {
  position: absolute;
  inset: 30px 30px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  max-width: 85%;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(5px);
  transition: all 0.7s var(--ease-out);
}

.msg.show {
  opacity: 1;
  transform: none;
  filter: none;
}

.msg.me {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.avatar.bot {
  background: linear-gradient(180deg, #ff7a1a, #b84a00);
  border: 0;
  box-shadow: 0 0 14px rgba(255, 106, 0, 0.4);
}

.avatar.bot img {
  width: 70%;
  filter: brightness(0) invert(1);
}

.bubble {
  padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  font-size: 13.5px;
  color: var(--text);
}

.msg.me .bubble {
  border-radius: 16px 16px 4px 16px;
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.18), rgba(255, 106, 0, 0.1));
}

.typing {
  display: inline-flex;
  gap: 4px;
  padding: 4px 2px;
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: dot 1.1s ease-in-out infinite;
}

.typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes dot {
  0%, 60%, 100% {
    transform: none;
    opacity: 0.35;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.mini-features {
  margin-top: 56px;
}

.mini-features h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 16px;
}

.mini-features h4 svg {
  width: 20px;
  height: 20px;
}

.mini-features p {
  margin-top: 8px;
  font-size: 14px;
}

/* ---------- Compare ---------- */
.head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 70px;
}

.head-row p {
  max-width: 420px;
}

.compare-wrap {
  position: relative;
}

.corner-dots i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.corner-dots i:nth-child(1) {
  top: -4px;
  left: -4px;
}

.corner-dots i:nth-child(2) {
  top: -4px;
  right: -4px;
}

.corner-dots i:nth-child(3) {
  bottom: -4px;
  right: -4px;
}

.corner-dots i:nth-child(4) {
  bottom: -4px;
  left: -4px;
}

.compare .card {
  padding: 32px;
}

.compare-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  margin-bottom: 26px;
  color: var(--text);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.03em;
  border-bottom: 1px solid transparent;
  border-image: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.15) 0 2px, transparent 2px 10px) 1;
}

.compare-head .tile {
  font-size: 40px;
  margin: 0;
}

.compare-head .tile.off {
  background: var(--card-bg);
  box-shadow: none;
  border: 1px solid var(--line-strong);
}

.compare ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 500;
  opacity: 0;
  transform: translateX(-12px);
  transition: all 0.6s var(--ease-out);
  transition-delay: calc(var(--i) * 80ms + 0.2s);
}

.compare .in li {
  opacity: 1;
  transform: none;
}

.mark {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--card-bg);
  border: 1px solid var(--line);
}

.mark svg {
  width: 16px;
  height: 16px;
}

.mark.yes svg {
  filter: drop-shadow(0 0 6px var(--accent)) drop-shadow(0 2px 6px rgba(255, 106, 0, 0.5));
}

.mark.no svg {
  opacity: 0.45;
}

.is-us {
  overflow: hidden;
}

.is-us .glow-bottom {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -120px;
  height: 200px;
  background: var(--accent);
  filter: blur(80px);
  opacity: 0.25;
  z-index: -1;
}

/* ---------- Steps ---------- */
.step-card {
  overflow: hidden;
}

.step-illu {
  position: relative;
  height: 250px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
}

.step-illu * {
  transition: all 0.6s var(--ease);
}

.step-txt {
  padding: 4px 28px 30px;
}

.step-txt .label {
  margin-bottom: 8px;
  font-size: 14px;
}

.step-txt p {
  margin-top: 10px;
  font-size: 14.5px;
}

/* step 1: checkout */
.cal {
  position: absolute;
  inset: 30px 28px auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.cal i {
  height: 38px;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.09);
}

.cal i.hl {
  border: 0;
  border-left: 3px solid var(--accent);
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.14), rgba(255, 106, 0, 0.06));
}

.pay-card {
  position: absolute;
  top: 40px;
  right: -220px;
  width: 220px;
  padding: 16px;
  border-radius: 16px;
  font-size: 12px;
  opacity: 0;
  filter: blur(14px);
  transform: scale(0.92);
}

.pay-card .row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.pay-card .row b {
  color: var(--text);
  font-weight: 500;
}

.pay-card .go {
  margin-top: 12px;
  padding: 8px;
  text-align: center;
  border-radius: 8px;
  color: #fff;
  font-weight: 500;
  background: linear-gradient(180deg, #ff7a1a, var(--accent));
}

.step-card.anim .pay-card {
  right: 26px;
  opacity: 1;
  filter: none;
  transform: none;
}

.step-card.anim .cal {
  opacity: 0.5;
}

/* step 2: module stack */
.stack {
  position: absolute;
  left: 50%;
  top: 34px;
  width: 260px;
  transform: translateX(-50%);
}

.mod {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  font-size: 13px;
  color: var(--text);
}

.mod .thumb2 {
  width: 54px;
  height: 36px;
  border-radius: 8px;
  flex: none;
  background: radial-gradient(60% 80% at 50% 100%, rgba(255, 106, 0, 0.5), transparent),
    linear-gradient(135deg, #1b1b1f, #2a1018);
  display: grid;
  place-items: center;
}

.mod .thumb2::after {
  content: "";
  border-left: 8px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.mod .bar {
  height: 4px;
  border-radius: 4px;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.mod .bar i {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.mod:nth-child(1) {
  top: 0;
  z-index: 3;
}

.mod:nth-child(2) {
  top: 12px;
  z-index: 2;
  transform: scale(0.92);
  opacity: 0.6;
}

.mod:nth-child(3) {
  top: 24px;
  z-index: 1;
  transform: scale(0.84);
  opacity: 0.3;
}

.step-card.anim .mod:nth-child(1) {
  top: 0;
}

.step-card.anim .mod:nth-child(2) {
  top: 70px;
  transform: none;
  opacity: 1;
  transition-delay: 0.08s;
}

.step-card.anim .mod:nth-child(3) {
  top: 140px;
  transform: none;
  opacity: 1;
  transition-delay: 0.16s;
}

/* step 3: dashboard graph */
.graph {
  position: absolute;
  inset: 40px 0 0;
}

.graph svg {
  width: 100%;
  height: 190px;
}

.graph .mask-rect {
  transform: translateX(-62%);
  transition: transform 1.2s var(--ease-out);
}

.step-card.anim .graph .mask-rect {
  transform: none;
}

.graph-tip {
  position: absolute;
  top: 10px;
  right: 24px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
  color: var(--text);
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  filter: blur(5px);
}

.graph-tip b {
  color: var(--accent);
}

.step-card.anim .graph-tip {
  opacity: 1;
  transform: none;
  filter: none;
  transition-delay: 0.5s;
}

/* ---------- Modules ---------- */
.tabs-nav {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  width: fit-content;
  margin: 0 auto 50px;
}

.tab-ind {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 20px rgba(255, 106, 0, 0.12);
  transition: left 0.5s var(--ease), width 0.5s var(--ease);
}

.tab-btn {
  position: relative;
  z-index: 1;
  padding: 10px 18px;
  border: 0;
  background: none;
  border-radius: 999px;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.35s;
  white-space: nowrap;
}

.tab-btn:hover,
.tab-btn.active {
  color: var(--text);
}

.tab-btn img {
  display: inline-block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: -3px;
  margin-right: 6px;
  border-radius: 4px;
}

.panels {
  max-width: 1000px;
  margin: 0 auto;
}

.panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.panel.active {
  display: grid;
}

.panel.active > * {
  animation: panel-in 0.7s var(--ease-out) both;
}

.panel.active > *:nth-child(2) {
  animation-delay: 0.1s;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(6px);
  }
}

.panel p.desc {
  margin-top: 14px;
  font-size: 15px;
  max-width: 380px;
}

.lessons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
}

.lesson {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}

.panel-visual {
  position: relative;
  aspect-ratio: 1 / 0.92;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.panel-visual .big {
  width: 34%;
  max-width: 150px;
  filter: drop-shadow(0 10px 40px rgba(255, 106, 0, 0.35));
  animation: float 5s ease-in-out infinite;
}

.panel-visual .big.round {
  border-radius: 50%;
}

@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}

.panel-visual .rings i {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transform: translate(-50%, -50%);
  animation: ripple 4s var(--ease) infinite;
}

.panel-visual .rings i:nth-child(1) {
  width: 46%;
  aspect-ratio: 1;
}

.panel-visual .rings i:nth-child(2) {
  width: 70%;
  aspect-ratio: 1;
  animation-delay: 0.6s;
}

.panel-visual .rings i:nth-child(3) {
  width: 94%;
  aspect-ratio: 1;
  animation-delay: 1.2s;
}

@keyframes ripple {
  50% {
    border-color: rgba(255, 106, 0, 0.3);
  }
}

.panel-visual .tag {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
}

/* ---------- Pricing ---------- */
.pricing {
  max-width: 520px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 32px;
}

.pricing-inner {
  padding: 36px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 4px;
}

.price strong {
  font-size: 76px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--text);
}

.pricing .beam-list {
  margin-top: 26px;
}

.pricing .btn {
  width: 100%;
  margin-top: 30px;
}

.pricing .btn .in {
  width: 100%;
  text-align: center;
}

.pricing-meta {
  font-size: 13px;
  text-align: center;
  color: var(--dim);
  margin-top: 14px;
}

.pricing-meta a {
  text-decoration: underline;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: 18px;
}

.faq-q {
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--text);
  font: inherit;
  font-weight: 500;
  text-align: left;
}

.faq-q .plus {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--card-bg);
  border: 1px solid var(--line);
}

.faq-q .plus svg {
  width: 16px;
  height: 16px;
  transition: transform 0.45s var(--ease), filter 0.45s;
}

.faq-item.open .plus svg {
  transform: rotate(45deg);
  filter: drop-shadow(0 0 6px #fff);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > div {
  overflow: hidden;
}

.faq-a p {
  padding: 0 22px 22px;
  font-size: 15px;
}

/* ---------- Questions libres (FAQ) ---------- */
.ask {
  max-width: 1000px;
  margin: 56px auto 0;
}

.ask-log {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.ask-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.55;
  animation: panel-in 0.5s var(--ease-out) both;
}

.ask-msg.me {
  align-self: flex-end;
  color: var(--text);
  border-radius: 16px 16px 4px 16px;
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.2), rgba(255, 106, 0, 0.1));
  border: 1px solid rgba(255, 106, 0, 0.3);
}

.ask-msg.bot {
  align-self: flex-start;
  color: var(--muted);
  border-radius: 16px 16px 16px 4px;
  background: var(--card-bg);
  border: 1px solid var(--line);
}

.ask-msg.bot a {
  color: var(--text);
  text-decoration: underline;
}

.ask-msg.error {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--accent);
  border-color: rgba(255, 106, 0, 0.45);
  background: rgba(255, 106, 0, 0.06);
}

.ask-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
}

.ask-eyes {
  width: 34px;
}

.ask-bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  padding: 10px 0;
}

.ask-bar input::placeholder {
  color: var(--dim);
}

.ask-bar:focus-within::before {
  border-color: rgba(255, 106, 0, 0.6);
}

.ask-send {
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: linear-gradient(180deg, #ff7a1a, var(--accent));
  box-shadow: 0 0 20px rgba(255, 106, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.35s var(--ease);
}

.ask-send:hover {
  transform: scale(1.06);
}

.ask-send:disabled {
  opacity: 0.5;
  cursor: default;
}

/* ---------- CTA ---------- */
.cta-plain {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 0 40px;
}

.cta-join {
  margin-top: 30px;
  text-align: center;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--accent);
}

/* le logo est posé à droite sans décaler le texte, qui reste centré */
.cta-join-text {
  position: relative;
  display: inline-block;
}

.cta-join-text .eyes-look {
  position: absolute;
  left: 100%;
  top: 50%;
  margin: -0.3em 0 0 0.5em;
}

.eyes-look {
  width: 1.9em;
  filter: drop-shadow(0 0 10px rgba(255, 106, 0, 0.7));
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px 0 22px;
  background: #000;
  color: #fff;
  font-size: 10px;
  line-height: 1.35;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}

.footer p {
  margin: 0;
}

.footer .footer-brand {
  justify-content: center;
  gap: 7px;
  font-size: 12px;
}

.footer .footer-brand .tf-eyes {
  width: 26px;
}

.footer .footer-brand .tf-eye {
  filter: brightness(0) invert(1);
}

/* Lumière qui suit la souris (footer.js) : elle colore le texte blanc sans toucher au fond noir */
.footer-tint {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 340px;
  height: 340px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: transform;
  background: radial-gradient(circle closest-side, #ff9a4d 0%, #ffab6b 30%, #ffd2ad 62%, #fff 100%);
  mix-blend-mode: multiply;
}

.footer.lit .footer-tint {
  opacity: 1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
}

.footer-disclaimer {
  max-width: 440px;
}

.footer p.footer-copy {
  margin-top: 2px;
}

/* ---------- Legal page ---------- */
.legal {
  position: relative;
  padding: 160px 0 80px;
}

.legal .container {
  max-width: 820px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 60px;
}

.legal section {
  margin-bottom: 70px;
  scroll-margin-top: 100px;
}

.legal h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 10px;
}

.legal h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 30px 0 10px;
}

.legal p,
.legal li {
  font-size: 15px;
  line-height: 1.75;
}

.legal p + p {
  margin-top: 10px;
}

.legal ul {
  padding-left: 20px;
}

.legal .updated {
  font-size: 13px;
  color: var(--dim);
  margin-top: 14px;
}

.legal dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px 20px;
  margin: 20px 0 0;
  font-size: 15px;
}

.legal dt {
  color: var(--text);
  font-weight: 500;
}

.legal dd {
  margin: 0;
}

.todo {
  color: #ffc699;
  background: rgba(255, 106, 0, 0.15);
  border-radius: 4px;
  padding: 0 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .section {
    padding: 100px 0;
  }

  .split,
  .panel.active {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .tabs-nav {
    width: auto;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: 18px;
  }

  .tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 24px;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.45s var(--ease);
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav.open .nav-links {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav.open {
    background: rgba(0, 0, 0, 0.96);
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 767px) {
  .growth-wrap {
    padding-left: 44px;
  }

  .growth-ticks {
    width: 36px;
  }

  .growth-axis-y {
    font-size: 12px;
  }

  .cta-join-text .eyes-look {
    position: static;
    display: flex;
    margin: 16px auto 0;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 140px 0 60px;
  }

  .hero-eyes {
    width: 110px;
  }

  .rotator-line {
    font-size: 17px;
  }

  .play {
    width: 60px;
    height: 60px;
  }

  .agent-body {
    grid-template-columns: 1fr;
  }

  .flow {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .log {
    min-height: 200px;
  }

  .nav-cta {
    display: none;
  }

  .pad,
  .compare .card,
  .pricing-inner {
    padding: 24px;
  }

  .feature-card .txt {
    padding: 4px 24px 24px;
  }

  .chart {
    inset: 30px 16px 0 52px;
  }

  .chart-y {
    left: 14px;
  }


  .legal dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .legal dd {
    margin-bottom: 12px;
  }

}

@media (max-width: 479px) {
  .ask-msg {
    max-width: 92%;
  }
  .offer-new {
    font-size: 44px;
  }

  .offer-old {
    font-size: 21px;
  }
  .countdown-units {
    gap: 6px;
  }

  .cd-unit {
    width: 68px;
  }

  .cd-num {
    font-size: 26px;
  }

  .cd-sep {
    font-size: 22px;
    padding-top: 16px;
  }
  .review {
    width: 290px;
  }

  .companies-track {
    gap: 24px;
    padding-right: 24px;
  }

  .companies-track img {
    height: 42px;
  }

  .sim-row {
    grid-template-columns: 1fr;
  }

  .btn-row .btn {
    width: 100%;
  }

  .btn-row .btn-primary .in {
    width: 100%;
    text-align: center;
  }

  .cpill span {
    display: none;
  }
}

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

  .reveal,
  .w > span,
  [data-split] .tile {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Préchargement */
body.is-loading {
  overflow: hidden;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #000;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.loader.done {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  width: 44px;
  aspect-ratio: 166 / 34;
  background: linear-gradient(110deg, #6a6a6a 0%, #6a6a6a 44%, #ffffff 48%, #ffffff 52%, #6a6a6a 56%, #6a6a6a 100%);
  background-size: 400% 100%;
  -webkit-mask: url("assets/kfb.png") center / contain no-repeat;
  mask: url("assets/kfb.png") center / contain no-repeat;
  animation: loader-shine 1.6s ease-in-out infinite;
}

.loader-glow {
  position: relative;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.35));
  transition: filter 0.5s var(--ease);
}

/* 100 % : même reflet, en orange */
.loader-logo {
  position: relative;
}

.loader-logo::before,
.loader-logo::after {
  content: "";
  position: absolute;
  inset: 0;
}

.loader-logo::before {
  background: linear-gradient(110deg, #ff6a00 0%, #ff6a00 44%, #ffb070 48%, #ffb070 52%, #ff6a00 56%, #ff6a00 100%);
  background-size: 400% 100%;
  animation: loader-shine 1.6s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.loader.full .loader-logo::before {
  opacity: 1;
}

.loader.full .loader-glow {
  filter: drop-shadow(0 0 5px rgba(255, 106, 0, 0.6));
}

.loader.full .loader-pct {
  color: #ff8a33;
}

.loader.full .loader-bar span {
  background: #ff6a00;
}

.loader-pct,
.loader-bar span {
  transition: color 0.45s var(--ease), background-color 0.45s var(--ease);
}

/* Éclat final : une bande blanche traverse le logo, puis une étincelle jaillit */
.loader-logo::after {
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, 0.6) 45%, #fff 50%, rgba(255, 255, 255, 0.6) 55%, transparent 62%);
  background-size: 300% 100%;
  background-position: 100% 0;
  opacity: 0;
}

.loader.flash .loader-logo::after {
  animation: loader-flash 0.75s cubic-bezier(0.45, 0, 0.2, 1) forwards;
}

@keyframes loader-flash {
  0% {
    opacity: 1;
    background-position: 100% 0;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    background-position: 0% 0;
  }
}

.loader.flash .loader-glow {
  animation: loader-burst 1s ease-out forwards;
}

@keyframes loader-burst {
  0% {
    filter: drop-shadow(0 0 5px rgba(255, 106, 0, 0.6));
  }
  45% {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 16px rgba(255, 138, 51, 0.9));
  }
  100% {
    filter: drop-shadow(0 0 5px rgba(255, 106, 0, 0.6));
  }
}

.loader-spark {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 16px;
  height: 16px;
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0%, #fff 50%, transparent 100%) center / 100% 1.5px no-repeat,
    linear-gradient(0deg, transparent 0%, #fff 50%, transparent 100%) center / 1.5px 100% no-repeat,
    radial-gradient(circle, #fff 0 1.5px, rgba(255, 255, 255, 0) 3px);
}

.loader.flash .loader-spark {
  animation: loader-spark 0.7s ease-out 0.45s forwards;
}

@keyframes loader-spark {
  0% {
    opacity: 0;
    transform: scale(0.2) rotate(0deg);
  }
  35% {
    opacity: 1;
    transform: scale(1.25) rotate(45deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.4) rotate(90deg);
  }
}

/* Reflet classique : passe de gauche à droite puis marque une pause */
@keyframes loader-shine {
  0% {
    background-position: 100% 0;
  }
  65%, 100% {
    background-position: 0% 0;
  }
}

.loader-pct {
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
}

.loader-bar {
  width: 56px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .loader-logo,
  .loader-logo::before,
  .loader.flash .loader-logo::after,
  .loader.flash .loader-glow,
  .loader.flash .loader-spark {
    animation: none;
  }
}

/* Petit rond qui suit la souris sur la page hero */
.hero-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #ff7a1a;
  /* Inverse les couleurs de ce qui passe dessous (texte, logos) */
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s var(--ease), width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease);
  will-change: transform;
}

.hero-cursor.on {
  opacity: 1;
}

.hero-cursor.hover {
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
}

@media (hover: none), (pointer: coarse) {
  .hero-cursor {
    display: none;
  }
}

/* Bouton son */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-join {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}
