/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    scroll-behavior: smooth;
    background-color: #f5f5f5; /* Remove a cor de fundo */
    margin: 0; /* Remove qualquer margem padrão */
    padding: 0; /* Remove qualquer padding */
}


/* Estilização do menu */
header {
    background: #fff;
    padding: 0 20px;
    position: fixed;
    width: 100%;
    height: 100px; /* Ajuste para acomodar a logo */
    top: 0;
    left: 0;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    width: 100%;
    height: 100%;
}

.logo img {
    max-width: 380px; /* Ajuste conforme necessário */
    max-height: 160px; /* Um pouco menor que o header */
    width: auto;
    height: auto;
    display: block;
    transition: max-width 0.3s ease-in-out, max-height 0.3s ease-in-out;
}

nav ul {
    list-style: none;
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    height: 100%; /* Mantém alinhado verticalmente */
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s, font-size 0.3s ease-in-out;
    font-size: 14px;
}

nav ul li a:hover {
    color: #d32f2f;
}

/* Efeito ao rolar a página */
header.scrolled {
    height: 60px; /* Reduz a altura do header */
    padding: 0 15px;
}

header.scrolled .logo img {
    max-width: 280px; /* Ajusta conforme necessário */
    max-height: 80px;
}

header.scrolled nav ul li a {
    font-size: 12px;
}




.first-section {
    margin-top: 100px; /* O mesmo valor da altura do menu */
}

.banner-container {
    width: 100%;
    height: 630px; /* Ajuste conforme necessário */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Preenche o container sem distorcer */
    object-position: top; /* Garante que o topo da imagem fique visível */
}


/* Container geral do formulário */
.form-container {
    background: linear-gradient(rgba(228, 228, 228, 0.527), rgba(228, 228, 228, 0.527)), url('../img/form-background.jpg'); /* Overlay + Imagem */
    background-size: cover; /* A imagem vai cobrir todo o container */
    background-position: center; /* A imagem será centralizada */
    padding: 30px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
}


/* Título do formulário */
.form-container h2 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.highlight {
    color: #d62828;
    font-weight: bold;
}

/* Estilo dos inputs e do select */
.input-group {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.input-field {
    flex: 1;
    min-width: 45%;
}

.input-group input,
.input-group select {
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

.captcha-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.captcha-group label {
    font-size: 14px;
    color: #333;
}

.captcha-input {
    width: 40%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    max-width: 120px; /* Limita o tamanho máximo do campo */
}

/* Estilo do botão */
button.btn-enviar {
    width: 100%;
    padding: 12px;
    background-color: #d62828;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button.btn-enviar:hover {
    background-color: #a51a1a;
}

/* Estilo para os campos de input e botões no foco */
input:focus, select:focus, button:focus {
    outline: none;
    border-color: #d62828;
}

/* Responsividade */
@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
    }

    .input-field {
        min-width: 100%;
    }

    button.btn-enviar {
        padding: 14px;
    }
}


/* Estilo da seção "Unidades" */
.unidades-section {
    background-color: #f5f5f5; /* Cor de fundo */
    padding: 40px;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.unidades-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.unidades-title {
    font-size: 24px;
    font-weight: bold;
    color: #d62828; /* Cor para o título */
    margin-bottom: 20px;
}

.unidades-description p {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
}

.unidades-info {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap; /* Para garantir que em telas pequenas os itens fiquem em coluna */
}

.unidade {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 45%; /* Tamanho da unidade, pode ajustar conforme necessário */
    box-sizing: border-box;
}

.unidade h3 {
    font-size: 20px;
    color: #d62828;
    margin-bottom: 10px;
}

.unidade p {
    font-size: 16px;
    color: #555;
}

/* Estilo para o mapa, garantindo que ele seja responsivo */
iframe {
    width: 100%; /* Garante que o mapa ocupe toda a largura disponível */
    height: 300px; /* Altura do mapa */
    border: 0;
    border-radius: 8px; /* Deixa o mapa com bordas arredondadas */
    max-width: 600px; /* Limita a largura máxima */
    margin: 20px 0; /* Margem para separar o mapa do conteúdo */
}


/* Estilo da seção de Contato */
.contato-section {
    background-color: #f5f5f5;
    padding: 40px;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contato-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contato-title {
    font-size: 24px;
    font-weight: bold;
    color: #d62828;
    margin-bottom: 20px;
}

.contato-description p {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
}

.contato-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.whatsapp {
    background-color: #25D366;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.whatsapp-link {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
}

.whatsapp-icon {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.whatsapp p {
    font-size: 18px;
    margin: 0;
}


/* Estilo da seção "Categorias" */
.categorias-section {
    background-color: #000000; /* Cor de fundo vermelha */
    padding: 40px 0;
    text-align: center;
}

.categorias-container {
    max-width: 1000px;
    margin: 0 auto;
}

.categorias-title {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
}

.categorias-info {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap; /* Garante que as imagens se ajustem em telas pequenas */
}

.categoria {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 30%; /* Cada item vai ocupar 30% da largura */
    box-sizing: border-box;
}

.categoria-img {
    width: 100%; /* Responsividade das imagens */
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.categoria h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}


/* Estilo da seção de benefícios */
.benefits-section {
    padding: 40px 0;
    text-align: center;
    background-color: #f5f5f5 /* Cor de fundo */
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.benefits-info {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.benefit {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 22%; /* Cada item ocupa 22% da largura */
    text-align: center;
    box-sizing: border-box;
}

.benefit-icon {
    font-size: 40px; /* Tamanho do ícone */
    color: #e74c3c; /* Cor vermelha, ajuste conforme necessário */
    margin-bottom: 10px;
}


.benefit h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.benefit p {
    font-size: 14px;
    color: #666;
}

.video-container {
    width: 100%;
    max-height: 630px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
}

.banner-video {
    width: 100%;
    height: auto;
    max-height: 630px;
    object-fit: cover;
    object-position: top; /* Garante que o topo da imagem fique visível */
}

/* Seção do banner */
.custom-banner-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5; /* Fundo opcional para evitar espaços brancos */
    padding: 20px 0; /* Ajuste de espaçamento */
}

/* Banner ocupa toda a largura da tela */
.custom-banner-container {
    width: 100%;
    max-width: 1200px; /* Mantém um limite máximo para não ficar exagerado */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ajuste da imagem */
.custom-banner-img {
    width: 100%;
    height: auto;
    max-height: 400px; /* Define uma altura máxima para manter a proporção */
    object-fit: cover;
}



/* Estilo para a seção de Dúvidas Frequentes */
.faq-section {
    padding: 40px 20px;
    background-color: #f5f5f5;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden; /* Esconde o conteúdo quando está fechado */
}

.faq-header {
    padding: 15px;
    background-color: #f0f0f0; /* Cor de fundo suave */
    color: #333; /* Cor do texto suave */
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid #ddd; /* Linha de separação suave */
}

.faq-title {
    font-size: 20px;
    margin: 0;
}

.toggle-icon {
    font-size: 24px;
    font-weight: bold;
    color: #333; /* Cor do ícone */
    transition: transform 0.3s ease; /* Transição suave para rotação */
}

.faq-content {
    padding: 15px;
    background-color: #fff;
    display: none; /* O conteúdo começa oculto */
    color: #666;
}

/* Quando a FAQ está aberta */
.faq-item.open .faq-content {
    display: block; /* Mostra o conteúdo quando aberto */
}

.faq-item.open .toggle-icon {
    transform: rotate(45deg); /* Muda o ícone para um "x" quando aberto */
}

.sbi-follow-btn svg {
    fill: #3b5998; /* cor do Facebook */
}


/* Facebook feed */
/* Seção principal do Facebook Feed */
#facebook-feed {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

/* Cabeçalho (Nome e Logo) acima de tudo */
.facebook-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px; /* Aproxima do conteúdo abaixo */
    text-decoration: none;
}

.facebook-header-text {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.facebook-header-link {
    text-decoration: none; /* Remove o sublinhado */
    color: inherit; /* Mantém a cor padrão do texto */
}

.facebook-header h3 {
    font-size: 24px;
    font-weight: bold;
    color: #0045da;
    text-decoration: none !important;
}

.facebook-header-img img {
    width: 50px;
    height: 50px;
}

/* Grid principal */
.facebook-grid {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Mantém duas colunas: texto+vídeo e publicações */
    gap: 30px;
    width: 100%;
    max-width: 1000px;
    align-items: start;
}

/* Descrição agora inclui o texto e o vídeo */
.facebook-description {
    display: flex;
    flex-direction: column;
    text-align: left;
    max-width: 100%;
    gap: 20px; /* Espaço entre o texto e o vídeo */
}

/* Título e texto */
.facebook-description h3 {
    font-size: 22px;
    color: #222;
}

.facebook-description p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Área das postagens */
#facebook-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Cada postagem */
.facebook-item {
    width: 100%;
    max-width: 500px;
}

.facebook-item iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

/* Ajuste do vídeo para ocupar apenas a largura correta */
.facebook-video {
    display: flex;
    justify-content: center;
}

.facebook-video video {
    width: 100%;
    max-width: 400px; /* Ajusta o tamanho do vídeo */
    height: auto;
    border-radius: 10px;
}

/* Responsividade */
@media (max-width: 900px) {
    .facebook-grid {
        grid-template-columns: 1fr; /* Em telas menores, o layout fica em uma única coluna */
        text-align: center;
    }

    .facebook-description {
        max-width: 100%;
    }

    .facebook-video {
        justify-content: center;
    }

    .facebook-item {
        width: 100%;
        max-width: 400px;
    }
}





/* Ajuste para o vídeo */
.facebook-video {
    margin-top: 15px;
    display: flex;
    justify-content: center;
}

.facebook-video video {
    width: 100%;
    max-width: 400px; /* Ajusta o tamanho do vídeo */
    height: auto;
    border-radius: 10px;
}

/* Responsividade */
@media (max-width: 900px) {
    .facebook-grid {
        grid-template-columns: 1fr; /* Em telas menores, o layout fica em uma única coluna */
        text-align: center;
    }

    .facebook-description {
        max-width: 100%;
    }

    .facebook-video {
        justify-content: center;
    }

    .facebook-item {
        width: 100%;
        max-width: 400px;
    }
}





/* Seção de informações antes do footer */
.site-info {
    background-color: #111;
    color: #fff;
    padding: 40px 20px;
}

.site-info-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
    gap: 20px;
}

.site-info-column {
    flex: 1;
    min-width: 250px;
}

/* Logo */
.site-info-logo {
    width: 180px;
    margin-bottom: 15px;
}

/* Títulos */
.site-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

/* Espaçamento apenas entre as unidades no pre-footer */
.site-info-column p.site-info-unidade {
    margin-bottom: 20px; /* Ajuste o espaçamento como quiser */
}

/* Links */
.site-info a {
    color: #e74c3c;
    text-decoration: none;
}

/* Ajuste específico para alinhar a logo e o institucional */
.site-info-column:first-child {
    position: relative; /* Permite mover manualmente */
    top: -40px; /* Subindo a logo e o institucional */
}


/* Ajuste do espaçamento entre os itens do menu rápido */
.site-info-column p a {
    display: block; /* Mantém os links empilhados */
    margin-bottom: 1px; /* Ajusta o espaçamento entre os links */
}


.site-info a:hover {
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    .site-info-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Footer simples */
.footer {
    background-color: #222; /* Fundo escuro */
    color: #fff; /* Texto branco */
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
}

.footer p {
    margin: 0;
    font-weight: 300;
}

/* Garantindo que links no footer fiquem brancos e sem sublinhado */
.footer a {
    color: #fff; /* Deixa os links brancos */
    text-decoration: none; /* Remove sublinhado */
}

.footer a:hover {
    text-decoration: none; /* Garante que não apareça sublinhado ao passar o mouse */
}

/* Estilização da seção de Política de Privacidade */
.privacy-policy {
    max-width: 100%; /* Permite ajuste em telas menores */
    width: 90%;
    margin: 0 auto;
    padding: 110px 20px 50px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}



/* Estilização dos títulos */
.privacy-policy h2 {
    margin-top: 25px;
    font-size: 22px;
    color: #d32f2f; /* Vermelho para os títulos */
    border-bottom: 2px solid #d32f2f;
    padding-bottom: 5px;
}

/* Parágrafos e listas */
.privacy-policy p, 
.privacy-policy ul {
    margin-bottom: 15px;
}

/* Links dentro da política */
.privacy-policy a {
    color: #d32f2f;
    text-decoration: none;
    font-weight: bold;
}

.privacy-policy a:hover {
    text-decoration: underline;
}

/* Ajuste para listas */
.privacy-policy ul {
    padding-left: 20px;
}

.privacy-policy ul li {
    margin-bottom: 5px;
}
