/* =====================================================
   BRETAGNE MONTE ESCALIER — styles.css COMPLET
   ===================================================== */

:root {
  --primary: #0077B6;
  --primary-dark: #005F92;
  --primary-light: #0096D6;
  --secondary: #90E0EF;
  --secondary-light: #CAF0F8;
  --accent: #FF6B35;
  --accent-hover: #E55A24;
  --text-dark: #1A2535;
  --text-mid: #4A5568;
  --text-light: #718096;
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFB;
  --bg-blue-light: #EBF8FF;
  --border: #E2E8F0;
  --border-light: #F0F4F8;
  --shadow-sm: 0 2px 8px rgba(0,119,182,0.08);
  --shadow-md: 0 4px 20px rgba(0,119,182,0.12);
  --shadow-lg: 0 8px 40px rgba(0,119,182,0.18);
  --shadow-xl: 0 20px 60px rgba(0,119,182,0.24);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

h1,h2,h3,h4,h5 { font-family: var(--font-main); font-weight: 700; line-height: 1.2; color: var(--text-dark); }
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p { margin-bottom: 1rem; color: var(--text-mid); }

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

/* ══ HEADER ══ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-main); font-size: 1rem; font-weight: 800; color: var(--primary); white-space: nowrap; }
.logo-icon { font-size: 1.4rem; }
.logo-text { color: var(--text-dark); }
.logo-text strong { color: var(--primary); }

/* ══ NAV DESKTOP ══ */
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.main-nav > ul > li > a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  display: block;
}
.main-nav > ul > li > a:hover {
  background: var(--bg-blue-light);
  color: var(--primary);
}

/* ══ DROPDOWN — TOUJOURS caché par défaut ══ */
.has-dropdown { position: relative; }

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 220px;
  z-index: 500;
  list-style: none;
}

/* Desktop uniquement : hover */
@media (min-width: 769px) {
  .has-dropdown:hover > .dropdown { display: block; }
}

.dropdown a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-mid);
  white-space: nowrap;
}
.dropdown a:hover { background: var(--bg-blue-light); color: var(--primary); }

.header-cta { padding: 10px 20px !important; font-size: 0.875rem !important; flex-shrink: 0; }

/* Burger + close */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--text-dark);
  align-items: center; justify-content: center;
}
.nav-close {
  display: none;
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--text-dark);
  font-size: 1.5rem; z-index: 10;
}

/* ══ OFFLINE BANNER ══ */
.offline-banner {
  display: none; align-items: center; justify-content: center; gap: 10px;
  background: #1A2535; color: rgba(255,255,255,0.9);
  padding: 10px 20px; font-size: 0.875rem;
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
}

/* ══ TOAST ══ */
.toast-container {
  position: fixed; bottom: 24px; left: 24px; z-index: 9998;
  display: flex; flex-direction: column-reverse; gap: 10px;
  max-width: 360px; width: calc(100vw - 48px);
}
.bme-toast {
  display: flex; align-items: flex-start; gap: 10px;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 40px 14px 14px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
  transform: translateX(-120%); opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
}
.bme-toast.show { transform: translateX(0); opacity: 1; }
.bme-toast button { position: absolute; top: 10px; right: 10px; background: none; border: none; cursor: pointer; color: var(--text-light); }
.bme-toast--success { border-left: 4px solid #38A169; }
.bme-toast--error   { border-left: 4px solid #E53E3E; }
.bme-toast--warning { border-left: 4px solid #D69E2E; }
.bme-toast--info    { border-left: 4px solid var(--primary); }
.bme-toast--loading { border-left: 4px solid var(--text-light); }
.toast-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--primary); }
.toast-bar { width: 100%; height: 100%; background: inherit; transition: width linear; }

/* ══ BUTTONS ══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-md);
  font-family: var(--font-main); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: 2px solid transparent; transition: 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 6px 20px rgba(0,119,182,0.3); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-outline-white { background: transparent; color: white; border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: white; color: white; }
.btn-white { background: white; color: var(--primary); border-color: white; }
.btn-white:hover { background: var(--bg-blue-light); color: var(--primary-dark); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ══ HERO ══ */
.hero {
  min-height: 600px; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.1; }
.hero-inner { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; padding: 80px 0; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px; padding: 6px 14px; font-size: 0.8rem;
  color: rgba(255,255,255,0.9); margin-bottom: 16px;
}
.hero-content h1 { color: white; margin-bottom: 16px; }
.text-gradient { background: linear-gradient(135deg, var(--secondary), white); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 24px; }
.hero-features { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-features span { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9); padding: 6px 14px; border-radius: 50px; font-size: 0.85rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero widget */
.widget-card {
  background: white; border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-xl);
}
.widget-card.elevated { box-shadow: 0 24px 80px rgba(0,0,0,0.2); }
.widget-header { text-align: center; margin-bottom: 20px; }
.widget-header h2 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 6px; }
.widget-header p { font-size: 0.85rem; color: var(--text-light); margin: 0; }
.widget-badge {
  display: inline-block; background: #E8FDF2; color: #00A65A;
  padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600;
  margin-bottom: 8px;
}
.widget-section { text-align: center; background: var(--bg-blue-light); border: 2px solid var(--secondary); border-radius: var(--radius-lg); padding: 40px; margin: 40px 0; }
.widget-section h2 { margin-bottom: 8px; }
.widget-section p { margin-bottom: 20px; }
.widget-finale { background: var(--primary); color: white; padding: 60px 0; text-align: center; }
.widget-finale h2 { color: white; margin-bottom: 8px; }
.widget-finale p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }

/* ══ STATS ══ */
.stats-band { background: var(--primary-dark); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat-box { color: white; }
.stat-n { font-family: var(--font-main); font-size: 2.5rem; font-weight: 800; color: var(--secondary); display: block; line-height: 1; }
.stat-l { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 4px; display: block; }
.ville-stats { display: flex; gap: 16px; flex-wrap: wrap; margin: 16px 0; }
.stat-item { background: rgba(255,255,255,0.1); border-radius: var(--radius-md); padding: 12px 16px; text-align: center; }
.stat-num { display: block; font-family: var(--font-main); font-weight: 800; font-size: 1.4rem; color: var(--secondary); }
.stat-lbl { font-size: 0.75rem; color: rgba(255,255,255,0.8); }

/* ══ SECTIONS ══ */
.section-light { padding: 60px 0; background: var(--bg-white); }
.section-alt { padding: 60px 0; background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { margin-bottom: 8px; }
.section-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* ══ SERVICES ══ */
.services-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.svc-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; transition: var(--transition); display: block;
  position: relative; overflow: hidden;
}
.svc-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary)); transform: scaleX(0); transition: var(--transition); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--secondary); }
.svc-icon { width: 52px; height: 52px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.svc-card h3 { font-size: 1rem; margin-bottom: 8px; }
.svc-card p { font-size: 0.875rem; margin-bottom: 12px; }
.svc-price { color: var(--primary); font-weight: 700; font-size: 0.875rem; }

.services-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.service-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; transition: var(--transition); display: block;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--secondary); }
.service-card i { color: var(--primary); margin-bottom: 12px; display: block; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card p { font-size: 0.875rem; }
.card-link { font-size: 0.875rem; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 4px; margin-top: 12px; }

/* ══ DEPARTMENTS ══ */
.dept-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.dept-card {
  background: white; border: 2px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; text-align: center; transition: var(--transition); display: block;
}
.dept-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.dept-num { font-family: var(--font-main); font-size: 2.5rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.dept-card h3 { font-size: 1rem; margin-bottom: 6px; }
.dept-card p { font-size: 0.8rem; color: var(--text-light); margin-bottom: 12px; }
.dept-link { font-size: 0.85rem; font-weight: 600; color: var(--primary); }

.dept-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.dept-btn { padding: 8px 16px; border: 2px solid var(--border); border-radius: 50px; background: white; cursor: pointer; font-size: 0.875rem; font-weight: 600; transition: var(--transition); color: var(--text-mid); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.dept-btn:hover, .dept-btn.active { border-color: var(--primary); background: var(--primary); color: white; }
.dept-btn span { background: rgba(255,255,255,0.2); padding: 2px 7px; border-radius: 50px; font-size: 0.75rem; }
.dept-btn.active span { background: rgba(255,255,255,0.2); }

.dept-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.dept-mini { background: white; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 16px; display: flex; align-items: center; gap: 10px; transition: var(--transition); }
.dept-mini:hover { border-color: var(--primary); background: var(--bg-blue-light); }
.dept-mini strong { font-size: 1.1rem; color: var(--primary); }
.dept-mini span { font-size: 0.85rem; color: var(--text-mid); }

/* ══ VILLES GRID ══ */
.cities-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.city-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 14px; transition: var(--transition); display: block;
}
.city-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.city-card-top { display: flex; justify-content: flex-end; margin-bottom: 6px; }
.dept-tag { background: var(--primary); color: white; padding: 2px 7px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; }
.city-name { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); margin-bottom: 3px; }
.city-meta { font-size: 0.75rem; color: var(--text-light); margin-bottom: 8px; }
.city-cta { font-size: 0.75rem; color: var(--primary); font-weight: 600; display: flex; align-items: center; gap: 3px; }

.search-bar { margin-bottom: 24px; }
.search-input-wrap { display: flex; gap: 8px; align-items: center; background: white; border: 2px solid var(--border); border-radius: var(--radius-md); padding: 8px 12px; transition: var(--transition); }
.search-input-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,119,182,0.1); }
.search-input-wrap i { color: var(--text-light); flex-shrink: 0; }
.search-input-wrap input { flex: 1; border: none; outline: none; font-size: 0.95rem; font-family: var(--font-body); color: var(--text-dark); background: transparent; }
.search-input-wrap .btn { padding: 8px 16px; font-size: 0.875rem; }

.results-count { color: var(--text-light); font-size: 0.875rem; margin-bottom: 16px; }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-icon { font-size: 4rem; margin-bottom: 16px; }
.empty-state h2 { margin-bottom: 8px; }
.empty-state p { color: var(--text-light); margin-bottom: 24px; }

/* ══ PAGINATION ══ */
.pagination { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.page-btn { padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 500; color: var(--text-mid); transition: var(--transition); display: inline-flex; align-items: center; gap: 4px; }
.page-btn:hover, .page-btn.active { border-color: var(--primary); background: var(--primary); color: white; }

/* ══ POPULAR CITIES ══ */
.popular-cities { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.pop-city {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; transition: var(--transition);
}
.pop-city:hover { border-color: var(--primary); background: var(--bg-blue-light); }
.pop-city i { color: var(--primary); }
.pop-city strong { font-size: 0.95rem; color: var(--text-dark); }
.pop-city small { font-size: 0.75rem; color: var(--text-light); }

/* ══ BRANDS ══ */
.brands-showcase { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.brand-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; text-align: center; transition: var(--transition); display: block; }
.brand-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.brand-initial { width: 52px; height: 52px; background: var(--primary); color: white; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-family: var(--font-main); font-weight: 800; font-size: 1.3rem; margin: 0 auto 10px; }
.brand-card strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.brand-card small { font-size: 0.75rem; color: var(--text-light); }

.brands-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chip { background: var(--bg-blue-light); color: var(--primary); border: 1px solid var(--secondary); padding: 8px 16px; border-radius: 50px; font-size: 0.875rem; font-weight: 600; transition: var(--transition); }
.brand-chip:hover { background: var(--primary); color: white; border-color: var(--primary); }

.brands-full-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.brand-full-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: var(--transition); }
.brand-full-card:hover { border-color: var(--secondary); box-shadow: var(--shadow-md); }
.bfc-header { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.brand-initial-lg { width: 60px; height: 60px; background: var(--primary); color: white; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-family: var(--font-main); font-weight: 800; font-size: 1.5rem; flex-shrink: 0; }
.bfc-header h2 { font-size: 1.2rem; margin: 0; }
.bfc-header small { color: var(--text-light); font-size: 0.85rem; }
.bfc-prix { color: var(--primary); font-weight: 600; font-size: 0.875rem; margin: 12px 0 16px; }

/* ══ AIDES ══ */
.section-aides { padding: 60px 0; background: var(--bg-blue-light); }
.aides-grid { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: start; }
.aides-text h2 { margin-bottom: 16px; }
.aides-text p { margin-bottom: 16px; }
.aides-list { list-style: none; margin-bottom: 24px; }
.aides-list li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.aides-list li:last-child { border-bottom: none; }
.aide-pct { background: var(--primary); color: white; padding: 2px 8px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }

/* ══ TWO COL LAYOUT ══ */
.two-col-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.main-content { min-width: 0; }
.sidebar { min-width: 0; }
.sticky-widget { position: sticky; top: 90px; }

/* ══ VILLE HERO ══ */
.ville-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 60px 0; }
.ville-hero-content { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.ville-hero-text h1 { color: white; margin-bottom: 12px; }
.ville-hero-text p { color: rgba(255,255,255,0.85); margin-bottom: 16px; }
.ville-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.12); border-radius: 50px; padding: 4px 12px; font-size: 0.8rem; color: rgba(255,255,255,0.85); margin-bottom: 12px; }

/* ══ ADVANTAGES ══ */
.advantages-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 24px; }
.adv-item { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--bg-light); border-radius: var(--radius-md); }
.adv-item i { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.adv-item strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.adv-item span { font-size: 0.8rem; color: var(--text-light); }

/* ══ TYPES ══ */
.types-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.type-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; transition: var(--transition); }
.type-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.type-card h3 { font-size: 1rem; margin-bottom: 6px; }
.type-card p { font-size: 0.85rem; margin-bottom: 10px; }
.type-prix { color: var(--primary); font-weight: 700; font-size: 0.85rem; margin-bottom: 12px; }
.types-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.type-chip { background: var(--bg-blue-light); color: var(--primary); border: 1px solid var(--secondary); padding: 8px 16px; border-radius: 50px; font-size: 0.875rem; font-weight: 600; }

/* ══ NEARBY ══ */
.nearby-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.nearby-link { display: inline-flex; align-items: center; gap: 6px; background: white; border: 1px solid var(--border); border-radius: 50px; padding: 7px 14px; font-size: 0.85rem; font-weight: 500; color: var(--text-mid); transition: var(--transition); }
.nearby-link:hover { border-color: var(--primary); color: var(--primary); background: var(--bg-blue-light); }
.nearby-link i { color: var(--primary); }
.nearby-link small { font-size: 0.75rem; color: var(--text-light); }

/* ══ PAGE HERO ══ */
.page-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 60px 0; }
.page-hero h1 { color: white; margin-bottom: 12px; }
.hero-sub { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 700px; }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.page-hero .breadcrumb a:hover { color: white; }
.page-hero .breadcrumb span { margin: 0 6px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.breadcrumb a, .breadcrumb span { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.breadcrumb span:last-child { color: rgba(255,255,255,0.9); }

/* ══ FAQ ══ */
.faq-list { margin-top: 16px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 10px; overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: var(--secondary); }
.faq-item summary { padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 0.925rem; color: var(--text-dark); list-style: none; display: flex; justify-content: space-between; align-items: center; background: white; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--primary); font-weight: 400; transition: var(--transition); }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 20px 16px; color: var(--text-mid); font-size: 0.9rem; line-height: 1.7; background: white; }
.faq-category { margin-bottom: 40px; }
.faq-category h2 { margin-bottom: 16px; font-size: 1.2rem; }

/* ══ CHECK LIST ══ */
.check-list { list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border-light); font-size: 0.9rem; color: var(--text-mid); }
.check-list li:last-child { border-bottom: none; }
.check-list li i { color: #38A169; flex-shrink: 0; margin-top: 2px; }

/* ══ STEPS ══ */
.steps-list { display: flex; flex-direction: column; gap: 12px; }
.step-item { display: flex; align-items: center; gap: 16px; padding: 16px; background: white; border: 1px solid var(--border); border-radius: var(--radius-md); }
.step-num { width: 36px; height: 36px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-main); font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.step-text { font-size: 0.9rem; color: var(--text-mid); }

/* ══ INFO BOX ══ */
.info-box { display: flex; align-items: center; gap: 16px; background: var(--bg-blue-light); border: 1px solid var(--secondary); border-radius: var(--radius-md); padding: 16px 20px; margin: 20px 0; }
.info-box i { color: var(--primary); flex-shrink: 0; }
.info-box strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.info-box span { font-size: 0.875rem; color: var(--text-mid); }

/* ══ MARQUE DETAIL ══ */
.marque-meta-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-bottom: 24px; }
.meta-item { background: var(--bg-light); border-radius: var(--radius-md); padding: 14px 16px; }
.meta-item strong { display: block; font-size: 0.8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.meta-item span { font-size: 0.95rem; color: var(--text-dark); font-weight: 600; }

/* ══ PRIX SECTION ══ */
.prix-section { margin-bottom: 32px; }
.prix-card { background: var(--bg-blue-light); border: 2px solid var(--secondary); border-radius: var(--radius-lg); padding: 28px; text-align: center; }
.prix-range { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 12px; }
.prix-min, .prix-max { font-family: var(--font-main); font-size: 2rem; font-weight: 800; color: var(--primary); }
.prix-sep { font-size: 1.5rem; color: var(--text-light); }
.prix-card p { margin-bottom: 16px; }
.avantages-section { margin-bottom: 32px; }
.delai-section { margin-bottom: 32px; }

/* ══ CTA BAND ══ */
.cta-band { background: var(--primary); color: white; padding: 60px 0; text-align: center; }
.cta-band h2 { color: white; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ══ CALCULATEUR ══ */
.calculator-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.calculator-card h2 { margin-bottom: 24px; }
.calc-group { margin-bottom: 24px; }
.calc-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; color: var(--text-dark); }
.calc-options { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-opt { padding: 8px 16px; border: 2px solid var(--border); border-radius: 50px; background: white; cursor: pointer; font-size: 0.875rem; font-weight: 500; color: var(--text-mid); transition: var(--transition); }
.calc-opt:hover, .calc-opt.active { border-color: var(--primary); background: var(--primary); color: white; }
.calc-group select { width: 100%; padding: 11px 14px; border: 2px solid var(--border); border-radius: var(--radius-md); font-size: 0.9rem; background: white; color: var(--text-dark); font-family: var(--font-body); }
.calc-group select:focus { outline: none; border-color: var(--primary); }
.calc-group input[type="range"] { width: 100%; accent-color: var(--primary); }
.range-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-light); margin-top: 4px; }
.calc-checkboxes { display: flex; flex-direction: column; gap: 8px; }
.calc-check { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; cursor: pointer; color: var(--text-mid); }
.calc-check input { accent-color: var(--primary); }
.calc-result { background: var(--bg-light); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin: 24px 0; }
.result-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.result-row:last-of-type { border-bottom: none; }
.result-row.highlight .res-aides { color: #38A169; font-weight: 700; }
.result-row.total { background: var(--bg-blue-light); margin: 8px -24px -24px; padding: 16px 24px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.result-row.total span { font-weight: 700; font-size: 1.05rem; }
.res-total { color: var(--primary); font-family: var(--font-main); font-size: 1.2rem !important; }
.calc-disclaimer { font-size: 0.75rem; color: var(--text-light); margin-top: 12px; text-align: center; }

/* ══ FOOTER ══ */
.site-footer { background: var(--text-dark); color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-family: var(--font-main); font-weight: 800; color: white; font-size: 1.1rem; margin-bottom: 12px; }
.site-footer p { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.7; }
.site-footer h4 { color: white; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; }
.site-footer ul li { margin-bottom: 6px; }
.site-footer ul a { color: rgba(255,255,255,0.6); font-size: 0.875rem; }
.site-footer ul a:hover { color: white; }
.footer-badges { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.badge { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); padding: 5px 10px; border-radius: var(--radius-sm); font-size: 0.8rem; color: rgba(255,255,255,0.7); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; }
.footer-bottom p { font-size: 0.8rem; margin-bottom: 4px; }

/* ══ 404 PAGE ══ */
.error-page { padding: 80px 0; text-align: center; background: var(--bg-light); min-height: 60vh; display: flex; align-items: center; }
.error-inner { max-width: 680px; margin: 0 auto; }
.error-emoji { font-size: 5rem; display: block; margin-bottom: 16px; animation: bounce 2s ease-in-out infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.error-code { font-family: var(--font-main); font-size: 7rem; font-weight: 800; color: var(--primary); line-height: 1; }
.error-inner h2 { margin: 8px 0 12px; }
.error-inner p { color: var(--text-light); margin-bottom: 24px; }
.error-search { max-width: 500px; margin: 0 auto 32px; }
.error-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.error-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: white; border: 1px solid var(--border); border-radius: 50px; font-size: 0.875rem; font-weight: 500; color: var(--text-mid); transition: var(--transition); }
.error-link:hover { border-color: var(--primary); background: var(--bg-blue-light); color: var(--primary); }
.error-widget { background: var(--bg-blue-light); border: 2px solid var(--secondary); border-radius: var(--radius-lg); padding: 28px; margin-top: 16px; }

/* ══ 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); }

/* ══ RESPONSIVE 1024px ══ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-widget { max-width: 500px; }
  .services-cards { grid-template-columns: repeat(2,1fr); }
  .dept-cards { grid-template-columns: repeat(2,1fr); }
  .brands-showcase { grid-template-columns: repeat(2,1fr); }
  .popular-cities { grid-template-columns: repeat(3,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .aides-grid { grid-template-columns: 1fr; }
  .two-col-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .ville-hero-content { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cities-grid { grid-template-columns: repeat(3,1fr); }
  .brands-full-grid { grid-template-columns: 1fr; }
}

/* ══ MOBILE NAV 768px ══ */
@media (max-width: 768px) {
  /* Affiche le burger, cache le CTA */
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  /* Nav masquée par défaut */
  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: white;
    z-index: 2000;
    padding: 60px 20px 20px;
    overflow-y: auto;
    flex-direction: column;
  }
  /* Nav visible quand .open ajouté par JS */
  .main-nav.open { display: flex; }

  /* Bouton close visible dans la nav ouverte */
  .nav-close { display: block !important; }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .main-nav > ul > li > a {
    padding: 14px 16px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    color: var(--text-dark);
  }

  /* Dropdown mobile : TOUJOURS caché par défaut */
  .has-dropdown > .dropdown {
    display: none !important;
    position: static;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--secondary);
    border-radius: 0;
    padding: 4px 0 4px 16px;
    margin: 0;
    min-width: auto;
    background: var(--bg-light);
  }

  /* Dropdown visible SEULEMENT si parent a .open (toggle JS) */
  .has-dropdown.open > .dropdown {
    display: block !important;
  }

  .dropdown a {
    padding: 10px 12px;
    font-size: 0.9rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border-light);
  }

  .services-cards { grid-template-columns: 1fr; }
  .dept-cards { grid-template-columns: 1fr 1fr; }
  .popular-cities { grid-template-columns: repeat(2,1fr); }
  .cities-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .prix-range { flex-direction: column; gap: 4px; }
  .marque-meta-grid { grid-template-columns: 1fr 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cities-grid { grid-template-columns: 1fr; }
  .dept-cards { grid-template-columns: 1fr; }
  .brands-showcase { grid-template-columns: 1fr 1fr; }
  .popular-cities { grid-template-columns: 1fr 1fr; }
  .error-code { font-size: 5rem; }
  .toast-container { left: 8px; right: 8px; bottom: 16px; max-width: none; width: auto; }
}