/* ?? VARI?VEIS ??????????????????????????????????????? */
:root {
  --ink:        #f5f1e8;
  --ink-muted:  #b8b4c7;
  --blue:       #5aa9ff;
  --blue-light: #8cc4ff;
  --paper:      #11121a;
  --paper-dark: #1b1d29;
  --line:       rgba(245,241,232,0.12);
  --red:        #ff6b5e;
  --hero-size:  clamp(2.6rem, 8vw, 7rem);
}

/* ?? BASE ???????????????????????????????????????????? */
html { scroll-behavior: smooth; }

body {
  font-family: "Schoolbell", cursive;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  position: relative;
}

body::before { /* textura de papel */
  content: '';
  position: fixed; inset: 0;
  background: url('../assets/images/paper_texture.jpg') center/cover;
  opacity: 0.45;
  mix-blend-mode: multiply;
  pointer-events: none; z-index: 0;
}

body::after { /* linhas de caderno */
  content: '';
  position: fixed; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 39px,
    rgba(100,120,200,0.06) 39px, rgba(100,120,200,0.06) 40px
  );
  pointer-events: none; z-index: 0;
}

nav, section, .section-divider, footer {
  position: relative; z-index: 1;
}

/* ?? NAVBAR ?????????????????????????????????????????? */

.alle-nav {

  position: fixed;

  top: 10px;
  left: 50%;

  transform: translateX(-50%);

  width: calc(100% - 40px);
  max-width: 1400px;

  border: 1.5px solid var(--line);

  border-radius: 40px;

  background: rgba(26, 26, 26, 0.473) !important;

  backdrop-filter: blur(10px);

  padding: 10px 0;

  z-index: 9999;
}

.alle-brand {
  font-family: "Schoolbell", cursive;
  font-size: 1.25rem;
  color: var(--blue) !important;
  text-decoration: none;
}

.alle-nav .nav-link {
  font-family: "Schoolbell", cursive;
  color: var(--ink) !important;
  font-size: 1rem;
  transition: color 0.2s;
  transition: font-size 0.2s;
}
.alle-nav .nav-link:hover,
.alle-nav .nav-link.active { color: var(--blue) !important; font-size: 15.5px; transition: font-size 0.2s;}

.alle-toggler {
  border: none; background: transparent;
  cursor: pointer; padding: 4px;
  display: flex; flex-direction: column; gap: 5px;
}
.alle-toggler span { display: block; width: 24px; height: 2px; background: var(--ink); }
.alle-toggler:focus { box-shadow: none; }

/* ?? HERO ???????????????????????????????????????????? */
.alle-hero {
  min-height: 100vh;
  padding: 120px 60px 80px;
  text-align: center;
}

.hero-stage { width: 100%; display: flex; flex-direction: column; align-items: center; }

.hero-row-wrap {
  position: relative; width: 100%;
  height: var(--hero-size);
  display: flex; align-items: center; justify-content: center;
}

.hero-typing {
  font-family: "Schoolbell", cursive;
  font-size: var(--hero-size);
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
  line-height: 1;
}

/* cursor piscante no final do texto */
.hero-typing::after {
  content: '|';
  margin-left: 4px;
  animation: pipeBlink 1s step-end infinite;
  color: var(--ink);
  transition: color 0.5s;
}
.hero-typing:hover::after {
  color: #33333369;
  transition: color 0.5s;
}


#hero-text{
  transition: 0.5s;
}
#hero-text:hover{
  transition: 0.5s;
  color: #33333369;
}



.hero-subtitle { color: var(--blue); font-size: 1.3rem; min-height: 2em; }

.hero-scroll-hint {
  color: var(--ink-muted); font-size: 1.5rem;
  text-decoration: none;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll-hint img { width: 32px; height: 32px; transition: 0.4s;}
.hero-scroll-hint img:hover { width: 30px; height: 30px; transition: 0.4s; opacity: 50%}
.back-top img         { width: 32px; height: 32px; }

/* ?? SECTION DIVIDERS ???????????????????????????????? */
.section-divider {
  display: flex; align-items: center; gap: 18px;
  max-width: 1200px; margin: 0 auto; padding-top: 0;
}
.section-divider h2 {
  font-family: "Schoolbell", cursive;
  font-size: 1.5rem; font-weight: 400;
  white-space: nowrap; color: var(--ink);
}
.divider-line { flex: 1; height: 1px; background: var(--line); }

.back-top {
  text-decoration: none; color: var(--ink-muted);
  font-size: 1.1rem; transition: color 0.2s;
}
.back-top:hover { color: var(--blue); }

/* ?? SECTIONS ???????????????????????????????????????? */
.alle-section { padding: 10px 0 80px; }

/* ?? SCROLL REVEAL ??????????????????????????????????? */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ?? KEYFRAMES ??????????????????????????????????????? */
@keyframes pipeBlink {
  0%, 100% { opacity: 1; } 50% { opacity: 0; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); }
}

/* ?? RESPONSIVE ?????????????????????????????????????? */
@media (max-width: 767.98px) {
  .alle-hero    { padding: 100px 24px 60px; }
  .alle-section { padding: 40px 0 60px; }
  .big-link     { font-size: 1.3rem; }
}




/* 
     ______                                                             __ 
   _/      \_                                                          |  \
  /   $$$$$$ \    _______  ________  __    __  ______   _______    ____| $$
 /  $$$____$$$\  /       \|        \|  \  /  \|      \ |       \  /      $$
|  $$/     \ $$\|  $$$$$$$ \$$$$$$$$ \$$\/  $$ \$$$$$$\| $$$$$$$\|  $$$$$$$
| $$|  $$$$$| $$ \$$    \   /    $$   >$$  $$ /      $$| $$  | $$| $$  | $$
| $$| $$| $$| $$ _\$$$$$$\ /  $$$$_  /  $$$$\|  $$$$$$$| $$  | $$| $$__| $$
| $$ \$$  $$| $$|       $$|  $$    \|  $$ \$$\\$$    $$| $$  | $$ \$$    $$
 \$$\ \$$$$$$$$  \$$$$$$$  \$$$$$$$$ \$$   \$$ \$$$$$$$ \$$   \$$  \$$$$$$$
  \$$\ __/   \                                                             
   \$$$    $$$                                                             
     \$$$$$$    */


     



/* apagar isso aqui */
/* ===================== MAINTENANCE POPUP ===================== */

/* .maintenance-overlay {

  position: fixed;
  inset: 0;

  z-index: 999999;

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

  backdrop-filter: blur(14px);

  background: rgba(248,245,239,0.35);
}

.maintenance-popup {

  width: min(90%, 500px);

  padding: 40px 30px;

  border: 1.5px solid rgba(26,26,46,0.18);

  border-radius: 24px;

  background: rgba(59, 59, 59, 0.82);

  backdrop-filter: blur(20px);

  text-align: center;

  box-shadow:
    0 10px 40px rgba(0,0,0,0.08);

  animation: popupAppear 0.6s cubic-bezier(.2,.8,.2,1);
}

.close-popup {

  position: relative;

  top: 14px;
  right: 18px;

  border: none;
  background: transparent;

  font-size: 2rem;

  cursor: pointer;

  color: var(--ink);

  transition: 0.2s ease;
}

.close-popup:hover {

  transform: scale(1.1);

  opacity: 0.7;
}

.maintenance-popup h1 {

  font-family: "Schoolbell", cursive;

  font-size: clamp(2rem, 4vw, 3rem);

  color: var(--ink);

  margin-bottom: 0;
  min-height: 4rem;   

  line-height: 1.2;
}

.maintenance-gif {

  width: min(100%, 320px);

  border-radius: 18px;

  display: block;

  margin: 0 auto;
}

@keyframes popupAppear {

  from {

    opacity: 0;

    transform:
      translateY(20px)
      scale(0.96);

  }

  to {

    opacity: 1;

    transform:
      translateY(0)
      scale(1);

  }
} */
/* apagar acima */