/* Fonte personalizada */
@font-face {
  font-family: "Now";
  src: url("./now/Now-Regular.otf") format("opentype");
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #0d6126;
  overflow-x: hidden;
  font-family: "Now", sans-serif;
}

/* Imagem principal */
.imagem-principal {
  width: 66vw;
  height: auto;

  position: absolute;
  top: 0;
  left: 0;

  object-fit: contain;
}

/* Menu lateral */
.menu {
  position: absolute; /* não fica fixo */
  top: 0;
  right: 0;

  width: 34vw;
  height: 100vh; /* aparece apenas na primeira seção */

  display: flex;
  flex-direction: column;
  align-items: center;

  padding-top: 30px;
  box-sizing: border-box;
}

/* Logo */
.logo {
  width: 280px; /* aumente este valor se quiser maior */
  height: auto;
  margin-bottom: 80px;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Botões do menu */
.menu a {
  background-color: #54b672;
  color: #e0be8d;

  font-family: "Now", sans-serif;
  font-size: clamp(18px, 2vw, 28px);

  text-decoration: none;

  width: 100%;          /* ocupa mais espaço */
  max-width: 650px;    /* largura máxima maior */
  min-width: 400px;

  padding: 12px 30px;

  border-radius: 999px;

  display: flex;
  align-items: center;
  gap: 15px;

  box-sizing: border-box;
  transition: 0.3s;
}

/* Ícone por imagem */
.menu a::before {
  content: "";

  width: 24px;
  height: 24px;

  background-image: url("imagens/estrela.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  display: block;
}

/* Hover */
.menu a:hover {
  transform: scale(1.05);
}

/* Seções */
.secao {
  height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  color: white;
  font-size: 40px;
}

.secao2 {
  width: 100%;
  min-height: 100vh;

  display: flex;

  background-color: #0d6126;
}

/* Div esquerda */
.lado-esquerdo {
  flex: 1.1;

  width: 66%;
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding-top: 60px;
  box-sizing: border-box;

  text-align: center;
}

/* Título */
.titulo-sec2 {
  font-family: "Now", sans-serif;
  color: #e0be8d;

  font-size: 52px;
  margin: 0;
}

/* Texto */
.texto-sec2 {
  color: white;

  font-size: 20px;
  line-height: 1.6;

  max-width: 700px;

  margin-top: 20px;
}

/* Imagem */
.imagem-sec2 {
  width: 80%;
  max-width: 700px;

  height: auto;

  margin-top: 40px;

  border-radius: 20px;

  transition: opacity 0.5s ease;
}

/* Lado direito */
.lado-direito {
  flex: 0.9;

  width: 34%;
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding-top: 60px;
  box-sizing: border-box;
}

/* Título */
.titulo-menu-sec2 {
  font-family: "Now", sans-serif;
  color: #e0be8d;

  font-size: 42px;

  margin: 0;
}

/* Menu */
.menu-sec2 {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 12px; /* espaço reduzido */

  justify-items: center;

  margin-top: 180px;
}

/* Botões */
.menu-sec2 a {
  background-color: white;
  color: #54b672;

  font-family: "Now", sans-serif;
  font-size: 22px;

  text-decoration: none;

  width: 100%;
  max-width: 320px;

  padding: 16px 20px;

  border: 3px solid #54b672;
  border-radius: 8px;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;

  box-sizing: border-box;

  transition: 0.3s;
}

/* Hover */
.menu-sec2 a:hover {
  background-color: #54b672;
  color: white;
}

/* Seção 3 */
.secao3 {
  width: 100%;
  min-height: 100vh;

  background-color: #0d6126;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding-top: 60px;
  box-sizing: border-box;
}

/* Título */
.titulo-sec3 {
  font-family: "Now", sans-serif;
  color: #e0be8d;

  font-size: 52px;

  margin: 0;
}

/* Container */
.container-sec3 {
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;

  margin-top: 120px;

  flex-wrap: wrap;
}

/* Cards */
.card-sec3 {
  width: 280px;
  height: 500px; /* altura fixa igual para todos */

  background: transparent;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 25px;
}

/* Título */
.titulo-card-sec3 {
  width: 100%;

  font-family: "Now", sans-serif;
  font-size: 30px;

  color: #e0be8d;

  background-color: #54b672;

  padding: 14px 30px;

  border-radius: 999px;

  margin: 0;

  text-align: center;

  box-sizing: border-box;
}

/* Área verde */
.area-botao-sec3 {
  width: 100%;
  height: 180px; /* altura fixa */

  flex-shrink: 0; /* impede diminuir */

  background-color: #0ba84a;

  border-radius: 24px;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 20px;
  box-sizing: border-box;
}

/* Botão */
.botao-card-sec3 {
  background: transparent;
  color: white;

  border: none;
  border-radius: 14px;

  width: 100%;
  max-width: 240px;

  padding: 18px 24px;

  font-family: "Now", sans-serif;
  font-size: 28px; /* texto maior */

  cursor: pointer;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;

  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

/* Ícone */
.icone-botao {
  width: 36px; /* ícone maior */
  height: 36px;

  object-fit: contain;
}

/* Hover */
.botao-card-sec3:hover {
  background-color: white;
  color: #0ba84a;

  transform: scale(1.08);
}


/* Frase */
.frase-card-sec3 {
  width: 100%;

  min-height: 110px; /* todas ocupam a mesma área */

  font-size: 18px;
  color: #333;

  background-color: #ffe7d6;

  padding: 16px;
  border-radius: 12px;

  text-align: center;

  margin: 0;

  box-sizing: border-box;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* Seção 4 */
.secao4 {
  width: 100%;
  min-height: 100vh;

  background-color: #0d6126;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  padding: 60px;
  box-sizing: border-box;
}

/* Imagem do topo */
.imagem-topo-sec4 {
  width: 260px;
  height: auto;

  object-fit: contain;
}

/* Texto central */
.texto-central-sec4 {
  font-family: "Now", sans-serif;

  font-size: 24px; /* tamanho normal */
  line-height: 1.8;

  color: white;

  text-align: center;

  max-width: 1000px;
}
/* Área dos botões */
.botoes-sec4 {
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Botões */
.botao-sec4 {
  background-color: #54b672;
  color: #e0be8d;

  text-decoration: none;

  font-family: "Now", sans-serif;
  font-size: 24px;

  padding: 16px 32px;

  border-radius: 999px;

  transition: 0.3s;
}

/* Hover */
.botao-sec4:hover {
  transform: scale(1.05);
}

/* =========================
   MOBILE - SEÇÃO 1
========================= */
@media (max-width: 1024px) {

  /* remove imagem lateral */
  .imagem-principal {
    display: none;
  }

  /* menu ocupa toda tela */
  .menu {
    position: relative;

    width: 100%;
    height: 100vh;

    padding: 40px 20px;

    justify-content: center;
  }

  /* logo menor */
  .logo {
    width: 200px;
    margin-bottom: 50px;
  }

  /* container dos links */
  .menu-links {
    width: 100%;
    align-items: center;
  }

  /* botões responsivos */
  .menu a {
    width: 100%;
    min-width: unset;
    max-width: 350px;

    font-size: 20px;

    justify-content: center;
  }

  /* remove seção vazia */
  #secao1 {
    display: none;
  }
}

/* =========================
   MOBILE - SEÇÃO 2
========================= */
@media (max-width: 1024px) {

  .secao2 {
    flex-direction: column;

    padding: 30px 20px;
    box-sizing: border-box;
  }

  /* lados ocupam largura total */
  .lado-esquerdo,
  .lado-direito {
    width: 100%;
    min-height: auto;

    padding-top: 20px;
  }

  /* remove proporções desktop */
  .lado-esquerdo,
  .lado-direito {
    flex: unset;
  }

  /* título principal */
  .titulo-sec2 {
    font-size: clamp(30px, 7vw, 52px);

    text-align: center;
  }

  /* texto */
  .texto-sec2 {
    font-size: 18px;

    width: 100%;
    max-width: 100%;

    padding: 0 10px;
    box-sizing: border-box;
  }

  /* imagem */
  .imagem-sec2 {
    width: 95%;

    margin-top: 30px;
  }

  /* título do menu */
  .titulo-menu-sec2 {
    font-size: clamp(28px, 6vw, 42px);

    margin-top: 30px;
  }

  /* menu */
  .menu-sec2 {
    grid-template-columns: 1fr;

    width: 100%;

    margin-top: 40px;

    gap: 16px;
  }

  /* botões */
  .menu-sec2 a {
    max-width: 100%;

    font-size: 18px;

    padding: 18px 16px;
  }

}

/* =========================
   MOBILE - SEÇÃO 3
========================= */
@media (max-width: 1024px) {

  .secao3 {
    padding: 40px 20px;
  }

  /* título */
  .titulo-sec3 {
    font-size: clamp(30px, 7vw, 52px);

    text-align: center;
  }

  /* container */
  .container-sec3 {
    margin-top: 50px;

    flex-direction: column;

    gap: 50px;
  }

  /* cards */
  .card-sec3 {
    width: 100%;
    max-width: 340px;

    height: auto;
  }

  /* título do card */
  .titulo-card-sec3 {
    font-size: 24px;

    padding: 14px 20px;
  }

  /* área verde */
  .area-botao-sec3 {
    height: auto;

    padding: 24px;
  }

  /* botão */
  .botao-card-sec3 {
    font-size: 24px;

    padding: 20px;

    max-width: 100%;
  }

  /* ícone */
  .icone-botao {
    width: 32px;
    height: 32px;
  }

  /* frase */
  .frase-card-sec3 {
    min-height: auto;

    font-size: 17px;

    padding: 18px;
  }

}

/* =========================
   MOBILE - SEÇÃO 4
========================= */
@media (max-width: 1024px) {

  .secao4 {
    justify-content: center;

    gap: 40px;

    padding: 40px 20px;
  }

  /* logo */
  .imagem-topo-sec4 {
    width: 180px;
  }

  /* texto */
  .texto-central-sec4 {
    font-size: clamp(18px, 4vw, 24px);

    line-height: 1.6;

    width: 100%;
  }

  /* área dos botões */
  .botoes-sec4 {
    flex-direction: column;

    gap: 20px;
  }

  /* botões */
  .botao-sec4 {
    width: 100%;
    max-width: 320px;

    text-align: center;

    font-size: 20px;

    padding: 18px 24px;
  }

}