/* ============================================================
   MODULE « Nos voyages en {pays/continent} »  —  grille de cartes voyage
   (.section-suggestions / .voyage-card.suggestion-package-card), cloné de la
   page focus région (front_index_lieu, front/finding/blocks/_suggestions).

   Feuille AUTONOME : regroupe le layout de suggestions.css + les surcharges
   .suggestion-* de finding.css + les tokens typo/bouton de base.css, le tout
   SCOPÉ à .section-suggestions. Objectif : pouvoir styler le module sur des
   pages qui ne chargent PAS base.css / finding.css (page_pays, continent) sans
   conflit avec leurs styles ni impact sur d'autres blocs (finding.css restyle
   .header-transparant → volontairement NON chargé).
============================================================ */

/* ---- Tokens typographiques (base.css), scopés ---- */
.section-suggestions .label-peta {
  font-family: 'Lexend Peta', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.417;
  text-transform: uppercase;
  color: #0f1b24;
}
.section-suggestions .heading-s {
  font-family: 'Asul', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: normal;
  font-style: normal;
}
.section-suggestions .body-m {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 24px;
}
.section-suggestions .body-s {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 20px;
}
.section-suggestions .link-decouvrir {
  display: block;
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: #9f9a7c;
  text-decoration: underline;
  text-decoration-skip-ink: none;
}
.section-suggestions .link-decouvrir a { color: inherit; text-decoration: none; }
.section-suggestions .voyage-card__body h3 a,
.section-suggestions .voyage-card__body span { color: inherit; text-decoration: none; }

/* ---- Bouton « Afficher plus » (base.css .btn / .btn--outline-sage) ---- */
.section-suggestions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 17px;
  border-radius: 30.076px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  background: transparent;
  width: max-content;
}
.section-suggestions .btn--outline-sage {
  border-color: #9f9a7c;
  color: #9f9a7c;
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 16px;
  transition: background-color .2s ease, color .2s ease;
}
.section-suggestions .btn--outline-sage:hover { background-color: #9f9a7c; color: #fff; }
.section-suggestions .btn--sm { padding: 13px 17px; }

/* ---- Layout module (suggestions.css) ---- */
.section-suggestions {
  background-color: #efece9;
  padding: 40px 0;
}
.section-suggestions .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.section-suggestions .section-header-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
}
.section-suggestions .section-more {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 0;
}
.section-suggestions .cards-scroll-wrap { width: 100%; overflow: visible; }
.section-suggestions .cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  width: 100%;
  justify-content: center;
}
.section-suggestions .cards-grid--3 > * { width: 100%; flex-shrink: 1; }

/* ---- Carte (suggestions.css) ---- */
.section-suggestions .voyage-card { display: flex; flex-direction: column; gap: 30px; }
.section-suggestions .voyage-card__image {
  width: 100%;
  height: 330px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #999;
}
.section-suggestions .voyage-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.section-suggestions .voyage-card__body {
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #0f1b24;
}
.section-suggestions .voyage-card .body-s { font-size: 15px; line-height: 24px; }

/* ---- Surcharges carte (finding.css, scopées .suggestion-package-card) ---- */
.section-suggestions .cards-grid--3 { flex-wrap: wrap; gap: 40px; justify-content: flex-start; }
.section-suggestions .cards-grid--3 > .suggestion-package-card {
  width: 362px;
  flex: 0 0 362px;
  max-width: 100%;
}
.section-suggestions .suggestion-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #0f1b24;
  height: 48px;
}
.section-suggestions .suggestion-package-card .voyage-card__body h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 26px;
  min-height: 52px;
}
.section-suggestions .suggestion-price {
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: #0f1b24;
}
.section-suggestions .suggestion-package-card .voyage-card__image img {
  transition: transform 0.45s ease;
  will-change: transform;
}
.section-suggestions .suggestion-package-card:hover .voyage-card__image img { transform: scale(1.06); }
.section-suggestions .suggestion-package-card { position: relative; }
.section-suggestions .suggestion-package-card .link-decouvrir::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Cartes masquées au-delà de la limite (révélées par le JS « Afficher plus »). */
.section-suggestions .suggestion-package-card.is-hidden-package { display: none; }

/* ============================================================
   Desktop (≥769px)
============================================================ */
@media (min-width: 769px) {
  .section-suggestions .label-peta { font-size: 13px; line-height: 18px; }
  .section-suggestions { padding: 60px 0 40px; }
  .section-suggestions .container { gap: 40px; }
  .section-suggestions .section-header-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .section-suggestions .cards-grid { justify-content: flex-start; }
  .section-suggestions .section-more { padding: 40px 0; }
  .section-suggestions .cards-grid--3 > * { width: calc((100% - 80px) / 3); flex-shrink: 0; }
  .section-suggestions .cards-grid--3 > .suggestion-package-card { width: 362px; flex: 0 0 362px; }
  .section-suggestions .voyage-card .body-s { font-size: 13px; line-height: 22px; }
  .section-suggestions .suggestion-price { font-size: 13px; line-height: 22px; }
  .section-suggestions .suggestion-desc { height: 44px; }
  .section-suggestions .voyage-card__image { height: 362px; }
}
