/* ==========================================================================
   Iterfunnel — Home
   Complementa landing-pages.css com a seção de preços,
   mantendo o mesmo esquema de cores e componentes das LPs.
   ========================================================================== */

/* Carrossel do hero
   ========================================================================== */

.carousel-track {
  display: grid;
}

.carousel-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity .55s var(--ease);
}

.carousel-slide.is-active {
  opacity: 1;
}

.carousel-caption {
  max-width: 640px;
  min-height: 7.4em;
  margin: 22px auto 0;
  text-align: center;
  opacity: 1;
  transition: opacity .28s var(--ease);
}

.carousel-caption.is-swap {
  opacity: 0;
}

.carousel-kicker {
  margin: 0 0 8px;
  color: var(--green-300);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.carousel-headline {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.28;
}

.carousel-subhead {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: clamp(.86rem, 1.3vw, .98rem);
  line-height: 1.55;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
}

.carousel-arrow {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  font-size: .88rem;
  transition:
    color .2s var(--ease),
    border-color .2s var(--ease),
    background .2s var(--ease);
}

.carousel-arrow:hover {
  border-color: rgba(118, 235, 167, .4);
  color: var(--green-300);
  background: rgba(48, 217, 119, .1);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .24);
  cursor: pointer;
  transition:
    width .25s var(--ease),
    background .25s var(--ease);
}

.carousel-dots button:hover {
  background: rgba(255, 255, 255, .5);
}

.carousel-dots button.is-active {
  width: 24px;
  background: var(--green-400);
}

/* Resumo do produto em miniaturas
   ========================================================================== */

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 22px;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(6, 17, 10, .045);
}

.feature-thumb {
  position: relative;
  flex: 0 0 220px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  color: inherit;
  background: #f8f9f8;
  cursor: zoom-in;
  font: inherit;
  text-align: left;
}

.feature-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .35s var(--ease);
}

.feature-thumb:hover img,
.feature-thumb:focus-visible img {
  transform: scale(1.05);
}

.feature-zoom-hint {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(6, 17, 10, .72);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .02em;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
}

.feature-thumb:hover .feature-zoom-hint,
.feature-thumb:focus-visible .feature-zoom-hint {
  opacity: 1;
}

.feature-number {
  display: block;
  margin-bottom: 8px;
  color: var(--green-700);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.feature-text h3 {
  font-size: 1.18rem;
  line-height: 1.2;
}

.feature-text p {
  margin-top: 8px;
  color: var(--ink-500);
  font-size: .95rem;
  line-height: 1.55;
}

.feature-lightbox {
  width: min(1120px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 18px 18px 14px;
  border: 0;
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, .72);
  background: var(--ink-950);
  box-shadow: var(--shadow-dark);
}

.feature-lightbox::backdrop {
  background: rgba(6, 17, 10, .72);
}

.feature-lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.feature-lightbox-caption {
  min-width: 0;
  color: var(--white);
  font-size: .92rem;
  font-weight: 750;
  letter-spacing: -.02em;
}

.feature-lightbox-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.feature-lightbox-zoom,
.feature-lightbox-close {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  font-size: .74rem;
  font-weight: 750;
  transition:
    color .2s var(--ease),
    border-color .2s var(--ease),
    background .2s var(--ease);
}

.feature-lightbox-zoom:hover,
.feature-lightbox-close:hover {
  border-color: rgba(118, 235, 167, .4);
  color: var(--green-300);
  background: rgba(48, 217, 119, .1);
}

.feature-lightbox-frame {
  position: relative;
}

.feature-lightbox-stage {
  overflow: auto;
  max-height: calc(100vh - 150px);
  border-radius: 12px;
  background: #0b1810;
}

.feature-lightbox-stage img {
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.feature-lightbox-stage img.is-zoomed {
  width: 180%;
  max-width: none;
  cursor: zoom-out;
}

.feature-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  color: rgba(255, 255, 255, .82);
  background: rgba(6, 17, 10, .55);
  cursor: pointer;
  font-size: .88rem;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.feature-lightbox-nav[data-feature-prev] {
  left: 10px;
}

.feature-lightbox-nav[data-feature-next] {
  right: 10px;
}

.feature-lightbox-nav:hover {
  border-color: rgba(118, 235, 167, .4);
  color: var(--green-300);
  background: rgba(48, 217, 119, .16);
}

.feature-lightbox-hint {
  margin-top: 10px;
  color: rgba(255, 255, 255, .42);
  font-size: .72rem;
  text-align: center;
}

@media (max-width: 980px) {
  .feature-list {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .feature-item {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
  }

  .feature-thumb {
    flex-basis: auto;
    width: 100%;
  }

  .feature-zoom-hint {
    opacity: 1;
  }

  .feature-text h3 {
    font-size: 1.08rem;
  }

  .feature-text p {
    font-size: .9rem;
  }

  .feature-lightbox {
    width: calc(100vw - 16px);
    padding: 14px 12px 12px;
  }

  .feature-lightbox-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .feature-lightbox-actions {
    justify-content: flex-end;
  }

  .carousel-caption {
    min-height: 8.6em;
    margin-top: 18px;
  }

  .carousel-headline {
    font-size: 1.12rem;
  }

  .carousel-subhead {
    font-size: .84rem;
  }

  .carousel-controls {
    gap: 14px;
    margin-top: 13px;
  }

  .carousel-arrow {
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-thumb img {
    transition: none;
  }

  .feature-thumb:hover img,
  .feature-thumb:focus-visible img {
    transform: none;
  }
}

/* Preços
   ========================================================================== */

.pricing-section {
  border-top: 1px solid var(--ink-100);
  background: var(--white);
}

.pricing-cycle {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.segmented {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--ink-200);
  border-radius: 999px;
  background: var(--ink-50);
}

.segmented button {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--ink-500);
  background: transparent;
  cursor: pointer;
  font-size: .76rem;
  font-weight: 750;
  transition:
    color .2s var(--ease),
    background .2s var(--ease);
}

.segmented button[aria-selected="true"] {
  color: var(--white);
  background: var(--ink-950);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 18px;
  margin-top: 44px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(6, 17, 10, .045);
}

.plan-card--featured {
  border-color: rgba(118, 235, 167, .28);
  color: rgba(255, 255, 255, .6);
  background:
    radial-gradient(circle at 85% 0%, rgba(48, 217, 119, .17), transparent 42%),
    var(--ink-950);
  box-shadow: var(--shadow-dark);
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-head h3 {
  font-size: 1.15rem;
}

.plan-card--featured h3 {
  color: var(--white);
}

.plan-flag {
  padding: 6px 10px;
  border: 1px solid var(--green-200);
  border-radius: 999px;
  color: var(--green-800);
  background: var(--green-50);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-flag--featured {
  border-color: rgba(118, 235, 167, .3);
  color: var(--green-300);
  background: rgba(48, 217, 119, .1);
}

.plan-desc {
  min-height: 2.7em;
  margin-top: 12px;
  color: var(--ink-500);
  font-size: .8rem;
}

.plan-card--featured .plan-desc {
  color: rgba(255, 255, 255, .55);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 20px;
}

.plan-price strong {
  color: var(--ink-950);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
}

.plan-card--featured .plan-price strong {
  color: var(--white);
}

.plan-price span {
  color: var(--ink-400);
  font-size: .78rem;
  font-weight: 650;
}

.plan-note {
  min-height: 2.9em;
  margin-top: 9px;
  color: var(--ink-400);
  font-size: .68rem;
}

.plan-card--featured .plan-note {
  color: rgba(255, 255, 255, .42);
}

.plan-card .button {
  width: 100%;
  margin-top: 18px;
}

.plan-limits {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--ink-100);
  list-style: none;
}

.plan-card--featured .plan-limits {
  border-top-color: rgba(255, 255, 255, .12);
}

.plan-limits li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-size: .74rem;
}

.plan-limits span {
  color: var(--ink-500);
}

.plan-limits strong {
  color: var(--ink-900);
  font-weight: 750;
}

.plan-card--featured .plan-limits span {
  color: rgba(255, 255, 255, .48);
}

.plan-card--featured .plan-limits strong {
  color: rgba(255, 255, 255, .92);
}

.pricing-included {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 34px;
  margin-top: 20px;
  padding: 22px 28px;
  border: 1px dashed var(--ink-200);
  border-radius: var(--radius-md);
  background: var(--ink-50);
}

.pricing-included > strong {
  color: var(--ink-900);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pricing-included ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-included li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-600);
  font-size: .76rem;
  font-weight: 600;
}

.pricing-included li::before {
  color: var(--green-600);
  content: "✓";
  font-weight: 800;
}

.pricing-custom {
  flex: 1 1 100%;
  margin: 4px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--ink-200);
  color: var(--ink-600);
  font-size: .8rem;
  font-weight: 600;
}

.pricing-disclaimer {
  margin-top: 18px;
  color: var(--ink-400);
  font-size: .68rem;
  text-align: center;
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }

  .plan-desc,
  .plan-note {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .plan-card {
    padding: 26px 22px;
  }

  .pricing-included {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
}

/* Onde o dinheiro escapa
   ========================================================================== */

.pain-section .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, .75fr);
  column-gap: 64px;
  row-gap: 16px;
  max-width: none;
  align-items: end;
}

.pain-section .section-heading .kicker {
  grid-column: 1 / -1;
}

.pain-section .section-heading > p:last-child {
  grid-column: 2;
  grid-row: 2;
  max-width: none;
  margin-top: 0;
}

.pain-grid {
  margin-top: 58px;
}

.pain-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 26px 26px 22px;
}

.pain-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.pain-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
}

.pain-icon svg {
  width: 22px;
  height: 22px;
}

.pain-card--wait .pain-icon {
  color: var(--amber-700);
  background: var(--amber-100);
}

.pain-card--follow .pain-icon {
  color: var(--red-700);
  background: var(--red-100);
}

.pain-card--rank .pain-icon {
  color: var(--violet-700);
  background: var(--violet-100);
}

.pain-card__head .pain-index {
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  color: var(--ink-300);
  background: transparent;
  font-size: .68rem;
  letter-spacing: .12em;
}

.pain-card h3 {
  font-size: 1.18rem;
}

.pain-card > p:not(.pain-fix) {
  margin-top: 10px;
  font-size: .86rem;
  line-height: 1.6;
}

.pain-scene {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid var(--ink-100);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .55), transparent 40%),
    var(--ink-50);
}

.pain-bubble {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 7px 11px;
  border: 1px solid var(--ink-100);
  border-radius: 12px 12px 12px 4px;
  color: var(--ink-800);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(6, 17, 10, .04);
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.35;
}

.pain-wait {
  color: var(--amber-700);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .01em;
}

.pain-card--follow .pain-wait {
  color: var(--red-700);
}

.pain-card--rank .pain-wait {
  color: var(--violet-700);
}

.pain-queue {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}

.pain-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-200);
}

.pain-dot--hot {
  width: 14px;
  height: 14px;
  background: var(--violet-700);
  box-shadow: 0 0 0 4px var(--violet-100);
}

.pain-card .pain-fix {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--ink-100);
  color: var(--green-800);
  font-size: .74rem;
  font-weight: 750;
}

.pain-fix::before {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-800);
  background: var(--green-100);
  content: "✓";
  font-size: .58rem;
  font-weight: 800;
}

.js .pain-grid [data-reveal]:nth-child(2) {
  transition-delay: .08s;
}

.js .pain-grid [data-reveal]:nth-child(3) {
  transition-delay: .16s;
}

@media (max-width: 820px) {
  .pain-section .section-heading {
    display: block;
    max-width: 800px;
  }

  .pain-section .section-heading > p:last-child {
    margin-top: 19px;
  }
}

@media (max-width: 620px) {
  .pain-card__head {
    margin-bottom: 22px;
  }

  .pain-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .pain-card h3 {
    font-size: 1.08rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .pain-grid [data-reveal]:nth-child(2),
  .js .pain-grid [data-reveal]:nth-child(3) {
    transition-delay: 0s;
  }

  .carousel-slide,
  .carousel-caption {
    transition: none;
  }
}

/* FAQ
   ========================================================================== */

.faq-heading h2 span {
  display: block;
}

.faq-whatsapp {
  color: var(--green-700);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s var(--ease);
}

.faq-whatsapp:hover {
  color: var(--green-800);
}

.faq-note {
  margin-top: 14px;
  color: var(--ink-400);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .02em;
}

@media (max-width: 420px) {
  .faq-heading h2 span {
    display: inline;
  }
}
