:root{
    --white:#fff;
    --black:#131417;
    --dark:#131313;
    --gray:rgba(255,255,255,0.6);
    --lite:rgba(1,1,1,0.6);
    --cream:#f9f9f9;
    --primary:#8a6e4d;
    --primary_lite:#ff3e55;
    --secondary:#6382f7;
    --secondary_dark:#15265b;
    --blue:#051135;
    --title:'Montserrat', sans-serif;
    --cursive:'Dancing Script', cursive;
}

body {
  background: #f8f5f5;
}

a, button, i{
    transition:0.5s;
}

em{
    color:var(--primary);
}

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

.flex-content{
    width:100%;
    max-width: 1060px; /* default 1060px */
    position:relative;
}

.title{
    font-family:var(--title);
    color:var(--blue);
}

.padding_2x{
    padding:2rem;
    margin:0 auto;
}

.big{
    font-size:4em;
}

.tag{
    color:var(--primary);
    display:flex;
    align-items:center;
    transition:0.5s;
    position:relative;
    padding-left:3.5rem;
}

.tag:before{
    content:"";
    width:50px;
    height:1px;
    position:absolute;
    left:0;
    top:50%;
    background-color:var(--primary);
    transform:translate(0%, -50%);
    font-family:"FontAwesome";
    transition:0.5s;
}

.tag:hover:after{
    margin:0 0.3rem;
}

.btn1 {
    padding: 0.7rem 1.5rem;
    font-family: 'Rmneue', Arial, sans-serif;
    border: 0;
    font-size: 1rem;
    border-radius: 20px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    background: #8a6e4d;
}

.btn1 .fa {
    position:relative;
    left:0.4rem;
}

.btn1:hover {
    color: #ffffff;
}
  
.btn1:hover > .fa {
    left:0.1rem;
}

@media (max-width:1280px){
    .big{
        font-size:1.8em;
    }
}

@media (max-width:920px){
    .big{
        font-size:1.8em;
    }
    
    .flex{
        flex-wrap:wrap;
    }
    
    .padding_2x {
        padding:1rem;
    }
    
    .btn1 {
        padding:0.7rem 1.5rem;
    }
}

/* MAIN */
main {
	width: 100%;
    position: relative;
    color: var(--white);
    padding: 2rem 0 6rem 0; /* Default: padding-bottom: 6rem */
    overflow: hidden;
    height: 60vh; /* Default: remover */
}


main {
    background: none !important;
}

/* Vídeo de fundo */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; 
    filter: brightness(0.70); 
}


main:after{
    content:"";
    background-image:url("https://i.ibb.co/8zB1N3z/wave.png");
    background-size:cover;
    width:100%;
    height:100px;
    position:absolute;
    bottom:-2px;
  	display: none;
}

/* main .tag centralizado e :before adaptado para funcionar ao lado do texto */
main .tag{
    position: relative;
    text-transform: uppercase;
    font-family: Rmneue, Arial, sans-serif;
    margin-bottom: 30px;
    font-size: 0.9rem;
    top: 20px;
    color: var(--white);
    font-style: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
}

main .tag:before{
    content: "";
    width: 50px;
    height: 1px;
    display: block;
    position: static;
    margin-right: 0.8rem;
    background-color: #dbba94;
    transform: none;
}

main .title{
    font-weight: 200;
    color: var(--white);
    font-family: Reckless;
    margin-bottom: 50px;
    font-size: 4rem;
    line-height: 4.2rem;
    hyphens: none;
}

@media (max-width:1280px){
    main .title{
        font-size: 3rem;
        line-height: 3.4rem;
    }
}

@media (max-width:920px){
    main .title{
        font-size: 2.2rem;
        line-height: 2.6rem;
    }
    
    main .tag{
        top:20px;
    }
    
    main p{
        top:-10px;
    }
}

@media (max-width:600px){
  .padding_2x {margin-left:0;}
  
  main {padding: 2rem 0 20rem 0; height: 70vh;}
  
  main .tag {
      font-size: 0.7rem;
  }
  
  main .title{
        font-size: 2.5rem;
        line-height: 2.6rem;
    }
}

main em{
    color:var(--white);
    font-weight:400;
}

main p{
    position: relative;
    top: -30px;
    font-weight: 400;
    font-family: 'Lora';
    color: rgb(255 255 255 / 82%);
    font-size: 1.09rem;
    line-height: 1.5rem;
}

@keyframes arrows{
    0%, 100%{
        color: black;
        transform: translateY(0);
    }
    50%{
        color: #3AB493 !important;
        transform: translateY(20px);
    }
}
/* [FIM ESTILOS DA INTRO HERO ] */


  
  
  
/* [ESTILOS DO SEARCH E TOGGLE ] */  
/* Container das sugestões */
.search-suggestions {
  position: absolute;
  top: 100%; /* fica logo abaixo do input */
  left: 0;
  width: 100%;
  background: #fff;
  border-top: none; /* evita duplicar a borda do input */
  border-radius: 0 0 25px 25px; /* arredonda somente a parte de baixo */
  max-height: 250px;
  overflow-y: auto;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Cada item de sugestão */
.suggestion-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.2s;
}

/* Hover no item */
.suggestion-item:hover {
  background-color: #f0f0f0;
}

/* Bandeiras pequenas */
.suggestion-item img {
  width: 20px;   /* largura da bandeira */
  height: 14px;  /* altura proporcional */
  object-fit: cover;
  border-radius: 3px;
}

/* Ajuste para texto */
.suggestion-item span {
  font-size: 0.9rem;
  color: #333;
  white-space: nowrap;
}

/* Responsividade para mobile */
@media (max-width: 600px) {
  .search-suggestions {
    max-height: 200px;
  }
  .suggestion-item {
    padding: 6px 10px;
  }
  .suggestion-item span {
    font-size: 0.85rem;
  }
}
  
.organizacoes-search {
  --switches-bg-color: #586154;
  --switches-label-color: #ffffff;
  --switch-bg-color: #ffffff;
  --switch-text-color: #586154;
}

.organizacoes-search * {
  box-sizing: border-box;
}

.organizacoes-search .search-toggle-wrapper {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

/* Container principal no topo */
.organizacoes-search .search-toggle-wrapper .top-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1245px;
    padding-top: 30px;
}

/* Input com ícone */
.organizacoes-search .search-toggle-wrapper .search-box {
  position: relative;
  flex: 1 1 300px;
  max-width: 43rem;
}

.organizacoes-search .search-toggle-wrapper .search-box input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 1px solid #d7d7d7b8;
  border-radius: 40px;
  font-size: 1rem;
}

.organizacoes-search .search-toggle-wrapper .search-box i {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none;
}

/* Toggle */
.organizacoes-search .search-toggle-wrapper .switches-container {
  width: 14rem;
  max-width: 40%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--switches-bg-color);
  border-radius: 3rem;
  height: 3rem;
}

.organizacoes-search .search-toggle-wrapper .switches-container input {
  visibility: hidden;
  position: absolute;
  top: 0;
}

.organizacoes-search .search-toggle-wrapper .switches-container label {
  flex: 1;
  font-family: 'Fira Sans';
  font-weight: 500;
  text-align: center;
  font-size: 1rem;
  cursor: pointer;
  color: var(--switches-label-color);
  margin: 0;
  line-height: 3rem;
  white-space: normal;
  word-break: break-word;
  padding: 0 0.2rem;
}

.organizacoes-search .search-toggle-wrapper .switch-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  padding: 0.15rem;
  z-index: 3;
  transition: transform .5s cubic-bezier(.77, 0, .175, 1);
}

.organizacoes-search .search-toggle-wrapper .switch {
  border-radius: 3rem;
  background: var(--switch-bg-color);
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.organizacoes-search .search-toggle-wrapper .switch div {
  width: 100%;
  font-family: 'Fira Sans';
  font-weight: 500;
  text-align: center;
  font-size: 1rem;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  color: var(--switch-text-color);
  transition: opacity .2s cubic-bezier(.77, 0, .175, 1) .125s;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  white-space: normal;
  word-break: break-word;
  padding: 0 0.2rem;
}

.organizacoes-search .search-toggle-wrapper .switches-container input:nth-of-type(1):checked ~ .switch-wrapper {
  transform: translateX(0%);
}

.organizacoes-search .search-toggle-wrapper .switches-container input:nth-of-type(2):checked ~ .switch-wrapper {
  transform: translateX(100%);
}

.organizacoes-search .search-toggle-wrapper .switches-container input:nth-of-type(1):checked ~ .switch-wrapper .switch div:nth-of-type(1) {
  opacity: 1;
}

.organizacoes-search .search-toggle-wrapper .switches-container input:nth-of-type(2):checked ~ .switch-wrapper .switch div:nth-of-type(2) {
  opacity: 1;
}

@media screen and (max-width: 600px) {

  .organizacoes-search .search-toggle-wrapper {
    margin: 0 15px
  }
  
  .organizacoes-search .search-toggle-wrapper .top-wrapper {
    justify-content: space-around; 
    align-items: center;
  }

  .organizacoes-search .search-toggle-wrapper .search-box {
    flex: 1;
    min-width: 150px;
  }

  .organizacoes-search .search-toggle-wrapper .switches-container {
    flex: 0 0 10rem;
    max-width: 50%;
  }

  .organizacoes-search .search-toggle-wrapper .switches-container label,
  .organizacoes-search .search-toggle-wrapper .switches-container .switch div {
    font-size: 0.75rem;
  }
}

/* [FIM ESTILOS DO SEARCH E TOGGLE ] */
  
/* --- Estilo dos cards de organizações  --- */
.organizacoes-wrapper {
  padding: 20px;
  border-radius: 12px;
  max-width: 1280px;
  margin: 0 auto;
}

.organizacoes-titulo {
    font-size: 0.8rem !important;
    margin-bottom: 10px ! Important;
    color: #838383 !important;
    font-weight: 100;
    font-family: 'Rmneue';
    text-transform: uppercase;
}

.organizacoes-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.organizacoes-card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgb(172 172 172 / 17%);
    padding: 40px 20px 20px 20px;
    transition: transform 0.2s ease;
}

.organizacoes-card img {
  width: 115px;
  height: 115px;
  object-fit: contain;
  margin-right: 15px;
  border-radius: 10px !important;
  filter: saturate(0.5);
}

.organizacoes-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.organizacoes-info span {
    margin-bottom: 10px;
    font-family: Rmneue, Arial, sans-serif;
    font-size: 25px;
    line-height: 25px;
    hyphens: none;
}

.organizacoes-info a {
    text-decoration: none;
    color: #000000;
    font-weight: 300;
    border: 1px solid #ebd2ad;
    background: #ebd2ad;
    font-family: 'Fira Sans', sans-serif;
    padding: 0px 15px;
    line-height: 25px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    width: fit-content;
    transition: background-color 0.2s ease;
}

.organizacoes-info a:hover {
  opacity: 0.9;
}

/* Ícone "Ver países" no canto superior direito */
.organizacoes-icon {
	position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-family: sans-serif;
    line-height: 0;
    gap: 5px;
    font-size: 0.7rem;
    border: 1px solid #ededed;
    border-radius: 20px;
    background: #f2f2f2;
    padding: 3px 6px;
    color: #000000;
    cursor: pointer;
}

.organizacoes-icon svg {
  width: 18px;
  height: 18px;
}

@media screen and (min-width: 768px) {
  .organizacoes-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas */
    gap: 40px;
  }

  .organizacoes-card {
    flex: unset; /* Remove o flex anterior */
  }
}

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(3px);
}

.modal-content {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  margin: 0 15px;
}

.modal-close {
  position: absolute;
  top: 0px;
  right: 15px;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Header modal */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.modal-header img {
  width: 60px;
  height: 60px;
  border-radius: 50% !important;
  object-fit: contain;
}

.modal-header span {
    font-size: 1.5rem;
    font-family: 'Rmneue', Arial, sans-serif;
    text-align: left;
    line-height: 1.8rem;
    hyphens: none;
}

/* Lista de países */
.modal-countries {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.country-item {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  gap: 10px;
}

.country-item img {
    width: 30px;
    height: 30px !important;
    border-radius: 20px ! Important;
    object-fit: cover;
}