/* =====================
   VARIÁVEIS & BASE
===================== */
:root {
  --pink: #ff6b9d;
  --pink-dark: #e84a7f;
  --purple: #9b5de5;
  --blue: #4cc9f0;
  --yellow: #ffd166;
  --green: #06d6a0;
  --coral: #ff6b6b;
  --gold: #f4a261;

  --bg: #fff9f5;
  --card: #ffffff;
  --text: #2d2a32;
  --text-muted: #6b6570;
  --border: #ffe0d6;

  --shadow: 0 8px 20px rgba(255, 107, 157, 0.12);
  --shadow-hover: 0 14px 28px rgba(155, 93, 229, 0.18);
  --radius: 24px;
  --radius-sm: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 107, 157, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(155, 93, 229, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(76, 201, 240, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* =====================
   HEADER
===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 249, 245, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 3px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
}

.logo-icon {
  font-size: 1.6rem;
  animation: bounce 2.5s ease-in-out infinite;
}

.logo-text span {
  color: var(--pink);
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.2s, transform 0.2s;
  position: relative;
}

.nav a:hover {
  color: var(--pink);
  transform: translateY(-2px);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--pink);
  border-radius: 3px;
  transition: width 0.25s ease;
}

.nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 28px;
  position: relative;
  z-index: 10;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3.5px;
  background: var(--pink);
  border-radius: 4px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 12px; }
.menu-toggle span:nth-child(3) { top: 24px; }

.menu-toggle.active span:nth-child(1) {
  top: 12px;
  transform: rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  top: 12px;
  transform: rotate(-45deg);
}

/* =====================
   HERO
===================== */
.hero {
  padding: 150px 20px 80px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.hero-decoration {
  position: absolute;
  font-size: 2rem;
  opacity: 0.7;
  animation: float 4s ease-in-out infinite;
  pointer-events: none;
}

.hero-decoration-1 { top: 100px; left: 5%; animation-delay: 0s; }
.hero-decoration-2 { top: 160px; right: 8%; animation-delay: 0.8s; font-size: 1.7rem; }
.hero-decoration-3 { bottom: 60px; left: 12%; animation-delay: 1.5s; }
.hero-decoration-4 { bottom: 100px; right: 15%; animation-delay: 2.2s; font-size: 1.5rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fff0f5, #f0e6ff);
  color: var(--pink-dark);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
  border: 2px solid #ffc2d4;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.15);
}

.hero h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(2.1rem, 6vw, 3.3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 22px;
  color: var(--text);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 32px;
  font-weight: 600;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 24px;
  margin-bottom: 36px;
}

.hero-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  background: white;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--border);
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.hero-cta {
  display: inline-flex;
  margin-top: 8px;
  padding: 16px 36px;
  font-size: 1.15rem;
}

/* =====================
   SEÇÕES GERAIS
===================== */
section {
  padding: 60px 20px;
}

.section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-emoji {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 12px;
  animation: bounce 2.8s ease-in-out infinite;
}

.section-header h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 600;
  max-width: 520px;
  margin: 0 auto;
}

/* =====================
   PRODUTO PRINCIPAL
===================== */
.produto-destaque {
  background: linear-gradient(180deg, #fff5f8 0%, #fff9f5 100%);
}

.produto-card {
  background: white;
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.produto-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
}

.produto-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  background: linear-gradient(135deg, #ffe066, #ffd166);
  color: #9a6700;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(255, 209, 102, 0.4);
}

.produto-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.produto-icon {
  font-size: 4rem;
  margin-top: 10px;
}

.produto-info h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
  line-height: 1.3;
}

.produto-lista {
  list-style: none;
  text-align: left;
  max-width: 420px;
  margin: 0 auto 28px;
}

.produto-lista li {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  padding-left: 4px;
}

.produto-preco {
  margin-bottom: 24px;
  text-align: center;
}

.preco-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin-bottom: 6px;
}

.preco-antigo {
  font-size: 1.35rem;
  color: #9ca3af;               /* cinza médio (não muito claro) */
  text-decoration: line-through;
  text-decoration-color: #ff6b9d; /* risco na cor rosa do site */
  text-decoration-thickness: 2px;
  font-weight: 600;
}

.preco-atual {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--pink);
  line-height: 1;
}

.preco-obs {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.btn-grande {
  padding: 18px 40px;
  font-size: 1.15rem;
  width: 100%;
  max-width: 360px;
}

.produto-garantia {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: white;
  box-shadow: 0 6px 16px rgba(255, 107, 157, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 24px rgba(155, 93, 229, 0.4);
}

.btn-outline {
  background: white;
  color: var(--pink);
  border: 3px solid var(--pink);
  padding: 11px 22px;
  font-size: 0.95rem;
}

.btn-outline:hover {
  background: var(--pink);
  color: white;
  transform: translateY(-2px);
}

/* =====================
   PRÉVIAS DO COMBO
===================== */
.previews-combo {
  margin: 28px 0 10px;
  width: 100%;
}

.previews-titulo {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.previews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: start;
}

.previews-grid img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.previews-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* =====================
   PACOTES INDIVIDUAIS
===================== */
.outros {
  background: var(--bg);
}

.materias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.materia-card {
  background: var(--card);
  border: 3px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 18px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.materia-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.materia-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.materia-card .qtd {
  display: inline-block;
  background: #fff0f5;
  color: var(--pink-dark);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
  border: 1.5px solid #ffc2d4;
}

.materia-card .desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  min-height: 2.6em;
}

.materia-card .price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--pink);
  margin-bottom: 14px;
}

/* Cores das bordas */
.card-caca { border-color: #fcd34d; }
.card-caligrafia { border-color: #f9a8d4; }
.card-labirinto { border-color: #6ee7b7; }
.card-cruzada { border-color: #a5b4fc; }
.card-colorir { border-color: #d8b4fe; }
.card-detetive { border-color: #fca5a5; }
.card-sombra { border-color: #7dd3fc; }
.card-math { border-color: #93c5fd; }
.card-quiz { border-color: #fde047; }
.card-versiculo { border-color: #f9a8d4; }
.card-historinhas { border-color: #c4b5fd; }

/* =====================
   PRÉVIAS DOS PACOTES (NOVO ESTILO)
===================== */
.preview-thumb {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 2px solid var(--border);
  cursor: pointer;
  background: #f8f8f8;
}

.preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.3s ease;
}

.preview-thumb:hover img {
  transform: scale(1.06);
}

.preview-thumb:hover .preview-overlay {
  background: rgba(255, 249, 245, 0.78);
}

.preview-thumb:hover .materia-icon {
  transform: scale(1.08);
}

.preview-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--pink-dark);
  background: white;
  padding: 5px 14px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.preview-thumb:hover .preview-label {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   COMO FUNCIONA
===================== */
.como-funciona {
  background: linear-gradient(180deg, #f0e6ff 0%, #fff9f5 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step {
  text-align: center;
  background: white;
  border-radius: var(--radius);
  padding: 36px 24px;
  border: 3px solid var(--border);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-6px);
}

.step-number {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 14px;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.step-emoji {
  font-size: 2.6rem;
  margin-bottom: 14px;
}

.step h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.98rem;
  font-weight: 600;
}

/* =====================
   FOOTER
===================== */
.footer {
  background: linear-gradient(135deg, #2d2a32 0%, #3d2a4a 100%);
  color: #d4c8e0;
  padding: 56px 20px 32px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 14px;
  display: inline-flex;
}

.footer-brand .logo-text span {
  color: #ff8fb8;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 600;
}

.footer-links h4 {
  color: white;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: #d4c8e0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
  transition: color 0.2s, transform 0.2s;
}

.footer-links a:hover {
  color: #ff8fb8;
  transform: translateX(4px);
}

.social {
  display: flex;
  gap: 12px;
}

.social-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: block;
  color: #d4c8e0;
  transition: all 0.25s ease;
  text-decoration: none !important;
  overflow: hidden;
}

.social-btn svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
}

.social-btn:hover {
  background: var(--pink);
  color: white;
  transform: scale(1.12);
}

.footer-bottom {
  max-width: 1140px;
  margin: 44px auto 0;
  padding-top: 24px;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}

/* =====================
   MODAL
===================== */
.preview-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px;
}

.preview-modal.open {
  opacity: 1;
  visibility: visible;
}

.preview-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: white;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.preview-modal-content img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  border-radius: 10px;
  margin: 0 auto;
}

.preview-modal-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pink);
  color: white;
  border: none;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}

.preview-modal-close:hover {
  background: var(--pink-dark);
  transform: scale(1.1);
}

/* =====================
   ANIMAÇÕES
===================== */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(6deg); }
}

/* =====================
   PARA QUEM É
===================== */
.para-quem {
  background: #ffffff;
}

.para-quem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.para-quem-card {
  background: white;
  border: 3px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.para-quem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.para-quem-icon {
  font-size: 2.6rem;
  margin-bottom: 14px;
}

.para-quem-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.para-quem-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.5;
}

/* =====================
   FAQ
===================== */
.faq {
  background: #ffffff;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.faq-item.active {
  box-shadow: var(--shadow);
  border-color: #ffc2d4;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pink);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 22px 18px;
  font-size: 0.98rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.6;
}

/* =====================
   RESPONSIVO
===================== */
@media (max-width: 900px) {
  .materias-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff9f5;
    flex-direction: column;
    padding: 28px 24px;
    gap: 22px;
    border-bottom: 3px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 130px 18px 70px;
  }

  .hero-decoration {
    font-size: 1.5rem;
  }

  section {
    padding: 60px 18px;
  }

  .produto-card {
    padding: 32px 20px;
  }

  .produto-info h3 {
    font-size: 1.35rem;
  }

  .preco-atual {
    font-size: 2.2rem;
  }

  .materias-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .previews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-highlights {
    flex-direction: column;
    align-items: center;
  }

  .materias-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
    gap: 18px;
  }

  .preview-thumb {
    height: 150px;
  }

  .preview-label {
    opacity: 1;
    transform: translateY(0);
  }

  .previews-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}