/* ============================================================
   GALINHA PINTADINHA STYLE — XISPA A COBRINHA
   ============================================================ */

/* ── GOOGLE FONTS ──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700;800;900&display=swap');

/* ── VARIÁVEIS ─────────────────────────────────────────────── */
:root {
  --azul: #1565C0;
  --azul-escuro: #0D47A1;
  --azul-medio: #1976D2;
  --amarelo: #FFD600;
  --amarelo-esc: #F9A825;
  --vermelho: #E53935;
  --verde: #43A047;
  --verde-limao: #AEEA00;
  --laranja: #FB8C00;
  --rosa: #E91E63;
  --roxo: #7B1FA2;
  --branco: #FFFFFF;
  --off-white: #EAF4FF;
  --texto-escuro: #0D2B5E;
  --sombra: 0 8px 32px rgba(0, 0, 0, 0.18);
  --radius: 24px;
  --radius-pill: 100px;
}

/* ── RESET & BASE ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--azul);
  color: var(--branco);
  overflow-x: hidden;
  position: relative;
}

/* ── FUNDO COM BOLINHAS ESTILO GP ─────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.07) 12px, transparent 12px),
    radial-gradient(circle, rgba(255, 214, 0, 0.08) 8px, transparent 8px);
  background-size: 80px 80px, 40px 40px;
  background-position: 0 0, 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ── ESTRELAS FLUTUANTES (JS injeta, CSS anima) ────────────── */
.star-float {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  animation: starDrift linear infinite;
  opacity: 0.55;
  font-size: 1.4rem;
}

@keyframes starDrift {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.55;
  }

  50% {
    opacity: 0.85;
  }

  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

/* ── SEÇÕES: z-index acima do fundo ─────────────────────────── */
section,
header,
footer,
.drawer,
.drawer-overlay,
.fab-menu,
.btn-topo {
  position: relative;
  z-index: 1;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header-premium {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--azul-escuro);
  border-bottom: 6px solid var(--amarelo);
  box-shadow: 0 6px 0 var(--amarelo-esc), 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.brand-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.logo-main {
  width: 240px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.logo-char {
  width: 320px;
  margin-bottom: -10px;
  animation: floatChar 3.5s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
}

@keyframes floatChar {

  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

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

/* ── MENU HORIZONTAL ─────────────────────────────────────── */
.menu-premium {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: var(--amarelo);
  padding: 6px 8px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 0 var(--amarelo-esc), inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

.menu-premium a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  text-decoration: none;
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  color: var(--azul-escuro);
  border-radius: var(--radius-pill);
  transition: all .2s ease;
  letter-spacing: 0.3px;
}

.menu-premium a:hover {
  background: var(--azul-escuro);
  color: var(--amarelo);
  transform: scale(1.08) translateY(-2px);
}

.menu-premium a:active {
  transform: scale(0.95);
}

.menu-premium a:not(:last-child)::after {
  content: "•";
  margin-left: 10px;
  color: rgba(0, 0, 0, 0.25);
  font-size: 0.7rem;
}

/* ============================================================
   FAB HAMBURGUER
   ============================================================ */
.fab-menu {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 1001;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 4px solid var(--amarelo);
  cursor: pointer;
  background: var(--azul-escuro);
  box-shadow: 0 6px 0 var(--amarelo-esc), 0 10px 30px rgba(0, 0, 0, 0.3);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.fab-menu span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--amarelo);
  border-radius: 4px;
  transition: transform 0.3s, opacity 0.3s;
}

.fab-menu:hover {
  transform: scale(1.12) rotate(-5deg);
  box-shadow: 0 10px 0 var(--amarelo-esc), 0 16px 40px rgba(0, 0, 0, 0.35);
}

.fab-menu:active {
  transform: scale(0.93);
}

.fab-menu.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.fab-menu.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.fab-menu.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================================
   DRAWER
   ============================================================ */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 290px;
  height: 100%;
  background: var(--azul-escuro);
  border-left: 6px solid var(--amarelo);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 10px;
  border-bottom: 3px dashed rgba(255, 214, 0, 0.4);
}

.logo-drawer {
  width: 140px;
}

.close-btn {
  display: none;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  margin-top: 8px;
}

.drawer-links a {
  display: block;
  padding: 14px 18px;
  border-radius: 16px;
  text-decoration: none;
  font-family: 'Fredoka One', cursive;
  color: var(--branco);
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.15s, color 0.2s;
  border-left: 4px solid transparent;
}

.drawer-links a:hover {
  background: var(--amarelo);
  color: var(--azul-escuro);
  transform: translateX(6px);
  border-left-color: var(--azul-escuro);
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(2px);
}

.drawer-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   HERO — ESTILO GALINHA PINTADINHA
   ============================================================ */
.hero-premium {
  position: relative;
  background: linear-gradient(160deg, var(--azul-escuro) 0%, #1565C0 60%, #0D47A1 100%);
  padding-bottom: 100px;
  overflow: hidden;
  z-index: 1;
}

/* Bolinhas decorativas grandes */
.hero-premium::before {
  content: "⭐";
  font-size: 180px;
  position: absolute;
  top: -30px;
  right: -40px;
  opacity: 0.06;
  animation: spinSlow 12s linear infinite;
}

.hero-premium::after {
  content: "🌟";
  font-size: 120px;
  position: absolute;
  bottom: 40px;
  left: -20px;
  opacity: 0.06;
  animation: spinSlow 18s linear infinite reverse;
}

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

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

.inside-hero {
  background: transparent;
  box-shadow: none;
}

.hero-content {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

/* Badge estilo GP — bolinha colorida */
.hero-badge {
  display: inline-block;
  background: var(--amarelo);
  color: var(--azul-escuro);
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  box-shadow: 0 5px 0 var(--amarelo-esc);
  animation: badgePop 0.6s ease;
}

@keyframes badgePop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  70% {
    transform: scale(1.12);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hero-text h1 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--branco);
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 3px 4px 0 rgba(0, 0, 0, 0.2);
}

.hero-text h1 span {
  color: var(--amarelo);
  display: inline-block;
  animation: wobble 2.5s ease-in-out infinite;
}

@keyframes wobble {

  0%,
  100% {
    transform: rotate(-2deg);
  }

  50% {
    transform: rotate(2deg) scale(1.04);
  }
}

.hero-text p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--amarelo);
  color: var(--azul-escuro);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Fredoka One', cursive;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--amarelo-esc);
  transition: transform .2s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 var(--amarelo-esc);
}

.btn-primary:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 var(--amarelo-esc);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.18);
  color: var(--branco);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Fredoka One', cursive;
  font-size: 1.05rem;
  text-decoration: none;
  border: 3px solid rgba(255, 255, 255, 0.5);
  transition: background .2s, transform .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-3px);
}

.hero-character img {
  width: 220px;
  animation: floatHero 3.5s ease-in-out infinite;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.3));
}

@keyframes floatHero {

  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

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

/* ── Wave (borda curva entre seções) ─────────────────────── */
.wave-top {
  display: block;
  width: 100%;
  margin-bottom: -2px;
}

.wave-bottom {
  display: block;
  width: 100%;
  margin-top: -2px;
}

/* ============================================================
   SEÇÃO BASE
   ============================================================ */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 28px;
}

/* ── Section Header ──────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.section-header h2 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--branco);
  text-shadow: 3px 4px 0 rgba(0, 0, 0, 0.18);
  margin-bottom: 10px;
}

.section-header p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  font-weight: 700;
  max-width: 480px;
  margin: 0 auto;
}

.underline-deco {
  width: 80px;
  height: 6px;
  background: linear-gradient(90deg, var(--amarelo), var(--laranja));
  border-radius: 10px;
  margin: 12px auto 8px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

/* ============================================================
   PERSONAGENS
   ============================================================ */
.section-personagens-nova {
  background: linear-gradient(160deg, #E65100 0%, var(--laranja) 100%);
  padding: 72px 28px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-personagens-nova::before,
.section-personagens-nova::after {
  content: "●";
  color: rgba(255, 255, 255, 0.12);
  font-size: 300px;
  position: absolute;
  line-height: 1;
  pointer-events: none;
}

.section-personagens-nova::before {
  top: -100px;
  right: -80px;
}

.section-personagens-nova::after {
  bottom: -100px;
  left: -80px;
}

.section-personagens-nova .section-header h2 {
  color: var(--branco);
}

.section-personagens-nova .section-header p {
  color: rgba(255, 255, 255, 0.9);
}

.turma-img-wrap {
  max-width: 680px;
  margin: 40px auto 0;
  position: relative;
  z-index: 2;
}

.turma-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.3));
  animation: floatChar 4s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.turma-img:hover {
  transform: scale(1.04);
}

/* Botão Universo */
.btn-universo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 44px;
  background: var(--amarelo);
  color: var(--azul-escuro);
  border-radius: var(--radius-pill);
  font-family: 'Fredoka One', cursive;
  font-weight: 400;
  font-size: 1.2rem;
  text-decoration: none;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 0 var(--amarelo-esc), 0 0 0 5px rgba(255, 255, 255, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.3px;
}

.btn-universo:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 13px 0 var(--amarelo-esc), 0 0 0 5px rgba(255, 255, 255, 0.35);
}

.btn-universo:active {
  transform: translateY(3px);
  box-shadow: 0 4px 0 var(--amarelo-esc);
}

/* ============================================================
   TIRINHAS / QUADRINHOS
   ============================================================ */
.section-comics {
  background: transparent;
}

.comics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.comic-card {
  background: rgba(255, 255, 255, 0.12);
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.comic-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: var(--amarelo);
}

.comic-thumb {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5.5rem;
  position: relative;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.comic-thumb .tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--amarelo);
  color: var(--azul-escuro);
  font-family: 'Fredoka One', cursive;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 3px 0 var(--amarelo-esc);
}

.comic-info {
  padding: 18px 22px 22px;
}

.comic-info h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  color: var(--amarelo);
  margin-bottom: 8px;
  text-shadow: 1px 2px 0 rgba(0, 0, 0, 0.2);
}

.comic-info p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 16px;
}

.btn-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--amarelo);
  color: var(--azul-escuro);
  border-radius: var(--radius-pill);
  font-family: 'Fredoka One', cursive;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--amarelo-esc);
  transition: transform .2s, box-shadow .2s;
}

.btn-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--amarelo-esc);
}

.btn-card:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--amarelo-esc);
}

/* ============================================================
   VÍDEO
   ============================================================ */
.video-wrapper {
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 6px var(--amarelo), 0 16px 50px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16/9;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0D2B5E, var(--azul-escuro));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.play-circle {
  width: 90px;
  height: 90px;
  background: var(--amarelo);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--amarelo-esc), 0 0 0 8px rgba(255, 214, 0, 0.25);
  transition: transform .25s, box-shadow .25s;
}

.play-circle:hover {
  transform: scale(1.18);
  box-shadow: 0 10px 0 var(--amarelo-esc), 0 0 0 12px rgba(255, 214, 0, 0.3);
}

.video-placeholder p {
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
}

/* ============================================================
   MÚSICAS
   ============================================================ */
.musicas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.musica-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform .25s, box-shadow .25s, background .25s;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.musica-card:hover {
  transform: scale(1.05) translateY(-3px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border-color: var(--amarelo);
}

.play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--branco);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.2);
  transition: transform .2s, box-shadow .2s;
}

.musica-card:hover .play-btn {
  transform: scale(1.15);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.2);
}

.musica-info h4 {
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  color: var(--amarelo);
  margin-bottom: 4px;
}

.musica-info span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* ============================================================
   ATIVIDADES
   ============================================================ */
.atividades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
}

.thumb-img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.ativ-card {
  background: rgba(255, 255, 255, 0.14);
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  backdrop-filter: blur(6px);
}

.ativ-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: var(--amarelo);
}

.ativ-thumb {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  position: relative;
  flex-direction: column;
}

.ativ-thumb .tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--amarelo);
  color: var(--azul-escuro);
  font-family: 'Fredoka One', cursive;
  font-size: 0.75rem;
  padding: 3px 12px;
  border-radius: 20px;
  box-shadow: 0 3px 0 var(--amarelo-esc);
}

.ativ-body {
  padding: 20px;
}

.ativ-body h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.15rem;
  color: var(--azul-escuro);
  margin-bottom: 8px;

}

.ativ-body p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ============================================================
   LOJA
   ============================================================ */
.section-loja {
  background: linear-gradient(135deg, #4A148C 0%, var(--roxo) 100%);
  padding: 80px 28px;
  position: relative;
  overflow: hidden;
}

.section-loja::before {
  content: "🛍️";
  font-size: 260px;
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.04;
  pointer-events: none;
}

.loja-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.loja-texto {
  flex: 1;
  min-width: 260px;
}

.loja-texto h2 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--amarelo);
  margin-bottom: 14px;
  text-shadow: 3px 4px 0 rgba(0, 0, 0, 0.2);
}

.loja-texto p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 430px;
}

.btn-loja {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--amarelo);
  color: var(--roxo);
  border-radius: var(--radius-pill);
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 7px 0 var(--amarelo-esc);
  transition: transform .2s, box-shadow .2s;
}

.btn-loja:hover {
  transform: translateY(-4px);
  box-shadow: 0 11px 0 var(--amarelo-esc);
}

.btn-loja:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 var(--amarelo-esc);
}

.loja-mascote {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lojamascote-img {
  max-width: 240px;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.3));
  animation: floatChar 4s ease-in-out infinite;
}

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer {
  background: var(--azul-escuro);
  border-top: 6px solid var(--amarelo);
  padding: 60px 24px 36px;
  text-align: center;
  color: var(--branco);
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: "⭐🌟⭐🌟⭐";
  display: block;
  font-size: 2.5rem;
  letter-spacing: 12px;
  opacity: 0.15;
  margin-bottom: 8px;
  animation: starSpin 6s linear infinite;
}

@keyframes starSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.footer-title {
  font-family: 'Fredoka One', cursive;
  color: var(--amarelo);
  font-size: 2rem;
  margin-bottom: 36px;
  letter-spacing: 2px;
  text-shadow: 3px 4px 0 rgba(0, 0, 0, 0.2);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.social {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--branco);
  text-decoration: none;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25);
  transition: transform .3s, box-shadow .3s;
}

.social:hover {
  transform: translateY(-6px) rotate(-5deg) scale(1.1);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.25), 0 0 0 6px rgba(255, 255, 255, 0.15);
}

.youtube {
  background: #FF0000;
}

.tiktok {
  background: #111;
  color: var(--branco);
}

.instagram {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #4f5bd5);
}

.facebook {
  background: #1877F2;
}

.footer-bottom {
  border-top: 2px dashed rgba(255, 255, 255, 0.2);
  padding-top: 24px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* ============================================================
   BOTÃO VOLTAR AO TOPO
   ============================================================ */
.btn-topo {
  position: fixed;
  bottom: 110px;
  right: 32px;
  z-index: 1000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--amarelo);
  color: var(--azul-escuro);
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 0 var(--amarelo-esc), 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow .2s;
}

.btn-topo.visivel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-topo:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 0 var(--amarelo-esc), 0 14px 30px rgba(0, 0, 0, 0.25);
}

.btn-topo:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 var(--amarelo-esc);
}

/* ============================================================
   CHARS GRID (personagens.html)
   ============================================================ */
.chars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 24px;
}

.char-card {
  background: rgba(255, 255, 255, 0.12);
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  text-align: center;
  padding: 30px 18px 22px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.char-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 4px 4px 0 0;
}

.char-card.verde::before {
  background: var(--verde);
}

.char-card.roxo::before {
  background: var(--roxo);
}

.char-card.amarelo::before {
  background: var(--amarelo);
}

.char-card.laranja::before {
  background: var(--laranja);
}

.char-card.vermelho::before {
  background: var(--vermelho);
}

.char-card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: var(--amarelo);
}

.char-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.char-card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  color: var(--amarelo);
  margin-bottom: 6px;
}

.char-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  line-height: 1.55;
}

.avatar-img {
  height: 120px;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 900px) {
  .menu-premium {
    display: none !important;
  }

  .logo-char {
    display: none;
  }

  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    gap: 0;
  }

  .brand-area {
    justify-content: center;
    flex: 1;
  }

  .logo-main {
    width: 200px;
  }

  .fab-menu {
    display: flex !important;
  }

  .hero-content {
    text-align: center;
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-character img {
    width: 130px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .loja-mascote {
    display: none;
  }

  .footer-title {
    font-size: 1.5rem;
  }

  .social {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

  .logo-main {
    width: 170px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 2rem;
  }
}

/* ──────────── Contexto azul para certas seções ────────────── */
/* Seção tirinhas e atividades ficam sobre a cor azul global */
.section-comics,
#video.section,
#musicas.section,
#atividades.section {
  background: transparent;
}