/* ================= colaboradores.css ================= */

/* --- ESTRUTURA GERAL --- */
.colab-container {
    max-width: 1200px;
    margin: 120px auto 50px auto;
    padding: 0 16px;
    position: relative;
    z-index: 10;
}

/* --- TÍTULO PRINCIPAL --- */
.colab-header {
    text-align: center;
    margin-bottom: 30px;
}

.subtitle-top {
    font-family: var(--font-texto);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cor-acento);
    margin-bottom: 12px;
    font-weight: 600;
    display: block;
}

.colab-header h2 {
    font-family: var(--font-titulo);
    font-size: clamp(2.2rem, 7vw, 3.5rem);
    color: var(--cor-texto);
    margin-bottom: 15px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 1px;
}

.colab-header p {
    font-family: var(--font-texto);
    color: #b0a89f;
    max-width: 650px;
    margin: 0 auto 20px auto;
    font-size: clamp(0.9rem, 3vw, 1.05rem);
    line-height: 1.6;
}

.divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.4), transparent);
    margin: 30px 0;
}

/* --- O DESTAQUE DA SEMANA --- */
.shareable-hero {
    margin-bottom: 40px;
}

.shareable-card {
    position: relative;
    width: 100%;
    min-height: 450px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border: 1px solid rgba(212, 175, 55, 0.15);
    background-color: #000;
}

.card-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
}

.card-bg img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    filter: sepia(30%) contrast(110%) brightness(50%);
}

.card-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(10, 9, 8, 1) 0%, rgba(10, 9, 8, 0.6) 60%, transparent 100%);
    z-index: 2;
}

.card-content {
    position: relative;
    z-index: 3;
    padding: 25px 20px;
    width: 100%;
    max-width: 900px;
}

.card-top {
    display: flex;
    gap: 10px;
    align-items: baseline;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.colab-tag {
    color: var(--cor-acento);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid var(--cor-acento);
    padding: 3px 8px;
    border-radius: 4px;
}

.colab-format {
    color: #8c8273;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.card-content h3 {
    font-family: var(--font-titulo);
    font-size: clamp(1.8rem, 6vw, 3.2rem);
    color: var(--cor-texto);
    margin-bottom: 15px;
    line-height: 1.1;
    font-weight: 400;
}

.card-content p {
    font-family: var(--font-texto);
    font-size: clamp(0.9rem, 3vw, 1rem);
    color: #e5e0d8;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Informações do Autor no Destaque */
.author-spotlight {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 6px;
    border-left: 2px solid var(--cor-acento);
}

.author-avatar-large {
    width: 50px;
    height: 50px;
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--cor-acento);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-acento);
    font-family: var(--font-titulo);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.written-by {
    font-size: 0.65rem;
    color: #8c8273;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-details strong {
    font-size: 1.1rem;
    color: var(--cor-texto);
    font-family: var(--font-titulo);
    font-weight: 400;
    margin: 2px 0;
}

.author-bio {
    font-size: 0.75rem;
    color: var(--cor-acento);
}

/* Botões da Área Principal */
.card-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    border-top: 1px solid rgba(181, 168, 152, 0.2);
    padding-top: 20px;
}

.btn-minimal {
    display: inline-block;
    color: var(--cor-texto);
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    font-family: var(--font-texto);
    letter-spacing: 2px;
    font-size: 0.75rem;
    text-transform: uppercase;
    border: 1px solid var(--cor-acento);
    border-radius: 4px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-minimal:hover {
    background-color: var(--cor-acento);
    color: #111;
}

.share-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--cor-acento);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.share-btn {
    background-color: transparent;
    border: 1px solid rgba(181, 168, 152, 0.4);
    color: var(--cor-texto);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background-color: var(--cor-acento);
    border-color: var(--cor-acento);
    color: #111;
}

/* --- FILTROS --- */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: #b0a89f;
    padding: 10px 15px;
    font-family: var(--font-texto);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 25px;
    flex-grow: 1;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--cor-acento);
    color: #111;
    border-color: var(--cor-acento);
    font-weight: 600;
}

/* --- GRID DE TEXTOS --- */
.colab-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.grid-card.hidden {
    display: none;
}

.colab-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 12px;
}

.colab-image-wrapper {
    width: 100%;
    height: 200px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #000;
}

.colab-image-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    filter: sepia(30%) contrast(110%) brightness(70%);
    transition: transform 0.8s ease, filter 0.6s ease;
}

.colab-content {
    padding: 20px 10px 10px 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tags-wrapper {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
}

.colab-content h4 {
    font-family: var(--font-titulo);
    color: var(--cor-texto);
    margin-bottom: 10px;
    font-size: clamp(1.3rem, 4vw, 1.5rem);
    line-height: 1.3;
    font-weight: 400;
}

.colab-content p {
    color: #a39b92;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    color: var(--cor-texto);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--cor-acento);
    transition: color 0.3s ease, border-color 0.3s ease;
}
.read-more:hover { color: var(--cor-acento); border-color: transparent; }

/* Efeitos Hover no PC */
.card-hover { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.card-hover:hover {
    background-color: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.4);
}
.card-hover:hover .colab-image-wrapper img {
    transform: scale(1.05); filter: sepia(0%) contrast(105%) brightness(100%);
}

/* --- CHAMADA PARA NOVOS ESCRITORES --- */
.join-us-section {
    margin-top: 50px;
    padding: 40px 20px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    background: radial-gradient(circle at center, rgba(30, 26, 22, 0.4) 0%, transparent 100%);
    border-radius: 6px;
    text-align: center;
}

.join-us-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.join-us-content h3 {
    font-family: var(--font-cursiva);
    font-size: clamp(2.5rem, 6vw, 3rem);
    color: var(--cor-acento);
    font-weight: 400;
    margin-bottom: 15px;
}

.decorative-line {
    width: 60px; height: 1px; background-color: var(--cor-acento); opacity: 0.6; margin-bottom: 20px;
}

.join-us-content p {
    color: #e5e0d8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}
.join-us-content p strong { color: var(--cor-texto); font-weight: 600; }

/* ==========================================
   TABLETS E DESKTOPS
   ========================================== */
@media (min-width: 768px) {
    .colab-container { padding: 0 30px; margin-top: 150px; }
    .card-content { padding: 50px; }
    
    .author-spotlight {
        max-width: 400px;
    }

    .card-actions {
        flex-direction: row;
        justify-content: space-between;
    }

    .filter-container { flex-wrap: nowrap; }
    .filter-btn { flex-grow: 0; padding: 8px 20px; }

    .colab-grid { grid-template-columns: repeat(2, 1fr); gap: 35px; }
}

@media (min-width: 1024px) {
    .colab-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; transform: none !important; animation: none !important; }
}