@font-face {
  font-family: 'Grandis';
  src: url('fonts/grandis-regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Grandis';
  src: url('fonts/grandis-regularitalic.otf') format('opentype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Grandis';
  src: url('fonts/grandis-light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Grandis';
  src: url('fonts/grandis-medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Grandis Condensed';
  src: url('fonts/grandiscondensed-medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Grandis Extended';
  src: url('fonts/grandisextended-medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: #1A1D21;
  color: #fff;
  font-family: 'Grandis', sans-serif;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  padding: 0 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000; /* Garante que o header fique sempre visível */
  background-color: #1A1D21; /* Adiciona fundo ao header */
}

@media (max-width: 768px) {
  .header {
    padding: 0 16px;
  }
}

.logo {
  display: flex;
  align-items: center;
}
.logo-icon {
  margin-right: 10px;
}

.login-link {
  font-size: 1.125rem;
  font-weight: 400;
  font-family: "Grandis", sans-serif;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}
.login-link:hover {
  color: #0D6EFD;
}

.section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Adicionado para evitar quebra de layout */
}

.pin-section {
  position: relative;
  min-height: 300vh; /* mantém os shapes fixos enquanto scrola essa região */
}

.shapes-container {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1440px;
  height: 960px;
  transform: translateX(-50%);
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  transform-origin: center;
}

/* Convertendo as posições de porcentagem para pixels baseado na resolução 1440x960 */
.shape-main {top: 211px; left: 636.72px;} /* 22% de 960px, 44.13% de 1440px = 636.72px */

.shape-1 {top: 269px; left: 29px;}   /* 28% de 960px, 2% de 1440px */

.shape-2 {top: 115px; left: 202px;}  /* 12% de 960px, 14% de 1440px */

.shape-3 {top: 326px; left: 403px;}  /* 34% de 960px, 28% de 1440px */

.shape-4 {top: 528px; left: 850px;}  /* 55% de 960px, 59% de 1440px */

.shape-5 {top: 77px; left: 518px;}   /* 8% de 960px, 36% de 1440px */

.shape-6 {top: 557px; left: 1210px;} /* 58% de 960px, 84% de 1440px */

.shape-7 {top: 480px; left: 72px;}   /* 50% de 960px, 5% de 1440px */

.shape-8 {top: 576px; left: 259px;}  /* 60% de 960px, 18% de 1440px */

.shape-9 {top: 403px; left: 1094px;} /* 42% de 960px, 76% de 1440px */

.shape-10 {top: 269px; left: 821px;} /* 28% de 960px, 57% de 1440px */

.shape-11 {top: 115px; left: 1123px;} /* 12% de 960px, 78% de 1440px */

.main-title {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 3rem;
  font-weight: 400;
  line-height: 55px;
  text-align: center;
  width: 90%;
  max-width: 800px;
}

.section-title {
  font-size: 3rem;
  font-weight: 400;
  line-height: 62px;
}

.scroll-indicator {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1.5s infinite;
  z-index: 5; /* Adicionando z-index para garantir que fique acima de outros elementos */
}

@media (max-width: 576px) {
  .scroll-indicator {
    display: none;
  }
}

/* Adicionando media query para telas menores como 1360x768 */
@media (max-height: 768px) {
  .scroll-indicator {
    bottom: 1rem; /* Reduzindo a distância do fundo */
  }
  
  .main-title {
    top: 70%; /* Ajustando a posição do título para cima */
  }
}

/* Media query para telas com largura entre 1200px e 1400px e altura menor que 800px */
@media (min-width: 1200px) and (max-width: 1400px) and (max-height: 800px) {
  .main-title {
    top: 65%; /* Ajustando a posição do título */
    font-size: 2.75rem; /* Reduzindo um pouco o tamanho da fonte */
    line-height: 50px;
  }
  
  .scroll-indicator {
    bottom: 1.25rem; /* Ajustando a posição do indicador de scroll */
  }
  
  .scroll-indicator .mouse {
    width: 28px; /* Reduzindo um pouco o tamanho do ícone do mouse */
    height: auto;
  }
}

/* Media query para telas com altura entre 700px e 800px */
@media (max-height: 800px) and (min-height: 700px) {
  .main-title {
    top: 65%; /* Ajustando a posição do título */
  }
  
  .scroll-indicator {
    bottom: 1rem; /* Ajustando a posição do indicador de scroll */
  }
}

/* Media query para telas com largura entre 1200px e 1400px e altura menor que 800px */
@media (min-width: 1200px) and (max-width: 1400px) and (max-height: 800px) {
  .main-title {
    top: 65%; /* Ajustando a posição do título */
    font-size: 2.75rem; /* Reduzindo um pouco o tamanho da fonte */
    line-height: 50px;
  }
  
  .scroll-indicator {
    bottom: 1.25rem; /* Ajustando a posição do indicador de scroll */
  }
  
  .scroll-indicator .mouse {
    width: 28px; /* Reduzindo um pouco o tamanho do ícone do mouse */
    height: auto;
  }
}

/* Media query específica para a resolução exata 1360x768 */
@media (width: 1360px) and (height: 768px) {
  .main-title {
    top: 60%; /* Movendo o título ainda mais para cima */
    font-size: 2.5rem; /* Reduzindo mais o tamanho da fonte */
    line-height: 45px;
  }
  
  .scroll-indicator {
    bottom: 0.75rem; /* Movendo o indicador de scroll mais para baixo */
    transform: translateX(-50%) scale(0.9); /* Reduzindo um pouco o tamanho */
    animation: bounce-small 1.5s infinite; /* Usando uma animação específica */
  }
  
  @keyframes bounce-small {
    0%, 100% { transform: translateX(-50%) translateY(0) scale(0.9); }
    50%      { transform: translateX(-50%) translateY(-8px) scale(0.9); }
  }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-10px); }
}

.section .left-text,
.section .right-text {
  position: absolute;
  bottom: 120px;
  max-width: 50%;
  padding: 0 56px;
  opacity: 0;
  font-size: 3rem;
  line-height: 1.3;
  will-change: transform, opacity;
}

.section .left-text { 
  left: 0; 
}

.section .right-text { 
  right: 0; 
  text-align: end;
}

/* Posicionamento específico para seção 3 apenas no mobile */
@media (max-width: 768px) {
  .section-3 .right-text {
    bottom: auto;
    top: 120px;
  }
}

.section .left-text.fixed,
.section .right-text.fixed {
  position: fixed;
  opacity: 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

@media (max-width: 768px) {
  .section .left-text,
  .section .right-text {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 90%;
    max-width: none;
    text-align: center;
    padding: 0 20px;
    font-size: 1.5rem;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .section .left-text.fixed,
  .section .right-text.fixed {
    position: fixed;
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .section-2 .right-text,
  .section-2 .right-text.fixed {
    bottom: 30px;
  }
  
  .section-2 .left-text,
  .section-2 .left-text.fixed {
    bottom: 220px;
  }

  /* Ajustando posicionamento mobile da section-3 */
  .section-3 .right-text,
  .section-3 .right-text.fixed {
    bottom: auto;
    top: 120px;
  }
  
  .section-3 .left-text,
  .section-3 .left-text.fixed {
    bottom: 40px;
  }
}

.section .left-text.exiting,
.section .right-text.exiting {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.logo-container {
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.section-4 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  gap: 42px;
  flex-wrap: wrap;
}

.section-4 .user-images {
  position: relative;
  display: flex;
  justify-content: center;
  align-content: center;
  width: 100%;
  height: 221px;
  max-width: 774px;
}

.section-4 .user-image {
  width: 221px;
  height: 221px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  transition: all 0.3s ease; /* Adicionado para suavizar as transições */
}

/* Posicionamento e z-index para cada imagem */
.section-4 .user-image:nth-child(1) { 
  transform: translateX(-276px); 
  z-index: 1;
}
.section-4 .user-image:nth-child(2) { 
  transform: translateX(-138px); 
  z-index: 2;
}
.section-4 .user-image:nth-child(3) { 
  transform: translateX(0); 
  z-index: 3;
}
.section-4 .user-image:nth-child(4) { 
  transform: translateX(138px); 
  z-index: 4;
}
.section-4 .user-image:nth-child(5) { 
  transform: translateX(276px); 
  z-index: 5;
}

.section-4 .info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.section-4 h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  max-width: 324px;
}
.cta-button {
  padding: 1rem 2rem;
  border: none;
  background: #0D6EFD;
  color: #fff;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 400;
  font-family: "Grandis", sans-serif;
  border-radius: 16px;
  height: 60px;
  max-width: 324px;
  width: 100%;
  text-decoration: none;
}

.video-wrapper {
  position: fixed;
  width: 816px;
  height: 459px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, width, height;
}

.video-wrapper.loaded {
  opacity: 1;
  visibility: visible;
}

.video-wrapper.fullscreen {
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  transform: none;
}

#animated-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  background: #000;
  transition: border-radius 0.3s ease;
}

.video-wrapper.fullscreen #animated-video {
  border-radius: 0;
}

.video-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 12px;
  transition: all 0.5s ease;
  max-width: 320px;
  margin: 0 auto;
  width: 100%;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
}

.video-wrapper:hover .video-controls {
  transform: translateY(0);
}

@media (hover: none) and (pointer: coarse) {
  .video-wrapper .video-controls {
    transform: translateY(0);
  }
}

.play-pause,
.volume-btn,
.expand-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.play-pause:hover,
.volume-btn:hover,
.expand-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.play-pause img,
.volume-btn img {
  width: 24px;
  height: 24px;
  filter: invert(1);
}

/* Animação para o botão de play quando o vídeo termina */
@keyframes pulsePlay {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.video-wrapper.ended .play-icon {
  animation: pulsePlay 1.5s infinite ease-in-out;
}

.progress-wrapper {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  flex: 1;
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: height 0.2s ease;
}

.progress-bar:hover {
  height: 6px;
}

.progress-bar.dragging {
  height: 8px;
  cursor: grabbing;
}

.progress-bar.dragging .progress {
  background: #2196F3;
  box-shadow: 0 0 8px rgba(33, 150, 243, 0.8);
}

.progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: #0D6EFD;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.video-wrapper.fullscreen .video-controls {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  padding: 20px;
}

.hidden {
  display: none;
}

.section-5 {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-2,
.section-3 {
  z-index: 2; /* Garante que fiquem acima das outras seções durante a animação */
}

.volume-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  background-color: #000;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.volume-btn img {
  width: 24px;
  height: 24px;
  filter: invert(1);
}

.expand-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  background-color: #000;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expand-btn img {
  width: 24px;
  height: 24px;
}

.volume-slider-container {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  padding: 10px 5px;
  border-radius: 6px;
  transition: opacity 0.3s ease;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.volume-slider-container::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(0, 0, 0, 0.8);
}

.volume-slider {
  width: 6px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}

.volume-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0D6EFD;
  border-radius: 3px;
  height: 100%;
  transform-origin: bottom;
}

.volume-slider-container.hidden {
  opacity: 0;
  pointer-events: none;
}

.section-6 {
  height: auto;
  min-height: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
}

.section-6-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: hidden;
}

.section-6-title {
  font-size: 3rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 0;
}

.cards-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  width: 100%;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  position: relative;
  margin: 0 auto;
}

@media (max-width: 576px) {
  .section-6 {
    padding: 32px 0;
    overflow: hidden;
  }

  .section-6-container {
    padding: 0 12px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .cards-container {
    gap: 8px;
    padding: 16px 0;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    touch-action: pan-x;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .card {
    flex-shrink: 0;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
}

.card {
  position: relative;
  flex-shrink: 0;
  width: 208px;
  height: 420px;
  background: #242830;
  overflow: hidden;
  transition: width 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  will-change: width;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.card:hover {
  transform: translateY(-5px);
}

.card.expanded {
  width: 320px;
  z-index: 2;
}

.card-header {
  position: relative;
  height: 100%;
  overflow: hidden;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card.expanded .card-header {
  height: 280px;
}

.card-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-content {
  background: #F8F9FA;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card.expanded .card-content {
  opacity: 1;
  transform: translateY(0);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 24px;
  color: #1A1D21;
  margin: 0;
}

.card-link {
  color: #0D6EFD;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-link:hover {
  color: #0b5ed7;
}

.section-6-description {
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Grandis', sans-serif;
}

.section-6-description b {
  font-weight: 500;
}

.section-7 {
  height: unset;
  padding: 80px 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.section-7-container {
  width: 100%;
  max-width: 1320px;
  padding: 0 20px;
}

.section-7-title {
  font-size: 3.125rem;
  font-weight: 500;
  margin-bottom: 32px;
  text-align: center;
  font-family: 'Grandis', sans-serif;
}

@media (max-width: 768px) {
  .section-7-title {
    font-size: 2rem; /* Tamanho da fonte reduzido para telas menores */
  }
}

/* Estilos para a seção de ajuda */
.help-content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 740px;
  margin: 0 auto;
  gap: 40px;
}

.help-text-container {
  text-align: center;
}

.help-description {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2.25rem;
  color: #FDFDFD;
  margin: 0;
  font-family: 'Grandis', sans-serif;
}

.help-highlight {
  font-weight: 700;
}

.help-contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-bottom: 56px;
}

.help-email-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 8px;
}

.help-email-label {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2.1875rem;
  color: #FDFDFD;
  margin: 0;
  text-align: center;
  font-family: 'Grandis', sans-serif;
}

.help-email-link {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 2.1875rem;
  color: #FDFDFD;
  text-decoration: none;
  text-align: center;
  transition: text-decoration 0.3s ease;
  font-family: 'Grandis', sans-serif;
  word-break: break-all;
}

.help-email-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .help-content-container {
    gap: 32px;
    padding: 0 20px;
  }

  .help-description {
    font-size: 1.25rem;
    line-height: 1.875rem;
  }

  .help-contact-container {
    padding-bottom: 112px;
  }

  .help-email-label,
  .help-email-link {
    font-size: 1.15rem;
    line-height: 1.875rem;
  }
}



/* Footer Styles */
.footer {
  background-color: #212529;
  padding: 40px 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid #5D5E6080;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-email {
  color: #fff;
  font-size: 0.875rem;
  text-decoration: underline;
}

.footer-copyright {
  color: #fff;
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #0D6EFD;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.social-link:hover {
  opacity: 0.8;
}

.social-link img {
  width: 24px;
  height: 24px;
}

.footer-logo {
  height: 48px;
  width: auto;
}

/* Responsividade */
@media (max-width: 1024px) {
  .footer {
    padding: 24px 20px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-copyright {
    order: 1;
  }

  .footer-logo {
    order: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 24px;
  }
  
  .footer-info {
    align-items: center;
  }
}

/* Wrapper principal para controle de resolução */
.main-wrapper {
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden; /* Importante para conter elementos que possam vazar */
}

@media (min-width: 1441px) {
  .main-wrapper {
    width: 1440px;
    margin: 0 auto;
  }

  /* Ajuste específico para o vídeo em telas maiores */
  .video-wrapper {
    width: 816px;
    height: 459px;
  }

  .video-wrapper.fullscreen #animated-video {
    border-radius: 0;
    width: 100%;
    height: 100vh;
  }

  /* Ajuste para header */
  .header {
    width: 1440px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Ajuste para os shapes */
  .shapes-container {
    width: 1440px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Ajustes para containers de seção */
  .section-6-container,
  .section-7-container,
  .footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 68px;
    box-sizing: border-box;
  }

  .section .left-text.fixed { left: calc(50% - 720px); }
  .section .right-text.fixed { right: calc(50% - 720px); }
}

/* Media queries para responsividade */
@media (max-width: 1200px) {
  .section-4 {
    padding: 60px 20px;
    gap: 24px;
    height: auto;
  }

  .section-4 .user-images {
    height: 180px;
    max-width: 600px;
    margin-bottom: 16px;
  }

  .section-4 .user-image {
    width: 180px;
    height: 180px;
  }

  .section-4 .user-image:nth-child(1) { 
    transform: translateX(-220px); 
  }
  .section-4 .user-image:nth-child(2) { 
    transform: translateX(-110px); 
  }
  .section-4 .user-image:nth-child(3) { 
    transform: translateX(0); 
  }
  .section-4 .user-image:nth-child(4) { 
    transform: translateX(110px); 
  }
  .section-4 .user-image:nth-child(5) { 
    transform: translateX(220px); 
  }

  .video-wrapper {
    width: min(816px, 90vw);
    height: min(459px, calc(90vw * 9/16));
  }

  .section-6 {
    padding: 60px 0;
  }

  .section-6-container {
    padding: 0 16px;
  }

  .section-6-title {
    font-size: 2.5rem;
  }

  .card {
    width: 180px;
  }

  .card.expanded {
    width: 280px;
  }

  /* Ajuste para cards quando um está expandido */
  .card:not(.expanded) {
    width: 180px;
  }

  /* Cards menores quando próximos ao expandido */
  .card.expanded ~ .card:nth-last-child(2) {
    width: 140px;
  }

  .card.expanded ~ .card:last-child {
    width: 100px;
  }

  .main-title {
    font-size: 2.5rem;
    line-height: 48px;
  }

  .section-title {
    font-size: 2.5rem;
    line-height: 48px;
  }

  .section .left-text,
  .section .right-text {
    font-size: 2.5rem;
    line-height: 48px;
    padding: 0 40px;
    bottom: 100px;
  }
}

@media (max-width: 768px) {
  .section-4 {
    padding: 48px 16px;
    gap: 16px;
  }

  .section-4 .user-images {
    height: 140px;
    max-width: 460px;
    margin-bottom: 12px;
  }

  .section-4 .user-image {
    width: 140px;
    height: 140px;
  }

  .section-4 .user-image:nth-child(1) { 
    transform: translateX(-170px); 
  }
  .section-4 .user-image:nth-child(2) { 
    transform: translateX(-85px); 
  }
  .section-4 .user-image:nth-child(3) { 
    transform: translateX(0); 
  }
  .section-4 .user-image:nth-child(4) { 
    transform: translateX(85px); 
  }
  .section-4 .user-image:nth-child(5) { 
    transform: translateX(170px); 
  }

  .section-4 h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .cta-button {
    font-size: 1.125rem;
    height: 52px;
  }

  .video-wrapper {
    width: min(816px, 95vw);
    height: min(459px, calc(95vw * 9/16));
  }

  .play-pause, .mute, .volume-btn {
    width: 36px;
    height: 36px;
  }

  .section-6 {
    padding: 40px 0;
  }

  .section-6-title {
    font-size: 2rem;
  }

  .card {
    width: 160px;
  }

  .card.expanded {
    width: 260px;
  }

  .card:not(.expanded) {
    width: 160px;
  }

  .card.expanded ~ .card:nth-last-child(2) {
    width: 120px;
  }

  .card.expanded ~ .card:last-child {
    width: 90px;
  }

  .card-content {
    padding: 24px 16px;
  }

  .main-title {
    font-size: 2rem;
    line-height: 40px;
    width: 95%;
  }

  .section-title {
    font-size: 2rem;
    line-height: 40px;
  }

  .section .left-text,
  .section .right-text {
    font-size: 2rem;
    line-height: 40px;
    padding: 0 24px;
    bottom: 80px;
    max-width: 60%;
  }

  .video-controls {
    max-width: 280px;
    padding: 12px;
    gap: 8px;
  }

  .play-pause,
  .volume-btn,
  .expand-btn {
    width: 40px;
    height: 40px;
  }

  .progress-wrapper {
    height: 40px;
  }
}

@media (max-width: 576px) {
  .section-4 {
    padding: 32px 16px;
    gap: 12px;
    min-height: unset;
  }

  .section-4 .info {
    margin-top: -12px; /* Reduz o espaço entre as imagens e o texto */
  }

  .section-4 .user-images {
    height: 100px;
    max-width: 340px;
    margin-bottom: 8px;
  }

  .section-4 .user-image {
    width: 100px;
    height: 100px;
  }

  .section-4 .user-image:nth-child(1) { 
    transform: translateX(-120px); 
  }
  .section-4 .user-image:nth-child(2) { 
    transform: translateX(-60px); 
  }
  .section-4 .user-image:nth-child(3) { 
    transform: translateX(0); 
  }
  .section-4 .user-image:nth-child(4) { 
    transform: translateX(60px); 
  }
  .section-4 .user-image:nth-child(5) { 
    transform: translateX(120px); 
  }

  .section-4 h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .section-5 {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .section-6 {
    padding: 32px 0;
    overflow: hidden;
  }

  .section-6-container {
    padding: 0 12px;
    width: 100%;
    max-width: 100%;
  }

  .cards-container {
    gap: 8px;
    padding: 16px 0;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    touch-action: pan-x;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .card {
    flex-shrink: 0;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .card.expanded {
    width: 220px;
  }

  .card:not(.expanded) {
    width: 140px;
  }

  .card.expanded ~ .card:nth-last-child(2) {
    width: 100px;
  }

  .card.expanded ~ .card:last-child {
    width: 80px;
  }

  .card-content {
    padding: 16px 12px;
  }

  .card-title {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .main-title {
    font-size: 1.75rem;
    line-height: 36px;
    width: 100%;
    padding: 0 16px;
  }

  .section-title {
    font-size: 1.75rem;
    line-height: 36px;
  }

  .section .left-text,
  .section .right-text {
    font-size: 1.75rem;
    line-height: 36px;
    padding: 0 16px;
    bottom: 60px;
    max-width: 100%;
  }
}

@media(max-width: 425px) {
  .section .left-text,
  .section .right-text {
    font-size: 1.5rem;
  }
}


/* Ajustes para telas muito baixas */
@media (max-height: 600px) {
  .section .left-text,
  .section .right-text {
    bottom: 40px;
  }

  .main-title {
    top: 70%;
  }
}

@media (max-width: 376px) {
  .shapes-container .shape {
    opacity: 0.8;
  }

  .shapes-container .shape-main {
    opacity: 0.8;
  }
}

.cards-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #fff;
  transform: scale(1.2);
}

@media (max-width: 1024px) {
  .cards-dots {
    display: flex;
  }
  
  .section-6 {
    padding: 60px 0;
  }
}

.controls-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  pointer-events: none;
}

.video-wrapper.paused .controls-wrapper,
.video-wrapper:hover .controls-wrapper,
.video-wrapper.controls-visible .controls-wrapper {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.video-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 12px;
  transition: all 0.5s ease;
  max-width: 320px;
  margin: 0 auto;
  width: 100%;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
}

/* Em dispositivos touch, ajusta o comportamento */
@media (hover: none) and (pointer: coarse) {
  .video-wrapper.controls-visible .controls-wrapper {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }
  
  .video-wrapper .controls-wrapper {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  
  .video-wrapper.paused .controls-wrapper {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
