:root {
  --preto: #242323;
  --cinza: #8C8A85;
  --branco: #F4F0E7;
  --vermelho: #FE3A0F;
  --height: calc(100dvh - 60px - 60px);
  --height2: calc(100dvh - 60px);
}
body.dark-mode {
  --preto: #F4F0E7;   /* Onde era preto, vira o tom de branco */
  --branco: #242323;  /* Onde era branco, vira o tom de preto */
}
.lang-text {
  display: none !important;
}
html[lang*="pt"] .lang-text.pt {
    display: inline-block !important;
}
html[lang*="en"] .lang-text.en {
    display: inline-block !important;
}

.red {
  color: var(--vermelho);
}
.gray {
  color: var(--cinza);
}
.bg-red {
  background-color: var(--vermelho);
}
.mobi-only {
  display: none;
}
#wpadminbar {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0px!important;
}
::-webkit-scrollbar {
  display: none;
}
::selection {
  background-color: var(--vermelho);
  color: var(--branco);
}
.page {
  margin: 0px;
}
body {
  background-color: var(--branco);
  color: var(--preto);
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  font-family: "minion-pro", serif;
  font-weight: 400;
  font-style: normal;
}
@keyframes fade {
  0% {
    opacity: 0;
    transform: translate(0, 2rem);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}
.in-view {
  animation: fade .4s .4s both;
}
.not-in-view {
  opacity: 0;
}

@font-face {
  font-family: 'Satoshi-Variable';
  src: url('Satoshi-Variable.woff2') format('woff2'),
       url('Satoshi-Variable.woff') format('woff'),
       url('Satoshi-Variable.ttf') format('truetype');
  font-weight: 300 900;
  font-display: swap;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0px;
}
h1, h2, h3 {
  line-height: 1;
}
h1 {
  line-height: 1.2;
  font-size: 4.1vw;
  letter-spacing: -1.5px;
  font-family: 'Satoshi-Variable';
  font-weight: 600;
  font-style: normal;
  margin-bottom: 15px;
  -webkit-text-stroke-width: 2px; /* Espessura da borda */
  -webkit-text-stroke-color: var(--preto);
  color: var(--branco);
  paint-order: stroke fill;
}
h3 {
  font-size: 24px;
  font-family: "minion-pro", serif;
  font-weight: 400;
  font-style: normal;
}
h4 {
  font-size: 18px;
  font-family: "minion-pro", serif;
  font-weight: 400;
  font-style: normal;
}
h5 {
  font-family: 'Satoshi-Variable';
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.5px;
}
h6, h6 p {
  font-family: 'Satoshi-Variable';
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
}
h6 em, h6 p em {
  font-family: 'Satoshi-Variable';
  font-weight: 500;
  font-style: normal;
  font-size: 12px;
}
h6.italic, h6.italic p {
  font-style: italic;
}
p {
  font-size: 15px;
  line-height: 1.25;
  font-family: "minion-pro", serif;
  font-weight: 400;
  font-style: normal;
}
em {
  font-family: "minion-pro", serif;
  font-weight: 400;
  font-style: italic;
}
strong {
  font-family: "minion-pro", serif;
  font-weight: 600;
  font-style: normal;
}
.bb, .bt {
  border-color: var(--preto)!important;
}
.b--white {
  border-color: var(--branco)!important;
}

.container-cs {
  width: 100%;
  padding-left: 50px;
  padding-right: 50px;
}
header {
  background-color: var(--branco);
  height: 60px;
  margin-bottom: 60px;
  z-index: 999999;
}
nav {
  height: 60px;
  z-index: 999999;
}
.toggle {
  display: block;
  width: 40px;
  height: 18px;
  border-radius: 15px;
  border: 1pt solid var(--preto);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 2px 3px;
  cursor: pointer;
}
.toggle img {
  width: 10px;
  height: 10px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body.dark-mode .toggle img {
  transform: translateX(-21px);
}
body.dark-mode #filtroBar svg path {
  fill: var(--preto)
}
.sticky {
  position: sticky;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.grid-2-masonry {
  column-count: 2;
  column-gap: 20px;
  position: relative;
}
.grid-2-masonry::before {
  content: "";
  display: block;
  position: absolute;
  column-span: all;
  border-top: 1pt solid red;
  right: 0px;
  width: 50%;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.gap-20 {
  gap: 20px;
}
.gap-40 {
  gap: 40px;
}
.gap-60 {
  gap: 60px;
}
.span-4 {
  grid-column: span 4;
}
.span-2 {
  grid-column: span 2;
}
a, a:hover, a:visited, a:active {
  color: var(--preto);
  text-decoration: none;
  transition: all 0.5s ease;
}
h5 {
  transition: all 0.5s ease;
}
ul, ol {
  margin: 0px;
  padding: 0px;
}
.ratio-1x1 {
  aspect-ratio: 1/1;
  object-fit: cover;
}
.ratio-4x3 {
  aspect-ratio: 4/3;
  object-fit: cover;
}
.ratio-16x9 {
  aspect-ratio: 16/9;
  object-fit: cover;
}
.video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}
.w-fit {
  width: fit-content;
}
.cover {
  object-fit: cover;
}
.top-45 {
  top: 45%
}
.nota p {
  font-size: 12px;
  margin-bottom: 0px;
}
.b--red {
  border-color: var(--vermelho)!important
}
.f-grow {
  flex-grow: 1;
}
.shrink-0 {
  flex-shrink: 0;
}
.has-vivid-red-color {
  color: var(--vermelho)!important
}
.serif, .serif p {
  font-family: "minion-pro", serif;
}


/* projeto */

.projetos-pg,
.publicacoes-pg,
.posts-pg {
  position: fixed;
  top: 60px;
  left: 0px;
  width: 100%;
  height: var(--height);
  max-height: var(--height);
}

.wrapper-imgs {
  height: var(--height2);
  width: 66%;
  overflow-y: scroll;
}
.wrapper-imgs img {
  width: 100%;
}

.tag-projeto {
  white-space: nowrap;
  display: inline-block;
  background-color: var(--vermelho);
  height: 21px;
  border-radius: 21px;
  color: var(--branco);
  padding: 4px 10px 6px;
  margin-right: 2px;
  margin-bottom: 0px;
  transition: opacity 0.3s ease, color 0.3s ease;
  font-family: 'Satoshi-Variable';
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.5px;
}
.tag-projeto[data-filter="*"] {
  opacity: 1;
  font-weight: bold;
  transition: opacity 0.3s ease;
}
.tag-projeto:not([data-filter="*"]) {
  opacity: 0.2;
  transition: opacity 0.3s ease;
}
.tag-projeto.is-active {
  opacity: 1 !important;
  color: var(--branco);
}
.tag-projeto:hover {
  color: var(--branco);
}

#publi-default img,
#publi-default-mobi img {
  width: 50px!important;
  height: 50px!important;
  object-fit: cover!important;
}
.posts-pg img {
  filter: grayscale(100%) brightness(80%);
  transition: filter ease 0.5s;
}
.posts-pg img:hover {
  filter: grayscale(0%) brightness(100%);
  transition: filter ease 0.5s;
}

.item-post {
  break-inside: avoid
}
.h-100.of-scroll, .h-70 {
  height: var(--height);
  max-height: var(--height);
  overflow: scroll;
}
.hit-bottom {
  height: var(--height2);
  max-height: var(--height2);
  overflow: scroll;
}

#filtroBar, .opcao-mes {
  font-family: 'Satoshi-Variable';
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.5px;
  padding: 8px 10px;
}
#filtroBar,
#filtroOpcoes {
  border: 1pt solid var(--preto);
  border-radius: 0px;
  background-color: var(--branco);
  width: 100%;
}
.opcao-mes {
  color: var(--preto);
  border-bottom: 0.5pt solid var(--preto);
  opacity: 40%;
}
.opcao-mes:hover {
  opacity: 1;
}

.barra-blur {
  position: absolute;
  z-index: 9;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: linear-gradient(to bottom, rgba(244, 240, 231, 0), rgba(244, 240, 231, 1));
  background: linear-gradient(to bottom, color-mix(in srgb, var(--branco) 0%, transparent), var(--branco));
}

header ul, header li {
  display: inline;
  list-style: none;
}

/* -- home -- */

.home {
  width: 100vw;
  height: 100vh;
}
#pgCapa, #pgSlide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.home .grid-3 {
  height: 100%;
  gap: 0px;
}
.red-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 100dvh;
  background-color: var(--vermelho);
  z-index: 9999999;
}
.item-home {
  overflow: hidden;
}
#pgCapa {
  opacity: 1;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: auto;
}
#pgCapa.some {
  opacity: 0;
  z-index: -1;
  pointer-events: none;
}
#pgSlide {
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: -1;
}
#pgSlide.mostra {
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: auto;
  z-index: 1;
}
#bookPages {
  position: relative;
  overflow: hidden;
}
.page-item {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}
.page-item.pos-left {
  left: 0;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.page-item.pos-right {
  left: 50%;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.setas {
  pointer-events: none;
}
.prev, .next {
  pointer-events: auto;
  transition: opacity 0.3s ease;
}
.seta-inativa {
  opacity: 0.2;
  pointer-events: none;
  cursor: default;
}

.images-group img.stacked-img {
  position: absolute;
  opacity: 0.9;
  width: 60%;
  left: 50%;
  top: 50%;
  z-index: 1;
  transition: opacity 0.3s ease;
}
.images-group img.stacked-img.active-img {
  z-index: 2;
  opacity: 1;
}
.images-group img.stacked-img:nth-child(odd) {
  transform: translate(-50%,-50%) rotate(3deg);
}
.images-group img.stacked-img:nth-child(even) {
  transform: translate(-50%,-50%) rotate(-4deg);
}
.imgs-paginacao {
  position: relative;
  z-index: 10;
  user-select: none;
}
.stacked-txt {
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.stacked-txt.active-txt {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
img.gray {
  filter: grayscale(100%)
}
.post-home div.absolute {
  opacity: 0;
  top: 50%;
  left: 50%;
  width: 90%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.5s ease;
}
.post-home img {
  transition: opacity 0.5s ease;
}
.post-home:hover img {
  opacity: 0.2;
}
.post-home:hover div.absolute {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.post-home div.bg-red {
  position: fixed;
  top: 0;
  left: 0;
  width: 285px;
  opacity: 0;
  pointer-events: none;
  z-index: 9;
  transition: opacity 0.3s ease;
  color: white;
  line-height: 1.2;
}
.post-home:hover div.bg-red {
  opacity: 1;
}
#doodleCanvas {
  cursor: crosshair;
  touch-action: none;
  z-index: 10;
}
.home .grid-2-masonry {
  column-count: 2;
  column-gap: 20px;
}
.home .grid-2-masonry::before {
  display: none;
}
.home iframe {
  aspect-ratio: 16/9;
  width: 100%;
  height: auto;
}
.home h1 {
  font-size: 46px;
  margin-bottom: 0px!important;
  line-height: 1.2;
  -webkit-text-stroke-width: 1.8px;
  -webkit-text-stroke-color: var(--preto);
  color: var(--branco);
  letter-spacing: 0px;

}
.home h1 span {
  -webkit-text-stroke-width: 0px;
  -webkit-text-stroke-color: transparent;
  color: var(--vermelho);
  margin-left: 6px;
}
.home .start-col2 {
  break-before: column;
}
