:root {
  --navy: #071928;
  --blue-900: #0d2e50;
  --blue-700: #155c8a;
  --blue-500: #1d7fc0;
  --green: #19e39b;
  --green-dark: #0bb779;
  --ink: #102033;
  --muted: #5e6f80;
  --line: #dfe8ef;
  --paper: #ffffff;
  --mist: #f4f8fb;
  --soft: #eaf5f1;
  --sun: #f6c95f;
  --shadow: 0 24px 70px rgba(7, 25, 40, 0.16);
  --soft-shadow: 0 16px 45px rgba(13, 46, 80, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px max(20px, calc((100vw - 1120px) / 2));
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(223, 232, 239, 0.8);
  backdrop-filter: blur(18px);
}

.site-header.compact {
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  color: var(--blue-900);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(13, 46, 80, 0.18);
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #29445e;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-900);
  background: var(--mist);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue-900);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  color: var(--paper);
  background: var(--navy);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 25, 40, 0.96) 0%, rgba(13, 46, 80, 0.86) 46%, rgba(7, 25, 40, 0.58) 100%),
    linear-gradient(180deg, rgba(7, 25, 40, 0.2), rgba(7, 25, 40, 0.84));
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: min(56vw, 760px);
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.38;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: center;
  gap: 72px;
  min-height: calc(100vh - 76px);
  padding: 72px 0 92px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.55rem, 6.2vw, 5.65rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.65vw, 1.22rem);
}

.hero-actions,
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #062019;
  background: var(--green);
  box-shadow: 0 18px 35px rgba(25, 227, 155, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #33f0ac;
}

.button-secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.trust-strip {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
}

.trust-strip span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.phone-stage {
  position: relative;
  justify-self: center;
  width: min(100%, 410px);
  padding: 18px 0 30px;
}

.phone {
  position: relative;
  width: min(100%, 330px);
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  background: linear-gradient(180deg, #142d45, #071928);
  box-shadow: var(--shadow);
  aspect-ratio: 9 / 18.6;
}

.phone::before {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 2;
  width: 84px;
  height: 20px;
  content: "";
  border-radius: 0 0 12px 12px;
  background: #071928;
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
  object-position: center top;
  background: var(--navy);
}

.phone-main {
  width: min(100%, 360px);
  transform: rotate(2deg);
}

.mini-panel {
  position: absolute;
  right: -12px;
  bottom: 54px;
  max-width: 230px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--paper);
  background: rgba(8, 31, 49, 0.86);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(12px);
}

.mini-panel strong,
.mini-panel span {
  display: block;
}

.mini-panel span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.section {
  padding: 92px 0;
}

.benefits {
  background: linear-gradient(180deg, var(--paper), var(--mist));
}

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

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 32px;
  max-width: none;
}

.section-heading h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

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

.feature-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  color: var(--blue-900);
  background: var(--soft);
  font-size: 0.8rem;
  font-weight: 950;
}

.feature-card:nth-child(2n) .feature-icon {
  background: #e6f1fb;
}

.feature-card:nth-child(3n) .feature-icon {
  background: #fff4d7;
}

.feature-card h3,
.screen-card h3,
.steps h3 {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-size: 1.12rem;
  line-height: 1.2;
}

.feature-card p,
.steps p {
  margin: 0;
  color: var(--muted);
}

.showcase {
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(7, 25, 40, 0.96), rgba(13, 46, 80, 0.98)),
    url("assets/screens/jornada-planejada-real.jpeg") center / cover;
}

.showcase .section-heading h2,
.showcase .screen-card h3 {
  color: var(--paper);
}

.showcase .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.screen-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
  min-height: 470px;
  padding: 18px 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.screen-card .phone {
  width: 100%;
  max-width: 210px;
  box-shadow: none;
}

.featured-screen {
  background: rgba(25, 227, 155, 0.12);
}

.process {
  background: var(--paper);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: steps;
}

.steps article {
  position: relative;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--blue-700);
  font-weight: 900;
}

.steps article:nth-child(4) span {
  color: #062019;
  background: var(--green);
}

.assurance {
  background: var(--mist);
}

.assurance-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 48px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.assurance-panel h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
}

.assurance-copy p {
  margin: 0 0 16px;
  color: var(--muted);
}

.assurance-copy p:last-child {
  margin-bottom: 0;
}

.cta-section {
  padding-top: 0;
  background: var(--mist);
}

.cta-panel {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 30px;
  border-radius: var(--radius);
  color: var(--paper);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700) 62%, var(--green-dark));
  box-shadow: var(--shadow);
}

.cta-panel img {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--paper);
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.cta-panel p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  padding: 48px 0 28px;
  color: rgba(255, 255, 255, 0.74);
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
}

.footer-brand {
  color: var(--paper);
}

.footer-grid p {
  max-width: 360px;
  margin: 14px 0 0;
}

.footer-grid nav {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.footer-grid a:hover,
.footer-grid a:focus-visible,
.footer-legal-links a:hover,
.footer-legal-links a:focus-visible,
.legal-shell a:hover,
.legal-shell a:focus-visible {
  color: var(--green);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.legal-page {
  padding: 72px 0 96px;
  background: linear-gradient(180deg, var(--mist), var(--paper) 220px);
}

.legal-shell {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.legal-shell h1 {
  color: var(--blue-900);
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.legal-shell h2 {
  margin: 34px 0 8px;
  color: var(--blue-900);
  font-size: 1.25rem;
}

.legal-shell p {
  margin: 0 0 14px;
  color: var(--muted);
}

.legal-shell a {
  color: var(--blue-700);
  font-weight: 800;
}

.legal-lead {
  margin-top: 20px;
  font-size: 1.08rem;
}

.legal-footer {
  padding-top: 20px;
}

.legal-footer .copyright {
  margin-top: 0;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 58px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .phone-stage {
    width: min(86vw, 390px);
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding: 10px 14px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: 0;
    padding: 48px 0 70px;
  }

  .hero-bg {
    right: -45vw;
    width: 132vw;
    opacity: 0.36;
  }

  .trust-strip span {
    width: 100%;
  }

  .mini-panel {
    right: 0;
    bottom: 10px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading.split,
  .assurance-panel,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid,
  .screen-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .screen-card {
    min-height: 0;
  }

  .screen-card .phone {
    max-width: 250px;
  }

  .assurance-panel,
  .legal-shell {
    padding: 28px;
  }

  .cta-panel {
    justify-items: start;
  }

  .footer-grid nav {
    justify-items: start;
  }

  .copyright {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 2.12rem;
    line-height: 1.02;
  }

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

  .brand span {
    font-size: 0.98rem;
  }

  .legal-nav {
    font-size: 0.82rem;
  }
}
