/* ===========================================
   styles.css — Prix Monte-Escalier
   Design system complet mobile-first
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@700;800;900&display=swap');

/* ===== VARIABLES ===== */
:root {
  --primary:        #0077B6;
  --primary-dark:   #005f92;
  --primary-darker: #023e8a;
  --primary-light:  #e0f4ff;
  --secondary:      #90E0EF;
  --secondary-dark: #48CAE4;
  --accent:         #0096C7;
  --text:           #1a1a2e;
  --text-light:     #4b5563;
  --text-muted:     #9ca3af;
  --bg:             #ffffff;
  --bg-light:       #f0f9ff;
  --bg-gray:        #f8fafc;
  --border:         #e2e8f0;
  --border-light:   #f1f5f9;
  --success:        #10b981;
  --warning:        #f59e0b;
  --radius:         12px;
  --radius-sm:      8px;
  --radius-lg:      20px;
  --radius-xl:      32px;
  --shadow:         0 4px 20px rgba(0,119,182,0.1);
  --shadow-md:      0 8px 32px rgba(0,119,182,0.15);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.15);
  --transition:     0.25s ease;
  --font-body:      'Inter', sans-serif;
  --font-heading:   'Poppins', sans-serif;
  --max-width:      1200px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

/* ===== CONTAINER ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px)  { .container { padding: 0 32px; } }
@media (min-width: 1200px) { .container { padding: 0 40px; } }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(1.75rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; font-weight: 700; }
p  { color: var(--text-light); line-height: 1.7; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,119,182,0.35);
}
.btn-secondary {
  background: white;
  color: var(--primary);
  border-color: white;
}
.btn-secondary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: white;
  color: var(--primary);
  border-color: white;
}
.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
}
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ===== HEADER / NAV ===== */
.site-header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,119,182,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.2;
}
.nav-logo-text span { color: var(--primary); display: block; font-size: 0.75rem; font-weight: 600; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown > .nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown > .nav-link::after {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--transition);
}
.nav-dropdown:hover > .nav-link::after { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 260px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.dropdown-item svg { color: var(--primary); flex-shrink: 0; }
.nav-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile-open .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: white;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 99;
    gap: 4px;
    align-items: flex-start;
  }
  .nav-mobile-open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-light);
    margin-left: 16px;
    padding: 4px 0;
  }
  .nav-cta { display: none; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 50%, var(--accent) 100%);
  color: white;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(144,224,239,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 50px 0 40px; }
}
.hero-content h1 { color: white; font-size: clamp(1.8rem, 5vw, 3.2rem); margin-bottom: 16px; }
.hero-content p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 28px; max-width: 500px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.hero-meta-item strong { color: white; }
.hero-meteo-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: white;
}
.hero-meteo-temp {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}
.hero-meteo-icon { font-size: 2.5rem; }
.hero-meteo-conseil {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.2);
  line-height: 1.5;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.hero-stat {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--secondary);
}
.hero-stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.7); }

/* ===== SECTION COMMUNE ===== */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-light { background: var(--bg-light); }
.section-gray  { background: var(--bg-gray); }
.section-dark  {
  background: linear-gradient(135deg, var(--primary-darker), var(--primary-dark));
  color: white;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.section-dark .section-header h2 { color: white; }
.section-dark .section-header p { color: rgba(255,255,255,0.8); }
.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.section-dark .section-tag { background: rgba(255,255,255,0.15); color: white; }

/* ===== CARDS ===== */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.card-body { padding: 28px; }
.card-icon {
  width: 56px; height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 16px;
  flex-shrink: 0;
}
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card-text  { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }

/* ===== GRID ===== */
.grid-2  { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text);
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  color: var(--text);
}
.service-card-icon {
  width: 52px; height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.service-card h3 { font-size: 1.05rem; margin: 0; }
.service-card p  { font-size: 0.88rem; color: var(--text-light); margin: 0; }
.service-card-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
}

/* ===== WIDGET DEVIS ===== */
.devis-iframe-section {
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 60%, var(--accent) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.devis-iframe-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(144,224,239,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.devis-iframe-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.devis-iframe-header { text-align: center; margin-bottom: 32px; }
.devis-iframe-header h2 { color: white; margin-bottom: 10px; }
.devis-iframe-header p  { color: rgba(255,255,255,0.85); font-size: 1.05rem; }
.badges-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}
.badge-trust {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
}
.devis-iframe-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  min-height: 120px;
}
.devis-reassurance {
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  margin-top: 16px;
}

/* ===== PRIX TABLE ===== */
.prix-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.prix-table th {
  background: var(--primary);
  color: white;
  padding: 14px 18px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 700;
}
.prix-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
}
.prix-table tr:last-child td { border-bottom: none; }
.prix-table tr:nth-child(even) td { background: var(--bg-light); }
.prix-table .price-cell {
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-light);
}
.breadcrumb-item a { color: var(--primary); font-weight: 500; }
.breadcrumb-item a:hover { color: var(--primary-dark); }
.breadcrumb-sep { color: var(--text-muted); font-size: 0.75rem; }
.breadcrumb-item:last-child { color: var(--text); font-weight: 600; }

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}
.faq-question {
  width: 100%;
  background: white;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: all var(--transition);
}
.faq-question:hover { background: var(--bg-light); color: var(--primary); }
.faq-question.active { background: var(--primary-light); color: var(--primary); }
.faq-question svg { flex-shrink: 0; transition: transform var(--transition); }
.faq-question.active svg { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  background: white;
}
.faq-answer.open { display: block; }

/* ===== DPE WIDGET ===== */
.dpe-widget {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.dpe-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.dpe-bar-container { margin-bottom: 10px; }
.dpe-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.dpe-label {
  font-size: 0.78rem;
  font-weight: 700;
  width: 18px;
  text-align: center;
  color: white;
  border-radius: 4px;
  padding: 2px 4px;
}
.dpe-bar {
  height: 16px;
  border-radius: 4px;
  transition: width 0.8s ease;
  min-width: 8px;
}
.dpe-pct { font-size: 0.78rem; color: var(--text-muted); }
.dpe-A { background: #00A550; }
.dpe-B { background: #51B747; }
.dpe-C { background: #BADB68; color: var(--text); }
.dpe-D { background: #FFFE00; color: var(--text); }
.dpe-E { background: #F7B231; }
.dpe-F { background: #E8820E; }
.dpe-G { background: #CC1319; }
.dpe-badge-passoire {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffc107;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  margin-top: 12px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.testimonial-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 10px; }
.testimonial-text { font-size: 0.9rem; color: var(--text-light); font-style: italic; margin-bottom: 14px; line-height: 1.6; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.85rem; color: var(--text); }
.testimonial-location { font-size: 0.78rem; color: var(--text-muted); }

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--primary-darker), var(--primary));
  padding: 60px 0;
  text-align: center;
  color: white;
}
.cta-band h2 { color: white; margin-bottom: 12px; }
.cta-band p  { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1.05rem; }
.cta-band-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== VILLE SIDEBAR ===== */
.ville-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 1024px) { .ville-layout { grid-template-columns: 1fr; } }
.ville-sidebar-sticky {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  padding: 24px;
  color: white;
  text-align: center;
}
.sidebar-cta h3 { color: white; font-size: 1rem; margin-bottom: 8px; }
.sidebar-cta p  { color: rgba(255,255,255,0.8); font-size: 0.85rem; margin-bottom: 16px; }
.sidebar-info {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.sidebar-info h4 { font-size: 0.9rem; margin-bottom: 12px; color: var(--text); }
.sidebar-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
}
.sidebar-info-item:last-child { border-bottom: none; }
.sidebar-info-item svg { color: var(--primary); flex-shrink: 0; }

/* ===== STATS BAND ===== */
.stats-band {
  background: linear-gradient(135deg, var(--primary-darker), var(--primary-dark));
  padding: 50px 0;
  color: white;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-item-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
}
.stat-item-label { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 4px; }

/* ===== VILLES LISTING ===== */
.villes-search {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  width: 100%;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color var(--transition);
  outline: none;
}
.villes-search:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,119,182,0.1); }
.region-group { margin-bottom: 40px; }
.region-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dept-group { margin-bottom: 24px; }
.dept-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dept-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 50px;
  font-weight: 700;
}
.villes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.ville-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
  text-decoration: none;
}
.ville-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.ville-link-cp {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: auto;
}

/* ===== PROCESS STEPS ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 768px) { .process-steps { grid-template-columns: 1fr; } }
.process-step {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.process-number {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(0,119,182,0.3);
}
.process-step h3 { font-size: 0.95rem; margin-bottom: 6px; }
.process-step p  { font-size: 0.85rem; }

/* ===== COMPARATIF ===== */
.comparatif-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.comparatif-table th {
  background: var(--primary);
  color: white;
  padding: 14px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}
.comparatif-table th:first-child { text-align: left; }
.comparatif-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  text-align: center;
}
.comparatif-table td:first-child { text-align: left; font-weight: 600; color: var(--text); }
.comparatif-table tr:last-child td { border-bottom: none; }
.comparatif-table tr:nth-child(even) td { background: var(--bg-light); }
.check-yes { color: var(--success); font-size: 1.1rem; }
.check-no  { color: #dc2626; font-size: 1.1rem; }
.check-maybe { color: var(--warning); font-size: 1.1rem; }

/* ===== SIMULATEUR PRIX ===== */
.simulator {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.simulator h3 { margin-bottom: 24px; }
.sim-field { margin-bottom: 20px; }
.sim-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.sim-select, .sim-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}
.sim-select:focus, .sim-input:focus { border-color: var(--primary); }
.sim-result {
  background: var(--primary-light);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  margin-top: 20px;
}
.sim-result-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.sim-result-label { font-size: 0.85rem; color: var(--text-light); margin-top: 4px; }

/* ===== AIDES FINANCIERES ===== */
.aide-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 4px solid var(--primary);
  transition: all var(--transition);
}
.aide-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.aide-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.aide-card-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.aide-card h3 { font-size: 1rem; margin: 0; }
.aide-montant {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  margin: 8px 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(135deg, #0a0e1a, #0d1b2a);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .footer-top { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 12px; color: rgba(255,255,255,0.6); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  color: white;
  line-height: 1.2;
}
.footer-logo-text span { color: var(--secondary); display: block; font-size: 0.7rem; font-weight: 600; }
.footer-col h4 { color: white; font-size: 0.88rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.85rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--secondary); }
.footer-widget {
  padding: 48px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-widget-title { text-align: center; color: white; margin-bottom: 8px; font-size: 1.1rem; }
.footer-widget-sub { text-align: center; color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 24px; }
.footer-widget-wrapper {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  max-width: 700px;
  margin: 0 auto;
}
.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 16px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-legal-links {
  display: flex;
  gap: 16px;
}
.footer-legal-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-legal-links a:hover { color: var(--secondary); }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ===== NOTICE / ALERT ===== */
.notice {
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.notice-info { background: var(--primary-light); color: var(--primary-dark); border-left: 4px solid var(--primary); }
.notice-warning { background: #fffbeb; color: #92400e; border-left: 4px solid var(--warning); }
.notice-success { background: #ecfdf5; color: #065f46; border-left: 4px solid var(--success); }

/* ===== TAGS ===== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.tag-primary { background: var(--primary-light); color: var(--primary); }
.tag-success  { background: #ecfdf5; color: #065f46; }
.tag-warning  { background: #fffbeb; color: #92400e; }

/* ===== MAPS ===== */
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: none;
}

/* ===== REVEAL ON SCROLL ===== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== UTILITIES ===== */
.text-center  { text-align: center; }
.text-primary { color: var(--primary); }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.gap-16 { gap: 16px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }
.hidden { display: none !important; }