:root {
    /* ─── Surfaces ──────────────────────────────────────────────── */
    --paper: #fcfbfa;
    --paper-soft: #faf9f5;
    --surface: #ffffff;
    --surface-strong: #eae4de;
    --surface-promo: #eae4de;

    /* ─── Text ──────────────────────────────────────────────────── */
    --ink: #212121;
    --ink-deep: #1e1c1a;
    --muted: #585858;
    --muted-alt: #989898;
    --text-dark: #444444;

    /* ─── Borders ───────────────────────────────────────────────── */
    --line: #dedede;
    --line-strong: #000000;

    /* ─── Accent ────────────────────────────────────────────────── */
    --accent: #f16411;
    --accent-deep: #f16411;
    --accent-soft: rgba(249, 115, 22, 0.14);

    /* ─── State ─────────────────────────────────────────────────── */
    --success: #1a7a4a;
    --warning: #a55f20;
    --danger: rgb(225, 0, 58);

    /* ─── Shadows ───────────────────────────────────────────────── */
    --shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.05), 0 0 0 1px var(--line);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.05), 0 0 0 1px var(--line);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.09), 0 0 0 1px #acacac;

    /* ─── Geometry ──────────────────────────────────────────────── */
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --radius-pill: 999px;
    --content-max: 1260px;

    /* ─── Fonts ─────────────────────────────────────────────────── */
    --font-display: "Funnel Display", system-ui, sans-serif;
    --font-body: "LINE Seed JP", system-ui, sans-serif;

    /* ─── Brand (overridable per vertical via inline :root) ─────── */
    --brand-h: 142;
    --brand-c: hsl(var(--brand-h) 50% 34%);
    --brand-cl: hsl(var(--brand-h) 52% 48%);
    --brand-cs: hsl(var(--brand-h) 50% 34% / 0.28);
}

/* line-seed-jp-100 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "LINE Seed JP";
    font-style: normal;
    font-weight: 100;
    src: url("https://cdn.pompesachaleur.net/line-seed-jp-v1-latin-100.woff2")
        format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* line-seed-jp-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "LINE Seed JP";
    font-style: normal;
    font-weight: 400;
    src: url("https://cdn.pompesachaleur.net/line-seed-jp-v1-latin-regular.woff2")
        format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* line-seed-jp-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "LINE Seed JP";
    font-style: normal;
    font-weight: 700;
    src: url("https://cdn.pompesachaleur.net/line-seed-jp-v1-latin-700.woff2")
        format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* line-seed-jp-800 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "LINE Seed JP";
    font-style: normal;
    font-weight: 800;
    src: url("https://cdn.pompesachaleur.net/line-seed-jp-v1-latin-800.woff2")
        format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ─── Reset ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
}

img {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select {
    font: inherit;
}
button {
    cursor: pointer;
}

/* ─── Shell ──────────────────────────────────────────────────── */
.shell {
    width: min(var(--content-max), calc(100% - 2rem));
    margin: 0 auto;
}

/* ─── Header ─────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    height: 64px;
}

.shell-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 64px;
}

/* ─── Brand ──────────────────────────────────────────────────── */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
    line-height: 1;
}

.brand-mark {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(
        145deg,
        var(--brand-c) 0%,
        var(--brand-cl) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.1),
        0 4px 10px var(--brand-cs);
    color: var(--surface);
}

.brand-mark::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    pointer-events: none;
}

.brand-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-wordmark {
    display: flex;
    align-items: baseline;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
    line-height: 1;
    font-family: var(--font-display);
}

.brand-accent {
    font-weight: 800;
    color: var(--brand-c);
}

.brand-core {
    font-weight: 800;
    color: var(--ink-deep);
}

.brand-footer .brand-core {
    color: rgba(255, 255, 255, 0.85);
}

.brand-footer .brand-accent {
    color: hsl(var(--brand-h) 60% 65%);
}

/* ─── Utility ────────────────────────────────────────────────── */
@media (min-width: 768px) {
    .mobile-only {
        display: none !important;
    }
}

.hero-promo-mobile {
    display: block;
    margin-top: 0.75rem;
}

.hero-promo-mobile .hero-promo-img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.affiliate-cta {
    text-decoration: none;
    font-weight: 600;
}

/* ─── Nav ────────────────────────────────────────────────────── */
.site-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav a,
.site-nav button {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 400;
    padding: 0.35rem 0.6rem;
    background: none;
    border: 0;
    transition: color 0.1s;
}

.site-nav a:hover,
.site-nav button:hover {
    color: #000000;
}

/* ─── Hero sections ──────────────────────────────────────────── */
.hero,
.page-context {
    padding: 4rem 0 2.5rem;
}

.hero-grid,
.page-context-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(50%, 1fr) minmax(290px, 1fr);
    align-items: start;
}

/* ─── Hero copy block / panels ───────────────────────────────── */
.hero-copy-block,
.atlas-panel,
.filter-rail,
.lead-drawer-card,
.map-panel,
.profile-panel,
.guide-card,
.compare-modal-card,
.search-results,
.page-context-copy,
.profile-section,
.empty-state {
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: none;
}

.hero-copy-block,
.page-context-copy {
    padding: 2rem;
    border-radius: var(--radius-xl);
}

/* ─── Atlas label (micro uppercase) ─────────────────────────── */
.atlas-label {
    margin: 0;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* ─── Typography ─────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0;
}

h1 {
    /*! max-width: 14ch; */
    font-size: clamp(2.2rem, 5.5vw, 4.4rem);
    font-weight: 700;
    color: #000000;
}

.page-context-copy h1 {
    /*! max-width: 16ch; */
    font-size: clamp(1.9rem, 4.5vw, 3.4rem);
}

.hero-copy,
.page-context-copy p {
    /*! max-width: 64ch; */
    margin: 1rem 0 0;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

/* ─── Panels ─────────────────────────────────────────────────── */
.hero-panel,
.map-panel,
.profile-panel,
.filter-rail,
.profile-section,
.empty-state {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
}

.hero-panel h2,
.map-panel h2,
.profile-panel h2,
.profile-section h2 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

.panel-metrics,
.summary-stack,
.lead-benefits,
.profile-facts {
    display: grid;
    gap: 0.75rem;
}

/* ─── Chips / metric chips ───────────────────────────────────── */
.metric-chip,
.summary-chip,
.signal-chip,
.fact-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    max-width: 100%;
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-sm);
    background: var(--paper);
    color: var(--ink-deep);
    font-size: 0.83rem;
    font-weight: 500;
    border: 1px solid var(--line);
}

.panel-metrics .metric-chip,
.summary-stack .metric-chip {
    width: 100%;
    justify-content: space-between;
    background: #ffffff;
}

/* Stats strip — 4-column layout */
.toned-block .panel-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.toned-block .panel-metrics .metric-chip {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 1.2rem;
}

/* ─── Search panel ───────────────────────────────────────────── */
.search-panel {
    margin-top: 1.4rem;
}

.search-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 600;
}

.search-input-row {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.search-input-row input,
.filter-search,
.filter-select {
    width: 100%;
    min-width: 0;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    border: 1px solid var(--line);
    border-right: none;
    background: #ffffff;
    color: var(--ink);
    padding: 0 1rem;
    height: 40px;
    font-size: 0.875rem;
}

.search-input-row input:focus,
.filter-search:focus,
.filter-select:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

.search-input-row input::placeholder {
    color: var(--muted-alt);
}

.search-hint,
.why-line,
.footer-meta,
.source-note,
.profile-section p,
.profile-section li,
.map-panel p,
.hero-panel p,
.empty-state p {
    color: var(--muted);
}

.search-hint {
    font-size: 0.78rem;
    margin-top: 0.5rem;
}

.search-results {
    margin-top: 0.6rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.search-results[hidden] {
    display: none;
}

.search-result-link {
    display: grid;
    gap: 0.08rem;
    padding: 0.8rem 1rem;
    border-top: 1px solid var(--line);
}

.search-result-link:first-child {
    border-top: 0;
}
.search-result-link:hover {
    background: var(--accent-soft);
}

.search-result-type {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.search-result-label {
    font-size: 0.93rem;
    font-weight: 600;
}
.search-result-subtitle {
    color: var(--muted);
    font-size: 0.8rem;
}

/* ─── Section scaffolding ────────────────────────────────────── */
.section-block {
    padding: 1.5rem 0 0;
}
.toned-block {
    padding: 2rem 0;
    background: var(--paper-soft);
}

.section-heading {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.section-heading h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #000000;
}

.section-heading p:last-child {
    max-width: 58ch;
    margin: 0;
    color: var(--text-dark);
}

.section-heading-inline {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.85fr);
    align-items: end;
}

/* ─── Cloud tags (cities / departments) ─────────────────────── */
.cities-cloud,
.departements-cloud,
.footer-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.city-cloud-tag,
.departement-cloud-tag,
.footer-city-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--ink-deep);
    font-size: 0.8rem;
    font-weight: 500;
    transition:
        background 0.12s ease,
        border-color 0.12s ease;
}

.city-cloud-tag:hover,
.departement-cloud-tag:hover,
.footer-city-link:hover {
    background: var(--accent);
    border-color: var(--accent-deep);
    color: #000000;
}

.city-cloud-tag span,
.departement-cloud-tag span {
    color: var(--muted-alt);
    font-size: 0.72rem;
}

/* ─── Feature / step / guide / trust grids ───────────────────── */
.principles-grid,
.steps-grid,
.guide-grid,
.trust-grid {
    display: grid;
    gap: 1rem;
}

.principles-grid,
.steps-grid,
.guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.principle-card,
.step-card,
.guide-card,
.trust-card {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: #ffffff;
    transition: border-color 0.12s ease;
}

.principle-card:hover,
.step-card:hover,
.guide-card:hover,
.trust-card:hover {
    border-color: #acacac;
}

.principle-card h3,
.step-card h3,
.guide-card h3,
.trust-card h3,
.business-heading h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: #000000;
}

.principle-card p,
.step-card p,
.guide-card p,
.trust-card p {
    font-size: 0.875rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

.step-index {
    display: inline-flex;
    margin-bottom: 0.8rem;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ─── Directory shell ────────────────────────────────────────── */
.directory-shell {
    padding: 0 0 2rem;
}

.breadcrumbs {
    padding: 1rem 0 0;
    color: var(--muted);
    font-size: 0.83rem;
}
.breadcrumbs a {
    color: #000000;
    font-weight: 600;
}

/* ─── Hero actions row ───────────────────────────────────────── */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: var(--radius-md);
    padding: 8px 16px;
    height: 40px;
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    transition:
        background 0.12s ease,
        color 0.12s ease,
        border-color 0.12s ease;
}

.button-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}
.button-primary:hover {
    background: var(--accent-deep);
    border-color: var(--accent-deep);
}

.button-primary-lg {
    padding: 12px 24px;
    height: auto;
    font-size: 0.9rem;
}

.button-secondary {
    background: #ffffff;
    border-color: #000000;
    color: #000000;
}
.button-secondary:hover {
    background: #000000;
    color: #ffffff;
}

.button-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--muted);
}
.button-ghost:hover {
    border-color: #acacac;
    color: var(--ink);
    background: var(--paper);
}

.button-dark {
    background: #444444;
    border-color: #444444;
    color: #ffffff;
}
.button-dark:hover {
    background: #000000;
    border-color: #000000;
}

/* ─── Filter rail ────────────────────────────────────────────── */
.filter-rail {
    position: sticky;
    top: 64px;
    z-index: 25;
    margin-top: 1.25rem;
}

.filter-rail-grid {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: minmax(0, 1.6fr) minmax(180px, 0.6fr);
}

.filter-stack {
    display: grid;
    gap: 0.65rem;
}

.filter-row,
.toggle-row,
.active-filters,
.results-head,
.lead-actions,
.business-footer,
.business-topline {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

/* ─── Toggle/category pills ──────────────────────────────────── */
.toggle-pill,
.category-pill,
.active-filter-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    padding: 6px 12px;
    height: 32px;
    background: #ffffff;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 600;
    transition:
        background 0.1s ease,
        border-color 0.1s ease;
}

.toggle-pill:hover,
.category-pill:hover {
    border-color: #999;
    background: var(--paper);
}

.toggle-pill:focus-visible,
.category-pill:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.toggle-pill[aria-pressed="true"],
.category-pill.is-active,
.active-filter-pill {
    color: #000000;
    border-color: var(--accent-deep);
    background: var(--accent);
}

/* ─── Directory layout ───────────────────────────────────────── */
.directory-layout,
.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.85fr);
    gap: 1.2rem;
    align-items: start;
    margin-top: 1rem;
}

.results-column,
.map-column,
.profile-column,
.sidebar-column {
    min-width: 0;
}

.results-head {
    justify-content: space-between;
    padding: 0.2rem 0 0.7rem;
}

.results-head h2 {
    font-size: 1.5rem;
}
.results-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.65rem;
}

/* ─── Business list & card ───────────────────────────────────── */
.business-list,
.profile-sections {
    display: grid;
    gap: 0.65rem;
}

.business-card {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: start;
    padding: 1rem;
    border: none;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition:
        box-shadow 0.15s ease,
        transform 0.15s ease;
}

.business-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
}
.business-card.is-hidden {
    display: none;
}
.business-card.is-selected {
    box-shadow:
        0 0 0 2px var(--accent),
        0 4px 16px rgba(0, 0, 0, 0.09);
}

.business-rank {
    display: grid;
    gap: 0.25rem;
    align-content: start;
}

.rank-number {
    color: #000000;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    font-family: var(--font-display);
}

.rank-label {
    color: var(--muted-alt);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.business-main,
.business-heading {
    display: grid;
    gap: 0.3rem;
}

.business-heading a:hover {
    text-decoration: underline;
}

.business-meta {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.82rem;
}

.business-snippet {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.875rem;
    line-height: 1.55;
}

/* ─── Signal row & chips ─────────────────────────────────────── */
.signal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.signal-chip.is-strong {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

.signal-chip.is-soft {
    color: #000000;
    background: var(--accent);
    border-color: var(--accent-deep);
}

/* ─── Button inline variant ──────────────────────────────────── */
.button-inline {
    padding: 6px 12px;
    height: 30px;
    font-size: 0.8rem;
}

/* ─── Map panel ──────────────────────────────────────────────── */
.map-panel {
    position: sticky;
    top: calc(80px);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.map-shell {
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
}

#map,
#profile-map {
    width: 100%;
    min-height: 420px;
}

/* ─── Lead drawer ────────────────────────────────────────────── */
.lead-drawer {
    margin-top: 1rem;
}
.lead-drawer[hidden] {
    display: none;
}

.lead-drawer-card {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    background: var(--accent);
    color: #ffffff;
}

.lead-copy h2 {
    font-size: 1.5rem;
    margin-bottom: 0.55rem;
}

.lead-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lead-benefit {
    padding: 0.65rem 0.8rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: 500;
}

.lead-widget-shell {
    min-width: 0;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid var(--line);
}

/* ─── Guide section ──────────────────────────────────────────── */
.guide-section {
    margin-top: 1rem;
}

.guide-section .guide-grid,
.trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ─── Empty state ────────────────────────────────────────────── */
.empty-state {
    margin-top: 1rem;
    border-style: dashed;
    background: rgba(255, 255, 255, 0.72);
}

/* ─── Profile hero ───────────────────────────────────────────── */
.profile-hero {
    position: relative;
    overflow: hidden;
}

.profile-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.5)),
        var(
            --hero-image,
            linear-gradient(110deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7))
        );
    background-size: cover;
    background-position: center;
}

.profile-hero .shell {
    position: relative;
    z-index: 1;
}

.profile-hero .page-context-copy {
    background: rgba(0, 0, 0, 0);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0);
}

.profile-hero .page-context-copy p,
.profile-hero .page-context-copy .atlas-label,
.profile-hero .page-context-copy .summary-chip {
    color: rgba(255, 255, 255, 0.82);
}

.profile-hero .summary-chip {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.profile-section h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* ─── Info / nearby / notes lists ───────────────────────────── */
.info-list,
.nearby-list,
.notes-list {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.info-list li,
.nearby-list a,
.notes-list li {
    display: block;
    padding: 0.8rem 0.00008rem;
    border-radius: var(--radius-md);
    /*! border: 1px solid var(--line); */
    background: var(--surface);
}

.nearby-list a:hover {
    background: var(--accent-soft);
}

/* ─── Compare bar & modal ────────────────────────────────────── */
.compare-bar {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 45;
    display: none;
    gap: 0.65rem;
    align-items: center;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.compare-bar.is-visible {
    display: flex;
}

.compare-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.55);
}

.compare-modal.is-open {
    display: grid;
    place-items: center;
}

.compare-modal-card {
    width: min(960px, 100%);
    max-height: 88vh;
    overflow: auto;
    padding: 1.25rem;
    border-radius: var(--radius-xl);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.compare-table th,
.compare-table td {
    padding: 0.75rem;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid var(--line);
}

.compare-table th {
    font-size: 0.78rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
}

.compare-close {
    margin-left: auto;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
    margin-top: 3rem;
    padding: 2.5rem 0 1.5rem;
    background: #000000;
    border-top: none;
}

.site-footer .brand-copy strong {
    color: #ffffff;
}
.site-footer .brand-copy span {
    color: rgba(255, 255, 255, 0.79);
}

.footer-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 0.7fr));
    align-items: start;
}

.footer-meta {
    color: #bdbdbd;
    font-size: 0.85rem;
    margin-top: 0.65rem;
}

.footer-links-block {
    display: grid;
    gap: 0.5rem;
}
.footer-links-block .atlas-label {
    color: rgba(255, 255, 255, 0.57);
}

.footer-links-block a {
    color: #fff;
    font-size: 0.86rem;
}
.footer-links-block a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-cities-wrap {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
}

.footer-city-link {
    background: transparent;
    border-color: #e5e5e5;
    color: #e5e5e5;
}
.footer-city-link:hover {
    background: var(--accent);
    border-color: var(--accent-deep);
    color: #000000;
}

.site-footer .footer-meta {
    color: rgba(255, 255, 255, 0.53);
}

/* ─── Leaflet overrides ──────────────────────────────────────── */
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.leaflet-popup-content {
    color: var(--ink);
}

/* ─── Section rule motif ─────────────────────────────────────── */
.section-rule {
    display: block;
    height: 1px;
    background: var(--line);
    margin: 2.5rem 0;
    border: 0;
}

/* ─── Dark hero variant ──────────────────────────────────────── */
.hero-dark {
    background: #000000;
    color: #ffffff;
}

.hero-dark .hero-copy-block,
.hero-dark .page-context-copy {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.hero-dark .hero-copy,
.hero-dark .page-context-copy p,
.hero-dark .search-hint {
    color: rgba(255, 255, 255, 0.62);
}

.hero-dark .atlas-label {
    color: var(--accent);
}
.hero-dark h1,
.hero-dark h2 {
    color: #ffffff;
}

.hero-dark .search-input-row input,
.hero-dark .filter-search {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.hero-dark .search-input-row input::placeholder {
    color: rgba(255, 255, 255, 0.32);
}
.hero-dark .search-input-row input:focus {
    outline-color: var(--accent);
}

.hero-dark .search-results {
    background: rgba(10, 10, 10, 0.97);
    border-color: rgba(255, 255, 255, 0.12);
}

.hero-dark .search-result-link:hover {
    background: rgba(255, 205, 0, 0.1);
}

.hero-dark .button-secondary {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.hero-dark .lead-benefit {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
}

.hero-dark .hero-panel {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.hero-dark .hero-panel p {
    color: rgba(255, 255, 255, 0.65);
}
.hero-dark .hero-panel h2 {
    color: #ffffff;
}

.hero-dark .lead-widget-shell {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
}

/* ─── Stats strip ────────────────────────────────────────────── */
.metric-chip strong {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
}
.metric-chip span {
    font-size: 0.82rem;
}

/* ─── Decision rail ──────────────────────────────────────────── */
.decision-rail {
    position: initial;
    top: 64px;
    z-index: 30;
    width: min(var(--content-max), calc(100% - 2rem));
    margin: 0.75rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.decision-rail-top {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    /*! padding: 0.5rem 1rem; */
    /*! background: #ffffff; */
    /*! border-radius: var(--radius-lg); */
    /*! box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.07),
        0 0 0 1px var(--line); */
}

.decision-rail-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.decision-rail .filter-search {
    width: auto;
    min-width: 180px;
    flex: 1 1 180px;
    padding: 0 0.9rem;
    border-radius: var(--radius-md);
    border-right: 1px solid var(--line);
}

.decision-rail .filter-select {
    width: auto;
    padding: 0 0.9rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    height: 40px;
    flex-shrink: 0;
}

.decision-rail-right {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    flex-wrap: wrap;
    margin-left: auto;
}

.rail-count {
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}
[data-results-count] {
    font-family: var(--font-display);
}

.btn-all-filters {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    background: #111111;
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    height: 36px;
}
.btn-all-filters:hover {
    background: #333333;
}

/* ─── Hero form column ───────────────────────────────────────── */
.hero-form-column {
    min-width: 0;
}

/* ─── Lead sticky trigger (mobile) ──────────────────────────── */
.lead-sticky-trigger {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    align-items: center;
    gap: 0.45rem;
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-md);
    background: var(--accent);
    color: #000000;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.875rem;
    border: 1px solid var(--accent-deep);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background 0.12s ease;
}

.lead-sticky-trigger:hover {
    background: var(--accent-deep);
}

/* ─── Trust legend ───────────────────────────────────────────── */
.trust-legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 1rem 0;
}

.trust-legend-block {
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--surface);
}

.trust-legend-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.trust-legend-label.is-verified {
    color: var(--success);
}
.trust-legend-label.is-estimated {
    color: var(--warning);
}
.trust-legend-items {
    color: var(--muted);
    font-size: 0.82rem;
}

/* ─── Off-vertical badge ─────────────────────────────────────── */
.off-vertical-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: #fff3cd;
    border: 1px solid #e6b800;
    color: #7a5200;
    font-size: 0.72rem;
    font-weight: 600;
}

/* ─── Mobile utility ─────────────────────────────────────────── */
.hide-mobile {
    display: inline-flex;
}

/* ─── Responsive: 1080px ─────────────────────────────────────── */
@media (max-width: 1080px) {
    .hero-grid,
    .page-context-grid,
    .directory-layout,
    .profile-layout,
    .lead-drawer-card,
    .section-heading-inline,
    .guide-section .guide-grid,
    .trust-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .map-panel,
    .profile-panel,
    .filter-rail {
        position: static;
    }

    .lead-benefits,
    .principles-grid,
    .steps-grid,
    .guide-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Fixed CTA button (desktop) ────────────────────────────── */
.fixed-cta-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    background: #111111;
    color: #ffffff;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition:
        background 0.15s ease,
        transform 0.1s ease;
}
.fixed-cta-btn:hover {
    background: #333333;
    transform: translateY(-1px);
}

/* ─── Responsive: 780px ──────────────────────────────────────── */
@media (max-width: 780px) {
    .hero-promo-img {
        display: none !important;
    }
    .shell {
        width: min(var(--content-max), calc(100% - 1rem));
    }

    .shell-header {
        height: auto;
        padding: 0.75rem 0;
    }

    .site-header {
        height: auto;
    }

    /* ── Burger menu overlay ── */
    .site-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        flex-direction: column;
        /*! background: #ffffff; */
        z-index: 39;
        gap: 0;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }
    .site-nav.nav-open {
        display: flex;
    }
    #nav-toggle {
        position: relative;
        z-index: 50;
    }
    .site-nav.nav-open a,
    .site-nav.nav-open button {
        padding: 0.9rem 1.5rem;
        border-bottom: 1px solid var(--line);
        font-size: 1rem;
        width: 100%;
        text-align: left;
        border-radius: 0;
        background: white;
    }
    .site-nav.nav-open a:last-child,
    .site-nav.nav-open button:last-child {
        border-bottom: none;
    }

    .hide-mobile {
        display: none;
    }

    /* ── Hero panel: hide on mobile ── */
    .hero-panel--image,
    .hero-panel--form {
        display: none !important;
    }
    .hero-panel--form.is-visible {
        display: block !important;
    }

    /* ── Fixed CTA: hide on mobile ── */
    .fixed-cta-btn {
        display: none !important;
    }

    /* ── Filters not sticky on mobile ── */
    .decision-rail {
        position: static;
        margin-top: 0.5rem;
    }

    /* ── View toggle: hide on mobile (grid forced) ── */
    .view-toggle {
        display: none !important;
    }

    .hero,
    .page-context {
        padding-top: 2.5rem;
    }

    .hero-copy-block,
    .page-context-copy,
    .hero-panel,
    .filter-rail,
    .profile-section,
    .map-panel,
    .profile-panel,
    .empty-state {
        padding: 1rem;
    }

    h1 {
        max-width: none;
    }

    .search-input-row,
    .hero-actions,
    .business-topline,
    .business-footer,
    .filter-row,
    .lead-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input-row input {
        border-radius: var(--radius-md);
        border-right: 1px solid var(--line);
    }

    .search-input-row .button {
        border-radius: var(--radius-md);
        height: 40px;
    }

    .filter-rail-grid {
        grid-template-columns: 1fr;
    }

    .business-card {
        grid-template-columns: 1fr;
    }

    .business-rank {
        grid-auto-flow: column;
        justify-content: space-between;
        align-items: center;
    }

    #map,
    #profile-map {
        min-height: 300px;
    }

    .compare-bar {
        left: 0.5rem;
        right: 0.5rem;
        bottom: 0.5rem;
        justify-content: space-between;
    }

    .lead-sticky-trigger {
        display: flex;
    }

    .business-card {
        grid-template-columns: 1fr;
    }

    .business-image {
        width: 100%;
        height: 140px;
    }
}

/* ─── Business image ─────────────────────────────────────────── */
.business-image {
    width: 160px;
    height: 120px;
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    background-color: var(--surface-strong);
    flex-shrink: 0;
}

.business-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--surface-strong) 0%, #e8e0d4 100%);
}

.business-image-placeholder::after {
    content: attr(data-initial);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--muted);
    font-family: var(--font-display);
}

/* ─── Business card internals ────────────────────────────────── */
.business-info {
    display: grid;
    gap: 0.5rem;
    min-width: 0;
}

.business-header {
    min-width: 0;
}

.business-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
    font-family: var(--font-display);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.business-category {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.2rem;
}

.business-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink);
}

.business-rating .stars {
    color: var(--accent);
    letter-spacing: 0.04em;
}

.business-description {
    font-size: 0.83rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.business-address {
    display: flex;
    align-items: flex-start;
    gap: 0.3rem;
    font-size: 0.77rem;
    color: var(--muted-alt);
}

.business-address-icon {
    flex-shrink: 0;
    line-height: 1.5;
}

.business-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
    margin-top: 0.5rem;
}

.business-exp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 0.1rem;
    cursor: default;
}

/* ─── Compare button ─────────────────────────────────────────── */
.btn-compare {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        border-color 0.15s,
        color 0.15s,
        background 0.15s;
    height: 30px;
}

.btn-compare:hover {
    border-color: #acacac;
    color: var(--ink);
    background: var(--paper);
}

.btn-compare.is-selected,
.btn-compare[aria-pressed="true"] {
    background: var(--accent);
    border-color: var(--accent-deep);
    color: var(--ink-deep);
}

.btn-compare:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ─── Card status badge ──────────────────────────────────────── */
.card-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 0.35rem;
}

.badge-verified {
    background: #e6f7ed;
    border: 1px solid #a3d9b0;
    color: #1a7a4a;
}

.badge-new {
    background: #e6f0ff;
    border: 1px solid #a3bcf0;
    color: #1a4aaa;
}

/* ─── Card tags row ──────────────────────────────────────────── */
.card-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.card-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 3px 9px;
    border-radius: 5px;
    background: var(--paper);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 500;
    white-space: nowrap;
}

.card-tag-chip.chip-reviews {
    color: #7a5200;
    background: #fff3cd;
    border-color: #e6b800;
}

.card-tag-chip.chip-location {
    color: var(--text-dark);
}

/* ─── Filter pill count badge ────────────────────────────────── */
.pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--ink);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
}

.toggle-pill[aria-pressed="true"] .pill-count,
.category-pill.is-active .pill-count {
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

/* ─── Keyword highlight ──────────────────────────────────────── */
mark.hl {
    background: var(--accent);
    color: var(--ink-deep);
    border-radius: 2px;
    padding: 0 2px;
    font-style: normal;
}

/* ─── Devis button on card ───────────────────────────────────── */
.btn-devis {
    flex: 1;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-sm);
}

/* ─── Results head with view toggle ─────────────────────────── */
.results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.view-toggle {
    display: flex;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.view-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 1rem;
    cursor: pointer;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.view-toggle-btn:hover {
    background: var(--paper);
    color: var(--ink);
}

.view-toggle-btn[aria-pressed="true"] {
    background: var(--accent);
    color: var(--ink-deep);
}

.view-toggle-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ─── Grid view ──────────────────────────────────────────────── */
.business-list.view-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.business-list.view-grid .business-card {
    grid-template-columns: 1fr;
}

.business-list.view-grid .business-image {
    width: 100%;
    height: 160px;
}

/* ─── AI content sections (points forts, real-talk, etc.) ────── */
.section {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: #ffffff;
}

.section-subtitle {
    font-size: 1.05rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
}

.points-forts {
    display: grid;
    gap: 0.5rem;
}

.point-fort {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-dark);
}

.point-fort-icon {
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
}

/* Review summary */
.review-summary {
    /*! padding: 0.85rem; */
    /*! background: var(--paper); */
    /*! border-radius: var(--radius-sm); */
    /*! border: 1px solid var(--line); */
}

.review-summary-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

.review-summary p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-dark);
}

/* Real talk */
.real-talk-card {
    display: grid;
    gap: 0.55rem;
}

.real-talk-block {
    padding: 0.3rem 0;
    /*! border-radius: var(--radius-sm); */
    /*! background: var(--paper); */
    /*! border: 1px solid var(--line); */
}

.real-talk-row {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.84rem;
    flex-wrap: wrap;
}

.real-talk-label {
    font-weight: 600;
    color: var(--ink);
    flex-shrink: 0;
}
.real-talk-text {
    color: var(--text-dark);
}
.real-talk-mentions,
.real-talk-detail {
    color: var(--muted);
    font-size: 0.79rem;
}

.real-talk-score-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.real-talk-score-bar-bg {
    width: 80px;
    height: 6px;
    background: var(--line);
    border-radius: 3px;
    overflow: hidden;
}

.real-talk-score-bar {
    display: block;
    height: 100%;
    border-radius: 3px;
}

/* ─── Sidebar nearby businesses (Autour) ─────────────────────── */
.sidebar-business {
    display: grid;
    gap: 0.2rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
}

.sidebar-business:last-child {
    border-bottom: none;
}

.sidebar-business-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--ink);
    line-height: 1.3;
}

.sidebar-business-name:hover {
    text-decoration: underline;
}

.sidebar-business-cat {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.sidebar-business-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    color: var(--text-dark);
}

.sidebar-business-rating .stars {
    color: var(--accent);
    letter-spacing: -0.05em;
    font-size: 0.75rem;
}

/* ─── Whois years ────────────────────────────────────────────── */
.whois-years {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: var(--paper);
    margin-top: 0.15rem;
}

.whois-years-unknown {
    opacity: 0.6;
}

/* ─── Trust card label ───────────────────────────────────────── */
.trust-card-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin: 0 0 0.25rem;
}

/* ─── Metric chips in hero summary ──────────────────────────── */
.metric {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.metric strong {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: #000000;
    line-height: 1;
}

.metric span {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.profile-hero .metric strong {
    color: #ffffff;
}
.profile-hero .metric span {
    color: rgba(255, 255, 255, 0.65);
}

/* ─── Trust metric (hero aside) ──────────────────────────────── */
.trust-metric {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-metric:last-child {
    border-bottom: none;
}

.trust-metric strong {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
}

.trust-metric span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* ─── Footer AI disclaimer ───────────────────────────────────── */
.footer-disclaimer {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.49);
    font-size: 0.75rem;
    line-height: 1.5;
}

.page-profile h1 {
    color: #fff;
}
.summary-stack {
    display: flex;
    gap: 35px;
    margin-top: 15px;
    align-items: center;
}
.sidebar-column .profile-panel {
    margin-bottom: 35px;
    background: none;
    border: none;
}

.map-column {
    height: 100%;
}

.sidebar-column li {
    background: none !important;
}

.profile-hero .button-ghost {
    color: white;
    background: #0000005e;
}
.hours-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 5px;
}

.specialty-badge {
    background: rgb(246, 243, 239);
    width: fit-content;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 13px;
}
.profile-facts .tag {
    background: rgb(246, 243, 239);
    width: fit-content;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 13px;
}
.profile-facts .tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}
span.ai-tag {
    background: rgb(246, 243, 239);
    width: fit-content;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 13px;
}

.page-context-copy {
    padding: 1rem;
    background: none !important;
    border: none !important;
}

.page-home .atlas-label {
    text-align: center;
}
.page-home h1 {
    text-align: center;
}
.page-home .hero-copy {
    text-align: center;
}

#villes,
#departements {
    padding: 3rem 0;
}

.ai-tags {
    gap: 12px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 12px;
}

/* ─── Skip link (accessibility) ─────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: 0.5rem 1rem;
    background: var(--ink-deep);
    color: var(--surface);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: top 0.1s;
}
.skip-link:focus-visible {
    top: 1rem;
}

/* ─── Tooltip bubble ─────────────────────────────────────────── */
.has-tooltip {
    position: relative;
    cursor: help;
}
.has-tooltip::before,
.has-tooltip::after {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}
.has-tooltip::before {
    content: "";
    border: 6px solid transparent;
    border-top-color: var(--ink-deep);
    bottom: calc(100% + 2px);
    z-index: 101;
}
.has-tooltip::after {
    content: attr(data-tooltip);
    background: var(--ink-deep);
    color: var(--surface);
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
    max-width: 240px;
    width: max-content;
    padding: 0.4rem 0.65rem;
    border-radius: var(--radius-sm);
    z-index: 100;
    text-align: center;
}
.has-tooltip:hover::before,
.has-tooltip:hover::after,
.has-tooltip:focus-visible::before,
.has-tooltip:focus-visible::after {
    opacity: 1;
}

/* ─── Nav search ─────────────────────────────────────────────── */
.nav-search {
    position: relative;
    flex-shrink: 0;
}
.nav-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-search-input {
    width: 220px;
    padding: 0.4rem 2rem 0.4rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.875rem;
    font-family: inherit;
    background: var(--paper);
    color: var(--ink);
    outline: none;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}
.nav-search-input:focus {
    border-color: var(--brand-c);
    box-shadow: 0 0 0 3px var(--brand-cs);
}
.nav-search-input::placeholder {
    color: var(--muted);
}
.nav-search-wrap iconify-icon {
    position: absolute;
    right: 0.65rem;
    pointer-events: none;
    color: var(--muted);
}
.nav-search-results {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 320px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 41;
    overflow: hidden;
    margin-top: 0;
}
@media (max-width: 768px) {
    .nav-search {
        display: none;
    }
}

.hero-panel--form {
    background: #f16411;
    border: none;
}

.form-container-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    text-align: center;
}
.form-container-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-align: center;
}
.form-container-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}
.benefit-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
}
.benefit-item::before {
    content: "✓";
    font-weight: 700;
}
#form-devis-express {
    min-height: 200px;
}
