/* Accueil : grille des services */
.fsc-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.25rem; }
@media (max-width: 1199px) { .fsc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 991px) { .fsc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .fsc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; } }
@media (max-width: 575px) {
    .fsc-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 1rem calc(var(--bs-gutter-x, 1.5rem) * -.5) 0; padding: 0 calc(var(--bs-gutter-x, 1.5rem) * .5) .5rem; scroll-padding: 0 calc(var(--bs-gutter-x, 1.5rem) * .5); }
    .fsc-grid::-webkit-scrollbar { display: none; }
    .fsc { scroll-snap-align: start; }
}

/* Carte */
.fsc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fy-border); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--fy-ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.fsc:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(28, 43, 36, .12); border-color: transparent; color: var(--fy-ink); }
.fsc:focus-visible { outline: 3px solid var(--fy-emerald); outline-offset: 2px; }

.fsc-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(100deg, #EFE9DC 30%, #F7F3EA 50%, #EFE9DC 70%); background-size: 200% 100%; animation: fscShimmer 1.4s linear infinite; }
.fsc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fsc:hover .fsc-media img { transform: scale(1.04); }
.fsc-noimg { font-size: 2rem; color: #B9B19E; }
.fsc-media:has(.fsc-noimg) { animation: none; }
@keyframes fscShimmer { to { background-position: -200% 0; } }

.fsc-badges { position: absolute; top: .55rem; left: .55rem; display: flex; flex-wrap: wrap; gap: .3rem; }
.fsc-badge { font-size: .7rem; font-weight: 700; padding: .2rem .5rem; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--fy-ink); box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.fsc-badge-top { color: #B45309; }
.fsc-badge-fast { color: #1D4ED8; }
.fsc-badge-new { color: var(--fy-emerald); }

.fsc-body { padding: .8rem .9rem .5rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.fsc-cat { font-size: .72rem; font-weight: 600; color: var(--fy-emerald); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fsc-title { font-size: .95rem; font-weight: 600; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.fsc-user { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: #4A5550; min-width: 0; }
.fsc-user img, .fsc-av { width: 1.5rem; height: 1.5rem; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--fy-emerald-light); color: var(--fy-emerald); display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; }
.fsc-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fsc-verified { color: #1D9BF0; flex-shrink: 0; }
.fsc-meta { display: flex; flex-wrap: wrap; gap: .25rem .7rem; font-size: .78rem; color: #6B7570; margin-top: auto; }
.fsc-rating { color: var(--fy-ink); font-weight: 600; }
.fsc-rating i { color: #F5A524; }
.fsc-rating small { color: #6B7570; font-weight: 400; }

.fsc-foot { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; padding: .65rem .9rem; border-top: 1px solid var(--fy-border); }
.fsc-from { font-size: .72rem; color: #6B7570; text-transform: uppercase; letter-spacing: .03em; }
.fsc-price { font-size: 1rem; font-weight: 700; white-space: nowrap; }

.fsc-more-mobile { display: none; }
.fh-filters button small { opacity: .65; font-weight: 500; margin-left: .15rem; }
@media (max-width: 575px) { .fsc-more-mobile { display: flex; justify-content: center; margin-top: 1rem; } }
@media (max-width: 767px) { .fh-spot { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .fsc, .fsc-media img { transition: none; } .fsc-media { animation: none; } }
