:root{
    /*cores*/
--black_90: hsla(0, 0%, 0%, 0.9);
--black_50: hsla(0, 0%, 0%, 0.5);
--black_25: hsla(0, 0%, 0%, 0.25);
--white_50: hsla(0, 0%, 100%, 0.50);
--white_25: hsla(0, 0%, 100%, 0.25);
--white_10: hsla(0, 0%, 100%, 0.1);
--emerald: hsl(209, 99%, 33%);
--emerald_70: hsla(212, 88%, 53%, 0.7);
--white: hsl(0, 0%, 100%);
--black: hsl(0, 0%, 0%);


/*tipografia*/
--ff-outfit: 'Outfit', sans-serif;

--fs-1: 3rem;
--fs-2: 2.4rem;
--fs-3: 2rem;
--fs-4: 1.8rem;
--fs-5: 1.7rem;
--fs-6: 1.5rem;
--fs-7: 1.4rem;
--fs-8: 1.3rem;
--fs-9: 1rem;

--fw-400: 400;
--fw-500: 500;
--fw-600: 600;
--fw-700: 700;

/*espaçamento*/
--section-padding: 80px;

/*radius*/
--radius-4: 4px;
--radius-6: 6px;

/*shadow*/
--shadow-1: 0 12px 25px -8px hsla(0, 0%, 0%, 0.2);
--shadow-2: -12px 0 25px -8px hsla(0, 0%, 0%, 0.2);
--shadow-3: 12px 0 25px -8px hsla(0, 0%, 0%, 0.2);

/*transitions*/
--transition-1: 0.05s ease;
--transition-2: 0.25s ease;
--cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
--cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

/*reset*/
*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing: border-box;
}

li{ list-style: none;}

a{
    text-decoration: none;
    color:inherit;
}

a,
img,
span,
input,
button,
ion-icon{
    display: block;
}

img{height: auto;}

input,
button{
    background: none;
    border: none;
    font: inherit;
}

input{ width: 100%; }
button{cursor:pointer;}
ion-icon{pointer-events: none;}
adress{font-style: normal;}
:focus-visible{outline-offset: 4px;}

::selection{
    background-color: var(--black_50);
    color: var(--white);   
}

html{
    font-size: 10px;
    font-family: var(--ff-outfit);
    scroll-behavior: smooth;
}

body{
    font-size: 1.6rem;
    background-color: var(--white);
}


.container {
    padding-inline: 10px ;
}

/*header*/
.header {
  width: 100%;
  top: 0;
  left: 0;
  position: sticky;
  background: var(--white);
  z-index: 1000;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar{
    background-color: var(--emerald_70);
    color: var(--white);
    font-size: var(--fs-8);
    font-weight: var(--fw-500) ;
    text-align: center;
    padding-block: 10px;
}

.logo{
    color:var(--roman-silver);
    font-family: var(--ff-outfit);
    font-size: 3rem;
    font-weight: bold;
}

.logo .span{
    display: inline-block;
    color: var(--emerald);
}

/*MOBILE/TABLET (até 991px)*/
@media (max-width: 991px) {
  .nav-wrapper .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-inline: 5%;
    padding-block: 15px;
    gap: 15px;
  }

  /*Logo no topo, centralizado*/
  .nav-wrapper .h1 {
    order: 1;
    width: 100%;
    text-align: center;
  }

  /* Linha inferior: hambúrguer à esquerda, redes sociais à direita */
  .header-action {
    order: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  /* Menu hambúrguer à esquerda */
  .nav-open-btn {
    font-size: 2.8rem;
    color: var(--black_50);
    transition: var(--transition-2);
    order: 1;
  }

  .nav-open-btn:hover {
    color: var(--emerald);
  }

  /* Redes sociais à direita */
  .socialmidia-list {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    order: 2;
  }

  /* Menu lateral */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    padding: 100px 30px 30px;
    background: var(--white);
    box-shadow: var(--shadow-3);
    z-index: 1000;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform .3s ease, visibility .3s ease;
  }

  .navbar.active {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-close-btn {
    color: var(--black);
    font-size: 2.8rem;
    border: 1px solid var(--black_25);
    padding: 5px;
    position: absolute;
    top: 30px;
    right: 30px;
    border-radius: 4px;
    transition: var(--transition-1);
  }

  .nav-close-btn:hover {
    color: var(--emerald);
    border-color: var(--emerald);
  }

  .navbar-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .navbar-link {
    color: var(--black);
    font-size: var(--fs-6);
    font-weight: var(--fw-600);
    padding: 10px 15px;
    border-radius: 8px;
    transition: var(--transition-2);
  }

  .navbar-link:hover {
    
    color: var(--emerald);
  }
}

/* DESKTOP (>992px) */
@media (min-width: 992px) {
  .nav-wrapper .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
    padding-inline: 5%;
    padding-block: 15px;
  }

  /* Menu horizontal no centro */
  .navbar {
    position: static;
    transform: none;
    visibility: visible;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .navbar-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 0;
  }

  .navbar-link {
    padding: 8px 16px;
    font-weight: var(--fw-600);
    color: var(--black);
    border-radius: 8px;
    transition: var(--transition-2);
  }

  .navbar-link:hover {
    background-color: var(--emerald_70);
    color: var(--white);
  }

  /* Esconder botões de menu mobile */
  .nav-open-btn,
  .nav-close-btn {
    display: none !important;
  }

  /* Redes sociais à direita */
  .header-action {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .socialmidia-list {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
  }
}

/* redes sociais navbar*/
.socialmidia-list a {
  font-size: 2rem;
  color: var(--black_50);
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 50%;
}

.socialmidia-list a:hover {
  color: var(--emerald);
  transform: translateY(-2px);
}

html, body { height: 100%; margin: 0; }




/* ----------------------FOOTER-------------------------- */
.footer {
    background: var(--eerie-black);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3.footer-title {
    font-size: var(--fs-2);
    font-weight: var(--fw-700);
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section h3.footer-title .span {
    color: var(--emerald);
     display: inline-block;
}

.footer-section h4.footer-subtitle {
    font-size: var(--fs-5);
    font-weight: var(--fw-600);
    margin-bottom: 20px;
    color: var(--emerald);
}

.agradecimento-cnpq {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-agradecimento {
    font-size: var(--fs-7);
    line-height: 1.6;
    color: var(--light-gray);
}

.footer-banner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-image {
    max-width: 150px;
    height: auto;
}

.footer-social {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-social a {
    font-size: 2rem;
    color: var(--light-gray);
    transition: var(--transition-2);
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    color: var(--emerald);
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links a {
    font-size: var(--fs-6);
    color: var(--light-gray);
    transition: var(--transition-2);
}

.footer-links a:hover {
    color: var(--emerald);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-6);
    color: var(--light-gray);
    margin: 0;
}

.footer-contact i {
    color: var(--emerald);
    width: 20px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--white_25);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--roman-silver);
    font-size: var(--fs-7);
    margin: 0;
}
/* RESPONSIVE DESIGN */
@media (max-width: 768px) {

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-banner {
    text-align: center;
    display: flex;
    
    gap: 15px;
    justify-content: center;
    padding: 15px;
    }
    .footer-image {
        width: 20vh;
        height: auto;
        
    }

    .footer-agradecimento{
        text-align: left;
    }

    .footer-social {
        justify-content: center;
    }
}


/*---------------------EVENTOS--------------------------*/
.eventos-header {
    background:  var(--emerald);
    padding: 6rem 0 4rem;
    text-align: center;
    color: white;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.page-subtitle {
    font-size: 1.5rem;
    color: var(--white_50);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}


/* RESPONSIVIDADE ATÉ 768PX*/
@media (max-width: 768px) {

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
 
    
    .page-title {
        font-size: 2.5rem;
    }
}

/*----------------------CARDS EVENTOS---------------------------*/

.eventos-section {
  margin-top: 40px;/*espaço abaixo do header*/
  padding-top: 20px;/* respiro interno*/
}

.eventos-grid {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 40px;
    width: 100%;
    margin: 0 auto;
}

.evento-card {
    width: 90%;            
    max-width: 1200px;     
    box-sizing: border-box;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease
}



.evento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.evento-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.evento-content {
    padding: 25px;
}

.evento-date {
    display: inline-block;
    background: var(--emerald);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.evento-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--eerie-black);
    margin-bottom: 12px;
    line-height: 1.3;
}

.evento-description {

    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.tab {
    display: inline-block;
    width: 2.5em;
}

.evento-description strong {
color: var(--emerald); 
font-weight: 700; 
}

.evento-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--emerald);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.evento-btn:hover {
    background: -var(--emerald_70);
    transform: translateX(5px);
}

.evento-btn i {
    transition: transform 0.3s ease;
}

.evento-btn:hover i {
    transform: translateX(3px);
}

.no-eventos {
    text-align: center;
    padding: 60px 20px;
}

.no-eventos i {
    font-size: 4rem;
    color: var(--emerald);
    margin-bottom: 20px;
}

.no-eventos h3 {
    font-size: 1.8rem;
    color: var(--eerie-black);
    margin-bottom: 10px;
}

.no-eventos p {
    font-size: 1.1rem;
    color: var(--roman-silver);
}

@media (max-width: 768px) {
    .eventos-header h1 {
        font-size: 2rem;
    }
    
    .eventos-grid {
        grid-template-columns: 1fr;
    }
}