/*
Theme Name: Enfold
Description: <strong>A superflexible and responsive Business Theme by Kriesi</strong> - <br/> Update notifications available on Facebook and via newsletter:<br/> - <a href='http://www.facebook.com/pages/Kriesi/333648177216'>Join the Facebook Group</a> - <a href='http://www.kriesi.at/newsletter'>Subscribe to our Newsletter</a>
Version: 7.1.3
Author: Kriesi
Author URI: https://kriesi.at
License: Themeforest Split Licence
License URI: -
Theme URI: www.kriesi.at/themes/enfold/
Envato_ID: 4519990
*/


/*
* PLEASE DO NOT EDIT THIS FILE!
*
* This file is only in your themefolder for WordPress to recognize basic theme data like name and version
* CSS Rules in this file will not be used by the theme.
* Instead use the custom.css file that is located in your themes /css/ folder to add your styles.
* You can copy a style rule from any of your css files and paste it in custom.css and
* it will override the original style. If you just want to add small css snippets you might also
* want to consider to add it to the designated CSS option field in your themes backend at: Theme Options->General Styling
*/



/*
Theme Name: Acervo FACEPE
Theme URI: https://acervo.facepe.br
Author: FACEPE
Author URI: https://facepe.br
Description: Tema para o Acervo Digital da FACEPE - Fundação de Amparo à Ciência e Tecnologia de Pernambuco
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: acervo-facepe
Tags: custom-background, custom-logo, featured-images, full-width-template
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
*/

/* ========== RESET & BASE ========== */
:root {
  --bg: #0a0a0a;
  --fg: #f5f5f5;
  --primary: hsl(153, 100%, 33%);
  --primary-dark: hsl(153, 96%, 28%);
  --accent-blue: hsl(207, 72%, 38%);
  --gold: hsl(43, 100%, 50%);
  --gold-dark: hsl(30, 100%, 50%);
  --ink: hsl(240, 14%, 10%);
  --card-bg: hsl(0, 0%, 8%);
  --border-color: hsl(0, 0%, 18%);
  --muted-fg: hsl(0, 0%, 64%);
  --gradient-hero: linear-gradient(135deg, hsl(173, 60%, 54%) 0%, hsl(153, 96%, 28%) 70%, hsl(220, 52%, 42%) 100%);
  --gradient-gold: linear-gradient(135deg, hsl(43, 100%, 50%) 0%, hsl(30, 100%, 50%) 50%, hsl(20, 100%, 48%) 100%);
  --gradient-pibic: linear-gradient(135deg, hsl(48, 90%, 75%) 0%, hsl(45, 85%, 65%) 50%, hsl(40, 80%, 55%) 100%);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-glow-green: 0 0 30px rgba(0, 165, 80, 0.3);
  --shadow-glow-gold: 0 0 30px rgba(255, 215, 0, 0.35);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.65s;
  --radius: 0.75rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }

/* ========== GLASS ========== */
.glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.12);
}

.glass-light {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.9);
}

/* ========== ANCHOR NAV ========== */
.anchor-nav {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.5s var(--ease);
}

.anchor-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.anchor-nav__tooltip {
  position: absolute;
  right: 100%;
  margin-right: 0.75rem;
  white-space: nowrap;
  border-radius: 0.5rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-0.5rem);
  transition: all 0.3s var(--ease);
  pointer-events: none;
}

.anchor-nav__item:hover .anchor-nav__tooltip {
  opacity: 1;
  transform: translateX(0);
}

.anchor-nav__dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1rem;
  transition: all 0.3s var(--ease);
}

.anchor-nav__dot--active {
  background: var(--primary);
  transform: scale(1.1);
  box-shadow: var(--shadow-glow-green);
}

.anchor-nav__dot--active .anchor-nav__ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.3;
}

.anchor-nav__line {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 1px;
  background: var(--border-color);
  z-index: -1;
}

/* ========== HERO / PARALLAX ========== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #111;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  transition: all 0.7s var(--ease);
  z-index: 1;
}

.hero__flash {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: rgba(255,255,255,0.1);
  pointer-events: none;
  animation: fadeOut 0.15s ease forwards;
}

.hero__counter {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 20;
  color: rgba(255,255,255,0.5);
  font-family: monospace;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}

.hero__dots {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.3);
  transition: all 0.3s var(--ease);
}

.hero__dot--active {
  background: var(--primary);
  transform: scale(1.5);
  height: 1.5rem;
}

.hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 2rem 4rem;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
}

.hero__card {
  max-width: 28rem;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  animation: fadeUp 0.5s var(--ease) forwards;
}

.hero__badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero__name {
  font-size: 3rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
}

.hero__sub {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

.hero__desc {
  font-size: 0.875rem;
  color: rgba(23,23,23,0.7);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero__btn-primary {
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  background: var(--ink);
  color: var(--fg);
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.2s var(--ease);
}

.hero__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero__btn-secondary {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(23,23,23,0.4);
  transition: color 0.2s;
}

.hero__btn-secondary:hover { color: var(--ink); }

.hero__info {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  width: 10rem;
  animation: slideInLeft 0.5s var(--ease) 0.15s forwards;
  opacity: 0;
}

@media (min-width: 1024px) {
  .hero__info { display: flex; }
  .hero__name { font-size: 3.5rem; }
}

.hero__info-card {
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hero__info-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(23,23,23,0.4);
  margin-bottom: 0.25rem;
}

.hero__info-value {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--ink);
}

.hero__info-stars { color: #EAB308; font-size: 0.75rem; }
.hero__info-curator { font-size: 0.75rem; color: rgba(23,23,23,0.5); margin-top: 0.25rem; }
.hero__info-items { font-size: 0.625rem; color: rgba(23,23,23,0.4); margin-top: 0.125rem; }
.hero__info-overview { font-size: 0.75rem; color: rgba(23,23,23,0.7); line-height: 1.5; }

/* Hero arrows */
.hero__arrows {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 1rem;
}

.hero__arrow {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: all 0.2s var(--ease);
}

.hero__arrow:hover { background: rgba(0,165,80,0.2); }
.hero__arrow:disabled { opacity: 0.3; pointer-events: none; }

/* Hero bottom bar */
.hero__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: var(--primary);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  z-index: 20;
}

.hero__bar-dots {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.hero__bar-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: all 0.3s var(--ease);
}

.hero__bar-dot--active {
  background: white;
  transform: scale(1.5) translateY(-3px);
}

.hero__progress {
  margin-left: auto;
  width: 8rem;
  height: 0.25rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}

.hero__progress-fill {
  height: 100%;
  background: white;
  border-radius: 9999px;
  transition: width 0.5s var(--ease);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  animation: bounceGentle 2s infinite;
}

/* ========== SECTION TRANSITIONS ========== */
.section-transition { position: relative; margin-top: -1px; margin-bottom: -1px; z-index: 10; overflow: hidden; }
.section-transition--wave { height: 6rem; }
.section-transition--angle { height: 5rem; }
.section-transition--fade { height: 8rem; }
.section-transition svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ========== MAGAZINE CAROUSEL ========== */
.magazine {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  overflow: hidden;
  background: var(--gradient-hero);
}

.magazine__stars {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
  animation: twinkle 8s infinite;
  background-image:
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, white, transparent),
    radial-gradient(1px 1px at 80% 20%, white, transparent);
}

.magazine__header {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-bottom: 3rem;
}

.magazine__title {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) { .magazine__title { font-size: 3.75rem; } }

.magazine__subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
}

/* 3D Carousel */
.magazine__stage {
  position: relative;
  width: 100%;
  max-width: 80rem;
  height: 500px;
  perspective: 2000px;
}

.magazine__ring {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.magazine__item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 280px;
  height: 400px;
  cursor: pointer;
  transition: all 0.8s var(--ease);
  transform-style: preserve-3d;
}

@media (min-width: 768px) {
  .magazine__item { width: 340px; height: 480px; }
}

.magazine__cover {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.5s;
}

.magazine__cover--active {
  box-shadow: 0 30px 80px rgba(255,215,0,0.35), 0 0 0 2px rgba(255,215,0,0.55) inset;
}

.magazine__cover--inactive {
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}

.magazine__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-blue));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--fg);
}

.magazine__placeholder-num {
  font-size: 3.75rem;
  font-weight: 900;
  opacity: 0.3;
}

.magazine__placeholder-label {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  opacity: 0.5;
}

.magazine__read-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.magazine__read-btn--visible { opacity: 1; }

.magazine__read-btn a {
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.875rem;
  transition: all 0.3s var(--ease);
}

.magazine__read-btn a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-gold);
}

/* Magazine dots & controls */
.magazine__dots {
  position: relative;
  z-index: 20;
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 16rem;
  margin-top: 2rem;
}

.magazine__dot-btn {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: all 0.3s var(--ease);
}

.magazine__dot-btn--active {
  background: var(--gold);
  transform: scale(1.5);
}

.magazine__controls {
  position: relative;
  z-index: 20;
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.magazine__ctrl-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.magazine__ctrl-btn:hover { background: rgba(255,255,255,0.1); }

/* ========== JORNADA PIBIC ========== */
.pibic {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  padding: 5rem 1.5rem;
  background: var(--gradient-pibic);
}

@media (min-width: 768px) { .pibic { padding: 5rem 3rem; } }

.pibic__decor-top {
  position: absolute;
  top: -10rem;
  right: -10rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: rgba(255,215,0,0.1);
  filter: blur(48px);
  pointer-events: none;
}

.pibic__decor-bottom {
  position: absolute;
  bottom: -10rem;
  left: -10rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: rgba(0,165,80,0.1);
  filter: blur(48px);
  pointer-events: none;
}

.pibic__header {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-bottom: 4rem;
  transition: all 0.7s var(--ease);
}

.pibic__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgba(23,23,23,0.1);
  color: rgba(23,23,23,0.7);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pibic__title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 1rem;
}

@media (min-width: 768px) { .pibic__title { font-size: 4.5rem; } }

.pibic__title-accent {
  display: block;
  background: linear-gradient(90deg, var(--primary), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pibic__desc {
  font-size: 1.125rem;
  color: rgba(23,23,23,0.6);
  max-width: 42rem;
  margin: 0 auto;
}

/* Stats */
.pibic__stats {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto 4rem;
}

@media (min-width: 768px) {
  .pibic__stats { grid-template-columns: repeat(4, 1fr); }
}

.pibic__stat {
  background: rgba(255,255,255,0.9);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s var(--ease);
}

.pibic__stat:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.pibic__stat-icon { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; }
.pibic__stat-value { font-size: 1.5rem; font-weight: 900; color: var(--ink); }
@media (min-width: 768px) { .pibic__stat-value { font-size: 1.875rem; } }
.pibic__stat-label { font-size: 0.75rem; color: rgba(23,23,23,0.5); font-weight: 500; margin-top: 0.25rem; }

/* 3D Carousel */
.pibic__carousel {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.pibic__carousel-stage {
  position: relative;
  width: 200px;
  height: 250px;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.pibic__carousel-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: spinSlow 20s linear infinite;
  transform: perspective(1000px) rotateX(-16deg);
}

.pibic__carousel-ring:hover {
  animation-play-state: paused;
}

.pibic__edition {
  position: absolute;
  inset: 0;
  transition: transform 0.3s;
}

.pibic__edition:hover { transform: scale(1.1) !important; }

.pibic__edition-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.pibic__edition-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pibic__edition-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--accent-blue));
}

.pibic__edition-year {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(23,23,23,0.8);
  color: var(--fg);
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

/* About box */
.pibic__about {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
}

.pibic__about-card {
  background: rgba(255,255,255,0.9);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

@media (min-width: 768px) { .pibic__about-card { padding: 3rem; } }

.pibic__about-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .pibic__about-inner { flex-direction: row; }
}

.pibic__about-text { flex: 1; }
.pibic__about-title { font-size: 1.5rem; font-weight: 900; color: var(--ink); margin-bottom: 0.75rem; }
.pibic__about-desc { color: rgba(23,23,23,0.6); line-height: 1.6; margin-bottom: 1rem; }

.pibic__about-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.pibic__btn-green {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.2s var(--ease);
}

.pibic__btn-green:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-green);
}

.pibic__btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  border: 2px solid rgba(23,23,23,0.2);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.2s var(--ease);
}

.pibic__btn-outline:hover { background: rgba(23,23,23,0.05); }

.pibic__about-icon {
  flex-shrink: 0;
  width: 8rem;
  height: 8rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }/* ========== SCROLL SNAP ENTRE SEÇÕES ==========
  * Faz a rolagem "encaixar" na próxima seção em vez de
  * rolar livremente dentro do carrossel da revista.
  */
 
 html {
   scroll-behavior: smooth;
   scroll-padding-top: 0;
 }
 
 .acervo-snap {
   scroll-snap-type: y mandatory;
   scroll-behavior: smooth;
 }
 
 .acervo-snap__section {
  height: 100vh;              /* Ocupa 100% da altura da viewport */
  min-height: 100vh;
  display: flex;              /* Flex para centralizar conteúdo */
  flex-direction: column;
  justify-content: center;    /* Centraliza verticalmente */
  align-items: center;        /* Centraliza horizontalmente */
  overflow: hidden;           /* Impede scroll interno */
}
 
 /* Garante que o carrossel não capture a roda do mouse */
 #time-machine,
 #time-machine .magazine__stage {
   touch-action: pan-y;
   overscroll-behavior: contain;
 }
 
 /* Em telas pequenas, snap proximity é mais confortável */
 @media (max-width: 768px) {
   .acervo-snap {
     scroll-snap-type: y proximity;
   }
 }
 
 /* Respeita preferência por movimento reduzido */
 @media (prefers-reduced-motion: reduce) {
   html,
   .acervo-snap {
     scroll-behavior: auto;
     scroll-snap-type: none;
   }
 }
 
 
 
 /*
 Theme Name: Acervo FACEPE
 Theme URI: https://acervo.facepe.br
 Author: FACEPE
 Author URI: https://facepe.br
 Description: Tema para o Acervo Digital da FACEPE - Fundação de Amparo à Ciência e Tecnologia de Pernambuco
 Version: 1.0.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: acervo-facepe
 Tags: custom-background, custom-logo, featured-images, full-width-template
 Requires at least: 6.0
 Tested up to: 6.5
 Requires PHP: 7.4
 */
 
 /* ========== RESET & BASE ========== */
 :root {
   --bg: #0a0a0a;
   --fg: #f5f5f5;
   --primary: hsl(153, 100%, 33%);
   --primary-dark: hsl(153, 96%, 28%);
   --accent-blue: hsl(207, 72%, 38%);
   --gold: hsl(43, 100%, 50%);
   --gold-dark: hsl(30, 100%, 50%);
   --ink: hsl(240, 14%, 10%);
   --card-bg: hsl(0, 0%, 8%);
   --border-color: hsl(0, 0%, 18%);
   --muted-fg: hsl(0, 0%, 64%);
   --gradient-hero: linear-gradient(135deg, hsl(173, 60%, 54%) 0%, hsl(153, 96%, 28%) 70%, hsl(220, 52%, 42%) 100%);
   --gradient-gold: linear-gradient(135deg, hsl(43, 100%, 50%) 0%, hsl(30, 100%, 50%) 50%, hsl(20, 100%, 48%) 100%);
   --gradient-pibic: linear-gradient(135deg, hsl(48, 90%, 75%) 0%, hsl(45, 85%, 65%) 50%, hsl(40, 80%, 55%) 100%);
   --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
   --shadow-glow-green: 0 0 30px rgba(0, 165, 80, 0.3);
   --shadow-glow-gold: 0 0 30px rgba(255, 215, 0, 0.35);
   --ease: cubic-bezier(0.4, 0, 0.2, 1);
   --dur: 0.65s;
   --radius: 0.75rem;
 }
 
 *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
 html { scroll-behavior: smooth; }
 
 body {
   font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
   background: var(--bg);
   color: var(--fg);
   overflow-x: hidden;
   line-height: 1.6;
 }
 
 a { text-decoration: none; color: inherit; }
 button { cursor: pointer; border: none; background: none; font-family: inherit; }
 img { max-width: 100%; display: block; }
 
 /* ========== GLASS ========== */
 .glass {
   background: rgba(255,255,255,0.08);
   backdrop-filter: blur(20px) saturate(1.4);
   -webkit-backdrop-filter: blur(20px) saturate(1.4);
   border: 1px solid rgba(255,255,255,0.12);
 }
 
 .glass-light {
   background: rgba(255,255,255,0.75);
   backdrop-filter: blur(22px) saturate(1.4);
   -webkit-backdrop-filter: blur(22px) saturate(1.4);
   border: 1px solid rgba(255,255,255,0.9);
 }
 
 /* ========== ANCHOR NAV ========== */
 .anchor-nav {
   position: fixed;
   right: 1.5rem;
   top: 50%;
   transform: translateY(-50%);
   z-index: 999;
   display: flex;
   flex-direction: column;
   gap: 0.75rem;
   transition: all 0.5s var(--ease);
 }
 
 .anchor-nav__item {
   position: relative;
   display: flex;
   align-items: center;
   justify-content: flex-end;
   gap: 0.75rem;
 }
 
 .anchor-nav__tooltip {
   position: absolute;
   right: 100%;
   margin-right: 0.75rem;
   white-space: nowrap;
   border-radius: 0.5rem;
   padding: 0.375rem 0.75rem;
   font-size: 0.875rem;
   font-weight: 500;
   opacity: 0;
   transform: translateX(-0.5rem);
   transition: all 0.3s var(--ease);
   pointer-events: none;
 }
 
 .anchor-nav__item:hover .anchor-nav__tooltip {
   opacity: 1;
   transform: translateX(0);
 }
 
 .anchor-nav__dot {
   position: relative;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 2.5rem;
   height: 2.5rem;
   border-radius: 50%;
   font-size: 1rem;
   transition: all 0.3s var(--ease);
 }
 
 .anchor-nav__dot--active {
   background: var(--primary);
   transform: scale(1.1);
   box-shadow: var(--shadow-glow-green);
 }
 
 .anchor-nav__dot--active .anchor-nav__ping {
   position: absolute;
   inset: 0;
   border-radius: 50%;
   border: 2px solid var(--primary);
   animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
   opacity: 0.3;
 }
 
 .anchor-nav__line {
   position: absolute;
   right: 1.25rem;
   top: 1.25rem;
   bottom: 1.25rem;
   width: 1px;
   background: var(--border-color);
   z-index: -1;
 }
 
 /* ========== HERO / PARALLAX ========== */
 .hero {
   position: relative;
   width: 100%;
   min-height: 100vh;
   overflow: hidden;
   display: flex;
   align-items: center;
   background: #111;
 }
 
 .hero__gradient {
   position: absolute;
   inset: 0;
   transition: all 0.7s var(--ease);
   z-index: 1;
 }
 
 .hero__flash {
   position: absolute;
   inset: 0;
   z-index: 30;
   background: rgba(255,255,255,0.1);
   pointer-events: none;
   animation: fadeOut 0.15s ease forwards;
 }
 
 .hero__counter {
   position: absolute;
   top: 1.5rem;
   left: 1.5rem;
   z-index: 20;
   color: rgba(255,255,255,0.5);
   font-family: monospace;
   font-size: 0.875rem;
   letter-spacing: 0.1em;
 }
 
 .hero__dots {
   position: absolute;
   left: 1.5rem;
   top: 50%;
   transform: translateY(-50%);
   z-index: 20;
   display: flex;
   flex-direction: column;
   gap: 0.5rem;
 }
 
 .hero__dot {
   width: 0.5rem;
   height: 0.5rem;
   border-radius: 9999px;
   background: rgba(255,255,255,0.3);
   transition: all 0.3s var(--ease);
 }
 
 .hero__dot--active {
   background: var(--primary);
   transform: scale(1.5);
   height: 1.5rem;
 }
 
 .hero__content {
   position: relative;
   z-index: 10;
   width: 100%;
   display: flex;
   align-items: center;
   padding: 2rem 4rem;
 }
 
 .hero__inner {
   display: flex;
   align-items: center;
   gap: 2rem;
   width: 100%;
   max-width: 80rem;
   margin: 0 auto;
 }
 
 .hero__card {
   max-width: 28rem;
   padding: 2rem;
   border-radius: 1rem;
   box-shadow: var(--shadow-card);
   animation: fadeUp 0.5s var(--ease) forwards;
 }
 
 .hero__badge {
   display: inline-block;
   padding: 0.25rem 0.75rem;
   border-radius: 9999px;
   font-size: 0.75rem;
   font-weight: 700;
   margin-bottom: 0.75rem;
 }
 
 .hero__name {
   font-size: 3rem;
   font-weight: 900;
   color: var(--ink);
   line-height: 1;
 }
 
 .hero__sub {
   font-size: 1.125rem;
   font-weight: 700;
   margin-top: 0.25rem;
   margin-bottom: 1rem;
 }
 
 .hero__desc {
   font-size: 0.875rem;
   color: rgba(23,23,23,0.7);
   line-height: 1.6;
   margin-bottom: 1.25rem;
 }
 
 .hero__actions {
   display: flex;
   align-items: center;
   gap: 0.75rem;
   flex-wrap: wrap;
 }
 
 .hero__btn-primary {
   padding: 0.625rem 1.25rem;
   border-radius: 9999px;
   background: var(--ink);
   color: var(--fg);
   font-weight: 700;
   font-size: 0.875rem;
   transition: all 0.2s var(--ease);
 }
 
 .hero__btn-primary:hover {
   transform: translateY(-2px);
   box-shadow: 0 10px 30px rgba(0,0,0,0.3);
 }
 
 .hero__btn-secondary {
   font-size: 0.875rem;
   font-weight: 600;
   color: rgba(23,23,23,0.4);
   transition: color 0.2s;
 }
 
 .hero__btn-secondary:hover { color: var(--ink); }
 
 .hero__info {
   display: none;
   flex-direction: column;
   gap: 0.75rem;
   width: 10rem;
   animation: slideInLeft 0.5s var(--ease) 0.15s forwards;
   opacity: 0;
 }
 
 @media (min-width: 1024px) {
   .hero__info { display: flex; }
   .hero__name { font-size: 3.5rem; }
 }
 
 .hero__info-card {
   padding: 1rem;
   border-radius: 0.75rem;
   box-shadow: 0 10px 30px rgba(0,0,0,0.15);
 }
 
 .hero__info-label {
   font-size: 0.75rem;
   font-weight: 700;
   color: rgba(23,23,23,0.4);
   margin-bottom: 0.25rem;
 }
 
 .hero__info-value {
   font-size: 1.125rem;
   font-weight: 900;
   color: var(--ink);
 }
 
 .hero__info-stars { color: #EAB308; font-size: 0.75rem; }
 .hero__info-curator { font-size: 0.75rem; color: rgba(23,23,23,0.5); margin-top: 0.25rem; }
 .hero__info-items { font-size: 0.625rem; color: rgba(23,23,23,0.4); margin-top: 0.125rem; }
 .hero__info-overview { font-size: 0.75rem; color: rgba(23,23,23,0.7); line-height: 1.5; }
 
 /* Hero arrows */
 .hero__arrows {
   position: absolute;
   bottom: 5rem;
   left: 50%;
   transform: translateX(-50%);
   z-index: 20;
   display: flex;
   gap: 1rem;
 }
 
 .hero__arrow {
   width: 2.5rem;
   height: 2.5rem;
   border-radius: 50%;
   color: var(--fg);
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.125rem;
   transition: all 0.2s var(--ease);
 }
 
 .hero__arrow:hover { background: rgba(0,165,80,0.2); }
 .hero__arrow:disabled { opacity: 0.3; pointer-events: none; }
 
 /* Hero bottom bar */
 .hero__bar {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   height: 4rem;
   background: var(--primary);
   display: flex;
   align-items: center;
   padding: 0 2rem;
   z-index: 20;
 }
 
 .hero__bar-dots {
   display: flex;
   gap: 0.75rem;
   align-items: center;
 }
 
 .hero__bar-dot {
   width: 0.375rem;
   height: 0.375rem;
   border-radius: 50%;
   background: rgba(255,255,255,0.5);
   transition: all 0.3s var(--ease);
 }
 
 .hero__bar-dot--active {
   background: white;
   transform: scale(1.5) translateY(-3px);
 }
 
 .hero__progress {
   margin-left: auto;
   width: 8rem;
   height: 0.25rem;
   border-radius: 9999px;
   background: rgba(255,255,255,0.2);
   overflow: hidden;
 }
 
 .hero__progress-fill {
   height: 100%;
   background: white;
   border-radius: 9999px;
   transition: width 0.5s var(--ease);
 }
 
 .hero__scroll-hint {
   position: absolute;
   bottom: 5rem;
   left: 50%;
   transform: translateX(-50%);
   z-index: 20;
   color: rgba(255,255,255,0.6);
   font-size: 0.875rem;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 0.25rem;
   animation: bounceGentle 2s infinite;
 }
 
 /* ========== SECTION TRANSITIONS ========== */
 .section-transition { position: relative; margin-top: -1px; margin-bottom: -1px; z-index: 10; overflow: hidden; }
 .section-transition--wave { height: 6rem; }
 .section-transition--angle { height: 5rem; }
 .section-transition--fade { height: 8rem; }
 .section-transition svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
 
 /* ========== MAGAZINE CAROUSEL ========== */
 .magazine {
   position: relative;
   width: 100%;
   min-height: 100vh;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   padding: 4rem 2rem;
   overflow: hidden;
   background: var(--gradient-hero);
 }
 
 .magazine__stars {
   position: absolute;
   inset: 0;
   opacity: 0.3;
   pointer-events: none;
   animation: twinkle 8s infinite;
   background-image:
     radial-gradient(2px 2px at 20% 30%, white, transparent),
     radial-gradient(2px 2px at 60% 70%, white, transparent),
     radial-gradient(1px 1px at 80% 20%, white, transparent);
 }
 
 .magazine__header {
   position: relative;
   z-index: 10;
   text-align: center;
   margin-bottom: 3rem;
 }
 
 .magazine__title {
   font-size: 2.5rem;
   font-weight: 900;
   background: var(--gradient-gold);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
   line-height: 1.1;
   margin-bottom: 0.5rem;
 }
 
 @media (min-width: 768px) { .magazine__title { font-size: 3.75rem; } }
 
 .magazine__subtitle {
   color: rgba(255,255,255,0.7);
   font-size: 1.125rem;
 }
 
 /* 3D Carousel */
 .magazine__stage {
   position: relative;
   width: 100%;
   max-width: 80rem;
   height: 500px;
   perspective: 2000px;
 }
 
 .magazine__ring {
   position: absolute;
   width: 100%;
   height: 100%;
   transform-style: preserve-3d;
 }
 
 .magazine__item {
   position: absolute;
   left: 50%;
   top: 50%;
   width: 280px;
   height: 400px;
   cursor: pointer;
   transition: all 0.8s var(--ease);
   transform-style: preserve-3d;
 }
 
 @media (min-width: 768px) {
   .magazine__item { width: 340px; height: 480px; }
 }
 
 .magazine__cover {
   position: relative;
   width: 100%;
   height: 100%;
   border-radius: 1rem;
   overflow: hidden;
   transition: box-shadow 0.5s;
 }
 
 .magazine__cover--active {
   box-shadow: 0 30px 80px rgba(255,215,0,0.35), 0 0 0 2px rgba(255,215,0,0.55) inset;
 }
 
 .magazine__cover--inactive {
   box-shadow: 0 20px 60px rgba(0,0,0,0.55);
 }
 
 .magazine__placeholder {
   width: 100%;
   height: 100%;
   background: linear-gradient(135deg, var(--primary-dark), var(--accent-blue));
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   color: var(--fg);
 }
 
 .magazine__placeholder-num {
   font-size: 3.75rem;
   font-weight: 900;
   opacity: 0.3;
 }
 
 .magazine__placeholder-label {
   font-size: 0.875rem;
   margin-top: 0.5rem;
   opacity: 0.5;
 }
 
 .magazine__read-btn {
   position: absolute;
   inset: 0;
   display: flex;
   align-items: flex-end;
   justify-content: center;
   padding-bottom: 2rem;
   opacity: 0;
   transition: opacity 0.3s;
 }
 
 .magazine__read-btn--visible { opacity: 1; }
 
 .magazine__read-btn a {
   padding: 0.625rem 1.5rem;
   border-radius: 9999px;
   background: var(--gold);
   color: var(--ink);
   font-weight: 800;
   font-size: 0.875rem;
   transition: all 0.3s var(--ease);
 }
 
 .magazine__read-btn a:hover {
   transform: translateY(-4px);
   box-shadow: var(--shadow-glow-gold);
 }
 
 /* Magazine dots & controls */
 .magazine__dots {
   position: relative;
   z-index: 20;
   display: flex;
   gap: 0.375rem;
   flex-wrap: wrap;
   justify-content: center;
   max-width: 16rem;
   margin-top: 2rem;
 }
 
 .magazine__dot-btn {
   width: 0.5rem;
   height: 0.5rem;
   border-radius: 50%;
   background: rgba(255,255,255,0.25);
   transition: all 0.3s var(--ease);
 }
 
 .magazine__dot-btn--active {
   background: var(--gold);
   transform: scale(1.5);
 }
 
 .magazine__controls {
   position: relative;
   z-index: 20;
   display: flex;
   gap: 1rem;
   margin-top: 1rem;
 }
 
 .magazine__ctrl-btn {
   width: 2rem;
   height: 2rem;
   border-radius: 50%;
   color: var(--fg);
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.2s;
 }
 
 .magazine__ctrl-btn:hover { background: rgba(255,255,255,0.1); }
 
 /* ========== JORNADA PIBIC ========== */
 .pibic {
   position: relative;
   width: 100%;
   min-height: 100vh;
   overflow: hidden;
   padding: 5rem 1.5rem;
   background: var(--gradient-pibic);
 }
 
 @media (min-width: 768px) { .pibic { padding: 5rem 3rem; } }
 
 .pibic__decor-top {
   position: absolute;
   top: -10rem;
   right: -10rem;
   width: 24rem;
   height: 24rem;
   border-radius: 50%;
   background: rgba(255,215,0,0.1);
   filter: blur(48px);
   pointer-events: none;
 }
 
 .pibic__decor-bottom {
   position: absolute;
   bottom: -10rem;
   left: -10rem;
   width: 24rem;
   height: 24rem;
   border-radius: 50%;
   background: rgba(0,165,80,0.1);
   filter: blur(48px);
   pointer-events: none;
 }
 
 .pibic__header {
   position: relative;
   z-index: 10;
   text-align: center;
   margin-bottom: 4rem;
   transition: all 0.7s var(--ease);
 }
 
 .pibic__badge {
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   padding: 0.375rem 1rem;
   border-radius: 9999px;
   background: rgba(23,23,23,0.1);
   color: rgba(23,23,23,0.7);
   font-size: 0.875rem;
   font-weight: 600;
   margin-bottom: 1rem;
 }
 
 .pibic__title {
   font-size: 3rem;
   font-weight: 900;
   color: var(--ink);
   line-height: 1;
   margin-bottom: 1rem;
 }
 
 @media (min-width: 768px) { .pibic__title { font-size: 4.5rem; } }
 
 .pibic__title-accent {
   display: block;
   background: linear-gradient(90deg, var(--primary), var(--accent-blue));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
 }
 
 .pibic__desc {
   font-size: 1.125rem;
   color: rgba(23,23,23,0.6);
   max-width: 42rem;
   margin: 0 auto;
 }
 
 /* Stats */
 .pibic__stats {
   position: relative;
   z-index: 10;
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 1rem;
   max-width: 56rem;
   margin: 0 auto 4rem;
 }
 
 @media (min-width: 768px) {
   .pibic__stats { grid-template-columns: repeat(4, 1fr); }
 }
 
 .pibic__stat {
   background: rgba(255,255,255,0.9);
   border-radius: 1rem;
   padding: 1.25rem;
   text-align: center;
   transition: all 0.3s var(--ease);
 }
 
 .pibic__stat:hover {
   transform: scale(1.05);
   box-shadow: 0 10px 30px rgba(0,0,0,0.15);
 }
 
 .pibic__stat-icon { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; }
 .pibic__stat-value { font-size: 1.5rem; font-weight: 900; color: var(--ink); }
 @media (min-width: 768px) { .pibic__stat-value { font-size: 1.875rem; } }
 .pibic__stat-label { font-size: 0.75rem; color: rgba(23,23,23,0.5); font-weight: 500; margin-top: 0.25rem; }
 
 /* 3D Carousel */
 .pibic__carousel {
   position: relative;
   z-index: 10;
   display: flex;
   justify-content: center;
   margin-bottom: 4rem;
 }
 
 .pibic__carousel-stage {
   position: relative;
   width: 200px;
   height: 250px;
   transform-style: preserve-3d;
   perspective: 1000px;
 }
 
 .pibic__carousel-ring {
   position: absolute;
   width: 100%;
   height: 100%;
   transform-style: preserve-3d;
   animation: spinSlow 20s linear infinite;
   transform: perspective(1000px) rotateX(-16deg);
 }
 
 .pibic__carousel-ring:hover {
   animation-play-state: paused;
 }
 
 .pibic__edition {
   position: absolute;
   inset: 0;
   transition: transform 0.3s;
 }
 
 .pibic__edition:hover { transform: scale(1.1) !important; }
 
 .pibic__edition-inner {
   position: relative;
   width: 100%;
   height: 100%;
   border-radius: 0.75rem;
   overflow: hidden;
   box-shadow: var(--shadow-card);
 }
 
 .pibic__edition-img {
   width: 100%;
   height: 100%;
   object-fit: cover;
 }
 
 .pibic__edition-fallback {
   width: 100%;
   height: 100%;
   background: linear-gradient(135deg, var(--primary), var(--accent-blue));
 }
 
 .pibic__edition-year {
   position: absolute;
   bottom: 0.75rem;
   left: 50%;
   transform: translateX(-50%);
   padding: 0.25rem 0.75rem;
   border-radius: 9999px;
   background: rgba(23,23,23,0.8);
   color: var(--fg);
   font-size: 0.75rem;
   font-weight: 700;
   backdrop-filter: blur(8px);
 }
 
 /* About box */
 .pibic__about {
   position: relative;
   z-index: 10;
   max-width: 48rem;
   margin: 0 auto;
 }
 
 .pibic__about-card {
   background: rgba(255,255,255,0.9);
   border-radius: 1.5rem;
   padding: 2rem;
   box-shadow: 0 10px 40px rgba(0,0,0,0.12);
 }
 
 @media (min-width: 768px) { .pibic__about-card { padding: 3rem; } }
 
 .pibic__about-inner {
   display: flex;
   flex-direction: column;
   gap: 2rem;
   align-items: center;
 }
 
 @media (min-width: 768px) {
   .pibic__about-inner { flex-direction: row; }
 }
 
 .pibic__about-text { flex: 1; }
 .pibic__about-title { font-size: 1.5rem; font-weight: 900; color: var(--ink); margin-bottom: 0.75rem; }
 .pibic__about-desc { color: rgba(23,23,23,0.6); line-height: 1.6; margin-bottom: 1rem; }
 
 .pibic__about-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
 
 .pibic__btn-green {
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   padding: 0.625rem 1.25rem;
   border-radius: 9999px;
   background: var(--primary);
   color: white;
   font-weight: 700;
   font-size: 0.875rem;
   transition: all 0.2s var(--ease);
 }
 
 .pibic__btn-green:hover {
   transform: translateY(-2px);
   box-shadow: var(--shadow-glow-green);
 }
 
 .pibic__btn-outline {
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   padding: 0.625rem 1.25rem;
   border-radius: 9999px;
   border: 2px solid rgba(23,23,23,0.2);
   color: var(--ink);
   font-weight: 700;
   font-size: 0.875rem;
   transition: all 0.2s var(--ease);
 }
 
 .pibic__btn-outline:hover { background: rgba(23,23,23,0.05); }
 
 .pibic__about-icon {
   flex-shrink: 0;
   width: 8rem;
   height: 8rem;
   border-radius: 1rem;
   background: linear-gradient(135deg, var(--primary), var(--accent-blue));
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 3rem;
   box-shadow: 0 10px 30px rgba(0,0,0,0.15);
 }
 
 /* ========== ANIMATIONS ========== */
 @keyframes fadeUp {
   from { opacity: 0; transform: translateY(30px); }
   to { opacity: 1; transform: translateY(0); }
 }
 
 @keyframes slideInLeft {
   from { opacity: 0; transform: translateX(-40px); }
   to { opacity: 1; transform: translateX(0); }
 }
 
 @keyframes fadeOut {
   from { opacity: 1; }
   to { opacity: 0; }
 }
 
 @keyframes ping {
   75%, 100% { transform: scale(2); opacity: 0; }
 }
 
 @keyframes twinkle {
   0%, 100% { opacity: 0.3; }
   50% { opacity: 0.6; }
 }
 
 @keyframes spinSlow {
   from { transform: perspective(1000px) rotateX(-16deg) rotateY(0deg); }
   to { transform: perspective(1000px) rotateX(-16deg) rotateY(360deg); }
 }
 
 @keyframes bounceGentle {
   0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
   40% { transform: translateX(-50%) translateY(-10px); }
   60% { transform: translateX(-50%) translateY(-5px); }
 }
 
 /* Visibility helpers for JS intersection observer */
 .fade-hidden { opacity: 0; transform: translateY(10px); }
 .fade-visible { opacity: 1; transform: translateY(0); transition: all 0.7s var(--ease); }
 
 /* ========== WP ADMIN BAR FIX ========== */
 .admin-bar .anchor-nav { top: calc(50% + 16px); }
 
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

@keyframes spinSlow {
  from { transform: perspective(1000px) rotateX(-16deg) rotateY(0deg); }
  to { transform: perspective(1000px) rotateX(-16deg) rotateY(360deg); }
}

@keyframes bounceGentle {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Visibility helpers for JS intersection observer */
.fade-hidden { opacity: 0; transform: translateY(10px); }
.fade-visible { opacity: 1; transform: translateY(0); transition: all 0.7s var(--ease); }

/* ========== WP ADMIN BAR FIX ========== */
.admin-bar .anchor-nav { top: calc(50% + 16px); }
