*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #f5f5f5;
  min-height: 100vh;
  overflow-x: hidden;
}

main {
  overflow: hidden;
}

.brush-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stroke-wrap {
  position: absolute;
  width: 110vw;
  height: calc(70vw * 718 / 1800);
  left: 50%;
  top: 50%;
  transform-origin: center center;
  overflow: hidden;
  min-height: 350px;
  max-height: 450px;
}

.stroke-wrap img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  /*clip-path: inset(0 100% 0 0); se a animação gsap estiver ativa - usar este*/
  clip-path: inset(0 0% 0 0);
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.3));
}

/* pincelada 2 vai da DIREITA para a ESQUERDA - dei lhe um clip diferente */
.stroke-wrap.rtl img {
  /*clip-path: inset(0 0 0 100%); se a animação gsap estiver ativa - usar este*/
  clip-path: inset(0 0 0 0%);
}

/* ─── POSIÇÃO E ROTAÇÃO DE CADA PINCELADA ──────── */

#stroke-1 {
  transform: translate(-50%, -50%) translateY(-25vh) rotate(2deg);
}

#stroke-2 {
  transform: translate(-50%, -50%) translateY(10vh) rotate(-4deg);
}


/* ─── CONTEÚDO POR CIMA  ──────────────────────── */
.page-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #1a1a1a;
  padding: 24px;
}

h1 {
  font-size: clamp(46px, 4vw, 74px);
  text-shadow: 0 0 5px #0000004f;
  text-align: start;
}

p.intro {
  font-size: clamp(16px, 1.5vw, 20px);
  text-align: start;
  margin-top: 16px;
  font-weight: 500;
  color: #181e4bcf;
}

#revista-cover img {
  max-width: 400px;
  width: 100%;
  height: auto;
  box-shadow: 0 0 20px #31313166;
}

#revista-cover svg {
  width: 2rem;
  height: 2rem;
}

#revista-cover .btncircuitos-original {
  padding: 8px;
  background: #ffffff8a;
  border-color: var(--color-heading);
}

@media (min-width: 1400px) {
  #imagem-tematica {
    max-width: 300px;
    position: absolute;
    top: 10%;
    left: 10%;
    min-width: 250px;
    transform: rotate(-20deg);
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.3));
    z-index: 17;
  }
}

@media (max-width: 1399px) {
  #imagem-tematica {
    max-width: 250px;
    position: absolute;
    top: 10%;
    left: 5%;
    transform: rotate(-20deg);
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.3));
    z-index: 20;
  }
}

@media (max-width: 1199px) {
  #imagem-tematica {
    top: 15%;
    left: 5%;
    transform: rotate(0deg)
  }
}


@media (max-width: 768px) {
  .brush-section {
    min-height: 100vh;
  }

  .stroke-wrap {
    height: calc(90vw * 718 / 1800);
    min-height: 250px;
    max-height: 350px;
  }

  #revista-cover img {
    max-width: 300px;
  }

  #revista-cover svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

@media (max-width: 500px) {
  .brush-section {
    min-height: 110vh;
  }

  .stroke-wrap {
    min-height: 85%;
    top: 25%;
  }

  .stroke-wrap img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    clip-path: inset(0 100% 0 0);
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.3));
  }
  .page-content, .page-content .section-base{
    padding-top: 0px;
  }
}
@media (max-width: 500px) {
  .brush-section {
    min-height: fit-content;
  }
}