.pagination {
    font-size: 0.875rem;
}

.pagination .page-item {
    margin: 0 2px;
}

.pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    font-size: 14px;
    border-radius: 4px;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.pagination .page-link {
    text-decoration: none;
}

.progress {
    height: 20px !important;
}

/* Container principal do Choices.js */
.choices__inner {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    min-height: 38px;
    display: flex;
    align-items: center;
    background-color: #fff;
}

/* Estado focusado */
.choices__inner--focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Itens selecionados */
.choices__item {
    /* background-color: #0d6efd; */
    color: #0d6efd;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    margin-right: 0.25rem;
    display: flex;
    align-items: center;
}

/* Remover botão nos itens selecionados */
.choices__item__remove {
    margin-left: 0.5rem;
    cursor: pointer;
    color: #fff;
}

/* Dropdown de opções */
.choices__list--dropdown {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    max-height: 200px;
    overflow-y: auto;
    background-color: #fff;
    z-index: 1000;
}

/* Opções destacadas ao passar o mouse */
.choices__item--selectable:hover {
    background-color: #3169ff !important;
}

/* Placeholder personalizado */
.choices__placeholder {
    color: #6c757d !important;
}

/* Customização do fundo dos itens destacados no Choices.js */
.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
    background-color: #b4b4b4 !important;
}

.choices__list--dropdown {
    max-height: 400px !important; /* Ajuste para a altura desejada */
    overflow-y: auto !important; /* Garante que a rolagem funcione caso haja muitas opções */
  }

/* Estilo principal do select2 */
.select2-container .select2-selection--single {
    height: 48px; /* Altura maior para espaçamento */
    border: 1px solid #e1e1e1; /* Borda cinza clara */
    border-radius: 6px; /* Bordas levemente arredondadas */
    padding: 8px 12px; /* Espaçamento interno */
    font-size: 15px; /* Tamanho de fonte clean */
    background-color: #f9f9f9; /* Fundo claro */
    color: #4a4a4a; /* Texto em tom médio */
    transition: all 0.2s ease; /* Transição suave */
}

/* Estilo ao passar o mouse */
.select2-container .select2-selection--single:hover {
    border-color: #c5c5c5; /* Bordas em tom mais escuro */
    background-color: #ffffff; /* Fundo branco ao passar o mouse */
}

/* Foco no select */
.select2-container .select2-selection--single:focus {
    border-color: #4c8bf5; /* Cor de destaque ao focar */
    box-shadow: 0 0 0 3px rgba(76, 139, 245, 0.2); /* Glow suave */
    background-color: #ffffff; /* Fundo branco */
}

/* Texto selecionado */
.select2-container .select2-selection__rendered {
    line-height: 30px; /* Alinhamento vertical perfeito */
    padding-left: 8px; /* Espaçamento para o texto */
    color: #333; /* Texto com cor padrão */
    font-weight: 500; /* Peso médio */
}

/* Ícone de dropdown */
.select2-container .select2-selection__arrow {
    height: 48px; /* Alinhamento central do ícone */
    right: 12px; /* Margem do lado direito */
    color: #a1a1a1; /* Cor sutil para o ícone */
    transition: color 0.2s ease; /* Transição suave */
}
.select2-container .select2-selection__arrow:hover {
    color: #4c8bf5; /* Cor de destaque ao passar o mouse */
}

/* Dropdown */
.select2-container .select2-dropdown {
    border: 1px solid #e1e1e1; /* Bordas cinza claro */
    border-radius: 6px; /* Bordas suaves */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Sombra elegante */
    font-size: 15px; /* Fonte moderna */
    background-color: #ffffff; /* Fundo branco */
    z-index: 1050; /* Garantir que fica acima de outros elementos */
}

/* Itens do dropdown */
.select2-container .select2-results__option {
    padding: 10px 16px; /* Espaçamento maior para conforto */
    color: #4a4a4a; /* Cor de texto padrão */
    cursor: pointer; /* Cursor indicando clique */
    transition: background-color 0.2s ease; /* Transição suave */
}

/* Item ao passar o mouse */
.select2-container .select2-results__option--highlighted {
    background-color: #f0f8ff; /* Fundo azul claro */
    color: #4c8bf5; /* Texto com destaque */
    font-weight: 500; /* Peso médio */
}

/* Itens desabilitados */
.select2-container .select2-results__option[aria-disabled="true"] {
    color: #c5c5c5; /* Texto desabilitado em cinza claro */
    cursor: not-allowed; /* Cursor indicando inatividade */
}

/* Barra de rolagem (caso aplicável) */
.select2-container .select2-results__options::-webkit-scrollbar {
    width: 6px; /* Largura fina */
}
.select2-container .select2-results__options::-webkit-scrollbar-thumb {
    background-color: #dcdcdc; /* Barra de rolagem */
    border-radius: 4px; /* Arredondamento */
}
.select2-container .select2-results__options::-webkit-scrollbar-thumb:hover {
    background-color: #bcbcbc; /* Fundo ao passar o mouse */
}

.form-select {
    padding-left: 1rem !important;
}

.form-control {
    padding-left: 1rem !important;
}

:root {
    --phoenix-font-sans-serif: "Poppins", sans-serif;
    --phoenix-link-color: #4c3b33;
    --phoenix-link-color-rgb: 76, 59, 51;
    --phoenix-link-hover-color-rgb: #53433b;
    --phoenix-blue: #4c3b33;
    --phoenix-primary: #4c3b33;
    --phoenix-primary-light: #4c3b33;
    --phoenix-heading-color: #4c3b33;

    --phoenix-btn-hover-bg: #4c3b33;

    --footer-bg-overlay: rgba(0, 0, 0, 0.8);
}

body {
    font-family: var(--phoenix-font-sans-serif);
}

.form-check-input:checked {
    background-color: #4c3b33;
    border-color: #53433b;
}

.btn-primary, .tox .tox-dialog__footer .tox-button:last-child, .tox .tox-button {
    --phoenix-btn-bg: #4c3b33;
    --phoenix-btn-hover-bg: #53433b;
}

/* Altura do navbar para desktop */
.navbar-site {
    height: 100px;
}

/* Ajuste da logo */
.navbar-brand-site img {
    max-height: 40px;
}

.banner-publicitario {
    position: relative; /* Faz com que os filhos absolutos se posicionem em relação a este container */
    background-position: center;
    background-size: cover;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-publicitario img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.logo-overlay {
    position: absolute;
    top: 37%;       /* 75% da altura da div banner-publicitario */
    left: 50%;      /* Centraliza horizontalmente */
    transform: translateX(-50%);  /* Ajusta para que apenas a logo fique centralizada horizontalmente */
}

.logo-overlay img {
    max-width: 100%; /* Responsividade */
    height: auto;
}

.custom-card {
    max-width: 380px;
    min-height: 615px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.custom-card-img {
    max-width: 320px;
}

.custom-badge {
    display: block;
    width: 100%; /* Mesma largura da imagem do card */
    padding: 10px 20px;
    border: 0;
    margin: 0 auto; /* Centraliza a badge */
}

.custom-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.custom-card-link:hover {
    text-decoration: none;
}

.custom-card-info p {
    margin: 0;
    padding: 0;
    /* Permite customização adicional se necessário */
}

/* Seção de fundo do formulário no footer */
.footer-form-section {
    position: relative;
    width: 100%;
    background: url('/imagens/footer-01.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
  }

  .footer-form-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--footer-bg-overlay);
    z-index: 1;
  }

  .footer-form-section .container {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
  }

  /* Coluna esquerda – informações e links */
  .footer-form-left {
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }

  .footer-form-left img.logo-footer {
    max-height: 40px;
    margin-bottom: 1rem;
  }

  .footer-links li {
    margin-bottom: 0.5rem;
  }

  .footer-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
  }

  .footer-links li a:hover {
    color: var(--phoenix-link-color);
  }

  /* Redes sociais */
  .social-links a {
    display: inline-block;
    margin-right: 1rem;
    color: #fff;
    font-size: 1.3rem;
    transition: color 0.3s ease;
  }

  .social-links a:hover {
    color: var(--phoenix-link-color);
  }

  /* Coluna direita – formulário de newsletter */
  .footer-form-right {
    padding: 1rem;
  }

  .footer-form-right h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  .footer-form-right p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .footer-form-right form .form-control {
    border: none;
    border-radius: 0;
    padding: 0.75rem;
    margin-bottom: 1rem;
    background-color: rgba(255,255,255,0.9);
    color: #000;
  }

  .footer-form-right form .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    background-color: var(--phoenix-link-color);
    border: none;
  }

  /* Footer base (barra inferior) */
  .footer {
    background-color: #fff;
    border-top: 1px solid #e1e1e1;
    padding: 1rem 0;
    font-size: 0.9rem;
    font-weight: 400;
    text-align: center;
  }

.event-banner {
    width: 100%;
    background-position: center;
    background-size: cover;
    max-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.event-banner img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Ícone fixo do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 60px;    /* ajuste conforme necessário */
    height: 60px;   /* ajuste conforme necessário */
    display: block;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.banner-termos {
    position: relative;
    background-position: center;
    background-size: cover;
    height: 300px; /* Altura do banner; ajuste conforme necessário */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(76, 59, 51, 0.5); /* Overlay com opacidade 0.6 */
    z-index: 1;
}

.banner-title {
    position: relative;
    z-index: 2;
    top: 35%;              /* Posiciona a parte superior do título a 75% da altura do banner */
    transform: translateY(-50%); /* Centraliza verticalmente a partir desse ponto */
    font-weight: 500;
    color: #fff;
    margin: 0;
    text-align: center;
}

.banner-component {
    position: relative;
    background-position: center;
    background-size: cover;
    height: 360px; /* Altura do banner; ajuste conforme necessário */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-component-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(76, 59, 51, 0.7);
    z-index: 1;
}

.banner-component-title {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
}

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

.btn-outline-primary{
    color: var(--phoenix-primary) !important;
    border-color: var(--phoenix-primary) !important;
}

.btn-outline-primary:hover{
    background-color: var(--phoenix-primary) !important;
    color: #FFFFFF;
}

/* Container com o background do formulário */
.background-formularios {
    background-image: url('../imagens/BackgroundFormularios.png'); /* ajuste o caminho conforme sua estrutura */
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    padding: 20px 0;
    position: relative;
  }

  /* Overlay sobre o background (para escurecer ou dar um efeito) */
  .background-formularios::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2); /* ajuste a cor/opaicade conforme necessário */
    z-index: 1;
  }

  /* Garante que o conteúdo fique acima do overlay */
  .background-formularios > .container-small {
    position: relative;
    z-index: 2;
  }

  /* Fundo branco com overlay para o conteúdo interno */
  .white-overlay {
    background-color: rgba(255, 255, 255, 0.7); /* branco com leve transparência */
    padding: 20px;
    border-radius: 5px; /* opcional */
  }

  .btn-no-hover:hover,
  .btn-no-hover:focus,
  .btn-no-hover:active {
      color: inherit;
      background-color: transparent;
      text-decoration: none;
      box-shadow: none;
  }

@media (max-width: 768px) {
    .banner-publicitario {
        height: 620px;
    }

    /* Posicionamento da logo para mobile */
    .logo-overlay {
        position: absolute;
        top: 235px;       /* Distância do topo do banner; ajuste conforme necessário */
        left: 50%;       /* Centraliza horizontalmente */
        transform: translateX(-50%);  /* Centraliza a logo horizontalmente */
        width: 100%;
    }

    /* Controle do tamanho da logo para mobile */
    .logo-overlay img {
        width: 100%;    /* Define a largura exata da logo; ajuste conforme necessário */
        height: auto;    /* Mantém a proporção original da imagem */
    }

    .infos-cards .card-info {
        max-width: 50%;  /* Reduz a largura das imagens */
        margin: 0 auto;  /* Centraliza a imagem */
    }

    .event-banner {
        height: 130px;
    }

    /* Reduz o peso da fonte para 300 em toda a seção de footer */
    .footer-form-section,
    .footer-form-section p,
    .footer-form-section h4,
    .footer-form-section h5,
    .footer-links li a {
        font-weight: 300;
    }

    /* Para a área esquerda, alinhamos os links à esquerda */
    .footer-form-left {
        border-right: none;
        border-bottom: 0 solid rgba(255, 255, 255, 0.2);
        text-align: left;
        margin-bottom: 1.5rem;
    }

    .footer-form-left img.logo-footer {
        margin: 0 auto 1rem;
        display: block;
    }

    .footer-links {
        text-align: left;
        margin-top: 1rem;
    }

    .footer-links li {
        padding: 0.75rem 0;
    }

    /* Linha fina centralizada em todos os itens, com um pouco mais de espaçamento abaixo do texto */
    .footer-links li::after {
        content: "";
        display: block;
        width: 100%;
        margin: 0.75rem auto 0; /* Aumentado o margin-top para 0.75rem */
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    /* Redes sociais centralizadas */
    .social-links {
        text-align: center;
        margin-top: 1rem;
    }

    /* Ajusta a coluna direita, se necessário */
    .footer-form-right {
        text-align: center;
    }

    .navbar-site {
        height: 80px;
    }

    .navbar-brand-site img {
        max-height: 35px;
    }
}

/* ===== FIX MODAL BACKDROP ===== */
.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 1055 !important;
}
