
    /* ===== RESET ===== */
   * { margin:0;padding:0; box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  width: 100%;
  overflow-x: hidden;
  font-family:'Segoe UI',sans-serif;
      background:#fff;
      color:#222;
}
    

    /* ===== NAVBAR ===== */
    .navbar{
      
      background:linear-gradient(90deg,rgba(18,97,160,0.95),rgba(0,169,157,0.95));
      color:#fff;
      position: fixed;/* colocando o navbar fixo*/
      top: 0;
      left: 0;
      width: 100%;
      z-index:1000;
      box-shadow:0 3px 12px rgba(0,0,0,0.08);
    }
    .nav-inner{
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:0.8rem 1rem;
      max-width:1200px;
      margin:auto;
      flex-wrap:wrap;
    }

    /* ===== LOGO ===== */
    .logo{display:flex;align-items:center;gap:10px;}
    .uan-logo{width:45px;border-radius:8px;}
    .logo-text{display:flex;flex-direction:column;line-height:1.1;}
    .uan-nome{color:#ffffff;font-weight:700;}
    .uan-subtitulo{font-size:0.85rem;}

    /* ===== LINKS ===== */
    .nav-links{
      list-style:none;
      display:flex;
      gap:1rem;
      align-items:center;
      transition:all .3s ease;
    }
    .nav-links li{position:relative;}
    .nav-links a{
      text-decoration:none;
      color:#fff;
      padding:0.6rem 0.8rem;
      display:inline-block;
      transition:transform .3s ease, color .3s ease;
    }
    .nav-links a:hover{
      color:#FFD700;
      transform:translateY(-3px);
    }

      /* ===== DROPDOWN ===== */
    .dropdown {
      position: relative;
    }
    .dropdown-content {
      position: absolute;
      top: 100%;
      left: 0;
      background: #fff;
      min-width: 200px;
      border-radius: 8px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.3s ease;
      pointer-events: none;
      border-top: 3px solid #FFD700;
      overflow: hidden;
    }
    .dropdown-content a {
      color: #333;
      padding: 10px 15px;
      display: block;
      border-bottom: 1px solid #eee;
      text-decoration: none;
      transition: background 0.3s ease;
    }
    .dropdown-content a:hover {
      background: #f5f5f5;
      color: #1261a0;
    }
    .dropdown:hover .dropdown-content {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    /* ===== AÇÕES ===== */
    .nav-actions{
      display:flex;
      align-items:center;
      gap:0.8rem;
    }
    .icon-btn{
      background:transparent;
      border:none;
      color:#fff;
      font-size:1.2rem;
      cursor:pointer;
      transition:color .3s;
    }
    .icon-btn:hover{color:#FFD700;}
    .login-btn{
      background:transparent;
      border:1px solid rgba(255,255,255,0.3);
      color:#FFD700;
      padding:0.35rem 0.8rem;
      border-radius:6px;
      cursor:pointer;
      transition:all .3s;
    }
    .login-btn:hover{
      background:rgba(255,215,0,0.15);
      border-color:#FFD700;
    }

    /* ===== LANG SWITCH ===== */
    .lang-switch{position:relative;}
    .lang-toggle{display:flex;align-items:center;gap:4px;}
    .lang-menu{
      position:absolute;
      top:110%;
      right:0;
      background:#fff;
      color:#333;
      border-radius:6px;
      box-shadow:0 3px 10px rgba(0,0,0,0.15);
      list-style:none;
      min-width:140px;
      opacity:0;
      pointer-events:none;
      transform:translateY(-10px);
      transition:opacity .3s, transform .3s;
    }
    .lang-switch.open .lang-menu{
      opacity:1;
      pointer-events:auto;
      transform:translateY(0);
    }
    .lang-menu li{border-bottom:1px solid #eee;}
    .lang-menu li:last-child{border:none;}
    .lang-option{
      width:100%;
      text-align:left;
      padding:0.6rem 1rem;
      border:none;
      background:none;
      cursor:pointer;
      transition:background .2s;
    }
    .lang-option:hover{background:#f5f5f5;}

    /* ===== HAMBURGER ===== */
    .hamburger{
      display:none;
      flex-direction:column;
      justify-content:center;
      gap:5px;
      width:28px;
      height:22px;
      background:transparent;
      border:none;
      cursor:pointer;
    }
    .hamburger span{
      display:block;
      height:3px;
      width:100%;
      background:#FFD700;
      border-radius:2px;
      transition:transform .3s ease, opacity .3s ease;
    }
    .hamburger.active span:nth-child(1){
      transform:rotate(45deg) translate(5px,5px);
    }
    .hamburger.active span:nth-child(2){
      opacity:0;
    }
    .hamburger.active span:nth-child(3){
      transform:rotate(-45deg) translate(6px,-6px);
    }

    /* ===== RESPONSIVO ===== */
    @media(max-width:900px){
      .nav-links{
        display:none;
        width:100%;
        flex-direction:column;
        background:rgba(18,97,160,0.98);
        padding:1rem 0;
        border-top:1px solid rgba(255,255,255,0.2);
      }
      .nav-links.show{display:flex;}
      .nav-links a{width:100%;text-align:center;}
      .dropdown-content{position:static;box-shadow:none;opacity:1;transform:none;}
      .hamburger{display:flex;}
    }

    /* ===== MODAIS ===== */
    .modal{
      display:flex;
      justify-content:center;
      align-items:center;
      position:fixed;
      inset:0;
      background:rgba(0,0,0,0.5);
      opacity:0;
      pointer-events:none;
      transition:opacity .35s;
      z-index:2000;
    }
    .modal.show{opacity:1;pointer-events:auto;}
    .modal-content{
      background:#fff;
      padding:1.5rem;
      border-radius:8px;
      width:90%;
      max-width:420px;
      position:relative;
      transform:translateY(-30px);
      transition:transform .3s;
    }
    .modal.show .modal-content{transform:translateY(0);}
    .modal-close{
      position:absolute;
      right:12px;
      top:8px;
      background:none;
      border:none;
      font-size:1.4rem;
      cursor:pointer;
      color:#1261a0;
    }
    .modal-content h2{margin-bottom:1rem;color:#1261a0;}
    .modal-content input{
      width:100%;
      padding:0.8rem;
      margin-bottom:0.8rem;
      border:1px solid #ccc;
      border-radius:6px;
    }
    .modal-content button{
      background:none;
      color:#f5f5f5;
      border:none;
      padding:0.6rem 1rem;
      border-radius:6px;
      cursor:pointer;
      transition:background .3s;
    }
    .modal-content button:hover{background:#0e4a80;}

    /* ===== CSS DO BANNER ===== */

  .banner-swiper {
    margin: 0;
    padding: 0;
    position: relative;
  }

  .mySwiper {
    width: 100%;
    height: 90vh;
  }

  .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  /* Imagem com efeito de zoom */
  .banner-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 7s ease;
  }

  /* Ativa o zoom na imagem visível */
  .swiper-slide-active .banner-image {
    transform: scale(1.08);
  }

  /* Camada de texto */
  .banner-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: cenrter;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    padding: 30px 40px;
    border-radius: 10px;
    max-width: 700px;
    animation: fadeInUp 1.2s ease forwards;
  }

  .banner-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }

  .banner-overlay p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #f1f1f1;
  }

  .banner-btn {
    background: #FFD700;
    color: #003366;
    padding: 12px 26px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .banner-btn:hover {
    background: #1261a0;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  }

  /* Animação suave do texto */
  @keyframes fadeInUp {
    from {opacity: 0; transform: translate(-50%, -30%);}
    to {opacity: 1; transform: translate(-50%, -50%);}
  }

  /* Controles Swiper */
  .swiper-button-next,
  .swiper-button-prev {
    color: #FFD700;
    transition: all 0.3s ease;
  }

  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    color: #fff;
    transform: scale(1.1);
  }

  .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
  }

  .swiper-pagination-bullet-active {
    background: #FFD700;
    opacity: 1;
  }

  /* Responsivo */
  @media (max-width: 768px) {
    .mySwiper {height: 70vh;}
    .banner-overlay {
      padding: 20px;
      width: 90%;
    }
    .banner-overlay h1 {
      font-size: 1.7rem;
    }
    .banner-overlay p {
      font-size: 0.95rem;
    }
  }


  /*-- ===== CSS DA SEÇÃO SOBRE A BIBLIOTECA ===== -->*/


  .sobre-section {
    background: #fff;
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .sobre-container {
    max-width: 900px;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s ease, transform 1.2s ease;
  }

  .sobre-container.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .sobre-container h2 {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
  }

  .sobre-container h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #FFD700;
    margin: 10px auto 0;
    border-radius: 3px;
  }

  .sobre-container p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
  }

  @media (max-width: 768px) {
    .sobre-section {
      padding: 3rem 1.2rem;
    }
    .sobre-container h2 {
      font-size: 1.6rem;
    }
    .sobre-container p {
      font-size: 0.98rem;
      text-align: justify;
    }
  }

  /* ===== CSS DA SEÇÃO SERVIÇOS ===== */

  .servicos-section {
    background: #f7f7f7;
    width: 100vw;
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .servicos-container {
    max-width: 1100px;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s ease, transform 1.2s ease;
  }

  .servicos-container.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .servicos-container h2 {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
  }

  .servicos-container h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #FFD700;
    margin: 10px auto 0;
    border-radius: 3px;
  }

  .servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
  }

  .servico-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    padding: 2rem 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .servico-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  }

  .servico-card i {
    font-size: 2.4rem;
    color: #1261a0;
    margin-bottom: 1rem;
  }

  .servico-card h3 {
    font-size: 1.2rem;
    color: #003366;
    margin-bottom: 0.6rem;
  }

  .servico-card p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
  }

  @media (max-width: 768px) {
    .servicos-container h2 {
      font-size: 1.6rem;
    }

    .servico-card {
      padding: 1.6rem 1rem;
    }
  }

  /* ===== CSS DA SEÇÃO NOTÍCIAS ===== */

  .noticias-section {
    background: #fff;
    width: 100vw;
    padding: 4rem 1rem;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
  }

  .noticias-container {
    max-width: 1150px;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s ease, transform 1.2s ease;
  }

  .noticias-container.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .noticias-container h2 {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 2.5rem;
    display: inline-block;
  }

  .noticias-container h2 i {
    color: #FFD700;
    margin-right: 8px;
  }

  /* === GRID FIXO COM 3 COLUNAS === */
  .noticias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
  }

  .noticia-card {
    background: #fafafa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 420px;
  }

  .noticia-card:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  }

  .noticia-img {
    height: 160px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
  }

  .noticia-card:hover .noticia-img {
    transform: scale(1.1);
  }

  .noticia-conteudo {
    padding: 1.2rem;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .noticia-conteudo .data {
    font-size: 0.85rem;
    color: #888;
    display: block;
    margin-bottom: 0.4rem;
  }

  .noticia-conteudo h3 {
    color: #003366;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }

  .noticia-conteudo h3 i {
    color: #1261a0;
    margin-right: 6px;
  }

  .noticia-conteudo p {
    color: #333;
    font-size: 0.93rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .btn-noticia {
    background: #1261a0;
    color: #fff;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 0.9rem;
    align-self: flex-start;
  }

  .btn-noticia i {
    margin-right: 5px;
  }

  .btn-noticia:hover {
    background: #0c4e82;
  }

  /* === RESPONSIVIDADE === */
  @media (max-width: 992px) {
    .noticias-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 768px) {
    .noticias-grid {
      grid-template-columns: 1fr;
    }

    .noticia-conteudo {
      text-align: center;
    }

    .btn-noticia {
      align-self: center;
    }
  }

/* ===== CSS PRÓXIMOS EVENTOS===== */

  .eventos-section {
    background: #f7f7f7;
    width: 100vw;
    padding: 4rem 1rem;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
  }

  .eventos-container {
    max-width: 1100px;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s ease, transform 1.2s ease;
  }

  .eventos-container.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .eventos-container h2 {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 2.5rem;
    display: inline-block;
  }

  .eventos-container h2 i {
    color: #FFD700;
    margin-right: 8px;
  }

  .eventos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    justify-content: center;
    align-items: stretch;
  }

  .evento-card {
    background: #fafafa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 420px;
  }

  .evento-card:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  }

  .evento-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
  }

  .evento-card:hover .evento-img {
    transform: scale(1.1);
  }

  .evento-conteudo {
    padding: 1.3rem;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .evento-conteudo .data {
    font-size: 0.9rem;
    color: #888;
    display: block;
    margin-bottom: 0.4rem;
  }

  .evento-conteudo h3 {
    color: #003366;
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
  }

  .evento-conteudo h3 i {
    color: #1261a0;
    margin-right: 6px;
  }

  .evento-conteudo p {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .btn-evento {
    background: #1261a0;
    color: #fff;
    padding: 0.55rem 1.1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 0.9rem;
    align-self: flex-start;
  }

  .btn-evento i {
    margin-right: 5px;
  }

  .btn-evento:hover {
    background: #0c4e82;
  }

  /* === RESPONSIVIDADE === */
  @media (max-width: 992px) {
    .eventos-grid {
      grid-template-columns: 1fr;
    }

    .evento-conteudo {
      text-align: center;
    }

    .btn-evento {
      align-self: center;
    }
  }

  /* ===== CSS PARCEIROS E COLABORADORES ===== */

  .parceiros-section {
    background: #fff;
    width: 100vw;
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
  }

  .parceiros-container {
    max-width: 1100px;
    text-align: center;
  }

  .parceiros-container h2 {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 2.5rem;
  }

  .parceiros-container h2 i {
    color: #FFD700;
    margin-right: 8px;
  }

  /* Swiper base */
  .parceiros-swiper {
    width: 100%;
    padding: 1.5rem 0;
  }

  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .partner-logo {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    width: 160px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
  }

  .partner-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  }

  .partner-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
  }

  /* Swiper pagination */
  .swiper-pagination-bullet {
    background: #1261a0;
    opacity: 0.6;
  }

  .swiper-pagination-bullet-active {
    background: #FFD700;
    opacity: 1;
  }

  @media (max-width: 768px) {
    .partner-logo {
      width: 120px;
      height: 120px;
    }
  }

 
/* ===== CSS FOOTER ===== */


.footer-uan {
  background: #002244;
  color: #fff;
  font-family: "Segoe UI", sans-serif;
  padding: 3rem 1rem 1rem;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeFooter 1s ease forwards;
  margin-top: 4rem;
  position: relative;
}

@keyframes fadeFooter {
  to {opacity: 1; transform: translateY(0);}
}

/* ===== CONTEÚDO ===== */
.footer-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}

.footer-col h3 {
  color: #FFD700;
  margin-bottom: .8rem;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: .4rem;
}

.footer-col ul {list-style: none; padding: 0; margin: 0;}
.footer-col li {margin: .5rem 0;}
.footer-col a {color: #fff; text-decoration: none; transition: color .3s ease;}
.footer-col a:hover {color: #00bfa5;}
.footer-col p {margin: .4rem 0; font-size: 0.9rem;}

/* ===== REDES SOCIAIS ===== */
.social {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #00bfa5;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0,191,165,0.5);
}

/* ===== RODAPÉ INFERIOR ===== */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding-top: 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .footer-inner { text-align: center; }
  .social { justify-content: center; }
}


/* ===== CATÁLOGO ONLINE ===== */
.catalogo-section {
  background: #fff;
  padding: 80px 5%;
  text-align: center;
}

.catalogo-titulo {
  font-size: 2rem;
  color: var(--azul-uan, #003366);
  margin-bottom: 10px;
}

.catalogo-intro {
  color: #555;
  margin-bottom: 35px;
}

/* ===== BARRA DE PESQUISA (ESTILO GOOGLE) ===== */
.search-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 30px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 50px auto;
  overflow: hidden;
  transition: all 0.3s ease;
}

.search-box:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.search-box input {
  flex: 1;
  padding: 12px 18px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
}

.search-box button {
  background: none;
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  color: #555;
  font-size: 18px;
  transition: all 0.3s ease;
}

.search-box button:hover {
  color: var(--azul-uan, #003366);
}

/* ===== GRID DE LIVROS ===== */
.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 25px;
  justify-items: center;
}

/* ===== ITENS ===== */
.catalogo-item {
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  width: 100%;
  max-width: 200px;
  transition: all 0.4s ease;
  cursor: pointer;
  transform: translateY(0);
}

.catalogo-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ===== ANIMAÇÕES NAS IMAGENS ===== */
.catalogo-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
}

.catalogo-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

/* ===== TEXTO ===== */
.catalogo-item h3 {
  font-size: 15px;
  color: var(--azul-uan, #003366);
  margin-top: 10px;
}

.catalogo-item p {
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
}

/* ===== MODAL DETALHES ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal.show {
  display: flex;
  animation: fadeIn 0.4s ease;
}

.livro-modal-content {
  max-width: 420px;
  width: 90%;
  text-align: left;
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  animation: slideUp 0.4s ease;
}

.livro-modal-content img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
}

.modal-buttons {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-acao {
  background: var(--azul-claro, #007bff);
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-acao:hover {
  background: var(--azul-uan, #003366);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .catalogo-item img {
    height: 140px;
  }
  .catalogo-item h3 {
    font-size: 14px;
  }
}

/* ===== CATÁLOGO ONLINE ===== */
.catalogo-section {
  background: #fff;
  padding: 80px 5%;
  text-align: center;
}

.catalogo-titulo {
  font-size: 2rem;
  color: var(--azul-uan, #003366);
  margin-bottom: 10px;
}

.catalogo-intro {
  color: #555;
  margin-bottom: 35px;
}

/* ===== BARRA DE PESQUISA ESTILO GOOGLE ===== */
.search-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 750px;
  margin: 0 auto 50px auto;
  padding: 6px;
  transition: box-shadow 0.3s ease;
}

.search-box:hover {
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);
}

.search-box input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  background: transparent;
}

.search-box button {
  background: none;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  color: #555;
  font-size: 18px;
  transition: all 0.3s ease;
}

.search-box button:hover {
  color: var(--azul-uan, #003366);
}

/* ===== SELECT CDU ===== */
.select-cdu {
  background: #f9f9f9;
  border: none;
  border-radius: 50px;
  padding: 10px 16px;
  font-size: 14px;
  margin-right: 8px;
  color: #333;
  appearance: none;
  outline: none;
  cursor: pointer;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.select-cdu:hover {
  background: #f1f1f1;
}

/* ===== GRID DE LIVROS ===== */
.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 25px;
  justify-items: center;
}

/* ===== ITENS ===== */
.catalogo-item {
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  width: 100%;
  max-width: 200px;
  transition: all 0.4s ease;
  cursor: pointer;
  transform: translateY(0);
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.catalogo-item:nth-child(1) { animation-delay: 0.1s; }
.catalogo-item:nth-child(2) { animation-delay: 0.2s; }
.catalogo-item:nth-child(3) { animation-delay: 0.3s; }
.catalogo-item:nth-child(4) { animation-delay: 0.4s; }

.catalogo-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ===== ANIMAÇÃO DAS IMAGENS ===== */
.catalogo-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
}

.catalogo-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* ===== TEXTO ===== */
.catalogo-item h3 {
  font-size: 15px;
  color: var(--azul-uan, #003366);
  margin-top: 10px;
}

.catalogo-item p {
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal.show {
  display: flex;
  animation: fadeIn 0.4s ease;
}

.livro-modal-content {
  max-width: 420px;
  width: 90%;
  text-align: left;
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  animation: slideUp 0.4s ease;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .search-box {
    flex-direction: column;
    border-radius: 20px;
  }
  .select-cdu {
    width: 90%;
    margin: 10px 0;
    border-radius: 20px;
  }
}

/* ===== PAGINAÇÃO ===== */
.paginacao {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 10px;
  flex-wrap: wrap;
}

.page-btn {
  background: var(--azul-uan, #003366);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-btn:hover {
  background: var(--azul-claro, #007bff);
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-numbers {
  display: flex;
  gap: 8px;
}

.page-number {
  background: #f1f1f1;
  color: #333;
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.page-number:hover {
  background: var(--azul-claro, #007bff);
  color: #fff;
}

.page-number.active {
  background: var(--azul-uan, #003366);
  color: #fff;
  transform: scale(1.05);
}

/* Suaviza a troca de páginas */
.catalogo-item {
  opacity: 0;
  animation: fadeInCards 0.4s ease forwards;
}

@keyframes fadeInCards {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ===== SEÇÃO BIOGRAFIA DIRECTORA DA BIBLIOTECA CENTRAL===== */

.biografia-section {
  background: #f9f9f9;
  padding: 60px 20px;
  color: #333;
  display: flex;
  justify-content: center;
}

.biografia-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  width: 100%;
  align-items: flex-start;
}

/* ===== CARD DE PERFIL ===== */
.perfil-card {
  flex: 0 0 280px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInLeft 0.6s ease;
}

.perfil-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.perfil-foto {
  width: 140px;
  height: 140px;
  margin: 0 auto 15px;
}

.perfil-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*border-radius: 50%;*/
  /*border: 4px solid #ffd700;*/
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.perfil-info h2 {
  font-size: 1.2rem;
  color: #002244;
  margin-bottom: 6px;
}

.perfil-info .cargo {
  color: #003366;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.perfil-info .nomeacao {
  font-size: 0.85rem;
  color: #555;
}



/* ===== BIOGRAFIA DETALHADA ===== */
.biografia-detalhes {
  flex: 1;
  min-width: 300px;
  background: transparent;
  animation: fadeInRight 0.6s ease;
}

.biografia-bloco {
  margin-bottom: 28px;
}

.biografia-bloco h3 {
  font-size: 1.3rem;
  color: #003366;
  border-left: 5px solid #ffd700;
  padding-left: 10px;
  margin-bottom: 12px;
}

.biografia-bloco ul {
  list-style: none;
  padding-left: 0;
}

.biografia-bloco ul li {
  padding: 5px 0;
  line-height: 1.6;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .biografia-container {
    flex-direction: column;
    align-items: center;
  }

  .perfil-card {
    width: 100%;
    max-width: 380px;
  }

  .biografia-detalhes {
    width: 100%;
  }
}




