*,
*::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: #111827;
  background-color: #f5f5f7;
  line-height: 1.6;
}

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

a {
  color: #004aad;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.topbar {
  background: #111827;
  color: #f9fafb;
  font-size: 0.85rem;
}

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

.topbar a {
  color: #e5e7eb;
  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;
}

.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-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-symbol {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #111827;
  color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.logo-main {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1rem;
  text-transform: uppercase;
  color: #111827;
}

.logo-fr-band {
  width: 160px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, #0055a4, #ffffff, #ef4135);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.logo-tagline {
  font-size: 0.8rem;
  color: #4b5563;
}

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

.main-nav a {
  position: relative;
  padding-bottom: 0.2rem;
  color: #111827;
  text-decoration: none;
}

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

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

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

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

.hero {
  padding: 2.75rem 0 2.5rem;
}

.hero-split .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

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

.hero h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: #111827;
}

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

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

.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: #004aad;
  font-weight: 700;
  margin-top: 0.1rem;
}

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

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

.hero-seo {
  font-size: 0.9rem;
  color: #4b5563;
}

.hero-main-card {
  border-radius: 18px;
  overflow: hidden;
  background: #111827;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.35);
}

.hero-main-card img {
  width: 100%;
  height: auto;
}

.hero-thumbs-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.hero-thumb {
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.22);
}

.hero-qr-strip {
  display: flex;
  gap: 1rem;
  margin-top: 0.85rem;
}

.qr-block {
  flex: 1;
  text-align: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  font-size: 0.8rem;
}

.section {
  padding: 2.5rem 0;
}

.section-alt {
  background: #ffffff;
}

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

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

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

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

.cards-soft .card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

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

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

.vehicle-grid .card {
  display: flex;
  flex-direction: column;
}

.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: #6b7280;
  margin-bottom: 0.15rem;
}

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

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

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

.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: #004aad;
  color: #f9fafb;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

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

.btn.ghost {
  background: #ffffff;
  color: #111827;
  border-color: #d1d5db;
}

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

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

.checklist {
  list-style: none;
  font-size: 0.95rem;
  color: #374151;
  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-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.75rem;
}

.about-card {
  height: 100%;
}

.about-list {
  list-style: none;
  font-size: 0.92rem;
  color: #374151;
  margin-bottom: 0.5rem;
}

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

.cta-center {
  text-align: center;
  margin-top: 1.5rem;
}

.cta-center .small {
  font-size: 0.9rem;
  color: #4b5563;
  margin-top: 0.25rem;
}

.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: 16px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

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

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  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: 16px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

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

.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 #d1d5db;
  background: #ffffff;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.filter-btn.active {
  background: #004aad;
  color: #f9fafb;
  border-color: #004aad;
}

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

.site-footer {
  background: #111827;
  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 #1f2937;
  padding: 0.6rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

.small {
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .hero-split .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-media-col {
    order: -1;
  }
  .about-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 800px) {
  .grid.three {
    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.25);
    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;
  }
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
