/* ============================
   MSB — Pièces d'Auto MSB
   Design tokens
   ============================ */
:root {
  --red: #D42419;
  --red-dark: #A81810;
  --red-hover: #B41C13;
  --ink: #0E0F12;
  --ink-2: #1A1C21;
  --ink-3: #2A2D34;
  --muted: #6B7280;
  --line: #E4E6EB;
  --paper: #FFFFFF;
  --paper-2: #F5F6F8;
  --paper-3: #EEF0F3;
  --accent: #F4B41A;

  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(14,15,18,.06), 0 1px 3px rgba(14,15,18,.05);
  --shadow-md: 0 4px 12px rgba(14,15,18,.08), 0 2px 4px rgba(14,15,18,.04);
  --shadow-lg: 0 12px 32px rgba(14,15,18,.12), 0 4px 8px rgba(14,15,18,.06);

  --f-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --w-max: 1200px;
}

/* ============================
   Reset + base
   ============================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ============================
   Header
   ============================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.98);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 160px;
}
.brand-sub {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 600;
}
@media (max-width: 480px) {
  .brand-logo { height: 40px; max-width: 130px; }
}
.primary-nav {
  display: flex;
  gap: 28px;
}
.primary-nav a {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .15s, color .15s;
}
.primary-nav a:hover { color: var(--red); border-bottom-color: var(--red); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 10px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  border-radius: var(--radius);
  transition: background .15s, color .15s;
}
.lang-switch:hover { background: var(--ink); color: var(--paper); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
}
.menu-toggle span {
  display: block;
  height: 2.5px;
  background: var(--ink);
  transition: transform .2s, opacity .2s;
}

.mobile-nav { display: none; }

@media (max-width: 900px) {
  .primary-nav, .header-actions .btn.btn-sm, .lang-switch { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px 28px;
    border-top: 1px solid var(--line);
    background: #fff;
  }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a:not(.btn):not(.lang-switch-mobile) {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 20px;
    text-transform: uppercase;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
  }
  .lang-switch-mobile {
    align-self: flex-start;
    font-family: var(--f-head);
    font-weight: 700;
    font-size: 14px;
    padding: 6px 12px;
    border: 1.5px solid var(--ink);
    border-radius: var(--radius);
  }
}

/* ============================
   Buttons
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform .15s, background .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 20px; }
.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 4px 0 var(--red-dark);
}
.btn-primary:hover { background: var(--red-hover); border-color: var(--red-hover); box-shadow: 0 6px 0 var(--red-dark); }
.btn-primary:active { box-shadow: 0 2px 0 var(--red-dark); transform: translateY(2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ============================
   Hero
   ============================ */
.hero {
  position: relative;
  padding: 80px 0 96px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-size: cover;
  background-position: center;
  opacity: .22;
  filter: grayscale(20%) contrast(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--ink) 25%, rgba(14,15,18,.55) 60%, rgba(14,15,18,.2) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 40% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 40% 30%, #000 30%, transparent 75%);
}
.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(212,36,25,.35) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.kicker {
  display: inline-block;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  padding: 6px 12px;
  border: 1px solid rgba(212,36,25,.4);
  background: rgba(212,36,25,.08);
  border-radius: var(--radius);
}
.section-pitch .kicker, .section-services .kicker, .section-contact .kicker {
  border-color: rgba(212,36,25,.25);
}
.hero-title {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(44px, 8vw, 88px);
  line-height: .95;
  letter-spacing: -.02em;
  margin: 0 0 24px;
  color: #fff;
}
.hero-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 6px;
  background: var(--red);
  margin-top: 24px;
}
.hero-lede {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  max-width: 640px;
  margin: 0 0 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.hero-actions .btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.hero-actions .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-meta > div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .meta-label {
  font-family: var(--f-head);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(255,255,255,.55);
  font-weight: 600;
}
.hero-meta a { color: #fff; font-weight: 600; font-size: 18px; }
.hero-meta a:hover { color: var(--red); }

/* ============================
   Sections
   ============================ */
.section { padding: 96px 0; }
.section-pitch { background: var(--paper); }
.section-services { background: var(--paper-2); }
.section-contact { background: var(--ink); color: #fff; }

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  margin: 0 0 20px;
  letter-spacing: -.02em;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 5px;
  background: var(--red);
  margin-top: 20px;
}
.section-head .lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.section-contact .section-head .lede { color: rgba(255,255,255,.7); }

/* ============================
   Pitch grid
   ============================ */
.pitch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pitch-card {
  padding: 32px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pitch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red);
}
.pitch-number {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: 48px;
  line-height: 1;
  color: var(--red);
  margin-bottom: 20px;
  letter-spacing: -.03em;
}
.pitch-card h3 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.pitch-card p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ============================
   Categories (visual product cards)
   ============================ */
.section-categories { background: var(--ink); color: #fff; padding: 96px 0; }
.section-categories .section-head h2 { color: #fff; }
.section-categories .section-head .lede { color: rgba(255,255,255,.7); }
.section-categories .kicker { background: rgba(212,36,25,.15); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cat-card {
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.cat-card-featured {
  grid-row: span 2;
}
.cat-card-featured .cat-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.cat-card-featured .cat-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(14,15,18,.6) 100%);
  pointer-events: none;
}
.cat-card-featured .cat-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.cat-card-featured:hover .cat-media img { transform: scale(1.04); }
.cat-body { padding: 24px 28px 28px; }
.cat-card h3 {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: #fff;
}
.cat-card p {
  color: rgba(255,255,255,.7);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.cat-card-icon {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
}
.cat-card-icon .cat-icon {
  flex: 0 0 52px;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius);
}
.cat-card-icon .cat-icon svg { width: 26px; height: 26px; }
.cat-card-icon .cat-body { padding: 0; }
.cat-card-icon h3 { font-size: 22px; }

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card-featured { grid-row: auto; }
}

/* ============================
   Storefront
   ============================ */
.section-storefront { background: var(--paper); padding: 96px 0; }
.store-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.store-copy h2 {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1;
  margin: 0 0 20px;
  letter-spacing: -.02em;
}
.store-copy h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 5px;
  background: var(--red);
  margin-top: 20px;
}
.store-copy .lede {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.6;
}
.store-addr {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .02em;
  padding: 12px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 24px 0 28px;
}
.store-photos {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.store-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform .3s;
}
.store-photo:hover { transform: translateY(-3px); }
.store-photo-1 { transform: translateY(-16px); }
.store-photo-2 { transform: translateY(16px); }
.store-photo-1:hover { transform: translateY(-22px); }
.store-photo-2:hover { transform: translateY(10px); }

@media (max-width: 900px) {
  .store-grid { grid-template-columns: 1fr; gap: 40px; }
  .store-photos { grid-template-columns: 1fr 1fr; }
  .store-photo-1, .store-photo-2 { transform: none; }
  .store-photo-1:hover, .store-photo-2:hover { transform: translateY(-3px); }
}

/* ============================
   Services
   ============================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.service-card p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ============================
   Contact
   ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-copy h2 {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  margin: 0 0 20px;
  color: #fff;
  letter-spacing: -.02em;
}
.contact-copy h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 5px;
  background: var(--red);
  margin-top: 20px;
}
.contact-copy .lede {
  font-size: 18px;
  color: rgba(255,255,255,.75);
  margin: 0 0 36px;
  line-height: 1.6;
}
.phone-huge {
  display: block;
  padding: 24px 28px;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  box-shadow: 0 6px 0 var(--red-dark);
  transition: transform .15s, box-shadow .15s;
}
.phone-huge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--red-dark);
}
.phone-huge-label {
  display: block;
  font-family: var(--f-head);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .15em;
  opacity: .8;
  margin-bottom: 6px;
  font-weight: 600;
}
.phone-huge-num {
  display: block;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -.02em;
}
.contact-facts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-facts > div { display: flex; flex-direction: column; gap: 4px; }
.contact-facts .fact-label {
  font-family: var(--f-head);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(255,255,255,.55);
  font-weight: 600;
}
.contact-facts a { color: #fff; font-weight: 500; }
.contact-facts a:hover { color: var(--red); }

/* Form */
.contact-form-wrap {
  background: #fff;
  color: var(--ink);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.contact-form-wrap h3 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 28px;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.form-lede { color: var(--muted); font-size: 14px; margin: 0 0 24px; }

.wpcf7 label, .fallback-form label {
  display: block;
  font-family: var(--f-head);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink);
  margin-bottom: 16px;
}
.wpcf7 input, .wpcf7 textarea,
.fallback-form input, .fallback-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  transition: border-color .15s, background .15s;
}
.wpcf7 input:focus, .wpcf7 textarea:focus,
.fallback-form input:focus, .fallback-form textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
}
.wpcf7 textarea, .fallback-form textarea { resize: vertical; min-height: 96px; }
.wpcf7 [type="submit"], .fallback-form [type="submit"] { margin-top: 8px; }

/* ============================
   Footer
   ============================ */
.site-footer {
  background: var(--ink-2);
  color: rgba(255,255,255,.7);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand .brand-logo { height: 44px; filter: brightness(1.05); }
.footer-brand .brand-sub { color: rgba(255,255,255,.5); }
.footer-contact { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.footer-contact a { color: #fff; font-weight: 500; }
.footer-contact a:hover { color: var(--red); }
.footer-contact .sep { color: rgba(255,255,255,.3); }
.footer-legal { font-size: 13px; color: rgba(255,255,255,.5); }

/* ============================
   Responsive
   ============================ */
@media (max-width: 960px) {
  .pitch-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 72px; }
  .pitch-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-meta { flex-direction: column; gap: 16px; }
  .contact-form-wrap { padding: 24px; }
  .service-card { flex-direction: column; }
}
