/* ==========================================================================
   MapBoost — Design system du site (dérivé du Brand Guide v3.0)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  /* Couleurs de base */
  --black:    #080809;
  --ink:      #0E0E11;
  --charcoal: #16161A;
  --steel:    #1E1E24;
  --muted:    #2A2A33;
  --dim:      #44444F;
  --mid:      #6B6B7A;
  --soft:     #9898A8;
  --pale:     #C4C4D0;
  --white:    #F0F0F5;

  /* Accents */
  --accent:   #00C2FF;   /* Bleu MapBoost — IA, actions */
  --accent2:  #0084FF;   /* Bleu profond MapBoost */
  --google:   #4285F4;   /* Bleu Google — GMB uniquement */
  --glow:     rgba(0,194,255,.18);
  --gold:     #E8C97A;
  --success:  #00FF87;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Mono', monospace;
  overflow-x: hidden;
  line-height: 1.5;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ── Typographie utilitaire ─────────────────────────────────────── */
.eyebrow { font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--dim); }
.eyebrow.accent { color: var(--accent); }
.h-display { font-family: 'Syne', sans-serif; font-weight: 800; letter-spacing: -2.5px; line-height: .98; color: var(--white); }
.h-display em { font-style: normal; color: var(--accent); }
.h2 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(28px,3.4vw,40px); letter-spacing: -1px; line-height: 1.1; color: var(--white); }
.h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -.3px; color: var(--white); }
.lede { font-size: 15px; color: var(--soft); line-height: 1.8; max-width: 60ch; }
.mono-accent { color: var(--accent); }

/* ── Nav ─────────────────────────────────────────────────────────── */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,8,9,.86); backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 32px; max-width: var(--maxw); margin: 0 auto; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -.5px; }
.nav-brand img { width: 26px; height: 26px; object-fit: contain; }
.nav-brand .boost { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 6px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mid); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--pale); background: rgba(255,255,255,.04); }
.nav-links a.current { color: var(--accent); background: rgba(0,194,255,.08); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.14); border-radius: 6px; width: 38px; height: 38px; color: var(--white); font-size: 18px; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 62px 0 auto 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; border-bottom: 1px solid rgba(255,255,255,.06); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .2s; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 12px; }
  .nav-cta { margin: 6px 16px 4px; }
  .nav-toggle { display: block; }
}

/* ── Boutons ─────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 7px; font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; border: none; transition: all .2s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #051018; box-shadow: 0 0 0 rgba(0,194,255,.4); }
.btn-primary:hover { background: #33CDFF; box-shadow: 0 8px 28px rgba(0,194,255,.28); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--pale); border: 1px solid rgba(255,255,255,.16); }
.btn-secondary:hover { border-color: rgba(255,255,255,.32); color: var(--white); }
.btn-lg { padding: 16px 30px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ── Badges ──────────────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 4px; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; }
.badge-accent { background: rgba(0,194,255,.1); color: var(--accent); border: 1px solid rgba(0,194,255,.22); }
.badge-google { background: rgba(66,133,244,.1); color: var(--google); border: 1px solid rgba(66,133,244,.22); }
.badge-gold   { background: rgba(232,201,122,.1); color: var(--gold); border: 1px solid rgba(232,201,122,.22); }
.badge-green  { background: rgba(0,255,135,.08); color: var(--success); border: 1px solid rgba(0,255,135,.16); }
.badge-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ── Sections génériques ─────────────────────────────────────────── */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 14px; display: block; }
.divider { height: 1px; background: rgba(255,255,255,.06); }
.on-ink { background: var(--ink); }
.on-charcoal { background: var(--charcoal); }

/* ── Cards ───────────────────────────────────────────────────────── */
.card { background: var(--charcoal); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius-md); padding: 30px; }
.card-grid { display: grid; gap: 2px; background: rgba(255,255,255,.06); border-radius: var(--radius-md); overflow: hidden; }
.card-grid > * { background: var(--charcoal); padding: 34px 28px; }

/* ── Footer ──────────────────────────────────────────────────────── */
footer { border-top: 1px solid rgba(255,255,255,.06); padding: 56px 0 32px; background: var(--black); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.footer-brand img { width: 22px; height: 22px; }
.footer-brand .boost { color: var(--accent); }
.footer-desc { font-size: 12px; color: var(--mid); line-height: 1.8; max-width: 32ch; }
.footer-col h4 { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.footer-col a, .footer-col span { display: block; font-size: 12px; color: var(--soft); margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.05); font-size: 10px; color: var(--dim); letter-spacing: .5px; flex-wrap: wrap; gap: 10px; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
}
