/* TRASPAME v2 — marine & or, mobile-first, sans framework */
:root {
  --navy: #142640;
  --navy-2: #1f3556;
  --gold: #e05014;
  --gold-2: #f06a31;
  --ok: #13851e;
  --bg: #f2f3f5;
  --surface: #fff;
  --text: #142640;
  --muted: #5f6c7e;
  --line: #e5e8ec;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 38, 64, .06), 0 10px 28px rgba(20, 38, 64, .10);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--sans); padding-bottom: 72px; }
/* Pied de page collé en bas de l'écran quand le contenu est court */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body > main, body > .pol-old, body > .old-theme { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; border-radius: 8px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent; background: var(--gold); color: #fff; font-weight: 700; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--gold-2); }
.btn:active { transform: translateY(1px); }
.btn--outline { background: transparent; border-color: var(--gold); color: var(--gold-2); }
.btn--outline:hover { background: rgba(224, 80, 20, .12); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 8px; }
.btn--block { width: 100%; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(20, 38, 64, .96); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 2px 16px rgba(20, 38, 64, .28); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent 60%); opacity: .9; pointer-events: none; }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { font-family: var(--serif); font-size: 26px; font-weight: 700; letter-spacing: .01em; }
.logo b { color: var(--gold); font-weight: 700; }
.logo small { display: block; font: 600 9px/1 var(--sans); letter-spacing: .3em; color: rgba(255, 255, 255, .6); margin-top: 2px; }
.nav { display: none; gap: 2px; margin-left: 12px; }
.nav a { padding: 8px 14px; font-weight: 500; font-size: 14px; color: rgba(255, 255, 255, .8); border-bottom: 2px solid transparent; border-radius: 8px 8px 0 0; transition: background .15s, color .15s; }
.nav a:hover { background: rgba(255, 255, 255, .08); }
.nav a:hover, .nav a[aria-current] { color: #fff; border-bottom-color: var(--gold); }
.header-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.header-actions .link { display: none; font-size: 14px; color: rgba(255, 255, 255, .85); }
.header-actions .btn { display: none; }
@media (min-width: 900px) { .nav, .header-actions .link, .header-actions .btn { display: inline-flex; } }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); isolation: isolate; padding: 24px 0 92px; }
/* photo de fond : couche à part, pour pouvoir l'animer doucement (zoom lent) */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-img, none) center 42% / cover no-repeat; transform-origin: 70% 50%; animation: heroZoom 26s ease-in-out infinite alternate; will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 22, 40, .95) 0%, rgba(10, 22, 40, .80) 46%, rgba(10, 22, 40, .38) 100%), linear-gradient(0deg, rgba(10, 22, 40, .55) 0%, rgba(10, 22, 40, 0) 45%); }
/* lueurs dorées qui dérivent lentement */
.hero__glow { position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none; background: radial-gradient(420px 260px at 78% 30%, rgba(240, 106, 49, .26), transparent 70%), radial-gradient(360px 240px at 92% 78%, rgba(255, 200, 120, .16), transparent 70%); animation: heroGlow 14s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
@keyframes heroGlow { from { transform: translate3d(-3%, 2%, 0); opacity: .75; } to { transform: translate3d(4%, -3%, 0); opacity: 1; } }
/* entrée des éléments de la bannière, l'un après l'autre */
@keyframes heroUp { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
@keyframes heroLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes heroShine { to { background-position: -200% 0; } }
@keyframes heroPulse { 0%, 100% { box-shadow: 0 10px 24px rgba(224, 80, 20, .35), 0 0 0 0 rgba(240, 106, 49, .45); } 55% { box-shadow: 0 10px 24px rgba(224, 80, 20, .35), 0 0 0 14px rgba(240, 106, 49, 0); } }
.hero .wrap > .eyebrow, .hero .wrap > h1, .hero .wrap > .lead, .hero .wrap > .hero__cta { animation: heroUp .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero .wrap > .eyebrow { animation-delay: .15s; position: relative; padding-left: 0; }
.hero .wrap > h1 { animation-delay: .32s; }
.hero .wrap > .lead { animation-delay: .52s; }
.hero .wrap > .hero__cta { animation-delay: .72s; }
.eyebrow::after { content: ""; display: block; width: 46px; height: 2px; margin-top: 10px; background: var(--gold-2); transform-origin: left; animation: heroLine .9s .5s cubic-bezier(.2, .8, .2, 1) both; }
.eyebrow { margin: 0 0 14px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
.hero h1 { margin: 0 0 10px; font: 700 clamp(26px, 5.4vw, 44px)/1.08 var(--serif); letter-spacing: -.01em; max-width: 640px; }
.hero h1 em { font-style: italic; color: var(--gold-2); background: linear-gradient(100deg, #f06a31 0%, #ffd29a 30%, #f06a31 60%, #f06a31 100%) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: heroShine 6s linear 1.4s infinite; }
.hero p.lead { margin: 0 0 8px; max-width: 520px; color: rgba(255, 255, 255, .88); font-size: 16px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.hero__btn { gap: 8px; min-height: 48px; padding: 0 22px; font-size: 15px; box-shadow: 0 10px 24px rgba(224, 80, 20, .35); }
.hero__btn svg { flex: none; }
.hero__btn { animation: heroPulse 3.2s ease-out 2s infinite; }
.hero__note { font-size: 13px; color: rgba(255, 255, 255, .75); }
.trust { display: none; gap: 28px; }
.trust li { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.trust svg { color: var(--gold-2); flex: none; }
.trust strong { display: block; font-size: 13px; }
.trust span { color: rgba(255, 255, 255, .7); font-size: 12px; }
@media (min-width: 720px) { .trust { display: flex; } .hero { padding: 36px 0 100px; } }

/* Recherche (carte chevauchant le hero) */
.search { position: relative; z-index: 2; margin-top: -72px; display: grid; gap: 4px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; }
.field { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-width: 0; }
.field svg { color: var(--navy-2); flex: none; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--navy-2); }
.field input, .field select { width: 100%; border: 0; padding: 0; background: transparent; color: var(--text); font-size: 14px; min-width: 0; }
.field input:focus, .field select:focus { outline: none; }
.field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(224, 80, 20, .25); }
.search .btn { min-height: 52px; font-size: 15px; }
@media (min-width: 900px) {
  .search { grid-template-columns: 1fr auto; gap: 8px; padding: 12px; }
  .search:has(.field--pays) { grid-template-columns: minmax(190px, .55fr) 1fr auto; }
  .search .btn { padding: 0 36px; }
}

/* Catégories */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 24px; }
.cat { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; text-align: left; }
.cat[aria-selected="true"] { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(224, 80, 20, .25); }
.cat .ico { width: 40px; height: 40px; border-radius: 50%; background: #fdece4; color: var(--gold); display: grid; place-items: center; flex: none; }
.cat strong { display: block; font-size: 14px; }
.cat span { font-size: 12px; color: var(--muted); }

/* Mise en page principale */
.layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1000px) { .layout { grid-template-columns: 240px minmax(0, 1fr); } }

/* Filtres */
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: none; }
.filters.open { display: block; }
@media (min-width: 1000px) { .filters { display: block; position: sticky; top: 80px; } }
.filters h2 { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 12px; font-size: 16px; }
.filters h2 button { background: none; border: 0; color: var(--muted); font-size: 12px; text-decoration: underline; cursor: pointer; }
.filters fieldset { border: 0; padding: 14px 0 0; margin: 14px 0 0; border-top: 1px solid var(--line); }
.filters legend { padding: 0; font-weight: 700; font-size: 14px; margin-bottom: 8px; float: left; width: 100%; }
.filters fieldset > *:not(legend) { clear: both; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--gold); }
.select { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; background: #fff; }
.filter-toggle { display: inline-flex; margin-bottom: 12px; }
@media (min-width: 1000px) { .filter-toggle { display: none; } }

/* Résultats */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 18px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sort select { min-height: 38px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; background: #fff; color: var(--text); }
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__media.noimg::after { content: ""; position: absolute; inset: 0; background: center / 48px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e05014' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V5a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1v16M15 10h4a1 1 0 0 1 1 1v10M2 21h20M8 8h3M8 12h3M8 16h3'/%3E%3C/svg%3E"); opacity: .7; }
.tag { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 6px; background: var(--ok); color: #fff; font-size: 11px; font-weight: 700; box-shadow: 0 2px 6px rgba(19, 133, 30, .35); }
.card__body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__title { margin: 0; font-size: 16px; line-height: 1.3; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.loc svg { color: var(--gold); flex: none; }
.card__addr { color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.1; }
.price small { font: 400 12px var(--sans); color: var(--muted); }
.price .from { display: block; font: 400 11px var(--sans); color: var(--muted); }
.card__foot .btn { position: relative; z-index: 1; }

/* Squelette / états */
.skeleton { height: 300px; border-radius: var(--radius); background: linear-gradient(90deg, var(--line) 25%, #fff 50%, var(--line) 75%); background-size: 200% 100%; animation: sh 1.3s infinite; }
@keyframes sh { to { background-position: -200% 0; } }
.empty { text-align: center; color: var(--muted); padding: 48px 16px; grid-column: 1 / -1; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.more { display: flex; justify-content: center; margin-top: 24px; }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { background: var(--bg); }

/* Colonne droite */
.side { display: grid; gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.panel h2 { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; font-size: 16px; }
.panel h2 a { font-size: 12px; color: var(--gold); font-weight: 600; }
.dest { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 0; background: none; border: 0; border-top: 1px solid var(--line); text-align: left; cursor: pointer; }
.dest:first-of-type { border-top: 0; }
.dest .pin { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: var(--gold-2); display: grid; place-items: center; flex: none; }
.dest strong { display: block; font-size: 14px; }
.dest span { font-size: 12px; color: var(--muted); }
.dest svg.chev { margin-left: auto; color: var(--muted); }
.promo { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; border: 0; }
.promo h2 { font-family: var(--serif); color: var(--gold-2); font-size: 20px; }
.promo p { margin: 0 0 14px; color: rgba(255, 255, 255, .85); font-size: 14px; }

/* Bandeau stats */
.band { margin-top: 40px; background: var(--navy); color: #fff; }
.band .wrap { display: grid; gap: 20px; padding-top: 28px; padding-bottom: 28px; align-items: center; }
.band .wrap { text-align: center; }
.band h2 { margin: 0; font: italic 700 clamp(22px, 4vw, 30px)/1.2 var(--serif); color: var(--gold-2); }
.band p { margin: 4px 0 0; color: rgba(255, 255, 255, .8); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; }
.stats strong { display: block; font: 700 24px var(--serif); color: var(--gold-2); }
.stats span { font-size: 12px; color: rgba(255, 255, 255, .75); }
@media (min-width: 900px) { .band .wrap { grid-template-columns: 1fr 1fr; } }

.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: 13px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* Barre mobile */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .1); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; font-size: 11px; color: rgba(255, 255, 255, .65); }
.tabbar a[aria-current] { color: var(--gold-2); }
@media (min-width: 900px) { .tabbar { display: none; } body { padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } .card, .btn, .card__media img { transition: none; } html { scroll-behavior: auto; } }

/* Curseur d'intervalle de prix */
.range { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.range__label { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.range__label output { font-weight: 600; color: var(--gold); text-align: right; }
.range__track { position: relative; height: 22px; }
.range__track::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 4px; background: var(--line); }
.range__fill { position: absolute; top: 9px; height: 4px; border-radius: 4px; background: var(--gold); }
.range__track input { position: absolute; left: 0; top: 0; width: 100%; height: 22px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range__track input::-webkit-slider-runnable-track { background: none; height: 22px; }
.range__track input::-moz-range-track { background: none; }
.range__track input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); box-shadow: 0 1px 4px rgba(20, 38, 64, .3); cursor: grab; }
.range__track input::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); box-shadow: 0 1px 4px rgba(20, 38, 64, .3); cursor: grab; }
.range__track input:focus-visible { outline: none; }
.range__track input:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.range__track input:focus-visible::-moz-range-thumb { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.range__ends { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--muted); }

/* Vues et abonnés en bas de l'image */
.stats-img { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; gap: 14px; padding: 22px 12px 8px; color: #fff; font-size: 12px; font-weight: 600; background: linear-gradient(to top, rgba(14, 28, 48, .85), rgba(14, 28, 48, 0)); }
.stats-img span { display: inline-flex; align-items: center; gap: 5px; }
.stats-img svg { color: var(--gold-2); }
.stats-img { flex-wrap: wrap; gap: 4px 12px; font-size: 11px; }
.card__media .tag { background: #13851e; color: #fff; }

/* Hero compact (pages Hôtels / Résidences) */
.hero--compact { padding: 20px 0 84px; }
.hero--compact h1 { margin: 0; }
@media (min-width: 720px) { .hero--compact { padding: 28px 0 88px; } }

/* Page sans cartes de catégories : espace entre la recherche et le layout */
.search + .layout { margin-top: 28px; }
@media (min-width: 900px) { .search + .layout { margin-top: 36px; } }

/* Défilement infini : la suite apparaît progressivement */
.more--auto { min-height: 56px; align-items: center; }
.more--auto #more-btn { display: none; }
.more__spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--gold); animation: spin .8s linear infinite; }
.more:not(.more--auto) .more__spin { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.grid > li.reveal { animation: reveal .5s ease both; animation-delay: calc(var(--i, 0) * 60ms); }
.grid.is-restored > li.reveal { animation: none; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .grid > li.reveal, .more__spin { animation: none; } .hero::after, .hero__glow, .hero .wrap > *, .hero h1 em, .hero__btn, .eyebrow::after { animation: none !important; } .hero h1 em { -webkit-text-fill-color: var(--gold-2); background: none; } }

/* Pied de page complet */
.site-footer { padding: 0; }
.site-footer .sf-grid { display: grid; gap: 28px 24px; padding-top: 36px; padding-bottom: 28px; justify-content: stretch; }
@media (min-width: 720px) { .site-footer .sf-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.sf-brand .logo { font-size: 24px; color: #fff; }
.sf-brand p { margin: 10px 0 0; max-width: 320px; line-height: 1.6; }
.sf-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.sf-col h3 { margin: 0 0 4px; font: 700 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.sf-col a { display: inline-flex; align-items: center; gap: 8px; }
.sf-col .sf-cta { margin-top: 6px; padding: 8px 14px; border: 1px solid var(--gold); border-radius: 10px; color: var(--gold-2); font-weight: 600; }
.sf-col .sf-cta:hover { background: rgba(224, 80, 20, .15); text-decoration: none; }
.site-footer .sf-bottom { display: block; padding-top: 16px; padding-bottom: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; }

/* Barre compacte fixée en bas de l'écran */
.site-footer--fixed { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 12px 0; box-shadow: 0 -6px 22px rgba(20, 38, 64, .22); }
.site-footer--fixed .sf-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; }
.site-footer--fixed nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-spacer { flex: none; height: 56px; }
@media (max-width: 899px) {
  .site-footer--fixed { bottom: calc(62px + env(safe-area-inset-bottom)); padding: 8px 0; font-size: 12px; }
  .site-footer--fixed nav { display: none; }
  .footer-spacer { height: 40px; }
}

.cat { min-width: 0; }
.cat strong, .cat span { overflow-wrap: break-word; }

/* En-tête clair (fond blanc) : activé par les pages qui passent header_light */
.site-header--light { background: rgba(255, 255, 255, .96); color: var(--text); border-bottom: 1px solid var(--line); box-shadow: 0 2px 14px rgba(20, 38, 64, .08); }
.site-header--light .logo { color: var(--navy); }
.site-header--light .logo small { color: var(--muted); }
.site-header--light .nav a { color: var(--muted); }
.site-header--light .nav a:hover { background: var(--bg); color: var(--text); }
.site-header--light .nav a[aria-current] { color: var(--navy); }
.site-header--light .header-actions .link { color: var(--muted); }

/* Bouton occupé (après un envoi) : grisé mais jamais désactivé, pour que son nom soit bien transmis */
.btn.is-busy { opacity: .65; cursor: wait; pointer-events: none; }

/* Recherche approfondie : bandeau explicatif et raison de la correspondance */
.deep-note { margin: 0 0 14px; padding: 12px 16px; border-radius: 14px; background: #fff8f4; border: 1px solid #f5d3c2; color: #7a3a1c; font-size: 14px; line-height: 1.5; }
.deep-note[hidden] { display: none; }
.card__why { margin-top: 2px; padding: 6px 10px; border-radius: 10px; background: #fff8f4; color: #7a3a1c; font-size: 12px; line-height: 1.4; }

.field select { cursor: pointer; outline: none; font-family: inherit; }
.field--pays select { appearance: none; -webkit-appearance: none; padding-right: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a97ab' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0 center / 16px no-repeat; }

/* Recherche vocale */
.mic { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fdece4; color: var(--gold); cursor: pointer; transition: background .15s, color .15s; }
.mic:hover { background: #fbd9c9; }
.mic[hidden] { display: none; }
.mic[aria-pressed="true"] { background: var(--gold); color: #fff; }
.mic__wave { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; pointer-events: none; }
.mic[aria-pressed="true"] .mic__wave { animation: micwave 1.2s ease-out infinite; }
@keyframes micwave { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.voice-note { margin: 10px 0 0; padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; line-height: 1.5; color: var(--text); }
.voice-note[hidden] { display: none; }
.voice-note.is-listen { background: #fff8f4; border-color: #f5d3c2; color: #7a3a1c; }
.voice-note.is-err { background: #fdecea; border-color: #f3b7b0; color: #8a1c10; }
.voice-note .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.voice-note .chip-v { padding: 3px 10px; border-radius: 999px; background: #fdece4; color: #7a3a1c; font-size: 12px; font-weight: 600; }
.voice-note small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .mic[aria-pressed="true"] .mic__wave { animation: none; opacity: .5; } }

/* Grand pied de page sur mobile : il descend jusque sous la barre de navigation (pas de bande vide entre les deux) */
@media (max-width: 899px) {
  body:has(> .site-footer:not(.site-footer--fixed)) { padding-bottom: 0; }
  .site-footer:not(.site-footer--fixed) { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* Disponibilité de l'établissement (réglée par le propriétaire) : pastille en haut à droite de l'image */
.dispo { position: absolute; top: 10px; right: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; background: #dcf8e6; color: #11622e; font-size: 12px; font-weight: 700; box-shadow: 0 2px 6px rgba(20, 38, 64, .18); }
.dispo::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #3fa846; box-shadow: inset 0 -1px 2px rgba(0, 0, 0, .2); }
.dispo--off { background: #fde3e3; color: #a11d1d; }
.dispo--off::before { background: #e8382f; }
.dispo--inline { position: static; box-shadow: none; }
/* Le point rouge « Indisponible » clignote */
.dispo--off::before { animation: dispo-blink 1s ease-in-out infinite; }
@keyframes dispo-blink { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(232, 56, 47, .55); } 50% { opacity: .25; box-shadow: 0 0 0 4px rgba(232, 56, 47, 0); } }
@media (prefers-reduced-motion: reduce) { .dispo--off::before { animation-name: dispo-blink-simple; } }
@keyframes dispo-blink-simple { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
