/* Brava Advisors Theme Override */
:root {
    --primary: #0627a2;
    --primary-hover: #0836d6;
    --bg-dark: #070322;
    --bg-surface: #091951;
    --text-white: #ffffff;
    --text-muted: #b7b4b1;
    --accent-silver: #e1e3e5;
}

body {
    font-family: 'Arimo', sans-serif !important;
    background-color: var(--bg-dark) !important;
    color: var(--text-white) !important;
}

h1, h2, h3, h4, h5, h6, .ct-headline {
    font-family: 'Montserrat', sans-serif !important;
    color: var(--text-white) !important;
}

/* Background Replacements */
.ct-section, 
#section-quem-somos, 
#section-text-loop, 
#footer-bridge, 
#section-205-106 {
    background: var(--bg-dark) !important;
}

#_header-35-7.oxy-sticky-header-active,
.oxy-mega-dropdown_container,
#_header_row-47-7 {
    background-color: var(--bg-surface) !important;
}

/* Accent Replacements (Lime -> Blue/Silver) */
#span-7-2, 
#span-306-2, 
#span-321-2, 
#span-329-2,
#headline-33-2,
#text_block-143-2,
#text_block-151-2,
#text_block-167-2,
#fancy_icon-22-2,
#fancy_icon-68-106,
#fancy_icon-725-7,
#fancy_icon-2331-7 {
    color: var(--primary) !important;
}

.btn-1, 
#div_block-393-106, 
#sup-title-lime,
#div_block-118-2,
#div_block-132-2,
#div_block-141-2,
#div_block-152-2,
#div_block-168-2,
#div_block-293-2,
#div_block-564-2,
#div_block-751-2,
#div_block-965-2,
#div_block-1223-2 {
    background-color: var(--primary) !important;
}

.btn-1:hover, 
#fluent-form-71-106 .ff-btn-submit:hover {
    background-color: var(--primary-hover) !important;
}

.btn-outline {
    border-color: var(--accent-silver) !important;
    color: var(--accent-silver) !important;
}

.btn-outline:hover {
    background-color: var(--accent-silver) !important;
    color: var(--bg-dark) !important;
}

/* Text color fixes */
#text_block-721-7, 
#text_block-2160-7,
.oxy-dynamic-list :is([data-id="text_block-1341-7"],#incspec),
.oxy-dynamic-list :is([data-id="link-2176-7"],#incspec) {
    color: var(--text-muted) !important;
}

a:hover, 
.footer-menu-item:hover, 
.servico-menu:hover {
    color: var(--primary) !important;
}

/* Specific Card adjustments */
#div_block-149-2 { background-color: #1A2755 !important; }
#div_block-165-2 { background-color: #0E1A40 !important; }
#div_block-34-2 { background-color: #5c6a71 !important; }

/* Video Visibility Fixes - Aggressive */
#hero-home.oxy-video-background {
    position: relative !important;
    background: transparent !important;
    overflow: hidden !important;
    min-height: 100vh !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
}

#hero-home .oxy-video-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

#hero-home .oxy-video-container video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto !important;
    height: auto !important;
    transform: translate(-50%, -50%) !important;
    object-fit: cover !important;
    opacity: 0.5 !important; /* Aplica transparência de 50% no vídeo */
}

/* Ensure overlay doesn't block video */
.oxy-video-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(7, 3, 34, 0.4) !important; /* Subtle dark overlay to improve text contrast */
    z-index: 0 !important;
}

.ct-section-inner-wrap {
    position: relative !important;
    z-index: 1 !important;
}

/* Alinhamento de Texto Hero à Esquerda e Centro Vertical */
#hero-home.ct-section {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* Centraliza verticalmente */
    align-items: flex-start !important; /* Alinha horizontalmente à esquerda */
    min-height: 100vh !important;
    padding: 0 !important;
}

#hero-home .ct-section-inner-wrap {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 8% !important; /* Respiro na lateral esquerda */
    margin: 0 !important;
}

#content-wrapper-hero, 
#title-wrapper-hero, 
#div_block-8-2 {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#title-hero {
    text-align: left !important;
    margin-bottom: 30px !important;
}

/* Melhorar contraste do texto no hero */
#span-7-2 {
    color: var(--text-white) !important; /* Mudando para branco para melhor contraste com o vídeo */
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}/* Tamanho da Logo e Ajuste do Header */
.oxy-header-left .ct-image,
#image-39-7,
#image-50-7,
img[src*="logosemfundo.png"] {
    height: auto !important;
    max-height: 100px !important; /* Tamanho otimizado para não quebrar o layout */
    width: auto !important;
    transform: scale(1.3); /* Um aumento extra sem ocupar espaço físico no container */
    transform-origin: left center;
}

.oxy-header-row {
    height: auto !important;
    min-height: 80px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Garante que o menu não fique desalinhado com a logo maior */
.oxy-header-right {
    display: flex !important;
    align-items: center !important;
}

/* --- BRAVA WHEEL (SOLUÇÕES FINANCEIRAS) --- */
.brava-wheel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 80px auto;
    padding: 100px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 900px;
    background: transparent;
}

.wheel-center {
    position: relative;
    width: 250px;
    height: 250px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    box-shadow: 0 0 50px rgba(6, 39, 162, 0.4);
    padding: 30px;
}

.wheel-center img {
    width: 85%;
    height: auto;
    object-fit: contain;
}

/* Background Rings */
.wheel-ring {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}
.ring-1 { width: 450px; height: 450px; }
.ring-2 { width: 750px; height: 750px; }

.wheel-item {
    position: absolute;
    z-index: 10;
    width: 300px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wheel-item.align-right { flex-direction: row; text-align: left; }
.wheel-item.align-left { flex-direction: row-reverse; text-align: right; }
.wheel-item.align-top { flex-direction: column; text-align: center; }
.wheel-item.align-bottom { flex-direction: column-reverse; text-align: center; }

.item-icon-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--bg-surface);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.item-icon-wrapper img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.wheel-item:hover .item-icon-wrapper {
    background: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 25px var(--primary);
}

.item-content h3 {
    font-size: 1.05rem !important;
    margin: 0 0 8px 0 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.item-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.item-list li {
    font-size: 0.8rem;
    color: #b0b0b0;
    line-height: 1.5;
    position: relative;
    padding-left: 15px;
    margin-bottom: 2px;
}

.wheel-item.align-left .item-list li {
    padding-left: 0;
    padding-right: 15px;
}

.item-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.9rem;
}

.wheel-item.align-left .item-list li::before {
    left: auto;
    right: 0;
}

/* Positioning - Spaced for 9 items using % positions */
.item-1 { top: -20px; left: 50%; transform: translateX(-50%); } /* Câmbio - Top */
.item-2 { top: 10%; right: 0; } /* Bens - TR */
.item-3 { top: 40%; right: -120px; } /* Seguros - R */
.item-4 { bottom: 18%; right: -20px; } /* Conta Emp - BR */
.item-5 { bottom: -40px; right: 20%; } /* Estruturas - BR-ish */
.item-6 { bottom: -40px; left: 20%; } /* Contabilidade - BL-ish */
.item-7 { bottom: 18%; left: -20px; } /* Crédito - BL */
.item-8 { top: 40%; left: -120px; } /* Benefícios - L */
.item-9 { top: 10%; left: 0; } /* Investimentos - TL */

/* Mobile Responsive */
@media (max-width: 1100px) {
    .brava-wheel-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        height: auto;
        min-height: auto;
        padding: 60px 20px;
    }
    .wheel-center, .wheel-ring { display: none; }
    .wheel-item {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        flex-direction: row !important;
        text-align: left !important;
        justify-content: flex-start !important;
    }
    .wheel-item.align-left { flex-direction: row !important; text-align: left !important; }
    .item-list li::before { left: 0 !important; right: auto !important; }
    .wheel-item.align-left .item-list li { padding-left: 15px !important; padding-right: 0 !important; }
}

@media (max-width: 650px) {
    .brava-wheel-container {
        grid-template-columns: 1fr;
    }
}
