/* CSS Reset e Variáveis */
:root {
    --bg-main: #141414;
    --bg-darker: #0d0d0d;
    --bg-card: #ffffff;
    --text-main: #e2e8f0;
    --text-dark: #1e293b;
    --text-muted: #64748b;

    /* Cores da Marca */
    --primary: #F05A28;
    /* Laranja Vibrante Sittax */
    --primary-hover: #d0491d;
    --secondary: #00C853;
    /* Verde Ação */
    --secondary-hover: #00a844;

    --border-color: #e2e8f0;
    --radius: 12px;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(240, 90, 40, 0.08), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(30, 41, 59, 0.3), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(20, 20, 20, 1), rgba(13, 13, 13, 1));
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
}

/* Tipografia */
h1,
h2,
h3,
h4 {
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* Estrutura Container */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Componentes Úteis */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

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

.btn-primary:hover:not(:disabled) {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(240, 90, 40, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: #fff;
}

.btn-secondary:hover:not(:disabled) {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 200, 83, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover:not(:disabled) {
    background-color: rgba(240, 90, 40, 0.1);
}

.btn:disabled {
    background-color: #e2e8f0;
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Header */
.header {
    padding: 30px 0;
    background-color: transparent;
}

.logo {
    height: 47px;
}

/* Hero Section */
.hero {
    padding: 60px 0 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    background-color: rgba(240, 90, 40, 0.15);
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.hero h1 span.highlight {
    color: var(--primary);
}

.hero .subtitle {
    font-size: 0.95rem;
    color: #cbd5e1;
    max-width: 850px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.microcopy {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Como Funciona */
.how-it-works {
    padding: 20px 0 80px;
}

.bg-darker {
    background-color: transparent;
}

.how-it-works h2 {
    margin-bottom: 50px;
    font-size: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.how-it-works .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    background-color: #1a1a1a;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    color: var(--text-main);
    border: 1px solid #333;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(240, 90, 40, 0.15);
    transform: translateY(-5px);
}

.step-card h3 {
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.step-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.5;
}

.step-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Diagnóstico (Wizard) */
.diagnostico-section {
    padding: 80px 0;
}

#btn-hero-cta {
    background-color: var(--secondary);
}

#btn-hero-cta:hover {
    background-color: var(--secondary-hover);
    box-shadow: 0 6px 15px rgba(0, 200, 83, 0.3);
}

.card-form {
    background-color: var(--bg-card);
    border-radius: var(--radius);
    padding: 50px;
    color: var(--text-dark);
}

.card-form .form-header h2 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.8rem;
}

.card-form .form-header p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Barra de Progresso */
.wizard-progress-bar {
    width: 100%;
    height: 6px;
    background-color: #f1f5f9;
    border-radius: 3px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary);
    width: 33.33%;
    transition: width 0.4s ease;
}

.wizard-step-indicator {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.wizard-step {
    animation: fadeIn 0.4s ease forwards;
}

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

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

.pilar-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
}

.question-item {
    margin-bottom: 35px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.question-item p {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

/* Respostas Clicáveis */
.options-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.options-group label {
    flex: 1;
    min-width: 120px;
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 14px 15px;
    text-align: center;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.options-group input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.options-group label:hover {
    border-color: #cbd5e1;
    background-color: #f1f5f9;
}

.options-group input[type="radio"]:focus-visible+label {
    outline: 3px solid rgba(240, 90, 40, 0.5);
    outline-offset: 2px;
}

.options-group input[type="radio"]:checked+label {
    background-color: rgba(240, 90, 40, 0.05);
    color: var(--primary);
    border-color: var(--primary);
    font-weight: 700;
}

.options-group input[type="radio"]:checked+label::after {
    content: '✓';
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary);
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wizard-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

/* Modais e popups removidos pois todo o fluxo foi 
   integrado nativamente nas etapas do Wizard Container */

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin-top: 8px;
    font-weight: 400;
}

.result-header-text {
    color: #000000 !important;
    font-size: 1.25rem !important;
    /* ~25% bigger than default 1rem */
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    transition: var(--transition);
    background: #f8fafc;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(240, 90, 40, 0.1);
}

.error-msg {
    color: #e63946;
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
}

/* ----------------------------------
   Resultado (Etapa 5)
----------------------------------- */

.card-resultado {
    background-color: var(--bg-card);
    border-radius: var(--radius);
    padding: 50px;
    color: var(--text-dark);
}

.card-resultado h2 {
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.score-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.score-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 3px solid transparent;
    /* Sutil ou sem borda visível */
    transition: all 0.3s ease;
    color: #ffffff !important;
}

.score-circle h3 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff !important;
    margin-bottom: -5px;
}

.score-circle span {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.95;
    color: #ffffff !important;
}

.classification {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

.message-box {
    background-color: #f8fafc;
    border-left: 5px solid var(--primary);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: left;
}

.message-box p {
    font-size: 1.05rem;
}

.message-box hr {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 15px 0;
}

.weakest-message {
    font-weight: 600;
    color: var(--primary);
}

.recommendation-box {
    margin-top: 30px;
    padding: 25px;
    background: #000000;
    /* Fundo preto */
    border: 1px solid #334155;
    border-radius: 12px;
    text-align: left;
}

.recommendation-title {
    color: var(--primary);
    /* Laranja da identidade */
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.recommendation-text {
    color: #f1f5f9;
    /* Texto claro para fundo preto */
    font-size: 0.95rem;
    line-height: 1.45;
    /* Reduzido de 1.6 */
    font-weight: 400;
}

.recommendation-text strong {
    font-weight: 700;
}

.actions-card {
    margin-top: 15px;
    /* Subido (era 40px) */
    padding: 30px;
    background: #f1f5f9;
    /* Cinza suave */
    border-radius: 12px;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.actions-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary);
    padding-left: 15px;
}

.pillar-recommendation {
    margin-bottom: 25px;
}

.pillar-recommendation h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.pillar-recommendation h5::before {
    content: "🔶";
    margin-right: 8px;
    font-size: 0.8rem;
}

.action-item {
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease;
}

.action-item:hover {
    transform: translateX(5px);
    border-color: var(--primary);
}

.action-item span {
    font-size: 0.9rem;
    color: #475569;
}

.action-gain {
    font-weight: 700;
    color: #16a34a;
    /* Verde para ganho */
    font-size: 0.85rem;
    background: #f0fdf4;
    padding: 4px 8px;
    border-radius: 4px;
}

.potential-score-box {
    margin-top: 30px;
    padding: 20px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.potential-score-box span {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 800;
}

.actions-footer-strategic {
    margin-top: 25px;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    border-top: 1px solid #cbd5e1;
    padding-top: 20px;
}

.radar-container {
    height: 400px;
    /* ~350px * 1.15 */
    margin: 20px auto;
    position: relative;
}

.cta-final-box {
    margin-top: 30px;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.faq-header-side {
    text-align: left;
    padding-top: 50px;
}

.faq-header-side h2 {
    font-size: 2.7rem;
    margin-bottom: 20px;
    text-align: left;
    max-width: 400px;
}

.faq-header-side h2 span.highlight {
    color: var(--primary);
}

.faq-header-side p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 380px;
}

.faq-item {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #333;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.faq-item:hover {
    border-left: 4px solid var(--primary);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item h4 {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #ffffff;
}

.faq-item p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.faq-cta-container {
    margin-top: 60px;
    padding-top: 20px;
}

/* Footer */
.footer {
    background-color: var(--bg-main);
    padding: 60px 0;
    border-top: 1px solid #333;
    color: #cbd5e1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.footer-logo {
    height: 40px;
}

.footer-center p {
    font-size: 0.81rem;
    /* 0.77rem * 1.05 = 0.81rem */
    line-height: 1.6;
    text-align: center;
    color: #ffffff;
    font-weight: 500;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 15px;
}

.badge-recleme {
    height: 38px;
    /* 40px * 0.95 = 38px */
    width: auto;
}

.footer-info p {
    font-size: 0.72rem;
    /* 0.8rem * 0.9 = 0.72rem */
    color: #94a3b8;
    margin-bottom: 2px;
}

/* Responsividade Mobile-First */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-right {
        align-items: center;
        text-align: center;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header .container {
        display: flex;
        justify-content: center;
    }

    .how-it-works .grid-3 {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .step-card {
        width: 100%;
    }

    .faq-item {
        border-left: 4px solid var(--primary);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .card-form {
        padding: 30px 20px;
    }

    .options-group {
        flex-direction: column;
    }

    .options-group label {
        padding: 16px;
    }

    .wizard-footer {
        flex-direction: column-reverse;
        gap: 15px;
    }

    .radar-container {
        height: 250px;
    }

    .btn {
        width: 100%;
    }
}
