:root {
    --primary-color: #217aff; /* Deep Blue */
    --secondary-color: #1976d2; /* Lighter Blue */
    --accent-color: #ffc107; /* Amber/Gold */
    --text-color: #333;
    --light-gray: #f4f4f4;
    --white: #fff;
    --shadow: 0 4px 8px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

/* Header & Nav */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
}

.logo img {
    height: 130px;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.nav-cta:hover {
    color: var(--secondary-color);
}

.nav-cta {
    background-color: var(--accent-color);
    color: var(--primary-color) !important;
    border-radius: 25px;
    padding: 0.5rem 1.5rem !important;
    transition: background-color 0.3s ease;
}

.nav-cta:hover {
    background-color: #ffca28;
}

.menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: url('hero-bg.png') no-repeat center center/cover;
    color: var(--white);
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 71, 161, 0.7); /* Primary color overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background-color: #ffca28;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

/* Sections */
#sobre {
    background-color: var(--light-gray);
}
#sobre p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
}

/* Services Section */
.cards-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    flex-basis: 300px;
    flex-grow: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.card img {
    height: 60px;
    margin-bottom: 1rem;
}

.card h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

/* Missão, Visão, Valores */
#missao {
    background-color: var(--light-gray);
}

.missao-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.missao-item {
    margin-bottom: 2rem;
}

.missao-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.missao-item h3 img {
    height: 30px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.valor-item {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    font-weight: 600;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.valor-item img {
    height: 25px;
    padding 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding-top: 3rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
    text-align: left;
}

.footer-info, .footer-cta {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    height: 200px;
    margin-bottom: 1rem;
    /* Removido o filtro que deixava a imagem branca */
}

.footer-info p {
    margin-bottom: 0.5rem;
}

.footer-info p a {
    color: inherit;
    text-decoration: none;
}

.footer-info p a:hover {
    text-decoration: underline;
}

.footer-cta {
    text-align: center;
}

.footer-cta h3 {
    font-size: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--secondary-color);
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media(max-width: 768px) {
    h2 {
        font-size: 2rem;
    }

    .menu-icon {
        display: block;
        position: absolute;
        right: 1.5rem;
        top: 1.25rem;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--white);
        position: absolute;
        top: 65px;
        left: 0;
        text-align: center;
        box-shadow: var(--shadow);
    }
    
    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 1rem 0;
    }
    
    .nav-cta {
        display: inline-block;
    }

    #hero {
        height: 70vh;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-info {
        text-align: center;
    }
}

/* ---- Acréscimos da Central da BM ------------------------------------- */
/* A marca do cabeçalho é gerada por empresa (iniciais), não um arquivo. */
.logo a { align-items: center; display: flex; gap: .75rem; text-decoration: none; }
.mark { align-items: center; background: var(--primary-color); border-radius: 12px; color: var(--white); display: flex; flex: none; font-size: 1.15rem; font-weight: 700; height: 52px; justify-content: center; width: 52px; }
.logo-name { color: var(--primary-color); font-weight: 700; }
.footer-logo { align-items: center; background: rgba(255,255,255,.15); border-radius: 14px; color: var(--white); display: flex; font-size: 1.5rem; font-weight: 700; height: 76px; justify-content: center; margin-bottom: 1rem; width: 76px; }
.hero-content .status-warning { background: rgba(255,255,255,.16); border-left: 4px solid var(--white); border-radius: 6px; font-size: .92rem; margin: 0 auto 1.5rem; max-width: 640px; padding: .8rem 1rem; text-align: left; }
/* Formulário de contato */
.contact-form { display: grid; gap: 1rem; margin: 2rem auto 0; max-width: 620px; text-align: left; }
.contact-form label { color: var(--text-color); display: grid; font-size: .78rem; font-weight: 600; gap: .4rem; letter-spacing: .06em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { border: 1px solid #ddd; border-radius: 8px; font: 1rem Poppins, Arial, sans-serif; letter-spacing: normal; padding: .85rem 1rem; text-transform: none; width: 100%; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary-color); outline: none; }
.contact-form textarea { resize: vertical; }
.contact-form button { background: var(--primary-color); border: 0; border-radius: 30px; color: var(--white); cursor: pointer; font: 600 1.05rem Poppins, Arial, sans-serif; justify-self: start; padding: .95rem 2.2rem; }
.contact-form button:hover { background: var(--secondary-color); }
.contact-form__trap { left: -9999px; position: absolute; }
.form-notice { border-radius: 8px; font-size: .95rem; margin: 0 auto; max-width: 620px; padding: .85rem 1rem; text-align: left; }
.form-notice--ok { background: #e8f5e9; color: #1b5e20; }
.form-notice--erro { background: #fdecec; color: #7a1d1d; }
/* Dúvidas frequentes */
.faq { margin: 2rem auto 0; max-width: 800px; text-align: left; }
.faq details { background: var(--white); border: 1px solid #e6e6e6; border-radius: 8px; box-shadow: var(--shadow); margin-bottom: .75rem; padding: 1.1rem 1.4rem; }
.faq summary { color: var(--secondary-color); cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { color: var(--accent-color); content: "+"; float: right; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: .7rem 0 0; overflow-wrap: anywhere; }
/* Rodapé: linha final com os documentos */
.footer-bottom { align-items: center; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.footer-bottom p { margin: 0; }
.footer-bottom .docs { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom a { color: var(--white); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
/* Páginas legais */
.prose { margin: 0 auto; max-width: 74ch; text-align: left; }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 .7rem; }
.prose h2:first-of-type { margin-top: 0; }
/* Botão flutuante do WhatsApp */
.wa-float { align-items: center; background: #25d366; border-radius: 50%; bottom: 22px; box-shadow: 0 8px 22px rgba(0,0,0,.28); color: #06331a; display: flex; height: 58px; justify-content: center; position: fixed; right: 22px; text-decoration: none; width: 58px; z-index: 1100; }
.wa-float:hover { filter: brightness(1.06); }
