/* --- CONFIGURAÇÕES GERAIS E VARIÁVEIS --- */
:root {
    --cor-principal-azul: #2888e2;
    --cor-secundaria-cinza: #f0f2f5;
    --cor-texto-claro: #ffffff;
    --cor-texto-escuro: #333333;
    --cor-borda-cinza: #e0e0e0;
    --cor-fundo-header-info: #1b4977; /* Cor escura do rodapé */
    --cor-instagram: #E1306C;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 180px; /* Aumentado para o novo header */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--cor-texto-claro);
    color: var(--cor-texto-escuro);
    transition: background-color 0.3s;
}

body.no-scroll {
    overflow: hidden;
}

/* --- ESTILO DO CABEÇALHO --- */
.main-header {
    width: 100%;
    background-color: var(--cor-texto-claro);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--cor-borda-cinza);
}

/* NOVA BARRA DE CONTATO NO TOPO */
.header-top-info {
    background-color: var(--cor-fundo-header-info);
    color: var(--cor-texto-claro);
    padding: 8px 5%;
}
.contact-info-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
}
.contact-info-item {
    color: var(--cor-texto-claro);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
}
.contact-info-item:hover {
    opacity: 0.8;
}
.contact-info-item svg {
    margin-top: -2px;
}

/* HEADER PRINCIPAL COM LOGO E MENU */
.header-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    text-align: center;
}

.logo img {
    max-height: 80px;
    margin-bottom: 10px;
    transition: max-height 0.3s ease;
}

.menu-toggle {
    display: none;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.main-nav a {
    text-decoration: none;
    color: var(--cor-texto-escuro);
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}
.main-nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%; background-color: var(--cor-principal-azul); transition: all 0.3s ease-in-out; }
.main-nav a:hover { color: var(--cor-principal-azul); }
.main-nav a:hover::after { width: 100%; left: 0; }

/* --- ESTILO DAS SEÇÕES --- */
main {
    padding-top: 180px; /* Aumentado para o novo header */
}
/* (O restante das seções permanece igual) */

/* --- BOTÕES FLUTUANTES (WHATSAPP E INSTAGRAM) --- */
.whatsapp-button,
.instagram-button {
    position: fixed;
    /* bottom: 30px; FOI REMOVIDO DAQUI PARA SER INDIVIDUAL */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
}
.whatsapp-button:hover,
.instagram-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-button {
    background-color: #25D366;
    right: 30px;
    bottom: 30px; /* Posição na base */
}
.instagram-button {
    background-color: var(--cor-instagram);
    right: 30px;   /* Alinhado com o WhatsApp */
    bottom: 105px;  /* Posicionado acima do WhatsApp (30px + 60px de altura + 15px de espaço) */
}

/* (Código restante do CSS para seções, formulário, rodapé, etc. continua aqui) */
section { padding: 60px 5%; box-sizing: border-box; }
section h2 { text-align: center; font-size: 2.5em; margin-bottom: 40px; color: var(--cor-principal-azul); }
.section-gray { background-color: var(--cor-secundaria-cinza); }
#localizacao { padding-left: 0; padding-right: 0; }
#localizacao iframe { width: 100%; display: block; }
#localizacao p { padding: 0 5% 20px; text-align: center; }
#inicio { padding: 0; height: calc(100vh - 180px); min-height: auto; }
.swiper { width: 100%; height: 100%; }
.swiper-slide { text-align: center; font-size: 18px; background: #fff; display: flex; justify-content: center; align-items: center; position: relative; }
.swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.swiper-slide::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); }
.banner-text { position: absolute; z-index: 10; color: var(--cor-texto-claro); max-width: 800px; padding: 20px; }
.banner-text h2 { font-size: 3em; font-weight: bold; margin-bottom: 10px; color: var(--cor-texto-claro); }
.banner-text p { font-size: 1.2em; }
:root { --swiper-navigation-color: var(--cor-principal-azul); --swiper-pagination-color: var(--cor-principal-azul); }
.lista-com-imagem { list-style: none; padding: 0; margin: 20px 0; }
.lista-com-imagem li { display: flex; align-items: center; margin-bottom: 30px; border: 1px solid #eee; padding: 20px; border-radius: 8px; gap: 20px; }
.lista-imagem { flex: 0 0 150px; height: 100px; background-color: #f0f2f5; border-radius: 4px; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.lista-texto { flex-grow: 1; }
.lista-texto h3 { color: #004a99; margin-top: 0; }
.section-subtitle { text-align: center; max-width: 600px; margin: -30px auto 40px; font-size: 1.1em; color: #666; }
.contact-form { max-width: 800px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-row { display: flex; gap: 20px; }
.form-group-half { flex: 1; }
.contact-form label { display: block; margin-bottom: 8px; font-weight: 500; text-align: left; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; border: 1px solid var(--cor-borda-cinza); border-radius: 8px; font-size: 16px; font-family: inherit; box-sizing: border-box; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--cor-principal-azul); box-shadow: 0 0 8px rgba(10, 116, 218, 0.25); }
.btn-submit { width: 100%; padding: 15px; background-color: var(--cor-principal-azul); color: var(--cor-texto-claro); border: none; border-radius: 8px; font-size: 18px; font-weight: bold; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; }
.btn-submit:hover { background-color: #085ea9; transform: translateY(-2px); }
.site-footer { background-color: #1b4977; color: var(--cor-secundaria-cinza); padding: 50px 20px; text-align: center; }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.logo-footer img { max-height: 75px; margin-bottom: 25px; opacity: 0.9; }
.social-icons { margin-bottom: 25px; }
.social-icons a { color: var(--cor-texto-claro); margin: 0 15px; display: inline-block; transition: color 0.3s ease, transform 0.3s ease; }
.social-icons a:hover { color: var(--cor-principal-azul); transform: scale(1.2); }
.copyright { font-size: 14px; color: #bdc3c7; margin: 0; }

/* --- MEDIA QUERY PARA MOBILE (telas até 768px) --- */
@media (max-width: 768px) {
    /* Esconde a barra de info no mobile */
    .header-top-info {
        display: none;
    }

    /* Ajusta o header principal */
    .main-header {
        padding: 0; /* Remove padding do container principal */
    }
    .header-main {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 5%;
        height: 80px;
        box-sizing: border-box;
    }

    .logo img {
        max-height: 60px;
        margin-bottom: 0;
    }
    
    html { scroll-padding-top: 80px; }
    main { padding-top: 80px; }

    /* Estilos do Menu Sanduíche */
    .menu-toggle { display: flex; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1010; }
    .menu-toggle .bar { width: 100%; height: 3px; background-color: var(--cor-principal-azul); border-radius: 2px; transition: all 0.3s ease-in-out; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    
    .main-nav { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background-color: white; box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: right 0.4s ease-in-out; padding-top: 100px; }
    .main-nav.active { right: 0; }
    .main-nav ul { flex-direction: column; align-items: center; gap: 0; }
    .main-nav li { width: 100%; }
    .main-nav a { padding: 20px 0; display: block; width: 100%; font-size: 1.2rem; }
    .main-nav a::after { content: none; }

    /* Ajuste do Carrossel Mobile */
    #inicio { height: 50vh; }
    .swiper-slide img { object-fit: contain; background-color: #f0f2f5; }
    
    .lista-com-imagem li { flex-direction: column; }
    .lista-imagem { width: 100%; flex: none; margin-bottom: 10px; }
}