:root {
  --ink: #05080d;
  --panel: #0b121c;
  --muted: #6b7d91;
  --line: #d8e2ee;
  --paper: #f4f8fc;
  --white: #ffffff;
  --blue: #006bff;
  --blue-dark: #0044b8;
  --blue-soft: #e7f0ff;
  --radius: 8px;
  --content: 1120px;
  --shadow: 0 18px 50px rgba(5, 8, 13, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#apresentacao,
#layout-carrossel,
#diferencial,
#plataformas,
#funcoes,
#planos,
#faq,
#cta-final {
  scroll-margin-top: 96px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 300px;
  align-items: center;
  gap: 20px;
  min-height: 92px;
  padding: 0 max(20px, calc((100% - var(--content)) / 2));
  background: #000000;
  border-bottom: 1px solid rgba(0, 107, 255, .62);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 300px;
  height: 92px;
}

.brand img {
  display: block;
  width: 300px;
  max-width: none;
  height: 92px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding: 8px 0 10px;
  letter-spacing: .04em;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.nav a:hover {
  color: #8fc1ff;
}

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

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  font-weight: 900;
}

.nav-cta {
  justify-self: end;
  min-width: 184px;
  padding: 0 20px;
  color: var(--white) !important;
  background: #25d366;
  border-color: #25d366;
}

.nav-cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: 0 0 0 1px var(--blue);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  width: min(var(--content), calc(100% - 40px));
  min-height: calc(100vh - 82px);
  margin-inline: auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.headline-nowrap {
  white-space: nowrap;
}

.headline-blue {
  color: var(--blue);
}

.lead,
.section-heading p,
.final-cta p {
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.55;
}

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

.button {
  padding: 0 22px;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.button.secondary {
  color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(0, 107, 255, .2);
}

.hero-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 430px;
  padding: 8px;
  background: #111111;
  border: 4px solid #1a1a1a;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.hero-mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform .5s ease, filter .3s ease;
}

.hero-mockup-img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.store-preview {
  display: grid;
  gap: 14px;
}

.store-top {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 72px;
  gap: 12px;
  align-items: center;
}

.store-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .03em;
}

.store-search,
.store-action,
.store-chip,
.product-card,
.cart-line,
.cart-total {
  border-radius: var(--radius);
}

.store-search {
  height: 42px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .06);
}

.store-action {
  height: 42px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.store-body {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 130px;
  gap: 14px;
  align-items: stretch;
}

.store-sidebar {
  display: grid;
  gap: 10px;
  align-content: start;
}

.store-chip {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .06);
  font-size: 12px;
  font-weight: 800;
}

.store-chip.active {
  color: var(--white);
  background: rgba(0, 107, 255, .22);
  border-color: rgba(0, 107, 255, .38);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-card {
  padding: 10px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .06);
}

.product-media {
  height: 86px;
  margin-bottom: 10px;
  border-radius: calc(var(--radius) - 2px);
}

.product-media.accent-blue {
  background: linear-gradient(135deg, var(--blue), #8fc1ff);
}

.product-media.accent-dark {
  background: linear-gradient(135deg, #1b2a40, #05080d);
}

.product-media.accent-soft {
  background: linear-gradient(135deg, #5f85ff, #c8daff);
}

.product-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-size: 13px;
}

.product-card span {
  color: #8fc1ff;
  font-size: 12px;
  font-weight: 800;
}

.store-cart {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius);
}

.cart-line {
  height: 12px;
  background: rgba(255, 255, 255, .1);
}

.cart-line.wide {
  height: 16px;
}

.cart-line.short {
  width: 72%;
}

.cart-total {
  height: 42px;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.panel-top {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.panel-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.panel-top span:nth-child(1) {
  background: var(--blue);
}

.panel-top span:nth-child(2) {
  background: #1c77ff;
}

.panel-top span:nth-child(3) {
  background: #70adff;
}

.preview-card {
  height: 180px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,0)),
    radial-gradient(circle at 78% 24%, rgba(255,255,255,.7) 0 12%, transparent 13%),
    linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.preview-grid span {
  height: 82px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .12);
}

.preview-line {
  width: 100%;
  height: 14px;
  margin-top: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
}

.preview-line.short {
  width: 66%;
  margin-top: 12px;
}

.section {
  width: min(var(--content), calc(100% - 40px));
  margin-inline: auto;
  padding: clamp(58px, 8vw, 104px) 0;
}

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

.carousel-section {
  background: transparent;
}

.carousel {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 14px;
  align-items: stretch;
}

.carousel-button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 34px;
  cursor: pointer;
}

.carousel-track {
  overflow: hidden;
  border-radius: var(--radius);
}

.slide {
  display: none;
  min-height: 280px;
  padding: clamp(24px, 5vw, 50px);
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), var(--blue-dark));
}

.slide.is-active {
  display: block;
}

.slide span {
  color: #8fc1ff;
  font-weight: 950;
}

.slide h3 {
  margin-top: 46px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.slide p {
  max-width: 620px;
  color: rgba(255, 255, 255, .76);
  font-size: 19px;
  line-height: 1.55;
}

.feature-grid,
.plan-grid,
.differential-grid,
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.plan,
.faq details,
.differential-grid article,
.platform-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(5, 8, 13, .06);
}

.feature-grid article {
  padding: 24px;
}

.feature-grid strong,
.feature-grid p {
  display: block;
}

.feature-grid p,
.plan p,
.faq p,
.differential-grid p,
.platform-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.platforms {
  background: var(--white);
  border: 1px solid rgba(0, 107, 255, .12);
  border-radius: var(--radius);
  padding-inline: clamp(18px, 4vw, 34px);
}

.platform-grid article {
  padding: 24px;
}

.platform-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
}

.differential {
  color: var(--white);
  background: var(--ink);
  padding-inline: clamp(18px, 4vw, 34px);
  border: 1px solid rgba(0, 107, 255, .28);
  border-radius: var(--radius);
}

.differential .eyebrow {
  color: #8fc1ff;
}

.differential .section-heading p {
  color: rgba(255, 255, 255, .72);
}

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

.differential-grid article {
  padding: 26px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 107, 255, .18), rgba(255, 255, 255, .06));
  border-color: rgba(0, 107, 255, .3);
}

.differential-grid span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-bottom: 24px;
  color: #8fc1ff;
  font-weight: 950;
}

.differential-grid strong {
  display: block;
  margin-bottom: 10px;
}

.differential-grid p {
  color: rgba(255, 255, 255, .72);
}

.plans {
  padding-inline: clamp(18px, 4vw, 34px);
  background: var(--blue-soft);
  border: 1px solid rgba(0, 107, 255, .16);
  border-radius: var(--radius);
}

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

.plan {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.plan-price {
  font-size: 38px;
  font-weight: 900;
  margin: 10px 0 24px;
  color: var(--blue);
}

.plan.featured .plan-price {
  color: var(--white);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  flex-grow: 1;
}

.plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 14px;
}

.plan.featured .plan-features li {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan strong {
  display: block;
  margin: 24px 0;
}

.plan a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: var(--radius);
  font-weight: 900;
}

.faq details {
  padding: 0 22px;
}

.faq details + details {
  margin-top: 12px;
}

.faq summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 900;
}

.faq p {
  margin-bottom: 20px;
}

.final-cta {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto clamp(36px, 5vw, 64px);
  padding: clamp(64px, 8vw, 110px) clamp(22px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), var(--blue-dark));
  border-radius: var(--radius);
  text-align: center;
}

.final-cta .eyebrow {
  color: #8fc1ff;
}

.final-cta h2,
.final-cta p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta p {
  color: rgba(255, 255, 255, .74);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 112px;
  margin: 0;
  padding: 12px max(20px, calc((100% - var(--content)) / 2));
  color: var(--white);
  background: #000000;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  width: 300px;
  height: 92px;
  flex: 0 0 auto;
}

.footer-brand img {
  display: block;
  width: 300px;
  height: 92px;
  object-fit: contain;
}

.footer span {
  color: rgba(255, 255, 255, .68);
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 240px minmax(0, 1fr) 240px;
  }

  .brand,
  .brand img {
    width: 240px;
    height: 78px;
  }

  .nav {
    gap: 12px;
    font-size: 12px;
  }

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

  .store-body {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .site-header {
    display: flex;
    min-height: 82px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--ink);
    border: 1px solid rgba(0, 107, 255, .48);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

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

  .store-top {
    grid-template-columns: 1fr;
  }

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

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

  .hero {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 40px;
  }

  .site-header,
  .section,
  .hero,
  .final-cta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand img {
    width: 190px;
    height: 62px;
  }

  .brand {
    width: 190px;
    height: 62px;
  }

  .hero-actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-brand,
  .footer-brand img {
    width: 240px;
    height: 74px;
  }

  .button {
    width: 100%;
  }

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

  .carousel-button {
    min-height: 44px;
  }

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

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