/* =========================================================
   LUMIA SOFTWARE — Camada da campanha Black Friday
   Carregada DEPOIS de styles.css. Só acrescenta componentes
   e ajusta o hero pro modo escuro; tokens vêm do :root.
   ========================================================= */

/* Garante que [hidden] vença classes como .btn (display:inline-flex) */
[hidden] {
  display: none !important
}

.dark .body {
  margin-top: 18px
}

.bf .close h2 {
  max-width: 22ch
}

/* ---------- Hero escuro ---------- */
.bf-hero {
  background: var(--tinta);
  color: var(--creme);
  padding: 84px 0 92px
}

.bf-hero .glow {
  background: radial-gradient(closest-side, rgba(244, 169, 60, .34), rgba(244, 169, 60, .10) 55%, transparent 72%)
}

.bf-hero h1 {
  max-width: 18ch;
  font-size: clamp(38px, 6.6vw, 70px)
}

.bf-hero h1 .lit {
  color: var(--ambar)
}

.bf-hero .lead {
  color: #c9c4d6
}

.bf-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sora);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ambar);
  border: 1px solid rgba(244, 169, 60, .4);
  background: rgba(244, 169, 60, .08);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 26px
}

.bf-meta {
  position: relative;
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap
}

.countdown {
  display: flex;
  gap: 10px
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 68px;
  padding: 12px 10px 10px;
  border-radius: 14px;
  background: var(--tinta-2);
  border: 1px solid rgba(255, 255, 255, .08)
}

.cd-num {
  font-family: var(--sora);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: var(--creme);
  font-variant-numeric: tabular-nums
}

.cd-lbl {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9a95ab
}

.slots {
  font-size: 15px;
  color: #c9c4d6;
  max-width: 30ch
}

.slots strong {
  color: var(--ambar)
}

.countdown.ended {
  display: none
}

/* Hero: animação de entrada vale também para o chip e meta */
@media (prefers-reduced-motion:no-preference) {
  .bf-hero .bf-chip {
    animation-delay: .02s
  }

  .bf-hero .bf-meta {
    animation-delay: .5s
  }
}

/* ---------- Teste de 30 segundos ---------- */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px
}

.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 15px;
  color: var(--texto);
  line-height: 1.5;
  transition: border-color .15s, box-shadow .2s, background .2s
}

.check:hover {
  border-color: #d8cfbd
}

.check input {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.check .box {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  border: 1.5px solid #cfc6b4;
  background: var(--creme);
  display: grid;
  place-items: center;
  transition: .15s
}

.check strong {
  color: var(--tinta);
  font-weight: 600
}

.check input:checked+.box {
  background: var(--ambar);
  border-color: var(--ambar);
  box-shadow: 0 0 10px 1px rgba(244, 169, 60, .55)
}

.check input:checked+.box::after {
  content: "";
  width: 5px;
  height: 10px;
  border: solid var(--tinta);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px)
}

.check:has(input:checked) {
  border-color: var(--ambar);
  background: #FFF9EF
}

.check input:focus-visible+.box {
  outline: 3px solid var(--ambar);
  outline-offset: 3px
}

.check-result {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border-radius: 14px;
  background: var(--creme-2);
  border: 1px dashed #d8cfbd;
  transition: background .2s, border-color .2s
}

.check-result.hot {
  background: var(--tinta);
  border: 1px solid var(--tinta);
  color: var(--creme)
}

.check-result.hot .cr-text {
  color: var(--creme)
}

.check-result.hot .cr-score {
  color: var(--ambar)
}

.check-result.hot .btn-primary {
  background: var(--ambar);
  color: var(--tinta)
}

.check-result.hot .btn-primary .spark {
  background: var(--tinta);
  box-shadow: none
}

.cr-score {
  font-family: var(--sora);
  font-weight: 600;
  font-size: 15px;
  color: var(--brasa);
  white-space: nowrap
}

.cr-score strong {
  font-size: 26px
}

.cr-text {
  flex: 1 1 260px;
  font-size: 15.5px;
  color: var(--texto)
}

/* ---------- Por que importa ---------- */
.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px
}

.why {
  background: var(--tinta-2);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 26px
}

.why-k {
  font-family: var(--sora);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--ambar)
}

.why h3 {
  font-family: var(--sora);
  font-weight: 600;
  font-size: 18px;
  margin: 12px 0 8px;
  color: var(--creme)
}

.why p {
  font-size: 15px;
  color: #c9c4d6;
  line-height: 1.6
}

/* ---------- Ofertas ---------- */
.bf-pkg-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 860px
}

.bf-price {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--linha);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--sora)
}

.bf-price-lbl {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brasa)
}

.bf-price .price-current strong {
  color: var(--tinta)
}

.bf-price-cond {
  font-family: var(--inter);
  font-size: 13px;
  color: var(--cinza);
  margin-top: 6px
}

.bonus {
  margin-top: 34px;
  max-width: 860px;
  background: var(--tinta);
  color: var(--creme);
  border-radius: var(--radius);
  padding: 26px 28px
}

.bonus-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sora);
  font-weight: 600;
  font-size: 16px;
  color: var(--ambar);
  margin-bottom: 16px
}

.bonus-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 26px
}

.bonus-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: #c9c4d6;
  line-height: 1.5
}

.bonus-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ambar);
  box-shadow: 0 0 6px 1px rgba(244, 169, 60, .6)
}

.bonus-list strong {
  color: var(--creme);
  font-weight: 600
}

/* ---------- Planos pós-entrega ---------- */
.care {
  margin-top: 34px;
  max-width: 860px
}

.care-title {
  font-family: var(--sora);
  font-weight: 700;
  font-size: 20px;
  color: var(--tinta)
}

.care-lead {
  font-size: 15px;
  color: var(--texto);
  margin-top: 6px
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 22px
}

.care-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.care-card--full {
  border-color: var(--ambar)
}

.care-card h3 {
  font-family: var(--sora);
  font-weight: 700;
  font-size: 19px
}

.care-card > p {
  font-size: 14.5px;
  color: var(--texto)
}

.care-price {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--linha);
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--sora);
  color: var(--tinta)
}

.care-price .currency {
  font-size: 14px;
  color: var(--cinza)
}

.care-price strong {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px
}

.care-price .per {
  font-size: 14px;
  color: var(--cinza)
}

.care-note {
  font-size: 12.5px;
  color: var(--brasa);
  font-weight: 500
}

.fineprint {
  margin-top: 18px;
  max-width: 860px;
  font-size: 13px;
  color: var(--cinza);
  line-height: 1.6
}

/* ---------- Passos (4 colunas) ---------- */
.steps-4 {
  grid-template-columns: repeat(4, 1fr)
}

/* ---------- Segmentos ---------- */
.seg-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px
}

.seg {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: 100px;
  padding: 10px 18px;
  font-family: var(--sora);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--tinta)
}

.seg::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ambar);
  box-shadow: 0 0 6px 1px rgba(244, 169, 60, .6)
}

.card.no a {
  color: var(--brasa);
  font-weight: 500
}

/* ---------- Formulário ---------- */
.bf-form {
  position: relative;
  margin: 40px auto 0;
  max-width: 640px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.field-wide {
  grid-column: 1 / -1
}

.field label {
  font-family: var(--sora);
  font-weight: 500;
  font-size: 14px;
  color: var(--creme)
}

.field .opt {
  color: #9a95ab;
  font-weight: 400
}

.field input,
.field select {
  font: inherit;
  font-size: 15.5px;
  color: var(--creme);
  background: var(--tinta-2);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color .15s, box-shadow .15s
}

.field input::placeholder {
  color: #8f8aa0
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--ambar);
  box-shadow: 0 0 0 3px rgba(244, 169, 60, .22)
}

.field input.invalid {
  border-color: var(--brasa)
}

.form-error {
  grid-column: 1 / -1;
  color: var(--ambar);
  font-size: 14px
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px
}

.form-actions .btn {
  border: none
}

.form-actions .btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, .28)
}

.form-note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 12.5px;
  color: #8f8aa0
}

/* ---------- Anti-spam + confirmação ---------- */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0
}

.bf-ok {
  position: relative;
  margin: 40px auto 0;
  max-width: 560px;
  background: var(--tinta-2);
  border: 1px solid rgba(244, 169, 60, .4);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px
}

.bf-ok .spark {
  width: 14px;
  height: 14px
}

.bf-ok h3 {
  font-family: var(--sora);
  font-weight: 700;
  font-size: 22px;
  color: var(--creme)
}

.bf-ok p {
  color: #c9c4d6;
  font-size: 15.5px;
  max-width: 42ch
}

.bf-ok .bf-ok-alt {
  font-size: 13.5px;
  color: #9a95ab
}

.bf-ok-alt a {
  color: var(--ambar)
}

button.btn:disabled {
  opacity: .6;
  cursor: wait;
  transform: none
}

/* ---------- Responsivo ---------- */
@media (max-width:960px) {
  .steps-4 {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:860px) {

  .check-grid,
  .why-grid,
  .bf-pkg-grid,
  .care-grid,
  .bonus-list {
    grid-template-columns: 1fr
  }

  .bf-pkg-grid {
    gap: 30px
  }

  .steps-4 {
    grid-template-columns: 1fr
  }

  .promo-text {
    font-size: 12.5px
  }
}

@media (max-width:560px) {
  .bf-form {
    grid-template-columns: 1fr
  }

  .cd-unit {
    min-width: 0;
    flex: 1
  }

  .countdown {
    width: 100%
  }

  .bf-hero {
    padding: 56px 0 72px
  }

  .promo-link {
    display: none
  }
}
