/* ============================================
   ROTA AGÊNCIAS — WIZARD STYLES
   ============================================ */

:root {
    --ra-primary:   #0057b8;
    --ra-secondary: #00c4a7;
    --ra-accent:    #f97316;
    --ra-success:   #16a34a;
    --ra-danger:    #dc2626;
    --ra-bg:        #f8fafc;
    --ra-white:     #ffffff;
    --ra-border:    #e2e8f0;
    --ra-text:      #1e293b;
    --ra-muted:     #64748b;
    --ra-radius:    12px;
    --ra-shadow:    0 4px 24px rgba(0,0,0,.08);
    --ra-trans:     .22s ease;
}

/* WRAP */
.rota-wizard-wrap {
    max-width: 860px;
    margin: 2rem auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ra-text);
}

/* ============ PROGRESS ============ */
.rota-progress { margin-bottom: 2.5rem; }

.rota-progress-bar {
    height: 6px;
    background: var(--ra-border);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.rota-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ra-primary), var(--ra-secondary));
    border-radius: 99px;
    transition: width var(--ra-trans);
    width: 14.28%;
}

.rota-progress-steps {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
}

.rota-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: default;
    flex: 1;
}

.dot-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ra-border);
    color: var(--ra-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
    transition: background var(--ra-trans), color var(--ra-trans);
}

.dot-label {
    font-size: .65rem;
    color: var(--ra-muted);
    text-align: center;
    white-space: nowrap;
}

.rota-step-dot.active .dot-number {
    background: var(--ra-primary);
    color: #fff;
}

.rota-step-dot.done .dot-number {
    background: var(--ra-secondary);
    color: #fff;
}

/* ============ ETAPAS ============ */
.rota-etapa { display: none; animation: fadeIn .3s ease; }
.rota-etapa.active { display: block; }

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

.rota-etapa-titulo {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 .4rem;
    color: var(--ra-primary);
}

.rota-etapa-desc {
    color: var(--ra-muted);
    margin: 0 0 1.8rem;
    font-size: .95rem;
}

/* ============ MODELOS ============ */
.rota-modelos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.rota-modelo-card {
    position: relative;
    border: 2px solid var(--ra-border);
    border-radius: var(--ra-radius);
    padding: 1rem;
    cursor: pointer;
    transition: border-color var(--ra-trans), box-shadow var(--ra-trans);
    background: var(--ra-white);
}

.rota-modelo-card input[type="radio"] { display: none; }

.rota-modelo-card:hover {
    border-color: var(--ra-primary);
    box-shadow: var(--ra-shadow);
}

.rota-modelo-card:has(input:checked) {
    border-color: var(--ra-primary);
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(0,87,184,.15);
}

.rota-modelo-check {
    position: absolute;
    top: .75rem;
    right: .75rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ra-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--ra-trans);
}

.rota-modelo-check svg {
    width: 13px;
    height: 13px;
    stroke: #fff;
    stroke-width: 3;
    fill: none;
    opacity: 0;
    transition: opacity var(--ra-trans);
}

.rota-modelo-card:has(input:checked) .rota-modelo-check {
    background: var(--ra-primary);
}

.rota-modelo-card:has(input:checked) .rota-modelo-check svg {
    opacity: 1;
}

/* Preview de modelo */
.rota-modelo-preview {
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: .8rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
    background: var(--ra-bg);
}

.rota-modelo-preview .prev-banner {
    background: var(--ra-primary);
    border-radius: 4px;
    flex: 2;
    opacity: .7;
}

.rota-modelo-preview .prev-servicos,
.rota-modelo-preview .prev-pacotes {
    display: flex;
    gap: 4px;
    flex: 1;
}

.rota-modelo-preview .prev-servicos span,
.rota-modelo-preview .prev-pacotes span {
    flex: 1;
    background: var(--ra-secondary);
    border-radius: 3px;
    opacity: .5;
}

.rota-modelo-preview .prev-galeria {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    flex: 1.5;
}

.rota-modelo-preview .prev-galeria span {
    background: var(--ra-accent);
    border-radius: 2px;
    opacity: .4;
}

.rota-modelo-preview .prev-contato,
.rota-modelo-preview .prev-form {
    background: var(--ra-border);
    border-radius: 3px;
    height: 18px;
}

.rota-modelo-preview .prev-depoimentos {
    background: #fef3c7;
    border-radius: 3px;
    flex: 1;
}

.rota-modelo-preview .prev-hero {
    background: linear-gradient(135deg, var(--ra-primary), var(--ra-secondary));
    border-radius: 4px;
    flex: 3;
    opacity: .7;
}

.rota-modelo-preview .prev-cta {
    background: var(--ra-accent);
    border-radius: 4px;
    height: 20px;
    opacity: .6;
}

.rota-modelo-info strong { font-size: .9rem; display: block; margin-bottom: 2px; }
.rota-modelo-info p { font-size: .78rem; color: var(--ra-muted); margin: 0; }

/* ============ FORMULÁRIO ============ */
.rota-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.rota-campo { display: flex; flex-direction: column; gap: .35rem; }
.rota-campo-full { grid-column: 1 / -1; }

.rota-campo label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--ra-text);
}

.rota-campo .obrig { color: var(--ra-danger); }

.rota-campo input[type="text"],
.rota-campo input[type="email"],
.rota-campo input[type="tel"],
.rota-campo input[type="url"],
.rota-campo textarea,
.rota-campo select {
    width: 100%;
    padding: .65rem .9rem;
    border: 1.5px solid var(--ra-border);
    border-radius: 8px;
    font-size: .9rem;
    color: var(--ra-text);
    background: var(--ra-white);
    transition: border-color var(--ra-trans), box-shadow var(--ra-trans);
    box-sizing: border-box;
}

.rota-campo input:focus,
.rota-campo textarea:focus,
.rota-campo select:focus {
    outline: none;
    border-color: var(--ra-primary);
    box-shadow: 0 0 0 3px rgba(0,87,184,.12);
}

.rota-campo small {
    font-size: .75rem;
    color: var(--ra-muted);
}

/* Redes sociais */
.rota-redes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
}

.rota-rede-campo {
    display: flex;
    align-items: center;
    gap: .4rem;
    border: 1.5px solid var(--ra-border);
    border-radius: 8px;
    padding: .4rem .7rem;
    background: var(--ra-white);
}

.rede-icon { font-size: 1.1rem; }

.rota-rede-campo input {
    border: none;
    outline: none;
    width: 100%;
    font-size: .85rem;
    background: transparent;
}

/* ============ UPLOAD ============ */
.rota-upload-area {
    position: relative;
    border: 2px dashed var(--ra-border);
    border-radius: var(--ra-radius);
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color var(--ra-trans), background var(--ra-trans);
    overflow: hidden;
}

.rota-upload-area:hover { border-color: var(--ra-primary); background: #eff6ff; }

.rota-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.rota-upload-placeholder {
    text-align: center;
    padding: 1.5rem;
    pointer-events: none;
}

.rota-upload-placeholder svg {
    width: 48px;
    height: 48px;
    stroke: var(--ra-muted);
    stroke-width: 1.5;
    fill: none;
    margin-bottom: .5rem;
}

.rota-upload-placeholder p {
    margin: 0;
    font-size: .9rem;
    color: var(--ra-muted);
}

.rota-upload-placeholder small {
    font-size: .75rem;
    color: var(--ra-border);
}

#bannerPreview {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

.rota-galeria-previews {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .75rem;
}

.rota-galeria-previews img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

/* ============ REPEATER ============ */
.rota-repeater { display: flex; flex-direction: column; gap: .5rem; margin-bottom: .5rem; }

.rota-repeater-item {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.rota-repeater-item input {
    flex: 1;
    padding: .6rem .8rem;
    border: 1.5px solid var(--ra-border);
    border-radius: 8px;
    font-size: .88rem;
}

.rota-repeater-remove {
    background: none;
    border: 1.5px solid var(--ra-border);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: var(--ra-muted);
    font-size: .8rem;
    transition: border-color var(--ra-trans), color var(--ra-trans);
}

.rota-repeater-remove:hover { border-color: var(--ra-danger); color: var(--ra-danger); }

/* ============ MAPA ============ */
.rota-mapa-preview {
    border-radius: var(--ra-radius);
    overflow: hidden;
    border: 1.5px solid var(--ra-border);
}

/* ============ PLANOS ============ */
.rota-planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.rota-plano-card {
    position: relative;
    border: 2px solid var(--ra-border);
    border-radius: var(--ra-radius);
    padding: 1.5rem 1rem;
    cursor: pointer;
    text-align: center;
    transition: border-color var(--ra-trans), box-shadow var(--ra-trans);
    background: var(--ra-white);
}

.rota-plano-card input[type="radio"] { display: none; }

.rota-plano-card:hover {
    border-color: var(--ra-primary);
    box-shadow: var(--ra-shadow);
}

.rota-plano-card:has(input:checked) {
    border-color: var(--ra-primary);
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(0,87,184,.15);
}

.rota-plano-card.destaque {
    border-color: var(--ra-secondary);
}

.plano-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ra-secondary);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    white-space: nowrap;
}

.plano-icon { font-size: 2rem; margin-bottom: .5rem; }
.plano-nome { font-size: 1.3rem; font-weight: 700; color: var(--ra-primary); }
.plano-preco { font-size: .85rem; color: var(--ra-muted); margin-bottom: .4rem; }
.plano-desc { font-size: .8rem; color: var(--ra-muted); }

.rota-info-pagamento {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    color: var(--ra-muted);
    background: var(--ra-bg);
    padding: .75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--ra-border);
}

.rota-info-pagamento svg { fill: var(--ra-muted); flex-shrink: 0; }

/* ============ URL PREVIEW ============ */
.rota-url-preview {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--ra-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--ra-white);
}

.url-base {
    background: var(--ra-bg);
    padding: .65rem .8rem;
    font-size: .82rem;
    color: var(--ra-muted);
    white-space: nowrap;
    border-right: 1.5px solid var(--ra-border);
}

.rota-url-preview input {
    flex: 1;
    border: none;
    padding: .65rem .8rem;
    font-size: .88rem;
    outline: none;
}

.rota-slug-status {
    font-size: .8rem;
    margin-top: .3rem;
    min-height: 1.2em;
}

.rota-slug-status.disponivel { color: var(--ra-success); }
.rota-slug-status.indisponivel { color: var(--ra-danger); }

.rota-url-final {
    background: var(--ra-bg);
    border: 1.5px solid var(--ra-border);
    border-radius: 8px;
    padding: .75rem 1rem;
    font-size: .88rem;
    word-break: break-all;
}

.rota-url-final a { color: var(--ra-primary); text-decoration: none; font-weight: 500; }
.rota-url-final a:hover { text-decoration: underline; }

/* ============ RESUMO ============ */
.rota-resumo {
    background: var(--ra-bg);
    border: 1.5px solid var(--ra-border);
    border-radius: var(--ra-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.rota-resumo-item {
    display: flex;
    gap: 1rem;
    padding: .5rem 0;
    border-bottom: 1px solid var(--ra-border);
    font-size: .9rem;
}

.rota-resumo-item:last-child { border-bottom: none; }
.rota-resumo-item .resumo-label { font-weight: 600; min-width: 140px; color: var(--ra-primary); }
.rota-resumo-item .resumo-valor { color: var(--ra-text); }

/* ============ TERMOS ============ */
.rota-termos { margin-top: 1rem; }

.rota-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .88rem;
    cursor: pointer;
    line-height: 1.5;
}

.rota-checkbox-label input { margin-top: 2px; flex-shrink: 0; }
.rota-checkbox-label a { color: var(--ra-primary); }

/* ============ NAVEGAÇÃO ============ */
.rota-navegacao {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ra-border);
    gap: 1rem;
}

/* ============ BOTÕES ============ */
.rota-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .72rem 1.8rem;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--ra-trans);
    text-decoration: none;
    white-space: nowrap;
}

.rota-btn-primary {
    background: var(--ra-primary);
    color: #fff;
    border-color: var(--ra-primary);
}

.rota-btn-primary:hover {
    background: #004494;
    border-color: #004494;
}

.rota-btn-outline {
    background: transparent;
    color: var(--ra-primary);
    border-color: var(--ra-primary);
}

.rota-btn-outline:hover {
    background: var(--ra-primary);
    color: #fff;
}

.rota-btn-success {
    background: var(--ra-success);
    color: #fff;
    border-color: var(--ra-success);
}

.rota-btn-success:hover { background: #15803d; border-color: #15803d; }

.rota-btn-ghost {
    background: transparent;
    border: 1.5px dashed var(--ra-border);
    color: var(--ra-primary);
    padding: .5rem 1rem;
    border-radius: 8px;
    font-size: .85rem;
    cursor: pointer;
    transition: border-color var(--ra-trans);
}

.rota-btn-ghost:hover { border-color: var(--ra-primary); }

/* ============ ERROS ============ */
.rota-campo-erro {
    color: var(--ra-danger);
    font-size: .82rem;
    margin: .3rem 0 0;
}

/* ============ SUCESSO ============ */
.rota-sucesso {
    text-align: center;
    padding: 3rem 2rem;
    animation: fadeIn .4s ease;
}

.sucesso-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--ra-success);
    color: #fff;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.rota-sucesso h2 { font-size: 1.8rem; color: var(--ra-success); margin-bottom: .5rem; }
.rota-sucesso p { color: var(--ra-muted); margin-bottom: .5rem; }

.sucesso-acoes { margin-top: 1.5rem; }

/* ============ LOADER ============ */
.rota-loader {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    gap: 1rem;
}

.rota-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--ra-border);
    border-top-color: var(--ra-primary);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============ GOOGLE MAPS FIELD ============ */
.rota-maps-instrucoes {
    background: #f8fafc;
    border: 1.5px solid var(--ra-border);
    border-radius: 8px;
    padding: .9rem 1.1rem;
    font-size: .82rem;
    color: var(--ra-muted);
    margin-top: .5rem;
}

.rota-maps-instrucoes strong { color: var(--ra-text); }

.rota-maps-instrucoes ol {
    margin: .4rem 0 .5rem 1.1rem;
    padding: 0;
    line-height: 1.8;
}

.rota-maps-alternativa {
    margin: .5rem 0 0;
    padding-top: .5rem;
    border-top: 1px solid var(--ra-border);
    color: #94a3b8;
    font-size: .78rem;
}

.rota-maps-alternativa code {
    background: #e2e8f0;
    border-radius: 4px;
    padding: 1px 5px;
    font-size: .75rem;
}

.rota-maps-erro {
    color: var(--ra-danger);
    font-size: .82rem;
    margin-top: .4rem;
    padding: .5rem .8rem;
    background: #fee2e2;
    border-radius: 6px;
    border-left: 3px solid var(--ra-danger);
}

.rota-maps-ok {
    font-size: .8rem;
    color: var(--ra-success);
    margin: .4rem 0 0;
}

/* ============ BOTÃO PREVIEW ============ */
.rota-preview-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0 1.2rem;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    border: 1.5px solid #bfdbfe;
    border-radius: var(--ra-radius);
}

.rota-btn-preview {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(135deg, var(--ra-primary), var(--ra-secondary));
    color: #fff;
    border: none;
    padding: .75rem 1.6rem;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity var(--ra-trans), transform var(--ra-trans);
    box-shadow: 0 4px 16px rgba(0,87,184,.25);
}

.rota-btn-preview:hover {
    opacity: .92;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,87,184,.35);
}

.rota-preview-hint {
    font-size: .82rem;
    color: var(--ra-muted);
}

/* ============ MODAL DE PREVIEW ============ */
.rota-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(15, 23, 42, .85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn .25s ease;
}

.rota-preview-modal-inner {
    background: #f1f5f9;
    border-radius: 16px;
    width: 100%;
    max-width: 900px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,.4);
}

/* Barra estilo browser */
.rota-preview-modal-bar {
    background: #e2e8f0;
    padding: .6rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    border-bottom: 1px solid #cbd5e1;
}

.rota-preview-bar-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.rota-preview-bar-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.rota-preview-bar-dots span:nth-child(1) { background: #fc5f57; }
.rota-preview-bar-dots span:nth-child(2) { background: #febc2e; }
.rota-preview-bar-dots span:nth-child(3) { background: #27c840; }

.rota-preview-bar-url {
    flex: 1;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: .3rem .75rem;
    font-size: .78rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: .4rem;
    overflow: hidden;
    white-space: nowrap;
}

.rota-preview-bar-url svg { flex-shrink: 0; stroke: #94a3b8; }
#previewUrlText { overflow: hidden; text-overflow: ellipsis; }

.rota-preview-fechar {
    display: flex;
    align-items: center;
    gap: .35rem;
    background: none;
    border: 1.5px solid #94a3b8;
    border-radius: 6px;
    padding: .3rem .75rem;
    font-size: .8rem;
    color: #475569;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color var(--ra-trans), color var(--ra-trans);
    flex-shrink: 0;
}

.rota-preview-fechar:hover { border-color: #475569; color: #1e293b; }

/* Área scrollável */
.rota-preview-scroll {
    flex: 1;
    overflow-y: auto;
    background: #fff;
}

.rota-preview-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    min-height: 400px;
}

/* Footer do modal */
.rota-preview-modal-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: .85rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.rota-preview-aviso {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    color: #94a3b8;
    margin: 0;
}

.rota-preview-aviso svg { fill: #94a3b8; flex-shrink: 0; }

/* ===== ESTILOS INTERNOS DO PREVIEW ===== */
/* (isolados dentro de .rota-preview-content para não vazar) */
.rota-preview-content .pv-hero {
    min-height: 260px;
    background: linear-gradient(135deg, #0057b8, #00c4a7);
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.rota-preview-content .pv-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .45;
}

.rota-preview-content .pv-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75), transparent 55%);
}

.rota-preview-content .pv-hero-body {
    position: relative;
    z-index: 1;
    padding: 2rem;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.rota-preview-content .pv-hero-body h1 {
    font-size: 1.9rem;
    font-weight: 800;
    margin: 0 0 .4rem;
    line-height: 1.2;
}

.rota-preview-content .pv-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    font-size: .85rem;
    opacity: .9;
}

.rota-preview-content .pv-body {
    padding: 2rem;
    max-width: 860px;
    margin: 0 auto;
}

.rota-preview-content .pv-section { margin-bottom: 2rem; }

.rota-preview-content .pv-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0057b8;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: .4rem;
    margin: 0 0 1rem;
}

.rota-preview-content .pv-desc {
    color: #64748b;
    font-size: .9rem;
    line-height: 1.75;
    margin: 0;
}

.rota-preview-content .pv-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.rota-preview-content .pv-chip {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    border-radius: 99px;
    padding: .3rem .85rem;
    font-size: .82rem;
    font-weight: 600;
}

.rota-preview-content .pv-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: .8rem;
}

.rota-preview-content .pv-card {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    background: #f8fafc;
    font-size: .85rem;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
}

.rota-preview-content .pv-card .pv-card-icon { font-size: 1.5rem; margin-bottom: .4rem; }

.rota-preview-content .pv-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: .5rem;
}

.rota-preview-content .pv-galeria img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

/* Placeholder galeria */
.rota-preview-content .pv-galeria-placeholder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
}

.rota-preview-content .pv-galeria-placeholder span {
    height: 90px;
    border-radius: 8px;
    background: #e2e8f0;
    display: block;
}

.rota-preview-content .pv-info-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-bottom: 2rem;
}

.rota-preview-content .pv-info-item {
    font-size: .82rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: .3rem;
}

.rota-preview-content .pv-lead {
    background: linear-gradient(135deg, #0057b8, #00c4a7);
    padding: 2rem;
    border-radius: 12px;
    color: #fff;
}

.rota-preview-content .pv-lead h3 {
    font-size: 1.2rem;
    margin: 0 0 1rem;
}

.rota-preview-content .pv-lead-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
}

.rota-preview-content .pv-lead-field {
    background: rgba(255,255,255,.2);
    border-radius: 6px;
    padding: .6rem .8rem;
    font-size: .8rem;
    color: rgba(255,255,255,.7);
}

.rota-preview-content .pv-lead-field.full { grid-column: 1/-1; }

.rota-preview-content .pv-lead-btn {
    display: inline-block;
    margin-top: .8rem;
    background: #fff;
    color: #0057b8;
    border-radius: 6px;
    padding: .6rem 1.5rem;
    font-weight: 700;
    font-size: .88rem;
}

/* Badge modelo no canto */
.rota-preview-badge {
    position: absolute;
    top: .8rem;
    right: .8rem;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: .25rem .65rem;
    border-radius: 99px;
    backdrop-filter: blur(4px);
    z-index: 5;
}

/* ============ RESPONSIVO ============ */
@media (max-width: 600px) {
    .rota-form-grid { grid-template-columns: 1fr; }
    .rota-modelos-grid { grid-template-columns: 1fr; }
    .rota-planos-grid { grid-template-columns: 1fr; }
    .rota-redes-grid { grid-template-columns: 1fr; }
    .dot-label { display: none; }
    .rota-etapa-titulo { font-size: 1.2rem; }
    .rota-btn { padding: .65rem 1.2rem; font-size: .88rem; }
}
