:root {
  --teal: #00476B;
  --teal-deep: #002f48;
  --teal-mid: #0a5a82;
  --accent: #e06b1f;
  --accent-bright: #FA873D;
  --ink: #0e1620;
  --ink-secondary: #2c3a48;
  --ink-muted: #3f4f5f;
  --paper: #f7f9fb;
  --paper-deep: #e6edf2;
  --line: #c5d0da;
  --line-soft: #d9e2ea;
  --white: #ffffff;
  --radius: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #f5f7fa;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}

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

a {
  color: var(--teal-mid);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-deep);
}

.container {
  width: min(1140px, 90%);
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 247, 250, 0.9);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.6rem;
}

nav a {
  text-decoration: none;
  color: var(--ink-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}

nav a:hover {
  color: var(--teal);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.55rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-deep);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid #9eb0c0;
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #128c45;
  color: var(--white);
  margin-top: 2rem;
}

.btn-whatsapp:hover {
  background: #0e7338;
  color: var(--white);
  transform: translateY(-2px);
}

/* ——— Hero split ——— */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: calc(100vh - 74px);
  display: block;
}

.hero-split {
  display: grid;
  grid-template-columns: 30% 70%;
  min-height: calc(100vh - 74px);
}

.hero-copy {
  position: relative;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 70% 55% at 10% 15%, rgba(0, 71, 107, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 85%, rgba(224, 107, 31, 0.1), transparent 50%),
    linear-gradient(165deg, #e4eef5 0%, #f0f4f8 50%, #f5f7fa 100%);
  border-right: 1px solid var(--line-soft);
}

.hero-copy-inner {
  width: min(100%, 92%);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.8vw, 2.65rem);
  color: var(--teal);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.45rem;
  animation: rise 0.75s var(--ease) both;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1rem;
  animation: rise 0.75s var(--ease) 0.06s both;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
  color: var(--ink-secondary);
  max-width: 36ch;
  margin-bottom: 1.5rem;
  line-height: 1.55;
  font-weight: 500;
  animation: rise 0.75s var(--ease) 0.12s both;
}

.hero-how {
  margin: 1.35rem 0 1.25rem;
  animation: rise 0.75s var(--ease) 0.18s both;
}

.hero-how h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.hero-steps {
  list-style: none;
  counter-reset: hero-step;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-steps li {
  counter-increment: hero-step;
  position: relative;
  padding-left: 2.55rem;
}

.hero-steps li::before {
  content: counter(hero-step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 7px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-steps strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.hero-steps p {
  color: var(--ink-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hero-stores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-top: 1rem;
  animation: rise 0.75s var(--ease) 0.24s both;
}

.hero-stores .store-btn {
  min-width: 0;
  width: 100%;
  justify-content: center;
  padding: 0.75rem 0.4rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  white-space: nowrap;
}

.hero-access {
  display: flex;
  flex-direction: column;
  background: #0f2433;
  min-height: calc(100vh - 74px);
}

.access-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.15rem;
  background: #163247;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.access-bar span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.access-bar a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.access-bar a:hover {
  color: var(--accent-bright);
}

.system-frame {
  flex: 1;
  width: 100%;
  border: none;
  background: #f5f7fa;
  min-height: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Sections shared ——— */
section {
  padding: clamp(4.25rem, 8vw, 6.75rem) 0;
  background: transparent;
}

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 0.65rem;
  line-height: 1.15;
}

.section-head p {
  color: var(--ink-secondary);
  font-size: 1.12rem;
  line-height: 1.5;
}

/* ——— O sistema ——— */
.section-sistema {
  background: transparent;
  border: none;
}

.capabilities {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.capabilities li {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.35rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
  transition: padding-left 0.3s var(--ease);
}

.capabilities li:hover {
  padding-left: 0.35rem;
}

.cap-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal);
  letter-spacing: 0.02em;
  padding-top: 0.15rem;
}

.capabilities h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.capabilities p {
  color: var(--ink-muted);
  max-width: 50ch;
  font-size: 1.02rem;
}

/* ——— Como usar ——— */
.section-como {
  background: transparent;
  border: none;
}

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 0 3.35rem;
  background: none;
  border: none;
  border-radius: 0;
  transition: none;
}

.steps li:hover {
  border-color: transparent;
  transform: none;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.steps p {
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.steps a {
  font-weight: 600;
  color: var(--teal);
}

/* ——— Tutorial ——— */
.section-tutorial {
  background: transparent;
}

.tutorial-tabs {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  margin-bottom: 2.5rem;
}

.tab-btn {
  appearance: none;
  border: 1.5px solid var(--line);
  background: transparent;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.tab-btn.active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.tab-btn:not(.active):hover {
  color: var(--ink);
  border-color: var(--teal-mid);
  background: transparent;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: rise 0.45s var(--ease) both;
}

.video-frame {
  max-width: 900px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
}

.video-aspect {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-aspect iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.screens {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.75rem 2.25rem;
}

.screen {
  margin: 0;
}

.screen img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.screen:hover img {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(14, 22, 32, 0.12);
}

.screen figcaption {
  margin-top: 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.screen figcaption strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}

.screen figcaption span {
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

/* ——— Acesso ——— */
.section-acesso {
  background:
    radial-gradient(ellipse 60% 70% at 10% 40%, rgba(250, 135, 61, 0.18), transparent 55%),
    linear-gradient(145deg, #002536 0%, #003b58 45%, #00476B 100%);
  color: var(--white);
  text-align: center;
}

.section-acesso .section-head {
  margin-inline: auto;
}

.section-acesso .section-head h2 {
  color: var(--white);
}

.section-acesso .section-head p {
  color: rgba(255, 255, 255, 0.9);
}

.acesso-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  color: var(--white);
  text-decoration: none;
  padding: 1.05rem 1.8rem;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  margin-bottom: 1.75rem;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.acesso-link:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.3rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  transform: translateY(-2px);
}

.store-btn.store-btn-light {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid #9eb0c0;
}

.store-btn.store-btn-light:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--teal-mid);
  transform: translateY(-2px);
}

/* ——— FAQ ——— */
.section-faq {
  background: transparent;
  border: none;
}

.faq {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  appearance: none;
  background: none;
  border: none;
  text-align: left;
  padding: 1.3rem 2.6rem 1.3rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  letter-spacing: -0.015em;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--teal);
  transition: transform 0.3s var(--ease);
}

.faq-item.open .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item.open .faq-question {
  color: var(--teal);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 220px;
}

.faq-answer p {
  padding: 0 0 1.3rem;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

/* ——— Contato ——— */
.section-contato {
  background: transparent;
}

.contato-list {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
}

.contato-row span {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4rem;
}

.contato-row p {
  color: var(--ink-secondary);
  font-size: 1.05rem;
}

.contato-row a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.contato-row a:hover {
  color: var(--teal);
}

/* ——— Footer ——— */
footer {
  background: #0a121a;
  color: rgba(255, 255, 255, 0.78);
  padding: 3.25rem 0 1.85rem;
}

.footer-inner {
  display: grid;
  gap: 1.75rem;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.72);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.footer-nav a:hover {
  color: var(--accent-bright);
}

.copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.58);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Responsive ——— */
@media (max-width: 980px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    border-right: none;
    border-bottom: 1px solid var(--line-soft);
  }

  .hero-copy-inner {
    padding: 2.5rem 0 2rem;
  }

  .hero-lead {
    max-width: none;
  }

  .hero-access {
    min-height: min(78vh, 720px);
    order: -1;
  }

  .system-frame {
    min-height: min(70vh, 680px);
  }

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

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

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .menu-toggle {
    display: flex;
  }

  .logo-img {
    height: 38px;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 5%;
    box-shadow: 0 14px 28px rgba(14, 22, 32, 0.1);
  }

  nav ul.show {
    display: flex;
  }

  nav ul a {
    display: block;
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--line-soft);
    color: var(--ink);
  }

  nav ul li:last-child a {
    border-bottom: none;
  }

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

  .hero-stores .store-btn {
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
  }

  .capabilities li {
    grid-template-columns: 3.25rem 1fr;
    gap: 0.85rem;
  }

  .tutorial-tabs {
    width: 100%;
    display: flex;
  }

  .tab-btn {
    flex: 1;
    text-align: center;
  }

  .store-btn {
    flex: 1;
    justify-content: center;
    min-width: 140px;
  }

  .btn-whatsapp {
    width: 100%;
  }
}
