/* =====================================================
   ZEB PACK LIEUX — VPCE PREMIUM CLEAN
   RESPONSIVE • JUSTIFICATION • TITRES SANS COUPURE
===================================================== */

.zeb-lieux-page{
  background:#fff;
  color:#172104;

  font-family:'Manrope', Arial, sans-serif;

  overflow:hidden;

  margin-bottom:0 !important;
}

.zeb-lieux-page *,
.zeb-lieux-page *::before,
.zeb-lieux-page *::after{
  box-sizing:border-box;
}


/* =====================================================
   SECTIONS
===================================================== */

.zeb-lieux-intro,
.zeb-lieux-cards,
.zeb-lieux-focus,
.zeb-lieux-benefits,
.zeb-lieux-cta{
  position:relative;

  padding:58px 0;
}

.zeb-lieux-intro{
  background:#fff;
}

.zeb-lieux-cards,
.zeb-lieux-benefits{
  background:#f8f6ef;
}

.zeb-lieux-focus{
  background:
    radial-gradient(
      circle at 16% 18%,
      rgba(217,189,115,.20),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #0d1503 0%,
      #172504 55%,
      #101904 100%
    );

  color:#fff;
}


/* =====================================================
   CONTENEURS
===================================================== */

.zeb-lieux-intro__inner,
.zeb-lieux-cards__inner,
.zeb-lieux-focus__inner,
.zeb-lieux-benefits__inner{
  width:min(1180px, calc(100% - 32px));

  margin:0 auto;
}

.zeb-lieux-intro__inner{
  display:grid;

  grid-template-columns:minmax(0, 1fr);

  gap:30px;

  align-items:stretch;
}


/* =====================================================
   EYEBROW
===================================================== */

.zeb-lieux-eyebrow{
  display:inline-flex;

  align-items:center;

  gap:10px;

  margin-bottom:14px;

  color:#8d741d;

  font-size:10.5px;
  font-weight:800;
  line-height:1.3;

  text-transform:uppercase;

  letter-spacing:.15em;
}

.zeb-lieux-eyebrow::before{
  content:"";

  width:30px;
  height:1px;

  flex:0 0 30px;

  background:#d9bd73;
}


/* =====================================================
   TITRES
   AUCUNE COUPURE AU MILIEU DES MOTS
===================================================== */

.zeb-lieux-page :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6
){
  display:block;

  width:100% !important;
  max-width:none !important;
  min-width:0;

  inline-size:100% !important;
  max-inline-size:none !important;

  overflow:visible !important;
  white-space:normal !important;

  overflow-wrap:normal !important;
  word-wrap:normal !important;
  word-break:normal !important;

  hyphens:none !important;
  text-wrap:wrap !important;
}

.zeb-lieux-page h2{
  margin:0 0 18px;

  color:#142002;

  font-size:clamp(31px, 6vw, 62px);
  font-weight:700;
  line-height:1.04;

  letter-spacing:-.05em;
}

.zeb-lieux-page h3{
  margin:0 0 12px;

  color:#172104;

  font-size:clamp(21px, 3.2vw, 30px);
  font-weight:700;
  line-height:1.16;

  letter-spacing:-.03em;
}


/* =====================================================
   TEXTES
   JUSTIFICATION SUR TOUS LES ÉCRANS
===================================================== */

.zeb-lieux-page p,
.zeb-lieux-page li{
  color:#333;

  font-size:15px;
  font-weight:400;
  line-height:1.74;

  text-align:justify !important;
  text-align-last:left !important;
  text-justify:inter-word;

  word-spacing:0 !important;
  letter-spacing:0 !important;

  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:break-word;

  hyphens:none !important;
  text-wrap:pretty;
}

.zeb-lieux-page p{
  margin:0 0 16px;
}

.zeb-lieux-page ul,
.zeb-lieux-page ol{
  margin:0;

  padding-left:20px;
}

.zeb-lieux-page li{
  margin-bottom:12px;
}


/* =====================================================
   LIENS TEXTUELS AUTOMATIQUES
===================================================== */

/*
 * Tous les liens textuels ajoutés dans le PHP
 * reçoivent automatiquement un trait vert au survol.
 *
 * Les boutons et éléments role="button" sont exclus.
 */

.zeb-lieux-page a:not(
  .zeb-lieux-btn
):not(
  [class*="btn"]
):not(
  [role="button"]
){
  position:relative;

  display:inline;

  color:#31420f;

  text-decoration:none;

  background-image:
    linear-gradient(
      #31420f,
      #31420f
    );

  background-repeat:no-repeat;

  background-position:
    left calc(100% - 1px);

  background-size:0 2px;

  transition:
    color .30s ease,
    background-size .38s cubic-bezier(.22,1,.36,1);
}

.zeb-lieux-page a:not(
  .zeb-lieux-btn
):not(
  [class*="btn"]
):not(
  [role="button"]
):hover,
.zeb-lieux-page a:not(
  .zeb-lieux-btn
):not(
  [class*="btn"]
):not(
  [role="button"]
):focus-visible{
  color:#233308;

  background-size:100% 2px;
}


/* Liens sur fond sombre */

.zeb-lieux-focus a:not(
  .zeb-lieux-btn
):not(
  [class*="btn"]
):not(
  [role="button"]
),
.zeb-lieux-cta a:not(
  .zeb-lieux-btn
):not(
  [class*="btn"]
):not(
  [role="button"]
){
  color:#fff;

  background-image:
    linear-gradient(
      #d9bd73,
      #d9bd73
    );
}


/* Focus clavier */

.zeb-lieux-page a:focus-visible,
.zeb-lieux-btn:focus-visible{
  outline:2px solid #31420f;

  outline-offset:4px;
}


/* =====================================================
   INTRO
===================================================== */

.zeb-lieux-intro__content{
  width:100%;
  min-width:0;
  max-width:none;
}

.zeb-lieux-intro__content::before{
  content:"";

  display:block;

  width:86px;
  height:4px;

  margin-bottom:26px;

  background:#d9bd73;
}


/* =====================================================
   IMAGES
===================================================== */

.zeb-lieux-intro__media,
.zeb-lieux-card__media{
  position:relative;

  min-width:0;

  margin:0;

  height:300px;

  overflow:hidden;

  background:#e9e4d8;

  border-radius:0 !important;
}

.zeb-lieux-intro__media img,
.zeb-lieux-card__media img,
.zeb-lieux-cta__media img{
  width:100%;
  height:100%;

  object-fit:cover;

  object-position:
    var(
      --zeb-lieux-img-position,
      center center
    );

  display:block;

  border-radius:0 !important;

  transition:
    transform .80s cubic-bezier(.22,1,.36,1);
}

.zeb-lieux-intro__media:hover img,
.zeb-lieux-card:hover img,
.zeb-lieux-cta:hover img{
  transform:scale(1.035);
}


/* =====================================================
   CARTES PRINCIPALES
===================================================== */

.zeb-lieux-cards__inner{
  display:grid;

  grid-template-columns:minmax(0, 1fr);

  gap:24px;
}

.zeb-lieux-card{
  display:grid;

  grid-template-columns:minmax(0, 1fr);

  min-width:0;

  background:#fff;

  border:
    1px solid
    rgba(34,48,6,.10);

  border-radius:0 !important;

  box-shadow:
    0 18px 48px
    rgba(0,0,0,.06);

  overflow:hidden;

  transition:
    transform .42s cubic-bezier(.22,1,.36,1),
    box-shadow .42s ease,
    border-color .42s ease;
}

.zeb-lieux-card:hover{
  border-color:
    rgba(217,189,115,.50);

  box-shadow:
    0 28px 70px
    rgba(0,0,0,.10);
}

.zeb-lieux-card__content{
  min-width:0;

  padding:26px;
}


/* =====================================================
   BLOC SOMBRE
===================================================== */

.zeb-lieux-focus h2,
.zeb-lieux-focus h3,
.zeb-lieux-focus p,
.zeb-lieux-focus li{
  color:#fff !important;
}

.zeb-lieux-focus .zeb-lieux-eyebrow{
  color:#d9bd73;
}

.zeb-lieux-focus__inner{
  max-width:980px;
}


/* =====================================================
   AVANTAGES
===================================================== */

.zeb-lieux-benefits__inner{
  display:grid;

  grid-template-columns:minmax(0, 1fr);

  gap:18px;
}

.zeb-lieux-benefit{
  min-width:0;
  min-height:100%;

  padding:26px;

  background:#fff;

  border:
    1px solid
    rgba(34,48,6,.10);

  border-radius:0 !important;

  box-shadow:
    0 18px 48px
    rgba(0,0,0,.06);

  transition:
    transform .42s cubic-bezier(.22,1,.36,1),
    box-shadow .42s ease,
    border-color .42s ease;
}

.zeb-lieux-benefit:hover{
  border-color:
    rgba(217,189,115,.50);

  box-shadow:
    0 26px 64px
    rgba(0,0,0,.09);
}

.zeb-lieux-benefit p{
  margin-bottom:0;
}


/* =====================================================
   CTA FINAL
===================================================== */

.zeb-lieux-cta{
  min-height:420px;

  display:grid;

  align-items:center;

  overflow:hidden;

  background:#111905;

  color:#fff;

  margin-bottom:0 !important;
}

.zeb-lieux-cta__media{
  position:absolute;

  inset:0;
}

.zeb-lieux-cta__media::after{
  content:"";

  position:absolute;

  inset:0;

  background:
    linear-gradient(
      105deg,
      rgba(13,20,3,.94) 0%,
      rgba(13,20,3,.80) 45%,
      rgba(13,20,3,.42) 100%
    );
}

.zeb-lieux-cta__content{
  position:relative;

  z-index:2;

  width:min(980px, calc(100% - 32px));

  min-width:0;

  margin:0 auto;
}

.zeb-lieux-cta h2,
.zeb-lieux-cta p{
  color:#fff !important;
}

.zeb-lieux-phone{
  margin-bottom:22px !important;

  font-size:18px !important;
}


/* =====================================================
   BOUTON
===================================================== */

.zeb-lieux-btn{
  display:inline-flex;

  align-items:center;
  justify-content:center;

  min-height:46px;

  padding:13px 22px;

  background:#fff;
  color:#172104;

  border-radius:0 !important;

  text-decoration:none;

  font-size:12px;
  font-weight:800;
  line-height:1.2;

  text-transform:uppercase;

  letter-spacing:.07em;

  transition:
    transform .35s ease,
    background .35s ease,
    color .35s ease,
    box-shadow .35s ease;
}

.zeb-lieux-btn:hover{
  transform:translateY(-3px);

  background:#d9bd73;
  color:#172104;

  box-shadow:
    0 18px 36px
    rgba(217,189,115,.24);
}


/* =====================================================
   COLLÉ AU FOOTER
===================================================== */

.zeb-lieux-page + footer,
.zeb-lieux-page + .site-footer,
.zeb-lieux-page + #footer-wrapper{
  margin-top:0 !important;
}

body:has(.zeb-lieux-page) footer,
body:has(.zeb-lieux-page) .site-footer,
body:has(.zeb-lieux-page) #footer-wrapper{
  margin-top:0 !important;
}


/* =====================================================
   ANIMATIONS DOUCES
===================================================== */

.zeb-lieux-reveal{
  opacity:1;

  transform:none;
}

.zeb-lieux-js .zeb-lieux-reveal{
  opacity:0;

  transform:translateY(22px);

  transition:
    opacity .68s ease,
    transform .68s cubic-bezier(.22,1,.36,1);

  transition-delay:
    var(--zeb-lieux-delay, 0ms);

  will-change:
    opacity,
    transform;
}

.zeb-lieux-js
.zeb-lieux-reveal.zeb-lieux-reveal--left{
  transform:
    translateX(-22px)
    translateY(12px);
}

.zeb-lieux-js
.zeb-lieux-reveal.zeb-lieux-reveal--right{
  transform:
    translateX(22px)
    translateY(12px);
}

.zeb-lieux-js
.zeb-lieux-reveal.is-visible{
  opacity:1;

  transform:
    translateX(0)
    translateY(0);

  will-change:auto;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width:719px){

  .zeb-lieux-intro,
  .zeb-lieux-cards,
  .zeb-lieux-focus,
  .zeb-lieux-benefits,
  .zeb-lieux-cta{
    padding:58px 0;
  }

  .zeb-lieux-intro__inner,
  .zeb-lieux-cards__inner,
  .zeb-lieux-focus__inner,
  .zeb-lieux-benefits__inner,
  .zeb-lieux-cta__content{
    width:calc(100% - 28px);
  }

  .zeb-lieux-page h2{
    font-size:
      clamp(
        30px,
        9.2vw,
        43px
      );

    line-height:1.07;

    letter-spacing:-.04em;
  }

  .zeb-lieux-page h3{
    font-size:
      clamp(
        21px,
        6.2vw,
        27px
      );

    line-height:1.18;
  }

  .zeb-lieux-page p,
  .zeb-lieux-page li{
    font-size:15px;

    line-height:1.72;
  }

  .zeb-lieux-card__content,
  .zeb-lieux-benefit{
    padding:26px 24px;
  }

  .zeb-lieux-btn{
    width:100%;
  }

  .zeb-lieux-phone{
    font-size:15px !important;
  }

  .zeb-lieux-card:hover,
  .zeb-lieux-benefit:hover{
    transform:none;
  }

  .zeb-lieux-js .zeb-lieux-reveal,
  .zeb-lieux-js
  .zeb-lieux-reveal.zeb-lieux-reveal--left,
  .zeb-lieux-js
  .zeb-lieux-reveal.zeb-lieux-reveal--right{
    transform:translateY(18px);
  }
}


/* =====================================================
   TABLETTE
===================================================== */

@media (min-width:720px) and (max-width:979px){

  .zeb-lieux-intro,
  .zeb-lieux-cards,
  .zeb-lieux-focus,
  .zeb-lieux-benefits,
  .zeb-lieux-cta{
    padding:74px 0;
  }

  .zeb-lieux-intro__media,
  .zeb-lieux-card__media{
    height:380px;
  }

  .zeb-lieux-page h2{
    font-size:
      clamp(
        40px,
        6.2vw,
        52px
      );

    line-height:1.06;

    letter-spacing:-.045em;
  }

  .zeb-lieux-page h3{
    font-size:
      clamp(
        24px,
        3.4vw,
        29px
      );
  }

  .zeb-lieux-page p,
  .zeb-lieux-page li{
    line-height:1.82;
  }

  .zeb-lieux-card__content,
  .zeb-lieux-benefit{
    padding:34px;
  }

  .zeb-lieux-benefits__inner{
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }
}


/* =====================================================
   DESKTOP
===================================================== */

@media (min-width:980px){

  .zeb-lieux-intro,
  .zeb-lieux-cards,
  .zeb-lieux-focus,
  .zeb-lieux-benefits,
  .zeb-lieux-cta{
    padding:
      clamp(
        82px,
        8vw,
        118px
      )
      0;
  }

  .zeb-lieux-intro__inner{
    grid-template-columns:
      minmax(0, .95fr)
      minmax(0, 1.05fr);

    gap:68px;
  }

  .zeb-lieux-intro__media{
    height:auto;
    min-height:0;
    max-height:none;
    align-self:stretch;
  }

  .zeb-lieux-card{
    grid-template-columns:
      minmax(0, .92fr)
      minmax(0, 1.08fr);

    min-height:0;
    align-items:stretch;
  }

  .zeb-lieux-card--reverse{
    grid-template-columns:
      minmax(0, 1.08fr)
      minmax(0, .92fr);
  }

  .zeb-lieux-card--reverse
  .zeb-lieux-card__media{
    order:2;
  }

  .zeb-lieux-card__media{
    height:100%;
  }

  .zeb-lieux-card__content{
    display:flex;

    flex-direction:column;

    justify-content:center;
  }

  .zeb-lieux-benefits__inner{
    grid-template-columns:
      repeat(
        4,
        minmax(0, 1fr)
      );
  }

  .zeb-lieux-page h2{
    font-size:clamp(40px, 3.8vw, 54px);
    line-height:1.06;
    letter-spacing:-.042em;
  }

  .zeb-lieux-page h3{
    font-size:
      clamp(
        24px,
        2.3vw,
        30px
      );
  }

  .zeb-lieux-card:hover,
  .zeb-lieux-benefit:hover{
    transform:translateY(-6px);
  }

  .zeb-lieux-cta{
    min-height:500px;
  }
}


/* =====================================================
   TRÈS PETITS MOBILES
===================================================== */

@media (max-width:420px){

  .zeb-lieux-intro__inner,
  .zeb-lieux-cards__inner,
  .zeb-lieux-focus__inner,
  .zeb-lieux-benefits__inner,
  .zeb-lieux-cta__content{
    width:calc(100% - 22px);
  }

  .zeb-lieux-page h2{
    font-size:
      clamp(
        29px,
        9.8vw,
        38px
      );
  }

  .zeb-lieux-page h3{
    font-size:21px;
  }

  .zeb-lieux-page p,
  .zeb-lieux-page li{
    font-size:14.5px;

    line-height:1.68;
  }

  .zeb-lieux-intro__media,
  .zeb-lieux-card__media{
    height:270px;
  }
}



/* =====================================================
   HARMONISATION FORTE — TITRES, TEXTES, IMAGES ET LIENS
===================================================== */

.zeb-lieux-intro__inner > *,
.zeb-lieux-cards__inner > *,
.zeb-lieux-focus__inner > *,
.zeb-lieux-benefits__inner > *{
  min-width:0;
}

.zeb-lieux-page :is(h2,h3){
  contain:none;
}

.zeb-lieux-page p:last-child,
.zeb-lieux-page li:last-child{
  margin-bottom:0;
}

@media (min-width:980px){
  .zeb-lieux-intro__inner,
  .zeb-lieux-card{
    align-items:stretch;
  }

  .zeb-lieux-intro__content,
  .zeb-lieux-intro__media,
  .zeb-lieux-card__content,
  .zeb-lieux-card__media{
    align-self:stretch;
  }

  .zeb-lieux-intro__media,
  .zeb-lieux-card__media{
    height:auto;
    min-height:0;
    max-height:none;
  }

  .zeb-lieux-intro__media img,
  .zeb-lieux-card__media img{
    min-height:100%;
  }
}


/* =====================================================
   CORRECTION HAUTEUR IMAGES — HÔTELS & RESTAURANTS
   Le texte pilote la hauteur, l'image remplit le cadre.
===================================================== */

/*
 * Le problème ne vient pas du switch PHP.
 * Avec height:auto, une image verticale pouvait conserver
 * son ratio naturel et agrandir toute la ligne du grid.
 *
 * L'image est donc retirée du calcul de hauteur :
 * le contenu texte fixe la hauteur de la ligne,
 * puis l'image couvre uniquement cette hauteur.
 */

@media (min-width:980px){

  .zeb-lieux-intro__inner,
  .zeb-lieux-card{
    align-items:stretch;
  }

  .zeb-lieux-intro__content,
  .zeb-lieux-card__content{
    position:relative;
    z-index:2;
    min-width:0;
    align-self:stretch;
  }

  .zeb-lieux-intro__media,
  .zeb-lieux-card__media{
    position:relative;
    align-self:stretch;

    width:100%;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;

    overflow:hidden;
  }

  .zeb-lieux-intro__media img,
  .zeb-lieux-card__media img{
    position:absolute;
    inset:0;

    width:100%;
    height:100% !important;
    min-height:0 !important;

    object-fit:cover;
    object-position:var(--zeb-lieux-img-position, center center);
  }

  /*
   * Réglage spécifique à l'introduction Hôtels & Restaurants :
   * le cadrage vertical reste centré sans imposer
   * la hauteur naturelle de la photo portrait.
   */
  .zeb-lieux-page--hotres .zeb-lieux-intro__media img{
    object-position:var(--zeb-lieux-img-position, center 42%);
  }
}

/* =====================================================
   ACCESSIBILITÉ
===================================================== */

@media (prefers-reduced-motion:reduce){

  .zeb-lieux-js
  .zeb-lieux-reveal{
    opacity:1;

    transform:none;

    transition:none;
  }

  .zeb-lieux-intro__media img,
  .zeb-lieux-card__media img,
  .zeb-lieux-cta__media img,
  .zeb-lieux-page a{
    transition:none;
  }
}