/* ===================== RESET & VARIABLES ===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --azul-escuro: #1a2b4a;
  --azul: #1e3a6e;
  --azul-medio: #234080;
  --laranja: #d4691e;
  --laranja-hover: #b85a18;
  --branco: #ffffff;
  --cinza-claro: #f0f2f5;
  --cinza-texto: #4a4a4a;
  --cinza-borda: #dde1e8;
  --verde: #27ae60;
  --amarelo-icone: #f0a500;
  --topbar-bg: #1a2b4a;
  --footer-bg: #1e2d40;
  --font: "Barlow", sans-serif;
  --cinza-card: #e8eaed;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--cinza-texto);
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ===================== DESIGN SYSTEM (UTILITIES) ===================== */
.title-section {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--azul-escuro);
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-block;
  background: var(--laranja);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  background: var(--laranja-hover);
  transform: translateY(-2px);
  color: #fff;
}

/* Tamanhos de Botões */
.btn-lg {
  font-size: 1rem;
  padding: 14px 48px;
}
.btn-md {
  font-size: 1rem;
  padding: 14px 36px;
}
.btn-sm {
  font-size: 0.85rem;
  padding: 11px 24px;
}

/* ===================== TOP BAR ===================== */
.topbar {
  background: var(--topbar-bg);
  color: #a8bcd4;
  font-size: 0.78rem;
  padding: 6px 0;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-left i {
  color: #6fa3d8;
  font-size: 0.72rem;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-right a {
  color: #a8bcd4;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.topbar-right a:hover {
  color: #fff;
}

/* ===================== NAVBAR ===================== */
.navbar {
  background: #fff;
  border-bottom: 1px solid var(--cinza-borda);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--azul-escuro);
}

.logo-img,
.logo-icon {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--azul-escuro);
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--laranja);
}

.nav-links .btn-contato {
  background: var(--azul);
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.nav-links .btn-contato:hover {
  background: var(--azul-medio);
  color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--azul-escuro);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===================== MOBILE NAV ===================== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 38, 68, 0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--laranja);
}

.mobile-menu .close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
}

/* ===================== FOOTER ===================== */
footer {
  background: var(--footer-bg);
  color: #a8bcd4;
  padding: 56px 24px 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 14px;
}

.footer-logo i {
  color: var(--laranja);
  font-size: 1.3rem;
}

.footer-col p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #8a9db5;
}

.footer-col .footer-cidade {
  margin-top: 14px;
  font-weight: 600;
  color: #a8bcd4;
  font-size: 0.85rem;
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--laranja);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: #8a9db5;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-contato-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: #8a9db5;
  line-height: 1.5;
}

.footer-contato-item i {
  color: var(--laranja);
  margin-top: 2px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.footer-contato-item .whats-icon {
  color: #25d366;
}

.footer-atendimento p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: #8a9db5;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #5a6f85;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a {
  color: #6fa3d8;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ===================== RESPONSIVE (GLOBAL) ===================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar-left span:last-child {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .topbar-right {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
