/* ─── Lyynk Psy landing — design tokens & base styles ─────────────── */

:root {
  /* Brand */
  --brand: #316BDF;
  --brand-600: #2558c8;
  --brand-700: #1d48a8;
  --brand-soft: #EEF3FF;
  --brand-softer: #F6F9FF;

  /* Typography colors */
  --title: #2D3748;
  --body: #344A54;
  --muted: #6B7A85;
  --line: #E6ECF1;
  --line-soft: #F0F4F7;

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-tint: #FAFBFD;

  /* Pastels (chroma variés, tons doux) */
  --peach: #FFE6D6;
  --peach-ink: #C55A2A;
  --mint: #DAF1E4;
  --mint-ink: #1F7A4A;
  --lavender: #E7E0FB;
  --lavender-ink: #5E3FB8;
  --cream: #FFF4D6;
  --cream-ink: #96701A;
  --blush: #FDE1E8;
  --blush-ink: #B83A5B;
  --sky: #DDEBFF;
  --sky-ink: #1F4FA8;

  /* Layout */
  --maxw: 1200px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(20,30,50,.06), 0 2px 6px rgba(20,30,50,.04);
  --shadow: 0 8px 24px -8px rgba(20,30,50,.12), 0 2px 6px rgba(20,30,50,.05);
  --shadow-lg: 0 30px 60px -20px rgba(20,40,90,.22), 0 10px 30px -10px rgba(20,40,90,.12);
  --shadow-brand: 0 20px 50px -12px rgba(49,107,223,.35);

  /* Type scale */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--body);
  background: linear-gradient(180deg, var(--brand-softer) 0%, #fff 100%);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  color: var(--title);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-size: 1.35rem; line-height: 1.25; }
h4 { font-size: 1.05rem; }

p { margin: 0; text-wrap: pretty; }

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(49,107,223,.3), 0 8px 20px -4px rgba(49,107,223,.45);
}
.btn-primary:hover { background: var(--brand-600); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(49,107,223,.35), 0 12px 28px -6px rgba(49,107,223,.5); }
.btn-ghost {
  background: transparent;
  color: var(--title);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-soft {
  background: var(--brand-soft);
  color: var(--brand);
}
.btn-soft:hover { background: #E3EBFF; }
.btn-lg { padding: 16px 28px; font-size: 1rem; border-radius: 14px; }
.btn-white {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 10px 30px -6px rgba(0,0,0,.18);
}
.btn-white:hover { transform: translateY(-1px); }
.btn-white-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-white-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.cta-band-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ─── Eyebrow / chip ────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  letter-spacing: 0.01em;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* ─── Nav ───────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo { height: 30px; width: auto; max-width: none; flex-shrink: 0; display: block; }
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.93rem;
  color: var(--body);
  font-weight: 500;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color .15s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
}
.nav-links a:hover { color: var(--brand); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--brand); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 10px 18px; font-size: 0.9rem; }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ─── Scroll reveal ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 72px 0 80px;
  overflow: visible;
}
.hero-bg { display: none; }
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.hero-text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.hero-text .eyebrow { margin-bottom: 24px; }
.hero-video-col {
  width: 100%;
  max-width: 672px;
  margin-left: auto;
}
.hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 20px;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--brand) 30%, #5e8dfc 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  color: var(--muted);
  max-width: 32rem;
  margin: 0 0 32px;
  line-height: 1.625;
  font-weight: 400;
}
.hero-ctas { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust {
  margin-top: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  display: flex; gap: 8px 24px; align-items: center; justify-content: flex-start; flex-wrap: wrap;
}
.hero-trust .check { color: #27A96A; }

/* Floating dashboard */
.hero-dash-wrap {
  position: relative;
  max-width: 760px;
  margin: 50px auto 0;
  padding: 0 24px;
}
.hero-dash {
  position: relative;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transform-origin: center top;
}
.hero-dash img { width: 100%; display: block; }
.hero-dash::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.hero-dash .chip-float {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 20px 50px -10px rgba(20,40,90,.18), 0 4px 10px -4px rgba(20,40,90,.1);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--title);
}
.hero-dash .chip-float .pill {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.chip-humor { top: 14%; left: -30px; animation: floaty 6s ease-in-out infinite; }
.chip-engage { top: 46%; right: -30px; animation: floaty 6s ease-in-out infinite 1.5s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 760px) {
  .chip-humor, .chip-engage { display: none; }
}

/* ─── Hero responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { padding: 56px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-text { order: 1; }
  .hero-video-col { order: 2; width: 100%; max-width: 100%; margin: 0; display: flex; justify-content: center; }
  .hero-video-col > * { width: 100%; max-width: 672px; }
  .hero-sub { max-width: 32rem; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .hero-sub { font-size: 1.125rem; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 56px; }
  .hero-inner { padding: 0 20px; }
  /* Full-width stacked CTAs */
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; gap: 12px; margin-bottom: 24px; }
  .hero-ctas .btn { width: 100%; white-space: normal; text-align: center; }
  /* Center trust row */
  .hero-trust { justify-content: center; text-align: center; }
  /* Constrain video to viewport */
  .hero-video-col { max-width: 100% !important; width: 100%; }
  .hero-video-frame { max-width: 100%; }
  .hvp-bg { min-height: 0 !important; }
}

/* ─── Sections base ─────────────────────────────────────────── */
section { padding: 100px 0; position: relative; }
.section-head { text-align: center; max-width: 860px; margin: 0 auto 56px; }
.section-head h2 { margin: 18px 0 14px; }
.section-head p { color: var(--body); font-size: 1.1rem; }

/* Stats strip */
.stats {
  background: var(--brand-softer);
  padding: 40px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num { font-size: 2.4rem; font-weight: 800; color: var(--brand); letter-spacing: -0.03em; line-height: 1; }
.stat-label { font-size: 0.9rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }

/* ─── Features: 3-column classic ────────────────────────────── */
.features-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.feature-icon.peach { background: var(--peach); color: var(--peach-ink); }
.feature-icon.mint { background: var(--mint); color: var(--mint-ink); }
.feature-icon.lavender { background: var(--lavender); color: var(--lavender-ink); }
.feature-icon.sky { background: var(--sky); color: var(--sky-ink); }

.feature-card h3 { font-size: 1.3rem; margin: 0; }
.feature-card p { color: var(--body); font-size: 0.98rem; }
.feature-preview {
  margin-top: auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-tint);
}
.feature-preview img { width: 100%; display: block; }
@media (max-width: 900px) { .features-3col { grid-template-columns: 1fr; } }

/* ─── Video section ─────────────────────────────────────────── */
.video-wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a2a4a 0%, var(--brand) 100%);
  cursor: pointer;
  transition: transform .3s;
}
.video-wrap:hover { transform: scale(1.01); }
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(255,230,214,.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(218,241,228,.2) 0%, transparent 50%);
}
.play-btn {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  transition: transform .2s;
  margin-bottom: 20px;
}
.video-wrap:hover .play-btn { transform: scale(1.08); }
.play-btn svg { width: 32px; height: 32px; margin-left: 6px; }
.video-caption { font-size: 1rem; opacity: 0.85; font-weight: 500; }
.video-duration { font-size: 0.8rem; opacity: 0.65; margin-top: 6px; }

/* ─── How it works — variants ──────────────────────────────── */
[data-how] { display: none; }
[data-how].how-active { display: block; }

/* ── Variant A: Cards ── */
.how-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}
@media (max-width: 780px) { .how-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .how-cards { grid-template-columns: 1fr; } }
.how-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px 24px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  display: flex; flex-direction: column; gap: 12px;
}
.how-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.how-card-top { display: flex; align-items: center; justify-content: space-between; }
.how-icon-wrap {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.how-icon-wrap.mint    { background: var(--mint);    color: var(--mint-ink); }
.how-icon-wrap.peach   { background: var(--peach);   color: var(--peach-ink); }
.how-icon-wrap.lavender{ background: var(--lavender);color: var(--lavender-ink); }
.how-icon-wrap.sky     { background: var(--sky);     color: var(--brand); }
.how-badge {
  font-size: 0.75rem; font-weight: 800; color: var(--muted);
  background: var(--bg); padding: 4px 10px; border-radius: 20px;
  letter-spacing: 0.5px;
}
.how-card h3 { font-size: 1.05rem; line-height: 1.35; margin: 0; }
.how-card p  { font-size: 0.93rem; color: var(--body); margin: 0; }

/* ── Variant B: Timeline illustrée ── */
.how-timeline {
  max-width: 720px;
  margin: 0 auto;
}
.how-tl-step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0 36px;
  align-items: start;
}
.how-tl-left {
  display: flex; flex-direction: column; align-items: center;
}
.how-tl-box {
  width: 76px; height: 76px;
  border-radius: 18px;
  border: 2px solid var(--brand);
  background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px #fff;
  position: relative; z-index: 1;
}
.how-tl-n {
  font-size: 1.65rem; font-weight: 800; color: var(--brand); line-height: 1;
}
.how-tl-ico { color: var(--brand); opacity: .65; }
.how-tl-connector {
  width: 2px; flex: 1; min-height: 64px;
  background: var(--line);
  margin: 0 auto;
  border-radius: 2px;
}
.how-tl-text {
  padding: 10px 0 56px;
}
.how-tl-text h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--heading); }
.how-tl-text p  { font-size: 0.97rem; color: var(--body); line-height: 1.65; margin: 0; }

/* ── Variant C: Stepper horizontal ── */
.how-stepper { max-width: 1060px; margin: 0 auto; }
.how-stepper-track {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; margin-bottom: 40px;
}
.how-step-node {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  flex: 0 0 auto; width: 120px; text-align: center;
}
.how-step-node .hsn-icon {
  width: 56px; height: 56px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.how-step-node.mint    .hsn-icon { background: var(--mint);    color: var(--mint-ink); }
.how-step-node.peach   .hsn-icon { background: var(--peach);   color: var(--peach-ink); }
.how-step-node.lavender .hsn-icon { background: var(--lavender);color: var(--lavender-ink); }
.how-step-node.sky     .hsn-icon { background: var(--sky);     color: var(--brand); }
.hsn-num { font-size: 0.7rem; font-weight: 800; color: var(--brand); letter-spacing: 1px; }
.hsn-label { font-size: 0.8rem; font-weight: 600; color: var(--heading); line-height: 1.3; }
.hsn-connector {
  flex: 1; height: 2px;
  background: linear-gradient(to right, var(--line), var(--line));
  margin-top: 27px; min-width: 20px;
}
.how-stepper-details {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
@media (max-width: 860px) {
  .how-stepper-details { grid-template-columns: 1fr 1fr; }
  .how-stepper-track { flex-wrap: wrap; gap: 12px; justify-content: center; }
  .hsn-connector { display: none; }
}
.hsd-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 16px;
}
.hsd-card strong { font-size: 0.85rem; color: var(--brand); display: block; margin-bottom: 6px; }
.hsd-card p { font-size: 0.88rem; color: var(--body); margin: 0; }

/* ─── App section ───────────────────────────────────────────── */
.app-section {
  background: linear-gradient(180deg, var(--brand-softer) 0%, #fff 100%);
}
.app-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.app-copy h2 { margin: 20px 0 18px; }
.app-copy p { font-size: 1.05rem; color: var(--body); margin-bottom: 16px; }
.app-bullets { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.app-bullet {
  display: flex;
  gap: 14px;
  align-items: center;
}
.app-bullet .ck {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--mint-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.app-bullet strong { color: var(--title); font-weight: 700; }
.app-bullet span { color: var(--body); }

/* iPhone mock */
.phone-stack { position: relative; display: flex; justify-content: center; align-items: center; min-height: 620px; }
.phone {
  width: 300px;
  height: 600px;
  background: #0f1730;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 40px 80px -20px rgba(20,40,90,.35), 0 10px 30px -10px rgba(20,40,90,.2);
  position: relative;
  transform: rotate(-3deg);
  transition: transform .4s;
}
.phone:hover { transform: rotate(0deg); }
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 32px;
  background: linear-gradient(180deg, #FFF4D6 0%, #FFE6D6 50%, #E7E0FB 100%);
  overflow: hidden;
  position: relative;
  padding: 50px 20px 20px;
}
.phone-notch {
  position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 26px;
  background: #0f1730;
  border-radius: 13px;
  z-index: 3;
}
.phone-header {
  font-size: 12px;
  color: rgba(45,55,72,.6);
  margin-bottom: 6px;
  text-align: center;
  font-weight: 600;
}
.phone-hello {
  font-size: 20px;
  font-weight: 700;
  color: #2D3748;
  text-align: center;
  margin-bottom: 22px;
}
.mood-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 14px;
  background: rgba(255,255,255,0.6);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  margin-bottom: 14px;
}
.mood-face {
  aspect-ratio: 1;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: transform .15s;
}
.mood-face:hover { transform: scale(1.1); }
.mood-face.active { background: var(--brand); transform: scale(1.05); box-shadow: 0 6px 16px -4px rgba(49,107,223,.45); }
.phone-card {
  background: rgba(255,255,255,0.8);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
  backdrop-filter: blur(10px);
}
.phone-card-title { font-size: 12px; font-weight: 700; color: #2D3748; margin-bottom: 6px; }
.phone-card-meta { font-size: 11px; color: #6B7A85; display: flex; gap: 8px; align-items: center; }
.phone-card-progress { margin-top: 8px; height: 4px; background: #E6ECF1; border-radius: 2px; overflow: hidden; }
.phone-card-progress > div { height: 100%; background: var(--brand); border-radius: 2px; }

.phone-img {
  width: 280px;
  display: block;
  transform: rotate(-3deg);
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.phone-img:hover { transform: rotate(0deg); }

.phone-screen--img {
  padding: 0;
  background: none;
}
.phone-screen--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 32px;
}

.phone-floater {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 20px 40px -10px rgba(20,40,90,.2);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--title);
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-floater .emoji { font-size: 18px; }
.phone-f1 { top: 30px; right: -10px; animation: floaty 5s ease-in-out infinite; }
.phone-f2 { bottom: 60px; left: -20px; animation: floaty 5s ease-in-out infinite 2s; }

@media (max-width: 900px) {
  .app-split { grid-template-columns: 1fr; gap: 40px; }
  .phone-stack { min-height: 560px; }
}

/* ─── Pricing ───────────────────────────────────────────────── */
.pricing-section { background: var(--bg-tint); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, #fff 0%, var(--brand-softer) 100%);
  box-shadow: 0 30px 60px -20px rgba(49,107,223,.25);
  transform: scale(1.02);
}
.price-card.featured:hover { transform: scale(1.02) translateY(-4px); }
.price-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--brand);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.price-title { font-size: 1.05rem; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price-amount .n { font-size: 3.4rem; font-weight: 800; color: var(--title); letter-spacing: -0.03em; line-height: 1; }
.price-amount .u { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-per-year { font-size: 0.82rem; color: var(--muted); margin-bottom: 8px; }
.price-note { font-size: 0.88rem; color: var(--mint-ink); font-weight: 600; margin-bottom: 24px; }
.price-note.saver { white-space: nowrap; color: var(--mint-ink); background: var(--mint); padding: 5px 14px; border-radius: 20px; display: inline-block; font-size: 0.82rem; font-weight: 700; width: fit-content; }
.price-features { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; flex: 1; }
.price-feat { display: flex; gap: 10px; align-items: center; font-size: 0.93rem; color: var(--body); }
.price-feat .ck { color: var(--brand); flex-shrink: 0; }
.price-card .btn { width: 100%; margin-top: 8px; }

@media (max-width: 760px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}

/* ─── Testimonial ───────────────────────────────────────────── */
.testimonial {
  background: linear-gradient(180deg, var(--brand-softer) 0%, #fff 100%);
  padding: 80px 0 72px;
  overflow: hidden;
}
.testi-wrap {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.testi-quote {
  font-size: 1.6rem;
  color: var(--title);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 28px;
  letter-spacing: -0.015em;
}
.testi-quote::before { content: '"'; font-size: 3rem; color: var(--brand); line-height: 0; position: relative; top: 10px; margin-right: 4px; }
.testi-who { display: flex; align-items: center; gap: 14px; justify-content: center; }
.testi-avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), #7aa3f7); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.05rem; }
.testi-name { font-weight: 700; color: var(--title); }
.testi-role { font-size: 0.9rem; color: var(--body); }

/* ─── CTA bandeau ───────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, #4a82f5 100%);
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band::before, .cta-band::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}
.cta-band::before { width: 400px; height: 400px; background: var(--peach); top: -150px; left: -100px; }
.cta-band::after { width: 350px; height: 350px; background: var(--lavender); bottom: -120px; right: -80px; }
.cta-band-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 0 24px; }
.cta-band h2 { color: #fff; margin-bottom: 18px; }
.cta-band p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 32px; }

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-wrap > .faq-item:first-child { border-top: 1px solid var(--line); }
.faq-section-title + .faq-item { border-top: 1px solid var(--line); }

.faq-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin: 36px 0 10px;
}
.faq-wrap > .faq-section-title:first-child { margin-top: 0; }
.faq-q {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  color: var(--title);
  font-size: 1.05rem;
  font-weight: 600;
  transition: color .15s;
}
.faq-q:hover { color: var(--brand); }
.faq-q .plus {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-soft);
  position: relative;
  transition: transform .2s, background .2s;
  /* On masque le caractère "+" du HTML : on dessine la croix en CSS */
  font-size: 0;
  color: transparent;
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--brand);
  border-radius: 1px;
  transition: background .2s;
}
.faq-q .plus::before {
  /* barre horizontale */
  width: 12px; height: 2px;
  transform: translate(-50%, -50%);
}
.faq-q .plus::after {
  /* barre verticale */
  width: 2px; height: 12px;
  transform: translate(-50%, -50%);
}
.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
  background: var(--brand);
}
.faq-item.open .faq-q .plus::before,
.faq-item.open .faq-q .plus::after { background: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s cubic-bezier(.2,.7,.3,1);
  color: var(--body);
  font-size: 0.97rem;
  line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 1000px; }
.faq-a-inner { padding: 0 0 22px 0; }
.faq-a-inner p { margin: 0 0 10px; }
.faq-a-inner p:last-child { margin-bottom: 0; }
.faq-a-inner ul {
  margin: 6px 0 14px;
  padding-left: 22px;
}
.faq-a-inner ul:last-child { margin-bottom: 0; }
.faq-a-inner li { margin: 4px 0; }

/* ─── Demo form ─────────────────────────────────────────────── */
.demo-form-section { background: var(--bg-tint); padding: 100px 0; }
.demo-form-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow);
}
.demo-form-wrap h2 { text-align: center; font-size: 2rem; margin-bottom: 10px; }
.demo-form-wrap .sub { text-align: center; color: var(--body); margin-bottom: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--title); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--body);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(49,107,223,.12);
}
.field textarea { min-height: 90px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.form-success {
  text-align: center;
  padding: 30px 0;
}
.form-success .ok {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--mint-ink);
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.form-success h3 { font-size: 1.4rem; margin-bottom: 8px; }

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  background: #F6F9FF;
  padding: 70px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand img { height: 30px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 320px; }
.footer h5 { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; color: var(--title); }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--body); font-size: 0.93rem; transition: color .15s; }
.footer a:hover { color: var(--brand); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}
.rgpd-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mint);
  color: var(--mint-ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }



/* ─── Hero video block (Notion-style) ───────────────────────── */
.hero-video-block {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  margin: 48px auto 0;
  padding: 0 24px 72px;
}
.hero-video-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(20,40,90,.05),
    0 12px 30px -8px rgba(20,40,90,.14),
    0 40px 80px -20px rgba(20,40,90,.2),
    0 80px 120px -40px rgba(49,107,223,.15);
  cursor: pointer;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s;
}
.hero-video-frame:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow:
    0 2px 4px rgba(20,40,90,.06),
    0 16px 40px -8px rgba(20,40,90,.18),
    0 50px 100px -20px rgba(20,40,90,.24),
    0 90px 140px -40px rgba(49,107,223,.2);
}
.hero-video-placeholder {
  position: relative;
  width: 100%;
}
.hvp-bg {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 360px;
  background: linear-gradient(135deg, #1a3a7a 0%, #316BDF 55%, #4a82f5 100%);
  overflow: hidden;
  display: block;
}
.hvp-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hvp-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255,255,255,.04) 0%, transparent 70%);
  transition: background .25s;
}
.hero-video-frame:hover .hvp-overlay {
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(255,255,255,.07) 0%, transparent 70%);
}
.hvp-play {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.25), 0 0 0 0 rgba(255,255,255,.15);
  transition: transform .2s, box-shadow .2s;
}
.hero-video-frame:hover .hvp-play {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(0,0,0,.3), 0 0 0 10px rgba(255,255,255,.1);
}

/* ─── Features tabs ─────────────────────────────────────────── */
.ftab-nav-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 52px;
}
.ftab-nav {
  display: inline-flex;
  background: var(--line-soft);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}
.ftab-btn {
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--body);
  transition: all .2s cubic-bezier(.2,.7,.3,1);
  white-space: nowrap;
  font-family: var(--font);
}
.ftab-btn.active {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(49,107,223,.3);
}
.ftab-btn:not(.active):hover {
  color: var(--title);
  background: rgba(0,0,0,.05);
}
.ftab-panel {
  display: none;
}
.ftab-panel.active {
  display: block;
  animation: tabFadeIn .28s cubic-bezier(.2,.7,.3,1);
}
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.ftab-content {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 64px;
  align-items: center;
}
.ftab-text h3 {
  font-size: 1.65rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
.ftab-text p {
  font-size: 1.02rem;
  color: var(--body);
  line-height: 1.65;
  margin-bottom: 28px;
}
.ftab-bullets {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 13px;
}
.ftab-bullets li {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.97rem; color: var(--body);
}
.ftb-icon {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.ftb-icon.mint    { background: var(--mint);    color: var(--mint-ink); }
.ftb-icon.peach   { background: var(--peach);   color: var(--peach-ink); }
.ftb-icon.lavender{ background: var(--lavender);color: var(--lavender-ink); }
.ftab-img { overflow: hidden; }
.ftab-img img { width: 100%; display: block; }
.ftab-img-cap {
  padding: 10px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
@media (max-width: 860px) {
  .ftab-content { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .ftab-nav-wrap { display: none; }
  .ftab-panel { display: block !important; }
  .features-tabs { display: flex; flex-direction: column; gap: 56px; }
}

/* ─── Sticky scroll features variant ────────────────────────── */
.features-sticky { display: none; }
.features-sticky.active { display: block; }
.features-3col-wrap { display: none; }
.features-3col-wrap.active { display: block; }
.features-bento { display: none; }
.features-bento.active { display: grid; }

.sticky-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}
.sticky-left { position: sticky; top: 120px; }
.sticky-left h3 { font-size: 1.9rem; margin-bottom: 14px; transition: opacity .3s; }
.sticky-left p { font-size: 1.05rem; color: var(--body); transition: opacity .3s; }
.sticky-step-list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 6px; }
.sticky-step-list li {
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all .2s;
  border-left: 3px solid transparent;
}
.sticky-step-list li.active { color: var(--title); background: var(--brand-soft); border-left-color: var(--brand); font-weight: 600; }
.sticky-right { display: flex; flex-direction: column; gap: 120px; }
.sticky-visual {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 400px;
}
.sticky-visual img { width: 100%; display: block; }
.sticky-visual .cap {
  padding: 14px 20px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  background: var(--bg-tint);
}
@media (max-width: 900px) {
  .sticky-wrap { grid-template-columns: 1fr; }
  .sticky-left { position: static; }
  .sticky-right { gap: 40px; }
}

/* ─── Bento grid variant ────────────────────────────────────── */
.features-bento {
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 18px;
}
.bento-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.bento-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.bento-tile h3 { font-size: 1.2rem; margin-bottom: 8px; }
.bento-tile p { color: var(--body); font-size: 0.95rem; }
.bento-tile .feature-icon { margin-bottom: 16px; }
.bento-tile .preview-img { margin-top: 18px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.bento-tile .preview-img img { width: 100%; display: block; }

.bento-a { grid-column: span 3; grid-row: span 2; background: linear-gradient(180deg, #fff 0%, var(--peach) 200%); }
.bento-b { grid-column: span 3; }
.bento-c { grid-column: span 3; background: linear-gradient(180deg, #fff 0%, var(--mint) 220%); }
.bento-d { grid-column: span 3; grid-row: span 2; background: linear-gradient(180deg, #fff 0%, var(--lavender) 200%); }
.bento-e { grid-column: span 3; }
@media (max-width: 900px) {
  .features-bento { grid-template-columns: 1fr; }
  .bento-a, .bento-b, .bento-c, .bento-d, .bento-e { grid-column: span 1; grid-row: auto; }
}

/* ─── Tweaks panel ──────────────────────────────────────────── */
.tweaks-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 20px 50px -10px rgba(20,40,90,.25);
  width: 280px;
  z-index: 100;
  font-family: var(--font);
  display: none;
}
.tweaks-panel.visible { display: block; }
.tweaks-panel h4 { font-size: 0.95rem; margin-bottom: 14px; color: var(--title); }
.tweaks-panel .tw-group { margin-bottom: 18px; }
.tweaks-panel .tw-group:last-child { margin-bottom: 0; }
.tweaks-panel label.tw-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tweaks-panel .seg {
  display: flex;
  background: var(--bg-tint);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.tweaks-panel .seg button {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--body);
  transition: background .15s, color .15s;
}
.tweaks-panel .seg button.active { background: #fff; color: var(--brand); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.1); }

/* Utility */
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ─── App KPIs ─────────────────────────────────────────────── */
.app-kpis {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 28px;
  background: var(--bg);
  border-radius: 14px;
  padding: 18px 24px;
  width: fit-content;
}
.app-kpi { display: flex; flex-direction: column; gap: 4px; }
.app-kpi-num {
  font-size: 1.9rem; font-weight: 800; color: var(--brand); line-height: 1;
}
.app-kpi-label {
  font-size: 0.82rem; color: var(--muted);
}
.app-kpi-sep {
  width: 1px; height: 40px;
  background: var(--line);
  margin: 0 28px;
}

.app-ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.app-ico.mint    { background: var(--mint);    color: var(--mint-ink); }
.app-ico.peach   { background: var(--peach);   color: var(--peach-ink); }
.app-ico.lavender{ background: var(--lavender);color: var(--lavender-ink); }
.app-ico.sky     { background: var(--sky);     color: var(--brand); }


/* ─── Testimonials marquee ──────────────────────────────────── */
.testimonial {
  padding: 80px 0 72px;
  background: var(--bg);
  overflow: hidden;
}
.testi-head {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 24px;
}
.testi-head h2 { margin-bottom: 10px; }
.testi-head p  { color: var(--body); max-width: 480px; margin: 0 auto; }
.testi-marquee-wrap { display: flex; flex-direction: column; gap: 20px; }
.testi-row { overflow: hidden; }
.testi-track-inner {
  display: flex;
  gap: 20px;
  width: max-content;
}
.row-left  .testi-track-inner { animation: marquee-left  40s linear infinite; }
.row-right .testi-track-inner { animation: marquee-right 40s linear infinite; }
.testi-row:hover .testi-track-inner { animation-play-state: paused; }

@keyframes marquee-left  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.testi-card {
  width: 320px;
  flex-shrink: 0;
  border-radius: 16px;
  padding: 28px 28px 22px;
  display: flex; flex-direction: column; gap: 16px;
  background: #fff !important;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(20,30,50,.06), 0 1px 2px rgba(20,30,50,.04);
}
.testi-card p {
  font-size: 0.97rem; line-height: 1.65;
  color: var(--body); margin: 0;
  font-style: italic;
}
/* Guillemet ouvrant : flotte à gauche du <p>. La hauteur est fixée à
   ~1 ligne de texte pour que SEULE la 1ère ligne soit décalée à droite.
   Le glyphe reste visuellement gros (3rem) et déborde de sa boîte. */
.testi-card p::before {
  content: "\201C";
  float: left;
  height: 24px; /* ≈ une ligne de texte (0.97rem × 1.65) */
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 0.7;
  color: var(--brand);
  margin-right: 10px;
  margin-top: 0;
  font-style: normal;
}
.testi-who {
  display: flex; align-items: center; gap: 12px;
  justify-content: flex-start;
  margin-top: auto;
}
.tav {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.82rem; flex-shrink: 0;
  /* Couleurs : prises depuis l'attribut style inline de chaque .tav
     (mint / peach / lavender / sky) — pas de !important pour laisser
     remonter les variantes secondaires. */
  background: var(--brand);
  color: #fff;
}
.testi-who b { display: block; font-size: 0.92rem; }
.testi-who span { font-size: 0.78rem; color: var(--muted); }


.price-trial-badge { white-space: nowrap;
  display: inline-block;
  background: rgba(49,107,223,.12); color: var(--brand);
  font-size: 0.78rem; font-weight: 700;
  padding: 5px 14px; border-radius: 20px;
  margin-bottom: 16px;
  width: fit-content;
}
.price-then {
  font-size: 0.85rem; color: var(--muted);
  font-weight: 500; margin-right: 4px;
}
.btn-block { display: flex !important; justify-content: center; width: 100%; box-sizing: border-box; margin-top: auto; }

/* ─── Demo form — split layout ─────────────────────────────── */
.demo-form-section { padding: 80px 0; background: var(--bg); }
.demo-split {
  display: grid;
  grid-template-columns: 360px 1fr;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(49,107,223,.14);
  max-width: 900px;
  margin: 0 auto;
}
.demo-left {
  background: var(--brand);
  padding: 52px 40px;
  color: #fff;
  display: flex; flex-direction: column; gap: 20px;
}
.demo-left h2 {
  font-size: 2.2rem; font-weight: 800; line-height: 1.1;
  color: #fff; margin: 0;
}
.demo-left p { font-size: 0.97rem; opacity: .85; margin: 0; line-height: 1.6; }
.demo-bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.demo-bullets li {
  font-size: 0.92rem; opacity: .9;
  display: flex; align-items: center; gap: 10px;
}
.demo-bullets li::before {
  content: '';
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,.25);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9'%3E%3Cpolyline points='1 4 4 7 10 1' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.demo-right {
  background: #fff;
  padding: 48px 44px;
}
@media (max-width: 720px) {
  .demo-split { grid-template-columns: 1fr; }
}

.price-card .btn-block { margin-top: auto; }
.price-features { padding-bottom: 20px; }

/* ─── Legal pages (mentions légales, CGU, etc.) ────────────── */
.legal-page {
  padding: 120px 0 60px; /* top: laisser passer la nav fixe */
  background: #fff;
}
.legal-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  color: var(--body);
}
.legal-head {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.legal-head .eyebrow { margin-bottom: 10px; }
.legal-head h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  line-height: 1.15;
  color: var(--title);
  margin: 0;
  letter-spacing: -0.02em;
}
.legal-section {
  padding: 0; /* override de la règle globale section { padding: 100px 0 } */
  margin-bottom: 14px;
}
.legal-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--title);
  margin: 28px 0 4px; /* ≈ un saut de ligne avant chaque sous-titre */
  letter-spacing: -0.01em;
}
.legal-section:first-of-type h2 { margin-top: 0; }
.legal-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--title);
  margin: 16px 0 4px;
  letter-spacing: -0.005em;
}
.legal-section p {
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 4px;
  color: var(--body);
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.legal-section a:hover { text-decoration-thickness: 2px; }
.legal-section strong { color: var(--title); font-weight: 600; }
.legal-section ul {
  margin: 6px 0 8px;
  padding-left: 22px;
}
.legal-section li {
  font-size: 1rem;
  line-height: 1.55;
  margin: 2px 0;
  color: var(--body);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 4px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 14px;
  border: 1px solid var(--line);
}
.legal-table th {
  background: var(--bg-tint);
  color: var(--title);
  font-weight: 700;
  font-size: 0.9rem;
}
.legal-table td { color: var(--body); }
.legal-back {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.legal-back a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.legal-back a:hover { text-decoration: underline; }

/* ─── Cookie banner — card discrète bottom-right, non-bloquante ─── */
.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: calc(100% - 40px);
  max-width: 380px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow:
    0 10px 40px -10px rgba(20, 30, 50, .25),
    0 2px 8px rgba(20, 30, 50, .06);
  padding: 20px 22px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookieSlideUp .3s cubic-bezier(.2, .7, .3, 1);
}
.cookie-banner h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--title);
  letter-spacing: -0.01em;
}
.cookie-banner p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--body);
}
.cookie-banner .cookie-link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner .cookie-link:hover { text-decoration-thickness: 2px; }
.cookie-banner-btns {
  display: flex;
  gap: 8px;
}
.cookie-banner-btns .btn {
  flex: 1 1 0;
  padding: 10px 14px;
  font-size: 0.88rem;
}

/* Mobile : presque pleine largeur mais reste calé en bas */
@media (max-width: 560px) {
  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-width: none;
  }
}

@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Lien "Gérer mes cookies" dans .footer-bottom */
.footer-bottom [data-cookie-manage] {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}
.footer-bottom [data-cookie-manage]:hover { color: var(--brand); }
