/* style.css */

body,
html {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.container {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100vh;
}

.page {
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Cabeçalho fixo */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  padding: 0.5rem 10rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 100;
  width: 100%;
  box-sizing: border-box;
}

.logo img {
  width: 150px;
  height: auto;
  display: block;
}

/* Redes sociais no header */
.redes-header {
  display: flex;
  gap: 1rem;
}

.redes-header a img {
  width: 40px;
  height: 40x;
  transition: transform 0.3s ease;
}

.redes-header a:hover img {
  transform: scale(1.1);
}


.whatsapp-btn {
  color: #115b8f;
  border: 2px solid #0796fa;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 20px;
  background: transparent;
  font-weight: 600;
  white-space: nowrap;
  margin-left: auto;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: 80px;
  padding: 80px 8rem 0;
}

.hero-left h1 {
  color: #0796fa;
  font-size: 2.6rem;
  font-weight: 700;
  text-align: left;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.2;
}

.destaque {
  color: #115b8f;
  font-weight: bold;
}

.hero-left p {
  margin-top: 0.5rem;
  margin-bottom: 3rem;
  font-size: 1.2rem;
  color: #115b8f;
}

.whatsapp-btns1 {
  color: #115b8f;
  border: 2px solid #0796fa;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 20px;
  background: transparent;
  font-weight: 600;
  white-space: nowrap;
}

.hero-right .mini-servicos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  padding-left: 5rem;
  align-items: center;
}

.servico {
  width: 100%;
  max-width: 250px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: left;
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.servico:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.servico img {
  width: 180px;
  height: auto;
}

.servico p {
  font-size: 1rem;
  text-align: left;
  color: #115b8f;
  font-weight: bold;
  margin-top: 0.5rem;
}


/* Sessões Google / Facebook */
.servico-google,
.servico-facebook {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  min-height: 100vh;
  padding: 120px 5rem 60px;
  /* topo, laterais, base */
  box-sizing: border-box;
}

.servico-google .texto,
.servico-facebook .texto {
  text-align: left;
  color: #115b8f;
  margin-bottom: 0.5rem;
}

.servico-google .texto img {
  width: 25rem;
  /* ou outro valor menor */
  height: auto;
  margin-bottom: 0.2rem;
  /* espaço abaixo da imagem */
}

.servico-facebook .texto img {
  width: 22rem;
  /* ou outro valor menor */
  height: auto;
  margin-bottom: 0.2rem;
  /* espaço abaixo da imagem */
}

.servico-google .quadros,
.servico-facebook .quadros {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 0.2rem;
  /* reduz espaço antes do botão */
}

.quadros div {
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #115b8f;
  font-size: 1rem;
  text-align: left;
}

.quadros img {
  width: 60px;
  height: auto;
}


/*sessão 4 - quem sou*/

.page-4 {
  background-color: #0796fa;
  color: white;
}

.sessao-quemsou {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
  padding: 0 10rem;
  box-sizing: border-box;
  gap: 2rem;
}

.lado-texto {
  flex: 1;
}

.lado-texto h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.lado-texto p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: white;
  margin-bottom: 2rem;
}

.btn-principal {
  color: #fff;
  border: 2px solid #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 20px;
  background: transparent;
  font-weight: 600;
  white-space: nowrap;
}

.lado-foto {
  flex: 0 0 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5rem;
  box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.3);
}

.lado-foto img {
  width: 350px;
  height: 430px;
  border: 8px solid #ffffff;
  object-fit: cover;
}

/*sessão 5 - final*/

.page-5 {
  background-color: #236aa6;
  color: white;
  min-height: 100vh;
  padding: 120px 10rem 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.conteudo-final {
  text-align: center;
  margin: auto 0;
}

.conteudo-final h1 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
  color: white;
}

.conteudo-final h2 {
  font-size: 1.5rem;
  margin-bottom: 4rem;
  color: white;
}

.conteudo-final .btn-principal {
  background-color: #fff;
  color: #115b8f;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

.rede-social {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  text-align: center;
}

.rede-social .chamada-redes {
  font-size: 1rem;
  color: white;
  font-weight: 500;
  margin: 0;
}

.icones-redes {
  display: flex;
  gap: 1rem;
}

.icones-redes img {
  width: 50px;
}


/* Rodapé fixo no final da sessão */
.rodape {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: white;
  padding-top: 5rem;
  gap: 1rem;
  flex-wrap: nowrap;
}

.rodape a {
  color: white;
  text-decoration: underline;
}


@media (min-width: 768px) {

  .hero,
  .servico-google,
  .servico-facebook,
  .sobre-mim {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    text-align: left;
  }

  .hero-left,
  .texto,
  .quadros {
    flex: 1;
    max-width: 50%;
  }

  .hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
  }
}

/* Transição suave para todos os elementos interativos */
.btn-principal,
.whatsapp-btn,
.whatsapp-btns1,
.quadros div {
  transition: all 0.5s ease;
  cursor: pointer;
}

/* Animação em botões - desktop */
.btn-principal:hover,
.whatsapp-btn:hover,
.whatsapp-btns1:hover {
  background-color: #ffffff;
  color: #0796fa;
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Animação nos quadros - desktop */
.quadros div:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

/* Transição e animação suave nos quadros da Sessão 1 */
.mini-servicos .servico {
  transition: all 0.3s ease;
  cursor: pointer;
}

.mini-servicos .servico:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Feedback de toque em dispositivos móveis */
.mini-servicos .servico:active {
  transform: scale(0.97);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

/* sessão 6 - formulário modal */
.formulario-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.formulario-box {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.formulario-box h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #115b8f;
}

.formulario-box p {
  font-size: 1rem;
  color: #0796fa;
  margin-bottom: 1.5rem;
}

/* Inputs mais refinados */
.formulario-box input {
  width: 100%;
  padding: 0.75rem 0;
  margin: 0.75rem 0;
  border: none;
  border-bottom: 2px solid #ccc;
  background: transparent;
  font-size: 1rem;
  color: #333;
  outline: none;
  transition: border-color 0.3s;
}

.formulario-box input:focus {
  border-bottom-color: #115b8f;
}

/* Botão "Continuar" */
.formulario-box .btn-principal {
  background-color: #ccc;
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: bold;
  cursor: not-allowed;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

.formulario-box .btn-principal.ativo {
  background-color: #115b8f;
  cursor: pointer;
}

/* Botão "Cancelar" */
.fechar-modal {
  background: transparent;
  border: none;
  color: #115b8f;
  margin-top: 1rem;
  cursor: pointer;
  font-weight: bold;
  display: inline-block;
}

/* Responsivo */
@media (max-width: 480px) {
  .formulario-box {
    padding: 1.5rem;
  }

  .formulario-box h2 {
    font-size: 1.25rem;
  }

  .formulario-box input {
    font-size: 0.95rem;
  }
}



/* Sessão 1 mobile*/
@media (max-width: 767px) {

  .hero,
  .servico-google,
  .servico-facebook,
  .sobre-mim {
    flex-direction: column;
    padding: 10px 1.2rem 1.5rem;
    align-items: center;
    text-align: center;
  }

  .hero-left,
  .texto,
  .quadros {
    max-width: 100%;
    padding: 0;
  }

  .hero-right {
    justify-content: center;
    padding-top: 0.3rem;
  }

  .quadros {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .quadros div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-start;
    text-align: left;
  }

  .quadros img {
    width: 30px;
  }

  .logo img {
    width: 110px;
  }

  .header {
    padding: 0.5rem 1.5rem;
  }

  .whatsapp-btn {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  .hero-left h1 {
    color: #0796fa;
    font-size: 1.7rem;
    font-weight: 700;
    text-align: left;
    margin-top: 0;
    margin-bottom: 0;
  }

  .destaque {
    color: #115b8f;
    font-weight: bold;
  }

  .hero-left p {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #115b8f;
  }

  .hero-right .mini-servicos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  padding-left: 0; /* Removi o padding para centralizar melhor */
  align-items: center; /* Centraliza os quadros */
  justify-content: center;
}

 .servico {
  width: 90%;          /* ocupa quase toda largura do container */
  max-width: 290px;    /* limite máximo para telas maiores dentro do mobile */
  height: auto;        /* altura automática para melhor responsividade */
  padding: 1.2rem;     /* mais espaço interno */
  box-sizing: border-box; /* garante que padding não aumente largura */
  text-align: center;  /* texto centralizado */
}

  .servico img {
  width: 140px;  /* imagem maior e proporcional */
  height: auto;
  margin-bottom: 0.2rem; /* espaço abaixo da imagem */
}

  .servico h3 {
    margin: 0.5rem 0 0.2rem;
    color: #115b8f;
    font-size: 1rem;    
  }

  .servico p {
  font-size: 1rem;
  text-align: left;
  color: #115b8f;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
}

  .whatsapp-btns1 {
    display: none;
    visibility: hidden;
  }

  /* Sessão 2*/

  /* Sessões Google / Facebook */
  .servico-google,
  .servico-facebook {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    min-height: 100vh;
    padding: 5px 1.5rem 15px;
    /* topo, laterais, base */
    box-sizing: border-box;
  }

  .servico-google .texto,
  .servico-facebook .texto {
    text-align: left;
    color: #115b8f;
    margin-bottom: 0.2rem;
  }

  .servico-google .texto img {
    width: 12rem;
    /* ou outro valor menor */
    height: auto;
    margin-bottom: 0.1rem;
    /* espaço abaixo da imagem */
  }

  .servico-facebook .texto img {
    width: 10rem;
    /* ou outro valor menor */
    height: auto;
    margin-bottom: 0.2rem;
    /* espaço abaixo da imagem */
  }

  .servico-google .quadros,
  .servico-facebook .quadros {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 0.2rem;
    /* reduz espaço antes do botão */
  }

  .quadros div {
    background: #fff;
    padding: 0.5rem;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #115b8f;
    font-size: 0.8rem;
    text-align: left;
  }

  .quadros img {
    width: 35px;
    height: auto;
  }

  .texto h3 {
    margin: 0.3rem 0 0.2rem;
    color: #115b8f;
    font-size: 1.5rem;
  }

  .texto p {
    font-size: 1rem;
    text-align: justify;
    color: #115b8f;
  }

  /*sessão 4 - quem sou*/

  .page-4 {
    background-color: #0796fa;
    color: white;
  }

  @media (max-width: 600px) {
    .sessao-quemsou {
      flex-direction: column !important;
      align-items: center;
      text-align: center;
      padding: 2rem 1rem 2rem;
      /* mais espaçamento em cima */
      min-height: auto !important;
      /* remove altura fixa */
      gap: 1.2rem;
    }

    .lado-foto {
      flex: none !important;
      width: 90%;
      max-width: 280px;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .lado-foto img {
      width: 100%;
      height: auto;
      border: 4px solid #ffffff;
      object-fit: contain;
      /* manter proporção e evitar corte */
      border-radius: 12px;
    }

    .lado-texto {
      width: 100%;
      padding: 0 1rem;
    }

    .lado-texto h2 {
      font-size: 1.2rem;
      /* diminui título */
      margin-top: 0;
      /* remove margem que pode colar no topo */
      margin-top: 3rem;
      margin-bottom: 1rem;
    }

    .lado-texto p {
      font-size: 0.9rem;
      /* texto menor e mais legível */
      line-height: 1.5;
      margin-bottom: 1.3rem;
      text-align: justify;
    }

    .btn-principal {
      padding: 0.7rem 1.5rem;
      font-size: 1rem;
    }
  }


  /*sessão 5 - final*/
  .page-5 {
    background-color: #236aa6;
    color: white;
    min-height: 100vh;
    padding: 10px 1rem 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .conteudo-final {
    text-align: center;
    margin: auto 0;
  }

  .conteudo-final h1 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 0.2rem;
    color: white;
  }

  .conteudo-final h2 {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: white;
  }

  .conteudo-final .btn-principal {
    background-color: #fff;
    color: #115b8f;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .rede-social {
    width: 100%;
    display: flex;
    justify-content: center;
    /* centraliza horizontalmente */
    align-items: center;
    /* centraliza verticalmente */
    gap: 1rem;
    margin-top: 1rem;
    /* espaçamento entre os ícones */
    margin-bottom: 5rem;
    /* espaçamento do conteúdo acima */
  }

  .rede-social img {
    width: 70px;
  }

  /* Rodapé fixo no final da sessão */
  .rodape {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.3rem;
    color: white;
    padding-top: 0.5rem;
    gap: 1rem;
    flex-wrap: nowrap;
  }

  .direitos {
    color: white;
    text-decoration: none;
    font-size: 0.4rem;
    text-align: center;
  }

  .rodape a {
    color: white;
    text-decoration: none;
    font-size: 0.4rem;
  }

  /* Feedback no toque para mobile */
.btn-principal:active,
.whatsapp-btn:active,
.whatsapp-btns1:active,
.quadros div:active {
  transform: scale(0.97);
  box-shadow: 0 0 8px rgba(255,255,255,0.3);
}


}

/* Aviso de Cookies (LGPD) */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #115b8f;
  color: white;
  padding: 1rem 2rem;
  display: none;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  z-index: 9999;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
  flex-wrap: wrap;
}

#cookie-banner p {
  margin: 0;
  flex: 1 1 70%;
}

#cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

#cookie-banner button {
  background: white;
  color: #115b8f;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    text-align: center;
  }

  #cookie-banner p {
    margin-bottom: 0.5rem;
  }
}