:root {
  --primary: #0056d6;
  --secondary: #0a1c3f;
  --surface: #ffffff;
  --surface-alt: #f3f6fc;
  --text: #17243a;
  --muted: #52627d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.5;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #e4e8f1;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  text-decoration: none;
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.2rem;
}

.menu-toggle {
  display: none;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.menu a,
.submenu-trigger {
  text-decoration: none;
  color: var(--secondary);
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 0.5rem;
}

.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  list-style: none;
  padding: 0.5rem;
  margin: 0;
  background: #fff;
  border: 1px solid #dde5f3;
  border-radius: 0.5rem;
  min-width: 245px;
  box-shadow: 0 12px 26px rgba(9, 22, 50, 0.12);
  display: none;
}

.submenu li a {
  display: block;
  padding: 0.5rem;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.open .submenu {
  display: block;
}

.hero {
  background: linear-gradient(180deg, #e9f0ff 0%, #ffffff 100%);
  padding: 4rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.badge {
  display: inline-block;
  background: #d7e6ff;
  color: #1c3f88;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 1rem 0;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.1rem;
  border-radius: 0.65rem;
}

.hero-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.8rem;
  border: 1px solid #dce6fa;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-intro {
  color: var(--muted);
  margin-top: -0.2rem;
}

.section-pix {
    margin: 48px 0;
    background: var(--surface-alt);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 24px rgba(5, 47, 95, 0.08);
}

.cards-grid,
.blog-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.2rem;
}

.card,
.post {
  background: #fff;
  border: 1px solid #e1e7f4;
  border-radius: 0.75rem;
  padding: 1.1rem;
}

.footer {
  background: #101f43;
  color: #fff;
  padding: 1.2rem 0;
  text-align: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: none;
    border: 1px solid #d8dff0;
    border-radius: 0.5rem;
    padding: 0.4rem 0.7rem;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e4e8f1;
  }

  .nav.open {
    display: block;
  }

  .menu {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 4%;
  }

  .submenu {
    position: static;
    border: 0;
    box-shadow: none;
    padding-left: 0.8rem;
    min-width: unset;
  }
}


.btn-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-secondary {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  border: 1px solid #c8d8f8;
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.1rem;
  border-radius: 0.65rem;
}

.page-header {
  background: linear-gradient(180deg, #eef3ff 0%, #fff 100%);
  padding: 3rem 0 2rem;
}

.quick-links {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.quick-card {
  text-decoration: none;
  color: inherit;
  border: 1px solid #e1e7f4;
  border-radius: 0.75rem;
  padding: 1.1rem;
}

.quick-card:hover {
  border-color: #bfd2fb;
  box-shadow: 0 10px 20px rgba(9, 22, 50, 0.07);
}


.banner-rotativo {
  padding: 1rem 0 0;
  background: #fff;
}

.carousel {
  position: relative;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid #dce6fa;
}

.carousel-track {
  position: relative;
  min-height: 220px;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 28, 63, 0.65);
  color: #fff;
  border: none;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  cursor: pointer;
}

.carousel-control.prev {
  left: 0.8rem;
}

.carousel-control.next {
  right: 0.8rem;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 0.8rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}

.dot.active {
  background: #fff;
}

.tag {
  display: inline-block;
  background: #eef4ff;
  color: #2451a6;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.plan-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.plan-detail-card {
  background: #fff;
  border: 1px solid #dfe8fb;
  border-radius: 0.85rem;
  padding: 1.2rem;
  max-width: 760px;
}

.price {
  font-size: 1.2rem;
  font-weight: 800;
  color: #153a86;
}

.detail-list {
  padding-left: 1.2rem;
  color: var(--text);
}

.detail-list li {
  margin-bottom: 0.5rem;
}

.btn-whatsapp {
  display: inline-block;
  margin-top: 0.8rem;
  background: #17a34a;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.15rem;
  border-radius: 0.65rem;
}
