/* ==========================================================================
   ESTILOS GERAIS E UTILS
   ========================================================================== */
body {
  background: #000;
  color: #fff;
  font-family: Poppins, Arial, sans-serif;
  margin: 0;
  padding: 0;
}

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

.container {
  width: min(1120px, 92%);
  margin: auto;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: .3s;
}

.btn-primary {
  background: linear-gradient(135deg, #e23a2e, #c93227);
  color: #fff;
  box-shadow: 0 10px 25px rgba(226, 58, 46, .35);
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
}

/* Seções de Fundo */
.section-colored {
  background: linear-gradient(135deg, rgba(226, 58, 46, .12), rgba(42, 109, 242, .10));
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .01));
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

/* Grids e Layouts */

/* Ajuste para reduzir o tamanho da galeria de alerta de IA */
.fake-gallery-grid {
  max-width: 1000px; /* Reduz o tamanho da galeria em 20% (de 1120px para 800px) */
  margin: 0 auto; /* Centraliza a galeria */
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .35);
}

.card h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: .5rem;
}

.card p {
  color: #cfd4e2;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ==========================================================================
   HEADER E NAVEGAÇÃO
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, .8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  padding: 1rem 0;
  z-index: 100;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
}

.logo {
  height: 250px; /* Ajustado para 60px conforme solicitação do usuário */
  width: auto;
}

.nav .brand {
  /* Garante que o logo seja o único elemento visível no .brand */
  display: flex;
  align-items: center;
  font-weight: normal;
}

.nav .brand img {
  height: 100px;
}

/* ==========================================================================
   SEÇÃO HERO (DESTAQUE)
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: 3fr 2fr; /* 60% texto, 40% imagem */
  gap: 3rem;
  align-items: center;
  padding: 5rem 0;
  position: relative;
}

.hero h1 {
  font-size: clamp(2.4rem, 3.5vw, 4rem);
  margin-bottom: 1rem;
  line-height: 1.1;
  font-weight: 700;
}

.hero p {
  color: #cfd4e2;
  margin-bottom: 1.8rem;
  line-height: 1.6;
  font-size: 1.15rem;
  max-width: 540px;
}

.note {
  color: #cfd4e2;
}

/* Comparador de Imagem (Antes/Depois) */
.compare {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  border: 1px solid rgba(255, 255, 255, .1);
}

.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  max-width: none; /* Adicionado para garantir que a imagem ocupe 100% do container, ignorando possíveis restrições de outras regras. */
}

.compare .after {
  clip-path: inset(0 0 0 55%);
}

.compare .handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 55%;
  width: 2px;
  background: rgba(255, 255, 255, .85);
}

.compare .knob {
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .55);
  border: 1px solid rgba(255, 255, 255, .6);
}

/* ==========================================================================
   SEÇÃO VERSATILIDADE DE BACKGROUND (TABS)
   ========================================================================== */
.tabs-container {
  max-width: 800px;
  margin: 0 auto;
}

.tabs-header {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.tab-button {
  background: transparent;
  border: none;
  color: #cfd4e2;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s ease;
  border-bottom: 3px solid transparent;
  margin: 0 .5rem;
}

.tab-button:hover {
  color: #fff;
}

.tab-button.active {
  color: #e23a2e;
  border-bottom: 3px solid #e23a2e;
}

.tabs-content {
  max-width: 800px; /* Limita o tamanho máximo da imagem (ajustado para 500px) */
  margin: 0 auto; /* Centraliza o conteúdo */
  position: relative;
  min-width: 500px;
  min-height: 400px; /* Altura mínima para evitar pulo de tela */
}

.tab-pane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity .5s ease;
  display: none;
}

.tab-pane img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* Centraliza a imagem dentro do container */
}

.tab-pane.active {
  opacity: 1;
  display: block;
}

/* ==========================================================================
   SEÇÃO PLANOS E PREÇOS
   ========================================================================== */
.plans {
  padding: 3rem 0;
}

.plan {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .35);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Destaque do Plano Mais Vendido */
.plan.best {
  border: 2px solid #e23a2e;
  box-shadow: 0 15px 40px rgba(226, 58, 46, .4);
  transform: scale(1.05);
}

.plan.best::before {
  content: '⭐ Mais vendido';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #e23a2e, #c93227);
  color: #fff;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: 999px;
  font-size: .85rem;
}

.plan h3 {
  margin: .5rem 0 0;
  font-size: 1.6rem;
}

.price {
  font-size: 2.2rem;
  font-weight: 800;
  margin: .4rem 0 1rem;
  color: #ff8175;
}

.features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  color: #cfd7e6;
}

.features li {
  margin: .4rem 0;
  display: flex;
  gap: .5rem;
  align-items: flex-start;
}

/* Banner de Urgência */
.urgency-banner {
  background: linear-gradient(135deg, rgba(226, 58, 46, .2), rgba(201, 50, 39, .15));
  border: 1px solid rgba(226, 58, 46, .4);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin: 1.5rem auto;
  max-width: 600px;
  text-align: center;
  font-weight: 600;
  color: #ff8175;
}

.urgency-banner .timer {
  font-size: 1.3rem;
  color: #fff;
  margin-top: .5rem;
}

/* ==========================================================================
   SEÇÃO GALERIA E FAQ
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

.faq {
  padding: 3rem 0;
}

.faq details {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all .3s ease;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::after {
  content: '+';
  font-size: 1.2rem;
  color: #e23a2e;
  transition: .3s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 768px) {
  /* Geral */
  .hero {
    padding: 3rem 0;
  }
  
  /* Grids */
  .hero {
    grid-template-columns: 1fr; /* Hero em coluna */
  }
  
  .grid3, .grid4 {
    grid-template-columns: 1fr; /* Grids em coluna */
  }
  
  .gallery {
    grid-template-columns: repeat(2, 1fr); /* Galeria em 2 colunas */
  }
  
  /* Planos */
  .plan.best {
    transform: scale(1); /* Remove o zoom do plano mais vendido */
  }

  /* Tabs */
  .tabs-content {
    min-height: 300px; /* Ajusta a altura mínima para mobile */
  }
  .tabs-header {
    flex-direction: column;
    align-items: center;
  }
  .tab-button {
    margin: .5rem 0;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 500px) {
  /* Navegação */
  .nav {
    flex-direction: column;
    gap: 1rem;
  }
  .nav div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .nav div a {
    width: 100%;
    text-align: center;
  }

  /* Grids */
  .gallery {
    grid-template-columns: 1fr; /* Galeria em 1 coluna */
  }
  
  .features {
    grid-template-columns: 1fr; /* Mini Objeções em 1 coluna */
  }
}

/* ==========================================================================
   SEÇÃO ALERTA DE IA FAKE
   ========================================================================== */
.fake-photo-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
  border: 2px solid #e23a2e; /* Borda de alerta */
}

.fake-photo-card img {
  width: 100%;
  height: 80%;
  object-fit: cover;
  filter: grayscale(10%) brightness(90%); /* Efeito sutil de artificial */
}

.fake-label {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #e23a2e;
  color: #fff;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: 999px;
  font-size: .85rem;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .3);
}
