/* =====================================================================
   Candidatura Sucesso — Conteúdo "PJ Protegido / Proteção de renda"
   Exibido quando o candidato JÁ tem CNPJ (MEI/ME).
   Escopado em .pj-lp para não colidir com o CSS global.
   ===================================================================== */

.pj-lp {
    --pl-blue:   #0066ff;
    --pl-blue2:  #007cff;
    --pl-teal:   #00c2a8;
    --pl-dark:   #111827;
    --pl-gray:   #4a5563;
    --pl-gray2:  #64748b;
    --pl-red:    #ff005c;

    font-family: 'Inter', 'Urbanist', sans-serif;
    color: var(--pl-dark);
    display: block;
    width: 100%;
}

.pj-lp *,
.pj-lp *::before,
.pj-lp *::after { box-sizing: border-box; }

.pj-lp .pl-container {
    width: 100%;
    max-width: 1256px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Entrance animation */
.pj-lp .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.pj-lp .reveal.visible { opacity: 1; transform: translateY(0); }
.pj-lp .reveal.d1 { transition-delay: 0.10s; }
.pj-lp .reveal.d2 { transition-delay: 0.20s; }
.pj-lp .reveal.d3 { transition-delay: 0.30s; }
.no-js .pj-lp .reveal { opacity: 1; transform: none; }

/* ── HERO ─────────────────────────────────────────── */
.pj-lp .pl-hero {
    text-align: center;
    padding: 48px 24px 8px;
}
.pj-lp .pl-hero h1 {
    margin: 0 auto;
    max-width: 820px;
    font-size: clamp(30px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--pl-dark);
}
.pj-lp .pl-hero h1 .blue { color: var(--pl-blue); }
.pj-lp .pl-hero p {
    margin: 20px auto 0;
    max-width: 620px;
    font-size: clamp(17px, 2.4vw, 24px);
    font-weight: 300;
    color: var(--pl-gray);
    line-height: 1.35;
}
.pj-lp .pl-hero p strong { font-weight: 700; color: var(--pl-blue2); }

/* ── COVERAGE (imagem + cards) ────────────────────── */
.pj-lp .pl-cover { padding: 40px 0 24px; }
.pj-lp .pl-cover-grid {
    display: grid;
    grid-template-columns: minmax(0, 600px) 1fr;
    gap: 24px;
    align-items: stretch;
}

.pj-lp .pl-cover-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #e2e5eb;
    aspect-ratio: 600 / 620;
    min-height: 100%;
}
.pj-lp .pl-cover-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pj-lp .pl-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 1px 4px 16px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 20px 8px 8px;
    max-width: calc(100% - 40px);
}
.pj-lp .pl-badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    flex-shrink: 0;
    background-image: linear-gradient(151.91deg, #007cff 17%, #00ffde 97%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.pj-lp .pl-badge-icon svg { width: 26px; height: 26px; }
.pj-lp .pl-badge-title { font-size: 14px; line-height: 1.4; color: var(--pl-dark); font-weight: 500; }
.pj-lp .pl-badge-sub {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
    font-size: 12px;
    color: #6a7180;
    letter-spacing: 0.5px;
}

.pj-lp .pl-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}
.pj-lp .pl-card {
    position: relative;
    border: 1px solid rgba(41, 81, 123, 0.14);
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    flex: 1;
    justify-content: center;
}
.pj-lp .pl-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pl-blue);
}
.pj-lp .pl-card-icon svg { width: 18px; height: 20px; }
.pj-lp .pl-card-title { font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--pl-dark); }
.pj-lp .pl-card-list { display: flex; flex-direction: column; gap: 12px; margin-top: 2px; }
.pj-lp .pl-card-row { display: flex; align-items: flex-start; gap: 8px; }
.pj-lp .pl-card-row svg { flex-shrink: 0; margin-top: 2px; }
.pj-lp .pl-card-row span { font-size: 14px; line-height: 1.45; color: var(--pl-gray); }

/* ── SIMULAÇÃO ────────────────────────────────────── */
.pj-lp .pl-sim { padding: 32px 0 56px; }
.pj-lp .pl-sim-grid {
    display: grid;
    grid-template-columns: minmax(0, 420px) 1fr;
    gap: 40px;
    align-items: center;
}

.pj-lp .pl-sim-head-eyebrow {
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #999;
}
.pj-lp .pl-sim-head-title {
    font-family: 'Urbanist', sans-serif;
    margin-top: 16px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -1.5px;
}
.pj-lp .pl-sim-head-title .b1 { display: block; color: var(--pl-blue2); font-weight: 500; }
.pj-lp .pl-sim-head-title .b2 { display: block; font-weight: 500; color: #000; }
.pj-lp .pl-sim-head-title .b2 .some { color: var(--pl-red); }
.pj-lp .pl-sim-head-title .b3 { display: block; color: #000; font-weight: 800; }

/* Bloco CTA sem simulador */
.pj-lp .pl-sim--cta-only .pl-container {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.pj-lp .pl-sim--cta-only .pl-sim-head {
    margin-bottom: 28px;
}
.pj-lp .pl-sim-actions {
    display: flex;
    justify-content: center;
}

/* Card de simulação */
.pj-lp .pl-sim-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(254, 2, 103, 0.15);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
    padding: 33px;
}
.pj-lp .pl-sim-card-head {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.pj-lp .pl-sim-card-icon {
    width: 48px;
    height: 58px;
    border-radius: 12px;
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pl-blue);
    flex-shrink: 0;
}
.pj-lp .pl-sim-card-icon svg { width: 24px; height: 24px; }
.pj-lp .pl-sim-card-title {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.5px;
    color: #1e293b;
}
.pj-lp .pl-sim-card-sub {
    margin-top: 4px;
    font-size: 15px;
    color: var(--pl-gray2);
    font-weight: 500;
}

/* Simulador (tema claro) */
.pj-lp .pl-sim-body { margin-top: 22px; }
.pj-lp .pl-sim-inputrow {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
}
.pj-lp .pl-sim-inputrow label { font-size: 14px; color: var(--pl-gray2); white-space: nowrap; }
.pj-lp .pl-sim-inputrow .cur { font-size: 18px; font-weight: 700; color: var(--pl-dark); }
.pj-lp .pl-sim-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    color: var(--pl-dark);
    text-align: right;
    outline: none;
}

/* Range */
.pj-lp .pl-sim-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    margin: 20px 0 4px;
    background: #e2e8f0;
    cursor: pointer;
}
.pj-lp .pl-sim-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--pl-blue);
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.3);
    cursor: pointer;
}
.pj-lp .pl-sim-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--pl-blue);
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.3);
    cursor: pointer;
}
.pj-lp .pl-sim-scale {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #94a3b8;
}

.pj-lp .pl-sim-price {
    margin-top: 20px;
    background: #f1f6ff;
    border: 1px solid rgba(0, 102, 255, 0.12);
    border-radius: 12px;
    padding: 16px 18px;
    text-align: center;
}
.pj-lp .pl-sim-price small { display: block; font-size: 13px; color: var(--pl-gray2); }
.pj-lp .pl-sim-price strong { font-size: 30px; font-weight: 800; color: var(--pl-blue); letter-spacing: -0.5px; }
.pj-lp .pl-sim-price strong em { font-size: 16px; font-weight: 600; font-style: normal; color: var(--pl-gray2); }

.pj-lp .pl-sim-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.pj-lp .pl-sim-list li {
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}
.pj-lp .pl-sim-list small { display: block; font-size: 12px; color: var(--pl-gray2); line-height: 1.3; }
.pj-lp .pl-sim-list b { display: block; margin-top: 4px; font-size: 15px; color: var(--pl-dark); }

.pj-lp .pl-sim-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 18px;
    padding: 14px 20px;
    border-radius: 12px;
    background: var(--pl-blue);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.pj-lp .pl-sim-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0, 102, 255, 0.28); }
.pj-lp .pl-sim-note { margin-top: 10px; font-size: 12px; color: #94a3b8; text-align: center; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 960px) {
    .pj-lp .pl-cover-grid { grid-template-columns: 1fr; }
    .pj-lp .pl-cover-img { aspect-ratio: 16 / 11; }
    .pj-lp .pl-sim-grid { grid-template-columns: 1fr; gap: 24px; }
    .pj-lp .pl-sim-head { text-align: center; }
    .pj-lp .pl-sim-head-title { white-space: normal; }
}

@media (max-width: 560px) {
    .pj-lp .pl-card { padding: 22px 20px; }
    .pj-lp .pl-sim-card { padding: 24px; }
    .pj-lp .pl-sim-list { grid-template-columns: 1fr; }
    .pj-lp .pl-sim-inputrow { flex-wrap: wrap; }
    .pj-lp .pl-sim-input { text-align: left; }
}
