


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #a8f28c;
  color: #222;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Atalho de retorno compartilhado pelas páginas institucionais. */
.page-back {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  left: 16px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px 0 12px;
  border-radius: 12px;
  background: #e5f2ed;
  color: #125b45;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(18, 91, 69, 0.12);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.page-back__icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.page-back:hover,
.page-back:focus-visible {
  background: #cfe9dc;
  color: #0d4c39;
  transform: translateX(-2px);
}

.page-back:focus-visible {
  outline: 3px solid rgba(18, 91, 69, 0.38);
  outline-offset: 3px;
}


header {
  background-color: #21d27c;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 60px;
}

header h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  opacity: 0.8;
}

nav a.ativo {
  text-decoration: underline;
}


main.conteudo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.card {
  background-color: #f5f5f5;
  border-radius: 20px;
  padding: 40px 60px;
  max-width: 700px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.card h2 {
  color: #111;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.card p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #333;
  font-family: 'Inter', sans-serif;
}

.lista-servicos {
  list-style: none;
  text-align: left;
}

.lista-servicos li {
  background-color: #d9fdd3;
  margin: 10px 0;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 1rem;
}


.form-contato {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-contato label {
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-contato input,
.form-contato textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  transition: border-color 0.3s;
}

.form-contato input:focus,
.form-contato textarea:focus {
  border-color: #21d27c;
}

.form-contato button {
  margin-top: 20px;
  background-color: #21d27c;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-contato button:hover {
  background-color: #1bb96c;
}

footer {
  background-color: #21d27c;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
}


@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .card {
    padding: 30px 25px;
  }

  nav a {
    margin: 0 10px;
  }
}
.health-footer {
    background: #ffffff;
    color: #2d3748;
    padding: 20px 0 10px;
    margin-top: 40px;
    border-top: 1px solid #e2e8f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.8em;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-section h3 {
    color: #22c55e;
    margin: 0;
    font-size: 2em;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: #22c55e;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1.5em;
    font-weight: 500;
}

.footer-links a:hover {
    color: #16a34a;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 15px auto 0;
    padding: 10px 20px 0;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: #64748b;
    font-size: 1em;
}


@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        gap: 20px;
    }
    
    .health-footer {
        padding: 15px 0 8px;
    }
}
