/* --- DIAGNOSIS SECTION (Light Reborn) --- */

.section-diagnosis {
    --bg-light: #F9F9F9;
    /* Very light gray */
    --color-mars: #7A1F24;
    --color-mars-soft: #FFE5E5;
    --color-silver: #C0C0C0;
    --color-gray-dark: #333333;
    --color-gray-medium: #757575;

    background-color: var(--bg-light);
    position: relative;
    padding-bottom: 5rem;
    padding-top: 5rem;
    overflow: hidden;
}

/* Background Effects - Clean & Subtle */
.diagnosis-bg-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* Cards Grid */
.cards-grid-premium {
    position: relative;
    z-index: 2;
}

.diagnosis-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Very subtle border */
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    height: 100%;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
}

/* Hover Effects */
.diagnosis-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-silver);
}

/* Featured Card (Procrastination) */
.featured-card {
    background: linear-gradient(145deg, #FFFFFF 0%, #FFF0F0 100%);
    border: 1px solid var(--color-mars-soft);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.1);
    z-index: 10;
}

.featured-card:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 20px 50px rgba(196, 30, 58, 0.2);
    border-color: var(--color-mars);
}

/* Icons */
.icon-wrapper-premium {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: #F5F5F5;
    color: var(--color-mars);
    transition: all 0.4s ease;
}

.diagnosis-card:hover .icon-wrapper-premium {
    background: var(--color-mars);
    color: #FFFFFF;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(196, 30, 58, 0.3);
}

/* Specific Card Icons Colors if differentiated, otherwise uniform Mars/Silver */
/* Making them uniform Mars Red as requested for simplicity and impact, but maybe changing shades or using Silver for alternation */

/* Option: Alternate Silver/Mars on icons if desired, but user said "Ícones: Vermelho Marte ou Prata". Let's stick to Mars for consistency of action. */

.featured-card .icon-wrapper-premium {
    background: var(--color-mars-soft);
    color: var(--color-mars);
}

.featured-card:hover .icon-wrapper-premium {
    background: var(--color-mars);
    color: #FFFFFF;
}

/* Typography */
.diagnosis-title {
    color: var(--color-gray-dark);
    font-family: 'Sora', sans-serif;
    font-weight: 700;
}

.diagnosis-intro {
    color: #424242;
    max-width: 700px;
}

.card-title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--color-gray-dark);
    /* Card titles darker */
}

/* White text classes in HTML usually need override if not changed in HTML */
.text-white {
    color: var(--color-gray-dark) !important;
}

.text-white-opacity {
    color: #424242 !important;
}

.card-desc {
    color: #424242;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Closing Phrase */
.closing-phrase-container {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 3rem;
}

.closing-text {
    color: var(--color-gray-dark);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 991px) {
    .featured-card {
        transform: scale(1);
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}