* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  color: #fff;
}

:root {
  --azul-escuro: #001833;
  --azul-medio: #003b7a;
  --azul-claro: #0059c1;
  --verde-destaque: #4eff9c;
  --verde-whatsapp: #00ad4c;
  --verde-whatsapp-hover: #006a2e;
}

body, html {
  height: 300vh;
  background: #111;
  overflow-x: hidden;
}

.container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Menu de navegação */
.menu-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.logo-nav {
  width: 120px;
  margin-left: -620px;
  position: absolute;
}

.contratar {
  text-decoration: none;
  background-color: var(--verde-whatsapp);
  padding: 8px 15px 8px 35px;
  border-radius: 45px;
  position: absolute;
  margin-right: -665px;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.zap {
  width: 20px;
  position: absolute;
  left: 10px;
}

.contratar:hover {
  transform: scale(1.05);
  background-color: var(--verde-whatsapp-hover);
}

.button-container {
  display: flex;
  background-color: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  width: 800px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  padding: 0 25px;
  transition: transform 0.3s;
}

.button {
  outline: 0;
  border: 0;
  width: auto;
  height: 40px;
  border-radius: 20px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 0 10px;
  font-size: 14px;
  gap: 5px;
}

.button:hover {
  transform: scale(1.10) translateY(-3px);
}

.icon {
  font-size: 16px;
}

/* Seções */
.quadrado {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.vermelho {
  background: linear-gradient(5deg, var(--azul-escuro) 0%, var(--azul-claro) 50%, var(--azul-escuro) 100%);
  z-index: 1;
}

.azul {
  background: linear-gradient(5deg, var(--azul-escuro) 0%, var(--azul-medio) 100%);
  z-index: 2;
  transform: translateY(100%);
}

.azul.cover {
  transform: translateY(0);
}

.verde {
  background: linear-gradient(var(--azul-escuro) 20%, var(--azul-medio) 90%, #9B6A22 90%);
  z-index: 3;
  transform: translateY(200%);
}

.verde.cover {
  transform: translateY(0);
}

/* Sistema de estrelas otimizado */
.estrelas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.estrelas-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #eee, transparent),
    radial-gradient(2px 2px at 40px 70px, #fff, transparent),
    radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(1px 1px at 130px 80px, #fff, transparent),
    radial-gradient(2px 2px at 160px 30px, #eee, transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: piscar 4s infinite ease-in-out;
  opacity: 0.8;
}

.estrelas-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1px 1px at 60px 20px, #fff, transparent),
    radial-gradient(1px 1px at 100px 60px, #eee, transparent),
    radial-gradient(2px 2px at 140px 20px, #fff, transparent),
    radial-gradient(1px 1px at 180px 70px, #eee, transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: piscar 3s infinite ease-in-out 1s;
  opacity: 0.6;
}

@keyframes piscar {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* Estrelas cadentes otimizadas */
.estrela-cadente {
  position: absolute;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, white, transparent);
  opacity: 0;
  animation: cair 4s linear infinite;
}

@keyframes cair {
  0% {
    transform: translateX(-100px) translateY(0) rotate(45deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateX(100vw) translateY(100vh) rotate(45deg);
    opacity: 0;
  }
}

/* Conteúdo da primeira seção */
.info {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 auto;
  width: 90%;
  max-width: 970px;
  animation: aparecer 2s ease-in-out;
  text-align: center;
  padding: 0 20px;
  z-index: 25;
}

.logo {
  max-width: 900px;
  margin-bottom: 30px;
}

.titulo {
  margin-top: 20px;
  text-align: center;
  font-weight: 400;
  color: #FFFFFF;
  font-size: 1.5rem;
  line-height: 1.2;
}

@keyframes aparecer {
  from { opacity: 0; transform: translateY(-20px) translateY(-50%); }
  to { opacity: 1; transform: translateY(0) translateY(-50%); }
}

.botao {
  margin-top: 65px;
  color: #FFFFFF;
  background-color: rgba(0, 0, 0, 0.35);
  transition: transform 0.3s;
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 55px;
  font-size: 1.2rem;
  width: 220px;
  height: 60px;
  box-shadow: 0 0 10px #348df3;
  cursor: pointer;
  transition: all 0.3s;
}

.botao:hover {
  font-size: 1.25rem;
  transform: scale(1.05);
  box-shadow: 0 0 20px #348df3;
}

/* Elementos decorativos - RESPONSIVIDADE MELHORADA */
.foguete {
  position: absolute;
  width: 75px;
  right: 5%;
  bottom: 10%;
  rotate: -40deg;
  animation: decolar 20s ease-in-out infinite alternate;
  z-index: 2;
  max-width: 100px;
}

.planeta1 {
  position: absolute;
  width: 60%;
  max-width: 500px;
  min-width: 300px;
  left: -15%;
  bottom: -20%;
  animation: rodar 300s linear infinite;
  opacity: 0.9;
  z-index: 1;
}

.planeta2 {
  position: absolute;
  width: 30%;
  max-width: 300px;
  min-width: 200px;
  left: -5%;
  top: -5%;
  animation: rodar2 260s linear infinite;
  opacity: 0.9;
  z-index: 1;
}

.planeta3 {
  position: absolute;
  width: 40%;
  max-width: 400px;
  min-width: 250px;
  right: -10%;
  top: -10%;
  z-index: 1;
  animation: deslocar 20s ease-in-out infinite alternate;
  opacity: 0.9;
}

@keyframes decolar {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-520px);
  }
}

@keyframes deslocar {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-50px, 50px);
  }
}

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

@keyframes rodar2 {
  to {
    transform: rotate(-360deg);
  }
}

/* Nuvens - CORREÇÃO DE POSICIONAMENTO */
.nuvem {
  position: absolute;
  top: -220px;
  left: 0;
  width: 100%;
  z-index: 3;
  pointer-events: none;
  min-height: 200px;
  object-fit: cover;
}

.nuvem2 {
  position: absolute;
  top: 670px;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
  min-height: 200px;
  object-fit: cover;
}

.nuvem3 {
  position: absolute;
  top: -210px;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
  min-height: 200px;
  object-fit: cover;
}

.pousado {
  position: absolute;
  top: 240px;
  left: 0;
  width: 100%;
  z-index: -2;
  pointer-events: none;
}

.foguete2 {
  position: absolute;
  width: 75px;
  top: 30%;
  z-index: -1;
  left: -100px;
  animation: flutuar 40s linear infinite, girar 25s linear infinite;
}

@keyframes flutuar {
  0% {
    left: -100px;
  }
  100% {
    left: 110%;
  }
}

@keyframes girar {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Seção de planos */
.header {
  margin-top: 120px;
  text-align: center;
  padding: 0 20px;
  z-index: 25;
  position: relative;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.header p {
  font-size: 1rem;
  z-index: 2;
}

.header p a {
  z-index: 2;
  color: #00aaff;
  text-decoration: none;
}

.planos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
  max-width: 1200px;
  margin-top: 60px;
  padding: 0 20px;
  z-index: 25;
  position: relative;
}

.plano {
  background-color: rgba(0, 40, 85, 0.3);
  width: 100%;
  max-width: 330px;
  height: auto;
  min-height: 450px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 119, 255, 0.3);
  transition: transform 0.3s;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px;
  margin: 0;
}

.plano:hover {
  transform: scale(1.03);
  cursor: pointer;
}

.titulo-plano {
  margin-top: 25px;
  font-weight: 300;
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.velocidade {
  font-size: 4.5rem;
  font-weight: bold;
  margin: 20px 0;
  text-align: center;
}

.mega {
  margin-top: -30px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #1877f2;
  text-align: center;
  margin-bottom: -5px;
}

.internet {
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 50px;
}

.descricao {
  font-size: 1rem;
  text-align: center;
  margin: 20px 0;
  line-height: 1.4;
}

.preco {
  font-size: 3.2rem;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
}

.centavos {
  font-size: 1rem;
  vertical-align: super;
}

/* Nova seção Sobre a empresa */
.sobre-empresa {
  padding: 120px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 25;
  position: relative;
}

.conteudo-sobre {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  justify-content: center;
}

.texto-sobre {
  flex: 1;
  margin-top: -40px;
  min-width: 300px;
  max-width: 600px;
}

.texto-sobre h2 {
  font-size: 1.8rem;
  margin: 25px 0 15px;
  color: var(--verde-destaque);
}

.texto-sobre p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.texto-sobre ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.texto-sobre li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.destaques-sobre {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
}

.destaque {
  margin-top: -70px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  min-width: 150px;
  backdrop-filter: blur(5px);
}

.destaque .numero {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--verde-destaque);
  margin-bottom: 5px;
}

.destaque .rotulo {
  font-size: 0.9rem;
}

.footer {
  margin-top: 50px;
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  padding: 20px;
}

/* NOTEBOOKS E TELAS MÉDIAS */
@media (min-width: 769px) and (max-width: 1366px) {
  .logo {
    max-width: 600px;
  }
  
  .titulo {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 20px auto 0;
  }
  
  .planeta1 {
    max-width: 400px;
    left: -10%;
    bottom: -15%;
  }
  
  .planeta2 {
    max-width: 250px;
    left: -3%;
    top: -3%;
  }
  
  .planeta3 {
    max-width: 320px;
    right: -8%;
    top: -8%;
  }
  
  .foguete {
    width: 60px;
    right: 8%;
    bottom: 12%;
  }
  
  .button-container {
    width: 700px;
  }
  
  .logo-nav {
    margin-left: -520px;
  }
  
  .contratar {
    margin-right: -565px;
  }
  
  .planos {
    gap: 15px;
    margin-top: 40px;
  }
  
  .plano {
    max-width: 280px;
    min-height: 420px;
  }
  
  .velocidade {
    font-size: 3.5rem;
  }
  
  .preco {
    font-size: 2.8rem;
  }
  
  .nuvem,
  .nuvem2,
  .nuvem3 {
    top: -180px;
  }
  
  .nuvem2 {
    top: 600px;
  }
}

/* TELAS GRANDES (Full HD+) */
@media (min-width: 1367px) and (max-width: 1920px) {
  .planeta1 {
    max-width: 600px;
  }
  
  .planeta2 {
    max-width: 350px;
  }
  
  .planeta3 {
    max-width: 500px;
  }
  
  .nuvem,
  .nuvem2,
  .nuvem3 {
    top: -250px;
  }
  
  .nuvem2 {
    top: 700px;
  }
}

/* CORREÇÃO PARA ZOOM */
@media (max-width: 1100px) {
  .info {
    z-index: 10;
    position: relative;
  }
  
  .planeta1,
  .planeta2,
  .planeta3 {
    opacity: 0.7;
  }
  
  .nuvem,
  .nuvem2,
  .nuvem3 {
    opacity: 0.8;
  }
}

/* CORREÇÃO ESPECÍFICA PARA NOTEBOOKS PEQUENOS */
@media (min-width: 769px) and (max-width: 1024px) and (max-height: 768px) {
  .quadrado {
    min-height: 768px;
  }
  
  .info {
    top: 45%;
  }
  
  .logo {
    max-width: 500px;
    margin-bottom: 20px;
  }
  
  .titulo {
    font-size: 1.2rem;
  }
  
  .planeta1 {
    max-width: 350px;
    bottom: -25%;
  }
  
  .planeta2 {
    max-width: 200px;
  }
  
  .planeta3 {
    max-width: 280px;
  }
}

/* MOBILE - VERSÃO CORRIGIDA */
@media (max-width: 768px) {
  body, html {
    height: auto !important;
    overflow-x: hidden;
  }
  
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .nuvem,
  .nuvem2,
  .nuvem3,
  .estrelas-container::before,
  .estrelas-container::after,
  .estrela-cadente,
  .foguete2 {
    display: none !important;
  }
  
  .foguete,
  .planeta1,
  .planeta2,
  .planeta3,
  .pousado {
    animation: none !important;
  }
  
  .container {
    position: relative;
    height: auto;
  }
  
  .quadrado {
    position: relative;
    height: 100vh;
    min-height: 667px;
    transform: none !important;
  }
  
  .azul,
  .verde {
    transform: none;
    position: relative;
  }
  
  .menu-nav {
    position: fixed;
    top: auto;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
  }
  
  .button-container {
    width: 100%;
    height: 50px;
    padding: 0 10px;
    background-color: rgba(0, 0, 0, 0.6);
  }
  
  .logo-nav {
    width: 70px;
    margin-left: -180px;
    position: absolute;
  }
  
  .contratar {
    margin-right: -180px;
    padding: 6px 10px 6px 30px;
    font-size: 12px;
    position: absolute;
  }
  
  .zap {
    width: 16px;
    left: 8px;
  }
  
  .button {
    padding: 0 8px;
    height: 35px;
  }
  
  .button span {
    display: none;
  }
  
  .vermelho {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  
  .info {
    position: relative;
    top: auto;
    transform: none;
    padding: 0 15px;
  }
  
  .logo {
    max-width: 300px;
    margin-bottom: 20px;
  }
  
  .titulo {
    font-size: 0.9rem;
    width: 300px;
    margin-top: 15px;
    line-height: 1.4;
  }
  
  .botao {
    margin-top: 30px;
    width: 160px;
    height: 45px;
    font-size: 1rem;
    border-radius: 25px;
  }
  
  .foguete {
    width: 50px;
    right: 10%;
    bottom: 5%;
    opacity: 1;
  }
  
  .planeta1 {
    width: 90%;
    max-width: 90%;
    left: -40%;
    bottom: -20%;
    opacity: 0.4;
  }
  
  .planeta2 {
    width: 60%;
    max-width: 60%;
    left: -25%;
    top: -15%;
    opacity: 0.4;
  }
  
  .planeta3 {
    width: 80%;
    max-width: 80%;
    right: -30%;
    top: -20%;
    opacity: 0.4;
  }
  
  .azul {
    height: auto;
    min-height: 100vh;
    padding: 80px 0 40px;
  }
  
  .header {
    margin-top: 0;
    padding: 0 20px;
  }
  
  .header h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .header p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .planos {
    flex-direction: column;
    align-items: center;
    margin: 30px auto;
    gap: 15px;
    padding: 0 15px;
  }
  
  .plano {
    width: 100%;
    max-width: 300px;
    min-height: 380px;
    margin: 0;
    padding: 15px;
  }
  
  .titulo-plano {
    margin-top: 15px;
    font-size: 1.3rem;
  }
  
  .velocidade {
    font-size: 3rem;
    margin: 15px 0;
  }
  
  .mega {
    margin-top: -25px;
    font-size: 1.5rem;
  }
  
  .internet {
    margin-bottom: 30px;
    font-size: 0.8rem;
  }
  
  .descricao {
    font-size: 0.9rem;
    margin: 15px 0;
  }
  
  .preco {
    font-size: 2.2rem;
    margin-top: 15px;
  }
  
  .verde {
    height: auto;
    min-height: 100vh;
    padding-bottom: 60px;
  }
  
  .sobre-empresa {
    padding: 80px 15px 20px;
  }
  
  .header2 h1 {
    font-size: 1.8rem;
    text-align: center;
  }
  
  .conteudo-sobre {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
  }
  
  .texto-sobre {
    margin-top: 0;
    order: 2;
  }
  
  .texto-sobre h2 {
    font-size: 1.4rem;
    margin: 20px 0 10px;
  }
  
  .texto-sobre p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .texto-sobre ul {
    padding-left: 15px;
  }
  
  .texto-sobre li {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
  
  .destaques-sobre {
    flex-direction: row;
    gap: 10px;
    order: 1;
    margin-bottom: 20px;
  }
  
  .destaque {
    margin-top: 0;
    flex: 1;
    min-width: auto;
    padding: 15px 10px;
  }
  
  .destaque .numero {
    font-size: 1.5rem;
  }
  
  .destaque .rotulo {
    font-size: 0.8rem;
  }
  
  .pousado {
    top: 150px;
    opacity: 0.3;
  }
  
  .footer {
    margin-top: 40px;
    font-size: 12px;
    padding: 0 15px;
  }
}

/* Mobile muito pequeno */
@media (max-width: 380px) {
  .button-container {
    height: 45px;
  }
  
  .logo-nav {
    width: 60px;
    margin-left: -150px;
  }
  
  .contratar {
    margin-right: -150px;
    font-size: 11px;
    padding: 5px 8px 5px 25px;
  }
  
  .zap {
    width: 14px;
    left: 6px;
  }
  
  .logo {
    max-width: 200px;
  }
  
  .titulo {
    font-size: 1rem;
  }
  
  .botao {
    width: 140px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  .header h1 {
    font-size: 1.6rem;
  }
  
  .plano {
    min-height: 350px;
  }
  
  .velocidade {
    font-size: 2.5rem;
  }
  
  .preco {
    font-size: 2rem;
  }
  
  .destaques-sobre {
    flex-direction: column;
  }
  
  .destaque {
    width: 100%;
  }
}

/* Ajustes para tablets pequenos */
@media (min-width: 769px) and (max-width: 1024px) {
  .button-container {
    width: 90%;
  }
  
  .logo-nav {
    margin-left: -400px;
  }
  
  .contratar {
    margin-right: -400px;
  }
  
  .logo {
    max-width: 600px;
  }
  
  .planos {
    gap: 15px;
  }
  
  .plano {
    max-width: 280px;
  }
}