/*CAS IMMERSION*/

/*default immersion*/
.page-cas-immersion main{
  background-color: #0b0f10;
}
.page-cas-immersion .text p{
  font-size: .9rem;
}

.immersionIntro{
  padding: 0;
  position: relative;
  overflow: hidden;
}
.logoImmersion{
  position: absolute;
  width: 700px;
  left: calc(50% - 350px);
  top: 10rem;
  transform: scale(0.7);
  opacity: 0;  
  z-index: 1;
}
.photoImmersion{
  filter: blur(10px);
  opacity: 0.6;
}
.photoImmersion img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -o-object-fit: cover;
  -o-object-position: center;
  vertical-align: middle;
}
.page-cas-immersion .casDetails{
  margin-top: -20rem;
  position: relative;
  z-index: 2;
}
.immersionVideo{
  padding: 0;
  overflow: hidden;
  position: relative;  
}
.videoContainer{
  height: 100vh;
}
.shadowVid {
  position: absolute;
  user-select: none;
  pointer-events: none;
  width: calc(100% + 500px);
  height: calc(100% + 13px);
  z-index: 1;
  bottom: -10px;
  left: -250px;
  opacity: 1;
  box-shadow: inset 0 0px 200px 150px #0b0f10;
}
#homeVideo{
  width: 100%;
  height: 100%;
  object-fit: cover;
  -o-object-fit: cover;
}
.realTitle {
  position: absolute;
  width: 100%;
  left: 0;
  top: 5rem;
  opacity: 0;
  z-index: 2
}
.realTitle div {
  max-width: 100%
}
.realTitle div p {
  align-items: center;
  text-align: center;
}
.realTitle div .t-3{
  font-family: 'Interstate',sans-serif;
  text-indent: .3rem;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: .3rem;
  color:#fff;
  text-transform: uppercase;
}
.realTitle div .t-1 {
  font-size: 2.2rem;
  margin-top: .5rem;
  font-family: 'Interstate',sans-serif;
  text-indent: .7rem;
  letter-spacing: .7rem;
  color:#fff;
  text-transform: uppercase;
}

.interagir {
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
  z-index: 1;
}
.interagir .t-2 {
  font-family: 'Interstate';
  text-transform: uppercase;
  color: #000;
  align-items: center;
  text-align: center;
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 4;
  top: calc(10% + 1rem);
  font-size: 2.2rem;
  opacity: 0;
  letter-spacing: 1rem;
  transform: scale(.5)
}
.interagir .t-4 {
  font-family: 'Interstate';
  text-transform: uppercase;
  color: #000;
  align-items: center;
  text-align: center;
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 4;
  top: 20%;
  font-size: 1.3rem;
  opacity: 0;
  letter-spacing: .7rem;
  transform: scale(.5)
}
.interagir .scaleImages {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden
}
.interagir .scaleImages div {
  position: absolute;
  height: 100%;
  width: 100%
}
.interagir .scaleImages div img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -o-object-fit: cover;
  -o-object-position: center;
  vertical-align: middle;
}
.interagir .scaleImages div.first {
  z-index: 3
}
.interagir .scaleImages div.second {
  z-index: 2
}
.interagir .scaleImages div.third {
  z-index: 1
}
.sectionSite{
  position: relative;
}
.bar {
  position: absolute;
  width: 1px;
  background-color: #fff;
  height: 0;
  left: calc(50% - 0.5px);
  z-index: 1;
  top: -100px;  
  opacity: 0;
}
.sectionSite .container{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}
.sectionSite .t-1{
  font-weight: 500;
  align-items: center;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translate(0, 50px);
}
.sectionSite .t-1 strong{
  margin: .5rem 0;
}
.sectionSite .text p{
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  opacity: 0;
  transform: translate(0, 50px);
}
.sectionSite .link{
  margin-top: 2rem;
  opacity: 0;
  transform: translate(0, 50px);
}
.sectionSite .imgContainer{
  position: absolute;
  width: 800px;
  aspect-ratio: 200 / 243;  
  max-width: 100%;
  top: -5rem;
  left: 0;
  opacity: 0;
}
.sectionSite .imgContainer img{
  object-fit: contain;
}
.sectionLogo{
  position: relative;
  margin-top: 5rem;
  padding-bottom: 6rem;
}
.sectionLogo .bar{
  top: calc(100% - 3rem);
}
.sectionLogo .container{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}
.logoImmersionSecond{
  width: 500px;
  max-width: 100%;
  padding: 0 1rem;
  margin-bottom: 3rem;  
  z-index: 1;
}
.logoImmersionSecond svg path{
  fill: #fff;
  opacity: 0;
}
.logoImmersionSecond svg #logo path{
  transform: translate(0, 20px);
}
.sectionLogo .t-1{
  font-weight: 500;
  align-items: center;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translate(0, 50px);
}
.sectionLogo .t-1 strong{
  margin: .5rem 0;
}
.sectionLogo .text p{
  color: #fff;
  opacity: 0;
  transform: translate(0, 50px);
}
.logoStudiiio{
  margin-top: 3rem;
  width: 350px;
  max-width: 100%;
  padding: 0 1rem;
}
.logoStudiiio svg{
  width: 100%;
}
.logoStudiiio svg path{
  fill: transparent;
  stroke: #fff;
  stroke-width: 1px;
}
.imgGrid{
  margin-top: 7.5rem;
}
.imgGrid .container{
  padding-bottom: 3rem;
}
.gridBox{
  display: grid;
  grid-template-columns: minmax(200px, 45%) minmax(200px, 55%);
  grid-template-rows: repeat(2, 400px);
  grid-gap: 3rem;
}
.gridBox div{
  opacity: 0;
  transform: perspective(500px) rotateY(-5deg)  translate3d(0, 0, 50px);
}
.gridBox div img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -o-object-fit: cover;
  -o-object-position: center;
  vertical-align: middle;
}
.gridBox div:nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
.gridBox div:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
.gridBox div:nth-child(3) { grid-area: 2 / 2 / 3 / 3; }

.ending{
  margin-top: -10rem;
  background-color: #fff;
  padding-top:15rem;
  padding-bottom: 5rem;
}
.ending .linkContainer{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(0, 100px);
}

@media screen and (max-width: 1600px) {
  .page-cas-immersion .casDetails{
    margin-top: -15rem;
  }
}
@media screen and (max-width: 1400px) {
  /*PAGE CAS IMMERSION*/
  .photoImmersion{
     height: 700px;
  }
  .page-cas-immersion .casDetails{
    margin-top: -10rem;
  }
  .sectionSite .imgContainer{
    width: 600px;
    top: 0;
  }
  .sectionSite .imgContainer img{
    max-height: 100%;
  }
  .sectionLogo{
    margin-top: 0;
  }
  
}
@media screen and (max-width: 1200px) {
  /*PAGE CAS IMMERSION*/
  .logoImmersion{
    width: 550px;
    left: calc(50% - 275px);
  }
  .interagir{
    margin-top: -5rem;
  }
  .interagir .t-2, .interagir .t-4 {
    letter-spacing: .5rem;
  }
}
@media screen and (max-width: 1024px) {  
  .gridBox {
    grid-template-rows: repeat(2, 300px);
    grid-gap: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .interagir{
    margin-top: 0;
    padding: 0;
  }
  .scaleImages{
    opacity: 0;
  }
  .interagir .t-4, .interagir .t-2{
    padding: 0 1.2rem;
  }
  .interagir .t-4 {
    width: 500px;
    left: calc(50% - 250px);
  }
  .logoImmersion {
    width: 100%;
    left: 0;
    padding: 0 10%;
  }
  .photoImmersion {
    height: 500px;
  }
}

@media screen and (max-width:640px){

  .realTitle div .t-1{
    opacity: 0;
    transform: translate(0,50px);
  }
  .gridBox{
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    grid-template-rows: repeat(2, 300px);
    grid-gap: 1rem;
  }
  .gridBox div:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
  .gridBox div:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
  .gridBox div:nth-child(3) { grid-area: 2 / 1 / 3 / 3; }
}
@media screen and (max-width: 540px) {
  .page-cas-immersion .t-1 strong{
    font-size: 1.5rem;
  }
  .sectionSite .container, .sectionLogo .container{
    padding-right:1rem ;
    padding-left:1rem ;
  }
  .logoImmersionSecond{
    padding: 0;
  }
  .logoStudiiio{
    padding: 0;
  }
  .sectionSite .text p{
    font-size: 1rem;
  }
  .imgGrid{
    padding: 0;
  }
  .gridBox{
    grid-gap:0;
  }
  .ending{
    padding-top: 0;
    padding-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: -3rem;
    background-color: transparent;
  }
  .ending .linkContainer{
    margin-bottom: 1rem;
  }
}
@media screen and (max-width: 480px) {
  .interagir .t-4{
    width: 100%;
    left: 0;
    padding: 0 1rem;
  }
  .interagir .t-2{
    font-size: 1.8rem;
  }
  .interagir .t-4{
    font-size: 1.2rem;
  }
  .realTitle div .t-1{
    font-size: 1.8rem;
    letter-spacing: .4rem;
    text-indent: .4rem;
  }
}
