@charset "UTF-8";

body {
  background-color: white;
  color: var(--rosa-escuro);
  font-family: 'Montserrat', sans-serif;
}

p {
  text-align: justify;
}

a {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}

:root {
  --cinza-claro: #F6F3F4;
  --cinza-escuro: #998991;
  --bege-amarelado: #D5B58A;
  --rosa-escuro: #DE768A;

  --nav-height: 15rem;

  font-size: 62.5%; /* 1rem = 10px */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /* chrome://flags/#smooth-scrolling */
  scroll-behavior: smooth;
}
html,
body {
  width: 100%;
  height: 100%;
}
body {
  font-family: 'Montserrat', sans-serif;;
  font-size: 1.6rem;
  text-align: center;
  overflow: overlay;
  background-color: white;
}

.wrapper {
  width: min(50rem, 100%);
  margin-inline: auto;
  padding-inline: 2.4rem;
}

ul {
  list-style: none;
}
img {
  max-width: 100%;
}
section {
  padding-block: 10rem;
}
section header h4 {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.08rem;
  color: var(--cinza-claro);
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
section header h2 {
  font-size: 3rem;
  line-height: 3.9rem;
  color: var(--gray-headline);
}
section header h1 {
  font-size: 3.8rem;
  line-height: 130%;
  margin-bottom: 2.4rem;
}
section .content p {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 150%;
  color: var(--gray-paragraph);
}

.button:hover {
  background-color: var(--cinza-claro-hover);
}
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.2rem;
}

/* Custom Colors */
#backToTopButton circle,
#navigation .logo path[fill*='#00856F'] {
  fill: var(--cinza-claro);
}
#contact li path,
#services .card path,
button.open-menu path[stroke*='#00856F'] {
  stroke: var(--cinza-claro);
}
#navigation.scroll .logo path,
body.menu-expanded #navigation .logo path {
  fill: white;
}
#navigation.scroll button.open-menu path[stroke*='#00856F'] {
  stroke: white;
}

/* ////////////////////////////////////////////////Navigation//////////////////////////////////////////////// */
nav {
  display: flex;
  height: var(--nav-height);
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 100;
  background:white;
}
nav .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav .logo {
  width: 200px;
}
nav button {
  background: none;
  border: none;
  cursor: pointer;
}
nav .menu,
nav .close-menu {
  position: fixed;
}


/* ////////////////////////////////////////////////Navigation Menu Expanded//////////////////////////////////////////////// */
body.menu-expanded {
  overflow: hidden;
}
body.menu-expanded > :not(nav) {
  visibility: hidden;
}
.menu,
.close-menu,
body.menu-expanded .open-menu {
  opacity: 0;
  visibility: hidden;
}
body.menu-expanded .menu,
body.menu-expanded .close-menu {
  opacity: 1;
  visibility: visible;
}
.menu {
  transform: translateY(100%);
}
body.menu-expanded .menu {
  top: 0;
  left: 0;
  background: white;
  width: 100vw;
  height: 100vh;
  padding-top: var(--nav-height);
  transition: transform 300ms;
  transform: translateY(0);
  color: var(--rosa-escuro);
}
.menu ul:nth-child(1) {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
  margin-top: 6rem;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 3.1rem;
  color: var(--rosa-escuro);
}
.menu ul li a {
  color: var(--rosa-escuro);
  text-decoration: none;
}
body.menu-expanded .logo,
body.menu-expanded nav button {
  position: relative;
  z-index: 100;
}
body.menu-expanded .logo path {
  fill: white;
}
body.menu-expanded button path {
  stroke: white;
}


/* ////////////////////////////////////////////////Home//////////////////////////////////////////////// */
#home {
  margin-top: calc(20% - var(--nav-height));
  background-image: url(assets/Index/Banner-sem-texto.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  height: 80vh;
  position: relative;
}

#home::before {
  margin-top: calc(17% - var(--nav-height));
  content: '';
  width: 100%;
  height: calc(76% + var(--nav-height));
  background-color: var(--cinza-escuro);
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.banner {
  width: 100%;
  height: 100%;
}

.text-container {
  text-align: left;
  color: #fff;
  width: 70%;
  padding: 0 20px;
  box-sizing: border-box;
}

.main-heading {
  font-size: 3.8em;
  font-weight: 200;
  line-height: 1.2;
  color: var(--rosa-escuro);
  text-align: left;
}

.main-heading span {
  color: var(--rosa-escuro);
  font-weight: 400;
}

.subheading{
  font-size: 2.5em;
  color: var(--rosa-escuro);
  margin-top: 20px;
  font-weight: 300;
  text-align: left;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  background-color: var(--bege-amarelado); /* Bege amarelado */
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: larger;
  padding: 10px;
}

.cta-button:hover {
  background-color: #BFA674; /* Tom mais escuro de bege */
}

/* Media Queries */
@media (max-width: 1200px) {
  #home {
    height: 70vh; /* Ajuste a altura para telas menores */
    margin-top: calc(25% - var(--nav-height));
  }
  .text-container {
    max-width: 90%;
  }
  .main-heading {
    font-size: 2.2em;
  }
  .subheading {
    font-size: 1.1em;
  }
  .cta-button {
    padding: 14px 28px;
    font-size: 0.95em;
  }
}

@media (max-width: 768px) {
  #home {
    height: 70vh; /* Ajuste a altura para telas menores */
    margin-top: calc(35% - var(--nav-height));
  }
  .text-container {
    max-width: 90%;
  }
  .main-heading {
    font-size: 2em;
  }
  .subheading {
    font-size: 1em;
  }
  .cta-button {
    padding: 12px 24px;
    font-size: 0.9em;
  }
}

@media (max-width: 550px) {
  #home {
    height: 60vh; /* Ajuste a altura para telas muito pequenas */
    margin-top: calc(55% - var(--nav-height)); /* Ajuste a margem para telas muito pequenas */
  }
  .text-container {
    text-align: center; /* Centralize o texto em telas menores */
    max-width: 100%; /* Ajuste a largura máxima */
  }
  .main-heading {
    font-size: 1.8em;
  }
  .subheading {
    font-size: 0.9em;
  }
  .cta-button {
    padding: 10px 20px;
    font-size: 0.85em;
  }
}


/* ////////////////////////////////////////////////Procedimentos//////////////////////////////////////////////// */
#Procedimentos {
  padding: 60px 0;
  background-color: #fff;
}

.wrapperProced {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Adicionado para permitir quebra de linha em telas menores */
}

.procedimento {
  text-align: center;
  margin: 10px;
  flex-basis: 200px; /* Adicionado para controlar o tamanho dos itens */
  flex-grow: 1;
}

.procedimento img {
  width: 200px;
  height: 200px;
}

.procedimento h2 {
  font-size: 1.5em;
  color: var(--rosa-escuro);
  margin-top: 20px;
  font-weight: normal;
}

.procedimento a {
  display: block;
  font-size: 1.3em;
  color: var(--bege-amarelado);
  margin-top: 5px;
  text-decoration: none;
}

.procedimento a:hover {
  color: var(--rosa-escuro);
}

/* Responsivo - em telas menores */
@media (max-width: 768px) {
  .wrapperProced {
    flex-direction: column; /* Empilha os itens em telas pequenas */
  }

  .procedimento {
    margin-bottom: 30px; /* Aumenta o espaço entre os itens */
    flex-basis: 100%; /* Faz os itens ocuparem a largura total em telas menores */
  }

  .procedimento img {
    width: 150px; /* Reduz o tamanho da imagem em telas menores */
    height: 150px;
  }

  .procedimento h2 {
    font-size: 1.3em; /* Diminui o tamanho do texto em telas menores */
  }

  .procedimento a {
    font-size: 1.1em; /* Ajusta o tamanho do link em telas menores */
  }
}


/* ////////////////////////////////////////////////About//////////////////////////////////////////////// */
#about {
  position: relative;
  width: 100%;
  height: 65vh;
  background-color: var(--cinza-claro);
}

.wrapperAbout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#about .textoAbout {
  max-width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
}

#about .textosAbout {
  max-width: 80%;
  text-align: center;
}

#about .tituloAbout {
  font-weight: 500;
  font-size: 2em;
  text-align: justify;
}

#about .descricaoAbout {
  font-size: 1.5em;
  font-weight: 200;
  text-align: left;
}

#about .col-a {
  max-width: 50%;
  text-align: end;
}

#about .fotoAbout img {
  width: 89%;
}

/* Responsivo - Em telas menores */
@media (max-width: 800px) {
  #about {
    min-height: 100vh;
  }
  .wrapperAbout {
    flex-direction: column; /* Empilha os elementos em telas menores */
    height: auto;
    padding: 20px;
  }

  #about .textoAbout,
  #about .col-a {
    max-width: 100%; /* Faz com que os elementos ocupem 100% da largura */
    text-align: center;
  }

  #about .fotoAbout img {
    width: 70%; /* Reduz o tamanho da imagem em telas menores */
    margin-top: 20px;
  }

  #about .tituloAbout {
    font-size: 1.8em; /* Reduz o tamanho da fonte em telas menores */
  }

  #about .descricaoAbout {
    font-size: 1.2em; /* Reduz o tamanho do texto em telas menores */
  }
}

/* ////////////////////////////////////////////////STATS//////////////////////////////////////////////// */

.statistics {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 2rem;
  background-color: #fff;
}

.stat-item {
  text-align: center;
}

.stat-item img {
  width: 70%; /* Tamanho menor para os ícones */
  height: auto;
  margin-bottom: 1rem;
  text-align: center;
}

.tituloStats {
  font-size: 3.5em;
  color: var(--rosa-escuro);
  font-weight: 500;
}

p {
  margin-top: -20px;
  font-size: 1.3em; /* Ajuste do tamanho do texto */
  color: var(--rosa-escuro); /* Cor do texto descritivo */
  text-align: center;
  font-weight: 500;
}

/* Responsividade: empilhar os itens em telas menores */
@media (max-width: 768px) {
  .statistics {
    flex-direction: column;
  }

  .stat-item {
    margin-bottom: 2rem;
  }

  .statistics span {
    font-size: 2.5em; /* Diminuir o tamanho dos números em telas menores */
  }

  p {
    font-size: 1rem; /* Diminuir o tamanho do texto em telas menores */
  }

  .stat-item img {
    width: 80%; /* Ajustar o tamanho da imagem em telas menores */
  }
}

/* //////////////////////////////////////////////// Duvidas Frequentes //////////////////////////////////////////////// */

.faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  text-align: center;
}

.faq-section h1 {
  color: #d36a77;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.faq-item {
  margin: 10px 0;
}

.faq-question {
  width: 100%;
    padding: 15px;
    font-size: 1.8rem;
    color: #938f8f; /* Cor semelhante à do texto da imagem */
    background-color: #f2f2f2; /* Cor de fundo semelhante à imagem */
    border: none;
    border-radius: 20px; /* Bordas arredondadas */
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra suave */
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
}

.faq-answer {
  display: none;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #dcdcdc;
}

.faq-question:focus + .faq-answer {
  display: block;
}

/* ////////////////////////////////////////////////Footer ////////////////////////////////////////////////*/
footer {
  background-color: var(--rosa-escuro);
  padding: 20px 0;
  color: white;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.footer-content img {
  height: 80px;
}

.navFooter a{
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-size: 1.3em;
}

.footer-content .social-icons a img {
  height: 40px;
  margin: 0 5px;
}

footer p {
  margin-top: 15px;
  font-size: 0.9rem;
}

/* Estilos Responsivos */
@media (max-width: 768px) {
  .footer-content {
      flex-direction: column;
  }
  
  .faq-section h1 {
      font-size: 2rem;
  }

  .faq-question {
      font-size: 1rem;
      padding: 10px;
  }
}


/* ////////////////////////////////////////////////Footer//////////////////////////////////////////////// */
footer {
  background-color: var(--rosa-escuro);
  padding-block: 6rem;
  text-align: left;
  color: white;
  padding-bottom: 100px;
}
footer .logo {
  display: inline-block;
  margin-bottom: 2.4rem;
}
footer .logo svg {
  width: 23.6rem;
  height: 3.1rem;
}
footer .logo path {
  fill: white;
}
footer p {
  color: white;
  line-height: 2;
  margin-bottom: 3.2rem;
}
footer .social-links {
  justify-content: flex-start;
}

/* ////////////////////////////////////////////////Back to Top//////////////////////////////////////////////// */
#backToTopButton {
  position: fixed;
  bottom: 1rem;
  right: 2.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: 200ms;
}
#backToTopButton.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Responsive */
@media (min-width: 1024px) {
  /* Geral */
  body {
    overflow: auto;
  }
  .wrapper {
    width: min(112rem, 100%);
    display: grid;
  }
  .col-a {
    grid-area: A;
  }
  .col-b {
    grid-area: B;
  }
  section {
    padding-block: 16rem;
  }
  section header h2 {
    font-size: 4rem;
    line-height: 5.2rem;
  }

  /* ////////////////////////////////////////////////Reset//////////////////////////////////////////////// */
  /* ////////////////////////////////////////////////Navigation//////////////////////////////////////////////// */
  nav#navigation .wrapper * {
    margin: 0;
    padding: 0;
    visibility: initial;
    display: initial;
    opacity: initial;
    flex-direction: initial;
    position: initial;
    font-size: initial;
    font-weight: initial;
    transform: initial;
    color: initial;
    background-color: initial;
    filter: initial;
  }

  nav#navigation .open-menu,
  nav#navigation .close-menu,
  nav#navigation .social-links {
    display: none;
  }

  nav#navigation .menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 60%;
  }
  nav#navigation .menu ul:nth-child(1) {
    display: flex;
    gap: 3.2rem;
  }
  nav#navigation .menu ul li a {
    color: var(--rosa-escuro);
    font-size: large;
    opacity: 0.7;
  }
  nav#navigation .menu li a.active,
  nav#navigation .menu li a:hover {
    opacity: 1;
    font-weight: 700;
  }
  nav#navigation .menu li a::after {
    content: '';
    width: 0%;
    height: 2px;
    background-color: white;
    position: relative;
    bottom: -2rem;
    left: -0.5rem;
    display: block;
    transition: width 0.2s;
  }
  nav#navigation.scroll .menu li a::after {
    background-color: white;
  }
  nav#navigation .menu li a.active::after,
  nav#navigation .menu li a:hover::after {
    padding-inline: 0.8rem;
    width: 100%;
  }
  nav#navigation.scroll .menu li a.active,
  nav#navigation.scroll .menu li a:hover {
    opacity: 1;
  }
  nav#navigation.scroll .menu a.button.active,
  nav#navigation.scroll .menu a.button:hover {
    background-color: var(--cinza-claro-hover);
    filter: brightness(1.3);
    border: 1px solid var(--cinza-claro);
  }
}