/**
 * Carte Vignoble — Styles
 * Extrait et adapté depuis wp-content/themes/civl/assets/css/style.css (l.2877-3881 + 6154-6200)
 * Les URL d'images en pseudo-éléments sont injectées via PHP (templates/carte-vignoble.php)
 */

/* ── Wrapper plugin ──────────────────────────────────────────────────────── */
.carte-vignoble-wrapper .homepage__carteVignoble {
  opacity: 1;
  pointer-events: initial;
}

/* ── Base section ────────────────────────────────────────────────────────── */
.homepage__carteVignoble {
  pointer-events: none;
  position: relative;
  z-index: 1;
  opacity: 0;
  max-width: 1400px;
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
}
@media only screen and (max-width: 980px) {
    .homepage__carteVignoble {
        height:auto;
    }
}
@media only screen and (max-width: 768px) {
  .homepage__carteVignoble {
    border-top: none;
  }
}

.homepage__carteVignoble > .line.bot {
  opacity: 1;
  position: absolute;
  width: 100%;
  height: 1px;
  left: 0;
  bottom: -1px;
  background: #373737;
  transform: scaleX(0);
  transform-origin: center;
  transition: all 1s linear 1s;
}
.homepage__carteVignoble__title {
  text-align: center;
  margin: 80px auto;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50px);
  transition: 0.5s;
}
.homepage__carteVignoble__title {
  font-size: 30px;
}
@media screen and (min-width: 475px) {
  .homepage__carteVignoble__title {
    font-size: calc(30px + 15 * (100vw - 475px) / 925);
  }
}
@media screen and (min-width: 1400px) {
  .homepage__carteVignoble__title {
    font-size: 45px;
  }
}
.homepage__carteVignoble__title span {
  position: relative;
}
@media only screen and (max-width: 768px) {
  .homepage__carteVignoble__title {
    line-height: 1.4;
  }
}

/* ── Content ─────────────────────────────────────────────────────────────── */
.homepage__carteVignoble__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1 0 0;
  position: relative;
}
.homepage__carteVignoble__content > .line.top {
  opacity: 1;
  position: absolute;
  width: 100%;
  height: 1px;
  left: 0;
  top: -1px;
  background: #373737;
  transform: scaleX(0);
  transform-origin: center;
  transition: 1s linear;
}
.homepage__carteVignoble__content aside {
    padding: 25px 0px;
  width: 100%;
  position: relative;
}
.homepage__carteVignoble__content aside h3 {
    text-align: left;
}
aside.right .aop h4 {
    margin-left: 25px;
}
.homepage__carteVignoble__content aside h4,
.homepage__carteVignoble__content aside p {
  text-align: left;
    text-transform: uppercase;
}
.homepage__carteVignoble__content aside h3 {
  margin-bottom: 25px;
  margin-top: 0;
  font-weight: 900;
}
.homepage__carteVignoble__content aside h3 {
  font-size: 20px;
    text-transform: uppercase;
}
@media screen and (min-width: 980px) {
    .homepage__carteVignoble__content {
        flex-direction: row;
    }
    .homepage__carteVignoble__content aside {
        padding: 25px 25px 25px 0px;
        width: 50%;
    }
}
@media screen and (min-width: 475px) {
  .homepage__carteVignoble__content aside h3 {
    font-size: calc(20px + 8 * (100vw - 475px) / 925);
  }
}
@media screen and (min-width: 1400px) {
  .homepage__carteVignoble__content aside h3 {
    font-size: 28px;
  }
}
@media screen and (max-width: 580px) {
   #carte-section{
       display:none;
   }
}
.homepage__carteVignoble__content aside button {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}
.homepage__carteVignoble__content aside > .line.middle {
  opacity: 1;
  position: absolute;
  height: 100%;
  width: 1px;
  left: 0;
  top: -1px;
  background: #373737;
  transform: scaleY(0);
  transform-origin: top;
  transition: 1s linear;
}

/* ── Map ─────────────────────────────────────────────────────────────────── */
.homepage__carteVignoble__content aside .map {
  position: relative;
    margin-bottom: 25px;
}
.homepage__carteVignoble__content aside .map:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  /* background-image injectée via PHP */
  background-size: 100% 100%;
  z-index: 3;
}
.homepage__carteVignoble__content aside .map img {
  width: 100%;
}
.homepage__carteVignoble__content aside .map .layer {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: none;
}
.homepage__carteVignoble__content aside .map .layer.default {
  display: initial;
}
.homepage__carteVignoble__content aside .map .layer.display {
  display: initial;
}
.homepage__carteVignoble__content aside .map .principal {
  position: relative;
  z-index: 1;
}
.homepage__carteVignoble__content aside .map .buttonDecoration {
  position: absolute;
  top: calc(80% - 35px);
  right: 10%;
  width: 95px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 11px;
  font-weight: bold;
  z-index: 20;
}
.homepage__carteVignoble__content aside .map .buttonDecoration p {
  padding: 0;
  margin: 0;
}
.homepage__carteVignoble__content aside .map .buttonDescription {
  position: absolute;
  top: calc(80% + 32.5px);
  right: calc(10% - 7px);
  width: 110px;
  display: flex;
  text-align: center;
  flex-direction: row;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 300;
  line-height: 1;
  z-index: 20;
  padding: 0;
  margin: 0;
}

/* ── Toggle button AOP/IGP ───────────────────────────────────────────────── */
.homepage__carteVignoble__content aside .map .button {
  position: absolute;
  top: 80%;
  right: 10%;
  width: 95px;
  height: 36px;
  margin: -12px auto 0 auto;
  overflow: hidden;
  z-index: 100;
  border: 1px solid #373737;
  box-sizing: border-box;
}
.homepage__carteVignoble__content aside .map .button.r {
  border-radius: 100px;
}
.homepage__carteVignoble__content aside .map .button .checkbox {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}
.homepage__carteVignoble__content aside .map .button .checkbox:checked + .knobs:before {
  content: "";
  left: 62px;
}
.homepage__carteVignoble__content aside .map .button .checkbox:checked ~ .layer {
  background-color: transparent;
}
.homepage__carteVignoble__content aside .map .button .knobs,
.homepage__carteVignoble__content aside .map .button .layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.homepage__carteVignoble__content aside .map .button .knobs {
  z-index: 2;
  transition: 0.3s ease all;
}
.homepage__carteVignoble__content aside .map .button .knobs:before {
  content: "";
  /* background-image injectée via PHP */
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 3px;
  left: 3px;
  width: 21px;
  height: 11px;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  padding: 9px 4px;
  background-color: #E52713;
  border-radius: 50%;
  transition: 0.3s ease all;
}
.homepage__carteVignoble__content aside .map .button .layer {
  width: 100%;
  background-color: transparent;
  transition: 0.3s ease all;
  z-index: 1;
}
.homepage__carteVignoble__content aside .carte p {
  font-size: 14px;
}

/* ── Aside right ─────────────────────────────────────────────────────────── */
.homepage__carteVignoble__content aside.right {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.homepage__carteVignoble__content aside.right .top {
  flex: 0.6;
  height: 50%;
  position: relative;
  padding: 25px;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}
.homepage__carteVignoble__content aside.right .top > .line.bot {
  padding: 0;
  opacity: 1;
  position: absolute;
  width: 100%;
  height: 1px;
  left: 0;
  bottom: -1px;
  background: #373737;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 1s linear 0.5s;
}
.homepage__carteVignoble__content aside.right .top > .aop {
  opacity: 1;
  transition: all 1s linear 1s;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}
.homepage__carteVignoble__content aside.right .top > .aop h3 {
  flex: 0.1;
  opacity: 0;
  transition: all 1s linear 0.5s;
}
.homepage__carteVignoble__content aside.right .top > .aop > p {
  flex: 0.25;
  margin-top: 0;
  margin-bottom: 40px;
  max-width: 530px;
  text-align: left;
  font-weight: bold;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  padding-left: 30px;
  opacity: 0;
  transition: all 1s linear 0.5s;
}
.homepage__carteVignoble__content aside.right .top > .aop > p {
  font-size: 13px;
}
@media screen and (min-width: 475px) {
  .homepage__carteVignoble__content aside.right .top > .aop > p {
    font-size: calc(13px + 0 * (100vw - 475px) / 925);
  }
}
@media screen and (min-width: 1400px) {
  .homepage__carteVignoble__content aside.right .top > .aop > p {
    font-size: 13px;
  }
}
.homepage__carteVignoble__content aside.right .top > .aop .cta {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}
.homepage__carteVignoble__content aside.right .top > .aop .listevignoble {
  position: absolute;
}
.homepage__carteVignoble__content aside.right .top > .aop .listevignoble.mobile {
  display: none;
}
@media only screen and (max-width: 500px) {
  .homepage__carteVignoble__content aside.right .top > .aop .listevignoble.mobile {
    display: block;
  }
  .homepage__carteVignoble__content aside.right .top > .aop .listevignoble.desktop {
    display: none;
  }
}
.homepage__carteVignoble__content aside.right .top > .aop .carrousels {
  flex: 0.6;
  height: 65% !important;
  position: relative;
  opacity: 0;
  transform: scale3d(0.9, 0.9, 0.9);
  transition: all 1s linear 1s;
}

/* ── Carrousels ──────────────────────────────────────────────────────────── */
.homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP,
.homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP {
  transition: transform 1s linear 1s;
  height: 100% !important;
  width: 100%;
  counter-reset: compteListe;
}
.homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .item,
.homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .item {
  outline: none;
  display: flex;
  flex-direction: row;
  height: 100%;
}
.homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .item ul,
.homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .item ul {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: 50%;
  height: 100%;
}
@media only screen and (max-width: 768px) {
  .homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .item ul,
  .homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .item ul {
    gap: 5px;
    height: auto;
  }
}
.homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .item ul a,
.homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .item ul a {
  width: 100%;
  height: 15%;
  color: black;
  text-decoration: none;
}
.homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .item ul a li,
.homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .item ul a li {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  margin: 0px 0px;
  padding-left: 30px;
  width: 100%;
  position: relative;
  cursor: pointer;
}
.homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .item ul a li .num,
.homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .item ul a li .num {
  flex: 0.1;
}
.homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .item ul a li .num p,
.homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .item ul a li .num p {
  width: 20px;
  height: 20px;
  background: #E52713;
  border-radius: 100%;
  color: #ffffff;
  font-size: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .item ul a li .num p:before,
.homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .item ul a li .num p:before {
  display: none;
}
.homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .item ul a li .nameCont,
.homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .item ul a li .nameCont {
  flex: 0.9;
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  align-items: center;
}
.homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .item ul a li p,
.homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .item ul a li p {
  margin: 0;
  position: relative;
  font-size: 13px;
  line-height: 1.5;
}
.homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .item ul a li p:before,
.homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .item ul a li p:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  top: unset;
  bottom: 0px;
  opacity: 0;
  background: #373737;
  transition: opacity 0.5s;
}
.homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .item ul a li p.name,
.homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .item ul a li p.name {
  padding: 0;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-left: 5px;
}
.homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .item ul a li:hover p::before,
.homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .item ul a li:hover p::before {
  opacity: 1;
}
.homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .item ul a li.selected p,
.homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .item ul a li.selected p {
  font-weight: bold;
}
.homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .item ul a li.selected p::before,
.homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .item ul a li.selected p::before {
  opacity: 1;
  background: #E52713;
}

/* Slick dots */
.homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .slick-dots,
.homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .slick-dots {
  z-index: 1000;
  position: absolute;
  display: flex;
  right: 0;
  bottom: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .slick-dots li button,
.homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .slick-dots li button {
  background: transparent;
  width: 10px;
  height: 10px;
  overflow: hidden;
  color: transparent;
  border: 1px solid #373737;
  border-radius: 90px;
  padding: 0;
  margin: 0 3px;
}
.homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .slick-dots li.slick-active button,
.homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .slick-dots li.slick-active button {
  background: #373737;
  color: transparent;
}

/* ── Bot (info + arrows) ─────────────────────────────────────────────────── */
.homepage__carteVignoble__content aside.right .top > .aop > .bot {
  display: flex;
  flex-direction: row;
  padding: 0;
  flex: 0.15;
  position: relative;
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot .line.top {
  opacity: 1;
  position: absolute;
  height: 1px;
  width: 100%;
  left: 0;
  top: 0px;
  background: #373737;
  transform: scaleX(0);
  transform-origin: left;
  padding: 0;
  transition: all 1s linear 0.333s;
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot .line.right {
  opacity: 1;
  position: absolute;
  height: 100%;
  width: 1px;
  right: 0;
  top: 0px;
  background: #373737;
  transform: scaleY(0);
  transform-origin: top;
  transition: all 0.5s linear 0.333s;
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot .infos {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot .infos .line.right {
  transition: all 0.5s linear 0.333s;
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot .infos p {
  position: relative;
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot .infos p::after {
  content: "";
  display: block;
  position: absolute;
  /* background-image injectée via PHP */
  background-repeat: no-repeat;
  top: unset;
  bottom: -17px;
  left: 50%;
  width: 13px;
  height: 7px;
  transform: translate(-50%, -50%);
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot .infos p,
.homepage__carteVignoble__content aside.right .top > .aop > .bot .infos img {
  opacity: 0;
  transition: all 1s linear 0.333s;
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot p {
  margin: 0;
  font-weight: bold;
  font-size: 13px;
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot .autres {
  height: 100%;
  width: 30%;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot .autres .line.right {
  transition: all 0.5s linear 0.5s;
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot .autres p {
  position: relative;
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot .autres p::after {
  content: "";
  display: block;
  position: absolute;
  /* background-image injectée via PHP */
  background-repeat: no-repeat;
  top: calc(50% + 1px);
  right: -30px;
  left: unset;
  width: 13px;
  height: 7px;
  transform: translate(-50%, -50%) rotate(-90deg);
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot .autres p,
.homepage__carteVignoble__content aside.right .top > .aop > .bot .autres img {
  opacity: 0;
  transition: all 1s linear 0.5s;
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot .arrows {
  height: 100%;
  width: 20%;
  display: flex;
  position: relative;
  justify-content: space-around;
  align-items: center;
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot .arrows .line.middle {
  opacity: 1;
  position: absolute;
  height: 100%;
  width: 1px;
  left: 50%;
  top: 0px;
  background: #373737;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  transition: all 0.5s linear 1s;
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot .arrows .arrow {
  position: absolute;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot .arrows .arrow button {
  width: 30%;
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot .arrows .arrow img {
  width: 20%;
  cursor: pointer;
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot .arrows .arrow img.next {
  transform: rotate(180deg);
}
.homepage__carteVignoble__content aside.right .top > .aop > .bot .arrows .arrow p,
.homepage__carteVignoble__content aside.right .top > .aop > .bot .arrows .arrow img {
  opacity: 1;
  transition: all 1s linear 1s;
}

/* ── Aside right > bot (cover image + titre) ─────────────────────────────── */
.homepage__carteVignoble__content aside.right > .bot {
  flex: 0.4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 3px;
  padding-bottom: 25px;
  opacity: 0;
  transform: scale3d(0.9, 0.9, 0.9);
  transition: all 1s linear 1s;
  position: relative;
}
.homepage__carteVignoble__content aside.right > .bot .img {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.homepage__carteVignoble__content aside.right > .bot .img:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  /* background-image injectée via PHP */
  background-size: 100% 100%;
}
.homepage__carteVignoble__content aside.right > .bot .img img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}
.homepage__carteVignoble__content aside.right > .bot .img img.active {
  display: initial;
  z-index: 1;
}
.homepage__carteVignoble__content aside.right > .bot .img img.brush {
  position: relative;
  height: 100%;
  z-index: 2;
}
.homepage__carteVignoble__content aside.right > .bot .img img.default {
  display: block;
  position: relative;
  z-index: 0;
}
.homepage__carteVignoble__content aside.right > .bot h3 {
  z-index: 20;
  text-align: left;
  align-self: flex-start;
  padding-left: 30px;
  padding-top: 10px;
  font-weight: 400;
  margin: 0;
}
.homepage__carteVignoble__content aside.right > .bot h3 span {
  font-weight: 600;
  text-transform: initial;
}
.homepage__carteVignoble__content aside.right > .bot h3 {
  font-size: 16px;
}
.homepage__carteVignoble__content aside.right > .bot button.cta.linkDescriptionCarrouselHP {
    background: red;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    color: #fff;
    font-weight:bold;
}
.homepage__carteVignoble__content aside.right > .bot button.cta.linkDescriptionCarrouselHP a {
    color: #fff;
}
@media screen and (min-width: 475px) {
  .homepage__carteVignoble__content aside.right > .bot h3 {
    font-size: calc(16px + 7 * (100vw - 475px) / 925);
  }
}
@media screen and (min-width: 1400px) {
  .homepage__carteVignoble__content aside.right > .bot h3 {
    font-size: 23px;
  }
}
.homepage__carteVignoble__content aside.right > .bot button {
  display: none;
}
.homepage__carteVignoble__content aside.right > .bot button.active {
  display: flex;
}
.homepage__carteVignoble__content aside.right > .bot button.masked {
  opacity: 0;
  pointer-events: none;
}

/* ── Aside left ──────────────────────────────────────────────────────────── */
.homepage__carteVignoble__content aside.left {
  opacity: 0;
  transform: scale3d(0.9, 0.9, 0.9);
  transition: all 1s linear 1s;
}

/* ── États AOP / IGP ─────────────────────────────────────────────────────── */
.homepage__carteVignoble__content.aop .right .top h4.igp { display: none; }
.homepage__carteVignoble__content.aop .right .top h4.aop { display: block; }
.homepage__carteVignoble__content.aop .right .top .cta.igp { display: none; }
.homepage__carteVignoble__content.aop .right .top .cta.aop { display: block; }
.homepage__carteVignoble__content.aop .right .top > .aop .carrouselAOP {
  transition: none; z-index: 10; opacity: 1; pointer-events: initial;
}
.homepage__carteVignoble__content.aop .right .top > .aop .carrouselIGP {
  transition: none; z-index: 1; pointer-events: none; opacity: 0;
}
.homepage__carteVignoble__content.aop .right .top > .aop .arrowIGP { opacity: 0; z-index: 1; }
.homepage__carteVignoble__content.aop .right .top > .aop .arrowAOP { opacity: 1; z-index: 10; }

.homepage__carteVignoble__content.igp .right .top h4.aop { display: none; }
.homepage__carteVignoble__content.igp .right .top h4.igp { display: block; }
.homepage__carteVignoble__content.igp .right .top .cta.aop { display: none; }
.homepage__carteVignoble__content.igp .right .top .cta.igp { display: block; }
.homepage__carteVignoble__content.igp .right .top > .aop .carrouselIGP {
  transition: none; z-index: 10; opacity: 1; pointer-events: initial;
}
.homepage__carteVignoble__content.igp .right .top > .aop .carrouselAOP {
  transition: none; z-index: 1; pointer-events: none; opacity: 0;
}
.homepage__carteVignoble__content.igp .right .top > .aop .arrowIGP { opacity: 1; z-index: 10; }
.homepage__carteVignoble__content.igp .right .top > .aop .arrowAOP { opacity: 0; z-index: 1; }

/* ── État .visible (déclenché par ScrollMagic au scroll) ─────────────────── */
.homepage__carteVignoble.visible .homepage__carteVignoble__title {
  opacity: 1;
  transform: translateY(0);
}
.homepage__carteVignoble.visible .homepage__carteVignoble__content > .line.top {
  opacity: 1;
  transform: scaleX(1);
}
.homepage__carteVignoble.visible .homepage__carteVignoble__content aside.right > .line.middle {
  opacity: 1;
  transform: scaleY(1);
}
.homepage__carteVignoble.visible .homepage__carteVignoble__content aside.right .top > .line.bot {
  opacity: 1;
  transform: scaleX(1);
}
.homepage__carteVignoble.visible .homepage__carteVignoble__content aside.right .top > .aop .carrousels {
  opacity: 1;
  transform: scale3d(1, 1, 1);
}
.homepage__carteVignoble.visible .homepage__carteVignoble__content aside.right .top > .aop .line.top {
  opacity: 1;
  transform: scaleX(1);
}
.homepage__carteVignoble.visible .homepage__carteVignoble__content aside.right .top > .aop h3,
.homepage__carteVignoble.visible .homepage__carteVignoble__content aside.right .top > .aop p,
.homepage__carteVignoble.visible .homepage__carteVignoble__content aside.right .top > .aop img {
  opacity: 1;
}
.homepage__carteVignoble.visible .homepage__carteVignoble__content aside.right .top .line.right {
  transform: scaleY(1);
}
.homepage__carteVignoble.visible .homepage__carteVignoble__content aside.right .top .line.middle {
  transform: translateX(-50%) scaleY(1);
}
.homepage__carteVignoble.visible .homepage__carteVignoble__content aside.right > .bot {
  opacity: 1;
  transform: scale3d(1, 1, 1);
}
.homepage__carteVignoble.visible .homepage__carteVignoble__content aside.left {
  opacity: 1;
  transform: scale3d(1, 1, 1);
}
.homepage__carteVignoble.visible > .line.bot {
  opacity: 1;
  transform: scaleX(1);
}

/* ── Responsive tablet ───────────────────────────────────────────────────── */
@media only screen and (max-width: 980px) {
  .homepage__carteVignoble__content {
    flex-direction: column;
  }
  .homepage__carteVignoble__content aside {
    width: 100%;
  }
  .homepage__carteVignoble__content aside.left {
    border-bottom: 1px solid #373737;
    padding-bottom: 0;
  }
  .homepage__carteVignoble__content aside.left .carte {
    display: flex;
    flex-direction: column;
      margin-bottom: 25px;
  }
  .homepage__carteVignoble__content aside.left .carte h4 {
    width: 100%;
    margin: 0 auto;
    font-size: 14px;
  }
  .homepage__carteVignoble__content aside.left .carte p {
    order: 0;
    margin: 0;
    font-size: 14px;
  }
  .homepage__carteVignoble__content aside.left .carte p br {
    display: none;
  }
  .homepage__carteVignoble__content aside.left .carte .map {
    order: 1;
    width: 100%;
    margin: 0 auto;
  }
  .homepage__carteVignoble__content aside.left .carte a {
    order: 2;
  }
  .homepage__carteVignoble__content aside.right {
    padding-top: 10px;
    border-left: none;
  }
  .homepage__carteVignoble__content aside.right > .bot h3,
  .homepage__carteVignoble__content aside.right > .bot .img {
    display: none;
  }
  .homepage__carteVignoble__content aside.right .line.middle {
    display: none;
  }
  .homepage__carteVignoble__content aside.right .top {
    padding-top: 0;
    height: 100%;
    flex: 1;
  }
  .homepage__carteVignoble__content aside.right .top .line {
    display: none;
  }
  .homepage__carteVignoble__content aside.right .top > .aop {
    height: 23vh;
    position: relative;
  }
  .homepage__carteVignoble__content aside.right .top > .aop > p {
    text-align: center;
    margin: 0 auto;
    flex: initial;
    font-size: 12px;
  }
  .homepage__carteVignoble__content aside.right .top > .aop .carrousels {
    flex: 1;
    width: 85%;
    margin: 0 auto;
    z-index: 10;
  }
  .homepage__carteVignoble__content aside.right .top > .aop .bot {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
  }
  .homepage__carteVignoble__content aside.right .top > .aop .bot .infos,
  .homepage__carteVignoble__content aside.right .top > .aop .bot .autres {
    display: none;
  }
  .homepage__carteVignoble__content aside.right .top > .aop .bot .arrows {
    width: 100%;
    z-index: 9;
  }
  .homepage__carteVignoble__content aside.right .top > .aop .bot .arrows .arrow {
    width: 100%;
    justify-content: space-between;
  }
  .homepage__carteVignoble__content aside.right .top > .aop .bot .arrows .arrow img {
    width: 20px;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    outline: none;
  }
  .homepage__carteVignoble__content aside.right .top > .aop .bot .arrows .arrow img.prev {
    transform: rotate(180deg);
  }
  .homepage__carteVignoble__content aside.right .top > .aop .bot .arrows .arrow img.next {
    transform: none;
  }
  .homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .item ul li,
  .homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .item ul li {
    padding-left: 0px;
  }
  .homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP .item ul li p.name,
  .homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP .item ul li p.name {
    font-size: 12px;
  }
}

/* ── Responsive big-phone ────────────────────────────────────────────────── */
@media only screen and (max-width: 500px) {
  .homepage__carteVignoble__content aside.right .top > .aop .carrousels {
    width: 80%;
  }
  .homepage__carteVignoble__content aside.right .top > .aop .carrouselAOP.mobile .item ul li,
  .homepage__carteVignoble__content aside.right .top > .aop .carrouselIGP.mobile .item ul li {
    height: 12%;
    width: 100%;
  }
}

/* ── Responsive mobile-only ──────────────────────────────────────────────── */
@media only screen and (max-width: 374px) {
  .homepage__carteVignoble__content aside.right .top > .aop {
    height: 60vh;
  }
}
