/* JMC Motors — FG Assist demo · vente automobile */

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

:root {
  --bg: #F5F7FA;
  --surface: #fbfbfc;
  --ink: #071537;
  --ink-soft: #263552;
  --muted: #64748B;
  --accent: #022683;
  --accent-dark: #011858;
  --accent-soft: #e9eefc;
  --cream: #edf1fb;
  --border: rgba(2, 38, 131, 0.13);
  --shadow: 0 1px 3px rgba(2, 24, 88, 0.06), 0 8px 32px rgba(2, 24, 88, 0.08);
  --shadow-hover: 0 4px 24px rgba(2, 24, 88, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-ui: 'Outfit', system-ui, sans-serif;
  --header-h: 72px;
  --ticker-h: 0px; /* barre défilante retirée — conserve les calc() existants */
  --call-bar-h: 56px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--ticker-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.container {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: clamp(1.75rem, 6vw, 4rem);
}

/* ── Ticker ── */
.ticker {
  position: sticky;
  top: 0;
  z-index: 102;
  height: var(--ticker-h);
  background: var(--accent);
  color: rgba(255, 255, 255, 0.95);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 28s linear infinite;
  will-change: transform;
}

.ticker-track span {
  flex-shrink: 0;
  padding: 0 2.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-track span::before {
  content: '◆';
  margin-right: 1rem;
  font-size: 0.45rem;
  opacity: 0.6;
  vertical-align: middle;
}

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

/* ── Header ── */
.site-header {
  position: sticky;
  top: var(--ticker-h);
  z-index: 100;
  height: var(--header-h);
  background: rgba(245, 247, 250, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(28, 40, 64, 0.06);
}

.demo-strip,
.signature-band,
.ticker,
.site-header {
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.site-header .container {
  width: min(1400px, 100%);
  padding-inline: clamp(2rem, 5vw, 5rem);
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.625rem;
  color: var(--ink);
}

.logo-mark {
  flex-shrink: 0;
  width: auto;
  height: 40px;
  max-width: 132px;
  display: block;
  object-fit: contain;
}

.footer-brand .logo-mark {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 6px;
  padding: 4px 10px;
  height: 44px;
  max-width: 148px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.logo-name {
  font-family: var(--font-ui);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.logo-tag {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-desktop {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(1.35rem, 2.4vw, 2.35rem);
  list-style: none;
}

/* Bloc nav + téléphone — entièrement masqué sur mobile */
.header-desktop {
  display: none;
  align-items: center;
  gap: clamp(1.75rem, 3.5vw, 3.25rem);
  flex: 1 1 auto;
  min-width: 0;
  justify-content: space-between;
}

.header-desktop > nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.header-cta { display: inline-flex; }

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-desktop a:hover,
.nav-desktop a.is-active { color: var(--ink); }

.nav-desktop a.is-active { font-weight: 600; }

.nav-toggle { display: none; }

.nav-toggle-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-mobile {
  position: fixed;
  top: calc(var(--header-h) + var(--ticker-h));
  left: 0;
  right: 0;
  background: var(--surface);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  z-index: 99;
  max-height: calc(100dvh - var(--header-h) - var(--ticker-h));
  overflow-y: auto;
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-mobile a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius-sm);
}

.nav-mobile a:hover { background: var(--cream); }

.nav-mobile a.nav-cta {
  margin-top: 0.5rem;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-mobile a.nav-cta-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  margin-top: 0.35rem;
}

.nav-mobile a.nav-cta-gold {
  background: #f2cb70;
  color: #071537;
  border: 1.5px solid #f2cb70;
  margin-top: 0.35rem;
}

.nav-mobile a.nav-cta-gold:hover { background: #f7d98f; border-color: #f7d98f; }

.nav-toggle:checked ~ .nav-mobile {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-toggle:checked + .nav-toggle-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle:checked + .nav-toggle-btn span:nth-child(2) { opacity: 0; }
.nav-toggle:checked + .nav-toggle-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 768px) {
  .nav-toggle-btn, .nav-mobile { display: none; }
  .header-desktop { display: flex; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--ink-soft);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(28, 40, 64, 0.2);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-primary::after,
.btn-accent::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.15) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}

.btn-primary:hover::after,
.btn-accent:hover::after { transform: translateX(120%); }

.btn-arrow::after {
  content: '→';
  font-size: 1rem;
  letter-spacing: 0;
  margin-left: 0.15rem;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--ink);
  /* Annule le padding générique `section` — c'était la bande vide au-dessus du titre. */
  padding: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s var(--ease), transform 8s linear;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(28, 40, 64, 0.92) 0%, rgba(28, 40, 64, 0.72) 38%, rgba(28, 40, 64, 0.35) 62%, rgba(28, 40, 64, 0.15) 100%),
    linear-gradient(to top, rgba(28, 40, 64, 0.88) 0%, rgba(28, 40, 64, 0.25) 45%, transparent 100%);
}

.hero-dots {
  position: absolute;
  bottom: 1.25rem;
  right: clamp(1.5rem, 5vw, 3rem);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.hero-dot.is-active {
  background: var(--accent);
  transform: scale(1.35);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(2rem, 5.5vw, 3.4rem);
  color: #fff;
}

.hero-copy {
  max-width: 52rem;
  padding: clamp(1rem, 2.4vw, 1.35rem) clamp(1rem, 2.6vw, 1.75rem);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.85rem;
}

.hero-eyebrow::before {
  content: none;
  display: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero h1 {
  font-family: var(--font-ui);
  font-size: clamp(2.35rem, 6vw, 3.85rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 16ch;
  margin-bottom: 1.25rem;
  text-transform: none;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero-lead {
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 58ch;
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.hero .btn-outline:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.hero-animate {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s var(--ease) forwards;
}

html:not(.js) .hero-animate { opacity: 1; transform: none; animation: none; }

.hero-animate-d1 { animation-delay: 0.08s; }
.hero-animate-d2 { animation-delay: 0.2s; }
.hero-animate-d3 { animation-delay: 0.32s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ── Stats strip ── */
.stats-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  text-align: center;
  padding: 0.5rem;
}

.stat-item strong {
  display: block;
  font-family: var(--font-ui);
  font-size: clamp(1.75rem, 4vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.stat-item strong .accent-num { color: var(--accent); }

.stat-item span {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ── Sections ── */
section { padding: clamp(4rem, 9vw, 6.5rem) 0; }

.section-surface { background: var(--surface); }

.section-cream { background: var(--cream); }

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
  max-width: 640px;
}

.section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.875rem;
}

.section-head h2 {
  font-family: var(--font-ui);
  font-size: clamp(1.875rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 52ch;
}

.section-head.center .section-lead { margin-inline: auto; }

/* ── Catalog / services tabs ── */
.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.catalog-tabs::-webkit-scrollbar { display: none; }

.catalog-tab {
  flex-shrink: 0;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.catalog-tab:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.catalog-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.catalog-tab[data-filter="urgence"].is-active {
  background: var(--accent);
  border-color: var(--accent);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.catalog-filters-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .catalog-filters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}
@media (min-width: 1280px) {
  .catalog-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  /* Référent de positionnement : sans lui, une pastille en position absolue
     remonterait jusqu'à la section et recouvrirait son titre. */
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 0.35s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card.is-hidden {
  display: none;
}

@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

@media (hover: hover) {
  .product-card:hover .product-img-wrap img { transform: scale(1.05); }
}

.product-badge {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-sm);
}

.product-badge.badge-navy {
  background: var(--ink);
}

.product-body { padding: 1rem 1rem 1.125rem; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }

.product-body h3 {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.product-body p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.85rem;
}

.product-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.product-price small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}

/* ── Pillars ── */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

.pillar-card {
  padding: clamp(1.75rem, 4vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.section-cream .pillar-card { background: var(--surface); }

@media (hover: hover) {
  .pillar-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
  }
}

.pillar-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.pillar-num {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.625rem;
}

.pillar-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.pillar-link:hover { color: var(--accent); }

/* ── Story ── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .story-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
}

.story-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream);
}

.photo-disclaimer {
  position: absolute;
  right: 0.7rem;
  bottom: 0.55rem;
  z-index: 2;
  margin: 0;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.58);
  background: rgba(7, 21, 55, 0.32);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.8s var(--ease);
}

@media (hover: hover) {
  .story-visual:hover img { transform: scale(1.03); }
}

.story-content h2 {
  font-family: var(--font-ui);
  font-size: clamp(1.875rem, 4vw, 2.375rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.story-content p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.story-content p.lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.story-quote {
  margin: 1.75rem 0;
  padding: 1.25rem 0 1.25rem 1.25rem;
  border-left: 3px solid var(--accent);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  font-weight: 500;
  font-style: normal;
  line-height: 1.55;
  color: var(--ink-soft);
}

.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.story-tag {
  padding: 0.4rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.section-surface .story-tag { background: var(--bg); }

/* ── Zone intervention ── */
.zone-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .zone-grid { grid-template-columns: 0.9fr 1.1fr; gap: 2rem; }
}

.zone-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.zone-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.zone-item::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.zone-item:hover {
  border-color: rgba(28, 40, 64, 0.2);
  box-shadow: var(--shadow);
}

.zone-map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.zone-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Testimonials marquee ── */
.reviews-marquee-outer {
  margin-top: 0.5rem;
  padding-bottom: 1rem;
  width: 100%;
}

.reviews-viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.reviews-viewport.is-manual {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  mask-image: none;
  -webkit-mask-image: none;
  padding-inline: clamp(1rem, 4vw, 2rem);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.reviews-viewport.is-manual::-webkit-scrollbar { display: none; }
.reviews-viewport.is-manual.is-dragging { cursor: grabbing; }

.reviews-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1rem;
  width: max-content;
  padding: 0.5rem 0 1rem;
  will-change: transform;
}

.reviews-viewport:not(.is-manual) .reviews-track {
  animation: reviewsMarquee 85s linear infinite;
}

.reviews-viewport:not(.is-manual):hover .reviews-track {
  animation-play-state: paused;
}

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

.review-card {
  flex: 0 0 300px;
  width: 300px;
  max-width: 82vw;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  user-select: none;
  box-sizing: border-box;
}

.reviews-scroll-hint {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 0.5rem;
  padding-inline: 1rem;
}

.review-stars {
  color: var(--accent);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}

.review-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
  flex: 1;
}

.review-author {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}

.review-author span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* ── Info cards ── */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .info-grid { grid-template-columns: 1fr 1.2fr; gap: 1.5rem; }
}

.info-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.info-card h3 {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.hours-table { width: 100%; border-collapse: collapse; }

.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }

.hours-table td {
  padding: 0.875rem 0;
  font-size: 0.9375rem;
}

.hours-table td:first-child { font-weight: 500; color: var(--ink); width: 50%; }
.hours-table td:last-child { color: var(--muted); text-align: right; }
.hours-table .urgent td:last-child { color: var(--accent); font-weight: 600; }

.location-list { display: flex; flex-direction: column; gap: 1.25rem; }

.location-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.location-row-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.location-row strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.location-row p,
.location-row a {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.location-row a:hover { color: var(--accent); }

.map-wrap {
  margin-top: 1.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
}

.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ── Devis / contact form ── */
.order-section {
  background: var(--ink) !important;
  color: rgba(255, 255, 255, 0.85);
}

.order-section .section-label { color: #f2cb70; }
.order-section h2 { color: #fff; }
.order-section .section-lead { color: rgba(255, 255, 255, 0.65); }
.order-section .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
}
.order-section .btn-outline:hover {
  background: linear-gradient(110deg, #f2cb70 0%, #fdf0a7 50%, #e6b354 100%);
  color: #011858;
  border-color: transparent;
}
.order-section .step-num {
  background: linear-gradient(110deg, #f2cb70 0%, #fdf0a7 50%, #e6b354 100%);
  color: #011858;
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .order-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}

.order-info h3 {
  font-family: var(--font-ui);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin: 1.5rem 0 0.75rem;
}

.order-info > p { color: rgba(255, 255, 255, 0.65); margin-bottom: 1rem; }

.order-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.order-steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

html.js .order-info:not(.is-visible) .order-steps li {
  opacity: 0;
  transform: translateX(-12px);
}

.order-info.is-visible .order-steps li { opacity: 1; transform: none; }
.order-info.is-visible .order-steps li:nth-child(1) { transition-delay: 0.1s; }
.order-info.is-visible .order-steps li:nth-child(2) { transition-delay: 0.2s; }
.order-info.is-visible .order-steps li:nth-child(3) { transition-delay: 0.3s; }

.step-num {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
}

.order-form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.form-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.125rem;
}

@media (min-width: 480px) {
  .form-pair { grid-template-columns: 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0 1rem;
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input,
.form-group select { height: 3rem; }

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230F3D5C' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group textarea {
  min-height: 7rem;
  padding: 0.75rem 1rem;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.15);
}

.order-form .btn-accent { width: 100%; margin-top: 0.25rem; }

.form-note {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

/* ── Trust bar ── */
.trust-bar {
  padding: 2.5rem 0;
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

.trust-item {
  text-align: center;
  padding: 0.5rem;
}

.trust-icon {
  font-size: 1.5rem;
  margin-bottom: 0.625rem;
  line-height: 1;
}

.trust-item strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.trust-item span {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
}

.footer-brand .logo { margin-bottom: 0.75rem; }
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-tag { color: rgba(255, 255, 255, 0.4); }

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 32ch;
}

.footer-col h4 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-credit a {
  color: var(--accent);
  font-weight: 500;
}

.footer-credit a:hover { color: #fff; }

/* ── Call bar mobile ── */
.call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  background: var(--ink);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.call-bar-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--call-bar-h);
  color: #fff;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.call-bar-phone { border-right: 1px solid rgba(255, 255, 255, 0.1); }
.call-bar-devis { background: var(--accent); color: #fff; border-right: 1px solid rgba(255, 255, 255, 0.1); }
.call-bar-contact { background: #011858; color: #fff; }
.call-bar svg { width: 18px; height: 18px; fill: currentColor; }
.call-bar-text-short { display: none; }

@media (min-width: 768px) {
  .call-bar { display: none; }
  body { padding-bottom: 0; }
}

@media (max-width: 767px) {
  body { padding-bottom: calc(var(--call-bar-h) + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: calc(2rem + var(--call-bar-h) + env(safe-area-inset-bottom)); }
}

/* ── Scroll & reveal ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 200;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
}

.reveal {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.js .reveal:not(.is-visible) { opacity: 0; transform: translateY(24px); }
html.js .reveal-left:not(.is-visible) { transform: translateX(-24px); }
html.js .reveal-right:not(.is-visible) { transform: translateX(24px); }
html:not(.js) .reveal { opacity: 1; transform: none; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── A11y & mobile ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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

@media (max-width: 767px) {
  :root { --header-h: 64px; --ticker-h: 0px; }

  .container {
    padding-inline: clamp(1rem, 4.5vw, 1.5rem);
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero {
    min-height: 0;
    align-items: stretch;
    overflow-x: clip;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(28, 40, 64, 0.35) 0%, rgba(28, 40, 64, 0.82) 55%, rgba(28, 40, 64, 0.95) 100%);
  }

  .hero-content {
    padding: 1.25rem 0 1.5rem;
    min-width: 0;
  }

  .hero-copy {
    max-width: none;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.55rem, 7.2vw, 2.1rem);
  }

  .hero-lead {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }

  .hero-dots {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 0.75rem;
  }

  .hero-slide { transform: scale(1.04); }
  .hero-slide.is-active { transform: scale(1); }

  .hero-actions { flex-direction: column; gap: 0.625rem; width: 100%; }
  .hero-actions .btn { width: 100%; min-height: 48px; box-sizing: border-box; }
  .catalog-grid { gap: 0.875rem; }
  .product-body p { -webkit-line-clamp: 3; }
  .story-visual { aspect-ratio: 16 / 11; }
  .order-form { padding: 1.25rem; }

  html.js .reveal-left:not(.is-visible),
  html.js .reveal-right:not(.is-visible) { transform: translateY(20px); }
}

@media (max-width: 380px) {
  .logo-tag { display: none; }
  .call-bar-text-full { display: none; }
  .call-bar-text-short { display: inline; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}

@media (hover: none) {
  .product-card:hover { transform: none; box-shadow: none; }
  .product-card:hover .product-img-wrap img { transform: none; }
  .pillar-card:hover { transform: none; box-shadow: none; }
  .story-visual:hover img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reviews-viewport:not(.is-manual) .reviews-track,
  .ticker-track,
  .hero-eyebrow::before {
    animation: none !important;
  }
  .hero-slide, .hero-animate, .reveal, .order-steps li {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .hero-slide:not(.is-active) { opacity: 0 !important; }
  .hero-slide.is-active { opacity: 1 !important; }
  .hero-animate, .reveal, .order-steps li { opacity: 1 !important; }
  .scroll-progress, .btn-primary::after, .btn-accent::after { display: none !important; }
}

/* ── JMC Motors — extensions (desktop) ── */

:root {
  --demo-h: 0px;
  --ticker-h: 0px;
}

.demo-strip {
  display: none !important;
}
.demo-strip a { color: #f2cb70; text-decoration: underline; text-underline-offset: 2px; }

.ticker { top: var(--demo-h); z-index: 103; }
.site-header { top: calc(var(--demo-h) + var(--ticker-h)); z-index: 102; }
.nav-mobile { top: calc(var(--demo-h) + var(--ticker-h) + var(--header-h)); }
html { scroll-padding-top: calc(var(--demo-h) + var(--header-h) + var(--ticker-h) + 12px); }
.scroll-progress { top: var(--demo-h); }

.product-badge.badge-reserve { background: #F59E0B; color: #1C2840; }
.product-badge.badge-vendu { background: #64748B; color: #fff; }
.product-badge.badge-featured { background: var(--ink); color: #fff; }

.car-specs-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.car-specs-inline span:not(:last-child)::after {
  content: '·';
  margin-left: 0.75rem;
  color: var(--border);
}

.page-main { padding-top: calc(var(--header-h) + var(--ticker-h) + 2.5rem); }
.breadcrumb { font-size: 0.8125rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--accent); }
.page-main > .breadcrumb,
.detail-layout {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}
.detail-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.detail-gallery {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
  max-width: 100%;
  width: 100%;
}
.detail-gallery img { display: block; }
.detail-gallery--empty { padding: 1.5rem 1.1rem; text-align: center; }
.detail-gallery--carousel { overflow: hidden; }
.detail-gallery-stage {
  position: relative;
  height: clamp(200px, 28vh, 280px);
  background: linear-gradient(160deg, #e8edf8 0%, #f4f6fb 55%, #eef2fa 100%);
}
.detail-gallery-stage > img[data-gallery-main] {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}
.detail-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent);
  box-shadow: 0 3px 12px rgba(2, 24, 88, 0.16);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 2;
}
.detail-gallery-nav svg { width: 18px; height: 18px; fill: currentColor; }
.detail-gallery-nav:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.detail-gallery-nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.detail-gallery-prev { left: 0.55rem; }
.detail-gallery-next { right: 0.55rem; }
.detail-gallery-count {
  position: absolute;
  right: 0.65rem;
  bottom: 0.55rem;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(7, 21, 55, 0.62);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  backdrop-filter: blur(4px);
}
.detail-gallery-thumbs {
  display: flex;
  gap: 0.4rem;
  padding: 0.5rem 0.55rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  border-top: 1px solid var(--border);
  background: #fff;
}
.detail-gallery-thumb {
  flex: 0 0 auto;
  width: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: #eef2f8;
  scroll-snap-align: start;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}
.detail-gallery-thumb img {
  width: 64px;
  height: 42px;
  max-width: none;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
}
.detail-gallery-thumb.is-active,
.detail-gallery-thumb:hover {
  opacity: 1;
  border-color: var(--accent);
}
.detail-gallery-thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.detail-options { margin-top: 0.35rem; }
.detail-options + .detail-options { margin-top: 1.25rem; }
.detail-options > h3 {
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
  color: var(--ink);
}
.detail-options-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.detail-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.detail-option-group {
  background: linear-gradient(180deg, #fff 0%, #f7f9fd 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem 0.95rem;
}
.detail-option-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.65rem;
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  color: var(--accent);
  text-transform: uppercase;
}
.detail-option-group-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 750;
}
.detail-option-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.65rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.detail-option-more:hover,
.detail-option-more:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.detail-option-list--extra {
  margin-top: 0;
  border-top: 1px dashed var(--border);
  padding-top: 0.15rem;
}
.detail-option-list--extra[hidden] {
  display: none !important;
}
.detail-desc .detail-panel-actions { margin-top: 1.15rem; }
.detail-cta-end {
  margin-top: 0.25rem;
  padding: 1.15rem 1.25rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.detail-option-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.detail-option-list li {
  position: relative;
  padding: 0.35rem 0.2rem 0.35rem 1.05rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
  border-bottom: 1px dashed rgba(2, 38, 131, 0.1);
}
.detail-option-list li:last-child { border-bottom: 0; }
.detail-option-list li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.72rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.75;
}

.detail-desc { margin-top: 0; }
.detail-desc h2 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--ink); }
.detail-desc p { color: var(--muted); line-height: 1.7; }

.detail-panel,
.detail-sidebar {
  position: static;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
}
.detail-panel h1,
.detail-sidebar h1 { font-size: 1.35rem; margin-bottom: 0.35rem; letter-spacing: -0.03em; color: var(--ink); }
.detail-panel-lead { color: var(--muted); margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.45; }
.detail-panel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0.25rem;
}
.detail-panel-actions .btn {
  width: auto;
  flex: 0 1 auto;
  margin: 0;
  text-align: center;
}
.detail-panel-note { font-size: 0.8125rem; color: var(--muted); margin: 1rem 0 0; text-align: center; }
.detail-price { font-size: 2rem; font-weight: 700; color: var(--accent); margin-bottom: 1.25rem; letter-spacing: -0.03em; }
.detail-remise { margin: -0.5rem 0 1rem; font-size: 0.95rem; color: var(--ink-soft); }
.detail-remise strong { color: var(--accent); }
.specs-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin-bottom: 1.25rem; }
.spec-item { padding: 0.65rem 0.75rem; background: var(--cream); border-radius: var(--radius-sm); font-size: 0.875rem; color: var(--ink-soft); }
.spec-item strong { display: block; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.15rem; }
.option-tag { display: inline-block; padding: 0.3rem 0.65rem; background: var(--cream); border-radius: var(--radius-pill); font-size: 0.75rem; color: var(--ink-soft); margin: 0.25rem 0.35rem 0.25rem 0; }

.form-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.form-summary-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + var(--ticker-h) + 1.5rem); }
.form-summary-card img { width: 100%; border-radius: var(--radius-sm); aspect-ratio: 16/10; object-fit: cover; margin-bottom: 1rem; }
.form-success-wrap { max-width: 520px; margin: 0 auto; text-align: center; padding: 3rem 1.5rem; }
.form-success-icon { width: 72px; height: 72px; border-radius: 50%; background: rgba(34, 197, 94, 0.12); color: #16A34A; font-size: 2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }

.legal-page { padding: calc(var(--header-h) + var(--ticker-h) + 3rem) 0 4rem; }
.legal-page h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); color: var(--ink); margin-bottom: 0.5rem; }
.legal-table-wrap { overflow-x: auto; margin: 1rem 0 1.25rem; }
.legal-page table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.legal-page th, .legal-page td { border: 1px solid var(--border); padding: 0.5rem 0.65rem; text-align: left; vertical-align: top; }
.legal-page th { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
button.link-like {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
button.link-like:hover, button.link-like:focus-visible { color: var(--accent); }
.map-consent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.75rem;
  min-height: 280px;
  padding: 1.5rem;
  background: var(--accent-soft);
}
.map-consent p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }
.legal-updated { color: var(--muted); font-size: 0.875rem; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.125rem; margin: 2rem 0 0.75rem; color: var(--ink); }
.legal-page p, .legal-page li { color: var(--ink-soft); line-height: 1.65; margin-bottom: 0.75rem; }
.legal-page ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-back { display: inline-flex; font-weight: 600; margin-bottom: 1.5rem; color: var(--accent); }

.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 500; padding: 1rem; transform: translateY(110%); transition: transform 0.35s var(--ease); }
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner-inner { max-width: 960px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: var(--shadow-hover); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.cookie-banner-text { flex: 1; min-width: 220px; font-size: 0.875rem; color: var(--muted); margin: 0; }
.cookie-banner-text strong { color: var(--ink); }
.cookie-banner-text a { color: var(--accent); font-weight: 600; }
.cookie-banner-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
body.has-cookie-banner .call-bar { bottom: 5.5rem; }

.admin-body { background: var(--bg); padding-top: 22px; min-height: 100vh; }
.admin-login { min-height: calc(100vh - 22px); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.admin-login-card { width: min(400px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); }
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 22px); }
.admin-sidebar { background: var(--surface); border-right: 1px solid var(--border); padding: 1.5rem 1rem; }
.admin-nav a { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem; border-radius: var(--radius-sm); color: var(--muted); font-size: 0.9rem; margin-bottom: 0.2rem; }
.admin-nav a:hover, .admin-nav a.active { background: var(--cream); color: var(--ink); }
.admin-main { padding: 2rem; }
.admin-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.admin-header h1 { font-size: 1.5rem; color: var(--ink); }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.stat-card .label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-card .value { font-size: 1.75rem; font-weight: 700; color: var(--ink); margin-top: 0.25rem; }
.stat-card .value.accent { color: var(--accent); }
.stat-card .value.green { color: #16A34A; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.admin-table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table th, .admin-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.admin-table th { background: var(--cream); color: var(--muted); font-size: 0.72rem; text-transform: uppercase; }
.status-pill { display: inline-block; padding: 0.2rem 0.55rem; border-radius: var(--radius-pill); font-size: 0.7rem; font-weight: 600; }
.status-nouveau { background: #DBEAFE; color: #1D4ED8; }
.status-contacte { background: #FEF3C7; color: #B45309; }
.status-devis { background: #EDE9FE; color: #6D28D9; }
.status-vendu, .status-disponible { background: #DCFCE7; color: #15803D; }
.status-reserve { background: #FEF3C7; color: #B45309; }
.admin-modal { position: fixed; inset: 0; background: rgba(28,40,64,0.5); display: none; align-items: center; justify-content: center; z-index: 400; padding: 1rem; }
.admin-modal.open { display: flex; }
.admin-modal-content { background: var(--surface); border-radius: var(--radius); padding: 2rem; width: min(560px, 100%); max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-hover); }
.admin-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--muted); }
.chart-bars { display: flex; align-items: flex-end; gap: 0.5rem; height: 100px; padding-bottom: 1.5rem; }
.chart-bar { flex: 1; background: linear-gradient(to top, var(--accent), rgba(242,203,112,0.55)); border-radius: 4px 4px 0 0; min-height: 6px; position: relative; }
.chart-bar span { position: absolute; bottom: -1.25rem; left: 50%; transform: translateX(-50%); font-size: 0.62rem; color: var(--muted); }

@media (max-width: 900px) {
  .detail-layout { max-width: none; gap: 1rem; }
  .detail-layout, .form-layout { grid-template-columns: 1fr; }
  .detail-sidebar, .detail-panel, .form-summary-card { position: static; }
  .detail-panel,
  .detail-sidebar { padding: 1.1rem 1rem 1.2rem; }
  .detail-panel h1,
  .detail-sidebar h1 { font-size: 1.25rem; }
  .detail-options { margin-top: 1.25rem; }
  .detail-options-grid { grid-template-columns: 1fr; }
  .detail-gallery-stage { height: clamp(170px, 48vw, 220px); }
  .detail-gallery-nav { width: 34px; height: 34px; }
  .detail-gallery-thumbs { gap: 0.35rem; padding: 0.45rem; }
  .detail-gallery-thumb { width: 58px; }
  .detail-gallery-thumb img { width: 58px; height: 38px; }
  .detail-panel-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .detail-panel-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
  .specs-list { grid-template-columns: 1fr; }
  .page-main { padding-top: calc(var(--header-h) + var(--ticker-h) + 1.25rem); padding-bottom: 5.5rem; }
  .breadcrumb { margin-bottom: 1rem; }
  .admin-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-carousel-viewport { height: 188px; }
  .hero-carousel-card { width: 128px; }
  .detail-options-lead { font-size: 0.86rem; }
}

/* ============================================================
   JMC Motors — Refonte 2026-07 : hero solide, Facebook, Cap Car
   ============================================================ */

/* — Hero fond uni + véhicules détourés — */
.hero--solid {
  background: var(--ink);
  min-height: 0;
  align-items: stretch;
  padding: 0;
}
.hero--solid .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 120% at 78% 15%, rgba(2, 38, 131, 0.55) 0%, rgba(2, 38, 131, 0) 55%),
    radial-gradient(90% 90% at 12% 90%, rgba(242, 203, 112, 0.12) 0%, rgba(242, 203, 112, 0) 60%),
    linear-gradient(140deg, #071537 0%, #0b1f4d 55%, #022683 130%);
}
.hero--solid .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(75% 75% at 75% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(75% 75% at 75% 30%, #000 0%, transparent 75%);
}
.hero-cars {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(0.5rem, 4vw, 3rem);
  width: clamp(320px, 46%, 620px);
  aspect-ratio: 16 / 9;
  transform: translateY(-42%);
  pointer-events: none;
}
.hero-car {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: translateX(24px) scale(0.98);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.45));
  will-change: opacity, transform;
}
.hero-car.is-active { opacity: 1; transform: translateX(0) scale(1); z-index: 2; }
.hero--solid .hero-content {
  padding-top: clamp(1.15rem, 3vw, 1.85rem);
  padding-bottom: clamp(1.25rem, 3.2vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  min-width: 0;
}
body.hero-carousel-off .hero--solid .hero-content,
.hero--solid .hero-content:has(#hero-carousel[hidden]) {
  grid-template-columns: 1fr;
}
.hero--solid .hero-copy {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  max-width: none;
}

/* Catalogue filtrable masqué (réglage vendeur) */
/* Sections pilotées par les interrupteurs vendeur : chaque catalogue a le sien. */
body.catalogue-off .js-mandataire-block,
body.catalogue-on .js-mandataire-attente,
body.capcar-off .js-capcar-block,
body.capcar-on .js-capcar-attente { display: none !important; }

.mandataire-wait-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  min-height: 100%;
}
.mandataire-wait-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.mandataire-wait-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}
.mandataire-wait-text {
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.mandataire-wait-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.hero-carousel {
  position: relative;
  z-index: 3;
  align-self: center;
  width: 100%;
  min-height: clamp(240px, 34vw, 380px);
  margin: 0;
  outline: none;
}
.hero-carousel[hidden] { display: none !important; }
.hero-carousel-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: clamp(240px, 34vw, 380px);
  border-radius: 18px;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.18));
  box-shadow: inset 0 0 0 1px rgba(242, 203, 112, 0.18);
}
.hero-carousel-track {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: max-content;
  height: 100%;
  padding: 0.85rem 0.5rem;
  animation: heroCarouselScroll 42s linear infinite;
  will-change: transform;
}
.hero-carousel:hover .hero-carousel-track,
.hero-carousel:focus-within .hero-carousel-track {
  animation-play-state: paused;
}
.hero-carousel.is-static .hero-carousel-track {
  animation: none;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  justify-content: center;
}
.hero-carousel-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(168px, 18vw, 220px);
  height: 100%;
  max-height: 100%;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  transform: translateZ(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-carousel-card:hover,
.hero-carousel-card:focus-visible {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45);
  outline: none;
}
.hero-carousel-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-carousel-remise {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  max-width: calc(100% - 1rem);
  padding: 0.28rem 0.55rem;
  border-radius: 10px;
  background: #c62828;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  line-height: 1.15;
  pointer-events: none;
}
.hero-carousel-remise-pct {
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero-carousel-remise-eur {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
  white-space: nowrap;
}
.hero-carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.7rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  background: linear-gradient(transparent, rgba(7, 21, 55, 0.88));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes heroCarouselScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .hero--solid {
    overflow-x: clip;
  }
  .hero--solid .hero-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding-inline: 0;
    overflow-x: clip;
  }
  .hero--solid .hero-copy {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0.35rem 0 0.75rem;
    text-align: center;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero--solid .hero-eyebrow {
    display: inline-flex;
    max-width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    letter-spacing: 0.08em;
  }
  .hero--solid h1 {
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
    font-size: clamp(1.55rem, 7.2vw, 2.1rem);
    line-height: 1.15;
  }
  .hero--solid .hero-lead {
    max-width: 36ch;
    margin-inline: auto;
    text-align: center;
    font-size: 0.95rem;
  }
  .hero--solid .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
    max-width: 100%;
  }
  .hero--solid .hero-actions .btn {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    justify-content: center;
    white-space: normal;
    text-align: center;
    padding-inline: 1rem;
  }
  .hero-carousel {
    order: -1;
    min-height: 200px;
    max-width: 100%;
    min-width: 0;
    width: 100%;
    overflow: hidden;
  }
  .hero-carousel-viewport {
    height: 200px;
    max-width: 100%;
    min-width: 0;
  }
  .hero-carousel-card { width: clamp(140px, 42vw, 180px); }
}

@media (max-width: 560px) {
  .hero-carousel,
  .hero-carousel-viewport { min-height: 168px; height: 168px; }
  .hero-carousel-card { width: 132px; }
  .hero-carousel-track { animation-duration: 36s; }
  .hero--solid h1 { font-size: clamp(1.45rem, 7vw, 1.85rem); }
}

/* — Bouton or (CTA mandataire) — */
.btn-gold {
  background: #f2cb70;
  color: #071537;
  border: 1.5px solid #f2cb70;
}
.btn-gold:hover { background: #f7d98f; border-color: #f7d98f; color: #071537; }

/* — Bandeau Facebook — */
.fb-banner {
  display: block;
  background: linear-gradient(90deg, #1877F2 0%, #0e5fc0 100%);
  color: #fff;
}
.fb-banner-inner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0;
}
.fb-banner-icon { display: inline-flex; flex: 0 0 auto; }
.fb-banner-icon svg { width: 26px; height: 26px; fill: #fff; }
.fb-banner-text { font-size: 0.9rem; line-height: 1.35; flex: 1 1 auto; }
.fb-banner-text strong { font-weight: 700; }
.fb-banner-cta {
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: background 0.25s var(--ease);
}
.fb-banner:hover .fb-banner-cta { background: rgba(255, 255, 255, 0.3); }
@media (max-width: 560px) {
  .fb-banner-text { font-size: 0.82rem; }
  .fb-banner-text strong { display: block; }
  .fb-banner-cta { display: none; }
}

/* — Section Cap Car — */
.badge-capcar { background: #16A34A; color: #fff; }
.badge-bonne { background: #0F7A5A; color: #fff; }
.badge-tres-bonne { background: linear-gradient(110deg, #f2cb70, #e6b354); color: #011858; }
.vehicle-row.is-sold,
.capcar-card.is-sold { opacity: 0.78; }
.capcar-card.is-sold .product-img-wrap img { filter: grayscale(0.35); }
.capcar-card.is-sold .capcar-price::after,
.vehicle-row.is-sold .vehicle-row-final::after {
  content: ' — vendu';
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b91c1c;
}
.capcar-intro {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}
.capcar-intro-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
}
.capcar-intro-icon svg { width: 26px; height: 26px; fill: var(--accent); }
.capcar-intro-text p { color: var(--ink-soft); line-height: 1.6; margin-bottom: 0.85rem; font-size: 0.95rem; }
.capcar-intro-text strong { color: var(--ink); }
.capcar-card .product-img-wrap { position: relative; }
.capcar-tag {
  position: absolute;
  bottom: 0.625rem;
  left: 0.625rem;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(7, 21, 55, 0.82);
  color: #fff;
}
.capcar-price {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin: 0.25rem 0 0.85rem;
}
.capcar-note { text-align: center; color: var(--muted); font-size: 0.8125rem; margin-top: 1.5rem; }
@media (max-width: 560px) {
  .capcar-intro { flex-direction: column; gap: 0.75rem; padding: 1.15rem; }
}

/* — Header : estimation CapCar + téléphone + e-mail — */
.header-contact {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  height: 48px;
  padding-left: clamp(1rem, 2vw, 1.75rem);
  border-left: 1px solid rgba(28, 40, 64, 0.12);
}
.header-estimate {
  font-size: 0.68rem;
  padding: 0.5rem 1.05rem;
  min-height: 44px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.header-cta.btn {
  min-height: 44px;
  padding: 0.5rem 1.05rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.header-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.45rem;
  height: 48px;
  line-height: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.header-mail-text { line-height: 1.2; }
.header-mail svg { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; display: block; }
.header-mail:hover { color: var(--ink); }
@media (max-width: 1360px) {
  .header-mail-text { display: none; }
  .header-mail { padding: 0 0.3rem; }
  .header-contact { gap: 0.65rem; padding-left: 1rem; }
}
@media (max-width: 1180px) {
  .nav-desktop { gap: 1.15rem; }
  .nav-desktop a { font-size: 0.82rem; }
  .header-estimate { font-size: 0.64rem; padding: 0.48rem 0.85rem; }
  .header-cta.btn { font-size: 0.74rem; padding: 0.48rem 0.85rem; }
}
@media (max-width: 1080px) {
  .header-estimate { font-size: 0.62rem; padding: 0.45rem 0.75rem; }
  .header-cta.btn { font-size: 0.72rem; padding: 0.45rem 0.75rem; }
}
@media (max-width: 960px) {
  .header-contact { gap: 0.55rem; padding-left: 0.85rem; }
  .nav-desktop a { font-size: 0.78rem; }
  .nav-desktop { gap: 0.85rem; }
}

/* — Hero responsive : voitures en fond discret sous le texte — */
@media (max-width: 860px) {
  .hero-cars { width: min(92%, 460px); right: 50%; transform: translate(50%, -38%); opacity: 0.32; }
  .hero--solid .hero-content { padding-top: clamp(1rem, 3.5vw, 1.5rem); }
  .hero-dots { display: none; }
}
@media (max-width: 560px) {
  .hero-cars { top: 42%; }
}

/* — Badge remise dans le body (catalogue filtrable) — */
.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.4rem;
}
.product-title-row h3 { margin: 0; flex: 1 1 0; min-width: 0; }
/* Remise en pourcentage : argument de vente principal, volontairement plus
   marqué que les pastilles de statut de la carte. */
.badge-remise-inline {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  background: #c62828;
  color: #fff;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(198, 40, 40, 0.28);
}

/* — Cap Car cards : fond texte (sans photo véhicule) — */
.capcar-card--text .capcar-card-hero {
  position: relative;
  min-height: 148px;
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.15rem;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(242, 203, 112, 0.28) 0%, transparent 55%),
    linear-gradient(145deg, #022683 0%, #0a3a9e 48%, #123ea4 100%);
  color: #fff;
  overflow: hidden;
}
.capcar-card--text .capcar-card-hero .product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}
.capcar-card--text .capcar-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  left: auto;
  bottom: auto;
  z-index: 2;
}
.capcar-hero-brand {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}
.capcar-hero-model {
  margin: 0;
  font-family: var(--font-ui, inherit);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}
.capcar-card.is-reserved .capcar-card-hero {
  filter: grayscale(0.35);
  opacity: 0.9;
}
.catalog-grid {
  align-items: stretch;
}
.vehicle-card .price-block {
  margin-bottom: 0;
}

/* — Cap Car cards : forcer ratio image uniforme — */
.capcar-card .product-img-wrap { position: relative; }
.capcar-card .product-img-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
