/* ============================================================
   DESIGN SYSTEM - ChenAfrica Business
   Palette: Navy profond, Bronze/Champagne, Gris neutres
   ============================================================ */

:root {
  --color-primary: #1a1a2e;
  --color-primary-hover: #252542;
  --color-accent: #c9953a;
  --color-accent-hover: #b8860b;
  --color-background: #f5f6f8;
  --color-surface: #ffffff;
  --color-surface-muted: #eef0f3;
  --color-text: #111827;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-border: #e2e8f0;
  --color-success: #15803d;
  --color-warning: #b45309;
  --color-danger: #b91c1c;
  --color-info: #0369a1;
  --font-primary: 'Brand Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Brand Serif', Georgia, 'Times New Roman', serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

/* Polices maison - variable fonts locales */
@font-face {
  font-family: 'Brand Sans';
  src: url('../fonts/cc27851ad-DDVos-BJ.woff2') format('woff2-variations'),
    url('../fonts/cc27851ad-DDVos-BJ.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Brand Serif';
  src: url('../fonts/c66fc489e-2VcCjn5t.woff2') format('woff2-variations'),
    url('../fonts/c66fc489e-2VcCjn5t.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.8);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-accent);
}

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

/* ============================================================
   Typography
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* ============================================================
   Topbar - barre utilitaire
   ============================================================ */
.topbar {
  background: #0f0f1e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 38px;
  font-size: 0.78rem;
}

.topbar__tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(201, 149, 58, 0.18);
}

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

.topbar__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.topbar__contact a:hover {
  color: var(--color-accent);
}

.topbar__contact .mdi {
  font-size: 0.95rem;
  color: var(--color-accent);
}

@media (max-width: 991.98px) {
  .topbar {
    display: none;
  }
}

/* ============================================================
   Navigation
   ============================================================ */
.navbar-custom {
  background-color: rgba(26, 26, 46, 0.92) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: 1rem 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: padding 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.navbar-custom.is-scrolled {
  padding: 0.55rem 0;
  background-color: rgba(20, 20, 36, 0.97) !important;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.35);
}

.navbar-custom .navbar-brand {
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-custom .navbar-brand img {
  height: 64px;
  max-width: 100%;
  transition: height 0.25s ease;
}

.navbar-custom.is-scrolled .navbar-brand img {
  height: 48px;
}

.navbar-custom .nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.78) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0 !important;
  margin: 0 0.9rem;
  transition: color 0.2s;
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: #fff !important;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
  transform: scaleX(1);
}

.nav-item-cta {
  margin-left: 0.5rem;
}

.nav-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nav-cta-pill .mdi {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.nav-cta-pill:hover {
  background: var(--color-accent-hover);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -6px rgba(201, 149, 58, 0.6);
}

.nav-cta-pill:hover .mdi {
  transform: translateX(3px);
}

.navbar-custom .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.6rem;
}

.navbar-custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .navbar-custom .nav-link {
    margin: 0;
    padding: 0.6rem 0 !important;
  }

  .navbar-custom .nav-link::after {
    display: none;
  }

  .nav-item-cta {
    margin: 0.75rem 0 0.25rem;
  }

  .nav-cta-pill {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero-section {
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.92) 0%, rgba(26, 26, 46, 0.7) 50%, rgba(26, 26, 46, 0.88) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-section>.container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
}

.hero-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 600px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  font-size: 0.9rem;
}

.btn-primary-custom {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
}

.btn-primary-custom:hover {
  background-color: var(--color-primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--color-accent);
  color: #fff;
  border: none;
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-custom {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

.btn-outline-custom:hover {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: #fff;
}

/* ============================================================
   Vehicle Card
   ============================================================ */
.vehicle-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
}

.vehicle-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.vehicle-card__image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--color-surface-muted);
}

.vehicle-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vehicle-card__image--empty {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--color-text-light);
}

.vehicle-card__image--empty .mdi {
  font-size: 2.2rem;
}

.vehicle-card__image--empty small {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.vehicle-card:hover .vehicle-card__image img {
  transform: scale(1.05);
}

.vehicle-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.vehicle-card__badge.disponible {
  background-color: var(--color-success);
  color: #fff;
}

.vehicle-card__badge.reserve {
  background-color: var(--color-warning);
  color: #fff;
}

.vehicle-card__badge.vendu {
  background-color: var(--color-danger);
  color: #fff;
}

.vehicle-card__badge.en_arrivage {
  background-color: var(--color-info);
  color: #fff;
}

.vehicle-card__content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vehicle-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-primary);
  line-height: 1.3;
}

.vehicle-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.vehicle-card__specs span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.vehicle-card__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1rem;
  margin-top: auto;
}

.vehicle-card__price .currency {
  font-size: 0.85rem;
  font-weight: 500;
}

.vehicle-card .btn {
  width: 100%;
}

/* ============================================================
   Vehicle Detail
   ============================================================ */
.vehicle-detail__gallery {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.vehicle-detail__main-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  cursor: pointer;
}

.vehicle-detail__thumbnails {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  overflow-x: auto;
}

.vehicle-detail__thumbnails a {
  display: inline-flex;
  text-decoration: none;
  flex-shrink: 0;
}

.vehicle-detail__thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s;
  flex-shrink: 0;
  border: 2px solid transparent;
}

.vehicle-detail__thumb:hover,
.vehicle-detail__thumb.active {
  opacity: 1;
  border-color: var(--color-accent);
}

.vehicle-detail__info {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.vehicle-detail__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.vehicle-detail__price-box {
  background: var(--color-surface-muted);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin: 1.25rem 0;
}

.vehicle-detail__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.vehicle-detail__specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.vehicle-detail__spec-item {
  padding: 0.75rem;
  background: var(--color-surface-muted);
  border-radius: var(--radius-sm);
}

.vehicle-detail__spec-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.vehicle-detail__spec-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  margin-top: 0.15rem;
}

.vehicle-detail__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.vehicle-detail__feature-tag {
  background: var(--color-primary);
  color: #fff;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.vehicle-detail__description {
  line-height: 1.7;
  color: var(--color-text);
}

/* ============================================================
   Filters / Search
   ============================================================ */
.filter-section {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.filter-section .form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-section .form-select,
.filter-section .form-control {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
}

.filter-section .form-select:focus,
.filter-section .form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.15);
}

/* ============================================================
   Page Header - Premium
   ============================================================ */
.page-header {
  position: relative;
  color: #fff;
  padding: 5rem 0 3.5rem;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.88) 0%, rgba(37, 37, 66, 0.75) 50%, rgba(26, 26, 46, 0.88) 100%);
  z-index: 1;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 46, 0.4) 100%);
  z-index: 1;
}

.page-header>.container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: #fff;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  font-size: 1.05rem;
}

/* Breadcrumbs - Premium Glass */
.breadcrumb-custom {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 0.4rem 1.25rem;
  margin-bottom: 1rem;
  display: inline-flex;
}

.breadcrumb-custom .breadcrumb-item {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.breadcrumb-custom .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.25s ease;
  padding: 0.15rem 0;
}

.breadcrumb-custom .breadcrumb-item a:hover {
  color: var(--color-accent);
}

.breadcrumb-custom .breadcrumb-item.active {
  color: var(--color-accent);
  font-weight: 600;
}

.breadcrumb-custom .breadcrumb-item+.breadcrumb-item::before {
  content: '\276D';
  color: rgba(255, 255, 255, 0.2);
  padding: 0 0.5rem;
  font-size: 0.6rem;
}

/* ============================================================
   Brand List
   ============================================================ */
.brand-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--color-accent);
}

.brand-card__icon {
  margin-bottom: 0.75rem;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--color-surface-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.brand-card:hover .brand-card__icon {
  background: rgba(201, 149, 58, 0.12);
}

.brand-card__name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.brand-card__count {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* ============================================================
   Sections
   ============================================================ */
.section-padding {
  padding: 4rem 0;
}

.section-bg-muted {
  background-color: var(--color-surface-muted);
}

/* ============================================================
   Stats / Counters
   ============================================================ */
.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-item__number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.stat-item__label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0;
}

.site-footer h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.site-footer p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

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

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  margin-top: 3rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

.site-footer .footer-bottom a {
  font-size: 0.85rem;
}

.site-footer .footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer .footer-brand img {
  height: 32px;
}

.site-footer .footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.site-footer .footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  transition: all 0.2s;
}

.site-footer .footer-social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(176, 141, 87, 0.1);
}

/* ============================================================
   Contact Form
   ============================================================ */
.contact-form .form-control {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
}

.contact-form .form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.15);
}

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

/* ============================================================
   Empty State
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-text-muted);
}

.empty-state__icon {
  font-size: 2.5rem;
  margin: 0 auto 1rem;
  line-height: 1;
}

.empty-state__text {
  font-size: 1.1rem;
}

/* ============================================================
   Utilities
   ============================================================ */
.text-accent {
  color: var(--color-accent) !important;
}

.text-muted-custom {
  color: var(--color-text-muted) !important;
}

.bg-surface {
  background-color: var(--color-surface) !important;
}

.bg-surface-muted {
  background-color: var(--color-surface-muted) !important;
}

/* ============================================================
   Page Content (static pages)
   ============================================================ */
.page-content {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.page-content h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--color-accent);
  display: flex;
  align-items: center;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h2 .mdi {
  font-size: 1.4rem;
}

.page-content p {
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.page-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content ul li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* ============================================================
   Service Cards
   ============================================================ */
.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-card__icon {
  font-size: 2rem;
  margin: 0 auto 1rem;
  line-height: 1;
}

.service-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.service-card__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   Footer - ChenAfrica
   ============================================================ */
:root {
  --primary: #1a1a2e;
  --secondary: #c9953a;
}

.max-w-container-max {
  max-width: 1320px;
  margin: 0 auto;
}

.px-gutter {
  padding-left: 1rem;
  padding-right: 1rem;
}

.site-footer-v2 {
  position: relative;
  background: linear-gradient(180deg, var(--color-primary) 0%, #14142a 100%);
}

.site-footer-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 149, 58, 0.5) 50%, transparent 100%);
}

.footer-brand-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.85rem;
  line-height: 1.4;
}

.footer-newsletter-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.6rem;
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.35rem;
}

.footer-heading::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

.footer-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link::before {
  content: '\2192';
  display: inline-block;
  width: 0;
  margin-right: 0;
  opacity: 0;
  color: var(--secondary);
  transform: translateX(-6px);
  transition: transform 0.2s ease, opacity 0.2s ease, margin-right 0.2s ease, width 0.2s ease;
}

.footer-link:hover {
  color: #fff !important;
}

.footer-link:hover::before {
  opacity: 1;
  width: auto;
  margin-right: 0.4rem;
  transform: translateX(0);
}

.link-hover-white {
  transition: color 0.2s;
}

.link-hover-white:hover {
  color: #fff !important;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-contact-item>a,
.footer-contact-item>span:not(.footer-contact-icon) {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
}

.footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(201, 149, 58, 0.12);
  border: 1px solid rgba(201, 149, 58, 0.25);
  color: var(--secondary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 2.5rem 0 1.5rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.footer-lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12.5px;
}

.footer-lang-switch img {
  border-radius: 2px;
  flex-shrink: 0;
}

.footer-newsletter-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  max-width: 320px;
  transition: border-color 0.2s ease;
}

.footer-newsletter-box:focus-within {
  border-color: rgba(201, 149, 58, 0.5);
}

.footer-newsletter-input-v2 {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 14px;
  color: #fff;
  font-size: 13px;
  outline: none;
  min-width: 0;
}

.footer-newsletter-input-v2::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter-btn-v2 {
  background: transparent;
  border: none;
  color: var(--secondary);
  padding: 10px 14px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.footer-newsletter-btn-v2:hover {
  color: #fff;
}

@media (max-width: 767.98px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   Gallery - Premium Catalogue Design
   ============================================================ */

.gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.gallery-filter-bar__count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.gallery-filter-bar__tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.gallery-filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.gallery-filter-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 991.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 767.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
}

@keyframes galleryFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-grid__item {
  opacity: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.gallery-grid__item.visible {
  animation: galleryFadeIn 0.5s ease forwards;
}

.gallery-grid__item:hover {
  box-shadow: var(--shadow-lg);
}

.gallery-grid__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-surface-muted);
}

.gallery-grid__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-grid__item:hover .gallery-grid__img img {
  transform: scale(1.1);
}

.gallery-grid__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-grid__item:hover .gallery-grid__overlay {
  opacity: 1;
}

.gallery-grid__info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin: 0.25rem 0 0;
  line-height: 1.3;
}

.gallery-grid__info p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0.2rem 0 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-grid__cat {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--color-accent);
  color: #fff;
  width: fit-content;
}

.gallery-grid__cat.vehicle {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.gallery-grid__zoom {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: background 0.2s, transform 0.2s;
}

.gallery-grid__item:hover .gallery-grid__zoom {
  background: var(--color-accent);
  transform: scale(1.1);
}

/* Empty state */
.gallery-empty {
  text-align: center;
  padding: 4rem 1rem;
}

.gallery-empty__icon {
  font-size: 4rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  opacity: 0.4;
}

.gallery-empty h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.gallery-empty p {
  color: var(--color-text-muted);
}

.gallery-card__body {
  padding: 1rem 1.25rem 1.25rem;
}

.gallery-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-text);
  line-height: 1.3;
}

.gallery-card__text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   Legal Pages (mentions-legales, CGV, confidentialite)
   ============================================================ */
.italy-accent {
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

.legal-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.legal-card-highlight {
  border-top: 3px solid var(--color-accent);
}

.legal-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(201, 149, 58, 0.1);
  color: var(--color-accent);
  flex-shrink: 0;
}

.legal-sidebar {
  position: sticky;
  top: 100px;
}

.legal-toc {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.legal-toc-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all 0.2s;
}

.legal-toc-link:hover,
.legal-toc-link.active {
  background: rgba(201, 149, 58, 0.08);
  color: var(--color-accent);
}

.legal-sidebar-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--color-surface-muted);
  border-radius: var(--radius-sm);
}

.legal-dpo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0a2540 100%);
  border-radius: var(--radius-md);
}

.fw-black {
  font-weight: 900;
}

.rounded-xl {
  border-radius: 12px;
}

.text-brand-primary {
  color: var(--color-primary) !important;
}

.text-on-surface-variant {
  color: var(--color-text-muted) !important;
}

/* ============================================================
   Home Redesign - Catalogue & prix CNF
   ============================================================ */
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  background: rgba(201, 149, 58, 0.12);
  border: 1px solid rgba(201, 149, 58, 0.28);
  color: var(--color-accent);
}

.eyebrow-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

/* Hero spec plate */
.hero-plate {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.6rem;
}

.hero-plate__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.hero-plate__head span:last-child {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.hero-plate__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero-plate__row:last-child {
  border-bottom: none;
}

.hero-plate__row b {
  color: #fff;
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Stat strip (dark) */
.stat-strip-dark {
  background: var(--color-primary-hover);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-cell {
  padding: 1.5rem;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.stat-cell:first-child {
  border-left: none;
}

.stat-cell__num {
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat-cell__label {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.55);
}

/* Order corridor (4 steps) */
.corridor {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.corridor-step {
  padding: 1.75rem 1.5rem;
  border-left: 1px solid var(--color-border);
  position: relative;
}

.corridor-step:first-child {
  border-left: none;
}

.corridor-step__no {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  text-transform: uppercase;
}

.corridor-step h3 {
  font-size: 1.02rem;
  margin-top: 0.6rem;
  color: var(--color-primary);
}

.corridor-step p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Spec card (véhicule) - grille façon fiche technique */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.spec-card {
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
}

.spec-card__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--color-surface-muted);
  overflow: hidden;
}

.spec-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.spec-card:hover .spec-card__photo img {
  transform: scale(1.05);
}

.spec-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.spec-card__photo--empty {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--color-surface-muted);
  color: var(--color-text-light);
}

.spec-card__photo--empty .mdi {
  font-size: 2.2rem;
}

.spec-card__photo--empty small {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.spec-card__badge.disponible {
  background: var(--color-success);
  color: #fff;
}

.spec-card__badge.reserve {
  background: var(--color-warning);
  color: #fff;
}

.spec-card__badge.vendu {
  background: var(--color-danger);
  color: #fff;
}

.spec-card__badge.en_arrivage {
  background: var(--color-info);
  color: #fff;
}

.spec-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.spec-card__brand {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.spec-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 0.25rem;
  line-height: 1.25;
}

.spec-card__rows {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.78rem;
}

.spec-card__rows div {
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0;
  color: var(--color-text-muted);
}

.spec-card__rows div b {
  color: var(--color-text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.spec-card__price-row {
  margin-top: 0.9rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.spec-card__price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

.spec-card__price small {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-left: 3px;
}

.spec-card__cnf {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.spec-card__link {
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.spec-card__link:hover {
  color: var(--color-accent-hover);
}

/* Why choose us grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.why-card {
  background: var(--color-surface);
  padding: 1.75rem 1.5rem;
}

.why-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 149, 58, 0.3);
  background: rgba(201, 149, 58, 0.08);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.why-card p {
  font-size: 0.87rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 991.98px) {
  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .corridor {
    grid-template-columns: repeat(2, 1fr);
  }

  .corridor-step:nth-child(3) {
    border-left: none;
  }

  .corridor-step:nth-child(3),
  .corridor-step:nth-child(4) {
    border-top: 1px solid var(--color-border);
  }
}

@media (max-width: 575.98px) {
  .fleet-grid {
    grid-template-columns: 1fr;
  }

  .corridor {
    grid-template-columns: 1fr;
  }

  .corridor-step {
    border-left: none !important;
    border-top: 1px solid var(--color-border);
  }

  .corridor-step:first-child {
    border-top: none;
  }

  .stat-strip-dark .row>div:nth-child(odd) .stat-cell {
    border-left: none;
  }
}