*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body{
    font-family: 'Open Sans', sans-serif;
}

/* DIMENSÕES COMPUTADOR */

header, footer{
    width: 100%;
}

main{
    max-width: 1000px;
    margin: 0 auto;
}

/*-----------------------------------------------------------*/

/* CABEÇALHO */
header {
    display: flex;
    justify-content: center; /* Centraliza a logo */
    align-items: center;
    padding: 20px 0;
}

/* Logo */
header .logo {
    width: 150px;
    text-align: center;
}

header .logo img {
    width: 100px;
    height: 100px;
}

/*-----------------------------------------------------------*/

/* APRESENTAÇÃO */
.apresentacao {
    text-align: center;
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.apresentacao-texto h1 {
    font-size: 65px;
    color: #323232;
    margin-bottom: 20px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    line-height: 65px;
}

.apresentacao-texto .verde {
    color: #85c128;
}

.apresentacao-texto p {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
    font-family: 'Open Sans', sans-serif;
}

.apresentacao-imagem img {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 20px 0;
    z-index: 1;
    margin-top: -250px;
    margin-bottom: -100px;
}

.apresentacao-texto{
    position: relative;
    z-index: 2;
}

.apresentacao-texto p, .apresentacao-form{
    position: relative;
    z-index: 2;
}

.apresentacao-form {
    margin-top: 30px;
}

.apresentacao-form button {
    padding: 12px 40px;
    border: none;
    background-color: #85c128;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    border-radius:6px;
    transition: 0.3s;
}

.apresentacao-form button:hover {
    background-color: #6fa31f;
}

.apresentacao-form .mensagem {
    margin-top: 12px;
    font-size: 12px;
    color: #172314;
}

/* Responsividade - Mobile */
@media (max-width: 768px) {
    .apresentacao {
        padding: 40px 15px;
    }

    .apresentacao-texto h1 {
        font-size: 32px; /* menor para caber na tela */
        line-height: 38px;
        margin-bottom: -130px;
    }

    .apresentacao-texto p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .apresentacao-imagem img {
        max-width: 100%;
        margin: 0 auto;
        margin-top: 10px;  /* remove sobreposição */
        margin-bottom: 20px;
    }

    .apresentacao-form button {
        width: 100%; /* botão ocupa toda a largura */
        padding: 14px;
        font-size: 14px;
    }

    .apresentacao-form .mensagem {
        font-size: 11px;
    }
}


/*-----------------------------------------------------------*/

/* PROBLEMAS */
.problemas {
    text-align: center;
    padding: 30px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.problemas h2 {
    font-size: 28px;
    margin-bottom: 50px;
    color: #2d4d1e;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

.problemas-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Responsivo */
}

.problemas-cards .card:nth-child(1) {
    background-image: url("images/destino.png");
}

.problemas-cards .card:nth-child(2) {
    background-image: url("images/morosa.png");
}

.problemas-cards .card {
    flex: 1;
    min-width: 300px;
    max-width: 465px;
    height: 450px;
    border-radius: 20px;
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
    background: linear-gradient(135deg, #4caf50, #a8e063); /* Fundo padrão */
    background-size: cover; /* Para usar imagem depois */
    background-position: center;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.problemas-cards .card:hover {
    transform: translateY(-8px);
}

.problemas-cards .card h3 {
    font-size: 27px;
    margin-bottom: 10px;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    color: #fff;
}

.problemas-cards .card p {
    font-size: 14px;
    line-height: 1.4em;
    color: white;
}


.problemas-cards .card {
    position: relative; /* necessário para o ::before */
    overflow: hidden;   /* evita que o gradiente vaze */
    flex: 1;
    min-width: 300px;
    max-width: 465px;
    height: 450px;
    border-radius: 20px;
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
    background-size: cover;
    background-position: center;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.problemas-cards .card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 40%, rgba(0,0,0,0) 100%);
    z-index: 1;
    border-radius: 20px;
}

/* Garante que o texto fique sobre o degradê */
.problemas-cards .card h3,
.problemas-cards .card p {
    position: relative;
    z-index: 2;
}


/*-----------------------------------------------------------*/


/* SOLUÇÃO */
.solucao {
    text-align: center;
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.solucao h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #2d4d1e;
    font-weight: 300;
    font-family: 'Open Sans', sans-serif;
}

/* Menu de soluções */
.solucao-menu {
    margin-bottom: 40px;
}

.solucao-menu button {
    border: 1px solid #2d4d1e;
    background: transparent;
    color: #2d4d1e;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.solucao-menu button:hover,
.solucao-menu button.active {
    background: #85c128;
    color: #fff;
    border-color: #85c128;
}

/* Conteúdo */
.solucao-conteudo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 60px 20px;
}

.solucao-imagem {
    width: 270px;
    height: 270px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4caf50, #a8e063);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.solucao-direita{
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.solucao-texto {
    max-width: 500px;
    text-align: left;
}

.solucao-texto h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2d4d1e;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
}

.solucao-texto p {
    font-size: 15px;
    line-height: 1.6em;
    color: #444;
    margin-bottom: 25px;
    text-align: justify;
}

.solucao-botao {
    background: #6bc42a;
    color: #fff;
    border: none;
    padding: 20px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    margin-top: 70px;
}

.solucao-botao:hover {
    background: #6fa31f;
}

@media (max-width: 768px){
  .solucao-menu{
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    flex-wrap: wrap;
    margin-bottom: -50px;
  }
}

/*-----------------------------------------------------------*/

/* METODOLOGIA */
.como-trabalhamos {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  font-family: "Arial", sans-serif;
}

.como-trabalhamos h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #3b6e22;
  font-weight: 300;
  font-family: 'Open Sans', sans-serif;
}

.passos {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  background: #f6f6f6;
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  transition: transform 0.2s ease-in-out;
  border: 0.5px solid #d2d2d2;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #3b6e22;
  font-weight: 400;
  font-family: 'Open Sans', sans-serif;
}

.card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

/* Responsividade */
@media (min-width: 768px) {
  .passos {
    flex-direction: row;
  }
  .card {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .card{
    height: 300px;
  }
}

/*-----------------------------------------------------------*/

/* TRABALHE CONOSCO */

.trabalhe-conosco {
  padding: 60px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.trabalhe-conosco h2 {
  font-size: 26px;
  margin-bottom: 40px;
  color: #3b6e22;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}

.conteudo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.imagem {
  width: 415px;
  height: 220px;
  border-radius: 12px;
  background-image: url("images/conosco.png");
  background-size: cover;
}

.texto {
  text-align: left;
  max-width: 500px;
}

.texto h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #3b6e22;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

.texto p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  background: #6bc42a;
  color: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  width: 100%;
  text-align: center;
}


.btn a{
    text-decoration: none;
}

.btn:hover {
  background: #4ca42b;
}

/* Responsividade */
@media (min-width: 768px) {
  .conteudo {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .imagem {
    flex: 1;
  }
  .texto {
    flex: 2;
  }
}

@media (max-width: 768px){
  .imagem{
    width: 100%;
  }
}

/*-----------------------------------------------------------*/

/* BENEFÍCIOS */

.beneficios {
  padding: 60px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.beneficios h2 {
  font-size: 26px;
  margin-bottom: 40px;
  color: #2e430f;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}

.beneficios .cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto 40px auto;
}

.beneficios .card {
  color: #4CAF50;
  padding: 35px;
  border-radius: 16px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 1px solid #3b6e22;
  border-top: 1px solid #3b6e22;
  background: #f6f6f6;
  border: 0.5px solid #d2d2d2;
}

.beneficios .card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

.beneficios .card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #172314;
}

.beneficios .card p {
  font-size: 1rem;
  line-height: 1.5;
  color: #172314;
}

.descricao {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

/* Responsivo */
@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* Responsividade - Mobile */
@media (max-width: 768px) {
  .beneficios {
    padding: 40px 15px;
  }

  .beneficios h2 {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .beneficios .cards {
    grid-template-columns: 1fr; /* já força 1 card por linha */
    gap: 15px;
  }

  .beneficios .card {
    text-align: left; /* centraliza no mobile */
    height: 200px;
  }

  .beneficios .card h3 {
    font-size: 1.1rem;
  }

  .beneficios .card p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .beneficios ion-icon {
    font-size: 32px; /* menor que no desktop */
    margin-bottom: 10px;
    display: block;
    color: #4CAF50;
  }

  .descricao {
    font-size: 0.95rem;
    padding: 0 10px;
  }
}


/*-----------------------------------------------------------*/

/* CONTATOS */
/* Fundo ocupa 100% */
.contratos {
  background-color: #c6e08c; /* verde */
  width: 100%;
  padding: 60px 20px;
  margin-top: 50px;
}

/* Conteúdo limitado e centralizado */
.contratos .container {
  max-width: 500px;
  margin: 0 auto;
  text-align: center; /* centraliza título e formulário */
}

/* Formulário */
.form-contato {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center; /* centraliza os campos */
}

.form-contato label {
  align-self: flex-start;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.form-contato input {
  width: 100%;
  max-width: 500px;
  padding: 14px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
}

.form-contato button {
  background-color: #2d400f;
  color: white;
  font-weight: bold;
  padding: 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  max-width: 500px;
  width: 100%;
}

.form-contato button:hover {
  background-color: #1b2609;
}

/*-----------------------------------------------------------*/

/* RESULTADOS */
.resultados {
  padding: 60px 20px;
  text-align: center;
}

.resultados-box {
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-radius: 20px;
  padding: 40px;
  gap: 40px;
}

.container h2{
  font-size: 26px;
  margin-bottom: 40px;
  color: #2e430f;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}

/* Área visível da roleta (3 meses) */
.roleta-wrapper {
  height: 150px;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

/* Lista completa */
.roleta {
  display: flex;
  flex-direction: column;
  transition: transform 1s ease-in-out;
}

.mes {
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(98, 98, 98, 0.4);
  gap: 20px; /* espaço entre texto e unidades */
}

.mes.ativo {
  background: #4ca42b;
  color: white;
  border-radius: 10px;
  position: relative; /* necessário pro pseudo-elemento */
  z-index: 1;
}

.mes.ativo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  z-index: -1; /* joga atrás do conteúdo */
}

.total h1 {
  font-size: 100px;
  font-weight: bold;
  color: #323232;
  margin: 0;
}

.total p {
  font-size: 18px;
  color: #2d2d2d;
}

ion-icon{
    margin-bottom: 30px;
    font-size: 25px;
}

@media (max-width: 768px){
  .resultados-box{
    flex-wrap: wrap;  
    justify-content: center;
    align-items: center;
  }
}

/*-----------------------------------------------------------*/

/* ONDE ESTAMOS */
.onde-estamos {
  padding: 60px 20px;
  text-align: center;
}

.onde-estamos h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #3b6e22;
  font-weight: 300;
  font-family: 'Open Sans', sans-serif;
}

/* CAMPO DE BUSCA */
.search-box {
  max-width: 400px;
  margin: 0 auto 20px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: 2px solid #77c043;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
}

.search-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* LISTA DE SUGESTÕES */
#suggestions {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 100%;
  background: white;
  border: 1px solid #ccc; /* mais neutro */
  border-radius: 0 0 8px 8px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* suave */
}

#suggestions li {
  padding: 10px;
  cursor: pointer;
  font-size: 14px;
  background-color: #f4f4f4; /* cinza claro */
  color: #333;
  border-bottom: 1px solid #ddd;
  transition: background 0.2s;
}

#suggestions li:hover {
  background-color: #ccc; /* um cinza mais escuro ao passar o mouse */
  color: #000;
}

/*-----------------------------------------------------------*/

/* Mensagem de sucesso */
.sucesso {
  margin-top: 20px;
  padding: 12px;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  display: none; /* começa escondido */
  font-weight: 500;
}
.escolha-usuario{
  display: flex;
  width: 100%;
  justify-content: center;
}
.escolha-usuario .content-intern input[type="radio"]{
  width: 100%;
  accent-color: #167823;
}

.escolha-usuario .content-intern{
  margin-right: 30px;
}

#label-you{
  margin: 0 auto;
  text-align: center;
}