/* ==========================================
   RESET & BASE
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Syne', sans-serif;
  background-color: #f8f6f3; 
  color: #3d3530;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* Corta qualquer elemento que tente sair da tela lateralmente */
  margin: 0;
  padding: 0;
  scroll-behavior: smooth; /* Rolagem suave para links internos */
}

/* Força o cursor (caret) a ficar visível e preto, evitando o sumiço no fundo branco */
.ql-editor,
.ql-editor *,
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  caret-color: #000000 !important;
}

/* Corrige o bug de elementos internos que criam traços fantasmas ou bloqueiam a seleção/apagamento no Quill */
.ql-editor span {
  background-color: transparent !important;
}

/* Evita que blocos fantasmas fiquem travados na tela na hora da edição */
.ql-container.ql-snow {
  box-sizing: border-box;
}

/* ==========================================
   1. TOPBAR (FAIXA SUPERIOR)
   ========================================== */
.topbar {
  background-color: #FFFDD0;
  border-bottom: 1px solid #9e8d80;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  color: #ffffff;
  width: 100%;
}

.topbar-container {
  width: 100%;
  max-width: 1200px; 
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-info a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}


/* ==========================================
   2. NAVBAR PRINCIPAL
   ========================================== */
.navbar {
  background-color: #efebe8;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(124, 110, 99, 0.08);
  width: 100%;
  padding: 0.8rem 0;
}

.nav-container {
  width: 100%;
  max-width: 95%; 
  margin: 0 auto;
  padding: 0 2rem; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Logo / Ícone */
.logo-brand {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Container de Navegação */
.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between; 
  flex: 1;
  margin-left: 3rem; 
}

/* Links de Navegação */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0 auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0.8rem 1rem;
  text-decoration: none;
  color: #7c6e63;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-item:hover .nav-link {
  color: #8c5d33;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #efebe8;
  min-width: 240px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 4px;
  padding: 0.5rem 0;
  z-index: 1000;
}

.has-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  color: #7c6e63;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  display: block;
  font-size: 0.85rem;
  transition: background-color 0.2s;
}

.dropdown-menu a:hover {
  background-color: #e2dad5;
  color: #8c5d33;
}

/* Botão Agender Consulta */
.btn-agendar {
  background-color: #8c5d33;
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: 6px;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s, transform 0.2s;
}

.btn-agendar:hover {
  background-color: #6f4726;
  transform: translateY(-1px);
}

/* Hambúrguer */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.hamburger-btn span {
  width: 100%;
  height: 2px;
  background-color: #7c6e63;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* >>> RESPONSIVO NAVBAR E TOPBAR <<< */
@media (max-width: 1366px  ) {
  .topbar-info span:first-child,
  .divider-dot,
  .topbar-social {
    display: none;
  }

  .topbar-container {
    justify-content: center;
  }

  .topbar-info {
    gap: 0.8rem;
    font-size: 0.8rem;
  }

  .hamburger-btn {
    display: flex;
  }

  .nav-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #efebe8;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    gap: 1.2rem;
    border-top: 1px solid #e2dad5;
    margin-left: 0;
  }

  .nav-content.active {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
    margin: 0;
  }

  .nav-item {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    font-size: 1rem;
    display: block;
    padding: 0.4rem 0;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background-color: #e7e1dc;
    margin-top: 0.4rem;
    border-radius: 6px;
  }

  .btn-agendar {
    width: 100%;
    max-width: 300px;
    margin: 0.5rem auto 0 auto;
    text-align: center;
  }

  .hamburger-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}


/* ==========================================
   3. HERO SECTION / SLIDESHOW
   ========================================== */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 120px);
  min-height: 520px;
  overflow: hidden;
  background-color: #3d3530;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.img-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(61, 53, 48, 0.55) 0%, rgba(140, 93, 51, 0.45) 100%);
  z-index: 2;
}

.slide-conteudo {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 0 1.5rem;
}

.badge-servico {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 1.2rem;
  color: #ffffff;
}

.slide-conteudo h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-conteudo p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: #f1eae4;
  margin-bottom: 2rem;
  line-height: 1.4;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.slide-nav:hover {
  background: rgba(140, 93, 51, 0.85);
  transform: translateY(-50%) scale(1.08);
}

.slide-nav.prev { left: 1.5rem; }
.slide-nav.next { right: 1.5rem; }

.dots-container {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
  background: #ffffff;
  transform: scale(1.25);
}

/* >>> RESPONSIVO HERO <<< */
@media (max-width: 768px) {
  .hero { height: 480px; }
  .slide-conteudo h2 { font-size: 2.3rem; }
  .slide-conteudo p { font-size: 1.15rem; }
  .slide-nav { display: none; }
}


/* ==========================================
   4. SEÇÕES DE PÁGINAS, SOBRE NÓS E PROFISSIONAIS
   ========================================== */
.secao-pagina {
  padding: 40px 3%;
  width: 100%;
  max-width: 100% !important;
  margin: 0 auto;
}

.fundo-diferente {
  background-color: #f4efe9;
}

.container-secao {
  max-width: 95%; 
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

.flex-coluna {
  flex-direction: column;
}

.texto-secao {
  flex: 2;
}

.subtitulo-secao {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a67c52;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.texto-secao h2, .texto-centralizado h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  color: #554d46;
  margin-bottom: 20px;
}

.texto-secao p, .texto-centralizado p {
  font-size: 20px;
  line-height: 1.8;
  color: #665e56;
  margin-bottom: 15px;
}

.texto-centralizado {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.imagem-secao {
  flex: 1;
  text-align: center;
}

.img-destaque {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  mix-blend-mode: multiply; 
  opacity: 0.75; 
  box-shadow: none; 
}

#sobre-nos {
  padding: 60px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.introducao-clinica {
  margin-bottom: 40px;
  color: #555;
}

.equipe-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.membro-equipe {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.membro-equipe img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.membro-equipe h3 {
  margin: 10px 0 5px 0;
}

.membro-equipe .cargo {
  font-weight: bold;
  color: #007680;
  display: block;
  margin-bottom: 15px;
}

/* Área Profissionais (Cards corrigidos) */
#profissionais {
  scroll-margin-top: 100px;
  padding-top: 40px; 
}

#profissionais .texto-centralizado {
  margin-bottom: 25px; 
}

.grid-profissionais {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1650px;
  margin: 0 auto;
  align-items: stretch;
}

.card-profissional {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  height: auto; 
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-profissional:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.foto-perfil {
  width: 160px;
  height: 160px;
  max-width: 100%;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #f4efe9;
}
  
.card-profissional h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: #554d46;
  margin-bottom: 5px;
}

.cargo-tag {
  display: inline-block;
  font-size: 18px;
  color: #a67c52;
  font-weight: 700;
  margin-bottom: 15px;
}

.card-profissional p {
  font-size: 15px;
  line-height: 1.7;
  color: #665e56;
  text-align: center;          
  margin-top: 10px;
}

.secao-profissionais {
  padding: 60px 20px; 
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* >>> RESPONSIVO SEÇÕES E PROFISSIONAIS <<< */
@media (max-width: 1024px) {
  .grid-profissionais {
    grid-template-columns: repeat(2, 1fr); 
  }
}

@media (max-width: 768px) {
  .container-secao {
    flex-direction: column;
    gap: 30px;
  }
  
  .grid-profissionais {
    grid-template-columns: 1fr; 
  }

  .card-profissional {
    width: 100%;
    max-width: 100% !important;
  }
}


/* ==========================================
   5. SEÇÃO DE SERVIÇOS (GRADE DE CARDS)
   ========================================== */
#servicos {
  padding: 60px 20px 80px 20px;
  max-width: 1280px;
  margin: 0 auto;
}

#servicos .texto-centralizado {
  max-width: 750px;
  margin: 0 auto 50px auto;
}

#servicos .texto-centralizado h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 700;
  color: #554d46;
  margin-bottom: 16px;
}

#servicos .texto-centralizado p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #665e56;
}

.grid-servicos {
  display: grid;
  grid-template-columns: repeat(5, 1fr); 
  gap: 20px;
  width: 100%;
  max-width: 1600px; 
  margin: 0 auto;
}

.card-servico {
  background-color: #ffffff;
  padding: 40px 20px; 
  min-height: 320px;  
  border-radius: 16px;
  border: 1px solid #efebe8;
  box-shadow: 0 6px 20px rgba(124, 110, 99, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-servico:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 30px rgba(124, 110, 99, 0.14);
  border-color: #a67c52;
}

.icone-servico {
  width: 68px;
  height: 68px;
  background-color: #f4efe9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #8c5d33;
  border: 1px solid #e2dad5;
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* Corrigido o bug do hover aqui */
.card-servico:hover .icone-servico {
  background-color: #8c5d33;
  color: #ffffff;
  transform: scale(1.08);
}

.card-servico h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 700;
  color: #554d46;
  margin-bottom: 12px;
  line-height: 1.25;
}

.card-servico p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #665e56;
}

/* >>> RESPONSIVO SERVIÇOS <<< */
@media (max-width: 1400px) {
  .grid-servicos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .grid-servicos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-servicos { grid-template-columns: 1fr; }
}


/* ==========================================
   6. PERGUNTAS FREQUENTES (FAQ)
   ========================================== */
.faq-container {
  max-width: 850px;
  margin: 60px auto;
  padding: 0 20px;
}

.faq-container h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  color: #554d46;
  text-align: center;
  margin-bottom: 35px;
}

.faq-lista {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #efebe8;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(124, 110, 99, 0.04);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
  border-color: #a67c52;
  box-shadow: 0 6px 18px rgba(124, 110, 99, 0.08);
}

.faq-item summary, .pergunta-faq {
  padding: 22px 26px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #554d46;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: #8c5d33;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: #8c5d33;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-resposta, .resposta-faq {
  padding: 0 26px 22px 26px;
  color: #665e56;
  font-size: 0.96rem;
  line-height: 1.7;
  border-top: 1px solid #f4efe9;
  padding-top: 16px;
}

/* >>> RESPONSIVO FAQ <<< */
@media (max-width: 600px) {
  .pergunta-faq, .faq-item summary {
    padding: 18px 20px;
    font-size: 0.98rem;
  }
  .resposta-faq, .faq-resposta {
    padding: 14px 20px 18px 20px;
  }
}


/* ==========================================
   7. ESTRUTURA DO BLOG & CARDS
   ========================================== */
.secao-blog {
  padding: 60px 20px 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.card-box {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 45px 40px;
  border: 1px solid #efebe8;
  box-shadow: 0 4px 20px rgba(124, 110, 99, 0.06);
  max-width: 1000px; 
  margin: 0 auto;
}

.titulo-aba {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 700;
  color: #554d46;
  margin-bottom: 30px;
}

.admin-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
}

.btn-admin-toggle {
  background-color: transparent;
  border: 1px dashed #a67c52;
  color: #8c5d33;
  padding: 8px 16px;
  border-radius: 6px;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-admin-toggle:hover {
  background-color: #f4efe9;
}

.blog-form-box {
  background-color: #fcfaf7;
  border: 1px solid #e2dad5;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 40px;
  display: none; 
}

.blog-form-box.ativo {
  display: block;
}

.blog-form-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 700;
  color: #554d46;
  margin-bottom: 18px;
}

.blog-form-box input[type="text"],
.blog-form-box textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 15px;
  border: 1px solid #dcd6d0;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  color: #3d3530;
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-form-box input[type="text"]:focus,
.blog-form-box textarea:focus {
  border-color: #8c5d33;
  box-shadow: 0 0 0 3px rgba(140, 93, 51, 0.1);
}

.btn-publicar {
  background-color: #8c5d33;
  color: #ffffff;
  padding: 12px 26px;
  border: none;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-publicar:hover {
  background-color: #6f4726;
  transform: translateY(-1px);
}

#postsContainer {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-card {
  background-color: #ffffff;
  border: 1px solid #efebe8;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(124, 110, 99, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  border-color: #e2dad5;
  box-shadow: 0 4px 15px rgba(124, 110, 99, 0.08);
}

.post-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 700;
  color: #554d46;
  margin-bottom: 6px;
}

.post-meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: #a67c52;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #665e56;
  white-space: pre-wrap;
}

.post-acoes {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid #f4efe9;
  display: flex;
  justify-content: flex-end;
}

.btn-deletar {
  background: transparent;
  border: none;
  color: #c94a4a;
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-deletar:hover {
  color: #a33232;
  text-decoration: underline;
}


/* ==========================================
   8. ATENDIMENTO PARTICULAR (Corrigido)
   ========================================== */
#atendimento-particular {
  padding: 60px 20px 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

#atendimento-particular .texto-centralizado {
  max-width: 750px;
  margin: 0 auto 50px auto;
}

#atendimento-particular .texto-centralizado h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; /* Reduzido para evitar quebrar layout mobile */
  font-weight: 700;
  color: #554d46;
  margin-bottom: 16px;
}

#atendimento-particular .texto-centralizado p {
  font-size: 18px;
  line-height: 1.6;
  color: #665e56;
}

.container-particular {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.card-particular {
  background-color: #ffffff;
  padding: 38px 32px;
  border-radius: 14px;
  border: 1px solid #efebe8;
  box-shadow: 0 4px 15px rgba(124, 110, 99, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-particular:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(124, 110, 99, 0.12);
  border-color: #a67c52;
}

.icone-particular {
  width: 76px;
  height: 76px;
  background-color: #f4efe9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #8c5d33;
  border: 1px solid #e2dad5;
  flex-shrink: 0;
}

.card-particular h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 700;
  color: #554d46;
  margin-bottom: 12px;
}

.card-particular > p {
  font-size: 17px;
  line-height: 1.6;
  color: #665e56;
  margin-bottom: 20px;
}

.lista-detalhes {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lista-detalhes li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.6;
  color: #665e56;
}

.lista-detalhes li::before {
  content: '•';
  position: absolute;
  left: 4px;
  top: -2px;
  color: #8c5d33;
  font-size: 1.4rem;
}

.lista-detalhes li strong {
  color: #554d46;
  font-weight: 600;
}

.caixa-duvidas-particular {
  background-color: #efebe8;
  border-radius: 14px;
  padding: 40px 30px;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  border: 1px solid #e2dad5;
}

.caixa-duvidas-particular h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: #554d46;
  margin-bottom: 12px;
}

.caixa-duvidas-particular p {
  font-size: 1rem;
  line-height: 1.6;
  color: #665e56;
  margin-bottom: 25px;
}

.botoes-acao-particular {
  display: flex;
  justify-content: center;
}

.btn-particular-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25d366;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

/* >>> RESPONSIVO ATENDIMENTO PARTICULAR <<< */
@media (max-width: 768px) {
  #atendimento-particular .texto-centralizado h2 {
    font-size: 32px;
  }
  .container-particular {
    grid-template-columns: 1fr; /* Empilha os cards no celular */
    gap: 20px;
  }
  .card-particular {
    padding: 25px 20px;
  }
}


/* ==========================================
   9. PÁGINA DE CONTATOS E RODAPÉ
   ========================================== */
.card-box.contato-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  border: 1px solid #efebe8;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  max-width: 900px;
  margin: 0 auto;
}

.card-box.contato-box > p {
  color: #665e56;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid #f0ece9;
  padding-bottom: 1.2rem;
}

.grid-contatos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.card-contato-item {
  background-color: #fcfaf7;
  border: 1px solid #efebe8;
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-contato-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04);
}

.card-contato-item h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  color: #3d3631;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.card-contato-item p {
  color: #665e56;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.link-contato {
  color: #8c5d33;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.link-contato:hover {
  color: #6f4726;
  text-decoration: underline;
}

.bloco-particular {
  background-color: #f8f4f0;
  border: 1px dashed #d8c8b8;
  border-radius: 12px;
  padding: 1.5rem;
}

.bloco-particular h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: #8c5d33;
  margin-bottom: 0.5rem;
}

.bloco-particular p {
  color: #665e56;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.rodape-simples {
  text-align: center;
  padding: 30px 20px;
  color: #7c6e63;
  font-size: 0.88rem;
  border-top: 1px solid #efebe8;
  margin-top: 40px;
} 

/* >>> RESPONSIVO CONTATOS / BLOG CARDS <<< */
@media (max-width: 600px) {
  .card-box {
    padding: 2rem 1.2rem;
  }
}


/* ==========================================
   10. MODAL DE AGENDAMENTO
   ========================================== */
.modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal.ativo {
  display: flex;
}

.modal-content {
  background-color: #f8f6f3;
  padding: 2.5rem;
  border-radius: 12px;
  max-width: 650px;
  width: 100%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #7c6e63;
  cursor: pointer;
  line-height: 1;
}

.modal-content h2 {
  color: #7c6e63;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.modal-content p {
  color: #66526e;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row input {
  flex: 1;
}

#formAgendamento input,
#formAgendamento textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #b5a598;
  border-radius: 6px;
  background-color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  color: #3d3530;
  outline: none;
  transition: border-color 0.2s;
}

#formAgendamento input:focus,
#formAgendamento textarea:focus {
  border-color: #8c5d33;
}

#formAgendamento textarea {
  margin-bottom: 1.5rem;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  background-color: #8c5d33;
  color: #ffffff;
  padding: 1rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-submit:hover {
  background-color: #6f4726;
}

/* >>> RESPONSIVO MODAL AGENDAMENTO <<< */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 1rem;
  }
}


/* ==========================================
   11. MODAL DE SERVIÇOS
   ========================================== */
.btn-saiba-mais {
  background: none;
  border: none;
  color: #7a5c4d;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 15px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.btn-saiba-mais:hover {
  color: #4a3528;
  text-decoration: underline;
}

.modal-servico-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
}

.modal-servico-overlay.ativo {
  display: flex;
}

.modal-servico-conteudo {
  background: #faf7f2;
  border-radius: 12px;
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 35px 30px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-fechar {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  line-height: 1;
}

.modal-servico-conteudo h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
  padding-right: 30px;
}

.modal-servico-conteudo p {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}

.modal-servico-conteudo h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: #333;
  margin-top: 25px;
  margin-bottom: 15px;
}

.lista-tags-demandas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
  padding: 0;
  list-style: none;
}

.lista-tags-demandas li {
  background-color: #eee7dd;
  color: #4a3528;
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: 20px;
}


/* ==========================================
   12. BOTÃO FLUTUANTE WHATSAPP E EXTRAS
   ========================================== */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 54px;
  height: 54px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 80;
}

/* Efeitos de revelação suave */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

a, button, .card-servico, .card-info {
  transition: all 0.3s ease-in-out;
}

/* Extras (Seção Online) - Caso utilizada no HTML */
@media (max-width: 600px) {
  .secao-online {
    padding: 50px 15px;
  }
  .grid-online {
    grid-template-columns: 1fr;
  }
}

/* Força a remoção de qualquer caractere de controle ou pseudo-elemento gerado no final dos parágrafos do blog */
.post-texto p::after,
.post-texto div::after,
.post-texto *:last-child::after {
  content: none !important;
  display: none !important;
}

/* Garante que nenhum span invisível ou cursor fantasma fique preso no texto */
.post-texto span[style*="cursor"],
.post-texto .ql-cursor {
  display: none !important;
}