@font-face {
  font-family: "Isabella";
  src: url("../fonts/isabella/Isabella.ttf") format("truetype");
}

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

html {
  scroll-behavior: smooth;
}

body {

  background: #000;
  color: #e8e8e8;
  font-family: Georgia, "Times New Roman", serif;
  overflow-x: hidden;
}

.page {
  width: 100%;
  background: #000;

  opacity: 0;
  visibility: hidden;

  transition: opacity .8s ease,
              visibility .8s ease;
}

.page.site-active {
  opacity: 1;
  visibility: visible;
}

img {
  display: block;
  max-width: 100%;
}

section {
  position: relative;
  width: 100%;
  padding: 90px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

/* LOADER - LOGO CLICÁVEL */

#loader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  position: relative;
  width: min(520px, 85vw);
  height: min(520px, 85vw);
  cursor: pointer;
  animation: loaderSpin 6s linear infinite;
}

.logo-half {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: clip-path 1.2s ease, transform 1.2s ease, opacity 1.2s ease;
}

.logo-half img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 0, 0, .35));
}

.logo-left {
  clip-path: inset(0 50% 0 0);
}

.logo-right {
  clip-path: inset(0 0 0 50%);
}

/* racha no meio */
#loader.breaking .loader-logo {
  animation: none;
}

#loader.breaking .logo-left {
  transform: rotate(-8deg) translateY(-18px);
  opacity: 0;
}

#loader.breaking .logo-right {
  transform: rotate(8deg) translateY(18px);
  opacity: 0;
}

#loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .7s ease, visibility .7s ease;
}

@keyframes loaderSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* SEAL GATE */

#sealGate {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9998;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  overflow: hidden;

  transition: opacity .8s ease,
  visibility 8s ease;
}

/* QUANDO ATIVAR */

#sealGate.active {
  opacity: 1;
  visibility: visible;
}

#sealGate.shake {
  animation: gateShake .45s ease;
}

@keyframes gateShake {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-8px, 4px); }
  40% { transform: translate(8px, -4px); }
  60% { transform: translate(-6px, 3px); }
  80% { transform: translate(6px, -3px); }
  100% { transform: translate(0, 0); }
}
/* CORREDOR / LUZ */

.tunnel-bg {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.tunnel-bg img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: .18;

  filter: blur(4px);

  transform: scale(.45);

  animation: tunnelWalk 4s ease forwards;
}

/* SENSAÇÃO DE CAMINHAR PELO CORREDOR */

@keyframes tunnelWalk {
  from {
    transform: scale(.25);
    opacity: 0;
  }

  to {
    transform: scale(1.15);
    opacity: .22;
  }
}

/* CAIXA DE SELAMENTO */

.seal-box {
  position: relative;
  z-index: 2;

  width: min(760px, 90vw);

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* TEXTO DO SELAMENTO */

#sealText {
  font-family: 'Courier New', Courier, monospace;

  font-size: clamp(.95rem, 1.4vw, 1.2rem);

  line-height: 2;

  letter-spacing: 1px;

  color: rgba(255, 255, 255, .88);

  max-width: 680px;

  min-height: 220px;
}

/* BOTÕES */

.seal-actions {
  margin-top: 40px;

  display: flex;
  gap: 20px;

  opacity: 0;
  pointer-events: none;

  transition: opacity .6s ease;
}

/* QUANDO LIBERAR OS BOTÕES */

.seal-actions.active {
  opacity: 1;
  pointer-events: all;
}

.seal-actions button {
  background: transparent;

  border: 1px solid #ff1010;

  color: #ff1010;

  padding: 12px 26px;

  font-size: .75rem;

  letter-spacing: 4px;

  cursor: pointer;

  transition: .3 ease;
}

.seal-actions button:hover {
  background: #ff1010;
  color: #000;
}

/* RECUSA - DESPREGANDO DA TELA */

.seal-box.refused #sealText {
  animation: fallText 2s cubic-bezier(.55, .02, .9, .4) forwards;
  transform-origin: top left;
}

.seal-box.refused .seal-actions {
  animation: fallButtons 1.8s cubic-bezier(.55, .02, .9, .4) forwards;
  transform-origin: top center;
}

@keyframes fallText {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    filter: blur(0);
  }

  20% {
    transform: translateY(20px) rotate(-2deg);
  }

  45% {
    transform: translateY(160px) rotate(8deg);
    opacity: .9;
  }

  100% {
    transform: translateY(120vh) rotate(28deg);
    opacity: 0;
    filter: blur(5px);
  }
}

@keyframes fallButtons {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    filter: blur(0);
  }

  25% {
    transform: translateY(40px) rotate(3deg);
  }

  55% {
    transform: translateY(220px) rotate(-12deg);
    opacity: .85;
  }

  100% {
    transform: translateY(120vh) rotate(-35deg);
    opacity: 0;
    filter: blur(5px);
  }
}

/* MENSAGEM DE RETORNO */

#returnMessage {
  position: fixed;
  inset: 0;
  z-index: 9997;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(circle at center, rgba(255, 0, 0, .08), transparent 35%),
    #000;

  opacity: 0;
  visibility: hidden;

  transition: opacity .8s ease, visibility .8s ease;
}

#returnMessage.active {
  opacity: 1;
  visibility: visible;
}

#returnMessage.fall .return-brand {
  animation: returnFall 1.4s ease forwards;
}

#returnMessage.fall .return-text {
  animation: returnFall 1.2s ease forwards;
}

.return-brand {
  font-family: "Isabella", serif;
  font-size: clamp(4rem, 9vw, 10rem);

  color: rgba(180, 20, 20, .88);

  opacity: 0;

  text-shadow:
    0 0 4px rgba(255, 0, 0, .18),
    0 0 10px rgba(255, 0, 0, .12),
    0 0 20px rgba(255, 0, 0, .08);

  animation:
    returnFade 1.2s ease forwards,
    neonPulse 3s ease-in-out infinite;
}

.return-text {
  margin-top: 20px;

  font-size: 1rem;
  letter-spacing: 4px;
  color: rgba(255, 40, 40, .78);

  opacity: 0;

  animation: returnFade 1.2s ease forwards;
  animation-delay: .4s;
}

@keyframes returnFade {
  to {
    opacity: 1;
  }
}

@keyframes neonPulse {
  0%, 100% {
    text-shadow:
      0 0 4px rgba(255, 0, 0, .14),
      0 0 8px rgba(255, 0, 0, .08),
      0 0 14px rgba(255, 0, 0, .05);
  }

  50% {
    text-shadow:
      0 0 6px rgba(255, 0, 0, .22),
      0 0 14px rgba(255, 0, 0, .14),
      0 0 22px rgba(255, 0, 0, .08);
  }
}

/* HERO */

.hero {
  min-height: 100vh;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #000;
  overflow: hidden;
  border-bottom: none;
}

/* IMAGEM CENTRAL */

.hero-img {
  width: min(680px, 46vw);
  opacity: .95;

  filter:
    contrast(1.05)
    brightness(.92);

  z-index: 2;
}

/* BLOCO ESQUERDO */

.hero-left {
  position: absolute;

  left: 7%;
  top: 52%;

  transform: translateY(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 42px;

  z-index: 3;
}

.hero-cross {
  width: 54px;
  opacity: .95;
}

.hero-selo {
  font-family: "Isabella", serif;

  font-size: clamp(3.6rem, 5.2vw, 5.8rem);

  color: #ff1010;

  line-height: .8;

  text-shadow:
    0 0 8px rgba(255, 0, 0, .18),
    0 0 20px rgba(255, 0, 0, .12);
}

/* BLOCO DIREITO */

.hero-right {
  position: absolute;

  right: 7%;
  top: 50%;

  transform: translateY(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 48px;

  z-index: 3;
}

.hero-right h1 {
  color: #ff1010;

  font-family: "Isabella";
  font-size: clamp(2.8rem, 4.2vw, 5rem);

  line-height: .82;

  text-align: center;

  font-weight: normal;

  letter-spacing: 1px;

  text-shadow:
    0 0 8px rgba(255, 0, 0, .18),
    0 0 20px rgba(255, 0, 0, .10);
}

/* BOTÃO SHOP */

.hero-shop {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 220px;
  height: 88px;

  background: #ff1010 !important;

  color: #000 !important;

  text-decoration: none;

  font-family: "Isabella";

  font-size: clamp(2.8rem, 4vw, 4.8rem);

  line-height: .8;

  transition: .3s ease;
}

.hero-shop:hover {
  transform: scale(1.04);
  background: #ff2d2d !important;
}

/* PRODUCTS */

.product {
  min-height: 100vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 22px;
}

.product h2 {
  font-size: 1.6rem;
  letter-spacing: 2px;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.product .producer {
  font-size: .85rem;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.product-stage {
  position: relative;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  min-height: 390px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-img {
  width: min(520px, 82vw);
  z-index: 2;
}

.cross.side {
  width: 42px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .8;
}

.cross.side.left {
  left: 2%;
}

.cross.side.right {
  right: 2%;
}

.product-info {
  width: min(760px, 100%);
  margin: -15px auto 0;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: end;
  gap: 20px;
}

.download {
  text-align: left;
  font-size: 1.05rem;
  font-weight: bold;
  line-height: 1.2;
}

.download span {
  font-size: .9rem;
}

.price {
  text-align: right;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 1px;
}

.mini-buttons {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-left: 170px;
}

.mini-buttons button {
  background: transparent;
  padding: 6px 10px;
  font-size: .85rem;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 2px;
}

/* CORES */

.product-concreto h2,
.product-concreto .producer,
.product-concreto .download,
.product-concreto .price {
  color: #d8d8d8;
}

.product-concreto .mini-buttons button {
  border: 1px solid #d8d8d8;
  color: #d8d8d8;
}

.product-sangue h2,
.product-sangue .producer,
.product-sangue .download {
  color: #ff2020;
}

.product-sangue .price {
  color: #8d8d8d;
}

.product-sangue .mini-buttons button {
  border: 1px solid #ff2020;
  color: #ff2020;
}

.product-ouro h2,
.product-ouro .producer,
.product-ouro .download,
.product-ouro .price {
  color: #d8bd7a;
}

.product-ouro .mini-buttons button {
  border: 1px solid #d8bd7a;
  color: #d8bd7a;
}

/* BREAK */

.visual-break {
  min-height: 55vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.visual-break img {
  width: 210px;
  opacity: .45;
  animation: spin 24s linear infinite;
}

.visual-break p {
  color: #ff1010;
  margin-top: 18px;
  letter-spacing: 8px;
  font-size: .7rem;
}

/* MANIFESTO */

.manifesto {
  min-height: 85vh;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 35px;
  align-items: center;
}

.manifesto .tag {
  color: #ff1010;
  font-size: .8rem;
  letter-spacing: 4px;
}

.manifesto h2 {
  font-size: clamp(1.4rem, 4vw, 3rem);
  line-height: .95;
  margin-top: 16px;
  text-transform: uppercase;
}

.manifesto img {
  width: min(340px, 70vw);
  justify-self: center;
  opacity: .88;
  animation: spin 26s linear infinite;
}

.manifesto p {
  grid-column: 1 / -1;
  max-width: 700px;
  font-size: .85rem;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, .65);
  text-transform: uppercase;
}

/* BOOK */

.book {
  min-height: 100vh;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 55px;
  align-items: center;
}

.book-img {
  width: min(330px, 75vw);
  justify-self: center;
}

.book-text h2 {
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: .85;
  color: #dcdcdc;
  margin-bottom: 25px;
}

.book-text p {
  color: #ff1010;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.book-text ul {
  list-style: none;
  font-size: .85rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .72);
}

.book-btn {
  display: inline-block;
  margin-top: 25px;
  color: #ff1010;
  border-bottom: 1px solid #ff1010;
  text-decoration: none;
  letter-spacing: 3px;
  font-size: .85rem;
}

/* FOOTER */

footer {
  padding: 70px 24px 95px;
  text-align: center;
  font-size: .78rem;
  line-height: 1.8;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .68);
}

footer span {
  display: block;
  margin-top: 35px;
  color: #ff1010;
}

/* SELO */

.selo-section {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.selo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.selo-title {
    font-family: "Isabella", serif;
    font-size: clamp(5rem, 14vw, 14rem);
    color: #dcdcdc;
    line-height: .8;
    letter-spacing: 2px;
    opacity: .95;
    text-shadow:
    0 0 20px rgba(255, 255, 255, .08),
    0 0 40px rgba(255, 255, 255, .04) ;
}

.selo-subtitle{
    margin-top: 20px;
    font-size: 1rem;
    letter-spacing: 8px;
    color: #ff1010;
}


/* ANIMAÇÕES */

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: .9s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

/* SAÍDA CINEMÁTICA HOME → SHOP */

.page.leaving-shop .hero-img {
  animation: heroSucked 1.1s cubic-bezier(.77, 0, .18, 1) forwards;
}

.page.leaving-shop .hero-left {
  animation: leftExit 1s cubic-bezier(.77, 0, .18, 1) forwards;
}

.page.leaving-shop .hero-right {
  animation: rightExit 1s cubic-bezier(.77, 0, .18, 1) forwards;
}

.page.leaving-shop section:not(.hero) {
  animation: fadeDown .8s ease forwards;
}

@keyframes heroSucked {
  to {
    transform: scale(1.35) translateY(-40px);
    opacity: 0;
    filter: blur(12px) brightness(.3);
  }
}

@keyframes leftExit {
  to {
    transform: translate(-180px, -50%) rotate(-12deg);
    opacity: 0;
    filter: blur(6px);
  }
}

@keyframes rightExit {
  to {
    transform: translate(180px, -50%) rotate(12deg);
    opacity: 0;
    filter: blur(6px);
  }
}

@keyframes fadeDown {
  to {
    opacity: 0;
    transform: translateY(80px);
    filter: blur(8px);
  }
}

/* OVERLAY MAIS FORTE */

.transition-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 0, 0, .18), transparent 35%),
    #000;
  z-index: 999999;

  transform: scaleY(0);
  transform-origin: bottom;

  pointer-events: none;
}

.transition-overlay.active {
  animation: pageTransition 1.8s cubic-bezier(.77, 0, .18, 1) forwards;
}

@keyframes pageTransition {
  0% {
    transform: scaleY(0);
  }

  70% {
    transform: scaleY(1);
  }

  100% {
    transform: scaleY(1);
  }
}

/* MOBILE */

@media (max-width: 768px){

  .hero{
    min-height: 62vh;
    padding: 40px 10px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .hero-img{
    width: 58vw;
    max-width: 260px;
  }

  .hero-left{
    position: absolute;
    left: 4%;
    top: 50%;
    transform: translateY(-50%);
    gap: 22px;
  }

  .hero-cross{
    width: 28px;
  }

  .hero-selo{
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .hero-right{
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    gap: 24px;
  }

  .hero-right h1{
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-shop{
    width: 105px;
    height: 48px;
    font-size: 2rem;
  }

  .return-brand{
    font-size: clamp(1.7rem, 8vw, 3rem);
    white-space: nowrap;
    max-width: 90vw;
    text-align: center;
    line-height: .8;
  }

  .return-text{
    font-size: .75rem;
    letter-spacing: 4px;
    text-align: center;
    padding: 0 20px;
  }

  footer{
    padding: 20px 20px 45px;
    font-size:.7rem;
    letter-spacing:1px;
    word-break:break-word;
  }

}

#loader.hide,
#sealGate:not(.active),
#returnMessage:not(.active),
.transition-overlay:not(.active){
  pointer-events: none;
}

.hero-shop{
  position: relative;
  z-index: 10;
}