body {
    font-family: 'Inter', sans-serif;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: black;
    border: 2px solid black;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.cta-button:hover {
    background-color: #e5e7eb; /* gray-200 */
}

.icon-sprite {
    background-image: url('https://r2.flowith.net/files/o/1758652379241-minimalist_web_icons_set_index_1@1024x1024.png');
    background-size: 200% 200%;
    width: 56px;
    height: 56px;
    filter: invert(0);
}

.icon-strategies { background-position: 0 0; }
.icon-neuroscience { background-position: 100% 0; }
.icon-digital { background-position: 0 100%; }
.icon-tactics { background-position: 100% 100%; }

#testimonial-carousel {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide {
    transition: opacity 0.5s ease-in-out;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    color: #9ca3af; /* gray-400 */
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease-in-out;
}

.carousel-nav:hover {
    color: #111827; /* gray-900 */
}

.carousel-nav.left-0 {
    left: -20px;
}
.carousel-nav.right-0 {
    right: -20px;
}

@media (min-width: 768px) {
    .carousel-nav.left-0 {
        left: -50px;
    }
    .carousel-nav.right-0 {
        right: -50px;
    }
}

/* =======================
   TOPO - HERO SECTION
   ======================= */
.topo {
    background-image: url('https://vivaconsult.com.br/ebookguerrilha/images/fundo.jpeg'); /* imagem de fundo */
    background-size: cover;        /* cobre toda a área */
    background-position: center;   /* centraliza a imagem */
    background-repeat: no-repeat;  /* não repete */
    min-height: 100vh;             /* ocupa toda altura da tela */
    width: 100%;                   /* ocupa toda a largura */
    display: flex;                 /* flex para alinhar conteúdo */
    flex-direction: column;        /* empilha conteúdo verticalmente */
    align-items: center;           /* centraliza horizontalmente */
    justify-content: center;       /* centraliza verticalmente */
}
.custom-red {
    background-color: #D00000; /* vermelho intenso */
}

.custom-red:hover {
    background-color: #B00000; /* hover mais escuro */
}

/* Mantém posição do desktop */
.cta-btn {
  position: absolute;
  top: 57%;
  right: 20%;
}

/* Ajuste para tablet (até 1024px) */
@media (max-width: 1024px) {
  .cta-btn {
    top: 65%;   /* você pode ir testando esse valor */
    right: 10%;
  }
}

/* Ajuste para celular (até 640px) */
@media (max-width: 640px) {
  .cta-btn {
    top: 70%;   /* move mais para baixo */
    right: 5%;  /* traz mais para o centro */
    transform: translateX(0); /* garante que não desloque errado */
  }
}

/* Posição do CTA no Hero */

/* Desktop padrão */
.cta-btn {
  position: absolute;
  top: 57%;
  right: 20%;
}

/* Tablet */
@media (max-width: 1024px) {
  .cta-btn {
    top: 65%;
    right: 10%;
  }
}

/* Celular */
@media (max-width: 640px) {
  .cta-btn {
    top: 70%;
    right: 5%;
    transform: translateX(0);
  }
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh; /* Garante altura mínima, mas flexível */
  overflow: hidden; /* Evita barras de rolagem desnecessárias */
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Garante que a imagem cubra o container sem distorcer */
  object-position: center top; /* Foca no topo da imagem */
}

.hero-content {
  position: absolute;
  top: 57%; /* Mantém a posição original no desktop */
  right: 20%;
  text-align: right; /* Alinha botão e subtexto à direita */
  max-width: 300px; /* Limita largura do conteúdo */
}

.cta-button {
  display: inline-block;
  background-color: #dc2626; /* Vermelho do bg-red-600 */
  color: white;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
  font-size: 1rem; /* 16px */
  text-decoration: none;
}

.cta-button:hover {
  background-color: #b91c1c; /* Tom mais escuro no hover */
}

.subtext {
  margin-top: 10px;
  color: white;
  font-size: 0.875rem; /* 14px */
  font-weight: 500;
  max-width: 200px;
}

/* Tablet: Até 1024px */
@media (max-width: 1024px) {
  .hero {
    min-height: 80vh; /* Reduz altura */
  }
  
  .hero-content {
    top: 60%; /* Ajusta posição vertical */
    right: 10%; /* Mais próximo da borda direita */
    max-width: 250px;
  }
  
  .cta-button {
    padding: 10px 18px;
    font-size: 0.9375rem; /* 15px */
  }
  
  .subtext {
    font-size: 0.8125rem; /* 13px */
  }
}

/* Celular: Até 768px */
@media (max-width: 768px) {
  .hero {
    min-height: 60vh; /* Menor no celular */
  }
  
  .hero-content {
    position: relative; /* Remove absolute pra fluir com a imagem */
    top: auto;
    right: auto;
    max-width: 90%; /* Ocupa quase toda a largura */
    margin: 0 auto; /* Centraliza horizontalmente */
    text-align: center; /* Centraliza texto */
    padding: 20px; /* Espaço interno */
  }
  
  .cta-button {
    width: 100%; /* Botão ocupa largura total do container */
    max-width: 300px;
    font-size: 0.875rem; /* 14px */
    padding: 12px 16px;
  }
  
  .subtext {
    margin-top: 8px;
    font-size: 0.75rem; /* 12px */
    max-width: 100%;
  }
}

/* Celular pequeno: Até 480px */
@media (max-width: 480px) {
  .hero {
    min-height: 50vh; /* Ainda menor */
  }
  
  .cta-button {
    font-size: 0.8125rem; /* 13px */
    padding: 10px 14px;
  }
  
  .subtext {
    font-size: 0.6875rem; /* 11px */
  }
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh; /* Altura mínima para cobrir a tela */
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center top; /* Foca no topo da imagem */
}

.hero-content {
  position: absolute;
  top: 60%; /* Posição vertical inicial */
  right: 5%; /* Mais próximo da borda direita */
  text-align: right;
  max-width: 300px;
  z-index: 10; /* Garante que fique acima da imagem */
}

.cta-button {
  display: inline-block;
  background-color: #dc2626; /* Vermelho do bg-red-600 */
  color: white;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
  font-size: 1rem;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #b91c1c; /* Tom mais escuro no hover */
}

.subtext {
  margin-top: 10px;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  max-width: 200px;
}

/* Tablet: Até 1024px */
@media (max-width: 1024px) {
  .hero {
    min-height: 80vh;
  }
  
  .hero-content {
    top: 55%;
    right: 5%;
    max-width: 250px;
  }
  
  .cta-button {
    padding: 10px 18px;
    font-size: 0.9375rem;
  }
  
  .subtext {
    font-size: 0.8125rem;
  }
}

/* Celular: Até 768px */
@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
  }
  
  .hero-content {
    top: 70%; /* Move mais pra baixo no mobile */
    right: 5%;
    max-width: 80%; /* Ocupa mais largura */
    text-align: right;
  }
  
  .cta-button {
    width: 100%;
    max-width: 250px;
    font-size: 0.875rem;
    padding: 12px 16px;
  }
  
  .subtext {
    margin-top: 8px;
    font-size: 0.75rem;
    max-width: 100%;
  }
}

/* Celular pequeno: Até 480px */
@media (max-width: 480px) {
  .hero {
    min-height: 50vh;
  }
  
  .hero-content {
    top: 75%; /* Ainda mais baixo pra evitar o meio */
    right: 5%;
    text-align: center; /* Centraliza se a largura for muito pequena */
  }
  
  .cta-button {
    font-size: 0.8125rem;
    padding: 10px 14px;
  }
  
  .subtext {
    font-size: 0.6875rem;
  }
}

/* Hero Section - Estilos Base para Desktop */
.hero-content {
  position: absolute !important;
  top: 57% !important;  /* Força o 57% do topo */
  right: 20% !important;  /* Força o 20% da direita */
  /* Fallback em pixels: descomente e ajuste se % não funcionar */
  /* top: 350px !important; right: 200px !important; */
  text-align: right;
  max-width: 300px;
  z-index: 10;
}

.cta-button {
  display: inline-block;
  background-color: #dc2626;
  color: white;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #b91c1c;
}

.subtext {
  margin-top: 10px;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  max-width: 200px;
}

/* Ajustes para Tablet (telas até 1024px de largura) */
@media (max-width: 1024px) {
  .hero {
    min-height: 80vh;
  }
  .hero-content {
    top: 20%;
    right: 8%;
    max-width: 20px;
  }
  .cta-button {
    padding: 10px 18px;
    font-size: 0.9375rem;
  }
  .subtext {
    font-size: 0.8125rem;
  }
}

/* Ajustes para Celular (telas até 768px de largura) */
@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
  }
  .hero-content {
    top: 20%;
    right: 5%;
    max-width: 80%;
    text-align: right;
  }
  .cta-button {
    width: 100%;
    max-width: 250px;
    padding: 10px 16px;
    font-size: 0.875rem;
  }
  .subtext {
    font-size: 0.75rem;
    margin-top: 8px;
  }
}

/* Ajustes para Celular Pequeno (telas até 480px de largura) */
@media (max-width: 480px) {
  .hero {
    min-height: 50vh;
  }
  .hero-content {
    top: 20%;
    right: 3%;
    text-align: center;
  }
  .cta-button {
    padding: 8px 12px;
    font-size: 0.8125rem;
  }
  .subtext {
    font-size: 0.6875rem;
  }
}

/* Hero Section - Estilos Base para Desktop */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.hero-content {
  position: absolute;
  top: 57%;
  right: 20%;
  text-align: right;
  max-width: 300px;
  z-index: 10;
}

.cta-button {
  display: inline-block;
  background-color: #dc2626;
  color: white;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #b91c1c;
  border: none;  /* Remove borda no hover */
  outline: none; /* Remove contorno no hover */
}

.subtext {
  margin-top: 10px;
  color: white;  /* Mantém branco no desktop */
  font-size: 0.875rem;
  font-weight: 500;
  max-width: 200px;
}

/* Ajustes para Tablet (telas até 1024px de largura) */
@media (max-width: 1024px) {
  .hero {
    min-height: 70vh;  /* Reduz a altura para tablet */
  }
  .hero-content {
    top: 20%;
    right: 8%;
    max-width: 250px;  /* Corrigido de 20px, que parecia erro */
  }
  .cta-button {
    padding: 10px 18px;
    font-size: 0.9375rem;
  }
  .subtext {
    font-size: 0.8125rem;
    color: black;  /* Muda para preto no tablet */
  }
}

/* Ajustes para Celular (telas até 768px de largura) */
@media (max-width: 768px) {
  .hero {
    min-height: 50vh;  /* Reduz a altura para celular */
  }
  .hero-content {
    top: 20%;
    right: 5%;
    max-width: 80%;
    text-align: right;
  }
  .cta-button {
    width: 100%;
    max-width: 250px;
    padding: 10px 16px;  /* Mantém o tamanho do botão */
    font-size: 0.875rem;
  }
  .subtext {
    font-size: 0.75rem;
    margin-top: 8px;
    color: black;  /* Muda para preto no celular */
  }
}

/* Ajustes para Celular Pequeno (telas até 480px de largura) */
@media (max-width: 480px) {
  .hero {
    min-height: 40vh;  /* Reduz mais a altura para celular pequeno */
  }
  .hero-content {
    top: 20%;
    right: 3%;
    text-align: center;
  }
  .cta-button {
    padding: 8px 12px;
    font-size: 0.8125rem;
  }
  .subtext {
    font-size: 0.6875rem;
    color: black;  /* Muda para preto no celular pequeno */
  }
}
@media (max-width: 768px) {
  .subtext {
    color: black !important;
  }
}
@media (max-width: 480px) {
  .subtext {
    color: black !important;
  }
}
@media (max-width: 768px) {
  .hero .subtext {
    color: black !important;
  }
}
@media (max-width: 480px) {
  .hero .subtext {
    color: black !important;
  }
}

@media (max-width: 768px) {
  .hero-content .subtext {
    color: black !important;
  }
}
@media (max-width: 480px) {
  .hero-content .subtext {
    color: black !important;
  }
}


/* Abaixar apenas o botão CTA no tablet grande */
@media (min-width: 769px) and (max-width: 1024px) {
  .cta-button {
    position: relative;
    top: 20%; /* ajuste visual: pode aumentar ou diminuir até ficar certo */
  }
}

/* Apenas para tablet vertical */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero img {
    margin-top: 20px; /* ajuste visual até ficar correto */
  }
}

/* Tablet: 641px a 1024px */
@media (min-width: 641px) and (max-width: 1024px) {
  #offer .promo-cta {
    position: relative;   /* botão segue o fluxo normal, não sobrepõe o contador */
    bottom: auto;
    right: auto;
    transform: none;
    margin-top: 20px;     /* ajusta espaço abaixo do contador */
    display: flex;
    justify-content: center;
  }
}

/* Mobile: <=640px (mantém o comportamento que você já tem) */
@media (max-width: 640px) {
  #offer .promo-cta {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    margin-top: 12px;
  }
  #offer .promo-cta button {
    width: 90%;
    padding: 12px 16px;
    font-size: 1.5rem;
  }
}

/* --- Desktop: mantém absoluto como está --- */
#offer .promo-cta {
  position: absolute;
  bottom: 49%;
  right: 10%;
  z-index: 10;
}

#offer #countdown {
  position: absolute;
  top: 83%;
  left: 50%;
  transform: translateX(-33%);
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 4xl;
  z-index: 10;
}

/* --- Tablet: 641px a 1024px --- */
@media (min-width: 641px) and (max-width: 1024px) {
  #offer #countdown {
    position: relative;   /* entra no fluxo */
    top: auto;
    left: auto;
    transform: none;
    margin-top: 20px;     /* espaço visual */
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 2.5rem;    /* opcional: ajusta tamanho */
  }

  #offer .promo-cta {
    position: relative;   /* entra no fluxo abaixo do contador */
    bottom: auto;
    right: auto;
    transform: none;
    margin-top: 20px;     /* espaço abaixo do contador */
    display: flex;
    justify-content: center;
  }
}

/* --- Mobile: até 640px --- */
@media (max-width: 640px) {
  #offer #countdown {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-top: 15px;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 2rem;
  }

  #offer .promo-cta {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    margin-top: 12px;
  }

  #offer .promo-cta button {
    width: 90%;
    padding: 12px 16px;
    font-size: 1.5rem;
  }
}
/* --- Tablet: 769px a 1024px --- */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Contador */
  #offer #countdown {
    position: relative !important;
    top: auto;
    left: auto;
    transform: none;
    margin-top: 20px; /* espaço abaixo da imagem */
  }

  /* Botão Compre Agora */
  #offer .promo-cta {
    position: relative !important;
    bottom: auto;
    right: auto;
    transform: none;
    margin-top: 20px; /* espaço abaixo do contador */
    display: flex;
    justify-content: center;
  }
}

/* --- Hero CTA: Tablet --- */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero .hero-content {
    position: relative;   /* segue fluxo natural */
    top: auto;            /* ignora top absoluto do desktop */
    right: auto;
    margin-top: 50px;     /* ajusta o quanto quer “descer” */
    text-align: center;
    max-width: 90%;
  }

  .hero .cta-button {
    display: inline-block;
    margin-top: 15px;     /* espaço entre texto e botão */
  }
}

/* ------------------------------
   HERO SECTION: TABLET 769px a 1024px
   Mantém desktop e celular intactos
------------------------------ */
@media (min-width: 769px) and (max-width: 1024px) {

  /* Hero content */
  .hero .hero-content {
    position: relative;   /* entra no fluxo natural */
    top: auto;            /* ignora top absoluto do desktop */
    right: auto;
    margin-top: 40px;     /* ajuste visual: descer o CTA */
    text-align: center;
    max-width: 90%;
  }

  /* CTA button */
  .hero .cta-button {
    display: inline-block;
    margin-top: 15px;     /* espaço entre texto e botão */
    font-size: 1rem;      /* mantém legível no tablet */
    padding: 12px 20px;   /* mantém proporção do botão */
  }

  /* Subtext abaixo do CTA */
  .hero .subtext {
    color: black;         /* caso mude cor no tablet */
    font-size: 0.875rem;  /* ajusta tamanho para tablet */
    margin-top: 10px;
    text-align: center;
  }

}
