@font-face {
  font-family: Inter;
  src: url("../assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("../assets/fonts/SourceSerif4.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0A1929;
  --navy: #1B3A5C;
  --navy-deep: #0D1F33;
  --steel: #3B6A9A;
  --mute: #5B6878;
  --line: #E3E7EC;
  --bg: #F7F8FA;
  --bg-alt: #EEF1F5;
  --paper: #FFFFFF;

  --serif: "Source Serif 4", "Iowan Old Style", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --radius: 10px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--navy-deep); color: #fff; }

:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--navy-deep);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}

.site-header.is-scrolled {
  background: rgba(247, 248, 250, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #E8EEF5;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  transition: color .3s ease;
}

.site-header.is-scrolled .brand { color: var(--navy-deep); }

.brand img {
  width: 34px;
  height: auto;
  transition: filter .3s ease;
}

.site-header:not(.is-scrolled) .brand img { filter: brightness(0) invert(1); }

.nav { display: flex; align-items: center; gap: 32px; }

.nav a {
  text-decoration: none;
  color: rgba(232, 238, 245, 0.75);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease;
}

.nav a:hover { color: #fff; }
.site-header.is-scrolled .nav a { color: var(--mute); }
.site-header.is-scrolled .nav a:hover { color: var(--navy-deep); }

.menu-btn {
  display: none;
  width: 40px; height: 40px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 10px;
  color: #E8EEF5;
}
.site-header.is-scrolled .menu-btn { color: var(--navy-deep); }

.menu-btn span {
  display: block;
  height: 1.5px;
  background: currentColor;
  margin: 5px 0;
  transition: transform .25s ease, opacity .2s ease;
}
.menu-btn.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Hero */

.hero {
  margin-top: -76px;
  padding: 176px 0 88px;
  background: var(--navy-deep);
  color: #E8EEF5;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 600;
}

.hero .eyebrow { color: #9FB6CE; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy-deep);
}

.hero h1 {
  max-width: 18ch;
  font-size: clamp(2.5rem, 5.2vw, 4.2rem);
  color: #FFFFFF;
  line-height: 1.08;
}

.hero h1 strong {
  font-weight: inherit;
  color: #8DB4DC;
}

.lede {
  max-width: 36rem;
  margin: 26px 0 0;
  color: rgba(232, 238, 245, 0.75);
  font-size: 1.075rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px 0 80px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 550;
  transition: background .2s ease, border-color .2s ease;
}

.btn-solid {
  background: #FFFFFF;
  color: var(--navy-deep);
}
.btn-solid:hover { background: #E6ECF2; }

.btn-ghost {
  color: #E8EEF5;
  border-color: rgba(232, 238, 245, 0.28);
}
.btn-ghost:hover { border-color: rgba(232, 238, 245, 0.6); }

.btn-navy {
  background: var(--navy-deep);
  color: #FFFFFF;
}
.btn-navy:hover { background: var(--navy); }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin: 0;
  padding: 36px 0 0;
  list-style: none;
  border-top: 1px solid rgba(232, 238, 245, 0.14);
}

.metrics li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: rgba(232, 238, 245, 0.65);
  line-height: 1.45;
}

.metrics em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 500;
  font-size: 1.8rem;
  color: #FFFFFF;
  line-height: 1.1;
}

/* Seções */

.section { padding: 104px 0; }

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

.section-head {
  max-width: 42rem;
  margin-bottom: 56px;
}

.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }

.section-head p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--mute);
  font-size: 1.05rem;
  max-width: 36rem;
}

/* Sobre */

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 88px;
  align-items: start;
}

.sticky-head {
  position: sticky;
  top: 108px;
}

.sticky-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }

.intro {
  margin: 20px 0 0;
  color: var(--mute);
  font-size: 1.05rem;
  max-width: 34rem;
}

.points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.points li {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.points li:last-child { border-bottom: 1px solid var(--line); }

.points span {
  color: var(--steel);
  font-size: 14px;
  font-weight: 600;
  padding-top: 2px;
}

.points h3 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.points p {
  margin: 0;
  color: var(--mute);
}

/* Cases em destaque */

.feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 88px;
}

.feature-invert { grid-template-columns: 1fr 1.05fr; }
.feature-invert > figure { order: 2; }

.feature figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-deep);
  border: 1px solid var(--line);
}

.feature img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.feature-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mute);
}

.feature-meta span:last-child { color: var(--steel); }

.feature-body h3 {
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
  margin-bottom: 8px;
}

.feature-body > p {
  margin: 0 0 24px;
  color: var(--mute);
  font-size: 1.05rem;
}

.feature dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.feature dt {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 2px;
}

.feature dd {
  margin: 0;
  color: var(--mute);
  font-size: 0.975rem;
  line-height: 1.55;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.links a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: #B9C5D2;
  text-underline-offset: 4px;
  font-size: 14.5px;
  font-weight: 500;
  transition: text-decoration-color .2s ease;
}

.links a:hover { text-decoration-color: var(--navy); }

/* Outros cases */

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.case-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease;
}

.case-card:hover { border-color: #C3CDD8; }

.case-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--mute);
}

.case-card .meta .status { color: var(--steel); }

.case-card h3 {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.case-card p {
  margin: 0;
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}

.case-card .links { margin-top: 8px; }

/* Arquitetura */

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

.arch li {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.arch h3 {
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.arch p {
  margin: 0;
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Trajetória */

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 130px 240px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.timeline-period {
  color: var(--mute);
  font-size: 14px;
  padding-top: 3px;
}

.timeline-who h3 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.timeline-who p {
  margin: 2px 0 0;
  color: var(--steel);
  font-size: 14px;
  font-weight: 500;
}

.timeline-what > p {
  margin: 0;
  color: var(--mute);
  font-size: 0.975rem;
  line-height: 1.6;
  max-width: 40rem;
}

.timeline-what .links { margin-top: 12px; }

.extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 64px;
}

.extras h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

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

.extras li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.95rem;
}

.extras strong {
  font-weight: 600;
  color: var(--navy-deep);
}

.extras span { color: var(--mute); line-height: 1.55; }

.extras .links { margin-top: 4px; gap: 14px; }
.extras .links a { font-size: 14px; }

/* Números */

.proof-section {
  padding: 88px 0;
  background: var(--navy-deep);
  color: #E8EEF5;
}

.proof-section .eyebrow { color: #9FB6CE; }

.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.proof li {
  font-size: 14px;
  color: rgba(232, 238, 245, 0.68);
  line-height: 1.5;
}

.proof strong {
  display: block;
  color: #FFFFFF;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 8px;
}

/* Contato */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 34rem;
}

.contact-direct span {
  color: var(--mute);
  font-size: 14px;
}

.contact-direct a {
  color: var(--navy-deep);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color .2s ease;
}

.contact-direct a:hover { color: var(--steel); }

.form {
  display: grid;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-deep);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
  font-size: 15px;
  transition: border-color .2s ease, background .2s ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--navy);
  background: #FFFFFF;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form .btn {
  justify-self: start;
  margin-top: 6px;
}

.form-hint,
.form-status {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--mute);
}

.form-status.is-error { color: #9B2C2C; }
.form-status:empty { display: none; }

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: rgba(232, 238, 245, 0.68);
  font-size: 14.5px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  padding: 64px 0 48px;
}

.site-footer .brand { color: #FFFFFF; }
.site-footer .brand img { filter: brightness(0) invert(1); }

.footer-brand p {
  margin: 16px 0 0;
  max-width: 22rem;
  line-height: 1.6;
}

.social {
  display: flex;
  gap: 10px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(232, 238, 245, 0.18);
  border-radius: 8px;
  color: rgba(232, 238, 245, 0.8);
  transition: border-color .2s ease, color .2s ease;
}

.social a:hover {
  border-color: rgba(232, 238, 245, 0.5);
  color: #FFFFFF;
}

.social a[data-reserved] {
  opacity: 0.45;
  cursor: default;
}

.social a[data-reserved]:hover {
  border-color: rgba(232, 238, 245, 0.18);
  color: rgba(232, 238, 245, 0.8);
}

.social svg { width: 17px; height: 17px; }

.footer-bottom { border-top: 1px solid rgba(232, 238, 245, 0.1); }

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 28px;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(232, 238, 245, 0.5);
}

/* Responsivo */

@media (max-width: 1080px) {
  .split { gap: 56px; }
  .feature { gap: 48px; }
  .contact { gap: 48px; }
}

@media (max-width: 900px) {
  .split,
  .feature,
  .feature-invert,
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sticky-head { position: static; }
  .feature-invert > figure { order: 0; }
  .metrics { grid-template-columns: 1fr; gap: 24px; }
  .arch { grid-template-columns: repeat(2, 1fr); }
  .proof { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .section { padding: 88px 0; }
  .timeline li { grid-template-columns: 130px 1fr; }
  .timeline-what { grid-column: 2; }
}

@media (max-width: 720px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }

  .hero { padding: 148px 0 64px; }
  .hero-actions { margin: 32px 0 64px; }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }

  .menu-btn { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 18px;
  }

  .nav.is-open { display: flex; }
  .nav a { color: var(--mute); font-size: 15px; }
  .nav a:hover { color: var(--navy-deep); }

  .case-grid,
  .arch,
  .proof { grid-template-columns: 1fr; }

  .points li { grid-template-columns: 1fr; gap: 6px; }

  .timeline li { grid-template-columns: 1fr; gap: 8px; }
  .timeline-what { grid-column: auto; }
  .extras { grid-template-columns: 1fr; gap: 40px; }

  .footer-top { flex-direction: column; align-items: flex-start; gap: 28px; padding: 56px 0 40px; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; }

  .form { padding: 24px; }
  .form .btn { width: 100%; justify-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
