:root {
  --bg: #ffffff;
  --ink: #0b1b3d;
  --muted: #55657f;
  --line: #dde6f3;
  --blue: #0b47c9;
  --blue-dark: #0a3aa6;
  --cyan: #1b9dff;
  --bg-soft: #f4f8fd;

  --foto-ratio: 4 / 3;
  --font: "Poppins", "Segoe UI", system-ui, sans-serif;

  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

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

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2 { line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }

a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.hl { color: var(--cyan); }

.slot {
  background: var(--bg);
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.slot:has(img) { border-style: solid; }

.slot img { display: block; width: 100%; height: 100%; object-fit: cover; }

.logo { display: block; flex: none; min-width: 140px; height: 52px; }
.logo img { display: block; height: 100%; width: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 600 14px/1 var(--font);
  padding: 14px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
}

.btn svg { 
  width: 18px; 
  height: 18px; 
  flex: none; 
  display: inline-block;
  vertical-align: middle;
  margin-top: 0;
  margin-bottom: 0;
  fill: currentColor; 
}

.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }

.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: #f1f6fd; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.link-arrow svg { width: 14px; height: 14px; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.nav { display: flex; gap: 34px; font-size: 14px; font-weight: 500; }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; }

.nav a:hover,
.nav a[aria-current="true"] { color: var(--blue); border-color: var(--cyan); }

.menu-btn {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 9px;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn svg { display: block; width: 22px; height: 22px; }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  color: #fff;
}

.hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  border-radius: 0;
}

.hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 35, 111, .88) 0%, rgba(6, 35, 111, .55) 50%, rgba(6, 35, 111, .15) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 72px;
}
.hero-text { max-width: 560px; }
.hero .eyebrow { color: #fff; opacity: .92; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); font-weight: 600; }
.hero .lead { margin-top: 18px; max-width: 30em; color: #dbe7ff; font-size: 15.5px; }
.hero .link-arrow { color: #fff; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }

.perks { border-bottom: 1px solid var(--line); }
.perks ul {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.perks li { text-align: center; padding: 30px 18px; border-left: 1px solid var(--line); }
.perks li:first-child { border-left: 0; }
.perks svg { width: 34px; height: 34px; color: var(--blue); }
.perks h3 { font-size: 14.5px; font-weight: 600; margin-top: 8px; }
.perks p { font-size: 13px; color: var(--muted); margin-top: 4px; }

.services { padding-block: 52px; border-bottom: 1px solid var(--line); }
.services h2, .portfolio h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; }

.services .head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: end;
}
.services .head p { color: var(--muted); font-size: 14.5px; max-width: 34em; }

.cards {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 14px;
  height: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 18px 16px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11, 71, 201, .12); }
.card .ico { width: 38px; height: 38px; color: var(--blue); grid-row: span 2; }
.card h3 { font-size: 13.5px; font-weight: 600; line-height: 1.3; padding-right: 20px; }
.card p { font-size: 12px; color: var(--muted); line-height: 1.45; margin-top: 6px; }
.card .go { position: absolute; top: 18px; right: 14px; width: 14px; height: 14px; color: var(--blue); }

.ver-mais { margin-top: 32px; text-align: center; }

.why {
  background: linear-gradient(100deg, #0a3fb5, #062a86 70%);
  color: #fff;
  overflow: hidden;
}

.why-inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: stretch;
}

.why-img {
  margin-left: calc(-1 * (max(0px, (100vw - 1160px) / 2) + var(--gutter-l)));
  min-height: 200px;
  aspect-ratio: 2.4 / 1;
  border: 0;
  border-radius: 0 clamp(32px, 3.8vw, 72px) clamp(28px, 3.2vw, 62px) 0;
}

.why-text { align-self: center; padding-block: 36px; }
.why .eyebrow { font-size: 11px; color: #cfe1ff; }
.why h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 600; }
.why-text > p { margin-top: 16px; color: #dbe7ff; font-size: 14.5px; max-width: 34em; }

.why ul {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.why li {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 500; line-height: 1.3;
  padding-inline: 12px;
  border-left: 1px solid rgba(255, 255, 255, .28);
}
.why li:first-child { border-left: 0; padding-left: 0; }
.why li svg { width: 28px; height: 28px; flex: none; color: var(--cyan); }

.portfolio { padding-block: 44px; border-bottom: 1px solid var(--line); }

.portfolio-row { display: flex; gap: 28px; align-items: center; margin-top: 22px; }
.work-grid {
  list-style: none; margin: 0; padding: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.work a {
  display: block;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .18s ease;
}
.work a:hover { box-shadow: 0 10px 24px rgba(11, 71, 201, .12); }

.work .slot { aspect-ratio: var(--foto-ratio); background: var(--bg-soft); border-radius: 0; border-width: 0 0 1.5px 0; }
.work .slot img { object-fit: cover; object-position: center; }

.work span { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; padding: 14px 16px; }
.work span svg { width: 14px; height: 14px; color: var(--blue); }
.more { flex: none; }
.more svg { width: 16px; height: 16px; }

.quote { border-bottom: 1px solid var(--line); }
.quote-inner { display: flex; align-items: center; gap: 18px; padding-block: 32px; }
.quote svg { width: 38px; height: 38px; color: var(--cyan); flex: none; }
.quote figure { margin: 0; }
.quote blockquote { margin: 0; font-style: italic; font-size: 15px; }
.quote cite { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 6px; }

.foot { background: linear-gradient(100deg, #06236f 0%, #0a47c9 100%); color: #fff; }
.foot-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding-block: 26px 12px;
}
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 12px; }
.foot nav a:hover { color: var(--cyan); }
.social { display: flex; gap: 14px; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; }
.social a:hover { background: rgba(255, 255, 255, .14); }
.social svg { width: 18px; height: 18px; }
.foot .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.foot .btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.copy { text-align: center; font-size: 11.5px; color: #cfe1ff; padding-block: 8px 24px; }

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

  .perks ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks li:nth-child(3) { border-left: 0; }
  .perks li:nth-child(n+3) { border-top: 1px solid var(--line); }

  .why ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .why li:nth-child(3) { border-left: 0; padding-left: 0; }

  .portfolio-row { flex-direction: column; align-items: stretch; }
  .more { align-self: flex-start; }

  .foot-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .top .btn { display: none; }

  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter-r) 14px var(--gutter-l);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }

  .why-inner, .services .head { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 44px; }
  .hero-img::after { background: rgba(6, 35, 111, .72); }
  .why-inner { gap: 0; }
  .why-img { margin-right: calc(-1 * var(--gutter-r)); border-radius: 0; min-height: 160px; aspect-ratio: 2 / 1; }
  .why-text { padding-block: 32px 40px; }
}

@media (max-width: 560px) {
  .cards, .work-grid { grid-template-columns: 1fr; }

  .perks ul { grid-template-columns: 1fr; }
  .perks li { border-left: 0; border-top: 1px solid var(--line); }
  .perks li:first-child { border-top: 0; }

  .why ul { grid-template-columns: 1fr; }
  .why li { border-left: 0; padding-left: 0; }

  .quote-inner { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
  .card:hover { transform: none; }
}