/* ==========================================================================
   VERCHAIX — verchaix-contenus.css
   Contenus : bulletin (module Téléchargement), histoire, environnement, ski, randonnées
   Portée : Pages 8, 21, 27, 31 et 32. L'accueil (body-page-1) n'est pas concerné.
   ========================================================================== */

.vx-bull .vx-bull-une{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:50px;
  align-items:center;
  background:var(--vx-aub);
  border-radius:var(--vx-r);
  padding:46px 56px;
  color:#fff;
}

.vx-bull .vx-bull-une::before{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  border-radius:50%;
  background:var(--vx-pet);
  opacity:.35;
  left:-120px;
  bottom:-200px;
  pointer-events:none;
}

.vx-bull .vx-couv{
  position:relative;
  display:flex;
  justify-content:center;
  perspective:1200px;
  margin:0;
}

.vx-bull .vx-couv img{
  width:300px;
  border-radius:6px;
  box-shadow:24px 30px 50px -10px rgba(0,0,0,.55);
  transform:rotateY(-14deg) rotateZ(-2deg);
  transition:transform .4s;
}

.vx-bull .vx-couv:hover img{
  transform:none;
}

.vx-bull .vx-bull-txt{
  position:relative;
}

.vx-bull .vx-label{
  color:var(--vx-menthe);
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:13px;
  margin:0;
}

.vx-bull .telechargement-groupe-nom{
  display:none;
}

.vx-bull .telechargement-groupe-liste{
  list-style:none;
  margin:0;
  padding:0;
}

.vx-bull .vx-bull-une .telechargement-groupe-liste li:not(:first-child){
  display:none;
}

.vx-bull .vx-bull-une .telechargement{
  display:block;
  color:#fff;
  text-decoration:none;
  font-size:15px;
}

.vx-bull .vx-bull-une .telechargement b{
  display:block;
  font-size:clamp(30px,3.2vw,40px);
  line-height:1.08;
  margin:6px 0 16px;
}

.vx-bull .vx-bull-une .telechargement::after{
  content:"Télécharger le PDF";
  display:inline-block;
  background:var(--vx-menthe);
  color:#0c2a22;
  font-weight:700;
  border-radius:999px;
  padding:12px 24px;
  margin-right:10px;
}

.vx-bull .vx-bull-une .telechargement:hover::after,
.vx-bull .vx-bull-une .telechargement:focus-visible::after{
  background:#fff;
}

.vx-bull .vx-bull-une .telechargement:focus-visible{
  outline:3px solid var(--vx-menthe);
  outline-offset:4px;
}

.vx-bull .vx-bull-une .telechargement-date-publication{
  display:block;
  margin-top:14px;
  font-size:14px;
  opacity:.9;
}

.vx-bull .vx-archives .telechargement-groupe-liste{
  background:#fff;
  border-radius:var(--vx-r);
  padding:6px 26px;
}

.vx-bull .vx-archives li:first-child{
  display:none;
}

.vx-bull .vx-archives li{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:6px 18px;
  padding:14px 0;
  border-bottom:1px solid var(--vx-ligne);
}

.vx-bull .vx-archives li:last-child{
  border-bottom:0;
}

.vx-bull .vx-archives .telechargement{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  color:var(--vx-txt);
  font-size:14px;
}

.vx-bull .vx-archives .telechargement b{
  font-size:16px;
}

.vx-bull .vx-archives .telechargement::before{
  content:"PDF";
  flex:none;
  width:46px;
  height:54px;
  border-radius:8px;
  background:var(--vx-sable);
  color:var(--vx-aub);
  display:grid;
  place-items:center;
  font-size:11px;
  font-weight:800;
}

.vx-bull .vx-archives .telechargement:hover b,
.vx-bull .vx-archives .telechargement:focus-visible b{
  text-decoration:underline;
}

.vx-bull .vx-archives .telechargement-date-publication{
  font-size:13.5px;
  color:var(--vx-gris);
}

.vx-histoire .vx-chap{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}

.vx-histoire .vx-chap section{
  background:#fff;
  border-radius:var(--vx-r);
  padding:26px 28px;
}

.vx-histoire .vx-chap h2{
  font-size:22px;
  margin:0 0 12px;
  color:var(--vx-aub);
}

.vx-histoire .vx-chap ul{
  margin:0;
  padding-left:20px;
}

.vx-histoire .vx-chap li{
  margin:0 0 8px;
}

.vx-histoire .vx-frise{
  list-style:none;
  margin:20px 0 0;
  padding:0;
  position:relative;
}

.vx-histoire .vx-frise::before{
  content:"";
  position:absolute;
  left:94px;
  top:8px;
  bottom:8px;
  width:2px;
  background:var(--vx-ligne);
}

.vx-histoire .vx-frise li{
  position:relative;
  display:grid;
  grid-template-columns:80px 1fr;
  gap:40px;
  padding:0 0 26px;
}

.vx-histoire .vx-frise li::before{
  content:"";
  position:absolute;
  left:88px;
  top:9px;
  width:14px;
  height:14px;
  border-radius:50%;
  background:var(--vx-aub);
  box-shadow:0 0 0 5px var(--vx-creme);
}

.vx-histoire .vx-frise .vx-an{
  font-size:24px;
  font-weight:800;
  color:var(--vx-aub);
  text-align:right;
  line-height:1.2;
}

.vx-histoire .vx-frise h3{
  margin:0 0 4px;
  font-size:18px;
}

.vx-histoire .vx-frise p{
  margin:0;
  color:var(--vx-gris);
}

.vx-histoire .vx-frise li.vx-fort .vx-an{
  color:var(--vx-pet);
}

.vx-histoire .vx-frise li.vx-fort::before{
  background:var(--vx-pet);
  width:20px;
  height:20px;
  left:85px;
  top:6px;
}

.vx-histoire .vx-devise{
  margin:40px 0 0;
  background:var(--vx-aub);
  color:#fff;
  border-radius:var(--vx-r);
  padding:34px 40px;
  display:grid;
  grid-template-columns:1fr 1.4fr;
  gap:34px;
  align-items:center;
}

.vx-histoire .vx-devise blockquote{
  margin:0;
  font-size:clamp(24px,2.6vw,32px);
  font-weight:700;
  line-height:1.2;
}

.vx-histoire .vx-devise blockquote p{
  margin:0;
}

.vx-histoire .vx-devise h2{
  color:var(--vx-menthe);
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin:0 0 12px;
}

.vx-histoire .vx-devise ul{
  margin:0;
  padding-left:20px;
}

.vx-histoire .vx-devise li{
  margin:0 0 6px;
}

.vx-env .vx-chiffres{
  list-style:none;
  margin:0;
  padding:26px 30px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
  background:var(--vx-aub);
  color:#fff;
  border-radius:var(--vx-r);
}

.vx-env .vx-chiffres li{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:14px;
  line-height:1.35;
}

.vx-env .vx-chiffres strong{
  font-size:34px;
  line-height:1;
  font-weight:800;
  color:#fff;
}

.vx-env .vx-themes{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  margin-top:30px;
}

.vx-env .vx-themes section{
  background:#fff;
  border-radius:var(--vx-r);
  padding:26px 28px;
}

.vx-env .vx-themes section.vx-large{
  grid-column:1/-1;
}

.vx-env .vx-themes h2{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:21px;
  margin:0 0 12px;
  color:var(--vx-aub);
}

.vx-env .vx-themes h2::before{
  content:"";
  flex:none;
  width:46px;
  height:46px;
  border-radius:14px;
  background:var(--vx-sable) var(--vx-picto) center/26px no-repeat;
}

.vx-env .vx-t-bio{
  --vx-picto:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23522A4D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22V11'/%3E%3Cpath d='M12 11C7 11 4 8 4 3c5 0 8 3 8 8z'/%3E%3Cpath d='M12 14c4 0 7-2.5 7-7-4 0-7 2.5-7 7z'/%3E%3C/svg%3E");
}

.vx-env .vx-t-eau{
  --vx-picto:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23522A4D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3s6 7 6 11a6 6 0 0 1-12 0c0-4 6-11 6-11z'/%3E%3C/svg%3E");
}

.vx-env .vx-t-ener{
  --vx-picto:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23522A4D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4'/%3E%3Cpath d='M12 3a6 6 0 0 0-4 10.5c.7.7 1 1.5 1 2.5h6c0-1 .3-1.8 1-2.5A6 6 0 0 0 12 3z'/%3E%3C/svg%3E");
}

.vx-env .vx-t-dech{
  --vx-picto:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23522A4D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6'/%3E%3Cpath d='M6 7l1 13h10l1-13M9 7V4h6v3'/%3E%3C/svg%3E");
}

.vx-env .vx-t-ens{
  --vx-picto:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23522A4D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3Ccircle cx='16' cy='8' r='3'/%3E%3Cpath d='M3 20c0-3 2.5-5 5-5s5 2 5 5M11 20c0-3 2.5-5 5-5s5 2 5 5'/%3E%3C/svg%3E");
}

.vx-env .vx-themes ul{
  margin:0;
  padding-left:20px;
}

.vx-env .vx-themes li{
  margin:0 0 8px;
}

.vx-env .vx-themes section.vx-large ul{
  columns:2;
  column-gap:40px;
}

.vx-env .vx-conclu{
  margin-top:30px;
  text-align:center;
  font-size:18px;
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
}

.vx-ski .vx-domaine{
  display:grid;
  grid-template-columns:320px 1fr;
  grid-template-rows:auto 1fr;
  gap:0 34px;
  background:#fff;
  border-radius:var(--vx-r);
  padding:30px;
  margin:0 0 24px;
}

.vx-ski .vx-domaine h2{
  grid-column:2;
  grid-row:1;
  margin:0 0 14px;
  font-size:26px;
  color:var(--vx-aub);
}

.vx-ski .vx-domaine > dl{
  grid-column:1;
  grid-row:1/3;
}

.vx-ski .vx-domaine > div{
  grid-column:2;
  grid-row:2;
}

.vx-ski .vx-fiche-tech{
  margin:0;
  padding:20px 22px;
  background:var(--vx-sable);
  border-radius:var(--vx-r-s);
  align-self:start;
}

.vx-ski .vx-fiche-tech div{
  padding:8px 0;
  border-bottom:1px solid var(--vx-ligne);
}

.vx-ski .vx-fiche-tech div:last-child{
  border:0;
}

.vx-ski .vx-fiche-tech dt{
  font-size:12.5px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--vx-gris);
  font-weight:700;
}

.vx-ski .vx-fiche-tech dd{
  margin:2px 0 0;
  font-weight:600;
}

.vx-ski .vx-note{
  margin-top:16px;
}

.vx-rando .vx-sommaire{
  margin-bottom:26px;
}

.vx-rando .vx-rando-liste{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}

.vx-rando article{
  background:#fff;
  border-radius:var(--vx-r);
  padding:26px 28px;
  display:flex;
  flex-direction:column;
  scroll-margin-top:100px;
}

.vx-rando article h2{
  margin:0 0 4px;
  font-size:23px;
  color:var(--vx-aub);
}

.vx-rando .vx-niv{
  margin:0 0 14px;
}

.vx-rando .vx-fiche-tech{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(105px,1fr));
  gap:8px;
  margin:0 0 16px;
}

.vx-rando .vx-fiche-tech div{
  background:var(--vx-sable);
  border-radius:14px;
  padding:10px 12px;
}

.vx-rando .vx-fiche-tech div.vx-wide{
  grid-column:1/-1;
}

.vx-rando .vx-fiche-tech dt{
  font-size:11.5px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--vx-gris);
  font-weight:700;
}

.vx-rando .vx-fiche-tech dd{
  margin:2px 0 0;
  font-weight:700;
  font-size:15px;
  color:var(--vx-txt);
}

.vx-rando article .vx-note{
  margin-top:auto;
}

.vx-rando article ul{
  padding-left:20px;
}

.vx-rando .vx-niv .vx-pastille{
  font-size:13px;
}

.vx-rando .vx-difficile .vx-note{
  background:var(--vx-aub);
  color:#fff;
}

.vx-rando .vx-difficile .vx-note::before{
  background:#fff;
  color:var(--vx-aub);
}


@media (max-width:1100px){

  .vx-bull .vx-bull-une,
  .vx-ski .vx-domaine,
  .vx-histoire .vx-devise{
    grid-template-columns:1fr;
  }

  .vx-ski .vx-domaine h2,
  .vx-ski .vx-domaine > dl,
  .vx-ski .vx-domaine > div{
    grid-column:1;
    grid-row:auto;
  }

  .vx-ski .vx-domaine > dl{
    margin-bottom:18px;
  }

  .vx-env .vx-chiffres{
    grid-template-columns:repeat(3,1fr);
  }

  .vx-rando .vx-rando-liste{
    grid-template-columns:1fr;
  }

  .vx-bull .vx-bull-une{
    padding:36px 30px;
  }

}


@media (max-width:760px){

  .vx-histoire .vx-chap,
  .vx-env .vx-themes{
    grid-template-columns:1fr;
  }

  .vx-env .vx-themes section.vx-large ul{
    columns:1;
  }

  .vx-env .vx-chiffres{
    grid-template-columns:1fr 1fr;
  }

  .vx-histoire .vx-frise::before{
    left:14px;
  }

  .vx-histoire .vx-frise li{
    grid-template-columns:1fr;
    gap:4px;
    padding-left:44px;
  }

  .vx-histoire .vx-frise li::before{
    left:8px;
  }

  .vx-histoire .vx-frise li.vx-fort::before{
    left:5px;
  }

  .vx-histoire .vx-frise .vx-an{
    text-align:left;
  }

  .vx-bull .vx-couv img{
    width:220px;
  }

}


@media (prefers-reduced-motion:reduce){

  .vx-bull .vx-couv img{
    transform:none;
  }

}

.vx .vx-fiche-tech{
  list-style:none;
  padding:0;
}

.vx .vx-fiche-tech .vx-dt{
  display:block;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--vx-gris);
  font-weight:700;
}

.vx .vx-fiche-tech .vx-dd{
  display:block;
  margin-top:2px;
  font-weight:700;
  color:var(--vx-txt);
}

.vx-ski .vx-domaine>ul.vx-fiche-tech{
  grid-column:1;
  grid-row:1/3;
  margin:0;
  padding:20px 22px;
  background:var(--vx-sable);
  border-radius:var(--vx-r-s);
  align-self:start;
}

.vx-ski ul.vx-fiche-tech li{
  padding:8px 0;
  border-bottom:1px solid var(--vx-ligne);
}

.vx-ski ul.vx-fiche-tech li:last-child{
  border:0;
}

.vx-ski .vx-fiche-tech .vx-dd{
  font-weight:600;
}

.vx-rando ul.vx-fiche-tech{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(105px,1fr));
  gap:8px;
  margin:0 0 16px;
}

.vx-rando ul.vx-fiche-tech li{
  background:var(--vx-sable);
  border-radius:14px;
  padding:10px 12px;
  margin:0;
}

.vx-rando ul.vx-fiche-tech li.vx-wide{
  grid-column:1/-1;
}


@media (max-width:1100px){

  .vx-ski .vx-domaine>ul.vx-fiche-tech{
    grid-column:1;
    grid-row:auto;
    margin-bottom:18px;
  }

}

.vx-bull .vx-bull-une .telechargement::before{
  content:none!important;
  display:none!important;
}

.vx-bull .vx-archives .telechargement::before{
  content:"PDF"!important;
  font:800 11px/1 Figtree,sans-serif!important;
  margin:0!important;
}

.vx-bull:not(:has(.vx-archives li + li)) > h2,
.vx-bull:not(:has(.vx-archives li + li)) .vx-archives{
  display:none;
}

/* --------------------------------------------------------------------------
   Histoire : « Verchaix d'autrefois » — module Photothèque n°143,
   rendu « Photothèque avec légende », 4 par ligne, vignettes 640×480.
   Cartes postales sur fond sable, légèrement inclinées, redressées au survol.
   -------------------------------------------------------------------------- */
.vx-histoire .vx-autrefois{
  margin:64px 0 0;
  padding:48px 40px 56px;
  background:var(--vx-sable);
  border-radius:var(--vx-r);
}
.vx-histoire .vx-autrefois-txt{
  text-align:center;
  max-width:640px;
  margin:0 auto 36px;
}
.vx-histoire .vx-autrefois .vx-label{
  color:var(--vx-pet);
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:13px;
  margin:0;
}
.vx-histoire .vx-autrefois h2{
  margin:6px 0 10px;
}
.vx-histoire .vx-autrefois-txt p:last-child{
  color:var(--vx-gris);
  margin:0;
}
.vx-histoire .vx-autrefois .phototheque-legende,
.vx-histoire .vx-autrefois .phototheque-liste-groupe-container{
  float:none;
  width:100%;
  margin:0;
  padding:0;
}
.vx-histoire .vx-autrefois ul.phototheque-legende-list{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:32px 28px;
  list-style:none;
  margin:0;
  padding:6px;
  overflow:visible;
}
.vx-histoire .vx-autrefois ul.phototheque-legende-list li{
  float:none!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:12px 12px 16px!important;
  background:#fff;
  border-radius:6px;
  box-shadow:0 12px 26px rgba(61,31,57,.14),0 2px 5px rgba(61,31,57,.08);
  transform:rotate(-1.6deg);
  transition:transform .25s ease,box-shadow .25s ease;
}
.vx-histoire .vx-autrefois ul.phototheque-legende-list li:nth-child(2n){
  transform:rotate(1.4deg);
}
.vx-histoire .vx-autrefois ul.phototheque-legende-list li:nth-child(3n){
  transform:rotate(-.7deg);
}
.vx-histoire .vx-autrefois ul.phototheque-legende-list li:hover,
.vx-histoire .vx-autrefois ul.phototheque-legende-list li:focus-within{
  transform:rotate(0) translateY(-4px);
  box-shadow:0 18px 34px rgba(61,31,57,.2),0 3px 8px rgba(61,31,57,.1);
}
.vx-histoire .vx-autrefois .phototheque-legende-list a{
  display:block;
  position:relative;
  border-radius:3px;
  overflow:hidden;
}
.vx-histoire .vx-autrefois .phototheque-legende-list img{
  display:block;
  width:100%!important;
  height:auto!important;
  aspect-ratio:4/3;
  object-fit:cover;
  margin:0;
  border:0;
}
/* pastille « agrandir » (décorative : le lien est nommé par l'alt de l'image) */
.vx-histoire .vx-autrefois .phototheque-legende-list a::after{
  content:"";
  position:absolute;
  right:10px;
  bottom:10px;
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--vx-aub) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") no-repeat center/18px;
  box-shadow:0 2px 6px rgba(0,0,0,.25);
}
.vx-histoire .vx-autrefois .phototheque-legende-list a:focus-visible{
  outline:3px solid var(--vx-aub);
  outline-offset:3px;
}
.vx-histoire .vx-autrefois .phototheque-legende-list-titre{
  height:auto!important;
  width:auto!important;
  margin:12px 2px 0;
  font-size:14.5px;
  line-height:1.4;
  font-weight:600;
  color:var(--vx-txt);
  text-align:center;
}

@media (max-width:1100px){
  .vx-histoire .vx-autrefois ul.phototheque-legende-list{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:760px){
  .vx-histoire .vx-autrefois{
    padding:34px 18px 40px;
    border-radius:var(--vx-r-s);
  }
  .vx-histoire .vx-autrefois ul.phototheque-legende-list{
    gap:22px 16px;
    padding:0;
  }
  .vx-histoire .vx-autrefois ul.phototheque-legende-list li{
    padding:8px 8px 12px!important;
  }
  .vx-histoire .vx-autrefois .phototheque-legende-list-titre{
    font-size:13.5px;
  }
  .vx-histoire .vx-autrefois .phototheque-legende-list a::after{
    width:28px;
    height:28px;
    right:6px;
    bottom:6px;
    background-size:15px;
  }
}
@media (max-width:420px){
  .vx-histoire .vx-autrefois ul.phototheque-legende-list{
    grid-template-columns:1fr;
    max-width:320px;
    margin:0 auto;
  }
}
@media (prefers-reduced-motion:reduce){
  .vx-histoire .vx-autrefois ul.phototheque-legende-list li,
  .vx-histoire .vx-autrefois ul.phototheque-legende-list li:hover,
  .vx-histoire .vx-autrefois ul.phototheque-legende-list li:focus-within{
    transform:none;
  }
}

/* --------------------------------------------------------------------------
   Contact (page 2) — module Contact n°144 (rendu « formulaire à gauche »)
   + plan de la commune.
   Champs : bordure #7a7075 (4,6:1 sur blanc, critère RGAA 3.3), focus aubergine.
   -------------------------------------------------------------------------- */
.vx-contact .vx-contact-tete{
  text-align:center;
  margin:0 auto 26px;
}
.vx-contact .vx-contact-tete h2{
  margin:0 0 6px;
}
.vx-contact .formulaires-contact{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
  gap:32px;
  align-items:stretch;
  margin:0;
}
.vx-contact .formulaires-contact::after{
  content:none;
}
.vx-contact .formulaire-contact-gauche,
.vx-contact .formulaire-map-droite{
  float:none!important;
  width:auto!important;
  margin:0!important;
  padding:0;
}
/* carte du formulaire */
.vx-contact .formulaire-contact-gauche{
  background:#fff;
  border-radius:var(--vx-r);
  padding:36px 40px 32px;
  box-shadow:0 10px 30px rgba(61,31,57,.08);
}
.vx-contact .form-wrapper{
  color:var(--vx-txt);
  font-size:16px;
}
.vx-contact .contact-form,
.vx-contact .contact-form input,
.vx-contact .contact-form textarea,
.vx-contact .contact-form button,
.vx-contact .contact-form label{
  font-family:Figtree,sans-serif!important;
}
.vx-contact .contact-form{
  gap:0!important;
}
.vx-contact .contact-form .form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 20px;
  margin:0!important;
  padding:0!important;
}
.vx-contact .contact-form .form-group{
  width:auto!important;
  float:none!important;
  margin:0 0 18px!important;
  padding:0!important;
}
.vx-contact .contact-form .form-group.full{
  grid-column:1 / -1;
}
.vx-contact .contact-form label{
  display:block;
  margin:0 0 6px;
  font-size:15px;
  font-weight:600;
  color:var(--vx-txt);
}
.vx-contact .contact-form input[type=text],
.vx-contact .contact-form input[type=email],
.vx-contact .contact-form input[type=tel],
.vx-contact .contact-form textarea,
.vx-contact .contact-form select{
  display:block;
  width:100%!important;
  box-sizing:border-box;
  min-height:48px;
  height:auto!important;
  padding:11px 14px!important;
  border:1px solid #7a7075!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--vx-txt)!important;
  font:inherit;
  font-size:16px!important;
  line-height:1.4;
  box-shadow:none!important;
}
.vx-contact .contact-form textarea{
  min-height:170px;
  resize:vertical;
}
.vx-contact .contact-form input:hover,
.vx-contact .contact-form textarea:hover{
  border-color:var(--vx-aub)!important;
}
.vx-contact .contact-form input:focus,
.vx-contact .contact-form textarea:focus{
  outline:3px solid var(--vx-aub)!important;
  outline-offset:1px;
  border-color:var(--vx-aub)!important;
}
.vx-contact .contact-form small{
  display:block;
  margin-top:6px;
  font-size:13.5px;
  line-height:1.4;
  color:var(--vx-gris)!important;
}
/* bas du formulaire */
.vx-contact .contact-form .form-footer{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 20px;
  margin-top:6px;
}
.vx-contact .contact-form .form-submit-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  padding:12px 34px!important;
  border:0!important;
  border-radius:999px!important;
  background:var(--vx-aub)!important;
  color:#fff!important;
  font:inherit;
  font-size:16px!important;
  font-weight:700!important;
  cursor:pointer;
  box-shadow:none!important;
}
.vx-contact .contact-form .form-submit-btn::after{
  content:"";
  width:18px;
  height:18px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l16-8-6 16-3-7z'/%3E%3C/svg%3E") no-repeat center/contain;
}
.vx-contact .contact-form .form-submit-btn:hover,
.vx-contact .contact-form .form-submit-btn:focus-visible{
  background:var(--vx-aub-d)!important;
}
.vx-contact .contact-form .form-submit-btn:focus-visible{
  outline:3px solid var(--vx-pet)!important;
  outline-offset:3px;
}
.vx-contact .contact-obligatoire-block{
  font-size:14px;
  color:var(--vx-gris);
}
.vx-contact .contact-obligatoire-block i{
  font-style:normal;
}
.vx-contact .contact-obligatoire-legal{
  flex-basis:100%;
  margin-top:10px;
  padding-top:16px;
  border-top:1px solid var(--vx-ligne);
  font-size:13px!important;
  line-height:1.55;
  color:var(--vx-gris)!important;
}
.vx-contact .contact-obligatoire-legal p{
  margin:0 0 6px;
}
.vx-contact .contact-obligatoire-legal a{
  color:var(--vx-pet);
  text-decoration:underline;
}
/* carte OpenStreetMap du module */
.vx-contact .formulaire-map-droite .contact-map{
  height:100%;
  border-radius:var(--vx-r);
  overflow:hidden;
}
.vx-contact .formulaire-map-droite .contact-map > .leaflet-container{
  height:100%!important;
  min-height:460px;
  border-radius:var(--vx-r);
}

/* --- Plan de la commune --- */
.vx-contact .vx-plan{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:44px;
  align-items:start;
  margin:64px 0 0;
  padding:44px;
  background:var(--vx-sable);
  border-radius:var(--vx-r);
}
.vx-contact .vx-plan figure{
  margin:0;
}
.vx-contact .vx-plan-zoom{
  display:block;
  position:relative;
  background:#fff;
  border-radius:14px;
  padding:10px;
  box-shadow:0 12px 28px rgba(61,31,57,.14);
}
.vx-contact .vx-plan-zoom img{
  display:block;
  width:100%;
  height:auto;
  border-radius:6px;
}
.vx-contact .vx-plan-zoom::after{
  content:"";
  position:absolute;
  right:22px;
  bottom:22px;
  width:44px;
  height:44px;
  border-radius:50%;
  background:var(--vx-aub) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") no-repeat center/22px;
  box-shadow:0 2px 8px rgba(0,0,0,.25);
}
.vx-contact .vx-plan figcaption{
  margin-top:12px;
  font-size:14px;
  color:var(--vx-gris);
  text-align:center;
}
.vx-contact .vx-plan-txt .vx-label{
  color:var(--vx-pet);
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:13px;
  margin:0;
}
.vx-contact .vx-plan-txt h2{
  margin:6px 0 12px;
}
.vx-contact .vx-plan-btns{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:20px 0 26px!important;
}
.vx-contact .vx-voies{
  background:#fff;
  border-radius:var(--vx-r-s);
  padding:0;
}
.vx-contact .vx-voies summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 22px;
  font-weight:700;
  color:var(--vx-aub);
  border-radius:var(--vx-r-s);
}
.vx-contact .vx-voies summary::-webkit-details-marker{
  display:none;
}
.vx-contact .vx-voies summary::after{
  content:"";
  flex:none;
  width:12px;
  height:12px;
  border-right:2.5px solid var(--vx-aub);
  border-bottom:2.5px solid var(--vx-aub);
  transform:rotate(45deg) translate(-3px,-3px);
}
.vx-contact .vx-voies[open] summary::after{
  transform:rotate(-135deg) translate(-3px,-3px);
}
.vx-contact .vx-voies summary:focus-visible{
  outline:3px solid var(--vx-pet);
  outline-offset:2px;
}
.vx-contact .vx-voies-corps{
  padding:0 22px 20px;
}
.vx-contact .vx-voies-corps > p{
  font-size:14.5px;
  color:var(--vx-gris);
  margin:0 0 12px;
}
.vx-contact .vx-voies table{
  width:100%;
  border-collapse:collapse;
  font-size:14.5px;
}
.vx-contact .vx-voies th,
.vx-contact .vx-voies td{
  text-align:left;
  padding:7px 8px;
  border-bottom:1px solid var(--vx-ligne);
  vertical-align:top;
}
.vx-contact .vx-voies thead th{
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--vx-gris);
}
.vx-contact .vx-voies tbody th{
  font-weight:600;
  color:var(--vx-txt);
}
.vx-contact .vx-voies td{
  color:var(--vx-pet);
  font-weight:700;
  white-space:nowrap;
}
.vx-contact .vx-voies-scroll{
  max-height:420px;
  overflow-y:auto;
}

@media (max-width:1100px){
  .vx-contact .formulaires-contact{
    grid-template-columns:1fr;
  }
  .vx-contact .formulaire-map-droite .contact-map > .leaflet-container{
    min-height:380px;
    height:380px!important;
  }
  .vx-contact .vx-plan{
    grid-template-columns:1fr;
    padding:32px;
  }
  .vx-contact .vx-plan figure{
    max-width:560px;
    margin:0 auto;
  }
}
@media (max-width:760px){
  .vx-contact .formulaire-contact-gauche{
    padding:24px 18px 22px;
    border-radius:var(--vx-r-s);
  }
  .vx-contact .contact-form .form-row{
    grid-template-columns:1fr;
  }
  .vx-contact .contact-form .form-submit-btn{
    width:100%;
    justify-content:center;
  }
  .vx-contact .vx-plan{
    padding:22px 16px 26px;
    gap:28px;
    margin-top:48px;
    border-radius:var(--vx-r-s);
  }
  .vx-contact .vx-plan-btns .vx-btn{
    width:100%;
    justify-content:center;
  }
  .vx-contact .vx-voies-corps{
    padding:0 14px 16px;
  }
  .vx-contact .vx-voies summary{
    padding:14px 16px;
  }
}

/* --------------------------------------------------------------------------
   Galerie « en images » (mosaïque) — Randonnées (photothèque n°145) et
   Domaines skiables (n°146), rendu « Photothèque avec légende », vignettes 960×720.
   La 1re photo prend la grande case ; s'il y a 4 photos, la 4e s'étire en largeur.
   Légende : pastille aubergine opaque sur la photo (blanc sur aubergine 11,7:1).
   -------------------------------------------------------------------------- */
.vx .vx-galerie{
  margin:8px 0 56px;
}
.vx .vx-galerie-tete{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:6px 24px;
  margin:0 0 20px;
}
.vx .vx-galerie-tete .vx-label{
  color:var(--vx-pet);
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:13px;
  margin:0;
  flex-basis:100%;
}
.vx .vx-galerie-tete h2{
  margin:0;
}
.vx .vx-galerie-tete p:last-child{
  margin:0;
  color:var(--vx-gris);
  font-size:15px;
}
.vx .vx-galerie .phototheque-legende,
.vx .vx-galerie .phototheque-liste-groupe-container{
  float:none;
  width:100%;
  margin:0;
  padding:0;
}
.vx .vx-galerie ul.phototheque-legende-list{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-auto-rows:210px;
  grid-auto-flow:dense;
  gap:14px;
  list-style:none;
  margin:0;
  padding:0;
  overflow:visible;
}
.vx .vx-galerie ul.phototheque-legende-list li{
  position:relative;
  float:none!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border-radius:var(--vx-r-s);
  overflow:hidden;
  background:var(--vx-sable);
}
.vx .vx-galerie ul.phototheque-legende-list li:first-child{
  grid-column:span 2;
  grid-row:span 2;
}
.vx .vx-galerie ul.phototheque-legende-list li:nth-child(4):last-child{
  grid-column:span 2;
}
.vx .vx-galerie .phototheque-legende-list a{
  display:block;
  height:100%;
}
.vx .vx-galerie .phototheque-legende-list img{
  display:block;
  width:100%!important;
  height:100%!important;
  object-fit:cover;
  margin:0;
  border:0;
  transition:transform .4s ease;
}
.vx .vx-galerie .phototheque-legende-list li:hover img,
.vx .vx-galerie .phototheque-legende-list li:focus-within img{
  transform:scale(1.04);
}
.vx .vx-galerie .phototheque-legende-list a:focus-visible{
  outline:3px solid var(--vx-menthe);
  outline-offset:-6px;
}
.vx .vx-galerie .phototheque-legende-list-titre{
  position:absolute;
  left:12px;
  bottom:12px;
  max-width:calc(100% - 24px);
  height:auto!important;
  width:auto!important;
  margin:0;
  padding:6px 12px;
  border-radius:999px;
  background:var(--vx-aub);
  color:#fff;
  font-size:13.5px;
  line-height:1.3;
  font-weight:600;
  pointer-events:none;
}
.vx .vx-galerie ul.phototheque-legende-list li:first-child .phototheque-legende-list-titre{
  left:18px;
  bottom:18px;
  font-size:15px;
  padding:8px 16px;
}

@media (max-width:1100px){
  .vx .vx-galerie ul.phototheque-legende-list{
    grid-auto-rows:170px;
  }
}
@media (max-width:760px){
  .vx .vx-galerie ul.phototheque-legende-list{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-rows:150px;
    gap:10px;
  }
  .vx .vx-galerie ul.phototheque-legende-list li:first-child{
    grid-column:1 / -1;
    grid-row:span 2;
  }
  .vx .vx-galerie ul.phototheque-legende-list li:nth-child(4):last-child{
    grid-column:auto;
  }
  .vx .vx-galerie ul.phototheque-legende-list li:last-child:nth-child(even){
    grid-column:1 / -1;
  }
  .vx .vx-galerie .phototheque-legende-list-titre{
    left:8px;
    bottom:8px;
    max-width:calc(100% - 16px);
    font-size:12.5px;
    padding:5px 10px;
    border-radius:10px;
  }
}
@media (prefers-reduced-motion:reduce){
  .vx .vx-galerie .phototheque-legende-list img{
    transition:none;
  }
  .vx .vx-galerie .phototheque-legende-list li:hover img,
  .vx .vx-galerie .phototheque-legende-list li:focus-within img{
    transform:none;
  }
}
