/* Reset de margens e espaçamentos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  font-size: 16px;
}

/* Estilos Gerais */

:root {
  --color1: #00d4ff;
  --color2: #ff008e;
  --color3: #7000b7;
  --color4: #2aa6a4;
  --hovercolor: #1f7f7d;
  --bgcolor: #1a1a1a;
  --fontcolor: #ffffff;
  --faqcolor: #3e3e3e;
  --faqhover: #4e4e4e;
}

body {
  background-color: var(--bgcolor);
  line-height: 1.8;
  font-family: 'Poppins', sans-serif;
}

.highlight-blue {
  color: var(--color1);
}

.highlight-pink {
  color: var(--color2);
}

.highlight-purple {
  color: var(--color3);
}

/* Header */
header {
  background: var(--bgcolor);
  color: var(--fontcolor);
  padding: 2%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-height: 15vh;
}

header .logo img {
  max-width: 28% !important;
  position: relative !important;
  z-index: 1000 !important;
}

.container-logo {
  max-width: 20rem;
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  cursor: pointer;
  position: absolute;
  top: 1.5rem;
  right: 5rem;
  z-index: 2000;
}

#menu-open-icon {
  display: block;
}

#menu-close-icon {
  display: none;
}

.menu-toggle img {
  width: 3rem;
  height: 3rem;
  position: absolute;
  z-index: 2100;
}

/* Navegação */
nav {
  display: flex;
  position: relative;
  right: 0;
  top: 0;
  width: auto;
  height: auto;
  background-color: transparent;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  transition: none;
  z-index: 1000;
}

nav ul {
  list-style: none;
  display: flex;
  padding: 0;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  text-decoration: none;
  color: var(--fontcolor);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--color1);
}

/* Seção de Introdução */
/* Configuração da seção do vídeo */
#video-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
  overflow: hidden;
}

#myVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Configuração das seções */
#inicio1,
#inicio2 {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

#inicio2 {
  padding: 2rem 0;
}

.inicio .content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--fontcolor);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.inicio h2 {
  font-size: 3rem;
  color: var(--fontcolor);
  opacity: 1;
  z-index: 2;
  font-family: 'Ubuntu', sans-serif;
}

#inicio-btn {
  padding: 1% 2%;
  font-size: 2.5rem;
  background-color: var(--color4);
  color: var(--fontcolor);
  text-decoration: none;
  border-radius: 5rem;
  z-index: 2;
  font-weight: 600;
  animation: pulseb 2s infinite ease-in-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#inicio-btn:hover {
  background-color: var(--hovercolor);
}

#faq-btn {
  padding: 0.5% 1%;
  font-size: 1.5rem;
  background-color: var(--color3);
  color: var(--fontcolor);
  text-decoration: none;
  border-radius: 2rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  z-index: 2;
}

#faq-btn:hover {
  background-color: #5d0093;
}

/* Carrossel de Imagens */
.carrossel-container {
  width: 100vw;
  overflow: hidden;
  font-family: 'Ubuntu', sans-serif;
}

.carrossel-container h2 {
  font-size: 3rem;
  color: var(--fontcolor);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1%;
  padding: 2% 5%;
  z-index: 2;
}

.slides {
  display: flex;
  transition: none;
  will-change: transform;
}

.slide {
  min-width: 21.875rem;
  margin-right: 0.9375rem;
  background: var(--fontcolor);
  border-radius: 0.625rem;
  padding: 1.25rem;
  text-align: center;
}

.slide img {
  max-width: 100%;
  height: 11.25rem;
  object-fit: contain;
}

/* Seção de Benefícios */
.sobre {
  background-color: #1a1a1a;
  padding: 3%;
  text-align: center;
  color: var(--fontcolor);
}

.sobre h2 {
  font-size: 3rem;
  font-family: 'Ubuntu', sans-serif;
  margin-bottom: 2%;
}

.benefits-container {
  display: flex;
  justify-content: space-evenly;
  align-items: stretch;
}

.benefit-card {
  padding: 2%;
  border-radius: 10px;
  width: 30%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #0d0d0d;
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: scale(1.05);
}

.benefit-card img {
  width: 30%;
  height: auto;
}

.benefit-card h3 {
  font-size: 2.5rem;
  color: var(--color3);
}

.benefit-card p {
  font-size: 2rem;
  color: var(--fontcolor);
}

/* Seção de Dispositivos Compatíveis */
#dispositivos {
  text-align: center;
  padding: 0% 5% 5% 5%;
}

#dispositivos h2 {
  font-size: 3rem;
  color: var(--fontcolor);
  margin-bottom: 2rem;
  font-family: 'Ubuntu', sans-serif;
}

.dispositivos-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: space-evenly;
  gap: 1rem;
}

.card-dispositivo {
  position: relative;
  background-color: var(--fontcolor);
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0rem 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
}

.card-dispositivo img {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  object-fit: cover;
}

.card-dispositivo .label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: black;
  color: var(--fontcolor);
  padding: 2%;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 1rem;
}

/* Seção de Planos */
#planos {
  background-color: var(--bgcolor);
  padding: 0% 5% 2% 5%;
}

#planos h2 {
  font-size: 3rem;
  text-align: center;
  padding-bottom: 2%;
  font-weight: 700;
  color: var(--fontcolor);
  font-family: 'Ubuntu', sans-serif;
}

.planos-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  justify-content: space-evenly;
  align-items: stretch;
  box-sizing: border-box;
}

.plano {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5%;
  box-sizing: border-box;
  text-align: center;
  background: white;
  border-radius: 1.25rem;
  transition: all 0.3s ease;
  opacity: 0.5;
  transform: scale(0.85);
  transform-origin: center;
  filter: blur(2px);
  height: 100%;
  border: 2px solid var(--color1);
  box-shadow: 0 0 10px var(--color1), 0 0 20px var(--color4),
    0 0 30px var(--color3), 0 0 40px var(--color2);
}

.plano.ativo {
  opacity: 1;
  transform: scale(1);
  filter: none;
}

.plano h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--bgcolor);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.plano .preco-antigo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--color3);
  text-decoration: line-through;
  padding: 5%;
}

.plano .preco {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color2);
  text-shadow: 1px 1px lightgrey;
  padding: 0% 5% 5% 5%;
}

.plano p {
  color: var(--bgcolor);
  font-size: 1.8rem;
  flex-grow: 1;
}

.plano .btn {
  width: 80%;
  padding: 2%;
  background-color: var(--color4);
  color: var(--fontcolor);
  font-size: 1.8rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  animation: pulseb 2s infinite ease-in-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plano .btn:hover {
  background-color: var(--hovercolor);
}

.plano .highlight {
  color: var(--color2);
  text-shadow: 1px 1px black;
}

.plano .apartir {
  font-size: 0.7rem;
  color: black;
}

/* Seção Teste Grátis */
.teste {
  background: var(--bgcolor);
  text-align: center;
}

.teste h2 {
  font-size: 3rem;
  color: var(--fontcolor);
  font-family: 'Ubuntu', sans-serif;
  margin-bottom: 2%;
}

.teste-btn {
  padding: 1% 2%;
  font-size: 2.5rem;
  background: var(--color4);
  color: var(--fontcolor);
  text-decoration: none;
  border-radius: 5rem;
  font-weight: 600;
  animation: pulseb 2s infinite ease-in-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teste-btn:hover {
  background: var(--hovercolor);
}

/* FAQ */
#faq {
  padding: 5% 5% 2% 5%;
  margin: 0 auto;
  max-width: 90%;
  align-items: center;
  justify-content: center;
  background-color: var(--bgcolor);
  border-radius: 1rem;
  font-family: 'Poppins', sans-serif;
}

#faq h2 {
  padding: 1%;
  font-size: 3rem;
  color: var(--fontcolor);
}

.faq-item {
  padding: 1%;
}

.faq-question {
  width: 100%;
  background-color: var(--faqcolor);
  padding: 1% 2%;
  font-size: 1.5rem;
  text-align: left;
  color: var(--fontcolor);
  border-radius: 0.625rem;
  transition: background-color 0.3s ease;
  position: relative;
}

.faq-question:hover {
  background-color: var(--faqhover);
}

.faq-answer {
  display: none;
  padding: 1% 2%;
  font-size: 1.5rem;
  background-color: var(--faqcolor);
  color: var(--fontcolor);
  border-radius: 0.625rem;
  margin-top: 0.5rem;
}

.faq-question.active + .faq-answer {
  display: block;
}

.faq-question::after {
  content: '\25bc';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Footer */
footer {
  background: black;
  color: var(--fontcolor);
  text-align: center;
  padding: 1%;
  font-size: 1rem;
}

footer .hidden {
  color: #111111;
  font-size: 0.8rem;
}

footer .disc {
  font-size: 0.6rem;
  color: gray;
  text-align: center;
}

/* Ícone WhatsApp */
.whatsapp-fixo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  animation: pulsew 2s infinite ease-in-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-fixo img {
  width: 70%;
  height: 70%;
}

.whatsapp-fixo:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
}

/* Animações */
@keyframes pulseb {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* Animação de pulso */
@keyframes pulsew {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* MEDIA QUERIES */

@media (max-width: 1024px) {
  .planos-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 12px;
  }

  #myVideo {
    display: none;
  }

  .benefits-container {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .benefit-card {
    width: 80%;
  }

  .planos-container {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Menu Toggle */
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: black;
    z-index: 1100;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  nav.active {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0;
    align-items: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 10px;
  }

  header .logo img {
    width: 200px !important;
  }

  .dispositivos-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: center;
  }

  .card-dispositivo {
    width: 100%;
    aspect-ratio: 1;
  }

  .planos-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    padding: 1rem;
  }
}

@media (max-width: 375px) {
  html {
    font-size: 8px;
  }

  header .logo img {
    width: 150px !important;
  }

  /* Ícone WhatsApp */
  .whatsapp-fixo {
    width: 50px;
    height: 50px;
    bottom: 10px;
    right: 10px;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 6px;
  }
}
