/* ============================================
   DB CONSTRUÇÕES — Estilo Principal
   Bootstrap 5 + Font Awesome + Custom
   ============================================ */

/* --- Variáveis --- */
:root {
    --db-dourado: #c8a84e;
    --db-dourado-dark: #a8892e;
    --db-dourado-light: #e8d08a;
    --db-dark: #1a1a2e;
    --db-dark2: #16213e;
    --db-dark3: #0f3460;
    --db-text: #1a1a2e;
    --db-text-muted: #6c757d;
    --db-bg: #f8f9fa;
    --db-bg-card: #ffffff;
    --db-border: #e9ecef;
    --db-shadow: 0 4px 24px rgba(0,0,0,0.08);
    --db-shadow-hover: 0 8px 40px rgba(0,0,0,0.15);
    --db-radius: 12px;
    --db-radius-sm: 8px;
    --db-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Tipografia --- */
body {
    font-family: 'Inter', sans-serif;
    color: var(--db-text);
    background: var(--db-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Playfair Display', serif;
}

/* --- Texto dourado --- */
.text-dourado { color: var(--db-dourado) !important; }
.text-light-70 { color: rgba(255,255,255,0.7) !important; }
.bg-dourado { background-color: var(--db-dourado) !important; }
.bg-dourado-soft { background-color: rgba(200,168,78,0.12) !important; }

/* --- Badge dourado --- */
.badge-dourado {
    background: rgba(200,168,78,0.12);
    color: var(--db-dourado);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* --- Botão dourado --- */
.btn-dourado {
    background: linear-gradient(135deg, var(--db-dourado), var(--db-dourado-dark));
    color: #1a1a2e;
    border: none;
    font-weight: 700;
    transition: var(--db-transition);
    position: relative;
    overflow: hidden;
}

.btn-dourado:hover {
    background: linear-gradient(135deg, var(--db-dourado-dark), var(--db-dourado));
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200,168,78,0.35);
}

.btn-outline-dourado {
    border: 2px solid var(--db-dourado);
    color: var(--db-dourado);
    background: transparent;
    font-weight: 600;
}

.btn-outline-dourado:hover {
    background: var(--db-dourado);
    color: #1a1a2e;
}

.btn-social {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* --- Alert dourado --- */
.alert-dourado {
    background: rgba(200,168,78,0.1);
    border: 1px solid var(--db-dourado);
    color: var(--db-text);
    border-radius: var(--db-radius);
}

/* ========== NAVBAR ========== */
#navbar-principal {
    background: rgba(26,26,46,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 10px 0;
    transition: var(--db-transition);
}

#navbar-principal .navbar-brand {
    color: #fff;
}

.brand-nome {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1.1;
}

.brand-tag {
    font-size: 0.65rem;
    color: var(--db-dourado);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.navbar .nav-link {
    color: rgba(255,255,255,0.75) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px !important;
    border-radius: 6px;
    transition: var(--db-transition);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--db-dourado) !important;
    background: rgba(200,168,78,0.08);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-pattern svg {
    width: 100%;
    height: 100%;
}

.min-vh-80 {
    min-height: 80vh;
}

.hero-titulo {
    line-height: 1.15;
}

.hero-sub {
    font-size: 1.15rem;
    line-height: 1.6;
}

.hero-selos span {
    font-size: 0.85rem;
}

/* ========== SEÇÃO NÚMEROS ========== */
.secao-numeros {
    background: var(--db-dark);
    border-top: 1px solid rgba(200,168,78,0.1);
    border-bottom: 1px solid rgba(200,168,78,0.1);
}

.numero-card {
    padding: 20px 10px;
}

.numero-valor {
    font-size: 3rem;
    font-weight: 800;
    color: var(--db-dourado);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.numero-rotulo {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-top: 4px;
    font-weight: 500;
}

/* ========== CARDS DIFERENCIAIS ========== */
.card-diferencial {
    background: var(--db-bg-card);
    border-radius: var(--db-radius);
    padding: 30px 25px;
    border: 1px solid var(--db-border);
    transition: var(--db-transition);
    box-shadow: var(--db-shadow);
}

.card-diferencial:hover {
    transform: translateY(-6px);
    box-shadow: var(--db-shadow-hover);
    border-color: var(--db-dourado);
}

.diferencial-icone {
    margin-bottom: 16px;
}

.card-diferencial h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--db-dark);
}

/* ========== SEÇÃO ESCURA ========== */
.bg-dark-section {
    background: var(--db-dark);
}

/* ========== CARD SERVIÇO SMALL ========== */
.card-servico-sm {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--db-radius);
    padding: 22px 18px;
    transition: var(--db-transition);
    text-align: center;
}

.card-servico-sm:hover {
    background: rgba(200,168,78,0.06);
    border-color: rgba(200,168,78,0.2);
    transform: translateY(-3px);
}

.card-servico-sm i {
    font-size: 2rem;
    color: var(--db-dourado);
    margin-bottom: 10px;
}

.card-servico-sm h6 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 2px;
}

.card-servico-sm small {
    color: rgba(255,255,255,0.5);
}

/* ========== CTA FINAL ========== */
.cta-final {
    background: var(--db-dark2);
    color: #fff;
    position: relative;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--db-dourado), transparent);
}

/* ========== PAGE BANNER ========== */
.page-banner {
    position: relative;
    min-height: 300px;
    padding: 120px 0 60px;
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-banner-bg svg {
    width: 100%;
    height: 100%;
}

/* ========== CARD EQUIPE ========== */
.card-equipe {
    background: var(--db-bg-card);
    border-radius: var(--db-radius);
    padding: 35px 25px;
    text-align: center;
    border: 1px solid var(--db-border);
    box-shadow: var(--db-shadow);
    transition: var(--db-transition);
}

.card-equipe:hover {
    transform: translateY(-4px);
    box-shadow: var(--db-shadow-hover);
}

.avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: rgba(200,168,78,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--db-dourado);
}

.cargo {
    display: block;
    font-size: 0.85rem;
    color: var(--db-dourado);
    font-weight: 600;
}

/* ========== CARD SERVIÇO (Serviços) ========== */
.card-servico {
    background: var(--db-bg-card);
    border-radius: var(--db-radius);
    padding: 30px;
    border: 1px solid var(--db-border);
    box-shadow: var(--db-shadow);
    transition: var(--db-transition);
}

.card-servico:hover {
    transform: translateY(-4px);
    box-shadow: var(--db-shadow-hover);
    border-color: var(--db-dourado);
}

.servico-icone {
    margin-bottom: 16px;
}

.card-servico h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card-servico ul li {
    padding: 4px 0;
    font-size: 0.85rem;
}

/* ========== CARD PROJETO ========== */
.card-projeto {
    background: var(--db-bg-card);
    border-radius: var(--db-radius);
    overflow: hidden;
    border: 1px solid var(--db-border);
    box-shadow: var(--db-shadow);
    transition: var(--db-transition);
}

.card-projeto:hover {
    transform: translateY(-6px);
    box-shadow: var(--db-shadow-hover);
}

.projeto-img-placeholder {
    height: 200px;
    overflow: hidden;
}

.card-projeto-body {
    padding: 20px 24px 24px;
}

.card-projeto-body h5 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

/* ========== FORMULÁRIO ========== */
.card-form {
    background: var(--db-bg-card);
    border-radius: var(--db-radius);
    padding: 35px;
    border: 1px solid var(--db-border);
    box-shadow: var(--db-shadow);
}

.form-control, .form-select {
    border: 2px solid var(--db-border);
    border-radius: var(--db-radius-sm);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--db-transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--db-dourado);
    box-shadow: 0 0 0 3px rgba(200,168,78,0.12);
}

/* ========== CONTATO INFO ========== */
.contato-info {
    background: var(--db-bg-card);
    border-radius: var(--db-radius);
    padding: 35px;
    border: 1px solid var(--db-border);
    box-shadow: var(--db-shadow);
}

.contato-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contato-icone {
    width: 44px;
    height: 44px;
    background: rgba(200,168,78,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--db-dourado);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contato-item strong {
    font-size: 0.9rem;
    display: block;
    margin-bottom: 2px;
}

.contato-item p {
    font-size: 0.88rem;
    color: var(--db-text-muted);
}

/* ========== POLÍTICA ========== */
.conteudo-politica h3 {
    font-size: 1.25rem;
    color: var(--db-dark);
    margin: 28px 0 10px;
}

.conteudo-politica p {
    color: var(--db-text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.conteudo-politica ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.conteudo-politica ul li {
    color: var(--db-text-muted);
    margin-bottom: 4px;
}

.conteudo-politica hr {
    margin: 36px 0;
    border-color: var(--db-border);
}

/* ========== RODAPÉ ========== */
.rodape {
    background: var(--db-dark);
    color: rgba(255,255,255,0.7);
    position: relative;
    overflow: hidden;
}

.rodape-divider {
    margin-bottom: 30px;
}

.rodape h5 {
    font-size: 1.1rem;
}

.rodape h6 {
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--db-transition);
}

.footer-links li a:hover {
    color: var(--db-dourado);
    padding-left: 4px;
}

.footer-contato li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.88rem;
    align-items: flex-start;
}

.footer-contato li i {
    margin-top: 3px;
    flex-shrink: 0;
}

.redes-sociais {
    display: flex;
    gap: 10px;
}

.redes-sociais a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--db-transition);
}

.redes-sociais a:hover {
    background: var(--db-dourado);
    color: var(--db-dark);
    transform: translateY(-2px);
}

.rodape-base {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
    margin-top: 30px;
}

.rodape-base a {
    color: var(--db-dourado);
    text-decoration: none;
}

/* ========== HERO ILUSTRATION ========== */
.hero-ilustracao {
    max-width: 450px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ========== RESPONSIVO ========== */
@media (max-width: 991px) {
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }
    .hero-titulo {
        font-size: 2.2rem;
    }
    .page-banner {
        min-height: 220px;
        padding: 100px 0 40px;
    }
    .page-banner .display-5 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-titulo {
        font-size: 1.8rem;
    }
    .numero-valor {
        font-size: 2.2rem;
    }
    .card-form, .contato-info {
        padding: 20px;
    }
    .brand-nome {
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .hero-titulo {
        font-size: 1.5rem;
    }
    .display-6 {
        font-size: 1.5rem;
    }
}

/* ========== ANIMAÇÕES ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-conteudo {
    animation: fadeInUp 0.8s ease-out;
}

.card-diferencial, .card-servico, .card-projeto, .card-equipe {
    animation: fadeInUp 0.6s ease-out both;
}

.card-diferencial:nth-child(2) { animation-delay: 0.1s; }
.card-diferencial:nth-child(3) { animation-delay: 0.2s; }
.card-diferencial:nth-child(4) { animation-delay: 0.3s; }

/* ========== SELO BING ADS ========== */
.selo-bing {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(200,168,78,0.08);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--db-dourado);
}
