/* Reset e fonte */
:root {
  --cor-primaria: #808000;
  --cor-primaria-escura: #6A774F;
  --cor-texto: #333;
  --cor-fundo: #f5f5f5;
  --cor-cta-bg: #d3d4a0;
}
* { box-sizing: border-box; }
:focus-visible { outline: 3px solid var(--cor-primaria); outline-offset: 2px; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
  color: var(--cor-texto);
}

main {
  flex: 1;
  padding: 20px;
}

header {
  background-color: #fff;
  padding: 10px 40px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
}

/* Logo e Menu */
.logo-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo img {
  height: 70px;
  object-fit: contain;
}

.logo-menu nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.logo-menu nav a {
  color: var(--cor-texto);
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s;
}

.logo-menu nav a:hover {
  color: #808000;
}

.logo-menu nav a.active {
  color: #6A774F;
}

.logo-menu nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #808000;
  transition: width 0.3s ease;
}

.logo-menu nav a:hover::after,
.logo-menu nav a.active::after {
  width: 100%;
}

/* Contato e Redes */
.contato-redes {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.9rem;
  color: #333;
}

.contato-redes span {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: color 0.3s;
}

.contato-redes span span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.contato-redes span img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.contato-redes span:hover {
  color: var(--cor-primaria);
}

.contato-redes .icon img:hover {
  transform: scale(1.2);
}

.icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  transition: transform 0.2s;
}

.icon img:hover {
  transform: scale(1.1);
}

/* Responsividade Header */
@media(max-width: 992px) {
  header {
    padding: 10px 20px;
  }
  
  .header-container {
    flex-direction: column;
    height: auto;
    gap: 15px;
    padding: 10px 0;
  }

  .logo-menu {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    text-align: center;
  }
  
  .logo img {
    height: 60px;
  }

  .logo-menu nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .contato-redes {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media(max-width: 600px) {
  header {
    padding: 8px 12px;
  }
  
  .logo img {
    height: 50px;
  }
  
  .logo-menu nav a {
    font-size: 0.9rem;
  }
  
  .contato-redes {
    font-size: 0.85rem;
  }
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px;
}

/* Hero Section */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  background-color: var(--cor-fundo);
  padding: 20px;
}

.hero img {
  width: 50%;
  max-width: 400px;
  object-fit: cover;
  border-radius: 10px;
}

.hero-content {
  width: 50%;
  padding: 20px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero a {
  display: inline-block;
  background-color: #808000;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.hero a:hover {
  background-color: #6A774F;
}

@media(max-width: 768px) {
  .hero {
    flex-direction: column;
    min-height: auto;
    padding: 30px 15px;
  }
  
  .hero img {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
  }
  
  .hero-content {
    width: 100%;
    text-align: center;
    padding: 10px;
  }
  
  .hero h1 {
    font-size: 1.6rem;
  }
}

/* Introdução */
.introducao, .tratamentos-intro, .consulta-intro {
  padding: 40px 20px;
  text-align: center;
  background-color: #fff;
}

.introducao h2, .tratamentos-intro h2, .consulta-intro h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-align: center;
}

.introducao p, .tratamentos-intro p, .consulta-intro p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

@media(max-width: 600px) {
  .introducao, .tratamentos-intro, .consulta-intro {
    padding: 30px 15px;
  }
  
  .introducao h2, .tratamentos-intro h2, .consulta-intro h2 {
    font-size: 1.5rem;
  }
  
  .introducao p, .tratamentos-intro p, .consulta-intro p {
    font-size: 1rem;
  }
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px 10px;
}

.card {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #808000;
}

@media(max-width: 600px) {
  .cards {
    gap: 15px;
  }
  
  .card {
    width: 100%;
    max-width: 320px;
    padding: 18px;
  }
  
  .card h3 {
    font-size: 1.1rem;
  }
}

/* CTA final */
.cta {
  padding: 40px 20px;
  text-align: center;
  background-color: #d3d4a0;
}

.cta a {
  background-color: #808000;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.2rem;
  transition: background-color 0.3s;
}

.cta a:hover {
  background-color: #6A774F;
}

@media(max-width: 600px) {
  .cta {
    padding: 30px 15px;
  }
  
  .cta a {
    font-size: 1.1rem;
    padding: 0.9rem 1.8rem;
  }
}

/* Sobre - Foto e Apresentação */
.sobre-apresentacao {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background-color: #fff;
  gap: 20px;
}

.foto-sobre img {
  width: 300px;
  max-width: 100%;
  border-radius: 10px;
}

.conteudo-sobre {
  max-width: 600px;
}

.conteudo-sobre h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-align: center;
}

.como-ajudar h2 {
  text-align: center;
  margin-bottom: 20px;
}

.conteudo-sobre h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #808000;
}

.conteudo-sobre p {
  font-size: 1.1rem;
}

@media(max-width: 768px) {
  .sobre-apresentacao {
    flex-direction: column;
    padding: 30px 15px;
  }
  
  .foto-sobre img {
    width: 100%;
    max-width: 280px;
  }
  
  .conteudo-sobre {
    width: 100%;
    text-align: center;
  }
  
  .conteudo-sobre h2 {
    font-size: 1.7rem;
  }
  
  .conteudo-sobre h3 {
    font-size: 1.1rem;
  }
  
  .conteudo-sobre p {
    font-size: 1rem;
  }
}

/* Formação */
.formacao {
  padding: 40px 20px;
  background-color: #f5f5f5;
  text-align: center;
}

.formacao h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.formacao ul {
  list-style: none;
  padding: 0;
}

.formacao li {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

@media(max-width: 600px) {
  .formacao {
    padding: 30px 15px;
  }
  
  .formacao h2 {
    font-size: 1.5rem;
  }
  
  .formacao li {
    font-size: 1rem;
  }
}

/* Filosofia */
.filosofia {
  padding: 40px 20px;
  text-align: center;
  background-color: #fff;
}

.filosofia h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.filosofia p {
  font-size: 1.1rem;
  font-style: italic;
  max-width: 700px;
  margin: 0 auto;
}

@media(max-width: 600px) {
  .filosofia {
    padding: 30px 15px;
  }
  
  .filosofia h2 {
    font-size: 1.5rem;
  }
  
  .filosofia p {
    font-size: 1rem;
  }
}

/* Consulta - Observação ética */
.consulta-etica {
  padding: 20px;
  text-align: center;
  background-color: #fff3e0;
  font-weight: bold;
}

@media(max-width: 600px) {
  .consulta-etica {
    padding: 15px;
    font-size: 0.95rem;
  }
}

/* Contato */
.contato-dados, .contato-formulario {
  padding: 40px 20px;
  text-align: center;
}

.contato-dados h2, .contato-formulario h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contato-dados p {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.contato-dados a {
  color: #808000;
  text-decoration: none;
}

.contato-dados a:hover {
  text-decoration: underline;
}

@media(max-width: 600px) {
  .contato-dados, .contato-formulario {
    padding: 30px 15px;
  }
  
  .contato-dados h2, .contato-formulario h2 {
    font-size: 1.5rem;
  }
  
  .contato-dados p {
    font-size: 1rem;
  }
}

/* Formulário */
.contato-formulario form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.contato-formulario label {
  font-weight: bold;
}

.contato-formulario input,
.contato-formulario textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contato-formulario button {
  background-color: #808000;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contato-formulario button:hover {
  background-color: #6A774F;
}

@media(max-width: 600px) {
  .contato-formulario form {
    max-width: 100%;
    padding: 0 10px;
  }
  
  .contato-formulario input,
  .contato-formulario textarea {
    font-size: 0.95rem;
  }
}

/* Mapa */
.contato-mapa {
  margin: 20px 0;
}

/* Antes e depois */
.antes-depois {
  text-align: center;
  padding: 40px 20px;
}

.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 60px;
}

.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.carousel {
  display: flex;
  transition: transform 0.4s ease;
  gap: 16px;
}

.carousel img {
  width: calc(33.333% - 16px);
  height: 200px;
  border-radius: 12px;
  object-fit: cover;
}

.carousel-container button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #808000;
  color: #fff;
  border: none;
  font-size: 22px;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  z-index: 20;
}

.carousel-container button:hover {
  background: #6A774F;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.carousel-container .prev { left: 0; }
.carousel-container .next { right: 0; }

@media(max-width: 768px) {
  .antes-depois {
    padding: 30px 10px;
  }
  
  .carousel-container {
    padding: 0 50px;
  }
  
  .carousel img {
    width: calc(50% - 16px);
    height: 180px;
  }
  
  .carousel-container button {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
}

@media(max-width: 480px) {
  .carousel-container {
    padding: 0 45px;
  }
  
  .carousel img {
    width: 100%;
    height: 180px;
  }
  
  .carousel-container button {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

/* Depoimentos */
.depoimentos {
  padding: 40px 20px;
  background: #fff;
}

.depoimentos h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.depoimentos-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid #e5e5e5;
}

.depoimento {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 16px;
  row-gap: 8px;
  padding: 18px 4px;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

.depoimento img {
  max-width: 500px;
  width: auto;
  height: auto;
  border-radius: 0;
  object-fit: contain;
}

.depoimento p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
}

.depoimento strong {
  font-size: 1rem;
  color: #6A774F;
  margin-top: 6px;
}
/* === MOBILE HEADER REFINADO (até 600px) ===
   Mantém o desktop INALTERADO. No mobile:
   - Header mais solto e legível
   - Apenas o ÍCONE do telefone visível (rótulo e número ocultos)
   - Ícones com tamanho fixo e sem efeitos que causam shift
*/
@media (max-width: 600px) {
  /* Altura/espaços mais contidos */
  header { padding: 10px 12px; }
  .header-container { gap: 14px; }

  /* Logo menor (sem distorcer) */
  .logo img {
    height: 46px;
    width: auto;
    aspect-ratio: 3 / 1;
    object-fit: contain;
  }

  /* Menu mais compacto */
  .logo-menu nav a { font-size: 0.9rem; padding: 4px 0; }
  .logo-menu nav ul { gap: 10px; row-gap: 6px; }

  /* Contato e redes centralizados e numa linha (sem quebra) */
  .contato-redes {
    width: 100%;
    justify-content: center;
    gap: 10px 14px;
    flex-wrap: nowrap;
    align-items: center;
  }

  /* Telefone: mostrar SÓ o ícone no mobile */
  .contato-redes .telefone {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    white-space: nowrap;
  }
  .contato-redes .telefone .t-rotulo,
  .contato-redes .telefone .t-numero {
    display: none !important;
  }

  /* Ícones com tamanho fixo e sem efeitos que causem layout shift */
  .contato-redes img,
  .icon img {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    transition: none !important;
    transform: none !important;
  }

  /* Desativa transições no header para evitar “pulos” */
  header *, .contato-redes *, .logo-menu * { transition: none !important; }
}

/* === EXTRA COMPACTAÇÃO (até 400px) ===
   Reduz ainda mais a logo e os ícones. */
@media (max-width: 400px) {
  .logo img { height: 40px; }
  .contato-redes img,
  .icon img { width: 20px; height: 20px; flex: 0 0 20px; }
  .header-container { gap: 10px; }
}

/* === AJUSTES MOBILE GERAIS DE OUTRAS SEÇÕES (mantidos) === */
@media (max-width: 600px) {
  .depoimentos { padding: 40px 18px; }
  .depoimentos h2 { font-size: 1.6rem; margin-bottom: 20px; }
  .depoimento {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 28px 12px;
  }
  .depoimento img { max-width: 300px; margin-bottom: 14px; }
  .depoimento p { font-size: 1.1rem; line-height: 1.8; }
  .depoimento strong { font-size: 1.05rem; }

  .cta { padding: 40px 20px; }
  .cta h2, .consulta-intro h2 { margin-bottom: 18px; }
  .cta p { font-size: 1rem; margin-bottom: 16px; }
  .cta a {
    display: inline-block;
    max-width: 100%;
    font-size: 1.05rem;
    line-height: 1.3;
    padding: 1rem 1.9rem;
    white-space: normal;
    word-break: keep-all;
  }

  .antes-depois { padding: 36px 14px; }
  .carousel-container { padding: 0 50px; }
  .carousel img { height: 180px; }
  .carousel-container button {
    width: 38px; height: 38px; font-size: 18px;
  }
}
/* Telefone: não autoajustar no celular, manter como antes */
/* Ocultar o bloco de telefone no celular (até 600px) */
@media (max-width: 600px) {
  /* Se o telefone for um item específico dentro de .contato-redes, dê uma classe a ele, ex.: .contato-telefone */
  .contato-telefone {
    display: none !important;
  }

  /* Caso não tenha classe específica:
     1) Se o telefone for o primeiro span dentro de .contato-redes */
  .contato-redes > span:first-child {
    display: none !important;
  }

  /* 2) Se o telefone for um link tel: */
  .contato-redes a[href^="tel:"] {
    display: none !important;
  }
}