/* ═══════════════════════════════════════
   PLANOS + FAQ + CTA FINAL + FOOTER
═══════════════════════════════════════ */

/* ── PLANOS ── */
#planos {
  background: var(--c-bg1);
}

.planos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  align-items: start;
}

.plano-card {
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 2rem;
  position: relative;
  transition: border-color var(--t-base), transform var(--t-base);
}

.plano-card:hover {
  border-color: var(--c-border-p);
  transform: translateY(-2px);
}

.plano-card.popular {
  border-color: var(--c-roxo-v);
  box-shadow: var(--s-glow);
}

.plano-card.popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--g-brand);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.plano-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--g-brand);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--r-full);
  white-space: nowrap;
}

.plano-nome {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-3);
  margin-bottom: 0.75rem;
}

.plano-preco {
  margin-bottom: 1.25rem;
}

.plano-valor {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c-text-1);
  letter-spacing: -0.03em;
  line-height: 1;
}

.plano-valor span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text-3);
}

.plano-periodo {
  font-size: 0.75rem;
  color: var(--c-text-3);
  margin-top: 0.3rem;
}

.plano-desc {
  font-size: 0.82rem;
  color: var(--c-text-2);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-border);
}

.plano-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.plano-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--c-text-2);
  line-height: 1.4;
}

.plano-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(91, 33, 182, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.plano-check svg {
  width: 10px;
  height: 10px;
  stroke: var(--c-roxo-l);
  stroke-width: 2.5;
  fill: none;
}

.plano-cta {
  width: 100%;
}

/* ── FAQ ── */
#faq {
  background: var(--c-bg);
}

.faq-wrap {
  max-width: 720px;
  margin: 3rem auto 0;
}

.faq-item {
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 0.65rem;
  transition: border-color var(--t-base);
}

.faq-item:hover {
  border-color: var(--c-border-p);
}

.faq-item[open] {
  border-color: var(--c-border-p);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text-1);
  cursor: pointer;
  list-style: none;
  transition: background var(--t-base);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(91, 33, 182, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-base), background var(--t-base);
}

.faq-icon svg {
  width: 12px;
  height: 12px;
  stroke: var(--c-roxo-l);
  stroke-width: 2;
  fill: none;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  background: rgba(91, 33, 182, 0.2);
}

.faq-body {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.85rem;
  color: var(--c-text-2);
  line-height: 1.75;
}

/* ── CTA FINAL ── */
#contato {
  background: var(--c-bg1);
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%,
      rgba(91, 33, 182, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 20% 80%,
      rgba(6, 182, 212, 0.05) 0%, transparent 70%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.cta-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.75rem;
  border-radius: 18px;
  overflow: hidden;
  background: var(--g-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--s-brand);
}

.cta-icon img {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
}

#contato h2 {
  margin-bottom: 1rem;
}

#contato p {
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

.cta-btns {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-meta {
  margin-top: 2rem;
  display: flex;
  gap: 0.5rem 2rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--c-text-3);
}

/* ── FOOTER ── */
footer {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 40px;
  width: auto;
  min-width: 160px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer-brand span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-text-1);
}

.footer-brand span span {
  color: var(--c-roxo-l);
  font-size: inherit;
}

.footer-desc {
  font-size: 0.82rem;
  color: var(--c-text-3);
  max-width: 280px;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-3);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.82rem;
  color: var(--c-text-2);
  transition: color var(--t-base);
}

.footer-col a:hover {
  color: var(--c-text-1);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--c-text-3);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-bg1);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--t-base), background var(--t-base);
}

.footer-social a:hover {
  border-color: var(--c-border-p);
  background: rgba(91, 33, 182, 0.1);
}

.footer-social svg {
  width: 14px;
  height: 14px;
  fill: var(--c-text-2);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .planos-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

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

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
