/* PALETA DE CORES (Dourado & Azul Noturno) */
:root {
    --cor-primaria-dark: #ba8b3e;
    --cor-primaria-light: #d9c39a;
    --cor-fundo-dark: #16163f;
    --cor-texto-body: #333;
    --cor-branca: #ffffff;
}

body { font-family: 'Open Sans', sans-serif; color: var(--cor-texto-body); margin: 0; padding: 0; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
a:hover { color: var(--cor-primaria-dark); text-decoration: none; }

/* HEADER */
.top-bar { background-color: var(--cor-fundo-dark); color: white; padding: 10px 0; font-size: 14px; }
.top-bar i { color: var(--cor-primaria-dark); margin-right: 5px; }
.top-bar a { color: white; margin-right: 20px; }

.main-header { background: white; padding: 15px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.main-header nav a.active { color: var(--cor-primaria-dark) !important; }

/* HERO */
.hero-section {
    background-image: url('../img/hero-bg.jpeg');
    background-size: cover; background-position: center; padding: 150px 0; position: relative; color: white;
}
.hero-overlay { background: rgba(0, 0, 0, 0.7); position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-title { font-size: 48px; font-weight: 700; line-height: 1.2; margin-bottom: 25px; }
.hero-title span { color: var(--cor-primaria-light); }
.hero-subtitle { font-size: 22px; margin-bottom: 12px; font-weight: 400; }
.hero-subtitle-2 { font-size: 18px; margin-bottom: 30px; font-weight: 300; color: var(--cor-primaria-light); }

/* HERO COMPACTO (páginas internas) */
.hero-compact { padding: 90px 0 60px; text-align: center; }
.hero-compact .hero-title { font-size: 40px; margin-bottom: 10px; }

/* BOTÕES */
.btn-dourado {
    background-color: var(--cor-primaria-dark); color: white; padding: 12px 30px; border-radius: 50px; font-weight: 700; border: 2px solid var(--cor-primaria-dark); display: inline-block;
}
.btn-dourado:hover { background-color: transparent; color: var(--cor-primaria-light); border-color: var(--cor-primaria-light); }
.btn-outline-white { background-color: transparent; color: white; padding: 12px 30px; border-radius: 50px; font-weight: 700; border: 2px solid white; margin-left: 10px; }
.btn-outline-white:hover { background-color: white; color: var(--cor-fundo-dark); }

/* MARQUEE */
.services-marquee {
    background-color: var(--cor-fundo-dark); color: var(--cor-primaria-light);
    padding: 14px 0; overflow: hidden; white-space: nowrap; position: relative;
    border-top: 1px solid rgba(217,195,154,0.2); border-bottom: 1px solid rgba(217,195,154,0.2);
}
.marquee-track {
    display: inline-block; padding-left: 100%;
    animation: marquee 45s linear infinite;
    font-size: 15px; font-weight: 600; letter-spacing: 1px;
}
.marquee-track span { margin: 0 18px; }
.marquee-track i { color: var(--cor-primaria-dark); margin: 0 10px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ÁREAS DE ATUAÇÃO */
.features-section { padding: 60px 0 80px; position: relative; z-index: 3; }
.feature-box {
    background: white; padding: 40px 25px; text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-bottom: 4px solid var(--cor-primaria-dark);
    height: 100%; transition: all 0.3s;
    cursor: pointer; display: block;
}
.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-bottom-color: var(--cor-fundo-dark);
}
.feature-box:hover .feature-icon { color: var(--cor-fundo-dark); }
.feature-icon { font-size: 44px; color: var(--cor-primaria-dark); margin-bottom: 20px; transition: 0.3s; }
.feature-title { font-weight: 700; margin-bottom: 10px; color: #000; font-size: 20px; }
.feature-desc { color: #777; font-size: 13px; margin-bottom: 15px; line-height: 1.5; min-height: 58px; }
.feature-link { color: var(--cor-primaria-dark); font-weight: 600; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }

/* SEÇÕES */
.section-padding { padding: 80px 0; }
.section-title { font-size: 36px; font-weight: 700; color: var(--cor-primaria-dark); margin-bottom: 20px; }
.section-subtitle { font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--cor-primaria-dark); font-weight: 700; margin-bottom: 10px; }
.about-img { border-radius: 10px; box-shadow: 20px 20px 0px var(--cor-primaria-light); max-width: 100%; }
.bg-light-gold { background-color: #faf7f1; }

/* ESCRITÓRIO */
.escritorio-section { background-color: var(--cor-fundo-dark); color: #e8e8e8; }
.escritorio-section .section-title, .escritorio-section .section-subtitle { color: var(--cor-primaria-light); }

/* MVV */
.mvv-card {
    background: white; padding: 35px 28px;
    border-left: 4px solid var(--cor-primaria-dark);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    height: 100%; margin-bottom: 20px;
}
.mvv-card h4 { color: var(--cor-primaria-dark); font-weight: 700; margin-bottom: 15px; }
.valores-list { list-style: none; padding: 0; }
.valores-list li { padding: 10px 0; border-bottom: 1px solid #eee; }
.valores-list li:last-child { border-bottom: none; }
.valores-list strong { color: var(--cor-primaria-dark); }

/* FORMULÁRIO */
.form-section { background: #faf7f1; }
.contato-form {
    background: white; padding: 45px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-top: 4px solid var(--cor-primaria-dark);
}
.contato-form label { font-weight: 600; color: var(--cor-fundo-dark); font-size: 14px; margin-bottom: 6px; }
.contato-form .form-control {
    border: 1px solid #ddd; border-radius: 0;
    padding: 12px 14px; font-size: 14px; background: #fafafa;
}
.contato-form .form-control:focus {
    border-color: var(--cor-primaria-dark);
    box-shadow: 0 0 0 0.15rem rgba(186,139,62,0.15);
    background: white;
}
.file-upload-label {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; background: #f2ecdd;
    color: var(--cor-fundo-dark); cursor: pointer;
    font-weight: 600; border: 1px dashed var(--cor-primaria-dark);
}
.file-upload-label:hover { background: var(--cor-primaria-light); }
.file-upload-input { display: none; }
.btn-enviar {
    background: var(--cor-primaria-dark); color: white;
    padding: 14px 50px; border: none; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase; transition: 0.3s;
}
.btn-enviar:hover { background: var(--cor-fundo-dark); color: white; }

/* MAPA */
.map-section { padding: 0; }
.map-container { width: 100%; height: 450px; border: 0; display: block; }

/* FOOTER */
footer { background-color: var(--cor-fundo-dark); color: #ccc; padding: 60px 0 20px; }
footer h4 { color: white; margin-bottom: 20px; font-size: 18px; }
footer a { color: #ccc; }
footer a:hover { color: var(--cor-primaria-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 20px; text-align: center; font-size: 13px; }

/* WHATSAPP */
.whatsapp-float {
    position: fixed; bottom: 20px; right: 20px;
    background-color: #25d366; color: white;
    width: 60px; height: 60px; border-radius: 50%;
    text-align: center; font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
}
.whatsapp-float:hover { background-color: #128C7E; color: white; }

/* PÁGINAS DE SERVIÇOS / CONTEÚDO */
.content-page { padding: 60px 0; }
.content-page h2 { color: var(--cor-primaria-dark); font-weight: 700; margin-top: 35px; margin-bottom: 18px; font-size: 28px; }
.content-page h3 { color: var(--cor-fundo-dark); font-weight: 700; margin-top: 28px; margin-bottom: 14px; font-size: 22px; }
.content-page p { line-height: 1.8; text-align: justify; margin-bottom: 14px; }
.content-page ul { line-height: 1.9; }
.content-page ul li { margin-bottom: 6px; }
.content-card {
    background: white; padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border-top: 4px solid var(--cor-primaria-dark);
    margin-bottom: 30px;
}

/* BLOG */
.blog-list { padding: 60px 0; }
.blog-post-card {
    background: white; padding: 30px; margin-bottom: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border-left: 4px solid var(--cor-primaria-dark);
    transition: 0.3s;
}
.blog-post-card:hover { transform: translateX(5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.blog-post-card h3 { color: var(--cor-fundo-dark); font-weight: 700; margin-bottom: 10px; }
.blog-post-card .post-date { color: var(--cor-primaria-dark); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; font-weight: 600; }
.blog-post-card .post-excerpt { color: #555; line-height: 1.7; }
.blog-post-card a.read-more {
    display: inline-block; margin-top: 12px;
    color: var(--cor-primaria-dark); font-weight: 600;
}

/* ADMIN */
.admin-box {
    max-width: 500px; margin: 60px auto; background: white;
    padding: 40px; box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-top: 4px solid var(--cor-primaria-dark);
}
.admin-box h2 { color: var(--cor-primaria-dark); text-align: center; margin-bottom: 25px; }
.admin-editor { max-width: 900px; margin: 40px auto; }
.admin-post-item {
    background: white; padding: 18px 22px;
    border-left: 3px solid var(--cor-primaria-dark);
    margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center;
}
.admin-post-item h5 { margin: 0; color: var(--cor-fundo-dark); }
.admin-post-item small { color: #888; }
.btn-danger-sm { background: #c0392b; color: white; border: none; padding: 6px 14px; font-size: 13px; cursor: pointer; }
.btn-danger-sm:hover { background: #922b20; }
.alert-box { padding: 12px 18px; margin-bottom: 20px; border-radius: 4px; }
.alert-error { background: #fdecea; color: #922b20; border-left: 4px solid #c0392b; }
.alert-success { background: #eafaf1; color: #1e6b3f; border-left: 4px solid #27ae60; }

@media(max-width: 768px) {
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 18px; }
    .mostrar-menu { display: flex !important; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 10px 0; box-shadow: 0 10px 10px rgba(0,0,0,0.05); z-index: 1001; }
    .mostrar-menu a { padding: 15px; text-align: center; border-bottom: 1px solid #f8f9fa; margin: 0; }
    .top-bar .d-flex { justify-content: center !important; }
    .features-section { margin-top: 0; padding-top: 50px; }
    .btn-dourado, .btn-outline-white { display: block; width: 100%; text-align: center; margin-left: 0; margin-top: 15px; }
    .contato-form { padding: 30px 22px; }
    .section-title { font-size: 28px; }
    .feature-services { font-size: 12px; padding: 16px 14px; }
    .content-card { padding: 25px 20px; }
}
