/*
 * Chamada da Feira Digital na home (12/11/2026). Prefixo hm-fe-, dentro do .hm da home de vendas
 * (usa .hm-sec, .hm-kicker e .hm-btn do home-vendas.css). Ao mudar, suba Feira::VERSAO.
 */
.hm-fe { margin-top: 26px; }
.hm-fe-card {
    position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr; overflow: hidden;
    border-radius: 22px; background: #102e00; color: #FFF8ED;
    box-shadow: 0 18px 40px rgba(16, 46, 0, .22); transition: transform .2s ease, box-shadow .2s ease;
}
.hm-fe-card:hover { transform: translateY(-2px); box-shadow: 0 24px 48px rgba(16, 46, 0, .28); }
.hm-fe-foto { position: relative; display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: #1f3a12; }
.hm-fe-foto picture, .hm-fe-foto img { display: block; width: 100%; height: 100%; }
.hm-fe-foto img { object-fit: cover; transform: scale(1.02); transition: transform 1.2s ease; }
.hm-fe-card:hover .hm-fe-foto img { transform: scale(1.07); }
.hm-fe-selo {
    position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px;
    background: #E8AF18; color: #1c1917; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}
.hm-fe-txt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 40px 20px 24px; }
.hm-fe .hm-kicker { color: #E8AF18; }
.hm-fe-tit { margin: 0; font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 27px; line-height: 1.08; letter-spacing: -.015em; color: #fff; text-wrap: balance; }
.hm-fe-sub { font-size: 15px; line-height: 1.5; color: rgba(255, 248, 237, .84); max-width: 46ch; }
.hm-fe-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.hm-fe-cta small { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(255, 248, 237, .72); }

/* Bandeirinhas no alto do painel de texto, balançando de leve (no celular, entre a foto e o texto) */
.hm-fe-bandeiras { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 28px; display: flex; justify-content: space-around; pointer-events: none; }
.hm-fe-bandeiras::before { content: ''; position: absolute; left: -2%; right: -2%; top: 5px; height: 2px; background: rgba(255, 255, 255, .8); border-radius: 2px; }
.hm-fe-bandeiras i {
    display: block; width: 0; height: 0; margin-top: 6px;
    border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 18px solid var(--c, #E8AF18);
    transform-origin: 50% 0; animation: hm-fe-balanca 2.6s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -.33s);
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .18));
}
@keyframes hm-fe-balanca { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }

@media (min-width: 900px) {
    .hm-fe-card { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
    .hm-fe-txt { padding: 44px 36px 32px; align-self: stretch; justify-content: center; }
    .hm-fe-tit { font-size: 36px; }
    .hm-fe-sub { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .hm-fe-bandeiras i { animation: none; }
    .hm-fe-card, .hm-fe-foto img { transition: none; }
}
