/* ============================================================
   FINDGENCY — styles.css
   ============================================================ */

/* ── 1. Variables ── */
:root {
  --bg:             #0d1117;
  --bg-card:        #161b22;
  --bg-section:     #0d1117;
  --bg-alt:         #111827;

  --text-primary:   #f0f6fc;
  --text-secondary: #8b949e;
  --text-muted:     #484f58;

  --blue:   #58a6ff;
  --cyan:   #39d0d8;
  --green:  #3fb950;
  --orange: #f0883e;
  --gold:   #f0b429;

  --border:       rgba(240,246,252,0.10);
  --border-hover: rgba(240,246,252,0.20);

  --gradient-brand: linear-gradient(135deg, #58a6ff 0%, #39d0d8 100%);
  --gradient-gold:  linear-gradient(135deg, #fde68a 0%, #f59e0b 50%, #b45309 100%);
  --gradient-text:  linear-gradient(135deg, #58a6ff, #39d0d8);

  --glow-blue: 0 0 40px rgba(88,166,255,0.25);
  --glow-cyan: 0 0 40px rgba(57,208,216,0.20);

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --section-py: 96px;
  --section-px: 24px;
  --container:  1200px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --transition:      0.2s ease;
  --transition-slow: 0.4s ease;
}

/* ── 2. Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
p { max-width: 65ch; }

/* ── 3. Skip link ── */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--blue);
  color: var(--bg);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: 16px; }

/* ── 4. Typography ── */
h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}
h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── 5. Layout utilities ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--section-px);
}
.section { padding: var(--section-py) 0; }
.section--alt { background-color: var(--bg-alt); }
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 6. Grid background ── */
.grid-bg {
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ── 7. Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ── 8. Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gradient-brand);
  color: #0d1117;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
  border: none;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); text-decoration: none; }

.btn-demo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gradient-gold);
  color: #1a0a00;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-demo:hover { opacity: 0.9; transform: translateY(-1px); text-decoration: none; }
.btn-demo .live-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 27px;
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: 100px;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--blue); background: rgba(88,166,255,0.05); text-decoration: none; }

/* ── 9. Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(88,166,255,0.1);
  border: 1px solid rgba(88,166,255,0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 20px;
}

/* ── 10. Card ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.card:hover { border-color: var(--border-hover); box-shadow: var(--glow-blue); }

/* ── 11. KPI ── */
.kpi-value {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stars { color: var(--gold); letter-spacing: 2px; font-size: 18px; }

/* ── 12. NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(13,17,23,0.85);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: border-color var(--transition);
}
.navbar--scrolled { border-bottom-color: var(--border-hover); }
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.navbar__logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-find { color: var(--text-primary); }
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.navbar__nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}
.navbar__nav a:hover { color: var(--text-primary); }
.navbar__cta { margin-left: 16px; padding: 10px 20px; font-size: 14px; }
.navbar__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-primary);
  margin-left: auto;
}
.navbar__mobile {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 24px;
}
.navbar__mobile nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.navbar__mobile a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.navbar__mobile a:last-child { border-bottom: none; }
.navbar__mobile .btn-primary { margin-top: 8px; justify-content: center; }

@media (max-width: 768px) {
  .navbar__nav, .navbar__cta { display: none; }
  .navbar__burger { display: flex; }
}

/* ── 13. HERO ── */
.hero {
  padding-top: calc(64px + var(--section-py));
  padding-bottom: var(--section-py);
  position: relative;
  overflow: hidden;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero__glow-top {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(88,166,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero__glow-bottom {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(57,208,216,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero__title { margin-bottom: 24px; }
.hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 56ch;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
}
.hero__stat { text-align: center; }
.hero__stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
}
.hero__stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}
.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Mockup */
.hero__mockup { width: 100%; max-width: 820px; }
.mockup-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), var(--glow-blue);
}
.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.mockup-dots { display: flex; gap: 6px; }
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green  { background: #28ca41; }
.mockup-url {
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
  margin-left: 8px;
}
.mockup-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}
.mockup-kpi {
  background: var(--bg-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mockup-kpi-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}
.mockup-kpi-label { font-size: 12px; color: var(--text-muted); }
.mockup-kpi-delta {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}
.mockup-kpi-delta.positive { color: var(--green); }
.mockup-pipeline { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.pipeline-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.pipeline-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #0d1117;
  flex-shrink: 0;
}
.pipeline-info { display: flex; align-items: center; gap: 12px; flex: 1; flex-wrap: wrap; }
.pipeline-name { font-size: 14px; color: var(--text-primary); flex: 1; }
.pipeline-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}
.status-rdv     { background: rgba(63,185,80,0.15); color: var(--green); }
.status-relance { background: rgba(240,136,62,0.15); color: var(--orange); }
.status-ia      { background: rgba(88,166,255,0.15); color: var(--blue); }
.mockup-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  padding: 12px;
  border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
  .mockup-kpis { grid-template-columns: repeat(2, 1fr); }
}

/* ── 14. RÉSULTATS ── */
.kpis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}
.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.kpi-card:hover { border-color: var(--border-hover); box-shadow: var(--glow-blue); }
.kpi-card .kpi-value { margin-bottom: 12px; }
.kpi-label {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 24ch;
  margin: 0 auto;
  line-height: 1.5;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial blockquote p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 12px 0 20px;
  font-style: italic;
}
.testimonial footer { display: flex; flex-direction: column; gap: 4px; }
.testimonial cite {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  font-style: normal;
}
.testimonial-sector { font-size: 12px; color: var(--text-muted); }
.note-legal { margin-top: 32px; color: var(--text-muted); }
.note-legal small { font-size: 13px; }

@media (max-width: 1024px) {
  .kpis-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .kpis-grid { grid-template-columns: 1fr; }
}

/* ── 15. OFFRES ── */
.offres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 32px;
  align-items: start;
}
.offre { position: relative; }
.offre--featured {
  border-color: rgba(88,166,255,0.4);
  box-shadow: var(--glow-blue);
}
.offre__badge-featured {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #0d1117;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.offre__number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--border-hover);
  line-height: 1;
  margin-bottom: 16px;
}
.offre__title { margin-bottom: 12px; }
.offre__desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: none;
}
.offre__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.offre__features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}
.offre__features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 12px;
}
.offres-bandeau {
  background: rgba(88,166,255,0.05);
  border: 1px solid rgba(88,166,255,0.15);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  text-align: center;
  margin-bottom: 32px;
}
.offres-bandeau p { font-size: 16px; color: var(--text-primary); max-width: none; }
.offres-bandeau__sub { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

@media (max-width: 1024px) {
  .offres-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}

/* ── 16. TIMELINE ── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline__step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 0 0 40px 0;
  position: relative;
}
.timeline__step:last-child { padding-bottom: 0; }
.timeline__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.timeline__content { padding-top: 12px; }
.timeline__content h3 { margin-bottom: 8px; }
.timeline__content p { font-size: 15px; max-width: none; }

@media (max-width: 640px) {
  .timeline::before { left: 20px; }
  .timeline__number { width: 40px; height: 40px; font-size: 14px; }
}

/* ── 17. DIFFÉRENCIATION ── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.diff-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(88,166,255,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}
.diff-card h3 { margin-bottom: 10px; }
.diff-card p { font-size: 14px; max-width: none; }

@media (max-width: 768px) {
  .diff-grid { grid-template-columns: 1fr; }
}

/* ── 18. FAQ ── */
.faq-list {
  max-width: 760px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--blue); }
.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition);
}
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  padding: 0 0 20px;
}
.faq-answer p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: none;
}

/* ── 19. CONTACT SECTION ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { font-size: 16px; margin-bottom: 32px; max-width: none; }
.contact-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.contact-bullets li {
  font-size: 15px;
  color: var(--text-secondary);
}
.contact-email {
  display: inline-block;
  font-size: 15px;
  color: var(--blue);
  margin-bottom: 32px;
}
.calendly-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 650px;
}
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.contact-form h3 { margin-bottom: 8px; }
.contact-form > p { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--blue); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: var(--bg-card); }
.form-submit { width: 100%; justify-content: center; margin-top: 8px; }

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── 20. FOOTER ── */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 28ch;
}
.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 32px;
}
.footer__nav-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__nav a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--text-primary); }
.footer__contact a {
  font-size: 14px;
  color: var(--blue);
}
.footer__legal {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer__legal .container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.footer__legal a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__legal a:hover { color: var(--text-primary); }
.footer__legal span { color: var(--text-muted); }

@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* ── 21. BREADCRUMB ── */
.breadcrumb {
  padding: calc(64px + 24px) 0 0;
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb li::after {
  content: '/';
  color: var(--text-muted);
}
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }

/* ── 22. HERO LANDING (sous-pages) ── */
.hero-landing {
  padding-top: calc(64px + 80px);
  padding-bottom: 80px;
}
.hero-landing .container { max-width: 860px; }
.hero-landing h1 { font-size: clamp(32px, 4vw, 56px); margin-bottom: 20px; }
.hero-landing .hero__subtitle { font-size: 18px; margin-bottom: 36px; }
.hero-landing .hero__ctas { justify-content: flex-start; }

/* ── 23. BENEFITS GRID ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.benefit-card { }
.benefit-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(88,166,255,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue);
}
.benefit-card h3 { font-size: 17px; margin-bottom: 8px; }
.benefit-card p { font-size: 14px; max-width: none; }

@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* ── 24. INTERNAL LINKS ── */
.internal-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.internal-links li a {
  font-size: 15px;
  color: var(--blue);
  text-decoration: none;
  transition: text-decoration var(--transition);
}
.internal-links li a:hover { text-decoration: underline; }

/* ── 25. CTA FINAL ── */
.cta-final h2 { margin-bottom: 16px; }
.cta-final p { margin: 0 auto 32px; font-size: 17px; max-width: 56ch; }

/* ── 26. BLOG ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.blog-card { display: flex; flex-direction: column; }
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.blog-card__cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.blog-card__date { font-size: 12px; color: var(--text-muted); }
.blog-card h3 { margin-bottom: 10px; font-size: 18px; }
.blog-card p { font-size: 14px; flex: 1; margin-bottom: 20px; max-width: none; }
.blog-card a.read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.blog-card a.read-more:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ── 27. DEMO PAGES ── */
.demo-hero {
  padding-top: calc(64px + 60px);
  padding-bottom: 60px;
  text-align: center;
}
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #ef4444;
  margin-bottom: 24px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse-badge 2s infinite;
}

/* Pipeline demo */
.pipeline-demo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 40px;
}
.pipeline-step {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  opacity: 0.4;
  transition: opacity 0.4s ease, background 0.4s ease;
}
.pipeline-step:last-child { border-bottom: none; }
.pipeline-step.active { opacity: 1; background: rgba(88,166,255,0.04); }
.pipeline-step.done { opacity: 0.7; }
.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(88,166,255,0.1);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: border-color 0.4s ease, background 0.4s ease;
}
.pipeline-step.active .step-icon { border-color: var(--blue); background: rgba(88,166,255,0.15); }
.pipeline-step.done .step-icon { border-color: var(--green); background: rgba(63,185,80,0.1); color: var(--green); }
.step-info { flex: 1; }
.step-label { font-size: 15px; font-weight: 500; color: var(--text-primary); }
.step-sub { font-size: 13px; color: var(--text-muted); }
.step-duration { font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.step-status {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.step-status.active { background: rgba(88,166,255,0.15); color: var(--blue); }
.step-status.done   { background: rgba(63,185,80,0.15);  color: var(--green); }
.step-status.wait   { background: rgba(255,255,255,0.05); color: var(--text-muted); }

/* Terminal log */
.terminal {
  background: #0a0d12;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 13px;
  max-height: 300px;
  overflow-y: auto;
}
.terminal-line { padding: 3px 0; line-height: 1.6; }
.terminal-line .tag-mb  { color: var(--blue); font-weight: 700; }
.terminal-line .tag-ia  { color: var(--cyan); font-weight: 700; }
.terminal-line .tag-sys { color: var(--green); font-weight: 700; }
.terminal-line .tag-time{ color: var(--text-muted); }

/* KPI dashboard */
.kpi-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.kpi-dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.kpi-dash-label { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.kpi-dash-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.kpi-dash-delta {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  margin-top: 6px;
}

/* ROI Calculator */
.roi-calc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-top: 40px;
}
.roi-calc h3 { margin-bottom: 24px; }
.roi-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.roi-input-group label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.roi-input-group input {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-primary);
  text-align: center;
  outline: none;
}
.roi-input-group input:focus { border-color: var(--blue); }
.roi-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.roi-result-card {
  background: rgba(88,166,255,0.05);
  border: 1px solid rgba(88,166,255,0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.roi-result-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}
.roi-result-label { font-size: 13px; color: var(--text-muted); }

@media (max-width: 768px) {
  .roi-inputs { grid-template-columns: 1fr; }
  .roi-results { grid-template-columns: 1fr; }
  .kpi-dashboard { grid-template-columns: 1fr; }
}

/* CRM Demo */
.crm-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.crm-kpi {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.crm-kpi__label { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.crm-kpi__value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.crm-kpi__target { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.crm-kpi--good .crm-kpi__value { color: var(--green); }
.crm-kpi--warn .crm-kpi__value { color: var(--orange); }

/* Sparkline chart */
.chart-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
}
.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.chart-header h3 { font-size: 15px; }

/* Lead flux */
.lead-feed {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
}
.lead-feed__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lead-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 300px;
  overflow-y: auto;
}
.lead-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  animation: slide-in 0.4s ease;
}
@keyframes slide-in {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lead-item__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #0d1117;
  flex-shrink: 0;
}
.lead-item__name { font-size: 13px; color: var(--text-primary); font-weight: 500; }
.lead-item__src  { font-size: 12px; color: var(--text-muted); }
.lead-item__time { font-size: 11px; color: var(--text-muted); margin-left: auto; white-space: nowrap; }

/* Funnel */
.funnel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
}
.funnel-step {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.funnel-step:last-child { margin-bottom: 0; }
.funnel-bar-wrap { flex: 1; background: rgba(255,255,255,0.04); border-radius: 4px; height: 28px; overflow: hidden; }
.funnel-bar {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #0d1117;
  transition: width 0.8s ease;
  min-width: 40px;
}
.funnel-label { font-size: 13px; color: var(--text-secondary); width: 120px; text-align: right; flex-shrink: 0; }
.funnel-count { font-size: 13px; color: var(--text-muted); width: 60px; text-align: right; flex-shrink: 0; }

/* Creatives table */
.creatives-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.creatives-table th {
  text-align: left;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}
.creatives-table td {
  padding: 14px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.creatives-table tr:last-child td { border-bottom: none; }
.creatives-table .ctr-good { color: var(--green); font-weight: 600; }
.creatives-table .ctr-warn { color: var(--orange); font-weight: 600; }

/* Demo tabs */
.demo-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.demo-nav a {
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
}
.demo-nav a:hover,
.demo-nav a.active { border-color: var(--blue); color: var(--blue); background: rgba(88,166,255,0.05); }

/* Pédagogie bloc */
.pedagogy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.pedagogy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.pedagogy-card__budget {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}
.pedagogy-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pedagogy-card ul li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
}
.pedagogy-card ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--blue);
}

@media (max-width: 768px) {
  .crm-kpis { grid-template-columns: repeat(2, 1fr); }
  .pedagogy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .crm-kpis { grid-template-columns: 1fr; }
}

/* ── 28. Legal ── */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding-top: calc(64px + 60px);
  padding-bottom: 80px;
}
.legal-content h1 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 12px; }
.legal-content .last-updated { font-size: 14px; color: var(--text-muted); margin-bottom: 48px; }
.legal-content h2 { font-size: 22px; margin: 40px 0 12px; }
.legal-content p { font-size: 15px; line-height: 1.8; margin-bottom: 16px; max-width: none; }

/* ═══════════════════════════════════════════════════════════════
   29. MICRO-ANIMATIONS — Motion design niveau Linear / Stripe
   ═══════════════════════════════════════════════════════════════ */

/* ── Reading progress bar ── */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--gradient-brand);
  z-index: 201;
  pointer-events: none;
  transform-origin: left center;
  will-change: width;
}

/* ── Navbar progressive (via --scroll-t custom property) ── */
.navbar {
  background: rgba(13, 17, 23, calc(0.72 + var(--scroll-t, 0) * 0.18));
  border-bottom-color: rgba(240, 246, 252, calc(0.06 + var(--scroll-t, 0) * 0.1));
  transition: border-bottom-color 0.15s ease;
}

/* ── Improved reveal — spring easing ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity  0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Stagger grid (auto index via JS --si) ── */
.stagger-grid > * {
  transition-delay: calc(var(--si, 0) * 0.08s) !important;
}

/* ── Card: hover elevation + gradient border glow ── */
.card {
  position: relative;
  transition:
    border-color 0.3s ease,
    box-shadow   0.3s ease,
    transform    0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(88, 166, 255, 0.32);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(88, 166, 255, 0.12),
    0 0 32px rgba(88, 166, 255, 0.07);
}

/* ── Card mouse-tracking glow ── */
.card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle 300px at var(--mx, 50%) var(--my, 50%),
    rgba(88, 166, 255, 0.07) 0%,
    rgba(57, 208, 216, 0.025) 45%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.card:hover .card-glow { opacity: 1; }

/* ── Button: arrow slides right on hover ── */
.btn-primary {
  overflow: hidden;
  position: relative;
}
.btn-primary svg {
  transition: transform 0.22s ease;
  flex-shrink: 0;
}
.btn-primary:hover svg { transform: translateX(4px); }

/* ── Button: ripple ── */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  width: 8px;
  height: 8px;
  margin-top: -4px;
  margin-left: -4px;
  animation: ripple-out 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple-out {
  0%   { transform: scale(0);  opacity: 0.8; }
  100% { transform: scale(38); opacity: 0; }
}

/* ── LIVE badge: halo qui s'étend ── */
.live-badge {
  position: relative;
  overflow: visible !important;
  z-index: 1;
}
.live-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #ef4444;
  animation: halo-expand 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes halo-expand {
  0%   { transform: scale(1);   opacity: 0.55; }
  65%  { transform: scale(2.5); opacity: 0; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* ── H2 word-by-word reveal ── */
.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity  0.45s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.word.visible { opacity: 1; transform: translateY(0); }

/* ── Timeline: la ligne se dessine de haut en bas ── */
.timeline--animated::before {
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline--animated.line-drawn::before {
  transform: scaleY(1);
}

/* ── Hero mockup: perspective pour le tilt 3D ── */
.hero__mockup {
  perspective: 1100px;
}
.mockup-window {
  will-change: transform;
  transition: transform 0.12s ease-out;
}

/* ── Footer links: underline dessiné de gauche à droite ── */
.footer__nav a,
.footer__legal a {
  position: relative;
}
.footer__nav a::after,
.footer__legal a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--gradient-brand);
  transition: width 0.28s ease;
}
.footer__nav a:hover,
.footer__legal a:hover { text-decoration: none; }
.footer__nav a:hover::after,
.footer__legal a:hover::after { width: 100%; }

/* ── prefers-reduced-motion : tout désactivé ── */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .word,
  .card,
  .btn-primary,
  .mockup-window {
    transition-duration: 0.001ms !important;
    animation-duration:  0.001ms !important;
  }
  .card-glow,
  .ripple { display: none !important; }
  .live-badge::before { animation: none !important; }
  .reading-progress { display: none; }
  .timeline--animated::before { transform: scaleY(1) !important; transition: none !important; }
}
.legal-content ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; padding-left: 20px; list-style: disc; }
.legal-content ul li { font-size: 15px; color: var(--text-secondary); }

/* ── 29. Demo index ── */
.demo-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.demo-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.demo-card h3 { margin-bottom: 0; }
.demo-card p { font-size: 14px; flex: 1; max-width: none; }
.demo-card a { margin-top: auto; }

@media (max-width: 768px) {
  .demo-cards { grid-template-columns: 1fr; }
}
