:root {
  --green: #00ad33;
  --green-dark: #008227;
  --orange: #ff7a00;
  --text: #111827;
  --muted: #6b7280;
  --bg: #f9fafb;
  --white: #ffffff;
  --border: #e5e7eb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand-logo {
  height: 32px;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
}

.nav a:hover {
  color: var(--green-dark);
}

/* botão Área do lojista no header */
.nav-login-link {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--green);
  color: var(--green-dark);
  font-weight: 500;
}

.nav-login-link:hover {
  background: #ecfdf3;
}

/* NAV MOBILE */
.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

/* HERO */
.hero {
  padding: 64px 0 72px;
  background: linear-gradient(135deg, #ecfdf3 0%, #ffffff 45%, #f9fafb 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 40px;
}

.hero-pill {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
  color: var(--green-dark);
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 3.5vw, 2.9rem);
  line-height: 1.1;
}

.hero h1 span {
  color: var(--green-dark);
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 16px;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--text);
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.hero-list li::before {
  content: "✔";
  color: var(--green-dark);
  font-size: 0.8rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

/* BOTÕES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease;
}

.btn-primary {
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(248, 113, 22, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(248, 113, 22, 0.45);
}

.btn-outline {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: #f3f4f6;
}

.btn-light {
  background: #ffffff;
  color: var(--green-dark);
}

.full {
  width: 100%;
}

/* HERO METRICS */
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.8rem;
}

.hero-metrics strong {
  font-size: 1rem;
}

.hero-metrics span {
  display: block;
  color: var(--muted);
}

/* HERO IMAGE */
.hero-media {
  display: flex;
  justify-content: center;
}

.hero-card-img {
  width: 100%;
  max-width: 460px;
  border-radius: 24px;
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.hero-card-img img {
  border-radius: 20px;
  height: 320px;
  object-fit: cover;
}

/* SEÇÕES GENÉRICAS */
.section {
  padding: 72px 0;
}

.section-soft {
  background: var(--bg);
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}

.section-header h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* CARDS */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 18px 20px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.step {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  color: var(--green-dark);
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.icon-card .icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  color: var(--green-dark);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

/* FEATURE GRID (seções com mockup) */
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

/* espaço entre blocos dentro da seção de funcionalidades */
.feature-block {
  margin-top: 40px;
}

.feature-text h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.feature-text p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.feature-list li {
  margin-bottom: 6px;
}

/* MOCKUP CELULAR */
.phone-mockup {
  max-width: 360px;
  margin-inline: auto;
  border-radius: 32px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  padding: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.phone-mockup img {
  border-radius: 26px;
  background: #ffffff;
}

/* MOCKUP DASHBOARD */
.dashboard-mockup {
  max-width: 560px;
  margin-inline: auto;
  border-radius: 28px;
  background: linear-gradient(135deg, #e0f2fe, #f9fafb);
  padding: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.dashboard-mockup img {
  border-radius: 20px;
  background: #ffffff;
}

/* PLANOS */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.plan-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 18px 22px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  position: relative;
}

.plan-card h3 {
  margin: 0 0 8px;
}

.plan-card .price {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 700;
}

.plan-card .price span {
  font-size: 0.8rem;
  font-weight: 500;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.plan-card ul li {
  margin-bottom: 6px;
}

.plan-featured {
  border-color: var(--green);
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.18);
  background: #ecfdf3;
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
}

/* CTA FINAL */
.cta-final {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-inner p {
  margin: 4px 0 0;
  font-size: 0.94rem;
}

/* CONTATO */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.contact-grid p {
  font-size: 0.94rem;
  color: var(--muted);
}

.contact-form {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 18px 20px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form label {
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-form input,
.contact-form textarea {
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 8px 10px;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
}

/* FOOTER */
.footer {
  background: #020617;
  color: #9ca3af;
  padding: 18px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8rem;
}

.footer-inner p {
  margin: 4px 0 0;
}

.footer-copy {
  color: #6b7280;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .hero-grid,
  .feature-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .cards-3,
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    inset-inline: 0;
    top: 56px;
    background: #ffffff;
    padding: 10px 1.5rem 12px;
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 56px;
  }

  .cards-3,
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
