@font-face {
  font-family: 'Exo';
  src: url('fontes/exo2.0-regular-webfont.woff') format('woff');  
  font-style: normal; font-weight: normal;
}  

@font-face {
  font-family: 'Font Awesome';
  font-style: normal; font-weight: 900;
  font-display: block;
  src: url('fontes//fa-solid-900.woff2') format('woff2');
}

* { cursor: url('img/cursor/cursor.cur') 7 2, auto !important; }  
input, textarea, select { cursor: url('img/cursor/text.cur') 7 2, text !important; }  
input:focus, textarea:focus, select:focus, input:active, textarea:active,
select:active { cursor: url('img/cursor/text.cur') 7 2, text !important; }
a, a:link, a:hover, a:active  { cursor: url('img/cursor/hand.cur') 7 2, pointer !important; outline: none !important; user-select: none !important; -webkit-tap-highlight-color: transparent !important;  }
button { cursor: url('img/cursor/hand.png') 7 2, pointer !important; outline: none !important; user-select: none !important; -webkit-tap-highlight-color: transparent !important; }

html, body {
  width: 100%; height: 100%; min-height: 100vh; margin: 0; padding: 0;
  justify-content: center; align-items: center;
  background: #58AD65;
  background: radial-gradient(circle,rgba(88, 173, 101, 1) 0%, rgba(6, 39, 37, 1) 100%);
  background-attachment: fixed; background-size: cover; background-repeat: no-repeat;
  font-family: 'Exo', 'Segoe UI', sans-serif;
}

.hidden { display: none !important; }

h1, h2, h3, h4, h5 { font-family: 'Exo', 'Segoe UI', sans-serif; color: #FFF; }
h1 { font-size: 1.6rem; font-weight: bold; margin: 0.5rem 0 0.5rem 0; }
h2 { font-size: 1.4rem; font-weight: bold; margin: 0.5rem 0 0.5rem 0; }
h3 { font-size: 1.2rem; font-weight: bold; margin: 0.5rem 0 0.5rem 0; }
p  { font-size: 1.0rem; color: #495057; margin: 0.5rem 0 0.5rem 0; }

@keyframes gradient {
  0% {background-position: 0% 0%;}
  50% {background-position: 100% 100%;}
  100% {background-position: 0% 0%;}
}

.portal-container { width: 90%; max-width: 1200px; margin: 20px auto; padding: 10px 20px 20px 20px; }

.cadastro-container {
  width: 90%; max-width: 1200px; margin: 30px auto; padding: 20px; box-sizing: border-box;
  border-radius: 20px; border: #58AD65D0 1px solid;
  box-shadow: 0 4px 20px #58AD65D0;
  background: #062725AA;
  backdrop-filter: blur(2px);
  font-size: 1rem; font-family: 'Exo', sans-serif; color: #FFF;
  display: flex; flex-direction: column; box-sizing: border-box;
  gap: 1px;
  justify-content: flex-start; align-items: center;
}

.cadastro-container h1 {
  font-family: 'Exo', sans-serif; text-align: center; font-size: 1.6rem; line-height: 1.2; color: #E2FF95;
  margin-bottom: 10px; font-weight: 700;
}

.cadastro-container h2 {
  font-family: 'Exo', sans-serif; text-align: center; font-size: 1.2rem; line-height: 1.2; color: #E2FF95;
  margin-bottom: 1rem; font-weight: 700;
}

.cadastro-header h1 {
  text-align: center;
  margin: 0 0 20px 0; /* Margem superior e inferior */
}

.login-header h1 {
  color: #FFFFFFC0;
  margin: 0;
  font-size: 1.2rem;
}

.login-header p {
  margin-top: 5px;
}

.login-form {
  width: 100%;
}

@media (max-width: 768px) {
  .login-container, .cadastro-container {
    max-width: 80%;
    min-width: 80%;
    padding: 20px;
  }
  .login-header h1 {
    color: #FFFFFFC0;
    margin: 0;
    font-size: 1rem;
  }
}

.form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  width: 100%;
  box-sizing: border-box;
  flex: 1;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: flex-start;
}

.form-group input,
.form-group select,
.form-group label {
  width: 100%;
}

.form-group select option {
  background-color: #011313 !important;
  color: #E2FF95 !important;
}

.form-group input::placeholder {
  color: #E3FF9550; /* Cinza claro para o placeholder */
}

/* Estiliza o primeiro option de cada select (usado como "placeholder") */
.form-group select option:first-child {
  color: #E3FF9550; /* mesma cor dos placeholders */
}

/* Garante que os demais options tenham cor normal */
.form-group select option:not(:first-child) {
  color: #E2FF95;
}

/* Select com "placeholder" ativo */
select.placeholder {
  color: #E3FF9550 !important;
}

/* Força a cor do texto inserido no campo de data */
input[type="date"] {
  color-scheme: dark; /* força fundo escuro e texto claro em navegadores modernos */
}

/* Adicional para Firefox */
input[type="date"]::-moz-placeholder {
  color: #E3FF9550;
  opacity: 0.5;
}

/* Adicional para WebKit (Chrome, Edge) */
input[type="date"]::-webkit-datetime-edit {
  color: #E3FF9550;
}

/* Estiliza o ícone do calendário (Chrome/Edge) */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: brightness(0) saturate(100%) invert(70%) sepia(26%) saturate(721%) hue-rotate(60deg) brightness(100%) contrast(90%);
  opacity: 0.8;
  cursor: pointer;
}


.form-group input, select, label { 
	width: 100%; 
  box-sizing: border-box;
	margin: 10px 0 10px 0px; 
	background: rgba(0,0,0,0.3);
	outline: none; 
	padding: 12px 10px;
  font-family: 'Exo', sans-serif;
	font-size: 1rem;
	color: #E2FF95;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	border: 1px solid rgba(0,0,0,0.3);
	border-radius: 10px;
	box-shadow: inset 0 -5px 45px rgba(100,100,100,0.2), 0 1px 1px rgba(255,255,255,0.2);
	-webkit-transition: box-shadow .5s ease;
	-moz-transition: box-shadow .5s ease;
	-o-transition: box-shadow .5s ease;
	-ms-transition: box-shadow .5s ease;
	transition: box-shadow .5s ease;
}

.form-group input:focus {
  box-shadow: inset 0 -5px 45px rgba(255, 212, 120, 0.15), 0 1px 1px rgba(255,255,255,0.2);  
  outline: none; /* Remove o contorno padrão do navegador */
}

.form-group label {
  width: 100%;
  color: #e3ff95b4;
  font-size: 1rem;
}

/* Esconde o checkbox padrão */
.container-label {
  display: flex; align-items: center;
  cursor: pointer;
  font-size: 1rem;
  user-select: none;
  gap: 10px; /* Espaçamento entre o texto e o checkmark */
}

.container-label label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #E2FF95;
}

.container-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0; width: 0;
}

/* Oculta o texto interno de data "dd/mm/aaaa" */
.ocultar-texto-nativo::-webkit-datetime-edit {
  color: transparent;
}
.ocultar-texto-nativo::-moz-placeholder {
  color: transparent;
}
.ocultar-texto-nativo::-ms-input-placeholder {
  color: transparent;
}
.ocultar-texto-nativo::placeholder {
  color: transparent;
}


/* Estilo do texto */
.checkbox-text span{
  color: #E2FF95; /* Cor do texto */
  font-size: 0.95rem;
}

/* Create a custom checkbox */
.checkmark {
  --clr: #3FA110;
  position: relative;
  top: 0; left: 0;
  height: 18px; width: 18px;
  background-color: #FFF;
  border: 2px solid #3FA110;
  border-radius: 5px;
  transition: 300ms;
}

/* When the checkbox is checked, add a blue background */
.container-label input:checked ~ .checkmark {
  background-color: var(--clr);
  border-radius: 5px;
  animation: pulse 500ms ease-in-out;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container-label input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container-label .checkmark:after {
  left: 4px; top: 2px;
  width: 0.25em; height: 0.5em;
  border: solid #FFF;
  border-width: 0 0.2em 0.2em 0;
  transform: rotate(45deg);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 #0B6E4F90;
    rotate: 20deg;
  }

  50% {
    rotate: -20deg;
  }

  75% {
    box-shadow: 0 0 0 10px #0B6E4F60;
  }

  100% {
    box-shadow: 0 0 0 13px #0B6E4F30;
    rotate: 0;
  }
}

.cadastrar-button {
  width: 80%; margin: 15px auto; padding: 10px; display: block;
  background: #58AD65;
  background: linear-gradient(0deg,rgba(75, 148, 90, 1) 0%, rgba(92, 180, 106, 1) 100%);
  border: 2px solid #58AD65; border-radius: 30px;
  font-family: 'Exo', sans-serif; font-weight: bold; color: #011313; font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.18s;
  box-shadow: 0 0px 8px rgba(0, 0, 0, 0.292);
}

.cadastrar-button:hover {
  background: #40804B;
  background: linear-gradient(0deg,rgba(64, 128, 75, 1) 0%, rgba(92, 180, 106, 1) 100%);
  transition: background-color 0.3s, transform 0.18s; transform: scale(1.05);
}

button:active {
  transform: scale(0.95); /* Efeito de clique */
}

.message { max-width: 280px; padding: 15px 15px; border-radius: 15px; text-align: center; }

.message.error { margin: 10px auto; max-width: 280px; background: #ff7b7bc9; border: 1px solid #FFFFFF3B; color: #FFF; }

.message.error p { color: #130505; }

.message.success {
  max-width: 280px; margin: 0 auto;
  background: #FFFFFF0E;
  border: 1px solid #FFFFFF3B;
  color: #E2FF95;
  word-wrap: break-word; overflow-wrap: break-word; white-space: normal; overflow: hidden; /* Oculta o conteúdo que ultrapassa o limite */
  text-overflow: ellipsis;  
}

/* ===== SEÇÃO DE PLANOS - ESTILO INDEX ===== */
.pricing-section {
  width: 100%;
  max-width: 100%;
  margin: 0px auto;
  padding: 0px;
  box-sizing: border-box;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-family: 'Exo', sans-serif;
  font-size: 1.6rem;
  line-height: 1.2;
  color: #E2FF95;
  margin-bottom: 10px;
  font-weight: 700;
}

.section-header p {
  font-family: 'Exo', sans-serif;
  font-size: 1.2rem;
  color: #e3ff95b4;
  font-weight: 400;
}

/* Planos Selector */
.plans-header {
  margin: 0 auto;
  max-width: 30%;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  background: #033333;
  padding: 8px 20px;
  justify-content: center;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(5px);
}

.plans-header h3 {
  margin: 0;
  color: #E2FF95;
  font-size: 1rem;
  font-weight: bold;
}

.plan-selector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  font-family: 'Exo', sans-serif;
}

.plan-buttons,
.toggle-buttons {
  display: flex;
  gap: 8px;
  background: linear-gradient(180deg,rgba(3, 56, 56, 1) 0%, rgba(3, 51, 51, 1) 100%);
  padding: 6px;
  border-radius: 25px;
  backdrop-filter: blur(5px);
}

.plan-btn,
.toggle-btn {
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Exo', sans-serif;
  color: #e3ff95b4;
  transition: all 0.3s ease;
  min-width: 80px;
}

.plan-btn.active,
.toggle-btn.active { background: #3FA110; color: #FFF; box-shadow: 0 2px 8px rgba(63, 161, 16, 0.3); }

.plan-btn:hover,
.toggle-btn:hover { background: rgba(63, 161, 16, 0.2); color: #E2FF95; }

/* Card do Plano */
.pricing-card {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(63, 161, 16, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  font-family: 'Exo', sans-serif;
  text-align: center;
  transition: all 0.3s ease;
  max-width: 500px;
  margin: 0 auto; box-sizing: border-box;
  position: relative;
}

.pricing-card.featured {
  border: 1px solid #FFB300;
  box-shadow: 0 8px 32px rgba(255, 179, 0, 0.2);
  position: relative; box-sizing: border-box;
}

.pricing-card.featured::before {
  content: 'MAIS POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #FFB300;
  color: #062725;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 0.8rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.plan-name {
  font-size: 1.3rem;
  font-weight: bold;
  color: #E2FF95;
  margin: 0 0 0.8rem 0;
}

.plan-price {
  font-family: 'Exo', sans-serif;
  font-size: 2.2rem;
  font-weight: bold;
  color: #3FA110;
  margin: 0.5rem 0 1.5rem 0;
}

.plan-price small {
  font-size: 1rem;
  color: #e3ff95b4;
  font-weight: normal;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.plan-features li {
  font-size: 0.95rem;
  color: #E2FF95;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 0;
  margin: 0;
}

.plan-features li:last-child { border-bottom: none; }
.plan-features li.inactive { color: #999; opacity: 0.6; }

.icon.ativo { color: #3FA110; font-weight: bold; font-size: 1rem; }
.icon.inativo { color: #999; font-size: 1rem; }

/* Botão de ação do plano */
.plan-action-button {
  width: 100%; box-sizing: border-box;
  background: #3FA110;
  color: #FFF;
  border: none;
  border-radius: 25px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  font-family: 'Exo', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(63, 161, 16, 0.3);
}

.plan-action-button:hover {
  background: #146E37;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(63, 161, 16, 0.4);
}

.plan-action-button:active { background: #3FA110; }

/* Tooltip para informações */
.tooltip {
  cursor: help;
  font-size: 0.8rem;
  color: #3FA110;
  position: relative;
}

.icon-info { width: 16px; height: 16px; fill: #3FA110; filter: invert(33%) sepia(78%) saturate(500%) hue-rotate(90deg) brightness(1.2); opacity: 0.7; }
.icon-info:hover { opacity: 1; }

/* Custom tooltip */
.custom-tooltip {
  position: fixed;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(-10px);
  max-width: 250px;
  line-height: 1.4;
}

.custom-tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

/* Estilos para usuários logados */
.plano-atual-info {
  background: rgba(63, 161, 16, 0.2);
  border: 1px solid #3FA110;
  border-radius: 15px;
  padding: 0px;
  margin: 20px auto;
  text-align: center;
  max-width: 400px;
}

.plano-atual-info p {
  color: #E2FF95 !important;
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
}

.destaque-plano-atual {
  background: #3FA110;
  color: #FFF !important;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  text-transform: capitalize;
}

.plano-atual-badge {
  background: #4B945A;
  color: #FFF;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  border: 2px solid #3FA110;
  cursor: default;
  display: inline-block;
}

/* Botão auxiliar estilo da tabela antiga */
.botao-escolher {
  display: block; margin: 0 auto;
  background: #3FA110;
  color: #FFF;
  border: none;
  border-radius: 20px;
  padding: 10px 30px;
  font-size: 1.08rem;
  font-family: 'Exo', sans-serif;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, transform 0.18s;
  box-shadow: 0 1px 7px #3fa11018;
}

.botao-escolher:hover {
  background: #033333;
  transform: scale(1.05);
}

/* Responsividade */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  .plans-header {
    max-width: 60%;
  }
  
  .plan-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .plan-btn {
    flex: 0 0 45%;
    text-align: center;
    margin: 2px;
    font-size: 0.85rem;
  }
  
  .toggle-buttons {
    max-width: 80%;
    gap: 5px;
  }
  
  .pricing-card {
    padding: 1.5rem;
  }
  
  .plan-price {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .plan-features li {
    padding: 8px 0;
    font-size: 0.9rem;
  }
  
  .plan-action-button {
    padding: 10px 20px;
    font-size: 1rem;
  }
  
  .plano-atual-info {
    margin: 15px auto;
    padding: 12px;
  }
  
  .plano-atual-info p {
    font-size: 1rem;
  }
  
  .destaque-plano-atual {
    padding: 4px 12px;
    font-size: 0.95rem;
  }
  
  .plano-atual-badge {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}

/* --- Responsividade do formulário --- */

/* Até 992px: de 3 colunas para 2 colunas */
@media (max-width: 992px) {
  .form {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Até 600px: coluna única */
@media (max-width: 600px) {
  .form {
    grid-template-columns: 1fr;
    gap: 1rem;             /* reduz um pouco o espaçamento */
  }
  .form-group {
    align-items: stretch;  /* faz inputs ocuparem toda a largura */
  }
}

/* --- Modal de Mensagem --- */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background: #062725;
  color: #E2FF95;
  padding: 30px 40px;
  border-radius: 20px;
  box-shadow: 0 0 20px #3fa110a0;
  font-size: 1.2rem;
  font-family: 'Exo', sans-serif;
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
  max-width: 90%;
  max-height: 80%;
  overflow-y: auto;
}

.modal-content p { color: #E2FF95; }

/* Modal de sucesso */
.modal.modal-success .modal-content {
  background: #062725;
  color: #E2FF95;
  box-shadow: 0 0 20px #3fa110a0;
  border: 2px solid #40804B;
}

/* Modal de erro */
.modal.modal-error .modal-content {
  background: #2d0a0a;
  color: #ffb3b3;
  box-shadow: 0 0 20px #ff4444a0;
  border: 2px solid #ff4444;
}

.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}


/* Estilos para mensagens de erro em tempo real */
.form-group .erro-data,
.form-group .erro-cpf-cnpj,
.form-group .erro-telefone,
.form-group .erro-email {
  color: #ff6b6b;
  font-size: 0.8rem;
  display: block;
  font-weight: normal;
}

/* Destaque para campos com erro */
input[style*="border-color: rgb(255, 107, 107)"],
input[style*="border-color: #ff6b6b"] {
  box-shadow: inset 0 -5px 45px rgba(255, 107, 107, 0.15), 0 1px 1px rgba(255,255,255,0.2) !important;
}