:root {
    --azul-escuro: #0a1733;
    --azul-escuro-2: #111f3f;
    --dourado: #cfa24b;
    --cinza-claro: #f4f4f6;
    --texto: #333333;
    --branco: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--texto);
    background: var(--branco);
}

/* CONTAINER PADRÃO */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* TOPBAR */
.topbar {
    background: var(--azul-escuro);
    color: var(--branco);
    font-size: 0.85rem;
    padding: 6px 0;
}

.topbar .container {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

/* HEADER / NAV */
.header {
    background: var(--branco);
    border-bottom: 1px solid #e0e0e0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.logo img {
    max-height: 60px;
}

.nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--azul-escuro);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--dourado);
    transition: width 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

/* HERO */
.hero {
    position: relative;
    height: 70vh;
    min-height: 380px;
    background: url("img/hero-industria.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--branco);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, #00000055, #000000aa);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 580px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 25px;
}

.btn-primary {
    display: inline-block;
    background: var(--dourado);
    color: var(--azul-escuro);
    padding: 12px 26px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background: #e1b968;
    transform: translateY(-1px);
}

/* SEÇÕES GERAIS */
.section {
    padding: 60px 0;
}

.section-alt {
    background: var(--cinza-claro);
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: left;
    color: var(--azul-escuro);
}

.section-lead {
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.section p {
    line-height: 1.6;
    margin-bottom: 10px;
}

/* GRID DE SERVIÇOS */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: var(--branco);
    border-radius: 4px;
    box-shadow: 0 2px 6px #00000011;
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 10px;
    object-fit: cover;
    max-height: 150px;
}

.card h3 {
    font-size: 1.1rem;
    color: var(--azul-escuro-2);
    margin: 8px 0;
}

.card p {
    font-size: 0.95rem;
    flex-grow: 0;
}

.card-extra {
    font-size: 0.9rem;
    color: #555;
    margin-top: 5px;
}

.card-list {
    font-size: 0.9rem;
    margin-top: 6px;
    padding-left: 18px;
}

.card-list li {
    margin-bottom: 4px;
}

/* MISSÃO / VISÃO / VALORES / POLÍTICA */
.mvvp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.mvvp-card {
    background: var(--branco);
    border-left: 4px solid var(--dourado);
    padding: 15px;
    box-shadow: 0 2px 6px #00000011;
}

.mvvp-card h3 {
    color: var(--azul-escuro-2);
    margin-bottom: 8px;
}

.mvvp-card p {
    font-size: 0.95rem;
}

/* RELATÓRIOS */
.relatorios-list {
    margin-top: 15px;
    padding-left: 18px;
    font-size: 0.96rem;
}

.relatorios-list li {
    margin-bottom: 6px;
}

/* CONTATO */
.contato-section {
    background: var(--azul-escuro);
    color: var(--branco);
}

.contato-section .section-lead {
    color: #e3e7f5;
}

.contato-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 30px;
    align-items: flex-start;
}

.contato-info p {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.privacidade {
    margin-top: 20px;
    font-size: 0.9rem;
    border-top: 1px solid #2a3556;
    padding-top: 10px;
}

/* BOX DO FORMULÁRIO */
.contato-box {
    background: var(--branco);
    color: var(--texto);
    padding: 15px 18px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px #00000022;
}

.contato-box h3 {
    margin-bottom: 8px;
    color: var(--azul-escuro);
}

.contato-box p {
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.contato-box form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contato-box input,
.contato-box textarea {
    border: 1px solid #cccccc;
    border-radius: 4px;
    padding: 8px;
    font-size: 0.9rem;
}

.form-note {
    font-size: 0.8rem;
    margin-top: 8px;
    color: #666;
}

/* FOOTER */
.footer {
    background: #050814;
    color: var(--branco);
    font-size: 0.8rem;
    padding: 12px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* RESPONSIVO */
@media (max-width: 992px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mvvp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contato-grid {
        grid-template-columns: 1fr;
    }

    .topbar .container {
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .grid,
    .mvvp-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nav {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero {
        height: 60vh;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}

.logo img {
    max-height: 70px; /* ajuste principal */
    width: auto;
}

.header {
    background: #0a1733; /* azul escuro */
}

.nav a {
    color: #ffffff;
}

/* HEADER MENOR E MAIS ELEGANTE */
.header {
    background: #0a1733;
    padding: 8px 0; /* reduz altura */
}

/* CONTATO DO TOPO (superior) MAIS FINO */
.topbar {
    background: #071326;
    padding: 4px 0;
    font-size: 0.82rem;
}

/* LOGO MENOR E ALINHADA */
.logo img {
    max-height: 65px; /* tamanho ideal */
    width: auto;
    display: block;
}

/* WHATSAPP FLUTUANTE */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 22px;
    right: 22px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.07);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.whatsapp-float img {
    width: 37px;
    height: 37px;
}

/* Mobile */
@media (max-width: 600px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 18px;
        right: 18px;
    }

    .whatsapp-float img {
        width: 30px;
        height: 30px;
    }
}
