/* VARIAVEIS */
:root {
  --cor-principal: #b87463;
  --cor-secundaria: #9fb59a;
  --fundo-claro: #e7ded7;
  --apoio-quente: #d8b8a2;
  --bg-color: #fcfaf5;
}

/* RESET CSS */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  text-decoration: none;
}

p {
  color: #444444;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: var(--bg-color);
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: black;
}

/* buttons */

.btn {
  margin: 0 auto;
  display: block;
}

.btn-whatsapp {
  background: var(--cor-principal);
  border: none;
  font-family: "Poppins", sans-serif;
  color: white;
  padding: 10px 15px;
  font-size: 1em;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.btn-whatsapp:hover,
.btn-whatsapp:active {
  transform: scale(1.05);
}

/* CLASSES */

.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  box-sizing: border-box;
}

.flex {
  display: flex;
}

.wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.center-justify {
  justify-content: center;
}

.around-space {
  justify-content: space-around;
}

.header {
  border-bottom: 1px solid #eeafa070;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 0;
  background-color: #e7ded7;
}

.menu a {
  padding: 0 20px;
}

.menu a,
.nav-footer {
  text-decoration: none;
  color: var(--cor-principal);
}

.menu a:hover {
  text-decoration: underline;
}

.logo a img {
  height: 55px;
  margin-left: -10px;
}

.hero {
  margin-top: -100px;
  background: linear-gradient(
    180deg,
    rgba(231, 222, 215, 1) 0%,
    rgba(184, 116, 99, 0.44) 100%
  );
}

.hero .container-hero {
  min-height: 75vh;
}

.hero .container-hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1.3rem;
}

.hero .container-hero p {
  font-size: 1rem;
  line-height: 1.4rem;
  margin-bottom: 2rem;
}

.servicos-container {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  padding: 20px;
}

.servicos-container h2 {
  text-align: center;
  font-size: 2.9rem;
  margin-bottom: 30px;
}

.servicos-container .container > p {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  text-align: center;
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.4rem;
}

.card-servicos {
  max-width: 525px;
  background: linear-gradient(
    180deg,
    rgba(231, 222, 215, 1) 0%,
    rgba(184, 116, 99, 0.44) 100%
  );
  padding: 40px 20px;
  border-radius: 12px;
  margin-bottom: 40px;
  text-align: left;
}

.card-servicos img {
  width: 55px;
  margin-left: -10px;
}

.card-servicos h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.card-servicos ul li {
  margin-bottom: 10px;
}

.sobre {
  margin-bottom: 2rem;
}

.sobre h2 {
  font-size: 2.9rem;
  margin-bottom: 2rem;
}

.sobre h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.sobre p {
  line-height: 1.4rem;
  margin-bottom: 1rem;
}

.jornada-container {
  padding: 60px 0;
  text-align: center;
}

.jornada-container h2 {
  font-size: 2.9rem;
  font-family: "Playfair Display", serif;
  margin-bottom: 40px;
}

.jornada-container h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.card-jornada {
  flex: 1;
  min-width: 280px;
  text-align: center;
  padding: 20px;
}

.card-jornada p {
  line-height: 1.4rem;
  text-align: center;
}

/* Estilo geral do container */
.faq-container {
  max-width: 770px;
  margin: 0 auto;
  padding: 20px;
}

.faq-container h2 {
  text-align: center;
  font-size: 2.9rem;
  margin-bottom: 30px;
}

.faq-container .container p {
  text-align: center;
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.4rem;
  margin-bottom: 3rem;
}

/* Estilo de cada item do FAQ */
.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
  border-radius: 12px;
}

/* Estilo do botão de pergunta */
.faq-question {
  background-color: var(--cor-secundaria);
  color: #333;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 12px;
  transition: 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

/* Efeito ao passar o mouse ou quando a pergunta está ativa */
.faq-question:hover,
.faq-question.active {
  background-color: var(--cor-secundaria);
  color: white;
}

/* Estilo do conteúdo da resposta (escondido por padrão) */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: white;
}

.faq-answer p {
  padding: 15px 18px;
  margin: 0;
  color: #555;
  line-height: 1.6;
}

/* Gira o ícone quando aberto */
.faq-question.active .icon {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.contato-container {
  max-width: 730px;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
  padding: 15px;
  background: linear-gradient(
    60deg,
    rgba(159, 181, 154, 1) 0%,
    rgba(231, 222, 215, 1) 100%
  );
  border-radius: 12px;
}

.contato-container .container > div {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  height: 40px;
  width: 40px;
  padding: 20px;
  background: #ffffff88;
  border-radius: 50%;
}

.contato-container h3 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.contato-container p {
  text-align: center;
  margin-bottom: 15px;
}

.contato-container button {
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: none;
}

.contato-container button:hover {
  transform: scale(1.05);
}

/* Overlay do Popup */
.modal-overlay {
  display: none; /* Escondido por padrão */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Caixa do Formulário */
.modal-content {
  background: white;
  padding: 25px;
  border-radius: 10px;
  max-width: 320px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
}

.modal-content h3 {
  margin-top: 0;
  color: #333;
}

.modal-content p {
  line-height: 1.4em;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box; /* Garante que o padding não quebre a largura */
}

.modal-content textarea {
  height: 80px;
  resize: none;
}

.btn-send {
  width: 100%;
  padding: 10px;
  background-color: var(--cor-principal);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2 ease-in;
}

.btn-send:hover {
  transform: scale(1.02);
}

/* Botão de Fechar */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 20px;
  color: #999;
}

/*Rodapé*/

.footer {
  background-color: var(--cor-principal);
  padding: 40px 0;
}

.footer p {
  color: white;
}

.nav-footer a {
  padding-left: 15px;
  text-decoration: none;
  color: white;
}

.nav-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .container-hero.flex {
    flex-direction: column; /* Coloca o texto em cima e a imagem embaixo */
    text-align: center; /* Centraliza o título e o parágrafo */
    padding: 40px 20px;
  }

  /* Remove a margem lateral que está no HTML e adiciona espaço embaixo */
  .container-hero > div:first-child {
    margin-right: 0 !important;
  }

  /* Garante que a imagem não ultrapasse a largura da tela */
  .img-hero img {
    margin-top: 20px;
    max-width: 100% !important;
    height: auto;
  }

  .hero {
    margin-top: -20px;
  }

  .hero .container-hero {
    min-height: 65vh;
  }

  /* Ajusta o tamanho do título no celular para não ocupar a tela toda */
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .logo a img {
    height: 40px;
  }

  .hide-element {
    display: none;
  }

  .servicos-container .flex {
    flex-direction: column;
    align-items: center;
  }

  .sobre {
    margin-bottom: 0;
    padding: 0 10px;
  }

  .sobre h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  /* Ajuste específico para a seção Sobre */
  .sobre .container.flex {
    flex-direction: column; /* Faz a imagem ficar em cima do texto */
    text-align: center; /* Centraliza o texto no celular */
  }

  .sobre .container-hero > div {
    margin-left: 0 !important;
    margin-top: 20px;
  }

  /* Ajuste para a div da imagem no sobre */
  .sobre .img-hero {
    margin-bottom: 30px; /* Cria espaço entre a foto e o início do texto */
  }

  .sobre .img-hero img {
    max-width: 100% !important; /* Garante que a foto não vaze da tela */
    height: auto;
  }

  /* Remove a margem lateral que estava no HTML */
  .texto-sobre {
    margin-left: 0 !important;
    padding: 0 15px; /* Adiciona um respiro nas laterais */
  }

  .footer {
    text-align: center;
    padding: 10px;
  }

  .footer .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer .container p {
    margin-bottom: 10px;
  }
}


