/* ============================================
   PROPYO — STYLES PRINCIPAUX
   Style startup tech adapté à l'ADN luxe
   ============================================ */

:root {
  --bg: #faf9f5;
  --bg-card: #ffffff;
  --bg-soft: #f1ede4;
  --bg-warm: #ede7d8;

  --navy: #161974;
  --navy-deep: #0c1140;
  --light-blue: #5dbae8;
  --light-blue-soft: rgba(93, 186, 232, 0.15);

  --fg: #161974;
  --fg-strong: #0c1140;
  --fg-muted: #4a4f7a;
  --fg-subtle: #8e92ac;

  --border: rgba(22, 25, 116, 0.1);
  --border-strong: rgba(22, 25, 116, 0.2);

  --accent-soft: rgba(22, 25, 116, 0.06);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  overflow-x: hidden;
  letter-spacing: -0.005em;
  padding-top: 76px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: 76px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 48px;
}

.navbar-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.navbar-brand {
  display: flex; align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  height: 100%;
}

.navbar-logo {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  justify-content: center;
}

.navbar-nav a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.navbar-nav a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--fg-strong);
  transition: width 0.3s ease;
}

.navbar-nav a:hover { color: var(--fg-strong); }
.navbar-nav a:hover::after,
.navbar-nav a.is-active::after { width: 100%; }
.navbar-nav a.is-active { color: var(--fg-strong); }

.navbar-cta {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--bg);
  background: var(--fg-strong);
  text-decoration: none;
  padding: 12px 22px;
  border: 1px solid var(--fg-strong);
  transition: all 0.3s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.navbar-cta:hover {
  background: transparent;
  color: var(--fg-strong);
}

.navbar-burger {
  display: none;
  width: 28px; height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.navbar-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg-strong);
  transition: all 0.3s ease;
}

/* ============================================
   UTILITAIRES
   ============================================ */
.section-number {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

.section-number::before {
  content: "—  ";
  color: var(--fg-subtle);
}

em.italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--fg-strong);
}

.btn {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 32px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-primary {
  background: var(--fg-strong);
  color: var(--bg);
  border-color: var(--fg-strong);
}

.btn-primary:hover {
  background: transparent;
  color: var(--fg-strong);
}

.btn-secondary {
  background: transparent;
  color: var(--fg-strong);
  border-color: var(--fg-strong);
}

.btn-secondary:hover {
  background: var(--fg-strong);
  color: var(--bg);
}

.btn-arrow {
  width: 14px; height: 14px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============================================
   HERO — avec pill startup
   ============================================ */
.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 24px 100px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-strong);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 48px;
  box-shadow: 0 1px 3px rgba(22, 25, 116, 0.04);
}

.hero-pill-star {
  color: var(--light-blue);
  font-size: 14px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 11vw, 160px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--fg-strong);
  max-width: 14ch;
  margin: 0 auto 48px;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 52ch;
  margin: 0 auto 64px;
  font-weight: 300;
}

.hero-actions {
  display: inline-flex;
  gap: 16px;
}

/* ============================================
   BANDEAU LOGOS CLIENTS — scroll horizontal
   ============================================ */
.logos-band {
  padding: 60px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.logos-band-label {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 40px;
}

.logos-band-track {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.logos-band-row {
  display: flex;
  gap: 80px;
  align-items: center;
  width: max-content;
  animation: logos-scroll 40s linear infinite;
}

.logo-client {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
  white-space: nowrap;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.logo-client-italic {
  font-style: italic;
  font-weight: 400;
}

.logo-client:hover { opacity: 1; }

@keyframes logos-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   CITATION ÉDITORIALE
   ============================================ */
.intro-quote {
  padding: 140px 24px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.intro-quote-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

.intro-quote-text {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  color: var(--navy);  /* ← au lieu de var(--fg-strong) */
  letter-spacing: -0.01em;
}

.intro-quote-text::before {
  content: "«"; color: var(--fg-subtle); margin-right: 12px;
}

.intro-quote-text::after {
  content: "»"; color: var(--fg-subtle); margin-left: 12px;
}

.intro-quote-text::before,
.intro-quote-text::after {
  content: none;
}

.intro-quote-author {
  margin-top: 32px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.brand-ai {
  font-family: var(--font-sans);
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0.1em;
  vertical-align: super;
  margin-left: 2px;
  text-transform: uppercase;
  color: var(--navy);
}

.inline-logo {
  height: 1.1em;
  width: auto;
  vertical-align: -0.2em;
  display: inline-block;
  margin: 0 0.05em;
}

/* Logo inversé en blanc quand placé sur un fond sombre (feature-card highlight) */
.feature-card-highlight .inline-logo {
  filter: brightness(0) invert(1);
}

/* ============================================
   SECTION DÉMO
   ============================================ */
.demo {
  padding: 120px 24px;
  background: var(--bg-soft);
  position: relative;
}

.demo-intro {
  max-width: 900px;
  margin: 0 auto 80px;
  text-align: center;
}

.demo-intro h2 {
  font-size: clamp(48px, 6vw, 88px);
  margin-bottom: 24px;
}

.demo-intro h2 em {
  font-style: italic;
  color: var(--fg-strong);
}

.demo-intro p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 56ch;
  margin: 0 auto;
  font-weight: 300;
}

.demo-controls {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.autoplay-toggle {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: transparent;
  border: none;
  padding: 8px 0;
  cursor: pointer;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.autoplay-toggle:hover { color: var(--fg-strong); }

.autoplay-toggle svg {
  width: 10px; height: 10px;
  fill: currentColor;
}

/* ============================================
   CARROUSEL — RÉALISATIONS
   ============================================ */
.reel {
  padding: 140px 24px 120px;
  background: var(--bg);
  position: relative;
}

.reel-intro {
  max-width: 900px;
  margin: 0 auto 72px;
  text-align: center;
}

.reel-intro h2 {
  font-size: clamp(48px, 6vw, 88px);
  margin-bottom: 24px;
}

.reel-intro h2 em {
  font-style: italic;
  color: var(--fg-strong);
}

.reel-intro p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 56ch;
  margin: 0 auto;
  font-weight: 300;
}

.reel-stage {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.reel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 12vw 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.reel-track::-webkit-scrollbar { display: none; }

.reel-card {
  flex: 0 0 auto;
  width: clamp(260px, 28vw, 360px);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.5s ease;
}

.reel-media {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-warm);
  box-shadow: 0 22px 60px -28px rgba(12, 17, 64, 0.35);
}

.reel-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reel-playpause {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.25s ease;
}

.reel-playpause svg {
  width: 56px;
  height: 56px;
  padding: 14px;
  border-radius: 50%;
  background: rgba(12, 17, 64, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.reel-icon-pause {
  position: absolute;
  opacity: 0;
}

/* En lecture : pause visible au hover seulement */
.reel-playpause .reel-icon-play { opacity: 0; transform: scale(0.85); }
.reel-playpause .reel-icon-pause { opacity: 0; transform: scale(0.85); }

.reel-media:hover .reel-playpause .reel-icon-pause,
.reel-card.is-paused .reel-playpause .reel-icon-play {
  opacity: 1;
  transform: scale(1);
}

.reel-card.is-paused .reel-playpause .reel-icon-pause {
  opacity: 0;
}

.reel-card.is-paused .reel-media:hover .reel-playpause .reel-icon-pause {
  opacity: 0;
}

.reel-meta {
  padding: 0 4px;
  text-align: left;
}

.reel-meta-place {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--fg-strong);
  line-height: 1.25;
}

.reel-meta-detail {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  font-weight: 500;
  margin-bottom: 8px;
}

.reel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--fg-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px -10px rgba(12, 17, 64, 0.2);
}

.reel-nav:hover {
  background: var(--fg-strong);
  color: var(--bg-card);
  border-color: var(--fg-strong);
}

.reel-nav svg { width: 18px; height: 18px; }

.reel-nav-prev { left: 24px; }
.reel-nav-next { right: 24px; }

.reel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.reel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-strong);
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.reel-dot.is-active {
  background: var(--fg-strong);
  border-color: var(--fg-strong);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .reel { padding: 80px 16px 80px; }
  .reel-intro { margin-bottom: 48px; }
  .reel-track { padding: 8px 8vw 16px; gap: 16px; }
  .reel-card { width: 78vw; }
  .reel-nav { display: none; }
  .reel-meta-place { font-size: 18px; }
}

/* ============================================
   BÉNÉFICES — TABS INTERACTIFS
   ============================================ */
.benefits {
  padding: 140px 24px;
  background: var(--bg);
}

.benefits-intro {
  max-width: 900px;
  margin: 0 auto 64px;
  text-align: center;
}

.benefits-intro h2 {
  font-size: clamp(48px, 6vw, 88px);
}

.benefits-intro h2 em {
  font-style: italic;
  color: var(--fg-strong);
}

.benefits-tabs {
  max-width: 1240px;
  margin: 0 auto 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.benefits-tab {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
  background: transparent;
  border: none;
  padding: 16px 24px;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
  margin-bottom: -1px;
}

.benefits-tab::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--fg-strong);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.benefits-tab:hover { color: var(--fg-strong); }

.benefits-tab.is-active {
  color: var(--fg-strong);
}

.benefits-tab.is-active::after {
  transform: scaleX(1);
}

.benefits-content {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

.benefits-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 500px;
}

.benefits-panel.is-active {
  display: grid;
  animation: panel-fade 0.5s ease;
}

@keyframes panel-fade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.benefits-text h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
  margin-bottom: 24px;
}

.benefits-text p {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 40px;
  font-weight: 300;
}

.benefits-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.benefits-stat-number {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fg-strong);
}

.benefits-stat-unit {
  font-size: 32px;
  color: var(--fg-muted);
  font-weight: 400;
  margin-left: 4px;
}

.benefits-stat-label {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 8px;
  font-weight: 400;
}

.benefits-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-warm);
  box-shadow: 0 30px 60px -20px rgba(22, 25, 116, 0.18);
}

.benefits-visual img,
.benefits-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefits-visual-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  color: var(--navy);
}

.benefits-visual-icon svg {
  width: 50%;
  height: 50%;
  opacity: 0.8;
}

/* ============================================
   FEATURES — 3 CARDS
   ============================================ */
.features {
  padding: 140px 24px;
  background: var(--bg-soft);
}

.features-intro {
  max-width: 900px;
  margin: 0 auto 64px;
  text-align: center;
}

.features-intro h2 {
  font-size: clamp(48px, 6vw, 88px);
}

.features-intro h2 em {
  font-style: italic;
  color: var(--fg-strong);
}

.features-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 30px 60px -20px rgba(22, 25, 116, 0.1);
  transform: translateY(-4px);
}

.feature-card-highlight {
  background: var(--fg-strong);
  border-color: var(--fg-strong);
  color: var(--bg);
}

.feature-card.feature-card-highlight h3,
.feature-card.feature-card-highlight p,
.feature-card.feature-card-highlight .feature-card-list li {
  color: var(--bg);
}

.feature-card-highlight .feature-card-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--bg);
}

.feature-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card-icon svg {
  width: 28px; height: 28px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--fg-strong);
}

.feature-card h3 em {
  font-style: italic;
}

.feature-card p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-muted);
  font-weight: 300;
}

.feature-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.feature-card-highlight .feature-card-list {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.feature-card-list li {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--fg-muted);
  padding-left: 22px;
  position: relative;
  font-weight: 400;
}

.feature-card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 12px; height: 7px;
  border-left: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: rotate(-45deg);
}

.feature-card-highlight .feature-card-list li::before {
  border-color: var(--light-blue);
}

/* ============================================
   DIFFUSION
   ============================================ */
.distribution {
  background: var(--bg);
  padding: 160px 24px;
}

.distribution-intro {
  max-width: 900px;
  margin: 0 auto 100px;
  text-align: center;
}

.distribution-intro h2 {
  font-size: clamp(44px, 5.5vw, 80px);
  margin-bottom: 24px;
}

.distribution-intro h2 em { font-style: italic; }

.distribution-intro p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 56ch;
  margin: 0 auto;
  font-weight: 300;
}

.device-stage {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: nowrap;
}

.device-arrow {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.device-arrow-line {
  width: 60px; height: 1px;
  background: var(--fg-strong);
}

.device-arrow-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--fg-strong);
}

/* ============================================
   STATS — chiffres énormes
   ============================================ */
.stats {
  background: var(--fg-strong);
  padding: 140px 24px;
  color: var(--bg);
}

.stats-intro {
  max-width: 900px;
  margin: 0 auto 80px;
  text-align: center;
}

.stats-intro .section-number {
  color: rgba(255, 255, 255, 0.6);
}

.stats-intro .section-number::before {
  color: rgba(255, 255, 255, 0.4);
}

.stats-intro h2 {
  font-size: clamp(48px, 6vw, 88px);
  color: var(--bg);
}

.stats-intro h2 em {
  font-style: italic;
  color: var(--light-blue);
}

.stats-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-block {
  padding: 40px 24px;
  text-align: left;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-block:first-child {
  border-left: none;
  padding-left: 0;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--bg);
  margin-bottom: 12px;
}

.stat-unit {
  font-size: 0.4em;
  color: var(--light-blue);
  font-weight: 400;
  margin-left: 4px;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  line-height: 1.4;
}

/* ============================================
   TÉMOIGNAGES
   ============================================ */
.testimonials {
  background: var(--bg);
  padding: 140px 24px;
}

.testimonials-intro {
  max-width: 900px;
  margin: 0 auto 64px;
  text-align: center;
}

.testimonials-intro h2 {
  font-size: clamp(48px, 6vw, 88px);
}

.testimonials-intro h2 em {
  font-style: italic;
  color: var(--fg-strong);
}

.testimonials-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  transition: all 0.3s ease;
}

.testimonial:hover {
  border-color: var(--border-strong);
  box-shadow: 0 30px 60px -20px rgba(22, 25, 116, 0.1);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--fg-strong);
  font-weight: 400;
  letter-spacing: -0.005em;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  color: var(--bg);
  flex-shrink: 0;
}

.testimonial-avatar-1 {
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
}

.testimonial-avatar-2 {
  background: linear-gradient(135deg, var(--navy), var(--light-blue));
}

.testimonial-avatar-3 {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
}

.testimonial-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-strong);
  margin-bottom: 2px;
}

.testimonial-role {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 400;
}

/* ============================================
   COMMENTAIRES CLIENTS — STYLE INSTAGRAM
   ============================================ */
.comments {
  background: var(--bg-soft);
  padding: 140px 24px 60px;
}

.comments-intro {
  max-width: 900px;
  margin: 0 auto 56px;
  text-align: center;
}

.comments-intro h2 {
  font-size: clamp(48px, 6vw, 88px);
}

.comments-intro h2 em {
  font-style: italic;
  color: var(--fg-strong);
}

.comments-wall {
  --comment-w: 340px;
  --comment-h: 130px;
  --comment-cycle: 22s;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  height: var(--comment-h);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.comments-track {
  position: relative;
  height: 100%;
}

.comments-wall:hover .comment {
  animation-play-state: paused;
}

@keyframes comment-slide {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

.comment {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--comment-w);
  height: var(--comment-h);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  box-sizing: border-box;
  animation: comment-slide var(--comment-cycle) linear infinite;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.comment:nth-child(2) { animation-delay: calc(var(--comment-cycle) / -2); }

.comment:hover {
  border-color: var(--border-strong);
  box-shadow: 0 14px 30px -16px rgba(22, 25, 116, 0.12);
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  flex-shrink: 0;
}

.comment-avatar-1 { background: linear-gradient(135deg, #f58529, #dd2a7b); }
.comment-avatar-2 { background: linear-gradient(135deg, #8134af, #515bd4); }
.comment-avatar-3 { background: linear-gradient(135deg, var(--navy), var(--light-blue)); }
.comment-avatar-4 { background: linear-gradient(135deg, #feda75, #fa7e1e); }
.comment-avatar-5 { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); }
.comment-avatar-6 { background: linear-gradient(135deg, #d62976, #962fbf); }
.comment-avatar-7 { background: linear-gradient(135deg, var(--light-blue), var(--navy)); }
.comment-avatar-8 { background: linear-gradient(135deg, #fa7e1e, #d62976); }
.comment-avatar-9 { background: linear-gradient(135deg, #515bd4, #8134af); }
.comment-avatar-10 { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); }
.comment-avatar-11 { background: linear-gradient(135deg, #feda75, #d62976); }

.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.comment-user {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-strong);
}

.comment-time {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--fg-subtle);
}

.comment-text {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg);
  font-weight: 400;
  margin-bottom: 8px;
}

.comment-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 500;
}

.comment-foot svg {
  width: 12px;
  height: 12px;
  color: #e1306c;
}

@media (max-width: 600px) {
  .comments { padding: 80px 16px; }
  .comments-intro { margin-bottom: 40px; }
  .comments-wall { --comment-w: 280px; --comment-h: 160px; }
}

/* ============================================
   FAQ ACCORDÉON
   ============================================ */
.faq {
  background: var(--bg-soft);
  padding: 60px 24px 140px;
}

.faq-intro {
  max-width: 900px;
  margin: 0 auto 64px;
  text-align: center;
}

.faq-intro h2 {
  font-size: clamp(48px, 6vw, 88px);
}

.faq-intro h2 em {
  font-style: italic;
  color: var(--fg-strong);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.faq-item summary {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--fg-strong);
  padding: 24px 48px 24px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.2s ease;
  letter-spacing: -0.005em;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 300;
  color: var(--fg-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--fg-strong);
}

.faq-item summary:hover { color: var(--navy); }

.faq-answer {
  padding: 0 48px 28px 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-muted);
  font-weight: 300;
  max-width: 60ch;
}

/* ============================================
   OUTRO
   ============================================ */
.outro {
  background: var(--bg);
  padding: 160px 24px 80px;
  text-align: center;
}

.outro-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.outro-eyebrow::before,
.outro-eyebrow::after {
  content: ""; width: 32px; height: 1px;
  background: var(--fg-subtle);
}

.outro h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--fg-strong);
  max-width: 16ch;
  margin: 0 auto 40px;
}

.outro h2 em { font-style: italic; }

.outro-sub {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 56px;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.outro-actions {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.outro-footer {
  max-width: 1240px;
  margin: 160px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-align: left;
}

.outro-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.outro-footer-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 8px;
}

.outro-footer-col a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.outro-footer-col a:hover { color: var(--fg-strong); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .device-stage { gap: 24px; }

  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-block:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }

  .benefits-panel {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .benefits-visual {
    aspect-ratio: 16 / 10;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .navbar {
    padding: 0 20px;
    height: 64px;
  }

  body { padding-top: 64px; }

  .navbar-logo {
    height: 44px;
    width: auto;
  }

  .navbar-nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }

  .navbar.is-open .navbar-nav {
    max-height: 500px;
    padding: 24px;
  }

  .navbar-nav a { font-size: 16px; }
  .navbar-cta { display: none; }
  .navbar-burger { display: flex; }

  .navbar.is-open .navbar-burger span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .navbar.is-open .navbar-burger span:nth-child(2) { opacity: 0; }
  .navbar.is-open .navbar-burger span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .hero { padding: 60px 20px; }
  .hero-title { font-size: clamp(48px, 14vw, 80px); }

  .logos-band-row { gap: 48px; }
  .logo-client { font-size: 22px; }

  .intro-quote { padding: 80px 20px; }

  .demo, .distribution, .outro,
  .benefits, .features, .stats,
  .testimonials, .faq {
    padding: 80px 16px;
  }

  .benefits-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .benefits-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .benefits-stat-number { font-size: 56px; }

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

  .stat-block {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 0;
  }

  .stat-block:first-child {
    border-top: none;
  }

  .device-stage {
    flex-wrap: wrap;
    gap: 32px;
  }

  .device-arrow {
    flex-direction: row;
    transform: rotate(90deg);
  }

  .testimonial,
  .feature-card {
    padding: 32px 24px;
  }

  .faq-item summary {
    font-size: 18px;
    padding: 20px 40px 20px 0;
  }

  .outro-footer {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
}

/* ============================================
   MODALE — FORMULAIRE PRISE DE RENDEZ-VOUS
   ============================================ */
.demo-modal {
  padding: 0;
  border: none;
  background: transparent;
  max-width: none;
  max-height: none;
  margin: auto;
  overflow: visible;
}

.demo-modal::backdrop {
  background: rgba(12, 17, 64, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.demo-modal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-modal-inner {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 48px 48px 40px;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  box-shadow: 0 40px 80px -20px rgba(12, 17, 64, 0.35);
  animation: demoModalIn 0.35s cubic-bezier(.7, .1, .2, 1);
}

@keyframes demoModalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.demo-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-modal-close:hover {
  background: var(--fg-strong);
  border-color: var(--fg-strong);
  color: var(--bg-card);
}

.demo-modal-close svg { width: 16px; height: 16px; }

.demo-modal-header {
  margin-bottom: 28px;
}

.demo-modal-header h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--fg-strong);
  margin: 8px 0 14px;
}

.demo-modal-header h3 em {
  font-style: italic;
}

.demo-modal-header p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-muted);
  font-weight: 300;
}

/* Formulaire */
.demo-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.demo-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.demo-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-form-field > span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.demo-form-field > span em {
  font-style: normal;
  color: var(--navy);
  margin-left: 2px;
}

.demo-form-field input,
.demo-form-field textarea {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--fg-strong);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.demo-form-field textarea {
  resize: vertical;
  min-height: 80px;
  font-family: var(--font-sans);
}

.demo-form-field input:focus,
.demo-form-field textarea:focus {
  outline: none;
  border-color: var(--fg-strong);
  background: var(--bg-card);
}

.demo-form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.demo-form-actions .btn-primary {
  width: 100%;
  justify-content: center;
}

.demo-form-mention {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--fg-subtle);
}

.demo-form-mention em {
  font-style: normal;
  color: var(--navy);
}

.demo-form-status {
  min-height: 22px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
}

.demo-form-status.is-loading { color: var(--fg-muted); }
.demo-form-status.is-success { color: #1f7a3a; }
.demo-form-status.is-error   { color: #b53528; }

@media (max-width: 600px) {
  .demo-modal-inner { padding: 32px 22px 26px; }
  .demo-form-row { grid-template-columns: 1fr; gap: 16px; }
  .demo-modal-header h3 { font-size: 26px; }
}
