:root {
  --blue: #0077c8;
  --blue-d: #0462a8;
  --navy: #06345c;
  --deep: #04243f;
  --ink: #1b2b3a;
  --muted: #5b6c7c;
  --line: #e4edf4;
  --paper: #f4f8fb;
  --white: #fff;
  --cta: #f28c00;
  --cta-d: #dc7c00;
  --header: 4.6rem;
  --sans: "Nunito Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}

a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  padding: 0.6rem 0.8rem;
  background: var(--navy);
  color: white;
}
.skip:focus { top: 1rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow--blue { color: var(--blue); }

h1, h2 { letter-spacing: -0.03em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 800; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.15rem;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.btn--cta { background: var(--cta); color: white; }
.btn--cta:hover { background: var(--cta-d); }
.btn--ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }

.topbar {
  background: var(--deep);
  color: #d5e6f4;
  font-size: 0.88rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
}
.topbar a { color: white; }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: white;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(6, 52, 92, 0.04);
}
.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-right: auto;
  color: var(--navy);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-size: 1.05rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav__link, .drop__btn {
  padding: 0.7rem 0.85rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.drop { position: relative; }
.drop__btn::after {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.35rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.drop__panel {
  display: none;
  position: absolute;
  top: calc(100% - 0.2rem);
  left: 0;
  width: 18.5rem;
  padding: 0.45rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(6, 36, 63, 0.12);
}
.drop:hover .drop__panel,
.drop:focus-within .drop__panel,
.drop.is-open .drop__panel { display: grid; }
.drop__panel a {
  display: grid;
  gap: 0.1rem;
  padding: 0.7rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
}
.drop__panel a:hover { background: var(--paper); }
.drop__panel span { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.header__cta { white-space: nowrap; }
.nav-toggle {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1rem;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #0a86d6 0%, #0462a8 48%, #06345c 100%);
  color: white;
  padding: clamp(3.4rem, 8vw, 6rem) 0;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 40rem);
  align-items: center;
}
.hero__lead {
  max-width: 38rem;
  margin-top: 1rem;
  color: #e7f4fc;
  font-size: 1.12rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.globo {
  position: absolute;
  z-index: 0;
  left: 22%;
  top: 50%;
  width: min(1100px, 96vw);
  height: min(1100px, 96vw);
  transform: translateY(-50%);
  pointer-events: none;
}
.globo canvas { width: 100%; height: 100%; display: block; }

.strip { background: white; border-bottom: 1px solid var(--line); }
.strip__row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem 0.75rem;
  align-items: center;
  padding: 1rem 0;
  text-align: center;
}
.strip span {
  color: var(--navy);
  font-size: clamp(0.74rem, 1.25vw, 0.92rem);
  font-weight: 800;
  line-height: 1.25;
}

.section { padding: clamp(3.2rem, 7vw, 5rem) 0; }
.section--soft { background: var(--paper); }
.section__head { max-width: 40rem; margin-bottom: 1.8rem; }
.section__head h2 { margin-top: 0.2rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.3rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(6, 52, 92, 0.04);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 10px;
  background: #e8f4fc;
}
.card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card p { color: var(--muted); }
.card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}
.card a:hover { text-decoration: underline; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.steps li {
  padding: 1.2rem;
  background: white;
  border-radius: 14px;
  border-top: 4px solid var(--blue);
}
.steps span { color: var(--blue); font-size: 1.3rem; font-weight: 800; }
.steps h3 { margin: 0.6rem 0 0.35rem; }
.steps p { color: var(--muted); }

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: start;
}
.about p { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }
.about__list {
  display: grid;
  gap: 0.7rem;
}
.about__list li {
  padding: 0.9rem 1rem 0.9rem 2.4rem;
  background: var(--paper);
  border-radius: 10px;
  position: relative;
  font-weight: 700;
}
.about__list li::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 1.15rem;
  width: 0.7rem;
  height: 0.4rem;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.cta-band {
  background: linear-gradient(100deg, var(--navy), #0a5ea3);
  color: white;
  padding: 3rem 0;
}
.cta-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.cta-band p { margin-top: 0.6rem; color: #d7e8f6; max-width: 36rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}
.contact__mail { margin-top: 1.4rem; }
.contact__mail span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact__mail a { color: var(--blue); font-weight: 800; }
.form {
  display: grid;
  gap: 0.8rem;
  padding: 1.3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.field { display: grid; gap: 0.3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.field label { font-size: 0.88rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border: 1px solid #d5e1eb;
  border-radius: 8px;
  background: white;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
.btn:focus-visible,
.drop__btn:focus-visible,
.nav__link:focus-visible,
.nav-toggle:focus-visible,
.logo:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.is-invalid { border-color: #b42318 !important; }
.form__error { color: #b42318; font-weight: 700; }
.form__status { min-height: 1.2rem; color: var(--muted); font-weight: 700; }

.footer {
  background: var(--deep);
  color: #d5e4f0;
  padding: 2.6rem 0 1.2rem;
}
.footer .logo { color: white; margin-bottom: 0.7rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}
.footer h2 {
  margin-bottom: 0.7rem;
  color: white;
  font-size: 0.95rem;
}
.footer a, .footer p { display: block; color: #d5e4f0; text-decoration: none; }
.footer__grid a + a { margin-top: 0.35rem; }
.footer a:hover { color: white; }
.footer__base {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .header__cta, .topbar p { display: none; }
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem 1rem;
    background: white;
    border-bottom: 1px solid var(--line);
  }
  .header.is-open .nav { display: flex; }
  .drop__panel {
    position: static;
    display: none;
    width: auto;
    box-shadow: none;
    border: 0;
    padding: 0 0 0.4rem 0.6rem;
  }
  .drop.is-open .drop__panel { display: grid; }
  .hero__grid, .cards, .steps, .about, .contact, .footer__grid, .field-row, .cta-band__inner {
    grid-template-columns: 1fr;
  }
  .strip__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip span { font-size: 0.92rem; }
  .globo {
    left: -10%;
    width: 130vw;
    height: 130vw;
    opacity: 0.7;
  }
  .cta-band__inner { align-items: flex-start; }
}

@media (max-width: 560px) {
  .strip__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
