/* Theme and typography */
:root {
  --brand-primary: #0d6efd;
  --brand-dark: #0b2239;
  --brand-accent: #0dcaf0;
}

html, body { height: 100%; }
body {
  background-color: #ffffff;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

/* Topbar */
.topbar {
  background: var(--brand-dark);
  color: #c9d3df;
  font-size: 0.9rem;
}
.topbar a { color: #c9d3df; text-decoration: none; }
.topbar a:hover { color: #fff; }

/* Navbar */
.navbar.sticky-top { box-shadow: 0 4px 14px rgba(13, 110, 253, 0.06); }
.navbar-brand { letter-spacing: .2px; }
.navbar { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.navbar-brand img { height: 60px; }

/* Hero carousel */
.hero-carousel .carousel-item { min-height: 520px; }
.hero-slide {
  position: relative;
  min-height: 520px;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,34,57,.78) 0%, rgba(11,34,57,.6) 40%, rgba(11,34,57,.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

/* Hero headline impact */
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

/* Sections */
.section-title { font-weight: 700; }
.section-underline {
  width: 64px;
  height: 4px;
  background: var(--brand-primary);
  border-radius: 999px;
}

/* Cards and hovers */
.card-hover:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.12) !important; }
.card-hover { transition: transform .2s ease, box-shadow .2s ease; }

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--brand-primary);
}
.icon-circle img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.trusted-badges img { max-height: 42px; opacity: .9; filter: grayscale(20%); }

/* Footer */
.footer-dark {
  background: #0e1c2f;
  color: #bcd0e5;
}
.footer-dark a { color: #bcd0e5; text-decoration: none; }
.footer-dark a:hover { color: #fff; }

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
  z-index: 1050;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,.2);
  color: #fff;
}

/* Areas de Atuação - typography adjustments */
.areas-atuacao { background-color: #e9e9e9; padding-top: 5rem; padding-bottom: 5rem; }
.areas-atuacao .card-title {
  font-size: 1.4rem;
  font-weight: 600;
}
.areas-atuacao ul {
  font-size: 1.075rem !important; /* slightly larger */
  line-height: 1.6;
  color: #000 !important;
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
/* Set check icon color to brand dark */
.areas-atuacao ul li i.bi-check-circle-fill {
  color: #063753 !important;
}

/* Office section */
.office-section { background-color: #e9e9e9; }

/* Brand button color override */
.btn-primary {
  background-color: #B75A38;
  border-color: #B75A38;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #a65133;
  border-color: #a65133;
}
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
  background-color: #9c4c31;
  border-color: #9c4c31;
}
.btn-primary.disabled, .btn-primary:disabled {
  background-color: #B75A38;
  border-color: #B75A38;
}

/* Brand outline button for news carousel */
.btn-brand-outline {
  color: #B75A38;
  border: 1px solid #B75A38;
  background-color: transparent;
}
.btn-brand-outline:hover, .btn-brand-outline:focus {
  color: #fff;
  background-color: #B75A38;
  border-color: #B75A38;
}

/* WhatsApp button */
.btn-whatsapp {
  background-color: #25D366;
  border-color: #25D366;
  color: #ffffff;
}
.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background-color: #1ebe57;
  border-color: #1ebe57;
  color: #ffffff;
}
.btn-whatsapp:active,
.btn-whatsapp.active,
.show > .btn-whatsapp.dropdown-toggle {
  background-color: #19b350;
  border-color: #19b350;
  color: #ffffff;
}
.btn-whatsapp.disabled, .btn-whatsapp:disabled {
  background-color: #25D366;
  border-color: #25D366;
  color: #ffffff;
}

/* Full-width CTA section */
.cta-full {
  background-color: #063753;
  color: #ffffff;
}


