/* ============================================
   DCE - Diagnóstico para Crescimento Empresarial
   Only styles SPECIFIC to DCE components.
   Global styles (h1-h5, p, ul, .container, .btn,
   .section-dark, .section-white, etc.) are inherited
   from style.css. Do NOT redefine them here.
   ============================================ */

/* --- Hero --- */
.dce-hero {
    text-align: center;
    padding-top: 140px;
    padding-bottom: 80px;
}

.dce-headline .highlight-success {
    color: var(--gold-base);
    font-weight: 700;
}

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

.btn-cta {
    /* Reverting to brand standard button style */
    background: var(--gold-gradient);
    color: var(--text-pure-black);
    box-shadow: var(--shadow-gold);
    padding: 20px 60px;
    font-size: 1.2rem;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(207, 168, 100, 0.4);
    color: var(--text-pure-black);
}

.btn-cta::before {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-base) 50%, var(--gold-light) 100%);
}

.dce-urgency-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 10px 0 20px;
}

.dce-urgency-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dce-urgency-list li i {
    color: var(--gold-base); /* Reverting to brand gold */
    font-size: 0.8rem;
    margin-top: 0;
}

.highlight-scarcity {
    color: var(--gold-base);
    font-weight: 600;
}

/* --- Progress Bar --- */
.dce-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.dce-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--gold-gradient);
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.dce-progress-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 40px;
}

/* --- Form Steps --- */
.dce-form-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 120px;
}

.dce-step {
    display: none;
    animation: dceStepFadeIn 0.4s ease-out;
}

.dce-step.active {
    display: block;
}

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

/* --- Form Fields (Identification Step) --- */
.dce-fields {
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.dce-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-base);
    margin-bottom: 8px;
}

.dce-field input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-on-dark);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    transition: var(--transition-smooth);
    outline: none;
}

.dce-field input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.dce-field input:focus {
    border-color: var(--gold-base);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(207, 168, 100, 0.1);
}

.dce-field input.invalid {
    border-color: var(--error);
    animation: dceShake 0.4s ease;
}

@keyframes dceShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* --- Radio Options (Question Steps) --- */
.dce-options {
    max-width: 600px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dce-option {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: left;
}

.dce-option:hover {
    border-color: rgba(207, 168, 100, 0.3);
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

.dce-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-right: 16px;
    flex-shrink: 0;
    position: relative;
    transition: var(--transition-smooth);
}

.dce-option input[type="radio"]:checked {
    border-color: var(--gold-base);
}

.dce-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--gold-gradient);
    border-radius: 50%;
}

.dce-option input[type="radio"]:checked + span {
    color: var(--text-pure-white);
    font-weight: 400;
}

.dce-option span {
    color: var(--text-muted);
    font-weight: 300;
    transition: var(--transition-smooth);
}

.dce-option.selected {
    border-color: var(--gold-base);
    background: rgba(207, 168, 100, 0.08);
}

/* --- Feedback Messages --- */
.dce-feedback {
    max-width: 600px;
    margin: 25px auto 0;
    padding: 20px 24px;
    background: rgba(207, 168, 100, 0.06);
    border: 1px solid rgba(207, 168, 100, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
    animation: dceStepFadeIn 0.4s ease-out;
}

.dce-feedback i {
    color: var(--gold-base);
    margin-top: 10px;
}

.dce-feedback p {
    margin: 0;
    color: var(--text-on-dark);
    max-width: none;
}

/* --- Navigation Buttons --- */
.dce-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* --- Result Screen --- */
.dce-result-section {
    padding-top: 140px;
}

.dce-result-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 60px 50px;
    backdrop-filter: blur(10px);
}

/* --- Impact Box --- */
.dce-impact-box {
    margin-top: 40px;
    padding: 40px;
    background: rgba(207, 168, 100, 0.05);
    border: 1px solid rgba(207, 168, 100, 0.15);
    border-radius: 12px;
}

.dce-simulation {
    margin-top: 30px;
}

.dce-simulation-numbers {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.dce-sim-item {
    text-align: center;
}

.dce-sim-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--gold-base);
    font-weight: 700;
    line-height: 1.2;
}

.dce-sim-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    display: block;
}

/* --- Connection Section --- */
.dce-connection {
    text-align: center;
}

.dce-connection ul {
    margin: 25px auto;
    max-width: 400px;
}

/* --- Plans Section (within Results) --- */
.dce-plans {
    text-align: center;
}

.dce-plans > ul {
    margin: 25px auto;
    max-width: 400px;
}

.dce-plans .plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    row-gap: 60px;
    column-gap: 40px;
    margin: 60px auto;
    align-items: center;
}

.dce-plans .plan-card h2 small {
    font-size: 0.5em;
    opacity: 0.6;
}

/* --- Final CTA --- */
.dce-final-cta {
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid var(--border-dark);
}

/* --- Loading Screen --- */
.dce-loading-section {
    padding-top: 140px;
    padding-bottom: 60px;
}

.dce-spinner {
    margin: 40px auto;
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255,255,255,0.1);
    border-top-color: var(--gold-base);
    border-radius: 50%;
    animation: dceSpin 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

@keyframes dceSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Loading Progress Bar --- */
.dce-loading-progress {
    width: 100%;
    max-width: 480px;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto 24px;
}

.dce-loading-bar {
    height: 100%;
    width: 0%;
    background: var(--gold-gradient);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.dce-loading-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 0;
}

/* --- Post-Impact Text Block --- */
.dce-post-impact {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Plan Item Notes (complementary text) --- */
.plan-item-note {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.4;
    font-style: italic;
}

.plan-item-obs {
    opacity: 0.6;
    font-size: 0.72rem;
}

.plan-features li > i {
    color: var(--gold-base);
    font-size: 1rem;
    opacity: 0.8;
    /* grid cell: icon stays fixed at top of its row */
    margin-top: 3px;
    flex-shrink: 0;
}

/* Grid layout: [icon] | [content block] */
.plan-features li {
    display: grid;
    grid-template-columns: 20px 1fr;
    column-gap: 12px;
    align-items: start;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-item-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.plan-item-main {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
    line-height: 1.4;
}

/* --- VIP "MAIS ESCOLHIDO" corner ribbon --- */
.plan-card.featured-popular {
    background: linear-gradient(180deg, rgba(15, 12, 8, 0.9) 0%, rgba(5, 10, 17, 0.95) 100%);
    border: 1px solid rgba(207, 168, 100, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    overflow: hidden; /* clip the ribbon */
}

.plan-card.featured-popular:hover {
    border-color: rgba(207, 168, 100, 0.4);
    transform: translateY(-10px);
}

.popular-ribbon {
    position: absolute;
    top: 28px;
    left: -42px;
    width: 170px;
    text-align: center;
    transform: rotate(-45deg);
    background: var(--gold-gradient);
    color: var(--text-pure-black);
    padding: 8px 0;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: var(--font-body);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 10;
    text-transform: uppercase;
}

/* --- Closing Motivational Block --- */
.dce-closing-block {
    text-align: center;
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-dark);
}

.dce-motivational-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 0;
}

.dce-motivational-list li {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--gold-base);
    letter-spacing: 1px;
    opacity: 0;
    animation: dceMotivReveal 0.5s ease forwards;
}

.dce-motivational-list li:nth-child(1) { animation-delay: 0.1s; }
.dce-motivational-list li:nth-child(2) { animation-delay: 0.25s; }
.dce-motivational-list li:nth-child(3) { animation-delay: 0.4s; }
.dce-motivational-list li:nth-child(4) { animation-delay: 0.55s; }
.dce-motivational-list li:nth-child(5) { animation-delay: 0.7s; }

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

@media (max-width: 768px) {
    .plan-item-note {
        margin-left: 0;
    }

    .dce-motivational-list li {
        font-size: 1.3rem;
    }

    .dce-headline br {
        display: none;
    }
    
    .dce-subhead {
        margin-bottom: 30px;
    }

    .btn-cta {
        width: 100%;
        padding: 18px 20px;
        font-size: 1.1rem;
    }

    .dce-hero {
        padding-top: 100px;
    }

    .dce-form-section {
        padding-top: 90px;
        min-height: auto;
    }

    .dce-result-card {
        padding: 40px 20px;
    }

    .dce-impact-box {
        padding: 25px 20px;
    }

    .dce-simulation-numbers {
        flex-direction: column;
        gap: 30px;
    }

    .dce-sim-value {
        font-size: 1.8rem;
    }

    .dce-option {
        padding: 14px 18px;
    }

    .dce-fields {
        padding: 0 10px;
    }

    .dce-nav .btn-outline {
        width: 55px;
        color: transparent;
        justify-content: start;
        padding: 0 20px;
    }

    .dce-nav .btn-outline i {
        color: var(--gold-base);
    }

    .dce-nav .btn-outline:hover i {
        color: var(--text-pure-black);
    }
    
}