/* Landing pages de anúncio: complementa styles.css */

.lp-header .header__inner { gap: 16px; }
.lp-header__actions { display: flex; align-items: center; gap: 16px; }
.lp-header__phone { color: var(--text); text-decoration: none; font-weight: 600; }
@media (max-width: 599px) { .lp-header__phone { display: none; } }

.lp-hero { padding-block: clamp(32px, 6vw, 80px); }
.lp-hero__inner { display: grid; gap: 40px; align-items: center; }
.lp-hero__price { font-family: var(--font-display); color: var(--gold); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; margin: 0 0 8px; }
.lp-hero__price span { font-family: var(--font-body); font-size: 1rem; color: var(--muted); font-weight: 400; }
@media (min-width: 900px) {
  .lp-hero__inner { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
}

/* espaço de vídeo vertical 9:16 */
.video-slot {
  position: relative; margin: 0; width: 100%; max-width: 420px; justify-self: center;
  aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden;
  background: var(--panel); border: 2px dashed var(--gold);
}
.video-slot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-slot__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  padding: 24px; text-align: center; background: rgba(4, 23, 7, 0.78); color: var(--text); font-size: 0.95rem;
}
.video-slot__placeholder strong { font-family: var(--font-display); color: var(--gold); font-size: 1.3rem; margin-bottom: 4px; }
.video-slot__placeholder code { color: var(--gold); font-size: 0.85rem; word-break: break-all; }
.video-slot__pause {
  position: absolute; right: 12px; bottom: 12px; display: none;
  min-height: 40px; padding: 8px 14px; border: 0; border-radius: 999px;
  background: rgba(4, 23, 7, 0.75); color: var(--text); font: 600 0.9rem var(--font-body); cursor: pointer;
}
.video-slot.has-video { border: 0; }
.video-slot.has-video .video-slot__placeholder { display: none; }
.video-slot.has-video .video-slot__pause { display: block; }
.video-slot--wide { max-width: none; aspect-ratio: 16 / 9; }

/* conta do plano */
.math { display: grid; gap: 16px; max-width: 860px; margin-inline: auto; }
.math__card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); text-align: center; }
.math__card p { margin: 0; color: var(--muted); }
.math__card strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--text); margin: 6px 0; }
.math__card--win { border: 2px solid var(--gold); }
.math__card--win strong { color: var(--gold); }
@media (min-width: 700px) { .math { grid-template-columns: 1fr 1fr 1fr; } }

/* passos */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%;
  background: var(--gold); color: var(--on-gold); font-weight: 600;
}
.step p { color: var(--muted); margin: 0; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* fotos em faixa */
.photos { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); }
@media (min-width: 800px) { .photos { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

/* perguntas */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* chamada final */
.lp-cta { text-align: center; }
.lp-cta .hero__actions { justify-content: center; }

/* barra fixa no celular */
.lp-bar { display: none; }
@media (max-width: 899px) {
  .lp-bar {
    position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(4, 23, 7, 0.96); border-top: 1px solid var(--line);
  }
  .lp-bar .btn { min-height: 48px; padding-inline: 12px; }
  .lp-page .footer { padding-bottom: 110px; }
}

.lp-page .whatsapp-float { display: none; }
@media (min-width: 900px) { .lp-page .whatsapp-float { display: grid; } }

/* carrossel de planos */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 85%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 18px var(--gutter) 8px; margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { scroll-snap-align: start; display: flex; }
@media (min-width: 700px) { .carousel__track { grid-auto-columns: 58%; gap: 20px; } }
@media (min-width: 900px) {
  .carousel__track { grid-auto-columns: 80%; gap: 24px; }
  .carousel .plan-card { flex-direction: row; }
  .carousel .plan-card__media { flex: 0 0 44%; min-height: 440px; }
  .carousel .plan-card__media picture { position: absolute; inset: 0; }
  .carousel .plan-card__media img { height: 100%; aspect-ratio: auto; }
  .carousel .plan-card__body { padding: 40px; justify-content: center; }
  .carousel .plan-card__body h3 { font-size: 1.8rem; }
  .carousel .plan-card .btn { margin-top: 0; align-self: flex-start; }
}

.plan-card {
  display: flex; flex-direction: column; width: 100%;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.plan-card--featured { border: 2px solid var(--gold); }
.plan-card__media { position: relative; }
.plan-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.plan-card__media .plan__tag { z-index: 1; top: 14px; left: 14px; transform: none; }
.plan-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.plan-card__body h3 { font-size: 1.4rem; margin-bottom: 4px; }
.plan-card__desc { color: var(--muted); margin-bottom: 4px; }
.plan-card__worth { margin: 20px 0; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--panel-2); color: var(--gold); font-weight: 600; font-size: 0.95rem; }
.plan-card .btn { margin-top: auto; }

.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 24px; }
.carousel__arrow {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--gold); background: transparent; color: var(--gold); font-size: 1.2rem; cursor: pointer;
  transition: background-color .2s, color .2s, opacity .2s;
}
.carousel__arrow:hover { background: var(--gold); color: var(--on-gold); }
.carousel__arrow:disabled { opacity: .35; cursor: default; background: transparent; color: var(--gold); }
.carousel__dots { display: flex; gap: 4px; }
.carousel__dot { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.carousel__dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: background-color .2s, width .2s; }
.carousel__dot[aria-current="true"]::before { background: var(--gold); width: 22px; border-radius: 999px; }
html:not(.js) .carousel__nav { display: none; }

/* tabela comparativa */
.compare-wrap { overflow-x: auto; max-width: 980px; margin-inline: auto; }
.compare { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; text-align: center; }
.compare th, .compare td { padding: 16px 12px; border-bottom: 1px solid var(--line); }
.compare tbody th { text-align: left; font-weight: 600; color: var(--text); }
.compare thead th { font-family: var(--font-display); font-size: 1.05rem; vertical-align: bottom; }
.compare thead th span { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 0.9rem; color: var(--gold); font-weight: 600; }
.compare .is-featured, .compare tbody td:nth-child(3) { background: var(--panel); }
.compare thead .is-featured { border-radius: var(--radius) var(--radius) 0 0; border-top: 2px solid var(--gold); }
.compare tfoot td { border-bottom: 0; padding-top: 20px; }
.compare tfoot .is-featured { border-radius: 0 0 var(--radius) var(--radius); }
.mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 700; font-size: 0.95rem; vertical-align: middle; }
.mark--yes { background: var(--gold); color: var(--on-gold); }
.mark--no { background: transparent; color: var(--muted); border: 1px solid var(--muted); }
.compare td .mark + * , .compare td .mark { margin-right: 6px; }
.compare thead td:first-child, .compare tbody th { width: 34%; }
@media (max-width: 599px) {
  .compare th, .compare td { padding: 12px 4px; font-size: 0.85rem; }
  .compare tbody th { padding-left: 0; }
  .compare thead th { font-size: 0.8rem; }
  .compare thead th span { font-size: 0.75rem; }
  .compare .mark { width: 24px; height: 24px; font-size: 0.8rem; margin: 0; }
  .compare .mark-label { display: block; margin-top: 4px; font-size: 0.75rem; }
  .compare tfoot .btn { min-height: 40px; padding: 6px 10px; font-size: 0.85rem; }
}
