/* =========================================================
   OREL AUTO — feuille de style
   Palette : asphalte / acier / orange atelier
   Police display : Big Shoulders Display (condensée, industrielle)
   Police texte   : Inter
   ========================================================= */

:root{
  --asphalt:      #15181B;
  --asphalt-soft: #21262B;
  --steel:        #EDEEEA;
  --steel-dark:   #DFDED6;
  --paper:        #F7F7F4;
  --orange:       #EF5710;
  --orange-dark:  #C1420C;
  --orange-rgb:   239, 87, 16;
  --blue:         #2B4A66;
  --line:         #CCC9BE;
  --text:         #15181B;
  --text-muted:   #5B5D53;
  --white:        #FFFFFF;
  --ok:           #2F6B3D;

  --font-display: "Big Shoulders Display", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-plate: 6px;
  --container: 1200px;
}

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

html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a{ color: inherit; text-decoration: none; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.98;
  margin: 0 0 0.4em;
  letter-spacing: 0.2px;
}

h1{ font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 700; }
h2{ font-size: clamp(1.9rem, 4vw, 3rem); }
h3{ font-size: 1.35rem; }

p{ margin: 0 0 1em; max-width: 62ch; color: var(--text); }
p.lede{ font-size: 1.15rem; color: var(--text-muted); }

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

section{ padding: 88px 0; }
section.tight{ padding: 56px 0; }

@media (max-width: 760px){
  section{ padding: 60px 0; }
  section.tight{ padding: 40px 0; }
}
@media (max-width: 480px){
  .container{ padding: 0 18px; }
  h1{ margin-bottom: 0.5em; }
  section{ padding: 48px 0; }
  section.tight{ padding: 32px 0; }
}

.visually-hidden{
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

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

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Boutons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius-plate);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{ background: var(--orange); color: var(--white); }
.btn-primary:hover{ background: var(--orange-dark); }

.btn-outline{ background: transparent; border-color: currentColor; color: var(--white); }
.btn-outline:hover{ background: rgba(255,255,255,0.12); }

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

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

/* ---------- Badges plaque ---------- */
.badge{
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
}
.badge-neuf{ background: var(--blue); color: var(--white); }
.badge-occasion{ background: var(--orange); color: var(--white); }

/* ---------- Header ---------- */
.site-header{
  background: var(--asphalt);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--orange);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.logo{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.logo-icon{
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  box-shadow: 0 0 0 2px rgba(var(--orange-rgb), 0.5);
}
.logo-text{
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text small{
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-top: 5px;
  text-transform: uppercase;
}

.main-nav{ display: flex; align-items: center; gap: 4px; }
.main-nav a{
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"]{
  border-color: var(--orange);
  color: var(--orange);
}

.header-cta{ display: flex; align-items: center; gap: 14px; }
.header-phone{
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}
.header-phone small{
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--steel-dark);
  text-transform: uppercase;
}

.nav-toggle{
  display: none;
  background: none;
  border: 2px solid var(--white);
  border-radius: 4px;
  width: 44px;
  height: 40px;
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg{ width: 22px; height: 22px; flex-shrink: 0; }

@media (max-width: 1024px){
  .main-nav{
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--asphalt);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 24px 20px;
    display: none;
    border-bottom: 3px solid var(--orange);
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }
  .main-nav.is-open{ display: flex; }
  .main-nav a{ padding: 14px 4px; border-bottom: 1px solid var(--asphalt-soft); }
  .header-phone{ display: none; }
  .nav-toggle{ display: inline-flex; flex-shrink: 0; }
}

@media (max-width: 480px){
  .header-inner{ padding: 14px 18px; }
  .logo{ font-size: 1.15rem; gap: 8px; }
  .logo-icon{ width: 38px; height: 38px; }
  .logo-text small{ font-size: 0.56rem; letter-spacing: 0.08em; }
  .nav-toggle{ width: 40px; height: 38px; }
}

@media (max-width: 360px){
  .logo-text small{ display: none; }
}

/* ---------- Hero (carrousel) ---------- */
.hero{
  background: var(--asphalt);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 120px 0 148px;
  isolation: isolate;
}
.hero-slides{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide{
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.is-active{ opacity: 1; }
.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
    rgba(21,24,27,0.94) 0%,
    rgba(21,24,27,0.86) 34%,
    rgba(21,24,27,0.62) 62%,
    rgba(21,24,27,0.38) 100%);
}
.hero-inner{
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero-eyebrow::before{
  content: "";
  width: 22px; height: 2px;
  background: var(--orange);
}
.hero h1{ color: var(--white); margin-bottom: 0.3em; }
.hero p.lede{ color: var(--steel-dark); max-width: 46ch; }
.hero-actions{ display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-carousel-foot{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-captions{ display: grid; flex: 1; min-width: 0; }
.hero-caption{
  grid-area: 1 / 1;
  margin: 0;
  max-width: 52ch;
  font-size: 0.92rem;
  color: var(--steel-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0.5s;
}
.hero-caption strong{ color: var(--white); font-weight: 600; }
.hero-caption.is-active{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-dots{ display: flex; gap: 10px; flex-shrink: 0; }
.hero-dots button{
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.hero-dots button:hover{ border-color: var(--white); }
.hero-dots button.is-active{
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.15);
}

@media (max-width: 860px){
  .hero{ padding: 84px 0 40px; }
  .hero-carousel-foot{ flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 40px; }
}

@media (max-width: 480px){
  .hero{ padding: 64px 0 32px; }
  .hero-actions{ flex-direction: column; align-items: stretch; }
  .hero-actions .btn{ justify-content: center; }
}

/* ---------- Bandeau plaque (stats / réassurance) ---------- */
.strip{
  background: var(--steel);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.strip-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.strip-item{
  padding: 28px 24px;
  border-left: 1px solid var(--line);
  text-align: left;
}
.strip-item:first-child{ border-left: none; }
.strip-item strong{
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--asphalt);
}
.strip-item span{ font-size: 0.85rem; color: var(--text-muted); }

@media (max-width: 760px){
  .strip-grid{ grid-template-columns: repeat(2, 1fr); }
  .strip-item{ border-left: none; border-top: 1px solid var(--line); }
  .strip-item:nth-child(odd){ border-right: 1px solid var(--line); }
}
@media (max-width: 420px){
  .strip-grid{ grid-template-columns: 1fr; }
  .strip-item{ border-right: none !important; padding: 20px; }
}

/* ---------- Section intro ---------- */
.section-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
@media (max-width: 600px){
  .section-head{ margin-bottom: 32px; align-items: flex-start; }
  .section-head p{ max-width: none !important; }
}
.section-head .tag{
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ---------- Cartes atouts ---------- */
.reasons-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.reason-card{
  background: var(--white);
  padding: 32px 28px;
}
.reason-card .num{
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--orange);
  display: block;
  margin-bottom: 14px;
}
.reason-card h3{ margin-bottom: 10px; }
.reason-card p{ color: var(--text-muted); margin: 0; font-size: 0.95rem; }

@media (max-width: 760px){
  .reasons-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 480px){
  .reason-card{ padding: 26px 22px; }
}

/* ---------- Véhicules : grille de fiches ---------- */
.vehicle-toolbar{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px 20px;
  margin-bottom: 36px;
  border-radius: var(--radius-plate);
}
.vehicle-toolbar select,
.vehicle-toolbar input{
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--text);
}
.vehicle-toolbar label{
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}
.vehicle-toolbar .field{ display: flex; flex-direction: column; }
.vehicle-toolbar .field-search{ flex: 1 1 200px; min-width: 160px; }
.vehicle-toolbar .field-search input{ width: 100%; }
.vehicle-toolbar #filter-prix-min,
.vehicle-toolbar #filter-prix-max{ width: 110px; }
.vehicle-toolbar .count{
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 640px){
  .vehicle-toolbar{ flex-direction: column; align-items: stretch; padding: 16px; }
  .vehicle-toolbar .field{ width: 100%; }
  .vehicle-toolbar select{ width: 100%; }
  .vehicle-toolbar #filter-prix-min,
  .vehicle-toolbar #filter-prix-max{ width: 100%; }
  .vehicle-toolbar .count{ margin-left: 0; text-align: left; }
}

.vehicle-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px){ .vehicle-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px){ .vehicle-grid{ grid-template-columns: 1fr; gap: 18px; } }

.vehicle-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-plate);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.vehicle-card:hover{ transform: translateY(-3px); box-shadow: 0 12px 24px rgba(21,24,27,0.12); }

.vehicle-media{
  aspect-ratio: 4/3;
  background:
    linear-gradient(160deg, var(--asphalt) 0%, var(--asphalt-soft) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vehicle-media svg{ width: 58%; opacity: 0.9; }
.vehicle-media .badge{ position: absolute; top: 12px; left: 12px; z-index: 2; }
.vehicle-media img{
  width: 100%; height: 100%; object-fit: cover;
}
.vehicle-media[data-gallery]{ cursor: zoom-in; }
.vehicle-media .badge-photos{
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  background: rgba(21,24,27,0.75); color: var(--white);
  font-size: 0.76rem; font-weight: 600; padding: 4px 9px; border-radius: 3px;
}
.no-photo-label{
  position: absolute; bottom: 14px; left: 0; right: 0; text-align: center;
  font-size: 0.76rem; color: var(--steel-dark); letter-spacing: 0.04em;
}

/* ---------- Galerie photo (lightbox) ---------- */
.lightbox{
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
}
.lightbox.is-visible{ display: flex; }
.lightbox-backdrop{
  position: absolute; inset: 0; background: rgba(21,24,27,0.92);
}
.lightbox-inner{
  position: relative; z-index: 2; max-width: min(90vw, 900px); width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px;
}
.lightbox-img{
  max-width: 100%; max-height: 72vh; border-radius: 4px; object-fit: contain;
  background: var(--asphalt-soft);
}
.lightbox-caption{ color: var(--steel-dark); font-size: 0.88rem; margin: 0; }
.lightbox-close{
  position: absolute; top: -6px; right: 0; background: none; border: none;
  color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; padding: 6px 10px;
}
.lightbox-nav{
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12); border: none; color: var(--white);
  font-size: 2rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover{ background: rgba(255,255,255,0.24); }
.lightbox-prev{ left: -8px; }
.lightbox-next{ right: -8px; }
@media (max-width: 640px){
  .lightbox-prev{ left: 4px; }
  .lightbox-next{ right: 4px; }
}
body.lightbox-open{ overflow: hidden; }

.vehicle-body{ padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vehicle-body h3{ font-size: 1.15rem; margin: 0; }
.vehicle-price{
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--asphalt);
}
.vehicle-specs{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.vehicle-specs dt{ font-weight: 600; color: var(--text); }
.vehicle-specs dd{ margin: 0; }
.vehicle-card .btn{ margin-top: auto; }
.vehicle-body h3 a{ color: inherit; text-decoration: none; }
.vehicle-body h3 a:hover{ color: var(--orange); }
.vehicle-detail-link{
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--orange-dark);
  text-decoration: none;
}
.vehicle-detail-link:hover{ text-decoration: underline; }

/* ---------- Skeleton (chargement) ---------- */
.vehicle-card.is-skeleton{ pointer-events: none; }
.vehicle-card.is-skeleton .vehicle-media{
  background: var(--steel);
}
.skeleton-line{
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--steel) 25%, var(--steel-dark) 50%, var(--steel) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.3s ease-in-out infinite;
}
.skeleton-title{ width: 70%; height: 18px; }
.skeleton-price{ width: 40%; }
.skeleton-specs{ width: 100%; height: 52px; }
.skeleton-btn{ width: 100%; height: 44px; margin-top: auto; }
@keyframes skeleton-shimmer{
  0%{ background-position: 200% 0; }
  100%{ background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce){
  .skeleton-line{ animation: none; }
}

.empty-state{
  text-align: center;
  padding: 60px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-plate);
  color: var(--text-muted);
  grid-column: 1 / -1;
}

/* ---------- Services : ticket d'atelier ---------- */
.services-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-ticket{
  display: flex;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  padding: 24px 22px;
  border-radius: var(--radius-plate);
}
.service-ticket .icon{
  flex-shrink: 0;
  width: 44px; height: 44px;
  color: var(--orange);
}
.service-ticket h3{ margin-bottom: 6px; font-size: 1.15rem; }
.service-ticket p{ margin: 0; color: var(--text-muted); font-size: 0.95rem; }

@media (max-width: 760px){ .services-grid{ grid-template-columns: 1fr; } }
@media (max-width: 480px){
  .service-ticket{ padding: 20px 18px; gap: 14px; }
}

.reviews-band{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.reviews-badge{
  display: flex;
  align-items: center;
  gap: 16px;
}
.reviews-badge .google-g{ width: 38px; height: 38px; flex-shrink: 0; }
.reviews-badge strong{ display: block; font-size: 1.05rem; }
.reviews-badge span{ font-size: 0.9rem; color: var(--text-muted); }

@media (max-width: 560px){
  .reviews-band{ flex-direction: column; align-items: stretch; text-align: center; }
  .reviews-badge{ flex-direction: column; }
  .reviews-band .btn{ justify-content: center; }
}

.cta-band{
  background: var(--orange);
  color: var(--white);
  padding: 56px 0;
}
.cta-band .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2{ color: var(--white); margin: 0; }
.cta-band .btn-outline{ border-color: var(--white); }

@media (max-width: 560px){
  .cta-band{ padding: 40px 0; text-align: center; }
  .cta-band .container{ flex-direction: column; align-items: stretch; }
  .cta-band .btn{ justify-content: center; }
}

/* ---------- À propos ---------- */
.about-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.id-card{
  background: var(--asphalt);
  color: var(--white);
  border-radius: var(--radius-plate);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.id-card .tag{ color: var(--orange); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.id-card dl{ margin: 18px 0 0; }
.id-card dt{ font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--steel-dark); margin-top: 14px; }
.id-card dd{ margin: 2px 0 0; font-family: var(--font-display); font-size: 1.05rem; }

.values-list{ list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.values-list li{
  display: flex; gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.values-list li:last-child{ border-bottom: none; }
.values-list .mark{
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--orange);
  flex-shrink: 0;
  width: 32px;
}

@media (max-width: 880px){
  .about-grid{ grid-template-columns: 1fr; }
  .id-card{ position: static; }
}
@media (max-width: 480px){
  .id-card{ padding: 22px; }
}

/* ---------- Contact ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-plate);
  padding: 28px;
}
.contact-card h3{ font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 18px; }
.contact-line{ display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.contact-line:first-of-type{ border-top: none; }
.contact-line .icon{ width: 20px; height: 20px; flex-shrink: 0; color: var(--orange); margin-top: 2px; }
.contact-line strong{ display: block; font-size: 0.95rem; }
.contact-line span{ font-size: 0.9rem; color: var(--text-muted); }

.map-frame{
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-plate);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.map-frame iframe{ width: 100%; height: 100%; border: 0; }

form.contact-form{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-plate);
  padding: 32px;
  display: grid;
  gap: 18px;
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label{
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.field input, .field select, .field textarea{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  background: var(--paper);
  color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--orange);
  background: var(--white);
}
.field textarea{ resize: vertical; min-height: 130px; }
.field-error{
  color: var(--orange-dark);
  font-size: 0.82rem;
  margin-top: 4px;
  display: none;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea{ border-color: var(--orange-dark); }
.field.has-error .field-error{ display: block; }

.form-note{ font-size: 0.82rem; color: var(--text-muted); }
.deposit-notice{
  background: var(--steel);
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--text);
}
.deposit-notice strong{ color: var(--orange-dark); }
.form-success{
  display: none;
  background: #EAF3EC;
  border: 1px solid var(--ok);
  color: var(--ok);
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 0.92rem;
}
.form-success.is-visible{ display: block; }

.form-error{
  display: none;
  background: #FBEAE3;
  border: 1px solid var(--orange-dark);
  color: var(--orange-dark);
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 0.92rem;
}
.form-error.is-visible{ display: block; }

@media (max-width: 760px){
  .contact-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
}
@media (max-width: 480px){
  form.contact-form{ padding: 22px; }
  .contact-card{ padding: 20px; }
}

/* ---------- Page Merci (remerciement après demande) ---------- */
.thanks-card{
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-plate);
  padding: 48px 40px;
}
.thanks-icon{ width: 56px; height: 56px; margin-bottom: 18px; }
.thanks-card h2{ margin-top: 0; }
.thanks-actions{
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 26px;
  flex-wrap: wrap;
}
.thanks-actions .btn{ min-width: 200px; }

@media (max-width: 480px){
  .thanks-card{ padding: 32px 22px; }
  .thanks-actions{ flex-direction: column; }
  .thanks-actions .btn{ min-width: 0; width: 100%; }
}

/* ---------- Page légale ---------- */
.legal{ max-width: 74ch; }
.legal h2{ margin-top: 1.6em; font-size: 1.4rem; }
.legal dl{ display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 18px 0; }
.legal dt{ font-weight: 700; }
.legal dd{ margin: 0; color: var(--text-muted); }

@media (max-width: 560px){
  .legal dl{ grid-template-columns: 1fr; gap: 2px 0; }
  .legal dt{ margin-top: 12px; }
  .legal dt:first-child{ margin-top: 0; }
}

/* ---------- Page interne : bandeau titre ---------- */
.page-banner{
  background:
    linear-gradient(100deg, rgba(21,24,27,0.88) 0%, rgba(21,24,27,0.72) 55%, rgba(21,24,27,0.5) 100%),
    url("../img/hero/page-banner-bg.svg") center / cover no-repeat,
    var(--asphalt);
  color: var(--white);
  padding: 64px 0 48px;
}
.page-banner h1{ color: var(--white); margin-bottom: 6px; }
.breadcrumb{ font-size: 0.85rem; color: var(--steel-dark); }
.breadcrumb a{ color: var(--orange); }

@media (max-width: 480px){
  .page-banner{ padding: 44px 0 32px; }
}

/* ---------- Footer ---------- */
.site-footer{
  background: var(--asphalt);
  color: var(--steel-dark);
  padding: 64px 0 28px;
  margin-top: 0;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--asphalt-soft);
}
.footer-brand .logo{ color: var(--white); margin-bottom: 12px; }
.footer-brand p{ color: var(--steel-dark); font-size: 0.9rem; }
.footer-col h4{
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-col ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a{ font-size: 0.92rem; }
.footer-col a:hover{ color: var(--orange); }

.footer-plate{
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--steel-dark);
}
.footer-plate .siren{
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  color: var(--white);
  border: 1px solid var(--asphalt-soft);
  padding: 4px 10px;
  border-radius: 3px;
}

@media (max-width: 860px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px){
  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
  .site-footer{ padding: 48px 0 24px; }
  .footer-plate{ flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- Skip link ---------- */
.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: var(--white);
  padding: 12px 18px;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus{ left: 12px; top: 12px; }

/* ---------- Barre d'appel mobile ---------- */
.mobile-cta-bar{
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--asphalt);
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
}
.mobile-cta-btn{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.mobile-cta-btn .icon{ width: 20px; height: 20px; flex-shrink: 0; }
.mobile-cta-btn + .mobile-cta-btn{ border-left: 1px solid rgba(255,255,255,0.12); }
.mobile-cta-whatsapp{ background: #25D366; color: #06210f; }

@media (max-width: 640px){
  .mobile-cta-bar{ display: flex; }
  /* Réserve la place de la barre fixe sur le footer (fond sombre) plutôt
     que sur body (fond clair), pour éviter une bande claire visible entre
     le footer et la barre. */
  .site-footer{ padding-bottom: 60px; }
}

/* ---------- FAQ ---------- */
.faq-list{ max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-plate);
  overflow: hidden;
}
.faq-item summary{
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: '+';
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after{ transform: rotate(45deg); }
.faq-item p{
  margin: 0;
  padding: 0 22px 20px;
  color: var(--text-muted);
}

@media (max-width: 480px){
  .faq-item summary{ padding: 15px 18px; font-size: 0.95rem; }
  .faq-item p{ padding: 0 18px 16px; }
}

/* ---------- Fiche véhicule (vehicule.php) ---------- */
.vehicle-detail{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}
.vehicle-detail-gallery{
  border-radius: var(--radius-plate);
  overflow: hidden;
  border: 1px solid var(--line);
}
.vehicle-detail-main{
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, var(--asphalt) 0%, var(--asphalt-soft) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  cursor: zoom-in;
}
.vehicle-detail-main img{ width: 100%; height: 100%; object-fit: cover; }
.vehicle-detail-main svg{ width: 40%; opacity: 0.9; }
.vehicle-detail-thumbs{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 6px;
  background: var(--white);
}
.vehicle-detail-thumbs button{
  padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer; background: var(--steel);
}
.vehicle-detail-thumbs button.is-active{ border-color: var(--orange); }
.vehicle-detail-thumbs img{ width: 100%; height: 100%; object-fit: cover; display: block; }

.vehicle-detail-info h1{ margin: 10px 0 4px; font-size: 1.9rem; }
.vehicle-detail-price{
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--asphalt);
  margin-bottom: 18px;
}
.vehicle-detail-specs{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-bottom: 20px;
  font-size: 0.92rem;
}
.vehicle-detail-specs dt{ font-weight: 600; color: var(--text-muted); }
.vehicle-detail-specs dd{ margin: 2px 0 0; font-size: 1rem; }
.vehicle-detail-description{ color: var(--text-muted); margin-bottom: 22px; white-space: pre-line; }
.vehicle-detail-actions{ display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }

@media (max-width: 900px){
  .vehicle-detail{ grid-template-columns: 1fr; }
}
@media (max-width: 480px){
  .vehicle-detail-thumbs{ grid-template-columns: repeat(4, 1fr); }
  .vehicle-detail-info h1{ font-size: 1.5rem; }
  .vehicle-detail-price{ font-size: 1.7rem; }
}

/* ---------- Simulateur de financement ---------- */
.simulator{
  background: var(--steel);
  border-radius: var(--radius-plate);
  padding: 22px;
}
.simulator h3{ margin-top: 0; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.simulator .field{ margin-bottom: 14px; }
.simulator .field label{ display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; }
.simulator .field output{ color: var(--orange-dark); }
.simulator input[type="range"]{ width: 100%; }
.simulator select{
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px;
  background: var(--white); font-family: var(--font-body); font-size: 0.92rem;
}
.simulator-result{
  background: var(--white);
  border-radius: 4px;
  padding: 16px;
  text-align: center;
  margin: 16px 0 10px;
}
.simulator-result .amount{
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--orange-dark);
  display: block;
}
.simulator-result .amount small{ font-family: var(--font-body); font-size: 0.85rem; color: var(--text-muted); font-weight: 400; }
.simulator-disclaimer{ font-size: 0.76rem; color: var(--text-muted); margin: 0; }
