/* Annuaire public Niveau Pro — /annuaire/
   Portage de la maquette Claude Design « Annuaire Niveau Pro » (handoff du 09/09/2026) :
   mêmes couleurs, rayons et tailles, passés de styles en ligne à des classes.
   Le pied de page est celui du site (copie des règles .ft de frontend/landing/landing.css,
   jetons compris) : l'annuaire est servi par l'API, il ne charge pas landing.css. */

:root {
  --an-ink: #16212E;
  --an-ink2: #4E5E6E;
  --an-mut: #8090A0;
  --an-ph: #A6B5BF;
  --an-bd: #E4EBEF;
  --an-bd2: #DCE4E9;
  --an-bg: #F7F9FA;
  --an-teal: #0E8DA6;
  --an-teal-d: #0B7488;
  --an-teal-dd: #0B6072;
  --an-grad: linear-gradient(150deg, #12A0BC 0%, #0B7488 100%);
  --mono: "JetBrains Mono", ui-monospace, monospace;
  /* pied de page du site — jetons de landing.css */
  --ink: #0f1722; --ink-2: #44505f; --ink-3: #7d8896; --border: #e6eaef;
  --accent: #0891b2; --accent-700: #0e7490; --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: #fff; }
body { font-family: "Satoshi", system-ui, sans-serif; color: var(--an-ink); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--an-teal-d); text-decoration: none; }
a:hover { color: var(--an-teal); text-decoration: underline; }
input, textarea, select, button { font: inherit; color: inherit; }
input::placeholder, textarea::placeholder { color: var(--an-ph); }
h1, h2, h3, p { margin: 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.an-page { min-height: 100vh; display: flex; flex-direction: column; }
.an-main { flex: 1; background: var(--an-bg); }
.an-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.an-pad { padding-top: 22px; padding-bottom: 72px; }

/* ── Logo ── */
.an-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--an-ink); flex: 0 0 auto; }
.an-logo:hover { color: var(--an-ink); text-decoration: none; }
.an-logo-name { font-size: 17px; font-weight: 900; letter-spacing: -.02em; color: var(--an-ink); }
.an-logo-name b { color: var(--an-teal); font-weight: 900; }

/* ── Barre du haut (vue résultats de la maquette) ── */
.an-bar { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--an-bd); }
.an-bar-in { max-width: 1120px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.an-bar-pro { font-size: 13.5px; font-weight: 700; color: var(--an-ink2); white-space: nowrap; }
.an-bar-pro:hover { color: var(--an-teal-d); }

/* ── Recherche ── */
.an-search { flex: 1 1 420px; min-width: 0; display: flex; align-items: center; height: 46px; background: #F8FAFB; border: 1px solid var(--an-bd); border-radius: 999px; overflow: hidden; }
.an-search .ico { display: inline-flex; padding: 0 4px 0 16px; color: var(--an-ph); }
.an-search input { flex: 1.4; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font-size: 14.5px; padding: 0 8px; }
.an-search input.cp { flex: .7; font-family: var(--mono); }
.an-search .sep { width: 1px; height: 22px; background: var(--an-bd); flex: 0 0 auto; }
.an-search button { flex: 0 0 auto; height: 34px; margin-right: 6px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--an-grad); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.an-search button:hover { filter: brightness(1.06); }
.an-search.lg { flex: none; width: 100%; max-width: 720px; height: 60px; background: #fff; border-color: var(--an-bd2); box-shadow: 0 10px 30px -22px rgba(16,33,46,.9); }
.an-search.lg .ico { padding: 0 6px 0 20px; }
.an-search.lg input { font-size: 17px; padding: 0 10px; }
.an-search.lg .sep { height: 26px; }
.an-search.lg button { height: 44px; margin-right: 8px; padding: 0 24px; font-size: 15px; }

[hidden] { display: none !important; }

/* ── Accueil et résultats (vue « home » de la maquette v2 : la carte) ── */
.an-top { display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 64px 20px 88px; background: #fff; }
.an-top > .an-logo { gap: 18px; }
.an-top > .an-logo svg { width: 72px; height: 72px; }
.an-top > .an-logo .an-logo-name { font-size: 52px; letter-spacing: -.03em; line-height: 1; }
.an-top-n { margin-top: -12px; font-size: 13.5px; color: var(--an-mut); text-align: center; }
.an-mapcard { width: 100%; max-width: 1180px; background: #fff; border: 1px solid var(--an-bd); border-radius: 20px; box-shadow: 0 26px 60px -44px rgba(16,33,46,.9); overflow: hidden; }
.an-mc-head { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--an-bd); }
.an-mc-titre { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; }
.an-mc-h { font-size: 19px; font-weight: 900; letter-spacing: -.022em; line-height: 1.25; color: var(--an-ink); text-wrap: balance; }
.an-mc-sub { font-size: 13.5px; color: var(--an-mut); }
.an-search.mc { flex: none; width: 100%; height: 52px; background: #fff; border-color: var(--an-bd2); }
.an-search.mc .ico { padding: 0 6px 0 18px; }
.an-search.mc input { flex: 1.5; font-size: 15.5px; padding: 0 10px; }
.an-search.mc input.cp { flex: .7; }
.an-search.mc .sep { height: 24px; }
.an-search.mc button { height: 40px; padding: 0 22px; font-size: 14.5px; }
.an-mc-base { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--an-bd); }
.an-mc-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--an-teal); border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--an-teal-d); }
.an-mc-pill b { font-weight: 700; }
.an-mc-sel { height: 40px; padding: 0 12px; border: 1px solid var(--an-bd2); border-radius: 12px; background: #fff; font-size: 14.5px; font-weight: 600; color: var(--an-ink); cursor: pointer; }
.an-mc-range { display: flex; align-items: center; gap: 12px; }
.an-mc-range input { width: 190px; accent-color: var(--an-teal); cursor: pointer; }
.an-mc-range span { font-size: 15px; font-weight: 800; color: var(--an-ink); }
.an-mc-fill { flex: 1; }
.an-mc-count { font-size: 13.5px; color: var(--an-mut); }
.an-mc-body { display: flex; flex-wrap: wrap; }
.an-mc-mapw { position: relative; flex: 1 1 460px; min-width: 0; }
.an-mc-map { height: 470px; width: 100%; background: #EAF0F2; }
.an-mc-leg { position: absolute; left: 14px; bottom: 22px; z-index: 500; background: #fff; border: 1px solid var(--an-bd); border-radius: 12px; padding: 10px 13px; display: flex; flex-direction: column; gap: 7px; box-shadow: 0 10px 24px -18px rgba(16,33,46,.9); }
.an-mc-leg span { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--an-ink2); }
.an-mc-leg i { display: inline-block; width: 11px; height: 11px; border-radius: 999px; }
.an-mc-aside { flex: 1 1 290px; min-width: 0; max-width: 340px; border-left: 1px solid var(--an-bd); display: flex; flex-direction: column; }
.an-mc-aside-t { padding: 16px 18px 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--an-mut); }
.an-mc-list { flex: 1; max-height: 424px; overflow: auto; display: flex; flex-direction: column; }
.an-mc-row { display: flex; align-items: center; gap: 11px; width: 100%; padding: 12px 18px; border-top: 1px solid #F1F5F7; background: #fff; color: inherit; }
.an-mc-row:hover { background: var(--an-bg); color: inherit; text-decoration: none; }
.an-mc-row .dot { width: 10px; height: 10px; flex: 0 0 10px; border-radius: 999px; background: var(--an-teal); }
.an-mc-row .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.an-mc-row b { font-size: 14px; font-weight: 800; letter-spacing: -.01em; color: var(--an-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-mc-row .t span { font-size: 12.5px; color: var(--an-mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-mc-row .km { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--an-ink2); }
.an-mc-vide { padding: 14px 18px; font-size: 13.5px; color: var(--an-mut); }
.leaflet-container { font-family: "Satoshi", system-ui, sans-serif; background: #EAF0F2; }
.leaflet-container a { color: var(--an-teal-d); }
.an-results { width: 100%; max-width: 1180px; padding-top: 4px; }
.an-results .an-count { margin: 0 0 16px; }
.an-back { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 10px; margin-bottom: 16px; border: 1px solid var(--an-bd); background: #fff; border-radius: 999px; color: var(--an-ink2); font-size: 13px; font-weight: 700; }
.an-back:hover { border-color: var(--an-teal); color: var(--an-teal-d); text-decoration: none; }

/* ── En-têtes de liste ── */
.an-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--an-mut); margin: 0 0 12px; }
.an-crumbs a { color: var(--an-ink2); }
.an-crumbs span[aria-hidden] { color: #C3D1D6; }
.an-head h1 { font-size: 28px; font-weight: 900; letter-spacing: -.025em; line-height: 1.15; color: var(--an-ink); }
.an-lead { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--an-ink2); max-width: 78ch; }
.an-count { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--an-ink2); margin: 18px 0 14px; }
.an-count b { font-size: 15px; font-weight: 800; color: var(--an-ink); }
.an-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.an-tag { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--an-bd); background: #fff; color: var(--an-ink2); font-size: 13px; font-weight: 700; }
.an-tag:hover { border-color: var(--an-teal); color: var(--an-teal-d); text-decoration: none; }
.an-tag.on { background: var(--an-teal-d); border-color: var(--an-teal-d); color: #fff; }
.an-tag small { font-family: var(--mono); font-size: 11.5px; font-weight: 500; opacity: .75; }

/* ── Cartes (vue résultats) ── */
.an-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.an-card { background: #fff; border: 1px solid var(--an-bd); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; }
.an-card:hover { border-color: #C9DCE2; box-shadow: 0 16px 30px -24px rgba(16,33,46,.85); }
.an-card-top { display: flex; gap: 12px; align-items: flex-start; color: inherit; }
.an-card-top:hover { color: inherit; text-decoration: none; }
.an-av { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 800; }
.an-av.sm { width: 38px; height: 38px; flex-basis: 38px; border-radius: 11px; font-size: 13px; }
.an-av.xl { width: 62px; height: 62px; flex-basis: 62px; border-radius: 17px; font-size: 19px; }
.an-card-id { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.an-card-name { font-size: 16px; font-weight: 800; letter-spacing: -.012em; line-height: 1.25; color: var(--an-ink); }
.an-card-place { font-size: 13px; color: var(--an-mut); margin-top: 2px; }
.an-chev { color: #C3D1D6; flex: 0 0 auto; margin-top: 2px; display: inline-flex; }
.an-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 11px; }
.an-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; padding: 4px 9px; border-radius: 8px; }
.an-chip.rge { background: #E8F3EA; color: #2F6B3A; font-weight: 800; letter-spacing: .02em; }
.an-chip.cp { background: #E4F2F5; color: var(--an-teal-dd); }
.an-chip.q { background: #F4ECFF; color: #6D28D9; }
.an-chip.np { background: var(--an-grad); color: #fff; }
.an-chip.km { background: #F1F5F7; color: var(--an-ink2); }
.an-chip-note { font-size: 13px; font-weight: 600; color: var(--an-mut); align-self: center; }
.an-quals { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.an-qual { background: #F1F5F7; border-radius: 10px; padding: 8px 11px; display: flex; flex-direction: column; gap: 2px; }
.an-qual b { font-size: 12.5px; font-weight: 800; color: var(--an-teal-dd); }
.an-qual span { font-size: 12.5px; line-height: 1.4; color: var(--an-ink2); }
.an-more { font-size: 12.5px; font-weight: 600; color: var(--an-mut); padding-left: 2px; }
.an-card-act { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: auto; padding-top: 14px; }

/* ── Boutons ── */
.an-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--an-bd2); background: #fff; color: var(--an-ink2); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.an-btn:hover { border-color: var(--an-teal); color: var(--an-teal-d); text-decoration: none; }
.an-btn.pri { border: 0; padding: 0 16px; background: var(--an-grad); color: #fff; }
.an-btn.pri:hover { filter: brightness(1.06); color: #fff; }
.an-btn.lg { height: 44px; padding: 0 20px; border-radius: 12px; font-size: 14px; }

/* ── Sections ── */
.an-sec { background: #fff; border: 1px solid var(--an-bd); border-radius: 18px; padding: 22px 24px; margin-top: 14px; }
.an-h2 { font-size: 19px; font-weight: 900; letter-spacing: -.02em; line-height: 1.25; color: var(--an-ink); }
.an-kicker { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--an-mut); }
.an-sec > p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--an-ink2); }
.an-links { columns: 3 190px; column-gap: 24px; margin: 14px 0 0; padding: 0; list-style: none; }
.an-links li { padding: 4px 0; break-inside: avoid; font-size: 14px; }
.an-links small { margin-left: 6px; font-family: var(--mono); font-size: 12px; color: var(--an-mut); }
.an-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.an-steps li { background: #F8FAFB; border: 1px solid var(--an-bd); border-radius: 14px; padding: 14px 16px; font-size: 14px; line-height: 1.5; color: var(--an-ink2); }
.an-steps b { display: block; margin: 2px 0 4px; font-size: 15px; color: var(--an-ink); }
.an-steps .num { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--an-teal-d); }
.an-faq details { border-top: 1px solid var(--an-bd); padding: 13px 0; }
.an-faq details:first-of-type { margin-top: 12px; }
.an-faq summary { cursor: pointer; font-size: 15px; font-weight: 800; color: var(--an-ink); list-style: none; }
.an-faq summary::-webkit-details-marker { display: none; }
.an-faq summary::after { content: "+"; float: right; font-family: var(--mono); color: var(--an-mut); }
.an-faq details[open] summary::after { content: "–"; }
.an-faq p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--an-ink2); max-width: 80ch; }
.an-src { margin-top: 12px; font-size: 12.5px; color: var(--an-mut); }
.an-pages { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; }
.an-pages-n { font-size: 13px; color: var(--an-mut); }
.an-empty { text-align: center; padding: 40px 24px; }
.an-empty p { margin: 6px auto 16px; max-width: 52ch; }

/* ── Encart artisan ── */
.an-cta { margin-top: 14px; border-radius: 18px; padding: 24px; background: linear-gradient(150deg, #0E3945 0%, #0B2530 100%); color: #fff; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.an-cta h2 { font-size: 19px; font-weight: 900; letter-spacing: -.02em; }
.an-cta p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: #C6D6DC; max-width: 64ch; }

/* ── Fiche (vue « fiche » de la maquette) ── */
.an-fiche { max-width: 820px; margin: 0 auto; padding: 20px 24px 80px; }
.an-fhead { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.an-fid { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 6px; }
.an-fid h1 { font-size: 26px; font-weight: 900; letter-spacing: -.025em; line-height: 1.15; color: var(--an-ink); }
.an-fplace { font-size: 14px; color: var(--an-mut); }
.an-fid .an-chips { margin-top: 4px; }
.an-fid .an-chip { font-size: 13px; padding: 5px 10px; }
.an-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; padding: 12px 14px; background: #F8FAFB; border: 1px solid var(--an-bd); border-radius: 12px; }
.an-note svg { color: var(--an-teal-d); flex: 0 0 auto; margin-top: 1px; }
.an-note p { font-size: 13.5px; line-height: 1.5; color: var(--an-ink2); }
.an-fquals { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.an-fqual { display: flex; gap: 11px; align-items: flex-start; padding: 13px 14px; border: 1px solid var(--an-bd); border-radius: 13px; }
.an-fqual svg { color: var(--an-teal-d); flex: 0 0 auto; margin-top: 1px; }
.an-fqual span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.an-fqual b { font-size: 14.5px; font-weight: 800; color: var(--an-ink); }
.an-fqual em { font-style: normal; font-size: 13.5px; line-height: 1.5; color: var(--an-ink2); }
.an-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 0; }
.an-facts dd { margin: 5px 0 0; font-size: 14.5px; font-weight: 700; color: var(--an-ink); }
.an-facts dd.muted { color: var(--an-mut); font-weight: 600; }
.an-sec .an-grid { margin-top: 14px; }

/* ── Formulaires ── */
.an-form { display: flex; flex-direction: column; gap: 14px; }
.an-sec .an-form { margin-top: 16px; }
.an-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.an-field { display: flex; flex-direction: column; gap: 6px; }
.an-lab { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--an-mut); }
.an-lab small { font-weight: 600; letter-spacing: 0; text-transform: none; }
.an-in { width: 100%; height: 42px; padding: 0 13px; border: 1px solid var(--an-bd2); border-radius: 11px; outline: none; font-size: 14.5px; background: #fff; }
textarea.an-in { height: auto; resize: vertical; padding: 12px 14px; border-radius: 12px; line-height: 1.5; }
select.an-in { appearance: auto; }
.an-in:focus { border-color: var(--an-teal); }
.an-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.an-pills input { position: absolute; opacity: 0; pointer-events: none; }
.an-pills label { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 700; background: #fff; color: var(--an-ink2); border: 1px solid var(--an-bd2); }
.an-pills input:checked + label { background: var(--an-teal-d); color: #fff; border-color: var(--an-teal-d); }
.an-pills input:focus-visible + label { outline: 2px solid var(--an-teal); outline-offset: 2px; }
.an-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--an-ink2); }
.an-consent input { margin-top: 3px; accent-color: var(--an-teal-d); }
.an-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.an-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; padding-top: 2px; }
.an-actions.left { justify-content: flex-start; margin-top: 14px; }
.an-err { background: #FDECEC; color: #9B1C1C; border-radius: 10px; padding: 10px 12px; font-size: 13.5px; }
.an-points { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.an-points li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--an-ink2); }
.an-points svg { color: var(--an-teal-d); flex: 0 0 auto; margin-top: 2px; }

/* ── Fenêtre « Demande de devis » ── */
dialog.an-dlg { width: calc(100% - 32px); max-width: 500px; border: 0; border-radius: 20px; padding: 0; box-shadow: 0 40px 80px -40px rgba(16,33,46,.6); color: var(--an-ink); }
dialog.an-dlg::backdrop { background: rgba(16,33,46,.42); }
.an-dlg-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--an-bd); }
.an-dlg-id { flex: 1; min-width: 0; }
.an-dlg-t { font-size: 15px; font-weight: 800; color: var(--an-ink); }
.an-dlg-n { font-size: 13px; color: var(--an-mut); }
.an-dlg .an-form { padding: 20px; }
.an-x { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--an-bd); background: #fff; color: var(--an-ink2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.an-x:hover { border-color: #C3D1D6; }

/* ── Confirmation / erreur ── */
.an-done { max-width: 560px; margin: 0 auto; padding: 36px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.an-done p { font-size: 14px; line-height: 1.55; color: var(--an-ink2); max-width: 46ch; }
.an-done .an-actions { justify-content: center; margin-top: 8px; }
.an-done-ico { width: 48px; height: 48px; border-radius: 999px; background: #E4F2F5; color: var(--an-teal-d); display: inline-flex; align-items: center; justify-content: center; }
.an-done.ko .an-done-ico { background: #FDECEC; color: #9B1C1C; }

/* ── Pied de page de l'annuaire (maquette v2 du 11/09) ── */
.an-ft { margin-top: auto; background: #0B2530; color: #CFE0E6; }
.an-ft-in { max-width: 1180px; margin: 0 auto; padding: 46px 24px 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px; }
.an-ft-brand { display: flex; flex-direction: column; gap: 12px; }
.an-ft-logo { display: inline-flex; align-items: center; gap: 10px; }
.an-ft-logo:hover { text-decoration: none; }
.an-ft-logo span { font-size: 18px; font-weight: 900; letter-spacing: -.02em; color: #fff; }
.an-ft-logo b { color: #4BC4DD; font-weight: 900; }
.an-ft-brand p { font-size: 13.5px; line-height: 1.6; color: #9FB6BE; max-width: 260px; }
.an-ft-col { display: flex; flex-direction: column; gap: 9px; }
.an-ft-col h5 { margin: 0 0 3px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #7F9AA4; }
.an-ft-col a { font-size: 14px; color: #CFE0E6; }
.an-ft-col a:hover { color: #fff; text-decoration: none; }
.an-ft-bas { border-top: 1px solid rgba(255,255,255,.1); }
.an-ft-bas div { max-width: 1180px; margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #7F9AA4; }

/* ── Petits écrans ── */
@media (max-width: 720px) {
  .an-top { padding: 36px 12px 56px; gap: 18px; }
  .an-top > .an-logo { gap: 12px; }
  .an-top > .an-logo svg { width: 52px; height: 52px; }
  .an-top > .an-logo .an-logo-name { font-size: 38px; }
  .an-mapcard { border-radius: 16px; }
  .an-mc-head { padding: 14px; }
  .an-mc-base { padding: 12px 14px; gap: 10px; }
  .an-mc-range input { width: 150px; }
  .an-mc-count { flex-basis: 100%; }
  .an-mc-map { height: 360px; }
  .an-mc-aside { max-width: none; flex-basis: 100%; border-left: 0; border-top: 1px solid var(--an-bd); }
  .an-mc-list { max-height: 320px; }
  .an-bar-in { padding: 10px 14px; gap: 10px 12px; }
  .an-bar .an-search { order: 3; flex: 1 1 100%; }
  .an-bar-pro { margin-left: auto; font-size: 12.5px; }
  .an-wrap { padding: 0 14px; }
  .an-fiche { padding: 16px 14px 64px; }
  .an-sec { padding: 18px 16px; border-radius: 16px; }
  .an-head h1 { font-size: 23px; }
  .an-fid h1 { font-size: 22px; }
  .an-grid { grid-template-columns: 1fr; }
  .an-cta { padding: 20px 16px; }
  /* Les rubriques sur une ligne qui défile : sinon 18 pastilles repoussent les résultats d'un écran. */
  .an-head .an-tags { flex-wrap: nowrap; overflow-x: auto; margin-right: -14px; padding-right: 14px; scrollbar-width: none; }
  .an-head .an-tags::-webkit-scrollbar { display: none; }
  .an-head .an-tag { flex: 0 0 auto; }
}
@media (max-width: 640px) {
  .an-search, .an-search.lg, .an-search.mc { flex-wrap: wrap; height: auto; border-radius: 18px; padding: 4px; }
  .an-search .ico, .an-search .sep { display: none; }
  .an-search input, .an-search.lg input, .an-search.mc input { flex: 1 1 58%; height: 44px; padding: 0 12px; font-size: 15px; }
  .an-search input.cp, .an-search.mc input.cp { flex: 1 1 32%; border-left: 1px solid var(--an-bd); }
  .an-search button, .an-search.lg button, .an-search.mc button { flex: 1 1 100%; margin: 4px; height: 42px; font-size: 14px; }
}
@media (max-width: 560px) {
  .an-ft-col a { padding: 4px 0; }
}
