/* GENERAL */
* {margin: 0;
  padding: 0;
  box-sizing: border-box;}
@font-face {
  font-family: 'MinhaFonte';
  src: url('../fonts/Creattion.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;}
header, main, footer {
  position: relative;
  z-index: 1;}
html, body {
  scrollbar-width: none;
  -ms-overflow-style: none;}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;}

/* BACKGROUND */
body {
  font-family: '', sans-serif;
  color: #2c2c2c;
  line-height: 1.6;
  padding: 20px;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;  
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    #000000f9 0%,
    #33333311 100%);}
.filme-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -2;           
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotateX(8deg) rotateY(0deg) rotateZ(5deg) translateX(-20px);
  will-change: transform;
  filter: blur(1.8px); 
  opacity: 0.9;}
.coluna {
  display: flex;
  flex-direction: column;
  margin: 0 2px;
  will-change: transform;}
.quadro {
  position: relative;
  width: 120px; height: 150px; 
  margin: 2px 0;
  border-radius: 4px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.308);
  background: #22222214;
  background-size: cover;
  background-position: center;
  opacity: 0.95;
  overflow: hidden;
  background-repeat: no-repeat;
  transition: background-image 0.5s;
  filter: blur(0.85px);}
.quadro::after {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%);}

/* HEADER */
header {
  text-align: right;
  margin-bottom: 40px;
  margin-right: 90px;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.492), 0 0.5px 1px rgba(0, 0, 0, 0.382);}
header h1 {
  font-family: 'MinhaFonte';
  font-size: 4em;
  margin-bottom: 0px;
  font-weight: 550;
  color: #fff;
  text-shadow:
    0 2px 12px rgba(0,0,0,0.40),      
    0 0 5px #000404,                  
    0 0 5px #fff;}
header small{
  font-size: 1rem;
  font-weight: 800;}
.small-two{
  font-size: 2.7rem;
  font-weight: 550;}

/* HEADER - HAMBURGER BUTTON */
.hamburger {
  position: absolute;
  top: 55px;
  left: 62px;
  z-index: 200;
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  gap: 7px;
  transition: filter 0.2s;
  filter: drop-shadow(0 2px 9px #0006);
  transition: 0.5s}
.hamburger span {
  display: block;
  width: 34px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.38s cubic-bezier(.6,0,.5,1);
  margin-left: 2px;}
  
.hamburger:hover{
  transform: scale(1.1);
  transition: 0.5s;}

.hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);}
.hamburger.open span:nth-child(2) {
  opacity: 0;}
.hamburger.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 25vw;     
  min-width: 230px;    
  height: 100vh;
  z-index: 150;
  background: rgba(10,10,10,0.97);
  display: flex;
  flex-direction: column;
  align-items: flex-start;   
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(.6,0,.5,1);
  font-family: 'Space Grotesk', 'Work Sans', Arial, sans-serif;
  padding-top: 110px;}
.menu-overlay.open {
  pointer-events: all;
  opacity: 1;}
.menu-overlay ul {
  list-style: none;
  padding: 0 0 0 66px; 
  margin: 0;
  text-align: left;
  width: 100%;}
.menu-overlay li {
  margin: 15px 0;}
.menu-overlay a {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 2px;
  position: relative;
  transition: color 0.2s;
  display: inline-block;}
.menu-overlay a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: #fff;
  transition: width 0.3s;}
.menu-overlay a:hover::after,
.menu-overlay a:focus::after {
  width: 100%;}
.menu-overlay a:hover,
.menu-overlay a:focus {
  color: #b2faff;}
body.menu-open {
  overflow: hidden !important;}
.menu-social-icons {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin: 20px 0 0 66px; /* alinhamento igual à lista */
}

.menu-social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
  transition: color 0.2s;
  width: 80px;
  overflow: visible;
}

.menu-social-icon-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: transform 0.38s cubic-bezier(.6,0,.5,1);
  will-change: transform;
  display: block;
  margin-bottom: 0px;
  border: none;
  padding: 0px;
}
.menu-social-link:hover .menu-social-icon-img,
.menu-social-link:focus .menu-social-icon-img {
  transform: scale(1.1);
}
.menu-social-label {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  color: #b2faffd2;
  margin-top: 5px;
  letter-spacing: 0.2px;
  opacity: 0;
  transition: opacity 0.33s;
  pointer-events: none;
  user-select: none;
}
.menu-social-link:hover .menu-social-label,
.menu-social-link:focus .menu-social-label {
  opacity: 1;
}
.menu-social-link::after {
  display: none !important;
}

/* SUBMENU - Menu Hamburguer */
.menu-overlay .has-submenu {
  position: relative;
}

.menu-overlay .submenu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  outline: none;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0px;
  padding-top: 12px;
  padding-bottom: 12px;
  transition: color 0.2s;
}

.menu-overlay .submenu-toggle::after {
  content: '▸';
  font-size: 1.2rem;
  margin-left: 2px;
  margin-top: 5px;
  transition: transform 0.22s;
}

.menu-overlay .has-submenu.open > .submenu-toggle::after {
  transform: rotate(90deg);
}

.menu-overlay .submenu {
  display: none;
  flex-direction: column;
  margin-top: 2px;
  margin-bottom: 2px;
  margin-left: 22px;
  padding-left: 6px;
  border-left: 2px solid rgba(255, 255, 255, 0.395);
  transition: all 0.2s;
}

.menu-overlay .has-submenu.open > .submenu {
  display: flex;
}

.menu-overlay .submenu li {
  margin: 6px 0;
}

.menu-overlay .submenu a {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffffa0;
  letter-spacing: 1px;
  opacity: 0.86;
  padding-left: 0px;
  transition: color 0.17s;
}
.menu-overlay .submenu a:hover,
.menu-overlay .submenu a:focus {
  color: #b2faff;
  opacity: 1;
}


/* POSTS */
main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: start;}
.post {
  border-left: 6px solid rgba(255,255,255,0.32);
  border-right: 6px solid rgba(200,220,255,0.12);
  background: rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  box-shadow: 0 8px 32px 12px rgba(0,0,0,0.40);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  padding: 20px;
  color: #222; 
  transition: background 0.3s, transform 0.8s ease;}
.post h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  line-height: 110%;
  color: #000000;
  margin-bottom: 0px;}
.post h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  color: #181818e3;
  margin-bottom: 0px;}
.post p {
  font-size: 0.95rem;
  color: #0d0d0dc7;
  margin-bottom: 10px;
font-weight: 550;}
.post h2,
.post h4{
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.492), 0 0.5px 1px rgba(0, 0, 0, 0.382);}
.post img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-top: 15px;
  max-height: 350px;}
.post video{
  max-width: 60%;
  object-fit: cover;
  border-radius: 5px;
  margin: 10px auto 10px;
  display: block;}
.post-content {
  max-height: 550px;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  opacity: 0.95;}
.post-content.expanded {
  max-height: 3000px;             
  opacity: 1;}
.post:hover{
  transform: scale(1.05);
  transition: transform 0.8s ease;
}

/* POSTS - HASHTAGS */
.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  gap: 12px;}
.hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  align-items:normal;
  overflow: hidden;
  line-height: 0.9;      
  font-size: 0.85em;
  margin-top: 0;
  margin-right: 0;
  flex: 1 1 auto;}

.hashtag-link{
  color: rgba(0, 0, 0, 0.521);
  font-weight: 650;
  font-family: 'Space Grotesk', Arial, sans-serif;
}
.hashtag-link:hover {
  color: #111;
  cursor: pointer;}


/* POSTS - BUTTON */
.read-more-btn {
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.34);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  margin: 0;
  flex-shrink: 0;
  padding: 0;}
.read-more-btn:hover {
  background: #222222cd;}
.arrow-lines {
  position: relative;
  width: 12px;
  height: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;}
.aline {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #9b9b9b;
  border-radius: 1px;
  width: 100%;
  transition: 
    transform 0.3s cubic-bezier(.4,2,.6,1),
    top 0.3s cubic-bezier(.4,2,.6,1),
    opacity 0.25s,
    height 0.3s cubic-bezier(.4,2,.6,1);}
.aline:nth-child(1) {
  top: 11px;
  left: -3px;
  transform: rotate(60deg);
  height: 1px;}
.aline:nth-child(2) {
  top: -5px; 
  left: 5.5px; 
  width: 1px;
  height: 22px; 
  background: #9b9b9b;
  transform: rotate(0deg);}
.aline:nth-child(3) {
  top: 11px;
  left: 3px;
  transform: rotate(-60deg);
  height: 1px;}
.read-more-btn.expanded .aline:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
  left: 0px;
  height: 1px;}
.read-more-btn.expanded .aline:nth-child(2) {
  opacity: 0;}
.read-more-btn.expanded .aline:nth-child(3) {
  top: 6px;
  left: 0px;
  transform: rotate(-45deg);
  height: 1px;}

/* POSTS - CAROUSEL */
.carousel-container {
  position: relative;
  width: 100%;}
.carousel-btn {
  position: absolute;
  top: 45%;
  z-index: 99;
  background: #000000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 8px #0001;
  opacity: 0.7;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;}
.carousel-btn:hover {
  opacity: 1;
  background: #000;}
.carousel-btn-left {
  left: -10px;}
.carousel-btn-right {
  right: -10px;}
.carousel-container {
  position: relative;}
.carousel-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  align-items: flex-start;}
.carousel-track .post {
  min-width: 23%;
  margin: 0 1%;
  box-sizing: border-box;}
#posts {
  position: relative;
  transition: transform 0.6s cubic-bezier(.5,0,.5,1);
  will-change: transform;}
#posts.slide-left {
  transform: translateX(-100vw);}
#posts.slide-right {
  transform: translateX(100vw);}
#posts.reset {
  transition: none !important;
  transform: translateX(0);}

/* POSTS MIDIA */
.video-wrapper {
  position: relative;
  display: inline-block;
}
.video-wrapper .video-overlay {
  position: absolute;
  align-items: center;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.707);
  color: #ffffff91;
  display: flex;
  text-align: center;
  line-height: 115%;
  justify-content: center;
  font-size: 0.8em;
  border-radius: 2%;
  pointer-events: none;
  transition: opacity .2s;
  width:60%;
  height: 95.4%; 
  margin: 0 auto;
  margin-top: 2.6%;  
  
}
.video-wrapper video {
  width: 100%;
  display: block;
  cursor: pointer;
}
.video-wrapper.playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}


/* FOOTER */
footer {
  text-align: center;
  margin-top: 60px;
  font-size: 0.9rem;
  font-weight: 550;
  color: #fff;
  text-shadow:
    0 2px 12px rgba(0,0,0,0.40),      
    0 0 5px #000404,                  
    0 0 16px #fff;}

    .pesquisa-bar-container select {
  background: #fff;
  color: #222;
  border: 1.5px solid #bbb;
  border-radius: 6px;
  min-width: 120px;
  outline: none;
  box-shadow: 0 2px 6px #0002;
  font-weight: 600;
}

.pesquisa-bar-container select:focus {
  border-color: #333;
  outline: 2px solid #b2faff;
}


/* POSTS - TILT CARD */
.post.tilt-card {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-left: none;
  border-right: none;
  min-width: 400px;
}
.post.tilt-card .card-front {
  border-left: 6px solid rgba(255,255,255,0.32);
  border-right: 6px solid rgba(200,220,255,0.12);
  background: rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  box-shadow: 0 8px 32px 12px rgba(0,0,0,0.40);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  padding: 20px;
  transition: transform 0.8s ease;
}
.post.tilt-card .card-front:hover {
  transform: scale(1.05);
  transition: transform 0.8s ease;
}
.post.tilt-card .card-back {
  border-radius: 18px;
   border-left: 6px solid rgba(200,220,255,0.12);
  border-right: 6px solid rgba(255,255,255,0.32);
  background: rgba(255, 255, 255, 0.25);
}
.post.tilt-card .card-back h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  line-height: 110%;
  color: #000000;
  margin-bottom: 0px;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.492), 0 0.5px 1px rgba(0, 0, 0, 0.382);
}

/* === Verso padrão dos cards (Contribuições dos Membros) === */
.post.tilt-card .card-back {
  display: flex;
  flex-direction: column;
  align-items:center;
  justify-content: center;
}

.card-back-inner {
  display: flex;
  flex-direction: row;
  align-items: left;
  gap: 14px;
  justify-content: left;
  padding: 28px 26px;
  text-align: left;
}

.card-back-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.50rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 120%;
  color: #0d0d0d;
  margin: 0;
  text-shadow: 0 1px 3px rgba(255,255,255,0.55), 0 0.5px 1px rgba(0,0,0,0.35);
}

.card-back-logo {
  width: 90px !important;
  height: 90px !important;
  user-select: none;
  pointer-events: none;
  margin-top: -15px !important;
}

.card-back-center {
  flex: 1 1 auto;
  display: flex;
  align-items: center;        
  justify-content: center;    
  padding: 0px 25px 6px;
  margin-top: -50px !important;
  text-align: center;
}

.card-back-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem !important;
  line-height: 1.35;
  font-weight: 600;
  color: #141414;
  max-width: 94%;
  margin: 0;
  text-wrap: balance;
}

/* Posts marcados como no-tilt nunca recebem transform de hover, mesmo em desktop */
.post.no-tilt:hover,
.post.no-tilt .card-front:hover {
  transform: none !important;
}
