/* ================================================================
   PIÈCES DÉTACHÉES AUTO 69 — Stylesheet
   Design : moderne, flat, sans dégradés
   Palette : #DD183B (rouge) · #0F172A (dark) · #FFFFFF (blanc)
================================================================ */

/* ----------------------------------------------------------------
   1. VARIABLES
---------------------------------------------------------------- */
:root {
  --primary:       #DD183B;
  --primary-dark:  #B31430;
  --primary-light: rgba(221, 24, 59, 0.08);
  --dark:          #0F172A;
  --dark-2:        #1E293B;
  --gray:          #64748B;
  --gray-light:    #94A3B8;
  --border:        #E2E8F0;
  --light:         #F8FAFC;
  --white:         #FFFFFF;
  --wa:            #25D366;
  --yellow:        #F59E0B;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow:    0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.04);

  --ease: 200ms ease;

  --topbar-h:  36px;
  --nav-h:     72px;
  --header-h:  calc(var(--topbar-h) + var(--nav-h)); /* 108px total */
  --container: 1200px;
}

/* ----------------------------------------------------------------
   2. RESET & BASE
---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a        { color: inherit; text-decoration: none; }
button   { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
ul, ol   { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ----------------------------------------------------------------
   3. CONTAINER
---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------------------------------------------
   4. BUTTONS
---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--ease), color var(--ease),
              border-color var(--ease), box-shadow var(--ease), transform var(--ease);
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(221, 24, 59, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover { background: var(--primary-light); }

.btn--dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn--dark:hover { background: var(--dark-2); }

.btn--full { width: 100%; justify-content: center; }

/* ----------------------------------------------------------------
   5. TOPBAR
---------------------------------------------------------------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  height: var(--topbar-h);
  background: var(--dark-2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.topbar__left svg,
.topbar__right svg { flex-shrink: 0; color: var(--primary); }

.topbar__right a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  transition: color var(--ease);
  font-size: 12px;
}
.topbar__right a:hover { color: var(--white); }

.topbar__sep {
  color: rgba(255,255,255,0.2);
  font-size: 14px;
}

/* ----------------------------------------------------------------
   6. HEADER
---------------------------------------------------------------- */
.header {
  position: fixed;
  top: var(--topbar-h);
  left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header__inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 24px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo__img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  mix-blend-mode: multiply;
  flex-shrink: 0;
}

.logo__info { display: flex; flex-direction: column; }

.logo__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.logo__sub {
  font-size: 11px;
  font-weight: 600;
  color: #16A34A;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav__link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  transition: color var(--ease), background var(--ease);
}
.nav__link:hover,
.nav__link.active {
  color: var(--dark);
  background: var(--light);
}

.nav__cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  margin-left: 8px;
  padding: 9px 18px;
  border-radius: var(--radius);
}
.nav__cta:hover { background: var(--primary-dark) !important; }
.nav__cta.active { background: var(--primary-dark) !important; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: background var(--ease);
}
.burger:hover { background: var(--light); }
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------
   7. HERO (page Accueil)
---------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}

/* Logo en filigrane derrière le contenu */
.hero__bg-logo {
  position: absolute;
  inset: 0;
  background-image: url('../assets/logo.png');
  background-repeat: no-repeat;
  background-position: right 8% center;
  background-size: 38% auto;
  filter: invert(1);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%; height: 100%;
  background: var(--primary);
  opacity: 0.04;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  opacity: 0.5;
  z-index: 1;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #4ADE80;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero__desc {
  font-size: 18px;
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-light);
}
.hero__meta-item svg { flex-shrink: 0; color: var(--primary); }

/* Contact card in hero */
.hero__card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero__card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gray);
  margin-bottom: 20px;
}
.hero__card-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}
.hero__card-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  transition: background var(--ease);
  color: var(--dark);
}
.hero__card-item:hover { background: var(--light); }
.hero__card-item--addr:hover { background: transparent; cursor: default; }

.hero__card-icon {
  width: 40px; height: 40px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero__card-icon--wa { background: rgba(37,211,102,0.1); color: var(--wa); }

.hero__card-label-sm {
  font-size: 11px; color: var(--gray); margin-bottom: 2px; font-weight: 500;
}
.hero__card-value {
  font-size: 14px; font-weight: 600; color: var(--dark); line-height: 1.4;
}

/* ----------------------------------------------------------------
   8. PAGE BANNER (pages internes)
---------------------------------------------------------------- */
.page-banner {
  background: var(--dark);
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%; height: 100%;
  background: var(--primary);
  opacity: 0.04;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
}

.page-banner__inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-light);
  margin-bottom: 20px;
}
.breadcrumb a { transition: color var(--ease); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb__sep { color: rgba(255,255,255,0.2); }

.page-banner h1 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1.1;
}
.page-banner p {
  font-size: 18px;
  color: var(--gray-light);
  max-width: 600px;
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   9. SECTIONS COMMON
---------------------------------------------------------------- */
.section { padding: 96px 0; background: var(--light); }
.section--white { background: var(--white); }
.section--dark  { background: var(--dark); }
.section--tight { padding: 64px 0; }

.section-header { text-align: center; margin-bottom: 56px; }

.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--primary); margin-bottom: 12px;
}
.section-label--light { color: rgba(221,24,59,0.75); }

.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800; color: var(--dark);
  letter-spacing: -0.5px; line-height: 1.15; margin-bottom: 14px;
}
.section-title--light { color: var(--white); }

.section-desc {
  font-size: 17px; color: var(--gray);
  max-width: 520px; margin: 0 auto; line-height: 1.7;
}
.section-desc--light { color: var(--gray-light); }

/* ----------------------------------------------------------------
   10. SERVICES GRID
---------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.services-grid--2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.service-card__icon {
  width: 52px; height: 52px;
  background: var(--primary-light); color: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card__title { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.service-card__desc  { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ----------------------------------------------------------------
   11. À PROPOS
---------------------------------------------------------------- */
.apropos__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.apropos__text .section-label,
.apropos__text .section-title { text-align: left; margin-bottom: 8px; }
.apropos__text .section-title { margin-bottom: 20px; }
.apropos__text p { color: var(--gray); line-height: 1.8; margin-bottom: 14px; font-size: 15px; }

.apropos__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.highlight {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; background: var(--light);
  border-radius: var(--radius); border-left: 3px solid var(--primary);
}
.highlight__icon {
  width: 32px; height: 32px;
  background: var(--primary-light); color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.highlight__title { font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.highlight__text  { font-size: 12px; color: var(--gray); }

/* Notice cards */
.apropos__notice { display: flex; flex-direction: column; gap: 20px; }

.notice-card { border-radius: var(--radius-lg); padding: 24px; }
.notice-card--alert {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
}
.notice-card--info {
  background: #FFFBF0;
  border: 1px solid #FDE68A;
  border-left: 4px solid var(--yellow);
}
.notice-card__icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.notice-card--alert .notice-card__icon { background: var(--primary-light); color: var(--primary); }
.notice-card--info  .notice-card__icon { background: rgba(245,158,11,0.1); color: #B45309; }
.notice-card h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.notice-card p  { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 8px; }
.notice-card p:last-of-type { margin-bottom: 0; }

/* ----------------------------------------------------------------
   12. ÉPAVE — STEPS
---------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
/* Connecteur horizontal entre les étapes */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px; left: calc(33.33% - 12px); right: calc(33.33% - 12px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.step-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }

.step-card__number {
  width: 48px; height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
  margin: 0 auto 20px;
}
.step-card__title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.step-card__desc  { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* Épave hero info band */
.epave-hero-band {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(221,24,59,0.12);
  border: 1px solid rgba(221,24,59,0.25);
  border-radius: var(--radius);
  margin-top: 24px;
  width: fit-content;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  font-style: italic;
}
.epave-hero-band svg { flex-shrink: 0; color: var(--primary); }

/* Épave full content section */
.epave-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.epave-text p {
  font-size: 15px; color: var(--gray); line-height: 1.8; margin-bottom: 16px;
}
.epave-text p:last-child { margin-bottom: 0; }

.epave-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

/* Avantages / checklist */
.check-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.check-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--gray); line-height: 1.5;
}
.check-item__icon {
  width: 22px; height: 22px;
  background: rgba(34,197,94,0.12);
  color: #16A34A;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}

/* ----------------------------------------------------------------
   13. CTA BANNER
---------------------------------------------------------------- */
.cta-banner {
  padding: 80px 0;
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  opacity: 0.03;
  clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 70%);
}
.cta-banner__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-banner h2 { font-size: clamp(24px,3.5vw,40px); font-weight: 800; color: var(--white); margin-bottom: 14px; letter-spacing: -0.5px; }
.cta-banner p  { font-size: 17px; color: var(--gray-light); margin-bottom: 32px; line-height: 1.7; }
.cta-banner__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ----------------------------------------------------------------
   14. INFO CARDS (about page, etc.)
---------------------------------------------------------------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; align-items: flex-start; gap: 16px;
}
.info-card__icon {
  width: 44px; height: 44px;
  background: var(--primary-light); color: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-card__title { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.info-card__text  { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* ----------------------------------------------------------------
   15. HORAIRES (page À Propos)
---------------------------------------------------------------- */
.horaires-grid {
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.horaire-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--ease);
}
.horaire-row:hover { background: rgba(255,255,255,0.03); }
.horaire-row:last-child { border-bottom: none; }
.horaire-row--closed { opacity: 0.45; }

.horaire-day { font-size: 15px; font-weight: 600; color: var(--white); min-width: 110px; }
.horaire-hours { font-size: 14px; color: var(--gray-light); flex: 1; }

.horaire-badge {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  padding: 3px 10px; border-radius: 100px;
}
.horaire-badge--open   { background: rgba(34,197,94,0.15);  color: #4ADE80; }
.horaire-badge--closed { background: rgba(148,163,184,0.1); color: var(--gray-light); }

.horaires-note {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  margin-top: 24px; font-size: 14px; color: var(--gray-light);
}
.horaires-note svg   { flex-shrink: 0; color: var(--primary); }
.horaires-note strong { color: var(--white); }

/* ----------------------------------------------------------------
   16. DEVIS FORM
---------------------------------------------------------------- */
.devis__layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}
.devis__info { position: sticky; top: calc(var(--header-h) + 24px); }
.devis__info .section-label,
.devis__info .section-title { text-align: left; margin-bottom: 8px; }
.devis__info .section-title { margin-bottom: 14px; }

.devis__desc { font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 28px; }

.devis__contacts { display: flex; flex-direction: column; gap: 4px; }
.devis__contact {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: var(--radius);
  transition: background var(--ease);
}
.devis__contact:hover { background: var(--light); }

.devis__contact-icon {
  width: 38px; height: 38px;
  background: var(--primary-light); color: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.devis__contact-icon--wa { background: rgba(37,211,102,0.1); color: var(--wa); }
.devis__contact-label { font-size: 11px; color: var(--gray); font-weight: 500; margin-bottom: 2px; }
.devis__contact-value { font-size: 14px; font-weight: 600; color: var(--dark); }

/* Form card */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }

.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.form-label span { color: var(--primary); }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px; color: var(--dark); background: var(--white);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
  appearance: none; -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-light); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(221,24,59,0.08);
}
.form-input.invalid, .form-select.invalid, .form-textarea.invalid {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.08);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748B' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px; cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.form-error { display: none; font-size: 12px; color: #EF4444; margin-top: 6px; }
.form-error.show { display: block; }

.form-submit {
  width: 100%; padding: 15px 24px;
  background: var(--primary); color: var(--white);
  border-radius: var(--radius); font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  margin-top: 4px;
}
.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(221,24,59,0.3);
}
.form-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-text   { display: flex; align-items: center; gap: 8px; }
.btn-loader { display: none; align-items: center; gap: 10px; }

@keyframes spin { to { transform: rotate(360deg); } }
.spinner { animation: spin 0.8s linear infinite; }

.form-message {
  display: none; margin-top: 16px; padding: 16px 20px;
  border-radius: var(--radius); font-size: 14px; line-height: 1.6;
}
.form-message.success { display: block; background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }
.form-message.error   { display: block; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.form-message a { color: inherit; font-weight: 700; text-decoration: underline; }

/* ----------------------------------------------------------------
   17. FOOTER
---------------------------------------------------------------- */
.footer { background: var(--dark); padding: 64px 0 32px; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 40px; margin-bottom: 48px;
}
.footer__col--brand p { font-size: 14px; color: var(--gray-light); line-height: 1.7; max-width: 260px; }

.footer__logo-img {
  width: 52px; height: 52px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 12px;
}
.footer__col-title {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--gray-light); margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__link { font-size: 14px; color: rgba(148,163,184,0.8); transition: color var(--ease); }
.footer__link:hover { color: var(--white); }

.footer__contacts { display: flex; flex-direction: column; gap: 12px; }
.footer__contact-item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: rgba(148,163,184,0.8); line-height: 1.5;
  transition: color var(--ease);
}
.footer__contact-item svg { flex-shrink: 0; margin-top: 3px; color: var(--primary); }
a.footer__contact-item:hover { color: var(--white); }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 13px; color: rgba(148,163,184,0.6);
}

/* ----------------------------------------------------------------
   18. WHATSAPP FAB
---------------------------------------------------------------- */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 56px; height: 56px;
  background: var(--wa); color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  transition: transform var(--ease), box-shadow var(--ease);
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.55);
}

/* ----------------------------------------------------------------
   19. MINI SERVICES SECTION (index.html)
---------------------------------------------------------------- */
.mini-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ----------------------------------------------------------------
   20. RESPONSIVE
---------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero__layout    { grid-template-columns: 1fr; gap: 40px; }
  .hero__card      { max-width: 480px; }
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .apropos__layout { grid-template-columns: 1fr; gap: 40px; }
  .epave-content   { grid-template-columns: 1fr; gap: 40px; }
  .epave-aside     { position: static; }
  .devis__layout   { grid-template-columns: 1fr; }
  .devis__info     { position: static; }
  .steps-grid      { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .footer__grid    { grid-template-columns: 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; }
  .mini-services   { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --topbar-h: 0px; }

  .topbar { display: none; }

  .nav {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav.open { display: flex; }
  .nav__link { padding: 12px 16px; }
  .nav__cta  { margin-left: 0; text-align: center; justify-content: center; }

  .burger { display: flex; }

  .hero__layout { padding: 56px 0; }
  .hero__title  { letter-spacing: -1px; }
  .hero__desc   { font-size: 16px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .apropos__highlights { grid-template-columns: 1fr; }

  .form-row  { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__col--brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .cta-banner__actions { flex-direction: column; align-items: center; }
  .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero__layout { padding: 48px 0 56px; }
  .section-header { margin-bottom: 40px; }
  .page-banner { padding-bottom: 48px; }
}

/* ----------------------------------------------------------------
   21. HERO — PHOTO DE FOND
---------------------------------------------------------------- */
.hero__bg-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero__bg-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.80);
}

/* ----------------------------------------------------------------
   22. ABOUT PHOTO
---------------------------------------------------------------- */
.about-photo-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}
.about-photo-wrap:hover img { transform: scale(1.03); }

/* ----------------------------------------------------------------
   23. SERVICE CARD IMAGE
---------------------------------------------------------------- */
.service-card__img {
  margin: -28px -28px 22px -28px;
  height: 185px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.service-card:hover .service-card__img img { transform: scale(1.05); }

/* ----------------------------------------------------------------
   24. GALLERY GRID
---------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ----------------------------------------------------------------
   25. SECTION PHOTO DE FOND
---------------------------------------------------------------- */
.bg-photo-section {
  position: relative;
  background-color: var(--dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.bg-photo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.80);
  z-index: 0;
}
.bg-photo-section > .container { position: relative; z-index: 1; }

/* ----------------------------------------------------------------
   26. ÉPAVE PHOTO
---------------------------------------------------------------- */
.epave-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 40px;
}
.epave-img-wrap img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

/* ----------------------------------------------------------------
   27. NOTICE GRID (2 col)
---------------------------------------------------------------- */
.notice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

/* ----------------------------------------------------------------
   28. RESPONSIVE — images
---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .gallery-grid        { grid-template-columns: repeat(2, 1fr); }
  .service-card__img   { height: 155px; }
  .notice-grid         { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .gallery-grid      { gap: 8px; }
  .epave-img-wrap img { height: 220px; }
}

/* ----------------------------------------------------------------
   29. MODAL DEVIS
---------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease;
  backdrop-filter: blur(3px);
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: translateY(24px);
  transition: transform 260ms ease;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  transition: background var(--ease), color var(--ease);
}
.modal__close:hover { background: var(--light); color: var(--dark); }

.modal__title {
  font-size: 24px; font-weight: 800; color: var(--dark);
  letter-spacing: -0.3px; margin-bottom: 6px;
}
.modal__sub { font-size: 14px; color: var(--gray); margin-bottom: 24px; }

/* ----------------------------------------------------------------
   30. HERO MINI FORM
---------------------------------------------------------------- */
.hero-form .form-input,
.hero-form .form-select,
.hero-form .form-textarea {
  font-size: 14px;
  padding: 9px 12px;
  background: var(--light);
  border-color: var(--border);
}
.hero-form .form-textarea { min-height: 78px; }
.hero-form .form-group    { margin-bottom: 10px; }

.hero-form-submit {
  width: 100%;
  padding: 13px 20px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 4px;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.hero-form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(221,24,59,0.3);
}
.hero-form-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; box-shadow: none; }

.hero-form-msg {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px; line-height: 1.5;
  display: none;
}
.hero-form-msg.success { display: block; background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }
.hero-form-msg.error   { display: block; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }

/* ----------------------------------------------------------------
   31. NOTICE IMAGE (remplace notice-card--info)
---------------------------------------------------------------- */
.notice-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.notice-img-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .notice-img-wrap img { height: 220px; }
}

/* ----------------------------------------------------------------
   32. ÉPAVE HERO BAND — VERT
---------------------------------------------------------------- */
.epave-hero-band {
  background: rgba(34, 197, 94, 0.12) !important;
  border: 1px solid rgba(34, 197, 94, 0.30) !important;
  color: #4ADE80 !important;
}
.epave-hero-band svg { color: #22C55E !important; }

@media (max-width: 768px) {
  .modal { padding: 28px 20px; }
}
