h1 a, h2 a {
     color: #C25100; 
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 0;
    margin-top: 0;
}

main.container {
    flex-grow: 1;
}

/* Footer sticky e estilos */
footer {
    margin-top: auto;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 2rem 0 1rem 0;
}

footer h5 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 1rem;
}

footer .text-muted {
    color: #6c757d !important;
}

footer a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #007bff;
    text-decoration: underline;
}

/* Estilos adicionais do footer */
footer .badge {
    font-size: 0.75rem;
}

footer .btn-sm {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

footer hr {
    border-color: #dee2e6;
    opacity: 0.5;
}

footer i {
    width: 16px;
    text-align: center;
}

/* Estilos para os cards da página inicial */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease-in-out;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.bg-primary.rounded-circle,
.rounded-circle {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilos específicos para cards de serviços */
.card h-100 {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card h-100:hover {
    border-color: rgba(0, 123, 255, 0.25);
}

.card h-100 .card-title {
    color: #495057;
    font-weight: 600;
}

.card h-100 .btn {
    transition: all 0.2s ease-in-out;
}

.alert {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-outline-secondary:hover,
.btn-outline-info:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsividade do footer */
@media (max-width: 768px) {
    footer {
        padding: 1.5rem 0 1rem 0;
    }
    
    footer .col-md-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    footer .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    /* Cards responsivos */
    .bg-primary.rounded-circle {
        width: 50px;
        height: 50px;
    }
    
    .card-body {
        padding: 1rem;
    }
}

  @media (min-width: 768px) {
    .bd-placeholder-img-lg {
      font-size: 3.5rem;
    }
    
    }
  /* Estilos do Header Moderno */
.modern-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.top-bar {
  border-bottom: 1px solid #e9ecef;
  font-size: 0.85rem;
}

.main-header {
  border-bottom: 1px solid #e9ecef;
  background-color: rgba(255, 255, 255, 0.95);
}

.modern-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modern-header.scrolled .top-bar {
  display: none;
}

/* Espaçamento do conteúdo principal */
main.container {
  padding-top: 1rem;
}

.navbar-brand-wrapper {
  display: flex;
  align-items: center;
}

.brand-text h5 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-text small {
  font-size: 0.75rem;
  line-height: 1;
}

.logo {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* Estilos do menu de navegação */
.navbar-nav .nav-link {
  font-weight: 500;
  color: #495057 !important;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  background-color: #f8f9fa;
  color: #007bff !important;
}

.navbar-nav .nav-link.active {
  background-color: #e3f2fd;
  color: #1976d2 !important;
}

.navbar-nav .nav-link.active::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-color: #1976d2;
  border-radius: 1px;
}

/* Estilos do dropdown de usuário */
.user-dropdown {
  background-color: #f8f9fa;
  border-radius: 25px;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.user-dropdown:hover {
  background-color: #e9ecef;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.user-avatar {
  position: relative;
}

.user-img {
  width: 35px;
  height: 35px;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.user-info .user-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #495057;
}

.user-info .user-role {
  font-size: 0.75rem;
  line-height: 1;
}

/* Dropdown melhorado */
.dropdown-menu {
  border: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  min-width: 250px;
}

.dropdown-header {
  padding: 1rem 1.5rem;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 0.5rem;
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  padding-left: 2rem;
}

.dropdown-item i {
  width: 16px;
  text-align: center;
}

/* Botão de login */
.btn-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #010185 100%);
  border: none;
  border-radius: 25px;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Espaçamento do body sem hero section */
body {
  padding-top: 160px; /* Altura do header completo */
}

/* Responsividade */
@media (max-width: 991.98px) {
  .top-bar {
    display: none;
  }
  
  body {
    padding-top: 120px; /* Header menor sem top-bar */
  }
  
  .navbar-collapse {
    margin-top: 1rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    margin: 0.25rem 0;
  }
  
  .user-dropdown {
    justify-content: center;
    margin-top: 1rem;
  }
  
  .brand-text {
    display: none !important;
  }
  
  .logo {
    height: 40px;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .top-bar .d-flex {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  

}



@media (max-width: 767.98px) {
  body {
    padding-top: 80px; /* Header ainda menor em mobile */
  }
}

@media (max-width: 600px) {
  .logo{
    width:150px;
  }
}