:root {
  --ink: #173844;
  --muted: #587582;
  --line: #d7e8ef;
  --paper: #edf7fa;
  --white: #ffffff;
  --brand-dark: #0d5d82;
  --brand: #1f83ad;
  --brand-light: #a9d9eb;
  --accent: #62b7d7;
  --deep: #0b3345;
  --shadow: 0 20px 60px rgba(16, 72, 96, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(13, 93, 130, 0.12);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: clamp(174px, 22vw, 260px);
  height: auto;
  border-radius: 18px;
}

.main-nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  transition: color 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  background: var(--accent);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand-dark);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(169, 217, 235, 0.28);
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: min(58vw, 720px);
  aspect-ratio: 1;
  right: -12vw;
  top: 96px;
  border-width: 34px;
  opacity: 0.34;
}

.hero::after {
  width: min(30vw, 360px);
  aspect-ratio: 1;
  right: clamp(22px, 11vw, 180px);
  bottom: 132px;
  border-width: 18px;
  opacity: 0.26;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 42, 58, 0.94) 0%, rgba(13, 93, 130, 0.72) 48%, rgba(169, 217, 235, 0.18) 100%),
    url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=2200&q=85") center / cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 128px clamp(18px, 7vw, 96px);
  padding-top: 140px;
}

.hero-logo {
  width: min(430px, 88vw);
  height: auto;
  margin-bottom: 30px;
  border-radius: 26px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-light);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.intro h2,
.proof-content h2,
.cta-section h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(44px, 8vw, 96px);
  max-width: 900px;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.button svg {
  width: 19px;
  height: 19px;
}

.button.primary {
  color: var(--white);
  background: var(--brand-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(169, 217, 235, 0.55);
  background: rgba(169, 217, 235, 0.12);
}

.hero-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(169, 217, 235, 0.28);
  background: rgba(7, 42, 58, 0.88);
}

.hero-strip span {
  min-height: 82px;
  padding: 20px clamp(18px, 4vw, 42px);
  color: rgba(255, 255, 255, 0.78);
  border-right: 1px solid rgba(169, 217, 235, 0.18);
}

.hero-strip strong {
  color: var(--white);
}

.section,
.section-band,
.cta-section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.intro {
  background: var(--white);
}

.intro-grid,
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.proof-content h2,
.cta-section h2 {
  font-size: clamp(30px, 4vw, 54px);
}

.intro p:last-child,
.cta-section p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.feature-grid,
.segment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.segment-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(16, 72, 96, 0.08);
}

.feature-card {
  min-height: 250px;
  padding: 28px;
}

.feature-card svg {
  width: 34px;
  height: 34px;
  color: var(--brand);
}

.feature-card > svg {
  width: 58px;
  height: 58px;
  padding: 14px;
  color: var(--brand-dark);
  background: rgba(169, 217, 235, 0.48);
  border: 1px solid rgba(31, 131, 173, 0.18);
  border-radius: 50%;
}

.feature-card h3,
.segment-grid h3 {
  margin: 22px 0 10px;
  font-size: 22px;
}

.feature-card p,
.segment-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  min-height: 680px;
  margin-inline: clamp(0px, 3vw, 42px);
  background: var(--deep);
  color: var(--white);
  border-radius: 0 96px 0 96px;
  overflow: hidden;
}

.proof-image {
  min-height: 420px;
  background:
    linear-gradient(rgba(13, 93, 130, 0.12), rgba(13, 93, 130, 0.12)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1600&q=84") center / cover;
}

.proof-content {
  align-self: center;
  padding: clamp(36px, 7vw, 74px);
}

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

.process-list li {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.process-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-light);
}

.process-list span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.segment-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom-right-radius: 80px;
}

.segment-grid h3,
.segment-grid p {
  padding-inline: 22px;
}

.segment-grid h3 {
  margin-top: 22px;
}

.segment-grid p {
  padding-bottom: 24px;
}

.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.cta-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 360px;
  aspect-ratio: 1;
  right: -140px;
  top: -180px;
  border: 26px solid rgba(169, 217, 235, 0.28);
  border-radius: 50%;
}

.cta-section .section-inner {
  position: relative;
  z-index: 1;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  padding: 13px 15px;
  border-radius: 18px;
  line-height: 1.45;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-ok {
  color: #0b4c31;
  background: #dff6eb;
  border: 1px solid #a7dfc0;
}

.form-status.is-invalido,
.form-status.is-erro {
  color: #72321f;
  background: #ffe8df;
  border: 1px solid #f4bba8;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
  border-radius: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-info {
  display: grid;
  gap: 5px;
  max-width: 820px;
  line-height: 1.5;
  font-size: 15px;
}

.footer-info strong {
  color: var(--ink);
}

.site-footer a {
  flex: 0 0 auto;
  color: var(--brand-dark);
  font-weight: 800;
}

@media (max-width: 840px) {
  .menu-button {
    display: grid;
    place-items: center;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    left: 18px;
    right: 18px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 900px;
  }

  .hero::before {
    width: 560px;
    right: -300px;
    top: 110px;
  }

  .hero::after {
    display: none;
  }

  .hero-content {
    margin: 0 auto 220px;
    top: -100px;
    padding: 0;
  }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .hero-strip span {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(169, 217, 235, 0.18);
  }

  .intro-grid,
  .cta-grid,
  .feature-grid,
  .segment-grid {
    grid-template-columns: 1fr;
  }

  .proof-section {
    grid-template-columns: 1fr;
    margin-inline: 0;
    border-radius: 0 54px 0 54px;
  }
}

@media (max-width: 520px) {
  .brand img {
    width: 168px;
  }

  .hero-logo {
    width: 100%;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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