/* ============================================================
   Diagperf76 — Design System v3 "Urban Garage"
   Couleurs : Orange #FF5500 · Anthracite #0C0C0E
   ============================================================ */

/* polices chargées via <link> dans le <head> (chargement parallèle) */

/* ── Variables ──────────────────────────────────────────── */
:root {
  --bg      : #0C0C0E;
  --bg-2    : #131316;
  --bg-3    : #1A1A1F;
  --bg-4    : #222229;
  --red     : #FF5500;
  --red-2   : #FF7733;
  --red-3   : #CC4400;
  --white   : #F2F2F5;
  --gray    : #8A8A9A;
  --gray-2  : #55556A;
  --border  : rgba(255,85,0,.14);
  --border-2: rgba(255,255,255,.06);
  --ease    : cubic-bezier(.4,0,.2,1);
  --t       : .26s;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
ul { list-style: none; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--red); }
::selection { background: var(--red); color: #fff; }

/* ── Container ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px)  { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

/* ── Section ────────────────────────────────────────────── */
.section { padding: 5.5rem 0; }
@media (max-width: 768px) { .section { padding: 3.5rem 0; } }

/* ── Typography ─────────────────────────────────────────── */
.heading-xl {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(2.15rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.heading-lg {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.heading-md {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1.02rem, 1.6vw, 1.3rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}
.section-title {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  letter-spacing: .08em;
}

/* ── Tag / badge ────────────────────────────────────────── */
.tag, .badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red-2);
  padding: .3rem .8rem;
  border: 1px solid var(--border);
  background: rgba(229,62,62,.07);
}
.tag::before, .badge::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 4px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Gradient text ──────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(90deg, var(--red), var(--red-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Slash label (section intro) ────────────────────────── */
.slash-label {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.25rem;
}
.slash-label::before {
  content: '/';
  color: var(--red);
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
}
.slash-label span {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
}
/* alias */
.section-label { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; }
.section-label::before { content: '/'; color: var(--red); font-family: 'Barlow', sans-serif; font-weight: 900; font-size: 1.1rem; }
.section-label .mono { color: var(--gray); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--red);
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .8rem 2rem;
  border: 2px solid var(--red);
  cursor: pointer;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--red-2);
  border-color: var(--red-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(229,62,62,.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: transparent;
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .78rem 1.9rem;
  border: 2px solid var(--border-2);
  cursor: pointer;
  transition: border-color var(--t), color var(--t), transform var(--t);
  white-space: nowrap;
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

/* ── Header ─────────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(12,12,14,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229,62,62,.1);
  transition: background var(--t), box-shadow var(--t);
}
#header.scrolled {
  background: rgba(12,12,14,.99);
  box-shadow: 0 2px 24px rgba(0,0,0,.7);
}

.nav-link {
  color: var(--gray);
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2rem 0;
  position: relative;
  transition: color var(--t);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--t) var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ── Mobile menu ────────────────────────────────────────── */
#mobile-menu {
  display: none;
  background: rgba(12,12,14,.99);
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
}
#mobile-menu.open { display: block; }

.mobile-nav-link {
  display: block;
  padding: .8rem 0;
  color: var(--gray);
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-2);
  transition: color var(--t);
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--red); }

/* ── HERO ────────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding-top: 64px;
}

/* Racing stripe decoration */
.hero-stripe-left {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--red);
  z-index: 0;
}
.hero-stripe-2 {
  position: absolute;
  left: 12px; top: 0; bottom: 0;
  width: 2px;
  background: rgba(229,62,62,.3);
  z-index: 0;
}

/* Large decorative number */
.hero-bg-num {
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  font-size: clamp(14rem, 25vw, 22rem);
  color: rgba(229,62,62,.04);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -.05em;
  z-index: 0;
}

/* Horizontal red line decoration */
.hero-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(229,62,62,0));
  z-index: 0;
}

#hero .container { position: relative; z-index: 2; }
#hero .heading-xl {
  font-size: clamp(1.95rem, 4.6vw, 3.8rem);
  line-height: .96;
}
#hero .lead-text {
  font-size: .98rem;
  line-height: 1.7;
}

/* ── Hero info bar ───────────────────────────────────────── */
.hero-infobar {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: .75rem 1.25rem;
  background: var(--bg-3);
  border-left: 3px solid var(--red);
  margin-top: 2.5rem;
}
.hero-infobar-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  color: var(--gray);
}
.hero-infobar-item svg { color: var(--red); width: 14px; height: 14px; flex-shrink: 0; }
.hero-infobar-item strong { color: var(--white); font-weight: 600; }

/* ── Stats strip ─────────────────────────────────────────── */
#stats-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.stat-item {
  text-align: center;
  padding: 2.5rem 1rem;
  border-right: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  position: relative;
}
.stat-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width .4s var(--ease);
}
.stat-item:hover::before { width: 100%; }
.stat-num {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  display: block;
  letter-spacing: -.02em;
}
.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem;
  color: var(--gray);
  margin-top: .4rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
}
/* aliases */
.stat-box { background: var(--bg-2); border: 1px solid var(--border-2); padding: 1.5rem 1rem; text-align: center; }
.stat-number { font-family: 'Barlow', sans-serif; font-size: 2.5rem; font-weight: 900; color: var(--red); line-height: 1; display: block; }

/* ── Why grid ────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

.why-item {
  padding: 2.5rem 1.75rem;
  border-right: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  position: relative;
  overflow: hidden;
  transition: background var(--t);
}
.why-item::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 0;
  background: var(--red);
  transition: height .35s var(--ease);
}
.why-item:hover { background: rgba(229,62,62,.04); }
.why-item:hover::after { height: 100%; }

.why-num {
  font-family: 'Barlow', sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(229,62,62,.07);
  line-height: 1;
  margin-bottom: .5rem;
  letter-spacing: -.03em;
  user-select: none;
}
.why-icon {
  width: 44px; height: 44px;
  background: rgba(229,62,62,.1);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: background var(--t);
}
.why-icon svg { color: var(--red); width: 20px; height: 20px; }
.why-item:hover .why-icon { background: rgba(229,62,62,.2); }
.why-title {
  font-family: 'Barlow', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .4rem;
}
.why-text { font-size: .875rem; color: var(--gray); line-height: 1.65; }

/* ── Service list ────────────────────────────────────────── */
.service-list { display: flex; flex-direction: column; }

.service-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--border-2);
  transition: background var(--t);
}
.service-row:first-child { border-top: 1px solid var(--border-2); }
.service-row:hover { background: rgba(229,62,62,.04); }

.service-num {
  width: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow', sans-serif;
  font-size: .75rem;
  font-weight: 900;
  color: var(--red);
  border-right: 1px solid var(--border-2);
  padding: 1.5rem 0;
  letter-spacing: .06em;
}
.service-icon {
  width: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-2);
  padding: 1.5rem 0;
}
.service-icon svg { color: var(--red); width: 20px; height: 20px; }

.service-content {
  flex: 1;
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.service-name {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.service-desc { font-size: .82rem; color: var(--gray); margin-top: .15rem; }
.service-arrow {
  color: var(--gray-2);
  transition: color var(--t), transform var(--t);
  flex-shrink: 0;
}
.service-row:hover .service-arrow { color: var(--red); transform: translateX(5px); }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  padding: 1.75rem;
  position: relative;
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 0;
  background: var(--red);
  transition: height .35s var(--ease);
}
.card:hover { border-color: rgba(229,62,62,.25); background: var(--bg-3); transform: translateY(-3px); }
.card:hover::before { height: 100%; }

/* ── Icon box ────────────────────────────────────────────── */
.icon-box {
  width: 46px; height: 46px;
  background: rgba(229,62,62,.1);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--t);
}
.icon-box svg { color: var(--red); width: 20px; height: 20px; }
.card:hover .icon-box { background: rgba(229,62,62,.2); }

/* ── Reviews marquee ─────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  position: relative;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--bg-2), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(to left, var(--bg-2), transparent); }

.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.review-card {
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-left: 3px solid var(--red);
  padding: 1.5rem;
  min-width: 300px;
  max-width: 320px;
  flex-shrink: 0;
  transition: border-color var(--t);
}
.review-card:hover { border-color: rgba(229,62,62,.5); }

.stars { color: #F59E0B; font-size: .95rem; letter-spacing: 1px; }
.review-text { font-size: .875rem; color: var(--gray); line-height: 1.65; margin: .75rem 0; }
.review-author { font-family: 'Barlow', sans-serif; font-size: .9rem; font-weight: 700; text-transform: uppercase; }
.review-date { font-size: .75rem; color: var(--gray-2); margin-left: .4rem; }
.review-source { font-size: .7rem; color: var(--gray-2); margin-top: .2rem; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border-2); overflow: hidden; }
.faq-item:first-child { border-top: 1px solid var(--border-2); }

.faq-btn {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  cursor: pointer;
  transition: color var(--t);
}
.faq-btn:hover { color: var(--red); }
.faq-btn svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--red);
  transition: transform var(--t) var(--ease);
}
.faq-item.open .faq-btn svg { transform: rotate(45deg); }

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq-body-inner {
  padding: 0 0 1.25rem;
  color: var(--gray);
  font-size: .9rem;
  line-height: 1.7;
}

/* ── Form ────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray);
}
.form-input {
  background: var(--bg-3);
  border: 1px solid rgba(255,255,255,.08);
  border-left: 3px solid transparent;
  color: var(--white);
  font-size: .95rem;
  font-family: inherit;
  padding: .75rem 1rem;
  width: 100%;
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}
.form-input:focus {
  border-color: rgba(255,255,255,.1);
  border-left-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,62,62,.1);
}
.form-input::placeholder { color: var(--gray-2); }
textarea.form-input { resize: vertical; min-height: 130px; }

/* ── Map ─────────────────────────────────────────────────── */
.map-wrapper { overflow: hidden; border: 1px solid var(--border-2); }

/* ── Alert ───────────────────────────────────────────────── */
.alert-success {
  background: rgba(74,222,128,.07);
  border: 1px solid rgba(74,222,128,.2);
  border-left: 3px solid #4ade80;
  padding: 1rem 1.25rem;
  color: #86efac;
  display: none;
  gap: .75rem;
}
.alert-success.show { display: flex; align-items: center; }

/* ── Footer ──────────────────────────────────────────────── */
#footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border-2);
}

.footer-link {
  color: var(--gray-2);
  font-size: .82rem;
  transition: color var(--t);
}
.footer-link:hover { color: var(--red); }

.footer-full-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}
.footer-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  color: var(--gray-2);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
@media (min-width: 640px) {
  .footer-full-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-full-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; }
}

.social-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  color: var(--gray);
  transition: var(--t);
}
.social-btn:hover { background: rgba(229,62,62,.12); border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* ── FAB ─────────────────────────────────────────────────── */
#fab-call {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  width: 54px; height: 54px;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(229,62,62,.5);
  transition: transform var(--t), box-shadow var(--t);
  border: none; cursor: pointer;
}
#fab-call:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(229,62,62,.65); }
#fab-call svg { width: 22px; height: 22px; }
@media (min-width: 1024px) { #fab-call { display: none; } }

.pulse-ring { position: relative; }
.pulse-ring::before {
  content: '';
  position: absolute;
  inset: -5px;
  border: 2px solid var(--red);
  border-radius: 50%;
  animation: pulse-anim 2s ease-out infinite;
  opacity: 0;
}
@keyframes pulse-anim {
  0%   { transform: scale(.8); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ── FAB WhatsApp ────────────────────────────────────────── */
#fab-whatsapp {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 99;
  width: 54px; height: 54px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--t), box-shadow var(--t);
  border: none; cursor: pointer;
}
#fab-whatsapp:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,.65); }
#fab-whatsapp svg { width: 26px; height: 26px; }
@media (min-width: 1024px) {
  #fab-whatsapp { bottom: 2rem; right: 5.5rem; }
}

/* ── Cookie banner ───────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 300;
  background: var(--bg-3);
  border-top: 2px solid var(--red);
  padding: 1.25rem;
  transform: translateY(100%);
  transition: transform .4s var(--ease);
}
#cookie-banner.show { transform: translateY(0); }

.map-consent {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: .9rem;
  padding: 1.6rem;
  background: var(--bg-3);
}
.map-consent h3 {
  font-family: 'Barlow', sans-serif;
  font-size: 1.1rem;
  line-height: 1.1;
  text-transform: uppercase;
}
.map-consent p {
  color: var(--gray);
  font-size: .9rem;
  line-height: 1.65;
  max-width: 32rem;
}
.map-consent-tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red);
}
.map-consent-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
}

/* ── Page hero ───────────────────────────────────────────── */
.page-hero {
  padding: 8.5rem 0 4rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-2);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--red);
}
.page-hero .container { position: relative; z-index: 2; }

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: .4rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  color: var(--gray-2);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.breadcrumb a { color: var(--gray-2); transition: color var(--t); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--gray); }
.breadcrumb svg { width: 12px; height: 12px; }

/* ── Legal ───────────────────────────────────────────────── */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 {
  font-family: 'Barlow', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--white);
  margin: 2.5rem 0 .85rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border-2);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-family: 'Barlow', sans-serif; font-size: 1rem; font-weight: 700; text-transform: uppercase; margin: 1.25rem 0 .5rem; color: var(--red-2); }
.legal-content p  { color: var(--gray); margin-bottom: .75rem; font-size: .95rem; }
.legal-content ul { color: var(--gray); padding-left: 1.25rem; margin-bottom: .75rem; list-style: disc; }
.legal-content ul li { margin-bottom: .3rem; font-size: .95rem; }
.legal-content a { color: var(--red-2); text-decoration: underline; text-underline-offset: 2px; }

.placeholder {
  color: #fbbf24;
  font-weight: 600;
}
.notice {
  background: rgba(255,85,0,.07);
  border: 1px solid rgba(255,85,0,.16);
  border-left: 4px solid var(--red);
  padding: 1.15rem 1.25rem;
}
.notice-title {
  font-family: 'Barlow', sans-serif;
  font-size: .86rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: .45rem;
  color: var(--white);
}
.notice p,
.notice li {
  color: var(--gray);
  font-size: .9rem;
  line-height: 1.7;
}
.notice ul {
  list-style: disc;
  padding-left: 1.15rem;
  margin-top: .65rem;
}
.lead-text {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.8;
}
.content-narrow {
  max-width: 860px;
  margin: 0 auto;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: center;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.city-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.check-list li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  color: var(--gray);
  font-size: .92rem;
  line-height: 1.65;
}
.check-list li::before {
  content: '•';
  color: var(--red);
  flex-shrink: 0;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.stage1-form .btn-primary {
  width: 100%;
  justify-content: center;
}
.config-note {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-2);
  color: var(--gray);
  font-size: .86rem;
  line-height: 1.65;
  padding: .9rem 1rem;
}
.config-note[data-state="error"] {
  border-color: rgba(248,113,113,.25);
  color: #fca5a5;
}
.config-note[data-state="ready"] {
  border-color: rgba(229,62,62,.2);
  color: var(--gray);
}
.stage1-status {
  margin-bottom: 1rem;
}
.result-headline {
  margin-bottom: 1rem;
}
.result-heading {
  font-family: 'Barlow', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--white);
}
.result-subtitle {
  color: var(--gray);
  font-size: .88rem;
  line-height: 1.6;
  margin-top: .45rem;
}
.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1rem;
}
.result-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .7rem;
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,.02);
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-2);
}
.result-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
}
.result-card {
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  padding: 1rem;
}
.result-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-2);
  margin-bottom: .4rem;
}
.result-card strong {
  font-family: 'Barlow', sans-serif;
  font-size: 1.15rem;
  color: var(--white);
}
.result-card .result-delta {
  font-size: 1.45rem;
  color: var(--red);
  line-height: 1.05;
}
.result-note,
.result-empty {
  color: var(--gray);
  font-size: .88rem;
  line-height: 1.6;
  margin-top: 1rem;
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}
.result-actions .btn-primary,
.result-actions .btn-outline {
  justify-content: center;
}
.result-stack {
  display: grid;
  gap: .85rem;
  margin-top: 1rem;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-2);
}
.data-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}
.data-table thead tr {
  background: var(--bg-3);
  border-bottom: 2px solid var(--red);
}
.data-table th {
  padding: .9rem 1rem;
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-2);
}
.data-table td {
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--border-2);
  color: var(--gray);
  font-size: .9rem;
}
.data-table tbody tr:hover {
  background: rgba(255,85,0,.04);
}
.data-table tbody tr:last-child td {
  border-bottom: none;
}
.data-table strong {
  color: var(--white);
}
@media (min-width: 768px) {
  .info-grid,
  .calc-grid,
  .result-grid,
  .city-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .result-actions {
    flex-direction: column;
  }
  .result-actions .btn-primary,
  .result-actions .btn-outline {
    width: 100%;
  }
}
@media (min-width: 1024px) {
  .city-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Scroll reveal ───────────────────────────────────────── */
/* Reveal animations — desktop uniquement */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left  { opacity: 0; transform: translateX(-20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(20px);  transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
/* Mobile : tout visible, pas d'animation */
@media (max-width: 767px) {
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
}

/* ── Delays ─────────────────────────────────────────────── */
.delay-100 { transition-delay: .1s; }
.delay-200 { transition-delay: .2s; }
.delay-300 { transition-delay: .3s; }
.delay-400 { transition-delay: .4s; }
.delay-500 { transition-delay: .5s; }

/* ── Divider ─────────────────────────────────────────────── */
.divider { height: 1px; background: linear-gradient(90deg, var(--red), transparent); }

/* ── Grids ───────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: repeat(4,1fr); } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }

/* ── Photo grid ─────────────────────────────────────────── */
.photo-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .75rem; }
@media (min-width: 640px)  { .photo-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .photo-grid { grid-template-columns: repeat(4,1fr); } }
.photo-slot { aspect-ratio:1; background:var(--bg-2); border:1px dashed var(--border); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.5rem; color:var(--gray-2); font-size:.78rem; text-align:center; padding:1rem; transition:border-color var(--t); overflow:hidden; }
.photo-slot:hover { border-color: var(--red); color: var(--red); }
.photo-slot img { width:100%; height:100%; object-fit:cover; }

/* ── Step ────────────────────────────────────────────────── */
.step-number {
  width: 40px; height: 40px;
  background: rgba(229,62,62,.12);
  border: 1px solid var(--red);
  color: var(--red);
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ── CTA block ───────────────────────────────────────────── */
.cta-block {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-left: 4px solid var(--red);
  padding: 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: 'DIAGPERF76';
  position: absolute;
  right: -1rem; bottom: -1rem;
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  font-size: 8rem;
  color: rgba(229,62,62,.04);
  line-height: 1;
  letter-spacing: -.04em;
  user-select: none;
  pointer-events: none;
}

/* ── Zone chip ───────────────────────────────────────────── */
.zone-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  color: var(--gray);
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  padding: .3rem .65rem;
  letter-spacing: .04em;
}
.zone-chip::before { content: ''; width: 5px; height: 5px; background: var(--red); border-radius: 50%; flex-shrink: 0; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  #hero {
    min-height: auto;
    padding-top: 88px;
    padding-bottom: 3rem;
  }
  #hero .hero-inner {
    text-align: center;
    gap: 2rem !important;
  }
  #hero .hero-inner .tag {
    display: inline-flex;
    font-size: .64rem;
    letter-spacing: .1em;
  }
  #hero .hero-inner h1 {
    text-align: center;
    font-size: 1.9rem;
    line-height: .98;
  }
  #hero .hero-inner p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: .91rem;
    line-height: 1.65;
  }
  #hero .hero-inner > div:first-child > div[style*="flex-wrap"] {
    justify-content: center;
  }
  .hero-infobar {
    justify-content: center;
    width: 100%;
    gap: .9rem;
    margin-top: 1.4rem;
    padding: .65rem .85rem;
  }
  .hero-infobar-item { font-size: .74rem; }
  #hero .hero-inner > div:last-child {
    display: none;
  }
}

@media (max-width: 480px) {
  .heading-xl { font-size: 1.95rem; }
  #hero .hero-inner h1 { font-size: 1.55rem; }
  #hero .hero-inner p { font-size: .87rem; }
  .btn-primary, .btn-outline { font-size: .85rem; padding: .7rem 1.4rem; }
  .service-icon { display: none; }
}

/* ── Service cards cliquables ───────────────────────────── */
.service-card {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.service-card .tag { margin-bottom: .25rem; }
.service-card .heading-md { margin-bottom: .25rem; }
.service-card .service-desc {
  color: var(--gray);
  font-size: .93rem;
  line-height: 1.7;
  flex: 1;
}
.service-price-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(249, 115, 22, .12), rgba(249, 115, 22, .04));
  border: 1px solid rgba(249, 115, 22, .35);
  border-radius: 10px;
  color: var(--white);
  text-decoration: none;
  transition: all .25s var(--ease);
  cursor: pointer;
}
.service-price-btn:hover {
  background: linear-gradient(135deg, rgba(249, 115, 22, .25), rgba(249, 115, 22, .12));
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, .15);
}
.service-price-btn .price-label {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  color: var(--gray);
}
.service-price-btn .price-label strong {
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
}
.service-price-btn .price-arrow {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: var(--red);
  white-space: nowrap;
}

/* Mini cards EGR/FAP/AdBlue cliquables */
.service-card-mini {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  text-decoration: none;
  color: inherit;
  transition: all .25s var(--ease);
  cursor: pointer;
}
.service-card-mini:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(249, 115, 22, .12);
}
.service-card-mini h3 { margin-bottom: .3rem; }
.service-card-mini p {
  color: var(--gray);
  font-size: .9rem;
  line-height: 1.65;
  flex: 1;
}
.service-card-mini .mini-price {
  margin-top: .8rem;
  padding-top: .8rem;
  border-top: 1px solid var(--border);
  color: var(--red);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: .9rem;
}
.service-card-mini .mini-price strong {
  color: var(--white);
  font-size: 1.05rem;
}

/* ── Simulator gains.html ───────────────────────────────── */
.section-simulator {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  padding: 4rem 0 5rem;
}
.simulator-header {
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: 720px;
}
.simulator-frame {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.simulator-frame iframe {
  display: block;
  width: 100%;
  border: 0;
  background: var(--bg-2);
}
.iframe-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 3rem 1.5rem;
  text-align: center;
  min-height: 500px;
}
.iframe-placeholder p {
  color: var(--gray);
  font-size: .95rem;
  max-width: 380px;
  line-height: 1.65;
}
.iframe-placeholder .iframe-hint {
  color: var(--gray-2);
  font-size: .78rem;
  margin-top: .5rem;
}
.simulator-cta {
  text-align: center;
  margin-top: 2.5rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.simulator-cta p {
  color: var(--gray);
  font-size: .95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* ── Hero centré desktop ────────────────────────────────── */
@media (min-width: 768px) {
  #hero .hero-inner {
    text-align: center;
    grid-template-columns: 1fr !important;
    max-width: 880px;
    margin: 0 auto;
  }
  #hero .hero-inner > div:first-child > div[style*="margin-bottom:1.4rem"] {
    margin: 0 auto 1.4rem;
    display: inline-block;
  }
  #hero .hero-inner h1 {
    margin-left: auto;
    margin-right: auto;
  }
  #hero .hero-inner p.lead-text {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #hero .cta-actions {
    justify-content: center !important;
  }
  #hero .hero-infobar {
    justify-content: center;
  }
}

/* ── Mobile : centre simulator ──────────────────────────── */
@media (max-width: 767px) {
  .simulator-frame { border-radius: 12px; }
  .simulator-frame iframe { height: 410px !important; }
  .iframe-placeholder { min-height: 400px; padding: 2rem 1rem; }
  .service-price-btn {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    text-align: left;
  }
  .service-price-btn .price-arrow {
    align-self: flex-end;
  }
}

/* ── Price card homepage cliquable ──────────────────────── */
.price-card {
  padding: 1.5rem;
}
.price-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .9rem .75rem;
  margin: 0 -.75rem;
  border-radius: 8px;
  border-bottom: 1px solid var(--border-2);
  text-decoration: none;
  color: inherit;
  transition: all .2s var(--ease);
  cursor: pointer;
}
.price-row:last-child { border-bottom: none; }
.price-row:hover {
  background: rgba(249, 115, 22, .08);
  transform: translateX(4px);
}
.price-row:hover .price-value strong { color: var(--red); }
.price-name {
  color: var(--white);
  font-size: .92rem;
  line-height: 1.45;
}
.price-name-hint {
  color: var(--gray-2);
  font-size: .76rem;
  font-weight: 400;
}
.price-value {
  color: var(--gray);
  font-size: .88rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.price-value strong {
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  margin-left: .25rem;
  transition: color .2s var(--ease);
}
.price-disclaimer {
  color: var(--gray-2);
  font-size: .8rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-2);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .price-row { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .price-value { font-size: .85rem; }
}

/* ── Nav desktop optimisée pour 9 liens ─────────────────── */
@media (min-width: 768px) and (max-width: 1100px) {
  #desktop-nav { gap: .85rem !important; }
  #desktop-nav .nav-link { font-size: .82rem; }
  #desktop-nav .btn-primary { font-size: .78rem !important; padding: .55rem 1rem !important; }
}
@media (min-width: 1101px) {
  #desktop-nav { gap: 1.2rem !important; }
}
