/* =========================================
   1. PALETA DE CORES & VARIÁVEIS (FINAL LUXURY)
   ========================================= */
:root {
    /* COR DOS CARDS E AGORA DA SECÇÃO SOBRE */
    /* Azul Marinho Rico */
    --marinho-escuro: #002347; 
    
    --branco-puro: #ffffff;
    
    /* NOVO FUNDO DO SITE (Mais claro que o preto anterior) */
    /* Um "Cinza Noite" (#101215) - muito mais agradável e premium */
    --azul-fundo-suave: #101215; 
    
    /* DOURADO */
    --gold-start: #d4af37;
    --gold-mid: #f3e5ab; 
    --gold-end: #c5a028; 
    --gold-solid: #d4af37;
}

/* =========================================
   2. FUNDO GERAL (CINZA NOITE)
   ========================================= */
body, html {
    font-family: 'Lato', sans-serif;
    /* Aplica a nova cor de fundo mais suave */
    background-color: var(--azul-fundo-suave) !important;
    background: var(--azul-fundo-suave) !important;
    color: #ffffff; 
    overflow-x: hidden;
}

/* Garante que o fundo das secções normais é o Cinza Noite */
section, #hero-clean {
    background-color: var(--azul-fundo-suave) !important;
    background: var(--azul-fundo-suave) !important;
}

/* Correção para fundos brancos residuais */
body > .bg-white, section.bg-white, .bg-light {
    background-color: var(--azul-fundo-suave) !important;
}

/* Tipografia Geral */
h1, h2, h3, h4, h5, h6, p, span, li, a { color: #ffffff; }

h1, h2, h3, h4, h5, h6, .navbar-brand, .font-serif, .display-4 {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
}

.text-gold-solid { color: var(--gold-solid) !important; }
.text-marinho { color: #ffffff !important; }

/* =========================================
   3. ELEMENTOS AZUL MARINHO (CARDS & BOXES)
   ========================================= */
.card, 
.card-clean,
.tv-frame,
.navbar,
.modal-content,
.dropdown-menu {
    background-color: var(--marinho-escuro) !important;
    background: var(--marinho-escuro) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    border-radius: 8px !important;
}

/* Garante que bg-white dentro de cards vira Azul */
.card .bg-white, .card .bg-light {
    background-color: var(--marinho-escuro) !important;
    color: #ffffff !important;
}

.card h4, .card h5, .card h6 {
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 10px;
    color: #ffffff !important;
}

.card i, .bi { color: var(--gold-solid) !important; }

.card p, .card li, .service-list li {
    color: #e0e0e0 !important;
    font-weight: 300;
}

/* =========================================
   4. INPUTS & FORMULÁRIOS
   ========================================= */
input, textarea, select, .form-control {
    background-color: var(--marinho-escuro) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important; 
}

input:focus, textarea:focus {
    border-color: var(--gold-solid) !important;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5) !important;
    background-color: #002a55 !important; 
    color: #ffffff !important;
}

::placeholder { color: #aaa !important; opacity: 1; }

/* =========================================
   5. NAVBAR (MENU)
   ========================================= */
.navbar {
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}
.navbar-brand { font-weight: 700; color: #fff !important; }
.navbar-toggler { border-color: rgba(255,255,255,0.5) !important; }
.navbar-toggler-icon { filter: invert(1); } 

/* =========================================
   6. BOTÕES (GOLD)
   ========================================= */
.btn-gold-real {
    background-image: linear-gradient(to right, #b88a00 0%, #edc967 50%, #b88a00 100%);
    background-size: 200% auto;
    color: #050505 !important;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    padding: 15px 30px;
    letter-spacing: 1px;
    transition: 0.5s;
    box-shadow: 0 5px 15px rgba(184, 138, 0, 0.3);
}

.btn-gold-real:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 138, 0, 0.5);
}

.btn-outline-gold {
    border: 1px solid var(--gold-solid);
    color: var(--gold-solid) !important;
    background: transparent;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-outline-gold:hover {
    background-color: var(--gold-solid);
    color: #000 !important;
}

/* =========================================
   7. INTERATIVIDADE
   ========================================= */
.card:hover, .hover-lift:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.5) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8) !important;
    transition: all 0.3s ease;
}

.separator-gold {
    width: 80px;
    height: 2px;
    background-color: var(--gold-solid);
    margin: 20px auto;
}

/* =========================================
   8. FAQ (PERGUNTAS)
   ========================================= */
.accordion-item {
    background-color: transparent !important;
    border: none;
}

.accordion-button {
    background-color: var(--marinho-escuro) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 10px;
    border-radius: 6px !important;
}

.accordion-button:not(.collapsed) {
    background-color: #003366 !important;
    color: var(--gold-solid) !important;
    box-shadow: none;
}

.accordion-body {
    background-color: #001a35 !important;
    color: #ccc !important;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.05);
}

.accordion-button::after { filter: brightness(0) invert(1); }
.accordion-button:not(.collapsed)::after {
    filter: invert(74%) sepia(21%) saturate(1637%) hue-rotate(7deg) brightness(96%) contrast(88%);
}

/* =========================================
   9. EXTRAS & SECÇÃO SOBRE (MODIFICADO)
   ========================================= */

/* AQUI ESTÁ A MUDANÇA: O fundo da secção 'Sobre' agora é AZUL MARINHO */
section#sobre {
    background-color: var(--marinho-escuro) !important; 
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 80px 0;
    position: relative;
    /* Opcional: Um gradiente subtil para dar mais vida ao azul */
    background: linear-gradient(to bottom right, var(--marinho-escuro), #00152b) !important;
}

/* Garante que o texto se destaca no fundo azul */
section#sobre .text-gold-gradient {
    background: -webkit-linear-gradient(#f3e5ab, #c5a028);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-premium {
    background-color: #00152b !important; 
    border-top: 3px solid var(--gold-solid);
}

.footer-premium p, .footer-premium a { color: #aaa !important; }
.footer-premium i { color: var(--gold-solid) !important; }

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366 !important;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 1000;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    #hero-clean { text-align: center; padding-top: 60px; }
    #hero-clean h1 { font-size: 2rem; }
    .btn-gold-real { width: 100%; }
    .contact-bar { flex-direction: column; gap: 15px; }
    .vertical-divider { display: none; }
}