* {
  margin: 0;
  padding: 0;
}

:root {
  --primary: rgb(167, 8, 8);
  --secondary: #d4b15a;
  --emphasis: #2f3e46;
  --accent: #161717;
}

body {
  background-color: var(--primary);
}

html {
  scroll-behavior: smooth;
}

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(8px);
  background: #3e2c597a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  border-bottom: #fff 1px solid;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#site-header.scrolled {
  background: #ffffffb6; /* cor sólida/gradiente */
  border-bottom: var(--accent) 1px solid;
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#site-header.scrolled .nav a {
  color: var(--accent);
}

.logo-img {
  height: 10rem;
  margin-bottom: -2rem;
  margin-top: -2rem;

  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin-right: 5rem;
}

.nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1.2rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #0077ff;
  transition: width 0.3s ease;
}

.nav a.scroled {
  color: var(--accent);
}

.nav a:hover {
  color: #d4b15a;
}

.nav a:hover::after {
  width: 100%;
}

#main {
  background-color: var(--primary);
  background-image: url(/assets/conste.png);
  background-size: contain;
  background-repeat: no-repeat;

  background-position: right;

  max-height: 100vh;
  max-width: 100%;
}

.img-main {
  height: 35rem;
  margin-top: -10rem;
  float: left;
  border-radius: 0 100px 100px 0;
  border: var(--secondary) 2px solid;
}

.const {
  height: 20rem;
}

.red {
  color: #570202;
  -webkit-text-stroke-color: var(--primary);
}

.ppp {
  font-family: "poppins";
  background-color: var(--emphasis);
  padding: 0 10px;
  color: red;
  font-weight: 600;
  -webkit-text-stroke-color: #12021a;
  -webkit-text-stroke-width: 0.2px;
}

.main-h1 {
  color: var(--secondary);
  font-family: "playfai display", serif;
  font-size: 4rem;
  margin-left: 35%;
  margin-right: 5rem;
  margin-top: 15rem;
  -webkit-text-stroke-color: #12021a;
  -webkit-text-stroke-width: 0.5px;
}

.main-p {
  font-family: "playfair display" serif;
  color: #fff;
  -webkit-text-stroke-color: #12021a;
  margin-left: 3rem;
  font-size: 1.5rem;
  margin-right: 5rem;
  display: inline-block;
}

.main-btn {
  color: var(--accent);
  background-color: var(--secondary);
  padding: 10px 20px;
  border-radius: 100px;
  margin-top: 0.7rem;
  margin-left: 2rem;

  font-size: 1.2rem;
  font-weight: 500;
}

.saiba-mais {
  margin-left: rem;
}

.zap {
  height: 1.7rem;
  margin-right: 10px;
  margin-bottom: -0.4rem;
}
.agende {
  font-weight: 600;
  color: #fff;
  background-color: #2aa81a;
}

/*==== Sobre ====*/

.about {
  margin-top: 12rem;
  background-color: #fff;
  min-height: 85vh;
  position: relative;
}

.about-h2 {
  padding-top: 4rem;
  font-family: "plafair display";
  font-size: 2.7rem;
  margin-left: 33rem;
  text-decoration: solid underline var(--secondary);
}

.about-p {
  margin-left: 33rem;
  margin-right: 15rem;
  font-size: 1.2rem;
  font-family: "poppins";
}

.about-img {
  float: left;
  height: 30rem;
  width: 28rem;
  margin-top: -5rem;
  margin-left: 2rem;
  border: var(--secondary) 10px solid;
  border-radius: 9999px;
}

/* ===== SERVICES SECTION ===== */
#services {
  background: var(--emphasis);
  text-align: center;
}

.services-h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--secondary);
  text-decoration: underline solid var(--secondary);
  padding-top: 2rem;
  margin-bottom: 3rem;
}

/* ===== GRID INLINE DE SERVIÇOS ===== */
#services .card {
  z-index: -999;
  background: var(--primary);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 22%;
  max-height: 280px;
  margin: 0 1% 2rem;
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
}

#services .carta {
  background: url(/assets/cartasbg.jpeg) no-repeat center/cover;
  background-color: #a09797;
}

#services .amor {
  background: url(/assets/amor.jpeg) no-repeat center/cover;
}

#services .financa {
  background: url(/assets/ostra.jpeg) no-repeat center/cover;
}

#services .espirito {
  background: url(/assets/bg.jpeg) no-repeat center/cover;
}

#services .card img {
  width: 80px;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

#services .card h3 {
  font-size: 1.3rem;
  color: var(--secondary);
  background-color: #000000a6;
  border-radius: 9px;
  margin-bottom: 1rem;
}

#services .card p {
  font-size: 1rem;
  color: #fff;
  background-color: #000000a6;
  margin-bottom: 2rem;
  line-height: 1.5;
  font-weight: 400;
  font-family: "poppins";
}

.h3-espiritualidade {
  margin-top: -1.5rem;
  margin-bottom: -10rem;
}

.p-espiritualidade {
  margin-top: -1.3rem;
}

/* ===== HOVER NOS CARDS ===== */
#services .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

#services .card:hover img {
  transform: scale(1.1);
}

.services-fora {
  text-align: center;
  color: var(--secondary);
  font-family: "poppins", sans-serif;
  font-size: 1rem;
  margin-top: -1rem;
}

.fora-btn {
  color: var(--accent);
  background-color: var(--secondary);
  padding: 10px 20px;
  border-radius: 100px;
  margin-top: 0.7rem;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

/* ===== TESTIMONIALS BASE ===== */
#testimonials {
  padding: 6rem 2rem;
  background: linear-gradient(
      180deg,
      rgba(47, 62, 70, 1) 0%,
      rgba(0, 0, 0, 0.12) 100%
    ),
    linear-gradient(1deg, rgba(0, 0, 0, 1) 0%, rgba(47, 62, 70, 0.12) 100%),
    url(/assets/10411886.jpg) no-repeat center/cover;
  text-align: center;
  position: relative;
  max-height: 100vh;
}

.depo-h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--secondary);
  text-decoration: underline solid var(--secondary);
  margin-bottom: 0.5rem;
}

.depo-p {
  margin-left: 2rem;
  margin-right: 2rem;
  font-size: 2rem;
}

#testimonials h4 {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 400;
  margin-bottom: 3rem;
}

/* ===== CAROUSEL CONTAINER ===== */
.carousel {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
}

.slide.card {
  min-width: 100%;
  max-height: 65vh;
  background: #fff;
  border-radius: 16px;
  border: var(--emphasis) 2px solid;
  padding: 5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.slide p {
  font-size: 1.5rem;
  color: #444;
  line-height: 1.6;
  font-style: italic;
}

/* ===== NAV BUTTONS ===== */
.carousel {
  position: relative;
  max-width: 700px; /* ajuste conforme necessidade */
  margin: 0 auto;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
}

.slide.card {
  min-width: 100%;
  box-sizing: border-box;
  /* mantenha seu estilo do card aqui */
}

/* BOTÕES - posicionamento correto e hit-area maior */
.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--secondary); /* cor principal */
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, background 0.15s ease;
}

/* espaçamento interno para evitar que fiquem "fora" do container */
.prev {
  left: 12px;
}
.next {
  right: 12px;
}

.carousel button:hover {
  transform: translateY(-50%) scale(1.05);
  background: rgba(75, 0, 130, 1);
}

/* foco para acessibilidade (teclado) */
.carousel button:focus {
  outline: 3px solid rgba(75, 0, 130, 0.25);
  outline-offset: 4px;
}

/* ===== CONTACT SECTION ===== */

.contact {
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.89) 0%,
      rgba(0, 0, 0, 0.12) 100%
    ),
    url(/assets/bg-contact.jpg) no-repeat center/cover;
  background-color: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.89) 0%,
    rgba(0, 0, 0, 0.12) 100%
  );
  min-height: 50vh;
  background-size: cover;
}

.contact-h2 {
  color: #ffd369;
  margin-bottom: 20px;
  padding-top: 2rem;
  text-align: center;
  font-size: 3rem;
}
.contact-p {
  text-align: center;
  font-family: "poppins", sans-serif;
  margin-left: 25rem;
  margin-right: 25rem;
  margin-bottom: 40px;
  font-size: 1.2rem;
  color: #ddd;
}

.contact-p2 {
  text-align: center;
  font-family: "fairplay display", serif;
  margin-left: 25rem;
  margin-right: 25rem;
  margin-top: -1rem;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  color: var(--secondary);
}

.contatos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 50%;
  margin: 0 auto 40px;
}

.contatos a {
  display: inline-block;
  background: var(--emphasis);
  text-decoration: none;
  font-family: "poppins";
  padding: 15px 25px;
  border-radius: 8px;
  color: #ffd369;
  font-weight: bold;
  transition: 0.3s;
  font-size: 1.5rem;
}
.contatos a:hover {
  background: #ffd369;
  color: #12021a;
}

/* ===== BOTÃO WHATSAPP ===== */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, transform 0.3s ease;
}

.whatsapp-btn img {
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
}

.whatsapp-btn:hover {
  background: #1ebe57;
  transform: translateY(-4px);
}

.ultimo {
  margin-bottom: 3rem;
}

footer {
  text-align: center;
  color: #12021abd;
  font-family: "poppins";
  background-color: var(--emphasis);
  padding-top: 0.5rem;
  padding-bottom: 0.1rem;
  margin-top: -1.7rem;
}

.menu-toggle {
  display: none; /* escondido no desktop */
}

/* Somente no mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    top: 20px; /* distância do topo */
    right: 20px; /* distância da direita */
    cursor: pointer;
    font-size: 2rem;
    color: #fff;
    z-index: 1001; /* fica acima do menu */
  }

  /* o nav fica escondido até clicar */
  .nav {
    display: none;
    flex-direction: column;
    background: var(--primary);
    position: absolute;
    top: 60px; /* logo abaixo do header */
    right: 10px;
    width: 220px;
    padding: 1rem;
    border-radius: 8px;
    z-index: 1000;
  }

  .nav a {
    font-family: "poppins";
    margin: 0.5rem 0;
    text-decoration: solid;
  }
}

.saiba-mais {
  text-decoration: none;
}

.agende {
  margin-bottom: -50rem;
}

.ppp {
  text-transform: uppercase;
  background-color: #ffffff5e;
  padding: 1px 10px;
}

.p-espiritualidade {
  margin-top: 10px;
}

.services-fora {
  margin-top: 20px;
}

.depo-p {
  font-size: 1rem;
}

/* ===============================
   RESPONSIVIDADE
   =============================== */

/* Tablets e telas médias */
@media (max-width: 1024px) {
  .main-h1 {
    font-size: 2.8rem;
    margin-left: 10%;
    margin-right: 10%;
    text-align: center;
  }
  .main-p {
    font-size: 1.2rem;
    margin-left: 5%;
    margin-right: 5%;
    text-align: center;
  }
  .img-main {
    display: none;
    height: 22rem;
    float: none;
    display: block;
    margin: 6rem auto 2rem;
  }
  .about-h2 {
    margin-left: 0;
    text-align: center;
  }
  .about-p {
    margin-left: 5%;
    margin-right: 5%;
  }
  .about-img {
    float: none;
    display: block;
    margin: 2rem auto;
  }
  #services .card {
    width: 45%;
    margin: 1rem auto;
  }

  .depo-p {
    font-size: 1rem;
    margin: 1rem;
  }

  .contact-p,
  .contact-p2 {
    margin-left: 5%;
    margin-right: 5%;
  }
  .contatos {
    width: 80%;
  }
}

/* Celulares */
@media (max-width: 768px) {
  .logo-img {
    height: 6rem;
    margin: 0.5rem 1rem;
  }
  .nav {
    gap: 1rem;
    margin-right: 1rem;
  }
  .nav a {
    font-size: 1rem;
  }
  .main-h1 {
    font-size: 4rem;
    padding-bottom: 2rem;
    margin: 8rem 1rem 1rem;
  }
  .main-p {
    font-size: 2rem;
    margin: 0 1rem 1.5rem;
  }
  .main-btn {
    display: block;
    margin: 0.8rem auto;
    font-size: 1rem;
  }
  .img-main {
    display: none;
    width: 90%;
    height: auto;
    margin: 5rem auto 2rem;
  }
  .about {
    padding: 2rem 1rem;
  }
  .about-h2 {
    font-size: 2rem;
  }
  .about-img {
    width: 80%;
    height: auto;
    margin: 1rem auto;
  }
  .about-p {
    margin: 1rem;
    font-size: 1rem;
    text-align: justify;
  }
  #services .card {
    width: 90%;
    margin: 1rem auto;
  }
  .depo-p {
    font-size: 1rem;
    margin: 1rem;
  }
  .slide.card {
    padding: 2rem 1.2rem;
  }
  .contact-h2 {
    font-size: 2rem;
  }
  .contact-p,
  .contact-p2 {
    font-size: 1rem;
    margin: 1rem;
  }
  .contatos {
    width: 100%;
  }
  .contatos a {
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
  }
  .whatsapp-btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
}

/* ===== Celulares pequenos (até 480px) ===== */
@media (max-width: 480px) {
  /* Hero */
  .main-h1 {
    font-family: "poppins";
    font-size: 2rem; /* fonte maior */
    margin-top: 10rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .menu-toggle {
    margin-right: -2rem;
  }

  .main-p {
    font-size: 1.2rem; /* fonte maior */
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .main-btn {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    font-size: 1.1rem;
  }

  /* Esconder imagem principal */
  .img-main {
    display: none;
  }

  /* Sobre */
  .about-h2 {
    font-size: 2rem;
    margin-left: 1rem;
  }

  .about-p {
    font-size: 1.1rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .about-img {
    width: 180px;
    height: 180px;
    float: none;
    margin: 2rem auto;
    display: block;
  }

  /* Nav para menu hamburguer */
  .nav {
    display: none; /* será mostrado via JS */
    flex-direction: column;
    background: var(--primary);
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
  }
  .depo-p {
    font-size: 1.1rem;
  }
  .nav a {
    margin: 0.5rem 0;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 2rem;
    color: #fff;
    margin-right: 2rem;
  }
}
