/* ======================================================================
   CIO CODEX – PÁGINA DE COLUNISTAS
   ====================================================================== */

.cio-colunistas-wrap {
    background: #000;
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.cio-col-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero */
.cio-col-hero {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(3, 203, 255, 0.12);
}

.cio-col-prelabel {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #03cbff;
    margin-bottom: 16px;
    font-weight: 600;
}

.cio-col-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.cio-col-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 720px;
    margin: 0;
}

/* Toolbar */
.cio-col-main {
    padding: 40px 0 60px;
}

.cio-col-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.cio-col-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    padding: 10px 16px;
    flex: 1;
    min-width: 240px;
    max-width: 420px;
    transition: border-color 0.3s ease;
}

.cio-col-search-wrap:focus-within {
    border-color: #03cbff;
}

.cio-col-search-wrap svg {
    color: #03cbff;
    flex-shrink: 0;
}

.cio-col-search-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    outline: none;
    min-width: 0;
}

.cio-col-search-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.cio-col-count {
    font-size: 0.95rem;
    color: #03cbff;
    margin: 0;
    font-weight: 600;
}

/* Grid */
.cio-col-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.cio-col-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
}

/* Card */
.cio-col-card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cio-col-card:hover {
    border-color: #03cbff;
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(3, 203, 255, 0.1);
}

.cio-col-card-link {
    display: flex;
    gap: 20px;
    padding: 24px 24px 16px;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.cio-col-avatar {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(3, 203, 255, 0.3);
}

.cio-col-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cio-col-info {
    flex: 1;
    min-width: 0;
}

.cio-col-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: #fff;
    line-height: 1.3;
}

.cio-col-card:hover .cio-col-info h3 {
    color: #03cbff;
}

.cio-col-role {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 10px;
}

.cio-col-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(3, 203, 255, 0.12);
    color: #03cbff;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.cio-col-bio {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.55;
}

.cio-col-bio--empty {
    font-style: italic;
    color: rgba(255, 255, 255, 0.35);
}

/* Footer do card */
.cio-col-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    border-top: 1px solid #1a1a1a;
    gap: 12px;
}

.cio-col-view-posts {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #03cbff;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.cio-col-view-posts:hover {
    gap: 10px;
}

.cio-col-footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cio-col-post-count {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.cio-col-linkedin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(3, 203, 255, 0.1);
    color: #03cbff;
    transition: background 0.2s ease;
}

.cio-col-linkedin:hover {
    background: rgba(3, 203, 255, 0.25);
}

/* CTA */
.cio-col-cta {
    padding: 60px 0 80px;
    border-top: 1px solid rgba(3, 203, 255, 0.12);
    text-align: center;
}

.cio-col-cta h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 12px;
}

.cio-col-cta p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 520px;
    margin: 0 auto 28px;
    font-size: 1.05rem;
}

.cio-col-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #03cbff;
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cio-col-btn:hover {
    background: #00a8cc;
    transform: translateY(-2px);
}

.cio-col-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.cio-col-btn--full {
    width: 100%;
    margin-top: 8px;
}

body.cio-col-modal-open {
    overflow: hidden;
}

/* Modal */
.cio-col-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cio-col-modal[hidden] {
    display: none;
}

.cio-col-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.cio-col-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    background: #0a0a0a;
    border: 1px solid rgba(3, 203, 255, 0.2);
    border-radius: 12px;
    padding: 36px 32px 32px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 80px rgba(3, 203, 255, 0.08);
}

.cio-col-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.cio-col-modal__close:hover {
    border-color: #03cbff;
    color: #03cbff;
}

.cio-col-modal__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: #fff;
}

.cio-col-modal__lead {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 24px;
    font-size: 0.95rem;
    line-height: 1.55;
}

.cio-col-form__row {
    margin-bottom: 16px;
}

.cio-col-form__row--half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cio-col-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
}

.cio-col-form input,
.cio-col-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: #000;
    border: 1px solid #1a1a1a;
    border-radius: 6px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.cio-col-form input:focus,
.cio-col-form textarea:focus {
    border-color: #03cbff;
}

.cio-col-form input::placeholder,
.cio-col-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.cio-col-form textarea {
    resize: vertical;
    min-height: 100px;
}

.cio-col-form__error {
    color: #ff6b6b;
    font-size: 0.88rem;
    margin: 0 0 12px;
}

.cio-col-modal__success {
    text-align: center;
    padding: 12px 0 8px;
}

.cio-col-modal__success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(3, 203, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #03cbff;
}

@media (max-width: 768px) {
    .cio-col-hero {
        padding: 40px 0 30px;
    }

    .cio-col-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .cio-col-search-wrap {
        max-width: none;
    }

    .cio-col-grid {
        grid-template-columns: 1fr;
    }

    .cio-col-card-link {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cio-col-card-footer {
        flex-direction: column;
        align-items: center;
    }

    .cio-col-form__row--half {
        grid-template-columns: 1fr;
    }

    .cio-col-modal__dialog {
        padding: 32px 20px 24px;
    }
}
