/* =====================================================
   ZEB PACK LEGAL — VPCE PREMIUM SOBRE
   TEXTE DIRECT • TYPO HARMONISÉE • LIENS ANIMÉS
===================================================== */

.zeb-legal-page{
  background:#fff;
  color:#172104;
  font-family:'Manrope', Arial, sans-serif;
  overflow:hidden;
}

.zeb-legal-page *,
.zeb-legal-page *::before,
.zeb-legal-page *::after{
  box-sizing:border-box;
}

/* =====================================================
   SECTIONS
===================================================== */

.zeb-legal-hero,
.zeb-legal-content{
  position:relative;
  padding:58px 0;
}

.zeb-legal-hero{
  background:#fff;
  padding-bottom:34px;
}

.zeb-legal-content{
  background:#fff;
  padding-top:0;
}

.zeb-legal-hero__inner,
.zeb-legal-content__inner{
  width:min(980px, calc(100% - 32px));
  margin:0 auto;
  min-width:0;
}

.zeb-legal-hero__inner::before{
  content:"";
  display:block;
  width:86px;
  height:4px;
  margin-bottom:26px;
  background:#d9bd73;
}

/* =====================================================
   EYEBROW
===================================================== */

.zeb-legal-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-legal-eyebrow::before{
  content:"";
  width:30px;
  height:1px;
  flex:0 0 30px;
  background:#d9bd73;
}

/* =====================================================
   TITRES — AUCUNE COUPURE PRÉMATURÉE
===================================================== */

.zeb-legal-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-legal-page h2{
  margin:0 0 18px;
  color:#142002;
  font-size:clamp(31px, 6vw, 58px);
  line-height:1.05;
  font-weight:700;
  letter-spacing:-.05em;
}

.zeb-legal-page h3{
  margin:42px 0 14px;
  color:#172104;
  font-size:clamp(21px, 3vw, 30px);
  line-height:1.16;
  font-weight:700;
  letter-spacing:-.035em;
}

/* =====================================================
   TEXTES JUSTIFIÉS SANS ESPACES ARTIFICIELS
===================================================== */

.zeb-legal-page p,
.zeb-legal-page li{
  margin:0 0 14px;
  color:#333;
  font-size:15px;
  line-height:1.82;
  font-weight:400;

  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-legal-page strong{
  color:#172104;
  font-weight:700;
}

.zeb-legal-page p:last-child,
.zeb-legal-page li:last-child{
  margin-bottom:0;
}

/* =====================================================
   LIENS TEXTUELS AUTOMATIQUES
===================================================== */

.zeb-legal-page a: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-legal-page a:not([class*="btn"]):not([role="button"]):hover,
.zeb-legal-page a:not([class*="btn"]):not([role="button"]):focus-visible{
  color:#233308;
  background-size:100% 2px;
}

.zeb-legal-page a:focus-visible{
  outline:2px solid #31420f;
  outline-offset:4px;
}

/* =====================================================
   CONTENU
===================================================== */

.zeb-legal-content__inner{
  display:block;
}

.zeb-legal-card{
  min-width:0;
  margin:0;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
}

.zeb-legal-card:first-child h3{
  margin-top:0;
}

.zeb-legal-card + .zeb-legal-card{
  margin-top:0;
}

/* =====================================================
   ANIMATIONS
===================================================== */

.zeb-legal-reveal{
  opacity:1;
  transform:none;
}

.zeb-legal-js .zeb-legal-reveal{
  opacity:0;
  transform:translateY(26px);
  transition:
    opacity .78s ease,
    transform .78s cubic-bezier(.22,1,.36,1);
  transition-delay:var(--zeb-legal-delay, 0ms);
}

.zeb-legal-js .zeb-legal-reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

/* =====================================================
   TABLETTE
===================================================== */

@media (min-width:720px){
  .zeb-legal-hero{
    padding:74px 0 42px;
  }

  .zeb-legal-content{
    padding:0 0 74px;
  }

  .zeb-legal-page h2{
    font-size:clamp(40px, 5.2vw, 56px);
  }
}

/* =====================================================
   DESKTOP
===================================================== */

@media (min-width:980px){
  .zeb-legal-hero{
    padding:clamp(82px, 8vw, 112px) 0 46px;
  }

  .zeb-legal-content{
    padding:0 0 clamp(82px, 8vw, 112px);
  }

  .zeb-legal-page h3{
    margin-top:48px;
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width:719px){
  .zeb-legal-hero__inner,
  .zeb-legal-content__inner{
    width:calc(100% - 28px);
  }

  .zeb-legal-page h2{
    font-size:clamp(30px, 9.2vw, 42px);
    line-height:1.07;
    letter-spacing:-.04em;
  }

  .zeb-legal-page h3{
    font-size:clamp(21px, 6.2vw, 27px);
    line-height:1.18;
  }
}

@media (max-width:420px){
  .zeb-legal-hero__inner,
  .zeb-legal-content__inner{
    width:calc(100% - 22px);
  }

  .zeb-legal-page h2{
    font-size:30px;
  }

  .zeb-legal-page h3{
    font-size:21px;
  }

  .zeb-legal-page p,
  .zeb-legal-page li{
    font-size:14.5px;
    line-height:1.76;
  }
}

/* =====================================================
   ACCESSIBILITÉ
===================================================== */

@media (prefers-reduced-motion:reduce){
  .zeb-legal-js .zeb-legal-reveal{
    opacity:1;
    transform:none;
    transition:none;
  }

  .zeb-legal-page a{
    transition:none;
  }
}