:root {
  --primary-color: #0b2545;
  --secondary-color: #134074;
  --accent-color: #0077b6;
  --accent-hover: #0096c7;
  --text-main: #1d2d44;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Header & Navigation */
.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 0.8rem 0;
  transition: var(--transition-smooth);
}

.navbar-brand img {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

@media (max-width: 576px) {
  .navbar-brand img {
    height: 55px;
  }
}

.nav-link {
  color: var(--text-main) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link:focus {
  color: var(--accent-color) !important;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 0.75rem;
}

.dropdown-item {
  font-size: 0.9rem;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  color: var(--text-main);
  font-weight: 450;
  transition: var(--transition-smooth);
}

.dropdown-item:hover {
  background-color: #f0f4f8;
  color: var(--accent-color);
  transform: translateX(3px);
}

/* Hero Banner Contato */
.contact-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #ffffff;
  padding: 3.5rem 0;
  text-align: center;
}

.contact-hero h1 {
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.contact-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Contact Cards */
.contact-section {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.contact-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eef2f6;
  padding: 2rem;
  height: 100%;
  transition: var(--transition-smooth);
  display: flex;
  align-items: flex-start;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
  border-color: transparent;
}

.contact-icon {
  width: 55px;
  height: 55px;
  border-radius: 14px;
  background-color: #e8f1f9;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-right: 1.25rem;
  transition: var(--transition-smooth);
}

.contact-card:hover .contact-icon {
  background-color: var(--accent-color);
  color: #ffffff;
}

.contact-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.4rem;
}

.contact-card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.contact-card-text a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.contact-card-text a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Map Section */
.map-section {
  line-height: 0;
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* Footer / Socials */
footer {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 3rem 0;
}

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 8px;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateY(-3px);
}

.copyright {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 2rem;
}

/* --- STYLES FROM INDEX.HTML --- */

/* Hero Banner Section com fundo de imagem */
.hero-banner {
  background: linear-gradient(135deg, rgba(11, 37, 69, 0.88) 0%, rgba(19, 64, 116, 0.88) 100%), url('images/background3.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.15rem;
  opacity: 0.95;
  font-weight: 300;
}

.btn-hero {
  background-color: #ffffff;
  color: var(--primary-color);
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-block;
}

.btn-hero:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Portal Access Cards */
.portal-section {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.portal-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eef2f6;
  overflow: hidden;
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portal-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow);
  border-color: transparent;
}

.portal-img-wrapper {
  height: 220px;
  overflow: hidden;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-img-wrapper img,
.portal-img-wrapper svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portal-card:hover .portal-img-wrapper img,
.portal-card:hover .portal-img-wrapper svg {
  transform: scale(1.05);
}

.portal-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.portal-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.btn-custom {
  background-color: var(--primary-color);
  color: #ffffff;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.65rem 1.25rem;
  transition: var(--transition-smooth);
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.btn-custom:hover {
  background-color: var(--accent-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Specialties Grid */
.specialties-section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3.5rem;
  text-align: center;
}

.section-header h2 {
  font-weight: 800;
  color: var(--primary-color);
  font-size: 2rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.specialty-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eef2f6;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.specialty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow);
  border-color: transparent;
}

.specialty-img {
  height: 180px;
  width: 100%;
}

.specialty-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.specialty-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.specialty-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

/* Services Pills */
.services-section {
  background-color: var(--bg-light);
  padding: 4.5rem 0;
}

.service-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
  height: 100%;
  border: 1px solid #eef2f6;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
  border-color: transparent;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #e8f1f9;
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition-smooth);
}

.service-box:hover .service-icon {
  background: var(--accent-color);
  color: #ffffff;
}

.service-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-color);
  margin: 0;
}