/* ============================================
   COTADOR MODAL CENTRALIZADO (5 passos)
   ============================================ */

/* Overlay escuro */
.cotador-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
    overflow: hidden;
}

.cotador-overlay.open {
    display: flex;
}

/* Modal */
.cotador-modal {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    width: 100%;
    max-width: 640px;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    animation: modalIn 0.3s ease;
    position: relative;
}

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

.cotador-inner {
    padding: 1.5rem;
}

/* Header do painel */
.cotador-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cotador-header h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cotador-close {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-size: 1rem;
}

.cotador-close:hover {
    background: rgba(255,255,255,0.3);
}

/* Progress bar */
.cotador-progress {
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.cotador-progress-bar {
    height: 100%;
    background: #fff;
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* Steps indicator */
.cotador-steps-indicator {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.step-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step-dot.active {
    background: #fff;
    color: #667eea;
}

.step-dot.done {
    background: rgba(255,255,255,0.5);
    color: #667eea;
    cursor: pointer;
}

.step-dot.done:hover {
    background: rgba(255,255,255,0.75);
    transform: scale(1.1);
}

.step-dot.active {
    cursor: default;
}

/* Botao Continuar no passo 1 */
.btn-continuar-wrapper {
    margin-top: 12px;
    text-align: center;
}

.btn-continuar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-continuar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-continuar i {
    font-size: 0.85rem;
}

/* Steps */
.cotador-step {
    display: none;
    animation: fadeSlideIn 0.3s ease;
}

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

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

.cotador-step h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.step-desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Botao voltar */
.cotador-voltar {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    cursor: pointer;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    transition: color 0.2s;
}

.cotador-voltar:hover {
    color: #fff;
}

/* Select/Input base */
.cotador-field {
    width: 100%;
}

.cotador-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 0.75rem;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.cotador-select:focus {
    border-color: #fff;
}

.cotador-select option {
    color: #333;
    background: #fff;
}

input[type="date"].cotador-select {
    color-scheme: dark;
}

/* Cards de opcao */
.cotador-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding-top: 4px;
}

.cotador-card {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 0.75rem;
    padding: 1rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    font-family: inherit;
}

.cotador-card:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.cotador-card i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.cotador-card span {
    font-weight: 600;
    font-size: 0.95rem;
}

.cotador-card small {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

/* Card de periodo */
.cotador-card.periodo-card {
    text-align: left;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.cotador-card.periodo-card .periodo-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.cotador-card.periodo-card .periodo-info {
    flex: 1;
    min-width: 0;
}

.cotador-card.periodo-card .periodo-info span {
    display: block;
    font-size: 0.9rem;
}

.cotador-card.periodo-card .periodo-info small {
    display: block;
    margin-top: 0.15rem;
}

/* Card selecionado */
.cotador-card.selected {
    background: rgba(255,255,255,0.3);
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

/* Acordeao */
.acordeao-item {
    background: rgba(255,255,255,0.05);
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.acordeao-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    gap: 0.5rem;
    transition: background 0.2s;
}

.acordeao-header:hover {
    background: rgba(255,255,255,0.05);
}

.acordeao-titulo {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.acordeao-titulo i {
    font-size: 0.75rem;
}

.acordeao-resumo {
    flex: 1;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: right;
    display: none;
}

.acordeao-seta {
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    transition: transform 0.3s;
}

/* Item aberto */
.acordeao-item.aberto {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
}

.acordeao-item.aberto .acordeao-seta {
    transform: rotate(180deg);
}

.acordeao-item.aberto .acordeao-resumo {
    display: none !important;
}

/* Item fechado (preenchido) */
.acordeao-item.preenchido:not(.aberto) .acordeao-resumo {
    display: block;
}

.acordeao-item.preenchido:not(.aberto) .acordeao-titulo {
    color: rgba(255,255,255,0.9);
}

.acordeao-item.preenchido .acordeao-header::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #34d399;
    font-size: 0.7rem;
}

/* Corpo do acordeao */
.acordeao-corpo {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1rem;
}

.acordeao-item.aberto .acordeao-corpo {
    max-height: 500px;
    padding: 0 1rem 1rem;
}

/* Loading */
.cotador-loading {
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 1rem;
    grid-column: 1 / -1;
    font-size: 0.9rem;
}

/* Resultado */
.cotador-resultado {
    text-align: center;
}

.resultado-erro {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    color: #fca5a5;
}

.resultado-erro i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.resultado-sucesso {
    background: rgba(255,255,255,0.08);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.resultado-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.resultado-valor {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.resultado-detalhes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.detalhe-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    background: rgba(255,255,255,0.05);
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
}

.detalhe-item i {
    color: rgba(255,255,255,0.5);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.resultado-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff !important;
    color: #667eea !important;
    font-weight: 700;
    padding: 0.85rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.resultado-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.resultado-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Botao Cotar no header */
#btnCotar {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* ============================================
   FORMULARIOS (passos 7 e 8)
   ============================================ */

.cotador-form {
    text-align: center;
}

.cotador-form-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.cotador-form-group {
    text-align: left;
}

.cotador-form-group label {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cotador-input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 0.6rem;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.cotador-input:focus {
    border-color: #fff;
    background: rgba(255,255,255,0.15);
}

.cotador-input::placeholder {
    color: rgba(255,255,255,0.35);
}

/* Hint do CEP */
.cotador-field-hint {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.2rem;
    min-height: 1rem;
}

.cotador-field-hint.ok {
    color: #86efac;
}

.cotador-field-hint.erro {
    color: #fca5a5;
}

/* Erro nos formularios */
.cotador-form-erro {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: #fca5a5;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

/* Botao do formulario */
.cotador-form .resultado-btn {
    margin-top: 0.75rem;
}

/* ============================================
   CONFIRMACAO (passo 9)
   ============================================ */

.cotador-confirmacao {
    text-align: center;
}

.confirmacao-icon {
    font-size: 3rem;
    color: #86efac;
    margin-bottom: 0.5rem;
}

.cotador-confirmacao h4 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.confirmacao-codigo {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    background: rgba(255,255,255,0.15);
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    font-family: monospace;
}

.confirmacao-msg {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .cotador-inner {
        padding: 1rem;
    }
    
    .cotador-modal {
        max-height: calc(100vh - 1rem);
        border-radius: 0.75rem;
    }
    
    .cotador-cards {
        grid-template-columns: 1fr;
    }
    
    .resultado-valor {
        font-size: 2rem;
    }
    
    .resultado-detalhes {
        grid-template-columns: 1fr;
    }
    
    .cotador-form-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .step-dot {
        width: 22px;
        height: 22px;
        font-size: 0.6rem;
    }
    
    .cotador-steps-indicator {
        gap: 0.3rem;
    }
    
    .header-actions .btn.btn-outline {
        display: none;
    }
}

@media (max-width: 480px) {
    .cotador-overlay {
        padding: 0.5rem;
    }
    
    .cotador-header h3 {
        font-size: 1.05rem;
    }
    
    .cotador-step h4 {
        font-size: 1rem;
    }
}

/* Dica do periodo (aparece apos selecionar) */
.periodo-dica {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: linear-gradient(135deg, #fef9c3 0%, #fef3c7 100%);
    border: 1px solid #fbbf24;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 8px 0 4px 0;
    animation: dicaFadeIn 0.3s ease;
}

@keyframes dicaFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.periodo-dica-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #f59e0b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.periodo-dica-texto {
    font-size: 0.82rem;
    color: #92400e;
    line-height: 1.4;
}

/* ============================================
   TERMOS DE ACEITE - Passo 4
   ============================================ */

.termos-aceite-box {
    margin-top: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.termos-aceite-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border-bottom: 1px solid #99f6e4;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f766e;
}

.termos-aceite-header i {
    font-size: 1rem;
    color: #14b8a6;
}

.termos-versao {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 500;
    background: #14b8a6;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
}

.termos-aceite-scroll {
    max-height: 200px;
    overflow-y: auto;
    padding: 16px;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #475569;
    scroll-behavior: smooth;
    text-align: left;
}

.termos-aceite-scroll h1 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 16px 0 8px;
}
.termos-aceite-scroll h1:first-child { margin-top: 0; }
.termos-aceite-scroll h2 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin: 14px 0 6px;
}
.termos-aceite-scroll h3 {
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    margin: 10px 0 4px;
}
.termos-aceite-scroll p {
    margin-bottom: 8px;
}
.termos-aceite-scroll ul, .termos-aceite-scroll ol {
    margin: 6px 0 10px 16px;
    padding-left: 1rem;
}
.termos-aceite-scroll ul {
    list-style-type: disc;
}
.termos-aceite-scroll ol {
    list-style-type: decimal;
}
.termos-aceite-scroll li {
    margin-bottom: 3px;
    list-style: inherit;
}
.termos-aceite-scroll strong {
    color: #1e293b;
}
/* Quill indent classes */
.termos-aceite-scroll .ql-indent-1 { padding-left: 1.5rem; }
.termos-aceite-scroll .ql-indent-2 { padding-left: 3rem; }
.termos-aceite-scroll .ql-indent-3 { padding-left: 4.5rem; }

.termos-scroll-fim {
    display: none;
    text-align: center;
    padding: 12px;
    margin-top: 8px;
    color: #16a34a;
    font-weight: 600;
    font-size: 0.82rem;
    background: #f0fdf4;
    border-radius: 8px;
}
.termos-scroll-fim.visible {
    display: block;
}

.termos-scroll-hint {
    text-align: center;
    padding: 8px;
    font-size: 0.78rem;
    color: #64748b;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    animation: pulseHint 2s ease-in-out infinite;
}
.termos-scroll-hint.hidden {
    display: none;
}

.termos-timer-hint {
    text-align: center;
    padding: 8px;
    font-size: 0.78rem;
    color: #ea580c;
    background: #fff7ed;
    border-top: 1px solid #fed7aa;
}
.termos-timer-hint.hidden {
    display: none;
}

@keyframes pulseHint {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.termos-aceite-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    cursor: pointer;
    font-size: 0.85rem;
    color: #334155;
    transition: background 0.2s;
    user-select: none;
}
.termos-aceite-check:hover {
    background: #f1f5f9;
}
.termos-aceite-check.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.termos-aceite-check input[type="checkbox"] {
    display: none;
}

.termos-aceite-check .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    background: white;
}

.termos-aceite-check input:checked + .checkmark {
    background: #14b8a6;
    border-color: #14b8a6;
}

.termos-aceite-check input:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 11px;
}

.termos-aceite-check input:disabled + .checkmark {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

#btnConfirmar:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #94a3b8;
}

/* ============================================
   PRIVACIDADE (LGPD) - Consentimento separado
   ============================================ */

#privacidadeAceiteArea {
    margin-top: 12px;
}

.termos-aceite-box--privacidade .privacidade-resumo {
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.08);
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.termos-aceite-box--privacidade .termos-aceite-check input:checked + .checkmark {
    background: #059669;
    border-color: #059669;
}

/* Modal inline para visualizar Politica de Privacidade */
.termos-modal-inline {
    margin-top: 8px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.25);
    background: #fff;
}

.termos-modal-inline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.termos-modal-inline-body {
    max-height: 250px;
    overflow-y: auto;
    padding: 16px;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #334155;
    background: #fff;
}

.termos-modal-inline-body h1,
.termos-modal-inline-body h2,
.termos-modal-inline-body h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0.8rem 0 0.4rem;
}

.termos-modal-inline-body p {
    margin-bottom: 0.5rem;
}

.termos-modal-inline-body ul,
.termos-modal-inline-body ol {
    margin: 0.4rem 0;
    padding-left: 1.5rem;
}

.termos-modal-inline-body ul { list-style-type: disc; }
.termos-modal-inline-body ol { list-style-type: decimal; }
.termos-modal-inline-body li { margin-bottom: 0.15rem; }

.termos-modal-inline-footer {
    padding: 8px 16px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.termos-modal-inline-btn {
    background: #f1f5f9;
    border: none;
    padding: 8px 24px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: background 0.2s;
}

.termos-modal-inline-btn:hover {
    background: #e2e8f0;
}

/* ============================================
   STEP CONFERÊNCIA (Review)
   ============================================ */

.review-summary {
    background: rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
}

.review-summary h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
    font-weight: 600;
}

.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.review-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
}

.review-item i {
    color: rgba(255,255,255,0.4);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.review-item.review-item-full {
    grid-column: 1 / -1;
}

.review-valor-box {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    margin-bottom: 16px;
}

.review-valor-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.review-valor-total {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 4px 0;
}

.review-valor-detalhe {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
}

.review-aviso-indicacao {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #fef3c7;
}

.review-aviso-indicacao i {
    color: #fbbf24;
    flex-shrink: 0;
}

/* Termos padronizados (preview + modal) */
.termo-card {
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}

.termo-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
}

.termo-card-header .termo-badge {
    margin-left: auto;
    font-size: 0.68rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 10px;
    color: #fff;
}

.termo-card-preview {
    max-height: 100px;
    overflow: hidden;
    padding: 12px 14px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #64748b;
    position: relative;
}

.termo-card-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, rgba(255,255,255,0.95));
}

.termo-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

.termo-card-link {
    font-size: 0.78rem;
    color: #6366f1;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
}

.termo-card-link:hover {
    color: #4f46e5;
}

.termo-card-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    color: #334155;
    user-select: none;
}

.termo-card-check input[type="checkbox"] {
    display: none;
}

.termo-card-check .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    background: white;
}

.termo-card-check input:checked + .checkmark {
    background: #14b8a6;
    border-color: #14b8a6;
}

.termo-card-check input:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 10px;
}

/* Bloquear navegação pós-confirmação */
.step-dot.locked {
    opacity: 0.3;
    cursor: not-allowed !important;
    pointer-events: none;
}

@media (max-width: 768px) {
    .review-grid {
        grid-template-columns: 1fr;
    }
    .review-valor-total {
        font-size: 1.6rem;
    }
}