
/* Destaques de preço na landing */
.preco-menor {
    font-size: 0.7em;
    color: #007bff;
    font-weight: 600;
    margin-left: 4px;
    margin-right: 2px;
}
.preco-verde {
    color: #28a745;
    font-weight: 900;
    font-size: 1.1em;
    letter-spacing: -1px;
}
/* =========================================
   M12 AUDIO LAB - TEMA "TRUST & CLEAN"
   Versão: Header Content Dark (Banner Interno)
   ========================================= */

/* --- CONFIGURAÇÕES GERAIS --- */
body {
    background-color: #f4f7f6;
    color: #333333;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 10px 10px;
}

.app-container {
    width: 100%;
    max-width: 1200px;
    /* background-color: #ffffff; */
    /* padding: 25px 30px 40px 30px; */
    padding: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    box-sizing: border-box;
    /* border: 1px solid #e1e1e1; */
}

/* --- CABEÇALHO (BANNER INTERNO ESCURO) --- */
.main-header {
    margin-bottom: 15px;
}

.header-content {
    /* O fundo escuro agora é aplicado apenas aqui */
    /* background: linear-gradient(135deg, #1a3b5d 0%, #0d1b2a 100%); */
    /* background-color: #999; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-radius: 15px;
    /* Cantos arredondados no banner */
    flex-wrap: wrap;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); */
    /* border-bottom: 3px solid #031b35; */
}

.logo-container {
    flex: 0 0 auto;
}

.main-logo {
    /* max-width: 250px; */
    width: 450px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto 0;
}

.header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
}

/* H1 Principal da Marca (SEO-Friendly) */
.brand-h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a3b5d;
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

/* Utility: visually hidden but available to screen readers */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.tagline {
    margin: 0;
    font-size: 1.05rem;
    color: #131314;
    /* Texto branco para o fundo escuro */
    line-height: 1.4;
    font-weight: 300;
}

.tagline strong {
    color: #131314;
    /* Azul vibrante para o nome da marca */
    font-weight: 800;
    display: block;
    margin-bottom: 2px;
}

.header-link {
    font-size: 0.85rem;
    color: #00a8ff;
    text-decoration: none;
    display: block;
    margin-top: 8px;
    font-weight: 600;
}

.header-link:hover {
    color: #131314;
}

/* Barra de Progresso (fora do banner escuro para clareza) */
.progress-bar {
    width: 100%;
    height: 6px;
    background: #eee;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.fill {
    height: 100%;
    width: 10%;
    background: linear-gradient(90deg, #0056b3, #00a8ff);
    transition: width 0.4s ease;
}

/* --- Botão Biblioteca de Jingles --- */
.btn-biblioteca:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5) !important;
}

/* --- GRID DE CARDS --- */
#step1 .card-grid {
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

#step1 .card {
    width: 100%;
    max-width: 500px;

}

#step1 .card:hover {
    /* transform: scale(1.05); */
    box-shadow: 0 20px 45px rgba(0, 123, 255, 0.2);
}

#step1 .card .icon {
    font-size: 40px;
    /* margin-bottom: 10px; */
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.3));
    margin: 20px;
}

#step1 .card h3 {
    color: #1a3b5d;
    font-weight: 800;
    font-size: 2.0rem;
    margin: 20px 0;
    margin-bottom: 0;
}

#step1 .card .sub-title {
    color: #4c5aa0;
    font-weight: 600;
    font-size: 0.9rem;
}

#step1 .card p {
    color: #555;
    line-height: 1.5;
    color: #1a3b5d;
    font-weight: bold;
    font-size: 0.9rem;
    margin: 20px 0;
}

.price-highlight {
    font-size: 1.2rem;
    font-weight: 900;
    color: #28a745;
}

.price-decimals {
    font-size: 0.5em;
    vertical-align: baseline;
}

#step1 .card .price {
    background: #007bff;
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 800;
    display: inline-block;
}

.highlight {
    font-weight: 800;
    color: #007bff;
}

/* --- NOVO TÍTULO PRINCIPAL (HERO HEADLINE) --- */
.hero-headline {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a3b5d;
    text-align: center;
    /* margin-bottom: 40px; */
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* Tagline dentro do card */
.card-tagline {
    color: #5a67d8;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
    margin-top: 15px;
}

/* --- FORMULÁRIOS & INPUTS (NEGRITO AO DIGITAR) --- */
.step {
    display: none;
    animation: fadeIn 0.4s;
}

.step.active {
    display: block;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.form-col {
    flex: 1;
}

label {
    display: block;
    font-size: 14px;
    color: #334155;
    margin: 6px;
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0;
}

input,
textarea,
select {
    width: 100%;
    padding: 16px 20px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700 !important;
    color: #1a3b5d !important;
    transition: 0.3s;
    margin-bottom: 4px !important;
}

::placeholder {
    font-weight: 400 !important;
    color: #aaa !important;
}

.helper-text {
    font-size: 12px;
    color: #94A3B8;
    margin-top: 4px;
    margin-bottom: 14px;
    margin-left: 6px;
    line-height: 1.4;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #007bff;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* --- BOTÕES --- */
button {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: 15px;
    text-transform: uppercase;
    transition: 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #0056b3, #007bff);
    color: white;
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.25);
}

.btn-back {
    background: transparent;
    color: #666;
    width: auto;
    padding: 8px 15px;
    margin-bottom: 5px;
    border: 1px solid #ddd;
}

/* --- RESUMO E REVISÃO --- */
.resumo-detalhes {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 15px;
}

/* === Inline Styles Migradas do index.php (ATUALIZADAS) === */
.btn-biblioteca {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent;
    color: #5a67d8;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 2px solid #667eea;
    box-shadow: none;
    margin-bottom: 10px;
}

.btn-biblioteca:hover {
    color: #0a7cff;
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5) !important;
    transform: translateY(-3px);
}

.btn-biblioteca-icon {
    font-size: 1.5rem;
    margin-right: 6px;
}

.biblioteca-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 18px;
    margin-top: 10px;
}

.card-overflow {
    position: relative;
    overflow: hidden;
}

.hide-on-mobile {
    display: block !important;
}

@media (max-width: 700px) {
    .hide-on-mobile {
        display: none !important;
    }
}

.input-link-ref {
    font-size: 0.98em;
    padding: 7px 10px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    width: 100%;
    margin-bottom: 8px;
}

.textarea-lyrics {
    font-size: 1.04em;
    padding: 10px 12px;
    border-radius: 7px;
    border: 1px solid #e0e0e0;
    width: 100%;
    min-height: 320px;
    resize: vertical;
    margin-bottom: 10px;
}

/* === Fim das Inline Styles Migradas === */

/* Prioridade para o campo de letra principal */
#reviewLyrics {
    width: 100%;
    border: 1px solid #E2E8F0;
    border-left: 4px solid #007bff;
    outline: none;
    background: #ffffff;
    font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #0f172a;
    resize: vertical;
    min-height: 370px;
    max-height: 24em;
    overflow-y: scroll;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.06);
    font-weight: 500;
    transition: box-shadow 0.18s ease, border-color 0.12s ease;
}

#reviewLyrics:focus {
    border-color: #0056b3;
    box-shadow: 0 6px 24px rgba(0, 86, 179, 0.12);
}

.mini-lyrics {
    background-color: #f9f9f9;
    border-left: 4px solid #007bff;
    padding: 15px;
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        padding: 10px;
        padding-top: 0;
        padding-bottom: 0px;
    }

    .logo-container {
        display: flex;
        /* justify-content: center; */
        width: 100%;
        /* margin-bottom: 15px; */
    }

    .main-logo {
        /* max-width: 200px; */
        width: 370px;
    }

    .header-text {
        text-align: center;
        padding-left: 0;
        margin-top: 0px;
    }

    .brand-h1 {
        font-size: 1rem;
        text-align: center;
    }

    .hide-mobile {
        display: none;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    #step1 .card {
        transform: scale(1);
        /* padding: 10px; */
    }

    .hide-on-mobile {
        display: none !important;
    }

    .substep-header {
        padding: 15px;
        margin-bottom: 20px;
    }

    .substep-header h3 {
        font-size: 1.1em;
    }

    .substep-header p {
        font-size: 0.85em;
    }

    .step-navigation {
        display: flex;
        /* Garante o uso do flexbox */
        flex-direction: row;
        /* Alinha os botões lado a lado */
        justify-content: space-between;
        /* Espaçamento entre os botões */
        gap: 10px;
    }

    .step-navigation .btn-primary,
    .step-navigation .btn-back {
        margin: 0 !important;
    }

    .music-preferences {
        padding: 10px !important;
    }

    /* Remover sombra do container principal em dispositivos móveis */
    .app-container {
        box-shadow: none;
    }

    .main-header {
        margin-bottom: 5px;
    }

    .hero-headline{
        font-size: 1.5rem;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden-item {
    display: none !important;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* --- BLOCO DE EXPLICAÇÃO DE PREÇO --- */
.pricing-explanation {
    margin-top: 20px;
    padding: 30px;
    background-color: #fcfcfc;
    border-radius: 15px;
    border: 1px dashed #ddd;
    text-align: center;
}

.pricing-explanation h3 {
    color: #1a3b5d;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefit-item span {
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
}

.benefit-item h3 {
    font-size: 0.99rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 700;
}

.benefit-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* Ajuste Mobile */
@media (max-width: 600px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Efeito de Preço Promocional no Card */
#step1 .card .price::before {
    content: "DE R$ 199,90 POR";
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    margin-bottom: -2px;
    letter-spacing: 1px;
}

/* Container dos botões */
.review-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    align-items: center;
}

/* Botão Secundário (Ajustar) - Mais discreto e elegante */
.btn-secondary {
    flex: 1;
    background: #f1f3f5;
    color: #495057;
    border: 1px solid #ced4da;
    padding: 15px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #e9ecef;
    color: #212529;
}

/* Botão Principal (Aprovar e Pagar) - O foco da página */
.btn-pay {
    flex: 2;
    /* Ocupa o dobro do espaço do botão de voltar */
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: #ffffff !important;
    border: none;
    padding: 18px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    border-radius: 12px;
}

.btn-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    filter: brightness(1.1);
}

/* Responsividade para Celular */
@media (max-width: 600px) {
    .review-actions {
        flex-direction: column-reverse;
        /* Aprovar fica em cima no mobile */
    }

    .btn-pay,
    .btn-secondary {
        width: 100%;
        flex: none;
    }
}

.instrucao-edicao {
    background-color: #e7f3ff;
    border-left: 4px solid #007bff;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    color: #0c5460;
    font-size: 0.95rem;
    display: flex;
    /* Mantém ícone e texto lado a lado */
    align-items: center;
    gap: 15px;
    line-height: 1.5;
    width: 100%;
    /* Garante que ocupe a largura total disponível */
    box-sizing: border-box;
    /* Evita que o padding "estique" o box para fora */
}

/* Garante que o texto não quebre em colunas estranhas */
.instrucao-edicao span {
    flex: 1;
}

.instrucao-edicao strong {
    color: #0056b3;
    font-weight: 700;
}

.contact-section .form-col small {
    display: block;
    /* Garante que ele fique na linha abaixo do input */
    margin: 5px;
    /* Dá um pequeno respiro em relação ao campo */
    color: #007bff;
    /* Cor azul para combinar com a identidade visual */
    font-size: 12px;
    /* Tamanho legível, mas discreto */
    font-weight: 500;
    /* Peso médio para dar clareza */
}

/* Área de Edição: Sugestão de Letra */
#stepReview .input-group {
    /* background: #f8fbff; */
    /* padding: 14px; */
    /* border-radius: 12px; */
    /* border: 1px solid #eef6ff; */
    /* box-shadow: 0 6px 18px rgba(2,6,23,0.03); */
}

#reviewLyrics {
    width: 100%;
    border: 1px solid #E2E8F0;
    border-left: 4px solid #007bff;
    outline: none;
    background: #ffffff;
    font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #0f172a;
    resize: vertical;
    min-height: 370px;
    max-height: 24em;
    overflow-y: scroll;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.06);
    font-weight: 500;
    transition: box-shadow 0.18s ease, border-color 0.12s ease;
}

#reviewLyrics:focus {
    border-color: #0056b3;
    box-shadow: 0 6px 24px rgba(0, 86, 179, 0.12);
}

/* Overlay que cobre toda a tela */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    /* Fundo branco semi-transparente */
    backdrop-filter: blur(8px);
    /* Desfoca o fundo para "desabilitar" visualmente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Garante que fique acima de tudo */
    transition: opacity 0.3s ease;
}

/* Esconder o overlay */
.loading-overlay.hidden {
    display: none;
    opacity: 0;
}

/* Conteúdo centralizado */
.loading-content {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.loading-content p {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a3b5d;
    margin: 20px 0 10px;
}

.loading-content span {
    color: #666;
    font-size: 0.9rem;
}

/* Spinner animado */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.logo-bg a {
    display: block;
    /* Garante que o link ocupe o espaço correto */
    text-decoration: none;
    border: none;
}

/* Container Geral do Resumo */
.checkout-minimal {
    background: #fff;
    border: 1px solid #eef2f5;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* Grid de Informações (Topo) */
.meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Duas colunas */
    gap: 20px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

/* Labels discretos (Pequenos e Cinzas) */
.meta-label {
    font-size: 10px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-weight: 600;
}

/* Valores (Escuros mas sem ser gigantes) */
.meta-value {
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

/* Divisória sutil */
.minimal-divider {
    border: 0;
    border-top: 1px dashed #e0e0e0;
    margin: 20px 0;
}

/* Área da Letra (Estilo Recibo/Roteiro) */
.lyrics-receipt {
    /* background-color: #fcfcfc; */
    /* border-left: 3px solid #007bff; Detalhe azul na esquerda */
    /* padding: 20px; */
    border-radius: 0 6px 6px 0;
}

.lyrics-label {
    display: block;
    font-size: 11px;
    color: #007bff;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* A Tag PRE preserva as quebras de linha e usa fonte de máquina */
.lyrics-receipt pre {
    font-family: 'Courier New', Courier, monospace;
    /* Fonte de roteiro */
    font-size: 13px;
    color: #444;
    white-space: pre-wrap;
    /* Quebra linha automaticamente se for muito longa */
    margin: 0;
    line-height: 1.4;
}

/* Responsividade para celular */
@media (max-width: 600px) {
    .meta-grid {
        grid-template-columns: 1fr;
        /* Uma coluna no celular */
        gap: 15px;
    }

    /* Estilos específicos para .substep-header em telas menores */
    .substep-header {
        padding: 10px !important;
        /* Reduzir o padding para mobile */
        margin-bottom: 15px !important;
        /* Ajustar margem para mobile */
    }

    .substep-header h3 {
        font-size: 1em !important;
        /* Tamanho de fonte menor para o título em mobile */
    }

    .substep-header p {
        font-size: 0.8em !important;
        /* Tamanho de fonte menor para o parágrafo em mobile */
    }
}

/* Container da Área de Pagamento */
.payment-area {
    /* margin-top: 30px;
    background: #f8faff;
    border: 2px dashed #cce5ff;
    border-radius: 12px;
    padding: 25px;
    text-align: center; */
}

/* Status de Aprovação (Selo) */
.approved-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e6fffa;
    color: #00a884;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid #b2f5ea;
    margin-bottom: 20px;
}

/* O Preço (Destaque Total) */
.total-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.total-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6c757d;
    font-weight: 600;
}

.total-value {
    font-size: 1.6rem;
    /* Bem grande */
    font-weight: 800;
    color: #1a3b5d;
    line-height: 1;
    margin-top: 5px;
}

/* Botão Moderno de Pagamento */
.btn-checkout {
    width: 100%;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
    border: none;
    padding: 18px 25px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* Para aceitar subtitulo */
    position: relative;
    overflow: hidden;
}

/* Efeito de Hover no Botão */
.btn-checkout:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.4);
}

.btn-checkout:active {
    transform: translateY(1px);
}

/* Texto do Botão */
.btn-main-text {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-sub-text {
    font-size: 11px;
    opacity: 0.9;
    font-weight: 400;
    margin-top: 2px;
}

/* Rodapé de Segurança */
.security-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    font-size: 11px;
    color: #888;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Ajustes para Celular (Mobile) */
@media (max-width: 600px) {
    .app-container {
        padding: 10px;
        /* Reduz o espaçamento das bordas */
        width: 100%;
        /* Garante que use a largura total disponível */
        border-radius: 0;
        /* Opcional: Remove arredondamento em telas muito pequenas para parecer um app nativo */
    }

    .security-footer {
        display: block;
        text-align: center;
    }

    .security-item {
        justify-content: center;
        margin-bottom: 8px;
    }
}

@media (max-width: 600px) {

    /* Oculta o nome da empresa na tagline apenas no mobile */
    .tagline strong {
        display: none;
    }

    /* Opcional: Ajusta o tamanho do slogan que sobrou para ficar mais harmonioso */
    .tagline {
        font-size: 13px;
        /* Um pouco menor que no desktop */
        margin-top: 5px;
        display: none;
        /* Esconde a tagline inteira no mobile para dar mais foco ao logo */
    }
}

/* Container do Card do Produto (precisa ser relativo para o selo se posicionar) */
/* Adicione ou verifique se sua classe de card já tem isso */
.product-card {
    position: relative !important;
    /* Garante que o selo fique dentro dele */
    overflow: hidden;
    /* Evita que o selo "vaze" para fora das bordas arredondadas */
}

/* O Selo de I.A. (Estilo Carimbo) */
.ai-badge {
    position: absolute;
    /* Ajustes finos de posição para o novo tamanho de texto */
    top: 28px;
    /* Antes era 20px */
    right: -48px;
    /* Antes era -32px (precisa ser mais negativo pois a faixa é maior) */

    background: #007bff;
    color: #fff;

    /* Fonte aumentada */
    font-size: 12px;
    /* Aumentado de 10px para 12px */
    font-weight: 800;
    text-transform: uppercase;

    /* Padding aumentado nas laterais para caber o texto maior */
    padding: 6px 35px;
    /* Antes era 5px 30px */

    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    /* Levemente reduzido para ficar compacto */
    border: 1px solid rgba(255, 255, 255, 0.3);

    /* Garante que o ícone e texto fiquem alinhados no centro */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

/* =========================================
   ESTILOS DA ÁREA DE TEXTO DA IA (Passo 2.5)
   ========================================= */
#aiResultText {
    font-family: 'Courier New', Courier, monospace;
    /* Fonte monoespaçada para parecer roteiro */
    line-height: 1.6;
    background-color: #fafafa;
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 15px;
    color: #333;
    font-size: 14px;
    resize: vertical;
    /* Permite redimensionar apenas na altura */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s;
}

#aiResultText:focus {
    border-color: #1a3b5d;
    outline: none;
    background-color: #fff;
}

/* =========================================
   ESTILOS DO RESUMO / CHECKOUT (Passo 3)
   Esses estilos são usados pelo HTML gerado no JavaScript
   ========================================= */

/* Caixa Branca do Resumo */
.checkout-minimal {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* Grid de Informações (Produto, Cliente, Modelo) */
.meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    text-align: center;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.meta-label {
    font-size: 10px;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-weight: 600;
}

.meta-value {
    font-size: 13px;
    color: #1a3b5d;
    font-weight: 700;
}

/* Divisor tracejado */
.minimal-divider {
    margin: 20px 0;
    border: 0;
    border-top: 1px dashed #eee;
}

/* Área da Letra no Recibo */
.lyrics-receipt {
    text-align: left;
}

.lyrics-label {
    display: block;
    font-size: 11px;
    font-weight: bold;
    color: #555;
    margin-bottom: 8px;
}

.lyrics-receipt pre {
    white-space: pre-wrap;
    /* Mantém quebras de linha */
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #eee;
    font-size: 14px;
    color: #444;
    /* max-height: 200px; */
    overflow-y: auto;
    /* Barra de rolagem se for muito grande */
}

/* Botão de Download Premium */
.btn-download-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    /* Gradiente Verde */
    color: white !important;
    padding: 15px 35px;
    border-radius: 50px;
    /* Borda redonda (Pill shape) */
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    /* Sombra suave */
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Efeito Hover (Ao passar o mouse) */
.btn-download-premium:hover {
    transform: translateY(-3px);
    /* Sobe um pouquinho */
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.5);
    /* Sombra aumenta */
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    /* Fica mais claro */
}

/* Efeito de Clique */
.btn-download-premium:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

/* Ícone dentro do botão */
.btn-download-premium svg {
    width: 24px;
    height: 24px;
    fill: white;
    transition: transform 0.3s ease;
}

.btn-download-premium:hover svg {
    transform: translateY(2px);
    /* Ícone desce um pouco indicando download */
}

/* Container de Sucesso (O fundo verde claro) */
.success-box {
    background: #e8f5e9;
    padding: 30px;
    border-radius: 15px;
    border: 2px dashed #a5d6a7;
    text-align: center;
    margin-top: 25px;
    animation: fadeIn 0.5s ease;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sistema de Mensagens */
.message-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    max-width: 90vw;
    /* width: 500px; */
    min-width: 320px;
}

.message-wrapper {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.message {
    background: white;
    border-radius: 8px;
    padding: 15px 20px 15px 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid;
    animation: slideInMessage 0.3s ease-out;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
}

.message.error {
    border-left-color: #dc3545;
    background: #f8d7da;
    color: #721c24;
}

.message.success {
    border-left-color: #28a745;
    background: #d4edda;
    color: #155724;
}

.message.warning {
    border-left-color: #ffc107;
    background: #fff3cd;
    color: #856404;
}

.message.info {
    border-left-color: #17a2b8;
    background: #d1ecf1;
    color: #0c5460;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.message-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.message-close {
    position: absolute;
    right: -28px;
    top: -6px;
    background: none;
    border: none;
    color: #888;
    font-size: 1.8em;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    pointer-events: auto;
    padding: 0;
    z-index: 10;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-close:hover {
    opacity: 1;
    color: #222;
}

/* Quebra palavras longas de forma natural b- teste */

.message-close {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #6c757d;
    cursor: pointer;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    align-self: flex-end;
    transition: all 0.2s ease;
}

.message-close:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

@keyframes slideInMessage {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade para mensagens */
@media (max-width: 768px) {
    .message-container {
        max-width: 95vw;
        width: 95vw;
        min-width: 280px;
        left: 50%;
        transform: translateX(-50%);
    }

    .message {
        padding: 12px 16px;
        gap: 10px;
    }

    .message-icon {
        font-size: 16px;
    }

    .message-close {
        font-size: 18px;
        margin-left: 6px;
    }
}

@media (max-width: 480px) {
    .message-container {
        top: 10px;
        max-width: 98vw;
        width: 98vw;
        min-width: 250px;
    }

    .message {
        padding: 10px 14px;
        margin-bottom: 8px;
    }

    .message-text {
        font-size: 14px;
    }
}

/* --- Estilos do FAQ M12 --- */
#faq-isolado-m12 {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
    /* Usei Poppins pra combinar com seu site */
}

#faq-isolado-m12 h3 {
    text-align: center;
    color: #1a3b5d;
    margin-bottom: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
}

.faq-btn {
    width: 100%;
    padding: 18px;
    border: none;
    background: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-weight: 600;
    color: #1a3b5d;
    font-size: 1rem;
    font-family: inherit;
    /* Herda a fonte do site */
}

.faq-icon {
    font-size: 1.5rem;
    color: #28a745;
    line-height: 0;
    transition: transform 0.3s ease;
    /* Adicionei uma animação extra opcional */
}

.faq-conteudo {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-text {
    padding: 0 18px 18px;
    color: #666;
    font-size: 0.99rem;
    /* line-height: 1.5; */
}

/* --- Área de Termos e Condições --- */
.terms-container {
    /* margin: 20px 0; */
    /* background: #f9f9f9; */
    padding: 15px;
    border-radius: 8px;
    /* border: 1px solid #eee; */
}

.terms-label {
    display: flex;
    /* align-items: flex-start; */
    gap: 10px;
    cursor: pointer;
    /* font-size: 0.9rem; */
    color: #555;
}

/* Ajuste fino para o checkbox alinhar com a primeira linha de texto */
.terms-checkbox {
    margin-top: 3px;
    max-width: 20px;
}

.terms-link {
    color: #1a3b5d;
    text-decoration: underline;
    font-weight: bold;
}

#boxTermos {
    display: none;
    /* Começa escondido */
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

/* --- Seção Portfólio --- */
.portfolio-section {
    padding: 10px 0;
    background-color: #f4f6f9;
    /* Fundo levemente cinza para destacar os cards */
    border-radius: 30px;
    margin-top: 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 10px;
}

.section-header p {
    margin: 0;
}

.section-header h3 {
    color: #1a3b5d;
    font-size: 1.5rem;
    margin: 10px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5px;
}

.portfolio-card {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    border: 1px solid #eee;
}

.portfolio-card.portfolio-item-hidden {
    display: none;
}

.portfolio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Destaque visual quando o card está com o player ativo */
.portfolio-card.playing {
    transform: scale(1.04);
    box-shadow: 0 20px 50px rgba(26, 59, 93, 0.25);
    border: 2px solid rgb(0 123 255 / 59%);
    z-index: 6;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

/* Animação aplicada ao card; botão apenas tem pequena ênfase visual */
.portfolio-card.playing .play-btn {
    /* mantém foco visual no botão mas sem animation looping */
    outline: none;
}

.portfolio-card.playing .play-btn svg {
    transform: scale(1.06);
    transition: transform 0.18s ease;
}

.card-icon {
    font-size: 2rem;
    background: #eef2f7;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.card-info {
    flex: 1;
}

.card-info h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.badge-style {
    font-size: 0.8rem;
    color: #666;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 5px;
    display: inline-block;
}

.card-player {
    display: flex;
    align-items: center;
}

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #007bff;
    /* Verde M12 */
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    outline: none;
}

.play-btn:hover {
    background: #0055af;
    transform: scale(1.05);
}

#loadMoreContainer {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-load-more {
    background: #fff;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.btn-load-more:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

.btn-load-more:active {
    transform: translateY(-2px) scale(0.98);
}

.portfolio-card.portfolio-item-hidden {
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
    will-change: opacity, transform;
}

.portfolio-card.portfolio-item-hidden-mobile {
    display: none;
}

/* Desktop: mostrar items 7, 8 e 9 (índices 6, 7, 8) */
@media (min-width: 1024px) {
    .portfolio-card.portfolio-item-hidden-mobile {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.portfolio-card.portfolio-fade-in {
    animation: portfolioFadeIn 0.8s ease-in-out forwards;
}

@keyframes portfolioFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Configuração geral para os ícones dentro do botão */
.icon-play,
.icon-pause {
    line-height: 1;
    /* Remove espaçamento extra vertical de fontes */
    display: inline-block;
    /* Permite que o margin funcione bem */
    font-style: normal;
    /* Garante que não fique itálico se herdar algo */
}

/* --- O AJUSTE DO PLAY --- */
.icon-play {
    /* O triângulo (▶) tem pouco peso visual na direita. 
       Empurramos ele 3px ou 4px para a direita para parecer 
       que está exatamente no centro do círculo. */
    margin-left: 4px;

    /* Opcional: Aumentar um pouco se o caractere for pequeno */
    font-size: 1.1em;
}

.icon-pause {
    display: inline-block;
    width: 12px;
    /* Largura total do ícone */
    height: 14px;
    /* Altura das barras */
    border-left: 2px solid white;
    /* Barra esquerda */
    border-right: 2px solid white;
    /* Barra direita */
    box-sizing: border-box;
    /* Garante que a borda conte no tamanho */
}

/* --- Botão CTA Pulsante --- */
.btn-destaque-m12 {
    background: linear-gradient(90deg, #28a745 0%, #1e7e34 100%);
    /* Gradiente Verde Profissional */
    color: #fff !important;
    /* Força texto branco */
    font-size: 1.3rem;
    /* Texto grande */
    font-weight: 800;
    /* Extra negrito */
    text-transform: uppercase;
    text-decoration: none;
    padding: 20px 45px;
    border-radius: 50px;
    /* Formato de pílula moderno */
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
    /* Sombra difusa */
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    letter-spacing: 1px;
    animation: pulse-green 2s infinite;
    /* Efeito de pulsação eterna */
}

/* Efeito ao passar o mouse */
.btn-destaque-m12:hover {
    transform: translateY(-4px) scale(1.02);
    /* Sobe e cresce levemente */
    box-shadow: 0 15px 30px rgba(40, 167, 69, 0.5);
    /* Sombra aumenta */
    background: linear-gradient(90deg, #34ce57 0%, #28a745 100%);
    /* Fica mais vivo */
}

/* Animação Keyframes (O pulso) */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(40, 167, 69, 0);
        /* A sombra expande e desaparece */
    }

    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Ajuste para Mobile (Correção de Largura) */
@media (max-width: 600px) {
    .btn-destaque-m12 {
        font-size: 1rem;
        /* Texto menor para caber */
        padding: 15px 20px;
        /* Reduz o espaçamento lateral */
        width: 100%;
        /* Ocupa a largura disponível */
        max-width: 300px;
        /* Trava em um tamanho máximo seguro */
        box-sizing: border-box;
        /* O PULO DO GATO: Faz o padding ficar DENTRO da largura */
        white-space: normal;
        /* Permite quebra de linha se o texto for longo */
        display: block;
        /* Garante comportamento de bloco */
        margin: 0 auto;
        /* Centraliza perfeitamente */
    }

    .section-header h3 {
        font-size: 1.2rem;
    }

    .section-header p {
        font-size: 0.8rem;
        padding: 0 20px;
    }

    #step1 .card-grid {
        padding: 0;
    }
}

/* --- Rodapé Profissional (Transparente) --- */
.main-footer {
    background-color: transparent;
    /* Remove o fundo azul sólido */
    color: #333333;
    /* Altera a cor do texto para escuro, já que o fundo agora é claro */
    padding: 60px 0 20px;
    margin-top: 50px;
    /* Mantém apenas margem superior para afastar do FAQ */
    font-size: 0.95rem;
    width: 100%;
    /* Ocupa toda a largura disponível no container pai */
    box-sizing: border-box;
}

/* Ajuste das cores dos títulos para o fundo claro */
.footer-col h3,
.footer-col h4 {
    color: #1a3b5d;
    /* Usa o azul da marca nos títulos */
    margin-bottom: 20px;
    font-weight: 600;
}

/* Links do Rodapé ajustados para fundo claro */
.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #1a3b5d;
    padding-left: 5px;
}

/* Botão de Contato ajustado para fundo claro */
.footer-contact-btn {
    display: inline-block;
    background: #1a3b5d;
    /* Inverte: botão escuro com texto branco */
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 15px;
    transition: opacity 0.3s;
}

.footer-contact-btn:hover {
    opacity: 0.9;
    color: #fff;
}

/* Ajuste da borda do copyright para aparecer no fundo claro */
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    /* Borda escura suave */
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 5px;

}

/* Container do Loading */
.loading-content {
    text-align: center;
    color: #fff;
    /* Assumindo que o fundo do overlay é escuro */
}

.loading-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin: 20px 0 10px;
    letter-spacing: 1px;
}

#loading-text {
    font-size: 0.95rem;
    opacity: 0.8;
    display: block;
    min-height: 20px;
    /* Evita pulo se o texto mudar */
}

/* --- Animação Audio Wave --- */
.audio-wave {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 40px;
    gap: 6px;
}

.audio-wave span {
    display: block;
    width: 8px;
    height: 10px;
    background: #2ecc71;
    /* Verde vibrante ou use seu Azul #1a3b5d se o fundo for branco */
    border-radius: 4px;
    animation: wave 1s infinite ease-in-out;
}

/* Atraso para cada barra criar o efeito de onda */
.audio-wave span:nth-child(1) {
    animation-delay: 0.0s;
}

.audio-wave span:nth-child(2) {
    animation-delay: 0.1s;
}

.audio-wave span:nth-child(3) {
    animation-delay: 0.2s;
}

.audio-wave span:nth-child(4) {
    animation-delay: 0.3s;
}

.audio-wave span:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes wave {

    0%,
    100% {
        height: 10px;
        opacity: 0.5;
    }

    50% {
        height: 40px;
        opacity: 1;
        background: #fff;
    }

    /* Brilha no topo */
}

@keyframes pulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
        transform: scale(1);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
        transform: scale(1);
    }
}

.btn-pulsating {
    /* animation: pulseGreen 2s infinite; */
}

.btn-pulsating:hover {
    /* transform: scale(1.03); */
    /* Cresce um pouco ao passar o mouse */
    background-color: #218838 !important;
    /* Escurece um pouco */
}

/* Botão Principal de Ação */
.cta-button {
    background: #28a745;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px 10px;
    border-radius: 8px;
    /* margin: 25px; */
    /* Dica: Se ficar muito colado nas bordas laterais, mude para: margin: 15px 0; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #218838;
    /* Escurece levemente ao passar o mouse */
    /* transform: translateY(-2px); */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-button:focus {
    outline: 2px solid #1e7e34;
    outline-offset: 2px;
}

/* Texto "CRIAR MEU JINGLE AGORA" */
.cta-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Texto do Preço */
.cta-subtitle {
    color: #fff;
    font-size: 0.85rem;
    margin-top: 4px;
}

.cta-subtitle strong {
    font-size: 1.4rem;
}

/* Preço Riscado */
.cta-old-price {
    opacity: 0.7;
}

/* Animação Pulsante (Caso ainda não tenha no seu CSS) */
@keyframes pulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
        transform: scale(1);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
        transform: scale(1);
    }
}

.btn-pulsating {
    /* animation: pulseGreen 2s infinite; */
}

/* --- Estilização dos Títulos da Home (Step 1) --- */

#step1 h2 {
    text-align: center;
    /* Centraliza o texto */
    color: #1a3b5d;
    /* Azul Profundo (Cor da Marca) */
    font-size: 2.0rem;
    /* Tamanho grande e impactante */
    font-weight: 700;
    /* Negrito forte */
    margin-bottom: 10px;
    /* Espaço pequeno para o subtítulo */
    letter-spacing: -0.5px;
    /* Deixa as letras mais juntinhas (Moderno) */
    line-height: 1.2;
    /* Altura da linha ajustada */
    margin: 0;
    padding: 0;
}

#step1 h3 {
    text-align: center;
    /* Centraliza o texto */
    color: #555;
    /* Cinza escuro (Leitura agradável) */
    font-size: 1.0rem;
    /* Tamanho médio */
    font-weight: 400;
    /* Peso normal (para contrastar com o H2) */
    margin-bottom: 40px;
    /* Espaço generoso antes dos Cards */
    max-width: 700px;
    /* Não deixa a frase esticar demais em telas grandes */
    margin-left: auto;
    /* Centraliza o bloco na tela */
    margin-right: auto;
    /* Centraliza o bloco na tela */
    line-height: 1.5;
    margin: 0 auto;
    padding: 0;
}

/* Ajuste para Celular (Responsivo) */
@media (max-width: 768px) {
    #step1 h2 {
        font-size: 1.2rem;
        /* Diminui um pouco no celular */
        padding: 0 10px;
        /* Margem lateral para não colar na borda */
    }

    #step1 h3 {
        font-size: 1rem;
        padding: 0 15px;
        /* margin-bottom: 30px; */
        /* display: none; */
    }

    .hd-mb {
        display: none;
    }

    /* H1 da marca responsivo no mobile */
    .brand-h1 {
        font-size: 1rem;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 0;
    }

    .substep-header {
        padding: 15px;
        margin-bottom: 20px;
    }

    .substep-header h3 {
        font-size: 1.1em;
    }

    .substep-header p {
        font-size: 0.85em;
    }

    .step-navigation {
        display: flex;
        /* Garante o uso do flexbox */
        flex-direction: row;
        /* Alinha os botões lado a lado */
        justify-content: space-between;
        /* Espaçamento entre os botões */
        gap: 10px;
    }

    .step-navigation .btn-primary,
    .step-navigation .btn-back {
        margin: 0 !important;
    }

    .cta-title{
        font-size: 1.0rem;
    }
}

.audio-wave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    /* Espaço entre as barras */
    height: 20px;
    /* Altura total */
}

.audio-wave span {
    display: block;
    width: 3px;
    /* Largura da barra */
    height: 100%;
    background: #007bff;
    /* Cor da barra (rosa/neon) */
    border-radius: 2px;
    animation: wave 3s infinite ease-in-out;
}

/* Animação para cada barra subir e descer */
@keyframes wave {

    0%,
    100% {
        height: 20%;
    }

    50% {
        height: 100%;
    }
}

#faq-m12 {
    margin-top: 20px;
    padding: 10px;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    /* Garante que fique acima de tudo */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.whatsapp-float.whatsapp-hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    /* Efeito de zoom ao passar o mouse */
}

/* Ajuste para Mobile (opcional, para não cobrir outros elementos) */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .substep-header h2 {
        font-size: 1.1rem;
    }
}

/* =========================================
   NOVOS ESTILOS PARA FLUXO MELHORADO
   ========================================= */

/* --- INDICADORES DE ETAPA --- */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px;
    display: none;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.step-dot.active {
    background-color: #1a3b5d;
    transform: scale(1.2);
}

/* --- SUB-ETAPAS --- */
.substep {
    animation: fadeIn 0.3s ease-in-out;
}

.substep.hidden {
    display: none;
}

.substep.active {
    display: block;
}

.dynamic-field {
    /* Campos dinâmicos específicos da step2a */
}

.substep-header {
    text-align: center;
    /* margin-bottom: 25px; */
    padding: 20px;
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
    /* border-radius: 12px; */
    /* border: 1px solid #dee2e6; */
}

.substep-header h3 {
    margin: 0 0 0px 0;
    color: #2196F3;
    font-size: 1.3em;
    font-weight: 600;
}

.substep-header p {
    margin: 0;
    color: #6c757d;
    font-size: 0.95em;
}

/* --- NAVEGAÇÃO ENTRE ETAPAS --- */
.step-navigation {
    display: flex;
    /* align-items: center; */
    gap: 15px;
    margin-top: 5px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.step-navigation .btn-secondary {
    width: 30%;
    background-color: #6c757d;
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.step-navigation .btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-1px);
}

.step-navigation .btn-primary {
    width: 70%;
    background: linear-gradient(135deg, #1a3b5d 0%, #0d1b2a 100%);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(26, 59, 93, 0.3);
}

.step-navigation .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 59, 93, 0.4);
}

/* --- PREFERÊNCIAS MUSICAIS --- */
.music-preferences {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    /* margin-bottom: 20px; */
}

/* --- Estilos para Botões de Seleção (step2b) --- */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.btn-ver-mais {
    flex-basis: 100%;
    background: transparent !important;
    color: #1a3b5d !important;
    border: none !important;
    font-weight: 600 !important;
    margin-top: 15px !important;
    padding: 0 !important;
    text-decoration: none !important;
    cursor: pointer;
    display: block;
    /* Para garantir que ocupe a largura e centralize */
    width: fit-content;
    /* Para que a largura se ajuste ao conteúdo */

    transition: all 0.2s ease-in-out;
}

.btn-ver-mais:hover {
    background: transparent !important;
    text-decoration: underline !important;
    color: #0056b3 !important;
    box-shadow: none !important;
}

.selection-button {
    flex: 0 1 calc(20% - 10px);
    background-color: #f0f0f0;
    /* Fundo padrão */
    color: #333;
    /* Texto padrão */
    border: 1px solid #ccc;
    padding: 15px 15px;
    border-radius: 10px;
    /* Botões ligeiramente arredondados */
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: normal;
    /* Permite quebra natural do texto */
    text-align: center;
    box-sizing: border-box;
}

.selection-button:hover {
    background-color: #e9eef5;
    border-color: #b8c7d9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.selection-button.active {
    background-color: #1a3b5d;
    /* Cor primária */
    color: white;
    border-color: #1a3b5d;
    box-shadow: 0 4px 10px rgba(26, 59, 93, 0.4);
}

/* Responsividade para os botões */
/* Em telas médias e mobile usamos 2 colunas */
@media (max-width: 992px) {
    .button-group {
        /* grid-template-columns: repeat(2, 1fr); */
    }

    .selection-button {
        flex: 0 1 calc(50% - 10px);
        /* 2 colunas com espaçamento */
        padding: 8px 10px;
        font-size: 0.95em;
        border-radius: 20px;
    }
}

@media (max-width: 520px) {
    .button-group {
        /* grid-template-columns: repeat(2, 1fr); */
    }

    .selection-button {
        flex: 0 1 calc(50% - 10px);
        /* 2 colunas com espaçamento */
        padding: 10px 12px;
        font-size: 0.7em;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        height: 50px;
    }
}

/* Ajuste de padding vertical nos botões da step2 apenas para Desktop */
@media (min-width: 769px) {
    #step2 .step-navigation button {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/* Mobile: remove box-shadow from app container */
@media (max-width: 600px) {
    .app-container {
        box-shadow: none !important;
    }
}

/* Inverte o movimento da wave quando a classe "reverse" é aplicada */
.audio-wave.reverse span {
    animation-direction: reverse;
}

.audio-wave.reverse span:nth-child(1) {
    animation-delay: 0.4s;
}

.audio-wave.reverse span:nth-child(2) {
    animation-delay: 0.3s;
}

.audio-wave.reverse span:nth-child(3) {
    animation-delay: 0.2s;
}

.audio-wave.reverse span:nth-child(4) {
    animation-delay: 0.1s;
}

.audio-wave.reverse span:nth-child(5) {
    animation-delay: 0.0s;
}

#stepReview .step-header h2 {
    font-size: 1.3rem;
}

/* =========================================
   NOTIFICAÇÃO DE VENDAS 
   ========================================= */

#sales-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    /* Garante que fique acima de tudo */

    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    padding: 16px 18px;
    border-radius: 12px;
    border-left: 5px solid #28a745;
    /* Faixa verde de "Sucesso" */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);

    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 320px;
    max-width: 400px;
    font-family: 'Poppins', 'Segoe UI', sans-serif;

    /* Estado Inicial (Escondido) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(120px);
    /* Empurrado para baixo */
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* Animação suave */
}

/* Estado Ativo (Quando o JS adiciona esta classe) */
#sales-notification.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- Emoji de Celebração --- */
.notification-emoji {
    font-size: 28px;
    flex-shrink: 0;
    animation: bounce-celebration 0.6s ease-in-out;
}

@keyframes bounce-celebration {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* --- Conteúdo de Texto --- */
.notification-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.notification-highlight {
    font-size: 14px;
    color: #333;
    margin: 0 0 4px 0;
    line-height: 1.3;
    font-weight: 500;
}

.notification-highlight strong {
    color: #28a745;
    /* Verde para destaque */
    font-weight: 700;
}

.notification-location {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.2;
}

/* --- Botão de Fechar (X) --- */
.close-notify {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    color: #999;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-weight: 300;
    border-radius: 50%;
}

.close-notify:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.05);
}

/* =========================================
   RESPONSIVIDADE (MOBILE)
   ========================================= */
@media (max-width: 480px) {
    #sales-notification {
        left: 10px;
        right: 10px;
        /* Ocupa a largura quase total */
        bottom: 10px;
        min-width: auto;
        max-width: 100%;
        padding: 12px 14px;
    }

    .notification-emoji {
        font-size: 24px;
    }

    .notification-highlight {
        font-size: 13px;
    }

    .notification-location {
        font-size: 11px;
    }

    .close-notify {
        top: 6px;
        right: 6px;
        font-size: 20px;
        width: 22px;
        height: 22px;
    }
}
/* Subheadline para destaque de promoções */
#step1 h2.subheadline {
    font-size: 1.5rem;
    color: #666;
    font-weight: 600;
    margin: 15px 0;
}

/* Promo Info Box - Informações de entrega e preço */
.promo-info-box {
    text-align: center;
    margin: 10px auto;
    max-width: 600px;
}

.promo-info-box p {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 8px 0;
    color: #333;
}

/* Benefits List - Lista de benefícios com check */
.benefits-list {
    max-width: 500px;
    margin: 2px auto 2px;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.benefit-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #333;
    padding: 3px 12px;
    background: transparent;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.benefit-check-item:hover {
    background: rgba(40, 167, 69, 0.05);
}

.benefit-check-item .check-icon {
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.benefit-check-item span:last-child {
    font-weight: 400;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .benefits-list {
        padding: 0;
        gap: 0px;
        margin: 0 auto 20px;
    }
    
    .benefit-check-item {
        font-size: 0.65rem;
        padding: 0px 10px;
        gap: 8px;
    }
    
    .benefit-check-item .check-icon {
        font-size: 1rem;
    }

    #step1 h2.subheadline{
        font-size: 0.9rem;
    }

    .promo-info-box p {
        font-size: 1rem;
    }
}

/* ============================================
   AUDIO EXAMPLES - Players Compactos
   ============================================ */
.audio-examples-container {
    max-width: 650px;
    margin: auto;
    padding: 0px;
    display: none;
}

.audio-examples-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
}

.audio-examples-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.audio-example-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 80px;
    height: 80px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.audio-example-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.example-icon {
    font-size: 2.2rem;
    line-height: 1;
    flex-shrink: 0;
}

.example-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.example-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.example-player {
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn-compact {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #007bff;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.play-btn-compact:hover {
    background: #0056b3;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.play-btn-compact:active {
    transform: scale(0.95);
}

.play-btn-compact .icon-play,
.play-btn-compact .icon-pause {
    line-height: 1;
}

/* Responsivo - Mobile */
@media (max-width: 600px) {
    .audio-examples-container {
        padding: 0px;
        margin: auto;
        display: none;
    }
    
    .audio-examples-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .audio-examples-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .audio-example-card {
        padding: 0px;
        min-height: 40px;
        height: 40px;
    }
    
    .example-icon {
        font-size: 1.8rem;
    }
    
    .example-label {
        font-size: 0.85rem;
    }
    
    .play-btn-compact {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* =========================================
   ENTREGAS MÚLTIPLAS - VERSÕES DE ÁUDIO
   ========================================= */

.entregas-section {
    margin: 20px 0;
}

.entrega-card {
    background: #f8f9fa;
    padding: 20px;
    margin: 15px 0;
    border-radius: 12px;
    border-left: 4px solid #007bff;
    transition: all 0.3s ease;
}

.entrega-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.entrega-header {
    margin-bottom: 15px;
}

.versao-badge {
    background: #007bff;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9em;
    display: inline-block;
}

.btn-download {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 25px;
    background: #28a745;
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-download:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.upload-entrega {
    margin-top: 25px;
    padding: 20px;
    background: #e9ecef;
    border-radius: 8px;
}

.upload-entrega h5 {
    margin-bottom: 15px;
    color: #1a3b5d;
}

.upload-entrega label {
    display: block;
    margin-top: 12px;
    font-weight: 600;
    color: #495057;
}

.upload-entrega select,
.upload-entrega input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.upload-entrega button[type="submit"] {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.upload-entrega button[type="submit"]:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* Estilos para player de áudio */
audio {
    width: 100%;
    outline: none;
    border-radius: 8px;
}

audio::-webkit-media-controls-panel {
    background-color: #f1f3f5;
}

/* Responsivo para entregas */
@media (max-width: 768px) {
    .entrega-card {
        padding: 15px;
    }
    
    .upload-entrega {
        padding: 15px;
    }
    
    .btn-download {
        width: 100%;
        text-align: center;
    }
}