/* ============================================
   RESET E BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* ============================================
   BACKGROUND IMAGE
   ============================================ */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.25;
    z-index: -1;
}

/* Removido overlay escuro - deixa background aparecer mais */

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: 60px 0 40px;
    text-align: center;
}

/* Logo em imagem */
.logo-container {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-image {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(230, 57, 70, 0.3));
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.hero h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #E63946 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitulo {
    font-size: 20px;
    color: #C0C0C0;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   FORMULÁRIO
   ============================================ */
.formulario {
    padding: 40px 0 60px;
}

.form-card {
    background: rgba(26, 26, 26, 0.75);
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(192, 192, 192, 0.15);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.form-group .input-hint {
    display: block;
    font-size: 13px;
    color: #808080;
    margin-top: 6px;
    font-style: italic;
}

.form-group .input-error {
    display: block;
    font-size: 13px;
    color: #FF6B6B;
    margin-top: 6px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    background: #0a0a0a;
    border: 2px solid #2a2a2a;
    border-radius: 8px;
    color: #ffffff;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

/* Input com prefixo (Instagram) */
.input-with-prefix {
    display: flex;
    align-items: center;
    background: #0a0a0a;
    border: 2px solid #2a2a2a;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.input-with-prefix:focus-within {
    border-color: #C0C0C0;
    box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.15);
}

.input-prefix {
    padding: 14px 0 14px 16px;
    font-size: 16px;
    color: #808080;
    white-space: nowrap;
    user-select: none;
}

.input-with-prefix input {
    border: none;
    background: transparent;
    padding-left: 4px;
}

.input-with-prefix input:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #C0C0C0;
    box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.btn-calcular {
    width: 100%;
    padding: 18px 32px;
    font-size: 18px;
    font-weight: 700;
    background: #E63946;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 16px;
}

.btn-calcular:hover {
    background: #d62828;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4);
}

.btn-calcular:active {
    transform: translateY(0);
}

/* ============================================
   LOADING (BARRA DE PROGRESSO ANIMADA)
   ============================================ */
.loading {
    padding: 60px 0;
    animation: fadeIn 0.5s ease;
}

.loading-card {
    background: rgba(26, 26, 26, 0.75);
    border: 2px solid rgba(192, 192, 192, 0.2);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(192, 192, 192, 0.2);
    backdrop-filter: blur(10px);
}

.loading-card h3 {
    font-size: 24px;
    font-weight: 900;
    color: #C0C0C0;
    margin-bottom: 32px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid #2a2a2a;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #C0C0C0 0%, #E8E8E8 100%);
    border-radius: 20px;
    transition: width 0.6s ease;
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.6);
}

.loading-card p {
    font-size: 18px;
    color: #C0C0C0;
    font-weight: 500;
}

/* ============================================
   RESULTADO - VISUAL MELHORADO
   ============================================ */
.resultado {
    padding: 40px 0 80px;
    animation: fadeIn 0.5s ease;
}

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

.resultado-card {
    background: rgba(26, 26, 26, 0.75);
    border: 2px solid rgba(192, 192, 192, 0.2);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(192, 192, 192, 0.2);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

/* Header do perfil - MELHORADO */
.perfil-header {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1) 0%, rgba(192, 192, 192, 0.05) 100%);
    padding: 40px;
    border-bottom: 2px solid rgba(192, 192, 192, 0.3);
    text-align: center;
}

.perfil-imagem-container {
    margin-bottom: 24px;
}

.perfil-imagem {
    max-width: 200px;
    height: auto;
    border-radius: 50%;
    border: 4px solid rgba(192, 192, 192, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.perfil-imagem:hover {
    transform: scale(1.05);
}

.perfil-header h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: #C0C0C0;
}

.perfil-prioridade {
    font-size: 18px;
    color: #C0C0C0;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 20px;
    background: rgba(192, 192, 192, 0.1);
    border-radius: 20px;
}

/* Container principal do conteúdo */
#resultado-conteudo {
    padding: 40px;
}

/* Saudação - MELHORADA */
.saudacao {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #ffffff;
    text-align: center;
    font-weight: 600;
}

/* Seções como cards coloridos */
.numeros-perfil,
.diagnostico,
.financeiro,
.explicacao,
.solucao,
.proximo-passo {
    background: rgba(30, 30, 30, 0.5);
    border-left: 4px solid rgba(192, 192, 192, 0.4);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.numeros-perfil:hover,
.diagnostico:hover,
.financeiro:hover,
.explicacao:hover,
.solucao:hover,
.proximo-passo:hover {
    transform: translateX(4px);
    box-shadow: -4px 0 12px rgba(192, 192, 192, 0.2);
}

.numeros-perfil h3,
.diagnostico h3,
.financeiro h3,
.explicacao h3,
.solucao h3,
.proximo-passo h3 {
    font-size: 24px;
    font-weight: 900;
    color: #C0C0C0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.numeros-perfil ul,
.diagnostico ul,
.diagnostico ol,
.solucao ul,
.solucao ol,
.proximo-passo ul {
    margin-left: 24px;
    color: #d0d0d0;
}

.numeros-perfil li,
.diagnostico li,
.solucao li,
.proximo-passo li {
    margin-bottom: 12px;
    line-height: 1.8;
    font-size: 17px;
}

.resultado-card p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: #C0C0C0;
}

.resultado-card strong {
    color: #E8E8E8;
    font-weight: 700;
}

/* Destaques financeiros - MUITO MAIS IMPACTANTES */
.destaque {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.2) 0%, rgba(192, 192, 192, 0.1) 100%);
    border: 2px solid #C0C0C0;
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(192, 192, 192, 0.3);
}

.destaque p {
    font-size: 28px !important;
    font-weight: 900;
    color: #C0C0C0 !important;
    margin: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.alerta {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.2) 0%, rgba(192, 192, 192, 0.1) 100%);
    border: 2px solid #C0C0C0;
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(192, 192, 192, 0.3);
}

.alerta p {
    font-size: 26px !important;
    font-weight: 900;
    color: #C0C0C0 !important;
    margin: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.alerta-mensal {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.3) 0%, rgba(192, 192, 192, 0.15) 100%);
    border: 3px solid #C0C0C0;
    border-radius: 16px;
    padding: 40px;
    margin: 32px 0;
    text-align: center;
    box-shadow: 0 6px 24px rgba(192, 192, 192, 0.4);
    position: relative;
    overflow: hidden;
}

.alerta-mensal::before {
    content: '⚠️';
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    font-size: 100px;
    opacity: 0.1;
}

.alerta-mensal p {
    font-size: 32px !important;
    font-weight: 900;
    color: #C0C0C0 !important;
    margin: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* CTA Button - TODOS VERDES */
.btn-cta {
    display: block;
    padding: 24px 48px;
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(135deg, #06FFA5 0%, #00D68F 100%);
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 12px;
    margin: 48px auto 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 8px 24px rgba(6, 255, 165, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-cta:hover {
    background: linear-gradient(135deg, #00D68F 0%, #00B87A 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(6, 255, 165, 0.6);
}

.btn-cta:active {
    transform: translateY(-2px);
}

/* ============================================
   RODAPÉ
   ============================================ */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #2a2a2a;
    color: #808080;
}

footer a {
    color: #E63946;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ============================================
   RESPONSIVO MOBILE
   ============================================ */
@media (max-width: 768px) {
    /* Hero */
    .hero {
        padding: 40px 0 30px;
    }
    
    .logo-image {
        max-width: 220px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .subtitulo {
        font-size: 16px;
        padding: 0 10px;
    }
    
    /* Formulário */
    .formulario {
        padding: 30px 0 40px;
    }
    
    .form-card {
        padding: 24px;
        border-radius: 12px;
    }
    
    .form-group label {
        font-size: 15px;
    }
    
    .form-group input,
    .form-group select {
        font-size: 16px;
        padding: 12px 14px;
    }
    
    .btn-calcular {
        font-size: 16px;
        padding: 16px 24px;
    }
    
    /* Loading */
    .loading {
        padding: 40px 0;
    }
    
    .loading-card {
        padding: 32px 24px;
    }
    
    .loading-card h3 {
        font-size: 20px;
        margin-bottom: 24px;
    }
    
    .progress-bar {
        height: 10px;
    }
    
    .loading-card p {
        font-size: 16px;
    }
    
    /* Resultado */
    .resultado {
        padding: 30px 0 60px;
    }
    
    .resultado-card {
        padding: 0;
        border-radius: 16px;
    }
    
    #resultado-conteudo {
        padding: 24px;
    }
    
    .perfil-header {
        padding: 32px 24px;
    }
    
    .perfil-imagem {
        max-width: 150px;
    }
    
    .perfil-header h2 {
        font-size: 26px;
    }
    
    .perfil-prioridade {
        font-size: 14px;
        padding: 6px 16px;
    }
    
    .saudacao {
        font-size: 18px;
    }
    
    .numeros-perfil,
    .diagnostico,
    .financeiro,
    .explicacao,
    .solucao,
    .proximo-passo {
        padding: 24px;
        margin-bottom: 24px;
    }
    
    .numeros-perfil h3,
    .diagnostico h3,
    .financeiro h3,
    .explicacao h3,
    .solucao h3,
    .proximo-passo h3 {
        font-size: 20px;
    }
    
    .resultado-card p {
        font-size: 16px;
    }
    
    .numeros-perfil ul,
    .diagnostico ul,
    .diagnostico ol,
    .solucao ul,
    .solucao ol,
    .proximo-passo ul {
        margin-left: 20px;
    }
    
    .numeros-perfil li,
    .diagnostico li,
    .solucao li,
    .proximo-passo li {
        font-size: 15px;
    }
    
    .destaque {
        padding: 24px 20px;
    }
    
    .destaque p {
        font-size: 20px !important;
    }
    
    .alerta {
        padding: 24px 20px;
    }
    
    .alerta p {
        font-size: 19px !important;
    }
    
    .alerta-mensal {
        padding: 28px 20px;
    }
    
    .alerta-mensal p {
        font-size: 22px !important;
    }
    
    .btn-cta {
        font-size: 18px;
        padding: 20px 32px;
        width: 100%;
        max-width: 100%;
    }
    
    /* Container mobile */
    .container {
        padding: 0 16px;
    }
}

/* Mobile extra pequeno (iPhone SE, etc) */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .subtitulo {
        font-size: 15px;
    }
    
    .form-card {
        padding: 20px;
    }
    
    .loading-card h3 {
        font-size: 18px;
    }
    
    .perfil-header h2 {
        font-size: 22px;
    }
    
    .resultado-card p {
        font-size: 15px;
    }
    
    .destaque p {
        font-size: 18px !important;
    }
    
    .alerta p {
        font-size: 17px !important;
    }
    
    .alerta-mensal p {
        font-size: 20px !important;
    }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 30px 0 20px;
    }
    
    .logo-image {
        max-width: 180px;
    }
    
    .formulario,
    .loading,
    .resultado {
        padding: 30px 0;
    }
}
