/* Extraído de partials/conheca.php: manter idêntico ao PHP. */
/* =========================================================
   ESTILOS PREMIUM DA PÁGINA "CONHEÇA A GLOBAL" — GLOBALFIRE HUB
   Tokens de tema (--hub-surface-*, --hub-text*, --hub-fg-rgb) + Laranja Hub (#F36A27)
   ========================================================= */

.hub-conheca-page {
    max-width: 1200px;
    margin: 32px auto 60px;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: var(--hub-font-sans, Inter, system-ui, -apple-system, sans-serif);
    color: var(--hub-text);
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* 1. Vídeo Institucional (Player Limpo Premium) */
.hub-conheca-video-section {
    width: 100%;
}

.hub-conheca-video-frame {
    position: relative;
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: #000000;
    border: 1px solid rgba(var(--hub-fg-rgb), 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    user-select: none;
}

.hub-conheca-video-player {
    display: block;
    width: 100%;
    height: auto;
    max-height: 78vh;
    aspect-ratio: 16 / 9;
    background: #000000;
    object-fit: contain;
    cursor: pointer;
}

/* Botão Central de Play */
.hub-video-center-play {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.45) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    z-index: 2;
}

.hub-conheca-video-frame.is-playing .hub-video-center-play {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hub-video-center-play-ring {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(12, 12, 14, 0.78);
    border: 1.5px solid rgba(243, 106, 39, 0.65);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65), 0 0 0 8px rgba(243, 106, 39, 0.12);
    transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.hub-video-center-play-ring svg {
    margin-left: 3px;
}

.hub-video-center-play:hover .hub-video-center-play-ring,
.hub-video-center-play:focus-visible .hub-video-center-play-ring {
    transform: scale(1.07);
    background: var(--hub-orange, #F36A27);
    border-color: var(--hub-orange, #F36A27);
    box-shadow: 0 16px 40px rgba(243, 106, 39, 0.45), 0 0 0 10px rgba(243, 106, 39, 0.18);
}

/* Controles Discretos no Canto Inferior Direito */
.hub-video-floating-controls {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hub-video-ctrl-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(12, 12, 14, 0.72);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.hub-video-ctrl-btn:hover,
.hub-video-ctrl-btn:focus-visible {
    background: var(--hub-orange, #F36A27);
    border-color: var(--hub-orange, #F36A27);
    color: #ffffff;
}

.hub-video-ctrl-btn:active {
    transform: scale(0.95);
}

/* Alternância de ícones Play/Pause e Som/Mudo */
.hub-video-ctrl-btn .ico-pause {
    display: none;
}
.hub-conheca-video-frame.is-playing .hub-video-ctrl-btn .ico-play {
    display: none;
}
.hub-conheca-video-frame.is-playing .hub-video-ctrl-btn .ico-pause {
    display: block;
}

.hub-video-ctrl-btn .ico-muted {
    display: none;
}
.hub-conheca-video-frame.is-muted .hub-video-ctrl-btn .ico-unmuted {
    display: none;
}
.hub-conheca-video-frame.is-muted .hub-video-ctrl-btn .ico-muted {
    display: block;
}

/* 2. Banner CTA — Faça Parte da Família */
.hub-conheca-cta-wrap {
    margin-bottom: 20px;
}

.hub-conheca-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: linear-gradient(
        135deg,
        var(--hub-surface-0) 0%,
        var(--hub-surface-1) 55%,
        rgba(243, 106, 39, 0.08) 100%
    );
    border: 1px solid rgba(243, 106, 39, 0.28);
    border-radius: 20px;
    box-shadow: var(--hub-shadow-soft, 0 16px 40px rgba(0, 0, 0, 0.6));
    padding: 36px 40px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hub-conheca-cta-card {
        padding: 28px 24px;
    }
}

.hub-cta-text-side {
    flex: 1;
    min-width: 280px;
}

.hub-cta-badge {
    display: inline-block;
    color: var(--hub-orange, #F36A27);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hub-cta-text-side h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--hub-text);
    margin: 0 0 8px 0;
    letter-spacing: -0.015em;
}

.hub-cta-text-side p {
    color: var(--hub-text-muted);
    font-size: 0.94rem;
    line-height: 1.6;
    margin: 0;
    max-width: 620px;
}

.hub-cta-btn-side {
    flex-shrink: 0;
}

/* ===================== MOBILE ===================== */
@media (max-width: 640px) {
    .hub-conheca-page {
        padding: 0 16px;
        margin: 20px auto 40px;
        gap: 24px;
    }

    .hub-conheca-video-frame {
        border-radius: 16px;
    }

    .hub-video-center-play-ring {
        width: 60px;
        height: 60px;
    }

    .hub-video-floating-controls {
        right: 12px;
        bottom: 12px;
        gap: 8px;
    }

    .hub-video-ctrl-btn {
        width: 38px;
        height: 38px;
    }

    .hub-conheca-cta-card {
        padding: 24px 18px;
        gap: 18px;
    }

    .hub-cta-text-side {
        min-width: 0;
    }

    .hub-cta-text-side h2 {
        font-size: 1.25rem;
    }

    .hub-cta-btn-side {
        width: 100%;
    }

    .hub-cta-btn-side a {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        box-sizing: border-box;
    }
}
