/* ═══════════════════════════════════════════
   Récolta — Shared Stylesheet (Dark Theme)
   Palette: Slate-950 + Amber + White
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg:           #020617;
  --bg-card:      rgba(255,255,255,0.04);
  --bg-card-hover:rgba(255,255,255,0.07);
  --bg-section:   rgba(255,255,255,0.025);
  --border:       rgba(255,255,255,0.08);
  --indigo-950:   #1E1B4B;
  --indigo-800:   #3730A3;
  --indigo-600:   #4F46E5;
  --indigo-500:   #6366F1;
  --indigo-100:   #E0E7FF;
  --amber-400:    #34D399;
  --amber-500:    #10B981;
  --amber-200:    #A7F3D0;
  --text-primary: rgba(255,255,255,0.92);
  --text-muted:   rgba(255,255,255,0.55);
  --text-dim:     rgba(255,255,255,0.35);
  --slate-900:    #0F172A;
  --slate-800:    #1E293B;
  --slate-700:    #334155;
  --slate-600:    #475569;
  --slate-400:    #94A3B8;
  --slate-200:    #E2E8F0;
  --slate-100:    #F1F5F9;
  --slate-50:     #F8FAFC;
  --white:        #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2,6,23,0.92);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 40px rgba(0,0,0,0.35);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo:hover .nav-logo-icon {
  filter: drop-shadow(0 0 10px rgba(16,185,129,0.5));
  transform: translateY(-1px);
}

.nav-logo .wordmark {
  font-family: 'Inter', 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.nav-logo .tagline {
  font-size: 9.5px;
  color: var(--text-dim);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.18s cubic-bezier(0.4,0,0.2,1);
  text-decoration: none;
  font-family: inherit;
  letter-spacing: -0.1px;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.18); }

.btn-primary {
  background: linear-gradient(135deg, var(--amber-500) 0%, #059669 100%);
  color: #000;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(16,185,129,0.35), 0 1px 3px rgba(0,0,0,0.2);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--amber-400) 0%, var(--amber-500) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16,185,129,0.4), 0 2px 6px rgba(0,0,0,0.2);
}

.btn-amber {
  background: linear-gradient(135deg, var(--amber-500) 0%, #059669 100%);
  color: #000;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(16,185,129,0.3);
}
.btn-amber:hover {
  background: linear-gradient(135deg, var(--amber-400) 0%, var(--amber-500) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16,185,129,0.38);
}

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

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-outline:hover { background: rgba(255,255,255,0.07); color: var(--white); border-color: rgba(255,255,255,0.18); }

/* ── MOBILE NAV TOGGLE ── */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 6px;
}

.nav-mobile {
  display: none;
  background: rgba(2,6,23,0.98);
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
}

.nav-mobile a {
  display: block;
  padding: 10px 12px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.15s;
}
.nav-mobile a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-mobile .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ── FOOTER ── */
footer {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  padding: 60px 24px 32px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 280px;
  color: var(--text-muted);
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── SECTION UTILS ── */
.section { padding: 80px 24px; }
.section-sm { padding: 48px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 800px; margin: 0 auto; }

.section-label {
  display: inline-block;
  background: rgba(16,185,129,0.12);
  color: var(--amber-400);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  border: 1px solid rgba(16,185,129,0.2);
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  transition: background 0.22s, transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}

.card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.13);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.card-icon.indigo  { background: rgba(79,70,229,0.15); }
.card-icon.amber   { background: rgba(16,185,129,0.15); }
.card-icon.emerald { background: rgba(16,185,129,0.15); }
.card-icon.rose    { background: rgba(244,63,94,0.15); }
.card-icon.violet  { background: rgba(124,58,237,0.15); }
.card-icon.sky     { background: rgba(14,165,233,0.15); }

.card h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.card p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-indigo  { background: rgba(79,70,229,0.15); color: #818CF8; border: 1px solid rgba(79,70,229,0.25); }
.badge-emerald   { background: rgba(16,185,129,0.12); color: var(--amber-400); border: 1px solid rgba(16,185,129,0.2); }
.badge-emerald { background: rgba(16,185,129,0.12); color: #34D399; border: 1px solid rgba(16,185,129,0.2); }

/* ── FORM ── */
.form-group { margin-bottom: 20px; }

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

input, textarea, select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

input::placeholder, textarea::placeholder {
  color: var(--text-dim);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
}

textarea { resize: vertical; min-height: 120px; }

/* ── STAT ── */
.stat-number {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  color: var(--amber-400);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── GRID HELPERS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile.open { display: block; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 20px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── HERO GRADIENT ── */
.hero-bg {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 75% 35%, rgba(16,185,129,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(79,70,229,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── ALERT / NOTICE ── */
.notice {
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--amber-400);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* ── CHECK LIST ── */
.check-list { list-style: none; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.check-list li::before {
  content: '✓';
  color: #34D399;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── CTA BAND ── */
.cta-band {
  background: rgba(16,185,129,0.06);
  border-top: 1px solid rgba(16,185,129,0.12);
  border-bottom: 1px solid rgba(16,185,129,0.12);
  padding: 72px 24px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-band p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
