       :root {
            --azul-principal: #0d47a1;
            --azul-escuro: #0a3375;
            --verde-detalhe: #2e7d32;
            --verde-claro: #4caf50;
            --cinza-fundo: #f8f9fa;
            --branco: #ffffff;
            --texto-escuro: #212529;
            --texto-mutado: #555555;
            --amarelo: #ffc107;
            --laranja-detalhe: #ff6900;
            --vermelho: #dc3545;
        }

         /* Banner de Página Interna () */
        .page-header {
            background: linear-gradient(rgba(13, 71, 161, 0.85), rgba(10, 51, 117, 0.95)), url('https://placehold.co/1920x400/0d47a1/ffffff?text=Institucional') no-repeat center center;
            background-size: cover;
            padding: 60px 0;
            color: var(--branco);
        }
        .page-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
        }


        body {
            font-family: 'Poppins', sans-serif;
            color: var(--texto-escuro);
            background-color: var(--branco);
            overflow-x: hidden;
        }

        /* Barra Superior */
        .top-bar {
            background-color: var(--azul-escuro);
            color: var(--branco);
            font-size: 0.85rem;
            padding: 8px 0;
        }

        .top-bar a {
            color: var(--branco);
            text-decoration: none;
            transition: color 0.3s;
        }

        .top-bar a:hover {
            color: var(--verde-claro);
        }

        /* Cabeçalho */
        .navbar {
            background-color: var(--branco);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            padding: 15px 0;
        }

        .navbar-brand h1 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--azul-principal);
            margin: 0;
            line-height: 1.2;
        }

        .nav-link {
            font-weight: 500;
            color: var(--texto-escuro) !important;
            transition: color 0.3s;
        }

        .nav-link:hover,
        .nav-link.active {
            color: var(--azul-principal) !important;
        }

        /* Botoes Portais */
        .btn-portal-aluno {
            background-color: transparent;
            color: var(--azul-principal) !important;
            border: 2px solid var(--azul-principal);
            border-radius: 6px;
            padding: 6px 14px !important;
            font-weight: 600;
            margin-right: 10px;
        }

        .btn-portal-professor {
            background-color: var(--azul-principal);
            color: var(--branco) !important;
            border-radius: 6px;
            padding: 8px 16px !important;
            font-weight: 600;
        }

        .btn-portal-aluno:hover {
            background-color: var(--azul-escuro);
            color: var(--branco) !important;
            animation: balanco 0.5s ease-in-out;
        }

        /* Criando o efeito de balanço (frente e trás usando rotação) */
        @keyframes balanco {
             0% { transform: rotate(0deg); }
             15% { transform: rotate(5deg); }
             30% { transform: rotate(-5deg); }
             45% { transform: rotate(3deg); }
             60% { transform: rotate(-3deg); }
             75% { transform: rotate(1deg); }
             100% { transform: rotate(0deg); }
        }

        .btn-portal-professor:hover {
            background-color: var(--azul-principal);
           
        }

        /* Carrossel Principal (Hero) */
        .hero-carousel-item {
            position: relative;
            min-height: 75vh;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            color: var(--branco);
        }

        .hero-carousel-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(13, 71, 161, 0.2), rgba(10, 51, 117, 0.25)); 
            z-index: 1;
        }

        .hero-carousel-item .container {
            position: relative;
            z-index: 2;
        }

        .hero-carousel-item h2 {
            font-size: 3.2rem;
            font-weight: 800;
            line-height: 1.2;
        }

        .btn-custom-azul {
            background-color: var(--azul-principal);
            color: var(--branco);
            padding: 12px 30px;
            font-weight: 600;
            border-radius: 6px;
            border: none;
        }

        .btn-custom-azul:hover {
            background-color: var(--azul-escuro);
            color: var(--branco);
        }

        .btn-custom-outline {
            border: 2px solid var(--branco);
            color: var(--branco);
            padding: 10px 28px;
            font-weight: 600;
            border-radius: 6px;
            background: transparent;
        }

        .btn-custom-outline:hover {
            background-color: var(--branco);
            color: var(--azul-principal);
        }

        /* Títulos de Seção */
        .section-title {
            font-weight: 700;
            color: var(--azul-principal);
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 40px;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background-color: var(--verde-detalhe);
        }

        /* Estilos dos Cards */
        .card-modern {
            border: none;
            background-color: var(--branco);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            border-radius: 12px;
            transition: transform 0.3s, box-shadow 0.3s;
            height: 100%;
        }

        .card-modern:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        }

        .icon-box {
            width: 60px;
            height: 60px;
            background-color: rgba(13, 71, 161, 0.1);
            color: var(--azul-principal);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 20px;
        }

        .gallery-item img {
            border-radius: 8px;
            transition: transform 0.3s;
            cursor: pointer;
        }

        .gallery-item img:hover {
            transform: scale(1.03);
        }

        /* Nova Seção: Estilo do Efeito de Bordas Esfumaçadas da Foto */
        .proposito-img-container {
            position: relative;
            display: inline-block;
            width: 100%;
        }

        /* Mascara que cria o efeito branco suave ao redor da foto */
        .proposito-img-container::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            box-shadow: inset 0px 0px 30px 15px var(--branco);
            pointer-events: none;
        }

        .proposito-img-container img {
            width: 100%;
            height: auto;
            object-fit: cover;
            display: block;
        }

        .proposito-text h3 {
            font-size: 2.1rem;
            font-weight: 700;
            color: #3f3f3f;
            text-transform: uppercase;
            line-height: 1.2;
            margin-bottom: 25px;
        }

        .proposito-text p {
            font-size: 1.05rem;
            color: var(--texto-mutado);
            line-height: 1.6;
            margin-bottom: 20px;
        }

        /* Carrossel de Notícias */
        .news-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .swiper-nav-buttons {
            display: flex;
            gap: 10px;
        }

        .swiper-button-next-custom,
        .swiper-button-prev-custom {
            width: 40px;
            height: 40px;
            background-color: var(--branco);
            border: 1px solid #dee2e6;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--azul-principal);
            cursor: pointer;
            transition: all 0.3s;
            z-index: 10;
        }

        .swiper-button-next-custom:hover,
        .swiper-button-prev-custom:hover {
            background-color: var(--azul-principal);
            color: var(--branco);
            border-color: var(--azul-principal);
        }

        /* Barra do Instagram */
        .instagram-strip {
            background-color: var(--branco);
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
            padding: 25px 0;
            margin: 40px 0;
        }

        .insta-profile-wrapper {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
        }

        .insta-info {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .insta-avatar {
            width: 65px;
            height: 65px;
            border-radius: 50%;
            padding: 3px;
            background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
        }

        .insta-avatar img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 2px solid #fff;
            object-fit: cover;
        }

        .insta-username {
            font-weight: 700;
            font-size: 1.15rem;
            color: #000;
            margin: 0;
        }

        .insta-stats {
            display: flex;
            gap: 30px;
            font-size: 1.05rem;
        }

        .insta-stats span {
            font-weight: 700;
            color: #000;
        }

        .insta-stats span text {
            font-weight: 400;
            color: #777;
        }

        .btn-insta-seguir {
            background-color: #0095f6;
            color: #fff !important;
            font-weight: 600;
            padding: 8px 24px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: background 0.3s;
        }

        .btn-insta-seguir:hover {
            background-color: #0074c7;
        }

        footer {
            background-color: #111;
            color: #bbb;
            font-size: 0.9rem;
            padding: 60px 0 20px 0;
        }

        footer h5 {
            color: var(--branco);
            font-weight: 600;
            margin-bottom: 25px;
        }

        footer a {
            color: #bbb;
            text-decoration: none;
            transition: color 0.3s;
        }

        footer a:hover {
            color: var(--branco);
        }

        .whats-fixo {
  position: fixed;
  bottom: 20px;       /* Distância do fundo da tela */
  right: 20px;        /* Distância do canto direito */
  width: 60px;        /* Largura do botão */
  height: 60px;       /* Altura do botão */
  background-color: #25d366; /* Verde oficial do WhatsApp */
  color: white;
  border-radius: 50%; /* Deixa o botão perfeitamente redondo */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Sombra para dar profundidade */
  z-index: 9999;      /* Garante que ele fique acima de QUALQUER outro elemento do site */
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

/* Efeito suave de zoom ao passar o mouse */
.whats-fixo:hover {
  background-color: #128c7e; /* Verde um pouco mais escuro */
  transform: scale(1.1);     /* Aumenta o tamanho em 10% */
}