      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      :root {
        --primary-blue: #0a2b4e;
        --gold: #c9a03d;
        --dark-gray: #1e2a3e;
        --light-bg: #f1f5f9;
      }
        html {
    scroll-behavior: smooth;
  }
      body {
        background-color: #f4f6f9;
        font-family: "Segoe UI", sans-serif;
      }

      /* HEADER */
      .navbar {
        background: linear-gradient(90deg, #0d2b4c, #123d6b);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      }
      .nav-link {
        color: #fff !important;
        margin-left: 10px;
      }
      .nav-link:hover {
        color: #ffc107 !important;
      }

      /* CAROUSEL - CORREÇÃO ESTRUTURAL */
        #cpmCarousel {
        width: 100%;
        margin-bottom: 20px;
        background-color: #f0f0f0; /* Cor de fundo caso a imagem seja menor que o espaço */
    }
      .carousel-inner {
        height: 400px;
        background-color: #0a1c2f;
      }

      .carousel-item {
        height: 100%;
      }

          .carousel-item img {
        max-width: 100%;
        max-height: 100%;
        /* 'contain' garante que a imagem apareça INTEIRA sem cortes */
        object-fit: contain; 
        filter: brightness(90%); /* Ajustei o brilho para não ficar tão escuro */
    }

    .carousel-image-container {
        width: 100%;
        height: 400px; /* Altura fixa do carrossel */
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }


    /* Ajuste para telas de celular */
    @media (max-width: 768px) {
        .carousel-image-container {
            height: 250px; /* No celular, o carrossel fica mais baixo */
        }
    }
    
      @media (max-width: 768px) {
        .carousel-inner {
          height: 250px;
        }
      }

/*************************************************************************/
      /* TITULOS */
      .section-title {
        font-weight: 700;
        border-left: 6px solid #ffc107;
        padding-left: 10px;
        margin-bottom: 25px;
      }

      /* SERVIÇOS */
      .service-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #234b91;
        border-radius: 15px;
        padding: 20px;
        text-align: center;
        transition: all 0.3s ease;
        color: #ffffff;
        text-decoration: none;
        font-weight: 500;
        height: 100%;
      }
      .service-card i {
        font-size: 28px;
        margin-bottom: 10px;
      }
      .service-card:hover {
        background: #17487c;
        transform: translateY(-5px);
        color: #ffc107;
      }

      /* AVISOS */
      .avisos-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
      }
      @media (max-width: 992px) {
        .avisos-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }
      @media (max-width: 576px) {
        .avisos-grid {
          grid-template-columns: 1fr;
        }
      }

      .aviso-card {
        border-radius: 12px;
        padding: 20px;
        background: #ffffff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        position: relative;
        transition: all 0.3s ease;
        border-left: 6px solid #0d6efd;
      }
      .aviso-card:hover {
        transform: translateY(-4px);
      }
      .aviso-icon {
        font-size: 22px;
        color: blue;
        margin-right: 10px;
      }
      .aviso-title {
        font-weight: 600;
        text-align: center;
      }
      .aviso-data {
        font-size: 0.85rem;
        color: #6c757d;
      }
      .badge-urgente {
        position: absolute;
        top: 15px;
        right: 15px;
      }

      /* CENTRAL DO ALUNO */
      .section-title-alunos {
        font-weight: 800;
        font-size: 1.6rem;
        margin-bottom: 1rem;
        border-left: 6px solid #ffc107;
        padding-left: 1rem;
      }
      .service-card-central {
        transition: all 0.3s ease;
      }
      .service-card-central:hover {
        background: #17487c;
        transform: translateY(-4px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
      }

      /* FOOTER */
      .footer-moderno,
      .footer-mobile {
        background: #0a1c2f;
        color: #cdd9f4;
        padding: 2rem 0 1rem;
        margin-top: 3rem;
      }
      .footer-links a {
        text-decoration: none;
        color: #b9c8f0;
        font-size: 0.9rem;
      }
      .social-icon {
        font-size: 1.2rem;
        margin-right: 0.8rem;
        color: #cdd9f4;
      }
 
/************************ caroussel ******************************/
/* Bolinhas vermelhas */
.carousel-indicators [data-bs-target] {
    background-color: red;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.carousel-indicators .active {
    background-color: darkred;
}
      .service-card-a {
       
        align-items: center;
        justify-content: center;
      
        text-align: center;
      
        color: #222121;
        text-decoration: none;
        
      }

      /*****************************************/
      /* bloqueia a barra de formatação do nickeditors */

    /* Bloqueia cliques e interações na barra de ferramentas */
    .nicEdit-panel {
        pointer-events: none; /* Impede cliques, hover e seleção */
        opacity: 0.6;         /* Deixa um pouco mais clara para indicar que está desativada (opcional) */
        user-select: none;    /* Impede que o usuário selecione os ícones como texto */
    }

    /* Mantém o campo de digitação funcionando normalmente */
    .nicEdit-main {
        pointer-events: auto !important;
        background-color: #fff;
    }
    /*  Home */
  


  #secao-avisos {
    scroll-margin-top: 60px;
    /* Evita que o título fique colado no topo */
  }

  .animate-fade-in {
    animation: fadeInContainer 0.8s ease-in-out;
  }

  @keyframes fadeInContainer {
    from {
      opacity: 0;
      transform: translateY(15px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Melhoria no hover da central para conforto visual */
  .service-card-central {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .service-card-central:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .bg-mes-atual {
    background-color: #d3d3d3;
  }


  
    /* Customização do Modal */
#meuModalDinamico .modal-content {
    border-radius: 20px;
    overflow: hidden;
}

/* Botão PDF Moderno */
.btn-pdf-modern {
    background: linear-gradient(135deg, #ff5f6d, #ffc371);
    color: white !important;
    border: none;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-pdf-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 95, 109, 0.4);
}

/* Botão Link Moderno */
.btn-link-modern {
    background: linear-gradient(135deg, #2193b0, #6dd5ed);
    color: white !important;
    border: none;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-link-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 147, 176, 0.4);
}

/* Melhoria no botão de fechar (X) */
.btn-close:focus {
    box-shadow: none;
}

/* Animação suave ao abrir */
.modal.fade .modal-dialog {
    transform: scale(0.9);
    transition: transform 0.3s ease-out;
}
.modal.show .modal-dialog {
    transform: scale(1);
}
/* Footer Responsivo */
.footer-mobile {
    display: none;
}@media (max-width: 576px) {
    .footer-moderno {
        display: none;
    }
    .footer-mobile {
        display: block;
    }
    .footer-mobile {
        padding: 1rem 0;
        font-size: 0.8rem;
    }
}
