/* ====================================================================
   Le Mag VLL — feuille front. Consomme les tokens de blocs-vll (var(--vll-*)),
   réutilise .vll-cartes__*, .vll-st, .vll-bt, .vll-heroev ; ajoute le préfixe
   .vll-tf* (temps forts), .vll-mag* (pages), .vll-magc (confirmation).
   Paliers : 1024 / 768 / 480. Pas d'accolade dans les commentaires (WP Rocket).
   ==================================================================== */

/* ---------- cartes du Mag ---------- */
.vll-tf__carte { position: relative; }
.vll-tf__visuel { display: block; position: relative; text-decoration: none; }
.vll-bloc img.vll-tf__img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.vll-tf__sansimg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--vll-blue-light) 0%, var(--vll-grey) 100%); }
.vll-tf__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--vll-white); background: var(--vll-primary); padding: 5px 11px; border-radius: var(--vll-round);
}
.vll-tf__carte--evenement .vll-tf__badge { background: var(--vll-dark); }
.vll-tf__sur { margin: 0 0 calc(var(--vll-gap) * 0.35); font-size: 12.5px; font-weight: 700; color: var(--vll-primary); letter-spacing: 0.02em; }
.vll-tf__sur--estime { color: var(--vll-secondary); }
.vll-tf__titre { line-height: 1.25; }
.vll-tf__titre a { color: inherit; text-decoration: none; }
.vll-tf__titre a:hover { color: var(--vll-primary); }
.vll-tf__village { margin: 0 0 calc(var(--vll-gap) * 0.5); font-size: 13px; color: var(--vll-text); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.vll-tf__village a { color: var(--vll-dark); font-weight: 600; text-decoration: none; }
.vll-tf__village a:hover { color: var(--vll-primary); }
.vll-tf__pin { color: var(--vll-secondary); flex: none; }
.vll-tf__trajet { background: var(--vll-blue-light); color: var(--vll-dark); font-weight: 600; font-size: 11.5px; border-radius: var(--vll-round); padding: 2px 9px; }
.vll-tf__extrait { font-size: 14px; line-height: 1.55; }
.vll-tf__cta a { color: var(--vll-primary); font-weight: 700; text-decoration: none; font-size: 14px; }
.vll-tf__cta a:hover { text-decoration: underline; }
.vll-tf__tout { margin: calc(var(--vll-gap) * 1.5) 0 0; text-align: center; }
.vll-tf__tout .vll-bt--contour { color: var(--vll-primary); }
.vll-tf__tout .vll-bt--contour:hover { background: var(--vll-blue-light); }
.vll-tf__groupe + .vll-tf__groupe { margin-top: calc(var(--vll-gap) * 2.5); }
.vll-tf__inter { margin-bottom: var(--vll-gap); }
.vll-tf__inter-titre { font-size: var(--vll-h3) !important; }
.vll-tf__filtres { list-style: none; margin: 0 0 var(--vll-gap); padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vll-tf__filtres a {
  display: inline-block; padding: 7px 14px; border-radius: var(--vll-round); font-size: 13px; font-weight: 600; text-decoration: none;
  color: var(--vll-dark); background: var(--vll-grey); border: 1px solid var(--vll-dark-grey);
}
.vll-tf__filtres a:hover, .vll-tf__filtres a.est-actif { background: var(--vll-primary); color: var(--vll-white); border-color: var(--vll-primary); }

/* ---------- pages du Mag ---------- */
.vll-magp { margin-bottom: calc(var(--vll-gap) * 3); }
/* Le thème pose un header fixe (bandeau promo + barre) plus haut que son
   .gap-header de 96px : on prolonge pour que le fil d'Ariane reste visible. */
.vll-magp > .gap-header { height: 150px; }
.vll-mag__ariane { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: var(--vll-gap) 0 calc(var(--vll-gap) * 1.5); font-size: 13px; color: var(--vll-text); }
.vll-magp--evenement .vll-mag__ariane { margin-top: calc(var(--vll-gap) * 1.5); }
.vll-mag__ariane a { color: var(--vll-primary); text-decoration: none; }
.vll-mag__ariane a:hover { text-decoration: underline; }
.vll-mag__ariane .est-courant { color: var(--vll-dark); font-weight: 600; }
.vll-mag__corps { margin: calc(var(--vll-gap) * 2) 0; }
.vll-mag__corps > .vll-bloc:first-child { margin-top: 0; }
.vll-mag__corps > p, .vll-mag__corps > ul, .vll-mag__corps > ol, .vll-mag__corps > h2, .vll-mag__corps > h3, .vll-mag__corps > blockquote { max-width: 76ch; }
.vll-mag__corps > p { line-height: 1.75; }
.vll-mag__maj { margin: calc(var(--vll-gap) * 2) 0 0; font-size: 12.5px; color: var(--vll-text); opacity: 0.8; }
.vll-mag__vide { padding: calc(var(--vll-gap) * 2) 0; }

/* héros temps fort : pavé estimé */
.vll-tfh .vll-heroev__pave.vll-tfh__pave--estime b { font-size: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.vll-tfh .vll-heroev__pave.vll-tfh__pave--estime em { color: var(--vll-secondary); font-style: normal; font-weight: 700; }

/* encart Édition N */
.vll-tfe { margin: calc(var(--vll-gap) * 1.5) 0 0; display: grid; gap: var(--vll-gap); }
.vll-tfe__carte {
  border: 1px solid var(--vll-dark-grey); border-left: 5px solid var(--vll-primary); border-radius: var(--vll-radius);
  padding: calc(var(--vll-gap) * 1.1) calc(var(--vll-gap) * 1.5); background: var(--vll-white);
}
.vll-tfe__carte--estime { border-left-color: var(--vll-secondary); background: #fffaf0; }
.vll-tfe__carte--annule { border-left-color: #a32626; background: #fff5f5; }
.vll-tfe__sur { margin: 0 0 4px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--vll-dark); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vll-tfe__pill { font-size: 10.5px; padding: 3px 9px; border-radius: var(--vll-round); background: var(--vll-primary); color: var(--vll-white); letter-spacing: 0.05em; }
.vll-tfe__carte--estime .vll-tfe__pill { background: var(--vll-secondary); color: var(--vll-dark); }
.vll-tfe__dates { margin: 0; font-size: clamp(19px, 2.2vw, 26px); font-weight: 800; color: var(--vll-primary); line-height: 1.2; }
.vll-tfe__carte--estime .vll-tfe__dates { color: var(--vll-dark); }
.vll-tfe__texte { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: var(--vll-text); }
.vll-tfe__lignes { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; }
.vll-tfe__lignes a { color: var(--vll-primary); font-weight: 600; text-decoration: none; }
.vll-tfe__lignes a:hover { text-decoration: underline; }
.vll-tfe__lignes i { color: var(--vll-secondary); margin-right: 4px; }
.vll-tfe__verif { color: var(--vll-text); opacity: 0.8; }

/* éditions précédentes */
.vll-tfp { margin: calc(var(--vll-gap) * 3) 0 0; }
.vll-tfp__liste { list-style: none; margin: var(--vll-gap) 0 0; padding: 0; display: grid; gap: 10px; }
.vll-tfp__item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 16px; border: 1px solid var(--vll-dark-grey); border-radius: var(--vll-radius); background: var(--vll-white); }
.vll-tfp__item--annule { opacity: 0.7; }
.vll-tfp__img { flex: none; width: 96px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--vll-blue-light); }
.vll-bloc img.vll-tfp__photo, img.vll-tfp__photo { width: 100%; height: 100%; object-fit: cover; }
.vll-tfp__corps { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.vll-tfp__annee { color: var(--vll-primary); font-size: 17px; }
.vll-tfp__dates { font-weight: 600; color: var(--vll-dark); }
.vll-tfp__notes { color: var(--vll-text); line-height: 1.5; }

/* bloc de conversion « Séjourner pendant » */
.vll-tfs {
  margin: calc(var(--vll-gap) * 3) 0 0; display: grid; grid-template-columns: 42% 1fr;
  background: var(--vll-blue-light); border-radius: 16px; overflow: hidden; scroll-margin-top: 120px;
}
.vll-tfs__media { position: relative; min-height: 300px; }
.vll-bloc img.vll-tfs__img, img.vll-tfs__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vll-tfs__corps { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.vll-tfs__corps .vll-st { margin-bottom: 4px; }
.vll-tfs__village { margin: 0; font-size: 15px; color: var(--vll-dark); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.vll-tfs__lignes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--vll-dark); }
.vll-tfs__lignes i { color: var(--vll-primary); width: 18px; }
.vll-tfs__prix b { color: var(--vll-primary); font-size: 20px; }
.vll-tfs__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.vll-tfs__actions .vll-bt--contour { color: var(--vll-primary); }
.vll-tfs__actions .vll-bt--contour:hover { background: rgba(25, 114, 177, 0.08); }
.vll-tfs__note { margin: 0; font-size: 12.5px; color: var(--vll-text); }

/* bandeau automatique sur la fiche établissement */
.vll-tfb { margin: calc(var(--vll-gap) * 1.25) 0 0; }
.vll-tfb__int {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--vll-dark); color: var(--vll-white); border-radius: var(--vll-radius); padding: 12px 18px;
}
.vll-tfb--pendant .vll-tfb__int { background: var(--vll-primary); }
.vll-tfb__pave { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--vll-secondary); color: var(--vll-dark); display: grid; place-items: center; font-size: 16px; }
.vll-tfb__texte { margin: 0; flex: 1 1 320px; font-size: 15px; line-height: 1.4; }
.vll-tfb__texte a { color: var(--vll-white); text-decoration: underline; text-decoration-color: var(--vll-secondary); text-underline-offset: 3px; font-weight: 700; }
.vll-tfb__texte b { color: var(--vll-secondary); }
.vll-tfb__detail { opacity: 0.85; }
.vll-tfb__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.vll-tfb__lien { color: var(--vll-white); font-weight: 600; font-size: 14px; text-decoration: none; opacity: 0.9; }
.vll-tfb__lien:hover { opacity: 1; text-decoration: underline; }
.vll-tfb__bt { padding: 9px 16px; font-size: 14px; }

/* article du Mag */
.vll-maga__hero-sur { display: block; margin: 0 0 6px; color: var(--vll-secondary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12.5px; text-shadow: 0 0 8px rgba(0, 0, 0, 0.6); }
.vll-maga__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 var(--vll-gap); font-size: 13px; color: var(--vll-text); }
.vll-maga__meta i { color: var(--vll-secondary); margin-right: 4px; }
.vll-maga__village, .vll-maga__tag { text-decoration: none; font-weight: 600; border-radius: var(--vll-round); padding: 4px 11px; font-size: 12.5px; }
.vll-maga__village { background: var(--vll-blue-light); color: var(--vll-dark); }
.vll-maga__village:hover { background: var(--vll-primary); color: var(--vll-white); }
.vll-maga__tag { color: var(--vll-primary); background: var(--vll-grey); }
.vll-maga__mois { font-style: italic; }
.vll-maga__chapo { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: var(--vll-dark); max-width: 76ch; margin: 0 0 var(--vll-gap); padding-left: 16px; border-left: 4px solid var(--vll-secondary); }
.vll-maga__partage { display: flex; align-items: center; gap: 10px; margin: calc(var(--vll-gap) * 2) 0 0; padding-top: var(--vll-gap); border-top: 1px solid var(--vll-dark-grey); font-size: 13px; font-weight: 700; color: var(--vll-dark); }
.vll-maga__partage a { width: 36px; height: 36px; border-radius: 50%; background: var(--vll-primary); color: var(--vll-white); display: grid; place-items: center; text-decoration: none; }
.vll-maga__partage a:hover { background: var(--vll-dark); }

/* page de confirmation (villages) */
.vll-magc { max-width: 900px; }
.vll-magc__intro { max-width: 76ch; line-height: 1.6; }
.vll-magc__message { background: var(--vll-blue-light); border-left: 5px solid var(--vll-primary); padding: 12px 16px; border-radius: var(--vll-radius); margin: var(--vll-gap) 0; font-weight: 600; }
.vll-magc__form { display: grid; gap: var(--vll-gap); margin-top: var(--vll-gap); }
.vll-magc__carte { border: 1px solid var(--vll-dark-grey); border-radius: var(--vll-radius); padding: 16px 20px; background: var(--vll-white); }
.vll-magc__carte legend { font-weight: 800; color: var(--vll-primary); padding: 0 6px; font-size: 17px; }
.vll-magc__estim { margin: 0 0 10px; font-size: 14px; color: var(--vll-text); }
.vll-magc__estim a { color: var(--vll-primary); }
.vll-magc__grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 14px; }
.vll-magc__grille label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--vll-dark); }
.vll-magc__grille input { border: 1px solid var(--vll-dark-grey); border-radius: 8px; padding: 8px 10px; font-size: 15px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.vll-magc__statuts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 14.5px; }
.vll-magc__statuts label { display: flex; align-items: center; gap: 6px; }
.vll-magc__h2 { font-size: var(--vll-h3); color: var(--vll-primary); margin: calc(var(--vll-gap) * 2) 0 8px; }
.vll-magc__liste { margin: 0; padding-left: 18px; line-height: 1.7; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .vll-magp > .gap-header { height: 96px; }
  .vll-tfs { grid-template-columns: 1fr; }
  .vll-tfs__media { min-height: 220px; }
  .vll-tfb__actions { margin-left: 0; }
}
@media (max-width: 768px) {
  .vll-tfp__item { flex-direction: column; }
  .vll-tfp__img { width: 100%; }
}
@media (max-width: 480px) {
  .vll-tfe__carte { padding: 14px 16px; }
  .vll-tfb__int { padding: 12px 14px; }
}

/* ---------- vll/mag-quoi-faire : temps forts en version visuelle (15/09/2026) ---------- */
.vll-tfv { display: grid; gap: calc(var(--vll-gap) * 0.875); }
.vll-tfv--mosaique { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; }
.vll-tfv__une { position: relative; border-radius: 16px; overflow: hidden; min-height: 420px; background: var(--vll-dark); color: var(--vll-white); display: flex; align-items: flex-end; }
.vll-tfv--mosaique .vll-tfv__une { grid-column: span 2; grid-row: span 2; min-height: 0; }
.vll-tfv__media { position: absolute; inset: 0; display: block; }
.vll-bloc img.vll-tfv__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.6s var(--vll-ease); }
.vll-tfv__une:hover img.vll-tfv__img, .vll-tfv__tuile:hover img.vll-tfv__img { transform: scale(1.04); }
.vll-tfv__voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(62, 64, 91, 0.05) 0%, rgba(62, 64, 91, 0.35) 45%, rgba(62, 64, 91, 0.92) 100%); pointer-events: none; }
.vll-tfv__pave {
  position: absolute; top: 18px; left: 18px; z-index: 2; background: var(--vll-white); color: var(--vll-primary);
  border-radius: 12px; padding: 8px 12px; text-align: center; line-height: 1.05; box-shadow: var(--vll-shadow-lift); min-width: 64px;
}
.vll-tfv__pave i { display: block; font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.vll-tfv__pave b { display: block; font-size: 26px; font-weight: 800; color: var(--vll-dark); }
.vll-tfv__pave em { display: block; font-style: normal; font-size: 11.5px; font-weight: 700; }
.vll-tfv__pave--estime b { font-size: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.vll-tfv__pave--estime em { color: var(--vll-secondary); }
.vll-tfv__badge {
  position: absolute; top: 18px; right: 18px; z-index: 2; font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--vll-dark); background: var(--vll-secondary); padding: 6px 12px; border-radius: var(--vll-round);
}
.vll-tfv__corps { position: relative; z-index: 2; padding: clamp(20px, 3vw, 36px); max-width: 640px; display: flex; flex-direction: column; gap: 10px; }
.vll-tfv__chips { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vll-tfv__chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: var(--vll-round); padding: 5px 12px; font-size: 13px; font-weight: 600; color: var(--vll-white); background: rgba(62, 64, 91, 0.35); }
.vll-tfv__chip i { color: var(--vll-secondary); }
.vll-tfv__chip--estime { border-color: var(--vll-secondary); }
.vll-tfv__titre { margin: 0; font-size: clamp(24px, 3vw, 38px); font-weight: 800; line-height: 1.1; color: var(--vll-white); }
.vll-tfv__titre a { color: inherit; text-decoration: none; }
.vll-tfv__accroche { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.92); max-width: 56ch; }
.vll-tfv__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.vll-tfv__actions .vll-bt--contour { color: var(--vll-white); }
.vll-tfv__une--mosaique .vll-tfv__accroche { display: none; }
.vll-tfv__une--mosaique .vll-tfv__titre { font-size: clamp(22px, 2.4vw, 30px); }
.vll-tfv__tuile { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--vll-dark); color: var(--vll-white); text-decoration: none; }
.vll-tfv__tuile .vll-tfv__pave { top: 12px; left: 12px; padding: 6px 9px; min-width: 52px; }
.vll-tfv__tuile .vll-tfv__pave b { font-size: 20px; }
.vll-tfv__tuile .vll-tfv__pave--estime b { font-size: 14px; }
.vll-tfv__tuile-corps { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; }
.vll-tfv__tuile-sur { font-size: 11.5px; font-weight: 700; color: var(--vll-secondary); letter-spacing: 0.03em; }
.vll-tfv__tuile-titre { font-size: 17px; font-weight: 800; line-height: 1.2; color: var(--vll-white); }
.vll-tfv__tuile-trajet { font-size: 12px; color: rgba(255, 255, 255, 0.85); }
@media (max-width: 1024px) {
  .vll-tfv--mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 190px; }
  .vll-tfv--mosaique .vll-tfv__une { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 768px) {
  /* le pavé date reste en haut à gauche : le corps commence sous lui */
  .vll-tfv__une { min-height: 440px; }
  .vll-tfv__une .vll-tfv__corps { padding-top: 96px; }
  .vll-tfv__badge { display: none; }
  .vll-tfv__titre { font-size: 24px; }
}
@media (max-width: 480px) {
  .vll-tfv--mosaique { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .vll-tfv--mosaique .vll-tfv__une { grid-column: auto; grid-row: span 2; }
  .vll-tfv__corps { padding: 18px 16px 20px; }
}

/* ---------- vll/mag-quoi-faire en design Magazine (.vll-mag de blocs-vll) — 15/09/2026 ---------- */
.vll-tfm .vll-mag__media .vll-tfv__pave { top: 14px; left: auto; right: 14px; z-index: 2; }
.vll-tfm .vll-mag__sous.vll-tfm__sous--estime { color: var(--vll-secondary); }
.vll-tfm .vll-mag__cta { display: flex; flex-wrap: wrap; gap: 6px 22px; }
@media (max-width: 800px) {
  .vll-tfm .vll-mag__media .vll-tfv__pave { top: 10px; right: 10px; padding: 6px 9px; min-width: 52px; }
  .vll-tfm .vll-mag__media .vll-tfv__pave b { font-size: 20px; }
}
