  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(13,189,139,0.4); }
    70% { box-shadow: 0 0 0 15px rgba(13,189,139,0); }
    100% { box-shadow: 0 0 0 0 rgba(13,189,139,0); }
  }

:root{
    --primary:#2165F8;
    --bg:#000307;
    --text:#fff;
    --gray:#aaa;
    --border:#1c1c1c;
    --radius:8px;
    --shadow-primary: 0 10px 25px rgba(13,189,139,.3);
}

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html{
      scroll-behavior:smooth;
    }

    img{
      display:block;
      max-width:100%;
    }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: "Plus Jakarta Sans", sans-serif;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }



/* =========================
   HEADER
========================= */

    #inicio {scroll-margin-top: 200px;}

    nav a{
      position:relative;
      margin:0 15px;
      text-decoration:none;
      color:#ccc;
      transition:color .3s;
    }

    nav a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -5px;
      width: 0%;
      height: 2px;
      background: var(--primary);
      transition: width 0.3s;
    }
    
    nav a:hover {
      color: var(--primary);
    }
    
    nav a:hover::after {
      width: 100%;
    }

  .close,
  .close-register {
    position: absolute;
    top: 15px;
    right: 15px;

    font-size: 22px;
    cursor: pointer;
    color: var(--gray);

    transition: 0.3s;
  }

  .close:hover,
  .close-register:hover {
    color: var(--text);
  }

    header {
      position: sticky;
      top: 0;
      z-index: 1000;

      display: flex;
      justify-content: space-between;
      align-items: center;
      padding:
      20px
      clamp(20px,5vw,60px);
      background-color: var(--bg);
      border-block-end: 1px solid var(--border);
    }
    
    .logo img {
      max-width: 300px;
      max-height: 60px;
      object-fit: contain;
      display: block;
      width: 85%;
    }
    
    .logo span {
      color: var(--primary);
    }
       
    .actions button {
      margin-left: 10px;
    }
  
/* =========================
   Botões
========================= */

  .btn-primary,
  .btn-comece {
      transition: .3s;
      background: var(--primary);
      border: none;
      border-radius: var(--radius);
      color: #000;
      cursor: pointer;
      font-weight: bold;
  }

  .btn-primary{
      padding:10px 20px;
  }

  .btn-comece{
      padding:20px 30px;
      font-size:18px;
      animation:pulse 2s infinite;
  }

  .btn-primary:hover,
  .btn-comece:hover{
      transform:translateY(-2px);
      box-shadow: var(--shadow-primary)
  }
  
  .btn-outline {
    background: transparent;
    transition: all 0.3s ease;
    border: 1px solid var(--primary);
    padding: 10px 20px;
    border-radius: var(--radius);
    color: var(--primary);
    cursor: pointer;
  }

  .btn-outline:hover {
    background: var(--primary);
    color: #000;
  }

  .btn-ver-como {
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid var(--primary);
    padding: 20px 30px;
    border-radius: var(--radius);
    color: var(--primary);
    cursor: pointer;
    font-size: 18px;
  }

  .btn-ver-como:hover {
    background: var(--primary);
    color: #000;
  }
  
/* =========================
   HERO
========================= */

  .hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px;
    padding-top: 30px;
    padding-block-end: 0px
  }
  
  .hero-text {
    max-width: 700px;
  }
  
  .hero h1 {
    font-size: 60px;
    line-height: 1.2;
  }
  
  .hero h1 span {
    color: var(--primary);
  }
  
  .hero p {
    margin: 20px 0;
    color: var(--gray);
  }
  
  .hero-buttons button {
    margin-right: 10px;
  }
  
  .hero-image .mockup {
    width:100%;
    max-width:993px;
    aspect-ratio:993 / 492;
    height: 492px;
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden; /* IMPORTANTE */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-image img{
    object-fit:contain;
}

/* =========================
   HERO SLIDER (ATUALIZADO)
========================= */

.hero-slider {
  position: relative;
  margin: 45px auto;
  width: min(1260px, 95%); 
}

.hero-slider::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(0, 132, 255, 0.15);
  filter: blur(120px);
  top: -100px;
  left: -100px;
  z-index: -1;
}

.heroSwiper {
  border-radius: 28px;
  height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d0d0f, #16171b);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 25px 80px rgba(0,0,0,.45);
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 320px;
}

.slide-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
  height: 100%;
  padding: 35px 60px;
}

.slide-content-wrapper {
  display: flex;
  align-items: center;
  gap: 25px;
}

.slide-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.slide-content h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin: 15px 0;
  line-height: 1.1;
}

.slide-content p {
  color: #bdbdbd;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 500px;
}

.tag {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  color: #83a2e7;
  border: 1px solid rgba(29, 68, 154, 0.51);
  background: rgba(0, 81, 255, 0.1);
  font-size: 0.85rem;
}

.btn-slider {
  transition: all 0.3s ease;
  background: #1D449A;
  border: 1px solid transparent;
  padding: 12px 30px;
  border-radius: 8px;
  color: white;
  font-size: 18px;
  text-decoration: none;
  margin-top: 15px;
}

.btn-slider:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px #0d2352;
}

.icon-box {
  width: 85px;
  height: 85px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  background: #1D449A;
  color: #fff;
  font-size: 30px;
  box-shadow: 0 15px 35px rgba(20, 0, 255, 0.25);
  flex-shrink: 0;
}

.slide-image {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.slide-image img {
  max-width: 100%;
  height: auto;
}

.swiper-pagination-bullet{
  width:10px;
  height:10px;
  background:#6b7280 !important; /* cinza */
  opacity:1 !important;
  transition:.3s;
}

.swiper-pagination-bullet-active{
  width:30px;
  border-radius:999px;
  background: var(--primary) !important;
}

/* =========================
   Downloads
========================= */

.downloads{
  width: 100%;
  max-width: 1260px;
  margin: auto;
  scroll-margin-top: 110px;
}

.downloads-header{
  margin-bottom:40px;
}

.downloads-header h2{
  color:#FFF;
  font-size:42px;
  font-weight:700;
  margin-bottom:10px;
}

.downloads-header p{
  color:#9CA3AF;
  font-size:18px;
}

.programas-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(330px,1fr));
  gap:28px;
}

.card {
  background: #0F1117;
  border: 1px solid #242935;
  border-radius: 22px;
  padding: 24px;
  transition: .25s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover{
  transform:translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(30, 62, 136, 0.45);
}

.badge{
  position:absolute;
  top:20px;
  right:20px;
  padding:7px 14px;
  border-radius:999px;
  font-size:13px;
  color:white;
  font-weight:600;
}

.badge.green{
  background:#138A36;
}

.badge.purple{
  background:#6C3DF4;
}

.logo-box{
  width:82px;
  height:82px;
  border-radius:18px;
  background:#171B24;
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:26px;
}

.logo-box img{
  width:100px;
  transition:.25s;
}

.card:hover .logo-box img{
  transform:scale(1.08);
}

.card h3{
  color:white;
  font-size:30px;
  margin-bottom:12px;
}

.card p {
  color: #B6BCC8;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.info{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:25px;
}

.sistemas{
  display:flex;
  gap:10px;
}

.sistemas img{
  width: 45px;
  margin-right: 10px;
}

.botoes{
  display:flex;
  gap:12px;
}

.btn{
  flex:1;
  border:none;
  padding:14px;
  border-radius:12px;
  font-weight:600;
  cursor:pointer;
  transition:.25s;
  text-decoration: none;
  text-align: center;
}

.download{
  background: var(--primary);
  color:white;
}

.download:hover{
  background: #1548B6;
}

.more{

  background:transparent;
  color:white;
  border:1px solid #30384A;
}

.more:hover{
  background:#1C2230;
}

/* =========================
   MODAL - PROGRAMAS
========================= */

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s;
  z-index: 9999;
  font-family: 'Inter', system-ui, sans-serif; /* Fonte limpa parecida com o design */
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative; /* Necessário para posicionar o botão fechar */
  width: min(1100px, 90vw);
  background: #0D1117; /* Fundo escuro do mockup */
  border: 1px solid #242A33;
  border-radius: 16px;
  padding: 40px;
  color: #fff;
  transform: translateY(25px) scale(0.96);
  transition: 0.35s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.modal.show .modal-content {
  transform: translateY(0) scale(1);
}

/* --- Botão Fechar --- */
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #8b949e;
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #fff;
}

/* --- Header do Modal --- */
.modal-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

#modalLogo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
}

.titulo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.titulo h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
}

.gratis {
  background: rgba(46, 160, 67, 0.15); /* Fundo verde escuro/translúcido */
  color: #3fb950; /* Texto verde claro */
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

#modalSubtitulo {
  margin: 0;
  color: #8b949e;
  font-size: 15px;
}

.modal-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  border: 1px solid #242A33;
  overflow: hidden;
}

#modalVideo {
  width: 100%;
  height: 100%;
  border: none;
}

.info_modal {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#modalDescricao {
  margin: 0;
  color: #a1aab5;
  font-size: 15px;
  line-height: 1.6;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table td {
  padding: 12px 0;
  border-bottom: 1px solid #242A33; /* Linhas separadoras sutis */
  font-size: 14px;
}

table tr:last-child td {
  border-bottom: none;
}

table td:first-child {
  color: #8b949e; /* Cor cinza para as "chaves" (Ex: Plataforma) */
  width: 40%;
}

table td:last-child {
  color: #e5e7eb; /* Cor branca para os "valores" (Ex: Windows) */
  font-weight: 500;
}

/* --- Footer e Botões --- */
.modal-footer {
  display: flex;
  gap: 16px;
}

.btn-modal-primary, .btn-modal-secondary {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-modal-primary {
  background: #2563EB; /* Azul vivo */
  color: #fff;
  border: none;
}

.btn-modal-primary:hover {
  background: #1D4ED8; /* Azul mais escuro no hover */
}

.btn-modal-secondary {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid #334155;
}

.btn-modal-secondary:hover {
  background: #1E293B;
  border-color: #475569;
}

/* --- Responsividade para Celulares --- */
@media (max-width: 900px) {
  .modal-body {
    grid-template-columns: 1fr; /* Quebra as colunas e coloca o vídeo em cima */
    gap: 24px;
  }
  
  .modal.show .modal-content {
    width: 92%;
    max-height: 70vh;
    overflow-y: auto;
    padding: 20px;
    border-radius: 12px;
  }

  .modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .modal-footer {
    flex-wrap: wrap;
  }

  .btn-primary, .btn-secondary {
    width: 100%; /* Botões ocupam 100% da tela no mobile */
  }
}

/* =========================
   SEÇÃO DE CONTATOS
========================= */

.contato-section {
  width: 100%;
  max-width: 1260px;
  margin: 60px auto;
  padding: 0 20px;
  scroll-margin-top: 105px;
}

.contato-header {
  margin-bottom: 35px;
}

.contato-header h2 {
  color: var(--text);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contato-header p {
  color: #9CA3AF; /* Tom de cinza legível do seu design */
  font-size: 17px;
}

.contato-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.contato-card {
  background: #0D1117; /* Fundo levemente destacado do seu --bg */
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.contato-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(30, 62, 136, 0.45);
}

/* --- Ícones das caixas --- */
.contato-icon-box {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.bg-whatsapp-icon { background: #25D366; }
.bg-email-icon { background: var(--primary); }
.bg-tiktok-icon { background: #9D2FF5; } /* Roxo do ícone do TikTok */

.contato-card h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contato-card p {
  color: #8b949e;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
  flex-grow: 1; /* Empurra o botão para o final caso os textos variem de tamanho */
}

/* --- Botões de ação --- */
.contato-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.contato-btn:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

.btn-whats {
  background: #15693b; /* Verde escuro idêntico ao modelo */
  color: #fff;
}

.btn-email {
  background: var(--primary);
  color: #fff;
}

.btn-tiktok {
  background: #4A1B7F; /* Roxo escuro do botão */
  color: #fff;
}

/* --- Banner de Segurança --- */
.contato-security {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  background: #0D1117;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
}

.security-icon {
  background: rgba(33, 101, 248, 0.1); /* Fundo sutil com a cor primary */
  color: #60A5FA;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.security-text h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 4px;
  font-weight: 600;
}

.security-text p {
  color: #8b949e;
  font-size: 14px;
  line-height: 1.5;
}

/* --- Responsividade --- */
@media (max-width: 768px) {
  .contato-security {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================
   RODAPÉ (FOOTER)
========================= */

.rodape-section {
  width: 100%;
  background-color: #0D1117; /* Mesmo tom escuro destacado das caixas de contato */
  border-top: 1px solid var(--border);
  padding-top: 60px;
  padding-bottom: 30px;
  margin-top: 80px; /* Garante um espaçamento saudável da seção anterior */
}

.rodape-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

.rodape-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

/* --- Coluna da Marca --- */
.rodape-logo {
  max-width: 220px;
  height: auto;
  margin-bottom: 20px;
  display: block;
}

.rodape-descricao {
  color: #8b949e;
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 320px;
}

/* --- Estilização das Colunas de Links --- */
.rodape-col h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

/* Linha sutil azul abaixo dos títulos das colunas */
.rodape-col h3::after {
  content: '';
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--primary);
  margin-top: 8px;
  border-radius: 2px;
}

.rodape-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rodape-links li {
  margin-bottom: 12px;
}

.rodape-links a {
  color: #9CA3AF;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

/* Efeito discreto ao passar o mouse pelos links do rodapé */
.rodape-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

/* --- Barra Inferior (Direitos Autorais) --- */
.rodape-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6e7681;
  font-size: 13.5px;
}

.rodape-credito {
  font-style: italic;
}

/* =========================
   RESPONSIVIDADE (MOBILE)
========================= */
@media (max-width: 900px) {
  .heroSwiper {
    height: auto;
  }

  .swiper-slide {
    height: auto;
  }

  .slide-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 30px;
    gap: 25px;
  }

  .slide-content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .slide-content {
    align-items: center;
  }

  .slide-image {
    margin-top: 10px;
    justify-content: center;
  }
}

/* =========================
   RESPONSIVIDADE (MOBILE)
========================= */

/* Esconde o botão do menu hambúrguer no Desktop */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
  z-index: 1001; /* Fica acima do menu quando aberto */
  transition: color 0.3s;
}

.menu-toggle:hover {
  color: var(--primary);
}

@media (max-width: 900px) {
  
  /* --- Menu Hambúrguer --- */
  header {
    padding: 20px 5vw;
  }

  .menu-toggle {
    display: block; /* Mostra o botão no mobile */
  }

  /* Transforma a barra de navegação em um menu lateral (off-canvas) */
  nav {
    position: fixed;
    top: 0;
    right: -100%; /* Esconde o menu fora da tela */
    width: 250px;
    height: 100vh;
    background: #0D1117; /* Fundo escuro igual aos cards */
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding-top: 90px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -15px 0 30px rgba(0,0,0,0.6);
    z-index: 1000;
  }

  /* Classe que o JavaScript vai usar para abrir o menu */
  nav.active {
    right: 0; 
  }

  nav a {
    margin: 15px 30px;
    font-size: 18px;
  }

  nav a::after {
    bottom: -8px;
  }

  /* --- Seção Hero --- */
  .hero {
    /* Sua ideia genial: inverte a ordem para a imagem ficar em cima */
    flex-direction: column-reverse; 
    padding: 40px 20px;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 42px; /* Reduz o tamanho da fonte para não quebrar a tela */
  }

  /* Empilha os botões para facilitar o toque com o dedo */
  .hero-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  .hero-buttons button,
  .hero-buttons a {
    width: 100%;
    margin-right: 0;
  }

  .hero-image {
    width: 100%;
  }

  .hero-image .mockup {
    height: auto;
    aspect-ratio: 16 / 9; /* Mantém a proporção sem amassar a imagem */
  }

  /* --- Rodapé --- */
  .rodape-grid {
    grid-template-columns: 1fr 1fr; 
    gap: 30px;
  }
}

/* Telas ainda menores (Smartphones em pé) */
@media (max-width: 768px) {
  
  /* --- Slider (Sua sugestão de tirar a imagem e deixar quadrado) --- */
  .slide-image {
    display: none; /* Esconde a imagem do mockup lateral */
  }

  .slide-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 20px;
  }

  .slide-content-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .slide-content {
    align-items: center;
  }

  .slide-content h2 {
    font-size: 1.5rem;
  }

  .slide-content p {
    font-size: 0.9rem;
  }

  .btn-slider {
    font-size: 16px;
    padding: 10px 25px;
  }

  /* --- Rodapé Mobile --- */
  .rodape-grid {
    grid-template-columns: 1fr; 
    text-align: center;
  }
  
  .rodape-logo {
    margin: 0 auto 20px auto; 
  }
  
  .rodape-descricao {
    margin: 0 auto;
  }
  
  .rodape-col h3::after {
    margin: 8px auto 0 auto; 
  }
  
  .rodape-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}