* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #000;
  max-width: 100vw;
  overflow-x: hidden;
}

header{
    height: 100vh;
    max-width:100vw;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    font-family:Helvetica;
    
}

.languages{
  position: absolute;
  color: white;
  background-color: gray;
  border-radius: 5px;
  font-family: Helvetica;
  font-size: 1.5vh;
  font-weight: bold;
  opacity: 0.5;
  z-index: 1;
  width: 2.5vw;
  height: 2.5vh;
  top: 5vh;
  right: 5vw;
}

.logo {
  position: absolute;
  top: 5vh;
  left: 5vw;
  width: clamp(100px, 12vw, 180px);
  height: 5vh;
  width: auto;
  z-index: 2;
}

.bar-vertical {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 10;
    transform: translateY(-50%) rotate(var(--rotation, 0deg));
    /* transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
    transform-origin: center right; */
    height:30vh;
}

header h1{
    position: absolute;
    font-size: 10vh !important;
    left:25vw;
    font-size: 5vh;
    text-align: center;
    width: 100vw;
    transform: translateX(-25%);
}

header h1:nth-child(3){
    position: absolute;
    bottom: 10vh;
    left:5vw;
    max-width:20vw;
    letter-spacing: 1vw;
}

.mergulhe-mais {
  position: absolute;
  font-family: Helvetica;
  top: 88%;
  right: 10%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  z-index: 1;
}

.mergulhe-mais a {
  color: white;
  font-size: 2vh;
  margin-bottom: 1vh;
}

.case-description{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items:start;
    max-width:100vw;
    background-color: white;
    color: black;
    font-family:Helvetica;
    padding: 5vh 5vw;
}



.cliente{
    font-size: 5vh;
    right: 0;
    display: flex;
    flex-direction: row;
    width: 100vw;
    /* margin-bottom: 7vh; */
}

.cliente p{
  margin-top: 2vh;
  margin-left: 5vw;
  font-weight: bold;
}

.cliente-description{
  display: flex;
  flex-direction: column;
  width: 90vw;
  align-items: center;
}

.case-description p{
    font-size: 2.5vh;
    line-height: 4vh;
    margin-right: 6vw;
    width: 90vw;
    margin-bottom: 8vh;
    margin-top: 6vh;
}

.case-description img{
  height: 60vh;
  width: auto;
  object-fit: contain;
  align-self: center;
  cursor: pointer;
}

.block-text1{
  max-width:50vw;
  margin-right: 2vw;
}

.block-text2{
  margin-left: 0vw;
  margin-top: 2vh;
  max-width:40vw;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: visible;
    width: 90vw;
  }
  .carousel-track-outer {
    overflow: hidden;
    flex: 1;
    width: 100%;
  }
  .carousel-track {
    display: flex;
    gap: 3vw;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .arrow-btn {
    position: absolute; /* Sai do fluxo estático e aceita coordenadas */
    top: 82%;
    transform: translateY(-50%); /* Centraliza verticalmente no meio da altura */
    z-index: 10;
    width: clamp(30px, 4vw, 40px);
    height: clamp(30px, 4vw, 40px);
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #000000;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 9999;
  }
.arrow-btn:disabled { opacity: 0.3; cursor: default; }

#btn-prev{
  transform: translateX(-4vw);
}

#btn-next{
  transform: translateX(91vw);
}

.photo-placeholder-2 {
  position: relative;
  height: 60vh;
  width: auto;
  object-fit: contain;
  align-self: center;
  cursor: pointer;
}

.photo-placeholder-2 img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.photo-square {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  width: auto;
  height: 70vh;
  margin-bottom: 30px;
  margin-left: 0vw;
  margin-top: 3vh;
  align-self: center;
  justify-self: center;
  flex-shrink: 0;
}

.photo-stories {
  position: relative;
  flex: 0 0 auto;
  height: 70vh;
  width: auto;
  margin-bottom: 30px;
  margin-left: 0vw;
  margin-top: 3vh;
  align-self: center;
  justify-self: center;
}

.photo-stories img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.photo-square img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
  }

.image-modal.active {
  display: flex;
}

.modal-content {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
  }

  @keyframes zoomIn {
    from {
      transform: scale(0.8);
      opacity: 0;
      }
      to {
        transform: scale(1);
        opacity: 1;
    }
  }

  .close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
    user-select: none;
  }

  .close-modal:hover {
    color: #bbb;
  }

  .photo-placeholder-2 img,
  .photo-square img,
  .photo-stories img {
      cursor: pointer;
      transition: opacity 0.3s;
    }

  .photo-placeholder-2 img:hover,
  .photo-square img:hover,
  .photo-stories img:hover {
      opacity: 0.9;
  }

.photo-square video{
  height: 100%;
  width: 100%;
  object-fit: cover;
} 

.case-end{
    align-self: center;
}

.ptp-video video{
  margin-top: 1vh;
  width: 100%;
  height: 60vh;
}

.video-container {
    position: relative;
    cursor: pointer;
    width: auto;
    display: table;
}


.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: all 0.3s ease;
}

.play-button svg {
    width: 40px;
    height: 40px;
    margin-left: 4px;
}

.video-container:hover .play-button {
    background: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-container.playing .play-button {
    opacity: 0;
    visibility: hidden;
}

/* ========================================
   HEADER MOBILE
======================================== */
 
@media (max-width: 767px) {
 
  /* HEADER MOBILE */
  header h1 {
    font-size: 6vh !important;
    top: 35vh;
    right: 50%;
    width: 100%;
  }
 
  header h1:nth-child(3) {
    opacity: 0;
  }

  .cliente{
    margin-bottom: 0 !important;
  }
 
  .logo {
    width: 30vw;
    max-width: 120px;
    top: 3vh;
    left: 5vw;
  }
 
  .languages {
    width: 12vw;
    height: 4vh;
    font-size: 2.5vw;
    top: 3vh;
    right: 5vw;
  }
 
  .bar-vertical {
    height: 20vh;
    right: 2vw;
  }
 
  .mergulhe-mais {
    top: 85%;
    right: 50%;
    transform: translateX(50%);
  }
 
  .mergulhe-mais a {
    font-size: 3vw;
  }
 
  /* CASE DESCRIPTION MOBILE */
  .case-description {
    padding: 5vh 5vw;
  }
 
  .description {
    flex-direction: column;
  }
 
  .cliente {
    width: 70vw;
    font-size: 4vh;
    margin-bottom: 2vh;
    display: flex;
    flex-direction: column;
  }
 
  .case-description p {
    font-size: 4vw;
    line-height: 3.5vh;
    width: 90vw;
    margin-left: 0;
  }

  .cliente-description{
  display: flex;
  flex-direction: column;
  width: 90vw;
  }
 
  .block-text1 {
    max-width: 90vw;
  }
 
  .block-text2 {
    margin-left: 0;
    margin-top: 4vh;
    max-width: 90vw;
  }
 
  .photo-placeholder-1 {
    position: relative;
    width: 90vw;
    margin-top: 3vh;
    margin-left: 0;
    align-self: center;
  }
 
  .photo-placeholder-2 {
    width: 90vw;
    height: auto;
    margin-top: 3vh;
  }

  .carousel-track{
    display: flex;
    flex-direction: column;
  }

  .photo-square {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  width: 90vw;
  height: auto;
  margin-bottom: 30px;
  margin-left: 0vw;
  margin-top: 3vh;
  align-self: center;
  justify-self: center;
  flex-shrink: 0;
  }

  .photo-stories {
    position: relative;
    flex: 0 0 auto;
    height: auto;
    width: 90vw;
    margin-bottom: 30px;
    margin-left: 0vw;
    margin-top: 3vh;
    align-self: center;
    justify-self: center;
  }

  .photo-stories img{
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .photo-square img{
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .arrow-btn{
    display: none;
  }

  .ptp-video video{
    margin-top: 1vh;
    width: 100%;
    height: 25vh;
  }

.video-container {
    position: relative;
    cursor: pointer;
    width: auto;
    display: table;
  }

.play-button {
    width: 60px;
    height: 60px;
  }
}

/* ========================================
   LAST SECTION
======================================== */

.last-section{
    position: relative;
    min-height: 100vh;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    font-family: Helvetica;
    background-color: #041CBC;
    color: white;
    overflow: hidden;
    z-index: 11;
}

.last-section a{
  color: #fff !important;
}
.last-section::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 69.5%;
  width: 12%;
  height: 3px;
  background: white;
  transform: rotate(15deg);
  transform-origin: left center;
}

.last-section::after {
  content: '';
  position: absolute;
  top: 62%;
  left: 71%;
  width: 10%;
  height: 3px;
  background: white;
  transform: rotate(15deg);
  transform-origin: left center;
}

.last-section .languages{
  position: absolute;
  color: white;
  background-color: gray;
  font-family: Helvetica;
  font-weight: bold;
  font-size: 2vh;
  opacity: 0.5;
  z-index: 1;
  height:3vh;
  width: 3vw;
  top: 130vh;
  right: 4vw;
  border-radius: 10px;
}

.last-daive{
  height:18vh;
  max-width: 50vw;
  margin-left:0vw;
  margin-top:12vh;
}

.last-logo{
  position: relative;
  height: 8vh;
  margin-left:0vw;
}

.menu-left {
  position: absolute;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  font-size: clamp(2vh, 4vh, 6vh);
  top:14%;
  left:62%;
  letter-spacing: 2px;
}

.menu-right {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: clamp(2vh, 2.5vh, 3vh);
  margin-bottom: 15vh;
  margin-right: 10vw;
  transform: translateY(-10vh);
  gap:2vh;
  cursor: pointer;
}

.menu-right a:hover {
  opacity: 0.7;
}

.social-left {
  position: absolute;
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: flex-start;
  font-size: clamp(2vh, 4vh, 5vh);
  top:55%;
  left:62%;
  letter-spacing: 2px;
}

.social-right {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: clamp(2vh, 2.5vh, 3vh);
  margin-top: 1vh;
  margin-right: 10vw;
  gap:2vh;
  cursor: pointer;
  margin-bottom: 10vh;
}

.social-right a:hover {
  opacity: 0.7;
}

.footer-bar {
  position: relative;
  width: 90vw;
  font-family: Helvetica;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom:0;
  margin-bottom: 10vh;
  margin-left: 5vw;
  font-size: clamp(1vh, 2vh, 3vh);
  margin-top:7vh;
  letter-spacing: 0.5px;
}

.footer-bar p {
  margin: 0;
  font-weight: 300;
}

@media (max-width: 767px) {

  .last-section {
    max-width: 100vw;
    height: auto;
    padding-bottom: 10vh;
  }
 
  .last-section::before {
    display: none;
  }
 
  .last-section::after {
    display: none;
  }
 
  .last-daive {
    height: 10vh;
    max-width: 70vw;
    margin-left: 5vw;
    margin-top: 5vh;
  }
 
  .last-logo {
    height: 4vh;
    margin-left: 5vw;
    transform: translateY(1vh);
    margin-bottom: 5vh;
    animation: girar 8s linear infinite;
  }

  @keyframes girar {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}
 
  .menu-left {
    position: static;
    align-items: flex-end;
    font-size: 3vh;
    margin-left: 5vw;
    margin-top: 3vh;
    letter-spacing: 1px;
  }
 
  .menu-right {
    position: static;
    align-items: flex-end;
    font-size: 2.2vh;
    margin-left: 5vw;
    margin-right: 3vw;
    margin-top: 2vh;
    margin-bottom: 5vh;
    transform: none;
    gap: 1.5vh;
  }
 
  .social-left {
    position: static;
    align-items: flex-end;
    font-size: 3vh;
    margin-left: 5vw;
    margin-top: 3vh;
    letter-spacing: 1px;
  }
 
  .social-right {
    position: static;
    align-items: flex-end;
    font-size: 2.2vh;
    margin-left: 5vw;
    margin-right: 3vw;
    margin-top: 2vh;
    margin-bottom: 5vh;
    gap: 1.5vh;
  }
 
  .last-section .languages {
    width: 12vw;
    height: 4vh;
    font-size: 2.5vw;
    top: 3vh;
    right: 5vw;
  }
 
  .footer-bar {
    position: relative;
    width: 90vw;
    font-family: Helvetica;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1vh;
    padding-bottom: 0;
    margin-bottom: 2.5vh;
    margin-left: 5vw;
    margin-top: 5vh;
    font-size: 1.6vh;
    letter-spacing: 0.5px;
  }

  .footer-bar img{
    margin-right: 4vw;
  }
 
  .footer-bar p {
    white-space: normal;
    font-size: 1.6vh;
  }
}