/**
 * Equipe Editorial — CSS
 * Estude Grátis
 */

/* ── Hero ─────────────────────────────────────────────────────────────── */
.redacao-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f3460 100%);
    padding: 3rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.redacao-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #6366f1, #8b5cf6);
}

.redacao-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

.redacao-breadcrumb a {
    color: #94a3b8;
    text-decoration: none;
}

.redacao-breadcrumb a:hover {
    color: #e2e8f0;
}

.redacao-breadcrumb span:last-child {
    color: #e2e8f0;
}

.redacao-hero-content {
    max-width: 640px;
}

.redacao-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.redacao-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-highlight {
    color: #818cf8;
}

.redacao-hero-desc {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 560px;
}

/* ── Autores ──────────────────────────────────────────────────────────── */
.redacao-autores-section {
    padding: 3.5rem 0;
    background: #f8fafc;
}

.redacao-autores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.autor-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.autor-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.autor-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem 1.75rem 1.25rem;
    background: linear-gradient(135deg, #f8fafc, #fff);
    border-bottom: 1px solid #f1f5f9;
}

.autor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
    flex-shrink: 0;
}

.autor-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.autor-header-info {
    flex: 1;
    min-width: 0;
}

.autor-nome {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.2rem;
}

.autor-cargo {
    font-size: 0.82rem;
    color: #6366f1;
    font-weight: 600;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.autor-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.autor-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.25rem 0.65rem;
    text-decoration: none;
    transition: all 0.15s;
}

.autor-social-link:hover {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

.autor-card-body {
    padding: 1.25rem 1.75rem 1.75rem;
}

.autor-bio {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 1.25rem;
}

.autor-expertise-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.75rem;
}

.autor-expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.autor-expertise-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.2rem 0.65rem;
    border-radius: 100px;
}

.autor-expertise-list li i {
    color: #3b82f6;
    font-size: 0.65rem;
}

/* ── Nota editorial ───────────────────────────────────────────────────── */
.redacao-nota-editorial {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #6366f1;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.redacao-nota-editorial>i {
    color: #6366f1;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.redacao-nota-editorial strong {
    display: block;
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 0.35rem;
}

.redacao-nota-editorial p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* ── CTA ──────────────────────────────────────────────────────────────── */
.redacao-cta {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 3rem 0;
    text-align: center;
}

.redacao-cta h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.5rem;
}

.redacao-cta p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .redacao-autores-grid {
        grid-template-columns: 1fr;
    }

    .autor-card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .autor-social {
        justify-content: center;
    }

    .autor-expertise-list {
        justify-content: center;
    }
}