/* ==================== RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.text-shadow {
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}
html, body {
  height: 100%;
  font-family: Arial, sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;

  /* força o fundo verde/gradiente, mesmo se houver bg-white do Tailwind */
  background: linear-gradient(180deg, #0ea5a3 0%, #059669 35%, #047857 100%) !important;
  background-color: #059669 !important; /* fallback */
  background-attachment: fixed; /* deixa mais “firme” no scroll */
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ==================== VÍDEO DE FUNDO ==================== */
.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

/* ==================== HEADER & MENU (DESKTOP) ==================== */
header {
  background: rgba(0, 0, 0, 0.6);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
}
.logo img {
  height: 24px;
}
/* Menu desktop */
.menu {
  display: flex;
  gap: 15px;
}
.menu a {
  color: white;
  font-weight: bold;
  border: 1px solid white;
  padding: 8px 15px;
  border-radius: 5px;
  transition: background 0.3s;
}
.menu a:hover {
  background: white;
  color: black;
}
/* Hamburger (desktop escondido) */
.hamburger {
  display: none;
  width: 30px;              /* área de toque maior */
  height: 30px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 20; /* acima do menu */
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* ==================== FAIXA TERAPEUTAS ==================== */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  z-index: 5;
}
.faixa-terapeutas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  padding: 40px;
  margin: auto;
  width: 90%;
  max-width: 1100px;
  border-radius: 20px;
  position: relative;
  top: -10px;
}
.terapeuta-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 15px;
  width: 200px;
}
.terapeuta-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid white;
}
.terapeuta-card h3 {
  margin-top: 10px;
  font-size: 1.1rem;
  line-height: 1.2em;
  height: 2.4em;
  overflow: hidden;
  margin-bottom: 0.5em;
}
.terapeuta-card p {
  font-size: .9rem;
  margin: 5px 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.terapeuta-card a {
  color: #fff;
  text-decoration: underline;
}

/* ==================== BENEFÍCIOS ==================== */
.beneficios {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  margin: 60px auto 0;
  padding: 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 850px;
  text-align: left;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}
.beneficios h2 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 300;
  text-align: center;
}
.beneficios ul {
  list-style: none;
  padding-left: 0;
}
.beneficios li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* ==================== FORM & LOADER ==================== */
/* ... seu .form-agendamento e #loadingOverlay aqui ... */

/* ==================== FOOTER ==================== */
footer {
  padding: 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  margin-top: auto;
  z-index: 10;
}

/* ==================== RESULTADOS DE BUSCA ==================== */
.search-results-container {
  max-width: 1024px;
  margin: 2rem auto;
  padding: 3rem 2rem;
  background: #d6d6d6;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  color: #1f2937;
}
/* ... restantes das regras de busca ... */

/* ==================== RESULTADOS INTERNOS ==================== */
.resultado {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  margin: 60px auto 0;
  padding: 30px;
  border-radius: 20px;
  width: 70%;
  max-width: 850px;
  text-align: center;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}
.resultado h2 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 300;
  text-align: center;
}
.resultado ul {
  list-style: none;
  padding-left: 0;
}
.resultado li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* TinyMCE z-index fixes */
.tox-tinymce-aux, .tox-tinymce-aux * {
  z-index: 2050 !important;
}
.tox-tinymce {
  z-index: 1000 !important;
}
.tox {
  z-index: 1050 !important;
}

/* Modal: remove outline no botão fechar */
#modalViewImagem button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #d1fae5;
}

/* Busca: botão de e-mail com tooltip (versão discreta) */
.search-results-container .sr-card { position: relative; }

.search-results-container .sr-actions{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.search-results-container .sr-mail{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;           /* ↓ menor */
  height: 24px;          /* ↓ menor */
  border-radius: 6px;
  background: transparent;             /* sem bloco preto grandão */
  border: none;
  transition: transform .12s ease, opacity .12s ease;
  opacity: .85;
}
.search-results-container .sr-mail:hover{
  transform: translateY(-1px);
  opacity: 1;
}
.search-results-container .sr-mail svg{
  width: 16px;           /* ↓ menor */
  height: 16px;          /* ↓ menor */
  color: #e5e7eb;        /* cinza claro */
}

/* Tooltip */
.search-results-container .sr-mail .sr-tooltip{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 8px);
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .12s ease;
}
.search-results-container .sr-mail:hover .sr-tooltip{ opacity: 1; }
