/*
Arquivo: vitrines-editoriais.css
Versao: V001
Objetivo: Estilos responsivos dos banners editoriais internos da WelcomePlanet.
Pasta sugerida: /wp/assets/css/vitrines-editoriais.css
Vinculos: /wp/includes/vitrines_editoriais.cfm e paginas publicas que chamam wpVitrineEditorialRender().
Mudanca V001: cria formatos wide, horizontal e sidebar inspirados no bloco do Acervo Historico, com variacoes de tema e responsividade.
Como estava antes: nao existia folha de estilo reutilizavel para vitrines editoriais internas.
Restauracao: remover as chamadas do componente e excluir este arquivo.
*/

.wp-vitrine-editorial{
    --wp-vitrine-bg-a:rgb(15,23,42);
    --wp-vitrine-bg-b:rgb(24,65,73);
    --wp-vitrine-ink:rgb(255,255,255);
    --wp-vitrine-muted:rgb(211,227,226);
    --wp-vitrine-accent:rgb(167,243,208);
    --wp-vitrine-button-bg:rgb(255,255,255);
    --wp-vitrine-button-ink:rgb(15,23,42);
    width:100%;
    margin:24px auto;
    overflow:hidden;
    border:1px solid rgba(15,23,42,.08);
    border-radius:24px;
    background:
        radial-gradient(circle at 88% 15%,rgba(255,255,255,.13),transparent 27%),
        linear-gradient(135deg,var(--wp-vitrine-bg-a),var(--wp-vitrine-bg-b));
    box-shadow:0 18px 46px rgba(15,23,42,.10);
    color:var(--wp-vitrine-ink);
    font-family:Verdana,Arial,sans-serif;
}
.wp-vitrine-editorial *{box-sizing:border-box}
.wp-vitrine-link{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(180px,30%);
    min-height:220px;
    color:inherit;
    text-decoration:none;
}
.wp-vitrine-copy{
    display:flex;
    min-width:0;
    flex-direction:column;
    justify-content:center;
    padding:30px 34px;
}
.wp-vitrine-kicker{
    display:inline-flex;
    width:fit-content;
    margin-bottom:10px;
    padding:6px 10px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:999px;
    background:rgba(255,255,255,.10);
    color:var(--wp-vitrine-accent);
    font-size:9px;
    font-weight:900;
    letter-spacing:.09em;
    line-height:1;
    text-transform:uppercase;
}
.wp-vitrine-title{
    display:block;
    max-width:760px;
    color:var(--wp-vitrine-ink);
    font-size:clamp(24px,2.7vw,39px);
    line-height:1.06;
    letter-spacing:-.045em;
}
.wp-vitrine-text{
    display:block;
    max-width:720px;
    margin-top:10px;
    color:var(--wp-vitrine-muted);
    font-size:12px;
    line-height:1.6;
}
.wp-vitrine-cta{
    display:inline-flex;
    width:fit-content;
    align-items:center;
    gap:7px;
    margin-top:18px;
    padding:10px 14px;
    border-radius:999px;
    background:var(--wp-vitrine-button-bg);
    color:var(--wp-vitrine-button-ink);
    font-size:9px;
    font-weight:900;
    line-height:1;
    transition:transform .18s ease,box-shadow .18s ease;
}
.wp-vitrine-link:hover .wp-vitrine-cta{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.16)}
.wp-vitrine-visual{
    position:relative;
    display:flex;
    min-width:0;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    padding:20px;
}
.wp-vitrine-visual:before{
    content:"";
    position:absolute;
    width:190px;
    height:190px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:50%;
}
.wp-vitrine-orbit{position:absolute;border:1px solid rgba(255,255,255,.11);border-radius:50%}
.wp-vitrine-orbit-a{width:260px;height:260px;right:-55px;top:-72px}
.wp-vitrine-orbit-b{width:120px;height:120px;left:0;bottom:-28px}
.wp-vitrine-visual img{
    position:relative;
    z-index:2;
    display:block;
    width:118px;
    height:118px;
    object-fit:contain;
    filter:drop-shadow(0 18px 22px rgba(0,0,0,.22));
    transition:transform .2s ease;
}
.wp-vitrine-link:hover .wp-vitrine-visual img{transform:translateY(-4px) rotate(-2deg)}

.wp-vitrine-horizontal{
    width:min(760px,100%);
    margin:22px auto;
    border-radius:18px;
}
.wp-vitrine-horizontal .wp-vitrine-link{grid-template-columns:minmax(0,1fr) 155px;min-height:156px}
.wp-vitrine-horizontal .wp-vitrine-copy{padding:20px 23px}
.wp-vitrine-horizontal .wp-vitrine-kicker{margin-bottom:7px;padding:5px 8px;font-size:8px}
.wp-vitrine-horizontal .wp-vitrine-title{font-size:21px;line-height:1.1}
.wp-vitrine-horizontal .wp-vitrine-text{margin-top:7px;font-size:10px;line-height:1.45}
.wp-vitrine-horizontal .wp-vitrine-cta{margin-top:11px;padding:8px 11px;font-size:8px}
.wp-vitrine-horizontal .wp-vitrine-visual{padding:13px}
.wp-vitrine-horizontal .wp-vitrine-visual:before{width:122px;height:122px}
.wp-vitrine-horizontal .wp-vitrine-visual img{width:82px;height:82px}

.wp-vitrine-sidebar{
    position:relative;
    width:min(300px,100%);
    margin:18px auto;
    border-radius:18px;
}
.wp-vitrine-sidebar .wp-vitrine-link{display:flex;min-height:250px;flex-direction:column}
.wp-vitrine-sidebar .wp-vitrine-copy{position:relative;z-index:2;flex:1;padding:21px 20px 18px;justify-content:flex-start}
.wp-vitrine-sidebar .wp-vitrine-kicker{margin-bottom:8px;font-size:8px}
.wp-vitrine-sidebar .wp-vitrine-title{font-size:19px;line-height:1.1;letter-spacing:-.035em}
.wp-vitrine-sidebar .wp-vitrine-text{margin-top:8px;font-size:10px;line-height:1.45}
.wp-vitrine-sidebar .wp-vitrine-cta{margin-top:13px;padding:8px 10px;font-size:8px}
.wp-vitrine-sidebar .wp-vitrine-visual{position:absolute;right:-22px;bottom:-30px;width:120px;height:120px;padding:12px;opacity:.30}
.wp-vitrine-sidebar .wp-vitrine-visual:before{width:105px;height:105px}
.wp-vitrine-sidebar .wp-vitrine-visual img{width:70px;height:70px}
.wp-vitrine-sidebar .wp-vitrine-orbit-a{width:150px;height:150px;right:-30px;top:-42px}
.wp-vitrine-sidebar .wp-vitrine-orbit-b{display:none}

.wp-vitrine-tema-green{
    --wp-vitrine-bg-a:rgb(8,63,55);
    --wp-vitrine-bg-b:rgb(20,94,75);
    --wp-vitrine-accent:rgb(187,247,208);
}
.wp-vitrine-tema-gold{
    --wp-vitrine-bg-a:rgb(47,35,24);
    --wp-vitrine-bg-b:rgb(111,74,30);
    --wp-vitrine-muted:rgb(244,229,205);
    --wp-vitrine-accent:rgb(253,230,138);
}
.wp-vitrine-tema-navy{
    --wp-vitrine-bg-a:rgb(11,58,84);
    --wp-vitrine-bg-b:rgb(15,23,42);
    --wp-vitrine-accent:rgb(186,230,253);
}
.wp-vitrine-tema-light{
    --wp-vitrine-bg-a:rgb(248,250,252);
    --wp-vitrine-bg-b:rgb(237,245,240);
    --wp-vitrine-ink:rgb(15,23,42);
    --wp-vitrine-muted:rgb(71,85,105);
    --wp-vitrine-accent:rgb(0,112,74);
    --wp-vitrine-button-bg:rgb(15,23,42);
    --wp-vitrine-button-ink:rgb(255,255,255);
    border-color:rgb(219,226,222);
}
.wp-vitrine-tema-light .wp-vitrine-kicker{border-color:rgba(15,23,42,.09);background:rgba(255,255,255,.62)}
.wp-vitrine-tema-light .wp-vitrine-visual:before,.wp-vitrine-tema-light .wp-vitrine-orbit{border-color:rgba(15,23,42,.09)}
.wp-vitrine-tema-archive{
    --wp-vitrine-bg-a:rgb(15,23,42);
    --wp-vitrine-bg-b:rgb(24,65,73);
    --wp-vitrine-accent:rgb(167,243,208);
}
.wp-vitrine-tema-archive .wp-vitrine-visual img{
    width:116px;
    height:156px;
    object-fit:cover;
    object-position:top;
    border:4px solid rgba(255,255,255,.86);
    border-radius:5px;
    transform:rotate(5deg);
}
.wp-vitrine-tema-archive .wp-vitrine-link:hover .wp-vitrine-visual img{transform:translateY(-4px) rotate(2deg)}
.wp-vitrine-sidebar.wp-vitrine-tema-archive .wp-vitrine-visual{opacity:.55}
.wp-vitrine-sidebar.wp-vitrine-tema-archive .wp-vitrine-visual img{width:62px;height:84px;border-width:2px}

@media(max-width:760px){
    .wp-vitrine-editorial{margin:18px auto;border-radius:18px}
    .wp-vitrine-wide .wp-vitrine-link{grid-template-columns:minmax(0,1fr) 112px;min-height:176px}
    .wp-vitrine-wide .wp-vitrine-copy{padding:22px 18px}
    .wp-vitrine-wide .wp-vitrine-title{font-size:22px}
    .wp-vitrine-wide .wp-vitrine-text{font-size:10px;line-height:1.45}
    .wp-vitrine-wide .wp-vitrine-visual{padding:10px}
    .wp-vitrine-wide .wp-vitrine-visual img{width:74px;height:74px}
    .wp-vitrine-wide.wp-vitrine-tema-archive .wp-vitrine-visual img{width:68px;height:92px}
    .wp-vitrine-horizontal{width:100%}
}
@media(max-width:520px){
    .wp-vitrine-wide .wp-vitrine-link,.wp-vitrine-horizontal .wp-vitrine-link{grid-template-columns:minmax(0,1fr) 82px}
    .wp-vitrine-wide .wp-vitrine-copy,.wp-vitrine-horizontal .wp-vitrine-copy{padding:18px 15px}
    .wp-vitrine-wide .wp-vitrine-kicker,.wp-vitrine-horizontal .wp-vitrine-kicker{font-size:7px;letter-spacing:.05em}
    .wp-vitrine-wide .wp-vitrine-title,.wp-vitrine-horizontal .wp-vitrine-title{font-size:17px;line-height:1.12;letter-spacing:-.03em}
    .wp-vitrine-wide .wp-vitrine-text,.wp-vitrine-horizontal .wp-vitrine-text{display:-webkit-box;overflow:hidden;font-size:9px;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}
    .wp-vitrine-wide .wp-vitrine-cta,.wp-vitrine-horizontal .wp-vitrine-cta{margin-top:10px;padding:7px 9px;font-size:7px}
    .wp-vitrine-wide .wp-vitrine-visual img,.wp-vitrine-horizontal .wp-vitrine-visual img{width:54px;height:54px}
    .wp-vitrine-wide.wp-vitrine-tema-archive .wp-vitrine-visual img,.wp-vitrine-horizontal.wp-vitrine-tema-archive .wp-vitrine-visual img{width:48px;height:66px}
    .wp-vitrine-sidebar{width:100%;max-width:320px}
}
@media(prefers-reduced-motion:reduce){
    .wp-vitrine-cta,.wp-vitrine-visual img{transition:none}
}

/* FIM: /wp/assets/css/vitrines-editoriais.css | V001 | 09/09/2026 */
