/* TraceurGPS.be — Guide indépendant
   Design system : Belgian Blue + neutral grays + accent yellow
   Typography : Inter (body) + Source Serif Pro (titles)
   ════════════════════════════════════════════════════════ */

:root {
  /* Colors — distinct de MyCopilot orange */
  --primary: #0046AE;        /* Belgian Blue */
  --primary-dark: #003280;
  --accent: #FFCC00;         /* Belgian Yellow accent (drapeau) */
  --dark: #1A1F36;
  --gray-900: #2A2F45;
  --gray-700: #4A5168;
  --gray-500: #6B7280;
  --gray-300: #D1D5DB;
  --gray-100: #F3F4F6;
  --bg: #FAFAFB;
  --white: #FFFFFF;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-title: 'Source Serif Pro', Georgia, 'Times New Roman', serif;

  /* Spacing */
  --container-max: 1180px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 6px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }

/* Layout */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

/* Headings — Serif for editorial feel */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--dark);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 18px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 16px; margin-top: 48px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; margin-top: 28px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }

p { margin-bottom: 18px; color: var(--gray-700); }
p:last-child { margin-bottom: 0; }

/* Top bar */
.top-bar {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar a { color: rgba(255,255,255,.85); }
.top-bar .disclosure {
  display: inline-flex; align-items: center; gap: 6px;
}
.disclosure::before {
  content: 'ⓘ';
  color: var(--accent);
}

/* Site header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.logo {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -.02em;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-links a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: .95rem;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover { background: var(--primary-dark); }

/* Hero */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}
.hero h1 { margin-bottom: 20px; }
.hero .lead {
  font-size: 1.18rem;
  max-width: 680px;
  margin-bottom: 32px;
  color: var(--gray-700);
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Sections */
.section { padding: 64px 0; }
.section--alt { background: var(--gray-100); }
.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--primary);
  background: rgba(0,70,174,.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 48px; height: 48px;
  background: rgba(0,70,174,.1);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card h3 { margin-top: 0; }
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  margin-top: 14px;
}

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gray-300);
}
.compare-table th {
  background: var(--gray-100);
  font-weight: 700;
  color: var(--dark);
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table tr:hover { background: var(--gray-100); }

/* FAQ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 12px;
}
.faq-item h3 {
  font-size: 1.08rem;
  margin: 0 0 10px;
  cursor: pointer;
}
.faq-item p { margin: 0; }

/* CTA section (yellow accent) */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-top: 0; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto 24px; }
.cta-band .btn-primary {
  background: var(--accent);
  color: var(--dark);
}
.cta-band .btn-primary:hover { background: #E6B800; color: var(--dark); }

/* Footer */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 56px 0 24px;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.7); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
}

/* Editorial disclosure */
.editorial-note {
  background: rgba(255,204,0,.1);
  border-left: 4px solid var(--accent);
  padding: 16px 22px;
  border-radius: var(--radius);
  margin: 24px 0;
  font-size: .95rem;
  color: var(--gray-700);
}
.editorial-note strong { color: var(--dark); }

/* Mobile responsive */
@media (max-width: 768px) {
  .hero { padding: 56px 0 40px; }
  .section { padding: 48px 0; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .compare-table { font-size: .88rem; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
