/* ==============================================================================
   bee1 — componentes
   ==============================================================================
   Substitutos proprios dos widgets do Elementor Pro. Fase 2 do
   PLANO-elementor-free-2026-08-01.md.

   Usam as variaveis --bee-* declaradas em :root por bee1.css. Todas trazem valor
   de reserva, entao os componentes funcionam mesmo fora do wrapper .bee1-lp.

   Nenhuma fonte, icone ou script vem de dominio externo.
   ========================================================================== */

/* ----------------------------------------------------------------------------
   1. Flip Box                                            substitui .flip-box (94)
   ------------------------------------------------------------------------- */

.bee1-flip {
    --bee1-flip-altura: 300px;
    --bee1-flip-raio: 25px;
    --bee1-flip-verso: #181818;
    --bee1-flip-overlay: rgba(0, 0, 0, .92);
    --bee1-flip-texto: #F2F2F2;
    --bee1-flip-img: none;

    position: relative;
    height: var(--bee1-flip-altura);
    border-radius: var(--bee1-flip-raio);
    overflow: hidden;
    isolation: isolate;
}

.bee1-flip__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.bee1-flip__frente,
.bee1-flip__verso {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: var(--bee1-flip-img);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.bee1-flip__frente {
    background-color: var(--bee1-flip-verso);
}

.bee1-flip__verso {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0 30px;
    text-align: center;
    color: var(--bee1-flip-texto);
    background-color: var(--bee1-flip-verso);
    box-shadow: inset 0 0 0 100vmax var(--bee1-flip-overlay);
    transition: opacity .45s ease, transform .45s ease;
}

/* efeito fade — 59 das 94 instancias originais */
.bee1-flip--fade .bee1-flip__verso { opacity: 0; }

.bee1-flip:hover .bee1-flip__verso,
.bee1-flip:focus-within .bee1-flip__verso,
.bee1-flip__link:hover .bee1-flip__verso,
.bee1-flip__link:focus-visible .bee1-flip__verso { opacity: 1; }

/* efeito slide, direcao "down" — a unica usada nos 79 originais que a declaram */
.bee1-flip--slide .bee1-flip__verso { transform: translateY(-100%); }

.bee1-flip--slide:hover .bee1-flip__verso,
.bee1-flip--slide:focus-within .bee1-flip__verso,
.bee1-flip__link:hover .bee1-flip--slide .bee1-flip__verso { transform: translateY(0); }

.bee1-flip__titulo {
    margin: 0 0 20px;
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
    font-weight: 700;
    line-height: 1.25;
    color: inherit;
}

.bee1-flip__texto {
    margin: 0 0 25px;
    font-size: .95rem;
    line-height: 1.5;
}

.bee1-flip__texto p { margin: 0 0 .6em; }
.bee1-flip__texto p:last-child { margin-bottom: 0; }

.bee1-flip__botao {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid currentColor;
    border-radius: var(--bee-radius-pill, 999px);
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .02em;
    transition: background-color .25s ease, color .25s ease;
}

.bee1-flip__link:hover .bee1-flip__botao,
.bee1-flip__link:focus-visible .bee1-flip__botao {
    background: var(--bee-yellow, #F8B500);
    border-color: var(--bee-yellow, #F8B500);
    color: var(--bee-black, #000);
}

/* Em toque nao existe hover: o verso, que carrega a informacao, fica sempre visivel. */
@media (max-width: 767px) {
    .bee1-flip__verso {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ----------------------------------------------------------------------------
   2. Share Buttons                                    substitui .share-buttons (4)
   ------------------------------------------------------------------------- */

.bee1-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.bee1-share__rotulo {
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    opacity: .8;
}

.bee1-share__lista {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bee1-share__item { margin: 0; }

/* Mesmo tratamento de .bee1-socials, o padrao de icone ja usado na home.
   Seletor com dois niveis (0,2,0) de proposito: dentro de uma pagina .bee1-lp existe
   a regra `.bee1-lp a { color: inherit }` (0,1,1), que venceria um seletor de classe
   unica e apagaria o amarelo. Assim nao e preciso !important. */
.bee1-share .bee1-share__link {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .09);
    color: var(--bee-yellow, #F8B500);
    transition: .2s ease;
}

.bee1-share .bee1-share__link:hover,
.bee1-share .bee1-share__link:focus-visible {
    transform: translateY(-2px);
    background: var(--bee-yellow, #F8B500);
    color: #111;
}

.bee1-share__icone {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ----------------------------------------------------------------------------
   3. Countdown                                           substitui .countdown (7)
   ------------------------------------------------------------------------- */

.bee1-cd {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
}

.bee1-cd__bloco {
    flex: 0 1 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 10px;
    border-radius: var(--bee-radius-md, 20px);
    background: var(--bee-bg-2, #242424);
    border: var(--bee-border-soft, 1px solid rgba(255, 255, 255, .10));
}

.bee1-cd__num {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--bee-yellow, #F8B500);
}

.bee1-cd__rot {
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--bee-text-soft, #B1B1B1);
}

.bee1-cd__msg {
    font-weight: 700;
    color: var(--bee-yellow, #F8B500);
}

/* ----------------------------------------------------------------------------
   4. Posts (grade de cards)                                  substitui .posts (10)
   ------------------------------------------------------------------------- */

.bee1-posts {
    --bee1-posts-col: 3;
    --bee1-posts-prop: 1;
    --bee1-posts-fundo: #f2f2f2;

    display: grid;
    grid-template-columns: repeat(var(--bee1-posts-col), minmax(0, 1fr));
    gap: 20px;
}

.bee1-posts__card {
    border-radius: var(--bee-radius-md, 20px);
    overflow: hidden;
    background: var(--bee1-posts-fundo);
    box-shadow: var(--bee-shadow-card, 0 20px 60px rgba(0, 0, 0, .28));
    transition: transform .25s ease;
}

.bee1-posts__card:hover { transform: translateY(-4px); }

.bee1-posts__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.bee1-posts__midia {
    position: relative;
    aspect-ratio: var(--bee1-posts-prop);
    overflow: hidden;
    background: rgba(0, 0, 0, .06);
}

.bee1-posts__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bee1-posts__img--vazia { background: rgba(0, 0, 0, .08); }

.bee1-posts__corpo { padding: 14px 16px 18px; }

.bee1-posts__titulo {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
    color: var(--bee-black, #111);
}

.bee1-posts__resumo {
    margin: .5em 0 0;
    font-size: .88rem;
    line-height: 1.5;
    color: #444;
}

.bee1-posts__mais {
    display: inline-block;
    margin-top: .7em;
    font-weight: 700;
    font-size: .85rem;
    color: var(--bee-yellow-dark, #AF7900);
}

@media (max-width: 1024px) { .bee1-posts { --bee1-posts-col: 3; } }
@media (max-width: 767px)  { .bee1-posts { --bee1-posts-col: 2; gap: 14px; } }
@media (max-width: 479px)  { .bee1-posts { --bee1-posts-col: 1; } }

/* ----------------------------------------------------------------------------
   5. Author Box                                         substitui .author-box (4)
   ------------------------------------------------------------------------- */

.bee1-autor {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--bee-radius-md, 20px);
    background: var(--bee-bg-2, #242424);
    border: var(--bee-border-soft, 1px solid rgba(255, 255, 255, .10));
}

.bee1-autor--center { flex-direction: column; align-items: center; text-align: center; }
.bee1-autor--right  { flex-direction: row-reverse; text-align: right; }

.bee1-autor__foto {
    display: block;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
}

.bee1-autor__corpo { flex: 1 1 auto; min-width: 0; }

.bee1-autor__nome {
    margin: 0 0 .35em;
    font-size: 1.15rem;
    line-height: 1.2;
}

.bee1-autor__bio {
    margin: 0;
    font-size: .92rem;
    line-height: 1.55;
    color: var(--bee-text-soft, #B1B1B1);
}

.bee1-autor__bio p { margin: 0 0 .6em; }
.bee1-autor__bio p:last-child { margin-bottom: 0; }

.bee1-autor__link {
    display: inline-block;
    margin-top: .8em;
    padding: 8px 18px;
    border-radius: var(--bee-radius-pill, 999px);
    background: var(--bee-yellow, #F8B500);
    color: var(--bee-black, #000);
    font-weight: 700;
    font-size: .85rem;
    text-decoration: none;
    transition: transform .2s ease;
}

.bee1-autor__link:hover { transform: translateY(-2px); }

/* ----------------------------------------------------------------------------
   6. Cabecalho                                    substitui o template 13738 (11x)
   ------------------------------------------------------------------------- */

.bee1-cab {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 10px 0;
}

.bee1-cab__logo { display: inline-flex; }

.bee1-cab__logo img {
    display: block;
    max-width: 180px;
    height: auto;
}

.bee1-cab__sociais {
    display: flex;
    gap: 6px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.bee1-cab__sociais a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid #CBCCCE;
    border-radius: 50%;
    background: #5C636E;
    transition: background-color .2s ease;
}

.bee1-cab__sociais a:hover { background: var(--bee-yellow, #F8B500); }

.bee1-cab__sociais svg { width: 12px; height: 12px; fill: #fff; }

.bee1-cab__botao {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 10px;
    background: #d9534f;
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .5);
}

.bee1-cab__botao:hover { filter: brightness(1.08); }

/* O original escondia o botao no celular (hide_mobile = hidden-phone). */
@media (max-width: 767px) { .bee1-cab__botao { display: none; } }

/* ----------------------------------------------------------------------------
   Acessibilidade
   ------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .bee1-flip__verso,
    .bee1-flip__botao,
    .bee1-posts__card,
    .bee1-share__link,
    .bee1-autor__link {
        transition: none !important;
    }
    .bee1-flip__verso { opacity: 1 !important; transform: none !important; }
}
