﻿html{
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #C72E2E;
  z-index: 9999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  max-width: 100%;
  height: auto;
}

.menu {
  display: flex;
  gap: 20px;
}

.menu a {
  text-decoration: none;
  color: #fdfcfc;
  font-weight: 500;
}

/* BOTÃO HAMBURGUER (escondido no desktop) */
.menu-toggle {
  display: none;
  font-size: 48px;
  background: none;
  border: none;
  cursor: pointer;
}

.linha-um {
  font-family: candara;
  font-size: 22px;
  color: #c72e2e;
}

.linha-um-fim {
  font-size: 22px;
}

.valor {
  font-size: 30px;
}

.container-slider {
  display: flex;
  width: 100%;
  min-height: 45vh;
  align-items: center;
  justify-content: center;
  gap: 0rem;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f2f2f2;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  padding-top: 70px;
}

.scroll-menu {
  padding-top: 70px;
}

.text-inic {
  text-align: center;
  padding: 80px;
}

.text-explic {
  text-align: justify;
  padding: 0px 120px 0px 120px;
}

.dicas1 {
  text-align: justify;
  /* padding: 20px 400px 20px 400px; */
}

.ativar {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.envcomp {
  display: block;
  flex-direction: column;
  align-items: center;
  text-align: center;
} 

.pagamento {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.pgto {
  padding: 0px 30px 0px 0px;
}

.download1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.baixa {
  padding-right: 80px;  
}

.manual {
  padding-left: 80px;
}

.centralizar {
  text-align: center;
}

.autor {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final {
  padding: 0px 120px 0px 120px;
}

.forma {
  background: url(./files/backgraund3.png);
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-left: 6px;
  justify-content: center;
  align-items: center;
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  align-items: center;     /* centraliza vertical */
  justify-content: center; /* centraliza horizontal */
}

.modal-conteudo {
  background: #fff;
  padding: 20px;
  max-width: 380px;
  width: 90%;              /* importante para mobile */
  text-align: center;
  border-style: solid; 
    border-width: 6px;
    border-color: #C72E2E;  
    border-radius: 18px; 
}

.btn-pagamento {
  background: #28a745;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-fechar {
  margin-top: 10px;
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
}

.envia-cod {  
  display: block;
  width: 250px;
  max-width: 250%;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 990px) {
    /* MOSTRA BOTÃO */
  .menu-toggle {
    display: block;
    color: #fff; 
  }

  /* ESCONDE MENU */
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 16px;          /* alinha à direita */
    left: auto;           /* REMOVE largura total */
    width: auto;          /* 🔥 tamanho do conteúdo */
    min-width: 160px;     /* evita quebrar */
    background: #3d3a3a;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
    font-size: 35px;
  }

  .menu a {
    padding: 12px 16px;
    white-space: nowrap;  /* não quebra linha */
    border-bottom: 1px solid #eee;
  }

  /* MENU ABERTO */
  .menu.ativo {
    display: flex;
  }

  .logo img {
    /* width: 157px;
    height: 27px; */
    width: 188px;
    height: 32px;
  }

  .linha-um {
    font-size: 30px;
  }

  .linha-um-fim {
    font-size: 30px;
    }

  .valor {
    font-size: 40px;
  }
  .container-slider {
    min-height: 20vh;
    padding: 100px 0px 0px 0px;
  }

  .logo {
    padding-right: 0px;
  }

  .pagamento {
    display: flex;
    flex-direction: column;
    font-size: 30px;
    width: 100%;
  }

  .text-inic {
    padding: 150px 0px 0px 0px;
    font-size: 25px;
  }

  .dicas1 {
    text-align: justify;
    padding: 20px;
  }

  .text-explic {
    font-size: 30px;
  }

  .final {
    font-size: 30px;
  }

  .modal-conteudo {
    font-size: 35px;
    max-width: 800px;
  }

  .btn-pagamento {
  font-size: 35px;
  }

  .btn-fechar {
    font-size: 35px;
  }
  
  .envia-cod {
  width: 90%;
  max-width: 480px;
  }
  
}
