
/* =====================================================
   YETU A YETU — ARTIGO
===================================================== */

.artigo-page {
    max-width: 1240px;
    padding-top: 16px;
    padding-bottom: 55px;
    color: #222;
}

/* NAVEGAÇÃO */

.artigo-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 22px;
    color: #999;
    font-size: 11px;
    line-height: 1.6;
}

.artigo-breadcrumb a {
    color: #777;
    text-decoration: none;
}

.artigo-breadcrumb a:hover {
    color: var(--yetu-lilas);
}

.breadcrumb-atual {
    overflow-wrap: anywhere;
}

/* LAYOUT PRINCIPAL */

.artigo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
    align-items: start;
}

.artigo {
    min-width: 0;
    margin: 0;
}

.artigo-header {
    margin: 0 0 13px;
    text-align: left;
}

.artigo-categoria {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 8px;
    border-radius: 2px;
    background: var(--yetu-lilas);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.artigo-header h1 {
    margin: 0 0 12px;
    color: #171717;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.17;
    letter-spacing: -.7px;
    overflow-wrap: anywhere;
}

.artigo-resumo {
    margin: 12px 0;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.artigo-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    color: #888;
    font-size: 11px;
    line-height: 1.6;
}

.artigo-meta strong {
    color: #555;
}

/* PARTILHA NO TOPO */

.artigo-share {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.artigo-share-topo {
    margin-top: 17px;
    padding: 0;
    border: 0;
}

.artigo-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.artigo-share-topo a,
.artigo-share-topo button {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 0;
    border-radius: 2px;
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.share-facebook {
    background: #1877f2;
}

.share-twitter {
    background: #202020;
}

.share-pinterest {
    background: #bd081c;
}

.artigo-share-topo .share-copiar {
    background: #f1f1f1;
    color: #555;
}

.artigo-share-topo a:hover,
.artigo-share-topo button:hover {
    opacity: .85;
}

/* IMAGEM PRINCIPAL */

.artigo-capa {
    width: 100%;
    margin: 13px 0 19px;
    overflow: hidden;
    background: #f3f3f3;
}

.artigo-capa img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    object-position: center;
}

.artigo-capa-placeholder {
    display: flex;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
}

/* TEXTO */

.artigo-conteudo {
    min-width: 0;
    color: #292929;
    font-size: 15px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.artigo-lead {
    margin: 0 0 18px;
    color: #444;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
}

.artigo-texto {
    min-width: 0;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

.artigo-texto p {
    margin: 0 0 18px;
}

.artigo-texto h2,
.artigo-texto h3,
.artigo-texto h4 {
    margin: 27px 0 12px;
    color: #171717;
    line-height: 1.35;
}

.artigo-texto img {
    max-width: 100%;
    height: auto;
}

.artigo-texto a {
    color: var(--yetu-lilas-dark);
    overflow-wrap: anywhere;
}

.artigo-texto blockquote {
    margin: 24px 0;
    padding: 17px 20px;
    border-left: 4px solid var(--yetu-lilas);
    background: #f7f3ff;
    color: #4b3475;
}

.artigo-texto ul,
.artigo-texto ol {
    padding-left: 25px;
    margin-bottom: 18px;
}

/* PUBLICIDADE NO FINAL DO CONTEÚDO */

.artigo-publicidade-final {
    margin: 32px 0 25px;
    padding: 12px;
    border: 1px solid #e6e6e6;
    background: #fff;
}

.publicidade-identificacao {
    display: block;
    margin-bottom: 8px;
    color: #999;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
}

.artigo-publicidade-espaco {
    display: flex;
    min-height: 110px;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #fafafa;
    color: #aaa;
    font-size: 12px;
    text-align: center;
}

/* ÁREA DE PARTILHA INFERIOR */

.artigo-share-final {
    display: block;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #e8e8e8;
}

.artigo-share-final > strong {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
}

.artigo-share-final a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 13px;
    background: #f0f0f0;
    color: #333;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
}

.artigo-share-final a:hover {
    background: var(--yetu-lilas);
    color: #fff;
}

/* SIDEBAR */

.artigo-sidebar {
    position: static;
    min-width: 0;
}

.artigo-sidebar-publicidade {
    margin-bottom: 22px;
    padding: 10px;
    border: 1px solid #e4e4e4;
    background: #fff;
}

.sidebar-banner {
    display: flex;
    min-height: 100px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #fafafa;
    color: #aaa;
    font-size: 11px;
    text-align: center;
}

.artigo-sidebar-box {
    margin-bottom: 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.sidebar-titulo {
    margin: 0 0 13px;
    padding: 10px 12px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    text-transform: uppercase;
}

.artigo-sidebar-item {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 11px 0;
    border-bottom: 1px solid #e7e7e7;
    color: inherit;
    text-decoration: none;
}

.artigo-sidebar-item img,
.sidebar-imagem-vazia {
    display: block;
    width: 86px;
    height: 62px;
    object-fit: cover;
    background: #eee;
}

.sidebar-imagem-vazia {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 11px;
    font-weight: 800;
}

.sidebar-item-texto {
    min-width: 0;
}

.sidebar-item-texto strong {
    display: -webkit-box;
    overflow: hidden;
    color: #222;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.sidebar-item-texto small {
    display: block;
    margin-top: 7px;
    color: #999;
    font-size: 10px;
}

.artigo-popular-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #e7e7e7;
    color: #222;
    text-decoration: none;
}

.artigo-popular-link strong {
    display: block;
    font-size: 12px;
    line-height: 1.5;
}

.artigo-popular-link small {
    display: block;
    margin-top: 6px;
    color: #888;
    font-size: 10px;
}

.artigo-redes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-bottom: 24px;
}

.artigo-redes .sidebar-titulo {
    grid-column: 1 / -1;
}

.artigo-redes a {
    padding: 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.rede-facebook {
    background: #1877f2;
}

.rede-instagram {
    background: #c13584;
}

.rede-youtube {
    background: #e60000;
}

/* RELACIONADOS */

.artigos-relacionados {
    margin-top: 45px;
}

.artigos-relacionados .section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.artigos-relacionados .section-heading span {
    color: var(--yetu-lilas);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.artigos-relacionados .section-heading h2 {
    margin: 6px 0 0;
    font-size: 20px;
}

.artigos-relacionados .section-heading > a {
    color: var(--yetu-lilas-dark);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
}

.artigos-relacionados-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.relacionado-card {
    overflow: hidden;
    border: 1px solid #e8e8e8;
    background: #fff;
}

.relacionado-card > a {
    color: inherit;
    text-decoration: none;
}

.relacionado-image {
    height: 150px;
    overflow: hidden;
    background: #f1f1f1;
}

.relacionado-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.relacionado-image > span {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 11px;
    font-weight: 500;
}

.relacionado-content {
    padding: 14px;
}

.relacionado-content h3 {
    margin: 0 0 9px;
    font-size: 15px;
    line-height: 1.4;
}

.relacionado-content p {
    margin: 0;
    color: #777;
    font-size: 12px;
    line-height: 1.6;
}

/* MENSAGENS DE ERRO */

.artigo-mensagem {
    padding: 45px 20px;
    text-align: center;
}

.artigo-mensagem h1 {
    font-size: 20px;
}

.artigo-mensagem a {
    color: var(--yetu-lilas-dark);
    font-weight: 700;
}

/* RESPONSIVO */

@media (max-width: 900px) {
    .artigo-layout {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 22px;
    }

    .artigo-sidebar-item {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .artigo-sidebar-item img,
    .sidebar-imagem-vazia {
        width: 70px;
        height: 55px;
    }

    .artigos-relacionados-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .artigo-page {
        padding-top: 12px;
        padding-bottom: 40px;
    }

    .artigo-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .artigo-header h1 {
        font-size: 20px;
        letter-spacing: -.4px;
    }

    .artigo-sidebar {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .artigo-capa img {
        max-height: none;
    }

    .artigos-relacionados-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .relacionado-image {
        height: 120px;
    }

    .relacionado-content {
        padding: 11px;
    }

    .relacionado-content h3 {
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .artigo-header h1 {
        font-size: 20px;
    }

    .artigo-meta {
        gap: 5px;
        font-size: 10px;
    }

    .artigo-share-topo a,
    .artigo-share-topo button {
        padding: 0 9px;
        font-size: 10px;
    }

    .artigos-relacionados-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =====================================================
   AS NOSSAS ESCOLHAS — SIDEBAR
===================================================== */

.escolha-item {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--yetu-border);
}

.escolha-item:last-child {
    border-bottom: 0;
}

.escolha-imagem {
    display: flex;
    width: 100px;
    height: 82px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f1f1f1;
    color: var(--yetu-lilas);
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}

.escolha-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.escolha-imagem:hover img {
    transform: scale(1.05);
}

.escolha-conteudo {
    min-width: 0;
}

.escolha-conteudo h3 {
    margin: 0 0 7px;
    font-size: 13px;
    line-height: 1.4;
}

.escolha-conteudo h3 a {
    color: var(--yetu-black);
    text-decoration: none;
}

.escolha-conteudo h3 a:hover {
    color: var(--yetu-lilas);
}


.escolha-resumo {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin: 6px 0;
    overflow-wrap: break-word;
}


.escolha-data {
    display: block;
    color: #999;
    font-size: 10px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .escolha-item {
        grid-template-columns: 100px minmax(0, 1fr);
    }
}

@media (max-width: 420px) {
    .escolha-item {
        grid-template-columns: 85px minmax(0, 1fr);
        gap: 10px;
    }

    .escolha-imagem {
        width: 85px;
        height: 75px;
    }
}

/* MAIS POPULAR — imagem e conteúdo */
.popular-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.popular-imagem {
    display: block;
    flex: 0 0 100px;
    width: 100px;
    height: 75px;
    overflow: hidden;
    border-radius: 6px;
    background: #f0edf5;
}

.popular-imagem img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popular-imagem:hover img {
    transform: scale(1.05);
}

.popular-sem-imagem {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 5px;
    color: #6f42a5;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
}

.popular-conteudo {
    flex: 1;
    min-width: 0;
}

.popular-titulo {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: #222;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}

.popular-titulo:hover {
    color: #8052b8;
}

.popular-visualizacoes {
    display: block;
    margin-top: 5px;
    color: #777;
    font-size: 11px;
}

@media (max-width: 480px) {
    .popular-imagem {
        flex-basis: 90px;
        width: 90px;
        height: 68px;
    }
}

/* =========================================================
   COLUNA LATERAL DO ARTIGO
========================================================= */

.artigo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 30px;
}

.artigo-sidebar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
    min-width: 0;
    width: 100%;
}

.artigo-sidebar > section {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.artigo-sidebar .artigo-sidebar-box,
.artigo-sidebar .mais-popular,
.artigo-sidebar .artigo-redes {
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .artigo-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 20px;
    }
}

@media (max-width: 700px) {
    .artigo-layout {
        grid-template-columns: 1fr;
    }

    .artigo-sidebar {
        margin-top: 25px;
    }
}


/* =====================================================
   SISTEMA DE LIKES
===================================================== */

.artigo-interacoes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin: 30px 0;
    padding: 22px;
    background: #faf8fc;
    border: 1px solid #eee8f4;
    border-radius: 12px;
}

.likes-informacao {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.likes-informacao strong {
    color: #19161f;
    font-size: 15px;
}

.likes-informacao span {
    color: #77717e;
    font-size: 13px;
}

.artigo-like-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 43px;
    padding: 10px 17px;
    border: 1px solid #e4d9ed;
    border-radius: 30px;
    background: #ffffff;
    color: #6b3a91;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.artigo-like-btn:hover {
    background: #f3eafa;
    transform: translateY(-2px);
}

.artigo-like-btn.gostou {
    background: #a855f7;
    border-color: #a855f7;
    color: #ffffff;
}

.artigo-like-btn .like-coracao {
    font-size: 19px;
    line-height: 1;
}

.artigo-like-btn:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}

.likes-mensagem {
    flex-basis: 100%;
    margin: 0;
    color: #77717e;
    font-size: 12px;
}

@media (max-width: 600px) {
    .artigo-interacoes {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* MENSAGENS DO SISTEMA DE COMENTÁRIOS */

.comentario-alerta {
    padding: 13px 16px;
    margin: 18px 0;
    background: #f3eafa;
    border: 1px solid #e5d5f1;
    border-radius: 8px;
    color: #63358a;
    font-size: 14px;
    line-height: 1.6;
}

/* =====================================================
   SISTEMA DE COMENTÁRIOS — YETU A YETU
===================================================== */

.artigo-comentarios {
    margin-top: 35px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #eee8f3;
    border-radius: 14px;
}

/* CABEÇALHO */

.comentarios-cabecalho {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee8f3;
}

.comentarios-cabecalho h2 {
    margin: 0;
    color: #21172b;
    font-size: 23px;
    font-weight: 700;
}

.comentarios-cabecalho span {
    padding: 6px 12px;
    background: #f3eafa;
    color: #713e96;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* FORMULÁRIO */

.form-comentario {
    display: flex;
    flex-direction: column;
    gap: 17px;
    margin-bottom: 35px;
}

.campo-comentario {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.campo-comentario label {
    color: #30243a;
    font-size: 14px;
    font-weight: 600;
}

.campo-comentario input,
.campo-comentario textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #e5deeb;
    border-radius: 9px;
    background: #fcfbfd;
    color: #29212f;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}

.campo-comentario input {
    min-height: 46px;
}

.campo-comentario textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.7;
}

.campo-comentario input:focus,
.campo-comentario textarea:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, .10);
    background: #fff;
}

.campo-comentario small {
    color: #89818f;
    font-size: 12px;
}

/* BOTÃO ENVIAR */

.form-comentario button {
    align-self: flex-start;
    min-height: 45px;
    padding: 12px 23px;
    border: none;
    border-radius: 8px;
    background: #713e96;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.form-comentario button:hover {
    background: #542b75;
    transform: translateY(-2px);
}

/* MENSAGEM DE CONFIRMAÇÃO */

.form-comentario > small {
    color: #89818f;
    font-size: 12px;
}

.comentario-alerta {
    padding: 13px 16px;
    margin: 18px 0;
    background: #f3eafa;
    border: 1px solid #e5d5f1;
    border-radius: 8px;
    color: #63358a;
    font-size: 14px;
    line-height: 1.6;
}

/* LISTA DE COMENTÁRIOS */

.lista-comentarios {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.comentario-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0edf2;
}

.comentario-avatar {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: #eee2f7;
    color: #713e96;
    font-size: 17px;
    font-weight: 700;
}

.comentario-corpo {
    flex: 1;
    min-width: 0;
}

.comentario-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.comentario-meta strong {
    color: #29212f;
    font-size: 14px;
    font-weight: 700;
}

.comentario-meta time {
    color: #96909b;
    font-size: 12px;
}

.comentario-corpo p {
    margin: 0;
    color: #625b68;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.sem-comentarios {
    padding: 20px;
    background: #faf8fc;
    border-radius: 9px;
    color: #817888;
    text-align: center;
    font-size: 14px;
}

/* RESPONSIVIDADE */

@media (max-width: 600px) {

    .artigo-comentarios {
        padding: 18px;
        margin-top: 25px;
    }

    .comentarios-cabecalho h2 {
        font-size: 20px;
    }

    .comentario-item {
        gap: 11px;
    }

    .comentario-avatar {
        width: 37px;
        height: 37px;
        font-size: 15px;
    }

    .form-comentario button {
        width: 100%;
    }
}
