/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0A0A0A;
  --accent: #F5C842;
  --accent-dark: #d4a820;
  --text: #F5F0E8;
  --text-muted: #8a8580;
  --text-dim: #c0bbb3;
  --card: #141414;
  --card-border: #1f1f1f;
  --card-hover: #1a1a1a;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ===========================
   LAYOUT
=========================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

/* ===========================
   TYPOGRAPHY
=========================== */
.accent { color: var(--accent); }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 48px;
  color: var(--text);
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #0A0A0A;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--card-border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #0A0A0A;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 10px;
}

.btn-full { width: 100%; }

/* ===========================
   HEADER
=========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo span { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  padding: 8px 12px;
  border-radius: 6px;
  transition: color var(--transition);
}

.nav-link:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  gap: 4px;
  border-top: 1px solid var(--card-border);
}

.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { padding: 10px 0; }
.mobile-menu .btn { margin-top: 8px; }

/* ===========================
   HERO
=========================== */
.hero {
  padding: 160px 0 100px;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 200, 66, 0.1);
  border: 1px solid rgba(245, 200, 66, 0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 820px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-dim);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 32px;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.proof-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.proof-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.proof-divider {
  width: 1px;
  height: 32px;
  background: var(--card-border);
}

/* ===========================
   AVANT / APRES
=========================== */
.avant-apres { background: var(--card); }

.aa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.aa-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--card-border);
}

.aa-before { border-top: 3px solid #ff4444; }
.aa-after { border-top: 3px solid #22c55e; }

.aa-card-header { margin-bottom: 24px; }

.aa-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.aa-tag-before {
  background: rgba(255, 68, 68, 0.15);
  color: #ff6b6b;
}

.aa-tag-after {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.aa-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aa-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.5;
}

.aa-icon {
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aa-icon-bad {
  background: rgba(255, 68, 68, 0.15);
  color: #ff6b6b;
}

.aa-icon-good {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

/* ===========================
   HOW IT WORKS
=========================== */
.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-card {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition);
}

.step-card:hover { border-color: var(--accent); }

.step-number {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-arrow {
  font-size: 24px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 40px;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ===========================
   PRICING
=========================== */
.pricing { background: var(--card); }

.pricing-wrapper {
  display: flex;
  justify-content: center;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 420px;
  width: 100%;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(245, 200, 66, 0.08);
}

.pricing-badge {
  background: var(--accent);
  color: #0A0A0A;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 24px;
}

.pricing-name {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-price-wrap {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 32px;
}

.pricing-old {
  font-size: 20px;
  color: var(--text-muted);
  text-decoration: line-through;
  padding-bottom: 4px;
}

.pricing-price {
  font-size: 48px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-period {
  font-size: 16px;
  color: var(--text-muted);
  padding-bottom: 8px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-dim);
}

.feat-check {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.pricing-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ===========================
   FAQ
=========================== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--card-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-answer {
  display: none;
  padding: 0 0 24px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ===========================
   FOOTER CTA
=========================== */
.footer-cta {
  background: linear-gradient(135deg, rgba(245, 200, 66, 0.06) 0%, transparent 100%);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 80px 0;
}

.footer-cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer-cta-inner h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  max-width: 560px;
  line-height: 1.25;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--card-border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  width: 100%;
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid var(--card-border);
  margin-top: 8px;
}

/* ===========================
   AUTH PAGES
=========================== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  padding-top: 80px;
}

.auth-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 440px;
}

.auth-logo {
  display: block;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.auth-logo span { color: var(--accent); }

.auth-tagline {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.auth-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}

.auth-sub {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--card-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}

.form-input:focus { border-color: var(--accent); }

.form-input::placeholder { color: var(--text-muted); }

.form-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.form-footer a {
  color: var(--accent);
  font-weight: 600;
}

.form-footer a:hover { text-decoration: underline; }

.form-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 13px;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--card-border);
}

.form-trial-badge {
  background: rgba(245, 200, 66, 0.1);
  border: 1px solid rgba(245, 200, 66, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--accent);
  text-align: center;
  margin-bottom: 28px;
  font-weight: 500;
}

/* ===========================
   DASHBOARD
=========================== */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 64px;
}

.sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--card);
  border-right: 1px solid var(--card-border);
  padding: 24px 0;
  position: fixed;
  top: 64px;
  bottom: 0;
  overflow-y: auto;
}

.sidebar-section {
  padding: 0 16px;
  margin-bottom: 8px;
}

.sidebar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 12px;
  margin-bottom: 4px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: all var(--transition);
  margin-bottom: 2px;
}

.sidebar-link:hover {
  background: var(--bg);
  color: var(--text);
}

.sidebar-link.active {
  background: rgba(245, 200, 66, 0.1);
  color: var(--accent);
}

.sidebar-icon { font-size: 16px; }

.dashboard-main {
  flex: 1;
  margin-left: 240px;
  padding: 32px;
  min-height: calc(100vh - 64px);
}

.dash-greeting {
  margin-bottom: 32px;
}

.dash-greeting h1 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 4px;
}

.dash-greeting p {
  font-size: 14px;
  color: var(--text-muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 18px;
  font-weight: 700;
}

.search-bar-wrap {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.search-bar-wrap h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.search-fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.leads-table-wrap {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.leads-table {
  width: 100%;
  border-collapse: collapse;
}

.leads-table th {
  text-align: left;
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--card-border);
  background: var(--bg);
}

.leads-table td {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--card-border);
}

.leads-table tr:last-child td { border-bottom: none; }

.leads-table tr:hover td { background: rgba(245, 200, 66, 0.02); }

.lead-name {
  font-weight: 600;
  color: var(--text);
}

.lead-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.score-high { background: rgba(255, 68, 68, 0.15); color: #ff6b6b; }
.score-mid { background: rgba(245, 200, 66, 0.15); color: var(--accent); }
.score-low { background: rgba(34, 197, 94, 0.15); color: #4ade80; }

.lead-actions {
  display: flex;
  gap: 8px;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 6px;
}

/* ===========================
   PAGE: COMMENT CA MARCHE
=========================== */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: rgba(245, 200, 66, 0.3);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===========================
   PAGE: TARIFS
=========================== */
.tarifs-compare {
  background: var(--card);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.compare-card {
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.compare-card.featured {
  border-color: var(--accent);
}

.compare-card-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.compare-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--card-border);
}

.compare-item:last-child { border-bottom: none; }
.compare-check-yes { color: #4ade80; font-weight: 700; }
.compare-check-no { color: #ff6b6b; font-weight: 700; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 120px 0 80px; }
  .hero-title { font-size: 36px; }
  .hero-proof { gap: 20px; }
  .proof-num { font-size: 22px; }

  .aa-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); align-self: center; margin-top: 0; }

  .section { padding: 64px 0; }
  .section-title { font-size: 26px; margin-bottom: 32px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-main { margin-left: 0; padding: 20px; }
  .sidebar { display: none; }

  .search-fields { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }

  .auth-card { padding: 32px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .hero-proof { flex-direction: column; gap: 16px; }
  .proof-divider { width: 40px; height: 1px; }
  .stats-grid { grid-template-columns: 1fr; }
}
