/* ════════════════════════════════════════
   DCM Automobile Sàrl — main.css
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: #0b0f1a; font-family: 'Inter', sans-serif; color: #fff; overflow-x: hidden; }

/* ── HEADER ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,12,22,.96); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  height: 70px; display: flex; align-items: center;
  padding: 0 52px; justify-content: space-between;
}
.logo-block { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.logo-main {
  font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  display: flex; align-items: baseline; gap: 7px;
}
.logo-dcm  { color: #fff; }
.logo-auto { color: #2563eb; }
.logo-sub  {
  font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 3px;
}
nav { display: flex; align-items: center; gap: 4px; }
nav a {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.48); text-decoration: none;
  padding: 8px 14px; border-radius: 6px; transition: color .15s, background .15s;
}
nav a:hover     { color: #fff; background: rgba(255,255,255,.06); }
nav a.active    { color: #fff; }
.nav-cta {
  background: #2563eb !important; color: #fff !important;
  padding: 9px 18px !important; border-radius: 6px; font-weight: 600 !important;
  display: flex !important; align-items: center; gap: 7px;
}
.nav-cta:hover { background: #b7c2e0 !important; }
.nav-cta svg { width: 14px; height: 14px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: rgba(255, 255, 255, 0.877); border-radius: 2px; transition: all .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── FOOTER ── */
footer { background: #060910; border-top: 1px solid rgba(255,255,255,.06); padding: 40px 52px; }
.foot-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.foot-info { font-size: 13px; color: rgba(255,255,255,.18); text-align: center; line-height: 1.8; }
.foot-info a { color: rgba(37,99,235,.6); text-decoration: none; }
.foot-right { text-align: right; }
.foot-ph  { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; color: rgba(255,255,255,.45); letter-spacing: .06em; }
.foot-hrs { font-size: 11px; color: rgba(255,255,255,.16); letter-spacing: .08em; text-transform: uppercase; display: block; margin-top: 3px; }

/* ── HERO ── */
.hero { min-height: calc(100vh - 70px); display: grid; grid-template-rows: 1fr auto; }
.hero-main { display: grid; grid-template-columns: 1fr 1fr; }
.hero-left { padding: 80px 52px 60px; display: flex; flex-direction: column; justify-content: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,.15); border: 1px solid rgba(37,99,235,.28); border-radius: 20px;
  padding: 6px 14px; font-size: 11px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: #60a5fa; margin-bottom: 28px; width: fit-content;
}
.tag-dot { width: 6px; height: 6px; border-radius: 50%; background: #60a5fa; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.3;transform:scale(.6)} }
.hero-left h1 {
  font-family: 'Barlow Condensed', sans-serif; font-size: 88px; line-height: .88;
  font-weight: 800; text-transform: uppercase; margin-bottom: 28px; letter-spacing: .01em;
}
.hero-left h1 em { font-style: italic; color: #2563eb; display: block; }
.hero-desc { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,.45); margin-bottom: 44px; max-width: 420px; }
.hero-desc strong { color: rgba(255,255,255,.82); font-weight: 600; }
.hero-cta-stack { display: flex; flex-direction: column; gap: 12px; max-width: 400px; }
.cta-btn {
  background: #2563eb; color: #fff; border: none; border-radius: 8px;
  padding: 17px 28px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  transition: background .15s, transform .1s;
}
.cta-btn:hover { background: #1d4ed8; transform: translateY(-1px); }
.cta-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.hero-phone-card {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); border-radius: 8px;
}
.ph-ico { width: 38px; height: 38px; border-radius: 8px; background: rgba(37,99,235,.16); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ph-ico svg { width: 17px; height: 17px; fill: #60a5fa; }
.ph-lbl { font-size: 11px; color: rgba(255,255,255,.28); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 3px; font-weight: 500; }
.ph-num { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: .08em; }
.ph-hrs { margin-left: auto; font-size: 11px; color: rgba(255,255,255,.2); text-align: right; line-height: 1.5; }
.hero-right { position: relative; overflow: hidden; min-height: 580px; }
.hero-right img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.hero-right::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, #0b0f1a 0%, rgba(11,15,26,.45) 28%, transparent 60%),
              linear-gradient(to top, #0b0f1a 0%, transparent 22%);
}

/* STATS */
.stats-bar {
  background: rgba(37,99,235,.07); border-top: 1px solid rgba(37,99,235,.16);
  padding: 20px 60px; display: flex; justify-content: space-around; align-items: center;
}
.stat-item { text-align: center; }
.stat-num { font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 800; color: #2563eb; }
.stat-lbl { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.26); margin-top: 3px; }
.stat-sep { width: 1px; height: 32px; background: rgba(255,255,255,.07); }

/* ── SERVICES ── */
.services { padding: 96px 52px; background: #090d18; }
.sec-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: #2563eb; margin-bottom: 10px; text-align: center; }
.sec-title { font-family: 'Barlow Condensed', sans-serif; font-size: 46px; font-weight: 800; text-align: center; text-transform: uppercase; margin-bottom: 8px; }
.sec-bar { width: 44px; height: 3px; background: #2563eb; margin: 0 auto 52px; border-radius: 2px; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; max-width: 940px; margin: 0 auto; }
.svc-card {
  background: #0d1322; padding: 34px; display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid rgba(255,255,255,.04); transition: background .2s;
}
.svc-card:hover { background: #101828; }
.svc-ico { width: 44px; height: 44px; border-radius: 10px; background: rgba(37,99,235,.1); border: 1px solid rgba(37,99,235,.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svc-ico svg { width: 21px; height: 21px; stroke: #60a5fa; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-body h3 { font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.svc-body p  { font-size: 13px; color: rgba(255,255,255,.34); line-height: 1.65; }

/* ── PAGE HEADER STRIP ── */
.page-strip {
  background: linear-gradient(110deg,#0d1322,#0b0f1a);
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 56px 52px 48px;
}
.page-strip .sec-eyebrow { text-align: left; }
.page-strip .sec-title   { text-align: left; font-size: 52px; margin-bottom: 12px; }
.page-strip p { font-size: 14px; color: rgba(255,255,255,.38); max-width: 480px; line-height: 1.7; }

/* ── VEHICLES ── */
.vehicles-wrap { padding: 52px; background: #0b0f1a; min-height: 50vh; }
.veh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1080px; margin: 0 auto; }
.veh-card { background: #0d1322; border: 1px solid rgba(255,255,255,.06); border-radius: 10px; overflow: hidden; cursor: pointer; transition: border-color .2s, transform .2s; }
.veh-card:hover { border-color: rgba(37,99,235,.4); transform: translateY(-3px); }
.veh-img { height: 200px; position: relative; overflow: hidden; background: #111827; }
.veh-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.veh-card:hover .veh-img img { transform: scale(1.05); }
.veh-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(10,15,26,.82) 100%); }
.veh-img-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.veh-img-ph svg { width: 48px; height: 48px; opacity: .15; }
.veh-badge { position: absolute; top: 11px; left: 11px; z-index: 1; background: #2563eb; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; }
.veh-photo-count { position: absolute; bottom: 12px; right: 12px; z-index: 1; background: rgba(0,0,0,.65); color: rgba(255,255,255,.7); font-size: 11px; padding: 3px 8px; border-radius: 4px; }
.veh-info { padding: 17px 19px 20px; }
.veh-make { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.26); margin-bottom: 3px; }
.veh-name { font-family: 'Barlow Condensed', sans-serif; font-size: 21px; font-weight: 700; margin-bottom: 11px; }
.veh-specs { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.pill { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); padding: 3px 9px; border-radius: 20px; font-size: 11px; color: rgba(255,255,255,.38); }
.veh-desc { font-size: 13px; color: rgba(255,255,255,.32); line-height: 1.6; margin-bottom: 14px; }
.veh-foot { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.06); padding-top: 13px; }
.veh-price { font-family: 'Barlow Condensed', sans-serif; font-size: 25px; font-weight: 800; }
.veh-price small { font-size: 12px; color: rgba(255,255,255,.26); font-family: 'Inter', sans-serif; font-weight: 400; margin-left: 2px; }
.veh-contact { font-size: 12px; font-weight: 600; color: #2563eb; text-decoration: none; }
.veh-contact:hover { color: #60a5fa; }
.empty-state { text-align: center; padding: 80px 20px; color: rgba(255,255,255,.25); }
.empty-state svg { width: 56px; height: 56px; margin: 0 auto 16px; display: block; opacity: .15; }
.empty-state p { line-height: 1.7; margin-bottom: 24px; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; }
.contact-infos { padding: 52px; background: #090d18; border-right: 1px solid rgba(255,255,255,.05); }
.contact-block { margin-bottom: 44px; }
.contact-block:last-child { margin-bottom: 0; }
.cb-title { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #2563eb; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.cb-title svg { width: 14px; height: 14px; stroke: #2563eb; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.addr-lines { display: flex; flex-direction: column; gap: 5px; }
.addr-lines span { font-size: 15px; color: rgba(255,255,255,.7); line-height: 1.5; }
.addr-name    { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; color: #fff !important; }
.addr-country { color: rgba(255,255,255,.28) !important; font-size: 13px !important; }
.maps-link { display: inline-flex; align-items: center; gap: 5px; color: #2563eb; font-size: 12px; font-weight: 500; text-decoration: none; margin-top: 10px; }
.maps-link:hover { color: #60a5fa; }
.contact-phone { font-family: 'Barlow Condensed', sans-serif; font-size: 32px; font-weight: 700; color: #fff; letter-spacing: .04em; text-decoration: none; display: block; }
.contact-phone:hover { color: #60a5fa; }
.contact-phone-sub { font-size: 12px; color: rgba(255,255,255,.28); margin-top: 4px; letter-spacing: .05em; text-transform: uppercase; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid rgba(255,255,255,.05); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 10px 0; font-size: 14px; }
.hours-table td:first-child { color: rgba(255,255,255,.5); font-weight: 500; width: 110px; }
.hours-table td:last-child  { color: rgba(255,255,255,.8); text-align: right; }
.hours-table .closed td     { color: rgba(255,255,255,.22) !important; }
.hours-table .closed td:last-child { font-style: italic; }
/* Highlight today */
.hours-table tr.today td:first-child { color: #60a5fa !important; font-weight: 600; }
.contact-map { position: relative; }
.map-wrapper { width: 100%; height: 100%; min-height: 560px; position: relative; overflow: hidden; }
.map-wrapper iframe { width: 100%; height: 100%; border: none; display: block; filter: grayscale(20%) brightness(.85) contrast(1.1); }
.map-pin-card {
  position: absolute; bottom: 24px; left: 24px; z-index: 10;
  background: rgba(9,13,24,.92); backdrop-filter: blur(12px);
  border: 1px solid rgba(37,99,235,.25); border-radius: 10px;
  padding: 16px 20px; display: flex; gap: 12px; align-items: center; min-width: 260px;
}
.map-pin-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(37,99,235,.18); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.map-pin-icon svg { width: 18px; height: 18px; stroke: #60a5fa; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.map-pin-name { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; }
.map-pin-addr { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 2px; line-height: 1.4; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  header { padding: 0 20px; }
  nav a:not(.nav-cta) { display: none; }
  nav.open { position: fixed; top: 70px; left: 0; right: 0; bottom: 0; background: rgba(8,12,22,.98); flex-direction: column; align-items: stretch; padding: 20px; gap: 4px; }
  nav.open a:not(.nav-cta) { display: flex; }
  nav.open a { padding: 14px 16px; font-size: 16px; border-radius: 8px; }
  .burger { display: flex; }
  .hero-main { grid-template-columns: 1fr; }
  .hero-right {
  display: block;
  order: -1;              /* image au-dessus du texte */
  min-height: 240px;
}

.hero-right img {
  width: 100%;
  height: 240px;
  object-fit: cover;      /* remplie proprement */
  object-position: center;
}
  .hero-left { padding: 60px 24px 40px; }
  .hero-left h1 { font-size: 60px; }
  .stats-bar { padding: 16px 24px; flex-wrap: wrap; gap: 16px; }
  .svc-grid { grid-template-columns: 1fr; }
  .services { padding: 60px 24px; }
  .page-strip { padding: 40px 24px 32px; }
  .veh-grid { grid-template-columns: 1fr; }
  .vehicles-wrap { padding: 32px 24px 60px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-infos { padding: 40px 24px; }
  .map-wrapper { min-height: 320px; }
  footer { padding: 32px 24px; }
  .foot-inner { flex-direction: column; text-align: center; gap: 16px; }
  .foot-right { text-align: center; }
}

/* ── MOBILE NAV — override ── */
@media (max-width: 900px) {
  nav.open {
    background: rgba(6,9,16,.99) !important;
    padding: 24px 20px !important;
    gap: 8px !important;
    z-index: 200;
  }
  nav.open a:not(.nav-cta) {
    display: flex !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    padding: 16px 20px !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,.06) !important;
    border: 1px solid rgba(255,255,255,.1) !important;
  }
  nav.open a.active {
    color: #60a5fa !important;
    background: rgba(37,99,235,.15) !important;
    border-color: rgba(37,99,235,.3) !important;
  }
  nav.open .nav-cta {
    margin-top: 8px;
    justify-content: center !important;
    font-size: 16px !important;
    padding: 16px 20px !important;
    border-radius: 10px !important;
  }
  /* Sous-titre logo plus visible */
  .logo-sub { color: rgba(255,255,255,.55) !important; }
}
