/* ═══════════════════════════════════════════════════════════
   DOUCHE-PMR.ORG — Design System Complet
   ═══════════════════════════════════════════════════════════ */

/* ── VARIABLES ──────────────────────────────────────────────── */
:root {
  --primary:        #0077B6;
  --primary-dark:   #005f92;
  --primary-darker: #004a73;
  --primary-light:  #e0f4ff;
  --primary-mid:    rgba(0,119,182,0.12);
  --secondary:      #90E0EF;
  --secondary-dark: #48CAE4;
  --accent:         #F77F00;
  --accent-dark:    #d96b00;
  --success:        #22c55e;
  --warning:        #f59e0b;
  --danger:         #dc2626;

  --text:           #1a1a2e;
  --text-light:     #4b5563;
  --text-muted:     #9ca3af;
  --bg:             #ffffff;
  --bg-light:       #f8fafc;
  --bg-blue:        #e8f4fd;
  --border:         #e2e8f0;
  --border-dark:    #cbd5e1;

  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 1px 4px rgba(0,0,0,0.07);
  --shadow:     0 4px 20px rgba(0,119,182,0.12);
  --shadow-lg:  0 12px 40px rgba(0,119,182,0.18);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.15);
  --shadow-card:0 2px 12px rgba(0,0,0,0.07);

  --font-main:  'Inter', -apple-system, sans-serif;
  --font-head:  'Poppins', 'Inter', sans-serif;
  --max-w:      1200px;
  --nav-h:      72px;

  --transition: 0.22s ease;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-main); color: var(--text); background: var(--bg); line-height: 1.65; -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; }
button { cursor: pointer; font-family: var(--font-main); border: none; background: none; }
input, select, textarea { font-family: var(--font-main); }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-pad { padding: 80px 0; }
.section--light { background: var(--bg-light); }
.bg-light { background: var(--bg-light); }
.section--blue { background: var(--bg-blue); }
.section--dark { background: var(--text); color: #fff; }
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--text-light); line-height: 1.75; }
.text-primary { color: var(--primary); }
.text-white { color: #fff; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.78rem; }
strong { font-weight: 700; }

/* ── SECTION HEADER ─────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { font-size: 1.05rem; color: var(--text-light); max-width: 580px; margin: 0 auto; }

.section-title { margin-bottom: 2.5rem; }
.section-title h2 { margin-bottom: 0.5rem; }
.section-title p { color: var(--text-light); max-width: 600px; }
.section-title.centered { text-align: center; }
.section-title.centered p { margin: 0 auto; }
.section-subtitle { color: var(--text-light); font-size: 1rem; margin-bottom: 2rem; max-width: 700px; }

/* ── BADGE / TAG ─────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-light); color: var(--primary);
  padding: 5px 14px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.3px; text-transform: uppercase;
  margin-bottom: 12px; border: 1px solid rgba(0,119,182,0.2);
}
.badge--white { background: rgba(255,255,255,0.2); color: #fff; border-color: rgba(255,255,255,0.3); }
.badge--accent { background: rgba(247,127,0,0.1); color: var(--accent); border-color: rgba(247,127,0,0.25); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.tag-green { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.tag-blue { background: var(--primary-light); color: var(--primary); border: 1px solid rgba(0,119,182,0.2); }
.tag-orange { background: #fff7ed; color: var(--accent); border: 1px solid #fed7aa; }

/* ── BADGE SOURCE (APIs) ────────────────────────────────────── */
.badge-source {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f0fdf4; color: #16a34a;
  border: 1px solid #bbf7d0;
  padding: 5px 14px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.3px; margin-bottom: 12px;
}
.source-mention {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: var(--text-muted);
  margin-top: 12px;
}
.source-mention a { color: var(--primary); }
.source-badge {
  display: inline-block;
  background: #f0fdf4; color: #16a34a;
  border: 1px solid #bbf7d0;
  padding: 2px 10px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 600;
  margin-left: 8px; vertical-align: middle;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem;
  transition: all var(--transition);
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent; white-space: nowrap;
  line-height: 1.4;
}
.btn-primary {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark); border-color: var(--primary-dark);
  color: #fff; transform: translateY(-2px); box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary); color: #fff; transform: translateY(-2px);
}
.btn-outline-small {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: var(--radius-sm);
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--primary); font-size: 0.82rem;
  font-weight: 600; transition: all var(--transition);
}
.btn-outline-small:hover { background: var(--primary); color: #fff; }
.btn-white {
  background: #fff; color: var(--primary); border-color: #fff;
}
.btn-white:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-accent {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; border-radius: 10px; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; border-radius: 14px; }
.btn-large { padding: 15px 30px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── NAVIGATION ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem; width: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  color: var(--primary); text-decoration: none; flex-shrink: 0;
}
.nav-logo span { color: var(--secondary-dark); }
.nav-logo .logo-icon {
  width: 38px; height: 38px; background: var(--primary);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; color: #fff; flex-shrink: 0;
}
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: block; padding: 8px 14px; border-radius: var(--radius-sm);
  color: var(--text); font-weight: 500; font-size: 0.92rem;
  transition: all var(--transition);
}
.nav-link:hover { background: var(--bg-light); color: var(--primary); }
.nav-link.active { color: var(--primary); font-weight: 600; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: var(--radius-sm);
  color: var(--text); font-weight: 500; font-size: 0.92rem;
  cursor: pointer; transition: all var(--transition);
  user-select: none;
}
.nav-dropdown-toggle:hover { background: var(--bg-light); color: var(--primary); }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 10px); left: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); min-width: 260px;
  box-shadow: var(--shadow-xl); padding: 8px; z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; color: var(--text); font-size: 0.9rem;
  border-radius: 8px; transition: background var(--transition);
  font-weight: 500;
}
.nav-dropdown-item:hover { background: var(--bg-light); color: var(--primary); }
.nav-dropdown-item svg { color: var(--primary); flex-shrink: 0; }
.nav-dropdown-item--highlight { color: var(--primary); font-weight: 600; }
.nav-dropdown-item--highlight:hover { background: var(--primary-light); }
.nav-dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }

.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; border-radius: 8px; transition: background var(--transition);
}
.nav-hamburger:hover { background: var(--bg-light); }
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 999;
  padding: 20px 24px 40px; overflow-y: auto;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-link {
  display: block; padding: 13px 16px;
  font-weight: 500; border-radius: 10px; color: var(--text);
  font-size: 0.95rem; transition: all var(--transition);
}
.mobile-link:hover { background: var(--bg-light); color: var(--primary); }
.mobile-link--highlight { color: var(--primary); font-weight: 600; }
.mobile-section-title {
  padding: 12px 16px 4px; font-size: 0.72rem; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px;
}
.mobile-divider { height: 1px; background: var(--border); margin: 8px 0; }

/* ── HERO HOMEPAGE ──────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  background: linear-gradient(145deg, #f0f9ff 0%, var(--bg-blue) 55%, #ddf1fa 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  top: -100px; right: -100px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,119,182,0.07) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute;
  bottom: -80px; left: -80px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(144,224,239,0.15) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-content {
  display: grid; grid-template-columns: 1fr 480px;
  gap: 4rem; align-items: center; position: relative; z-index: 1;
}
.hero-badge-wrap { margin-bottom: 1.5rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--primary);
  padding: 7px 18px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600;
  border: 1.5px solid rgba(0,119,182,0.25);
  box-shadow: 0 2px 12px rgba(0,119,182,0.1);
}
.hero-badge svg { flex-shrink: 0; }
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 span { color: var(--primary); }
.hero-desc {
  font-size: 1.1rem; color: var(--text-light);
  margin-bottom: 2rem; max-width: 520px; line-height: 1.75;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex; gap: 2rem; flex-wrap: wrap;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
}
.hero-stat-num {
  display: block; font-size: 1.7rem; font-weight: 900;
  font-family: var(--font-head); color: var(--primary); line-height: 1.1;
}
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* Hero image */
.hero-image-side { position: relative; }
.hero-img-wrap {
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-xl); position: relative;
}
.hero-img-wrap img {
  width: 100%; height: 480px;
  object-fit: cover; object-position: center;
  display: block;
}
.hero-img-badge {
  position: absolute; bottom: -18px; left: -18px;
  background: #fff; border-radius: var(--radius);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
}
.hero-img-badge-icon {
  width: 40px; height: 40px; background: var(--primary-light);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; color: var(--primary);
}
.hero-img-badge-text strong { display: block; font-size: 0.9rem; color: var(--text); }
.hero-img-badge-text span { font-size: 0.75rem; color: var(--text-muted); }

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb {
  padding: calc(var(--nav-h) + 12px) 0 12px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}
.breadcrumb ol { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-muted); }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--border-dark); }
.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-list { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 0.82rem; }
.breadcrumb-list li { display: flex; align-items: center; gap: 4px; color: var(--text-muted); }
.breadcrumb-list a { color: var(--primary); }
.sep { color: var(--border-dark); }

/* ── PAGE HERO (pages internes) ─────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 48px) 0 60px;
  background: linear-gradient(145deg, var(--bg-blue) 0%, #f0f9ff 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,119,182,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 1rem; position: relative; z-index: 1; }
.page-hero p { position: relative; z-index: 1; }
.page-hero-content { max-width: 760px; }
.page-hero-subtitle { font-size: 1.05rem; color: var(--text-light); max-width: 620px; margin-bottom: 1.5rem; }
.page-hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.page-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 50px; padding: 6px 14px;
  font-size: 0.82rem; font-weight: 600; color: var(--text);
}
.page-hero-badge svg { color: var(--primary); }
.page-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.page-hero.centered { text-align: center; }
.page-hero.centered .page-hero-subtitle { margin-left: auto; margin-right: auto; }
.hero-stats-row { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; margin-top: 2rem; }
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 900; color: var(--primary); font-family: var(--font-head); }
.stat-label { font-size: 0.82rem; color: var(--text-muted); }

/* ── VILLE HERO (pages villes) ──────────────────────────────── */
.ville-hero {
  padding: calc(var(--nav-h) + 40px) 0 48px;
  background: linear-gradient(145deg, var(--bg-blue) 0%, #f0f9ff 100%);
}
.ville-hero-content {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 3rem; align-items: start;
}
.ville-hero-text h1 { margin-bottom: 1rem; }
.ville-hero-text h1 small { font-size: 0.6em; color: var(--text-muted); font-weight: 600; }
.hero-subtitle { font-size: 1rem; color: var(--text-light); margin-bottom: 1.2rem; }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-badges .badge { margin-bottom: 0; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── HERO STATS BAR (données officielles) ───────────────────── */
.hero-stats-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px; margin: 1.2rem 0; padding: 16px;
  background: rgba(0,119,182,0.05); border-radius: var(--radius);
  border: 1px solid rgba(0,119,182,0.12);
}
.hero-stat-item { text-align: center; }
.hero-stat-item .stat-num {
  display: block; font-size: 1.1rem; font-weight: 800;
  color: var(--primary); font-family: var(--font-head); line-height: 1.2;
}
.hero-stat-item .stat-label {
  font-size: 0.72rem; color: var(--text-muted); line-height: 1.3;
}

/* Sidebar sticky */
.ville-hero-sidebar {}
.sidebar-prix-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow);
  position: sticky; top: calc(var(--nav-h) + 20px);
}
.sidebar-prix-header {
  font-weight: 700; font-size: 1rem; margin-bottom: 12px; color: var(--text);
}
.sidebar-prix-range {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.px-min { font-size: 1.3rem; font-weight: 800; color: var(--text); }
.px-sep { color: var(--text-muted); }
.px-max { font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.sidebar-prix-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 16px; }
.sidebar-stat {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--text-light);
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.sidebar-stat:last-of-type { border-bottom: none; }
.sidebar-stat svg { color: var(--primary); flex-shrink: 0; width: 14px; }

/* ── MÉTÉO BADGE ────────────────────────────────────────────── */
.meteo-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0,119,182,0.07); border: 1px solid rgba(0,119,182,0.2);
  border-radius: 50px; padding: 8px 18px; margin-bottom: 1.2rem;
  font-size: 0.9rem; font-weight: 500; color: var(--primary);
}
.meteo-icon { font-size: 1.3rem; }
.meteo-temp { font-weight: 700; }
.meteo-conseil { font-size: 0.78rem; color: var(--text-muted); }

/* ── WIDGET DEVIS ───────────────────────────────────────────── */
.devis-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 64px 0;
  position: relative; overflow: hidden;
}
.devis-section::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.devis-inner { max-width: 860px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.devis-header { text-align: center; color: #fff; margin-bottom: 2rem; }
.devis-header h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.devis-header p { color: rgba(255,255,255,0.85); font-size: 1rem; }
.devis-trust-badges {
  display: flex; justify-content: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 1.5rem;
}
.devis-trust-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  border-radius: 50px; padding: 6px 16px; color: #fff;
  font-size: 0.82rem; font-weight: 500; border: 1px solid rgba(255,255,255,0.2);
}
.devis-widget-wrap {
  background: #fff; border-radius: var(--radius-lg);
  padding: 32px; box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  min-height: 200px;
}
.devis-iframe-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 64px 0; }
.devis-iframe-inner { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.devis-iframe-header { text-align: center; color: #fff; margin-bottom: 2rem; }
.devis-iframe-header h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.devis-iframe-header p { color: rgba(255,255,255,0.85); }
.badges-trust { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.trust-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.15); border-radius: 50px;
  padding: 6px 14px; color: #fff; font-size: 0.82rem; font-weight: 500;
}
.devis-iframe-wrapper {
  background: #fff; border-radius: var(--radius-lg);
  padding: 32px; box-shadow: 0 24px 64px rgba(0,0,0,0.25); min-height: 180px;
}

/* ── ═══ DATA OFFICIELLE (APIs publiques) ═══ ───────────────── */

/* Header commun */
.data-officielle-section { padding: 80px 0; background: var(--bg-light); }
.data-officielle-header { text-align: center; margin-bottom: 2.5rem; }
.data-officielle-header h2 { margin-bottom: 0.5rem; }

/* Data Cards Grid */
.data-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.data-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 28px; border: 1.5px solid var(--border);
  box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 8px;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.data-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.data-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.data-card--blue::before  { background: linear-gradient(90deg, var(--primary), var(--secondary-dark)); }
.data-card--green::before { background: linear-gradient(90deg, #16a34a, #22c55e); }
.data-card--orange::before{ background: linear-gradient(90deg, var(--accent), #fbbf24); }
.data-card--red::before   { background: linear-gradient(90deg, var(--danger), #f87171); }
.data-card-icon { font-size: 2rem; margin-bottom: 4px; }
.data-card-source {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 2px;
}
.data-card-value {
  font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900;
  color: var(--primary); font-family: var(--font-head); line-height: 1.1;
}
.data-card--green .data-card-value  { color: #16a34a; }
.data-card--orange .data-card-value { color: var(--accent); }
.data-card--red .data-card-value    { color: var(--danger); }
.data-card-label {
  font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 4px;
}
.data-card-desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ── AIDES TERRITOIRES ──────────────────────────────────────── */
.aides-locales-section { padding: 80px 0; }
.aides-locales-header { text-align: center; margin-bottom: 2.5rem; }
.aides-locales-header h2 { margin-bottom: 0.5rem; }
.aides-locales-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 1.5rem;
}
.aide-locale-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 24px; border: 1.5px solid var(--border);
  box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 10px;
  transition: all var(--transition);
}
.aide-locale-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.aide-locale-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
}
.aide-locale-header h3 { font-size: 0.95rem; margin-bottom: 0; flex: 1; }
.aide-type-badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 600; white-space: nowrap; flex-shrink: 0;
  background: var(--primary-light); color: var(--primary);
  border: 1px solid rgba(0,119,182,0.2);
}
.aide-montant-badge {
  display: inline-block; background: #f0fdf4; color: #16a34a;
  border: 1px solid #bbf7d0; border-radius: 20px;
  padding: 3px 12px; font-size: 0.78rem; font-weight: 700; width: fit-content;
}
.aide-locale-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; flex: 1; }
.aide-financeur {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: var(--text-muted); font-weight: 500;
}
.aide-financeur svg { color: var(--primary); flex-shrink: 0; }

/* Aides inline (dans service-presentation) */
.aides-inline-block {
  background: var(--primary-light); border: 1px solid rgba(0,119,182,0.2);
  border-radius: var(--radius); padding: 20px; margin-top: 1.5rem;
}
.aides-inline-block h3 {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.95rem; margin-bottom: 12px; flex-wrap: wrap;
}
.aides-inline-block h3 svg { color: var(--primary); flex-shrink: 0; }
.aides-inline-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.aides-inline-list li { font-size: 0.85rem; color: var(--text); display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.aides-inline-list li strong { color: var(--text); }
.aide-pct { color: #16a34a; font-weight: 700; }
.aide-financeur-inline { color: var(--text-muted); font-size: 0.78rem; }

/* ── ADEME RGE ──────────────────────────────────────────────── */
.rge-section { padding: 80px 0; background: var(--bg-light); }
.rge-header { text-align: center; margin-bottom: 2.5rem; }
.rge-header h2 { margin-bottom: 0.5rem; }
.rge-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem; margin-top: 1.5rem;
}
.rge-card {
  background: #fff; border-radius: var(--radius); padding: 20px;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 8px;
  transition: all var(--transition);
}
.rge-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.rge-card--cta {
  background: var(--primary-light); border-color: rgba(0,119,182,0.3);
  text-align: center; justify-content: center; align-items: center;
}
.rge-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0;
  padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 700;
  width: fit-content;
}
.rge-badge--cta { background: var(--primary-light); color: var(--primary); border-color: rgba(0,119,182,0.2); }
.rge-card h3 { font-size: 0.9rem; margin-bottom: 2px; }
.rge-domaine { font-size: 0.8rem; color: var(--text-light); display: flex; align-items: center; gap: 5px; }
.rge-localisation { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.rge-domaine svg, .rge-localisation svg { width: 12px; height: 12px; color: var(--primary); flex-shrink: 0; }

/* Mini RGE sidebar */
.sidebar-rge-mini {
  background: var(--bg-light); border-radius: var(--radius); padding: 16px;
  margin-bottom: 1rem; border: 1px solid var(--border);
}
.sidebar-rge-mini h4 {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.85rem; margin-bottom: 10px; color: var(--primary);
}
.sidebar-rge-mini h4 svg { width: 14px; height: 14px; }
.rge-mini-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; border-bottom: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text);
}
.rge-mini-item:last-of-type { border-bottom: none; }
.rge-mini-badge {
  background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0;
  padding: 1px 6px; border-radius: 4px; font-size: 0.65rem; font-weight: 700;
  flex-shrink: 0;
}
.rge-mini-source { font-size: 0.68rem; color: var(--text-muted); margin-top: 8px; }

/* ── SERVICES GRID ──────────────────────────────────────────── */
.services-section { padding: 80px 0; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.service-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all var(--transition);
  box-shadow: var(--shadow-card); text-decoration: none; color: var(--text);
}
.service-card:hover {
  border-color: var(--primary); box-shadow: var(--shadow);
  transform: translateY(-4px); color: var(--text);
}
.service-icon {
  width: 52px; height: 52px; background: var(--primary-light);
  border-radius: 14px; display: flex; align-items: center;
  justify-content: center; color: var(--primary); flex-shrink: 0;
}
.service-card h3 { font-size: 1.05rem; margin-bottom: 0; }
.service-card p { font-size: 0.88rem; flex: 1; }
.service-prix {
  font-size: 0.82rem; color: var(--primary); font-weight: 700;
  background: var(--primary-light); padding: 3px 10px;
  border-radius: 20px; display: inline-block; width: fit-content;
}
.service-link { font-size: 0.85rem; color: var(--primary); font-weight: 600; }
.service-card-icon { width: 52px; height: 52px; background: var(--primary-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--primary); }

/* ── WHY / AVANTAGES ─────────────────────────────────────────── */
.why-section { padding: 80px 0; background: var(--bg-light); }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.why-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-card);
  transition: all var(--transition);
}
.why-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.why-icon {
  width: 56px; height: 56px; background: var(--primary-light);
  border-radius: 16px; display: flex; align-items: center;
  justify-content: center; color: var(--primary); margin-bottom: 16px;
}
.pourquoi-section { padding: 80px 0; }
.avantages-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.avantage-item {
  background: var(--bg-light); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border); transition: all var(--transition);
}
.avantage-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.avantage-item i, .avantage-item svg { color: var(--primary); margin-bottom: 12px; display: block; }
.avantage-item h3 { margin-bottom: 8px; font-size: 1rem; }
.avantage-item p { font-size: 0.88rem; }

/* ── PROCESSUS / STEPS ──────────────────────────────────────── */
.process-section { padding: 80px 0; }
.processus-section { padding: 80px 0; background: var(--bg-light); }
.processus-steps { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }
.step { background: #fff; border-radius: var(--radius); padding: 28px; text-align: center; flex: 1; min-width: 160px; max-width: 220px; border: 1.5px solid var(--border); }
.step-number { width: 52px; height: 52px; background: var(--primary); color: #fff; 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: 0.92rem; margin-bottom: 8px; }
.step p { font-size: 0.84rem; }
.step-arrow { color: var(--primary); padding-top: 2rem; }

/* ── AIDES FINANCIÈRES ──────────────────────────────────────── */
.aides-section { padding: 80px 0; background: var(--bg-light); }
.aides-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.aide-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px;
  border: 1.5px solid var(--border); position: relative;
  overflow: hidden; transition: all var(--transition);
  display: flex; flex-direction: column; gap: 10px;
}
.aide-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.aide-montant { font-size: 1.5rem; font-weight: 800; color: var(--primary); font-family: var(--font-head); }

/* ── TARIFS ─────────────────────────────────────────────────── */
.tarifs-section { padding: 80px 0; }
.tarifs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.tarif-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  text-align: center; position: relative; transition: all var(--transition);
}
.tarif-card:hover { box-shadow: var(--shadow); }
.tarif-card.tarif-featured { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,119,182,0.1); }
.tarif-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; padding: 4px 16px;
  border-radius: 50px; font-size: 0.78rem; font-weight: 700; white-space: nowrap;
}
.tarif-label { font-weight: 700; color: var(--text); margin-bottom: 6px; }
.tarif-prix { font-size: 1.4rem; font-weight: 800; color: var(--primary); margin-bottom: 1.5rem; font-family: var(--font-head); }
.tarif-card ul { list-style: none; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 8px; }
.tarif-card li { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-light); }
.tarif-card li svg { color: var(--success); flex-shrink: 0; }
.tarifs-note { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-top: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ── CTA ─────────────────────────────────────────────────────── */
.cta-mid { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 60px 0; }
.cta-mid-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-mid-text h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-mid-text p { color: rgba(255,255,255,0.85); max-width: 500px; }

/* ── VILLES ─────────────────────────────────────────────────── */
.villes-section { padding: 80px 0; }
.villes-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px; margin: 2rem 0;
}
.ville-card {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 14px 12px; background: var(--bg-light);
  border: 1.5px solid var(--border); border-radius: var(--radius);
  text-align: center; transition: all var(--transition);
  font-weight: 600; font-size: 0.9rem; color: var(--text);
}
.ville-card:hover { border-color: var(--primary); background: var(--primary-light); color: var(--primary); transform: translateY(-2px); }
.ville-cp { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }
.villes-proches { padding: 60px 0; background: var(--bg-light); }
.villes-proches-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-top: 1.5rem; }
.ville-proche-item {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 0.88rem; color: var(--text);
  transition: all var(--transition);
}
.ville-proche-item:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.ville-proche-item svg { color: var(--primary); flex-shrink: 0; }
.ville-proche-item small { color: var(--text-muted); margin-left: auto; font-size: 0.75rem; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-section { padding: 80px 0; background: var(--bg-light); }
.faq-list { max-width: 760px; margin: 2rem auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: 0.95rem; color: var(--text);
  transition: all var(--transition); gap: 1rem; cursor: pointer;
  background: none; border: none;
}
.faq-question:hover { color: var(--primary); background: var(--bg-light); }
.faq-item.open .faq-question { color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 22px 20px; font-size: 0.92rem; line-height: 1.75; }

/* ── DPE ────────────────────────────────────────────────────── */
.dpe-section { padding: 60px 0; background: var(--bg-light); }
.dpe-header { text-align: center; margin-bottom: 2rem; }
.dpe-source { text-align: center; font-size: 0.75rem; color: var(--text-muted); margin-top: 1rem; }
.dpe-grid { max-width: 600px; margin: 0 auto 1.5rem; display: flex; flex-direction: column; gap: 10px; }
.dpe-bar-item { display: grid; grid-template-columns: 36px 1fr 50px; align-items: center; gap: 12px; }
.dpe-label { width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 0.88rem; }
.dpe-bar-wrap { height: 22px; background: var(--border); border-radius: 4px; overflow: hidden; }
.dpe-bar { height: 100%; border-radius: 4px; transition: width 1.2s ease; }
.dpe-pct { font-weight: 700; font-size: 0.88rem; text-align: right; }
.dpe-alert { background: #fffbeb; border: 1px solid #fbbf24; border-radius: var(--radius); padding: 14px 18px; display: flex; gap: 12px; max-width: 600px; margin: 1.5rem auto 0; font-size: 0.88rem; }
.dpe-alert svg { color: #d97706; flex-shrink: 0; margin-top: 1px; }

/* ── LISTING VILLES ─────────────────────────────────────────── */
.villes-listing-section { padding: 60px 0; }
.villes-search { max-width: 500px; margin: 0 auto 2.5rem; }
.search-wrapper { position: relative; }
.search-input {
  width: 100%; padding: 14px 18px 14px 48px;
  border: 2px solid var(--border); border-radius: 50px;
  font-size: 1rem; background: var(--bg-light);
  transition: border-color var(--transition); color: var(--text);
}
.search-input:focus { outline: none; border-color: var(--primary); }
.search-wrapper svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.regions-list { display: flex; flex-direction: column; gap: 2rem; }
.region-section h3 {
  font-size: 0.82rem; color: var(--primary); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 8px; margin-bottom: 1rem;
}
.dept-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.dept-item {
  padding: 10px 14px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.88rem; color: var(--text);
  transition: all var(--transition); display: flex; align-items: center; gap: 8px;
}
.dept-item:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* ── RÉALISATIONS ───────────────────────────────────────────── */
.filtres-section {
  position: sticky; top: var(--nav-h); z-index: 100;
  background: #fff; padding: 16px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.filtres-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.filtre-btn {
  padding: 8px 20px; border-radius: 50px;
  border: 1.5px solid var(--border); font-size: 0.88rem;
  font-weight: 500; color: var(--text-muted); background: #fff;
  cursor: pointer; transition: all var(--transition);
}
.filtre-btn:hover { border-color: var(--primary); color: var(--primary); }
.filtre-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.galerie-section { padding: 60px 0; }
.galerie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2rem; }
.realisation-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1.5px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-card); transition: all 0.3s;
}
.realisation-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.realisation-image { position: relative; height: 220px; overflow: hidden; }
.realisation-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.realisation-card:hover .realisation-image img { transform: scale(1.04); }
.realisation-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: #fff;
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700;
}
.realisation-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.realisation-meta { display: flex; align-items: center; gap: 14px; font-size: 0.8rem; color: var(--text-muted); flex-wrap: wrap; }
.avant-apres { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.avant { padding: 12px; border-radius: 8px; font-size: 0.82rem; background: #fff5f5; border: 1px solid #fecaca; }
.apres { padding: 12px; border-radius: 8px; font-size: 0.82rem; background: #f0fdf4; border: 1px solid #bbf7d0; }
.avant-label { font-weight: 700; font-size: 0.72rem; text-transform: uppercase; color: var(--danger); display: block; margin-bottom: 4px; }
.apres-label { font-weight: 700; font-size: 0.72rem; text-transform: uppercase; color: #16a34a; display: block; margin-bottom: 4px; }
.realisation-budget { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.budget-item { background: var(--bg-light); border-radius: 8px; padding: 10px; text-align: center; }
.budget-item.featured { background: var(--primary-light); }
.budget-label { font-size: 0.68rem; color: var(--text-muted); display: block; margin-bottom: 2px; }
.budget-val { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.temoignage { background: var(--bg-light); border-radius: var(--radius); padding: 14px; }
.stars { color: var(--warning); font-size: 0.9rem; margin-bottom: 6px; }
.temoignage blockquote { font-size: 0.84rem; color: var(--text); font-style: italic; margin-bottom: 4px; line-height: 1.6; }
.temoignage cite { font-size: 0.75rem; color: var(--text-muted); }

/* ── PRÉSENTATION SERVICE×VILLE ─────────────────────────────── */
.service-presentation { padding: 80px 0; }
.presentation-grid { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; }
.presentation-text h2 { margin-bottom: 1.2rem; }
.presentation-text p { margin-bottom: 1rem; font-size: 0.95rem; }
.prix-card { background: var(--bg-blue); border: 1.5px solid rgba(0,119,182,0.2); border-radius: var(--radius); padding: 28px; text-align: center; margin-bottom: 1.5rem; }
.prix-card h3 { margin-bottom: 1rem; }
.prix-range { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 0.75rem; }
.prix-min { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.prix-sep { color: var(--text-muted); }
.prix-max { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.sidebar-badges { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.sidebar-badge { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.88rem; font-weight: 500; }
.sidebar-badge svg { color: var(--primary); flex-shrink: 0; }

/* Services voisins */
.autres-services { padding: 60px 0; background: var(--bg-light); }
.services-mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.service-mini-card {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; background: #fff;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  color: var(--text); font-size: 0.9rem; font-weight: 500;
  transition: all var(--transition);
}
.service-mini-card:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.service-mini-card svg { color: var(--primary); flex-shrink: 0; }

/* ── STATS BAR (homepage) ───────────────────────────────────── */
.stats-bar { background: var(--primary); padding: 50px 0; }
.stats-bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-card { text-align: center; color: #fff; }
.stat-card .num { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; font-family: var(--font-head); display: block; margin-bottom: 4px; }
.stat-card .label { font-size: 0.88rem; opacity: 0.85; }

/* ── AIDES HOME ─────────────────────────────────────────────── */
.aides-home { padding: 80px 0; background: var(--bg-light); }
.aides-home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.aides-home-text h2 { margin-bottom: 1rem; }
.aides-home-text p { margin-bottom: 1.5rem; }
.aides-list { display: flex; flex-direction: column; gap: 1rem; }
.aide-item { display: flex; align-items: flex-start; gap: 14px; padding: 16px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); }
.aide-item-icon { width: 42px; height: 42px; background: var(--primary-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.aide-item-text strong { display: block; font-size: 0.92rem; margin-bottom: 2px; }
.aide-item-text span { font-size: 0.83rem; color: var(--text-muted); }
.aides-home-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; height: 420px; }

/* ── CERTIF BAR ─────────────────────────────────────────────── */
.certif-bar { padding: 36px 0; background: var(--bg-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.certif-inner { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.certif-item { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem; color: var(--text); }
.certif-item svg { color: var(--primary); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer-devis-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 60px 0;
}
.footer {
  background: #0f172a; color: rgba(255,255,255,0.65);
  padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .footer-logo { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-brand .footer-logo span { color: var(--secondary); }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; margin-bottom: 1.5rem; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge { background: rgba(255,255,255,0.08); padding: 5px 12px; border-radius: 20px; font-size: 0.78rem; }
.footer-col h4 { color: #fff; font-size: 0.92rem; margin-bottom: 1.2rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: color var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-col li a:hover { color: var(--secondary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem;
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); font-size: 0.82rem; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ── REVEAL ON SCROLL ───────────────────────────────────────── */
.reveal-on-scroll { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── 404 ────────────────────────────────────────────────────── */
.error-page {
  min-height: 80vh; display: flex; align-items: center;
  justify-content: center; text-align: center;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
}
.error-code { font-size: clamp(6rem, 20vw, 12rem); font-weight: 900; color: var(--primary); opacity: 0.15; line-height: 1; font-family: var(--font-head); margin-bottom: -0.2em; }
.error-page h2 { margin-bottom: 1rem; }
.error-page p { margin-bottom: 2rem; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-image-side { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tarifs-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .presentation-grid { grid-template-columns: 1fr; }
  .aides-home-grid { grid-template-columns: 1fr; }
  .aides-home-image { display: none; }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .ville-hero-content { grid-template-columns: 1fr; }
  .ville-hero-sidebar { display: none; }
  .data-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  section { padding: 60px 0; }
  .section-pad { padding: 60px 0; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .nav-menu { display: none; }
  .nav-cta .btn:not(.nav-cta .btn:last-child) { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 56px; }
  .hero-desc { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 1.5rem; }
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .aides-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .avant-apres { grid-template-columns: 1fr; }
  .galerie-grid { grid-template-columns: 1fr; }
  .villes-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .devis-iframe-wrapper, .devis-widget-wrap { padding: 20px; }
  .stats-bar-grid { grid-template-columns: 1fr 1fr; }
  .tarifs-table { font-size: 0.82rem; }
  .data-cards-grid { grid-template-columns: 1fr; }
  .aides-locales-grid { grid-template-columns: 1fr; }
  .rge-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .cta-mid-inner { flex-direction: column; text-align: center; }
  .processus-steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding: 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn-lg { padding: 14px 24px; font-size: 1rem; }
  .btn-large { padding: 13px 20px; font-size: 0.95rem; }
  .villes-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .realisation-budget { grid-template-columns: 1fr 1fr; }
  .tarifs-grid { max-width: 100%; }
  .data-cards-grid { grid-template-columns: 1fr; }
  .rge-grid { grid-template-columns: 1fr; }
  .hero-stats-bar { grid-template-columns: 1fr 1fr; }
  .aides-locales-grid { grid-template-columns: 1fr; }
}