/* Mecanova — shared CSS for static pages (mentions légales, CGV, blog) */
:root {
  --accent: #0FB89A;
  --bg: #0A0F0D;
  --fg: #F2F4F2;
  --muted: rgba(242,244,242,.60);
  --line: rgba(242,244,242,.10);
  --card: #111816;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 12px 40px rgba(0,0,0,.4);
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--fg);
  font-family: 'Geist', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
::selection { background: var(--accent); color: #fff; }
.container { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1,h2,h3,h4 { letter-spacing: -0.02em; line-height: 1.1; font-weight: 500; margin: 0 0 .6em; }
h1 { font-size: clamp(32px, 4vw, 52px); }
h2 { font-size: clamp(22px, 2.8vw, 34px); margin-top: 2.4em; }
h3 { font-size: 19px; margin-top: 1.8em; }
p  { margin: 0 0 1.2em; color: var(--muted); }
strong { color: var(--fg); font-weight: 500; }
ul, ol { padding-left: 1.4em; color: var(--muted); }
li { margin-bottom: .5em; }
hr { border: none; border-top: 1px solid var(--line); margin: 2.4em 0; }
.mono { font-family: 'Geist Mono', monospace; }

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(140%) blur(14px);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.site-nav .inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.site-nav a { color: var(--fg); font-size: 14px; }
.site-nav a:hover { text-decoration: none; color: var(--accent); }
.nav-links { display: flex; gap: 24px; color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px;
  font-weight: 500; font-size: 14px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
  white-space: nowrap; text-decoration: none !important;
}
.btn-primary { background: var(--accent); color: #fff !important; box-shadow: 0 4px 14px rgba(15,184,154,.3); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--fg) !important; border-color: var(--line); }
.btn-ghost:hover { background: rgba(242,244,242,.06); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px;
}
.footer-h {
  font-family: 'Geist Mono', monospace; font-size: 10.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.footer-l { display: block; font-size: 13.5px; color: var(--fg); padding: 5px 0; opacity: .85; text-decoration: none; }
.footer-l:hover { opacity: 1; color: var(--accent); text-decoration: none; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  .nav-links { display: none; }
}

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); margin-bottom: 32px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); text-decoration: none; }
.breadcrumb span { opacity: .5; }

/* Chip / badge */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .04em;
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 22%, transparent);
}

/* Prose article */
.prose { max-width: 720px; }
.prose h2 { color: var(--fg); }
.prose h3 { color: var(--fg); }
.prose p { line-height: 1.75; }
.prose ul li, .prose ol li { line-height: 1.7; }
.prose .callout {
  background: color-mix(in oklab, var(--accent) 8%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 20%, transparent);
  border-radius: 10px; padding: 16px 20px; margin: 1.6em 0;
  color: var(--fg);
}
.prose .callout strong { color: var(--accent); }
.prose table {
  width: 100%; border-collapse: collapse; font-size: 14px; margin: 1.6em 0;
}
.prose th, .prose td {
  text-align: left; padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}
.prose th { font-weight: 500; color: var(--fg); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.prose td { color: var(--muted); }
.prose td:first-child { color: var(--fg); font-weight: 500; }

/* ==========================================================================
   /locales/* — single city page
   ========================================================================== */
.local-hero { padding: 72px 0 56px; }
.local-hero h1 { margin-bottom: 20px; }
.local-hero .lead { font-size: 18px; color: var(--muted); max-width: 640px; line-height: 1.7; margin-bottom: 32px; }
.local-stats { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.local-stat .val { font-size: 28px; font-weight: 500; color: var(--accent); font-family: 'Geist Mono', monospace; letter-spacing: -0.02em; }
.local-stat .lbl { font-size: 12px; color: var(--muted); margin-top: 2px; }
.features-local { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 40px 0; }
.feat-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.feat-card h3 { font-size: 15px; margin: 0 0 8px; color: var(--fg); }
.feat-card p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }
.cta-local {
  background: color-mix(in oklab, var(--accent) 8%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 20%, transparent);
  border-radius: 14px; padding: 36px 40px; margin: 48px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.other-villes { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.ville-pill { padding: 6px 14px; border-radius: 999px; font-size: 13px; background: var(--card); border: 1px solid var(--line); color: var(--muted); text-decoration: none; }
.ville-pill:hover { color: var(--accent); border-color: color-mix(in oklab, var(--accent) 30%, var(--line)); text-decoration: none; }
@media (max-width: 640px) { .features-local { grid-template-columns: 1fr; } }

/* ==========================================================================
   /locales/ — hub
   ========================================================================== */
.villes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0; }
.ville-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.ville-card h2 { font-size: 17px; margin: 0 0 14px; }
.ville-card a { display: block; font-size: 13.5px; color: var(--muted); padding: 5px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.ville-card a:last-child { border-bottom: none; }
.ville-card a:hover { color: var(--accent); }
@media (max-width: 860px) { .villes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .villes-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   /comparatif/* — versus pages
   ========================================================================== */
.vs-hero { padding: 64px 0 48px; }
.vs-hero h1 { margin-bottom: 20px; }
.vs-hero .lead { font-size: 18px; color: var(--muted); max-width: 680px; line-height: 1.7; }
.vs-verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0; }
.verdict-card { border-radius: 14px; padding: 24px 26px; border: 1px solid var(--line); }
.verdict-card.mecanova {
  background: color-mix(in oklab, var(--accent) 6%, var(--card));
  border-color: color-mix(in oklab, var(--accent) 25%, var(--line));
}
.verdict-card.g8 { background: var(--card); }
.verdict-card .vc-label { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; color: var(--muted); }
.verdict-card.mecanova .vc-label { color: var(--accent); }
.verdict-card .vc-name { font-size: 20px; font-weight: 500; margin-bottom: 6px; }
.verdict-card .vc-price { font-size: 28px; font-weight: 600; font-family: 'Geist Mono', monospace; letter-spacing: -0.02em; color: var(--accent); }
.verdict-card.g8 .vc-price { font-size: 18px; color: var(--muted); font-weight: 400; }
.verdict-card .vc-note { font-size: 12px; color: var(--muted); margin-top: 4px; }
.ok  { color: var(--accent); font-weight: 500; }
.ko  { color: rgba(242,244,242,.3); }
.mid { color: #f59e0b; }
.compare-section { margin: 48px 0; }
.compare-section h2 { font-size: clamp(20px, 2.5vw, 30px); margin-bottom: 24px; }
.cta-vs {
  background: #0E1411; border-radius: 14px; padding: 36px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin: 48px 0;
  border: 1px solid rgba(255,255,255,.08);
  position: relative; overflow: hidden;
}
.cta-vs::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 100% 0%, color-mix(in oklab, var(--accent) 15%, transparent), transparent 60%);
  pointer-events: none;
}
.cta-vs h3 { color: #fff; font-size: 20px; margin: 0 0 8px; }
.cta-vs p  { color: rgba(255,255,255,.6); font-size: 14px; margin: 0; }
@media (max-width: 640px) { .vs-verdict { grid-template-columns: 1fr; } }
