/* ==========================================================
   ABM Wizard Plano — wizard-plano.css v1.1
   Paleta: #1B2A4A (azul marinho), #8B6914 (dourado)
   ========================================================== */

.abm-wizard-plano { width: 100%; max-width: 720px; margin: 0 auto; font-family: 'Inter', -apple-system, sans-serif; }

/* Barra de passos */
.abm-wiz-steps { display: flex; align-items: center; gap: 6px; margin-bottom: 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid #EBE6DE; }
.abm-wiz-step { display: flex; align-items: center; gap: 6px; }
.abm-wiz-step-label { font-size: 13px; color: #B4B2A9; font-weight: 400; transition: color 0.2s; }
.abm-wiz-step.active .abm-wiz-step-label { color: #1B2A4A; font-weight: 500; }
.abm-wiz-step.done .abm-wiz-step-label { color: #5F5E5A; }
.abm-wiz-dot { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; border: 1.5px solid #DDD6CB; color: #B4B2A9; background: #fff; transition: all 0.2s; flex-shrink: 0; }
.abm-wiz-step.active .abm-wiz-dot { background: #1B2A4A; border-color: #1B2A4A; color: #fff; }
.abm-wiz-step.done .abm-wiz-dot { background: #48bb78; border-color: #48bb78; color: #fff; }
.abm-wiz-chevron { font-size: 14px; color: #DDD6CB; line-height: 1; margin: 0 2px; }

/* Titulos */
.abm-wiz-title { font-size: 20px; font-weight: 600; color: #1B2A4A; margin: 0 0 4px; line-height: 1.3; font-family: 'Lora', Georgia, serif; }
.abm-wiz-subtitle { font-size: 14px; color: #5F5E5A; margin: 0 0 1.5rem; line-height: 1.4; }
.abm-wiz-summary { display: inline-block; font-size: 12px; color: #5F5E5A; background: #F5F2ED; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; font-weight: 500; }

/* Step 0: Segmento */
.abm-wiz-seg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.abm-wiz-seg-btn { padding: 1.5rem 1rem 1.25rem; border-radius: 12px; border: 1.5px solid #DDD6CB; background: #fff; cursor: pointer; text-align: center; transition: all 0.15s ease; font-family: inherit; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.abm-wiz-seg-btn:hover { border-color: #1B2A4A; background: #FDFCFA; }
.abm-wiz-seg-btn.selected { border-color: #1B2A4A; background: #f0f2f8; }
.abm-wiz-seg-label { display: block; font-size: 14px; font-weight: 500; color: #5F5E5A; line-height: 1.3; }
.abm-wiz-seg-range { display: block; font-size: 20px; font-weight: 700; color: #1B2A4A; font-family: 'Lora', Georgia, serif; line-height: 1.2; }

/* Step 1: Anos */
.abm-wiz-ano-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.abm-wiz-ano-btn { padding: 14px 10px; border-radius: 10px; border: 1.5px solid #DDD6CB; background: #fff; cursor: pointer; text-align: center; transition: all 0.15s ease; font-family: inherit; }
.abm-wiz-ano-btn:hover { border-color: #1B2A4A; background: #FDFCFA; }
.abm-wiz-ano-btn.selected { border-color: #1B2A4A; background: #f0f2f8; }
.abm-wiz-ano-btn strong { display: block; font-size: 16px; font-weight: 600; color: #1B2A4A; }
.abm-wiz-ano-btn span { font-size: 12px; color: #888780; }

/* Step 2: Tipo */
.abm-wiz-tipo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.abm-wiz-tipo-card { padding: 1.5rem 1rem; border-radius: 12px; border: 1.5px solid #DDD6CB; background: #fff; cursor: pointer; text-align: center; transition: all 0.15s ease; font-family: inherit; display: flex; flex-direction: column; align-items: center; gap: 0; }
.abm-wiz-tipo-card:hover { border-color: #1B2A4A; background: #FDFCFA; }
.abm-wiz-tipo-card.selected { border-color: #8B6914; border-width: 2px; background: #FDFAF3; }
.abm-wiz-tipo-icon { font-size: 24px; margin-bottom: 8px; display: block; line-height: 1; }
.abm-wiz-tipo-nome { font-size: 15px; font-weight: 600; color: #1B2A4A; display: block; margin-bottom: 6px; font-family: 'Lora', Georgia, serif; }
.abm-wiz-tipo-desc { font-size: 12px; color: #5F5E5A; line-height: 1.45; }

/* Step 3: Cards */
.abm-wiz-plano-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: start; }
.abm-wiz-card { position: relative; background: #fff; border: 1.5px solid #DDD6CB; border-radius: 14px; padding: 1.75rem 1.5rem 1.5rem; display: flex; flex-direction: column; }
.abm-wiz-card-destaque { border: 2px solid #8B6914; }
.abm-wiz-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #8B6914; color: #fff; font-size: 11px; font-weight: 500; padding: 3px 14px; border-radius: 20px; white-space: nowrap; letter-spacing: 0.02em; }
.abm-wiz-card-header { margin-bottom: 1rem; }
.abm-wiz-card-nome { font-size: 17px; font-weight: 600; color: #1B2A4A; margin: 0 0 4px; line-height: 1.3; font-family: 'Lora', Georgia, serif; }
.abm-wiz-card-desc { font-size: 13px; color: #5F5E5A; margin: 0; line-height: 1.45; }

/* Features */
.abm-wiz-features { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.abm-wiz-features li { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.3; }
.abm-wiz-feat-ok { color: #2D3436; }
.abm-wiz-feat-no { color: #B4B2A9; }
.abm-wiz-feat-icon { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }
.abm-wiz-feat-ok .abm-wiz-feat-icon { background: #1B2A4A; color: #fff; }
.abm-wiz-feat-no .abm-wiz-feat-icon { background: #EBE6DE; color: #B4B2A9; }

/* Price */
.abm-wiz-price-area { border-top: 1px solid #EBE6DE; padding-top: 1rem; margin-top: auto; margin-bottom: 1rem; display: flex; flex-direction: column; gap: 2px; }
.abm-wiz-price-old { display: block; font-size: 13px; color: #B4B2A9; text-decoration: line-through; }
.abm-wiz-price-now { display: block; font-size: 26px; font-weight: 600; color: #1B2A4A; line-height: 1.1; }
.abm-wiz-price-sub { display: block; font-size: 12px; color: #888780; margin-top: 2px; }
.abm-wiz-price-na { font-size: 14px; color: #B4B2A9; font-style: italic; }

/* Buttons */
.abm-wiz-actions { display: flex; flex-direction: column; gap: 8px; }
.abm-wiz-btn { display: block; text-align: center; padding: 11px 16px; border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none !important; cursor: pointer; transition: all 0.15s ease; font-family: inherit; line-height: 1; border: none; }
.abm-wiz-btn-primary { background: #1B2A4A; color: #fff !important; border: 2px solid #1B2A4A; }
.abm-wiz-btn-primary:hover { background: #243560; border-color: #243560; color: #fff !important; }
.abm-wiz-btn-secondary { background: transparent; color: #1B2A4A !important; border: 1.5px solid #1B2A4A; }
.abm-wiz-btn-secondary:hover { background: #F5F2ED; color: #1B2A4A !important; }
.abm-wiz-btn-disabled { background: #EBE6DE; color: #B4B2A9 !important; border: 1.5px solid #DDD6CB; cursor: not-allowed; pointer-events: none; }
.abm-wiz-card-destaque .abm-wiz-btn-primary { background: #8B6914; border-color: #8B6914; }
.abm-wiz-card-destaque .abm-wiz-btn-primary:hover { background: #7A5C10; border-color: #7A5C10; }
.abm-wiz-card-destaque .abm-wiz-btn-secondary { color: #8B6914 !important; border-color: #8B6914; }
.abm-wiz-card-destaque .abm-wiz-btn-secondary:hover { background: #FAEEDA; }

/* Nav */
.abm-wiz-nav { margin-top: 1.5rem; }
.abm-wiz-back { font-size: 13px; color: #888780; cursor: pointer; background: none; border: none; padding: 6px 0; font-family: inherit; transition: color 0.15s; }
.abm-wiz-back:hover { color: #1B2A4A; }

/* Responsivo */
@media (max-width: 640px) {
    .abm-wiz-seg-grid, .abm-wiz-tipo-grid { grid-template-columns: 1fr; }
    .abm-wiz-plano-grid { grid-template-columns: 1fr; }
    .abm-wiz-steps { gap: 4px; }
    .abm-wiz-step-label { font-size: 11px; }
    .abm-wiz-dot { width: 22px; height: 22px; font-size: 11px; }
    .abm-wiz-title { font-size: 18px; }
    .abm-wiz-card { padding: 1.5rem 1.25rem 1.25rem; }
    .abm-wiz-seg-btn { padding: 1rem; }
    .abm-wiz-seg-range { font-size: 18px; }
}
@media (max-width: 480px) {
    .abm-wiz-chevron { display: none; }
    .abm-wiz-steps { justify-content: space-between; }
    .abm-wiz-ano-grid { grid-template-columns: repeat(3, 1fr); }
}
