/* ============================================================
   PROINOVAR CAPTURE — Frontend
   Formulário de captura + página de obrigado
   Design: transparente, integrado à seção
============================================================ */

/* ---------- RESET LOCAL ---------- */
.pc-capture *,
.pc-thank-you * {
    box-sizing: border-box;
}

/* ============================================================
   FORMULÁRIO DE CAPTURA — CONTAINER
   Sem background próprio: herda o fundo da seção do Elementor.
============================================================ */

.pc-capture {
    max-width: 520px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: inherit; /* herda cor do texto da seção */
}

/* Divisor sutil no topo — separa do conteúdo anterior */
.pc-capture::before {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: #FF9F00;
    margin: 0 auto 32px;
    border-radius: 2px;
    opacity: 0.6;
}

/* ============================================================
   TIPOGRAFIA
============================================================ */

.pc-titulo {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: #F1F5F9;
    margin: 0 0 14px;
    letter-spacing: -0.3px;
}

.pc-subtitulo {
    font-size: 16px;
    line-height: 1.65;
    color: #94A3B8;
    margin: 0 auto 32px;
    max-width: 460px;
}

/* ============================================================
   FORM
============================================================ */

.pc-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

/* ---------- CAMPOS ---------- */
.pc-field {
    width: 100%;
}

.pc-field input[type="text"],
.pc-field input[type="email"] {
    width: 100%;
    padding: 16px 20px;
    background: rgba(15, 18, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #F1F5F9;
    font-size: 15px;
    font-family: inherit;
    line-height: 1.4;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pc-field input::placeholder {
    color: #64748B;
    opacity: 1;
}

.pc-field input:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.18);
}

.pc-field input:focus {
    outline: none;
    border-color: #FF9F00;
    background: rgba(15, 18, 26, 0.85);
    box-shadow: 0 0 0 3px rgba(255, 159, 0, 0.15);
}

.pc-field input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ---------- CHECKBOX LGPD ---------- */
.pc-checkbox {
    margin: 4px 0 12px;
    text-align: left;
    font-size: 13px;
    line-height: 1.55;
    color: #F1F5F9;
}

.pc-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.pc-checkbox label span {
    color: #F1F5F9;
}

.pc-checkbox input[type="checkbox"] {
    flex-shrink: 0;
    margin: 2px 0 0 0;
    width: 16px;
    height: 16px;
    accent-color: #FF9F00;
    cursor: pointer;
}

.pc-checkbox a {
    color: #FF9F00;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s ease;
}

.pc-checkbox a:hover {
    opacity: 0.8;
}



/* ---------- BOTÃO ---------- */
.pc-btn {
    width: 100%;
    padding: 18px 28px;
    background: #FF9F00;
    color: #0F0F0F;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        background 0.2s ease,
        opacity 0.2s ease,
        box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(255, 159, 0, 0.2);
    margin-top: 8px;
}

.pc-btn:hover:not(:disabled) {
    background: #FFB333;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 159, 0, 0.3);
}

.pc-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 159, 0, 0.2);
}

.pc-btn:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.pc-btn:focus-visible {
    outline: 2px solid #FF9F00;
    outline-offset: 3px;
}

/* ---------- FEEDBACK ---------- */
.pc-feedback {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.5;
    padding: 12px 16px;
    border-radius: 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pc-feedback:empty {
    display: none;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
}

/* ============================================================
   PÁGINA DE OBRIGADO
============================================================ */

.pc-thank-you {
    max-width: 640px;
    margin: 0 auto;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #F1F5F9;
    text-align: center;
}

.pc-thank-you-icon {
    font-size: 56px;
    line-height: 1;
    margin: 0 0 24px;
}

.pc-thank-you-titulo {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: #F1F5F9;
    margin: 0 0 16px;
    letter-spacing: -0.3px;
}

.pc-thank-you-texto {
    font-size: 16px;
    line-height: 1.65;
    color: #94A3B8;
    margin: 0 0 40px;
}

.pc-thank-you-proximos {
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 28px 32px;
    margin: 0 0 40px;
}

.pc-thank-you-proximos h2 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #F1F5F9;
    margin: 0 0 16px;
    letter-spacing: -0.2px;
}

.pc-thank-you-proximos ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pc-thank-you-proximos li {
    font-size: 15px;
    line-height: 1.6;
    color: #94A3B8;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pc-thank-you-proximos li:last-child {
    border-bottom: none;
}

.pc-thank-you-proximos li strong {
    color: #FF9F00;
    font-weight: 700;
    margin-right: 6px;
}

.pc-thank-you-cta {
    display: inline-block;
    padding: 16px 36px;
    background: #FF9F00;
    color: #0F0F0F;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
    margin: 0 0 24px;
    box-shadow: 0 4px 16px rgba(255, 159, 0, 0.2);
}

.pc-thank-you-cta:hover {
    background: #FFB333;
    transform: translateY(-1px);
    color: #0F0F0F;
    box-shadow: 0 6px 20px rgba(255, 159, 0, 0.3);
}

.pc-thank-you-footer {
    font-size: 14px;
    line-height: 1.6;
    color: #64748B;
    margin: 0;
    font-style: italic;
}

/* ============================================================
   RESPONSIVO
============================================================ */

@media (max-width: 600px) {

    .pc-capture::before {
        margin-bottom: 24px;
    }

    .pc-titulo {
        font-size: 22px;
    }

    .pc-subtitulo {
        font-size: 15px;
        margin-bottom: 26px;
    }

    .pc-field input[type="text"],
    .pc-field input[type="email"] {
        padding: 15px 18px;
        font-size: 15px;
    }

    .pc-btn {
        padding: 17px 24px;
        font-size: 15px;
    }

    .pc-thank-you-titulo {
        font-size: 22px;
    }

    .pc-thank-you-texto {
        font-size: 15px;
    }

    .pc-thank-you-proximos {
        padding: 22px 24px;
    }
}

/* ============================================================
   ACESSIBILIDADE
============================================================ */

.pc-capture a:focus-visible,
.pc-thank-you a:focus-visible {
    outline: 2px solid #FF9F00;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .pc-btn,
    .pc-thank-you-cta {
        transition: none;
    }
}

/* ============================================================
   CONTEXTO CLARO (opcional)
   Se a seção tiver fundo claro, o formulário se adapta.
   Basta adicionar a classe "pc-on-light" no container.
============================================================ */

.pc-capture.pc-on-light .pc-titulo,
.pc-capture.pc-on-light .pc-subtitulo {
    color: #0F0F0F;
}

.pc-capture.pc-on-light .pc-subtitulo {
    color: #4B5563;
}

.pc-capture.pc-on-light .pc-field input[type="text"],
.pc-capture.pc-on-light .pc-field input[type="email"] {
    background: #FFFFFF;
    border-color: #E2E4E7;
    color: #0F0F0F;
}

.pc-capture.pc-on-light .pc-field input::placeholder {
    color: #9CA3AF;
}

.pc-capture.pc-on-light .pc-checkbox {
    color: #4B5563;
}

.pc-capture.pc-on-light .pc-checkbox a {
    color: #D97706;
}