:root {
  --bg: #f4f7fb;
  --bg-muted: #edf2f8;
  --text: #143056;
  --text-soft: #4f647d;
  --line: #d3deeb;
  --primary: #003e8f;
  --secondary: #f8c700;
  --white: #ffffff;
  --dark: #0b1f3f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

.container {
  width: min(1150px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 247, 251, 0.92);
  backdrop-filter: blur(10px);
}

.header-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  width: 200px;
  height: auto;
}

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
}

.nav a:hover {
  color: var(--text);
}

.desktop-cta {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-primary {
  background: rgba(0, 62, 143, 0.85);
  color: #fff;
}

.btn-secondary {
  background: rgba(248, 199, 0, 0.85);
  color: #2b2b2b;
}

.btn-outline {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  font-size: 20px;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 10px 4%;
  background: var(--white);
}

.mobile-menu.open {
  display: grid;
  gap: 10px;
}

.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 2px;
}

.hero {
  position: relative;
  min-height: 82vh;
  color: #fff;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(100deg, rgba(11, 31, 63, 0.95), rgba(0, 62, 143, 0.5));
}

.hero-content {
  position: relative;
  padding: 90px 0 80px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: end;
}

.kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.kicker-light {
  color: var(--text-soft);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Manrope, Inter, Arial, sans-serif;
}

h1 {
  margin-top: 16px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.02;
}

h2 {
  margin-top: 16px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.15;
}

p {
  margin: 12px 0 0;
}

.hero-text p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  gap: 12px;
}

.hero-stats .card {
  border-radius: 24px;
  padding: 20px 20px 18px;
}

.hero-stats .small {
  margin: 0;
  font-size: 0.66rem;
  line-height: 1.2;
  letter-spacing: 0.15em;
  font-weight: 400;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.hero-stats h3 {
  margin-top: 8px;
  font-size: clamp(1.7rem, 2.4vw, 2rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: 0;
  color: #ffffff;
}

.hero-stats .card p:not(.small) {
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.48;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

.section {
  padding: 84px 0;
}

.section-muted {
  background: var(--bg-muted);
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.84);
}

#resultados > .container > div > h2 {
  width: 80%;
  font-size: clamp(1.9rem, 2.6vw, 2.7rem);
  line-height: 1.08;
}

#resultados > .container.two-col {
  grid-template-columns: 70% 30%;
}

#resultados > .container > div > p {
  width: 80%;
  font-size: 0.95rem;
  line-height: 1.42;
}

#resultados aside.card-dark h3 {
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

#resultados aside.card-dark p {
  font-size: 0.82rem;
  line-height: 1.45;
  margin-top: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

#resultados aside.card-dark p:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
}

.grid {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.flow-card {
  border-radius: 24px;
  padding: 22px 22px 20px;
}

.flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 12px;
  background: #003e8f;
  color: #fff;
  font-size: 15px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  line-height: 1;
}

.flow-accent {
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f1be00, rgba(241, 190, 0, 0.1));
}

.flow-title {
  margin-top: 20px;
  font-size: clamp(0.99rem, 1.2vw, 1.16rem);
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.18;
  min-height: 2.36em;
}

.flow-card p {
  margin-top: 14px;
  color: #5a6b80;
  font-size: 0.8rem;
  line-height: 1.4;
  font-weight: 400;
}

.resources-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.resources-left > h2 {
  width: 100%;
  font-size: clamp(1.6rem, 2.3vw, 2.1rem);
  line-height: 1.14;
}

.resources-left > p {
  width: 100%;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.resource-notes {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.resource-note {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 18px;
}

.resource-note p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.42;
  color: #5a6b80;
}

.resource-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff7dc;
  color: #7f6900;
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
}

.resource-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card {
  border-radius: 22px;
}

.feature-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  background: #e8f0f8;
  color: #294e78;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.feature-card h3 {
  margin-top: 14px;
  font-size: clamp(0.99rem, 1.2vw, 1.16rem);
  line-height: 1.18;
  min-height: 2.36em;
}

.feature-card p {
  margin-top: 10px;
  color: #5a6b80;
  font-size: 0.8rem;
  line-height: 1.4;
}

.audience-intro {
  width: 74%;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.42;
}

#publicos > .container > h2 {
  width: 74%;
  margin-top: 14px;
  font-size: clamp(1.9rem, 2.7vw, 2.8rem);
  line-height: 1.08;
  font-family: Inter, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.audience-grid {
  margin-top: 22px;
}

.audience-card {
  border-radius: 24px;
  padding: 22px 22px 20px;
}

.audience-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 14px;
  min-width: 96px;
  border-radius: 999px;
  background: #e8f0f8;
  color: #4e6076;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.audience-card h3 {
  margin-top: 18px;
  font-size: 1.55rem;
  line-height: 1.12;
  font-family: Inter, Arial, sans-serif;
  font-weight: 600;
}

.audience-card p {
  margin-top: 10px;
  color: #5a6b80;
  font-size: 0.8rem;
  line-height: 1.42;
}

.audience-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.audience-list li {
  position: relative;
  padding-left: 22px;
  color: #4f6278;
  font-size: 0.78rem;
  line-height: 1.34;
}

.audience-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #7f8fa2;
  font-weight: 800;
}

.card.audience-card-highlight {
  background: #003a86;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 18px 46px -24px rgba(0, 42, 102, 0.55);
}

.audience-card-highlight .audience-badge-highlight {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
}

.audience-card-highlight p,
.audience-card-highlight .audience-list li {
  color: rgba(255, 255, 255, 0.88);
}

.audience-card-highlight .audience-list li::before {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  left: 0;
  top: 2px;
  color: #09315a;
  background: #f0c308;
  font-size: 0.68rem;
  content: "✓";
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 12px 32px -24px rgba(3, 44, 97, 0.4);
}

.card-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.card-primary {
  background: var(--primary);
  border-color: transparent;
  color: #fff;
}

.small {
  margin-top: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  opacity: 0.8;
}

.big-number {
  margin-top: 8px;
  color: var(--primary);
  font-size: 2rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}

.cta-card {
  padding: 34px;
  background: linear-gradient(135deg, #fff9df 0%, #edf5ff 100%);
}

.cta-layout {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 18px;
  align-items: center;
}

.cta-copy h2 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 2.4vw, 2.45rem);
  line-height: 1.08;
  width: 80%;
}

.cta-copy p {
  width: 80%;
  font-size: 0.95rem;
  line-height: 1.42;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.cta-actions .btn {
  width: min(100%, 300px);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-muted);
  padding: 34px 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.footer p {
  max-width: 700px;
  color: var(--text-soft);
}

@media (max-width: 1080px) {
  .hero-content,
  .two-col,
  .resources-layout,
  .cta-layout {
    grid-template-columns: 1fr;
  }

  .resources-left > h2,
  .resources-left > p {
    width: 100%;
  }

  .cta-actions {
    align-items: flex-start;
  }

  .cta-copy p {
    width: 100%;
  }

  .cta-copy h2 {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .resource-cards {
    grid-template-columns: 1fr;
  }

  #publicos > .container > h2,
  #publicos .audience-intro {
    width: 100%;
  }

  .flow-title {
    font-size: 1.02rem;
  }

  .flow-card p {
    font-size: 0.78rem;
    line-height: 1.38;
  }

  .audience-card h3 {
    font-size: 1.8rem;
  }

  .section {
    padding: 64px 0;
  }

  .footer-row {
    flex-direction: column;
  }
}
