* Importação das Fontes do Google */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Montserrat:wght@600;700&display=swap');

/* Variáveis de Cor - Altere aqui para mudar o tema do site! */
:root {
    --bs-primary-rgb: 78, 115, 223; /* Azul primário - Substitua pela cor do seu logo */
    --bs-primary: #4e73df;
}

/* Estilos Gerais */
body {
    font-family: 'Lato', sans-serif;
    padding-top: 56px; /* Altura do navbar fixo */
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.text-primary {
    color: var(--bs-primary) !important;
}

/* Seção Herói */
.hero-section {
    background-image: linear-gradient(rgba(20, 30, 48, 0.7), rgba(36, 59, 85, 0.7)), url('../images/bunner.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    min-height: 50vh; /* Garante que o banner ocupe toda a altura da tela */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 1rem 1rem;
}

/* Seção CTA Final */
.cta-final-section {
    background: linear-gradient(45deg, var(--bs-primary), #224ABE);
}

/* ======================= Estilos do Painel de Admin ======================= */
.border-left-primary {
  border-left: 0.25rem solid var(--bs-primary) !important;
}

.border-left-success {
  border-left: 0.25rem solid var(--bs-success) !important;
}

.border-left-info {
  border-left: 0.25rem solid var(--bs-info) !important;
}

.border-left-warning {
  border-left: 0.25rem solid var(--bs-warning) !important;
}

.text-xs {
  font-size: 0.7rem;
}

.text-gray-300 {
    color: #dddfeb !important;
}

/* Estilo do Botão Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366; /* Cor do WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    color: #FFF;
    background-color: #128C7E;
}

.navbar-nav .nav-link.active {
    color: var(--bs-primary) !important; /* Usa a cor azul primária que definimos */
    font-weight: 700; /* Deixa o texto em negrito para dar mais destaque */
}

* Importação das Fontes do Google */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Montserrat:wght@600;700&display=swap');

/* Variáveis de Cor - Altere aqui para mudar o tema do site! */
:root {
    --bs-primary-rgb: 78, 115, 223; /* Azul primário - Substitua pela cor do seu logo */
    --bs-primary: #4e73df;
}

/* Estilos Gerais */
body {
    font-family: 'Lato', sans-serif;
    padding-top: 56px; /* Altura do navbar fixo */
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.text-primary {
    color: var(--bs-primary) !important;
}

/* Seção Herói */
.hero-section {
    background-image: linear-gradient(rgba(20, 30, 48, 0.7), rgba(36, 59, 85, 0.7)), url('../images/bunner.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    min-height: 50vh; /* Garante que o banner ocupe toda a altura da tela */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 1rem 1rem;
}

/* Seção CTA Final */
.cta-final-section {
    background: linear-gradient(45deg, var(--bs-primary), #224ABE);
}

/* ======================= Estilos do Painel de Admin ======================= */
.border-left-primary {
  border-left: 0.25rem solid var(--bs-primary) !important;
}

.border-left-success {
  border-left: 0.25rem solid var(--bs-success) !important;
}

.border-left-info {
  border-left: 0.25rem solid var(--bs-info) !important;
}

.border-left-warning {
  border-left: 0.25rem solid var(--bs-warning) !important;
}

.text-xs {
  font-size: 0.7rem;
}

.text-gray-300 {
    color: #dddfeb !important;
}

/* Estilo do Botão Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366; /* Cor do WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    color: #FFF;
    background-color: #128C7E;
}

.navbar-nav .nav-link.active {
    color: var(--bs-primary) !important; /* Usa a cor azul primária que definimos */
    font-weight: 700; /* Deixa o texto em negrito para dar mais destaque */
}

/* =================================================================== */
/* ============== ESTILO PARA O NOVO CABEÇALHO (HERO) ================ */
/* =================================================================== */

.hero-section-v2 {
    /* Fundo com imagem e sobreposição para garantir a legibilidade do texto.
      IMPORTANTE: Verifique se o nome do arquivo 'bunner.png' está correto na sua pasta 'static/images/'.
    */
    background-image:
        /* 1. Sobreposição escura semi-transparente para o texto ficar legível */
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        /* 2. Sua imagem de fundo */
        url('../images/bunner.png');

    /* Ajusta a imagem para cobrir toda a seção, sem distorcer */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    /* =================================================================== */
    /* ======================= A MÁGICA ACONTECE AQUI ====================== */
    background-attachment: fixed; /* <<<<<<< LINHA ADICIONADA */
    /* =================================================================== */

    /* Garante que a seção tenha uma altura mínima e o conteúdo fique centralizado */
    min-height: 60vh;
    padding: 6rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilo para a seção de CTA final, para manter a consistência */
.cta-final-section {
    background-color: #343a40; /* Um cinza escuro para diferenciar */
    background-image: linear-gradient(135deg, #212529 0%, #495057 100%);
}
