/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

p {
  line-height: 1.6;
}

body {
  /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
  font-family: sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #FAFAFA;
  
  padding-top: 60px; /* Espaço para navbar fixa */
}

h1, h2, h3 {
  font-family: 'Inter', sans-serif;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.container.termo p {
  text-align: justify;
  
}
/* --- NAVBAR --- */
.navbar {
  background: #000428;
  color: #fff;
  padding: 20px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 1;
}

.nav-links a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links a i {
  margin-right: 6px;
}

.nav-links a:hover {
  color: #00c853;
}

.cta-button {
  display: inline-block;
  background: #00c853;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #009624;
}

.section {
  padding: 80px 20px;
}
/* --- SECTIONS --- */
.features, .exemplo-alerta, #exemplo, #assine {
  padding: 30px 20px;
  text-align: center;
  border: none;
  border-top: 1px solid #ddd;
  margin-top: 25px;
  
}

#exemplo {
  max-width: 90%;
  margin: 0 auto;
}

#exemplo p {
  font-size: 0.9rem;
}

#exemplo img {
  max-width: 100%;
  height: auto;
}
.alerta-tecnico{
  font-size: 0.85rem;
  padding: 10px;
  text-align: center;
}

.features {
  background-color: #f9f9f9;
}

.features h2 {
  margin-bottom: 40px;
  font-size: 1.8rem;
}

.porque ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  text-align: justify;
}

.porque ul li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.exemplo-alerta img {
  margin-top: 20px;
  max-width: 75%;
  height: auto;
  border-radius: 8px;
}

.exemplo-disclaimer {
  margin-top: 15px;
  font-size: 0.75rem;
  color: #888;
}

#assine {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: none;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

#assine h2 {
  margin-bottom: 15px;
}

#assine p {
  margin-bottom: 20px;
  font-size: 1rem;
}

/* --- FOOTER --- */
footer {
  background: #000428;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.8rem;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.45rem;
  }

  .hero p {
    font-size: 0.85rem;
  }

  .nav-content {
    flex-direction: row;
    align-items: flex-start;
  }

  .nav-links {
    width: auto;
    justify-content: flex-end;
    margin-top: 0;
  }
  .logo {
    font-size: 1rem;
  }
  .nav-links a {
    margin-left: 10px;
    font-size: 0.9rem;
  }

  .features h2 {
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 12px 24px;
    text-align: center;
  }

  #assine p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.4rem;
  }

  .hero p {
    font-size: 0.90rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .features h2 {
    font-size: 1.3rem;
  }

  .cta-button {
    padding: 12px 20px;
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 1rem; /* Reduz tamanho do texto do logo */
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 0.9rem;
  }
}

.nav-links a {
  margin-left: 20px;
}

@media (max-width: 768px) {
  .nav-links a {
    margin-left: 10px;
  }
}

@media (max-width: 480px) {
  .nav-links a {
    margin-left: 6px;
    font-size: 0.85rem;
  }
}


.porque {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 15px;
    padding: 10px;
}

.porque h2 {
  font-size: 1.3rem;
}

.exemplo-alerta img
 {
  display: block;
  margin: 20px auto;
  max-width: 75%;
  height: auto;
  border-radius: 8px;
}



.exemplo-alerta {
  border-bottom: 1px solid #ddd;
}

.exemplo-alerta h2 {
  font-size: 1.3rem;
}

@media (min-width: 768px) {
  .exemplo-alerta img,
  #exemplo img {
    max-width: 700px; /* ✅ Mesma largura em telas grandes */
  }

}

.positions-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.positions-table th, .positions-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.positions-table th {
  background-color: #f4f4f4;
  color: #333;
}

.positions-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.positions-table tr:hover {
  background-color: #f1f1f1;
}

.positions-table td {
  font-size: 0.8em;
}
.positions-h2 {
  text-align: center;
  margin-top: 25px;
  font-size: 1.3rem;
}

/* Estilos para o link que envolve o logo (opcional, mas bom para cliques) */
.logo-link {
    display: block; /* Garante que o link ocupe o espaço da imagem */
    line-height: 0; /* Remove espaço extra de linha se houver */
}

/* Estilos para a imagem do logo - tornando-a responsiva */
.logo-image {
    max-width: 35px; /* Largura máxima inicial do logo (ajuste conforme necessário) */
    max-height: 35px; /* Mantém a proporção da imagem */
    display: block; /* Remove espaços extras abaixo da imagem */
}

/* Media Queries para responsividade - ajusta o tamanho do logo em telas menores */
@media (max-width: 768px) {
    .logo-image {
        max-width: 100px; /* Reduz o tamanho do logo em tablets */
    }
}

@media (max-width: 480px) {
    .logo-image {
        max-width: 80px; /* Reduz ainda mais o tamanho do logo em celulares */
    }
    header {
        padding: 10px; /* Reduz o padding em telas muito pequenas */
    }
}

/*-------------------NOVO BANNER-------------------------*/

.hero {
  position: relative;
  height: 60vh; /* Altura ajustável */
  background: url('/static/assets/Logo_TA.png') repeat-x center center; 
  background-size: contain; /* ou cover */
  background-color: #003300; /* Cor de fundo de fallback */
  opacity: 0.88;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff; /* Texto branco sobre fundo escuro */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); /* Overlay para contraste do texto */
}

.hero .container {
  position: relative; /* Fica acima do overlay */
  z-index: 1;
}

.hero h1 {
  font-size: 1.65rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: #00b300;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #009900;
}

/*GEMINI*/
/* Importação de fontes (opcional, mas recomendado para aparência profissional) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Roboto:wght@300;400;500&display=swap');

/* Variáveis CSS para cores (se quiser padronizar, pode mover para um arquivo global depois) */
:root {
  --primary-color: #28a745; /* Verde do seu logo */
  --secondary-color: #007bff; /* Azul */
  --accent-color: #ffc107; /* Amarelo */
  --text-dark: #333;
  --text-light: #f8f9fa;
    --background-card: #ffffff; /* Fundo do card da seção */
    --border-color: #ced4da;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
}

/* Estilos para a seção de assinatura */
#assine {
    /* Centralização e responsividade */
    margin: 40px auto; /* Margem superior/inferior para espaçamento, 'auto' centraliza horizontalmente */
    max-width: 500px; /* Largura máxima para o formulário */
    width: calc(100% - 40px); /* Ocupa 100% da largura disponível, com 20px de margem em cada lado */
    box-sizing: border-box; /* Inclui padding e border no cálculo da largura/altura */

    /* Aparência profissional */
    background-color: var(--background-card);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow-medium);
    text-align: center; /* Centraliza texto e botões dentro da seção */

    /* Fontes para elementos internos */
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
}

#assine h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 2.2em;
}

#assine p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 25px;
}

#assine p:first-of-type {
    font-weight: 500;
    color: var(--text-dark);
}

/* Estilos para o formulário */
#cadastroForm {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left; /* Labels alinhadas à esquerda dentro do formulário */
    max-width: 400px;
    margin: 0 auto;
}

#cadastroForm label {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
    font-size: 0.95em;
}

#cadastroForm input[type="text"],
#cadastroForm input[type="tel"],
#cadastroForm input[type="email"],
#cadastroForm input[type="cpf"] { /* Adicionei input para CPF */
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1em;
    color: var(--text-dark);
    background-color: #f8f9fa;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

#cadastroForm input[type="text"]:focus,
#cadastroForm input[type="tel"]:focus,
#cadastroForm input[type="email"]:focus,
#cadastroForm input[type="cpf"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.25);
    outline: none;
}

#cadastroForm input::placeholder {
  color: #999;
  opacity: 1; /* para compatibilidade */
}

#btnCadastrar {
  background-color: #2E6EEA;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#btnCadastrar:hover {
  background-color: #218838; /* tom mais escuro do verde */
}

#btnCadastrar:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}

#btnPagSeguro {
  display: none; /* Escondido por padrão */
  background-color: #0070ba; /* Azul padrão PagSeguro ou Paypal-style */
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

#btnPagSeguro:hover {
  background-color: #005ea6;
}


/* Estilos para os botões de Ação (CTA) */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    margin-top: 10px; /* Espaçamento entre botões e outros elementos */
}

.cta-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--shadow-medium);
}

/* Estilo específico para o botão de PagSeguro */
.cta-button[href*="pagseguro"] {
    background-color: var(--secondary-color); /* Azul para o PagSeguro */
    margin-top: 15px; /* Mais espaçamento do botão de cadastro */
}

.cta-button[href*="pagseguro"]:hover {
    background-color: #0056b3;
}

/* Estilo para a mensagem de status do cadastro */
#cadastroStatus {
    margin-top: 15px;
    font-size: 1em;
    color: #dc3545; /* Vermelho para mensagens de erro */
    font-weight: 500;
}

/* Media Query para responsividade - ajuste o padding em telas muito pequenas */
@media (max-width: 600px) {
    #assine {
        padding: 25px; /* Reduz o padding interno da seção em telas menores */
        margin: 20px auto; /* Garante margem lateral em telas muito estreitas */
        width: calc(100% - 40px); /* Mantém o espaçamento lateral */
    }

    #assine h2 {
        font-size: 1.8em;
    }

    #assine p {
        font-size: 1em;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 1em;
    }

    #cadastroForm {
        gap: 15px;
    }

    #exemplo p {
    text-align: justify;
    }

    #exemplo img {
      max-width: 100%;
      height: auto;
      /* Options: contain, fill, scale-down */
    }
/*    #cadastroForm input {
        width: calc(100% - 24px); Garante que input não ultrapasse a largura 
    } 
    */
}

    .termos-container {
      margin-top: 10px;
      font-size: 1.03em;
      display: flex;
      align-items: center;
      text-align: justify;
    }
    .termos-container a {
      color: #0055aa;
      text-decoration: underline;
    }
    .termo-uso {
      padding: 20px;
      background-color: #f8f8f8;
      font-size: 0.80em;
      text-align: justify;
    }


    /* 🔹 Botão CTA principal e variantes */
.cta-button {
  background-color: #2E6EEA;
  color: #fff;
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

.cta-button:hover {
  background-color: #1c4db0;
}

/* 🔹 Repetição Estratégica de CTA */
.cta-repetido {
  text-align: center;
  margin: 30px 0;
}

/* 🔹 Microcopy no formulário */
#cadastroForm small {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #444;
}

/* 🔹 Prova Social simples */
#assine p:first-of-type {
  font-weight: 600;
  margin-bottom: 10px;
  color: #2E6EEA;
}

/* Ativa apenas em telas pequenas */
@media screen and (max-width: 768px) {
  .mobile-bar {
    display: block;
  }
}

#aceiteTermos {
  margin-top: 8px;
  margin-right: 6px;
}

/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: Arial, sans-serif;
  text-align: justify;
}

.faq-section h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #222;
}

.faq-item {
  background: #f9f9f9;
  border-left: 4px solid #007BFF;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 6px;
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #007BFF;
}

.faq-item p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}

/* CTA Final */
.faq-cta {
  text-align: center;
  background: #007BFF;
  color: white;
  padding: 30px 20px;
  border-radius: 8px;
  margin-top: 40px;
}

.faq-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.faq-cta p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.btn-assinar {
  display: inline-block;
  background: white;
  color: #007BFF;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}

.btn-assinar:hover {
  background: #0056b3;
  color: white;
}

.destaque {
  box-shadow: 0 0 15px #ff9800;
  transition: box-shadow 0.3s ease;
}
