/* =========================================================
   Homepage custom styles
   Design inspired by the new-design.html prototype.
   Scoped to .hp-page to avoid Bootstrap conflicts.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT@9..144,300..900,0..100&family=Manrope:wght@400;500;600;700;800&display=swap');

/* -------------------------------------------------------
   Design tokens
   ------------------------------------------------------- */
:root {
  --hp-blue:       #000091;
  --hp-blue-deep:  #00006e;
  --hp-blue-hover: #1212ff;
  --hp-blue-soft:  #e3e3fd;
  --hp-blue-pale:  #f5f5fe;
  --hp-red:        #e1000f;
  --hp-red-soft:   #fee9e9;
  --hp-green:      #169b62;
  --hp-green-soft: #e3fdeb;
  --hp-yellow-warn:#b34000;
  --hp-yellow-soft:#fff4e5;

  --hp-ink:        #161616;
  --hp-ink-muted:  #3a3a3a;
  --hp-ink-soft:   #666666;
  --hp-ink-faint:  #929292;

  --hp-bg:         #ffffff;
  --hp-bg-alt:     #f6f6f6;
  --hp-bg-warm:    #f9f8f6;
  --hp-border:     #dddddd;

  --hp-serif: 'Fraunces', 'Times New Roman', serif;
  --hp-sans:  'Manrope', system-ui, sans-serif;

  --hp-shadow-soft:  0 1px 0 rgba(0,0,0,.04), 0 8px 24px -8px rgba(0,0,18,.08);
  --hp-shadow-hover: 0 1px 0 rgba(0,0,0,.04), 0 12px 32px -8px rgba(0,0,18,.18);

  --hp-radius-sm: 4px;
  --hp-radius-md: 8px;
  --hp-radius-lg: 16px;
}

/* -------------------------------------------------------
   New top navbar — hidden by default, shown only on hp-page
   ------------------------------------------------------- */
.hp-site-header {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--hp-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.hp-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.hp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.hp-brand:hover { text-decoration: none; color: inherit; }
.hp-brand-logo { height: 56px; width: auto; display: block; }
.hp-brand-mark {
  width: 40px;
  height: 40px;
  background: var(--hp-blue);
  display: grid;
  place-items: center;
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
}
.hp-brand-mark::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--hp-blue) 50%, var(--hp-red) 50%);
}
.hp-brand-mark svg { width: 20px; height: 20px; stroke: #fff; }
.hp-brand-text { line-height: 1.05; }
.hp-brand-text .hp-brand-name {
  font-family: var(--hp-serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -.01em;
  display: block;
  color: var(--hp-ink);
}
.hp-brand-text .hp-brand-sub {
  font-size: 11px;
  color: var(--hp-ink-soft);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  display: block;
  margin-top: 1px;
}

.hp-main-nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
  align-items: center;
}
.hp-nav-link {
  font-family: var(--hp-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--hp-ink);
  padding: 9px 13px;
  border-radius: var(--hp-radius-sm);
  background: none;
  border: none;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  position: relative;
}
.hp-nav-link:hover { background: var(--hp-bg-alt); color: var(--hp-ink); text-decoration: none; }
.hp-nav-link.active { color: var(--hp-blue); font-weight: 600; }
.hp-nav-link.active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  background: var(--hp-blue);
}

.hp-header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--hp-border);
  flex-shrink: 0;
}
.hp-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-family: var(--hp-sans);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--hp-radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all .15s;
}
.hp-header-btn-ghost {
  background: transparent;
  color: var(--hp-ink);
}
.hp-header-btn-ghost:hover { background: var(--hp-bg-alt); color: var(--hp-ink); text-decoration: none; }
.hp-header-btn-primary {
  background: var(--hp-blue);
  color: #fff;
}
.hp-header-btn-primary:hover { background: var(--hp-blue-hover); color: #fff; text-decoration: none; }

/* New dark footer — hidden by default, shown only on hp-page */
.hp-footer {
  display: none;
}

/* -------------------------------------------------------
   Full-width override: hide sidebar & reset margin on homepage
   ------------------------------------------------------- */
body:has(.hp-page) .aside {
  display: none !important;
}
body:has(.hp-page) .main {
  margin-left: 0 !important;
}
/* Hide old mobile/desktop headers when new header is present */
body:has(.hp-page) header.d-xl-none {
  display: none !important;
}
body:has(.hp-page) .hp-site-header {
  display: block;
}
body:has(.hp-page) .hp-footer {
  display: block;
}
body:has(.hp-page) {
  background-color: #ffffff;
}

/* -------------------------------------------------------
   Tricolore top strip
   ------------------------------------------------------- */
.hp-tricolore {
  height: 4px;
  display: flex;
}
.hp-tricolore span { flex: 1; }
.hp-tricolore .b  { background: var(--hp-blue); }
.hp-tricolore .w  { background: #ffffff; border-block: 1px solid var(--hp-border); }
.hp-tricolore .r  { background: var(--hp-red); }

/* -------------------------------------------------------
   Base for the homepage wrapper
   ------------------------------------------------------- */
.hp-page {
  font-family: var(--hp-sans);
  color: var(--hp-ink);
  -webkit-font-smoothing: antialiased;
}

/* -------------------------------------------------------
   HERO
   ------------------------------------------------------- */
.hp-hero {
  padding: 80px 32px 56px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}
.hp-hero::before {
  content: "";
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, var(--hp-blue-pale) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
}

/* eyebrow badge */
.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--hp-blue-soft);
  color: var(--hp-blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hp-eyebrow .hp-pulse {
  width: 6px;
  height: 6px;
  background: var(--hp-blue);
  border-radius: 50%;
  animation: hp-pulse 2s infinite;
}
@keyframes hp-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}

.hp-title {
  font-family: var(--hp-serif);
  font-weight: 400;
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.04;
  letter-spacing: -.025em;
  color: var(--hp-ink);
  margin-bottom: 20px;
}
.hp-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--hp-blue);
}

.hp-subtitle {
  font-size: 18px;
  color: var(--hp-ink-muted);
  max-width: 540px;
  margin: 0 auto 44px;
  line-height: 1.55;
}

/* -------------------------------------------------------
   SEARCH SHELL
   ------------------------------------------------------- */
.hp-search-shell {
  max-width: 740px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-md);
  box-shadow: var(--hp-shadow-soft);
  transition: box-shadow .2s, border-color .2s;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.hp-search-shell:focus-within {
  border-color: var(--hp-blue);
  box-shadow: 0 0 0 3px var(--hp-blue-soft), var(--hp-shadow-hover);
}

.hp-search-field {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 12px;
  min-width: 0;
}
.hp-search-field + .hp-search-field {
  border-left: 1px solid var(--hp-border);
  flex: 0 0 38%;
}
.hp-search-field .hp-icon {
  color: var(--hp-ink-faint);
  flex-shrink: 0;
}
.hp-search-field input {
  flex: 1;
  border: none;
  outline: none;
  padding: 18px 0;
  font-size: 16px;
  font-family: var(--hp-sans);
  color: var(--hp-ink);
  background: transparent;
  min-width: 0;
}
.hp-search-field input::placeholder {
  color: var(--hp-ink-faint);
}

.hp-search-submit {
  background: var(--hp-blue);
  color: #fff;
  padding: 0 28px;
  font-family: var(--hp-sans);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background .15s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hp-search-submit:hover {
  background: var(--hp-blue-hover);
}

/* -------------------------------------------------------
   GEO ROW (quick-filter pills below search)
   ------------------------------------------------------- */
.hp-geo-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.hp-geo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--hp-border);
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-family: var(--hp-sans);
  font-weight: 500;
  color: var(--hp-ink-muted);
  cursor: pointer;
  transition: all .15s;
}
.hp-geo-btn:hover {
  border-color: var(--hp-blue);
  color: var(--hp-blue);
  background: var(--hp-blue-pale);
  text-decoration: none;
}

/* -------------------------------------------------------
   CATEGORIES SECTION
   ------------------------------------------------------- */
.hp-categories {
  max-width: 960px;
  margin: 64px auto 0;
  padding: 0 32px;
}
.hp-categories-label {
  text-align: center;
  font-size: 12px;
  color: var(--hp-ink-soft);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  margin-bottom: 20px;
}
.hp-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 10px;
}
.hp-cat-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-sm);
  text-align: left;
  cursor: pointer;
  transition: all .18s ease;
  text-decoration: none;
  color: inherit;
}
.hp-cat-chip:hover {
  border-color: var(--hp-blue);
  background: var(--hp-blue-pale);
  transform: translateY(-2px);
  box-shadow: var(--hp-shadow-soft);
  color: inherit;
  text-decoration: none;
}
.hp-cat-chip .hp-cat-ic {
  width: 36px;
  height: 36px;
  background: var(--hp-blue-soft);
  color: var(--hp-blue);
  border-radius: var(--hp-radius-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all .18s;
}
.hp-cat-chip:hover .hp-cat-ic {
  background: var(--hp-blue);
  color: #fff;
}
.hp-cat-chip .hp-cat-lbl {
  font-size: 14px;
  font-weight: 700;
  color: var(--hp-ink);
  line-height: 1.2;
  display: block;
}
.hp-cat-chip .hp-cat-count {
  font-size: 12px;
  color: var(--hp-ink-soft);
  font-weight: 500;
  display: block;
}

/* -------------------------------------------------------
   TRUST STRIP (stats)
   ------------------------------------------------------- */
.hp-trust-strip {
  margin: 80px 0 0;
  padding: 56px 32px;
  background: var(--hp-bg-warm);
  border-top: 1px solid var(--hp-border);
  border-bottom: 1px solid var(--hp-border);
}
.hp-trust-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.hp-trust-item {}
.hp-trust-item h4 {
  font-family: var(--hp-serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--hp-ink);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
}
.hp-trust-item h4 .hp-trust-num {
  font-family: var(--hp-serif);
  color: var(--hp-blue);
  font-weight: 300;
  font-style: italic;
  font-size: 28px;
}
.hp-trust-item p {
  color: var(--hp-ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* -------------------------------------------------------
   FEATURE TEASER (entrepreneur guide)
   ------------------------------------------------------- */
.hp-feature-teaser {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hp-feature-copy h2 {
  font-family: var(--hp-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  color: var(--hp-ink);
}
.hp-feature-copy h2 em {
  font-style: italic;
  color: var(--hp-blue);
}
.hp-feature-copy > p {
  font-size: 16px;
  color: var(--hp-ink-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.hp-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.hp-feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--hp-ink-muted);
}
.hp-feature-list li .hp-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--hp-green-soft);
  color: var(--hp-green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.hp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--hp-blue);
  color: #fff;
  font-family: var(--hp-sans);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--hp-radius-sm);
  border: none;
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
}
.hp-cta-btn:hover {
  background: var(--hp-blue-hover);
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

.hp-feature-visual {
  position: relative;
  border-radius: var(--hp-radius-lg);
  overflow: hidden;
  border: 1px solid var(--hp-border);
  background: #fff;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hp-feature-visual::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 56px;
  background: linear-gradient(to left, #fff 10%, rgba(255,255,255,0));
  pointer-events: none;
  z-index: 2;
}

/* -------------------------------------------------------
   CALENDAR VISUAL — exact copy from new-design.html
   (variable names mapped: --border → --hp-border, etc.)
   ------------------------------------------------------- */
.cal-track-wrap {
  position: relative;
  margin: 0;
  overflow: hidden;
}
.cal-track-wrap::before,
.cal-track-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  pointer-events: none;
  z-index: 4;
}
.cal-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, #fff 20%, rgba(255,255,255,0));
}
.cal-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, #fff 20%, rgba(255,255,255,0));
}

.cal-track {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 32px 32px 32px;
  gap: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--hp-border) transparent;
}
.cal-track::-webkit-scrollbar { height: 8px; }
.cal-track::-webkit-scrollbar-track { background: transparent; margin: 0 32px; }
.cal-track::-webkit-scrollbar-thumb { background: var(--hp-border); border-radius: 4px; }
.cal-track::-webkit-scrollbar-thumb:hover { background: var(--hp-ink-faint); }

.cal-track::before {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  top: 90px;
  height: 2px;
  background: var(--hp-border);
  z-index: 0;
  pointer-events: none;
}

.cal-month {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.cal-month-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 88px;
  padding: 0 12px;
  background: #fff;
  position: relative;
  z-index: 3;
  border: none;
  margin: 0;
}
.cal-month-head::before,
.cal-month-head::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  background: var(--hp-border);
  transform: translateX(-50%);
}
.cal-month-head::before { top: 0; height: 80px; }
.cal-month-head::after  { bottom: 0; top: 100px; }

.cal-month-title {
  font-family: var(--hp-serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: capitalize;
  color: var(--hp-ink);
  text-align: center;
  line-height: 1.1;
  margin-bottom: 6px;
}
.cal-month-meta {
  font-size: 10px;
  color: var(--hp-ink-soft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.2;
}

.cal-event {
  display: flex;
  flex-direction: column;
  width: 220px;
  flex-shrink: 0;
  padding: 0 10px;
  scroll-snap-align: start;
  cursor: pointer;
  position: relative;
}

.cal-event-date {
  text-align: center;
  height: 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 6px;
}
.cal-event-date .day {
  font-family: var(--hp-serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--hp-ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.cal-event-date .weekday {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hp-ink-soft);
  font-weight: 700;
  margin-top: 4px;
}
.cal-event.urgent .cal-event-date .day { color: var(--hp-red); }

.cal-event-spine {
  position: relative;
  height: 38px;
  z-index: 2;
}
.cal-event-spine::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--hp-ink-faint);
  transform: translateX(-50%);
  transition: all 0.18s;
}
.cal-event-spine::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 14px;
  width: 1px;
  height: 22px;
  background: var(--hp-border);
  transform: translateX(-50%);
}
.cal-event:hover .cal-event-spine::after {
  border-color: var(--hp-blue);
  transform: translateX(-50%) scale(1.2);
}
.cal-event.urgent .cal-event-spine::after {
  background: var(--hp-red);
  border-color: var(--hp-red);
  box-shadow: 0 0 0 4px rgba(229, 16, 16, 0.15);
  animation: cal-pulse 2s ease-out infinite;
}
@keyframes cal-pulse {
  0%   { box-shadow: 0 0 0 4px rgba(229, 16, 16, 0.18); }
  60%  { box-shadow: 0 0 0 10px rgba(229, 16, 16, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 16, 16, 0); }
}

.cal-event-content {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-sm);
  padding: 12px 14px 14px;
  flex: 1;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
}
.cal-event:hover .cal-event-content {
  border-color: var(--hp-blue);
  box-shadow: 0 4px 16px rgba(0, 0, 145, 0.08);
  transform: translateY(-2px);
}
.cal-event.urgent .cal-event-content {
  border-color: rgba(229, 16, 16, 0.28);
}
.cal-event.urgent:hover .cal-event-content {
  border-color: var(--hp-red);
  box-shadow: 0 4px 16px rgba(229, 16, 16, 0.12);
}

.cal-tags {
  display: flex;
  gap: 4px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.cal-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
}
.cal-tag.urssaf { background: var(--hp-blue-soft);   color: var(--hp-blue); }
.cal-tag.tva    { background: var(--hp-yellow-soft); color: var(--hp-yellow-warn); }
.cal-tag.impots { background: var(--hp-red-soft);    color: var(--hp-red); }
.cal-tag.social { background: var(--hp-green-soft);  color: var(--hp-green); }
.cal-tag.dgfip  { background: #f0eaff; color: #6e3ad0; }

.cal-event-content h4 {
  font-family: var(--hp-serif);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 4px;
  color: var(--hp-ink);
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cal-event-content p {
  font-size: 12px;
  color: var(--hp-ink-soft);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.cal-countdown {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--hp-bg-alt);
  font-size: 11px;
  color: var(--hp-ink-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}
.cal-countdown strong {
  display: inline;
  font-size: 12px;
  font-weight: 700;
  color: var(--hp-ink);
  margin: 0;
}
.cal-event.urgent .cal-countdown strong { color: var(--hp-red); }

.cal-chevron { display: none; }

/* -------------------------------------------------------
   DARK FOOTER
   ------------------------------------------------------- */
.hp-footer {
  background: #161616;
  color: rgba(255,255,255,.85);
  padding: 60px 32px 28px;
  font-family: var(--hp-sans);
}
.hp-footer-inner {
  max-width: 800px;
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.hp-footer-brand-name {
  font-family: var(--hp-serif);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
}
.hp-footer-brand-name:hover { color: #fff; text-decoration: none; }
.hp-footer-brand-mark {
  width: 36px;
  height: 36px;
  background: var(--hp-blue);
  border-radius: 3px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hp-footer-brand-mark svg { width: 18px; height: 18px; stroke: #fff; }
.hp-footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  max-width: 260px;
  margin: 0;
}
.hp-footer-col h5 {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  margin-bottom: 14px;
}
.hp-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.hp-footer-col a {
  color: rgba(255,255,255,.65);
  font-size: 14px;
  text-decoration: none;
  transition: color .15s;
}
.hp-footer-col a:hover { color: #fff; text-decoration: none; }
.hp-footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}

/* -------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------- */
@media (max-width: 1100px) {
  .hp-feature-teaser { grid-template-columns: 1fr; gap: 40px; }
  .hp-header-inner   { padding: 14px 20px; gap: 16px; }
}

@media (max-width: 900px) {
  .hp-trust-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  .hp-header-inner { padding: 12px 16px; }
  .hp-main-nav     { display: none; }
  .hp-brand-text .hp-brand-sub { display: none; }
  .hp-header-cta   { margin-left: auto; padding-left: 12px; }

  .hp-hero        { padding: 48px 20px 36px; }
  .hp-hero::before { width: 100%; }

  .hp-search-shell   { flex-direction: column; border-radius: var(--hp-radius-sm); }
  .hp-search-field + .hp-search-field {
    border-left: none;
    border-top: 1px solid var(--hp-border);
    flex: 1;
  }
  .hp-search-submit { width: 100%; padding: 16px; justify-content: center; }

  .hp-categories { padding: 0 16px; margin-top: 48px; }
  .hp-cat-grid   { grid-template-columns: repeat(2, 1fr); }

  .hp-trust-strip { padding: 40px 20px; margin-top: 56px; }
  .hp-trust-grid  { grid-template-columns: 1fr; gap: 24px; }

  .hp-feature-teaser { padding: 0 20px; margin: 56px auto; }

  .hp-footer-inner { grid-template-columns: 1fr; gap: 28px; }

  .cal-track-wrap { margin: 16px -16px 0; }
  .cal-track      { padding: 24px 16px; }
  .cal-track::before { left: 16px; right: 16px; top: 80px; }
  .cal-event      { width: 180px; padding: 0 8px; }
  .cal-event-date { height: 48px; }
  .cal-event-date .day { font-size: 20px; }
  .cal-month-head { width: 72px; }
}

@media (max-width: 480px) {
  .hp-title     { font-size: 32px; }
  .hp-subtitle  { font-size: 16px; }
  .hp-cat-grid  { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hp-geo-row   { gap: 8px; }
  .hp-geo-btn   { font-size: 13px; padding: 8px 14px; }
}

/* =========================================================
   SEARCH RESULTS PAGE  —  sr-* prefix
   ========================================================= */

/* Show shared nav/footer on search page, hide old sidebar */
body:has(.sr-page) { background: #fff; }
body:has(.sr-page) .hp-site-header  { display: block; }
body:has(.sr-page) .hp-footer       { display: block; }
body:has(.sr-page) .aside           { display: none !important; }
body:has(.sr-page) .main            { margin-left: 0 !important; padding-top: 0 !important; }
body:has(.sr-page) header.d-xl-none { display: none !important; }

/* -------------------------------------------------------
   Sticky search toolbar (sits below hp-site-header)
   ------------------------------------------------------- */
.sr-toolbar {
  background: var(--hp-bg-alt);
  border-bottom: 1px solid var(--hp-border);
  padding: 14px 32px;
  position: sticky;
  top: 73px;
  z-index: 90;
}
.sr-toolbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
}
.sr-toolbar-form {
  flex: 1;
  display: flex;
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-sm);
  overflow: hidden;
  max-width: 720px;
}
.sr-tf {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
}
.sr-tf + .sr-tf {
  border-left: 1px solid var(--hp-border);
  flex: 0 0 35%;
}
.sr-tf svg { flex-shrink: 0; color: var(--hp-ink-faint); }
.sr-tf input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 0;
  font-size: 14px;
  font-family: var(--hp-sans);
  background: transparent;
  min-width: 0;
  color: var(--hp-ink);
}
.sr-tf input::placeholder { color: var(--hp-ink-faint); }
.sr-go {
  background: var(--hp-blue);
  color: #fff;
  border: none;
  padding: 0 20px;
  font-weight: 600;
  font-size: 13px;
  font-family: var(--hp-sans);
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.sr-go:hover { background: var(--hp-blue-hover); }
.sr-geo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--hp-sans);
  background: transparent;
  color: var(--hp-ink-muted);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.sr-geo-btn:hover { background: var(--hp-bg-alt); border-color: var(--hp-ink-faint); }

/* -------------------------------------------------------
   Three-column grid: filters | list | map
   ------------------------------------------------------- */
.sr-results-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px 48px;
  display: grid;
  grid-template-columns: 220px 1fr 380px;
  gap: 32px;
  align-items: start;
}

/* -------------------------------------------------------
   Filter sidebar
   ------------------------------------------------------- */
.sr-filters {
  border-right: 1px solid var(--hp-border);
  padding-right: 24px;
}
.sr-filter-group {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--hp-border);
}
.sr-filter-group:last-child { border-bottom: none; }
.sr-filter-group h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--hp-ink);
  margin-bottom: 12px;
  font-family: var(--hp-sans);
}
.sr-filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-family: var(--hp-sans);
  color: var(--hp-ink-muted);
  padding: 5px 0;
  cursor: pointer;
  user-select: none;
  margin-bottom: 0;
}
.sr-filter-option:hover { color: var(--hp-blue); }
.sr-filter-option input[type="checkbox"],
.sr-filter-option input[type="radio"] {
  accent-color: var(--hp-blue);
  cursor: pointer;
  flex-shrink: 0;
}
.sr-num {
  margin-left: auto;
  color: var(--hp-ink-faint);
  font-size: 12px;
}
.sr-filter-distance {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sr-filter-distance input[type="range"] {
  accent-color: var(--hp-blue);
  width: 100%;
  cursor: pointer;
}
.sr-dist-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--hp-ink-soft);
  font-family: var(--hp-sans);
}

/* -------------------------------------------------------
   Results list (centre column)
   ------------------------------------------------------- */
.sr-results-list h1 {
  font-family: var(--hp-serif);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.1;
  margin-bottom: 4px;
  color: var(--hp-ink);
}
.sr-results-meta {
  font-size: 13px;
  color: var(--hp-ink-soft);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--hp-sans);
  flex-wrap: wrap;
}
.sr-sort-select {
  border: 1px solid var(--hp-border);
  background: #fff;
  padding: 6px 10px;
  border-radius: var(--hp-radius-sm);
  font-size: 13px;
  margin-left: auto;
  font-family: var(--hp-sans);
  color: var(--hp-ink);
  cursor: pointer;
}

/* -------------------------------------------------------
   Business card
   ------------------------------------------------------- */
.sr-biz-card {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hp-border);
  cursor: pointer;
  transition: background 0.15s;
  position: relative;
  align-items: start;
  text-decoration: none;
  color: inherit;
}
.sr-biz-card:hover {
  background: var(--hp-bg-alt);
  margin: 0 -16px;
  padding: 20px 16px;
}
.sr-biz-photo {
  width: 100px;
  height: 100px;
  border-radius: var(--hp-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  font-family: var(--hp-serif);
  font-size: 30px;
  font-weight: 500;
  background: linear-gradient(135deg, var(--hp-blue-pale), #fff);
  border: 1px solid var(--hp-border);
  display: grid;
  place-items: center;
  color: var(--hp-blue);
}
.sr-biz-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sr-biz-info h3 {
  font-family: var(--hp-serif);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.2;
  margin-bottom: 4px;
  color: var(--hp-ink);
}
.sr-biz-info h3 a {
  color: var(--hp-ink);
  text-decoration: none;
}
.sr-biz-info h3 a:hover { color: var(--hp-blue); }
.sr-biz-cat {
  font-size: 13px;
  color: var(--hp-ink-soft);
  margin-bottom: 8px;
  font-family: var(--hp-sans);
}
.sr-biz-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 13px;
  font-family: var(--hp-sans);
  color: var(--hp-ink-muted);
}
.sr-stars {
  display: inline-flex;
  gap: 1px;
  color: #f59e0b;
}
.sr-stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.sr-biz-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 13px;
  color: var(--hp-ink-muted);
  margin-bottom: 6px;
  font-family: var(--hp-sans);
}
.sr-biz-meta span { display: inline-flex; align-items: center; gap: 4px; }
.sr-open  { color: var(--hp-green) !important; font-weight: 600; }
.sr-closed { color: var(--hp-red) !important; font-weight: 600; }
.sr-biz-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--hp-blue);
  font-weight: 600;
  margin-top: 4px;
  font-family: var(--hp-sans);
}
.sr-biz-distance {
  text-align: right;
  font-size: 13px;
  font-weight: 600;
  color: var(--hp-ink);
  font-family: var(--hp-sans);
  white-space: nowrap;
  padding-top: 4px;
  min-width: 60px;
}
.sr-biz-distance small {
  display: block;
  color: var(--hp-ink-soft);
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.sr-empty {
  padding: 64px 0;
  text-align: center;
  color: var(--hp-ink-soft);
  font-family: var(--hp-sans);
}
.sr-empty p { font-size: 15px; margin-bottom: 6px; }

.sr-loading {
  padding: 56px 0;
  text-align: center;
  color: var(--hp-ink-soft);
  font-family: var(--hp-sans);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.sr-spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--hp-border);
  border-top-color: var(--hp-blue);
  border-radius: 50%;
  animation: sr-spin 0.7s linear infinite;
}
.sr-spinner-inline {
  display: inline-block;
  width: 12px; height: 12px;
  border: 2px solid var(--hp-border);
  border-top-color: var(--hp-blue);
  border-radius: 50%;
  animation: sr-spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 4px;
}
@keyframes sr-spin { to { transform: rotate(360deg); } }

.sr-load-more { text-align: center; padding: 32px 0; }
.sr-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--hp-sans);
  background: transparent;
  color: var(--hp-blue);
  border: 1.5px solid var(--hp-blue);
  border-radius: var(--hp-radius-sm);
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}
.sr-btn-outline:hover { background: var(--hp-blue-pale); text-decoration: none; color: var(--hp-blue); }

/* -------------------------------------------------------
   Map panel (right column)
   ------------------------------------------------------- */
.sr-map-panel {
  position: sticky;
  top: 140px;
  height: calc(100vh - 164px);
  min-height: 400px;
  border-radius: var(--hp-radius-md);
  overflow: hidden;
  border: 1px solid var(--hp-border);
  box-shadow: var(--hp-shadow-soft);
}
#search-map { width: 100%; height: 100%; }

/* leaflet z-index fix (below sticky toolbar) */
.leaflet-top { z-index: 80 !important; }

/* -------------------------------------------------------
   Responsive
   ------------------------------------------------------- */
@media (max-width: 1100px) {
  .sr-results-layout { grid-template-columns: 200px 1fr 320px; gap: 20px; }
}
@media (max-width: 900px) {
  .sr-results-layout { grid-template-columns: 1fr; padding: 16px; }
  .sr-filters         { display: none; }
  .sr-map-panel       { display: none; }
  .sr-biz-card        { grid-template-columns: 80px 1fr; }
  .sr-biz-distance    { grid-column: 2; text-align: left; margin-top: 4px; }
  .sr-biz-photo       { width: 80px; height: 80px; font-size: 22px; }
}
@media (max-width: 640px) {
  .sr-toolbar         { padding: 10px 16px; top: 64px; }
  .sr-toolbar-inner   { flex-wrap: wrap; }
  .sr-toolbar-form    { max-width: 100%; flex-direction: column; border-radius: var(--hp-radius-sm); }
  .sr-tf + .sr-tf     { border-left: none; border-top: 1px solid var(--hp-border); flex: 1; }
  .sr-go              { padding: 12px; justify-content: center; }
  .sr-geo-btn         { width: 100%; justify-content: center; }
  .sr-results-layout  { padding: 12px; }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  COMPANY PAGE  (.biz-page)                              ║
   ╚══════════════════════════════════════════════════════════╝ */
body:has(.biz-page) .hp-site-header  { display: block; }
body:has(.biz-page) .hp-footer       { display: block; }
body:has(.biz-page) .aside           { display: none !important; }
body:has(.biz-page) header.d-xl-none { display: none !important; }
body:has(.biz-page) .hp-sidebar      { display: none !important; }
body:has(.biz-page) .main            { margin-left: 0 !important; padding: 0 !important; background: #fff; }
body:has(.biz-page),
body:has(.biz-page) .biz-page       { font-family: var(--hp-sans); color: var(--hp-ink); }

/* ── LOGIN PAGE  (.login-page) ── */
body:has(.login-page) .hp-site-header  { display: block; }
body:has(.login-page) .hp-footer       { display: block; }
body:has(.login-page) .aside           { display: none !important; }
body:has(.login-page) header.d-xl-none { display: none !important; }
body:has(.login-page) .hp-sidebar      { display: none !important; }
body:has(.login-page) .main            { margin-left: 0 !important; padding: 0 !important; }
body:has(.login-page),
body:has(.login-page) .login-page      { font-family: var(--hp-sans); color: var(--hp-ink); }

/* ── PAYMENT PAGE  (.pay-page) ── */
body:has(.pay-page) .hp-site-header  { display: block; }
body:has(.pay-page) .hp-footer       { display: block; }
body:has(.pay-page) .aside           { display: none !important; }
body:has(.pay-page) header.d-xl-none { display: none !important; }
body:has(.pay-page) .hp-sidebar      { display: none !important; }
body:has(.pay-page) .main            { margin-left: 0 !important; padding: 0 !important; }
body:has(.pay-page),
body:has(.pay-page) .pay-page        { font-family: var(--hp-sans); color: var(--hp-ink); }

/* ── DASHBOARD PAGE  (.dash-page) ── */
body:has(.dash-page) .hp-site-header  { display: block; }
body:has(.dash-page) .hp-footer       { display: block; }
body:has(.dash-page) .aside           { display: none !important; }
body:has(.dash-page) header.d-xl-none { display: none !important; }
body:has(.dash-page) .hp-sidebar      { display: none !important; }
body:has(.dash-page) .main            { margin-left: 0 !important; padding: 0 !important; }
body:has(.dash-page),
body:has(.dash-page) .dash-page       { font-family: var(--hp-sans); color: var(--hp-ink); }

.biz-breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--hp-border);
  padding: 14px 32px;
}
.biz-breadcrumb nav { max-width: 1280px; margin: 0 auto; font-size: 13px; color: var(--hp-ink-faint); }
.biz-breadcrumb nav a { color: var(--hp-ink-soft); text-decoration: none; }
.biz-breadcrumb nav a:hover { color: var(--hp-blue); text-decoration: underline; }
.biz-breadcrumb .sep { margin: 0 6px; color: var(--hp-ink-faint); }
.biz-breadcrumb .current { color: var(--hp-ink); font-weight: 600; }

.biz-hero {
  background: var(--hp-bg-warm);
  border-bottom: 1px solid var(--hp-border);
  padding: 40px 32px 32px;
}
.biz-hero-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}
.biz-hero-photo {
  width: 96px; height: 96px;
  background: var(--hp-blue);
  color: #fff;
  border-radius: var(--hp-radius-md);
  display: grid; place-items: center;
  font-size: 40px; font-weight: 600;
  flex-shrink: 0;
  box-shadow: var(--hp-shadow-soft);
  overflow: hidden;
}
.biz-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.biz-hero-cat {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 700; color: var(--hp-blue); margin-bottom: 6px; display: block;
}
.biz-hero-info h1 {
  font-family: var(--hp-serif);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700; line-height: 1.1;
  color: var(--hp-ink); margin-bottom: 10px;
}
.biz-hero-rating {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; flex-wrap: wrap;
}
.biz-hero-rating .stars { display: inline-flex; gap: 2px; }
.biz-hero-rating .stars svg { width: 16px; height: 16px; fill: #f5b400; }
.biz-hero-rating .stars svg.dim { fill: var(--hp-border); }
.biz-hero-rating strong { font-weight: 700; color: var(--hp-ink); }
.biz-hero-rating .sep { color: var(--hp-ink-faint); }
.biz-hero-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--hp-blue); font-weight: 600;
}
.biz-hero-status { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.biz-status-pill {
  padding: 4px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.biz-status-pill.open  { background: #b8fec9; color: #18753c; }
.biz-status-pill.closed { background: var(--hp-bg-alt); color: var(--hp-ink-soft); }
.biz-status-detail { font-size: 12px; color: var(--hp-ink-soft); }

.biz-actions {
  background: #fff;
  border-bottom: 1px solid var(--hp-border);
  padding: 14px 32px;
  position: sticky; top: 73px; z-index: 30;
}
.biz-actions-inner { max-width: 1280px; margin: 0 auto; display: flex; gap: 8px; flex-wrap: wrap; }
.biz-action-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  background: #fff; border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-sm);
  font-size: 14px; font-weight: 600; color: var(--hp-ink);
  cursor: pointer; text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.biz-action-btn:hover { border-color: var(--hp-blue); color: var(--hp-blue); background: #e3e3fd; }
.biz-action-btn.primary { background: var(--hp-blue); color: #fff; border-color: var(--hp-blue); }
.biz-action-btn.primary:hover { background: #00006a; color: #fff; }

.biz-layout {
  max-width: 1280px; margin: 0 auto;
  padding: 40px 32px 64px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: flex-start;
}
.biz-main section { margin-bottom: 40px; }
.biz-main h2 {
  font-family: var(--hp-serif);
  font-size: 20px; font-weight: 700; color: var(--hp-ink);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--hp-border);
}
.biz-main p { color: var(--hp-ink-soft); font-size: 15px; line-height: 1.65; margin-bottom: 10px; }

.biz-photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px; height: 280px;
  border-radius: var(--hp-radius-md); overflow: hidden;
}
.biz-photo-grid > div {
  position: relative;
  background: linear-gradient(135deg, #cacafb, var(--hp-bg-warm));
  overflow: hidden;
}
.biz-photo-grid > div:first-child { grid-row: span 2; }
.biz-photo-grid > div img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.biz-photo-more {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.biz-tag-group { margin-bottom: 18px; }
.biz-tag-group h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--hp-ink-soft); margin-bottom: 8px; font-weight: 700;
}
.biz-tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.biz-tag-row span {
  padding: 5px 11px; background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: 100px; font-size: 13px; color: var(--hp-ink);
}

.biz-rating-overview {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 28px; align-items: center;
  padding: 20px 24px; background: var(--hp-bg-warm);
  border-radius: var(--hp-radius-md); margin-bottom: 24px;
}
.biz-rating-big { text-align: center; }
.biz-rating-big .num {
  font-size: 52px; font-weight: 700; line-height: 1;
  color: var(--hp-ink); letter-spacing: -0.03em;
}
.biz-rating-big .stars { display: inline-flex; gap: 2px; margin: 6px 0; }
.biz-rating-big .stars svg { width: 14px; height: 14px; fill: #f5b400; }
.biz-rating-big .stars svg.dim { fill: var(--hp-border); }
.biz-rating-big small { display: block; color: var(--hp-ink-soft); font-size: 12px; }
.biz-rating-bars { display: grid; gap: 6px; }
.biz-rating-bar { display: grid; grid-template-columns: 16px 1fr 36px; align-items: center; gap: 8px; font-size: 12px; color: var(--hp-ink-soft); }
.biz-rating-bar .bar-track { height: 6px; background: #fff; border: 1px solid var(--hp-border); border-radius: 100px; overflow: hidden; }
.biz-rating-bar .bar-fill { height: 100%; background: #f5b400; }

.biz-review { padding: 18px 0; border-bottom: 1px solid var(--hp-border); }
.biz-review:last-child { border-bottom: none; }
.biz-review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 12px; }
.biz-review-author { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--hp-ink); }
.biz-review-author .avatar {
  width: 28px; height: 28px; background: #e3e3fd; color: var(--hp-blue);
  border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
}
.biz-review-when { font-size: 12px; color: var(--hp-ink-soft); flex-shrink: 0; }
.biz-review-stars { display: inline-flex; gap: 2px; margin-bottom: 6px; }
.biz-review-stars svg { width: 13px; height: 13px; fill: #f5b400; }
.biz-review-stars svg.dim { fill: var(--hp-border); }
.biz-review-text { color: var(--hp-ink-soft); font-size: 14px; line-height: 1.6; }

.biz-review-form { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hp-border); }
.biz-review-form h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--hp-ink); }
.biz-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.biz-form-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.biz-form-field label { font-size: 13px; font-weight: 600; color: var(--hp-ink-soft); }
.biz-form-field input,
.biz-form-field textarea {
  padding: 10px 14px; border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-sm); font-size: 14px;
  font-family: inherit; color: var(--hp-ink); background: #fff;
  transition: border-color 0.15s;
}
.biz-form-field input:focus,
.biz-form-field textarea:focus { outline: none; border-color: var(--hp-blue); }
.biz-form-field textarea { resize: vertical; min-height: 90px; }
.biz-stars-input { display: flex; gap: 4px; }
.biz-stars-input label { cursor: pointer; }
.biz-stars-input input { display: none; }
.biz-stars-input svg { width: 28px; height: 28px; fill: var(--hp-border); transition: fill 0.1s; }
.biz-stars-input label:hover svg,
.biz-stars-input label:hover ~ label svg { fill: var(--hp-border); }
.biz-stars-input input:checked ~ label svg { fill: var(--hp-border); }
.biz-submit-btn {
  padding: 11px 24px; background: var(--hp-blue); color: #fff;
  border: none; border-radius: var(--hp-radius-sm);
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background 0.15s;
}
.biz-submit-btn:hover { background: #00006a; }

.biz-side { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 20px; }
.biz-card-info { background: var(--hp-bg-warm); border: 1px solid var(--hp-border); border-radius: var(--hp-radius-md); overflow: hidden; }
.biz-mini-map { height: 180px; position: relative; overflow: hidden; background: #e8eaf0; }
.biz-mini-map #biz-map { width: 100%; height: 100%; }
.biz-info-block { padding: 16px 20px; border-bottom: 1px solid var(--hp-border); }
.biz-info-block:last-child { border-bottom: none; }
.biz-info-block h5 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--hp-ink-soft); font-weight: 700; margin-bottom: 8px;
}
.biz-info-block { background: var(--hp-bg-warm); }
.biz-info-block p,
.biz-info-block a { font-size: 14px; color: var(--hp-ink); line-height: 1.5; text-decoration: none; margin: 0; word-break: break-word; }
.biz-info-block a:hover { color: var(--hp-blue); text-decoration: underline; }

.biz-hours-list { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.biz-hours-list li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; color: var(--hp-ink-soft); }
.biz-hours-list li.today { color: var(--hp-ink); font-weight: 600; }
.biz-hours-list li.closed .biz-h { color: #c9191e; font-style: italic; }

.biz-identity-row { display: flex; justify-content: space-between; font-size: 13px; padding: 3px 0; }
.biz-identity-row .lbl { color: var(--hp-ink-soft); }
.biz-identity-row .val { color: var(--hp-ink); font-weight: 500; }

.biz-social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.biz-social-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-sm); font-size: 13px;
  color: var(--hp-ink); text-decoration: none; background: #fff;
  transition: border-color 0.15s, color 0.15s;
}
.biz-social-link:hover { border-color: var(--hp-blue); color: var(--hp-blue); }

@media (max-width: 1100px) {
  .biz-layout { grid-template-columns: 1fr; gap: 32px; }
  .biz-side { position: static; }
  .biz-actions { position: static; }
  .biz-hero-inner { grid-template-columns: auto 1fr; }
  .biz-hero-status { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px; }
}
@media (max-width: 640px) {
  .biz-hero { padding: 24px 16px 20px; }
  .biz-hero-inner { grid-template-columns: auto 1fr; gap: 16px; }
  .biz-hero-photo { width: 64px; height: 64px; font-size: 26px; }
  .biz-actions { padding: 12px 16px; }
  .biz-layout { padding: 20px 16px 48px; }
  .biz-rating-overview { grid-template-columns: 1fr; gap: 16px; }
  .biz-photo-grid { grid-template-columns: 1fr 1fr; height: auto; }
  .biz-breadcrumb { padding: 12px 16px; }
  .biz-form-row { grid-template-columns: 1fr; }
}

/* ── Guide entrepreneurs page ── */
body:has(.guide-page) .hp-site-header  { display: block; }
body:has(.guide-page) .hp-footer       { display: block; }
body:has(.guide-page) .aside           { display: none !important; }
body:has(.guide-page) header.d-xl-none { display: none !important; }
body:has(.guide-page) .hp-sidebar      { display: none !important; }
body:has(.guide-page) .main            { margin-left: 0 !important; padding: 0 !important; background: #fff; }
body:has(.guide-page),
body:has(.guide-page) .guide-page      { font-family: var(--hp-sans); color: var(--hp-ink); }

/* ── Aides et subventions page ── */
body:has(.aides-page) .hp-site-header  { display: block; }
body:has(.aides-page) .hp-footer       { display: block; }
body:has(.aides-page) .aside           { display: none !important; }
body:has(.aides-page) header.d-xl-none { display: none !important; }
body:has(.aides-page) .hp-sidebar      { display: none !important; }
body:has(.aides-page) .main            { margin-left: 0 !important; padding: 0 !important; background: #fff; }
body:has(.aides-page),
body:has(.aides-page) .aides-page      { font-family: var(--hp-sans); color: var(--hp-ink); }

/* ── Contact / Assistance page ── */
body:has(.contact-page) .hp-site-header  { display: block; }
body:has(.contact-page) .hp-footer       { display: block; }
body:has(.contact-page) .aside           { display: none !important; }
body:has(.contact-page) header.d-xl-none { display: none !important; }
body:has(.contact-page) .main            { margin-left: 0 !important; padding: 0 !important; background: #fff; }
body:has(.contact-page),
body:has(.contact-page) .contact-page    { font-family: var(--hp-sans); color: var(--hp-ink); }

/* ─────────────────────────────────────────────
   CONTACT FORM STYLES
   ───────────────────────────────────────────── */
.hp-contact-wrap {
  min-height: calc(100vh - 280px);
  background: var(--hp-bg-warm);
  padding: 64px 32px;
  position: relative;
}
.hp-contact-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(0,0,145,0.04) 0, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(229,16,16,0.025) 0, transparent 40%);
  pointer-events: none;
}
.hp-contact-grid {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.hp-contact-card {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-md);
  padding: 44px 48px 36px;
  box-shadow: var(--hp-shadow-soft);
}
.hp-contact-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--hp-blue);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hp-contact-eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hp-border);
}
.hp-contact-card h1 {
  font-family: var(--hp-serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--hp-ink);
}
.hp-contact-card h1 em {
  font-style: italic;
  color: var(--hp-blue);
}
.hp-contact-sub {
  color: var(--hp-ink-muted);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 28px;
}
.hp-contact-form .hp-field {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}
.hp-contact-form .hp-field-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.hp-contact-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--hp-ink);
  margin-bottom: 6px;
}
.hp-contact-form label .req { color: var(--hp-red); margin-left: 2px; }
.hp-contact-form input[type="text"],
.hp-contact-form input[type="email"],
.hp-contact-form input[type="tel"],
.hp-contact-form select,
.hp-contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--hp-ink);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.hp-contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.hp-contact-form textarea {
  min-height: 140px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.55;
}
.hp-contact-form input:focus,
.hp-contact-form select:focus,
.hp-contact-form textarea:focus {
  outline: none;
  border-color: var(--hp-blue);
  box-shadow: 0 0 0 3px rgba(0, 0, 145, 0.12);
}
.hp-hint {
  font-size: 12px;
  color: var(--hp-ink-soft);
  margin-top: 5px;
  display: block;
}
.hp-siret-wrapper { position: relative; }
.hp-siret-wrapper input { padding-right: 42px; }
.hp-siret-status {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  pointer-events: none;
}
.hp-siret-status .siret-loader { width: 20px; height: 20px; display: none; }
.hp-siret-status .siret-valid  { color: var(--hp-green); display: none; }
.hp-siret-status .siret-invalid { color: var(--hp-red);  display: none; }
.hp-contact-submit {
  width: 100%;
  background: var(--hp-ink);
  color: #fff;
  border: none;
  padding: 14px 18px;
  border-radius: var(--hp-radius-sm);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 6px;
  display: block;
}
.hp-contact-submit:hover:not(:disabled) { background: #000; }
.hp-contact-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.hp-contact-msg {
  min-height: 22px;
  margin-top: 14px;
  font-size: 13px;
  text-align: center;
}
.hp-contact-msg.error   { color: var(--hp-red);   font-weight: 600; }
.hp-contact-msg.success { color: var(--hp-green);  font-weight: 600; }

/* Success card */
.hp-contact-success {
  display: none;
  text-align: center;
  padding: 28px 0 12px;
}
.hp-contact-success .cs-icon {
  color: var(--hp-green);
  display: block;
  margin: 0 auto 20px;
  animation: cs-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}
@keyframes cs-pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.hp-contact-success h2 {
  font-family: var(--hp-serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--hp-ink);
}
.hp-contact-success p {
  color: var(--hp-ink-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Countdown timer */
.hp-cdown {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 24px auto 0;
}
.hp-cdown svg { transform: scaleX(-1); display: block; }
.hp-cdown-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  font-family: var(--hp-sans);
  color: var(--hp-ink);
}

@media (max-width: 768px) {
  .hp-contact-wrap  { padding: 40px 16px; }
  .hp-contact-card  { padding: 32px 20px 28px; }
  .hp-contact-card h1 { font-size: 28px; }
  .hp-contact-form .hp-field-row-2 { grid-template-columns: 1fr; }
}
/* ── end contact page ── */

/* ─────────────────────────────────────────────
   PROSE / LEGAL PAGES  (privacy, CGU, cookies…)
   ───────────────────────────────────────────── */
body:has(.prose-page) .hp-site-header  { display: block; }
body:has(.prose-page) .hp-footer       { display: block; }
body:has(.prose-page) .aside           { display: none !important; }
body:has(.prose-page) header.d-xl-none { display: none !important; }
body:has(.prose-page) .main            { margin-left: 0 !important; padding: 0 !important; background: var(--hp-bg-warm); }
body:has(.prose-page),
body:has(.prose-page) .prose-page      { font-family: var(--hp-sans); color: var(--hp-ink); }

.hp-prose-wrap {
  min-height: calc(100vh - 280px);
  background: var(--hp-bg-warm);
  padding: 56px 32px 88px;
}
.hp-prose-inner {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-md);
  box-shadow: var(--hp-shadow-soft);
  padding: 48px 56px 52px;
}
.hp-prose-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--hp-blue);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hp-prose-eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hp-border);
}
.hp-prose-title {
  font-family: var(--hp-serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--hp-ink);
  margin-bottom: 8px;
}
.hp-prose-title em {
  font-style: italic;
  color: var(--hp-blue);
}
.hp-prose-updated {
  font-size: 13px;
  color: var(--hp-ink-soft);
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hp-border);
}
.hp-prose-body { line-height: 1.8; }
.hp-prose-body h3,
.hp-prose-body h4 {
  font-family: var(--hp-serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--hp-ink);
  margin: 36px 0 10px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.hp-prose-body h3:first-child,
.hp-prose-body h4:first-child { margin-top: 0; }
.hp-prose-body p {
  color: var(--hp-ink-muted);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.75;
}
.hp-prose-body a { color: var(--hp-blue); }
.hp-prose-body a:hover { text-decoration: underline; }
.hp-prose-body ol,
.hp-prose-body ul {
  padding-left: 22px;
  color: var(--hp-ink-muted);
  font-size: 15px;
}
.hp-prose-body li { margin-bottom: 14px; line-height: 1.7; }
.hp-prose-body br { display: none; }

@media (max-width: 768px) {
  .hp-prose-wrap  { padding: 32px 16px 64px; }
  .hp-prose-inner { padding: 28px 20px 36px; }
  .hp-prose-title { font-size: 28px; }
}
/* ── end prose page ── */

/* ─────────────────────────────────────────────
   ASSISTANCE / FAQ PAGE
   ───────────────────────────────────────────── */
body:has(.faq-page) .hp-site-header  { display: block; }
body:has(.faq-page) .hp-footer       { display: block; }
body:has(.faq-page) .aside           { display: none !important; }
body:has(.faq-page) header.d-xl-none { display: none !important; }
body:has(.faq-page) .main            { margin-left: 0 !important; padding: 0 !important; background: #fff; }
body:has(.faq-page),
body:has(.faq-page) .faq-page        { font-family: var(--hp-sans); color: var(--hp-ink); }

/* Hero */
.hp-faq-hero {
  background: var(--hp-bg-warm);
  padding: 64px 32px 56px;
  text-align: center;
  position: relative;
}
.hp-faq-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--hp-border);
}
.hp-faq-hero .hp-prose-eyebrow {
  justify-content: center;
  max-width: 240px;
  margin: 0 auto 20px;
}
.hp-faq-hero .hp-prose-eyebrow::after { display: none; }
.hp-faq-title {
  font-family: var(--hp-serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--hp-ink);
  margin-bottom: 14px;
}
.hp-faq-title em { font-style: italic; color: var(--hp-blue); }
.hp-faq-sub {
  color: var(--hp-ink-muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 28px;
}
.hp-faq-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hp-blue);
  color: #fff;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: var(--hp-radius-sm);
  font-family: var(--hp-sans);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s;
}
.hp-faq-cta:hover { background: var(--hp-blue-hover); color: #fff; text-decoration: none; }

/* Accordion */
.hp-faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 32px 88px;
}
.hp-faq-section-title {
  font-family: var(--hp-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--hp-ink);
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.hp-faq-list { border-top: 1px solid var(--hp-border); }
.hp-faq-item { border-bottom: 1px solid var(--hp-border); }
.hp-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: var(--hp-serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--hp-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  line-height: 1.3;
  cursor: pointer;
  transition: color 0.15s;
}
.hp-faq-q:hover { color: var(--hp-blue); }
.hp-faq-toggle {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--hp-blue-soft);
  color: var(--hp-blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s, background 0.2s, color 0.2s;
  pointer-events: none;
}
.hp-faq-item.open .hp-faq-toggle {
  transform: rotate(45deg);
  background: var(--hp-blue);
  color: #fff;
}
.hp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--hp-ink-muted);
  font-size: 15px;
  line-height: 1.7;
}
.hp-faq-item.open .hp-faq-a {
  max-height: 600px;
  padding-bottom: 22px;
}

/* Empty state */
.hp-faq-empty {
  text-align: center;
  padding: 64px 0;
  color: var(--hp-ink-soft);
  font-size: 15px;
}

@media (max-width: 768px) {
  .hp-faq-hero  { padding: 48px 20px 44px; }
  .hp-faq-title { font-size: 32px; }
  .hp-faq-section { padding: 40px 20px 64px; }
  .hp-faq-q { font-size: 16px; }
}
/* ── end faq page ── */
