footer {
  background-color: #7a42a0;
  color: white;
  text-align: center;
  padding: 10px 0;
  margin-top: 3rem;
}

.navbar-logo {
  max-width: 100px;
}

.material-symbols-outlined {
  color: white;
}

.btn-primary {
  background-color: #7a42a0 !important;
  border-color: #7a42a0 !important;
  color: white !important;
}

.btn-primary:hover {
  background-color: #572479 !important;
  border-color: #572479 !important;
  color: white !important;
  text-decoration: none !important;
}

.btn-secondary {
  background-color: #b637b9 !important;
  border-color: #b637b9 !important;
  color: white !important;
}

.btn-secondary:hover {
  background-color: #972799 !important;
  border-color: #972799 !important;
  color: white !important;
  text-decoration: none !important;
}

.bg-primary {
  background-color: #7a42a0 !important;
}

.text-primary {
  color: #7a42a0 !important;
}

.text-secondary {
  color: #b637b9 !important;
}

a {
  color: #7a42a0 !important;
}

a:hover {
  color: #572479 !important;
  text-decoration: underline;
}

.navbar a {
  color: #212529 !important;
}

.navbar a:hover {
  color: #7a42a0 !important;
  text-decoration: none;
}

.nav-pills {
  --bs-nav-pills-link-active-bg: #7a42a0;
}

.nav-link {
  color: #7a42a0;
}

.nav-link:hover {
  color: #7a42a0;
}

ol li::marker {
  color: #7a42a0;
  font-weight: bold;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: #7a42a0;
  color: white;
}

.accordion-button.collapsed {
  background-color: #f8f9fa;
  color: #121212;
}
/* ==========================================================================
   Estilos das Abas e Timeline (Páginas de Etapas)
   ========================================================================== */

/* Customização das Abas (Tabs) */
.nav-custom-tabs {
    border-bottom: 2px solid #eaeaea;
    margin-bottom: 2rem;
}

.nav-custom-tabs .nav-link {
    color: #6c757d;
    font-weight: 600;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 1rem 1.5rem;
    background-color: transparent;
    transition: all 0.3s ease;
}

.nav-custom-tabs .nav-link:hover {
    color: #7a42a0;
    background-color: #f8f9fa;
}

.nav-custom-tabs .nav-link.active {
    color: #7a42a0 !important;
    border-bottom-color: #7a42a0 !important;
    background-color: transparent;
}

/* Estilos da Timeline Vertical */
.timeline-container {
    position: relative;
    padding-left: 2.5rem;
    margin-top: 2rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e3f2fd; /* Azul muito claro */
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Bolinha da Timeline */
.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 4px solid #7a42a0;
    z-index: 1;
}

/* Destaque de Período na Timeline */
.timeline-period {
    display: inline-block;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 700;
    color: #495057;
    margin-top: 1rem;
}
/* ==========================================================================
   Seção: Avaliação Integrada (Calculadora Visual)
   ========================================================================== */

/* Fundo com Gradiente inspirado na imagem */
.ai-gradient-container {
    background: linear-gradient(135deg, #491d6b 0%, #a22486 100%);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Caixas escuras translúcidas */
.ai-box {
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
}

/* Caixa dos pontos (30, 40, 60, etc) */
.ai-box-pts {
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 0.75rem;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    text-align: center;
}

/* Painel da direita (Regras) */
.ai-panel-right {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 1rem;
    padding: 2.5rem;
    height: 100%;
}

/* Cor de Destaque Laranja/Pêssego da Imagem */
.ai-accent {
    color: #ffab73 !important;
}

/* Operadores Matemáticos (+ e =) */
.ai-operator {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin: 0 1rem;
    color: #ffffff;
}

/* Responsividade para telas menores */
@media (max-width: 991px) {
    .ai-math-row {
        flex-direction: column;
    }
    .ai-operator {
        margin: 0.5rem 0;
        transform: rotate(90deg); /* Vira o '=' de lado no celular */
    }
    .ai-operator.plus-sign {
        transform: none; /* Mantém o '+' reto */
        margin: 1rem 0;
        text-align: center;
    }
}