﻿@import url('https://fonts.googleapis.com/css2?family=Orelega+One&family=Playfair+Display:wght@756&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');


.custom-modal{
    width: 90% !important;
    max-width: 1000px !important;
    padding: 0 !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgb(9, 16, 140);
}

.modal-container{
    width: 100%;
    height: 90vh;
    background: white;
}

.modal-header{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 1px;
    background: #fff;
}

.close-btn{
    border: none;
    background: #0d6efd;
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: -5px;
}

.close-btn:hover{
    background: #084298;
}

.modal-iframe{
    width: 100%;
    height: calc(90vh - 70px);
    border: none;
}

    
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #ffffff;
  font-family:"Poppins";
}
main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-top: 120px;
}

.hamburger{
  display: none;
  font-size: 35px;
  color: #023A86;
  cursor: pointer;
  z-index: 1001;
}


.header {
  background: rgb(243, 242, 242);
  width: 100%;
  padding: 4px 30px;
  display: flex;
  align-items: center;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
}

/* CONTAINER */

.container-xl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-family: "Poppins", sans-serif;
}

/* LOGO */

.logo img {
  max-height: 70px;
  margin-left: 90px;
  margin-top: 10px;
}

/* MENU */

.navmenu {
  flex-grow: 1;
  margin-left: 450px;
}

.navmenu > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 25px;
}

.navmenu ul li {
  position: relative;
  overflow: visible;
}

/* LINKS */

.navmenu a,
.dropdown-btn {
  text-decoration: none;
  color: #023A86;
  font-size: 16px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;

  display: flex;
  align-items: center;
  gap: 5px;

  position: relative;
  padding: 8px 0;
}

/* HOVER */

.navmenu a:hover,
.navmenu a.active,
.dropdown-btn:hover,
.dropdown-btn.active {
  color: #0959ba;
}

/* LINHA */




.dropdown-menu {
  position: absolute;
  top: 35px;
  left: 0;

  background: white;
  width: 230px;

  padding: 10px 0;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;

  transition: all 0.25s ease;
  transition-delay: 0.4s; /* Atraso ao fechar */
}

/* ABERTO */
.dropdown.mobile-active .dropdown-menu,
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s; /* Abre instantaneamente */
}

/* ITENS INTERNOS */

.dropdown-menu li {
  display: block;
  width: 100%;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  transition-delay: 0.4s; /* Acompanha o atraso de fechamento do menu */
}

.dropdown.mobile-active .dropdown-menu li,
.dropdown:hover .dropdown-menu li {
  opacity: 1;
  transform: translateX(0);
}

/* Efeito cascata: cada item surge com um pequeno atraso em relaÃ§Ã£o ao anterior */
.dropdown.mobile-active .dropdown-menu li:nth-child(1), .dropdown:hover .dropdown-menu li:nth-child(1) { transition-delay: 0.05s; }
.dropdown.mobile-active .dropdown-menu li:nth-child(2), .dropdown:hover .dropdown-menu li:nth-child(2) { transition-delay: 0.15s; }
.dropdown.mobile-active .dropdown-menu li:nth-child(3), .dropdown:hover .dropdown-menu li:nth-child(3) { transition-delay: 0.25s; }

.dropdown-menu li a {
  display: block;
  width: 100%;
  padding: 12px 20px;
}

/* SETA */

.seta {
  font-size: 10px;
  transition: 0.3s;
  transition-delay: 0.4s; /* Atraso ao fechar */
}

.dropdown.mobile-active .seta,
.dropdown:hover .seta {
  transform: rotate(180deg);
  transition-delay: 0s; /* Abre instantaneamente */
}

/*CAROSSEL*/

.page-wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative
}

.gallery-container {
    display: flex;
    overflow-x: hidden;
    padding: 20px;
    gap: 15px;
    scroll-behavior: auto
}

.gallery-item {
    position: relative;
    flex: 0 0 600px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    will-change: transform
}

.gallery-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    will-change: transform
}

@media (max-width:1024px) {
    .gallery-item {
        flex: 0 0 250px;
        height: 170px
    }
}

@media (max-width:768px) {
    .gallery-item {
        flex: 0 0 200px;
        height: 140px
    }
}

@media (max-width:480px) {
    .gallery-item {
        flex: 0 0 160px;
        height: 120px
    }
}

.titulo1{
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: -10px;
}

.titulo1 h1{
  color: #023A86;
  font-size: 2.5rem;
  text-align: center;
}

.container {
  display: flex;
  gap: 20px;
  max-width: 1100px;
  margin-top: 60px;
  position: relative;
}

.card {
  background: #edecec;
  border: 1px solid #e0e0e0;
  border-radius: 8px;

  flex: 1;
  display: flex;
  flex-direction: column;

  overflow: visible; /* IMPORTANTE */
  position: relative;

  box-shadow: 0 5px 7px rgba(0, 0, 0, 0.25);

  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* reflexo real */
.card::after {
  content: "";
  position: absolute;

  top: 100%;
  left: 0;

  width: 100%;
  height: 30%;

  transform: scaleY(-1);

  background: linear-gradient(
    to bottom,
    rgba(237, 236, 236, 0.6),
    rgba(237, 236, 236, 0)
  );

  opacity: 0.35;

  filter: blur(2px);

  pointer-events: none;

  border-radius: 8px;
}

.card a,
.card a:hover,
.card a:visited {
  text-decoration: none !important;
}

.card-content {
  padding: 24px;
  height: 180px; /* Garante que o texto tenha o mesmo espaÃ§o em todos os cards */
}

.tag {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.tag.blue {
  color: #1a73e8; 
  font-size: 20  px;
}

.title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: #202124;
  margin: 0;
}

.title.underlined {
  text-decoration: underline;
}

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image.border-top {
  border-top: 1px solid #f1f3f4;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  border-radius: 10px;
}


.footer {
  position: relative;
  width: 100%;
  padding: 10px 0;
  color: #023A86;
  text-align: center;
  box-sizing: border-box;
  margin-top: 0;
}

.footer p {
  margin-top: 30px;
}

/* responsivo*/
@media (max-width: 991px){

  .header{
    padding: 15px 20px;
  }

  .container-xl{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo img{
    margin-left: 0;
    max-height: 60px;
    margin-top: 0;
  }

  /* MOSTRA HAMBURGER */
  .hamburger{
    display: block;
  }

  /* MENU MOBILE */
 .navmenu{
    position: fixed;
    top: 0;
    right: -100%;

    width: 280px;
    height: auto;

    background: white;
    padding: 60px 20px;

    transition: 0.4s ease;

    display: flex;
    flex-direction: column;

    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    z-index: 1000;
}

  .navmenu.active {
    display: flex;
    position: absolute;
    top: 80px;
    right: 20px;
    background: white;
    flex-direction: column;
    width: 250px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 9999;
}

  .navmenu > ul{
    flex-direction: column;
    gap: 20px;
  }

  .navmenu a,
  .dropdown-btn{
    font-size: 18px;
  }




  /* DROPDOWN MOBILE */
  .dropdown-menu{
    position: static;

    width: 100%;

    background: #f5f5f5;

    box-shadow: none;

    border-radius: 10px;

    max-height: 0;
    overflow: hidden;

    opacity: 1;
    visibility: visible;

    transform: none;

    padding: 0;

    transition: max-height 0.3s ease;
  }

  .dropdown.mobile-active .dropdown-menu {
    max-height: 300px;
    margin-top: 10px;
  }

  .dropdown-menu li a{
    padding: 12px 15px;
  }

  /* CONTAINER DOS CARDS */
  .container {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    max-width: 100%;
    padding: 0 20px;
  }

  .card {
    width: 100%;
    max-width: 500px;
  }

  /* TÃTULO */
  .titulo1 h1 {
    font-size: 2rem;
    padding: 0 15px;
  }

  /* GALERIA */
  .gallery-container {
    padding: 10px;
  }

  .gallery-item {
    flex: 0 0 80%;
    height: 220px;
  }

  /* MENU MOBILE AJUSTE */
  .navmenu a,
  .dropdown-btn {
    font-size: 17px;
  }

  /* LOGO */
  .logo img {
    max-height: 55px;
    margin-left: 0;
  }

  /* HEADER MAIS LEVE */
  .header {
    padding: 10px 15px;
  }

  /* FOOTER */
  .footer {
    font-size: 14px;
    padding: 10px 0;
  }
}

