/* ===========================================================================
   arkēLAB — Efeitos de seção (reutilizáveis)
   Classes p/ seções full-bleed (.session-full). Combine com data-fx (scroll-fx.js).
   Cor da marca: ouro #c8a050 (201,162,109)
   =========================================================================== */

/* ── Ken Burns: zoom lento e contínuo (CSS, independente do scroll) ── */
.fx-kenburns .card__image { overflow: hidden; }
.fx-kenburns .card__media {
  transform-origin: center center;
  animation: fx-kenburns 22s ease-in-out infinite alternate;
}
@keyframes fx-kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.18); }
}

/* ── Pan lateral lento (alternativa ao Ken Burns) ── */
.fx-pan .card__image { overflow: hidden; }
.fx-pan .card__media {
  width: 112%;
  animation: fx-pan 26s ease-in-out infinite alternate;
}
@keyframes fx-pan {
  from { transform: translateX(0); }
  to   { transform: translateX(-10%); }
}

/* ── Sobreposições de cor (aplicar na .card__cover) ─────────────────── */
.card__cover.cover-gold {
  background-color: rgba(201, 162, 109, 0.34);
}
.card__cover.cover-gradient {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.00) 38%,
    rgba(0, 0, 0, 0.78) 100%
  );
}
.card__cover.cover-gold-gradient {
  background: linear-gradient(
    180deg,
    rgba(201, 162, 109, 0.00) 0%,
    rgba(201, 162, 109, 0.35) 55%,
    rgba(0, 0, 0, 0.78) 100%
  );
}
.card__cover.cover-vignette {
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.00) 38%,
    rgba(0, 0, 0, 0.78) 100%
  );
}

/* ── Duotone / filtro de cor na imagem ──────────────────────────────── */
.fx-duotone .card__media {
  filter: grayscale(1) sepia(0.55) saturate(1.5) hue-rotate(-12deg) contrast(1.05);
}

/* ── Grão / textura de filme (por cima da imagem, abaixo do texto) ──── */
.fx-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.10;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Folga para o parallax não mostrar bordas vazias ────────────────── */
.fx-parallax-room .card__image { overflow: hidden; }
.fx-parallax-room .card__media {
  height: 128%;
  top: -14%;
}

/* ===========================================================================
   Bloco de texto do showcase (rótulo + código + título + explicação)
   =========================================================================== */
.fx-demo__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 0.7rem;
}
.fx-demo__label {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #f3e3bb;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}
.fx-demo__code {
  display: inline-block;
  margin: 0.5rem 0 1rem;
  padding: 0.8rem 1.5rem;
  font-family: 'Courier New', monospace;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #f1d488;
  border: 1.5px solid rgba(201, 162, 109, 0.75);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}
.fx-demo__title {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 7.5vw, 6rem);
  line-height: 1.05;
  color: #fff;
  margin: 0;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.72), 0 1px 4px rgba(0, 0, 0, 0.6);
}
.fx-demo__title .gold { color: #e8c86d; }
.fx-demo__desc {
  max-width: 720px;
  margin: 0.8rem 0 0;
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  line-height: 1.5;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

/* Garante que tudo fique contido em cada seção */
.session-full { position: relative; }

/* ===========================================================================
   Rótulo de "tipo de seção" (separador explicativo no showcase)
   =========================================================================== */
.fx-typelabel {
  background: #0b0b0c;
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 7vw, 6rem) 1.5rem;
  border-top: 1px solid rgba(201, 162, 109, 0.25);
  border-bottom: 1px solid rgba(201, 162, 109, 0.25);
}
.fx-typelabel__title {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  color: #fff;
  margin: 0.6rem 0;
}
.fx-typelabel__desc {
  max-width: 760px;
  margin: 0.6rem auto 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}
