/* style.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lora', sans-serif;
  line-height: 1.6;
  background-color: #F6E9DD;
  color: #6F3E20;
}

.banner-consulta-particular {
  background-color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  text-align: center;
  padding: .5rem;
}

header {
  background-color: #F6E9DD;
  color: #6F3E20;
  padding: 2.5rem 10rem;
  margin: auto;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 10;
  transition: all 0.3s ease;
}

.shrink {
  padding: 1.5rem 10rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

p {
  font-family: 'Poppins', sans-serif;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.75rem;
  font-weight: bold;
  font-family: 'Playfair Display', serif;
}

.logo img {
  height: 40px;
}

nav {
  margin: auto;
}

nav ul {
  display: flex;
  gap: 3rem;
  list-style: none;
  align-items: center;
}

nav a {
  color: #6F3E20;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  transition: color 0.3s;
  vertical-align: middle;
}

nav a:hover {
  color: #C97A7A;
}

.nav-button {
  margin-left: 25px
}

.btn img {
  vertical-align: text-top;
  width: 20px;
}

.hero {
  display: flex;
  text-align: start;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 22rem;
  background-color: #F6E9DD;
  flex-wrap: wrap;
  overflow: hidden;
}

.hero .text {
  max-width: 500px;
  margin-left: 50px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Lora', sans-serif;
}

.hero h2 {
  color: #4A2B15
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-family: 'Poppins', sans-serif;
}

.hero ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero ul li {
  margin-bottom: 1rem;
  font-weight: 500;
  font-size: 1.5rem;
}

.hero ul li::before {
  content: '✔';
  color: #5D2B3D;
  font-size: 1.5rem;
  padding: .75rem;
}

.hero ul li:last-child {
  margin-bottom: 2rem;
}

.btn {
  background-color: #B87C4B;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Open Sans', sans-serif;
  transition: background 0.3s;
}

.btn img {
  vertical-align: text-top;
  width: 20px;
}

.btn:hover {
  background-color: #C97A7A;
  color: white;
}

.hero .image img {
  width: 600px;
  object-fit: contain;
}

.sombra {
  width: 400px;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, transparent 80%);
  margin: -20px auto 0;
  border-radius: 50%;
}

.especialidades, .sobre, .metodo, .faq, .produtos-digitais, .contato {
  padding: 4rem 2rem;
  text-align: center;
  max-width: 70%;
  margin: auto;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.especialidades h2, .sobre h2, .metodo h2, .depoimentos h2, .faq h2, .produtos-digitais h2, .contato h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #6F3E20;
}

.especialidades p {
  margin-bottom: 1rem;
}

.especialidades {
  max-width: 100%;
  background-color: #fdf4ed;
}

.sub-title {
  font-weight: 900;
}

.grid {
  display: flex; 
  justify-content: center; 
  flex-wrap: wrap; 
  gap: 1rem;
  max-width: 100%;
  margin: 0 auto;
}

.card {
  background: #fff; 
  border-radius: 12px; 
  margin-bottom: 12px;
  padding: 20px; 
  width: 20%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  /* flex: 0 0 calc(33.333% - 20px); */
}

.card h3 {
  font-size: 18px; 
  margin-bottom: 10px;
}

.card p {
  font-size: 14px; 
  line-height: 1.5;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 175px;
  height: 175px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.cta {
  margin: auto;
  text-align: center;
  width: 50%;
}

.cta-text {
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-weight: 900;
}

.sobre {
  display: flex;
  flex-wrap: wrap;
  max-width: 70%;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  text-align: left;
}

.sobre .texto {
  flex: 1;
  min-width: 280px;
}

.metodo h2 {
  margin-bottom: 1rem;
}

.metodo p {
  margin-bottom: 2rem;
}

.metodos {
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 20px; 
  max-width: 900px; 
  margin: 0 auto;
}

.metodo-container {
  background-color: #fff; 
  padding: 20px; 
  border-radius: 12px; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
  width: 280px;
}

.metodo-numero {
  font-size: 36px;
  font-weight: bold;
}

.metodo-descricao {
  color: #555;
  font-size: 15px;
  line-height: 1.5;
}

.metodo-titulo {
  color: #333;
  font-size: 20px;
  margin: 15px 0 10px;
}

.cursive-name {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: #B87C4B;
}

.sobre .imagem {
  flex: 1;
  max-width: 500px;
}

.sobre img {
  max-height: 400px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.btn-container a img {
  width: 20px
}

.depoimentos {
  text-align: center;
  padding: 4rem 0rem;
  max-width: 100%;
}

.carousel-wrapper {
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.carousel {
  display: flex;
  width: calc(200%);
  animation: scroll 30s linear infinite;
}

.carousel img {
  width: 350px;
  margin: 0 10px;
  border-radius: 10px;
}

/* Animação contínua da direita para a esquerda */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Move metade do conteúdo */
}

.faq {
  padding: 4rem 20rem;
  background-color: #fdf4ed;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 16px;
}

.faq h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
}

.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #e0d4cc;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  padding: 15px;
  color: #5a3e36;
  cursor: pointer;
  position: relative;
  font-weight: bold;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  color: #b48b7d;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 15px;
  color: #6a5048;
  font-size: 1rem;
}

.faq-answer p {
  margin: 10px 0;
  text-align: left;
}

.faq-question.active + .faq-answer {
  max-height: 300px;
}

.produtos {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 2.5rem 0;
}

.produto-card {
  background-color: #fff8f4;
  border: 1px solid #e4d7ce;
  border-radius: 12px;
  padding: 20px;
  max-width: 280px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.produto-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.produto-card h3 {
  color: #5a3e36;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.produto-card p {
  color: #6a5048;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.btn-comprar {
  display: inline-block;
  background-color: #b48b7d;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-comprar:hover {
  background-color: #a07466;
}

.contatos {
  text-align: center;
}

.contatos h2 {
  font-size: 2rem;
  color: #5a3e36;
  margin-bottom: 10px;
}

.contatos p {
  color: #6a5048;
  margin-bottom: 30px;
}

.btn-contato {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  margin: 10px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
  font-size: 1rem;
}

.btn-contato img {
  width: 24px;
  height: 24px;
}

.btn-contato.whatsapp {
  background-color: #25D366;
  color: white;
}

.btn-contato.whatsapp:hover {
  background-color: #1ebe5d;
}

.btn-contato.instagram {
  background-color: #E1306C;
  color: white;
}

.btn-contato.instagram:hover {
  background-color: #c42a5f;
}

.fixed-wpp {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 10;
}

.fixed-wpp a img {
  width: 70px;
}

footer {
  background-color: white;
  color: black;
  text-align: center;
  padding: 1rem;
  position: relative;
}

footer p {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: max-content;
  top: 50%;
  transform: translate(-50%, -50%);
}

footer span {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
}

footer span a {
  color: #6F3E20;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: color 0.3s;
  vertical-align: middle;
}

.sobre {
  padding: 4rem 25rem;
  min-width: 100%;
  background-color: #F5F3EE;
}

@media (max-width: 1700px) {
  .hero {
    padding: 0rem 10rem;
  }

  .sobre {
    padding: 4rem 12rem;
  }

  .faq {
    padding: 4rem 2rem;
  }
}

@media (max-width: 1470px) {
  .hero {
    padding: 2rem 4rem;
  }

  .logo {
    font-size: 1.3rem;
  }
}

@media (max-width: 1280px) {
  header {
    justify-content: center;
    padding: 2rem 2rem;
  }

  .hero {
    padding: 2rem 0;
    justify-content: space-between;
    text-align: center;
    width: 100%;
    margin: auto;
  }

  .hero .text {
    max-width: 45%;
    text-align: start;
  }

  .hero .image {
    width: 50%;
    text-align: center;
  }

  .hero .image img {
    max-width: 100%;
  }

  .produtos-digitais {
    padding: 4rem 0;
  }
}

@media (max-width: 1024px) {
  header {
    padding: 2rem 2rem;
  }

  nav ul li {
    display: none;
  }

  .hero .text {
    max-width: 75%;
  }

  .hero .image img {
    display: none
  }
  
  .shrink {
    padding: 1.5rem 0;
  }

  .card p {
    text-align: center;
  }

  .sobre {
    padding: 4rem 5rem;
    text-align: center;
  }

  .sobre .texto p {
    text-align: start;
  }

  footer {
    position: static;
  }

  footer p {
    position: static;
    transform: translateX(0);
    width: 100%;
  }

  footer span {
    position: static;
    transform: translateY(0);
    width: 100%
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 1rem 0;
  }

  .hero .text {
    max-width: 100%;
    margin-left: auto;
    padding: 2rem;
  }

  .hero .image img {
    display: none
  }

  .sombra {
    display: none;
  }

  .card {
    padding: 2rem 1rem;
    width: 40%;
  }

  .sobre {
    padding: 4rem 4rem;
  }

  .faq {
    max-width: 100%;
  }

  .sobre .btn-container {
    width: 120%;
    text-align: start;
  }

  .produtos-digitais .btn-container {
    text-align: center
  }

  .contato {
    padding: 2rem;
  }

  .produtos {
    display: inline-block;
    padding: 3rem 0;
  }

  .produto-card {
    width: 100%;
    margin-bottom: 1rem
  }
}

@media (max-width: 450px) {
  .hero .image {
    padding-top: 50px; 
    width: 90%;
    margin: auto;
    display: none;
  }

  .hero .text .btn-container .btn {
    font-size: .75rem;;
  }

  .grid {
    display: block;
  }

  .cta {
    width: 100%;
    text-align: start;
  }

  .especialidades .card {
    margin: auto;
  }

  .card {
    padding: 2rem 1rem;
    width: 100%;
  }

  .produtos-digitais .btn-container {
    margin-top: 1rem;
  }

  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
  }
}

@media (max-width: 400px) {
  .sobre .btn-container {
    width: 90%;
  }

  .hero .text .btn-container .btn {
    padding: 1rem .5rem;
    font-size: .75rem;
  }
}