/* ==========================================================================
   SONAR24 LIVE
   CSS COMPLETO / CORRIGIDO
   --------------------------------------------------------------------------
   Correções desta versão:
   1) hero no mesmo efeito do exemplo solicitado;
   2) vídeo absoluto cobrindo toda a seção;
   3) overlay separado acima do vídeo;
   4) conteúdo sempre acima do overlay;
   5) sem pseudo-elemento para simular vídeo.
   ========================================================================== */


/* ==========================================================================
   01) TOKENS / VARIÁVEIS GLOBAIS
   ========================================================================== */
:root{
    --live-shadow: 0 1rem 2rem rgba(0, 0, 0, .08);
    --live-shadow-lg: 0 1.5rem 3rem rgba(0, 0, 0, .12);

    --live-radius: 1.25rem;
    --live-radius-lg: 1.75rem;

    --hero-min-height: 94vh;
    --hero-nav-offset: 88px;
    --hero-padding-bottom: 4rem;

    --hero-overlay-desktop:
        linear-gradient(
            90deg,
            rgba(255,255,255,.92) 0%,
            rgba(255,255,255,.88) 34%,
            rgba(255,255,255,.70) 61%,
            rgba(255,255,255,.80) 100%
        ),
        linear-gradient(
            180deg,
            rgba(9,20,40,.05) 0%,
            rgba(9,20,40,.16) 100%
        );

    --hero-overlay-mobile:
        linear-gradient(
            180deg,
            rgba(255,255,255,.93) 0%,
            rgba(255,255,255,.87) 55%,
            rgba(255,255,255,.93) 100%
        );
}


/* ==========================================================================
   02) BASE
   ========================================================================== */
html{
    scroll-behavior: smooth;
}

body.live-page{
    overflow-x: hidden;
}


/* ==========================================================================
   03) NAVBAR / BRAND
   ========================================================================== */
.live-navbar{
    backdrop-filter: blur(12px);
    box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .04);
}

.live-brand{
    text-decoration: none;
}

.logo-mark{
    width: 38px;
    height: 38px;
    display: inline-block;
    flex: 0 0 38px;
}

.sonar24{
    display: flex;
    align-items: center;
    line-height: 1;
}

.sonar24__word{
    font-weight: 900;
    letter-spacing: .02em;
    color: var(--bs-dark);
        position: relative;
    display: inline-block;
    font-weight: 900;
    letter-spacing: -0.03em;
    font-size: clamp(1.35rem, 2.4vw, 2.25rem);
    background: linear-gradient(
    180deg,
    #f9fbff 0%,
    #c7d2fe 18%,
    #8fa2c6 38%,
    #ffffff 52%,
    #8fa2c6 70%,
    #eef2ff 100%
  );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 -1px 0 rgba(255,255,255,.35),
    0 0 1px rgba(2,6,23,.55),
    0 1px 0 rgba(2,6,23,.22),
    0 2px 0 rgba(2,6,23,.18),
    0 3px 0 rgba(2,6,23,.14),
    0 14px 34px rgba(2,6,23,.55);
    filter: drop-shadow(0 1px 0 rgba(255,255,255,.14))
    drop-shadow(0 0 14px rgba(56,189,248,.22))
    drop-shadow(0 10px 22px rgba(2,6,23,.28));
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.sonar24__reg{
    font-size: .62em;
    vertical-align: top;
}

.sonar24__tag{
    margin-left: .25rem;
    color: var(--bs-primary);
}


/* ==========================================================================
   04) HERO - CONTAINER EXTERNO
   --------------------------------------------------------------------------
   Mesmo princípio do efeito do exemplo solicitado:
   - section com overflow hidden;
   - vídeo absoluto ocupando tudo;
   - overlay absoluto;
   - conteúdo relativo acima. :contentReference[oaicite:0]{index=0}
   ========================================================================== */
.hero-live{
    position: relative;
    min-height: var(--hero-min-height);
    overflow: hidden;
    background: #cccccc;
    padding-top: var(--hero-nav-offset);
}

.hero-content{
    position: relative;
    z-index: 3;
    width: 100%;
    min-height: calc(var(--hero-min-height) - var(--hero-nav-offset));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: var(--hero-padding-bottom);
}


/* ==========================================================================
   05) HERO - VÍDEO DE BACKGROUND REAL
   --------------------------------------------------------------------------
   O exemplo desejado usa exatamente vídeo absoluto com object-fit: cover. :contentReference[oaicite:1]{index=1}
   ========================================================================== */
.hero-bg-video{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    pointer-events: none;
    background: #000;
}

.hero-bg-video.is-hidden{
    display: none !important;
}


/* ==========================================================================
   06) HERO - OVERLAY
   --------------------------------------------------------------------------
   O exemplo desejado usa uma camada .overlay absoluta acima do vídeo. :contentReference[oaicite:2]{index=2}
   ========================================================================== */
.hero-bg-overlay{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;

    width: 100%;
    height: 100%;

    pointer-events: none;
    background: var(--hero-overlay-desktop);
}


/* ==========================================================================
   07) HERO - TEXTO / DETALHES
   ========================================================================== */
.hero-lead{
    max-width: 860px;
}

.hero-divider{
    width: 84px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-info));
}


/* ==========================================================================
   08) CARDS / SUPERFÍCIES
   ========================================================================== */
.live-glass-card{
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(10px);
    border-radius: var(--live-radius-lg);
}

.card{
    border-radius: var(--live-radius);
}

.shadow,
.shadow-sm{
    box-shadow: var(--live-shadow) !important;
}


/* ==========================================================================
   09) ÍCONES / BLOCOS AUXILIARES
   ========================================================================== */
.icon-soft{
    width: 52px;
    height: 52px;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary-bg-subtle);
    border: 1px solid var(--bs-border-color);
    font-size: 1.25rem;
    flex: 0 0 52px;
}

.mini-card{
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    padding: 1rem;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}

.mini-card strong{
    display: block;
    margin-bottom: .45rem;
}

.mini-card span{
    display: block;
    color: var(--bs-secondary-color);
    font-size: .95rem;
    line-height: 1.5;
}

.timeline-no{
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
    font-weight: 800;
    font-size: 1.05rem;
    border: 1px solid var(--bs-border-color);
}


/* ==========================================================================
   10) CARD ESCURO
   ========================================================================== */
.live-dark-card{
    background:
        radial-gradient(circle at top left, rgba(13,202,240,.12), transparent 32%),
        linear-gradient(180deg, #0b1220 0%, #111a2f 100%);
    color: #fff;
    border-radius: var(--live-radius-lg);
}

.live-dark-card p,
.live-dark-card li{
    color: rgba(255,255,255,.88);
}


/* ==========================================================================
   11) LISTAS
   ========================================================================== */
.list-check{
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-check li{
    position: relative;
    padding-left: 1.65rem;
    margin-bottom: .85rem;
}

.list-check li::before{
    content: "";
    position: absolute;
    top: .42rem;
    left: 0;
    width: .72rem;
    height: .72rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    box-shadow: 0 0 0 6px rgba(13,110,253,.08);
}

.list-check-light li::before{
    background: linear-gradient(135deg, #fff, #dceeff);
    box-shadow: 0 0 0 6px rgba(255,255,255,.10);
}


/* ==========================================================================
   12) EQUIPAMENTOS / PLACEHOLDERS
   ========================================================================== */
.equip-media{
    position: relative;
    height: 220px;
    border-radius: 1rem;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(13,110,253,.04), rgba(13,202,240,.04)),
        #fff;
    border: 1px solid rgba(13,110,253,.10);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.equip-badge{
    position: absolute;
    top: .85rem;
    right: .85rem;
    z-index: 3;
}

.equip-photo-wrap{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equip-photo{
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    filter: drop-shadow(0 .75rem 1.5rem rgba(0,0,0,.12));
}


/* ==========================================================================
   13) FLAGS / CONFORMIDADE
   ========================================================================== */
.flags-row{
    margin-top: .5rem;
}

.flag-chip{
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .7rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--bs-border-color);
    background: #fff;
    font-weight: 700;
    box-shadow: var(--live-shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}

.flag-chip:hover{
    transform: translateY(-1px);
    box-shadow:
        0 6px 12px rgba(0,0,0,.08),
        0 0 0 1px rgba(0,0,0,.06);
}

.flag-chip-br{
    background: linear-gradient(135deg, rgba(25,135,84,.06), rgba(255,193,7,.08));
}

.flag{
    width: 28px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: .35rem;
    box-shadow:
        0 0 0 1px rgba(0,0,0,.08),
        0 2px 4px rgba(0,0,0,.08);
    overflow: hidden;
    flex: 0 0 28px;
}

.flag img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.country-head{
    display: flex;
    align-items: center;
    gap: .75rem;
}

.text-justify{
    text-align: justify;
    text-justify: inter-word;
}


/* ==========================================================================
   14) GARANTIA
   ========================================================================== */
.guarantee-card{
    background:
        radial-gradient(circle at top right, rgba(13,110,253,.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.guarantee-badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 44px;
    padding: 0 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-info));
    color: #fff;
    font-weight: 900;
    letter-spacing: .03em;
}


/* ==========================================================================
   15) MÍDIA / PLACEHOLDERS
   ========================================================================== */
.media-card{
    border-radius: var(--live-radius);
    overflow: hidden;
    background: #fff;
}

.media-frame{
    position: relative;
    width: 100%;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(13,110,253,.04), rgba(13,202,240,.05)),
        #eef4fb;
}

.media-frame-photo{
    aspect-ratio: 16 / 10;
    min-height: 220px;
}

.media-frame-video{
    background: #0b1220;
}

.media-frame-video-main{
    min-height: 320px;
}

/* --------------------------------------------------------------------------
   Quando for vídeo local direto, mantém proporção nobre sem deformar
   -------------------------------------------------------------------------- */
.media-video-main{
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: block;
    background: #000;
    object-fit: contain;
    object-position: center center;
}

/* --------------------------------------------------------------------------
   Instagram embed responsivo / dinâmico
   - ocupa toda a largura
   - respeita altura mínima
   - cresce conforme o embed carregar
   - centraliza sem ficar espremido
   -------------------------------------------------------------------------- */
.media-frame-instagram{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    min-height: 320px;
}

.instagram-embed-wrap{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.instagram-embed-wrap .instagram-media{
    margin: 0 !important;
    width: 100% !important;
    max-width: 560px !important;
    min-width: 0 !important;
    box-shadow:
        0 10px 24px rgba(0,0,0,.10),
        0 0 0 1px rgba(0,0,0,.05) !important;
    border-radius: 1rem !important;
    overflow: hidden !important;
}

/* --------------------------------------------------------------------------
   Imagens
   -------------------------------------------------------------------------- */
.media-image{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* --------------------------------------------------------------------------
   Vídeos gerais
   -------------------------------------------------------------------------- */
.media-video{
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    object-fit: cover;
    object-position: center center;
}

.media-frame-video-short{
    aspect-ratio: 16 / 10;
    min-height: 220px;
}

.media-video-short{
    object-fit: cover;
    object-position: center center;
}

.media-kicker{
    display: inline-block;
    margin-bottom: .65rem;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.media-placeholder{
    border-radius: var(--live-radius);
    min-height: 220px;
}

.video-main .media-frame{
    min-height: 320px;
}

.media-frame-instagram-short{
    padding: .75rem;
    min-height: 220px;
}

.instagram-embed-wrap-short{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.instagram-embed-wrap-short .instagram-media{
    margin: 0 !important;
    width: 100% !important;
    max-width: 420px !important;
    min-width: 0 !important;
    box-shadow:
        0 10px 24px rgba(0,0,0,.10),
        0 0 0 1px rgba(0,0,0,.05) !important;
    border-radius: 1rem !important;
    overflow: hidden !important;
}

@media (max-width: 991.98px){
    .media-frame-instagram-short{
        min-height: 220px;
        padding: .75rem;
    }

    .instagram-embed-wrap-short .instagram-media{
        max-width: 100% !important;
    }
}

@media (max-width: 991.98px){
    .media-frame-video-main,
    .media-video-main,
    .video-main .media-frame{
        min-height: 240px;
    }

    .media-frame-instagram{
        padding: .75rem;
        min-height: 240px;
    }

    .instagram-embed-wrap .instagram-media{
        max-width: 100% !important;
    }

    .media-frame-photo,
    .media-frame-video-short{
        min-height: 220px;
    }
}


/* ==========================================================================
   16) CONTATO / FORMULÁRIO
   ========================================================================== */
.contact-card{
    border-radius: var(--live-radius-lg);
    background:
        radial-gradient(circle at left top, rgba(13,110,253,.09), transparent 28%),
        radial-gradient(circle at right top, rgba(13,202,240,.09), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.contact-box{
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: #fff;
    padding: 1.25rem 1rem;
    box-shadow: var(--live-shadow);
}

.form-note{
    font-size: .92rem;
    color: var(--bs-secondary-color);
}


/* ==========================================================================
   17) UTILITÁRIOS
   ========================================================================== */
.tracking-wide{
    letter-spacing: .18em;
}


/* ==========================================================================
   18) RESPONSIVO
   ========================================================================== */
@media (max-width: 991.98px){
    :root{
        --hero-nav-offset: 78px;
    }

    .hero-live{
        min-height: auto;
        padding-top: var(--hero-nav-offset);
    }

    .hero-content{
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-bg-overlay{
        background: var(--hero-overlay-mobile);
    }

    .video-main{
        min-height: 300px;
    }

    .equip-media{
        height: 200px;
    }
}


/* ==========================================================================
   19) ACESSIBILIDADE
   ========================================================================== */
@media (prefers-reduced-motion: reduce){
    .hero-bg-video{
        display: none;
    }

    html{
        scroll-behavior: auto;
    }
}

@media (min-width: 1200px) {
    .display-3 {
        font-size: 3rem !important;
    }
}