/* ============================================================
   PAZE AUTOMATION — DESIGN SYSTEM
   Refonte visuelle premium. Mêmes classes, aucune logique modifiée.
   ============================================================ */

:root {
  /* Fonds — noir profond nuancé */
  --black: #060608;
  --bg-1: #0a0a0d;
  --bg-2: #0e0e12;
  --gray: #101014;
  --gray2: #16161c;
  --surface: #101014;
  --surface-hover: #16161d;

  /* Bordures — hairlines */
  --line: rgba(255,255,255,0.07);
  --line-strong: rgba(255,255,255,0.12);

  /* Violet premium (unique accent) */
  --accent: #7c5cfc;
  --accent-hi: #9a80ff;
  --accent-dim: rgba(124,92,252,0.14);
  --accent-line: rgba(124,92,252,0.28);
  --accent2: #00e5ff; /* conservé pour compat, usage minimal */

  /* Textes — blanc cassé + gris */
  --white: #f2f2f5;
  --text: #ededf2;
  --text-muted: #8b8b9a;
  --text-dim: #62626f;

  /* Échelle typographique / rythme */
  --maxw: 1160px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  letter-spacing: -0.006em;
}

/* Halo violet global très discret, fixé en haut */
body::before {
  content: '';
  position: fixed;
  top: -30vh; left: 50%;
  transform: translateX(-50%);
  width: 90vw; max-width: 1100px;
  height: 70vh;
  background: radial-gradient(ellipse at center, rgba(124,92,252,0.10) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}

::selection { background: rgba(124,92,252,0.32); color: #fff; }

/* ---------- NAV ---------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(8,8,11,0.6);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
nav.scrolled { border-bottom-color: var(--line); }

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--white);
  display: inline-flex;
  align-items: baseline;
}
.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 2.2rem; align-items: center; }

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active:not(.nav-cta)::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--white);
  color: #0a0a0d !important;
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav-cta:hover {
  background: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ---------- PAGE HEADER ---------- */
.page-header {
  padding: 11rem 2rem 4rem;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-header .section-label { justify-content: center; display: flex; }
.page-header h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 1.1rem 0 1.3rem;
}
.page-header h1 .highlight {
  color: var(--accent);
  -webkit-text-fill-color: initial;
  background: none;
}
.page-header p {
  color: var(--text-muted);
  font-size: 1.12rem;
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
/* grille discrète en fond de hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(124,92,252,0.14) 0%, transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124,92,252,0.08);
  border: 1px solid var(--accent-line);
  color: var(--accent-hi);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 2rem;
  animation: fadeUp 0.7s var(--ease-out) both;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 7.2vw, 5.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 20ch;
  animation: fadeUp 0.7s 0.08s var(--ease-out) both;
}
.hero h1 .highlight {
  color: var(--accent);
  -webkit-text-fill-color: initial;
  background: none;
  display: inline;
  white-space: nowrap;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.16rem;
  max-width: 540px;
  line-height: 1.62;
  margin: 1.6rem auto 2.6rem;
  animation: fadeUp 0.7s 0.16s var(--ease-out) both;
}

.hero-buttons {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.7s 0.24s var(--ease-out) both;
}

/* ---------- BOUTONS ---------- */
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.3s var(--ease);
  border: none;
  cursor: pointer;
  display: inline-block;
  position: relative;
}
.btn-primary:hover {
  background: var(--accent-hi);
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(124,92,252,0.32);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(255,255,255,0.02);
  color: var(--white);
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.2s var(--ease);
  cursor: pointer;
  display: inline-block;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}

/* ---------- HERO STATS ---------- */
.hero-stats {
  display: flex;
  gap: 3.5rem;
  margin-top: 5.5rem;
  animation: fadeUp 0.7s 0.32s var(--ease-out) both;
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.75rem; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 34px;
  background: var(--line);
}
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  letter-spacing: 0.01em;
}

/* ---------- SECTIONS ---------- */
section {
  padding: 8rem clamp(1.5rem, 5vw, 4rem);
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-hi);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-label.center { justify-content: center; }

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.2rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.65;
  max-width: 540px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin-top: 3.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(130deg, var(--accent-line), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.service-card:hover {
  border-color: transparent;
  background: var(--surface-hover);
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.4);
}
.service-card:hover::after { opacity: 1; }

.service-icon {
  font-size: 1.7rem;
  margin-bottom: 1.1rem;
  display: inline-flex;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  border-radius: 12px;
}
.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

/* ---------- WHY ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.why-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease-out);
}
.why-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.why-number {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--accent-line);
  border-radius: 10px;
  background: var(--accent-dim);
}
.why-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.why-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.62;
}

/* ---------- SECTEURS ---------- */
.sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 3rem;
  justify-content: center;
}
.sector-pill {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.7rem 1.35rem;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.2s var(--ease), color 0.25s var(--ease);
  cursor: pointer;
}
.sector-pill:hover {
  border-color: var(--accent-line);
  background: var(--accent-dim);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- MODAL ---------- */
.sector-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4,4,6,0.72);
  z-index: 1000;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.sector-modal.active { display: flex; }
.modal-content {
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 2.8rem;
  max-width: 680px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.4s var(--ease-out) both;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  color: var(--white);
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.modal-close:hover { background: rgba(255,255,255,0.1); border-color: var(--line-strong); }
.modal-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  border-radius: 14px;
}
.modal-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.modal-sub {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.auto-list { display: flex; flex-direction: column; gap: 0.7rem; }
.auto-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.auto-item:hover { border-color: var(--accent-line); background: var(--accent-dim); }
.auto-num {
  background: var(--accent);
  color: #fff;
  width: 24px; height: 24px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.auto-text h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.auto-text p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.55; }
.modal-cta { margin-top: 2rem; width: 100%; text-align: center; }

/* ---------- TARIFS ---------- */
.tarifs-section { background: transparent; border-radius: 30px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 3.5rem;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.3rem;
  position: relative;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(124,92,252,0.10), rgba(124,92,252,0.02));
  border-color: var(--accent-line);
  box-shadow: 0 0 0 1px var(--accent-line), 0 24px 70px rgba(124,92,252,0.14);
}
.pricing-card.featured .price-label,
.pricing-card.featured .price-period,
.pricing-card.featured .pricing-desc,
.pricing-card.featured .feature-item,
.pricing-card.featured .setup-note { color: var(--text-muted); }
.pricing-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.pricing-card.featured:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 28px 80px rgba(124,92,252,0.22);
}
.plan-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.pricing-card.featured .plan-badge { color: var(--accent-hi); }
.popular-tag {
  background: var(--accent);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 600;
  padding: 0.22rem 0.6rem;
  border-radius: 100px;
  margin-left: 0.5rem;
  letter-spacing: 0.04em;
}
.price {
  font-family: 'Syne', sans-serif;
  font-size: 2.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.price-period { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.pricing-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.6; }
.features-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}
.feature-item { display: flex; align-items: center; gap: 0.7rem; font-size: 0.9rem; color: var(--text-muted); }
.feature-item::before {
  content: '✓';
  width: 18px; height: 18px;
  background: var(--accent-dim);
  color: var(--accent-hi);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  flex-shrink: 0;
}
.pricing-card.featured .feature-item::before { background: rgba(124,92,252,0.25); color: #fff; }
.setup-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.2rem; text-align: center; }
.btn-plan {
  width: 100%;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-align: center;
  text-decoration: none;
  display: block;
  border: none;
}
.btn-plan-outline { background: rgba(255,255,255,0.02); border: 1px solid var(--line-strong); color: var(--white); }
.btn-plan-outline:hover { background: rgba(255,255,255,0.05); border-color: var(--accent); color: var(--accent-hi); }
.btn-plan-white { background: var(--accent); color: #fff; }
.btn-plan-white:hover { background: var(--accent-hi); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(124,92,252,0.3); }
.pricing-note { text-align: center; margin-top: 3rem; color: var(--text-muted); font-size: 0.9rem; }
.pricing-note a { color: var(--accent-hi); text-decoration: none; }

/* ---------- CONTACT ---------- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; }
.contact-info h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}
.contact-info p { color: var(--text-muted); line-height: 1.65; margin-bottom: 2.5rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.contact-detail span:first-child {
  font-size: 1rem;
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  border-radius: 10px;
}
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--white);
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  outline: none;
  resize: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); background: var(--surface-hover); }
.form-group textarea { height: 140px; }
.form-success {
  display: none;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  color: var(--accent-hi);
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 500;
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 3.5rem; max-width: 760px; }
.faq-list.center { margin-left: auto; margin-right: auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  cursor: pointer;
  margin-bottom: 0.7rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item.open { border-color: var(--accent-line); background: rgba(124,92,252,0.04); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-toggle { color: var(--accent-hi); font-size: 1.4rem; transition: transform 0.3s var(--ease-out); flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), margin 0.35s var(--ease);
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.68;
}
.faq-item.open .faq-answer { max-height: 300px; margin-top: 1rem; }
.faq-category {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-hi);
  margin: 3rem 0 1rem;
}
.faq-category:first-child { margin-top: 0; }

/* ---------- CTA BAND ---------- */
.cta-band {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  text-align: center;
  padding: 4.5rem 2rem;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(124,92,252,0.16) 0%, transparent 68%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.cta-band p { color: var(--text-muted); margin-bottom: 2rem; max-width: 460px; margin-left: auto; margin-right: auto; }

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--white);
}
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s var(--ease); }
.footer-links a:hover { color: var(--white); }
.footer-copy { color: var(--text-dim); font-size: 0.8rem; }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- DÉMO (ancienne, compat) ---------- */
.demo-widget {
  max-width: 700px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.demo-examples { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-bottom: 1.5rem; }
.demo-example-btn {
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  color: var(--white);
  padding: 0.65rem 1.2rem;
  border-radius: 100px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: 'DM Sans', sans-serif;
}
.demo-example-btn:hover { background: rgba(124,92,252,0.2); border-color: var(--accent); }
.demo-chat { min-height: 160px; display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
.demo-placeholder { text-align: center; color: var(--text-muted); font-size: 0.95rem; padding: 2rem 0; }
.demo-message { padding: 0.9rem 1.2rem; border-radius: var(--radius); font-size: 0.95rem; line-height: 1.5; max-width: 85%; animation: fadeUp 0.3s ease both; position: relative; }
.demo-label { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.4rem; opacity: 0.7; }
.demo-client { background: rgba(255,255,255,0.05); color: var(--white); align-self: flex-start; }
.demo-ia { background: var(--accent-dim); border: 1px solid var(--accent-line); color: var(--white); align-self: flex-end; }
.demo-typing .demo-dots { animation: pulse 1.2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- CALCULATEUR ---------- */
.calculator-widget {
  max-width: 700px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.calc-input-group label { display: block; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; text-align: center; }
.calc-input-group input[type="range"] {
  width: 100%;
  height: 5px;
  border-radius: 100px;
  background: rgba(255,255,255,0.1);
  outline: none;
  -webkit-appearance: none;
  margin-bottom: 1rem;
}
.calc-input-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(124,92,252,0.2);
  transition: box-shadow 0.2s var(--ease);
}
.calc-input-group input[type="range"]::-webkit-slider-thumb:hover { box-shadow: 0 0 0 6px rgba(124,92,252,0.25); }
.calc-input-group input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 4px rgba(124,92,252,0.2);
}
.calc-slider-value { text-align: center; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 2rem; }
.calc-slider-value span { color: var(--accent-hi); font-size: 1.6rem; }
.calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.calc-result-card { background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; text-align: center; }
.calc-result-card.highlight { background: var(--accent-dim); border: 1px solid var(--accent-line); }
.calc-result-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.calc-result-value { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.calc-note { text-align: center; font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.calc-note strong { color: var(--accent-hi); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  nav { padding: 1rem 1.4rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  section { padding: 4.5rem 1.4rem; }
  .page-header { padding: 8.5rem 1.4rem 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
  .hero-stats { gap: 2rem; }
  .hero-stats .stat:not(:last-child)::after { right: -1rem; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .demo-widget { padding: 1.5rem; }
  .demo-message { max-width: 100%; }
  .calculator-widget { padding: 1.5rem; }
  .calc-results { grid-template-columns: 1fr; }
  .modal-content { padding: 2rem; }
}

/* ---------- 4K / grands écrans ---------- */
@media (min-width: 1800px) {
  :root { --maxw: 1320px; }
  .hero h1 { font-size: 6rem; }
  body { font-size: 1.06rem; }
}

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