* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-image: url(https://christinoconsultoria.com.br/wp-content/uploads/2022/12/foto-sobre-banner-1.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 800px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #a65413;
    margin-bottom: 30px;
    font-size: 2rem;
}

h2 {
    color: #a65413;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

h3 {
    color: #a65413;
    font-size: 1.2rem;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 30px;
}

.progress {
    width: 0%;
    height: 100%;
    background-color: #C78F08;
    border-radius: 5px;
    transition: width 0.3s ease;
}

.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.error-message {
    color: #ff0000;
    font-size: 14px;
    margin-top: 5px;
}

.error input,
.error select {
    border-color: #ff0000;
}

label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
}

input[type="text"],
input[type="tel"],
input[type="number"],
select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    background-color: #fff;
}

input:focus,
select:focus {
    border-color: #C78F08;
    outline: none;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.radio-group label {
    font-weight: normal;
    margin-bottom: 0;
}

.button-group {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 25px;
}

button, .btn-contato {
    padding: 15px 25px;
    background-image: linear-gradient(180deg, #b16323 0%, #b16323 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    width: 100%;
    font-weight: bold;
}

button:hover, .btn-contato:hover {
    background-image: linear-gradient(90deg, #a65413 0%, #a65413 100%);
    transform: translateY(-2px);
}

button[onclick^="prevStep"] {
    background-image: linear-gradient(90deg, #9E9E9E 0%, #9E9E9E 100%);
}

button[onclick^="prevStep"]:hover {
    background-image: linear-gradient(90deg, #757575 0%, #757575 100%);
}

.btn-editar {
    background-image: linear-gradient(90deg, #a5441b 0%, #a5441b 100%);
}

.btn-editar:hover {
    background-image: linear-gradient(90deg, #9b3d14 0%, #9b3d14 100%);
}

.btn-confirmar {
    background-color: #2e7d32;
}

.btn-confirmar:hover {
    background-color: #1b5e20;
}

.resultado {
    margin-top: 30px;
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.resultado h2 {
    color: #C78F08;
    margin-bottom: 20px;
    text-align: center;
}

.resultado-analise {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.resumo-dados {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.resumo-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.resumo-item:last-child {
    border-bottom: none;
}

.resumo-item span:first-child {
    color: #666;
    font-weight: 500;
    min-width: 200px;
}

.resumo-item span:last-child {
    color: #333;
    font-weight: bold;
    text-align: right;
    flex: 1;
}

.fonte-renda-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    gap: 20px;
}

.fonte-renda-item .tipo {
    color: #666;
    font-weight: 500;
    flex: 1;
}

.fonte-renda-item .valores {
    color: #333;
    font-weight: bold;
    background-color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    min-width: 200px;
    text-align: right;
}

.valores div {
    margin: 5px 0;
}

.fonte-renda {
    border: 2px solid #e0e0e0;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-whatsapp i {
    font-size: 32px;
}

.floating-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.contador-popup {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background-color: #d32f2f;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: none;
    animation: slideIn 0.5s ease;
    z-index: 1000;
    width: auto;
    max-width: calc(100% - 40px);
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.popup-content p {
    margin: 0;
    font-weight: bold;
}

.popup-content i {
    font-size: 24px;
}

.links-uteis {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    text-align: center;
}

.links-uteis h3 {
    margin-bottom: 15px;
}

.links-uteis a {
    color: #C78F08;
    transition: color 0.3s;
    padding: 10px 20px;
    margin: 5px;
}

.links-uteis a:hover {
    color: #c78e08a8;
}

@media (max-width: 768px) {
    body {
        padding: 0;
        background-attachment: scroll;
        display: block;
        min-height: 100vh;
    }

    .container {
        max-width: 100%;
        margin: 0;
        padding: 20px;
        border-radius: 0;
        min-height: 100vh;
    }

    h1 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    input[type="text"],
    input[type="tel"],
    input[type="number"],
    select {
        padding: 12px;
        font-size: 16px;
    }

    .resumo-item {
        flex-direction: column;
        padding: 15px 10px;
        text-align: center;
        background-color: #f8f9fa;
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .resumo-item span:first-child {
        font-size: 14px;
        margin-bottom: 8px;
        text-align: center;
        width: 100%;
        min-width: unset;
        color: #666;
    }

    .resumo-item span:last-child {
        font-size: 16px;
        padding: 10px;
        color: #333;
        background-color: #fff;
        border-radius: 5px;
        text-align: center;
        width: 100%;
        border: 1px solid #dee2e6;
    }

    .fonte-renda-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
        gap: 10px;
    }

    .fonte-renda-item .tipo,
    .fonte-renda-item .valores {
        width: 100%;
        text-align: center;
        min-width: unset;
    }

    .fonte-renda-item .valores {
        margin-top: 8px;
        padding: 10px;
    }

    .button-group {
        flex-direction: column;
        gap: 10px;
    }

    button, .btn-contato {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .floating-whatsapp i {
        font-size: 28px;
    }

    .contador-popup {
        bottom: 80px;
        font-size: 14px;
    }

    .links-uteis {
        margin-top: 20px;
        padding-top: 15px;
    }

    .links-uteis a {
        width: 100%;
        margin: 5px 0;
    }
}