﻿@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');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #ffffff;
  font-family:"Poppins";
  overflow-x: hidden;
}
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 !important;
}

/* 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.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.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.active .dropdown-menu li:nth-child(1), .dropdown:hover .dropdown-menu li:nth-child(1) { transition-delay: 0.05s; }
.dropdown.active .dropdown-menu li:nth-child(2), .dropdown:hover .dropdown-menu li:nth-child(2) { transition-delay: 0.15s; }
.dropdown.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.active .seta,
.dropdown:hover .seta {
  transform: rotate(180deg);
  transition-delay: 0s; /* Abre instantaneamente */
}

/*CAROSSEL*/

.titulo1{
  display: flex;
  justify-content: center;
  margin-top: 12px;
  margin-bottom: -30px;
}

.titulo1 h1{
  color: #023A86;
  font-size: 2.5rem;
  text-align: center;
}

.wrapper {
	max-width: 900px;
	width: 75%;
	position: relative;
  margin-top: 70px;
}
.wrapper i {
	top:50%;
	height: 50px;
	width: 50px;
	cursor: pointer;
	font-size: 1.25rem;
	position: absolute;
	text-align: center;
	line-height: 50px;
	background: #023A86;
	border-radius: 50%;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.951);
	transform: translateY(-50%);
	transition: transform 0.1s linear;
  color: #ffffff;
}
.wrapper i:active {
	transform: translateY(-50%) scale(0.85);
}
.wrapper i:first-child {
	left: -22px;
}
.wrapper i:last-child {
	right: -22px;
}
.wrapper .carousel {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% / 4) - 12px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	gap: 12px;
	border-radius: 19px;
	scroll-behavior: smooth;
	scrollbar-width: none;
  box-shadow: 0 10px 30px rgba(29, 53, 214, 0.611);
}
.carousel::-webkit-scrollbar {
	display: none;
}
.carousel.no-transition {
	scroll-behavior: auto;
}
.carousel.dragging {
	scroll-snap-type: none;
	scroll-behavior: auto;
}
.carousel.dragging .card {
	cursor: grab;
	user-select: none;
}
.carousel :where(.card, .img) {
	display: flex;
	justify-content: center;
	align-items: center;
}
.carousel .card {
	scroll-snap-align: start;
	height: 230px;
	list-style: none;
	background: #fff;
	cursor: pointer;
	padding-bottom: 15px;
	flex-direction: column;
	border-radius: 12px;
  margin-top: 25px;
}
.carousel .card .img {
	background: #023A86;
	height: 110px;
	width: 110px;
	border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.444);
}
.card .img img {
	width: 102px;
	height: 102px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid #fff;
}
.carousel .card h2 {
	font-weight: 500;
	font-size: 1.12rem;
	margin: 30px 0 5px;
}
.carousel .card span {
	color: #0033ec;
	font-size: 1rem;
}

@media screen and (max-width: 900px) {
	.wrapper .carousel {
		grid-auto-columns: calc((100% / 2) - 9px);
	}
}

@media screen and (max-width: 600px) {
	.wrapper .carousel {
		grid-auto-columns: 100%;
	}
}



.footer {
  position: relative;
  width: 100%;
  padding: 20px 0;
  color: #023A86;
  text-align: center;
  box-sizing: border-box;
  margin-top: 50px;
}

.footer p {
  margin-top: -60px;
}

/* RESPONSIVO */
@media (max-width: 994px) {

    .main-content{
    padding: 120px 20px 50px;
    min-height: auto;
}

.contato-wrapper{
    width: 100%;
    padding: 0;
}

.contato-section{
    width: 100%;
    margin-top: 20px;
}

.contato-card{
    width: 100%;
    max-width: 100%;
}

.redes-sociais{
    flex-direction: column;
}

.redes-sociais a{
    width: 100%;
    font-size: 16px;
}

.topo-formulario h1{
    font-size: 1.5rem;
}

.topo-formulario p{
    font-size: 0.95rem;
}

.input-box label{
    font-size: 0.9rem;
}

.campo{
    gap: 10px;
}

 .logo img{
    margin-left: 0;
    max-height: 60px;
    margin-top: 0;
  }

.icone{
    min-width: 45px;
    height: 45px;
}
    
   .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.active .dropdown-menu{
    max-height: 300px;
    margin-top: 10px;
  }

  .dropdown-menu li a{
    padding: 12px 15px;
  }

}

