:root {
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --health: #198754;
  --light: #f8f9fa;
  --dark: #212529;
  --muted: #6c757d;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: #fff;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 1rem; }

.site-header {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-dark);
}
.logo img { width: 42px; height: 42px; }
nav ul {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}
nav a { color: var(--dark); font-weight: 500; font-size: .95rem; }
nav a:hover { color: var(--primary); }
.has-dropdown { position: relative; }
.has-dropdown:hover .dropdown { display: block; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  min-width: 260px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  padding: .5rem 0;
  z-index: 200;
}
.dropdown a {
  display: block;
  padding: .5rem 1rem;
  color: var(--dark);
  font-size: .9rem;
}
.dropdown a:hover { background: var(--light); }
.btn-cta {
  background: var(--health);
  color: #fff !important;
  padding: .5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
}
.btn-cta:hover { background: #157347; text-decoration: none; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

.hero {
  background: linear-gradient(135deg, #e8f4fd 0%, #f0faf5 100%);
  padding: 3.5rem 0;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--primary-dark);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 700px; margin: 0 auto 1.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }

section { padding: 3rem 0; }
.section-title {
  font-size: 1.75rem;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.card h3 { color: var(--primary-dark); margin-bottom: .5rem; font-size: 1.15rem; }
.card p { color: var(--muted); font-size: .95rem; }

.page-header {
  background: linear-gradient(135deg, #e8f4fd 0%, #f0faf5 100%);
  padding: 2.5rem 0;
  margin-bottom: 0;
}
.page-header h1 { font-size: 2rem; color: var(--primary-dark); }
.content { max-width: 800px; margin: 0 auto; }
.content p { margin-bottom: 1rem; }
.content h2 { color: var(--primary-dark); margin: 1.75rem 0 .75rem; font-size: 1.4rem; }
.content ul { margin: 1rem 0 1rem 1.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .35rem; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: .65rem .85rem;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,110,253,.15);
}
.form-group .error { color: #dc3545; font-size: .875rem; margin-top: .25rem; }
.alert-success {
  background: #d1e7dd;
  color: #0f5132;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.site-footer {
  background: #f4f7fa;
  color: #3d4a5c;
  border-top: 1px solid #dce5ee;
  padding: 2.75rem 0 1.25rem;
  margin-top: 3rem;
}
.site-footer a {
  color: #4a6fa5;
  text-decoration: none;
  transition: color .2s ease;
}
.site-footer a strong {
  color: #2f5f8f;
  font-weight: 700;
}
.site-footer a:hover,
.site-footer a:hover strong {
  color: #198754;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 {
  color: #5a7a9a;
  margin-bottom: .85rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: .4rem; }
.footer-bottom {
  border-top: 1px solid #e2eaf2;
  margin-top: 1.75rem;
  padding-top: 1rem;
  font-size: .875rem;
  color: #7a8a9a;
  text-align: center;
}

.float-help {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #25d366;
  color: #fff !important;
  padding: .7rem 1.1rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  animation: pulse 1.8s infinite;
  text-decoration: none !important;
}
.float-help:hover { background: #1ebe57; color: #fff; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  #main-nav { display: none; width: 100%; }
  #main-nav.open { display: block; }
  #main-nav ul { flex-direction: column; align-items: flex-start; padding: 1rem 0; }
  .dropdown { position: static; box-shadow: none; border: none; }
  .float-help { left: 12px; bottom: 16px; font-size: .9rem; padding: .6rem .9rem; }
}

/* === Textos maiores (SEO + legibilidade) === */
body { font-size: 18px; }
.content { max-width: 860px; font-size: 1.125rem; line-height: 1.85; }
.content p { margin-bottom: 1.25rem; font-size: 1.125rem; }
.content h1 { font-size: clamp(1.75rem, 4vw, 2.35rem); }
.content h2 { font-size: 1.55rem; margin: 2rem 0 1rem; }
.page-header h1 { font-size: clamp(1.85rem, 4.5vw, 2.5rem); line-height: 1.3; }
.page-header p { font-size: 1.1rem; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 2.75rem); }
.hero p { font-size: 1.2rem; }
.card h3 { font-size: 1.25rem; }
.card p { font-size: 1.05rem; }
.section-title { font-size: 2rem; }

/* Banner rotativo */
.banner-slider {
  position: relative;
  width: 100%;
  height: min(52vw, 420px);
  min-height: 220px;
  overflow: hidden;
  background: #0a58ca;
}
.banner-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}
.banner-slider .slide.active { opacity: 1; z-index: 1; }
.banner-slider .slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,40,80,.65) 0%, rgba(10,40,80,.25) 60%, transparent 100%);
}
.banner-caption {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  padding: 2rem 1rem 2.5rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.banner-caption h2 {
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  margin-bottom: .4rem;
  color: #fff;
}
.banner-caption p { font-size: 1.05rem; max-width: 560px; opacity: .95; }
.banner-dots {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.banner-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.banner-dots button.active { background: #fff; }

/* Imagem em destaque nos textos */
.featured-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 1.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.gallery-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.gallery-home img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}
@media (max-width: 768px) {
  body { font-size: 17px; }
  .content p { font-size: 1.05rem; }
  .banner-slider { height: 240px; }
}

/* Tipografia reforçada — legibilidade desktop e mobile */
body { font-size: 20px !important; }
.content { max-width: 920px !important; font-size: 1.2rem !important; line-height: 1.9 !important; }
.content p { margin-bottom: 1.35rem !important; font-size: 1.2rem !important; }
.content h2 { font-size: 1.7rem !important; margin: 2.25rem 0 1.1rem !important; }
.content strong { font-weight: 700; }
.page-header h1 { font-size: clamp(2rem, 5vw, 2.75rem) !important; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem) !important; }
.hero p { font-size: 1.25rem !important; }
.card h3 { font-size: 1.3rem !important; }
.card p { font-size: 1.1rem !important; }
.section-title { font-size: 2.15rem !important; }
nav a { font-size: 1.05rem !important; }
@media (max-width: 768px) {
  body { font-size: 18px !important; }
  .content p { font-size: 1.1rem !important; }
}

.footer p, .site-footer p { color: #3d4a5c; line-height: 1.65; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: .4rem; }
