/* ─── Variáveis globais ─────────────────────────────────────────────────── */
:root {
  --azul: #1565c0;
  --azul-escuro: #0d47a1;
  --azul-claro: #e3f2fd;
  --laranja: #f47b20;
  --verde: #25d366;
  --texto: #102033;
  --muted: #5b6b80;
  --fundo: #f6f8fb;
  --linha: #dce5ef;
  --sombra: 0 16px 36px rgba(16, 32, 51, 0.10);
  --raio: 8px;
}

/* ─── Reset ─────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Arial, Helvetica, sans-serif; background: var(--fundo); color: var(--texto); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

/* ─── Topbar / Navbar ────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--linha);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { width: 164px; height: auto; }
.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 700;
  color: #33465f;
}
.menu a { padding: 8px 0; border-bottom: 3px solid transparent; }
.menu a:hover,
.menu a.active { color: var(--azul); border-bottom-color: var(--azul); }
.management-menu { position: relative; }
.management-toggle {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: inherit;
  padding: 8px 0;
  font: inherit;
  cursor: pointer;
}
.management-toggle:hover,
.management-toggle.active { color: var(--azul); border-bottom-color: var(--azul); }
.management-options {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 220px;
  display: none;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
}
.management-menu.open .management-options { display: grid; }
.management-options a { padding: 10px 12px; border: 0; border-radius: 6px; white-space: nowrap; }
.management-options a:hover,
.management-options a.active { background: var(--azul-claro); border: 0; }
.menu-toggle {
  display: none;
  border: 1px solid var(--linha);
  background: #fff;
  border-radius: 6px;
  padding: 10px 12px;
  font-weight: 800;
  cursor: pointer;
}

/* ─── Seções ─────────────────────────────────────────────────────────────── */
.section { padding: 74px 0; }
.section.alt { background: #fff; }

/* ─── Tipografia ─────────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  background: #fff2e8;
  color: #b9550d;
  border: 1px solid rgba(244, 123, 32, 0.3);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.18; margin: 10px 0; }
.lead { color: var(--muted); font-size: 17px; }
.head { max-width: 720px; margin-bottom: 34px; }
.head.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ─── Botões ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 800;
  cursor: pointer;
  font-size: 15px;
}
.btn.primary { background: var(--laranja); color: #fff; }
.btn.whatsapp { background: var(--verde); color: #fff; }
.btn.outline { border-color: rgba(255, 255, 255, 0.75); color: #fff; }

/* ─── Grid e Cards ───────────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: var(--sombra); padding: 24px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p, .card li { color: var(--muted); }
.card ul { padding-left: 18px; }
.partner-card { box-shadow: none; }
.partner-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  padding-left: 0;
  list-style: none;
}
.partner-list li {
  padding: 10px 12px;
  border: 1px solid var(--linha);
  border-radius: 6px;
  background: var(--fundo);
  color: var(--texto);
  overflow-wrap: anywhere;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer { background: #0a1929; color: #fff; padding: 28px 0; }
.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.82);
}
.footer-copyright {
  flex-basis: 100%;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  font-size: 14px;
}

/* ─── Responsivo ─────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .menu {
    position: absolute;
    left: 0; right: 0; top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 18px;
    background: #fff;
    border-bottom: 1px solid var(--linha);
  }
  .menu.open { display: flex; }
  .menu a { padding: 12px; border-radius: 6px; }
  .management-menu { width: 100%; }
  .management-toggle { width: 100%; padding: 12px; text-align: left; }
  .management-options {
    position: static;
    min-width: 0;
    margin: 0 12px 8px;
    box-shadow: none;
    background: var(--fundo);
  }
  .grid.three, .grid.two { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 22px, 1120px); }
  .nav { min-height: 70px; gap: 12px; }
  .logo img { width: 132px; }
  .menu { top: 70px; }
  h2 { font-size: 27px; }
  .lead { font-size: 16px; }
  .card, .contact-box { padding: 18px; }
  .partner-list { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .footer .container { display: block; text-align: center; }
}
