/* --- Layout & Container --- */
.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-hero {
    background: linear-gradient(135deg, #f8fbfe 0%, #ffffff 100%);
    border: 1px solid rgba(0, 83, 156, 0.1);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.version-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-intro {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 0;
}

/* --- Technical Pillars Grid --- */
.about-grid-dense {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

/* Spotlight Effect: Esmaece os não-focados */
.about-grid-dense:has(.about-card-small:hover) .about-card-small:not(:hover) {
    opacity: 0.4;
    transform: scale(0.98);
}

.about-card-small {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.about-card-small:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 10;
    border-color: #cbd5e1;
}

/* Texto Extra Escondido (Revealed on Hover) */
.card-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card-small:hover .card-details {
    max-height: 150px;
    opacity: 1;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e2e8f0;
}

.card-icon-mini {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Cores dos Ícones Técnicos */
.icon-discente { color: #0ea5e9; }
.icon-diario { color: #20c997; }
.icon-analise { color: #6366f1; }
.icon-rh { color: #f59e0b; }

.about-card-small h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e293b;
}

.about-card-small p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* --- Legal & Compliance Section --- */
.about-legal-section {
    background: #1e293b;
    color: white;
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 50px;
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
}

.legal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.legal-header p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.legal-grid {
    display: grid;
    gap: 35px;
}

.legal-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.legal-item-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #0ea5e9;
}

.legal-item-text {
    flex: 1;
}

.legal-item-text h5 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #e2e8f0;
}

.legal-item-text p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

.legal-item-text strong {
    color: #f8fafc;
}

/* --- Contact & Footer --- */
.about-contact-footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #f1f5f9;
}

.dev-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1e293b;
}

.dev-info p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 15px;
}

.dev-links {
    font-size: 0.9rem;
    color: #94a3b8;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.dev-email {
    color: var(--cor-primaria);
    text-decoration: none;
    font-weight: 600;
}

.dev-divider {
    width: 4px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 50%;
}

.copyright-legal {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* --- FAQ Section --- */
.about-faq-section {
    margin-bottom: 60px;
}

.faq-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 30px;
    text-align: center;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: #1e293b;
    user-select: none;
}

.faq-question i {
    font-size: 0.9rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0, 1, 0, 1);
    background: #f8fafc;
}

.faq-answer p {
    padding: 0 24px 20px 24px;
    margin: 0;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

/* Active State */
.faq-item.active {
    border-color: #0ea5e9;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.08);
}

.faq-item.active .faq-question {
    color: #0ea5e9;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #0ea5e9;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: all 0.3s cubic-bezier(1, 0, 1, 0);
}
