/* ============================================================
   ROLEO — landing premium. HTML/CSS/JS pur, zéro dépendance.
   ============================================================ */

/* ---- tokens ---- */
:root {
  --bg-base: #0E1216;
  --bg-surface: #1A2128;
  --bg-elevated: #232B33;
  --bg-subtle: #141A20;
  --border: #2A333D;
  --border-soft: #222A32;
  --primary: #FF8C42;
  --primary-hi: #FFB366;
  --primary-hover: #FF7A2D;
  --primary-subtle: #3D2517;
  --success: #2ECC71;
  --success-subtle: #16321F;
  --streak: #FF6B35;
  --text: #FFFFFF;
  --text-2: #A8B3BD;
  --text-3: #6B7785;
  --grad-hero: linear-gradient(135deg, #FFD9A0 0%, #FF8C42 45%, #FF6B35 100%);
  --grad-warm: linear-gradient(135deg, #FFB366 0%, #FF7A2D 100%);
  --maxw: 1200px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.05; letter-spacing: -.01em; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.grad {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* inline icon (remplace les emojis) */
.ic { display: inline-block; height: 1.3em; width: auto; vertical-align: -.28em; }
.grid__more .ic { margin-left: 4px; vertical-align: -.22em; }

/* ---- reveal-on-scroll utility ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---- buttons ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  height: 56px;
  padding: 0 28px;
  border-radius: 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s var(--ease-spring), background .2s ease, box-shadow .3s ease;
  overflow: hidden;
}
.btn--primary {
  background: var(--primary);
  color: #1A0E04;
  box-shadow: 0 8px 24px -8px rgba(255, 140, 66, .6);
}
.btn--primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 14px 40px -10px rgba(255, 140, 66, .75);
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg);
  transition: none;
}
.btn--primary:hover::after { animation: shine .7s var(--ease-out); }
@keyframes shine { to { left: 130%; } }
.btn:active { transform: scale(.95); }
.btn--ghost { background: transparent; color: var(--primary); border-color: var(--border); }
.btn--ghost:hover { background: var(--primary-subtle); border-color: var(--primary); }
.btn--sm { height: 44px; font-size: 14px; padding: 0 18px; border-radius: 13px; }
.btn--lg { height: 62px; font-size: 18px; padding: 0 38px; border-radius: 20px; }

/* ---- nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px max(24px, calc((100% - var(--maxw)) / 2 + 24px));
  background: rgba(14, 18, 22, .6);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(14, 18, 22, .82); }
.nav__brand { display: flex; align-items: center; gap: 10px; font-family: "Fraunces", serif; font-weight: 800; font-size: 22px; }
.nav__logo { width: 36px; height: 36px; object-fit: contain; transition: transform .4s var(--ease-spring); }
.nav__brand:hover .nav__logo { transform: rotate(-8deg) scale(1.1); }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-weight: 500; color: var(--text-2); }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 2px; background: var(--primary);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav .btn { margin-left: 8px; }

/* ---- hero ---- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 32px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 92px 24px 72px;
}
.hero__glow {
  position: absolute;
  top: -80px; right: -360px;
  width: 920px; height: 920px;
  background: radial-gradient(circle, rgba(255,140,66,.28) 0%, transparent 72%);
  filter: blur(40px);
  pointer-events: none;
  animation: glow-pulse 7s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}
.hero__content { position: relative; z-index: 1; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--primary-subtle);
  color: var(--primary-hi);
  font-size: 14px;
  font-weight: 600;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  margin-bottom: 22px;
  border: 1px solid rgba(255,140,66,.22);
}
.badge img { width: 24px; height: 24px; object-fit: contain; }
.badge em { font-style: normal; color: #fff; font-weight: 700; }
.badge .ping { width: 7px; height: 7px; border-radius: 999px; background: var(--success); box-shadow: 0 0 0 0 rgba(46,204,113,.6); animation: ping 1.8s ease-out infinite; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(46,204,113,.6); }
  70% { box-shadow: 0 0 0 8px rgba(46,204,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}

.hero h1 { font-size: clamp(42px, 6.4vw, 72px); font-weight: 800; }
/* kinetic word reveal */
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; }
.hero h1 .word > span {
  display: inline-block;
  transform: translateY(105%);
  animation: word-up .8s var(--ease-out) forwards;
  animation-delay: var(--wd, 0ms);
}
@keyframes word-up { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero h1 .word > span { transform: none; animation: none; }
}

.hero__sub { margin: 22px 0 32px; font-size: 18.5px; color: var(--text-2); max-width: 530px; }
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__langs { display: flex; align-items: center; gap: 8px; margin-top: 38px; color: var(--text-3); font-size: 14px; }
.hero__langs img { width: 30px; height: 30px; border-radius: 7px; object-fit: cover; border: 2px solid var(--bg-base); margin-left: -8px; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.hero__langs img:first-child { margin-left: 0; }
.hero__langs span { margin-left: 12px; }

.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero__leo {
  position: relative; z-index: 2;
  left: 10px;
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.55));
  animation: leo-enter 1s var(--ease-spring) both, leo-float 5s ease-in-out 1s infinite;
}
@keyframes leo-enter {
  from { opacity: 0; transform: translateY(24px) scale(.94) rotate(-3deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}
@keyframes leo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
/* concentric earpiece signal rings */
.hero__rings { position: absolute; top: 16%; right: 14%; z-index: 1; pointer-events: none; }
.hero__rings span {
  position: absolute; border: 2px solid rgba(46,204,113,.5); border-radius: 999px;
  width: 24px; height: 24px; margin: -12px; opacity: 0;
  animation: ring 2.4s ease-out infinite;
}
.hero__rings span:nth-child(2) { animation-delay: .8s; }
.hero__rings span:nth-child(3) { animation-delay: 1.6s; }
@keyframes ring {
  0% { opacity: .7; transform: scale(.4); }
  100% { opacity: 0; transform: scale(3.4); }
}
/* floating speech chip near Leo */
.hero__scroll {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--text-3); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.hero__scroll .mouse { width: 22px; height: 34px; border: 2px solid var(--text-3); border-radius: 12px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; background: var(--text-3); border-radius: 2px; transform: translateX(-50%); animation: scroll-dot 1.6s ease-in-out infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 10px); } }

/* ---- marquee band ---- */
.marquee {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-subtle);
  overflow: hidden;
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: "Fraunces", serif; font-weight: 700; font-size: 22px; color: var(--text-2); display: inline-flex; align-items: center; gap: 40px; white-space: nowrap; }
.marquee__track span::after { content: "✦"; color: var(--primary); font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- stats strip ---- */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: var(--maxw);
  margin: 56px auto;
  padding: 0 24px;
}
.strip__item {
  position: relative;
  background: linear-gradient(180deg, var(--bg-surface), var(--bg-subtle));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 20px;
  text-align: center;
  overflow: hidden;
  transition: transform .25s var(--ease-out), border-color .25s ease;
}
.strip__item:hover { transform: translateY(-5px); border-color: rgba(255,140,66,.4); }
.strip__item strong { display: block; font-family: "Fraunces", serif; font-size: 38px; font-weight: 800; line-height: 1; background: var(--grad-hero); -webkit-background-clip: text; background-clip: text; color: transparent; }
.strip__item span { display: block; margin-top: 8px; font-size: 14px; color: var(--text-2); }

/* ---- sections ---- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 84px 24px; }
.section__head { text-align: center; margin-bottom: 52px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--primary); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--primary); border-radius: 2px; }
.section h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; margin-top: 12px; }
.section__head p { color: var(--text-2); font-size: 17px; margin-top: 12px; max-width: 540px; margin-inline: auto; }

/* ---- steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px 28px 28px;
  transition: transform .3s var(--ease-out), border-color .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.step::before {
  content: ""; position: absolute; inset: 0; border-radius: 22px; padding: 1px;
  background: linear-gradient(140deg, rgba(255,140,66,.5), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(0,0,0,.7); }
.step:hover::before { opacity: 1; }
.step__icon { width: 60px; height: 60px; object-fit: contain; margin-bottom: 18px; transition: transform .4s var(--ease-spring); }
.step:hover .step__icon { transform: scale(1.12) rotate(-6deg); }
.step__num {
  position: absolute; top: 20px; right: 26px;
  font-family: "DM Sans", sans-serif; font-weight: 800; font-size: 44px;
  line-height: 1; color: var(--primary); -webkit-text-stroke: 0;
}
.step h3 { font-size: 21px; margin-bottom: 9px; }
.step p { color: var(--text-2); font-size: 15px; }

/* ---- Leo feature ---- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature__text h2 { margin: 12px 0 18px; }
.feature__text > p { color: var(--text-2); font-size: 17.5px; margin-bottom: 22px; }
.checks { list-style: none; display: grid; gap: 13px; }
.checks li { position: relative; padding-left: 32px; color: var(--text); font-size: 16px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--success-subtle); color: var(--success);
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
  border: 1px solid rgba(46,204,113,.3);
}

.feature__visual {
  position: relative;
  background: linear-gradient(180deg, var(--bg-subtle), #0F141A);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
}
.chat__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--border-soft); }
.chat__head-ic { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.chat__head-txt { display: flex; flex-direction: column; gap: 1px; }
.chat__head-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.chat__head-title { font-family: "Fraunces", serif; font-size: 21px; font-weight: 700; line-height: 1.1; }

.chat__step { display: flex; opacity: 0; transform: translateY(12px); }
.chat__step--typing { overflow: hidden; }
.chat__step[data-step="2"] { justify-content: flex-end; }
.chat.play .chat__step { animation: msg-in .5s var(--ease-out) forwards; }
.chat.play .chat__step[data-step="1"] { animation-delay: .2s; }
.chat.play .chat__step[data-step="2"] { animation-delay: 1s; }
.chat.play .chat__step[data-step="4"] { animation-delay: 3.6s; }
.chat.play .chat__step--typing { animation: typing-life 1.8s var(--ease-out) 1.8s forwards; }
@keyframes msg-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes typing-life {
  0%   { opacity: 0; transform: translateY(12px); max-height: 60px; }
  22%  { opacity: 1; transform: translateY(0); max-height: 60px; }
  78%  { opacity: 1; max-height: 60px; margin-bottom: 0; }
  100% { opacity: 0; max-height: 0; margin-bottom: -12px; }
}

.typing { display: inline-flex; gap: 5px; background: var(--bg-surface); padding: 14px 16px; border-radius: 16px; border-bottom-left-radius: 4px; }
.typing span { width: 8px; height: 8px; border-radius: 999px; background: var(--text-3); animation: typing-dot 1.2s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing-dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

.bubble { max-width: 82%; padding: 12px 16px; font-size: 15px; border-radius: 16px; }
.bubble--npc { align-self: flex-start; background: var(--bg-surface); border-bottom-left-radius: 4px; }
.bubble--user { align-self: flex-end; background: var(--primary-subtle); color: #FFD9BA; border-bottom-right-radius: 4px; }
.bubble--leo {
  align-self: stretch; max-width: 100%;
  background: var(--success-subtle); border: 1px solid rgba(46,204,113,.28);
  display: flex; gap: 12px; align-items: flex-start; margin-top: 4px;
  border-radius: 16px;
}
.bubble--leo img { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.bubble--leo strong { color: var(--success); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.bubble--leo p { font-size: 14px; color: var(--text); margin-top: 3px; }
.bubble--leo s { color: var(--text-3); }
.bubble--leo em { color: var(--success); font-style: normal; font-weight: 600; }
.bubble--leo__fix {
  margin-top: 8px !important; padding: 8px 12px;
  background: rgba(46,204,113,.12); border-left: 3px solid var(--success);
  border-radius: 6px; font-weight: 600; color: #FFFFFF !important;
}

/* ---- Leo personality / attachment ---- */
.meetleo {
  position: relative;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,140,66,.14), transparent 55%),
    var(--bg-subtle);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.meetleo__inner { max-width: var(--maxw); margin: 0 auto; padding: 90px 24px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.meetleo__stage { position: relative; display: flex; justify-content: center; }
.meetleo__halo { position: absolute; width: 520px; height: 520px; border-radius: 999px; background: radial-gradient(circle, rgba(255,140,66,.18), transparent 62%); filter: blur(44px); top: 52%; left: 28%; transform: translate(-50%,-50%); animation: glow-pulse 6s ease-in-out infinite; }
.meetleo__leo { position: relative; z-index: 1; max-width: 320px; filter: drop-shadow(0 24px 44px rgba(0,0,0,.5)); }
.meetleo h2 { font-size: clamp(32px, 5vw, 54px); }
.meetleo h2 .grad { display: inline; }
.meetleo__lead { color: var(--text-2); font-size: 18px; margin: 18px 0 28px; max-width: 540px; }
.meetleo__lead strong { color: var(--text); }

/* rotating quote Leo "says" */
.quip {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 18px 20px; max-width: 540px;
  min-height: 96px;
}
.quip__avatar { width: 46px; height: 46px; object-fit: contain; flex-shrink: 0; }
.quip__body { min-height: 48px; }
.quip__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.quip__text { font-family: "Fraunces", serif; font-size: 19px; font-weight: 600; margin-top: 4px; line-height: 1.25; }
.quip__cursor { display: inline-block; width: 2px; height: 1em; background: var(--primary); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.traits { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.trait { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-subtle); color: var(--primary-hi); border: 1px solid rgba(255,140,66,.22); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; }
.trait svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---- situations grid ---- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 16px;
  text-align: center;
  transition: transform .2s var(--ease-out), border-color .2s ease, background .2s ease;
}
.tile:hover { transform: translateY(-6px) scale(1.02); border-color: var(--primary); background: var(--bg-elevated); }
.tile img { width: 60px; height: 60px; object-fit: contain; margin: 0 auto 14px; transition: transform .35s var(--ease-spring); }
.tile:hover img { transform: scale(1.15) rotate(-4deg); }
.tile span { font-weight: 600; font-size: 15px; }
.tile__go { position: absolute; top: 12px; right: 12px; opacity: 0; color: var(--primary); font-size: 14px; transition: opacity .2s ease, transform .2s ease; transform: translateX(-4px); }
.tile:hover .tile__go { opacity: 1; transform: none; }
.grid__more { text-align: center; color: var(--text-3); margin-top: 30px; font-size: 15px; }

/* ---- languages ---- */
.lang-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.lang {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 13px 26px; font-weight: 600; font-size: 17px;
  transition: transform .2s var(--ease-spring), border-color .2s ease;
}
.lang:hover { transform: translateY(-3px) scale(1.04); border-color: var(--primary); }
.lang img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.lang--soon { opacity: .55; }
.lang--soon small { font-size: 11px; color: var(--text-3); margin-left: 4px; }

/* ---- CTA ---- */
.cta { padding: 40px 24px 92px; }
.cta__card {
  position: relative;
  max-width: 760px; margin: 0 auto;
  background: var(--grad-hero);
  border-radius: 32px;
  padding: 60px 40px 50px;
  text-align: center;
  color: #1A0E04;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(255,107,53,.5);
}
.cta__card::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='3' cy='3' r='1.4' fill='%23000' opacity='.06'/%3E%3C/svg%3E"); }
.cta__leo { position: absolute; right: -8px; bottom: 0; width: 150px; height: auto; object-fit: contain; filter: drop-shadow(0 14px 26px rgba(0,0,0,.3)); pointer-events: none; z-index: 1; }
.cta__card h2 { position: relative; font-size: clamp(30px, 4.6vw, 44px); font-weight: 800; color: #1A0E04; }
.cta__card p { position: relative; font-size: 18px; margin: 14px auto 30px; max-width: 500px; font-weight: 500; color: #3A2410; }
.cta__actions { position: relative; }
.cta__actions .btn { background: #1A0E04; color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); }
.cta__actions .btn:hover { background: #000; }
.cta__note { position: relative; display: block; margin-top: 20px; font-size: 14px; color: #5A3C1E; font-weight: 600; }

/* ---- footer ---- */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px; text-align: center; border-top: 1px solid var(--border); color: var(--text-2); }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Fraunces", serif; font-weight: 800; font-size: 24px; color: var(--text); margin-bottom: 10px; }
.footer__brand img { width: 34px; height: 34px; object-fit: contain; }
.footer p { font-size: 15px; margin-bottom: 14px; }
.footer small { color: var(--text-3); }

/* ---- manifesto band ---- */
.manifesto {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: radial-gradient(circle at 50% 0%, rgba(255,140,66,.12), transparent 60%), var(--bg-subtle);
}
.manifesto__inner { max-width: 880px; margin: 0 auto; padding: 90px 24px; text-align: center; }
.manifesto__line { font-family: "Fraunces", serif; font-weight: 800; font-size: clamp(34px, 5.6vw, 60px); line-height: 1.05; margin-top: 14px; letter-spacing: -.01em; }
.manifesto__sub { color: var(--text-2); font-size: 18px; margin-top: 24px; max-width: 640px; margin-inline: auto; }
.manifesto__sub strong { color: var(--text); font-weight: 600; }

/* ---- step--plain (app section, no number) ---- */
.step--plain { padding-top: 28px; }

/* ---- trust band ---- */
.trust { border-top: 1px solid var(--border-soft); background: radial-gradient(circle at 50% 0%, rgba(255,140,66,.10), transparent 55%), var(--bg-subtle); }
.trust__inner { max-width: var(--maxw); margin: 0 auto; padding: 84px 24px; text-align: center; }
.trust__title { font-size: clamp(28px, 4.2vw, 42px); font-weight: 700; margin-top: 12px; }
.trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; text-align: left; }
.trust__item { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px 24px; transition: transform .25s var(--ease-out), border-color .25s ease; }
.trust__item:hover { transform: translateY(-5px); border-color: rgba(255,140,66,.4); }
.trust__ic { width: 56px; height: 56px; object-fit: contain; margin-bottom: 14px; }
.trust__item h3 { font-size: 18px; margin-bottom: 8px; }
.trust__item p { color: var(--text-2); font-size: 14.5px; }
.trust__item p strong { color: var(--text); font-weight: 600; }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 56px; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__langs { justify-content: center; }
  .hero__langs { flex-wrap: wrap; }
  .hero__visual { order: -1; }
  .hero__leo { max-width: 240px; }
  .hero__scroll { display: none; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .meetleo__inner { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .meetleo__stage { order: -1; }
  .meetleo__leo { max-width: 220px; }
  .quip, .meetleo__lead { margin-inline: auto; }
  .traits { justify-content: center; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: 1fr; text-align: left; }
}

/* ---- téléphones ---- */
@media (max-width: 600px) {
  /* nav alignée sur le contenu (20px) ; logo à gauche, bouton à droite */
  .nav { padding: 12px 20px; gap: 12px; }
  .nav .btn { margin-left: auto; }

  /* espacements resserrés : la page respire sans devenir interminable */
  .section { padding: 56px 20px; }
  .section__head { margin-bottom: 36px; }
  .manifesto__inner, .meetleo__inner, .trust__inner { padding: 60px 20px; }

  /* hero : Leo plus compact, CTA pleine largeur */
  .hero { padding: 36px 20px 52px; gap: 20px; }
  .hero__leo { max-width: 200px; }
  .hero__sub { font-size: 16.5px; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }

  /* bandeau stats */
  .strip { margin: 40px auto; gap: 12px; padding: 0 20px; }
  .strip__item { padding: 20px 12px; }
  .strip__item strong { font-size: 32px; }

  /* marquee un peu plus discret */
  .marquee { padding: 13px 0; }
  .marquee__track { gap: 28px; }
  .marquee__track span { font-size: 18px; gap: 28px; }

  /* démo chat */
  .feature__visual { padding: 18px; border-radius: 22px; }
  .chat__head-title { font-size: 19px; }

  /* CTA pleine largeur, carte resserrée */
  .cta { padding: 24px 20px 64px; }
  .cta__card { padding: 44px 24px 150px; border-radius: 26px; }
  .cta__leo { width: 116px; height: auto; right: 6px; opacity: .96; }
  .cta__actions .btn { width: 100%; }

  .trust__grid { gap: 14px; }
  .trust__item { padding: 24px 20px; }
  .footer { padding: 44px 20px; }
}

/* ---- petits téléphones (≤400px) ---- */
@media (max-width: 400px) {
  .hero h1 { font-size: 38px; }
  .hero__langs { gap: 6px; font-size: 13px; }
  .hero__langs span { margin-left: 6px; }
  .grid { gap: 12px; }
  .tile { padding: 20px 10px; }
  .tile img { width: 50px; height: 50px; }
  .lang { padding: 11px 20px; font-size: 16px; }
}
