/* ── HelloGuadeloupe Plages Dashboard ── */
/* Prefixed hg-plages-* to avoid conflicts */

#hg-plages-app {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2c2c2c;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── HERO ── */
.hg-plages-hero {
  background: linear-gradient(135deg, #0e4a6e 0%, #1a8a7a 55%, #25ad99 100%);
  padding: 36px 20px 28px;
  text-align: center;
  border-radius: 12px 12px 0 0;
  margin-bottom: 0;
}
.hg-plages-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 5vw, 36px);
  color: #fff;
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
}
.hg-plages-hero__title span {
  color: #d4a843;
}
.hg-plages-hero__sub {
  color: rgba(255,255,255,0.65);
  margin: 6px 0 0;
  font-size: 14px;
}

/* ── FILTERS ── */
.hg-plages-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  padding: 20px 0;
}
.hg-plages-filter label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #6b6b6b;
  margin-bottom: 4px;
  font-weight: 600;
}
.hg-plages-filter select,
.hg-plages-filter input[type="text"] {
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: 1.5px solid #e0d9ce;
  border-radius: 8px;
  padding: 9px 30px 9px 11px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #2c2c2c;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236b6b6b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
}
.hg-plages-filter input[type="text"] {
  background-image: none;
  padding: 9px 11px;
}
.hg-plages-filter select:focus,
.hg-plages-filter input[type="text"]:focus {
  outline: none;
  border-color: #25ad99;
  box-shadow: 0 0 0 3px rgba(37,173,153,0.15);
}
.hg-plages-filter--search {
  flex: 1;
  min-width: 150px;
}
.hg-plages-filter--search input {
  width: 100%;
}
.hg-plages-reset {
  background: none;
  border: 1.5px solid #e8725a;
  color: #e8725a;
  border-radius: 8px;
  padding: 9px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.hg-plages-reset:hover {
  background: #e8725a;
  color: #fff;
}

/* ── COUNT ── */
.hg-plages-count {
  font-size: 13px;
  color: #6b6b6b;
  margin-bottom: 14px;
  font-weight: 500;
}
.hg-plages-count strong {
  color: #1a8a7a;
}

/* ── GRID ── */
.hg-plages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

/* ── CARD ── */
.hg-plages-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hg-plages-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}
.hg-plages-card__header {
  padding: 14px 14px 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.hg-plages-card__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  color: #0e4a6e;
  line-height: 1.2;
}
.hg-plages-card__commune {
  font-size: 12px;
  color: #6b6b6b;
  margin-top: 2px;
}
.hg-plages-card__rating {
  font-size: 13px;
  font-weight: 600;
  color: #d4a843;
  white-space: nowrap;
}
.hg-plages-card__body {
  padding: 0 14px 12px;
}
.hg-plages-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}
.hg-plages-card__desc {
  font-size: 13px;
  color: #6b6b6b;
  line-height: 1.55;
}
.hg-plages-card__meta {
  display: flex;
  gap: 14px;
  padding: 9px 14px;
  border-top: 1px solid #f5f0e8;
  font-size: 12px;
  color: #6b6b6b;
}

/* ── TAGS ── */
.hg-plages-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  display: inline-block;
  line-height: 18px;
}
.hg-plages-tag--blanc   { background: #fef9ef; color: #b8860b; }
.hg-plages-tag--noir    { background: #f0f0f0; color: #3a3a3a; }
.hg-plages-tag--roux    { background: #fdf0e6; color: #a0622a; }
.hg-plages-tag--galets  { background: #eef2f5; color: #5a7080; }
.hg-plages-tag--sarg-non      { background: #e8f8f0; color: #1a8a5a; }
.hg-plages-tag--sarg-variable { background: #fff5e0; color: #b8860b; }
.hg-plages-tag--sarg-oui      { background: #fdeae6; color: #c0392b; }
.hg-plages-tag--activity      { background: rgba(37,173,153,0.1); color: #1a8a7a; }

/* ── CTA BUTTON ── */
.hg-plages-card__cta {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #25ad99 0%, #1a8a7a 100%);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.hg-plages-card__cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

/* ── EMPTY ── */
.hg-plages-empty {
  text-align: center;
  padding: 48px 20px;
  color: #6b6b6b;
}
.hg-plages-empty__icon {
  font-size: 48px;
  display: block;
  margin-bottom: 10px;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .hg-plages-filters { flex-direction: column; }
  .hg-plages-filter, .hg-plages-filter--search { width: 100%; }
  .hg-plages-filter select { width: 100%; }
  .hg-plages-grid { grid-template-columns: 1fr; }
}
