/* Cards dos concursos abertos: a vitrine da home e de /concursos (home-concursos.html)
   e o Início do fotógrafo no painel. Um desenho só para os dois lados. */
.cv-grupo { margin-top: 32px; }
.cv-grupo[hidden] { display: none; }
.cv-grupo + .cv-grupo { margin-top: 24px; }
/* Separação sutil entre Fotografia e Coleção */
.cv-grupo__tit { margin: 0 0 10px; color: #858796; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
/* "Ver todos os concursos": o nx-link do "Ver galerias", embaixo dos cards e em fonte menor. */
.cv-todos { display: flex; justify-content: flex-end; margin-top: 18px; }
.cv-todos[hidden] { display: none; }
.cv-todos .nx-link { font-size: .82rem; }
.cv-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* Borda real do card, sobre um fundo já escuro sob a capa: borda e fundo saem na mesma curva,
   sem fresta clara no canto. O card sobe por top, não por transform: elemento transformado
   sai do encaixe no pixel e a borda de 1px vira dois meios-pixels. */
.cv-card { position: relative; top: 0; display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 70px; padding: 0 12px 0 0; overflow: hidden; border: 1px solid #e7e2d9; border-radius: 16px; background: linear-gradient(90deg, #0b0b0b 0 70px, #fff 70px); color: #111; text-decoration: none !important; transition: top .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .25s; }
.cv-card:hover, .cv-card:focus-visible { top: -2px; border-color: var(--primary-gold, #ffb700); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .35); color: #111; outline: none; }
.cv-card[hidden] { display: none; }
.cv-capa { align-self: stretch; width: 70px; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #2a2a2a, #0b0b0b); }
.cv-ico { display: grid; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.cv-ico svg, .cv-ico img { width: 36px; height: 36px; color: var(--primary-gold, #ffb700); }
.cv-card:hover .cv-ico { transform: scale(1.12); }
.cv-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cv-linha { display: flex; align-items: center; gap: 8px; min-width: 0; }
/* Mesma pegada do topo da aba lateral do painel (pf-gv__eyebrow + pf-gv__titulo): sobrelinha dourada e nome abaixo */
.cv-txt strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #1e1e1e; font-size: .84rem; font-weight: 600; line-height: 1.2; }
.cv-tipo { flex: none; margin-left: -7px; padding: 0 6px; border: 1px solid #e3dccd; border-radius: 999px; color: #8a8478; font-size: .5rem; font-weight: 700; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.cv-mod { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #a07a00; font-size: .58rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cv-mod b { color: #c62a1c; font-weight: 700; }
.cv-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--primary-gold, #ffb700); color: #111; transition: background .25s, color .25s; }
.cv-btn { position: relative; margin-left: 12px; }
.cv-btn::before { content: ""; position: absolute; left: -13px; top: -10px; bottom: -10px; border-left: 1px solid #ece6da; }
.cv-btn i { transition: transform .3s; }
.cv-card:hover .cv-btn { background: var(--gold-hover, #e6a500); }
.cv-card:hover .cv-btn i { transform: translateX(3px); }

.cv-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; max-width: 100%; height: 18px; margin-top: 1px; margin-left: -8px; padding: 0 8px; border-radius: 999px; font-size: .62rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Sem etiqueta, o texto fica centrado na altura do card. */
.cv-tag.cv-tag--vazia { display: none; }
.cv-tag::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: currentColor; }
.cv-tag--carrinho { background: #ffe9e6; color: #c62a1c; }
.cv-tag--carrinho::before { animation: cv-pisca 1.2s ease-in-out infinite; }
.cv-tag--gratis { background: #e3f7ea; color: #13854a; }
.cv-tag--enviado { background: #f2efe9; color: #6b6b6b; }
.cv-tag--pendente { background: #fff4d6; color: #8a6200; }
.cv-tag--login { background: #f4f1ea; color: #4a4a4a; }
.cv-tag--login::before { content: "🔒"; width: auto; height: auto; border-radius: 0; background: none; font-size: .6rem; }
@keyframes cv-pisca { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .cv-tag--carrinho::before { animation: none; } }
@media (prefers-reduced-motion: reduce) { .cv-card, .cv-ico { transition: none; } }
@media (max-width: 1199px) { .cv-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .cv-grupo { margin-top: 24px; }
    .cv-grupo + .cv-grupo { margin-top: 18px; }
    .cv-grade { grid-template-columns: 1fr; gap: 10px; }
    .cv-card { grid-template-columns: 70px minmax(0, 1fr) auto; gap: 10px; height: 70px; padding: 0 10px 0 0; }
    .cv-capa { width: 70px; }
    .cv-txt strong { font-size: .8rem; }
    .cv-mod { font-size: .54rem; }
    .cv-tag { font-size: .58rem; padding: 0 7px; margin-left: -7px; }
    .cv-btn { font-size: .72rem; padding: 6px 10px; margin-left: 10px; }
    .cv-btn::before { left: -11px; }
}

/* ===== Carrossel da vitrine da home (home-concursos.html): cada slide é a seção inteira ===== */
.hs { position: relative; }
.hs-topo { display: flex; align-items: stretch; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.hs-topo[hidden], .hs-aba[hidden] { display: none; }
.hs-abas { display: flex; gap: 10px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.hs-abas::-webkit-scrollbar { display: none; }
.hs-aba { position: relative; flex: none; display: flex; align-items: center; gap: 10px; min-width: 230px; padding: 10px 16px 12px 10px; border: 1px solid #e7e2d9; border-radius: 14px; background: #fff; color: #111; text-align: left; cursor: pointer; overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s; }
.hs-aba:hover { transform: translateY(-1px); border-color: #d9cfbd; }
.hs-aba.is-ativa { border-color: #111; box-shadow: 0 12px 26px -18px rgba(0, 0, 0, .45); }
.hs-aba__ico { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #0b0b0b; }
.hs-aba__ico img { width: 24px; height: 24px; object-fit: contain; }
.hs-aba__ico--vivo { color: #ff3b30; font-size: .8rem; }
.hs-aba small { display: block; color: #a07a00; font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hs-aba b { display: block; font-size: .86rem; font-weight: 700; line-height: 1.25; }
.hs-curto { display: none; }
.hs-aba__novo { margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: #ff3b30; color: #fff; font-size: .5rem; letter-spacing: .1em; text-transform: uppercase; vertical-align: 2px; }
/* A barra da aba ativa enche até a troca, como nos stories. */
.hs-aba__barra { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #f1ece2; }
.hs-aba__barra i { display: block; width: 0; height: 100%; background: var(--primary-gold, #ffb700); }
.hs-aba.is-ativa .hs-aba__barra i { width: var(--hs-prog, 0%); }
.hs-ctrl { display: flex; align-items: center; gap: 8px; }
.hs-ctrl button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #e7e2d9; border-radius: 50%; background: #fff; color: #111; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.hs-ctrl button:hover { background: #111; border-color: #111; color: var(--primary-gold, #ffb700); }
.hs-janela { overflow: hidden; transition: height .5s cubic-bezier(.2, .8, .2, 1); touch-action: pan-y; }
.hs-trilho { display: flex; align-items: flex-start; transition: transform .7s cubic-bezier(.65, 0, .25, 1); }
.hs-slide { flex: 0 0 100%; min-width: 0; }
.hs-slide[aria-hidden="true"] { visibility: hidden; transition: visibility 0s .7s; }
.hs.is-arrastando .hs-trilho { transition: none; }
/* Computador: os slides ficam empilhados e a troca é um esmaecimento rápido com leve subida. */
.hs.is-fade .hs-janela { transition-duration: .35s; }
.hs.is-fade .hs-trilho { display: grid; transition: none; }
.hs.is-fade .hs-slide { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s .35s; }
.hs.is-fade .hs-slide.is-ativo { opacity: 1; transform: none; transition: opacity .35s ease .05s, transform .4s cubic-bezier(.2, .8, .2, 1) .05s, visibility 0s; }
.hs.is-fade .hs-slide[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
/* Toque: o slide anda com o dedo e encaixa rápido. */
.hs.is-toque .hs-trilho { transition-duration: .32s; transition-timing-function: cubic-bezier(.25, .8, .25, 1); }
.hs.is-toque .hs-slide[aria-hidden="true"] { transition-delay: .32s; }
.hs.is-toque .hs-janela { transition-duration: .3s; }
@media (prefers-reduced-motion: reduce) { .hs-trilho, .hs-janela, .hs.is-fade .hs-slide { transition: none !important; } }

/* ===== Slide do Impactou ===== */
.ia-round { --cv-cor: 255, 59, 48; min-height: 310px; }
.ia-round::before { background: linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .6) 55%, rgba(30, 0, 0, .45) 100%); }
.ia-round .cv-round__eyebrow { flex-wrap: wrap; gap: 8px 14px; }
.ia-live { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; background: #ff3b30; color: #fff; font-size: .62rem; letter-spacing: .14em; }
.ia-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: ia-pulsa 1.2s ease-in-out infinite; }
@keyframes ia-pulsa { 50% { opacity: .2; transform: scale(.7); } }
.ia-round h2 { font-size: 2.9rem; letter-spacing: -.01em; }
.hs-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hs-btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 0; border-radius: 999px; font-size: .86rem; font-weight: 700; text-decoration: none !important; cursor: pointer; transition: transform .25s, background .25s; }
.hs-btn:hover { transform: translateY(-2px); }
.hs-btn--ouro { background: var(--primary-gold, #ffb700); color: #111 !important; }
.hs-btn--ouro:hover { background: var(--gold-hover, #e6a500); }
.hs-btn--vidro { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hs-btn--vidro .fa-whatsapp { color: #25d366; font-size: 1rem; }
/* As três fotos em leque com o carimbo do júri. */
.ia-pilha { position: relative; width: 400px; height: 230px; }
.ia-pilha[hidden] { display: none; }
.ia-foto { position: absolute; top: 10px; width: 200px; height: 200px; margin: 0; padding: 6px; background: #fff; border-radius: 6px; box-shadow: 0 22px 40px -16px rgba(0, 0, 0, .8); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.ia-foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.ia-foto--1 { left: 0; transform: rotate(-9deg); }
.ia-foto--2 { left: 92px; transform: rotate(4deg) translateY(8px); }
.ia-foto--3 { left: 190px; z-index: 2; transform: rotate(-2deg) translateY(-6px); }
.ia-round:hover .ia-foto--1 { transform: rotate(-13deg) translateX(-10px); }
.ia-round:hover .ia-foto--3 { transform: rotate(1deg) translateY(-12px) scale(1.04); }
.ia-selo { position: absolute; left: 50%; top: 50%; padding: 6px 12px; border: 3px solid currentColor; border-radius: 8px; background: rgba(0, 0, 0, .35); font-family: "Bebas Neue", Impact, sans-serif; font-size: 1.6rem; line-height: 1; letter-spacing: .04em; white-space: nowrap; opacity: 0; transform: translate(-50%, -50%) rotate(-14deg) scale(2.4); }
.ia-selo--nao { padding: 4px 8px; color: #e8e8e8; font-size: .95rem; }
.ia-foto--1 .ia-selo, .ia-foto--2 .ia-selo { left: 28%; top: 30%; }
.ia-selo--sim { color: var(--primary-gold, #ffb700); background: rgba(0, 0, 0, .55); box-shadow: 0 0 30px rgba(255, 183, 0, .5); }
.hs-slide.is-ativo .ia-selo { animation: ia-carimbo .45s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.hs-slide.is-ativo .ia-foto--1 .ia-selo { animation-delay: .6s; }
.hs-slide.is-ativo .ia-foto--2 .ia-selo { animation-delay: 1.1s; }
.hs-slide.is-ativo .ia-foto--3 .ia-selo { animation-delay: 1.8s; }
@keyframes ia-carimbo { to { opacity: 1; transform: translate(-50%, -50%) rotate(-14deg) scale(1); } }
@media (prefers-reduced-motion: reduce) {
    .ia-live i { animation: none; }
    .hs-slide.is-ativo .ia-selo { animation: none; opacity: 1; transform: translate(-50%, -50%) rotate(-14deg); }
}
/* Faixa dos três passos, no lugar da faixa de fotos dos concursos. */
.ia-passos { display: grid; grid-template-columns: repeat(3, 1fr) auto; height: 114px; background: radial-gradient(ellipse 50% 140% at 95% 0%, rgba(255, 59, 48, .28), transparent 70%), #0b0b0b; color: #fff; }
.ia-passo { display: flex; align-items: center; gap: 14px; padding: 0 28px; border-right: 1px solid rgba(255, 255, 255, .08); }
.ia-passo b { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255, 183, 0, .6); border-radius: 50%; color: var(--primary-gold, #ffb700); font-family: "Bebas Neue", Impact, sans-serif; font-size: 1.4rem; font-weight: 400; }
.ia-passo strong { display: block; font-size: .9rem; }
.ia-passo em { font-style: normal; color: var(--primary-gold, #ffb700); }
.ia-passo small { display: block; margin-top: 2px; color: rgba(255, 255, 255, .55); font-size: .74rem; }
.ia-faltam { display: flex; flex-direction: column; justify-content: center; padding: 0 30px; text-align: right; }
.ia-faltam small { color: rgba(255, 255, 255, .55); font-size: .6rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.ia-faltam span { font-family: "Bebas Neue", Impact, sans-serif; font-size: 2.3rem; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.cv-tipo--impactou { border-color: #ffc9c4; color: #c62a1c; }
.ia-card-ver { background: #faf8f4; }
.ia-mini { position: relative; width: 70px; height: 70px; }
.ia-mini img { position: absolute; width: 38px; height: 38px; object-fit: cover; border: 2px solid #fff; border-radius: 8px; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .4); }
.ia-mini img:nth-child(1) { left: 8px; top: 8px; transform: rotate(-8deg); }
.ia-mini img:nth-child(2) { left: 22px; top: 18px; transform: rotate(5deg); }
.ia-mini img:nth-child(3) { left: 14px; top: 26px; z-index: 2; transform: rotate(-2deg); }
.ia-btn-ver { background: #111; color: var(--primary-gold, #ffb700); }
.ia-card-ver:hover .ia-btn-ver { background: #000; }
@media (max-width: 1199px) {
    .ia-pilha { display: none; }
    .ia-passos { grid-template-columns: repeat(3, 1fr); height: auto; }
    .ia-passo { padding: 18px 20px; }
    .ia-faltam { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; padding: 12px 20px; border-top: 1px solid rgba(255, 255, 255, .08); }
}
@media (max-width: 767px) {
    /* No celular as abas viram um seletor de duas metades, com o nome curto. */
    .hs-topo { margin-bottom: 10px; }
    .hs-abas { flex: 1; gap: 6px; }
    .hs-aba { flex: 1 1 0; min-width: 0; gap: 8px; padding: 8px 10px 10px 8px; border-radius: 12px; }
    .hs-aba__ico { width: 28px; height: 28px; border-radius: 8px; }
    .hs-aba__ico img { width: 20px; height: 20px; }
    .hs-aba small, .hs-longo { display: none; }
    .hs-curto { display: inline; }
    .hs-aba b { font-size: .84rem; white-space: nowrap; }
    .hs-ctrl { display: none; }
    .ia-round { min-height: 0; }
    .ia-round .cv-round__eyebrow { letter-spacing: .14em; }
    .ia-round h2 { font-size: 1.9rem; }
    .hs-acoes { flex-direction: column; margin-top: 18px; }
    .hs-btn { justify-content: center; width: 100%; }
    .ia-passos { grid-template-columns: 1fr; }
    .ia-passo { gap: 12px; padding: 10px 18px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .ia-passo b { width: 32px; height: 32px; font-size: 1.15rem; }
    .ia-passo strong { font-size: .84rem; }
    .ia-passo small { font-size: .7rem; }
    .ia-faltam { padding: 10px 18px; }
    .ia-faltam span { font-size: 1.9rem; }
}
