/* ==========================================================================
   Debriefr — site vitrine statique
   Palette et typographie alignées sur src/pages/LandingPage.jsx
   ========================================================================== */

:root {
  --bg: #020712;
  --bg-soft: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf8;
  --text-soft: #c5cde8;
  --muted: #6b7a9e;
  --blue: #1b4fff;
  --blue-light: #4169ff;
  --cyan: #00d4ff;
  --amber: #f59e0b;
  --display: 'Syne', 'Inter', sans-serif;
  --body: 'DM Sans', 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ---------- Décor de fond ---------- */
.bg-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.orb { position: fixed; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0; }
.orb-1 {
  width: 600px; height: 600px; background: rgba(27, 79, 255, 0.12);
  top: -200px; left: -200px; animation: orb1 15s ease-in-out infinite alternate;
}
.orb-2 {
  width: 500px; height: 500px; background: rgba(0, 212, 255, 0.08);
  bottom: -100px; right: -100px; animation: orb2 18s ease-in-out infinite alternate;
}
@keyframes orb1 { from { transform: translate(0, 0); } to { transform: translate(100px, 80px); } }
@keyframes orb2 { from { transform: translate(0, 0); } to { transform: translate(-80px, -60px); } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px;
  backdrop-filter: blur(20px);
  background: rgba(5, 10, 24, 0.6);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s, background 0.3s;
}
.nav.scrolled { padding: 12px 60px; background: rgba(5, 10, 24, 0.85); }

.logo {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--display); font-size: 25px; font-weight: 800;
  letter-spacing: -0.6px; text-decoration: none;
}
.logo img {
  width: 40px; height: 40px; flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(27, 79, 255, 0.45));
  transition: filter 0.25s, transform 0.25s;
}
.logo:hover img { filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.6)); transform: scale(1.05); }
.logo span {
  background: linear-gradient(135deg, #fff 0%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.logo.small { font-size: 20px; gap: 9px; }
.logo.small img { width: 30px; height: 30px; }
@media (max-width: 560px) { .logo { font-size: 21px; } .logo img { width: 34px; height: 34px; } }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--blue); color: #fff !important;
  padding: 10px 22px; border-radius: 8px; font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: #2d5fff; transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 68px; left: 0; right: 0; z-index: 99;
  display: none; flex-direction: column; gap: 4px; padding: 20px;
  background: rgba(5, 10, 24, 0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a {
  color: var(--text-soft); text-decoration: none; font-size: 15px;
  font-weight: 500; padding: 14px 8px; border-radius: 10px;
}
.mobile-menu a:hover { background: var(--bg-soft); }
.mobile-menu .btn { margin-top: 10px; text-align: center; }

@media (max-width: 900px) {
  .nav, .nav.scrolled { padding: 16px 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  /* Ouvert uniquement en mobile, et seulement quand l'attribut hidden est retiré */
  .mobile-menu:not([hidden]) { display: flex; }
}

/* ---------- Primitives ---------- */
.section { position: relative; z-index: 1; }
.wrap { padding: 120px 60px; max-width: 1200px; margin: 0 auto; }
.wrap.tight { padding: 80px 60px; }

.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  padding: 16px 36px; border-radius: 12px; font-size: 15px;
  font-family: inherit; border: none; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff; font-weight: 600; box-shadow: 0 0 40px rgba(27, 79, 255, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 60px rgba(27, 79, 255, 0.6); }
.btn-ghost {
  background: var(--bg-soft); color: var(--text); font-weight: 500;
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); }

.section-label {
  font-size: 12px; font-weight: 600; color: var(--blue);
  text-transform: uppercase; letter-spacing: 3px; margin-bottom: 16px;
}
.section-title {
  font-family: var(--display); font-size: clamp(32px, 4vw, 52px); font-weight: 800;
  letter-spacing: -2px; line-height: 1.1; margin: 0 0 60px; max-width: 560px;
}
.section-sub {
  color: var(--muted); font-size: 16px; font-weight: 300;
  max-width: 560px; line-height: 1.7; margin: -40px 0 0;
}
.center { text-align: center; }
.section-title.center { margin-left: auto; margin-right: auto; }
.center-block { text-align: center; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 140px 40px 80px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(27, 79, 255, 0.15); border: 1px solid rgba(27, 79, 255, 0.3);
  border-radius: 100px; padding: 6px 16px; font-size: 13px;
  color: var(--cyan); font-weight: 500; margin-bottom: 32px;
  animation: fadeup 0.8s ease both;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

.h1 {
  font-family: var(--display); font-size: clamp(34px, 8vw, 96px); font-weight: 800;
  line-height: 1.02; letter-spacing: -3px; max-width: 900px; margin: 0;
  animation: fadeup 0.8s ease 0.1s both;
  overflow-wrap: break-word;
}
@media (max-width: 560px) {
  .h1 { letter-spacing: -1.2px; }
  .hero { padding: 120px 20px 64px; }
}
.gradient {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 60%, #fff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-p {
  font-size: clamp(16px, 2vw, 20px); color: var(--muted); max-width: 560px;
  line-height: 1.7; margin: 24px auto 48px; font-weight: 300;
  animation: fadeup 0.8s ease 0.2s both;
}
.ctas {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeup 0.8s ease 0.3s both;
}

/* ---------- Badges de téléchargement (App Store / Google Play) ---------- */
.store-row {
  display: flex; gap: 14px; justify-content: center; align-items: flex-start;
  flex-wrap: wrap; margin-bottom: 20px;
  animation: fadeup 0.8s ease 0.3s both;
}
.store-row-lg { margin: 0 auto 16px; }
.store-stack { display: flex; flex-direction: column; align-items: center; gap: 7px; }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 200px; padding: 11px 20px;
  background: #000; border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px; text-decoration: none; color: #fff;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
a.store-badge:hover {
  transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}
.store-badge.is-disabled { opacity: 0.55; cursor: default; }

.store-icon { width: 26px; height: 26px; flex-shrink: 0; }
.store-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-text small { font-size: 11px; font-weight: 400; letter-spacing: 0.2px; }
.store-text strong { font-size: 19px; font-weight: 600; letter-spacing: -0.3px; }

.store-note {
  font-size: 12px; color: var(--cyan); font-weight: 600;
  background: rgba(0, 212, 255, 0.1); border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: 100px; padding: 3px 12px; white-space: nowrap;
}

@media (max-width: 560px) {
  .store-row { flex-direction: column; align-items: center; }
  .store-badge { width: 100%; max-width: 280px; justify-content: center; }
  .store-stack { width: 100%; align-items: center; }
}

/* ---------- Aperçu produit ---------- */
.preview {
  width: 100%; max-width: 940px; margin: 88px auto 0; text-align: left;
  background: rgba(8, 14, 30, 0.75); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden; backdrop-filter: blur(20px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5), 0 0 80px rgba(27, 79, 255, 0.08);
}
.preview-bar {
  display: flex; align-items: center; gap: 8px; padding: 14px 18px;
  border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.02);
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.preview-title {
  margin-left: 12px; font-size: 12.5px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pill {
  margin-left: auto; font-size: 11px; font-weight: 600; padding: 4px 12px;
  border-radius: 100px; white-space: nowrap;
}
.pill-ok { background: rgba(0, 212, 255, 0.12); color: var(--cyan); border: 1px solid rgba(0, 212, 255, 0.3); }

.preview-body { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 28px; }
.preview-label {
  font-size: 11px; font-weight: 600; color: var(--blue);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px;
}
.preview-label + .preview-label, .preview-list + .preview-label { margin-top: 24px; }
.preview-text { font-size: 13.5px; color: var(--text-soft); line-height: 1.75; margin: 0 0 24px; }
.preview-list { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--text-soft); line-height: 1.9; }

.task {
  display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 10px; margin-bottom: 8px;
}
.task .check {
  width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0;
  background: rgba(0, 212, 255, 0.15); color: var(--cyan);
  display: grid; place-items: center; font-size: 11px; margin-top: 1px;
}
.task strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); }
.task em { display: block; font-size: 11.5px; color: var(--muted); font-style: normal; margin-top: 2px; }

.meters { margin-top: 22px; display: grid; gap: 16px; }
.meter-head {
  display: flex; justify-content: space-between; font-size: 12px;
  color: var(--muted); margin-bottom: 8px;
}
.meter-val { color: var(--cyan); font-weight: 700; }
.meter-track { height: 6px; border-radius: 100px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.meter-track i {
  display: block; height: 100%; width: 0; border-radius: 100px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.preview.visible .meter-track i { width: var(--w); }

@media (max-width: 760px) {
  .preview-body { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .preview { margin-top: 56px; }
}

/* ---------- Stats ---------- */
.stats {
  padding: 60px 40px; max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.stat {
  text-align: center; padding: 40px 20px;
  background: var(--bg-soft); border: 1px solid var(--border);
  backdrop-filter: blur(10px); transition: background 0.2s;
}
.stat:hover { background: rgba(255, 255, 255, 0.06); }
.stat:first-child { border-radius: 16px 0 0 16px; }
.stat:last-child { border-radius: 0 16px 16px 0; }
.stat-num {
  font-family: var(--display); font-size: 48px; font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1; margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .stat:first-child { border-radius: 16px 16px 0 0; }
  .stat:last-child { border-radius: 0 0 16px 16px; }
}

/* ---------- Fonctionnalités ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px; backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(27, 79, 255, 0.3); box-shadow: 0 20px 60px rgba(27, 79, 255, 0.1); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; background: rgba(27, 79, 255, 0.15);
  display: grid; place-items: center; font-size: 24px; margin-bottom: 20px;
}
.feature-card h3 {
  font-family: var(--display); font-size: 18px; font-weight: 700;
  margin: 0 0 10px; letter-spacing: -0.5px;
}
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0; }
@media (max-width: 1024px) { .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid3 { grid-template-columns: 1fr; } }

/* ---------- Cas d'usage ---------- */
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.type-pill {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px 24px; display: flex; align-items: center;
  gap: 14px; backdrop-filter: blur(10px); transition: all 0.3s;
}
.type-pill:hover { background: rgba(27, 79, 255, 0.1); border-color: rgba(27, 79, 255, 0.3); transform: translateX(4px); }
.type-pill .icon { font-size: 22px; }
.type-pill h4 { font-size: 14px; font-weight: 600; margin: 0 0 2px; }
.type-pill p { font-size: 12px; color: var(--muted); margin: 0; }
@media (max-width: 1024px) { .types-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .types-grid { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.ind-card {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px;
  backdrop-filter: blur(10px); transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.ind-card:hover { transform: translateY(-6px); border-color: rgba(27, 79, 255, 0.45); box-shadow: 0 20px 50px rgba(27, 79, 255, 0.15); }
.ind-icon { font-size: 36px; line-height: 1; }
.ind-title { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -0.3px; }
.ind-tagline { font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.ind-desc { font-size: 13px; color: var(--muted); line-height: 1.7; flex: 1; margin: 0; }
.ind-metrics { display: flex; gap: 8px; flex-wrap: wrap; }
.ind-metric {
  background: rgba(27, 79, 255, 0.12); border: 1px solid rgba(27, 79, 255, 0.25);
  color: #7ca3ff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px;
}
@media (max-width: 1100px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ind-grid { grid-template-columns: 1fr; } }

/* ---------- Comment ça marche ---------- */
.how { padding: 120px 60px; max-width: 1000px; margin: 0 auto; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 72px; position: relative; }
.steps-line {
  position: absolute; top: 28px; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent); opacity: 0.4;
}
.step { display: flex; flex-direction: column; align-items: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: grid; place-items: center; font-family: var(--display);
  font-size: 18px; font-weight: 800; margin-bottom: 24px;
  box-shadow: 0 0 30px rgba(27, 79, 255, 0.5); position: relative; z-index: 1; color: #fff;
}
.step h3 { font-family: var(--display); font-size: 17px; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.5px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
@media (max-width: 640px) {
  .how { padding: 80px 24px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps-line { display: none; }
}

/* ---------- Témoignage ---------- */
.testimonial { padding: 80px 60px; max-width: 800px; margin: 0 auto; text-align: center; }
.tcard {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 24px; padding: 56px 64px; backdrop-filter: blur(20px);
  position: relative; overflow: hidden; margin: 0;
}
.tcard::after {
  content: '"'; position: absolute; top: -20px; right: 40px; font-size: 200px;
  font-family: var(--display); color: rgba(27, 79, 255, 0.08); line-height: 1; pointer-events: none;
}
.ttext {
  font-size: clamp(18px, 2.5vw, 24px); font-weight: 300; line-height: 1.6;
  margin: 0 0 40px; font-style: italic;
}
.tauthor { display: flex; align-items: center; justify-content: center; gap: 16px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: grid; place-items: center; font-weight: 700; font-size: 16px;
}
.author-name { font-weight: 600; font-size: 14px; }
.author-role { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .testimonial { padding: 60px 24px; } .tcard { padding: 40px 28px; } }

/* ---------- Tarifs ---------- */
.pricing { padding: 120px 60px; max-width: 1300px; margin: 0 auto; }
.toggle-wrap { display: flex; justify-content: center; margin-top: 20px; }
.pricing-toggle {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 8px;
}
.toggle-btn {
  padding: 8px 20px; border-radius: 100px; font-size: 14px; font-weight: 500;
  cursor: pointer; border: none; background: transparent; color: var(--muted);
  font-family: inherit; transition: all 0.2s;
}
.toggle-btn.active { background: var(--blue); color: #fff; }
.save-badge {
  background: rgba(0, 212, 255, 0.15); color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, 0.3); border-radius: 100px;
  font-size: 11px; font-weight: 600; padding: 2px 10px; margin-left: 4px;
}
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.plan-card {
  border-radius: 24px; padding: 32px 28px; position: relative;
  backdrop-filter: blur(10px); transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
  background: var(--bg-soft); border: 1px solid rgba(255, 255, 255, 0.12);
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card.pro { background: rgba(27, 79, 255, 0.15); border-color: var(--blue); box-shadow: 0 0 60px rgba(27, 79, 255, 0.15); }
.plan-card.team { background: rgba(0, 212, 255, 0.08); border-color: rgba(0, 212, 255, 0.4); }
.plan-card.enterprise { background: rgba(245, 158, 11, 0.08); border-color: rgba(245, 158, 11, 0.5); box-shadow: 0 0 40px rgba(245, 158, 11, 0.08); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff; font-size: 11px; font-weight: 700; padding: 4px 14px;
  border-radius: 100px; white-space: nowrap;
}
.plan-name {
  font-size: 13px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}
.plan-card.team .plan-name { color: var(--cyan); }
.plan-card.enterprise .plan-name { color: var(--amber); }
.plan-price { margin-bottom: 12px; display: flex; align-items: flex-end; gap: 4px; }
.plan-price-num { font-family: var(--display); font-size: 52px; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.plan-price-custom { font-family: var(--display); font-size: 28px; font-weight: 700; line-height: 1.2; }
.plan-price-unit { color: var(--muted); font-size: 16px; margin-bottom: 10px; }
.plan-billed { font-size: 12px; color: var(--muted); margin: 2px 0 0; min-height: 16px; }
.plan-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 8px 0 20px; }
.plan-cta {
  display: block; width: 100%; text-align: center; padding: 14px 20px;
  border-radius: 12px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all 0.2s; border: none; margin-bottom: 24px;
}
.cta-primary { background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: #fff; box-shadow: 0 0 30px rgba(27, 79, 255, 0.4); }
.cta-primary:hover { box-shadow: 0 0 50px rgba(27, 79, 255, 0.6); transform: translateY(-1px); }
.cta-ghost { background: rgba(255, 255, 255, 0.06); color: var(--text-soft); border: 1px solid rgba(255, 255, 255, 0.1); }
.cta-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.cta-cyan { background: rgba(0, 212, 255, 0.12); color: var(--cyan); border: 1px solid rgba(0, 212, 255, 0.3); }
.cta-cyan:hover { background: rgba(0, 212, 255, 0.2); }
.cta-amber { background: rgba(245, 158, 11, 0.12); color: var(--amber); border: 1px solid rgba(245, 158, 11, 0.4); }
.cta-amber:hover { background: rgba(245, 158, 11, 0.22); }
.plan-divider { border: none; border-top: 1px solid rgba(255, 255, 255, 0.07); margin: 0 0 20px; }
.plan-features { list-style: none; margin: 0; padding: 0; flex: 1; }
.feature-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 14px; }
.feature-row .mark { flex-shrink: 0; width: 15px; text-align: center; font-weight: 700; }
.feature-row.yes .mark { color: var(--cyan); }
.feature-row.yes span { color: var(--text-soft); }
.feature-row.no .mark, .feature-row.no span { color: #374151; }
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pricing { padding: 80px 24px; } .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; backdrop-filter: blur(10px);
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(27, 79, 255, 0.35); }
.faq-item summary {
  padding: 22px 26px; cursor: pointer; font-size: 15px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; color: var(--cyan); font-size: 22px; font-weight: 400;
  line-height: 1; flex-shrink: 0; transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 26px 24px; font-size: 14px; color: var(--muted); line-height: 1.8; }

/* ---------- CTA finale ---------- */
.cta-section { padding: 120px 60px; text-align: center; max-width: 700px; margin: 0 auto; }
.cta-section h2 {
  font-family: var(--display); font-size: clamp(36px, 5vw, 64px); font-weight: 800;
  letter-spacing: -2px; line-height: 1.05; margin: 0 0 24px;
}
.cta-section > div > p { color: var(--muted); font-size: 18px; margin: 0 0 48px; font-weight: 300; }
.input-group { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.input {
  flex: 1; min-width: 200px; background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 20px; color: var(--text); font-size: 15px;
  font-family: inherit; outline: none; transition: border-color 0.2s;
}
.input::placeholder { color: var(--muted); }
.input:focus { border-color: var(--blue); }
.form-msg { min-height: 22px; margin: 16px 0 0; font-size: 14px; color: var(--cyan); }
.form-msg.error { color: #ff6b6b; }
.cta-fine { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
@media (max-width: 768px) { .cta-section { padding: 80px 24px; } .wrap, .wrap.tight { padding: 80px 24px; } }

/* ---------- Footer ---------- */
.footer {
  position: relative; z-index: 1; padding: 60px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer p { font-size: 13px; color: var(--muted); margin: 0; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
@media (max-width: 768px) { .footer { flex-direction: column; text-align: center; padding: 40px 24px; } }

/* ---------- Animations d'apparition ---------- */
@keyframes fadeup { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .preview .meter-track i { width: var(--w); }
}

/* ==========================================================================
   Liens « En savoir plus » et pages détail
   ========================================================================== */

.more-row { display: flex; justify-content: center; margin-top: 40px; }
.btn-sm { padding: 13px 28px; font-size: 14px; }

.more-link, .more-arrow { font-size: 13px; font-weight: 600; color: var(--cyan); transition: color 0.2s; }
.ind-card { text-decoration: none; color: inherit; }
.ind-card:hover .more-link { color: #fff; }

.back-link {
  display: inline-block; color: var(--muted); text-decoration: none;
  font-size: 14px; margin-bottom: 32px; transition: color 0.2s;
}
.back-link:hover { color: var(--text); }

/* ---------- En-tête de page détail ---------- */
.detail-hero { padding: 140px 60px 40px; max-width: 900px; margin: 0 auto; text-align: center; }
.detail-h1 {
  font-family: var(--display); font-size: clamp(30px, 6vw, 64px); font-weight: 800;
  letter-spacing: -2px; line-height: 1.06; margin: 0 0 20px;
  overflow-wrap: break-word;
}
@media (max-width: 560px) { .detail-h1 { letter-spacing: -1px; } }
.detail-lead { font-size: 18px; color: var(--muted); font-weight: 300; line-height: 1.7; margin: 0; }
.detail-body { display: block; }
.detail-h2 {
  font-family: var(--display); font-size: clamp(26px, 3vw, 34px); font-weight: 800;
  letter-spacing: -1px; margin: 0 0 12px;
}
.detail-sub { font-size: 15px; color: var(--muted); margin: 0 0 40px; }
@media (max-width: 768px) { .detail-hero { padding: 110px 24px 32px; } }

/* ---------- Listes à puces cochées ---------- */
.bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-soft); line-height: 1.5; }
.bullets li::before { content: '✓'; color: var(--cyan); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ---------- Fonctionnalités : rangées alternées ---------- */
.detail-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding: 72px 60px; max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.detail-row.reverse .detail-text { order: 2; }
.detail-tag { font-size: 11px; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.detail-title { font-family: var(--display); font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -1px; margin: 0 0 16px; }
.detail-desc { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0 0 24px; }
.mockup {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 20px; padding: 48px 32px; text-align: center; backdrop-filter: blur(10px);
}
.mockup-icon { font-size: 52px; margin-bottom: 20px; }
.mockup-label { font-family: var(--display); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.mockup-sub { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .detail-row { grid-template-columns: 1fr; gap: 32px; padding: 56px 24px; }
  .detail-row.reverse .detail-text { order: 0; }
}

.detail-faq { max-width: 760px; margin: 0 auto; padding: 80px 60px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.detail-faq .detail-h2 { margin-bottom: 32px; }
@media (max-width: 768px) { .detail-faq { padding: 60px 24px; } }

/* ---------- Cas d'usage ---------- */
.uc-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  max-width: 1100px; margin: 0 auto; padding: 40px 60px 20px;
}
.uc-card {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 20px;
  padding: 32px; backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.uc-card:hover { transform: translateY(-4px); border-color: rgba(27, 79, 255, 0.3); box-shadow: 0 20px 60px rgba(27, 79, 255, 0.1); }
.uc-icon { font-size: 34px; margin-bottom: 16px; }
.uc-title { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.5px; margin: 0 0 12px; }
.uc-desc { font-size: 14px; color: var(--muted); line-height: 1.75; margin: 0 0 24px; }
.uc-label { font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
@media (max-width: 860px) { .uc-grid { grid-template-columns: 1fr; padding: 32px 24px 12px; } }

/* ---------- Comment ça marche ---------- */
.hw-steps { max-width: 900px; margin: 0 auto; padding: 20px 60px 40px; }
.hw-step {
  display: grid; grid-template-columns: 88px 1fr; gap: 32px;
  padding: 44px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hw-step-num {
  font-family: var(--display); font-size: 52px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hw-step-title { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -0.5px; margin: 0 0 12px; }
.hw-step-desc { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0 0 16px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-tag {
  background: rgba(27, 79, 255, 0.12); border: 1px solid rgba(27, 79, 255, 0.25);
  color: #7ca3ff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 100px;
}
.hw-compat { max-width: 900px; margin: 0 auto; padding: 60px; text-align: center; }
.integ-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.integ-card {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px 16px; transition: all 0.2s;
}
.integ-card:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.15); transform: translateY(-2px); }
.integ-icon { font-size: 28px; margin-bottom: 8px; }
.integ-name { font-size: 13px; font-weight: 600; color: var(--text-soft); }
@media (max-width: 640px) {
  .hw-steps { padding: 12px 24px 24px; }
  .hw-step { grid-template-columns: 1fr; gap: 12px; }
  .hw-compat { padding: 48px 24px; }
  .integ-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Pages industrie ---------- */
.ind-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 860px; margin: 0 auto; padding: 24px 60px 40px;
}
.ind-stat {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 20px;
  padding: 32px 20px; text-align: center; backdrop-filter: blur(10px);
}
.ind-stat-val {
  font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1; margin-bottom: 8px;
  background: linear-gradient(135deg, #fff, var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ind-stat-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

.ind-cases { max-width: 1100px; margin: 0 auto; padding: 60px; }
.ind-cases .detail-h2 { margin-bottom: 40px; }
.ind-case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ind-case-card {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 20px;
  padding: 32px; backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.ind-case-card:hover { transform: translateY(-4px); border-color: rgba(27, 79, 255, 0.3); box-shadow: 0 20px 60px rgba(27, 79, 255, 0.1); }
.ind-case-icon { font-size: 32px; margin-bottom: 16px; }
.ind-case-title { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.4px; margin: 0 0 12px; }
.ind-case-desc { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 0; }

.ind-more { max-width: 1100px; margin: 0 auto; padding: 20px 60px 60px; text-align: center; }
.ind-more .detail-h2 { margin-bottom: 32px; }
.ind-more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ind-more-card {
  display: flex; align-items: center; gap: 12px; text-align: left; text-decoration: none;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 16px;
  padding: 20px 22px; transition: all 0.3s;
}
.ind-more-card:hover { background: rgba(27, 79, 255, 0.1); border-color: rgba(27, 79, 255, 0.35); transform: translateY(-2px); }
.ind-more-icon { font-size: 24px; flex-shrink: 0; }
.ind-more-label { font-size: 14px; font-weight: 600; color: var(--text); flex: 1; line-height: 1.3; }
@media (max-width: 900px) {
  .ind-stats { grid-template-columns: 1fr; padding: 16px 24px 32px; }
  .ind-cases { padding: 48px 24px; }
  .ind-case-grid { grid-template-columns: 1fr; }
  .ind-more { padding: 12px 24px 48px; }
  .ind-more-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Pages légales & support
   ========================================================================== */

.legal-hero { max-width: 820px; padding-bottom: 8px; }
.legal-updated { font-size: 13px; color: var(--muted); margin: 20px 0 0; }

.legal-body {
  max-width: 820px; margin: 0 auto; padding: 40px 60px 100px;
  font-size: 15px; color: var(--text-soft); line-height: 1.85;
}
.legal-body h2 {
  font-family: var(--display); font-size: 24px; font-weight: 800;
  letter-spacing: -0.7px; color: var(--text);
  margin: 48px 0 14px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.legal-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 8px; }
.legal-body h3 {
  font-family: var(--display); font-size: 17px; font-weight: 700;
  color: var(--text); margin: 28px 0 10px; letter-spacing: -0.3px;
}
.legal-body p { margin: 0 0 16px; }
.legal-body ul, .legal-body ol { margin: 0 0 18px; padding-left: 22px; }
.legal-body li { margin-bottom: 9px; }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body em { color: var(--text-soft); }
.legal-body a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid rgba(0, 212, 255, 0.3); }
.legal-body a:hover { border-bottom-color: var(--cyan); }
.legal-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px;
  background: rgba(27, 79, 255, 0.14); border: 1px solid rgba(27, 79, 255, 0.28);
  color: #9db8ff; padding: 1px 6px; border-radius: 5px;
}
.legal-note {
  background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 14px; padding: 18px 22px; margin: 0 0 36px;
  font-size: 14px; color: #f5d9a3; line-height: 1.7;
}
.legal-note code { background: rgba(245, 158, 11, 0.15); border-color: rgba(245, 158, 11, 0.3); color: #ffd894; }
@media (max-width: 768px) { .legal-body { padding: 32px 24px 72px; } }

/* ---------- Pied de page ---------- */
.footer-top { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
@media (max-width: 768px) { .footer-top { flex-direction: column; gap: 12px; } }

/* ---------- Barre de défilement ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }
