/* Camada de tema escuro: mantém a estrutura principal e reduz áreas claras. */
.features { background: #111215; color: #f5f5f5; }
.features .section-heading p,
.features .feature-card p { color: #96979c; }
.feature-card { background: #17181c; border-color: #292a2f; }
.feature-card.featured { border-color: rgba(255, 196, 0, .55); background: linear-gradient(145deg, #1c1b16, #17181c); }
.feature-card .tag { color: #ffc400; background: #332b0d; }
.feature-icon { background: #2a260f; color: #ffc400; }
.feature-card a { color: #f0c129; }

.workflow { background: #0d0e10; color: #f5f5f5; border-top: 1px solid #202126; }
.workflow-copy > p { color: #929399; }
.steps { background: #151619; border: 1px solid #292a2e; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.steps > div { border-color: #292a2e; }
.steps b { background: #2b270f; color: #ffc400; }
.steps small { color: #85868b; }

.pricing { background: radial-gradient(circle at 50% 10%, #242015 0, #121315 35%, #0d0e10 100%); color: #f5f5f5; border-top: 1px solid #25231b; }
.pricing .section-heading p { color: #96979c; }
.pricing-controls { position: relative; display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: 32px; max-width: 760px; margin: 0 auto 36px; padding: 20px 22px; border: 1px solid #34353a; border-radius: 14px; background: #18191d; box-shadow: 0 14px 45px rgba(0,0,0,.22); }
.control-group small { display: block; margin: 0 0 10px 4px; color: #77797f; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.control-group { width: max-content; max-width: 100%; }
.pricing-control-copy { display: grid; align-content: center; gap: 4px; max-width: 350px; }
.pricing-control-copy small { color: var(--yellow); font-size: 8px; font-weight: 800; letter-spacing: 1.8px; }
.pricing-control-copy strong { color: #f4f4f5; font: 700 13px var(--display); }
.pricing-control-copy span { color: #77797f; font-size: 10px; line-height: 1.45; }
.billing-control { justify-self: end; }
.segmented { display: flex; width: max-content; max-width: 100%; gap: 4px; padding: 4px; border-radius: 10px; background: #0f1012; }
.segmented button { min-width: 50px; height: 34px; padding: 0 12px; border: 0; border-radius: 7px; color: #96979b; background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }
.segmented button.active { color: #111; background: #ffc400; box-shadow: 0 4px 15px rgba(255,196,0,.18); }
.segmented em { margin-left: 4px; color: #43b980; font-size: 8px; font-style: normal; }
.segmented button.active em { color: #175d3a; }
.saving-note { grid-column: 1 / -1; margin: -12px 4px 0; padding-top: 12px; border-top: 1px solid #292a2e; color: #74757a; font-size: 10px; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 18px; max-width: 1020px; margin: auto; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid #323339; border-radius: 16px; background: #17181c; box-shadow: 0 20px 60px rgba(0,0,0,.16); }
.plan-card.plan-highlight { border-color: #ffc400; background: linear-gradient(180deg, #221f13 0, #18191d 25%); box-shadow: 0 0 0 1px rgba(255,196,0,.2), 0 24px 70px rgba(0,0,0,.35); transform: translateY(-8px); }
.popular { position: absolute; top: 0; right: 20px; padding: 7px 10px; border-radius: 0 0 8px 8px; background: #ffc400; color: #111; font-size: 8px; font-weight: 900; letter-spacing: .6px; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-top h3 { margin: 0; font: 700 21px var(--display); }
.plan-top span { padding: 5px 7px; border: 1px solid #3b3c41; border-radius: 12px; color: #8d8e93; font-size: 7px; font-weight: 800; }
.plan-card > p { min-height: 46px; margin: 22px 0 15px; color: #919298; font-size: 12px; line-height: 1.55; }
.plan-price { display: flex; align-items: baseline; gap: 5px; padding-top: 16px; border-top: 1px solid #2f3034; }
.plan-price strong { font: 800 31px var(--display); letter-spacing: -1.4px; }
.plan-price span { color: #85868b; font-size: 10px; }
.plan-card > small { min-height: 18px; color: #6f7075; font-size: 9px; }
.plan-card > .button { width: 100%; margin: 22px 0; min-height: 44px; padding: 0 12px; font-size: 11px; }
.plan-button { border: 1px solid #43444a; color: #eee; background: #202126; }
.plan-features { flex: 1; padding-top: 18px; border-top: 1px solid #2f3034; }
.plan-features b { display: block; margin-bottom: 14px; color: #6f7075; font-size: 8px; letter-spacing: 1px; }
.plan-features p { margin: 11px 0; color: #b8b9bd; font-size: 11px; }
.plan-features p::first-letter { color: #ffc400; }
.pricing-bottom { max-width: 1020px; margin: 28px auto 0; padding: 20px 22px; border: 1px solid #313238; border-radius: 13px; background: #17181c; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.pricing-bottom > div { display: flex; align-items: center; gap: 13px; }
.pricing-bottom > div > span { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: #2b270f; color: #ffc400; }
.pricing-bottom p { margin: 0; }
.pricing-bottom strong, .pricing-bottom small { display: block; }
.pricing-bottom strong { font-size: 12px; }
.pricing-bottom small { margin-top: 3px; color: #77787d; font-size: 9px; }

@media (max-width: 850px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 540px; }
  .plan-card.plan-highlight { transform: none; order: -1; }
  .plan-card > p { min-height: 0; }
}

@media (max-width: 600px) {
  .pricing-controls { grid-template-columns: 1fr; justify-content: stretch; gap: 20px; padding: 18px; }
  .billing-control { justify-self: start; }
  .saving-note { grid-column: auto; margin-top: -4px; }
  .segmented { width: max-content; }
  .segmented button { flex: 0 0 auto; min-width: 54px; padding-inline: 10px; }
  .pricing-bottom { align-items: stretch; flex-direction: column; }
}
