* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

body {
    background: url('img/imgBackground.jpg') center/cover fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* empilha verticalmente */
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 1000px;
    width: 100%;
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(106, 13, 173, 0.15);
    overflow: hidden;
    padding: 30px;
}

/* Logo */
.logo-area {
    text-align: center;
    margin-bottom: 20px;
}
.logo {
    max-width: 150px;
    height: auto;
}

/* Cabeçalho */
header {
    text-align: center;
    margin-bottom: 30px;
}
header h1 {
    color: #4a1b7a;
    font-size: 2.2rem;
    font-weight: 700;
}
header p {
    color: #7a5fa3;
    font-size: 1.1rem;
}

/* Indicador de etapas */
.etapas {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.etapa {
    background: #e9d9ff;
    color: #4a1b7a;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    cursor: default;
}
.etapa.ativa {
    background: #4a1b7a;
    color: white;
    box-shadow: 0 5px 15px rgba(74, 27, 122, 0.3);
}

/* Conteúdo das etapas */
.etapa-conteudo {
    display: none;
}
.etapa-conteudo.active {
    display: block;
}

/* Importante (aviso) */
.importante {
    background: #fff3cd;
    border-left: 6px solid #ffc107;
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.importante i {
    font-size: 2rem;
    color: #856404;
}
.importante p {
    color: #856404;
    font-weight: 500;
    margin: 0;
}

/* Cards de planos */
.planos-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}
.plano-card {
    flex: 1 1 280px;
    background: white;
    border: 2px solid #e0d0ff;
    border-radius: 30px;
    padding: 30px 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.plano-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(106, 13, 173, 0.15);
}
.plano-card.destaque {
    border: 3px solid #b8860b;
    background: #fffbf0;
}
.tag-destaque {
    background: #b8860b;
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 6px 15px;
    border-radius: 50px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}
.plano-card h3 {
    font-size: 1.8rem;
    color: #4a1b7a;
    margin: 15px 0 10px;
}
.plano-card .preco {
    font-size: 2.5rem;
    font-weight: 800;
    color: #4a1b7a;
    margin: 15px 0;
}
.beneficios {
    list-style: none;
    text-align: left;
    margin: 20px 0;
    padding: 0;
}
.beneficios li {
    padding: 8px 0;
    font-size: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}
.beneficios i {
    color: #28a745;
    width: 20px;
}
.btn-pagar {
    background: #4a1b7a;
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-pagar:hover {
    background: #6b3fa0;
}

/* Formulário */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
.campo {
    display: flex;
    flex-direction: column;
}
.campo label {
    font-weight: 600;
    color: #4a1b7a;
    margin-bottom: 5px;
}
.campo input, .campo select {
    padding: 12px 15px;
    border: 2px solid #ddd0ff;
    border-radius: 12px;
    font-size: 1rem;
    transition: border 0.3s;
}
.campo input:focus, .campo select:focus {
    outline: none;
    border-color: #4a1b7a;
}

.foto-section {
    background: #f8f3ff;
    padding: 20px;
    border-radius: 20px;
    margin: 0 auto 30px auto;
    max-width: 420px; /* controla a largura */
    text-align: center;
}
.foto-section label {
    font-weight: 600;
    color: #4a1b7a;
    display: block;
    margin-bottom: 10px;
}
.foto-acoes {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}
.btn-foto {
    background: white;
    border: 2px solid #4a1b7a;
    color: #4a1b7a;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}
.btn-foto:hover {
    background: #4a1b7a;
    color: white;
}
.foto-preview {
    width: 220px;
    height: 280px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    border: 2px dashed #4a1b7a;
    display: flex;
    align-items: center;
    justify-content: center;
}
.foto-preview img {
    border-radius: 8px;
}

/* Navegação entre etapas */
.navegacao {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.btn-voltar, .btn-proximo {
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}
.btn-voltar {
    background: #e0d0ff;
    color: #4a1b7a;
}
.btn-voltar:hover {
    background: #cbb5ff;
}
.btn-proximo {
    background: #4a1b7a;
    color: white;
}
.btn-proximo:hover {
    background: #6b3fa0;
}

/* Tela de sucesso */
.sucesso-card {
    text-align: center;
    background: #f0e8ff;
    border-radius: 30px;
    padding: 50px 30px;
}
.chave-clube {
    background: white;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 1.5rem;
    margin: 25px auto;
    border: 2px solid #b8860b;
    display: inline-block;
}
.chave-clube strong {
    color: #4a1b7a;
}
.chave-clube span {
    color: #b8860b;
    font-weight: bold;
    margin-left: 10px;
}
.btn-link {
    display: inline-block;
    background: #4a1b7a;
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.2rem;
    margin-top: 20px;
    transition: background 0.3s;
}
.btn-link:hover {
    background: #6b3fa0;
}

.pagamento-central {
    text-align: center;
    margin-top: 30px;
}

.passo-pagamento {
    background: #f8f3ff;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: left;
}

.passo-pagamento ol {
    padding-left: 20px;
}

.btn-pagar-unico {
    display: inline-block;
    background: #4a1b7a;
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.btn-pagar-unico:hover {
    background: #6b3fa0;
}

.topo-header {
position: relative;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 10px;
}

.logo-area {
text-align: center;
margin-bottom: 0;
}

.btn-instrucoes-topo {
position: absolute;
right: 0;
top: 0;
}


.btn-instrucoes-topo {
background: #4a1b7a;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 50px;
font-size: 0.95rem;
font-weight: 600;
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
box-shadow: 0 5px 15px rgba(74, 27, 122, 0.2);
transition: 0.3s;
}

.btn-instrucoes-topo:hover {
background: #6b3fa0;
transform: translateY(-2px);
}

@media (max-width: 600px) {
.topo-header {
flex-direction: column;
align-items: center;
gap: 10px;
}
}


/* Responsividade */
@media (max-width: 600px) {
    .container {
        padding: 20px;
    }
    .planos-cards {
        flex-direction: column;
    }
    .navegacao {
        flex-direction: column;
    }
    .btn-voltar, .btn-proximo {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .foto-acoes {
        display: flex;
        flex-direction: row; 
        justify-content: center;
        gap: 10px;
        width: 100%;
    }
    
    .btn-foto {
        flex: 0 1 auto; 
        min-width: 140px; 
        justify-content: center;
        padding: 10px 15px;
    }
}

.carrossel-instrucoes {
position: relative;
margin-top: 20px;
display: flex;
align-items: center;
justify-content: center;
}

.slides {
width: 100%;
max-width: 750px;
}

.slide {
display: none;
text-align: center;
}

.slide img {
width: 100%;
border-radius: 12px;
}

.slide.ativo {
display: block;
}

.nav-seta:hover {
background: #6b3fa0;
}

.nav-seta.esquerda {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-seta.direita {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.carrossel-instrucoes {
    position: relative;
    margin-top: 20px;
    display: flex;
    flex-direction: column; /* empilha verticalmente */
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.indicador-slides {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
}

.carrossel-instrucoes {
    position: relative;
    max-width: 750px;
    width: 100%;
    margin: 0 auto;
}

.slides {
    width: 100%;
}

.slide {
    display: none;
    text-align: center;
}

.slide img {
    width: 100%;
    border-radius: 12px;
    border: 3px solid #4a1b7a;
}

.slide.ativo {
    display: block;
}

.legenda-slide {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #4a1b7a;
    background: #f0e8ff;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
}

.nav-seta {
    position: absolute;
    background: rgba(74, 27, 122, 0.95);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.nav-seta:hover {
    background: #6b3fa0;
}

.nav-seta.esquerda {
    left: -1px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-seta.direita {
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
}

/* Indicador de slides (bolinhas) */
.indicador-slides {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.bolinha {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0d0ff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bolinha.ativa {
    background: #4a1b7a;
    transform: scale(1.2);
}

.bolinha:hover {
    background: #6b3fa0;
}

/* Ajustes responsivos para o carrossel */
@media (max-width: 600px) {
    .carrossel-instrucoes {
        padding: 0 20px;
    }
    
    .nav-seta.esquerda {
        left: -10px;
    }
    
    .nav-seta.direita {
        right: -10px;
    }
    
    .nav-seta {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .legenda-slide {
        font-size: 1rem;
        padding: 8px 15px;
    }
    
    .slide img {
        border-width: 2px;
    }
}

@media (max-width: 480px) {
    .legenda-slide {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .bolinha {
        width: 10px;
        height: 10px;
    }
}

/* Ajuste para o modal de instruções */
#modalInstrucoes {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#modalInstrucoes > div {
    background: #fff;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    border-radius: 20px;
    padding: 25px;
    position: relative;
}

#fecharModal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #4a1b7a;
    transition: 0.3s;
}

#fecharModal:hover {
    color: #6b3fa0;
    transform: scale(1.1);
}

/* Animação de transição para os slides */
.slide {
    animation: fadeEffect 0.5s ease-in-out;
}

@keyframes fadeEffect {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

/* Estilo para o texto do modal */
#modalInstrucoes h2 {
    text-align: center;
    color: #4a1b7a;
    margin-bottom: 10px;
}

#modalInstrucoes p {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

#modalInstrucoes > div {
    overflow-x: hidden;
}

@media (max-width: 600px) {
    .nav-seta.esquerda {
        left: 5px;
    }

    .nav-seta.direita {
        right: 5px;
    }

    .nav-seta {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

.btn-instrucoes-pagamento {
    background: #4a1b7a;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(74, 27, 122, 0.2);
    transition: 0.3s;
}

.btn-instrucoes-pagamento:hover {
    background: #6b3fa0;
    transform: translateY(-2px);
}

/* Botão flutuante de suporte */
.btn-suporte-flutuante {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #10a61d;
    color: #fff;
    padding: 14px 18px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: 0.3s;
}

.btn-suporte-flutuante i {
    font-size: 20px;
}

.btn-suporte-flutuante:hover {
    background: #26c018;
    transform: translateY(-3px) scale(1.05);
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* faz a imagem preencher o espaço */
    border-radius: 10px;
    display: none;
}

.rodape-dev {
    width: 100%;
    max-width: 1000px;
    text-align: center;
    margin-top: 15px;
}

.container {
    width: 100%;
    max-width: 1000px;
}

.rodape-conteudo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #777;
    background: rgba(255,255,255,0.6);
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.rodape-conteudo a {
    color: #4a1b7a;
    text-decoration: none;
    font-weight: 600;
}

.rodape-conteudo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(74, 27, 122, 0.15);
}

.rodape-conteudo a:hover {
    text-decoration: underline;
}