/* ==========================================================================
   waitlist.css — página da lista de espera (fieldbox.energy/waitlist)
   O topo é o mesmo da Política de Privacidade (legal.css: .fb-legal-hero).
   Modo claro por omissão; modo escuro com a classe .dark no <html>.
   ========================================================================== */
:root {
    --wl-ink: #0b120f;
    --wl-text: #1f2937;
    --wl-muted: #6b7280;
    --wl-line: #e5e7eb;
    --wl-surface: #ffffff;
    --wl-soft: #f4f8f1;
    --wl-green: #87e64b;
    --wl-green-ink: #3f7a1e;
}

.dark {
    --wl-ink: #f9fafb;
    --wl-text: #e5e7eb;
    --wl-muted: #9ca3af;
    --wl-line: #1f2a24;
    --wl-surface: #0f1713;
    --wl-soft: #0b120f;
    --wl-green-ink: #9cf063;
}

.wlp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(135, 230, 75, 0.5);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--wl-green-ink);
    background: rgba(135, 230, 75, 0.1);
}

.wlp-eyebrow__dot {
    position: relative;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--wl-green);
}

.wlp-eyebrow__dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--wl-green);
    animation: wlp-ping 1.8s ease-out infinite;
}

@keyframes wlp-ping {
    from { transform: scale(1); opacity: 0.8; }
    to { transform: scale(3); opacity: 0; }
}

.wlp-title {
    max-width: 22ch;
    margin: 1.1rem 0 0;
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--wl-ink);
}

.wlp-lead {
    max-width: 60ch;
    margin: 1.1rem 0 0;
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--wl-muted);
}

.wlp-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.wlp-fact {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    column-gap: 0.3rem;
    min-width: 11rem;
    padding: 0.9rem 1.15rem;
    border: 1px solid var(--wl-line);
    border-radius: 14px;
    background: var(--wl-surface);
}

.wlp-fact strong {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--wl-ink);
    font-variant-numeric: tabular-nums;
}

.wlp-fact span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--wl-muted);
}

.wlp-fact em {
    grid-column: 1 / -1;
    margin-top: 0.35rem;
    font-style: normal;
    font-size: 0.85rem;
    color: var(--wl-muted);
}

.wlp-fact--slots {
    border-color: var(--wl-green);
    background: #0b120f;
}

.wlp-fact--slots strong { color: var(--wl-green); }
.wlp-fact--slots span,
.wlp-fact--slots em { color: #c7d2cb; }

/* ---------- Topo (o resto vem do legal.css) ---------- */
.fb-legal__badge .wlp-eyebrow__dot { display: inline-block; margin-right: 0.45rem; vertical-align: middle; }
.fb-legal-hero .wlp-facts { margin-top: 1.75rem; }

/* ---------- Corpo: passos e formulário ---------- */
.wlp-body {
    padding: 3.5rem 0 4rem;
}

.wlp-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: start;
}

.wlp-h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--wl-ink);
}

.wlp-steps {
    display: grid;
    gap: 1.1rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.wlp-steps li {
    display: grid;
    grid-template-columns: 2.25rem 1fr;
    gap: 0.9rem;
}

.wlp-steps__n {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--wl-green);
    font-weight: 800;
    color: #0b120f;
}

.wlp-steps strong {
    display: block;
    margin-top: 0.15rem;
    color: var(--wl-ink);
}

.wlp-steps p {
    margin: 0.2rem 0 0;
    line-height: 1.55;
    color: var(--wl-muted);
}

.wlp-bonus {
    margin-top: 2rem;
    padding: 1.25rem 1.35rem;
    border-radius: 16px;
    background: #0b120f;
    color: #e5e7eb;
}

.wlp-bonus__title {
    margin: 0;
    font-weight: 800;
    color: var(--wl-green);
}

.wlp-bonus ul {
    display: grid;
    gap: 0.45rem;
    margin: 0.8rem 0 0;
    padding: 0;
    list-style: none;
}

.wlp-bonus li {
    position: relative;
    padding-left: 1.6rem;
    line-height: 1.5;
}

.wlp-bonus li::before {
    content: "+";
    position: absolute;
    left: 0;
    top: -0.05rem;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--wl-green);
}

.wlp-models {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.wlp-models > div {
    padding: 1rem 1.1rem;
    border: 1px solid var(--wl-line);
    border-radius: 14px;
}

.wlp-models strong { color: var(--wl-ink); }

.wlp-models p {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--wl-muted);
}

.wlp-client {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1.5rem 0 0;
    font-size: 0.95rem;
    color: var(--wl-muted);
}

.wlp-client a {
    font-weight: 700;
    color: var(--wl-green-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Cartão do formulário ---------- */
.wlp-card {
    position: relative;
    padding: 1.75rem;
    border: 1px solid var(--wl-line);
    border-radius: 20px;
    background: var(--wl-surface);
    box-shadow: 0 30px 70px -40px rgba(11, 18, 15, 0.35);
}

.wlp-form__intro {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: var(--wl-muted);
}

.wlp-fs {
    margin: 1.4rem 0 0;
    padding: 0;
    border: 0;
}

.wlp-fs legend {
    margin-bottom: 0.65rem;
    padding: 0;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--wl-green-ink);
}

.wlp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.wlp-field {
    margin-bottom: 0.85rem;
}

.wlp-field label,
.wlp-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--wl-text);
}

.wlp-field input,
.wlp-field select,
.wlp-field textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--wl-line);
    border-radius: 10px;
    background: var(--wl-soft);
    font: inherit;
    font-size: 0.95rem;
    color: var(--wl-ink);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.wlp-field textarea { resize: vertical; }

.wlp-field input:focus,
.wlp-field select:focus,
.wlp-field textarea:focus {
    outline: none;
    border-color: var(--wl-green);
    box-shadow: 0 0 0 3px rgba(135, 230, 75, 0.25);
}

.wlp-field [aria-invalid="true"] {
    border-color: #ef4444;
}

/* Escolhas em "fichas" */
.wlp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.wlp-chip {
    position: relative;
    margin: 0 !important;
    cursor: pointer;
}

.wlp-chip input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.wlp-chip span {
    display: inline-block;
    padding: 0.5rem 0.95rem;
    border: 1px solid var(--wl-line);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--wl-text);
    background: var(--wl-soft);
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.wlp-chip:hover span { border-color: var(--wl-green); }

.wlp-chip input:checked + span {
    border-color: var(--wl-green);
    background: var(--wl-green);
    color: #0b120f;
}

.wlp-chip input:focus-visible + span {
    outline: 2px solid var(--wl-green);
    outline-offset: 2px;
}

.wlp-consent {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-top: 0.5rem;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--wl-muted);
}

.wlp-consent input {
    flex: none;
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.15rem;
    accent-color: var(--wl-green);
}

.wlp-consent a {
    color: var(--wl-green-ink);
    text-decoration: underline;
}

.wlp-error,
.wlp-form .fb-field-error {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: #ef4444;
}

.wlp-alert,
.wlp-status p {
    margin: 1rem 0 0;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    font-size: 0.9rem;
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
}

.dark .wlp-alert,
.dark .wlp-status p { color: #fca5a5; }

.wlp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 1.25rem;
    padding: 0.95rem 1.25rem;
    border: 0;
    border-radius: 12px;
    background: var(--wl-green);
    font: inherit;
    font-size: 1rem;
    font-weight: 800;
    color: #0b120f;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.wlp-btn:hover {
    background: #7dd642;
    box-shadow: 0 12px 30px -12px rgba(135, 230, 75, 0.7);
    transform: translateY(-1px);
}

.wlp-btn:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}

.wlp-btn--ghost {
    display: inline-flex;
    width: auto;
    border: 1px solid var(--wl-line);
    background: transparent;
    color: var(--wl-ink);
    text-decoration: none;
}

.wlp-btn--ghost:hover {
    background: rgba(135, 230, 75, 0.12);
    box-shadow: none;
}

.wlp-note {
    margin: 0.6rem 0 0;
    text-align: center;
    font-size: 0.82rem;
    color: var(--wl-muted);
}

.wlp-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Depois de enviar: a posição na lista */
.wlp-done {
    padding: 1.5rem 0.5rem;
    text-align: center;
}

.wlp-done[hidden] { display: none; }

.wlp-done__mark {
    display: block;
    width: 4rem;
    height: 4rem;
    margin: 0 auto;
}

.wlp-done__mark circle {
    fill: rgba(135, 230, 75, 0.12);
    stroke: var(--wl-green);
    stroke-width: 2.5;
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
}

.wlp-done__mark path {
    fill: none;
    stroke: var(--wl-green-ink);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
}

.wlp-done.is-shown .wlp-done__mark circle { animation: wlp-draw 0.6s ease-out forwards; }
.wlp-done.is-shown .wlp-done__mark path { animation: wlp-draw 0.4s 0.5s ease-out forwards; }
.wlp-done.is-shown .wlp-done__pos { animation: wlp-pop 0.6s 0.7s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
.wlp-done.is-shown .wlp-done__text,
.wlp-done.is-shown .wlp-btn--ghost { animation: wlp-up 0.5s 1s ease-out both; }

.wlp-done__label {
    margin: 1rem 0 0;
    font-weight: 700;
    color: var(--wl-muted);
}

.wlp-done__pos {
    margin: 0.25rem 0 0;
    line-height: 1;
    color: var(--wl-ink);
}

.wlp-done__pos strong {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.wlp-done__pos span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--wl-green-ink);
}

.wlp-done__text {
    max-width: 34ch;
    margin: 0.9rem auto 1.25rem;
    line-height: 1.6;
    color: var(--wl-muted);
}

/* ---------- Perguntas ---------- */
.wlp-faq {
    padding: 3rem 0 5rem;
    border-top: 1px solid var(--wl-line);
}

.wlp-faq__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2.5rem;
    margin-top: 1.5rem;
}

.wlp-faq h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--wl-ink);
}

.wlp-faq p {
    margin: 0.4rem 0 0;
    line-height: 1.6;
    color: var(--wl-muted);
}

@media (max-width: 960px) {
    .wlp-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .wlp-card { order: -1; }
}

@media (max-width: 560px) {
    .wlp-row,
    .wlp-models,
    .wlp-faq__grid { grid-template-columns: 1fr; }
    .wlp-card { padding: 1.25rem; }
    .wlp-fact { min-width: 0; flex: 1 1 9rem; }
}

@media (prefers-reduced-motion: reduce) {
    .wlp-eyebrow__dot::after { animation: none; }
    .wlp-btn { transition: none; }
}

/* ==========================================================================
   Animações
   ========================================================================== */
@keyframes wlp-up {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@keyframes wlp-draw { to { stroke-dashoffset: 0; } }

@keyframes wlp-pop {
    from { opacity: 0; transform: scale(0.6); }
    to { opacity: 1; transform: none; }
}

@keyframes wlp-glow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-6%, 8%) scale(1.15); }
}

@keyframes wlp-fill { from { width: 0; } }

@keyframes wlp-chip { 40% { transform: scale(1.08); } }

/* Abertura: entra em cascata (--d = ordem) */
.wlp-in {
    animation: wlp-up 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: calc(var(--d, 0) * 110ms + 150ms);
}

/* Barra das unidades de lançamento que ainda restam */
.wlp-fact__bar {
    grid-column: 1 / -1;
    display: block;
    height: 4px;
    margin-top: 0.65rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.wlp-fact__bar b {
    display: block;
    width: var(--fill);
    height: 100%;
    border-radius: inherit;
    background: var(--wl-green);
    box-shadow: 0 0 10px rgba(135, 230, 75, 0.8);
    animation: wlp-fill 1.4s 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* Ao fazer scroll: aparece; nos passos, uma linha liga os números e os passos entram um a um */
.wlp-js .wlp-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.wlp-js .wlp-reveal.is-visible { opacity: 1; transform: none; }

.wlp-steps { position: relative; }
.wlp-steps::before {
    content: "";
    position: absolute;
    left: calc(1.125rem - 1px);
    top: 1.5rem;
    bottom: 1.5rem;
    width: 2px;
    background: linear-gradient(var(--wl-green), rgba(135, 230, 75, 0.15));
    transform-origin: top;
}
.wlp-steps li { position: relative; }
.wlp-js .wlp-steps::before { transform: scaleY(0); transition: transform 1.2s 0.2s ease-in-out; }
.wlp-js .wlp-steps.is-visible::before { transform: scaleY(1); }
.wlp-js .wlp-steps li { opacity: 0; transform: translateX(-10px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.wlp-js .wlp-steps.is-visible li { opacity: 1; transform: none; }
.wlp-js .wlp-steps.is-visible li:nth-child(2) { transition-delay: 0.35s; }
.wlp-js .wlp-steps.is-visible li:nth-child(3) { transition-delay: 0.7s; }

.wlp-js .wlp-faq__grid.wlp-reveal > div { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.wlp-js .wlp-faq__grid.is-visible > div { opacity: 1; transform: none; }
.wlp-js .wlp-faq__grid.is-visible > div:nth-child(2) { transition-delay: 0.1s; }
.wlp-js .wlp-faq__grid.is-visible > div:nth-child(3) { transition-delay: 0.2s; }
.wlp-js .wlp-faq__grid.is-visible > div:nth-child(4) { transition-delay: 0.3s; }

/* Formulário: barra que enche com os campos obrigatórios preenchidos */
.wlp-card { overflow: hidden; }
.wlp-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--wl-line);
}

.wlp-progress i {
    display: block;
    width: 0;
    height: 100%;
    background: var(--wl-green);
    box-shadow: 0 0 12px rgba(135, 230, 75, 0.7);
    transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wlp-form__count {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.05rem 0.5rem;
    border-radius: 999px;
    background: rgba(135, 230, 75, 0.14);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--wl-green-ink);
    font-variant-numeric: tabular-nums;
}

.wlp-form__count.is-full { background: var(--wl-green); color: #0b120f; }
.wlp-chip input:checked + span { animation: wlp-chip 0.3s ease-out; }

/* O botão "respira" quando o formulário está completo */
@keyframes wlp-ready { 0%, 100% { box-shadow: 0 0 0 0 rgba(135, 230, 75, 0.55); } 50% { box-shadow: 0 0 0 8px rgba(135, 230, 75, 0); } }
.wlp-form.is-complete .wlp-btn { animation: wlp-ready 2s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
    .wlp-in, .wlp-fact__bar b, .wlp-form.is-complete .wlp-btn,
    .wlp-done.is-shown .wlp-done__pos, .wlp-done.is-shown .wlp-done__text, .wlp-done.is-shown .wlp-btn--ghost { animation: none !important; }
    .wlp-done__mark circle, .wlp-done__mark path { stroke-dashoffset: 0; animation: none !important; }
    .wlp-js .wlp-reveal, .wlp-js .wlp-steps li, .wlp-js .wlp-faq__grid > div { opacity: 1 !important; transform: none !important; transition: none !important; }
    .wlp-js .wlp-steps::before { transform: none !important; transition: none !important; }
}

/* ==========================================================================
   Mais animação: ilustração do topo, bónus, passos, cartões e faíscas no fim
   ========================================================================== */

/* ---------- Topo em duas colunas ---------- */
.wlp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2rem;
    align-items: center;
}

.wlp-scene {
    position: relative;
    max-width: 30rem;
    justify-self: end;
    width: 100%;
}

.wlp-scene__svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

/* A fieldbox flutua devagar (no modo escuro ganha um contorno para não desaparecer no fundo) */
.dark .wlp-box__body { stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.5; }
.wlp-box { animation: wlp-float 5s ease-in-out infinite; transform-box: fill-box; }
@keyframes wlp-float { 50% { transform: translateY(-6px); } }

/* Sol: raios a rodar e brilho a respirar */
.wlp-sun__rays { animation: wlp-spin 18s linear infinite; transform-box: fill-box; transform-origin: center; }
.wlp-sun__glow { animation: wlp-breathe 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes wlp-spin { to { transform: rotate(360deg); } }
@keyframes wlp-breathe { 50% { transform: scale(1.12); opacity: 0.75; } }

/* Energia a correr do sol para o painel */
.wlp-flow { animation: wlp-dash 1.2s linear infinite; }
.wlp-flow--2 { animation-duration: 1.6s; }
@keyframes wlp-dash { to { stroke-dashoffset: -28; } }

/* Reflexo a passar no painel solar */
.wlp-panel-shine { opacity: 0; animation: wlp-shine 4.5s ease-in-out infinite; }
@keyframes wlp-shine { 0%, 70%, 100% { opacity: 0; } 80% { opacity: 0.18; } }

/* Bateria a carregar (barra a barra, em ciclo) */
.wlp-bat { opacity: 0.15; animation: wlp-charge 3.2s infinite; }
.wlp-bat--2 { animation-delay: 0.4s; }
.wlp-bat--3 { animation-delay: 0.8s; }
.wlp-bat--4 { animation-delay: 1.2s; }
@keyframes wlp-charge { 0% { opacity: 0.15; } 12%, 80% { opacity: 1; } 100% { opacity: 0.15; } }

/* Internet a sair da antena */
.wlp-wifi__a { opacity: 0; animation: wlp-wave 2.4s ease-out infinite; }
.wlp-wifi__a--2 { animation-delay: 0.3s; }
.wlp-wifi__a--3 { animation-delay: 0.6s; }
@keyframes wlp-wave { 0% { opacity: 0; } 20% { opacity: 1; } 70%, 100% { opacity: 0; } }

/* Luzes e GPS */
.wlp-led { animation: wlp-blink 1.8s ease-in-out infinite; }
.wlp-led--2 { animation-delay: 0.6s; }
.wlp-led--3 { animation-delay: 1.2s; }
@keyframes wlp-blink { 50% { opacity: 0.3; } }

.wlp-ping { transform-box: fill-box; transform-origin: center; animation: wlp-ring 2.2s ease-out infinite; }
.wlp-ping--2 { animation-delay: 1.1s; }
@keyframes wlp-ring { from { transform: scale(0.3); opacity: 0.9; } to { transform: scale(1.8); opacity: 0; } }

/* Etiquetas a flutuar à volta */
.wlp-tag {
    position: absolute;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--wl-line);
    border-radius: 999px;
    background: var(--wl-surface);
    box-shadow: 0 10px 25px -15px rgba(11, 18, 15, 0.5);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--wl-ink);
    white-space: nowrap;
    animation: wlp-bob 4s ease-in-out infinite;
}

.wlp-tag--1 { top: 34%; right: -0.5rem; animation-delay: 0.2s; }
.wlp-tag--2 { top: 6%; left: -0.5rem; animation-delay: 1.1s; }
.wlp-tag--3 { bottom: 4%; left: 14%; animation-delay: 2s; }
@keyframes wlp-bob { 50% { transform: translateY(-7px); } }

/* ---------- Cartões do topo: sobem ao passar o rato ---------- */
.wlp-fact { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.wlp-fact:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -20px rgba(11, 18, 15, 0.45); }

/* ---------- Passos: os números acendem um a um ---------- */
.wlp-js .wlp-steps .wlp-steps__n { transform: scale(0.6); background: var(--wl-line); color: var(--wl-muted); transition: transform 0.45s cubic-bezier(0.2, 1.5, 0.4, 1), background 0.3s, color 0.3s, box-shadow 0.3s; }
.wlp-js .wlp-steps.is-visible .wlp-steps__n { transform: none; background: var(--wl-green); color: #0b120f; box-shadow: 0 0 0 6px rgba(135, 230, 75, 0.18); }
.wlp-js .wlp-steps.is-visible li:nth-child(2) .wlp-steps__n { transition-delay: 0.35s; }
.wlp-js .wlp-steps.is-visible li:nth-child(3) .wlp-steps__n { transition-delay: 0.7s; }
.wlp-steps li { border-radius: 12px; transition: background 0.2s; }
.wlp-steps li:hover .wlp-steps__n { box-shadow: 0 0 0 8px rgba(135, 230, 75, 0.25); }

/* ---------- Bónus: um brilho atravessa o cartão ---------- */
.wlp-bonus { position: relative; overflow: hidden; }
.wlp-bonus::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    background: linear-gradient(105deg, transparent, rgba(135, 230, 75, 0.18), transparent);
    transform: skewX(-12deg);
    animation: wlp-sweep 5s ease-in-out 1.5s infinite;
    pointer-events: none;
}
@keyframes wlp-sweep { 0% { left: -60%; } 35%, 100% { left: 130%; } }

.wlp-js .wlp-bonus.is-visible li { animation: wlp-up 0.5s ease-out both; }
.wlp-js .wlp-bonus.is-visible li:nth-child(2) { animation-delay: 0.12s; }
.wlp-js .wlp-bonus.is-visible li:nth-child(3) { animation-delay: 0.24s; }

/* ---------- Aluguer e Compra: sobem e ganham uma linha verde ---------- */
.wlp-models > div { position: relative; overflow: hidden; transition: transform 0.25s ease, border-color 0.25s ease; }
.wlp-models > div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--wl-green);
    transition: width 0.35s ease;
}
.wlp-models > div:hover { transform: translateY(-3px); border-color: var(--wl-green); }
.wlp-models > div:hover::before { width: 100%; }

/* ---------- Formulário ---------- */
.wlp-fs legend { transition: letter-spacing 0.3s; }
.wlp-fs:focus-within legend { letter-spacing: 0.03em; }
.wlp-btn::after { content: "→"; margin-left: 0.5rem; transition: transform 0.2s; }
.wlp-btn:hover::after { transform: translateX(4px); }
.wlp-btn:disabled::after { content: none; }

/* Faíscas no fim (criadas pelo JS à volta do visto) */
.wlp-done { position: relative; }
.wlp-spark {
    position: absolute;
    top: 3.2rem;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--wl-green);
    pointer-events: none;
    animation: wlp-spark 1s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}
.wlp-spark:nth-child(3n) { background: #ffd84d; width: 6px; height: 6px; border-radius: 50%; }
.wlp-spark:nth-child(4n) { background: #0b120f; }
@keyframes wlp-spark {
    from { transform: translate(-50%, 0) rotate(0); opacity: 1; }
    to { transform: translate(calc(-50% + var(--x)), var(--y)) rotate(var(--r)); opacity: 0; }
}

@media (max-width: 960px) {
    .wlp-hero-grid { grid-template-columns: 1fr; }
    .wlp-scene { max-width: 22rem; justify-self: center; margin-top: 0.5rem; }
}

@media (max-width: 560px) {
    .wlp-scene { max-width: 17rem; }
    .wlp-tag { font-size: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
    .wlp-box, .wlp-sun__rays, .wlp-sun__glow, .wlp-flow, .wlp-panel-shine, .wlp-bat, .wlp-wifi__a,
    .wlp-led, .wlp-ping, .wlp-tag, .wlp-bonus::after, .wlp-js .wlp-bonus.is-visible li, .wlp-spark { animation: none !important; }
    .wlp-bat, .wlp-wifi__a { opacity: 1; }
    .wlp-ping { opacity: 0; }
    .wlp-js .wlp-steps .wlp-steps__n { transform: none !important; background: var(--wl-green) !important; color: #0b120f !important; transition: none !important; }
}

/* ==========================================================================
   Perguntas: introdução fixa à esquerda, acordeão numerado à direita
   ========================================================================== */
.wlp-faq { position: relative; padding: 4.5rem 0 5.5rem; background: var(--wl-soft); }
.dark .wlp-faq { background: #070b09; }

.wlp-faq__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 3.5rem;
    align-items: start;
}

.wlp-faq__intro { position: sticky; top: 6.5rem; }

.wlp-faq__title {
    margin: 0.9rem 0 0;
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--wl-ink);
}

.wlp-faq .wlp-faq__lead { margin: 0.85rem 0 0; max-width: 36ch; font-size: 1.02rem; line-height: 1.65; color: var(--wl-muted); }

.wlp-faq__help {
    display: grid;
    gap: 0.35rem;
    margin-top: 1.75rem;
    padding: 1.25rem 1.3rem;
    border-radius: 16px;
    background: #0b120f;
    color: #c7d2cb;
}

.dark .wlp-faq__help { border: 1px solid #1f2a24; }
.wlp-faq__help strong { font-size: 1.05rem; color: #ffffff; }
.wlp-faq__help span { font-size: 0.9rem; line-height: 1.5; }
.wlp-btn--wa { margin-top: 0.75rem; }
.wlp-btn--wa::before {
    content: "";
    width: 1.1rem;
    height: 1.1rem;
    margin-right: 0.5rem;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.2 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .1-3.3-.8-2.8-1.1-4.6-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.9s.7-2.1 1-2.4c.3-.3.6-.3.8-.3h.6c.2 0 .4 0 .6.5l.9 2.1c.1.2.1.4 0 .6l-.4.6-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.4 2.4 1.5.3.1.5.1.6-.1l.9-1.1c.2-.3.4-.2.6-.1l2 1c.3.1.5.2.5.3.1.2.1.7-.1 1.3z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.2 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .1-3.3-.8-2.8-1.1-4.6-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.9s.7-2.1 1-2.4c.3-.3.6-.3.8-.3h.6c.2 0 .4 0 .6.5l.9 2.1c.1.2.1.4 0 .6l-.4.6-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.4 2.4 1.5.3.1.5.1.6-.1l.9-1.1c.2-.3.4-.2.6-.1l2 1c.3.1.5.2.5.3.1.2.1.7-.1 1.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Acordeão */
.wlp-faq__list { display: grid; gap: 0.75rem; }

.wlp-qa {
    border: 1px solid var(--wl-line);
    border-radius: 16px;
    background: var(--wl-surface);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.wlp-qa:hover { border-color: rgba(135, 230, 75, 0.6); transform: translateY(-1px); }
.wlp-qa[open] { border-color: var(--wl-green); box-shadow: 0 18px 40px -28px rgba(11, 18, 15, 0.45); }

.wlp-qa summary {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    cursor: pointer;
    list-style: none;
    border-radius: 16px;
}

.wlp-qa summary::-webkit-details-marker { display: none; }
.wlp-qa summary:focus-visible { outline: 2px solid var(--wl-green); outline-offset: 2px; }

.wlp-qa__n {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--wl-muted);
    font-variant-numeric: tabular-nums;
    transition: color 0.25s;
}

.wlp-qa[open] .wlp-qa__n { color: var(--wl-green-ink); }
.wlp-qa__q { font-size: 1.02rem; font-weight: 700; line-height: 1.4; color: var(--wl-ink); }

/* "+" que roda para "×" */
.wlp-qa__icon {
    position: relative;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--wl-soft);
    transition: background 0.25s, transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.wlp-qa__icon::before,
.wlp-qa__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.8rem;
    height: 2px;
    margin: -1px 0 0 -0.4rem;
    border-radius: 2px;
    background: var(--wl-ink);
}

.wlp-qa__icon::after { transform: rotate(90deg); }
.wlp-qa[open] .wlp-qa__icon { background: var(--wl-green); transform: rotate(135deg); }
.wlp-qa[open] .wlp-qa__icon::before,
.wlp-qa[open] .wlp-qa__icon::after { background: #0b120f; }

.wlp-qa__a { overflow: hidden; }
.wlp-faq .wlp-qa__a p { margin: 0; padding: 0 1.25rem 1.25rem 3.45rem; font-size: 0.97rem; line-height: 1.65; color: var(--wl-muted); }

/* As perguntas entram uma a uma */
.wlp-js .wlp-faq__list.wlp-reveal { opacity: 1; transform: none; }
.wlp-js .wlp-faq__list .wlp-qa { opacity: 0; transform: translateY(14px); }
.wlp-js .wlp-faq__list.is-visible .wlp-qa { animation: wlp-up 0.5s ease-out both; }
.wlp-js .wlp-faq__list.is-visible .wlp-qa:nth-child(2) { animation-delay: 0.07s; }
.wlp-js .wlp-faq__list.is-visible .wlp-qa:nth-child(3) { animation-delay: 0.14s; }
.wlp-js .wlp-faq__list.is-visible .wlp-qa:nth-child(4) { animation-delay: 0.21s; }
.wlp-js .wlp-faq__list.is-visible .wlp-qa:nth-child(5) { animation-delay: 0.28s; }
.wlp-js .wlp-faq__list.is-visible .wlp-qa:nth-child(6) { animation-delay: 0.35s; }

@media (max-width: 960px) {
    .wlp-faq__layout { grid-template-columns: 1fr; gap: 2rem; }
    .wlp-faq__intro { position: static; }
}

@media (max-width: 560px) {
    .wlp-faq { padding: 3.5rem 0 4rem; }
    .wlp-qa summary { gap: 0.75rem; padding: 1rem; }
    .wlp-faq .wlp-qa__a p { padding: 0 1rem 1.1rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .wlp-js .wlp-faq__list .wlp-qa { opacity: 1 !important; transform: none !important; animation: none !important; }
    .wlp-qa, .wlp-qa__icon { transition: none; }
}

/* Link para a demonstração, por baixo do texto do topo */
.dm-link { display: inline-block; margin-top: 0.9rem; font-weight: 700; color: var(--wl-green-ink); text-decoration: underline; text-underline-offset: 4px; }
.dm-link:hover { color: var(--wl-ink); }
