
.plans-hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  padding: 150px 0 80px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.78) 48%, rgba(8, 8, 8, 0.60) 100%),
    url("../assets/img/planos-bg.webp") center / cover no-repeat;
}

.plans-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 60px;
}

.plans-hero-copy {
  max-width: 760px;
}

.plans-hero h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.plans-hero p {
  max-width: 650px;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  padding: 30px;
  border: 1px solid rgba(201, 163, 72, 0.34);
  border-radius: 26px;
  background: rgba(12, 12, 12, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.hero-proof > span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-proof strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 1.6rem;
  line-height: 1.15;
}

.hero-proof p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.human-accounting {
  background: var(--white);
}

.human-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.human-card {
  min-height: 210px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--off-white);
  box-shadow: 0 14px 38px rgba(17, 17, 17, 0.05);
}

.human-card.featured {
  border-color: rgba(201, 163, 72, 0.42);
  background:
    linear-gradient(145deg, rgba(201, 163, 72, 0.13), rgba(255, 255, 255, 0.95)),
    var(--white);
}

.human-card-number {
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.human-card h3 {
  margin: 30px 0 10px;
  font-size: 1.45rem;
}

.human-card p {
  color: var(--muted);
}

.value-statement {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 46px;
  margin-top: 24px;
  padding: 34px;
  border-left: 5px solid var(--gold);
  border-radius: 24px;
  background: var(--cream);
}

.value-statement h3 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -0.035em;
}

.value-statement p {
  color: var(--muted);
  font-size: 1.03rem;
}

.how-it-works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.04);
}

.step-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-dark);
  font-size: 2rem;
  font-weight: 900;
}

.step-card p {
  margin-top: 10px;
  color: var(--muted);
}

.plan-section {
  overflow: hidden;
}

.plan-section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 56px;
  margin-bottom: 46px;
}

.plan-section-heading h2 {
  max-width: 720px;
}

.plan-section-heading > p {
  color: var(--muted);
  font-size: 1.04rem;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  max-width: 1080px;
  margin-inline: auto;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.plan-card.featured {
  border-color: rgba(201, 163, 72, 0.52);
  background:
    linear-gradient(145deg, rgba(201, 163, 72, 0.11), rgba(255, 255, 255, 0.96)),
    var(--white);
  box-shadow: 0 24px 60px rgba(157, 121, 41, 0.14);
}

.plan-card-top {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.plan-tag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--black);
  background: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
}

.plan-card h3 {
  margin: 18px 0 10px;
  font-size: 2rem;
  letter-spacing: -0.035em;
}

.starting-at {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.plan-price {
  margin: 6px 0 16px;
  color: var(--gold-dark);
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 700;
}

.plan-description {
  color: var(--muted);
}

.plan-content {
  flex: 1;
  padding: 24px 0 28px;
}

.plan-content h4 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.plan-list {
  display: grid;
  gap: 0;
}

.plan-list li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
}

.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 900;
}

.plan-fit {
  margin-top: 24px;
  padding: 20px;
  border-radius: 18px;
  background: var(--cream);
}

.plan-fit ul {
  display: grid;
  gap: 8px;
}

.plan-fit li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.plan-fit li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 900;
}

.notice-section {
  padding-top: 40px;
}

.pricing-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  max-width: 1080px;
  margin-inline: auto;
  padding: 28px;
  border: 1px solid rgba(201, 163, 72, 0.26);
  border-radius: 22px;
  background: #fffdf8;
}

.pricing-notice-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--black);
  background: var(--gold);
  font-weight: 900;
}

.pricing-notice h3 {
  margin-bottom: 8px;
}

.pricing-notice p {
  color: var(--muted);
}

.comparison-section {
  background:
    radial-gradient(circle at 85% 10%, rgba(201, 163, 72, 0.14), transparent 24%),
    var(--cream);
}

.comparison-table {
  max-width: 1000px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.10);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.comparison-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.comparison-row > div {
  padding: 17px 22px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.comparison-row > div + div {
  border-left: 1px solid rgba(17, 17, 17, 0.08);
  color: var(--muted);
}

.comparison-head {
  color: var(--white);
  background: var(--black);
  font-weight: 900;
}

.comparison-head > div + div {
  color: var(--gold-soft);
}

.comparison-row:not(.comparison-head) > div:first-child {
  position: relative;
  padding-left: 48px;
  font-weight: 750;
}

.comparison-row:not(.comparison-head) > div:first-child::before {
  content: "✓";
  position: absolute;
  left: 22px;
  color: var(--gold-dark);
  font-weight: 900;
}

.comparison-closing {
  max-width: 820px;
  margin: 26px auto 0;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 850;
  text-align: center;
}

.plans-contact {
  text-align: center;
  background: var(--white);
}

.plans-contact p {
  max-width: 720px;
  margin: 18px auto 28px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .plans-hero {
    min-height: auto;
  }

  .plans-hero-grid,
  .plan-section-heading,
  .value-statement {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    max-width: 520px;
  }

  .how-it-works,
  .human-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-section-heading {
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .plans-hero {
    padding: 128px 0 72px;
  }

  .plans-hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.8rem);
  }

  .how-it-works,
  .human-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .comparison-row {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.10);
    border-radius: 18px;
    background: var(--white);
  }

  .comparison-row > div {
    padding: 14px 18px;
  }

  .comparison-row > div + div {
    border-left: 0;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
  }

  .comparison-head {
    display: none;
  }

  .comparison-row:not(.comparison-head) > div:first-child::after {
    content: "CDL Assessoria";
    display: block;
    margin-top: 4px;
    color: var(--gold-dark);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .comparison-row:not(.comparison-head) > div:last-child::before {
    content: "Contabilidade virtual";
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .pricing-notice {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .plans-hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .plan-card {
    padding: 26px 22px;
  }

  .plan-price {
    font-size: 2.8rem;
  }

  .value-statement,
  .pricing-notice {
    padding: 24px 20px;
  }
}

/* Título em três linhas — preservado no desktop e no mobile */
.human-title {
  max-width: 860px;
  margin-inline: auto;
}

.human-title span {
  display: block;
}

/* CTA do WhatsApp no hero */
.plans-hero-whatsapp {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.plans-hero-whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 45%,
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}

.plans-hero-whatsapp:hover::after {
  transform: translateX(120%);
}

/* Microinterações discretas nos valores e cards */
.plan-card {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 163, 72, 0.42);
  box-shadow: 0 28px 64px rgba(17, 17, 17, 0.12);
}

.plan-price {
  transition:
    transform 0.28s ease,
    color 0.28s ease;
}

.plan-card:hover .plan-price {
  color: var(--gold);
  transform: translateX(4px);
}

/* Entrada suave ao rolar a página */
.reveal-item {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.js-enabled .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .human-title {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.08;
  }

  .human-title span + span {
    margin-top: 4px;
  }

  .plan-card:hover {
    transform: none;
  }

  .plan-card:hover .plan-price {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plans-hero-whatsapp::after {
    display: none;
  }

  .plan-card,
  .plan-price,
  .reveal-item,
  .js-enabled .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* Valores mínimos dos planos */
.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.plan-price .price-prefix {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
  text-transform: none;
}

.plan-price .price-period {
  margin-left: 2px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
}

@media (max-width: 520px) {
  .plan-price {
    gap: 5px;
  }

  .plan-price .price-prefix {
    flex-basis: 100%;
    margin-bottom: 2px;
  }
}
