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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background-color: #f9fafb;
  line-height: 1.6;
}

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

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* TOPBAR */

.topbar {
  background: #e5f0ff;
  color: #1e293b;
  font-size: 0.85rem;
  border-bottom: 1px solid #dbeafe;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  gap: 1rem;
}

.topbar a {
  color: #1e293b;
  margin-left: 0.75rem;
}

.flag-fr {
  display: inline-block;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(to right, #0055a4 0 33%, #ffffff 33% 66%, #ef4135 66% 100%);
  margin-right: 0.4rem;
}

/* HEADER */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.logo-image-wrap {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 58px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.2rem;
  color: #0f172a;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-social {
  display: flex;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.header-social a {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #0f172a;
  display: block;
}

/* HERO */

.hero {
  padding: 2.4rem 0 2.3rem;
}

.hero-clean .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: flex-start;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.hero-lead {
  font-size: 1rem;
  color: #334155;
  margin-bottom: 0.8rem;
}

.hero-points {
  list-style: none;
  margin-bottom: 1rem;
  color: #0f172a;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.hero-points li::before {
  content: "•";
  color: #2563eb;
  font-weight: 700;
  margin-top: 0.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.hero-contact {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

/* Hero right side */

.hero-side-col {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.hero-card-title {
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.hero-qr-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.qr-block {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
}

.qr-block img {
  max-width: 110px;
  margin: 0 auto 0.3rem;
  border-radius: 10px;
}

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

.stat {
  background: #eff6ff;
  border-radius: 14px;
  padding: 0.6rem 0.5rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-weight: 700;
  font-size: 1.15rem;
  color: #1d4ed8;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: #475569;
}

/* SECTIONS */

.section {
  padding: 2.3rem 0;
}

.section-alt {
  background: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 1.7rem;
}

.section-header h2 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.section-intro {
  color: #475569;
  font-size: 0.98rem;
}

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

.cards-soft .card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  border: 1px solid #e2e8f0;
}

.card h3,
.card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.card p {
  font-size: 0.95rem;
  color: #475569;
}

/* EXPORT layout */

.export-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: flex-start;
}

.checklist {
  list-style: none;
  font-size: 0.95rem;
  color: #1f2937;
  margin-top: 0.4rem;
  margin-bottom: 0.6rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}

.checklist li::before {
  content: "✔";
  color: #16a34a;
  font-size: 0.9rem;
  margin-top: 0.1rem;
}

.about-card {
  height: 100%;
}

.about-list {
  list-style: none;
  font-size: 0.92rem;
  color: #1f2937;
  margin-bottom: 0.6rem;
}

.about-list li {
  margin-bottom: 0.25rem;
}

/* VEHICLES GRID */

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

.vehicle-grid .card {
  padding: 1.25rem 1.3rem;
}

.vehicle-thumb {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0.55rem;
}

.vehicle-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  margin-bottom: 0.15rem;
}

.vehicle-price {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.vehicle-specs {
  list-style: none;
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 0.6rem;
}

.vehicle-specs li {
  margin-bottom: 0.12rem;
}

/* FILTERS */

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

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  background: #eff6ff;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.filter-btn.active {
  background: #2563eb;
  color: #f9fafb;
  border-color: #2563eb;
}

.filter-search input {
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  padding: 0.35rem 0.75rem;
  font-size: 0.9rem;
  min-width: 220px;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.btn.primary {
  background: #2563eb;
  color: #f9fafb;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.btn.primary:hover {
  background: #1d4ed8;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn.ghost {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5f5;
}

.btn.ghost:hover {
  background: #eff6ff;
  text-decoration: none;
}

.btn.small {
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
}

/* CONTACT */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 1.75rem;
  align-items: flex-start;
}

.contact-info p {
  margin-bottom: 0.8rem;
}

.contact-list {
  list-style: none;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.contact-list li {
  margin-bottom: 0.25rem;
}

.contact-form-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  border: 1px solid #e2e8f0;
}

.contact-form .form-row {
  margin-bottom: 0.75rem;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  color: #0f172a;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  padding: 0.45rem 0.6rem;
  font-size: 0.9rem;
  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-success {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #166534;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.map-wrapper {
  margin-top: 1.75rem;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  border: 1px solid #e2e8f0;
}

.map-wrapper iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

/* FOOTER */

.site-footer {
  background: #0f172a;
  color: #e5e7eb;
  margin-top: 2.5rem;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.footer-block a {
  color: #e5e7eb;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 0.6rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

.small {
  font-size: 0.85rem;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-clean .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-side-col {
    order: -1;
  }

  .export-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 700px) {
  .grid.three {
    grid-template-columns: minmax(0, 1fr);
  }

  .vehicle-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .main-nav {
    position: absolute;
    inset: 56px 1rem auto 1rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.18);
    padding: 0.75rem 0.9rem;
    flex-direction: column;
    gap: 0.35rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .header-social {
    display: none;
  }

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