/* ==========================================================================
   RESET & VARIÁVEIS VISUAIS (DESIGN SYSTEM POUPA MEI)
   ========================================================================== */
:root {
  --brand-primary: #00875f;
  --brand-dark: #005a3f;
  --brand-light: #e6f7f1;
  --text-main: #0f172a;
  --text-muted: #475569;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-float: 0 12px 32px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
}

/* NAVBAR */
.niche-navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-badge {
  background: var(--brand-primary);
  color: #fff;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.brand-name {
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.btn-cta-nav {
  background: var(--brand-light);
  color: var(--brand-primary);
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid #a7f3d0;
  transition: all 0.2s ease;
}

.btn-cta-nav:hover {
  background: var(--brand-primary);
  color: #fff;
}

/* HERO SECTION */
.hero-section {
  padding: 70px 24px;
  background: radial-gradient(circle at top right, #e6f7f1 0%, #f8fafc 55%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.badge-pill {
  display: inline-block;
  background: #f1f5f9;
  color: var(--brand-dark);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--text-main);
  margin-bottom: 18px;
}

.hero-content h1 span {
  color: var(--brand-primary);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.btn-primary {
  background: var(--brand-primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(0, 135, 95, 0.3);
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.sub-guarantee {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* CARD DE EXEMPLO (MOCKUP VISUAL) */
.sample-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-float);
}

.sample-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.tag-status {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.sample-header h3 {
  font-size: 1.2rem;
  color: var(--text-main);
}

.sample-badge {
  background: #dcfce7;
  color: #166534;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 20px;
}

.sample-ingredients {
  list-style: none;
  margin-bottom: 20px;
}

.sample-ingredients li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #f1f5f9;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.sample-ingredients li strong {
  color: var(--text-main);
}

.sample-footer {
  display: flex;
  justify-content: space-between;
  background: #f8fafc;
  padding: 14px 18px;
  border-radius: var(--radius-md);
}

.sample-footer .metric small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sample-footer .metric .cost {
  font-weight: 700;
  font-size: 1.1rem;
}

.sample-footer .metric.highlight .price {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--brand-primary);
}

/* SEÇÃO DE RECURSOS */
.features-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-size: 2.1rem;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* BOTTOM CTA */
.bottom-cta {
  background: #0f172a;
  color: #fff;
  padding: 80px 24px;
  text-align: center;
}

.cta-inner {
  max-width: 650px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.cta-inner p {
  color: #94a3b8;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.btn-primary-large {
  display: inline-block;
  background: var(--brand-primary);
  color: #fff;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
  transition: background 0.2s ease;
}

.btn-primary-large:hover {
  background: #00a86b;
}

.bottom-cta .sub-guarantee {
  color: #64748b;
  display: block;
}

/* FOOTER */
.niche-footer {
  text-align: center;
  padding: 24px;
  background: #020617;
  color: #64748b;
  font-size: 0.85rem;
  border-top: 1px solid #1e293b;
}

/* RESPONSIVIDADE (MOBILE) */
@media (max-width: 860px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .hero-actions {
    align-items: center;
    width: 100%;
  }

  .btn-primary {
    width: 100%;
  }
}

/* ==========================================================================
   ESTILOS DO SIMULADOR DE BANCADA
   ========================================================================== */
.calc-section {
  padding: 80px 24px;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.calc-container {
  max-width: 1050px;
  margin: 0 auto;
}

.calc-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px auto;
}

.calc-header h2 {
  font-size: 2.1rem;
  letter-spacing: -0.5px;
  margin-top: 10px;
  margin-bottom: 8px;
}

.calc-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-subtle);
  align-items: center;
}

.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.input-prefix-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix-wrapper input {
  width: 100%;
  padding: 10px 42px 10px 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-prefix-wrapper input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 135, 95, 0.15);
}

.input-suffix {
  position: absolute;
  right: 14px;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.helper-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Painel de Resultados */
.results-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-float);
}

.results-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.total-weight-display {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--brand-primary);
  margin: 8px 0 18px 0;
  line-height: 1;
}

.total-weight-display small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.results-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.res-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: var(--bg-page);
  padding: 10px;
  border-radius: var(--radius-sm);
}

.res-icon {
  font-size: 1.5rem;
}

.res-info {
  display: flex;
  flex-direction: column;
}

.res-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.res-info strong {
  font-size: 1.1rem;
  color: var(--text-main);
}

/* CTA Card */
.calc-cta-box {
  background: var(--brand-light);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 16px;
}

.calc-cta-box p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 10px;
}

.btn-calc-cta {
  display: inline-block;
  background: var(--brand-primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
  width: 100%;
}

.btn-calc-cta:hover {
  background: var(--brand-dark);
}

.calc-cta-box small {
  display: block;
  font-size: 0.75rem;
  color: var(--brand-dark);
  margin-top: 6px;
}

/* Responsividade */
@media (max-width: 820px) {
  .calc-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .calc-inputs {
    grid-template-columns: 1fr;
  }
}