/* === CONFIGURAÇÕES GLOBAIS E VARIÁVEIS === */
:root {
    --dark-blue: #1e4395;
    --yellow: #FFF;
    --gray: #f8f8f8;
    --text-color: #333;
}
body { font-family: sans-serif; margin: 0; color: var(--text-color); }
.container { max-width: 1000px; margin: 0 auto; padding: 0 1rem; }
img { max-width: 100%; height: auto; display: block; }
.page-section { padding: 2rem 0; }
.clear{ clear: both;}

/* === HEADER (LOGO E MENU) === */
header {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1.5rem;
}

header > a {
    display: block;
    margin-bottom: 1.5rem;
}

header > a img {
    max-height: 120px; /* Ajuste a altura da logo conforme necessário */
    width: auto;
}

.nav-bar {
    width: 100%;
    background-color: var(--dark-blue);
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.nav-menu li a {
    display: block;
    padding: 1rem 2rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.nav-menu li a:hover {
    color: var(--yellow);
}

/* Botão Toggle Mobile (Escondido no Desktop) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Menu Mobile (Gaveta Lateral) */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -280px; /* Começa fora da tela */
    width: 280px;
    height: 100%;
    background-color: var(--dark-blue);
    z-index: 2000;
    transition: right 0.3s ease;
    padding-top: 1rem;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
}
.mobile-nav.active { right: 0; }

.mobile-nav-header { text-align: right; padding: 0 1rem; }
.mobile-nav-close { background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }

.mobile-nav-list { list-style: none; padding: 0; margin: 0; }
.mobile-nav-list li a {
    display: block;
    padding: 1rem 1.5rem;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-list li a:hover { background-color: rgba(255,255,255,0.1); color: var(--yellow); }

/* Overlay Escuro */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
}
.mobile-nav-overlay.active { display: block; }

/* Responsividade do Menu */
@media (max-width: 768px) {
    .nav-menu { display: none; } /* Esconde menu desktop */
    .mobile-menu-toggle { display: block; } /* Mostra botão mobile */
    .nav-container {
        justify-content: flex-start; /* Alinha botão à direita */
        padding-right: 1rem;
    }
}

/* === PAGINA HOME === */
/* TITULO */
.section-title-bar { color: #1e4395; padding: 20px 0; text-align: center; }
.section-title-bar h2 { margin: 0; font-size: 36px; font-weight: 600; }

.title-bar { background-color: var(--yellow); color: #fff; padding: 5px 0; text-align: center; text-transform: uppercase; }
.title-bar h2 { margin: 0; font-size: 18px; font-weight: 600; color: var(--dark-blue); }

.parallax-title-bar { padding: 150px 20px; position: relative;background-size: cover; background-position: center center; background-repeat: no-repeat; background-attachment: fixed; }
#projetos-title-section { background-image: url('../../uploads/projetos-parallax-bg.jpg'); }

/* BANNER */
.hero-slider { position: relative; width: 100%; min-height: 250px; background-color: #f0f0f0; }
.hero-slider ,img{ width: 100%;}
.hero-slider .splide__slide { line-height: 0; }
.hero-slider .splide__arrow { background: rgba(10, 29, 58, 0.7); width: 3rem; height: 3rem; }
.hero-slider .splide__arrow svg { fill: #fff; }
.hero-slider .splide__pagination { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 1; }
.hero-slider .splide__pagination__page { background: rgba(255, 255, 255, 0.7); width: 12px; height: 12px; margin: 0 6px; opacity: 1; border: 1px solid rgba(0,0,0,0.2); }
.hero-slider .splide__pagination__page.is-active { background: var(--yellow); transform: scale(1.1); border: 1px solid rgba(0,0,0,0.4); }

/* === RODAPÉ (FOOTER) === */
.site-footer { color: #fff; }
.footer-main { background-color: #fff; color: #000; padding: 3rem 0; }
.footer-row { display: flex; flex-wrap: wrap; gap: 2rem; }

.footer-col-info { flex: 1; }
.footer-col-map { flex: 1; }
.footer-col-form { flex: 1; }
.footer-col-map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

.footer-logo-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.footer-logo-social img { width: auto; max-width: 100%; }

.footer-logo {
    max-width: 243px;
    flex-shrink: 0;
}

.footer-address {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col { flex: 1; min-width: 300px; }

.site-footer .social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background-color: #fff;
    color: #0c546c;
    font-size: 1.4rem;
    text-decoration: none;
    transition: opacity 0.3s;
}

.site-footer .social-icons a:hover {
    opacity: 0.8;
}

.site-footer .social-icons a[aria-label="WhatsApp"] {
    width: auto;
    height: auto;
    background-color: transparent;
    color: #000;
    border-radius: 0;
    font-size: 1rem;
}
.site-footer .social-icons a[aria-label="WhatsApp"] i {
    color: #25D366;
    margin-right: 5px;
    font-size: 1.4rem;
}

.contact-info .whatsapp-link, .contact-info .social-icons { margin-bottom: 1rem; }
.contact-info img {
    width: auto; /* Permite que a imagem use sua largura original */
    max-width: 100%; /* Garante que não ultrapasse o contêiner */
    margin-bottom: 1.5rem; /* Adiciona um espaço abaixo da logo */
}
.btn-footer { display: inline-block; background-color: var(--dark-blue); color: #fff; padding: 0.8rem 1.5rem; text-decoration: none; font-weight: bold; border-radius: 5px; margin-top: 1rem; }
.footer-divider { border: none; border-top: 1px solid #ddd; margin: 2rem 0; }
.footer-bottom { background-color: #fff; color: var(--text-color); padding: 1rem 0; font-size: 0.8rem; border-top: 1px solid #eee; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; color: var(--text-color); }
.copyright{ margin: 0; }
/* Estilos para o formulário de contato no rodapé */
.contact-form-footer .form-message {
    padding: 0.8rem;
    border-radius: 4px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
}
.contact-form-footer .form-message.success { color: #155724; background-color: #d4edda; border: 1px solid #c3e6cb; }
.contact-form-footer .form-message.error { color: #721c24; background-color: #f8d7da; border: 1px solid #f5c6cb; }

.contact-form-footer input[type="text"],
.contact-form-footer input[type="email"],
.contact-form-footer input[type="tel"],
.contact-form-footer select,
.contact-form-footer textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Garante que padding e border não aumentem a largura total */
    background-color: #fff;
    color: #333;
}
.contact-form-footer ::placeholder { color: #666; opacity: 1; }
.contact-form-footer button.btn-main {
    width: auto;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    margin-top: 0; /* Remove a margem superior padrão do btn-main */
    background-color: var(--dark-blue);
    color: #fff;
    font-weight: bold;
    border: 0;
    border-radius: 5px;
    transition: background-color 0.3s;
    cursor: pointer;
}
.contact-form-footer button.btn-main:hover { background-color: var(--yellow); color: var(--dark-blue); }

.footer-seals { display: flex; align-items: center; gap: 1rem; }
.footer-logo-small { max-height: 25px; }
@media (max-width: 768px) {
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .footer-logo-social {
        flex-direction: column;
        align-items: center;
    }
    .footer-address {
        text-align: center;
    }
}

/* === BOTÃO VOLTAR AO TOPO === */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--dark-blue);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    z-index: 1000;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background-color 0.3s;
}
.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top-btn:hover {
    background-color: var(--yellow);
    color: var(--dark-blue);
}

/* === BOTÃO FLUTUANTE WHATSAPP === */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 90px; /* Posição acima do botão 'voltar ao topo' */
    right: 30px;
    background-color: #25D366; /* Cor do WhatsApp */
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 2rem; /* Tamanho do ícone */
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}


/* ======================================================
   ### ESTILOS PARA PÁGINAS INTERNAS ###
   ====================================================== */
.pagina{ padding: 0;background-color: #fff; }
.pagina .pagina-banner { width: 100%; display: inline-block; z-index: -1; }
.pagina .meio{ line-height: 1.8; font-size: 16px; max-width: 1000px; margin: 0 auto; padding: 20px; background: #FFF; z-index: 2; }
.pagina .meio iframe { width: 100%; }

.page-wrapper {
    padding: 30px 20px 40px;
    background-color: #fff;
}
/* === SEÇÃO DE PLANOS === */
.planos-section { background-color: #f9f9f9; }
.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.plano-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #eee;
}
.plano-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.plano-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1rem;
}
.plano-icon { height: 70px; display: flex; align-items: center; justify-content: center; }
.plano-icon img { max-height: 100%; width: auto; }
.plano-card h3 { color: var(--dark-blue); margin: 0; font-size: 1rem; text-align: left; }
.plano-valor {margin-bottom: 1.5rem; text-align: left; }
.plano-valor b{ color: var(--dark-blue); font-size: 2rem; font-weight: bold;}
.plano-texto { font-size: 0.95rem; color: #666; line-height: 1; text-align: left; }
.plano-texto ul { text-align: left; padding-left: 1.2rem; }
.plano-botao {
    margin-top: 1.5rem;
    text-align: center;
}
.plano-botao a {
    display: inline-block;
    background-color: var(--dark-blue);
    color: #fff;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.plano-botao a:hover {
    background-color: var(--yellow);
    color: var(--dark-blue);
}

/* === SEÇÃO REDE CREDENCIADA === */
.rede-section {
    background-color: var(--dark-blue);
    color: #fff;
    padding: 0;
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}
.rede-grid {
    display: flex;
    align-items: center;
    gap: 3rem;
}
.rede-img { flex: 0 0 40%; }
.rede-img { flex: 0 0 40%; margin-top: -6rem; margin-bottom: -6rem; }
.rede-info { flex: 1; }

.rede-info h3 { color: #fff; font-size: 2rem; margin-top: 0; margin-bottom: 1rem; }
.rede-info p { font-size: 1.1rem; margin-bottom: 2rem; line-height: 1.6; }

.btn-rede {
    display: inline-block;
    background-color: var(--yellow);
    color: var(--dark-blue);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}
.btn-rede:hover { background-color: #fff; }

@media (max-width: 768px) {
    .rede-grid { flex-direction: column; text-align: center; }
    .rede-img { max-width: 80%; margin: 0 auto 2rem auto; }
}

/* === PÁGINA CIDADES === */
.cidades-content {
    margin-top: 2rem;
}
.cidades-list {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 6; /* Divide em 4 colunas em telas grandes */
    column-gap: 2rem;
}
.cidades-list li {
    margin: 0.3rem;
    break-inside: avoid; /* Evita que o item seja quebrado entre colunas */
    font-size: 1rem;
    line-height: 1.4;
    color: var(--text-color);
}
.cidades-list li i { color: var(--dark-blue); margin-right: 8px; font-size: 0.9em; }
.cidades-list li a { text-decoration: none; color: inherit; display: block; }
.cidades-list li a:hover { color: var(--dark-blue); font-weight: bold; }

@media (max-width: 992px) { .cidades-list { column-count: 3; } }
@media (max-width: 768px) { .cidades-list { column-count: 2; } }
@media (max-width: 480px) { .cidades-list { column-count: 1; } }
