/* ==========================================================================
   Calculadora (Contábil Empresa) — estilos
   Paleta do site: verde #80AA6D / hover #5D9942 / texto #41463E
   ========================================================================== */

.vc-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.vc-header {
    text-align: center;
    margin-bottom: 2rem;
}

.vc-header h1 {
    margin-top: 0;
}

.vc-header p {
    color: #6b7268;
    max-width: 640px;
    margin: 0 auto;
}

/* Cartão base -------------------------------------------------------------- */
.vc-card {
    background: #F2F7F5;
    border: 2px solid #80AA6D;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
    .vc-card {
        padding: 2.25rem;
    }
}

/* Formulário -------------------------------------------------------------- */
.vc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}

@media (min-width: 640px) {
    .vc-grid {
        grid-template-columns: 1fr 1fr;
    }

    .vc-grid .vc-col-full {
        grid-column: 1 / -1;
    }
}

.vc-field label {
    display: block;
    font-weight: 600;
    font-family: 'Prompt', sans-serif;
    color: #41463E;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.vc-field .vc-hint {
    display: block;
    font-weight: 400;
    color: #9FB097;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.vc-field input,
.vc-field select {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid #cfe0c6;
    border-radius: 8px;
    background: #fff;
    color: #41463E;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.vc-field input:focus,
.vc-field select:focus {
    outline: none;
    border-color: #80AA6D;
    box-shadow: 0 0 0 3px rgba(128, 170, 109, 0.2);
}

.vc-field input.vc-invalid,
.vc-field select.vc-invalid {
    border-color: #e05555;
    box-shadow: 0 0 0 3px rgba(224, 85, 85, 0.15);
}

.vc-input-money {
    position: relative;
}

.vc-input-money::before {
    content: "R$";
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9FB097;
    font-size: 0.95rem;
    pointer-events: none;
}

.vc-input-money input {
    padding-left: 2.4rem;
}

/* Honeypot anti-spam (invisível para humanos) */
.vc-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.vc-actions {
    margin-top: 1.6rem;
    text-align: center;
}

.vc-btn {
    background: #80AA6D;
    border: none;
    color: #fff;
    font-family: 'Prompt', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.vc-btn:hover:not(:disabled) {
    background: #5D9942;
}

.vc-btn:active:not(:disabled) {
    transform: translateY(1px);
}

.vc-btn:disabled {
    background: #517242;
    cursor: not-allowed;
    opacity: 0.85;
}

.vc-btn-spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: vc-spin 0.8s linear infinite;
    display: none;
}

.vc-btn.is-loading .vc-btn-spinner {
    display: inline-block;
}

@keyframes vc-spin {
    to {
        transform: rotate(360deg);
    }
}

.vc-error {
    display: none;
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: #fdecec;
    color: #b02a2a;
    border: 1px solid #f3b6b6;
    font-size: 0.9rem;
}

.vc-error.is-visible {
    display: block;
}

/* Etapas ------------------------------------------------------------------ */
.vc-step {
    display: none;
}

.vc-step.is-active {
    display: block;
    animation: vc-fade 0.4s ease;
}

@keyframes vc-fade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Resultado (teaser) ------------------------------------------------------ */
.vc-result-value {
    text-align: center;
    padding: 1rem 0 0.5rem;
}

.vc-result-value .vc-label {
    color: #6b7268;
    font-size: 1rem;
    margin: 0;
}

.vc-result-value .vc-range {
    font-family: 'Prompt', sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    color: #41463E;
    line-height: 1.1;
    margin: 0.4rem 0;
}

@media (min-width: 640px) {
    .vc-result-value .vc-range {
        font-size: 3rem;
    }
}

.vc-result-value .vc-base {
    color: #80AA6D;
    font-weight: 600;
}

.vc-result-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1.2rem 0;
}

.vc-chip {
    background: #fff;
    border: 1px solid #d9e7d0;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    color: #41463E;
}

.vc-chip strong {
    color: #5D9942;
}

/* Laudo bloqueado --------------------------------------------------------- */
.vc-lock {
    position: relative;
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px dashed #b9cdad;
}

.vc-lock-preview {
    padding: 1.5rem;
    filter: blur(6px);
    user-select: none;
    pointer-events: none;
    opacity: 0.8;
}

.vc-lock-preview h4 {
    margin-top: 0;
}

.vc-lock-preview .vc-line {
    height: 12px;
    background: #d7e6cd;
    border-radius: 6px;
    margin: 0.6rem 0;
}

.vc-lock-preview .vc-line.short {
    width: 55%;
}

.vc-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(242, 247, 245, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
}

.vc-lock-overlay i {
    font-size: 2rem;
    color: #80AA6D;
    margin-bottom: 0.5rem;
}

.vc-lock-overlay p {
    max-width: 380px;
    color: #41463E;
    font-weight: 600;
}

/* Cadastro (desbloqueio) -------------------------------------------------- */
.vc-gate {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dce7d3;
}

.vc-gate h3 {
    text-align: center;
    margin-top: 0;
}

.vc-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: #6b7268;
    margin-top: 0.6rem;
}

.vc-consent input {
    width: auto;
    margin-top: 0.15rem;
}

/* Laudo liberado ---------------------------------------------------------- */
.vc-laudo {
    line-height: 1.6;
}

.vc-laudo h2,
.vc-laudo h3 {
    color: #41463E;
}

.vc-success-badge {
    text-align: center;
    color: #5D9942;
    font-weight: 600;
    margin-bottom: 1rem;
}

.vc-success-badge i {
    font-size: 1.4rem;
}
