/* ═══════════════════════════════════════════════════
   Location Voiture Germanie — Style Global
   ═══════════════════════════════════════════════════ */

:root {
  --brand-50: #ecfdf5;
  --brand-100: #d1fae5;
  --brand-200: #a7f3d0;
  --brand-300: #6ee7b7;
  --brand-400: #34d399;
  --brand-500: #10b981;
  --brand-600: #059669;
  --brand-700: #047857;
  --brand-800: #065f46;
  --brand-900: #064e3b;
  --brand-950: #022c22;
  --cream: #faf9f6;
  --cream-dark: #f0efe8;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: #1a1a1a;
  line-height: 1.7;
}

::selection { background: var(--brand-200); color: var(--brand-950); }

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

/* ── UTILITAIRES ──────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.container-xs { max-width: 700px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none; }

/* ── BANNER PRO ───────────────────────────────── */
.banner-pro {
  background: var(--brand-50);
  border-bottom: 1px solid var(--brand-200);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.8rem;
  color: var(--brand-800);
  font-weight: 500;
}

/* ── HEADER ───────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-700);
}
.logo span { color: var(--brand-950); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  transition: color 0.2s;
}
.nav a:hover { color: var(--brand-600); }
.nav-cta {
  background: var(--brand-600) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--brand-700) !important; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #374151;
  margin: 5px 0;
  transition: 0.3s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 16px 20px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  font-weight: 500;
  color: #374151;
}
.mobile-menu .nav-cta {
  text-align: center;
  margin-top: 12px;
  border-bottom: none;
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: block; }
}

/* ── HERO ─────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #022c22 0%, #064e3b 30%, #047857 70%, #059669 100%);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 900px;
  margin: 0 auto 24px;
}
.hero p.subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  max-width: 750px;
  margin: 0 auto 32px;
}
.hero-badge {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 32px;
}
.hero-small { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 32px; }

/* ── BUTTONS ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover { background: #1ebe57; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,211,102,0.3); }
.btn-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-white:hover { background: #fff; color: var(--brand-950); }
.btn-green {
  background: var(--brand-600);
  color: #fff;
}
.btn-green:hover { background: var(--brand-700); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(5,150,105,0.3); }
.btn-outline {
  background: transparent;
  color: var(--brand-700);
  border: 2px solid var(--brand-600);
}
.btn-outline:hover { background: var(--brand-600); color: #fff; }
.btn-sm { padding: 10px 24px; font-size: 0.9rem; }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ── SECTIONS ─────────────────────────────────── */
.section { padding: 80px 20px; }
.section-white { background: #fff; }
.section-cream { background: var(--cream); }
.section-light { background: var(--brand-50); }
.section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--brand-950);
  margin-bottom: 16px;
}
.section .section-intro {
  font-size: 1.05rem;
  color: #6b7280;
  max-width: 750px;
  margin: 0 auto 48px;
}

/* ── CARDS ────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 15px -3px rgba(0,0,0,0.07), 0 10px 20px -2px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover { box-shadow: 0 4px 25px -5px rgba(5,150,105,0.15); transform: translateY(-4px); }
.card-accent { border-left: 4px solid var(--brand-500); }

.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; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── BADGE ────────────────────────────────────── */
.badge {
  display: inline-block;
  background: var(--brand-100);
  color: var(--brand-700);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-popular {
  background: var(--brand-600);
  color: #fff;
}

/* ── STEP NUMBER ──────────────────────────────── */
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.step-icon { font-size: 2rem; margin-bottom: 12px; }

/* ── CHECK LIST ───────────────────────────────── */
.check-list { list-style: none; }
.check-list li {
  padding: 6px 0;
  padding-left: 28px;
  position: relative;
  font-size: 0.95rem;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-500);
  font-weight: 700;
}
.cross-list li::before {
  content: '✗';
  color: #d1d5db;
}

/* ── HIGHLIGHT BOX ────────────────────────────── */
.highlight-box {
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  border: 1px solid var(--brand-200);
  border-radius: 12px;
  padding: 24px;
  color: var(--brand-800);
}
.info-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 20px;
  color: #1e40af;
  font-size: 0.9rem;
}

/* ── FAQ ACCORDION ────────────────────────────── */
.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--brand-600); }
.faq-question .arrow {
  transition: transform 0.3s;
  font-size: 0.8rem;
  color: var(--brand-500);
}
.faq-item.open .faq-question { color: var(--brand-700); border-bottom: 1px solid #e5e7eb; }
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 18px 24px;
}
.faq-answer p { color: #6b7280; line-height: 1.7; }

/* ── PRICING ──────────────────────────────────── */
.pricing-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 2px 15px -3px rgba(0,0,0,0.07);
  position: relative;
  border: 2px solid transparent;
}
.pricing-card.popular {
  border-color: var(--brand-500);
  box-shadow: 0 0 40px rgba(16,185,129,0.15);
}
.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-700);
}
.pricing-price small { font-size: 0.9rem; font-weight: 400; color: #9ca3af; }

/* ── TABLE ────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: 12px; box-shadow: 0 2px 15px -3px rgba(0,0,0,0.07); }
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
th {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  color: #fff;
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}
td {
  padding: 12px 20px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.9rem;
}
tr:hover { background: var(--brand-50); }
.check { color: var(--brand-500); font-weight: 700; }
.cross { color: #d1d5db; }

/* ── CTA SECTION ──────────────────────────────── */
.cta-dark {
  background: linear-gradient(160deg, #022c22, #064e3b, #047857);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}
.cta-dark h2 { color: #fff; font-size: 2rem; margin-bottom: 16px; }
.cta-dark p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 32px; font-size: 1.1rem; }

/* ── TRUST / EXAMPLES ─────────────────────────── */
.trust-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border-left: 4px solid var(--brand-400);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.trust-card .quote {
  font-style: italic;
  color: #4b5563;
  margin-bottom: 12px;
  line-height: 1.7;
}
.trust-card .role { font-weight: 600; color: var(--brand-700); font-size: 0.9rem; }
.trust-disclaimer {
  font-size: 0.8rem;
  color: #9ca3af;
  font-style: italic;
  margin-top: 24px;
}

/* ── WHATSAPP FLOATING ────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: wa-pulse 2s infinite;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); animation: none; }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

/* ── MOBILE STICKY CTA ────────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 10px 16px;
  gap: 10px;
}
.mobile-cta-bar .btn { flex: 1; text-align: center; justify-content: center; padding: 12px 16px; font-size: 0.85rem; }
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  .wa-float { bottom: 80px; }
}

/* ── FOOTER ───────────────────────────────────── */
.footer {
  background: var(--brand-950);
  color: #d1fae5;
  padding: 60px 20px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer p, .footer a { font-size: 0.85rem; color: #a7f3d0; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #6ee7b7;
}
.footer-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-300), var(--brand-500));
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── GLOSSARY ─────────────────────────────────── */
.glossary-term {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}
.glossary-term strong { color: var(--brand-700); }

/* ── TOC ──────────────────────────────────────── */
.toc {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.toc h3 { font-size: 0.95rem; color: var(--brand-800); margin-bottom: 12px; }
.toc a {
  display: block;
  padding: 6px 12px;
  font-size: 0.85rem;
  color: #6b7280;
  border-left: 2px solid transparent;
  transition: all 0.2s;
}
.toc a:hover { color: var(--brand-600); border-left-color: var(--brand-500); background: var(--brand-50); }

/* ── ANIMATIONS ───────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.5s ease forwards; }
