/* =====================================================
   VARIABLES & RESET
   ===================================================== */
:root {
  --primary:   #1d4ed8;
  --primary-d: #1e3a8a;
  --accent:    #f97316;
  --accent-d:  #ea580c;
  --dark:      #0f172a;
  --gray:      #64748b;
  --light:     #f8fafc;
  --border:    #e2e8f0;
  --white:     #ffffff;
  --success:   #16a34a;
  --radius:    10px;
  --shadow:    0 4px 20px rgba(0,0,0,.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,.12);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  background: var(--primary-d);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }
.logo:hover { text-decoration: none; }
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-phone {
  color: var(--white);
  font-weight: 600;
  font-size: .9rem;
  opacity: .9;
}
.header-phone:hover { text-decoration: none; opacity: 1; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-d); box-shadow: 0 4px 15px rgba(249,115,22,.4); }
.btn-white { background: var(--white); color: var(--primary-d); }
.btn-white:hover { background: var(--light); }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 8px; }

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
  font-size: .82rem;
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  color: var(--gray);
}
.breadcrumb-inner a { color: var(--primary); }
.breadcrumb-inner span.sep { margin: 0 2px; opacity: .5; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  background: linear-gradient(135deg, var(--primary-d) 0%, var(--primary) 60%, #2563eb 100%);
  color: var(--white);
  padding: 70px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero p.hero-sub {
  font-size: 1.1rem;
  opacity: .88;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* =====================================================
   TRUST BADGES
   ===================================================== */
.trust-badges {
  background: var(--white);
  padding: 32px 20px;
  border-bottom: 1px solid var(--border);
}
.trust-badges-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
}
.trust-icon { font-size: 2rem; flex-shrink: 0; }
.trust-badge strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.trust-badge span { font-size: .82rem; color: var(--gray); }

/* =====================================================
   WIDGET DEVIS
   ===================================================== */
.devis-section {
  background: var(--light);
  padding: 50px 20px;
}
.devis-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.devis-inner h2 { font-size: 1.6rem; margin-bottom: 8px; }
.devis-inner p  { color: var(--gray); margin-bottom: 28px; }
.widget-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 30px;
  border: 1px solid var(--border);
}

/* =====================================================
   SECTIONS COMMUNES
   ===================================================== */
section { padding: 60px 20px; }
.section-title {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.section-sub {
  text-align: center;
  color: var(--gray);
  margin-bottom: 40px;
  font-size: 1rem;
}

/* =====================================================
   SERVICES GRID
   ===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  color: var(--dark);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  text-decoration: none;
}
.service-card .icon { font-size: 2.2rem; }
.service-card strong { font-size: 1rem; font-weight: 700; }
.service-card span { font-size: .8rem; color: var(--gray); }

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.how-it-works { background: var(--light); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.step {
  text-align: center;
  padding: 24px;
}
.step-num {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p  { font-size: .88rem; color: var(--gray); }

/* =====================================================
   REVIEWS
   ===================================================== */
.reviews-section { background: var(--white); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.review-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: .9rem; }
.review-date { font-size: .78rem; color: var(--gray); }
.stars { color: #f59e0b; font-size: 1rem; letter-spacing: 1px; }
.star-empty { color: #d1d5db; }
.review-text { font-size: .88rem; color: #334155; font-style: italic; line-height: 1.6; }
.reviews-aggregate {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1rem;
  color: var(--gray);
}
.reviews-aggregate strong { color: var(--dark); font-size: 1.1rem; }

/* =====================================================
   FAQ
   ===================================================== */
.faq-section { background: var(--light); }
.faq-list { max-width: 750px; margin: 0 auto; }
details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  background: var(--white);
  overflow: hidden;
}
details[open] { box-shadow: var(--shadow); }
summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--primary); transition: transform .2s; flex-shrink: 0; }
details[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 20px 18px; font-size: .9rem; color: var(--gray); line-height: 1.7; }

/* =====================================================
   INTERNAL LINKS / ZONES
   ===================================================== */
.zones-section { background: var(--white); }
.links-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  margin-bottom: 36px;
}
.links-grid a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--light);
  border-radius: 6px;
  font-size: .85rem;
  border: 1px solid var(--border);
  transition: background .15s, border-color .15s;
  color: var(--dark);
}
.links-grid a:hover { background: #dbeafe; border-color: var(--primary); text-decoration: none; color: var(--primary); }
.links-grid a::before { content: '📍'; font-size: .75rem; }

/* =====================================================
   PRESTATIONS LIST
   ===================================================== */
.prestations-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.prestation-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--light);
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: .88rem;
}
.prestation-item::before { content: '✓'; color: var(--success); font-weight: 800; flex-shrink: 0; }

/* =====================================================
   REGIONS / DEPTS GRID
   ===================================================== */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.region-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .15s, border-color .15s;
  color: var(--dark);
}
.region-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  text-decoration: none;
}
.region-card strong { font-size: .95rem; }
.region-card span { font-size: .8rem; color: var(--gray); }

/* =====================================================
   CTA BAND
   ===================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--primary-d), var(--primary));
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}
.cta-band h2 { font-size: 1.8rem; margin-bottom: 12px; }
.cta-band p { opacity: .85; margin-bottom: 28px; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 60px 20px 30px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { font-size: 1.3rem; margin-bottom: 12px; }
.footer-brand p { font-size: .85rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { color: rgba(255,255,255,.6); font-size: .85rem; }
.footer-col ul li a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--white); text-decoration: none; }

/* =====================================================
   SERVICE DETAIL SECTION
   ===================================================== */
.service-detail { background: var(--white); }
.service-detail-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.service-detail h2 { font-size: 1.4rem; margin-bottom: 12px; }
.service-detail p { color: var(--gray); margin-bottom: 16px; font-size: .95rem; }
.info-box {
  background: var(--light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
}
.info-box h3 { font-size: 1rem; margin-bottom: 14px; color: var(--primary); }
.info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
}
.info-row:last-child { border-bottom: none; }
.info-row .label { color: var(--gray); }
.info-row .val { font-weight: 700; }

/* =====================================================
   CITY STATS
   ===================================================== */
.city-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.stat-chip {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: .85rem;
}

/* =====================================================
   404
   ===================================================== */
.page-404 {
  text-align: center;
  padding: 100px 20px;
}
.page-404 h1 { font-size: 5rem; color: var(--border); margin-bottom: 10px; }
.page-404 h2 { font-size: 1.5rem; margin-bottom: 16px; }
.page-404 p  { color: var(--gray); margin-bottom: 28px; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .trust-badges-inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .header-phone { display: none; }
  .hero { padding: 50px 16px 40px; }
  .hero h1 { font-size: 1.6rem; }
  section { padding: 40px 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
