/* ============================================================
   LUMIA PARK — PERGUNTAS FREQUENTES (faqs.php)
   Usa apenas os tokens de redesign.css (--purple-deep, --line,
   --white, --cosmic, --shadow-soft...), por isso o tema escuro
   funciona sem regras extra, exceto onde indicado.
   ============================================================ */

.faq-nav-section { padding-bottom: 0; }

.faq-section { scroll-margin-top: 150px; }

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
}

/* ---------- Item (acordeão nativo <details>) ---------- */
.faq-item {
  scroll-margin-top: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-item:hover { border-color: rgba(154, 54, 190, .35); }

.faq-item[open] {
  border-color: rgba(154, 54, 190, .45);
  box-shadow: var(--shadow-lift);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px clamp(18px, 3vw, 28px);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: clamp(.98rem, 1.6vw, 1.1rem);
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: none; box-shadow: var(--focus); }

.faq-q { min-width: 0; text-wrap: balance; }

/* Ícone +/− */
.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cosmic);
  box-shadow: 0 6px 16px rgba(98, 38, 140, .28);
  transition: transform .25s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 99px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}

.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

/* ---------- Resposta ---------- */
.faq-a {
  padding: 0 clamp(18px, 3vw, 28px) 24px;
  color: var(--ink-dim);
  font-size: .98rem;
  line-height: 1.75;
}

.faq-a > * + * { margin-top: 14px; }
.faq-a strong { color: var(--ink); }
.faq-a a { color: var(--purple-deep); text-decoration: underline; text-underline-offset: 3px; }

.faq-item[open] .faq-a {
  border-top: 1px solid var(--line);
  margin: 0 clamp(18px, 3vw, 28px);
  padding: 18px 0 24px;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-a { animation: faq-in .28s ease both; }
  @keyframes faq-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
  }
}

html.performance-lite .faq-item[open] .faq-a { animation: none; }

/* Separador só para o JSON-LD */
.faq-sep { display: none; }

/* ---------- Listas ---------- */
.faq-checks,
.faq-hours { display: grid; gap: 8px; padding: 0; list-style: none; }

.faq-checks li { position: relative; padding-left: 28px; }

.faq-checks li::before {
  content: '';
  position: absolute;
  top: .5em;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cosmic);
}

.faq-hours li {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .5);
}

html[data-theme="dark"] .faq-hours li { background: rgba(255, 255, 255, .04); }

.faq-hours strong { display: block; font-size: .9rem; }

/* Chips (lanche) */
.faq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.faq-chips li {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(198, 79, 217, .08);
  color: var(--ink);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ---------- Packs ---------- */
.faq-packs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.faq-pack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .55);
}

html[data-theme="dark"] .faq-pack { background: rgba(255, 255, 255, .04); }

.faq-pack > * + * { margin-top: 0; }

.faq-pack-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
}

.faq-pack-name {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}

.faq-pack-price {
  color: var(--purple-deep);
  font-weight: 800;
  font-size: .95rem;
  white-space: nowrap;
}

.faq-pack-tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 12px;
  background: var(--cosmic);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
}

.faq-pack p:last-child { font-size: .92rem; line-height: 1.65; }

@media (max-width: 700px) {
  .faq-packs { grid-template-columns: 1fr; }
  .faq-item summary { padding-block: 17px; }
  .faq-icon { width: 30px; height: 30px; }
}

/* Botão do CTA como <a> (nas outras páginas é <button>) */
.cta-banner a.btn {
  position: relative;
  background: #fff;
  color: var(--purple-deep);
}
.cta-banner a.btn:hover { background: var(--pink); }
