/* GovCheck home, smart and made to act, in the CERC brand kit (2026-11-11,
   owner). Navy #3b3a5e, Amber #eca327, Orange #ee7b42, Blue #4faac6, Green
   #5ab78d, Lilac #c671ba, Cream #efede5; Draft Natural titles, Barlow text.
   Phone first; behaviour in js/hub.js. */
.hub { --n: #3b3a5e; --nd: #2c2b47; --a: #eca327; --o: #ee7b42; --b: #4faac6; --g: #5ab78d; --l: #c671ba; --cream: #efede5; --ink: #414141; --mut: #6b6b75; --line: #e3e0d6; color: var(--ink); }
.hub-wrap { width: min(1200px, 100% - 2rem); margin-inline: auto; }

/* The important pages at the top. */
.hub-top { position: sticky; z-index: 60; top: 0; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.hub-top__in { display: flex; align-items: center; gap: .25rem; min-height: 58px; overflow-x: auto; scrollbar-width: none; }
.hub-top__in::-webkit-scrollbar { display: none; }
.hub-top a { flex: none; display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 .9rem; border-radius: 2.25rem; color: var(--n) !important; font-weight: 700; font-size: .95rem; text-decoration: none !important; white-space: nowrap; }
.hub-top a:hover { background: var(--cream); }
.hub-top a.hub-top__main { margin-right: .4rem; background: var(--a); color: var(--nd) !important; }
.hub-top a.hub-top__main:hover { background: #d9931d; }

/* Hero. */
.hub-hero { padding: 2rem 0 1.2rem; background: var(--cream); }
.hub-hero__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; align-items: start; }
.hub-eyebrow { display: inline-block; margin: 0 0 .8rem; padding: .35rem .8rem; border-radius: 2.25rem; background: #fff; color: var(--n); font-size: .875rem; font-weight: 700; }
.hub .hub-hero .hub-hero__title { margin: 0 0 .8rem !important; color: var(--n) !important; font-size: clamp(2.1rem, 4.6vw, 3.5rem) !important; line-height: 1.05 !important; }
.hub-hero__title b { background: linear-gradient(transparent 62%, var(--a) 62%, var(--a) 94%, transparent 94%); font-weight: inherit; }
.hub-hero__lead { max-width: 36rem; margin: 0 0 1.3rem; color: var(--ink); font-size: 1.12rem; line-height: 1.5; }
.hub-start__q { margin: 0 0 .5rem; color: var(--n); font-weight: 800; font-size: 1.05rem; }
.hub-topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; margin: 0 0 1rem; padding: 0; list-style: none; max-width: 38rem; }
.hub-topics a { display: grid; justify-items: center; gap: .3rem; padding: .8rem .3rem .7rem; border: 2px solid transparent; border-radius: 16px; background: #fff; color: var(--n) !important; font-weight: 700; font-size: .92rem; line-height: 1.15; text-align: center; text-decoration: none !important; box-shadow: 0 1px 2px rgba(59, 58, 94, .08); transition: transform .12s, border-color .12s; }
.hub-topics a:hover, .hub-topics a:focus-visible { border-color: var(--a); transform: translateY(-2px); }
.hub-topics svg { color: var(--b); }
.hub-topics li:nth-child(4n+2) svg { color: var(--g); }
.hub-topics li:nth-child(4n+3) svg { color: var(--o); }
.hub-topics li:nth-child(4n+4) svg { color: var(--l); }
.hub-start__go { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.2rem; }
.hub-cta { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 56px; padding: 0 1.6rem; border: 2px solid transparent; border-radius: 2.25rem; font-family: "Barlow", sans-serif; font-weight: 800; font-size: 1.08rem; text-decoration: none !important; cursor: pointer; transition: transform .1s, background .15s; }
.hub-cta:active { transform: translateY(1px); }
.hub-cta--main { background: var(--a); color: var(--nd) !important; box-shadow: 0 6px 18px -6px rgba(236, 163, 39, .9); }
.hub-cta--main:hover { background: #d9931d; }
.hub-cta--wa { background: #25d366; color: #063d1f !important; }
.hub-cta--light { background: #fff; color: var(--n) !important; }
.hub-cta--ghost { border-color: rgba(255, 255, 255, .7); color: #fff !important; }
.hub-track { max-width: 38rem; padding: .9rem 1rem 1rem; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(59, 58, 94, .08); }
.hub-track label { display: block; margin-bottom: .45rem; color: var(--n); font-weight: 700; }
.hub-track__row { display: flex; gap: .5rem; }
.hub .hub-track input { flex: 1; min-width: 0; min-height: 48px; padding: 0 1rem; border: 1.5px solid #cfcbbd !important; border-radius: 2.25rem !important; font: inherit; text-transform: uppercase; }
.hub-track button { min-height: 48px; padding: 0 1.3rem; border: 0; border-radius: 2.25rem; background: var(--n); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.hub-track button:hover { background: var(--nd); }
.hub-track__last { display: inline-block; margin-top: .55rem; color: #2b6f84 !important; font-weight: 700; }
.hub-track__last[hidden] { display: none; }

/* « Près de chez vous ». */
.hub-near { padding: 1.1rem 1.2rem 1.2rem; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(59, 58, 94, .08), 0 16px 40px -18px rgba(59, 58, 94, .45); border-top: 6px solid var(--b); transition: opacity .15s; }
.hub-near.is-loading { opacity: .6; }
.hub-near__head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .7rem; }
.hub .hub-near__head h2 { display: flex; align-items: center; gap: .4rem; margin: 0; color: var(--n); font-size: 1.45rem; }
.hub-near__head h2 svg { color: var(--o); }
.hub-live { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .6rem; border-radius: 2.25rem; background: #e9f5ef; color: #2d6d50; font-size: .875rem; font-weight: 800; }
.hub-live i, .hub-now i { width: 8px; height: 8px; border-radius: 50%; background: var(--g); animation: hub-pulse 1.6s ease-in-out infinite; }
@keyframes hub-pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .hub-live i, .hub-now i { animation: none; } }
.hub-near__pick { display: flex; gap: .5rem; margin-bottom: .8rem; }
.hub .hub-near__pick select { flex: 1; min-width: 0; min-height: 48px; border-radius: 2.25rem !important; font-weight: 700; }
.hub-near__geo { display: inline-flex; align-items: center; gap: .35rem; flex: none; min-height: 48px; padding: 0 .9rem; border: 2px solid var(--n); border-radius: 2.25rem; background: #fff; color: var(--n); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; }
.hub-near__geo:hover { background: var(--cream); }
.hub-near__geo[hidden] { display: none; }
.hub-near__msg { margin: 0 0 .7rem; padding: .55rem .8rem; border-radius: 12px; background: #fdf3e2; color: #7f540b; font-size: .92rem; }
.hub-near__msg[hidden] { display: none; }
.hub-near__figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: 0 0 .8rem; padding: 0; list-style: none; }
.hub-near__figs li { display: grid; gap: .1rem; padding: .65rem .8rem; border-radius: 14px; background: #f6f6f4; }
.hub-near__figs b { color: var(--n); font-size: 1.6rem; line-height: 1.1; }
.hub-near__figs span { color: var(--mut); font-size: .875rem; font-weight: 600; }
.hub-near__figs .is-ok b { color: #2d6d50; }
.hub-near__figs .is-hot { background: #fdeee6; }
.hub-near__figs .is-hot b { color: #b8470f; }
.hub-near__feed { display: grid; gap: .1rem; margin: 0 0 .7rem; padding: 0; list-style: none; }
.hub-near__feed li + li { border-top: 1px solid var(--line); }
.hub-near__feed a { display: grid; gap: .1rem; padding: .55rem .2rem; color: var(--ink) !important; text-decoration: none !important; }
.hub-near__feed a:hover strong { text-decoration: underline; }
.hub-near__feed strong { color: var(--n); line-height: 1.25; }
.hub-near__feed span { color: var(--mut); font-size: .88rem; }
.hub-near__feed .is-empty { padding: .6rem .2rem; color: var(--mut); }
.hub-near__more { color: #2b6f84 !important; font-weight: 800; }
.hub-now { display: flex; align-items: center; gap: .55rem; margin-top: 1.3rem; color: var(--n); font-size: .98rem; }
.hub-now i { flex: none; }
.hub-now b { font-weight: 800; }

/* Sections. */
.hub-proof, .hub-how, .hub-trust, .hub-map, .hub-partners { margin-top: 2.4rem; }
.hub-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1rem; }
.hub .hub-head h2 { margin: 0; color: var(--n); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.hub-head a { color: #2b6f84 !important; font-weight: 800; }
.hub-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.hub-figs li { display: grid; gap: .2rem; padding: 1rem 1.1rem; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(59, 58, 94, .08); border-top: 5px solid var(--n); }
.hub-figs li:nth-child(2) { border-top-color: var(--g); }
.hub-figs li:nth-child(3) { border-top-color: var(--b); }
.hub-figs li:nth-child(4) { border-top-color: var(--a); }
.hub-figs b { color: var(--n); font-size: 2.2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hub-figs .is-ok b { color: #2d6d50; }
.hub-figs span { color: var(--mut); font-weight: 600; }
.hub-solved[hidden] { display: none; }
.hub .hub-solved h3 { display: flex; align-items: center; gap: .4rem; margin: 0 0 .6rem; color: #2d6d50; font-size: 1.25rem; }
.hub-solved ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin: 0; padding: 0; list-style: none; }
.hub-solved a { display: grid; gap: .15rem; height: 100%; padding: .8rem 1rem; border-radius: 16px; background: #e9f5ef; color: var(--ink) !important; text-decoration: none !important; }
.hub-solved strong { color: var(--n); }
.hub-solved span { color: var(--mut); font-size: .9rem; }
.hub-solved em { color: #2d6d50; font-style: normal; font-weight: 800; font-size: .875rem; }
.hub-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin: 0; padding: 0; list-style: none; }
.hub-steps li { padding: 1.1rem 1.2rem; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(59, 58, 94, .08); }
.hub-steps span { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: .5rem; border-radius: 50%; background: var(--a); color: var(--nd); font-weight: 900; font-size: 1.15rem; }
.hub-steps li:nth-child(2) span { background: var(--b); color: #fff; }
.hub-steps li:nth-child(3) span { background: var(--g); color: #fff; }
.hub-steps strong { display: block; margin-bottom: .3rem; color: var(--n); font-size: 1.12rem; }
.hub-steps p { margin: 0; color: var(--ink); line-height: 1.5; }
.hub-how__go { margin: 1.1rem 0 0; text-align: center; }
.hub-trust__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin: 0; padding: 0; list-style: none; }
.hub-trust__list li { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; padding: 1.1rem 1.2rem; border-radius: 18px; background: var(--cream); }
.hub-trust__list svg { grid-row: span 2; margin-top: .15rem; color: var(--n); }
.hub-trust__list strong { color: var(--n); }
.hub-trust__list p { margin: 0; color: var(--ink); line-height: 1.5; }
.hub-partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.5rem; padding: 1.5rem 1.6rem 1.7rem; border-radius: 22px; color: #e9e8f1; background: var(--n) linear-gradient(90deg, var(--a) 0 20%, var(--o) 20% 40%, var(--b) 40% 60%, var(--g) 60% 80%, var(--l) 80%) bottom / 100% 6px no-repeat; }
.hub .hub-partners h2 { margin: 0 0 .3rem; color: var(--a); font-size: 1.6rem; }
.hub-partners p { margin: 0; max-width: 40rem; line-height: 1.5; }
.hub-partners__links { display: flex; flex-wrap: wrap; gap: .6rem; }
.hub-partners .hub-cta { min-height: 48px; font-size: 1rem; }

/* Phones. */
.hub-fab { display: none; }
@media (max-width: 900px) {
  .hub-hero__in { grid-template-columns: 1fr; gap: 1.3rem; }
  .hub-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-steps, .hub-trust__list, .hub-solved ul { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .hub-top { position: static; }
  .hub-top__in { min-height: 50px; }
  .hub-top a { min-height: 36px; padding: 0 .75rem; font-size: .88rem; }
  .hub-hero { padding-top: 1.1rem; }
  .hub-eyebrow { font-size: .875rem; }
  .hub-topics a { padding: .65rem .15rem .55rem; font-size: .875rem; border-radius: 14px; }
  .hub-cta { flex: 1 1 100%; }
  .hub-figs b { font-size: 1.7rem; }
  .hub-fab { position: fixed; z-index: 140; left: .75rem; right: .75rem; bottom: calc(64px + .6rem + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; border-radius: 2.25rem; background: var(--a); color: var(--nd) !important; font-weight: 800; font-size: 1.02rem; text-decoration: none !important; box-shadow: 0 8px 22px rgba(44, 43, 71, .35); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s, transform .2s; }
  .hub-fab.is-on { opacity: 1; pointer-events: auto; transform: none; }
}
