/* Gani Mobility — shared + light theme (home, contact) */
:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --text-muted: #757575;
  --text-soft: #888888;
  --border: #e0e0e0;
  --pill-bg: #1a1a1a;
  --pill-text: #ffffff;
  --radius-pill: 50px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

/* Titres — même typo / style que le hero (Inter medium, noir, serrage léger) */
h1,
h2,
h3,
h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #000000;
  line-height: 1.15;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h2 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

h3 {
  font-size: 1.0625rem;
}

/* Home / light pages: fond blanc, pas de trait sous le header */
body.page-index,
body.page-light {
  background: #ffffff;
}

body.page-index .site-header,
body.page-light .site-header {
  background: #ffffff;
  backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}

body.page-index .mobile-nav,
body.page-light .mobile-nav {
  border-bottom: none;
  background: #ffffff;
}

body.page-index .site-footer {
  background: #ffffff;
}

body.page-light .site-footer {
  background: #ffffff;
}

/* Accueil: recherche en pastille grise comme la maquette */
body.page-index .btn-search,
body.page-light .btn-search {
  background: #e8e8e8;
  color: #000000;
}

body.page-index .btn-search:hover,
body.page-light .btn-search:hover {
  background: #dedede;
}

/* Accueil : équilibre header / hero */
body.page-index .header-inner {
  padding-top: 0.6rem;
  padding-bottom: 0.55rem;
}

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

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.65rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  direction: ltr;
  min-width: 0;
}

.header-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
  color: inherit;
  max-width: 100%;
}

.header-brand-link:hover {
  opacity: 0.92;
}

.header-favicon {
  width: clamp(40px, 5.5vw, 52px);
  height: auto;
  max-height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.header-logo {
  height: clamp(40px, 10vw, 72px);
  width: auto;
  max-width: min(200px, 46vw);
  object-fit: contain;
  display: block;
}

/* Nav centrée dans une pilule grise (maquette) */
.nav-wrap {
  display: none;
  flex: 1;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

@media (min-width: 900px) {
  .nav-wrap {
    display: flex;
  }
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.35rem 0.55rem;
  background: #ebebeb;
  border-radius: 999px;
}

.nav-main a {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
  border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s;
}

.nav-main a:hover {
  color: var(--text);
}

.nav-main a.active {
  background: var(--pill-bg);
  color: var(--pill-text);
}

.nav-main .has-dropdown {
  position: relative;
}

.nav-main .has-dropdown > span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #444;
  cursor: default;
  border-radius: var(--radius-pill);
}

.nav-main .has-dropdown:hover > span {
  background: #f5f5f5;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  padding: 0.5rem 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 0;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 200;
}

.lang-dropdown {
  position: relative;
}

.lang-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0.3rem 0.55rem 0.3rem 0.4rem;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: #fafafa;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #333333;
  line-height: 1.2;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.lang-dropdown__trigger:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.lang-dropdown__trigger:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.18);
  outline-offset: 2px;
}

.lang-dropdown.is-open .lang-dropdown__trigger {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.lang-dropdown__flag {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.lang-dropdown__value {
  min-width: 1.35rem;
  text-align: center;
}

.lang-dropdown__chev {
  display: inline-flex;
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: #888888;
  transition: transform 0.2s ease;
}

.lang-dropdown__chev::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.lang-dropdown.is-open .lang-dropdown__chev {
  transform: rotate(180deg);
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  margin: 0;
  padding: 0.3rem 0;
  list-style: none;
  min-width: 7.25rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07), 0 0 1px rgba(0, 0, 0, 0.04);
  z-index: 500;
  transform-origin: top center;
}

.lang-dropdown__menu[hidden] {
  display: none;
}

.lang-dropdown__menu:not([hidden]) {
  display: block;
  animation: langDropReveal 0.2s ease;
}

@keyframes langDropReveal {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lang-dropdown__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.1rem;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #333333;
  transition: background 0.12s ease, color 0.12s ease;
}

.lang-dropdown__option:hover,
.lang-dropdown__option:focus-visible {
  background: #f3f3f3;
  color: #111111;
  outline: none;
}

.lang-dropdown__option:hover .lang-flag,
.lang-dropdown__option:focus-visible .lang-flag {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.lang-dropdown__option.is-selected:not(:hover):not(:focus-visible) {
  background: rgba(0, 0, 0, 0.045);
  color: #111111;
  font-weight: 600;
}

.lang-dropdown__opt-flag {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.lang-dropdown__opt-label {
  flex: 1;
}

.lang-flag {
  display: block;
  width: 28px;
  height: 18px;
  flex-shrink: 0;
  box-sizing: border-box;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

img.lang-flag {
  object-fit: cover;
  vertical-align: middle;
}

html[lang="ar"] body,
html[lang="ar"] body button,
html[lang="ar"] body input,
html[lang="ar"] body select,
html[lang="ar"] body textarea {
  font-family: "Noto Sans Arabic", "Inter", system-ui, sans-serif;
}

.btn-search {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--text);
}

.btn-search:hover {
  background: #f0f0f0;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-pill--dark {
  background: var(--pill-bg);
  color: var(--pill-text);
}

.btn-pill--dark:hover {
  background: #333;
}

.btn-pill--outline {
  background: #fff;
  color: var(--text);
  border-color: #ccc;
}

.btn-pill--outline:hover {
  border-color: var(--text);
}

.btn-pill--cta {
  background: linear-gradient(180deg, #2c2c2c 0%, #0d0d0d 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border-color: transparent;
}

.btn-pill--cta:hover {
  background: linear-gradient(180deg, #3a3a3a 0%, #1a1a1a 100%);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.28);
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0 1rem 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  border-bottom: 1px solid var(--border);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}

@media (min-width: 900px) {
  .mobile-nav {
    display: none !important;
  }
}

/* Hero (generic — other pages if needed) */
.hero {
  text-align: center;
  padding: 3rem 1.5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  margin: 0 0 1rem;
}

.hero .lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

/* Home hero — même style typo que la ref. luxe (Inter medium / regular) */
.hero.hero--home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2.5rem) 0.35rem;
  background: #ffffff;
}

.hero.hero--home .hero__title {
  font-size: clamp(2.35rem, 6.5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 clamp(0.85rem, 2.5vw, 1.25rem);
  max-width: min(22em, 92vw);
  text-wrap: balance;
}

.hero.hero--home .hero__title-line {
  display: inline-block;
}

.hero.hero--home .hero__lead {
  font-size: clamp(0.9375rem, 1.75vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 38rem;
  margin: 0 auto clamp(1.1rem, 3vw, 1.5rem);
}

.hero.hero--home .hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
}

/* Boutons hero — pilule, primaire avec léger relief (réf. maquette) */
.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.15rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  border-radius: 50px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-hero--primary {
  color: #ffffff;
  background: linear-gradient(180deg, #2a2a2a 0%, #0a0a0a 55%, #000000 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), inset 0 -2px 0 rgba(0, 0, 0, 0.35);
}

.btn-hero--primary:hover {
  background: linear-gradient(180deg, #333333 0%, #111111 55%, #0a0a0a 100%);
}

.btn-hero--secondary {
  color: #000000;
  background: #ffffff;
  border-color: #d8d8d8;
  box-shadow: none;
}

.btn-hero--secondary:hover {
  border-color: #000000;
  background: #fafafa;
}

.hero.hero--home + .hero-image-wrap {
  padding-top: 0;
  margin-top: 0.85rem;
}

.hero-image-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem 2.5rem;
}

body.page-index .hero-image-wrap {
  padding-bottom: 0.35rem;
}

body.page-index .hero-image-wrap + .brand-strip {
  margin-top: -1rem;
  padding: 0 0 3rem;
}

.hero-image-wrap img {
  margin: 0 auto;
}

/* Brand strip — carrousel infini (marquee) */
.brand-strip {
  margin: 0;
  padding: 2rem 0 4rem;
}

.brand-strip__viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brand-strip__track {
  display: flex;
  width: max-content;
  animation: brand-marquee 48s linear infinite;
  will-change: transform;
}

.brand-strip__track:hover {
  animation-play-state: paused;
}

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

.brand-strip__inner {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 3.25rem;
  padding: 0 1.5rem;
  list-style: none;
  margin: 0;
}

@media (min-width: 640px) {
  .brand-strip__inner {
    gap: 4.5rem;
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .brand-strip__inner {
    gap: 5.5rem;
    padding: 0 3rem;
  }
}

.brand-strip__inner > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand-strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

.brand-strip__item img {
  display: block;
  max-height: 48px;
  width: auto;
  max-width: min(140px, 28vw);
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.brand-strip__item img:hover {
  opacity: 0.85;
  filter: grayscale(100%) brightness(1.05);
}

/* Renault : plus grand */
.brand-strip__item--renault {
  min-height: 76px;
}

.brand-strip__item--renault img {
  max-height: 72px;
  max-width: min(200px, 40vw);
}

/* Dacia : plus grand (comme Renault) */
.brand-strip__item--dacia {
  min-height: 64px;
}

.brand-strip__item--dacia img {
  max-height: 58px;
  max-width: min(160px, 34vw);
}

/* Audi : logo plus large par nature — taille réduite */
.brand-strip__item--audi img {
  max-height: 30px;
  max-width: min(100px, 22vw);
}

@media (prefers-reduced-motion: reduce) {
  .brand-strip__track {
    animation: none;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
  }

  .brand-strip__inner {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 0 1rem;
  }

  .brand-strip__inner > li[aria-hidden="true"] {
    display: none;
  }

  .brand-strip__viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* Featured vehicles — car cards */
.car-showcase {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.car-showcase__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.car-showcase__header h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
}

.car-showcase__sub {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 400;
  max-width: 34rem;
}

.car-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .car-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .car-showcase__grid {
    grid-template-columns: 1fr;
  }
}

.car-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.car-card--highlight {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-color: #d0d0d0;
}

.car-card__media {
  margin: 0;
  padding: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 180px;
  background: #e8e8e8;
  overflow: hidden;
}

.car-card__media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.car-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.car-card__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #000000;
  line-height: 1.25;
}

.car-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.car-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #f3f3f3;
  border: 1px solid #e8e8e8;
  font-size: 0.75rem;
  font-weight: 500;
  color: #333333;
}

.car-card__pill-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.car-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.car-card__btn {
  display: block;
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  font-family: var(--font-sans);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.car-card__btn--secondary {
  background: #e8e8e8;
  color: #000000;
  border: 1px solid transparent;
}

.car-card__btn--secondary:hover {
  background: #dedede;
}

.car-card__btn--primary {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
}

.car-card__btn--primary:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
}

/* How it works — process grid + image */
.process-how {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}

.process-how__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.process-how__header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
}

.process-how__sub {
  margin: 0;
  max-width: 36rem;
  color: var(--text-soft);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.6;
}

.process-how__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  gap: 2rem;
  align-items: stretch;
}

.process-how__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.process-step {
  background: #f5f5f5;
  border-radius: 10px;
  padding: 1.2rem 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.process-step__title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: -0.02em;
}

.process-step__text {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-soft);
  line-height: 1.45;
}

.process-how__figure {
  border-radius: 14px;
  overflow: hidden;
  background: #ececec;
  min-height: 280px;
  display: flex;
  align-items: stretch;
}

.process-how__figure img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 991px) {
  .process-how__layout {
    grid-template-columns: 1fr;
  }

  .process-how__figure {
    order: -1;
    min-height: 260px;
    max-height: 420px;
  }

  .process-how__figure img {
    max-height: 420px;
    min-height: 220px;
  }
}

@media (max-width: 639px) {
  .process-how__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 399px) {
  .process-how__grid {
    grid-template-columns: 1fr;
  }
}

/* Testimonials */
.testimonials {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}

.testimonials__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.testimonials__header h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 600;
  line-height: 1.15;
}

.testimonials__sub {
  margin: 0;
  max-width: 38rem;
  color: #666666;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
}

.testimonials__nav {
  display: flex;
  gap: 0.65rem;
}

.testimonials__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #f0f0f0;
  color: #444444;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.testimonials__btn:hover {
  background: #e4e4e4;
}

.testimonials__btn--next {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}

.testimonials__btn--next:hover {
  background: #333333;
}

.testimonials__track-wrap {
  margin: 0 -0.25rem;
}

.testimonials__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0.25rem 0.75rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.testimonials__track:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 4px;
}

.testimonial-card {
  flex: 0 0 min(100%, 360px);
  scroll-snap-align: start;
  margin: 0;
  padding: 1.75rem 1.5rem 1.5rem;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.testimonial-card__quote {
  display: block;
  font-size: 3rem;
  line-height: 0.85;
  font-family: Georgia, "Times New Roman", serif;
  color: #e0e0e0;
  margin-bottom: 0.35rem;
}

.testimonial-card__text {
  margin: 0 0 1.5rem;
  flex: 1;
  font-size: 0.95rem;
  font-weight: 400;
  color: #000000;
  line-height: 1.55;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card__name {
  display: block;
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 600;
  color: #000000;
}

.testimonial-card__loc {
  display: block;
  font-size: 0.8125rem;
  color: #666666;
  margin-top: 0.1rem;
}

/* FAQ */
.faq-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: 2.5rem 3rem;
  align-items: start;
}

.faq-block__intro h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

.faq-block__sub {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 22rem;
}

.faq-block__list {
  min-width: 0;
}

.faq-item {
  border-radius: 14px;
  background: #f3f3f3;
  margin-bottom: 0.85rem;
  overflow: hidden;
  border: 1px solid #eaeaea;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item[open] {
  background: #1a1a1a;
  border-color: #1a1a1a;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
}

.faq-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__question {
  flex: 1;
  text-align: left;
}

.faq-item__chev {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  position: relative;
}

.faq-item__chev::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -2px 0 0 -6px;
  border-right: 2px solid #555555;
  border-bottom: 2px solid #555555;
  transform: rotate(45deg);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.faq-item[open] .faq-item__summary {
  color: #ffffff;
}

.faq-item[open] .faq-item__chev::after {
  margin-top: 2px;
  transform: rotate(-135deg);
  border-color: #ffffff;
}

.faq-item__answer {
  padding: 0 1.25rem 1.15rem;
  color: #666666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item__answer p {
  margin: 0;
}

.faq-item[open] .faq-item__answer {
  color: #c4c4c4;
}

@media (max-width: 900px) {
  .faq-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-block__sub {
    max-width: none;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.25rem 1.5rem 2rem;
  background: #fafafa;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
    column-gap: 2rem;
  }
}

.footer-brand,
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.footer-brand {
  direction: ltr;
}

/* Footer : bloc marque plus compact pour s’aligner avec les titres des autres colonnes */
.footer-brand .header-brand-link {
  margin-bottom: 1rem;
  align-items: center;
}

.footer-brand .header-favicon {
  width: clamp(32px, 3.5vw, 40px);
  max-height: 40px;
}

.footer-brand .header-logo {
  height: clamp(30px, 6vw, 40px);
  max-height: 40px;
  max-width: min(168px, 58vw);
}

.footer-brand p {
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
  max-width: 280px;
}

.social-row {
  display: flex;
  gap: 0.75rem;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.social-row a:hover {
  opacity: 0.85;
}

.footer-col h4 {
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: #666;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-col address {
  font-style: normal;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
}

.sub-footer {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: #999;
}

.sub-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.sub-footer-links a {
  color: #999;
}

.sub-footer-links a:hover {
  color: var(--text);
}

.sub-footer-credit {
  margin-left: 0.5rem;
  white-space: nowrap;
}

.sub-footer-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sub-footer-credit a:hover {
  color: var(--text);
}

@media (max-width: 599px) {
  .sub-footer-credit {
    display: inline-block;
    margin-left: 0;
    margin-top: 0.35rem;
    white-space: normal;
  }
}

/* Assistance — bulle + bouton rond (toujours visible) */
body.help-widget-open {
  overflow: hidden;
}

.help-widget {
  position: fixed;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  inset-inline-end: max(1rem, env(safe-area-inset-end, 0px));
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  max-width: min(340px, calc(100vw - 2rem));
  pointer-events: none;
}

.help-widget > * {
  pointer-events: auto;
}

.help-widget__bubble {
  position: relative;
  margin: 0;
  /* Décale la bulle vers la gauche (vers l’intérieur de la page), le bouton reste au bord */
  margin-inline-end: 1.35rem;
  padding: 0.55rem 0.85rem;
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.35;
  max-width: 19rem;
  font-family: inherit;
  text-align: start;
  cursor: pointer;
}

.help-widget__bubble:hover {
  border-color: #d0d0d0;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
}

.help-widget__bubble:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 2px;
}

.help-widget__bubble::after {
  content: "";
  position: absolute;
  bottom: -5px;
  inset-inline-end: 1.15rem;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-inline-end: 1px solid #e4e4e4;
  border-block-end: 1px solid #e4e4e4;
  transform: rotate(45deg);
}

.help-widget__fab {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease, transform 0.15s ease;
}

.help-widget__fab:hover {
  background: #2a2a2a;
}

.help-widget__fab:active {
  transform: scale(0.96);
}

.help-widget__fab:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.help-widget__fab-icon {
  display: block;
}

.help-widget__backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.28s ease;
  /* Sinon plein écran + opacity 0 intercepte quand même les clics / tactiles (surtout mobile) */
  pointer-events: none;
}

.help-widget__backdrop.help-widget__backdrop--visible {
  opacity: 1;
  pointer-events: auto;
}

.help-widget__panel {
  position: fixed;
  z-index: 999;
  bottom: 6.25rem;
  inset-inline-end: max(1rem, env(safe-area-inset-end, 0px));
  width: min(400px, calc(100vw - 2rem));
  min-height: min(380px, calc(100dvh - 9rem));
  max-height: min(580px, calc(100vh - 5.5rem));
  max-height: min(580px, calc(100dvh - 5.5rem));
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  color: #ffffff;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.28s ease, transform 0.28s ease;
  will-change: opacity, transform;
  pointer-events: none;
}

.help-widget__panel.help-widget__panel--open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.help-widget__panel-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.help-widget__close {
  position: absolute;
  top: 0.55rem;
  inset-inline-end: 0.55rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-family: inherit;
  transition: background 0.15s ease;
}

.help-widget__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.help-widget__head {
  padding: 1rem 2.75rem 0.85rem 1rem;
  padding-inline-end: 2.75rem;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.help-widget__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.help-widget__chat {
  padding: 1.15rem 1.1rem 1.35rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-height: 0;
  background: #0a0a0a;
}

/* Numéro en premier, texte d’accroche en dessous — centré */
.help-widget__layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.1rem;
  min-height: 0;
}

.help-widget__call-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.4rem 1.15rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  text-align: center;
}

.help-widget__intro {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  max-width: 26rem;
  margin-inline: auto;
}

.help-widget__phone {
  display: block;
  font-size: clamp(1.35rem, 4.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.help-widget__phone:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.help-widget__hours {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  .help-widget__backdrop,
  .help-widget__panel {
    transition-duration: 0.01ms;
  }
}

@media (max-width: 599px) {
  .help-widget {
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    inset-inline-end: max(0.85rem, env(safe-area-inset-end, 0px));
  }

  .help-widget__fab {
    width: 50px;
    height: 50px;
  }

  .help-widget__panel {
    bottom: auto;
    top: 50%;
    left: 50%;
    right: auto;
    inset-inline-end: auto;
    width: min(400px, calc(100vw - 1.75rem));
    min-height: min(420px, calc(100dvh - 3rem));
    max-height: min(640px, calc(100vh - 2rem));
    max-height: min(640px, calc(100dvh - 2rem));
    transform: translate(-50%, calc(-50% + 12px)) scale(0.98);
  }

  .help-widget__panel.help-widget__panel--open {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Contact page */
.page-hero {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.page-hero p {
  color: var(--text-soft);
  font-weight: 400;
  margin: 0;
}

.contact-layout {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1.1fr;
  }
}

.contact-info-block h2 {
  font-size: 1.15rem;
  margin: 0 0 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.contact-info-block p,
.contact-info-block a {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button[type="submit"] {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* ========== Responsive (global) ========== */

@media (max-width: 899px) {
  .header-inner {
    padding: 0.55rem 1rem;
    gap: 0.5rem;
  }

  .header-actions {
    gap: 0.35rem;
    flex-shrink: 0;
  }

  .lang-dropdown__trigger {
    min-height: 2.35rem;
    padding: 0.32rem 0.55rem 0.32rem 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    gap: 0.35rem;
  }

  .lang-dropdown__chev {
    width: 0.9rem;
    height: 0.9rem;
  }

  .lang-dropdown__chev::before {
    border-left-width: 4px;
    border-right-width: 4px;
    border-top-width: 5px;
  }
}

@media (max-width: 639px) {
  .header-actions .btn-pill--dark {
    display: none;
  }

  .btn-search {
    width: 38px;
    height: 38px;
  }

  .lang-dropdown__trigger {
    min-height: 2.1rem;
    padding: 0.28rem 0.45rem 0.28rem 0.35rem;
    font-size: 0.75rem;
    gap: 0.28rem;
  }

  .lang-dropdown__value {
    min-width: 1.15rem;
  }

  .lang-dropdown__chev {
    width: 0.8rem;
    height: 0.8rem;
  }

  .lang-dropdown__menu {
    left: auto;
    right: 0;
    min-width: 7.5rem;
    padding: 0.35rem 0;
    border-radius: 8px;
  }

  .lang-dropdown__option {
    min-height: 2.2rem;
    padding: 0.45rem 0.75rem;
    font-size: 0.8125rem;
  }
}

@media (max-width: 380px) {
  .lang-dropdown__value {
    min-width: 1.05rem;
  }

  .lang-dropdown__trigger {
    min-height: 2rem;
    gap: 0.22rem;
    padding: 0.22rem 0.38rem 0.22rem 0.28rem;
    font-size: 0.6875rem;
  }

  .lang-dropdown__chev {
    width: 0.72rem;
    height: 0.72rem;
  }
}

@media (max-width: 480px) {
  .hero.hero--home .hero__cta {
    flex-direction: column;
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero.hero--home .btn-hero {
    width: 100%;
    justify-content: center;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-image-wrap {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media (max-width: 639px) {
  .car-showcase__header {
    flex-direction: column;
    align-items: stretch;
  }

  .car-showcase__header .btn-pill--dark {
    width: 100%;
    max-width: 20rem;
    align-self: center;
    justify-content: center;
  }

  .process-how__header {
    flex-direction: column;
    align-items: stretch;
  }

  .process-how__header .btn-pill--cta {
    width: 100%;
    justify-content: center;
  }

  .testimonials__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero {
    padding: 2rem 1rem 1.5rem;
  }

  .contact-layout {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .sub-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 479px) {
  .car-showcase {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .process-how {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .testimonials {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .faq-block {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 599px) {
  .contact-form button[type="submit"] {
    align-self: stretch;
    width: 100%;
  }
}
