/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* === UTILIDADES === */
.center {
  text-align: center;
}

.bold {
  font-weight: 700;
}

.green-text {
  color: #00e500;
}

.white-text {
  color: #fff;
}

/* === BOTÕES GERAIS === */
.btn-green {
  background-color: #00e500;
  color: #000;
  padding: 10px 24px;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-green:hover {
  background-color: #00cc00;
}

.btn-transparent {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 10px;
  text-transform: capitalize;
  cursor: pointer;
}

/* === TOPO (FRAME 1) === */
.top-nav {
  position: absolute;
  top: 20px;
  right: 30px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-content-left {
  max-width: 600px;
}

.logo-pay {
  width: 160px;
  margin-bottom: 20px;
}

.headline {
  font-size: 2.6rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.headline .bold {
  font-weight: 700;
}

.subheadline {
  font-size: 1rem;
  color: #00e500;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* === FRAME 2: imagem e conteúdo ajustados === */
#frame2 {
  position: relative;
  background-color: #003CFF;
  padding-top: 60px;
  padding-bottom: 100px;
  text-align: center;
  overflow: visible;
  z-index: 10;
}

.rotating-machine {
  width: 420px;
  max-width: 90%;
  margin: 0 auto;
  display: block;
  transform: rotate(-180deg);
  opacity: 0;
  transition: all 1.2s ease-in-out;
  z-index: 9999;
  position: relative;
}

.rotating-machine.visible {
  opacity: 1;
  transform: rotate(0deg);
}

#frame2 .frame2-content {
  margin-top: -180px;
  position: relative;
  z-index: 15;
}

#frame2 .frame2-title {
  color: #00FF00;
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

#frame2 .frame2-subtitle {
  color: white;
  font-size: 16px;
  max-width: 680px;
  margin: 0 auto 25px auto;
  line-height: 1.5;
}

#frame2 .btn-green {
  font-size: 14px;
  padding: 10px 22px;
}

/* === FRAME 3: PARALLAX === */
.parallax-frame {
  height: 100vh;
  background-image: url('https://iili.io/3PwJD2j.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 2;
}

/* === FRAME 4: PERFIL CLIENTE ATUALIZADO === */
.perfil-cliente {
  background-color: #003CFF;
  padding: 100px 20px;
  text-align: center;
}

.perfil-cliente .frame4-title {
  font-size: 28px;
  font-weight: 700;
  color: #00FF00;
  margin-bottom: 20px;
}

.perfil-cliente .frame4-subtitle {
  font-size: 16px;
  color: #fff;
  max-width: 680px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.cards.vertical {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #00e500;
  color: #000;
  border-radius: 20px;
  padding: 25px 20px;
  width: 200px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.card .icon {
  font-size: 30px;
  margin-bottom: 10px;
  color: #000;
}

/* === FRAME 5: QUEM SOMOS === */
.quem-somos {
  background-image: url('https://iili.io/3Pw2Sb2.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 100vh;
  padding: 0 40px;
  display: flex;
  justify-content: center;
  align-items: center; /* <- CENTRALIZA VERTICALMENTE */
}

.frame5-container {
  display: flex;
  justify-content: center;     /* <- CENTRALIZA HORIZONTALMENTE */
  align-items: center;
  gap: 40px;
  flex-wrap: nowrap;
  max-width: 1100px;
  width: 100%;
}

.frame5-text-left {
  max-width: 550px;
  text-align: left;
  transform: translateY(-100px); /* 👈 Sobe só o texto */
}

.frame5-text-left h2 {
  color: #00e500;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.frame5-text-left p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.frame5-img-right {
  max-width: 520px;  /* <-- AQUI! */
  width: 100%;
  opacity: 0;
  transform: translateX(80px);
  animation: fadeInRight 4.5s ease-out forwards;
  animation-delay: 0.7s;
}

/* === FADE IN RIGHT-TO-LEFT === */
@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* === FRAME 6: CTA FINAL === */
.final-cta {
  background-color: #000;
  padding: 120px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.cta-card {
  background: url('https://iili.io/3Pw2Sb2.jpg') no-repeat center center;
  background-size: 230%; /* 🔥 ZOOM para mostrar só o centro */
  border-radius: 30px;
  padding: 60px 40px;
  max-width: 680px;
  width: 100%;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.4);
  text-align: center;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(50px);

  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}

.cta-card .logo-center {
  width: 120px;
  margin: 0 auto 30px auto;
  display: block;
}

.cta-card h2 {
  color: #00e500;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.cta-card p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 35px;
}

.cta-card button {
  font-size: 15px;
  padding: 12px 30px;
}

/* Animação */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === FRAME 7: FAQ === */
.faq {
  background-color: #000;
  padding: 80px 20px;
  text-align: center;
}

.faq h2 {
  color: #00e500;
  font-size: 1.6rem;
  margin-bottom: 30px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  background: #fff;
  color: #000;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-item .question {
  font-weight: bold;
}

.faq-item .answer {
  display: none;
  margin-top: 10px;
  color: #333;
}

.faq-item.active .answer {
  display: block;
}

/* === POPUP FORM === */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  color: #000;
  padding: 40px 30px;
  border-radius: 20px;
  z-index: 1000;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.popup.hidden,
.overlay.hidden {
  display: none;
}

.popup img.form-banner-transparent {
  width: 320px; /* aumentada */
  display: block;
  margin: -80px auto 30px;
}

.popup h2 {
  text-align: center;
  margin-bottom: 10px;
}

.popup p {
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 20px;
}

.popup input {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.popup button {
  width: 100%;
  margin-top: 10px;
}

.thank-you {
  text-align: center;
  display: none;
}

.thank-you img {
  width: 100px;
  margin-bottom: 20px;
}

.thank-you.show {
  display: block;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
}

/* === RESPONSIVO === */
@media (max-width: 768px) {
  .top-nav {
    right: 20px;
    top: 15px;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }

  .hero {
    padding: 60px 20px;
    flex-direction: column;
    justify-content: center;
  }

  .headline {
    font-size: 28px;
    text-align: left;
  }

  .frame2-title {
    font-size: 20px;
  }

  .frame2-subtitle {
    font-size: 14px;
  }

  .cards.vertical {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 280px;
  }
}

/* Animation Keyframes */
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation Class */
.fade-in-left {
  animation: fadeInLeft 1s ease-out forwards;
  opacity: 0;
}

/* FIXED TOP NAVIGATION */
.fixed-top-nav {
  position: fixed;
  top: 20px;
  right: 30px;
  z-index: 9999;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Estilo dos botões superiores */
.fixed-top-nav .btn-transparent.small,
.fixed-top-nav .btn-green.small {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 18px;
  line-height: 1;
  white-space: nowrap;
}