:root {
  --color-bg: #f7f3ea;
  --color-surface: #ffffff;
  --color-text: #18181b;
  --color-muted: #71717a;
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-accent: #f97316;
  --color-green: #0f766e;
  --color-border: #e4e4e7;
  --color-soft: #eef2ff;
  --shadow: 0 18px 45px rgba(24, 24, 27, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-primary); }
p a { color: var(--color-primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 32px)); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--color-text); color: #fff; padding: 8px 12px; z-index: 20; }
.skip-link:focus { left: 8px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(14px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--color-text);
  color: #fff;
  font-size: 0.82rem;
}
.main-nav { display: flex; align-items: center; gap: 18px; font-size: 0.94rem; font-weight: 650; }
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 750;
  cursor: pointer;
}
.nav-cta, .button.primary { background: var(--color-primary); color: #fff; }
.button.primary:hover, .nav-cta:hover { background: var(--color-primary-dark); color: #fff; }
.button.secondary, .ghost-button { background: #fff; border-color: var(--color-border); color: var(--color-text); }
.button.accent { background: var(--color-accent); color: #fff; }
.ghost-button { min-height: 38px; padding: 0 12px; border-radius: var(--radius); font-weight: 700; cursor: pointer; }
.ghost-button.is-saved { background: var(--color-soft); border-color: var(--color-primary); color: var(--color-primary-dark); }
.menu-toggle { display: none; min-height: 42px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--color-border); background: #fff; font-weight: 750; }
.hero, .page-hero { padding: 72px 0 48px; }
.hero-grid, .fiche-grid, .split, .form-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); gap: 42px; align-items: center; }
.hero h1, .page-hero h1 { max-width: 900px; margin: 0; font-size: clamp(2.25rem, 6vw, 4.8rem); line-height: 0.98; letter-spacing: 0; }
.page-hero.compact h1, .page-hero.local h1, .page-hero.fiche h1 { font-size: clamp(2rem, 5vw, 3.7rem); line-height: 1.05; }
.lead { max-width: 760px; color: #3f3f46; font-size: clamp(1.05rem, 2vw, 1.22rem); }
.eyebrow { margin: 0 0 12px; color: var(--color-green); font-weight: 800; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.08em; }
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 40px;
  background:
    linear-gradient(120deg, rgba(37, 99, 235, 0.08), rgba(249, 115, 22, 0.08) 52%, rgba(15, 118, 110, 0.08)),
    var(--color-bg);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: #fff;
  border-top: 1px solid rgba(228, 228, 231, 0.75);
}
.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: 44px;
  align-items: center;
}
.home-hero .hero-copy {
  padding: 8px 0 28px;
}
.home-hero .search-box {
  padding: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(228, 228, 231, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.home-hero .hero-actions {
  margin-top: 16px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: #3f3f46;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(228, 228, 231, 0.9);
  font-size: 0.86rem;
  font-weight: 800;
}
.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border: 1px solid rgba(228, 228, 231, 0.9);
  border-radius: var(--radius-lg);
  background: #111827;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
}
.hero-visual > img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  opacity: 0.88;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.62));
}
.hero-locator,
.hero-score-card {
  position: absolute;
  z-index: 2;
  width: min(290px, calc(100% - 32px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}
.hero-locator { left: 18px; top: 18px; }
.hero-score-card { right: 18px; bottom: 112px; }
.hero-locator strong,
.hero-score-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.08rem;
  line-height: 1.2;
}
.hero-locator p,
.hero-score-card p {
  margin: 8px 0 0;
  color: #3f3f46;
  font-size: 0.92rem;
}
.hero-score-card span {
  color: var(--color-green);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-stats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.75);
}
.home-proof-strip {
  padding: 0 0 36px;
  background: #fff;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.proof-grid div {
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff, #f8fafc);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
.proof-grid span {
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 850;
}
.proof-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 1.45rem;
  line-height: 1.05;
}
.proof-grid p {
  margin: 8px 0 0;
  color: #52525b;
  font-size: 0.92rem;
}
.home-pathways {
  background: #fff;
}
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pathway-grid article {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: var(--shadow-soft);
}
.pathway-grid span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-weight: 900;
}
.pathway-grid h3 {
  margin: 18px 0 8px;
  font-size: 1.35rem;
  line-height: 1.15;
}
.pathway-grid p {
  color: #3f3f46;
}
.pathway-grid a {
  align-self: end;
  margin-top: 10px;
  color: var(--color-primary-dark);
  font-weight: 900;
}
.home-paris-panel {
  background: #fff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.paris-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 34px;
  align-items: start;
}
.paris-home-grid h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  line-height: 1.08;
}
.paris-home-grid p {
  color: #3f3f46;
}
.home-map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.home-map-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--color-soft);
  color: var(--color-primary-dark);
  font-weight: 850;
}
.home-district-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.home-district-grid a {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}
.home-district-grid a:hover {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.08);
}
.home-district-grid span {
  color: var(--color-primary-dark);
  font-size: 0.84rem;
  font-weight: 900;
}
.home-district-grid strong {
  font-size: 0.92rem;
  line-height: 1.22;
}
.home-region-map {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 45%, rgba(37, 99, 235, 0.24), transparent 28%),
    radial-gradient(circle at 24% 72%, rgba(249, 115, 22, 0.18), transparent 24%),
    #111827;
  overflow: hidden;
}
.region-node {
  position: absolute;
  z-index: 2;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  min-width: 96px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}
.region-node:hover {
  color: #fff;
  background: var(--color-accent);
}
.region-node.paris { --x: 54%; --y: 42%; }
.region-node.defense { --x: 34%; --y: 43%; }
.region-node.nanterre { --x: 22%; --y: 55%; }
.region-node.boulogne { --x: 45%; --y: 70%; }
.region-node.cergy { --x: 20%; --y: 22%; }
.region-line {
  position: absolute;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
  transform-origin: left center;
}
.region-line.one { left: 23%; top: 54%; width: 34%; transform: rotate(-16deg); }
.region-line.two { left: 35%; top: 44%; width: 24%; transform: rotate(43deg); }
.hero-panel, .quick-panel, .map-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-panel img, .fiche-grid img, .card-media {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(249, 115, 22, 0.2)),
    linear-gradient(45deg, #e0f2fe, #fff7ed);
}
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--color-border); }
.stat-grid div { padding: 16px; border-right: 1px solid var(--color-border); }
.stat-grid div:last-child { border-right: 0; }
.stat-grid strong { display: block; font-size: 1.5rem; }
.stat-grid span { color: var(--color-muted); font-size: 0.9rem; }
.search-box { margin-top: 26px; }
.search-box label, .filters label, .contact-form label { display: block; margin-bottom: 8px; font-weight: 750; }
.search-row { display: flex; gap: 10px; }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}
.search-row input { min-height: 56px; font-size: 1rem; }
.suggestions {
  position: relative;
  margin-top: 8px;
  border-radius: var(--radius);
}
.suggestions:not(:empty) {
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  padding: 8px;
}
.suggestions a { display: block; padding: 10px 12px; border-radius: 6px; }
.suggestions a:hover { background: var(--color-soft); }
.popular-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; color: var(--color-muted); font-size: 0.92rem; }
.popular-tags a, .badge-row span, .badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--color-soft);
  color: var(--color-primary-dark);
  font-weight: 750;
  font-size: 0.82rem;
}
.section { padding: 58px 0; }
.tinted { background: rgba(255, 255, 255, 0.52); border-top: 1px solid rgba(228, 228, 231, 0.8); border-bottom: 1px solid rgba(228, 228, 231, 0.8); }
.section-heading { margin-bottom: 24px; }
.section-heading h2, .prose h2, .faq-section h2, .results-heading h2, .quick-panel h2, .filters h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.15; }
.section-heading p { max-width: 760px; color: #3f3f46; }
.location-grid, .cards-grid, .three-columns, .service-grid, .info-grid { display: grid; gap: 18px; }
.location-grid { grid-template-columns: repeat(5, 1fr); }
.cards-grid { grid-template-columns: repeat(3, 1fr); }
.cards-grid.list { grid-template-columns: 1fr; }
.three-columns, .service-grid { grid-template-columns: repeat(3, 1fr); }
.info-grid { grid-template-columns: repeat(4, 1fr); }
.location-card a, .card, .three-columns article, .service-grid article, .info-grid div {
  display: block;
  height: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(24, 24, 27, 0.05);
}
.location-card a, .three-columns article, .service-grid article, .info-grid div { padding: 22px; }
.location-card span, .info-grid span { color: var(--color-muted); font-weight: 750; font-size: 0.88rem; }
.location-card h3, .card h2, .card h3, .three-columns h2, .service-grid h3 { margin: 8px 0 8px; line-height: 1.2; }
.card { overflow: hidden; }
.card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; }
.card-content { padding: 18px; }
.card-content p { color: #3f3f46; }
.meta-list { margin: 14px 0; padding: 0; list-style: none; color: var(--color-muted); font-size: 0.94rem; }
.meta-list li { padding: 3px 0; }
.badge-row { display: flex; gap: 7px; flex-wrap: wrap; }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.text-link { font-weight: 800; color: var(--color-primary-dark); }
.compare-choice { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--color-muted); }
.compare-choice input { width: auto; min-height: auto; }
.need-list { display: grid; gap: 12px; }
.need-list a {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-weight: 800;
}
.map-band { background: #0f172a; color: #fff; }
.map-band p, .map-band .eyebrow { color: #dbeafe; }
.map-card { min-height: 280px; padding: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; background: #111827; border-color: rgba(255,255,255,0.12); }
.map-card span { display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius); color: #fff; font-weight: 800; background: rgba(255,255,255,0.06); }
.paris-map-section { background: #fff; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.paris-map-grid { display: grid; grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr); gap: 28px; align-items: stretch; }
.paris-map-card {
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #f8fafc, #eef2ff);
  box-shadow: var(--shadow-soft);
}
.paris-map-shape {
  position: relative;
  min-height: 420px;
  border-radius: 42% 46% 38% 44%;
  background:
    radial-gradient(circle at 48% 45%, rgba(37, 99, 235, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(249, 115, 22, 0.16)),
    #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.16);
  overflow: hidden;
}
.paris-map-shape::before,
.paris-map-shape::after {
  content: "";
  position: absolute;
  inset: 18% 8%;
  border-top: 2px dashed rgba(37, 99, 235, 0.22);
  transform: rotate(-18deg);
}
.paris-map-shape::after {
  inset: 12% 18%;
  transform: rotate(28deg);
  border-color: rgba(249, 115, 22, 0.26);
}
.map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
  font-size: 0.74rem;
  font-weight: 900;
}
.map-pin:hover { background: var(--color-primary-dark); color: #fff; transform: translate(-50%, -50%) scale(1.05); }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.map-legend span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  font-weight: 800;
  font-size: 0.82rem;
}
.paris-map-copy {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}
.paris-map-copy h3 { margin-top: 0; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.12; }
.transport-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.transport-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--color-soft);
  color: var(--color-primary-dark);
  font-weight: 850;
}
.arrondissement-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.arrondissement-link-grid article a {
  display: grid;
  gap: 6px;
  height: 100%;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
}
.arrondissement-link-grid strong { color: var(--color-text); }
.arrondissement-link-grid span { color: var(--color-muted); font-size: 0.9rem; }
.paris-decision-section { background: #fff; }
.neighborhood-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.neighborhood-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.neighborhood-table th,
.neighborhood-table td { padding: 16px; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.neighborhood-table th { background: var(--color-soft); color: var(--color-text); font-weight: 900; }
.neighborhood-table tr:last-child td { border-bottom: 0; }
.paris-pricing-section { background: #f8fafc; }
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr); gap: 28px; align-items: start; }
.price-cards { display: grid; gap: 14px; }
.price-cards article {
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}
.price-cards span { color: var(--color-muted); font-weight: 850; }
.price-cards strong { display: block; margin: 6px 0; font-size: 1.35rem; }
.price-cards p { margin: 0; color: #3f3f46; }
.need-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.need-card-grid article {
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}
.need-card-grid h3 { margin: 0 0 8px; }
.need-card-grid p { color: #3f3f46; }
.need-card-grid div { display: flex; flex-wrap: wrap; gap: 8px; }
.need-card-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--color-soft);
  color: var(--color-primary-dark);
  font-weight: 850;
  font-size: 0.86rem;
}
.prose p { color: #3f3f46; }
.quick-panel { padding: 24px; }
.quick-panel ul { margin: 0; padding-left: 20px; }
.directory-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { position: sticky; top: 92px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.filters select, .filters input { margin-bottom: 14px; }
.filters fieldset { border: 1px solid var(--color-border); border-radius: var(--radius); margin: 0 0 16px; padding: 12px; }
.filters legend { font-weight: 800; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.check input { width: auto; min-height: auto; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 18px; color: var(--color-muted); font-size: 0.92rem; }
.breadcrumb a { color: var(--color-primary-dark); font-weight: 700; }
.faq-list { display: grid; gap: 10px; }
details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 16px 18px; }
summary { cursor: pointer; font-weight: 850; }
details p { color: #3f3f46; margin-bottom: 0; }
.cta-band { background: var(--color-primary); color: #fff; }
.cta-band p, .cta-band .eyebrow { color: #dbeafe; }
.cta-band .button { justify-self: end; align-self: center; }
.fiche-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.contact-form input, .contact-form textarea { margin-bottom: 14px; }
.site-footer { padding: 48px 0; background: #18181b; color: #e4e4e7; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.footer-grid h2 { font-size: 1rem; margin: 0 0 12px; color: #fff; }
.footer-grid a { display: block; color: #e4e4e7; margin: 8px 0; }
.footer-brand { color: #fff; }
.compare-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(980px, calc(100% - 24px));
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  z-index: 30;
}
.compare-bar[hidden] { display: none; }
[data-compare-items] { display: flex; gap: 8px; flex-wrap: wrap; color: var(--color-muted); font-size: 0.9rem; }
.is-hidden { display: none !important; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 800;
  cursor: pointer;
  font: inherit;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--color-text); border-color: var(--color-border); }
.directory-search { padding: 62px 0; }
.directory-search .container > h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.08; }
.section-intro { max-width: 760px; color: #3f3f46; }
.search-panel {
  margin: 24px 0 18px;
  padding: 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.search-panel label { display: block; margin-bottom: 8px; font-weight: 800; }
.popular-searches { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; color: var(--color-muted); }
.popular-searches a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--color-soft);
  color: var(--color-primary-dark);
  font-weight: 800;
}
.filters-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 14px;
  align-items: end;
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.form-group label { display: block; margin-bottom: 7px; font-weight: 800; }
.filters-grid select.is-active,
.filters-grid input.is-active,
.search-panel input.is-active { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }
.services-filter {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.services-filter legend { padding: 0 6px; font-weight: 850; }
.filter-chip input { position: absolute; opacity: 0; pointer-events: none; }
.filter-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  font-weight: 750;
}
.filter-chip.is-active span { border-color: var(--color-primary); background: var(--color-soft); color: var(--color-primary-dark); }
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0;
}
.results-header p { margin: 0; font-weight: 900; font-size: 1.08rem; }
.coworking-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-topline { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 10px; }
.rating-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 850;
  font-size: 0.82rem;
}
.empty-results {
  padding: 22px;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-muted);
  font-weight: 750;
}
.compare-button.is-selected { background: var(--color-soft); border-color: var(--color-primary); color: var(--color-primary-dark); }
.compare-message { min-width: 220px; margin: 0; color: var(--color-primary-dark); font-weight: 800; }
.comparator-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.56);
}
.comparator-modal[hidden] { display: none; }
.comparator-dialog {
  width: min(1080px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}
.modal-close { float: right; min-height: 40px; padding: 0 14px; border-radius: var(--radius-md); border: 1px solid var(--color-border); background: #fff; font-weight: 800; cursor: pointer; }
#comparisonTableWrapper { overflow-x: auto; margin-top: 18px; }
.comparison-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 14px; border: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.comparison-table th { background: var(--color-soft); font-weight: 900; }
.comparison-table td:first-child { font-weight: 900; color: var(--color-text); background: #fafafa; }
.compare-badge { display: inline-flex; margin-top: 6px; padding: 3px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 900; }
.compare-badge.price { background: #dcfce7; color: #166534; }
.compare-badge.rating { background: #fef3c7; color: #92400e; }
.lead-section { padding: 64px 0; }
.lead-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 34px;
  align-items: start;
  padding: 30px;
  background: linear-gradient(135deg, #fff, #eef2ff);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.lead-content h2 { margin: 0 0 12px; font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.1; }
.lead-content p { color: #3f3f46; }
.lead-form { padding: 22px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.lead-form .form-group { margin-bottom: 14px; }
.error-message { display: block; min-height: 18px; margin-top: 5px; color: #b91c1c; font-size: 0.86rem; font-weight: 700; }
.form-consent { margin: 12px 0 18px; }
.form-consent label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-weight: 650; }
.form-consent input { width: 18px; height: 18px; min-height: auto; margin-top: 4px; flex: 0 0 auto; }
.form-consent .error-message { padding-left: 28px; }
.form-status { margin: 12px 0 0; color: var(--color-green); font-weight: 850; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1); }
:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.35); outline-offset: 3px; }
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px; }
  .hero-grid, .hero-shell, .fiche-grid, .split, .form-grid, .directory-grid, .paris-home-grid { grid-template-columns: 1fr; }
  .location-grid, .cards-grid, .coworking-grid, .three-columns, .service-grid, .info-grid, .footer-grid, .paris-map-grid, .pricing-grid, .need-card-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid, .pathway-grid, .home-district-grid { grid-template-columns: 1fr 1fr; }
  .arrondissement-link-grid { grid-template-columns: repeat(2, 1fr); }
  .filters-grid, .lead-card { grid-template-columns: 1fr 1fr; }
  .filters { position: static; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1120px); }
  .hero, .page-hero { padding: 42px 0 34px; }
  .home-hero { padding-top: 44px; }
  .hero h1, .page-hero h1 { font-size: 2.35rem; line-height: 1.03; }
  .search-row, .compare-bar { flex-direction: column; align-items: stretch; }
  .location-grid, .cards-grid, .coworking-grid, .filters-grid, .lead-card, .form-grid, .three-columns, .service-grid, .info-grid, .footer-grid, .stat-grid, .paris-map-grid, .arrondissement-link-grid, .pricing-grid, .need-card-grid, .proof-grid, .pathway-grid, .home-district-grid { grid-template-columns: 1fr; }
  .stat-grid div { border-right: 0; border-bottom: 1px solid var(--color-border); }
  .cta-band .button { justify-self: stretch; }
  .search-panel, .filters-grid, .lead-card, .lead-form { padding: 16px; border-radius: var(--radius-md); }
  .results-header { align-items: stretch; flex-direction: column; }
  .paris-map-shape { min-height: 320px; }
  .map-pin { width: 36px; height: 36px; font-size: 0.68rem; }
  .hero-visual { min-height: 500px; }
  .hero-visual > img { height: 500px; }
  .hero-locator, .hero-score-card { left: 14px; right: 14px; width: auto; }
  .hero-score-card { bottom: 154px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stats div { padding: 12px 8px; }
  .hero-stats strong { font-size: 1.15rem; }
  .hero-stats span { font-size: 0.75rem; }
  .home-region-map { min-height: 300px; }
  .region-node { min-width: 78px; min-height: 40px; font-size: 0.86rem; }
}
