/* ============================================================
   MaisonDeRepos.be — styles.css
   Mobile-first, custom CSS, no frameworks
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --primary:       #0077B6;
  --primary-dark:  #005f92;
  --primary-light: #e0f4fd;
  --secondary:     #90E0EF;
  --secondary-dark:#48cae4;
  --accent:        #f77f00;
  --accent-light:  #fff3e0;

  --text:          #1a2332;
  --text-muted:    #5a6a7a;
  --text-light:    #8a9ab0;
  --bg:            #ffffff;
  --bg-soft:       #f7fbfe;
  --bg-warm:       #fdf6ee;
  --border:        #dde8f0;
  --border-soft:   #eef4f8;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 4px rgba(0,119,182,.08);
  --shadow:     0 4px 16px rgba(0,119,182,.12);
  --shadow-lg:  0 8px 32px rgba(0,119,182,.16);
  --shadow-xl:  0 16px 48px rgba(0,119,182,.20);

  --font-body:    'Inter', system-ui, sans-serif;
  --font-heading: 'Lora', Georgia, serif;

  --max-w: 1200px;
  --gutter: 1.5rem;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ── A11y utilities ─────────────────────────────────────────── */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -48px; left: 12px;
  background: var(--primary); color: #fff;
  padding: .6rem 1rem; border-radius: var(--radius-sm);
  z-index: 1000; font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; outline: 3px solid var(--accent); color: #fff; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; font-family: var(--font-body); }
p  { color: var(--text-muted); line-height: 1.75; }

/* ── Scroll reveal ──────────────────────────────────────────── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,119,182,.35);
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,119,182,.4);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  transition: all .2s ease;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(247,127,0,.3);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  transition: all .2s ease;
}
.btn-accent:hover {
  background: #e06d00;
  color: #fff;
  transform: translateY(-2px);
}
.btn-simulate {
  width: 100%;
  padding: .85rem 1.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all .2s;
}
.btn-simulate:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-voir {
  display: inline-flex;
  align-items: center;
  padding: .45rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 600;
  transition: all .2s;
  white-space: nowrap;
}
.btn-voir:hover { background: var(--primary-dark); color: #fff; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}
.logo:hover { color: var(--primary); }
.logo-icon { font-size: 1.6rem; line-height: 1; }
.logo-dot { color: var(--primary); }

.main-nav {
  display: none;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
.nav-link {
  padding: .45rem .9rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all .2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}
.nav-toggle {
  margin-left: auto;
  padding: .5rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all .2s;
}
.nav-toggle:hover { background: var(--bg-soft); color: var(--primary); }
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
  padding: 1rem var(--gutter);
  gap: .25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: .65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all .2s;
}
.mobile-nav a:hover { background: var(--primary-light); color: var(--primary); }

@media (min-width: 768px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}

/* ── Breadcrumb bar ─────────────────────────────────────────── */
.breadcrumb-bar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  padding: .75rem 0;
  font-size: .84rem;
  color: var(--text-light);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-light); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(145deg, #e8f6fd 0%, #f0fbff 40%, var(--bg-warm) 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 450px; height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(144,224,239,.3) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,119,182,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(0,119,182,.2);
  padding: .35rem .9rem;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 span, .highlight { color: var(--primary); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-body);
  line-height: 1;
}
.hero-stat span {
  font-size: .8rem;
  color: var(--text-light);
  margin-top: .15rem;
}

/* Hero search */
.hero-search-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-soft);
}
.hero-search-box h3 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  color: var(--text);
}
.search-form { display: flex; flex-direction: column; gap: .75rem; }
.search-input-wrap { position: relative; }
.search-input-wrap svg {
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--text-light);
}
.search-input {
  width: 100%;
  padding: .8rem 1rem .8rem 2.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  background: var(--bg-soft);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,119,182,.12);
  background: #fff;
}
.search-select {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  background: var(--bg-soft);
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6a7a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.5rem;
}
.search-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,119,182,.12);
}
.search-btn { width: 100%; justify-content: center; }

/* ── Sections ───────────────────────────────────────────────── */
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }
.section-lg { padding: 5.5rem 0; }
.section-bg { background: var(--bg-soft); }
.section-warm { background: var(--bg-warm); }
.section-primary { background: var(--primary); color: #fff; }
.section-primary h2, .section-primary h3, .section-primary p { color: #fff; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.section-header p { margin-top: .75rem; font-size: 1.05rem; }
.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 100px;
  margin-bottom: .75rem;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}
.card-body { padding: 1.5rem; }
.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text);
  font-family: var(--font-body);
}
.card-meta {
  font-size: .82rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.card-meta svg { width: 13px; height: 13px; }

/* ── Region Cards ───────────────────────────────────────────── */
.regions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.region-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .3s, box-shadow .3s;
}
.region-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.region-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .4s;
}
.region-card:hover .region-card-bg { transform: scale(1.04); }
.region-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,30,50,.75) 0%, rgba(10,30,50,.15) 60%, transparent 100%);
}
.region-card-content {
  position: relative;
  z-index: 1;
  padding: 1.75rem;
  color: #fff;
}
.region-card-content h3 { color: #fff; font-size: 1.5rem; margin-bottom: .3rem; }
.region-card-content p  { color: rgba(255,255,255,.85); font-size: .9rem; margin-bottom: 1rem; }
.region-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  padding: .5rem 1.1rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  transition: background .2s;
}
.region-card-link:hover { background: rgba(255,255,255,.35); color: #fff; }

/* ── Province grid ──────────────────────────────────────────── */
.provinces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.province-card {
  background: #fff;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all .25s;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.province-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.province-card-name { font-weight: 700; color: var(--text); font-size: 1rem; }
.province-card-region { font-size: .78rem; color: var(--text-light); }
.province-card-count { font-size: .82rem; color: var(--primary); font-weight: 600; margin-top: auto; padding-top: .5rem; }
.province-card-code {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 4px;
  font-family: monospace;
  align-self: flex-start;
}

/* ── Cities list ────────────────────────────────────────────── */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .6rem;
}
.city-chip {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: .55rem .9rem;
  font-size: .85rem;
  color: var(--text-muted);
  transition: all .2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .3rem;
}
.city-chip:hover {
  background: var(--primary-light);
  border-color: var(--secondary);
  color: var(--primary);
}
.city-chip-zip { font-size: .75rem; color: var(--text-light); }

/* ── Stats bar ──────────────────────────────────────────────── */
.stats-bar { background: var(--primary); padding: 2.5rem 0; }
.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-item span {
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  margin-top: .35rem;
  display: block;
}

/* ── Guide / Info cards ─────────────────────────────────────── */
.info-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--primary);
  transition: box-shadow .25s;
}
.info-card:hover { box-shadow: var(--shadow); }
.info-card-icon { font-size: 2.2rem; margin-bottom: .75rem; display: block; }
.info-card h4 { margin-bottom: .5rem; color: var(--text); }
.info-card p { font-size: .92rem; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background .2s;
  background: #fff;
}
.faq-q:hover { background: var(--bg-soft); }
.faq-q svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--primary); transition: transform .3s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: .25rem 1.25rem 1.25rem;
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border-soft);
}

/* ── Page hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.page-hero h1 { color: #fff; margin: .75rem 0 .75rem; }
.page-hero p  { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 600px; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.25rem; }
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  padding: .35rem .85rem;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
}

/* ── Pagination ─────────────────────────────────────────────── */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem;
  margin-top: 2.5rem;
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 .75rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  transition: all .2s;
  background: #fff;
}
.page-link:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.page-link.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-link.disabled { opacity: .4; pointer-events: none; }

/* ── Alpha index ────────────────────────────────────────────── */
.alpha-index { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 2rem; }
.alpha-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 700;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  background: #fff;
  transition: all .2s;
}
.alpha-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.alpha-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Sidebar layout ─────────────────────────────────────────── */
.page-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
  padding: 3rem 0;
}
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.sidebar-card h4 {
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.sidebar-links { display: flex; flex-direction: column; gap: .35rem; }
.sidebar-links a {
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all .2s;
}
.sidebar-links a:hover { background: var(--primary-light); color: var(--primary); }
.sidebar-links a span { font-size: .78rem; color: var(--text-light); }

/* ── Type badges ────────────────────────────────────────────── */
.badge-mrs, .badge-wzc {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 700;
  background: #e8f5e9;
  color: #2e7d32;
  letter-spacing: .03em;
}
.badge-mr {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary);
  letter-spacing: .03em;
}

/* ── Maison de repos cards ──────────────────────────────────── */
.mrs-grid { display: grid; gap: 1.25rem; }
.mrs-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  transition: all .25s;
}
.mrs-card:hover { box-shadow: var(--shadow); border-color: var(--secondary); }
.mrs-card-name { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: .4rem; }
.mrs-card-address { font-size: .87rem; color: var(--text-muted); display: flex; align-items: center; gap: .3rem; }
.mrs-card-address svg { width: 13px; height: 13px; flex-shrink: 0; }
.mrs-rating { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.stars { color: #f59e0b; letter-spacing: 1px; }
.stars-small { color: #f59e0b; font-size: .8rem; letter-spacing: 1px; }
.mrs-card-price { font-size: .82rem; color: var(--text-light); text-align: right; }
.mrs-card-price strong { color: var(--text); font-size: .95rem; }

/* ── Etablissement (fiche détaillée) ─────────────────────────── */
.etab-hero {
  padding: 3rem 0 2.5rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
}
.etab-hero-inner {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
.etab-hero-content {}
.etab-type-badge {
  display: inline-block;
  padding: .3rem .9rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.etab-hero-content h1 { margin-bottom: .75rem; }
.etab-address {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--text-muted);
  font-size: .95rem;
  margin-bottom: 1rem;
}
.etab-address svg { flex-shrink: 0; color: var(--primary); }
.etab-rating {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.5rem;
  font-size: .95rem;
}
.etab-rating .stars { font-size: 1.2rem; }
.rating-count { color: var(--text-light); font-size: .88rem; }
.etab-contacts { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  transition: all .2s;
}
.btn-phone {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,119,182,.3);
}
.btn-phone:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-email {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: #fff;
}
.btn-email:hover { background: var(--primary-light); }

.etab-hero-card { display: flex; flex-direction: column; gap: 1.25rem; }
.etab-info-card, .etab-pricing-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.etab-info-card h3, .etab-pricing-card h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text);
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
}
.info-item {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.info-label { font-size: .75rem; color: var(--text-light); font-weight: 500; }
.info-value { font-size: .9rem; font-weight: 600; color: var(--text); }
.agrement { font-family: monospace; font-size: .82rem; color: var(--text-muted); }
.pricing-note { font-size: .78rem; color: var(--text-light); margin-bottom: .75rem; }
.pricing-grid { display: flex; gap: 1rem; margin-bottom: 1rem; }
.price-item {
  flex: 1;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: .75rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.price-type { font-size: .75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.price-value { font-size: 1.2rem; font-weight: 800; color: var(--primary); }
.price-value small { font-size: .7rem; font-weight: 400; color: var(--text-light); }
.pricing-inami { font-size: .82rem; color: var(--text-muted); background: #e8f5e9; padding: .6rem .9rem; border-radius: var(--radius-sm); }

/* Détails établissement */
.etab-details { padding: 3rem 0; }
.etab-details-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
.etab-description h2 { margin-bottom: 1.25rem; }
.description-text { font-size: 1rem; line-height: 1.8; margin-bottom: 2rem; }
.etab-description h3 { font-size: 1.1rem; margin-bottom: 1rem; font-family: var(--font-body); }
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}
.service-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .8rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .83rem;
  color: var(--text-muted);
}
.service-tag svg { color: var(--primary); flex-shrink: 0; }
.etab-info-box {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.etab-info-box h3 { font-size: 1rem; font-family: var(--font-body); margin-bottom: 1rem; }
.etab-info-box ul { display: flex; flex-direction: column; gap: .5rem; list-style: none; }
.etab-info-box li { font-size: .9rem; color: var(--text-muted); }
.etab-info-box li strong { color: var(--text); }

/* Sidebar établissement */
.etab-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.budget-simulator, .visit-checklist {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.budget-simulator h3, .visit-checklist h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1rem;
}
.simulator-form { display: flex; flex-direction: column; gap: .75rem; }
.simulator-form label { font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: .2rem; display: block; }
.simulator-form select {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-family: inherit;
  background: var(--bg-soft);
  color: var(--text);
  cursor: pointer;
  appearance: none;
}
.sim-result {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  transition: background .3s;
}
.sim-label { font-size: .83rem; color: var(--text-muted); }
.sim-total { font-size: 1.15rem; font-weight: 800; color: var(--primary); }
.checklist-intro { font-size: .85rem; color: var(--text-muted); margin-bottom: .75rem; }
.checklist-items { display: flex; flex-direction: column; gap: .4rem; list-style: none; }
.checklist-items li {
  font-size: .85rem;
  color: var(--text-muted);
}
.checklist-items label {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  cursor: pointer;
  padding: .35rem .5rem;
  border-radius: var(--radius-sm);
  transition: background .15s;
}
.checklist-items label:hover { background: var(--bg-soft); }
.checklist-items input[type="checkbox"] { accent-color: var(--primary); margin-top: .1rem; flex-shrink: 0; }

/* Voisins */
.etab-voisins { padding: 3rem 0; background: var(--bg-soft); }
.etab-voisins h2 { margin-bottom: 2rem; }
.voisins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.voisin-card {
  background: #fff;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  transition: all .25s;
}
.voisin-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.voisin-card h3 { font-size: .95rem; color: var(--text); font-family: var(--font-body); }
.voisin-card p { font-size: .82rem; color: var(--text-light); }
.voisin-rating { display: flex; align-items: center; gap: .4rem; font-size: .83rem; color: var(--text-muted); }
.voisin-capacite { font-size: .78rem; color: var(--text-light); }
.voisins-cta { text-align: center; margin-top: 1.5rem; }
.voisin-type { margin-bottom: .25rem; }

/* Etab CTA */
.etab-cta { padding: 3rem 0; }
.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.cta-content h2 { color: #fff; margin-bottom: .5rem; }
.cta-content p { color: rgba(255,255,255,.85); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── Ville page ──────────────────────────────────────────────── */
.ville-hero {
  background: linear-gradient(145deg, var(--primary-light) 0%, #f0fbff 100%);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.ville-hero-inner {}
.ville-zip-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 4px;
  font-family: monospace;
  margin-bottom: .75rem;
}
.ville-hero h1 { margin-bottom: .5rem; }
.ville-subtitle { font-size: 1rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.ville-stats { display: flex; flex-wrap: wrap; gap: .75rem; }
.stat-chip {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: .5rem 1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
}
.stat-chip strong { color: var(--primary); font-weight: 800; }
.stat-chip.no-data { background: var(--bg-soft); color: var(--text-light); font-size: .85rem; }

/* Listing */
.ville-listing { padding: 3rem 0; }
.ville-listing h2 { margin-bottom: 2rem; }
.listing-grid { display: grid; gap: 1.25rem; }
.listing-card {
  background: #fff;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all .25s;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.listing-card:hover { box-shadow: var(--shadow); border-color: var(--secondary); transform: translateY(-2px); }
.listing-card-header { display: flex; align-items: center; gap: .75rem; justify-content: space-between; }
.listing-gestionnaire { font-size: .78rem; color: var(--text-light); background: var(--bg-soft); padding: .2rem .6rem; border-radius: 4px; }
.listing-card h3 { font-size: 1.05rem; font-family: var(--font-body); }
.listing-card h3 a { color: var(--text); font-weight: 700; }
.listing-card h3 a:hover { color: var(--primary); }
.listing-adresse { display: flex; align-items: center; gap: .35rem; font-size: .85rem; color: var(--text-muted); }
.listing-adresse svg { flex-shrink: 0; color: var(--text-light); }
.listing-desc { font-size: .88rem; color: var(--text-muted); }
.listing-meta { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.listing-rating { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--text-muted); }
.listing-capacite { font-size: .82rem; color: var(--text-light); }
.listing-services { display: flex; flex-wrap: wrap; gap: .35rem; }
.service-chip {
  display: inline-block;
  padding: .2rem .6rem;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  font-size: .75rem;
  color: var(--text-muted);
}
.listing-footer { display: flex; align-items: center; justify-content: space-between; padding-top: .5rem; border-top: 1px solid var(--border-soft); }
.listing-price { font-size: .88rem; color: var(--text-muted); }
.listing-price strong { color: var(--primary); font-size: 1rem; }

/* No listing */
.no-listing-box {
  text-align: center;
  padding: 3rem;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
}
.no-listing-icon { font-size: 3rem; margin-bottom: 1rem; }
.no-listing-box h2 { margin-bottom: .75rem; font-size: 1.4rem; }
.no-listing-box p { margin-bottom: 1.5rem; max-width: 480px; margin-left: auto; margin-right: auto; }

/* Province listing */
.province-listing { padding: 3rem 0; background: var(--bg-soft); }
.province-listing h2 { margin-bottom: 2rem; }
.province-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.province-card {
  background: #fff;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  transition: all .25s;
  color: var(--text);
}
.province-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.province-card-type { margin-bottom: .25rem; }
.province-card h3 { font-size: .95rem; font-family: var(--font-body); font-weight: 700; color: var(--text); }
.province-card p { font-size: .82rem; color: var(--text-light); }
.province-card-rating { font-size: .85rem; color: #f59e0b; }
.province-card-rating span { color: var(--text-muted); margin-left: .25rem; }
.province-card-link { font-size: .82rem; color: var(--primary); font-weight: 600; margin-top: auto; }

/* INAMI simulator */
.inami-simulator { padding: 3rem 0; }
.simulator-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.simulator-header {
  background: var(--primary);
  padding: 1.75rem 2rem;
}
.simulator-header h2 { color: #fff; font-size: 1.4rem; margin-bottom: .5rem; }
.simulator-header p { color: rgba(255,255,255,.85); margin: 0; font-size: .92rem; }
.simulator-grid {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
}
.sim-field { display: flex; flex-direction: column; gap: .4rem; }
.sim-field label { font-size: .88rem; font-weight: 600; color: var(--text); }
.sim-field input, .sim-field select {
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color .2s;
}
.sim-field input:focus, .sim-field select:focus {
  outline: none;
  border-color: var(--primary);
}
.simulator-results {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.simulator-results h3 { font-size: 1rem; font-family: var(--font-body); margin-bottom: 1rem; }
.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: .9rem;
}
.result-item span { color: var(--text-muted); }
.result-item.result-total {
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  padding-top: .75rem;
}
.sim-disclaimer { font-size: .78rem; color: var(--text-light); margin-top: .75rem; font-style: italic; }

/* Villes voisines */
.villes-voisines { padding: 2.5rem 0; background: var(--bg-soft); }
.villes-voisines h2 { margin-bottom: 1.5rem; }
.villes-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.ville-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .9rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  color: var(--text-muted);
  transition: all .2s;
}
.ville-chip:hover { background: var(--primary-light); border-color: var(--secondary); color: var(--primary); }
.ville-chip-name { font-weight: 600; }
.ville-chip-zip { font-size: .75rem; color: var(--text-light); }

/* Guide CTA */
.ville-guide { padding: 2.5rem 0; }
.guide-cta-box {
  background: linear-gradient(135deg, var(--bg-warm) 0%, #fff 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}
.guide-cta-content h2 { margin-bottom: .75rem; }
.guide-cta-content p { margin-bottom: 1.5rem; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── Calculator ─────────────────────────────────────────────── */
.calculator {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.calc-grid { display: grid; gap: 1rem; margin-bottom: 1.25rem; }
.calc-field label { display: block; font-size: .88rem; font-weight: 600; color: var(--text); margin-bottom: .4rem; }
.calc-field input, .calc-field select {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color .2s;
}
.calc-field input:focus, .calc-field select:focus { outline: none; border-color: var(--primary); }
.calc-result {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: none;
}
.calc-result.visible { display: block; }
.calc-result h4 { color: #fff; margin-bottom: .75rem; }
.calc-result-row {
  display: flex;
  justify-content: space-between;
  padding: .35rem 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  font-size: .9rem;
}
.calc-result-row:last-child { border: none; font-weight: 700; font-size: 1rem; }
.calc-result-row span:last-child { font-weight: 600; }

/* ── Tag / badge ─────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .7rem;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
}
.tag-green { background: #e8f5e9; color: #2e7d32; }
.tag-orange { background: var(--accent-light); color: var(--accent); }

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #005f92 100%);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cta-banner h2, .cta-banner h3 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.85); margin: .75rem 0 1.75rem; }

/* ── Guide page ─────────────────────────────────────────────── */
.guide-nav {
  position: sticky;
  top: 80px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.guide-nav h4 { margin-bottom: 1rem; font-size: .95rem; }
.guide-nav-links { display: flex; flex-direction: column; gap: .2rem; }
.guide-nav-links a {
  padding: .45rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .86rem;
  color: var(--text-muted);
  transition: all .2s;
  border-left: 2px solid transparent;
}
.guide-nav-links a:hover, .guide-nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
  border-left-color: var(--primary);
}
.guide-section { margin-bottom: 3.5rem; scroll-margin-top: 90px; }
.guide-section h2 { margin-bottom: 1.25rem; }
.guide-section h3 { margin: 1.75rem 0 .75rem; font-size: 1.2rem; color: var(--primary); }
.guide-section p { margin-bottom: 1rem; }
.guide-section ul, .guide-section ol {
  list-style: disc;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.guide-section ol { list-style: decimal; }
.guide-section li { color: var(--text-muted); font-size: .95rem; line-height: 1.65; }
.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  margin: 1.25rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.guide-table th {
  background: var(--primary);
  color: #fff;
  padding: .85rem 1rem;
  text-align: left;
  font-weight: 600;
}
.guide-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-muted);
}
.guide-table tr:nth-child(even) td { background: var(--bg-soft); }
.guide-table tr:last-child td { border-bottom: none; }

/* ── 404 ────────────────────────────────────────────────────── */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem var(--gutter);
}
.error-page h1 { font-size: 5rem; color: var(--primary); margin-bottom: .5rem; }
.error-page h2 { margin-bottom: 1rem; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: #0d2137;
  color: rgba(255,255,255,.75);
  padding: 4rem 0 2rem;
}
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand .logo { color: #fff; margin-bottom: 1rem; }
.footer-brand .logo:hover { color: var(--secondary); }
.footer-brand p { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.6); }
.footer-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.footer-badges .badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  padding: .25rem .65rem;
  border-radius: 4px;
  font-size: .75rem;
  color: rgba(255,255,255,.8);
}
.footer-col h4 { color: #fff; font-size: .9rem; margin-bottom: 1rem; font-family: var(--font-body); }
.footer-col ul { display: flex; flex-direction: column; gap: .35rem; }
.footer-col a { font-size: .87rem; color: rgba(255,255,255,.6); transition: color .2s; padding: .15rem 0; }
.footer-col a:hover { color: var(--secondary); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-bottom p { color: rgba(255,255,255,.5); font-size: .82rem; }
.footer-legal { font-size: .78rem !important; color: rgba(255,255,255,.35) !important; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (min-width: 640px) {
  .hero { padding: 6rem 0 5rem; }
  .regions-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar-grid { grid-template-columns: repeat(4, 1fr); }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1fr 380px; }
  .page-layout { grid-template-columns: 1fr 280px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .etab-hero-inner { grid-template-columns: 1fr 340px; }
  .etab-details-grid { grid-template-columns: 1fr 320px; }
  .simulator-grid { grid-template-columns: 1fr 1fr; }
  .calc-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .regions-grid { grid-template-columns: 1fr 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ── Utilities ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.d-flex { display: flex; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.fw-bold { font-weight: 700; }
.text-muted { color: var(--text-muted); }

/* ── Filter bar ─────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
  align-items: center;
}
.filter-label { font-size: .85rem; font-weight: 600; color: var(--text-muted); }
.filter-btn {
  padding: .4rem .9rem;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: .83rem;
  font-weight: 500;
  color: var(--text-muted);
  background: #fff;
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ── Checklist ──────────────────────────────────────────────── */
.checklist { display: flex; flex-direction: column; gap: .6rem; }
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 1rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .2s;
}
.checklist-item:hover { border-color: var(--primary); background: var(--primary-light); }
.checklist-item input[type="checkbox"] { margin-top: .15rem; flex-shrink: 0; accent-color: var(--primary); width: 16px; height: 16px; }
.checklist-item label { font-size: .9rem; color: var(--text-muted); cursor: pointer; line-height: 1.5; }
.checklist-item.checked label { text-decoration: line-through; color: var(--text-light); }

/* ── No results ─────────────────────────────────────────────── */
.no-results {
  text-align: center;
  padding: 3rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
}
.no-results p { font-size: 1.05rem; color: var(--text-muted); }
/* ── Ville — intro prose & FAQ (details) ─────────────────────── */
.ville-intro { padding: 1.5rem 0 0.5rem; }
.ville-intro-prose p { font-size: 1rem; line-height: 1.75; color: var(--text); margin-bottom: 1rem; }
.ville-intro-prose a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.ville-faq { padding: 2rem 0; }
.ville-faq h2 { margin-bottom: 1.25rem; }
details.faq-item { background: #fff; }
details.faq-item > summary {
  list-style: none; cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 600; font-size: .95rem;
  display: flex; justify-content: space-between; align-items: center;
  transition: background .2s;
}
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary::after {
  content: "▾"; color: var(--primary); transition: transform .25s;
}
details.faq-item[open] > summary::after { transform: rotate(180deg); }
details.faq-item > summary:hover { background: var(--bg-soft); }
details.faq-item .faq-answer {
  padding: .25rem 1.25rem 1.25rem;
  font-size: .92rem; color: var(--text-muted); line-height: 1.7;
  border-top: 1px solid var(--border-soft);
}

/* ── Blog ────────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.blog-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem;
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card-meta { display: flex; align-items: center; gap: .75rem; font-size: .8rem; color: var(--text-muted); }
.blog-cat {
  background: var(--primary-light, #e0f0fa); color: var(--primary-dark, #003d5c);
  padding: .15rem .6rem; border-radius: 999px; font-weight: 600;
}
.blog-card h2, .blog-card h3 { font-size: 1.15rem; line-height: 1.35; margin: .25rem 0; }
.blog-card h2 a, .blog-card h3 a { color: var(--text); text-decoration: none; }
.blog-card h2 a:hover, .blog-card h3 a:hover { color: var(--primary); }
.blog-card p { font-size: .92rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.blog-read { color: var(--primary); font-weight: 600; font-size: .9rem; text-decoration: none; align-self: flex-start; }
.blog-read:hover { text-decoration: underline; }

.blog-article { padding: 2rem 0 1rem; }
.blog-article-header { margin-bottom: 1.75rem; }
.blog-article-header h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.2; margin: .75rem 0; }
.blog-excerpt { font-size: 1.1rem; color: var(--text-muted); line-height: 1.6; font-family: 'Lora', Georgia, serif; font-style: italic; }
.blog-body { font-size: 1.05rem; line-height: 1.8; color: var(--text); }
.blog-body h2 { margin-top: 2rem; margin-bottom: .75rem; font-size: 1.5rem; }
.blog-body h3 { margin-top: 1.5rem; font-size: 1.2rem; }
.blog-body p { margin-bottom: 1.1rem; }
.blog-body ul, .blog-body ol { margin: 1rem 0 1.1rem 1.5rem; line-height: 1.8; }
.blog-body a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.blog-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border-soft); }
.blog-tags .tag { font-size: .82rem; color: var(--text-muted); background: var(--bg-soft); padding: .25rem .7rem; border-radius: 999px; }

/* ── Glossaire ───────────────────────────────────────────────── */
.glossary-nav {
  display: flex; flex-wrap: wrap; gap: .35rem;
  padding: 1rem; margin-bottom: 1.5rem;
  background: var(--bg-soft); border-radius: var(--radius);
  position: sticky; top: 70px; z-index: 10;
  border: 1px solid var(--border-soft);
}
.glossary-nav a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 6px;
  background: #fff; color: var(--primary-dark); font-weight: 700;
  text-decoration: none; font-size: .85rem;
  border: 1px solid var(--border);
  transition: background .15s, color .15s;
}
.glossary-nav a:hover { background: var(--primary); color: #fff; }
.glossary-group { margin-bottom: 2.5rem; scroll-margin-top: 140px; }
.glossary-letter {
  font-size: 2rem; color: var(--primary);
  border-bottom: 2px solid var(--primary-light, #e0f0fa);
  padding-bottom: .4rem; margin-bottom: 1rem;
}
.glossary-list dt {
  font-weight: 700; font-size: 1.05rem; color: var(--text);
  margin-top: 1.25rem; display: flex; align-items: center; gap: .5rem;
  scroll-margin-top: 140px;
}
.glossary-list dd {
  margin: .35rem 0 0 0; padding: 0;
  font-size: .95rem; line-height: 1.65; color: var(--text-muted);
}
.glossary-list dd a { color: var(--primary-dark); text-decoration: underline; }
.glossary-anchor {
  color: var(--text-muted); opacity: 0; font-weight: 400;
  text-decoration: none; font-size: .9rem; transition: opacity .15s;
}
.glossary-list dt:hover .glossary-anchor { opacity: .6; }
.glossary-footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.glossary-footer ul { line-height: 1.9; margin-left: 1.5rem; }
