/* ================================================
   LOCAL DEPARTMENT PAGES — local.css
   Cisse Speed VTC
   ================================================ */

/* --- Breadcrumb --- */
.breadcrumb {
  background: var(--bg-2, #111114);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  margin-top: 110px; /* Compense la navbar fixe plus haute */
  position: relative;
  z-index: 99;
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted, #8888a0);
  flex-wrap: wrap;
}
.breadcrumb-inner a {
  color: var(--text-muted, #8888a0);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-inner a:hover { color: var(--red); }
.breadcrumb-current { color: var(--red); font-weight: 600; }
.breadcrumb-sep { opacity: 0.4; }

/* --- Local Hero --- */
.local-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.local-hero-bg { position: absolute; inset: 0; }
.local-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.local-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.45) 100%);
}
.local-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  max-width: 780px;
  padding-left: 40px;
}
.local-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,25,44,0.15);
  border: 1px solid rgba(232,25,44,0.35);
  color: var(--red);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.local-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 18px;
}
.local-hero .hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin-bottom: 34px;
  line-height: 1.75;
}
.local-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- Content layout --- */
.local-content-section { padding: 80px 0; }
.local-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}
.local-content-main h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin: 52px 0 18px;
  line-height: 1.2;
  position: relative;
  padding-left: 18px;
}
.local-content-main h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: var(--red);
  border-radius: 4px;
}
.local-content-main h2:first-child { margin-top: 0; }
.local-content-main h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 10px;
}
.local-content-main p {
  color: var(--text-muted, #8888a0);
  line-height: 1.85;
  margin-bottom: 18px;
  font-size: 0.97rem;
}
.local-content-main ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.local-content-main ul li {
  color: var(--text-muted, #8888a0);
  line-height: 1.7;
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: 0.97rem;
  border-bottom: 1px solid var(--border);
}
.local-content-main ul li:last-child { border-bottom: none; }
.local-content-main ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}
.local-content-main strong { color: var(--text); font-weight: 600; }

/* --- Local sidebar --- */
.local-sidebar { position: sticky; top: 100px; }

.local-sidebar-card {
  background: var(--bg-card, #16161b);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 20px;
}
.local-sidebar-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.sidebar-phone {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red);
  text-decoration: none;
  margin: 10px 0 16px;
  letter-spacing: -0.02em;
}
.local-sidebar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.local-sidebar-card ul li {
  color: var(--text-muted, #8888a0);
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.local-sidebar-card ul li:last-child { border-bottom: none; }

/* --- City grid --- */
.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
}
.city-chip {
  background: var(--bg-card, #16161b);
  border: 1px solid var(--border);
  color: var(--text-muted, #8888a0);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s;
}
.city-chip:hover { border-color: var(--red); color: var(--red); }

/* --- Price table --- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.price-table th {
  background: var(--red);
  color: #fff;
  padding: 14px 20px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.price-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.93rem;
  background: var(--bg-card);
}
.price-table tr:last-child td { border-bottom: none; }
.price-table .price-highlight td { background: rgba(232,25,44,0.06); }
.price-col { font-weight: 800; color: var(--red) !important; font-size: 1rem !important; }

/* --- Testimonials --- */
.testimonials-section { padding: 60px 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.testimonial-card {
  background: var(--bg-card, #16161b);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.testimonial-stars { font-size: 1rem; margin-bottom: 14px; color: #f59e0b; }
.testimonial-text {
  color: var(--text-muted, #8888a0);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 18px;
  font-style: italic;
}
.testimonial-author { font-weight: 700; color: var(--text); font-size: 0.88rem; }
.testimonial-meta { color: var(--muted); font-size: 0.78rem; opacity: 0.7; margin-top: 2px; }

/* --- Related departments section --- */
.dept-links-section {
  padding: 80px 0;
  background: var(--bg-2, #111114);
  border-top: 1px solid var(--border);
}
.dept-links-section .section-header { margin-bottom: 0; }
.dept-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.dept-link-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 18px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: all 0.25s;
}
.dept-link-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(232,25,44,0.18);
}
.dept-link-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  font-family: var(--font-display);
}
.dept-link-name { font-size: 0.92rem; font-weight: 700; color: var(--text); }
.dept-link-label { font-size: 0.72rem; color: var(--muted); opacity: 0.75; }

/* --- Highlight box --- */
.highlight-box {
  background: rgba(232,25,44,0.08);
  border: 1px solid rgba(232,25,44,0.25);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0;
}
.highlight-box p { margin: 0; color: var(--text) !important; font-weight: 500; }

/* --- Responsive --- */
@media (max-width: 960px) {
  .local-content-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .local-sidebar { position: static; }
}
@media (max-width: 640px) {
  .local-hero { min-height: 50vh; padding: 100px 0 60px; }
  .local-hero h1 { font-size: 1.7rem; }
  .local-hero-content { padding-left: 20px; }
  .dept-links-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
