:root {
  --bg-main: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F2ECE4;
  --bg-dark: #18181B;
  --text-main: #18181B;
  --text-secondary: #52525B;
  --text-muted: #71717A;
  --accent: #C85A32;
  --accent-hover: #A94622;
  --accent-soft: #FDF3EF;
  --green-rge: #15803D;
  --green-soft: #DCFCE7;
  --amber-warn: #B45309;
  --amber-soft: #FEF3C7;
  --border: #E4DFD7;
  --border-strong: #CFC7BC;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-card: 0 12px 32px -8px rgba(24, 24, 27, 0.08), 0 2px 6px -1px rgba(24, 24, 27, 0.04);
  --font-title: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

[id] {
  scroll-margin-top: 88px;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 90;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  background: var(--bg-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 3px solid var(--accent);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-name span {
  color: var(--accent);
}

.header-cta .cta-mobile {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--accent);
}

.header-cta {
  background: var(--bg-dark);
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-title);
  transition: background 0.15s;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--accent);
}

.breadcrumb-bar {
  padding: 14px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  gap: 8px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.breadcrumb-list::-webkit-scrollbar {
  display: none;
}

.breadcrumb-list > * {
  flex-shrink: 0;
}

.bc-home-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.bc-home-icon {
  flex-shrink: 0;
}

.breadcrumb-bar a {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumb-bar a:hover {
  text-decoration: underline;
  color: var(--accent);
}

.page-two-col {
  display: grid;
  grid-template-columns: 1fr 445px;
  gap: 36px;
  align-items: start;
  padding: 22px 0 64px;
}

.page-main-col {
  min-width: 0;
}

.page-sticky-col {
  position: sticky;
  top: 86px;
  align-self: start;
}

.local-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.local-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

h1.hero-title {
  font-family: var(--font-title);
  font-size: clamp(20px, 2.15vw, 26px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 16px;
}

.answer-first-box {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.answer-first-title {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 8px;
}

.answer-first-text {
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.55;
  margin-bottom: 12px;
}

.answer-first-text a,
.section-lead a,
.legal-card p a,
.pathology-card p a,
.faq-item p a,
.content-section > p a,
main p a:not(.btn-primary):not(.cerfa-link-btn):not(.counter-cta-link):not([href^="mailto:"]),
main li a:not(.toc-link):not([href^="mailto:"]) {
  color: var(--text-main);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(200, 90, 50, 0.45);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.answer-first-text a:hover,
.section-lead a:hover,
.legal-card p a:hover,
.pathology-card p a:hover,
.faq-item p a:hover,
.content-section > p a:hover,
main p a:not(.btn-primary):not(.cerfa-link-btn):not(.counter-cta-link):not([href^="mailto:"]):hover,
main li a:not(.toc-link):not([href^="mailto:"]):hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.answer-first-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-size: 13px;
}

.answer-first-list li strong {
  color: var(--text-main);
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.jump-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.15s;
}

.jump-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.local-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.bento-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bento-value {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.35;
}

.bento-value.mono {
  font-family: var(--font-mono);
  font-size: 13px;
}

.sector-counter {
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.counter-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pulse-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-rge);
  box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.2);
  flex-shrink: 0;
}

.counter-text {
  font-size: 13.5px;
  color: var(--text-main);
}

.counter-text strong {
  font-weight: 700;
}

.counter-cta-link {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background 0.15s;
}

.counter-cta-link:hover {
  background: var(--accent-hover);
}

.funnel-card {
  background: var(--bg-card);
  border: 2px solid var(--text-main);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.funnel-header {
  background: var(--bg-dark);
  color: #fff;
  padding: 16px 20px;
  border-bottom: 3px solid var(--accent);
}

.funnel-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.funnel-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #FDBA74;
  font-weight: 600;
}

.funnel-step-indicator {
  font-family: var(--font-mono);
  font-size: 11.5px;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
}

.funnel-title {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.progress-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  margin-top: 12px;
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 25%;
  background: var(--accent);
  transition: width 0.3s ease;
}

.funnel-body {
  padding: 18px 20px;
}

.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
}

.step-question {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.choice-btn {
  background: var(--bg-main);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 10px 10px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.choice-btn.full-span {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
}

.choice-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.choice-btn.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent);
}

.choice-icon {
  font-size: 16px;
  line-height: 1;
}

.choice-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.choice-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.range-box {
  background: var(--bg-main);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.range-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.range-val {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}

.field-group {
  margin-bottom: 11px;
}

.field-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.field-input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  background: #fff;
}

.field-input:focus {
  outline: none;
  border-color: var(--accent);
}

.btn-primary {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  font-family: var(--font-title);
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  text-decoration: underline;
}

.funnel-footer {
  background: var(--bg-subtle);
  padding: 11px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-secondary);
}

.content-section {
  padding: 36px 0;
  border-top: 1px solid var(--border);
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text-main);
}

.section-lead {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.price-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

table.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

table.price-table th {
  background: var(--bg-dark);
  color: #fff;
  font-family: var(--font-title);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 14px;
}

table.price-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  vertical-align: middle;
}

table.price-table tr:last-child td {
  border-bottom: none;
}

table.price-table tr:hover td {
  background: var(--bg-main);
}

.price-badge {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-main);
  background: var(--bg-subtle);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
}

.dtu-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
  padding: 2px 6px;
  border-radius: 4px;
  background: #fff;
  display: inline-block;
}

.table-note {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--bg-subtle);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
}

.norm-legend-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.norm-legend-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.norm-legend-card strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-title);
}

.observed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.observed-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.observed-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 8px;
}

.observed-type {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
}

.observed-quartier {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--bg-subtle);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-secondary);
}

.observed-price {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin: 8px 0 4px;
}

.observed-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 8px;
  margin-top: 6px;
}

.quartiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.quartier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.quartier-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  background: var(--accent-soft);
  color: var(--accent);
}

.quartier-title {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-main);
}

.quartier-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.pathology-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 12px;
}

.pathology-card h3 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.pathology-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.pathology-meta {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber-warn);
  background: var(--amber-soft);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.tech-diagram-card {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-top: 20px;
}

.tech-diagram-card h3 {
  font-family: var(--font-title);
  font-size: 16px;
  margin-bottom: 6px;
  color: #fff;
}

.tech-diagram-card p {
  font-size: 12.5px;
  color: #A1A1AA;
  margin-bottom: 14px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.legal-card h3 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.legal-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.cerfa-checklist {
  background: var(--bg-card);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 20px;
}

.cerfa-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.cerfa-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s;
}

.cerfa-link-btn:hover {
  background: var(--accent);
  color: #fff;
}

.cerfa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.cerfa-item {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font-size: 13px;
}

.cerfa-code {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
  font-size: 12px;
  display: block;
  margin-bottom: 2px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

details.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 15px 18px;
}

details.faq-item summary {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-q-text {
  flex: 1;
  text-align: left;
  line-height: 1.4;
}

.faq-toggle-icon {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

details.faq-item p {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
}

.mesh-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mesh-link {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.mesh-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.mesh-link-title {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mesh-link-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.mesh-zip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}

.mesh-link:hover .mesh-zip {
  color: var(--accent);
}

.sources-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.sources-box strong {
  color: var(--text-main);
}

.sources-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  list-style: none;
}

.sources-list li {
  background: #fff;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
}

footer.site-footer {
  background: var(--bg-dark);
  color: #A1A1AA;
  padding: 48px 0 90px;
  font-size: 13.5px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-title {
  color: #fff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #A1A1AA;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.mobile-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-top: 2px solid var(--text-main);
  padding: 10px 14px;
  z-index: 95;
  box-shadow: 0 -8px 24px rgba(24, 24, 27, 0.14);
}

.mobile-dock-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}

.mobile-dock-info {
  min-width: 0;
  flex: 1;
}

.mobile-dock-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--text-main);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-dock-sub {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.25;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(200, 90, 50, 0.25);
}

@media (max-width: 1024px) {
  .page-two-col {
    grid-template-columns: 1fr;
  }
  .page-sticky-col {
    position: static;
    order: -1;
    margin-bottom: 24px;
  }
  .observed-grid,
  .quartiers-grid,
  .legal-grid,
  .cerfa-grid,
  .mesh-grid,
  .norm-legend-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mobile-dock {
    display: block;
  }
}

@media (max-width: 600px) {
  .local-bento,
  .answer-first-list,
  .footer-grid,
  .toc-list {
    grid-template-columns: 1fr;
  }
  .sector-counter {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-search-form {
    flex-direction: column;
  }
  .hero-search-input-box {
    width: 100%;
  }
  .hero-search-btn {
    width: 100%;
    justify-content: center;
  }
}

.toc-box {
  background: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 22px;
  box-shadow: 0 2px 8px rgba(24, 24, 27, 0.04);
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.toc-title {
  font-family: var(--font-title);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-main);
}

.toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 18px;
  margin: 0;
  padding: 0;
}

.toc-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 5px;
  transition: all 0.15s ease;
}

.toc-link:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.toc-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-search-wrap {
  position: relative;
  margin: 14px 0 22px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: 0 10px 28px -8px rgba(24, 24, 27, 0.08);
  z-index: 60;
}

.hero-search-label {
  display: block;
  font-family: var(--font-title);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.hero-search-form {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.hero-search-input-box {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  background: #FAF8F5;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.hero-search-input-box:focus-within {
  border-color: var(--accent);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(200, 90, 50, 0.12);
}

.hero-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-search-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 14.5px;
  font-family: var(--font-body);
  color: var(--text-main);
  padding: 11px 4px;
  background: transparent;
}

.hero-search-btn {
  background: var(--accent);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 22px;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.hero-search-btn:hover {
  background: var(--accent-hover);
}

.hero-search-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 2px 0;
  border-top: 1px dashed var(--border);
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.hero-search-footer a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.hero-search-footer a:hover {
  text-decoration: underline;
}

#hero-search-results {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: -1.5px;
  right: -1.5px;
  background-color: #FFFFFF !important;
  border: 2px solid var(--text-main);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px rgba(24, 24, 27, 0.24);
  z-index: 999;
  max-height: 320px;
  overflow-y: auto;
}

.geo-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  text-decoration: none;
  color: var(--text-main);
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.12s ease;
}

.geo-result-item:last-child {
  border-bottom: none;
}

.geo-result-item:hover {
  background-color: var(--accent-soft);
  color: var(--accent);
}

.geo-result-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg-subtle);
  padding: 3px 8px;
  border-radius: 4px;
}

.quote-widget {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(200, 90, 50, 0.22), 0 0 0 3px rgba(200, 90, 50, 0.1);
  overflow: hidden;
}

.widget-header {
  background: var(--bg-dark);
  color: #FFFFFF;
  padding: 13px 18px;
  text-align: center;
  border-bottom: 3px solid var(--accent);
}

.widget-title {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 3px;
}

.widget-subtitle {
  font-size: 12px;
  color: #D4D4D8;
  margin-bottom: 0;
  line-height: 1.3;
}

.widget-body {
  padding: 13px 16px;
}

.form-steps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 11px;
  padding: 7px 11px;
  background: #FAF8F5;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
}

.form-step-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.form-step-pill.is-active {
  color: var(--accent);
}

.form-step-pill.is-completed {
  color: var(--green-rge);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #D4D4D8;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.form-step-pill.is-active .step-badge {
  background: var(--accent);
  color: #FFFFFF;
}

.form-step-pill.is-completed .step-badge {
  background: var(--green-rge);
  color: #FFFFFF;
}

.step-arrow-divider {
  flex: 1;
  height: 2px;
  background: var(--border);
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.form-field {
  margin-bottom: 9px;
}

.form-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 3px;
}

.form-input,
.form-select {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid var(--border-strong);
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-main);
  background: #FAF8F5;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

textarea.form-input {
  resize: vertical;
  min-height: 64px;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(200, 90, 50, 0.12);
}

.widget-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.widget-actions .btn-primary {
  padding: 11px 16px;
  font-size: 14px;
}

.widget-actions .btn-back {
  margin-top: 0;
  padding: 8px 12px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 700;
  flex-shrink: 0;
}

.widget-actions .btn-back:hover {
  border-color: var(--text-main);
  color: var(--text-main);
}

.widget-footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding: 9px 14px;
}

.widget-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary);
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
}

.region-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.region-card-title {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.region-cities-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.region-city-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 11px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.15s ease;
}

.region-city-pill:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.region-city-dep {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  background: #FFFFFF;
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.arr-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 6px;
}

.arr-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.arr-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: var(--font-title);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.arr-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.arr-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.arr-tab-count {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 99px;
  background: rgba(24, 24, 27, 0.08);
  color: inherit;
}

.arr-tab.active .arr-tab-count {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.arr-panel {
  display: none;
}

.arr-panel.active {
  display: block;
}

.arr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.arr-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 13px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-main);
  font-size: 12.5px;
  font-weight: 600;
  min-width: 0;
  transition: all 0.15s ease;
}

.arr-card:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.arr-card-title {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.arr-card-cp {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}

.bottom-cta-section {
  margin-top: 32px;
  padding-top: 8px;
}

.bottom-cta-banner {
  display: grid;
  grid-template-columns: 240px 1fr;
  background: var(--bg-dark);
  color: #FFFFFF;
  border: 2px solid var(--text-main);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.bottom-cta-media {
  position: relative;
  min-height: 230px;
  background: #27272A;
  overflow: hidden;
}

.bottom-cta-media img,
.bottom-cta-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bottom-cta-badge-free {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(24, 24, 27, 0.92);
  color: #FFFFFF;
  padding: 5px 11px;
  border-radius: 99px;
  font-family: var(--font-title);
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.bottom-cta-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
}

.bottom-cta-body {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
}

.bottom-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #FDBA74;
  font-weight: 700;
  margin-bottom: 4px;
}

.bottom-cta-title {
  font-family: var(--font-title);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
  line-height: 1.25;
}

.bottom-cta-desc {
  font-size: 13.5px;
  color: #D4D4D8;
  line-height: 1.5;
  margin-bottom: 14px;
}

.bottom-cta-checks {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 16px;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  font-size: 12.5px;
  color: #E4E4E7;
  font-weight: 600;
}

.bottom-cta-checks li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bottom-cta-check-icon {
  color: #FDBA74;
  font-weight: 800;
}

.bottom-cta-actions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.bottom-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 800;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.bottom-cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.bottom-cta-subnote {
  font-size: 11.5px;
  color: #A1A1AA;
  font-weight: 600;
}

@media (max-width: 900px) {
  .arr-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bottom-cta-banner {
    grid-template-columns: 1fr;
  }
  .bottom-cta-media {
    min-height: 190px;
    max-height: 210px;
  }
}

@media (max-width: 640px) {
  .bc-home-text {
    display: none;
  }
  .header-cta .cta-desktop {
    display: none;
  }
  .header-cta .cta-mobile {
    display: inline;
  }
  .brand-name {
    font-size: 21px;
  }
  .arr-grid,
  .bottom-cta-checks,
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

.alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 24px;
  padding: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
}

.alpha-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.15s;
}

.alpha-pill:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.alpha-section {
  margin-bottom: 28px;
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.alpha-letter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--text-main);
  padding-bottom: 6px;
  margin-bottom: 14px;
}

.alpha-letter-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}

.alpha-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-social-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #E4E4E7;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.footer-social-circle:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  transform: translateY(-2px);
}
