*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.white{
    color: #FFFFFF;
}

.black{
    color: #000000;
}

.inter-normal {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

.inter-bold {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
}

/* Header */
header{
    background-color: #00193f;
    height: 12dvh;
    display: flex;
    flex-direction: row;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    
    .header1, .header2, .header3{
        margin: 0 2dvw;
        width: 33%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .header1{
        display: flex;
        flex-direction: row;
        cursor: default;
        align-items: center;
        gap: 1dvw;
        
        img{
            width: 80px; /* Tamanho fixo para desktop */
            height: 80px;
            object-fit: contain;
            transition: transform 0.3s ease;
        }
        
    }
    
    .header3{
        display: flex;
        
        ul{
            list-style: none;
            display: flex;
            gap: 2dvw;
        }
    }
    
    a{
        text-decoration: none;
        color: #FFFFFF;
        font-size: 1.5dvw;
        position: relative;
        transition: all 0.4s;
        padding: 5px 0;
    }

    a:hover{
        font-weight: bold;
    }
    
    a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #FFFFFF;
        transition: width 0.3s ease;
    }
    
    a:hover::after {
        width: 100%;
    }
}

.menumobile {
    background-color: #00193f;
    height: 0;
    overflow: hidden;
    display: flex;
    position: fixed;
    top: 9%;          /* Alinha o menu ao topo da tela */
    left: 0;         /* Alinha o menu à esquerda da tela */
    width: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    transition: height 0.3s ease-in-out;
}

.menumobile.open {
    height: 25dvh;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    
    span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: white;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
}

.img-card{
    border-radius: 50%;
    height: 30dvh;
}

#organiz{
    display: flex;
    text-align: center;
    flex-direction: column;
}

/* Welcome Section */
.welcome{
    background-image: linear-gradient(rgba(0, 25, 63, 0.7), rgba(0, 25, 63, 0.7)), url("../assets/fundo.jpg");
    height: 88dvh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
    
    .welcome-content {
        text-align: center;
        max-width: 800px;
        padding: 0 20px;
    }
    
    h1{
        font-size: 4dvw;
        color: #FFFFFF;
        text-shadow: 2px 2px 4px #000000;
        margin-bottom: 2dvh;
    }
    
    p {
        font-size: 1.8dvw;
        margin-bottom: 3dvh;
    }
}

/* CTA Button */
.cta-button {
    background-color: #FFFFFF;
    color: #00193f;
    border: none;
    padding: 12px 30px;
    font-size: 1.2dvw;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #00193f;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    
    .arrow {
        width: 20px;
        height: 20px;
        border-right: 2px solid white;
        border-bottom: 2px solid white;
        transform: rotate(45deg);
        margin-top: 5px;
        animation: bounce 2s infinite;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* Sobre Section */
.sobre{
    padding: 4dvw;
    justify-content: center;
    display: flex;
    min-height: 75dvh;
    flex-direction: column;
    gap: 2dvh;
    background-color: #F8F9FA;
    
    .sobre-content {
        max-width: 80vw;
        margin: 0 auto;
        width: 100%;
    }
    
    h2{
        font-size: 3dvw;
        color: #00193f;
        margin-bottom: 2dvh;
        text-align: center;
    }
    
    p{
        font-size: 1.5dvw;
        color: #333333;
        line-height: 1.6;
        margin-bottom: 4dvh;
        text-align: center;
    }
}

/* Cards */
.cards-container {
    display: flex;
    justify-content: space-between;
    gap: 2dvw;
    margin-top: 4dvh;
}

.cards-container2 {
    display: flex;
    justify-content: space-between;
    gap: 2dvw;
    margin-top: 4dvh;
    overflow:scroll;
}

.card2{
    background-color: white;
    border-radius: 10px;
    height: 55dvh;
    padding: 2dvw;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    h3 {
        color: #00193f;
        margin-bottom: 1dvh;
        font-size: 1.5dvw;
    }
    
    p {
        font-size: 1.2dvw;
        color: #555;
        text-align: left;
        margin-bottom: 0;
    }
}

.card {
    background-color: white;
    border-radius: 10px;
    padding: 2dvw;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    h3 {
        color: #00193f;
        margin-bottom: 1dvh;
        font-size: 1.5dvw;
    }
    
    p {
        font-size: 1.2dvw;
        color: #555;
        text-align: left;
        margin-bottom: 0;
    }
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Local Section */
.local{
    background-color: #F8F9FA;
    display: flex;
    flex-direction: column;
    padding: 4dvw 4dvw 0;
    
    h2{
        text-align: center;
        font-size: 2.5dvw;
        color: #00193f;
        margin-bottom: 1dvh;
    }
    
    p {
        text-align: center;
        font-size: 1.5dvw;
        color: #333;
        margin-bottom: 3dvh;
    }
    
    .map-container {
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
}

/* Footer */
footer{
    background-color: #00193f;
    min-height: 25dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding: 2dvw;
    
    p{
        color: #FFFFFF;
        font-size: 1.2dvw;
    }
    
    .footer1, .footer2, .footer3{
        margin: 0.5dvh 0;
        width: 33%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .footer1 img{
        width: 80px; /* Tamanho consistente com o header */
        height: 80px;
        object-fit: contain;
        margin-bottom: 1dvh;
    }
    
    a{
        text-decoration: none;
        color: #FFFFFF;
        font-size: 1.5dvw;
        position: relative;
        transition: all 0.4s;
        margin: 0.5dvh 0;
    }

    a:hover{
        font-weight: bold;
    }
    
    a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 1px;
        bottom: 0;
        left: 0;
        background-color: #FFFFFF;
        transition: width 0.3s ease;
    }
    
    a:hover::after {
        width: 100%;
    }
}

.anim1, .anim2{
    visibility: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        height: 10dvh;
        justify-content: space-between;
        padding: 0 5dvw;
        
        .header1, .header2, .header3 {
            margin: 0;
            width: auto;
        }
        
        .header1 {
            img {
                width: 45px; /* Tamanho menor para mobile */
                height: 45px;
            }
            
            h2 {
                font-size: 4dvw;
            }
        }
        
        .header3 {
            display: none;
        }
        
        .mobile-menu-btn {
            display: flex;
        }
    }

    h3, a, p{
        font-size: 17px !important;
    }

    .cards-container2{
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .cards2{
        display: flex;
        flex-direction: column;
        font-size: 10dvh;
    }

    .cards2, img{
        height: 30dvh;
        width: 40dvh;
    }

    
    .welcome {
        height: 90dvh;
        
        h1 {
            font-size: 6dvw;
        }
        
        p {
            font-size: 3dvw;
        }
        
        .cta-button {
            font-size: 3dvw;
            padding: 10px 25px;
        }
    }
    
    .sobre {
        padding: 6dvw;
        
        h2 {
            font-size: 5dvw;
        }
        
        p {
            font-size: 3dvw;
        }
        
        .cards-container {
            flex-direction: column;
            gap: 3dvh;
        }
        
        .card {
            padding: 4dvw;
            
            h3 {
                font-size: 4dvw;
            }
            
            p {
                font-size: 3dvw;
            }
        }
    }
    
    .local {
        padding: 6dvw 6dvw 0;
        
        h2 {
            font-size: 5dvw;
        }
        
        p {
            font-size: 3dvw;
        }
    }
    
    footer {
        flex-direction: column;
        text-align: center;
        padding: 4dvw;
        
        .footer1, .footer2, .footer3 {
            width: 100%;
            margin: 2dvh 0;
        }
        
        .footer1 img {
            width: 60px; /* Tamanho menor no footer mobile */
            height: 60px;
        }
        
        a, p {
            font-size: 3dvw;
        }
    }
}

@media (max-width: 480px) {
    header {
        .header1 {
            img {
                width: 40px; /* Ainda menor para telas muito pequenas */
                height: 40px;
            }
            
            h2 {
                font-size: 4.5dvw;
            }
        }
    }
    
    footer {
        .footer1 img {
            width: 50px;
            height: 50px;
        }
    }
}

.btn-confira {
    display: flex;
    justify-content: center;
    margin-top: 3dvh;
}

.confira{
    text-decoration: none;
    color: #00193f;
    font-weight: bold;
    font-size: 1.5dvw;
    text-decoration: underline;
}

/* Adicione estas regras ao seu style.css existente */

/* Filtros para conferências */
.conferencia-filters {
    display: flex;
    justify-content: center;
    gap: 1dvw;
    margin-bottom: 3dvh;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #e0e0e0;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Inter", sans-serif;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #00193f;
    color: white;
}

/* Container de cards para conferências */
.cards-container-conferencia {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2dvw;
    margin-top: 4dvh;
}

/* Cards de conferência */
.card-conferencia {
    background-color: white;
    border-radius: 10px;
    padding: 1.5dvw;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
    min-height: 350px;
}

.card-conferencia:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.card-flag {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5dvh;
    overflow: hidden;
    border-radius: 5px;
}

.card-flag img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.card-conferencia h3 {
    color: #00193f;
    margin-bottom: 1.5dvh;
    font-size: 1.3dvw;
    line-height: 1.3;
}

.btn-confira {
    display: inline-block;
    background-color: #00193f;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: auto;
    font-size: 1.1dvw;
}

.btn-confira:hover {
    background-color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Remove estilos antigos dos cards */
.cards-container2 {
    display: none;
}

.card2 {
    display: none;
}

/* Responsividade para conferências */
@media (max-width: 1200px) {
    .cards-container-conferencia {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5dvw;
    }
}

.error{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    body{
        overflow-x: hidden !important;
    }
    .conferencia-filters {
        gap: 2dvw;
    }
    
    .buttonindex{
        font-size: 4dvw;
    }
    .filter-btn {
        padding: 8px 16px;
        font-size: 3dvw;
    }
    
    .cards-container-conferencia {
        grid-template-columns: 1fr;
        gap: 3dvh;
        padding: 0 2dvw;
    }
    
    .card-conferencia {
        padding: 4dvw;
        min-height: 300px;
    }
    
    .card-conferencia h3 {
        font-size: 4dvw;
    }
    
    .btn-confira {
        font-size: 3.5dvw;
        padding: 12px 20px;
    }
    
    .card-flag {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .cards-container-conferencia {
        grid-template-columns: 1fr;
    }
    
    .card-conferencia {
        min-height: 280px;
    }
    
    .card-conferencia h3 {
        font-size: 5dvw;
    }
    
    .btn-confira {
        font-size: 4dvw;
    }
}


.comite-tema {
    color: #666;
    font-size: 1.1dvw;
    margin-bottom: 1.5dvh;
    font-style: italic;
    line-height: 1.4;
}


/* Destaque para membros permanentes */
.card-conferencia h3:contains("Permanente") {
    position: relative;
}

.card-conferencia h3:contains("Permanente")::after {
    content: "⭐";
    margin-left: 8px;
    font-size: 0.8em;
}

/* Responsividade para conferência2 */
@media (max-width: 768px) {
    .comite-tema {
        font-size: 3dvw;
    }
    
    .conferencia-filters {
        gap: 1dvw;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 2.8dvw;
        margin-bottom: 1dvh;
    }
}

@media (max-width: 480px) {
    .comite-tema {
        font-size: 3.5dvw;
    }
    
    .conferencia-filters {
        flex-direction: column;
        align-items: center    }
    
    .filter-btn {
        width: 80%;
        margin-bottom: 1dvh;
    }
}

#confira{
    background-color: transparent;
    box-shadow: none;
    display: flex;
    justify-content: center;
}

.cards-container, .cards-container2{
    cursor: pointer;

}

/* Container dos cards */
#organiz {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 32px;
  width: 100%;
  margin: 0 auto 32px auto;
  /* max-width: 1200px; */
}

/* Card individual */
.organiz1 {
  background: #fff;
  border-radius: 12px;
  /* box-shadow: 0 4px 10px rgba(0,0,0,0.08); */
  max-width: 350px;
  width: 100%;
  min-width: 230px;
  min-height: 430px;
  padding: 24px 18px 32px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
  overflow: hidden;
  word-break: break-word;
  transition: box-shadow 0.3s;
}

/* Imagem do perfil */
/* .organiz1 img {
  height: 65rem;
  border-radius: 999px;
  display: block;
  margin: 0 auto 14px auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  background: #f5f5f5;
} */

/* Nome centralizado */
.organiz1 h3, .organiz1 h4, .organiz1 p {
  text-align: center;
  margin-top: 0;
  margin-bottom: 9px;
  word-break: break-word;
}

/* Texto do card */
.organiz1 p {
  font-size: 1rem;
  line-height: 1.45;
  margin-bottom: 0;
  color: #222;
}

/* Altura mínima para todos cards ficarem parecidos */
.organiz1 {
  min-height: auto;
}

/* Mobile Responsivo */
@media (max-width: 900px) {
  #organiz {
    flex-direction: column;
    gap: 18px;
    align-items: center;
    max-width: 98vw;
  }
  .organiz1 {
    max-width: 99vw;
    min-width: unset;
    width: 97vw;
    min-height: 280px;
    padding: 16px 3vw 16px 3vw;
  }
  .organiz1 img {
    width: 90px;
    height: 90px;
    min-width: 90px;
    min-height: 90px;
  }
  .organiz1 p {
    font-size: 15px;
  }
}

/* Para telas pequenas */
@media (max-width: 500px) {
  .organiz1 {
    max-width: 99vw;
    padding: 10px 1vw 14px 1vw;
    min-height: 180px;
  }
  .organiz1 img {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
  }
  .organiz1 p {
    font-size: 14px;
  }

}

