/* =====================================================================
   Habillage « pro » : bleu clair, fonds blancs, photos mises en avant.
   Chargé après site.css : redéfinit les couleurs et les composants.
   Concept : vitrine automobile claire et aérée, le bleu sert l'action.
   ===================================================================== */
:root {
  --blue-900: #0d2a4a;   /* texte principal (bleu nuit) */
  --blue-800: #123d6a;
  --blue-700: #0868c4;   /* survol */
  --blue-600: #0b7ee8;   /* bleu clair principal (boutons, liens, prix) */
  --blue-500: #3ba0ff;
  --blue-100: #dcecff;
  --blue-50:  #f2f8ff;
  --sky:      #eaf4ff;   /* fonds bleu très clair */
  --accent:   #ff7a45;   /* promotions uniquement */
  --accent-soft: #fff1ea;
  --text: #1d2b3f;
  --muted: #5b6b80;
  --border: #e3ecf6;
  --radius: 18px;
  --shadow: 0 2px 12px rgba(13, 42, 74, .06);
  --shadow-lg: 0 18px 44px rgba(13, 42, 74, .12);
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body { color: var(--text); background: #fff; }
h1, h2, h3, h4, .logo, .car-title, .vd-title, .h-section, .price, .vd-price { font-family: var(--font-head); }
h1, h2, h3 { text-wrap: balance; letter-spacing: -.02em; }

/* ---------- Bandeau + en-tête ---------- */
.topbar { background: var(--sky); color: var(--blue-800); font-weight: 500; }
.topbar a:hover { color: var(--blue-600); }
.site-header { background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--border); box-shadow: 0 1px 0 rgba(13,42,74,.02); }
.nav { height: 76px; }
.logo { color: var(--blue-900); }
.logo-mark { background: linear-gradient(135deg, #3ba0ff, #0b7ee8); border-radius: 12px; }
.nav-links a { color: var(--blue-900); font-weight: 600; }
.nav-links a:hover, .nav-links a.active, .nav-links .current-menu-item > a { color: var(--blue-600); border-color: var(--blue-600); }

/* ---------- Boutons ---------- */
.btn { border-radius: 12px; font-weight: 700; padding: 12px 20px; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 16px rgba(11, 126, 232, .22); }
.btn-primary:hover { background: var(--blue-700); }
.btn-outline { border: 1.5px solid #cfe3fb; color: var(--blue-600); background: #fff; }
.btn-outline:hover { background: var(--sky); color: var(--blue-700); border-color: var(--blue-500); }
.btn-accent { background: var(--blue-600); color: #fff; }
.btn-accent:hover { background: var(--blue-700); filter: none; }
.btn-ghost { border-color: #cfe3fb; color: var(--blue-600); background: #fff; }
.btn svg { flex: none; }

/* ---------- Accueil : vitrine ---------- */
.hero2 { background: linear-gradient(180deg, #e6f2ff 0%, #f5faff 65%, #fff 100%); padding: 56px 0 46px; }
.hero2-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero2-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--blue-100); color: var(--blue-700); font-weight: 600; font-size: .85rem; padding: 7px 14px; border-radius: 999px; }
.hero2 h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.08; color: var(--blue-900); margin: 18px 0 14px; letter-spacing: -.03em; }
.hero2 h1 span { color: var(--blue-600); }
.hero2-lead { color: var(--muted); font-size: 1.08rem; max-width: 560px; margin-bottom: 26px; }
.hero2-search { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 18px; border: 1px solid var(--border); }
.hero2-tabs { display: inline-flex; background: var(--blue-50); border-radius: 12px; padding: 4px; margin-bottom: 14px; flex-wrap: wrap; }
.hero2-tabs label { position: relative; padding: 8px 14px; border-radius: 9px; font-weight: 700; font-size: .88rem; color: var(--blue-800); cursor: pointer; }
.hero2-tabs input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.hero2-tabs label.active { background: #fff; color: var(--blue-600); box-shadow: 0 2px 8px rgba(13,42,74,.08); }
.hero2-tabs label:focus-within { outline: 3px solid var(--blue-500); }
.hero2-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hero2-fields .btn { grid-column: 1 / -1; padding: 14px; font-size: 1rem; }
.hero2-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero2-chips a { background: #fff; border: 1px solid var(--blue-100); color: var(--blue-800); font-weight: 600; font-size: .86rem; padding: 7px 14px; border-radius: 999px; }
.hero2-chips a:hover { border-color: var(--blue-600); color: var(--blue-600); }
.hero2-car { position: relative; display: block; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--sky); aspect-ratio: 4 / 3.2; }
.hero2-car img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hero2-car:hover img { transform: scale(1.03); }
.hero2-car-svg { display: grid; place-items: center; padding: 30px; }
.hero2-car-info { position: absolute; left: 18px; bottom: 18px; right: 18px; max-width: 330px; background: rgba(255,255,255,.96); border-radius: 16px; padding: 14px 16px; display: grid; gap: 2px; box-shadow: var(--shadow); }
.hero2-car-info strong { color: var(--blue-900); font-family: var(--font-head); font-size: 1.1rem; }
.hero2-car-info small { color: var(--muted); }
.hero2-car-info b { color: var(--blue-600); font-family: var(--font-head); font-size: 1.45rem; }
.hero2-car-badge { justify-self: start; background: var(--accent-soft); color: #d9480f; font-weight: 800; font-size: .75rem; padding: 3px 9px; border-radius: 999px; margin-bottom: 4px; }

/* Réassurance */
.trust-bar { padding: 0 0 8px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; border: 1px solid var(--border); border-radius: 20px; padding: 18px; background: #fff; box-shadow: var(--shadow); }
.trust-grid > div { display: flex; align-items: center; gap: 12px; }
.trust-grid svg { flex: none; color: var(--blue-600); background: var(--sky); border-radius: 12px; padding: 9px; width: 46px; height: 46px; }
.trust-grid span { display: grid; color: var(--muted); font-size: .86rem; line-height: 1.35; }
.trust-grid strong { color: var(--blue-900); font-size: .95rem; }

/* Catégories */
.cats-section { padding: 56px 0 10px; }
.cats { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.cat { display: grid; justify-items: center; gap: 6px; padding: 16px 10px 14px; border: 1px solid var(--border); border-radius: 16px; background: #fff; font-weight: 700; color: var(--blue-900); font-size: .9rem; text-align: center; transition: .2s; }
.cat:hover { border-color: var(--blue-500); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat .car-svg { width: 100%; max-width: 120px; height: auto; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-alt { background: #f6faff; }
.section-head h2 { color: var(--blue-900); }
.kicker, .section-head .kicker { color: var(--blue-600); letter-spacing: .08em; }

/* ---------- Cartes véhicules ---------- */
.grid-cars { gap: 22px; }
.car-card { border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.car-card:hover { box-shadow: var(--shadow-lg); border-color: #cfe3fb; transform: translateY(-3px); }
.car-media { aspect-ratio: 4 / 3; background: #f1f6fc; padding: 0; }
.car-media img { width: 100%; height: 100%; object-fit: cover; }
.car-media .car-svg { width: 82%; }
.badge { border-radius: 999px; font-size: .7rem; padding: 5px 10px; letter-spacing: .04em; }
.badge-new { background: var(--blue-600); }
.badge-used { background: rgba(13, 42, 74, .82); }
.car-body { padding: 16px 18px 18px; gap: 10px; }
.car-title { font-size: 1.05rem; color: var(--blue-900); }
.car-title small { color: var(--muted); font-family: "Inter", system-ui, sans-serif; font-weight: 500; }
.price { color: var(--blue-900); font-size: 1.4rem; }
.price-old b { color: #d9480f; }
.car-monthly strong { color: var(--blue-600); }
.car-lines { border-top: 1px solid var(--border); color: var(--muted); font-weight: 500; font-size: .86rem; }
.tag { border-radius: 999px; font-weight: 700; }
.tag-promo { background: var(--accent-soft); border-color: #ffd8c6; color: #d9480f; }
.tag-agency { background: var(--sky); border-color: var(--blue-100); color: var(--blue-700); }

/* ---------- Services, chiffres, bandeau d'appel ---------- */
.service { border: 1px solid var(--border); box-shadow: none; border-radius: var(--radius); }
.service:hover { box-shadow: var(--shadow-lg); border-color: #cfe3fb; }
.service .ico { background: var(--sky); color: var(--blue-600); border-radius: 14px; }
.panel-blue { background: linear-gradient(140deg, #3ba0ff 0%, #0b7ee8 55%, #0868c4 100%); border-radius: 24px; }
.stat-grid div { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); }
.cta-band { background: linear-gradient(120deg, #0b7ee8, #3ba0ff); border-radius: 24px; }
.cta-band .btn-accent { background: #fff; color: var(--blue-700); }
.check-list li::before { background: var(--blue-600); }
.brands a { border-radius: 14px; color: var(--blue-900); background: #fff; }
.brands a:hover { border-color: var(--blue-600); color: var(--blue-600); background: #fff; }

/* ---------- Pages intérieures : en-tête clair ---------- */
.page-hero { background: linear-gradient(180deg, #e6f2ff 0%, #f5faff 100%); color: var(--blue-900); border-bottom: 1px solid var(--border); }
.page-hero h1 { color: var(--blue-900); }
.page-hero p { color: var(--muted); }
.page-hero .crumbs { color: var(--muted); }
.page-hero .crumbs a { color: var(--blue-600); }
.page-hero .crumbs a:hover { color: var(--blue-700); }
.page-hero .crumbs span { color: var(--muted); }
.page-hero .crumbs span[aria-current] { color: var(--blue-900); }
.crumbs a { color: var(--blue-600); }

/* ---------- Stock ---------- */
.filters { border-radius: var(--radius); box-shadow: var(--shadow); }
.filters h2, .filters h3 { color: var(--blue-900); }
.seg { background: var(--blue-50); border-radius: 12px; }
.quick-filters a { background: #fff; border-color: var(--blue-100); }
.quick-filters a.active { background: var(--blue-600); border-color: var(--blue-600); }
.field select, .field input, .field textarea { border-radius: 12px; border-color: #d8e5f3; }
.pagination span[aria-current] { background: var(--blue-600); border-color: var(--blue-600); }

/* ---------- Fiche véhicule ---------- */
.vd-gallery { border-radius: 22px; background: #f1f6fc; }
.vd-thumbs button { border-radius: 12px; }
.vd-thumbs button.active { border-color: var(--blue-600); }
.vd-card { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 24px; box-shadow: var(--shadow-lg); }
.vd-title { text-transform: none; font-size: 1.75rem; }
.vd-chips span { background: var(--blue-50); color: var(--blue-900); border-radius: 10px; }
.vd-price { color: var(--blue-900); }
.vd-price small { color: var(--muted); }
.vd-monthly strong { color: var(--blue-600); }
.vd-perks svg { color: var(--blue-600); }
.vd-agency { color: var(--blue-700); }
.btn-reserve { background: var(--blue-600); color: #fff; box-shadow: 0 6px 16px rgba(11, 126, 232, .25); }
.btn-reserve:hover { background: var(--blue-700); filter: none; }
.vd-rachat { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 16px; }
.vd-tabs { border-color: var(--border); }
.vd-tabs a:hover { color: var(--blue-600); border-color: var(--blue-600); }
.vd-options li { background: var(--blue-50); border-radius: 10px; }
.vd-tech > div { border-color: var(--border); border-radius: 16px; }
.vd-finance { border-color: var(--border); border-radius: 18px; }
.simu-result { background: linear-gradient(135deg, #0b7ee8, #3ba0ff); border-radius: 16px; }
.vd-services > div { background: var(--blue-50); border-radius: 16px; }
.agency { border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: 20px; }
.form-card { border: 1px solid var(--border); border-radius: 20px; }
.step::before { background: var(--blue-600); }

/* ---------- Pied de page ---------- */
.site-footer { background: #0b1f3a; }
.site-footer .logo { color: #fff; }

/* ---------- Écrans plus petits ---------- */
@media (max-width: 1100px) {
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero2-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero2 { padding: 34px 0 30px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero2-fields { grid-template-columns: 1fr; }
  .hero2-tabs { display: flex; }
  .hero2-tabs label { flex: 1; text-align: center; padding: 8px 6px; font-size: .8rem; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
  .vd-title { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { .hero2-car img, .car-card, .cat { transition: none; } }

/* ---------- Partenaires (pied de page) ---------- */
.partners { margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.partners h2 { color: #fff; margin-bottom: 16px; }
.partners-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.partners-list a { display: block; border-radius: 14px; }
.partner-tile { display: flex; align-items: center; justify-content: center; height: 76px; background: #fff; border-radius: 14px; padding: 12px 18px;
  color: var(--blue-900); font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; text-align: center; }
.partner-tile img { max-height: 52px; width: auto; max-width: 100%; height: auto; object-fit: contain; }
.partners-list a:hover .partner-tile { box-shadow: 0 0 0 3px var(--blue-500); }
@media (max-width: 600px) { .partners-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Logos ---------- */
.site-logo { height: 52px; width: auto; display: block; }
.footer-logo img { height: 48px; width: auto; display: block; }
.orias-line { margin-top: 14px; font-size: .85rem; color: #a9bce0; }
.orias-line a { text-decoration: underline; }
@media (max-width: 1400px) { .nav-cta .btn-outline { display: none; } .nav-links { gap: 18px; } }
@media (max-width: 1240px) { .site-logo { height: 44px; } }
@media (max-width: 600px) { .site-logo { height: 36px; } .nav { height: 66px; } }
@media (max-width: 430px) { .site-logo { height: 30px; } .nav-cta .btn-primary { padding: 9px 12px; font-size: .82rem; } }
