/*
  iServPort — versão estática em HTML/CSS puros.
  Filosofia visual: SaaS executivo com hero escuro luminoso, tipografia Montserrat, cartões suaves, botões em pílula e ampla respiração editorial.
*/

:root {
  --ink: #12162d;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --violet: #6d5dfc;
  --cyan: #12c8d2;
  --soft: #f7f8fc;
  --dark: #08091f;
  --shadow-card: 0 20px 60px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 28px 90px rgba(15, 23, 42, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(109, 93, 252, 0.1), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #f8f9fd 42%, #ffffff 100%);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 18px 0 auto;
  z-index: 50;
  pointer-events: none;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(9, 10, 31, 0.48);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.24);
  backdrop-filter: blur(22px);
  pointer-events: auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.brand-mark,
.footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 15px;
  color: #fff;
  font-weight: 850;
  letter-spacing: -0.08em;
  box-shadow: 0 14px 36px rgba(18, 200, 210, 0.22);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-word {
  color: #ffffff;
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

.brand-kicker {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.navbar-logo {
  width: 80px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: 180ms ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
  cursor: pointer;
}

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

.btn-light {
  background: #ffffff;
  color: #171336;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

.btn-light:hover {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-large {
  padding: 17px 25px;
  font-size: 15px;
}

.btn.full {
  width: 100%;
}

.section-dark {
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 20% 18%, rgba(109, 93, 252, 0.55), transparent 24rem),
    radial-gradient(circle at 78% 26%, rgba(18, 200, 210, 0.28), transparent 22rem),
    linear-gradient(135deg, #07081d 0%, #11133a 55%, #08091f 100%);
}

.hero {
  padding: 156px 0 78px;
  border-bottom-left-radius: 46px;
  border-bottom-right-radius: 46px;
  overflow: hidden;
}

.glow-field,
.grid-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glow-field::before,
.glow-field::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(16px);
}

.glow-field::before {
  width: 340px;
  height: 340px;
  right: 12%;
  top: 110px;
  background: rgba(109, 93, 252, 0.28);
}

.glow-field::after {
  width: 220px;
  height: 220px;
  left: 10%;
  bottom: 18%;
  background: rgba(18, 200, 210, 0.18);
}

.glow-field.small::before {
  width: 280px;
  height: 280px;
  right: 4%;
  top: -24px;
}

.grid-field {
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 78%, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-pill {
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--violet);
}

.eyebrow.on-dark {
  color: rgba(255, 255, 255, 0.72);
}

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

h1 {
  max-width: 1010px;
  margin-top: 24px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.07em;
  font-weight: 100;
}

h1 span {
  color: #bfb8ff;
  font-weight: 700;
}

.hero-subtitle {
  max-width: 820px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.72;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(760px, 100%);
  margin-top: 46px;
}

.proof-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.proof-card strong {
  display: block;
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.proof-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  font-weight: 650;
}

.product-frame-wrap {
  position: relative;
  z-index: 2;
  margin-top: 64px;
}

.product-frame {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.product-frame img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 24px;
}

.section {
  padding: 112px 0;
}

.section-white {
  background: #fff;
}

.section-soft {
  background:
    radial-gradient(circle at 8% 4%, rgba(109, 93, 252, 0.08), transparent 28rem),
    var(--soft);
}

.section-violet {
  background:
    radial-gradient(circle at 0% 0%, rgba(109, 93, 252, 0.15), transparent 32rem),
    radial-gradient(circle at 100% 14%, rgba(18, 200, 210, 0.1), transparent 30rem),
    #101237;
  color: #fff;
}

.split-layout,
.module-layout {
  display: grid;
  align-items: start;
  gap: 74px;
}

.split-layout {
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.72fr);
}

.module-layout {
  grid-template-columns: minmax(310px, 0.7fr) minmax(0, 1fr);
}

.reverse-gap {
  grid-template-columns: minmax(0, 0.88fr) minmax(350px, 0.72fr);
}

h2 {
  max-width: 890px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 100;
}

.section-violet h2,
.cta-panel h2 {
  color: #fff;
}

.section-lead,
.section-heading p,
.value-card p,
.saas-card p,
.trace-card p,
.differentiator-list p,
.cta-copy p,
.footer-brand p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.76;
}

.section-lead {
  max-width: 690px;
  margin-top: 24px;
  font-size: 18px;
}

.section-violet .section-lead,
.cta-panel p,
.section-violet .trace-card p,
.section-violet .saas-card p {
  color: rgba(255, 255, 255, 0.68);
}

.value-stack {
  display: grid;
  gap: 16px;
}

.value-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
}

.value-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(109, 93, 252, 0.12), rgba(18, 200, 210, 0.14));
  color: var(--violet);
  font-weight: 800;
}

.section-heading {
  margin-bottom: 56px;
}

.section-heading.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-heading.center p,
.section-heading.left p {
  max-width: 760px;
  margin-top: 22px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.saas-card,
.trace-card {
  position: relative;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.saas-card:hover,
.trace-card:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 93, 252, 0.22);
  box-shadow: var(--shadow-soft);
}

.card-icon,
.trace-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  margin-bottom: 28px;
  padding: 0 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.card-icon.wide {
  min-width: 62px;
}

.saas-card h3,
.trace-card h3,
.differentiator-list h3 {
  margin-bottom: 12px;
  color: #15172f;
  font-size: 21px;
  line-height: 1.22;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.dark-card,
.section-violet .trace-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.dark-card h3,
.section-violet .trace-card h3 {
  color: #fff;
}

.sticky-copy {
  position: sticky;
  top: 120px;
}

.trace-card {
  min-height: auto;
  margin-top: 36px;
}

.differentiator-list {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.differentiator-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.differentiator-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f0efff;
  color: var(--violet);
  font-weight: 800;
}

.image-card {
  position: relative;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.image-card span {
  position: absolute;
  inset: auto 34px -24px 34px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(109, 93, 252, 0.34), rgba(18, 200, 210, 0.22));
  filter: blur(18px);
}

.image-card img {
  position: relative;
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 24px;
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.48fr);
  gap: 52px;
  overflow: hidden;
  padding: 68px;
  border-radius: 42px;
  box-shadow: 0 30px 90px rgba(8, 9, 31, 0.25);
}

.cta-panel > * {
  position: relative;
  z-index: 2;
}

.cta-copy p {
  max-width: 690px;
  margin-top: 24px;
}

.cta-checklist {
  align-self: center;
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 650;
}

.check-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #bff7fb;
}

.site-footer {
  padding: 42px 0;
  background: var(--soft);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  max-width: 620px;
  color: var(--ink);
}

.footer-mark {
  width: 42px;
  height: 42px;
}

.footer-brand p {
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--violet);
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .split-layout,
  .module-layout,
  .reverse-gap,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .card-grid.four,
  .card-grid.three,
  .card-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sticky-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    inset: 10px 0 auto;
  }

  .header-nav {
    padding: 10px 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .brand-kicker {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 128px 0 54px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
    letter-spacing: -0.06em;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-actions,
  .proof-grid,
  .card-grid.four,
  .card-grid.three,
  .card-grid.two {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
    width: 100%;
  }

  .proof-grid {
    display: grid;
  }

  .section {
    padding: 78px 0;
  }

  h2 {
    font-size: clamp(32px, 10vw, 44px);
    letter-spacing: -0.045em;
  }

  .value-card,
  .differentiator-list article {
    grid-template-columns: 1fr;
  }

  .saas-card,
  .trace-card {
    min-height: auto;
    padding: 24px;
  }

  .product-frame img,
  .image-card img {
    min-height: 240px;
  }

  .cta-panel {
    padding: 32px 22px;
    border-radius: 30px;
  }

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