/* /spots — même charte que /evenements (crème, sapin, orange). */
.sp2 {
    --pine: #1c3c34;
    --pine-soft: #e7efe9;
    --orange: #c4471a;
    --orange-hot: #e06a2b;
    --cream: #f4f1ea;
    --ink: #1c3c34;
    --muted: #5c6b66;
    --line: rgba(28, 60, 52, .12);
    --free: #1b7a43;
    --card: #fff;
    --shadow: 0 14px 40px rgba(28, 60, 52, .08);
    color: var(--ink);
    background: var(--cream);
    font-family: "DM Sans", Manrope, system-ui, sans-serif;
    padding: 8px 0 64px;
}
.sp2 :focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.sp2-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.sp2-hero { display: block; text-align: center; padding: 44px 0 0; }
.sp2-hero h1 {
    margin: 0; font-size: clamp(1.85rem, 4vw, 2.9rem); line-height: 1.08;
    letter-spacing: -.035em; font-weight: 800; color: var(--pine);
}
.sp2-hero h1 .accent { color: var(--orange-hot); position: relative; display: inline-block; }
.sp2-hero h1 .accent svg { position: absolute; left: 0; right: 0; bottom: -6px; width: 100%; height: 10px; }
.sp2-lead { margin: 10px auto 0; color: var(--muted); font-size: 1.02rem; max-width: 640px; }

.sp2-search {
    margin: 26px auto 0; display: flex; align-items: stretch; gap: 0;
    background: #fff; border: 1.5px solid #efeae3; border-radius: 20px;
    box-shadow: 0 8px 24px rgba(28, 60, 52, .06); padding: 6px; position: relative;
}
.sp2-seg {
    position: relative; min-width: 0; flex: 1 1 0; min-height: 58px; padding: 8px 14px 8px 46px;
    background: transparent; border: 0; border-radius: 14px;
    text-align: left; font: inherit; color: inherit;
    display: flex; flex-direction: column; justify-content: center;
    transition: background-color 180ms ease;
}
.sp2-search > .sp2-seg + .sp2-seg::before {
    content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px;
    background: #e7e2d8; pointer-events: none;
}
.sp2-seg:focus-within { background: #fff1e6; }
.sp2-seg:focus-within::before,
.sp2-seg:focus-within + .sp2-seg::before { background: transparent; }
.sp2-field-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--pine); display: grid; }
.sp2-field-ico svg { width: 20px; height: 20px; }
.sp2-seg label { display: block; margin: 0; font-weight: 700; font-size: .95rem; line-height: 1.2; color: var(--pine); }
.sp2-seg input {
    width: 100%; border: 0; padding: 0; margin: 2px 0 0; background: transparent; font: inherit;
    font-size: .92rem; line-height: 1.3; height: 1.3em; color: var(--muted);
}
.sp2-seg input:focus { outline: none; }
.sp2-seg input::placeholder { color: #8b9692; }
.sp2-go {
    flex: none; align-self: stretch; margin: 4px 4px 4px 8px; border: 0; border-radius: 14px;
    background: var(--orange); color: #fff; font: inherit; font-weight: 700; font-size: 1rem;
    padding: 0 18px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
}
.sp2-go svg { width: 18px; height: 18px; flex: none; }
.sp2-go:hover { background: #a53b16; }

.sp2-suggest {
    position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 8px);
    background: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(28, 60, 52, .14);
    border: 1px solid var(--line); padding: 6px; list-style: none; max-height: 320px; overflow: auto; margin: 0;
}
.sp2-suggest[hidden] { display: none; }
.sp2-suggest button {
    width: 100%; text-align: left; border: 0; background: transparent; font: inherit;
    padding: 10px 12px; border-radius: 10px; cursor: pointer; color: var(--pine);
    display: flex; flex-direction: column; gap: 2px;
}
.sp2-suggest button:hover, .sp2-suggest button[aria-selected="true"] { background: #fff1e6; }
.sp2-suggest strong { font-weight: 700; }
.sp2-suggest small { color: var(--muted); font-size: .82rem; }

.sp2-cats { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; margin-top: 16px; }
.sp2-chips { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; min-width: 0; overflow: hidden; }
.sp2-chip.is-overflow { display: none; }
.sp2-chip {
    display: inline-flex; align-items: center; gap: 8px; border: 1px solid #e6e2d9; background: #fff; color: var(--pine);
    border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
    box-shadow: 0 1px 2px rgba(28, 60, 52, .05); flex: none;
}
.sp2-chip svg { flex: none; width: 16px; height: 16px; }
.sp2-chip.is-on { background: var(--pine); color: #fff; border-color: var(--pine); }
.sp2-morewrap { position: relative; flex: none; }
.sp2-morepop {
    position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; min-width: 230px; max-height: 320px;
    overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 18px 40px rgba(28, 60, 52, .14); padding: 6px; display: flex; flex-direction: column; gap: 4px;
}
.sp2-morepop[hidden] { display: none; }
.sp2-morepop .sp2-chip { width: 100%; justify-content: flex-start; border-radius: 10px; }
.sp2-catsep { flex: none; width: 1px; height: 22px; background: #ddd6c8; margin-left: auto; }
.sp2-filters {
    flex: none; border: 1px solid #e6e2d9; background: #fff; color: var(--pine); border-radius: 999px; padding: 8px 14px;
    font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.sp2-filters svg { width: 16px; height: 16px; }
.sp2-fbadge {
    min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--pine); color: #fff;
    font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.sp2-fbadge[hidden] { display: none; }

.sp2-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.sp2-quick-pill {
    display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--pine);
    border: 1px solid #e6e2d9; border-radius: 999px; padding: 6px 12px; font: inherit; font-weight: 600;
    font-size: .88rem; cursor: pointer;
}
.sp2-quick-pill svg { width: 15px; height: 15px; flex: none; }
.sp2-quick-pill.is-on { background: var(--pine); color: #fff; border-color: var(--pine); }
.sp2-propose {
    margin-left: auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: #fff; color: var(--orange); border: 1px solid var(--orange); border-radius: 999px;
    padding: 6px 14px; font-weight: 700; font-size: .88rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
}
.sp2-propose:hover { background: #fff1e6; color: var(--orange); text-decoration: none; }

.sp2-pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 0; }
.sp2-pills:empty { display: none; }
.sp2-pill {
    display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px;
    padding: 5px 10px; font-size: .82rem; color: var(--pine); border: 0; font: inherit; cursor: pointer;
}
.sp2-clear {
    display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
    border-radius: 999px; border: 1px solid #e4dfd6; background: #f7f4ee; color: var(--pine);
    font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer;
}
.sp2-geo-msg { margin: 12px 0 0; text-align: center; color: #9a3b12; font-size: .95rem; }
.sp2-geo-msg[hidden] { display: none; }

.sp2-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 28px 0 14px; }
.sp2-head h2 { margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.7rem); letter-spacing: -.03em; color: var(--pine); }
.sp2-sub { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.sp2-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.sp2-view {
    display: inline-flex; align-items: center; background: #fff; border: 1px solid #e6e2d9;
    border-radius: 999px; padding: 3px; gap: 2px;
}
.sp2-view button {
    border: 0; background: transparent; color: var(--muted); border-radius: 999px;
    padding: 7px 14px; font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer;
}
.sp2-view button.is-on { background: var(--pine); color: #fff; }
.sp2-sort { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .92rem; }
.sp2-sort select {
    border: 1px solid #e6e2d9; background: #fff; border-radius: 999px; font: inherit; font-weight: 700;
    color: var(--pine); cursor: pointer; height: 38px; padding: 0 12px;
}

.sp2-results { display: grid; gap: 18px; grid-template-columns: 1fr; }
.sp2.is-grille .sp2-results { grid-template-columns: 1fr; }
@media (min-width: 640px) { .sp2.is-grille .sp2-results { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .sp2.is-grille .sp2-results { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 1180px) { .sp2.is-grille .sp2-results { grid-template-columns: 1fr 1fr 1fr 1fr; } }

a.sp2-card { color: inherit; text-decoration: none; display: flex; flex-direction: column; min-width: 0; height: 100%; }
a.sp2-card:hover { text-decoration: none; }
.sp2-card {
    background: var(--card); border-radius: 22px; overflow: hidden;
    box-shadow: 0 8px 24px rgba(28, 60, 52, .05); transition: box-shadow .18s ease, transform .18s ease;
}
a.sp2-card:hover { box-shadow: 0 14px 32px rgba(28, 60, 52, .12); transform: translateY(-2px); }
.sp2-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #e7e1d6; flex: none; }
.sp2-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sp2-media::after {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 42%; z-index: 1;
    background: linear-gradient(to bottom, rgba(0,0,0,.42), rgba(0,0,0,0)); pointer-events: none;
}
.sp2-catpill {
    position: absolute; left: 12px; top: 12px; z-index: 2; background: #fff; color: var(--pine);
    border-radius: 999px; padding: 5px 11px; font-size: .72rem; font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,.08); max-width: calc(100% - 64px);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sp2-fav {
    position: absolute; right: 12px; top: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 999px;
    border: 0; background: rgba(255,255,255,.92); color: var(--pine); display: grid; place-items: center;
    cursor: default; box-shadow: 0 4px 12px rgba(0,0,0,.08); pointer-events: none;
}
.sp2-fav svg { width: 18px; height: 18px; }
.sp2-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; }
.sp2-title {
    margin: 0; font-size: 1.12rem; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; color: var(--pine);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sp2-where {
    margin: 0; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; font-weight: 600;
}
.sp2-where svg { width: 15px; height: 15px; flex: none; color: var(--muted); }
.sp2-excerpt {
    margin: 0; color: #5c6f68; font-size: .9rem; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em;
}
.sp2-cta {
    margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px;
    color: var(--orange); font-weight: 700; font-size: .9rem;
}
.sp2-cta svg { width: 16px; height: 16px; }

.sp2.is-carte .sp2-results { display: none; }
.sp2-map {
    display: none; height: min(70vh, 640px); border-radius: 22px; overflow: hidden;
    background: #e7e1d6; border: 1px solid var(--line);
}
.sp2.is-carte .sp2-map { display: block; }
.sp2-map .leaflet-container { width: 100%; height: 100%; font: inherit; }

.sp2-progress { margin: 28px 0 12px; text-align: center; color: #8a948e; font-size: .98rem; }
.sp2-progress[hidden] { display: none; }
.sp2-more {
    display: block; width: fit-content; margin: 0 auto; border: 1px solid #e3ddd2; background: #f7f4ee;
    color: var(--pine); border-radius: 12px; padding: 14px 22px; font: inherit; font-weight: 700; cursor: pointer;
}
.sp2-more[hidden] { display: none; }
.sp2-empty {
    grid-column: 1 / -1; background: #fff; border-radius: 28px; box-shadow: var(--shadow);
    padding: 36px 28px; text-align: center;
}
.sp2-empty h3 { margin: 0; font-size: 1.4rem; color: var(--pine); }
.sp2-empty p { margin: 10px 0 0; color: var(--muted); }

.sp2-envies { margin-top: 56px; }
.sp2-envies h2 {
    margin: 0 0 18px; text-align: center; font-size: clamp(1.45rem, 3vw, 1.9rem);
    letter-spacing: -.03em; color: var(--pine);
}
.sp2-envies-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .sp2-envies-grid { grid-template-columns: 1fr 1fr 1fr; } }
a.sp2-envie {
    display: grid; grid-template-columns: 1fr 120px; gap: 0; min-height: 148px;
    background: #fff; border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit;
    box-shadow: 0 8px 24px rgba(28, 60, 52, .05); position: relative;
}
a.sp2-envie:hover { box-shadow: 0 14px 32px rgba(28, 60, 52, .12); text-decoration: none; }
.sp2-envie-copy { padding: 22px 18px 50px; display: flex; flex-direction: column; gap: 6px; }
.sp2-envie-copy strong { font-size: 1.12rem; font-weight: 800; color: var(--pine); letter-spacing: -.02em; line-height: 1.2; }
.sp2-envie-copy span { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.sp2-envie-media { position: relative; overflow: hidden; }
.sp2-envie-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp2-envie-go {
    position: absolute; left: 18px; bottom: 16px; width: 36px; height: 36px; border-radius: 999px;
    background: var(--pine); color: #fff; display: grid; place-items: center;
}
.sp2-envie-go svg { width: 16px; height: 16px; }

.sp2-seo { margin-top: 40px; color: #475569; }
.sp2-seo h3 { margin: 0 0 10px; font-size: 1.05rem; font-weight: 800; color: var(--pine); }
.sp2-seo p { margin: 0 0 10px; font-size: .95rem; line-height: 1.7; max-width: 980px; }
.sp2-disclaimer {
    margin-top: 12px; max-width: 980px; background: #fff7ed; border: 1px solid #fdba74;
    border-left: 5px solid #f97316; border-radius: 12px; padding: 12px 14px; color: #9a3412;
}
.sp2-popular {
    margin: 28px 0 0; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
}
.sp2-popular h3 { margin: 0 0 10px; font-size: 1rem; color: var(--pine); font-weight: 800; }
.sp2-popular ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
@media (min-width: 860px) { .sp2-popular ul { grid-template-columns: 1fr 1fr; } }
.sp2-popular a { color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.sp2-drawer-bg[hidden], .sp2-drawer[hidden] { display: none; }
.sp2-drawer-bg { position: fixed; inset: 0; background: rgba(28, 60, 52, .35); z-index: 50; border: 0; }
.sp2-drawer {
    position: fixed; z-index: 60; top: 0; right: 0; height: 100%; width: min(380px, 100%);
    background: #fff; box-shadow: var(--shadow); padding: 22px 18px; overflow: auto;
}
.sp2-drawer h3 { margin: 0 0 12px; font-size: 1.2rem; color: var(--pine); }
.sp2-drawer label { display: flex; gap: 10px; align-items: center; margin: 10px 0; font-weight: 600; color: var(--pine); cursor: pointer; }
.sp2-drawer-actions { display: flex; gap: 8px; margin-top: 22px; }
.sp2-drawer-actions button {
    flex: 1; min-height: 44px; border-radius: 12px; font: inherit; font-weight: 700; cursor: pointer;
}
.sp2-drawer-apply { border: 0; background: var(--orange); color: #fff; }
.sp2-drawer-reset { border: 1px solid #e6e2d9; background: #fff; color: var(--pine); }

.is-skel { pointer-events: none; }
.is-skel .sp2-media,
.is-skel .sp2-bone {
    background: linear-gradient(90deg, #ece7de 25%, #f7f4ee 37%, #ece7de 63%);
    background-size: 400% 100%; animation: sp2sh 1.1s infinite;
}
.is-skel .sp2-media::after, .is-skel .sp2-catpill, .is-skel .sp2-fav { display: none; }
.is-skel .sp2-bone { display: block; height: .8em; width: 72%; border-radius: 6px; }
@keyframes sp2sh { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

@media (max-width: 860px) {
    .sp2-wrap { padding: 0 12px; }
    .sp2-hero { padding-top: 28px; }
    .sp2-search { flex-direction: column; }
    .sp2-search > .sp2-seg + .sp2-seg::before { top: 0; bottom: auto; left: 16px; right: 16px; width: auto; height: 1px; }
    .sp2-go { align-self: stretch; margin: 8px 4px 4px; }
    .sp2-head { flex-wrap: wrap; align-items: stretch; }
    .sp2-tools { width: 100%; margin-left: 0; justify-content: space-between; }
    .sp2-propose { flex: 1 0 100%; margin-left: 0; justify-content: flex-end; min-height: 44px; }
    .sp2-cats { overflow-x: auto; }
}
