/* Page « Les plus belles plages » (plages-neuf.html). Carte : carte.css ; fiches, critères, réflexes : installer.css ; aide : base.css et article.css. Ici : seulement les ajouts. */

/* ---------- carte ---------- */
.pl-centre { fill: url(#ck-sable); stroke: var(--ck-region-bord); stroke-width: 1.2; stroke-dasharray: 4 3; stroke-linejoin: round; }
.pl-carte { --ck-largeur-fiche: 500px; }
.pl-carte .ck-loyer b { font-size: 15px; }
.pl-ville { display: flex; flex-direction: column; }
.pl-vue { aspect-ratio: 2 / 1; margin: -2px -4px 10px; border-radius: 12px; overflow: hidden; background: var(--lb); }
.pl-vue img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pl-ville.on .pl-vue img { animation: plKen 12s ease-out both; }
@keyframes plKen { from { transform: scale(1.1); } to { transform: none; } }
.pl-vers { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: auto; padding-top: 9px; font-size: 13.5px; font-weight: 800; color: var(--b1); text-decoration: none; }
.pl-vers svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .3s var(--courbe); }
.pl-vers:hover svg { transform: translateX(4px); }

/* ---------- fiches : quatre valeurs, à la même place sur chaque plage ---------- */
.pl-fiches .in-region { scroll-margin-top: 110px; }
.pl-fiches .in-photo { min-height: 460px; }
.pl-valeurs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 0; }
.pl-valeurs > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 9px 11px; border-radius: 14px; background: #f2f7fc; }
.pl-valeurs i { grid-row: 1 / 3; display: grid; place-items: center; width: 34px; height: 34px; padding: 8px; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--b2), var(--b1)); }
.pl-valeurs svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.pl-valeurs dt { font-size: 12px; font-weight: 700; color: var(--mute); }
.pl-valeurs dd { margin: 0; font-size: 14px; font-weight: 800; line-height: 1.3; color: var(--ink); }
.pl-valeurs .alerte { background: #fde9e7; }
.pl-valeurs .alerte i { background: var(--r); }
.pl-loyer { margin-top: 8px; padding: 10px 14px; }
.pl-loyer .in-loyer-ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; }
.pl-loyer b { font-size: 17px; }

/* ---------- ruban de photos ---------- */
.pl-ruban { overflow: hidden; padding: 6px 0 44px; background: var(--fond, transparent); }
.pl-ruban > div { display: flex; gap: 14px; width: max-content; animation: plRuban 70s linear infinite; }
.pl-ruban:hover > div { animation-play-state: paused; }
.pl-ruban figure { position: relative; flex: none; width: 280px; height: 180px; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 30px -24px rgb(15 42 61 / .7); }
.pl-ruban img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pl-ruban figcaption { position: absolute; left: 12px; bottom: 10px; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 800; color: #fff; background: rgb(15 42 61 / .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@keyframes plRuban { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- côte à côte ---------- */
.pl-tableau { margin-top: 32px; overflow-x: auto; border-radius: 26px; background: #fff; box-shadow: 0 2px 4px rgb(15 42 61 / .05), 0 30px 50px -36px rgb(15 42 61 / .6); scrollbar-width: thin; }
.pl-tableau[data-pc-apparait] > * { transform: none; }
.pl-tableau table { width: 100%; min-width: 860px; border-collapse: collapse; table-layout: fixed; }
.pl-tableau thead th:first-child { width: 210px; }
.pl-tableau thead th { padding: 16px 8px; font-size: 13px; font-weight: 800; line-height: 1.25; text-align: center; color: var(--mute); border-bottom: 1px solid var(--line); }
.pl-tableau thead th:first-child { padding-left: 20px; text-align: left; }
.pl-tableau tbody th { position: sticky; left: 0; z-index: 1; padding: 8px 12px; text-align: left; font-weight: 400; background: #fff; }
.pl-tableau tbody th a { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.pl-tableau tbody img { flex: none; width: 58px; height: 42px; border-radius: 10px; object-fit: cover; }
.pl-tableau tbody b { display: block; font-size: 15px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.pl-tableau tbody small { font-size: 12.5px; font-weight: 600; color: var(--b2); }
.pl-tableau td { padding: 8px; text-align: center; }
.pl-tableau tbody tr { border-top: 1px solid #edf3f8; transition: background .25s; }
.pl-tableau tbody tr:first-child { border-top: 0; }
.pl-tableau tbody tr:hover, .pl-tableau tbody tr:hover th { background: #f2f9fe; }
.pl-oui { display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 6px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #2ec27e, var(--g)); transform: scale(0); transition: transform .5s var(--rebond); transition-delay: calc(var(--i, 0) * 60ms + 150ms); }
.pl-tableau.vu .pl-oui { transform: none; }
.pl-oui svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 3; }
.pl-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pl-non { display: inline-block; width: 12px; height: 3px; border-radius: 3px; background: #dbe6ee; }

/* ---------- saisons ---------- */
.pl-saisons { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.pl-saisons .gd-saison { padding: 24px 24px 26px; border-radius: 24px; }
.pl-saisons .gd-saison p { font-size: 15px; }

/* ---------- vivre à Maurice : les loyers, puis l'aide en bandeau ---------- */
.pl-coins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.pl-coins li { display: grid; padding: 18px 20px; border-radius: 20px; background: #fff; box-shadow: 0 2px 4px rgb(15 42 61 / .05), 0 18px 34px -24px rgb(15 42 61 / .5); }
.pl-coins b { font-size: 19px; font-weight: 800; color: var(--ink); }
.pl-coins span { font-size: 14px; font-weight: 600; color: var(--b2); }
.pl-coins small { margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--mute); }
.pl-coins strong { font-size: 17px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.pl-coins em { font-size: 12.5px; font-style: normal; font-weight: 600; color: var(--g); }
.pl-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 24px 0 0; }
.pl-aide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 22px; align-items: stretch; margin-top: 40px; }
.pl-aide .apC { grid-row: 1 / 3; }
.pl-services { min-width: 0; }
.pl-services .co-h { margin-top: 0; }
.pl-aide .ar-test { align-content: center; }
.pl-credits { margin: 30px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--mute); }

@media (max-width: 1080px) {
  .pl-coins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .pl-fiches .in-photo { min-height: 0; }
  .pl-saisons { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .pl-aide { grid-template-columns: minmax(0, 1fr); }
  .pl-aide .apC { grid-row: auto; }
  .pl-ruban figure { width: 210px; height: 140px; }
}
@media (max-width: 480px) {
  .pl-valeurs { grid-template-columns: minmax(0, 1fr); }
  .pl-coins { grid-template-columns: minmax(0, 1fr); }
  .pl-tableau tbody img { display: none; }
  .pl-tableau table { min-width: 720px; }
  .pl-tableau thead th:first-child { width: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-ruban > div, .pl-ville.on .pl-vue img { animation: none; }
  .pl-oui { transform: none; transition: none; }
}
