@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

.maquininha-simulador {
    font-family: 'Outfit', sans-serif;
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
    overflow: hidden;
    position: relative;
    color: #1e293b;
}

/* Barra de Progresso */
.maq-progress-bar-container {
    height: 6px;
    background: #f1f5f9;
    position: relative;
}

.maq-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #047857 100%);
    width: 0%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.maq-progress-steps {
    display: none; /* Reservado para dots futuramente se necessário */
}

/* Container de Etapas */
.maq-steps-container {
    padding: 40px;
}

.maq-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.maq-step.active {
    display: block;
}

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

/* Conteúdo da Etapa */
.maq-step-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 350px;
}

@media (max-width: 768px) {
    .maq-step-content {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }
}

/* Lado Esquerdo: Info */
.maq-step-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.maq-step-img {
    max-width: 90%;
    height: auto;
    max-height: 170px;
    margin-bottom: 15px;
    object-fit: contain;
}

.maq-step-icon-fallback {
    font-size: 60px;
    margin-bottom: 20px;
}

.maq-step-number {
    display: inline-block;
    background: #e1f3e9;
    color: #065f46;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.maq-step-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 10px 0;
}

.maq-step-subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

/* Lado Direito: Opções */
.maq-step-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.maq-option {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    position: relative;
}

.maq-option:hover {
    border-color: #10b981;
    background: #f0fdf4;
    transform: translateX(4px);
}

.maq-option.selected {
    border-color: #059669;
    background: #f0fdf4;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.1);
}

.maq-option-check {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.maq-option.selected .maq-option-check {
    border-color: #059669;
    background: #059669;
}

.maq-option.selected .maq-option-check::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.maq-option-text {
    display: flex;
    flex-direction: column;
}

.maq-option-title {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

.maq-option-desc {
    font-size: 13px;
    color: #64748b;
    margin: 2px 0 0 0;
}

/* Footer Navegação */
.maq-step-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.maq-btn-prev, .maq-btn-next, .maq-btn-finish {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.maq-btn-prev {
    background: transparent;
    color: #64748b;
}

.maq-btn-prev:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.maq-btn-next, .maq-btn-finish {
    background: #1e293b;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.maq-btn-next:hover, .maq-btn-finish:hover {
    background: #0f172a;
    transform: translateY(-1px);
}

.maq-btn-next:disabled, .maq-btn-finish:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.maq-btn-finish {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.maq-btn-finish:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* Loading Screen */
.maq-step-loading {
    padding: 80px 40px;
    text-align: center;
    background: #ffffff;
}

.maq-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #10b981;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.maq-loading-text {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 5px;
}

.maq-loading-subtext {
    font-size: 14px;
    color: #64748b;
}

/* Resultado Wrapper (Reaproveitando Card Original) */
/* Tela de Resultado Preenchendo Tudo */
.maq-step-result {
    background: #f8fafc !important;
    margin: -40px; /* Sangra para as bordas do container pai .maq-steps-container */
    padding: 40px; /* Restaura o espaçamento interno */
}

/* Ajuste do Wrapper para não criar "caixa dentro de caixa" */
.maq-result-wrapper {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 1 !important;
}

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

.maq-result-header {
    text-align: center;
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Animated Checkmark Icon */
.maq-success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.maq-checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 4;
    stroke: #10b981;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #10b981;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.maq-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 4;
    stroke-miterlimit: 10;
    stroke: #10b981;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.maq-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #10b981;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

@keyframes scale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}

@keyframes fill {
    100% { box-shadow: inset 0px 0px 0px 30px #ffffff; }
}

.maq-result-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.2;
    margin: 0 0 20px 0 !important;
}

/* Botão Refazer Simulação (Pill com Icon) */
.maq-btn-restart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 10px 18px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.maq-btn-restart .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #64748b;
    transition: transform 0.4s ease;
}

.maq-btn-restart:hover {
    background: #059669 !important;
    color: #ffffff !important;
    border-color: #059669 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.maq-btn-restart:hover .dashicons {
    transform: rotate(-180deg);
    color: #ffffff !important;
}

.maq-result-card-container .maq-card-horizontal {
    padding: 30px !important; /* Espaçamento de segurança interno em todos os lados */
}

/* Forçar recuo nas sub-divisões do card para não topar nas bordas (Aumento de Especificidade) */
.maq-result-card-container .maq-card-horizontal .maq-card-header-top,
.maq-result-card-container .maq-card-horizontal .maq-card-left,
.maq-result-card-container .maq-card-horizontal .maq-card-right {
    padding-left: 35px !important;
    padding-right: 35px !important;
}

.maq-result-card-container {
    max-width: 100%;
    margin: 0 auto;
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

/* ANTI-DOTS / KILLER DE MARCADORES DE TEMA */
.maq-recursos-list-inner li::before, 
.maq-benefits-list li::before,
.maq-recursos-list li::before {
    content: none !important;
    display: none !important;
}

.maq-recursos-list-inner li, 
.maq-benefits-list li,
.maq-recursos-list li {
    list-style: none !important;
    list-style-type: none !important;
}

.maq-card-img-wrapper {
    display: flex;
    justify-content: center;
}

.maq-card-img-wrapper .maq-card-img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.maq-card-highlights {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.maq-card-highlights li {
    font-size: 13px !important;
    color: #334155 !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.maq-card-highlights li .dashicons {
    color: #10b981 !important;
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
}

/* Pricing Block */
.maq-card-pricing-block {
    margin: 20px 0;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.maq-price-info {
    font-size: 15px;
    color: #475569;
    margin: 0 0 5px 0;
}

.maq-price-info strong {
    font-size: 18px;
    color: #0f172a;
    font-weight: 800;
}

.maq-price-installment {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.maq-price-installment strong {
    font-size: 16px;
    color: #10b981;
    font-weight: 800;
}

/* CTA */
.maq-card-actions {
    margin-top: 20px;
}

.maq-card-cta {
    display: block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    text-align: center;
    padding: 14px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none !important;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    transition: transform 0.2s;
}

.maq-card-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 15px rgba(16, 185, 129, 0.3);
}


