:root {
  --forest: #0f3d3e;
  --leaf: #2eb872;
  --citrus: #ffb703;
  --sunset: #fb8500;
  --cream: #fff8ed;
  --charcoal: #1f232a;
  --text-muted: #5c6068;
  --stroke: #dfe5e3;
  --card: #ffffff;
  --shadow: 0 25px 60px rgba(15, 61, 62, 0.15);
  --font-title: "Space Grotesk", "General Sans", system-ui;
  --font-body: "General Sans", "Space Grotesk", system-ui;
}

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

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
}

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

.mercadinhos-page {
  background: linear-gradient(180deg, #fefbf6 0%, #f3fff8 55%, #ffffff 100%);
}

.mp-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5.5rem 0;
}

.section-eyebrow {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--leaf);
  font-weight: 700;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.2vw, 3rem);
  margin: 0.75rem 0 1.5rem;
  color: var(--forest);
}

.mp-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 61, 62, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--forest);
}

.brand-logo {
  width: 48px;
  height: auto;
}

.mp-nav {
  display: flex;
  gap: 1.5rem;
}

.mp-nav a {
  font-weight: 500;
  color: var(--charcoal);
  transition: color 0.2s ease;
}

.mp-nav a:hover {
  color: var(--leaf);
}

.mp-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mp-btn-primary {
  background: linear-gradient(120deg, var(--leaf), #72e2a1);
  color: #0a221f;
  box-shadow: var(--shadow);
}

.mp-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 70px rgba(46, 184, 114, 0.25);
}

.mp-btn-outline {
  border-color: var(--leaf);
  color: var(--leaf);
}

.mp-btn-outline:hover {
  background: var(--leaf);
  color: #fff;
}

.mp-btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.mp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.mp-btn-light {
  background: #fff;
  color: var(--forest);
  border: 2px solid transparent;
}

.hero-mercadinhos {
  padding: 7rem 0 5rem;
  background: 
    radial-gradient(circle at 10% 20%, rgba(46, 184, 114, 0.15), transparent 50%),
    radial-gradient(circle at 90% 10%, rgba(255, 183, 3, 0.12), transparent 40%),
    linear-gradient(165deg, #0d3334 0%, #1a4f4f 50%, #0f3d3e 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-mercadinhos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 50% 100%, rgba(46, 184, 114, 0.1), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1.25rem;
  line-height: 1.2;
  color: #ffffff;
}

.hero-copy span {
  color: #ffc857;
  text-shadow: 0 0 40px rgba(255, 183, 3, 0.3);
}

.hero-desc {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
}

.page-badge {
  display: inline-flex;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0;
  padding: 0;
  align-items: center;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding-left: 0;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  font-size: 1.05rem;
  justify-content: center;
  text-align: center;
}

.hero-points li::before {
  content: "✓";
  position: static;
  color: #72e2a1;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-note {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.hero-media {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
}

.hero-photo img {
  border-radius: 24px;
  width: 100%;
  height: 420px;
  object-fit: cover;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card {
  position: absolute;
  right: 1.5rem;
  bottom: -1.5rem;
  background: #ffffff;
  color: var(--charcoal);
  padding: 1.25rem 1.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem 0;
  font-weight: 500;
}

.hero-card strong {
  font-size: 2.75rem;
  color: var(--forest);
  display: block;
  line-height: 1;
  font-weight: 800;
}

.hero-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.5rem;
  line-height: 1.3;
}

.trust-section {
  background: #fff;
  padding: 3.5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
  text-align: center;
}

.trust-grid h3 {
  font-size: 2rem;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.trust-grid p {
  color: var(--charcoal);
  font-size: 0.95rem;
}

.desafios {
  background: var(--cream);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.problem-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.75rem;
  border: 1px solid rgba(15, 61, 62, 0.08);
  box-shadow: 0 20px 45px rgba(15, 61, 62, 0.05);
}

.problem-card h4 {
  color: var(--forest);
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.problem-card p {
  color: var(--charcoal);
  line-height: 1.5;
  margin: 0;
}

.solucao {
  background: #ffffff;
  padding: 3.5rem 0;
}

.features-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.features-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(15, 61, 62, 0.08);
  border-radius: 0.875rem;
  transition: all 0.2s ease;
}

.feature-item:hover {
  border-color: var(--leaf);
  background: rgba(46, 184, 114, 0.02);
  transform: translateX(4px);
}

.feature-icon-sm {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gradient-green {
  background: linear-gradient(135deg, #86efac, #d1fae5);
}

.gradient-orange {
  background: linear-gradient(135deg, #fdba74, #fed7aa);
}

.gradient-blue {
  background: linear-gradient(135deg, #7dd3fc, #bae6fd);
}

.gradient-purple {
  background: linear-gradient(135deg, #c084fc, #e9d5ff);
}

.gradient-cyan {
  background: linear-gradient(135deg, #67e8f9, #cffafe);
}

.gradient-yellow {
  background: linear-gradient(135deg, #fcd34d, #fef3c7);
}

.feature-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.feature-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--forest);
  font-family: var(--font-title);
  display: block;
}

.feature-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
}

.experience {
  background: #fff;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.experience-text ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.experience-text li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--charcoal);
}

.experience-text li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--leaf);
}

.experience-text p {
  color: var(--charcoal);
  line-height: 1.6;
}

.gallery {
  display: grid;
  gap: 1.25rem;
}

.gallery img {
  border-radius: 1.75rem;
  height: 260px;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow);
}

.workflow {
  background: var(--forest);
  color: #fff;
}

.workflow .section-eyebrow {
  color: var(--citrus);
}

.workflow .section-title {
  color: #fff;
}

.workflow-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.workflow-steps li {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 1.5rem;
}

.workflow-steps strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--citrus);
}

.workflow-steps span {
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
}

.plans {
  background: #fff;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.plan-card {
  background: #ffffff;
  border-radius: 2rem;
  padding: 2rem;
  border: 2px solid #e5e7eb;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.plan-card h3 {
  color: var(--forest);
  font-size: 1.5rem;
  margin: 0;
}

.plan-price {
  font-family: var(--font-title);
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  font-weight: 800;
  margin: -0.25rem 0 0.35rem;
  color: var(--forest);
}

.plan-desc {
  color: var(--charcoal);
  line-height: 1.6;
  margin: 0;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: var(--charcoal);
}

.plan-card li::before {
  content: "-";
  margin-right: 0.5rem;
  color: var(--leaf);
}

.plan-card .plan-pill {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 61, 62, 0.08);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
}

.plan-card.featured {
  background: linear-gradient(160deg, #d1fae5 0%, #a7f3d0 100%);
  border: 2px solid #6ee7b7;
  box-shadow: 0 8px 16px rgba(5, 150, 105, 0.15);
}

.plan-card.featured h3 {
  color: #065f46;
}

.plan-card.featured .plan-price {
  color: #047857;
}

.plan-card.featured .plan-desc {
  color: #1f2937;
}

.plan-card.featured .plan-pill {
  background: rgba(5, 150, 105, 0.2);
  color: #065f46;
  font-weight: 700;
}

.plan-card.featured ul {
  color: #1f2937;
}

.plan-card.featured li::before {
  color: #059669;
}

.faq {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  padding: 5rem 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.faq-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-top: 1rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.faq-item {
  background: #ffffff;
  border-radius: 1rem;
  border: 1.5px solid rgba(15, 61, 62, 0.08);
  padding: 1.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 10px 25px rgba(15, 61, 62, 0.06);
}

.faq-item:hover {
  border-color: rgba(46, 184, 114, 0.4);
  box-shadow: 0 14px 30px rgba(15, 61, 62, 0.12);
  transform: translateY(-2px);
}

.faq-header-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.faq-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, rgba(46, 184, 114, 0.12), rgba(114, 226, 161, 0.3));
  border-radius: 0.75rem;
  color: var(--forest);
}

.faq-question {
  flex: 1;
  text-align: left;
  font-weight: 600;
  color: var(--forest);
  font-size: 1.0625rem;
}

.faq-item p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
  font-size: 0.9375rem;
}

.final-cta {
  padding: 4.5rem 0 6rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fffe 100%);
}

.final-cta-card {
  background: 
    linear-gradient(135deg, #0f3d3e 0%, #1a5555 50%, #0d3334 100%);
  border-radius: 2rem;
  padding: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  box-shadow: 0 30px 70px rgba(15, 61, 62, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.final-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(46, 184, 114, 0.15), transparent 60%);
  pointer-events: none;
}

.final-cta-card > div:first-child {
  flex: 1;
  min-width: 300px;
  position: relative;
  z-index: 1;
}

.final-cta-card .section-eyebrow {
  color: #72e2a1;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.final-cta-card h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  margin-bottom: 1rem;
  color: #ffffff;
  line-height: 1.2;
  font-weight: 700;
}

.final-cta-card > div:first-child > p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.final-cta-actions .mp-btn-primary {
  background: linear-gradient(120deg, #2eb872, #72e2a1);
  color: #0a221f;
  box-shadow: 0 8px 24px rgba(46, 184, 114, 0.3);
  font-weight: 700;
}

.final-cta-actions .mp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(46, 184, 114, 0.4);
}

.final-cta-actions .mp-btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.final-cta-actions .mp-btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

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

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 1.5rem;
  }

  .final-cta-card {
    flex-direction: column;
    text-align: center;
  }
}
