/* ==========================================================================
   Calculadora de potência do site (/power-calculator) — no estilo das outras páginas
   Cartões de 10 px com borda fina, verde da marca, modo escuro com .dark
   ========================================================================== */
.pc { --pc-bg: #f9fafb; --pc-card: #ffffff; --pc-line: #e5e7eb; --pc-ink: #111827; --pc-text: #374151; --pc-muted: #6b7280; --pc-soft: #f3f6f1;
      --pc-lime: #87e64b; --pc-lime-ink: #3f7a1e; --pc-lime-soft: rgba(135, 230, 75, 0.15); --pc-err: #b91c1c; --pc-err-soft: #fef2f2;
      background: var(--pc-bg); padding-block: 3rem 5rem; }
.dark .pc { --pc-bg: #0f1620; --pc-card: #121b26; --pc-line: rgba(255, 255, 255, 0.09); --pc-ink: #ffffff; --pc-text: #d1d5db; --pc-muted: #9ca3af; --pc-soft: #172230;
            --pc-lime-ink: #87e64b; --pc-err: #fca5a5; --pc-err-soft: rgba(239, 68, 68, 0.12); }

.pc__grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) {
	.pc__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
	.pc__result { position: sticky; top: 6rem; grid-row: span 2; }
}
.pc__col { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.pc-i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.pc-card { position: relative; overflow: hidden; padding: 1.5rem; border: 1px solid var(--pc-line); border-radius: 10px; background: var(--pc-card); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.pc-card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.pc-card__head h2 { display: flex; align-items: center; gap: 0.6rem; margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--pc-ink); }
.pc-card__n { display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; border-radius: 6px; background: var(--pc-lime-soft); color: var(--pc-lime-ink); font-size: 0.85rem; font-weight: 800; }
.pc-hint { margin: 0.75rem 0 0; font-size: 0.85rem; line-height: 1.55; color: var(--pc-muted); }
.pc-hint--top { margin: -0.4rem 0 1rem; }
.pc-sub { margin: 1.25rem 0 0.6rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pc-muted); }
.pc-link { border: 0; background: none; padding: 0; font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--pc-muted); cursor: pointer; }
.pc-link:hover { color: var(--pc-lime-ink); }

.pc-hours { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; color: var(--pc-ink); font-variant-numeric: tabular-nums; }
.pc-range { width: 100%; accent-color: var(--pc-lime); height: 1.5rem; }
.pc-scale { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--pc-muted); }

.pc-table, [data-pc-rows] { display: flex; flex-direction: column; gap: 0.5rem; }
.pc-row { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem 4.5rem 5.5rem 2.25rem; gap: 0.5rem; align-items: center; }
.pc-row--head span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--pc-muted); }
.pc-in { width: 100%; min-width: 0; padding: 0.6rem 0.7rem; border: 1px solid var(--pc-line); border-radius: 8px; background: var(--pc-soft); color: var(--pc-ink); font: inherit; font-size: 0.92rem; }
.pc-in--num { text-align: right; font-variant-numeric: tabular-nums; }
.pc-in:focus { outline: 2px solid var(--pc-lime); outline-offset: 0; border-color: transparent; }
.pc-in.is-invalid { border-color: var(--pc-err); }
.pc-del { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border: 1px solid var(--pc-line); border-radius: 8px; background: transparent; color: var(--pc-muted); font-size: 1rem; cursor: pointer; }
.pc-del:hover { color: #dc2626; border-color: #fca5a5; }
.pc-add { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.75rem; padding: 0.6rem 0.9rem; border: 1px dashed var(--pc-line); border-radius: 8px; background: transparent; color: var(--pc-lime-ink); font: inherit; font-size: 0.9rem; font-weight: 700; cursor: pointer; }
.pc-add:hover { border-color: var(--pc-lime); background: var(--pc-lime-soft); }
.pc-presets { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pc-chip { padding: 0.4rem 0.7rem; border: 1px solid var(--pc-line); border-radius: 999px; background: var(--pc-card); color: var(--pc-text); font: inherit; font-size: 0.83rem; font-weight: 600; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.pc-chip small { color: var(--pc-muted); font-weight: 500; }
.pc-chip:hover { border-color: var(--pc-lime); background: var(--pc-lime-soft); }
.pc-check { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.25rem; font-size: 0.95rem; font-weight: 600; color: var(--pc-ink); cursor: pointer; }
.pc-check input { width: 1.1rem; height: 1.1rem; flex: none; accent-color: var(--pc-lime); }
@media (max-width: 560px) {
	.pc-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) 2.25rem; }
	.pc-row > [data-f="name"] { grid-column: 1 / -1; }
	.pc-row--head { display: none; }
	[data-pc-rows] .pc-row { padding-bottom: 0.6rem; border-bottom: 1px solid var(--pc-line); }
}

/* Resultado */
.pc-reco { border-color: rgba(135, 230, 75, 0.45); }
.pc-reco__glow { position: absolute; inset: -40% -30% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(135, 230, 75, 0.22), transparent 65%); pointer-events: none; }
.pc-kicker { position: relative; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pc-lime-ink); }
.pc-totals { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1rem; }
.pc-totals div { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.75rem 0.9rem; border-radius: 8px; background: var(--pc-soft); }
.pc-totals span { font-size: 0.75rem; color: var(--pc-muted); }
.pc-totals strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--pc-ink); font-variant-numeric: tabular-nums; }
.pc-specs { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: 0.75rem; }
.pc-spec { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.9rem 1rem; border: 1px solid var(--pc-line); border-radius: 8px; background: var(--pc-card); }
.pc-spec span { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; font-weight: 600; color: var(--pc-muted); }
.pc-spec span .pc-i { color: var(--pc-lime-ink); width: 1.05em; height: 1.05em; }
.pc-spec strong { font-size: 1.25rem; font-weight: 800; color: var(--pc-ink); font-variant-numeric: tabular-nums; }
.pc-spec small { font-size: 0.78rem; color: var(--pc-muted); }
.pc-spec small b { color: var(--pc-text); }
.pc-custom { position: relative; margin: 1rem 0 0; padding: 0.9rem 1rem; border-radius: 8px; background: var(--pc-lime-soft); color: var(--pc-ink); font-weight: 600; line-height: 1.5; }
.pc-save { position: relative; display: flex; flex-direction: column; gap: 0.1rem; margin-top: 0.75rem; padding: 0.9rem 1rem; border-radius: 8px; background: #0b120f; color: #ffffff; }
.pc-save span { font-size: 0.78rem; color: #c9d3cd; }
.pc-save strong { font-size: 1.6rem; font-weight: 800; color: #87e64b; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pc-save small { font-size: 0.78rem; color: #c9d3cd; }
.pc-cta { position: relative; display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; margin-top: 1.25rem; padding: 0.9rem 1rem; border: 0; border-radius: 8px; background: var(--pc-lime); color: #0b120f; font: inherit; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer; transition: filter 0.15s; }
.pc-cta:hover { filter: brightness(0.95); }
.pc-cta:focus-visible { outline: 2px solid var(--pc-ink); outline-offset: 2px; }
.pc-cta.is-loading { opacity: 0.7; pointer-events: none; }
.pc-empty { display: none; position: relative; margin: 1rem 0 0; color: var(--pc-muted); font-size: 0.9rem; }
.pc-custom { display: none; }
.pc.is-empty .pc-body { display: none !important; }
.pc.is-empty .pc-empty { display: block; }
.pc.is-custom .pc-std { display: none; }
.pc.is-custom .pc-custom { display: block; }

.pc-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.pc-steps li { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); gap: 0.7rem; }
.pc-step__n { display: inline-flex; align-items: center; justify-content: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--pc-soft); color: var(--pc-ink); font-size: 0.8rem; font-weight: 800; }
.pc-steps strong { display: block; font-size: 0.95rem; color: var(--pc-ink); }
.pc-steps p { margin: 0.2rem 0 0; font-size: 0.85rem; line-height: 1.6; color: var(--pc-text); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }

/* Pedido da proposta */
.pc-form-card { scroll-margin-top: 6rem; border-color: rgba(135, 230, 75, 0.45); }
.pc-form-intro h2 { margin: 0.4rem 0 0; font-size: 1.35rem; font-weight: 800; color: var(--pc-ink); text-wrap: balance; }
.pc-form-intro p { margin: 0.4rem 0 0; max-width: 60ch; color: var(--pc-text); line-height: 1.6; }
.pc-form { margin-top: 1.25rem; }
.pc-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
@media (max-width: 560px) { .pc-form__grid { grid-template-columns: 1fr; } }
.pc-field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.pc-field label { font-size: 0.82rem; font-weight: 600; color: var(--pc-text); }
.pc-field small { color: var(--pc-muted); font-weight: 500; }
.pc-consent { align-items: flex-start; font-size: 0.86rem; font-weight: 500; color: var(--pc-text); line-height: 1.5; }
.pc-consent input { margin-top: 0.15rem; }
.pc-consent a { color: var(--pc-lime-ink); text-decoration: underline; }
.pc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pc-err { margin: 0.9rem 0 0; padding: 0.7rem 0.9rem; border-radius: 8px; background: var(--pc-err-soft); color: var(--pc-err); font-size: 0.88rem; }
.pc-sent { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; margin-top: 1.25rem; padding: 1.25rem; border-radius: 10px; background: var(--pc-lime-soft); }
.pc-sent__ic { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--pc-lime); color: #0b120f; font-size: 1.2rem; }
.pc-sent h3 { margin: 0; font-size: 1.15rem; color: var(--pc-ink); }
.pc-sent p { margin: 0; color: var(--pc-text); line-height: 1.6; }

@media (prefers-reduced-motion: reduce) { .pc-chip, .pc-cta { transition: none; } }

/* ---------- Topo: ilustração animada (como a cena da página de parceiros) ---------- */
.pc { scroll-margin-top: 4rem; }
.pcs { position: relative; display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.pcs__top { display: flex; justify-content: space-between; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: #3f8f17; }
.dark .pcs__top { color: #87e64b; }
.pcs__top span:last-child { color: #6b7280; }
.pcs__top i { display: inline-block; width: 0.4rem; height: 0.4rem; margin-right: 0.5rem; border-radius: 50%; background: #87e64b; vertical-align: 1px; animation: pcs-blink 2.4s ease-in-out infinite; }
.pcs__art { position: relative; overflow: hidden; border-radius: 18px; background: #0b120f; box-shadow: 0 30px 70px -30px rgba(11, 18, 15, 0.55); }
.pcs-svg { display: block; width: 100%; height: auto; }
.pcs__tag { position: relative; margin: 0 1rem 1rem; display: flex; flex-direction: column; gap: 0.5rem; padding: 0.75rem; border: 1px solid rgba(135, 230, 75, 0.25); border-radius: 12px; background: rgba(11, 18, 15, 0.82); backdrop-filter: blur(6px); animation: pcs-rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both 1.1s; }
.pcs__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.45rem; }
.pcs__nums div { display: flex; flex-direction: column; gap: 0.05rem; padding: 0.45rem 0.6rem; border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.pcs__nums small { font-size: 0.66rem; color: #9fb3a5; }
.pcs__nums strong { font-size: 1.05rem; font-weight: 800; color: #ffffff; font-variant-numeric: tabular-nums; }
.pcs__bat { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.6rem; align-items: center; font-size: 0.75rem; color: #c9d3cd; }
.pcs__bat i { height: 0.6rem; border: 1px solid rgba(135, 230, 75, 0.5); border-radius: 4px; padding: 1px; }
.pcs__bat i b { display: block; height: 100%; width: 78%; border-radius: 2px; background: linear-gradient(90deg, #5fbf2a, #87e64b); animation: pcs-fill 4s ease-in-out infinite; }
.pcs__bat em { font-style: normal; font-weight: 800; color: #87e64b; font-variant-numeric: tabular-nums; }

/* Movimento da cena */
.pcs-rays { animation: pcs-spin 18s linear infinite; transform-box: fill-box; transform-origin: center; }
.pcs-sun-halo { animation: pcs-breathe 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.pcs-photon { stroke-dasharray: 6 18; animation: pcs-dash 1.4s linear infinite; }
.pcs-photon--2 { animation-delay: -0.5s; }
.pcs-photon--3 { animation-delay: -0.9s; }
.pcs-shine { animation: pcs-shine 5s ease-in-out infinite; }
.pcs-flow { stroke-dasharray: 8 22; animation: pcs-dash-out 1.2s linear infinite; }
.pcs-flow--2 { animation-delay: -0.3s; }
.pcs-flow--3 { animation-delay: -0.6s; }
.pcs-flow--4 { animation-delay: -0.9s; }
.pcs-charge { transform-box: fill-box; transform-origin: left; animation: pcs-charge 4s ease-in-out infinite; }
.pcs-node { animation: pcs-blink 1.8s ease-in-out infinite; }
.pcs-box { animation: pcs-float 6s ease-in-out infinite; }
.pcs-dev { animation: pcs-pop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1.3) both; transform-box: fill-box; transform-origin: center; }
.pcs-dev--2 { animation-delay: 0.15s; }
.pcs-dev--3 { animation-delay: 0.3s; }
.pcs-dev--4 { animation-delay: 0.45s; }
.pcs-screen { animation: pcs-glow 3s ease-in-out infinite; }
.pcs-lamp { animation: pcs-glow 2.6s ease-in-out infinite; }
.pcs-led { animation: pcs-blink 1.4s ease-in-out infinite; }
.pcs-wave { animation: pcs-blink 1.6s ease-in-out infinite; }
@keyframes pcs-spin { to { transform: rotate(360deg); } }
@keyframes pcs-breathe { 50% { transform: scale(1.12); opacity: 0.8; } }
@keyframes pcs-dash { to { stroke-dashoffset: -24; } }
@keyframes pcs-dash-out { to { stroke-dashoffset: -30; } }
@keyframes pcs-shine { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }
@keyframes pcs-charge { 0% { transform: scaleX(0.15); } 75%, 100% { transform: scaleX(1); } }
@keyframes pcs-fill { 0% { width: 18%; } 70%, 100% { width: 78%; } }
@keyframes pcs-blink { 50% { opacity: 0.35; } }
@keyframes pcs-float { 50% { transform: translateY(-4px); } }
@keyframes pcs-pop { from { opacity: 0; transform: scale(0.6); } }
@keyframes pcs-glow { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes pcs-rise { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 1023px) { .pcs { max-width: 34rem; margin: 1.5rem auto 0; width: 100%; } }
@media (max-width: 420px) { .pcs__tag { margin: 0 0.6rem 0.6rem; padding: 0.55rem; } .pcs__nums strong { font-size: 0.92rem; } }
@media (prefers-reduced-motion: reduce) {
	.pcs-rays, .pcs-sun-halo, .pcs-photon, .pcs-shine, .pcs-flow, .pcs-charge, .pcs-node, .pcs-box, .pcs-dev, .pcs-screen, .pcs-lamp, .pcs-led, .pcs-wave, .pcs__top i, .pcs__bat i b, .pcs__tag { animation: none; }
}
