/* =====================================================================
   WSE Advogados Associados - Notícias
   Cards no mesmo padrão da seção "Artigos e Informações Importantes"
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800&family=Roboto:wght@400;500;700&display=swap');

:root {
    --wse-dourado: #c6a265;
    --wse-dourado-escuro: #b08a4c;
    --wse-azul: #0b1c37;
    --wse-azul-2: #13284b;
    --wse-texto: #5f6168;
    --wse-cinza: #f5f3ef;
    --wse-borda: #ebe7df;
    --wse-raio: 10px;
}

/* ---------------- Grade de cards ---------------- */
.wse-blog { width: 100%; }
.wse-blog *, .wse-blog *::before, .wse-blog *::after { box-sizing: border-box; }

.wse-blog__grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.wse-blog__col {
    display: flex;
    width: 33.3333%;
    padding: 0 15px;
    margin-bottom: 30px;
}
@media (max-width: 991px) { .wse-blog__col { width: 50%; } }
@media (max-width: 767px) { .wse-blog__col { width: 100%; } }

.wse-blog__card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border-radius: var(--wse-raio);
    box-shadow: 0 6px 18px rgba(11, 28, 55, .09);
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}
.wse-blog__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(11, 28, 55, .14);
}

/* Imagem 410x260 */
.wse-blog__img {
    position: relative;
    display: block;
    aspect-ratio: 410 / 260;
    overflow: hidden;
    border-radius: var(--wse-raio) var(--wse-raio) 0 0;
    background: #e3e3e3;
}
.wse-blog__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.wse-blog__img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 28, 55, .35);
    opacity: 0;
    transition: opacity .4s ease;
}
.wse-blog__card:hover .wse-blog__img img { transform: scale(1.07); }
.wse-blog__card:hover .wse-blog__img::after { opacity: 1; }

/* Selo da data */
.wse-blog__data {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    width: 65px;
    height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--wse-dourado);
    color: #fff;
    border-radius: 3px;
    font-family: 'Inter', sans-serif;
    line-height: 1;
    text-align: center;
}
.wse-blog__data strong { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.wse-blog__data span   { font-size: 15px; font-weight: 500; }

/* Conteúdo */
.wse-blog__conteudo {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 32px 30px 30px;
}
.wse-blog__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}
.wse-blog__meta li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #5b5b5b;
}
.wse-blog__meta svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--wse-dourado);
    stroke-width: 1.5;
    stroke-linecap: round;
}
.wse-blog__titulo {
    margin: 0 0 16px;
    font-family: 'Inter', sans-serif;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.42;
    letter-spacing: -.01em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.wse-blog__titulo a {
    color: var(--wse-azul);
    text-decoration: none;
    transition: color .3s ease;
}
.wse-blog__titulo a:hover { color: var(--wse-dourado); }

.wse-blog__resumo {
    margin: 0 0 22px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--wse-texto);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.wse-blog__mais {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    align-self: flex-start;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--wse-dourado);
    text-transform: uppercase;
    text-decoration: none;
    transition: color .3s ease, gap .3s ease;
}
.wse-blog__mais svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.wse-blog__mais:hover { color: var(--wse-azul); gap: 10px; }

.wse-blog__ver-todas { text-align: center; margin-top: 15px; }
.wse-blog__vazio {
    text-align: center;
    color: var(--wse-texto);
    font-family: 'Roboto', sans-serif;
    padding: 30px 0;
}

/* ---------------- Botão ---------------- */
.wse-btn {
    display: inline-block;
    padding: 16px 38px;
    background: var(--wse-dourado);
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: background .3s ease;
}
.wse-btn:hover { background: var(--wse-azul); }

/* =====================================================================
   PÁGINAS INTERNAS (matéria completa e lista de notícias)
   ===================================================================== */
.wse-pagina { font-family: 'Roboto', sans-serif; color: var(--wse-texto); background: #fff; }
.wse-pagina *, .wse-pagina *::before, .wse-pagina *::after { box-sizing: border-box; }
.wse-container { width: 100%; max-width: 1230px; margin: 0 auto; padding: 0 15px; }

/* Faixa de título */
.wse-titulo-pagina {
    position: relative;
    padding: 110px 0 100px;
    background: linear-gradient(120deg, rgba(11,28,55,.94), rgba(19,40,75,.86)),
                url('../img/faixa-titulo.jpg') center / cover no-repeat, var(--wse-azul);
    text-align: center;
    overflow: hidden;
}
.wse-titulo-pagina::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 120px;
    height: 3px;
    transform: translateX(-50%);
    background: var(--wse-dourado);
}
.wse-titulo-pagina h1 {
    margin: 0 auto 16px;
    max-width: 900px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}
.wse-trilha { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.wse-trilha li { color: rgba(255,255,255,.75); font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.wse-trilha li + li::before { content: "/"; margin-right: 10px; color: var(--wse-dourado); }
.wse-trilha a { color: #fff; text-decoration: none; }
.wse-trilha a:hover { color: var(--wse-dourado); }

/* Cabeçalho de seção (igual à home) */
.wse-sec-titulo { text-align: center; margin-bottom: 55px; }
.wse-sec-titulo h2 {
    margin: 0 0 14px;
    font-family: 'Inter', sans-serif;
    font-size: 46px;
    font-weight: 700;
    color: var(--wse-azul);
    letter-spacing: -.02em;
}
.wse-sec-titulo h4 {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--wse-dourado);
    text-transform: uppercase;
    letter-spacing: .03em;
}
.wse-sec-titulo h4::before, .wse-sec-titulo h4::after {
    content: "";
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #8e7754, #c6a265);
}

.wse-secao { padding: 100px 0 80px; }

/* Matéria completa */
.wse-materia-grid { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.wse-materia-principal { width: 66.6667%; padding: 0 15px; }
.wse-materia-lateral   { width: 33.3333%; padding: 0 15px; }
@media (max-width: 991px) {
    .wse-materia-principal, .wse-materia-lateral { width: 100%; }
    .wse-materia-lateral { margin-top: 50px; }
}

.wse-materia__img { position: relative; border-radius: var(--wse-raio); overflow: hidden; margin-bottom: 34px; }
.wse-materia__img img { display: block; width: 100%; height: auto; aspect-ratio: 410 / 260; object-fit: cover; }
.wse-materia__img .wse-blog__data { top: 25px; right: 25px; width: 75px; height: 75px; }
.wse-materia__img .wse-blog__data strong { font-size: 26px; }

.wse-materia__meta { margin-bottom: 18px; }
.wse-materia__titulo {
    margin: 0 0 26px;
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.02em;
    color: var(--wse-azul);
}
.wse-materia__resumo {
    margin: 0 0 30px;
    padding: 22px 26px;
    background: var(--wse-cinza);
    border-left: 4px solid var(--wse-dourado);
    border-radius: 0 6px 6px 0;
    font-size: 18px;
    line-height: 1.7;
    color: var(--wse-azul-2);
}
.wse-materia__texto { font-size: 17px; line-height: 1.85; color: var(--wse-texto); }
.wse-materia__texto p { margin: 0 0 22px; }
.wse-materia__texto h2, .wse-materia__texto h3, .wse-materia__texto h4 {
    margin: 38px 0 16px;
    font-family: 'Inter', sans-serif;
    color: var(--wse-azul);
    line-height: 1.35;
}
.wse-materia__texto h2 { font-size: 28px; }
.wse-materia__texto h3 { font-size: 23px; }
.wse-materia__texto h4 { font-size: 19px; }
.wse-materia__texto ul, .wse-materia__texto ol { margin: 0 0 24px; padding-left: 22px; }
.wse-materia__texto li { margin-bottom: 8px; }
.wse-materia__texto li::marker { color: var(--wse-dourado); font-weight: 700; }
.wse-materia__texto a { color: var(--wse-dourado-escuro); text-decoration: underline; }
.wse-materia__texto img { max-width: 100%; height: auto; border-radius: 8px; margin: 10px 0; }
.wse-materia__texto blockquote {
    margin: 30px 0;
    padding: 24px 30px;
    background: var(--wse-azul);
    color: #fff;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    line-height: 1.6;
}
.wse-materia__texto strong { color: var(--wse-azul); }
.wse-materia__texto blockquote strong { color: var(--wse-dourado); }

.wse-compartilhar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--wse-borda);
}
.wse-compartilhar span { font-family: 'Inter', sans-serif; font-weight: 600; color: var(--wse-azul); margin-right: 6px; }
.wse-compartilhar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--wse-cinza);
    color: var(--wse-azul);
    transition: background .3s, color .3s;
}
.wse-compartilhar a:hover { background: var(--wse-dourado); color: #fff; }
.wse-compartilhar svg { width: 18px; height: 18px; fill: currentColor; }
.wse-voltar { margin-top: 30px; }

/* Barra lateral */
.wse-lateral-caixa {
    margin-bottom: 30px;
    padding: 34px 30px;
    background: var(--wse-cinza);
    border-radius: var(--wse-raio);
}
.wse-lateral-caixa h3 {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--wse-azul);
}
.wse-lateral-caixa h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 2px;
    background: var(--wse-dourado);
}
.wse-lateral-lista { list-style: none; margin: 0; padding: 0; }
.wse-lateral-lista li { display: flex; gap: 15px; align-items: center; margin-bottom: 20px; }
.wse-lateral-lista li:last-child { margin-bottom: 0; }
.wse-lateral-lista img { flex: 0 0 88px; width: 88px; height: 66px; object-fit: cover; border-radius: 6px; }
.wse-lateral-lista small { display: block; margin-bottom: 4px; font-size: 13px; color: var(--wse-dourado-escuro); font-weight: 500; }
.wse-lateral-lista a {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--wse-azul);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.wse-lateral-lista a:hover { color: var(--wse-dourado); }

.wse-lateral-cta {
    padding: 40px 30px;
    background: var(--wse-azul);
    border-radius: var(--wse-raio);
    text-align: center;
    color: rgba(255,255,255,.8);
}
.wse-lateral-cta h3 { margin: 0 0 12px; font-family: 'Inter', sans-serif; font-size: 24px; color: #fff; }
.wse-lateral-cta p { margin: 0 0 24px; font-size: 15px; line-height: 1.7; }

/* Paginação */
.wse-paginacao { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.wse-paginacao a, .wse-paginacao span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--wse-borda);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--wse-azul);
    text-decoration: none;
    transition: all .3s;
}
.wse-paginacao a:hover, .wse-paginacao .ativo { background: var(--wse-dourado); border-color: var(--wse-dourado); color: #fff; }

@media (max-width: 767px) {
    .wse-titulo-pagina { padding: 70px 0 60px; }
    .wse-titulo-pagina h1 { font-size: 30px; }
    .wse-sec-titulo h2 { font-size: 32px; }
    .wse-materia__titulo { font-size: 27px; }
    .wse-secao { padding: 60px 0 50px; }
    .wse-blog__conteudo { padding: 26px 22px 24px; }
    .wse-blog__titulo { font-size: 21px; }
}
