/* CLOUDSEG EMPRESARIAL - SIMULACAO.EMPRESARIAL.CSS
   Estilos específicos para o Simulador Empresarial (Wizard).
*/

/* Variáveis Locais */
:root {
    --sim-color-primary: #6610f2; /* Roxo */
    --sim-color-primary-dark: #520dc2;
    --sim-bg-light: #f3f0fe;
    --sim-text-main: #333;
    --sim-text-light: #666;
    --sim-border: #eee;
}

/* Reset do Simulador */
body.simulador-mode {
    padding-top: 0 !important;
    background-color: #f9f9f9;
    font-family: 'Inter', sans-serif;
}

/* Topbar */
.topbar {
    background: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--sim-border);
}

.topbar-steps {
    display: flex;
    gap: 30px;
}

.topbar-step {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.topbar-step.active {
    opacity: 1;
    font-weight: 600;
}

.step-number {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #ddd;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.topbar-step.active .step-number {
    background-color: var(--sim-color-primary);
}

/* Layout Conteúdo */
.content {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px 100px 20px; /* Espaço para footer */
}

.step-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.step-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    font-size: 2rem;
    color: var(--sim-color-primary);
    margin-bottom: 10px;
}

.helper-text {
    color: var(--sim-text-light);
    margin-bottom: 30px;
}

/* Formulários */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--sim-text-main);
}

select.form-select, input[type="text"], input[type="tel"], input[type="email"] {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--sim-border);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s;
}

select.form-select:focus, input:focus {
    border-color: var(--sim-color-primary);
    outline: none;
}

/* Cards de Cobertura */
.cobertura-card {
    background: white;
    border: 1px solid var(--sim-border);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.cobertura-card.mestre {
    border-left: 5px solid var(--sim-color-primary);
}

.cobertura-item {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cobertura-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cobertura-info i {
    color: var(--sim-color-primary);
}

.cobertura-desc {
    font-size: 0.85rem;
    color: var(--sim-text-light);
    margin: 0;
}

/* Sliders */
.cobertura-slider {
    background: #fafafa;
    padding: 20px;
    border-top: 1px solid var(--sim-border);
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 10px;
}

.slider-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sim-color-primary);
}

input[type=range] {
    width: 100%;
    cursor: pointer;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #999;
    margin-top: 5px;
}

/* Footer Fixo */
.form-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px 40px;
    border-top: 1px solid var(--sim-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    z-index: 1000;
}

.valor-estimado {
    font-size: 1.1rem;
    color: var(--sim-text-light);
}

.valor-estimado span {
    color: var(--sim-text-main);
    font-weight: 700;
    font-size: 1.4rem;
}

/* Botões */
.btn-primary {
    background-color: var(--sim-color-primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: var(--sim-color-primary-dark);
}

.btn-back {
    background: transparent;
    border: none;
    color: var(--sim-text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

.hidden { display: none; }

/* Toggle Switch */
.switch { position: relative; display: inline-block; width: 50px; height: 28px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider-toggle { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 34px; }
.slider-toggle:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider-toggle { background-color: var(--sim-color-primary); }
input:checked + .slider-toggle:before { transform: translateX(22px); }

/* Responsivo */
@media (max-width: 768px) {
    .topbar { padding: 15px 20px; }
    .topbar-steps span { display: none; } /* Esconde texto no mobile */
    .content { margin: 20px auto; }
    .form-footer { padding: 15px 20px; flex-direction: column; gap: 15px; }
    .valor-estimado { margin-bottom: 10px; }
    .btn-primary { width: 100%; }



}