/**
 * VST43° — Landings (p12). Règles reprises de la maquette validée (maquettes/landing/src.html, v3 du 19.10), préfixées.
 * S'ajoute à vst-categorie.css (jetons, cartes, filtres) et vst-accueil.css (hero, rangées, tuiles, éditorial).
 * Sections Divi à la classe « vst-plp » ; états de campagne par classes du body (vst-ld-en-cours, -hors, -avant, -permanente).
 */
/* Sections propres à la saison ou au hors saison : masquées d'elles-mêmes */
body.vst-ld-hors .vst-ld-saison, body.vst-ld-avant .vst-ld-saison { display: none !important; }
body.vst-ld-en-cours .vst-ld-hors-seul, body.vst-ld-permanente .vst-ld-hors-seul { display: none !important; }
.vst-ld .vst-plp .et_pb_text_inner:empty { display: none; }
/* Hero et chapitres pleine largeur (CSS du pied #76 sur les rangées : même parade que l'accueil). La tête de campagne (.vst-ld-tete) en fait partie :
   sans cela la rangée Divi (max 1440 px, centrée) laissait une marge à gauche de l'image dès 1441 px (48 px à 1536 px). */
.vst-ld .vst-ld-pleine .et_pb_row, .vst-ld .vst-ld-tete .et_pb_row { max-width: none !important; width: 100% !important; }

:is(.vst-plp, #vst-x#vst-y) .insecable { white-space: nowrap; }
:is(.vst-plp, #vst-x#vst-y) .hero > img, :is(.vst-plp, #vst-x#vst-y) .chapitre > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
:is(.vst-plp, #vst-x#vst-y) .hero-sur { margin: 0; font: 600 12px/1.3 var(--font-titre); text-transform: uppercase; letter-spacing: .16em; color: var(--vst-blanc); }
:is(.vst-plp, #vst-x#vst-y) .hero-titre { color: var(--vst-blanc); }
:is(.vst-plp, #vst-x#vst-y) .hero-texte { padding-bottom: 32px; }
:is(.vst-plp, #vst-x#vst-y) .ariane-hero .ariane, :is(.vst-plp, #vst-x#vst-y) .ariane-hero { white-space: normal; position: absolute; z-index: 3; top: 0; left: 0; right: 0; padding: 14px var(--gouttiere) 28px; color: var(--vst-blanc); background: linear-gradient(180deg, rgba(35,35,36,.5), rgba(35,35,36,0)); text-shadow: 0 1px 6px rgba(35,35,36,.5); }
:is(.vst-plp, #vst-x#vst-y) .ariane-hero .ariane { position: static; padding: 0; background: none; }
:is(.vst-plp, #vst-x#vst-y) .ariane-hero a { color: var(--vst-blanc); }

/* Gabarit 1 : tête de campagne */
:is(.vst-plp, #vst-x#vst-y) .camp { display: grid; }
:is(.vst-plp, #vst-x#vst-y) .camp-hero { position: relative; margin: 0; background: #6b7f93; }
:is(.vst-plp, #vst-x#vst-y) .camp-hero img { display: block; width: 100%; height: 150px; object-fit: cover; }
:is(.vst-plp, #vst-x#vst-y) .camp-tete { padding: 16px var(--gouttiere) 0; display: grid; gap: 8px; }
:is(.vst-plp, #vst-x#vst-y) .camp-tete .ariane { padding: 0 0 4px; }
:is(.vst-plp, #vst-x#vst-y) .camp-tete h1 { margin: 0; font: 500 28px/1.1 var(--font-titre); text-transform: uppercase; letter-spacing: .03em; color: var(--vst-encre); text-wrap: balance; }
:is(.vst-plp, #vst-x#vst-y) .camp-tete .intro { margin: 0; font-size: 15px; line-height: 1.5; max-width: 62ch; }
:is(.vst-plp, #vst-x#vst-y) .camp-fin { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font: 400 13px/1.4 var(--font-corps); color: var(--vst-texte); }
:is(.vst-plp, #vst-x#vst-y) .camp-fin .sep { display: none; }
:is(.vst-plp, #vst-x#vst-y) .camp-fin b { font: 600 13px/1.4 var(--font-titre); color: var(--vst-encre); letter-spacing: .02em; font-variant-numeric: tabular-nums; }

/* Bandeau d'avantage, hors saison */
:is(.vst-plp, #vst-x#vst-y) .avantage { margin: 20px var(--gouttiere) 0; padding: 12px 14px; background: var(--vst-voile); color: var(--vst-encre); display: grid; gap: 4px; font: 400 13px/1.45 var(--font-corps); border-radius: var(--rayon); }
:is(.vst-plp, #vst-x#vst-y) .avantage strong { font: 600 13px/1.3 var(--font-titre); text-transform: uppercase; letter-spacing: .1em; }
:is(.vst-plp, #vst-x#vst-y) .avantage code { font: 600 14px/1 var(--font-titre); letter-spacing: .08em; background: var(--vst-blanc); border: 1px dashed var(--vst-ligne-ui); padding: 3px 7px; border-radius: 2px; }
:is(.vst-plp, #vst-x#vst-y) .avantage .lien { padding: 0 0 0 6px; }
:is(.vst-plp, #vst-x#vst-y) .hors-saison { margin: 20px var(--gouttiere) 0; padding: 16px; background: var(--vst-blanc); border: 1px solid var(--vst-ligne); display: grid; gap: 12px; max-width: 860px; }
:is(.vst-plp, #vst-x#vst-y) .hors-saison p { margin: 0; font-size: 15px; line-height: 1.55; }
:is(.vst-plp, #vst-x#vst-y) .hors-saison .liens { display: flex; flex-wrap: wrap; gap: 8px 20px; }
:is(.vst-plp, #vst-x#vst-y) .hors-saison .liens a { color: var(--vst-encre); font-size: 14px; text-underline-offset: 3px; }
:is(.vst-ld-liste, #vst-x#vst-y).vst-plp { padding-top: 24px; }

/* Gabarits 2 et 3 */
:is(.vst-plp, #vst-x#vst-y) .tuiles small { display: block; font: 400 13px/1.3 var(--font-corps); letter-spacing: 0; text-transform: none; color: var(--vst-texte); margin-top: 2px; }
:is(.vst-plp, #vst-x#vst-y) .tuiles li:last-child span { color: var(--vst-encre); }
:is(.vst-plp, #vst-x#vst-y) .encart { margin: var(--esp-5) var(--gouttiere) 0; padding: 28px 20px; background: var(--vst-voile); display: grid; gap: 10px; justify-items: start; }
:is(.vst-plp, #vst-x#vst-y) .encart h2 { margin: 0; font: 500 22px/1.15 var(--font-titre); color: var(--vst-encre); text-transform: uppercase; letter-spacing: .04em; }
:is(.vst-plp, #vst-x#vst-y) .encart p { margin: 0; font-size: 15px; line-height: 1.6; max-width: 52ch; }
:is(.vst-plp, #vst-x#vst-y) .ev-hero { height: 100svh; min-height: 560px; max-height: 920px; }
:is(.vst-plp, #vst-x#vst-y) .ev-hero .hero-texte { padding-bottom: 40px; }
:is(.vst-plp, #vst-x#vst-y) .ev-hero .hero-titre { font-size: 30px; max-width: 14ch; }
:is(.vst-plp, #vst-x#vst-y) .ev-faits { list-style: none; margin: 0; padding: 20px var(--gouttiere); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; background: var(--vst-blanc); border-bottom: 1px solid var(--vst-ligne); }
:is(.vst-plp, #vst-x#vst-y) .ev-faits li { display: grid; gap: 2px; font-size: 13px; line-height: 1.4; }
:is(.vst-plp, #vst-x#vst-y) .ev-faits b { font: 600 12px/1.3 var(--font-titre); text-transform: uppercase; letter-spacing: .12em; color: var(--vst-encre); }
:is(.vst-plp, #vst-x#vst-y) .chapitre { position: relative; margin: var(--esp-5) 0 0; min-height: 78svh; display: grid; align-content: end; color: var(--vst-blanc); overflow: hidden; background: #6b7f93; }
:is(.vst-plp, #vst-x#vst-y) .chapitre .hero-texte { padding-top: 120px; }
:is(.vst-plp, #vst-x#vst-y) .chapitre .surtitre { color: var(--vst-blanc); }
:is(.vst-plp, #vst-x#vst-y) .chapitre h2 { margin: 0; font: 500 26px/1.12 var(--font-titre); text-transform: uppercase; letter-spacing: .04em; color: var(--vst-blanc); max-width: 18ch; }
:is(.vst-plp, #vst-x#vst-y) .chapitre p { margin: 0; font-size: 15px; line-height: 1.6; max-width: 44ch; }
:is(.vst-plp, #vst-x#vst-y) .programme { padding: var(--esp-5) var(--gouttiere) 0; display: grid; gap: 16px; max-width: 860px; }
:is(.vst-plp, #vst-x#vst-y) .programme ol { list-style: none; margin: 0; padding: 0; }
:is(.vst-plp, #vst-x#vst-y) .programme li { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--vst-ligne); font-size: 14px; line-height: 1.5; }
:is(.vst-plp, #vst-x#vst-y) .programme li b { font: 600 12px/1.5 var(--font-titre); text-transform: uppercase; letter-spacing: .1em; color: var(--vst-encre); }
:is(.vst-plp, #vst-x#vst-y) .ou { margin: var(--esp-5) 0 0; display: grid; background: var(--vst-blanc); }
:is(.vst-plp, #vst-x#vst-y) .ou figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; position: relative; }
:is(.vst-plp, #vst-x#vst-y) .ou figure img { width: 100%; height: 100%; object-fit: cover; }
:is(.vst-plp, #vst-x#vst-y) .ou-texte { padding: 28px var(--gouttiere) 32px; display: grid; gap: 10px; justify-items: start; }
:is(.vst-plp, #vst-x#vst-y) .ou-texte p { margin: 0; font-size: 15px; line-height: 1.6; }
:is(.vst-plp, #vst-x#vst-y) .liste-boutiques { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 16px; width: 100%; }
:is(.vst-plp, #vst-x#vst-y) .liste-boutiques a { display: grid; min-height: 48px; align-content: center; border-bottom: 1px solid var(--vst-ligne); text-decoration: none; font-size: 14px; color: var(--vst-encre); }
:is(.vst-plp, #vst-x#vst-y) .liste-boutiques small { font-size: 13px; color: var(--vst-texte); }
:is(.vst-plp, #vst-x#vst-y) .edito figure { position: relative; }
:is(.vst-plp, #vst-x#vst-y) .edito figure img { position: absolute; inset: 0; }

@media (min-width: 960px) {
  :is(.vst-plp, #vst-x#vst-y) .ariane-hero { padding: 20px var(--gouttiere) 40px; }
  :is(.vst-plp, #vst-x#vst-y) .camp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; background: var(--vst-blanc); }
  :is(.vst-plp, #vst-x#vst-y) .camp-hero img { height: 100%; min-height: 360px; max-height: 420px; }
  :is(.vst-plp, #vst-x#vst-y) .camp-tete { padding: 40px; align-content: center; gap: 12px; }
  :is(.vst-plp, #vst-x#vst-y) .camp-tete .ariane { padding-bottom: 12px; }
  :is(.vst-plp, #vst-x#vst-y) .camp-tete h1 { font-size: 54px; }
  :is(.vst-plp, #vst-x#vst-y) .camp-fin .sep { display: inline; }
  :is(.vst-plp, #vst-x#vst-y) .avantage { margin: 24px var(--gouttiere) 0; padding: 12px 16px; font-size: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; }
  :is(.vst-ld-liste, #vst-x#vst-y).vst-plp { padding-top: 0; }
  /* Titre de la liste : masqué sur mobile (le premier produit reste haut), visible sur desktop comme dans la maquette */
  :is(.vst-ld-liste, #vst-x#vst-y) .titre-section.sr { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; margin: 64px var(--gouttiere) 0; }
  :is(.vst-plp, #vst-x#vst-y) .ev-hero .hero-titre { font-size: 60px; max-width: 18ch; }
  :is(.vst-plp, #vst-x#vst-y) .encart { margin-top: 120px; padding: 48px 64px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 48px; }
  :is(.vst-plp, #vst-x#vst-y) .ev-faits { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 28px var(--gouttiere); }
  :is(.vst-plp, #vst-x#vst-y) .chapitre { margin-top: 120px; min-height: 82vh; }
  :is(.vst-plp, #vst-x#vst-y) .chapitre h2 { font-size: 48px; }
  :is(.vst-plp, #vst-x#vst-y) .chapitre p { font-size: 17px; }
  :is(.vst-plp, #vst-x#vst-y) .programme { padding-top: 120px; }
  :is(.vst-plp, #vst-x#vst-y) .ou { margin-top: 120px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  :is(.vst-plp, #vst-x#vst-y) .ou figure { aspect-ratio: 4 / 3; }
  :is(.vst-plp, #vst-x#vst-y) .ou-texte { padding: 40px 64px; }
  :is(.vst-plp, #vst-x#vst-y) .liste-boutiques { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.vst-plp, #vst-x#vst-y) .edito.inverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  :is(.vst-plp, #vst-x#vst-y) .edito.inverse figure { order: 2; aspect-ratio: 4 / 5; max-height: 720px; }
  :is(.vst-plp, #vst-x#vst-y) .edito.inverse .edito-texte { padding: 0 64px 0 var(--gouttiere); justify-self: end; }
}
