:root {
  --ink: #f7fbfc;
  --paper: #071116;
  --panel: #0d1b22;
  --panel-2: #10242e;
  --muted: #8da4ad;
  --field: #56b8c7;
  --copper: #2d7784;
  --lime: #8fc9c5;
  --blue: #4f9eb0;
  --aqua: #56b8c7;
  --line: rgba(247, 251, 252, 0.12);
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", system-ui, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(86, 184, 199, 0.14), transparent 26rem),
    radial-gradient(circle at 78% 4%, rgba(45, 119, 132, 0.2), transparent 30rem),
    linear-gradient(180deg, #071116 0%, #09161c 42%, #071116 100%),
    var(--paper);
}

.nav {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(1040px, calc(100vw - 28px));
  min-height: 58px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(247, 251, 252, 0.12);
  border-radius: 999px;
  background: rgba(7, 17, 22, 0.78);
  box-shadow: 0 14px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 142px;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: rgba(247, 251, 252, 0.72);
  font-size: 0.86rem;
  font-weight: 650;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 750;
  white-space: nowrap;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.nav-cta:active,
.button:active {
  transform: translateY(1px) scale(0.99);
}

.button {
  gap: 10px;
}

.nav-cta {
  padding: 0 22px;
  background: var(--field);
  color: #071116;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: 46px;
  align-items: end;
  padding: 124px max(28px, calc((100vw - 1160px) / 2)) 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 17, 22, 0) 72%, var(--paper) 100%),
    radial-gradient(circle at 64% 52%, rgba(86, 184, 199, 0.14), transparent 21rem);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(1180px, 94vw);
}

.kicker {
  margin: 0 0 16px;
  color: var(--field);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: min(760px, 94vw);
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 4.6vw, 4.65rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  width: min(760px, 100%);
  color: rgba(247, 251, 252, 0.7);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.45;
}

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

.button {
  padding: 0 26px;
  border: 1px solid rgba(247, 251, 252, 0.16);
}

.button.primary {
  background: var(--field);
  color: #071116;
}

.button.secondary {
  background: rgba(247, 251, 252, 0.06);
  color: var(--ink);
}

.button.light {
  background: var(--field);
  color: #071116;
}

.hero-media {
  position: relative;
  z-index: 1;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: translateY(24px);
}

.hero-media img {
  width: 100%;
  height: min(52svh, 500px);
  object-fit: cover;
  filter: grayscale(0.72) contrast(1.2) saturate(0.78);
  transition: transform 900ms ease;
}

.hero-media:hover img {
  transform: scale(1.06);
}

.hero-media figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 250px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(16, 18, 15, 0.72);
  color: #f8fbfc;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.section {
  position: relative;
  padding: 118px max(24px, calc((100vw - 1160px) / 2));
}

.section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(86, 184, 199, 0.05), transparent);
}

.wide-heading h2,
.method h2,
.reach h2,
.cta h2 {
  font-size: clamp(1.9rem, 3.55vw, 3.65rem);
  line-height: 1;
  letter-spacing: 0;
}

.inline-image {
  display: inline-block;
  width: clamp(84px, 13vw, 180px);
  height: clamp(42px, 6vw, 78px);
  margin: 0 12px;
  border: 3px solid rgba(247, 251, 252, 0.16);
  border-radius: 999px;
  vertical-align: middle;
  background: center / cover;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.inline-image.city {
  background-image: url("https://www.taiobeiras.mg.gov.br/fotos/b3155c71e6b0e0c6fc916425122fe4f5.jpg");
}

.section-lede {
  width: min(860px, 100%);
  margin: 28px 0 56px auto;
  color: rgba(247, 251, 252, 0.68);
  font-size: clamp(1rem, 1.65vw, 1.28rem);
  line-height: 1.44;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.bento-card {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(247, 251, 252, 0.055);
  overflow: hidden;
  transition: transform 500ms ease, background 500ms ease;
}

.bento-card:hover {
  transform: translateY(-6px);
  background: rgba(247, 251, 252, 0.085);
}

.span-5 {
  grid-column: span 5;
}

.span-4 {
  grid-column: span 4;
}

.span-3 {
  grid-column: span 3;
}

.image-card {
  padding: 0;
}

.image-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.1);
  transition: transform 700ms ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

.image-card div {
  padding: 26px;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border: 1px solid rgba(247, 251, 252, 0.12);
  border-radius: 14px;
  color: var(--blue);
  background: rgba(86, 184, 199, 0.12);
  font-size: 1.12rem;
}

.bento-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.18rem, 1.65vw, 1.7rem);
  line-height: 1.08;
}

.bento-card p {
  margin-bottom: 0;
  color: rgba(247, 251, 252, 0.64);
  font-size: 0.96rem;
  line-height: 1.5;
}

.dark-card {
  background: var(--panel-2);
  color: var(--ink);
}

.dark-card p {
  color: rgba(248, 251, 252, 0.72);
}

.dark-card .card-icon,
.accent-card .card-icon {
  border-color: rgba(248, 251, 252, 0.18);
  color: #f8fbfc;
  background: rgba(248, 251, 252, 0.1);
}

.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(86, 184, 199, 0.9), rgba(45, 119, 132, 0.95));
  color: #061015;
}

.metric-card strong {
  font-size: clamp(3.6rem, 6vw, 5.8rem);
  line-height: 0.88;
}

.metric-card span {
  font-weight: 700;
  line-height: 1.35;
}

.accent-card {
  background: #12313a;
  color: var(--ink);
}

.accent-card p {
  color: rgba(248, 251, 252, 0.76);
}

.method {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 64px;
  align-items: start;
  background:
    linear-gradient(180deg, rgba(7, 17, 22, 0.96), rgba(10, 21, 27, 0.98) 16%, rgba(9, 22, 28, 0.98) 84%, rgba(7, 17, 22, 0.96)),
    radial-gradient(circle at 80% 18%, rgba(86, 184, 199, 0.1), transparent 26rem);
  color: var(--ink);
}

.pin-title {
  position: sticky;
  top: 130px;
}

.pin-title p {
  color: rgba(248, 251, 252, 0.68);
  font-size: 1rem;
  line-height: 1.55;
}

.stack {
  display: grid;
  gap: 22px;
}

.stack-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid rgba(247, 251, 252, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(248, 251, 252, 0.08), rgba(248, 251, 252, 0.02)),
    radial-gradient(circle at top right, rgba(74, 167, 181, 0.18), transparent 18rem);
}

.stack-card span {
  margin-bottom: auto;
  color: var(--aqua);
  font-weight: 800;
  text-transform: uppercase;
}

.stack-card h3 {
  font-size: clamp(1.45rem, 2.45vw, 2.55rem);
  line-height: 1.02;
}

.stack-card p {
  margin-bottom: 0;
  color: rgba(248, 251, 252, 0.72);
  font-size: 0.98rem;
  line-height: 1.5;
}

.reach {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 48px;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(7, 17, 22, 0), rgba(86, 184, 199, 0.03) 40%, rgba(7, 17, 22, 0));
}

.reach-copy p {
  color: rgba(247, 251, 252, 0.68);
  font-size: 1rem;
  line-height: 1.58;
}

.accordion {
  display: flex;
  min-height: 460px;
  gap: 10px;
}

.accordion article {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: 24px;
  border-radius: 8px;
  overflow: hidden;
  color: #f8fbfc;
  background: linear-gradient(180deg, transparent, rgba(16, 18, 15, 0.84)), var(--bg) center / cover;
  transition: flex 700ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 700ms ease;
  filter: grayscale(0.54) contrast(1.06);
}

.accordion article:hover {
  flex: 2.7;
  filter: grayscale(0.08) contrast(1.12);
}

.accordion h3 {
  margin-bottom: 8px;
  font-size: clamp(1.4rem, 2vw, 2.4rem);
}

.accordion p {
  max-width: 280px;
  margin-bottom: 0;
  color: rgba(248, 251, 252, 0.76);
}

.marquee-section {
  padding: 20px 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.marquee {
  display: flex;
  width: max-content;
  gap: 52px;
  animation: marquee 28s linear infinite;
}

.marquee span {
  color: var(--field);
  font-size: clamp(1.6rem, 3.6vw, 3.4rem);
  font-weight: 850;
  white-space: nowrap;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 44px;
  align-items: end;
  margin: 112px max(24px, calc((100vw - 1160px) / 2)) 0;
  padding: 48px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 24, 32, 0.92), rgba(29, 82, 102, 0.76)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1400&q=85") center / cover;
  color: #f8fbfc;
}

.cta p {
  width: min(660px, 100%);
  color: rgba(248, 251, 252, 0.72);
  font-size: 1rem;
  line-height: 1.56;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 48px max(24px, calc((100vw - 1160px) / 2));
  color: rgba(247, 251, 252, 0.58);
}

.footer p {
  margin: 0;
  text-align: right;
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .method,
  .reach,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-media {
    transform: none;
  }

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

  .span-5,
  .span-4,
  .span-3 {
    grid-column: span 1;
  }

  .pin-title {
    position: relative;
    top: auto;
  }

  .accordion {
    min-height: auto;
    flex-direction: column;
  }

  .accordion article,
  .accordion article:hover {
    min-height: 260px;
    flex: 1;
  }

  .cta {
    margin-top: 82px;
    padding: 32px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer p {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .nav {
    top: 10px;
    width: calc(100vw - 18px);
    padding-left: 12px;
  }

  .brand img {
    width: 124px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.85rem;
  }

  h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.55rem);
    line-height: 1;
  }

  .section {
    padding-block: 78px;
  }

  .wide-heading h2,
  .method h2,
  .reach h2,
  .cta h2 {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .hero-lede,
  .section-lede {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
