/* ================== IMPORTAÇÃO DE FONTES ================== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Jost:wght@400;500;600&display=swap');

/* ================== VARIÁVEIS DE CORES ================== */
:root {
    --primary-color: #1c2d42; /* Azul Marinho da logo */
    --secondary-color: #a17855; /* Bronze/Cobre da logo */
    --accent-color: #c79a74; /* Bronze mais claro */
    --bg-light: #f3f5fa;
    --text-dark: #444444;
    --text-light: #ffffff;
}

/* ================== RESET BÁSICO ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
      scroll-behavior: smooth;  
   /* scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Isso cria a barreira invisível para TODOS os botões */
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--text-light);
    line-height: 1.6;
    padding-top: 75px; /* Espaço para o cabeçalho fixo */
}

h1, h2, h3, h4 {
    font-family: 'Jost', sans-serif;
    color: var(--primary-color);
}

CSS
/* ================== CONTROLE DE ROLAGEM (COMPUTADOR) ================== */
#empresa { scroll-margin-top: 90px; }
#atuacao { scroll-margin-top: 100px; }
#faq     { scroll-margin-top: 10px; }
#contato { scroll-margin-top: 50px; }

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

/* ================== CABEÇALHO ================== */
header {
    background: var(--text-light);
    padding: 10px 0 !important;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: all 0.4s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    padding: 5px 0 !important;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Aumentando a Logo */
.logo {
    max-height: 50px !important; 
    transform: scale(2.0) !important; /* Deixa a logo o dobro do tamanho sem estragar a barra */
    transform-origin: left center !important; 
    margin-right: 40px !important; 
    transition: all 0.4s ease !important; 
}

header.scrolled .logo {
    transform: scale(1.5) !important; /* Encolhe um pouco ao rolar a página */
}

.navbar ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: 0.3s;
}

.navbar a:hover { color: var(--secondary-color); }

.btn-nav {
    background: var(--secondary-color);
    color: var(--text-light) !important;
    padding: 8px 20px;
    border-radius: 50px;
}
.btn-nav:hover { background: var(--primary-color); }

/* ================== HERO (Banner Principal) ================== */
.hero {
    background-color: var(--primary-color);
    padding: 80px 0;
    color: var(--text-light);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h2 {
    color: var(--secondary-color);
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    transition: 0.3s;
}
.btn-primary:hover { background: var(--accent-color); transform: translateY(-2px); }

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* ================== FAIXA DE ATUAÇÃO ================== */
.clients-bar {
    background: var(--secondary-color);
    padding: 20px 0;
    text-align: center;
}

.clients-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 14px;
}

/* ================== SEÇÕES GERAIS E GRIDS ================== */
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }

.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    bottom: 0;
    left: calc(50% - 25px);
}

.about-grid, .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.check-list {
    list-style: none;
    margin-top: 15px;
}
.check-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}
.check-list li::before {
    content: '✓';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ================== FAQ ================== */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--text-light);
    border-radius: 5px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    cursor: pointer;
}
.faq-item summary {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--primary-color);
    list-style: none;
    outline: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* ================== CONTATO ================== */
.info-item { margin-bottom: 25px; }
.info-item strong {
    color: var(--primary-color);
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

/* ================== RODAPÉ ================== */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding-top: 50px;
}
.footer-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}
.footer-brand h3, .footer-links h4 { color: var(--text-light); margin-bottom: 15px; }
.footer-links ul { list-style: none; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: 0.3s; line-height: 2; }
.footer-links a:hover { color: var(--secondary-color); }
.footer-bottom {
    background: rgba(0,0,0,0.2);
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* ================== MENU CELULAR E RESPONSIVIDADE ================== */
.menu-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.menu-toggle .bar {
    width: 25px; height: 3px; background-color: var(--primary-color); transition: all 0.3s ease;
}

@media (max-width: 768px) {

/* ================== CONTROLE DE ROLAGEM (CELULAR) ================== */
    #empresa { scroll-margin-top: 20px; }
    #atuacao { scroll-margin-top: 60px; }
    #faq     { scroll-margin-top: 10px; }
    #contato { scroll-margin-top: 5px; }

    body, html { overflow-x: hidden; }
    .brand { width: auto; }
    .logo { transform: scale(1.6) !important; margin: 0 !important; }
    .menu-toggle { display: flex; }
    
    header nav {
        position: absolute; top: 100%; left: 0; width: 100%;
        background-color: var(--text-light);
        display: none; padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    header nav.active { display: block !important; }
    header nav.active ul { display: flex !important; flex-direction: column; align-items: center; gap: 20px; }
    
    .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; text-align: center; }
    .check-list li { text-align: left; }
    .hero { padding: 40px 0; text-align: center; }
}


/* ================== ANIMAÇÕES ================== */
.animar-surgir {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}
.animar-surgir.visivel { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.3s; }

/* Cria o respiro invisível APENAS para a seção de Áreas de Atuação */
#atuacao {
    scroll-margin-top: 100px; 
}