/* special layout css rules for homepage */
.header {
  background: var(--vitrine-red-color);
}

.animation-init {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  height: 100vh;
  width: 100vw;
  background-color: var(--vitrine-red-color);
  background-image: url("../images/femme_mauve.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%;
  z-index: 9999;
}
.header__nav-link,
.header__nav-link.active,
.btn-text,
.btn-icon {
  color: var(--vitrine-red-color);
  pointer-events: none;
}
.aside {
  width: 0;
}

.hero {
  transition: none;
  position: relative;
  overflow: hidden;
}

/* --------- Page Home ------- */
.hero__bg-title {
  position: absolute;
  top: 10%;
  left: 53.5%;
  transform: translateX(-50%);
  display: none;
  width: fit-content;
  font-family: "Hanson Bold", sans-serif;
  font-size: 2rem;
  color: var(--vitrine-white-color);
  text-transform: uppercase;
  letter-spacing: 1.5rem;
  opacity: 0;
  transform-origin: center;
  z-index: 2;
}
.hero__top {
  position: relative;
  background-color: var(--vitrine-red-color);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-basis: 100%;
  padding-bottom: 4rem;
}
.hero__top-img {
  width: auto;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  right: 50%;
  transform: translateX(50%);
}

.hero__top-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 3;
}
@media screen and (max-width: 1023px) {
  .hero__top-content {
    scale: 0.9;
  }
}
.hero__title {
  font-family: "DIN Alternate Bold", sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--vitrine-white-color);
  text-transform: uppercase;
  line-height: 0.71;
  height: fit-content;
  width: max-content;
}
.hero__title > * {
  display: block;
  opacity: 0;
}

.hero__title > *:nth-child(2),
.hero__title > *:last-child {
  margin-left: 3.3rem;
}

.hero__subtitle {
  font-family: "DIN 1451 Mittelschrift", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--vitrine-black-color);
  text-transform: uppercase;
  width: max-content;
  opacity: 0;
  line-height: 1.2;
  letter-spacing: 0.5px;
  margin-left: 20px;
}
.hero__subtitle > *:not(.hero__subtitle-moreWrap),
.hero__subtitle-more {
  background: var(--vitrine-white-color);
  display: block;
  width: fit-content;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.hero__subtitle > *:first-child {
  padding-top: 0.2rem;
}
.hero__subtitle > *:not(.hero__sutitle-moreWrap):last-child {
  padding-bottom: 0.2rem;
}
.hero__subtitle > *:not(.hero__subtitle-moreWrap),
.hero__subtitle-more {
  padding-top: 0.3rem;
  padding-bottom: 0.1rem;
}

.hero__subtitle-moreWrap {
  display: flex;
  height: 0;
  overflow: hidden;
  opacity: 0;
  vertical-align: center;
}

/* padding ici, jamais animé */
.hero__subtitle-moreInner {
  overflow: hidden;
  display: inline-flex;
  padding-bottom: 0.1rem;
  flex-direction: column;
}

.btn-readmore,
.btn-readless {
  position: absolute;
  bottom: -1.3rem;
  font-family: "Avenir Next", sans-serif;
  font-weight: 700;
  font-style: italic;
  color: var(--vitrine-white-color);
  background: var(--vitrine-black-color);
  padding: 2px 4px 0;
  min-height: auto;
  margin-left: auto;
  opacity: 0;
}
.btn-readmore:hover,
.btn-readless:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}
.btn-readmore {
  opacity: 0;
  z-index: 2;
}
.btn-readless {
  z-index: 1;
}
.hero__bottom {
  display: flex;
  align-items: center;
  padding: 0 20px;
  flex-basis: 0%;
  background: url("../images/Ecorces.webp") no-repeat center;
  background-size: cover;
  overflow: hidden;
}
.hero__bottom-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: var(--vitrine-white-color);
}
.hero__bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero__bottom-left__first-expo {
  font-family: "DIN 1451 Mittelschrift", sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  margin: 0;
  background: var(--vitrine-black-color);
  width: max-content;
  padding: 0 0.4rem;
}
.hero__bottom-left__title {
  font-family: "Hiragino Kaku Gothic StdN W8", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
}
.hero__bottom-left__title > * {
  display: block;
  background: var(--vitrine-black-color);
  width: fit-content;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}
.hero__bottom-left__title > *:first-child {
  padding-top: 0.2rem;
  padding-bottom: 0.4rem;
}
.hero__bottom-left__title > *:last-child {
  padding-bottom: 0.2rem;
}
.hero__bottom-left__address {
  font-family: "DIN 1451 Mittelschrift", sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  padding-inline: 6.4px;
}

.hero__bottom-right {
  margin-top: auto;
  padding-bottom: 1.5rem;
}
.btn-ticket {
  color: var(--vitrine-white-color);
  background: var(--vitrine-black-color);
  border: 2px solid var(--vitrine-white-color);
  padding: 0rem 1rem;
  text-transform: uppercase;
  font-family: "DIN 1451 Mittelschrift", sans-serif;
  border-radius: 0.8rem;
  font-weight: 400;
  font-size: 0.725rem;
  min-height: 36px;
  height: fit-content;
  width: fit-content;
  margin-left: 0;
  transition: transform 0.2s ease;
  opacity: 0;
  display: flex;
  align-items: center;
}
.btn-ticket:hover {
  transform: scale(1.05);
}
.btn-ticket__container {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.btn-ticket__title {
  color: var(--vitrine-white-color);
  font-family: "Hanson Bold", sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(100%);
}

.btn-ticket__title > * {
  display: block;
}

/* OVERLAY */
.popup-overlay {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.45);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 9999;
}

/* SHOW */
.popup-overlay.active {
  display: flex;
}

/* BOX */
.popup-box {
  background: #fff;
  width: 360px;
  max-width: 90%;

  padding: 24px;
  border-radius: 12px;

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);

  position: relative;

  animation: popupIn 0.25s ease;
}

/* ANIMATION */
@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* CLOSE */
.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;

  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
}

/* Mobile in Landscape */
@media screen and (max-width: 1023px) and (orientation: landscape) {
  .hero__top {
    overflow: hidden;
  }
  .hero__top-content {
    gap: 2rem;
    align-items: initial;
  }
  .hero__top {
    justify-content: start;
  }

  .hero__title {
    font-size: 3rem;
  }
  .hero__subtitle {
    font-size: 1.25rem;
    margin-left: 11.35rem;
  }
  .hero__subtitle > * {
    margin-left: initial;
    margin-right: initial;
  }

  .btn-ticket {
    font-size: 1rem;
  }
  .btn-ticket__container {
    right: 1rem;
  }
  .btn-readmore,
  .btn-readless {
    right: 8rem;
  }
}

/* ---------- Large Mobile --------- */
@media screen and (min-width: 480px) {
}

/* ------------- Tablet ---------- */
@media screen and (min-width: 768px) {
}

/* ------------ Small Laptop ---------- */
@media screen and (min-width: 1024px) {
  .animation-init {
    background-position: 93% center;
  }
  .hero__bottom-left__first-expo {
    font-size: 1rem;
  }
  .hero__bottom-left__address {
    font-size: 1rem;
  }
  .page-content {
    padding: 0 20px 20px;
  }
  .hero__bg-title {
    display: flex;
    font-size: 9rem;
    left: 50%;
  }
  .hero__title {
    font-size: 3rem;
  }
  .hero__top-img {
    /* background-position: 93% center; */
    right: 6%;
    transform: translateX(0);
  }
  .hero__top-content {
    transform: translateX(-5rem);
    align-items: normal;
  }
  .hero__subtitle {
    margin-left: 11.35rem;
  }
  .hero__subtitle > * {
    margin-left: initial;
    margin-right: initial;
  }
  .hero__subtitle > *:not(.hero__subtitle-moreWrap),
  .hero__subtitle-more {
    padding-top: 0.2rem;
    padding-bottom: 0.1rem;
  }
  .btn-readmore,
  .btn-readless {
    right: 6.5rem;
  }
  .hero__bottom {
    padding: 0 4rem;
  }
  .hero__bottom-left__title {
    font-size: 2rem;
  }
  .btn-ticket {
    font-size: 1rem;
    margin-left: 2rem;
  }
  .btn-ticket__title {
    font-size: 1.5rem;
    text-align: initial;
  }
  .btn-ticket__container {
    right: 4rem;
    bottom: 3rem;
  }
}

/* ------------ Laptop ---------- */
@media screen and (min-width: 1280px) {
}

/* ------------ Large Screen ---------- */
@media screen and (min-width: 1526px) {
  .hero__title {
    font-size: 3.5rem;
  }

  .hero__subtitle {
    font-size: 1.15rem;
  }
}

/* ------------ Desktop ---------- */
@media screen and (min-width: 1920px) {
  .hero__title {
    font-size: 4.5rem;
  }

  .btn-readmore,
  .btn-readless {
    right: 9.5rem;
    bottom: -2rem;
  }

  .hero__bottom-left__title {
    font-size: 3rem;
  }

  .hero__subtitle,
  .hero__bottom-left__address,
  .hero__bottom-left__first-expo,
  .btn-ticket,
  .btn-readmore,
  .btn-readless {
    font-size: 1.5rem;
  }

  .hero__bg-title {
    font-size: 10rem;
  }
}
