/* ----------------------------- */
/* RESET DO CSS */
/* ----------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; }
table { border-collapse: collapse; border-spacing: 0; }

/* ----------------------------- */
/* FONTES */
/* ----------------------------- */
@font-face {
  font-family: 'ProtestGrotesk';
  src: url('fonts/ProtestGrotesk-Variable.ttf') format('truetype-variations');
  font-weight: 40 250;
  font-style: normal;
}
@font-face {
  font-family: 'ProtestGrotesk';
  src: url('fonts/ProtestGrotesk-Variable.ttf') format('truetype-variations');
  font-weight: 40 250;
  font-style: italic;
}
body {
  font-family: 'ProtestGrotesk', sans-serif;
}

/* ----------------------------- */
/* BANNER */
/* ----------------------------- */
.banner {
  position: relative;
  width: 100%;
  height: 70dvh;
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 85%;
  filter: brightness(0.4);
}
.banner-content {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.banner-col.left {
  margin-top: 3rem;
  margin-left: 3rem;
  text-align: left;
  pointer-events: auto;
  font-size: clamp(2rem, 6vw, 6rem);
  font-weight: 100;
  color: white;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}
.banner-col.right {
    width: 50%;
    margin: 3rem 3rem 0 3rem;
    text-align: left;
    pointer-events: auto;
    font-size: clamp(0.8rem, 1.2vw + 1vh, 2.2rem);
    line-height: clamp(1rem, 1.5vw + 1.2vh, 2.8rem);
    font-weight: 100;
    color: white;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

/* ----------------------------- */
/* BLOCOS DE COR */
/* ----------------------------- */
#bloco01, #bloco01-panel { background: #DDD9D6; }
#bloco02, #bloco02-panel { background: #faefe3; }
#bloco03, #bloco03-panel { background: #ddbb9c; }

/* ----------------------------- */
/* TOGGLE / COLUNAS */
/* ----------------------------- */
.toggle-btn {
  width: 100%;
  height: 10dvh;
  color: rgb(27, 27, 27);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
}
.col-1 { flex: 0 50%; }
.col-2 { flex: 0 50%; text-align: end; }
.col-1 h1 {
  margin-left: 3rem;
  font-size: 1.3rem;
  line-height: 1.5rem;
  font-weight: 100;
}
.col-1 h2 {
  margin: 5px 0 0 3rem;
  font-size: 1rem;
  font-weight: 100;
}
.col-1 h3 {
  margin: 7px 0 0 3rem;
  font-size: 1.3rem;
  font-weight: 100;
}
.col-2 h1 {
  margin-right: 3rem;
  font-size: 1.3rem;
  font-weight: 100;
  text-align: end;
}
.col-2 h2 {
  margin: 3px 3rem 0 0;
  font-size: 1rem;
  font-weight: 100;
  text-align: end;
}

/* ----------------------------- */
/* PAINEL */
/* ----------------------------- */
.panel {
  position: relative;
  width: 100%;
  overflow: hidden;
  transition: height 0.8s ease;
  height: 0;
  opacity: 1;
}
.panel.open { height: auto; }
.panel img {
    width: auto;
    height: 10vw;
  }
.panel p {
  margin: 2rem 3rem;
  font-size: 1.1rem;
  line-height: 1.4;
  color: rgb(27, 27, 27);
  font-weight: 100;
}
.panel h5 {
  font-weight: 130;
  color: rgb(80, 80, 80);
  font-size: 0.9rem;
  margin: 0 3rem;
  line-height: 1.2;
}
.space_even { height: 2rem; }

/* ----------------------------- */
/* ELEMENTOS EXTRA */
/* ----------------------------- */
/* estilos base para todos os cards */
#card, #card2, #card3, #card4, #card5,
#card6, #card7, #card8, #card9, #card10,
#card11, #card12, #card13, #card14, #card15 {
  cursor: pointer;
  position: absolute;
}

#card  { top: 12%; left: 65%; rotate:  7deg; }
#card2 { top: 28%; left: 52%; rotate: -6deg; }
#card3 { top: 18%; left: 60%; rotate:  3deg; }
#card4 { top: 22%; left: 48%; rotate: -9deg; }
#card5 { top: 34%; left: 68%; rotate: 10deg; }
#card6 { top: 14%; left: 55%; rotate: -4deg; }
#card7 { top: 30%; left: 62%; rotate:  8deg; }
#card8 { top: 16%; left: 58%; rotate: -7deg; }
#card9 { top: 24%; left: 45%; rotate:  5deg; }
#card10{ top: 36%; left: 70%; rotate: -8deg; }
#card11{ top: 20%; left: 50%; rotate:  9deg; }
#card12{ top: 32%; left: 66%; rotate: -5deg; }
#card13{ top: 15%; left: 62%; rotate:  4deg; }
#card14{ top: 27%; left: 47%; rotate: -10deg; }
#card15{ top: 38%; left: 69%; rotate:  6deg; }

.spacer {
  font-size: 1.5rem;
  margin: 3rem 0 0.5rem 3rem;
  font-weight: 100;
  color: rgb(27, 27, 27);
}
.line-spacer {
  width: calc(100vw - 6rem);
  margin: 0 0 2rem 3rem;
  height: 1px;
  background: rgb(68, 68, 68);
}
.expo-title {
  font-size: 4rem;
  margin: 0 0 3rem 3rem;
  font-weight: 100;
  color: rgb(27, 27, 27);
}
.description { width: 50%; }
.program { display: flex; margin-bottom: 1.5rem; }

/* ----------------------------- */
/* RODAPÉ */
/* ----------------------------- */
.linha {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 2fr;
  gap: 5rem;
  margin: 3rem;
}
.coluna {
  font-weight: 100;
  font-size: 0.9rem;
  line-height: 1.2rem;
}
.coluna h1 { text-transform: uppercase; }
#right-txt { text-align: right; }

/* ----------------------------- */
/* LOGOS */
/* ----------------------------- */
.logos-bar {
  border-top: 1px solid rgb(108, 108, 108);
  margin: 1rem;
  padding-top: 2rem;		
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.logos-section h3 {
  font-size: 10px;
  margin-bottom: 10px;
  font-weight: 100;
  text-transform: uppercase;
}
.logos-grid {
  margin-top: 1rem;	
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
}
.logos-grid img {
  max-height: 40px;
  max-width: 100px;
  object-fit: contain;
  flex: 0 1 auto;
}

/* ----------------------------- */
/* DESKTOP (>=992px) */
/* ----------------------------- */
@media (min-width: 992px) {
  .logos-bar {
    border: none;
    margin: 0 0rem 2rem 3rem;
    padding-top: 0;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .logos-section:first-child { flex: 1; }
  .logos-section:last-child { flex: 2; }
  .logos-grid {
    flex-wrap: nowrap;
    gap: 3vw;
  }
  .logos-grid img {
    max-height: auto;
    max-width: 7vw;
  }
  #apoios-logos { justify-content: flex-start; }
}

/* ----------------------------- */
/* TABLET (<=900px) */
/* ----------------------------- */
@media (max-width: 900px) {
  .linha { grid-template-columns: 1fr 1fr; }
  #right-txt { text-align: left; }
  .description { width: 80%; }
  .logos-bar { margin: 3rem; }
  .panel img {
    width: auto;
    height: 13vw;
  }
}

/* ----------------------------- */
/* TELEMÓVEL (<=600px) */
/* ----------------------------- */
@media (max-width: 600px) {
  .linha {
    grid-template-columns: 1fr;
    margin: 1rem;
    gap: 0;
  }

  .panel img {
    width: auto;
    height: 15vw;
  }
  .coluna {
    font-weight: 100;
    font-size: 0.7rem;
    line-height: 0.8rem;
    padding-bottom: 0.5rem;
  }
  #right-txt {
    border-top: 1px solid rgb(108, 108, 108);
    margin-top: 1rem;
    padding-top: 1.5rem;
  }

  .banner { height: 70vh; }
  .banner-content { flex-direction: column; }
  .banner-col.left {
    position: relative;
    margin: 2rem 0 0 1rem;
    z-index: 2;
    font-size: 7vh;
    line-height: 7.4vh;
  }
  .banner-col.right {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    margin: 0 1rem 1rem;
    width: auto;
    font-size: clamp(0.95rem, 1rem, 2rem); 
    line-height: clamp(1.2rem, 1.2rem, 2.2rem);
    text-align: left;
    box-sizing: border-box;
    z-index: 2;
  }
  .banner img { height: 100%; }

  .col-1 h1 {
    margin-left: 1rem;
    font-size: 2vh;
    line-height: 2.2vh;
    font-weight: 100;
  }
  .col-1 h2 {
    margin-left: 1rem;
    font-size: clamp(12px, 1vh, 18px);
    line-height: clamp(0.9em, 1.4vh, 2em);
    font-weight: 100;
    margin-top: 0;
  }
  .col-1 h3 {
    margin-left: 1rem;
    font-size: clamp(14px, 1.3vh, 18px);
    line-height: clamp(1.1em, 1.3vh, 2em);
    font-weight: 100;
    margin-top: 0;
  }
  .col-2 h1 {
    margin-right: 1rem;
    font-size: clamp(14px, 1.3vh, 18px);
    line-height: clamp(1.1em, 1.3vh, 2em);
    font-weight: 100;
    margin-top: 0;
  }
  .col-2 h2 {
    margin-right: 1rem;
    font-size: clamp(14px, 1.5vh, 18px);
    line-height: clamp(1.1em, 1.7vh, 2em);
    font-weight: 100;
    margin-top: 0;
  }

  .spacer {
    font-size: 2vh;
    margin: 1rem 0 0.5rem 1rem;
    font-weight: 100;
    color: rgb(27, 27, 27);
  }
  .line-spacer {
    width: calc(100vw - 2rem);
    margin-left: 1rem;
    margin-bottom: 2rem;
    height: 1px;
    background: rgb(68, 68, 68);
  }
  .expo-title {
    font-size: 4vh;
    margin: 0 0 2rem 1rem;
    font-weight: 100;
    color: rgb(27, 27, 27);
  }
  .description { width: 100%; }
  .panel p {
    margin: 0.8rem 1rem 3rem;
    font-size: 1rem;
    line-height: 1.2rem;
    color: rgb(27, 27, 27);
    font-weight: 100;
  }
  .panel h5 {
    font-weight: 130;
    color: rgb(80, 80, 80);
    font-size: 0.9rem;
    margin: 0.8rem 1rem;
    line-height: 1.2;
  }
  .space_even { height: 1rem; }

  .logos-bar { margin: 1rem; }

  .logos-grid { column-gap: 9vw;
}

  #card  { top: 12%; left: 25%; rotate:  6deg; }
  #card2 { top: 22%; left: 55%; rotate: -8deg; }
  #card3 { top: 40%; left: 30%; rotate:  4deg; }
  #card4 { top: 55%; left: 45%; rotate: -7deg; }
  #card5 { top: 70%; left: 35%; rotate:  9deg; }
  #card6 { top: 10%; left: 50%; rotate: -5deg; }
  #card7 { top: 20%; left: 30%; rotate: 10deg; }
  #card8 { top: 30%; left: 15%; rotate: -6deg; }
  #card9 { top: 60%; left: 42%; rotate:  7deg; }
  #card10{ top: 80%; left: 30%; rotate: -9deg; }
  #card11{ top: 10%; left: 10%; rotate:  8deg; }
  #card12{ top: 30%; left: 23%; rotate: -4deg; }
  #card13{ top: 45%; left: 58%; rotate:  5deg; }
  #card14{ top: 65%; left: 33%; rotate: -10deg; }
  #card15{ top: 42%; left: 40%; rotate:  3deg; }

}
/* ----------------------------- */
