/* IMPORTAÇÃO DE FONTES */
/* IMPORTAÇÃO DE FONTES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@700;800&display=swap');

/* DEFINIÇÕES DE ANIMAÇÕES (KEYFRAMES) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* RESET E BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f0fdf4;
  color: #1b1b1b;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* CABEÇALHO ATUALIZADO PARA BANNER COMPLETO NO MOBILE */
/* CABEÇALHO ATUALIZADO */
header {
  background: url('img/banner.jpg') no-repeat center top;
  background-size: cover;
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
  width: 100%;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeIn 1.5s ease-in;
}

/* ESTILIZAÇÃO DA MARCA (NOVO) */
.header-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
}

.header-logo {
  max-width: 300px; /* Tamanho da sua logo */
  height: auto;
  margin-bottom: 5px;
  filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.4));
}

.header-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
  margin-bottom: 10px;
}

.header-subtext {
  color: #ffffff !important;
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  font-weight: 600;
  max-width: 800px;
  margin: 0 auto 20px;
  text-shadow: 2px 2px 12px #000;
  animation: fadeInUp 1s ease-out;
}

.btn-header {
  padding: 10px 20px;
  font-size: 0.85rem;
  margin-top: 10px;
}

/* AJUSTES ESPECÍFICOS PARA DISPOSITIVOS MÓVEIS (MOBILE) */
@media (max-width: 768px) {
  header {
    background-size: contain; 
    background-position: center top;
    background-color: #065f46; 
    min-height: auto; 
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: flex-end; 
  }

  .overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
    padding: 15px 10px;
  }

  /* Ajustes da Marca no Mobile */
  .header-logo {
    max-width: 70px;
    margin-bottom: 2px;
  }
  .header-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }

  .header-subtext {
    font-size: 0.8rem;
    margin-bottom: 8px;
    line-height: 1.2;
    text-shadow: 1px 1px 5px #000;
  }

  .btn-header {
    padding: 8px 16px;
    font-size: 0.75rem;
    margin-top: 2px;
  }

}
/* BOTÕES COM MICRO-INTERAÇÕES */
.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 16px 32px;
  background: #16a34a;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.3);
  cursor: pointer;
  border: none;
  animation: fadeInUp 1.4s ease-out;
}

.btn:hover {
  background: #15803d;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 24px rgba(21, 128, 61, 0.4);
}

.btn:active {
  transform: scale(0.98);
}

/* SEÇÕES COM ANIMAÇÃO AO ROLAR */
section {
  padding: 100px 20px;
  text-align: center;
  /* Ativa animação quando a seção aparece */
  animation: fadeInUp 1s ease-out both;
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}

section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #065f46;
  position: relative;
  display: inline-block;
}

section h2::after {
  content: '';
  width: 60px;
  height: 4px;
  background: #16a34a;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* GRID DE SERVIÇOS E CARDS ANIMADOS */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1240px;
  margin: 0 auto;
}

.card {
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: left;
  flex: 1 1 300px;
  max-width: 360px;
  transition: all 0.5s ease;
  border: 1px solid #f0fdf4;
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(22, 163, 74, 0.15);
  border-color: #16a34a;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: transform 0.6s ease;
}

.card:hover img {
  transform: scale(1.08);
}

/* SEÇÃO TOXICOLÓGICO */
.tox-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
  text-align: left;
}

.tox-text { flex: 1 1 500px; }
.tox-image { flex: 1 1 350px; transition: transform 0.5s ease;}
.tox-image:hover { transform: rotate(1deg) scale(1.02); }

.tox-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* FORMULÁRIO FALE CONOSCO REFINADO */
.contact-form {
  max-width: 550px;
  margin: 0 auto;
  background: #fff;
  padding: 45px;
  border-radius: 24px;
  text-align: left;
  box-shadow: 0 15px 45px rgba(6, 95, 70, 0.08);
}

.contact-form input, 
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 25px;
  border: 2px solid #f1f5f9;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus, 
.contact-form textarea:focus {
  border-color: #16a34a;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
  outline: none;
}
/* DESTAQUE DOS TÓPICOS DO TOXICOLÓGICO */
.tox-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.tox-list li {
  background: #ffffff; /* Fundo branco para destacar do fundo da seção */
  border: 1px solid #d1fae5; /* Borda verde bem clarinha */
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(6, 95, 70, 0.08); /* Sombra leve para dar profundidade */
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

/* Efeito ao passar o mouse nos tópicos */
.tox-list li:hover {
  transform: translateX(10px);
  border-color: #16a34a;
}

.tox-list li strong {
  color: #15803d;
  margin-right: 5px;
}

/* NOTA DE OBSERVAÇÃO */
.tox-note {
  font-size: 0.95rem;
  color: #065f46;
  background: #d1fae5; /* Fundo verde claro para a nota */
  border-left: 5px solid #16a34a;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
}

.btn-submit {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* RODAPÉ CENTRALIZADO */
footer {
  background: #065f46;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

footer a {
  color: #d9f99d;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  section { padding: 60px 20px; }
  .card { flex: 1 1 100%; }
  header h1 { font-size: 2.8rem; }
}
/* ESTILIZAÇÃO DA AGENDA */
#agenda {
  background-color: #ffffff;
}

.agenda-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.agenda-item {
  background: #f8fafc;
  border-radius: 15px;
  padding: 25px;
  flex: 1 1 220px;
  max-width: 280px;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: transform 0.3s ease;
}

.agenda-item:hover {
  transform: translateY(-5px);
  border-color: #16a34a;
}

.dia-tag {
  display: inline-block;
  background-color: #16a34a;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.agenda-item ul {
  list-style: none;
  padding: 0;
}

.agenda-item li {
  font-family: 'Montserrat', sans-serif;
  color: #065f46;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

/* Destaque para o exame diário */
.agenda-item.destaque {
  background-color: #d1fae5;
  border: 2px solid #16a34a;
}

.agenda-item.destaque .dia-tag {
  background-color: #065f46;
}
/* ESTILIZAÇÃO DA SEÇÃO DE MAPA */
#localizacao {
  background-color: #f8fafc;
}

.map-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.google-map {
  flex: 1 1 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 4px solid #fff;
}

.map-text {
  flex: 1 1 400px;
  text-align: left;
}

.map-text h3 {
  font-family: 'Montserrat', sans-serif;
  color: #065f46;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.direcoes-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.direcoes-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.direcoes-list li::before {
  content: '📍';
  position: absolute;
  left: 0;
}

.btn-map {
  background-color: #065f46;
  margin-top: 10px;
}

.btn-map:hover {
  background-color: #16a34a;
}

/* Ajuste para celular */
@media (max-width: 768px) {
  .map-container {
    flex-direction: column;
  }
  .google-map {
    width: 100%;
    height: 300px;
  }
}
/* ESTILO DO BOTÃO FLUTUANTE */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
  box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
}

/* Ajuste para telas menores (celular) */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}
/* ESTILIZAÇÃO DO FAQ ACORDEÃO */
#faq {
  background-color: #ffffff;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 10px;
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #065f46;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: #16a34a;
}

.faq-question.active::after {
  content: '-';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #f8fafc;
  border-radius: 8px;
}

.faq-answer p {
  padding: 20px;
  color: #4b5563;
  line-height: 1.6;
}
