/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.3; }

/* ===== TOP BAR ===== */
.top-bar {
  background: #1a3a5c;
  color: #fff;
  font-size: 0.85rem;
  padding: 6px 0;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.top-bar a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity .2s;
}
.top-bar a:hover { opacity: .8; }
.top-bar img { width: 16px; height: 16px; display: inline; }

/* ===== HEADER ===== */
.site-header {
  background: #1a3a5c;
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-area img { width: 60px; height: 60px; border-radius: 50%; }
.logo-text h1 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .3px;
  line-height: 1.2;
}
.logo-text p {
  font-size: 0.75rem;
  opacity: .85;
  margin-top: 2px;
}
.main-nav { display: flex; align-items: center; }
.main-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
.main-nav a {
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background .2s;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,.15); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: .7em;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  color: #333;
  min-width: 220px;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  padding: 8px 0;
  z-index: 200;
}
.dropdown-menu a {
  color: #333;
  display: block;
  padding: 8px 16px;
  font-size: .85rem;
}
.dropdown-menu a:hover { background: #f0f4f8; color: #1a3a5c; }
.nav-dropdown:hover .dropdown-menu { display: block; }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 8px;
}

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(rgba(26,58,92,.82), rgba(26,58,92,.82)), url('../images/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
}
.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  font-weight: 300;
}
.hero .hero-name {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.hero .hero-role {
  font-size: 1rem;
  opacity: .9;
  margin-bottom: 30px;
}
.hero-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.hero-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: .95rem;
  transition: opacity .2s;
}
.hero-contact a:hover { opacity: .8; }

/* ===== INTRO SECTION ===== */
.intro-section {
  padding: 50px 0;
  text-align: center;
  background: #f8f9fb;
}
.intro-section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #555;
}

/* ===== SERVICES GRID ===== */
.services-section {
  padding: 60px 0;
}
.section-title {
  text-align: center;
  font-size: 1.8rem;
  color: #1a3a5c;
  margin-bottom: 8px;
}
.section-subtitle {
  text-align: center;
  color: #777;
  margin-bottom: 40px;
  font-size: 1rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.service-card img {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
}
.service-card h3 {
  font-size: 1.05rem;
  color: #1a3a5c;
  margin-bottom: 10px;
}
.service-card p {
  font-size: .88rem;
  color: #666;
  line-height: 1.5;
}

/* ===== CTA BUTTON ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s, transform .1s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: #1a3a5c;
  color: #fff;
}
.btn-primary:hover { background: #15314e; transform: translateY(-1px); }
.btn-whatsapp {
  background: #25d366;
  color: #fff;
}
.btn-whatsapp:hover { background: #1fb855; }
.btn-outline {
  background: transparent;
  color: #1a3a5c;
  border: 2px solid #1a3a5c;
}
.btn-outline:hover { background: #1a3a5c; color: #fff; }

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 40px 0;
  text-align: center;
  background: #f0f4f8;
}
.cta-section p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
}

/* ===== TABELIAO / ABOUT ===== */
.tabeliao-section {
  padding: 60px 0;
  background: #fff;
}
.tabeliao-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}
.tabeliao-photo {
  text-align: center;
}
.tabeliao-photo img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #1a3a5c;
  margin: 0 auto;
}
.tabeliao-photo .qr-code {
  width: 120px;
  margin: 16px auto 0;
  border-radius: 0;
  border: none;
}
.tabeliao-info h2 {
  color: #1a3a5c;
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.tabeliao-info h3 {
  color: #555;
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 16px;
}
.tabeliao-info p {
  margin-bottom: 10px;
  font-size: .95rem;
  color: #555;
}

/* ===== PARTNERS ===== */
.partners-section {
  padding: 40px 0;
  background: #f8f9fb;
}
.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.partners-grid img {
  height: 50px;
  width: auto;
  filter: grayscale(30%);
  opacity: .8;
  transition: opacity .2s, filter .2s;
}
.partners-grid img:hover { filter: none; opacity: 1; }

/* ===== GOOGLE MAP ===== */
.map-section { padding: 0; }
.map-section iframe {
  width: 100%;
  height: 350px;
  border: none;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #1a3a5c;
  color: #fff;
  padding: 40px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-col h4 {
  font-size: .95rem;
  margin-bottom: 12px;
  opacity: .9;
}
.footer-col p, .footer-col a {
  font-size: .85rem;
  color: rgba(255,255,255,.8);
  line-height: 1.8;
}
.footer-col a:hover { color: #fff; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.footer-social img { width: 24px; height: 24px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 16px;
  text-align: center;
  font-size: .8rem;
  opacity: .7;
}

/* ===== PAGE CONTENT ===== */
.page-header {
  background: linear-gradient(rgba(26,58,92,.85), rgba(26,58,92,.85)), url('../images/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 50px 0 40px;
  text-align: center;
}
.page-header h2 { font-size: 2rem; }
.page-content {
  padding: 50px 0;
  max-width: 900px;
  margin: 0 auto;
}
.page-content h3 {
  color: #1a3a5c;
  font-size: 1.3rem;
  margin: 24px 0 12px;
}
.page-content p {
  margin-bottom: 14px;
  font-size: .95rem;
  color: #444;
  line-height: 1.7;
}
.page-content ul {
  margin: 10px 0 14px 24px;
  list-style: disc;
}
.page-content li {
  margin-bottom: 6px;
  font-size: .95rem;
  color: #444;
}
.page-content .contact-cta {
  background: #f0f4f8;
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 30px;
  text-align: center;
}
.page-content .contact-cta p {
  margin-bottom: 12px;
  color: #1a3a5c;
  font-weight: 500;
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.blog-card {
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.blog-card-body { padding: 20px; }
.blog-card h3 {
  font-size: 1rem;
  color: #1a3a5c;
  margin-bottom: 8px;
}
.blog-card p {
  font-size: .85rem;
  color: #666;
  line-height: 1.5;
}
.blog-card .blog-date {
  font-size: .8rem;
  color: #999;
  margin-top: 8px;
}

/* ===== ABOUT PAGE ===== */
.team-section { padding: 50px 0; }
.team-section h2 {
  color: #1a3a5c;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.team-section p {
  font-size: .95rem;
  color: #555;
  max-width: 800px;
}

/* ===== PAYMENT PAGE ===== */
.payment-info {
  background: #f8f9fb;
  border-radius: 8px;
  padding: 24px;
  margin: 20px 0;
}
.payment-info h4 {
  color: #1a3a5c;
  margin-bottom: 10px;
}
.payment-info p {
  margin-bottom: 4px;
}

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,.4);
  transition: transform .2s;
}
.whatsapp-fab:hover { transform: scale(1.1); }
.whatsapp-fab svg { width: 28px; height: 28px; fill: #fff; }

/* ===== PROVIMENTO NOTICE ===== */
.notice-bar {
  background: #fff8e1;
  border-left: 4px solid #f9a825;
  padding: 12px 20px;
  margin: 20px 0;
  border-radius: 4px;
  font-size: .9rem;
  color: #555;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .tabeliao-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-social { justify-content: center; }
}
@media (max-width: 768px) {
  .main-nav ul { display: none; }
  .main-nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a3a5c;
    padding: 12px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
  }
  .main-nav ul.open .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,.1);
  }
  .main-nav ul.open .dropdown-menu a { color: #fff; }
  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .menu-toggle { display: block; }
  .hero h2 { font-size: 1.5rem; }
  .section-title { font-size: 1.4rem; }
  .services-grid { grid-template-columns: 1fr; }
  .top-bar .container { font-size: .75rem; gap: 12px; }
  .blog-grid { grid-template-columns: 1fr; }
}
