@theme {
  --color-brand-base: #F6F2FA;
  --color-brand-accent: #C89246;
  --color-brand-text: #5A5266;
  --color-brand-neutral: #A059B5;
  --color-ink: #1F1A24;
  --color-ink-soft: #FAF8FC;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
}

/* ===== Variáveis de design (:root) — Liquid Glass White ===== */
:root {
  --c-bg: #FAF8FC;          /* Fundo principal claro perlado */
  --c-base: #F3EDF9;        /* Superfície secundária suave */
  --c-accent: #C89246;      /* Dourado elegante com contraste para fundo claro */
  --c-accent-light: #DDAF71;/* Dourado original para detalhes e gradientes */
  --c-text: #574F63;        /* Texto de apoio (cinza-ameixa suave) */
  --c-neutral: #A059B5;     /* Lilás/Roxo da marca (mimos e presentes) */
  --c-ink: #1F1A24;         /* Tipografia principal escura */
  --c-ink-soft: #FFFFFF;
  --ease-out: cubic-bezier(.22,.61,.36,1);
}

html, body {
  background: var(--c-bg);
  color: var(--c-text);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* Glow de fundo estilo Apple Liquid Glass (tons pastéis de mimos/presentes) */
.glow-bg {
  background:
    radial-gradient(55% 45% at 12% 5%, rgba(160, 89, 181, 0.12), transparent 70%),
    radial-gradient(50% 45% at 92% 22%, rgba(221, 175, 113, 0.18), transparent 70%),
    radial-gradient(60% 50% at 50% 80%, rgba(236, 175, 205, 0.14), transparent 75%),
    linear-gradient(180deg, #FDFCFE 0%, #F7F3FA 50%, #FAF8FC 100%);
  background-attachment: fixed;
}

/* Vídeo Hero com filtro suave para harmonizar com Liquid Glass White */
.hero-video {
  filter: saturate(1.08) contrast(0.96) brightness(1.05);
}

/* Botão CTA pulsante */
@keyframes pulse-cta {
  0%   { box-shadow: 0 8px 24px -4px rgba(200, 146, 70, 0.45), 0 0 0 0 rgba(221, 175, 113, 0.55); }
  70%  { box-shadow: 0 8px 24px -4px rgba(200, 146, 70, 0.45), 0 0 0 14px rgba(221, 175, 113, 0); }
  100% { box-shadow: 0 8px 24px -4px rgba(200, 146, 70, 0.45), 0 0 0 0 rgba(221, 175, 113, 0); }
}
.btn-pulse { animation: pulse-cta 2.2s infinite; }

/* Reveal com IntersectionObserver */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Cards Apple Liquid Glass White */
.glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.52) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 12px 32px -8px rgba(31, 26, 36, 0.06),
    0 2px 6px -1px rgba(160, 89, 181, 0.04),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.95);
}

.glass:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.68) 100%);
  box-shadow:
    0 20px 40px -12px rgba(160, 89, 181, 0.10),
    0 4px 12px -2px rgba(200, 146, 70, 0.08),
    inset 0 1px 1px 0 rgba(255, 255, 255, 1);
}

/* Foco visível acessível */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Accordion */
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item summary::-webkit-details-marker { display: none; }

/* Contador: evita salto de largura */
.counter { font-variant-numeric: tabular-nums; }

/* ============================================================
   MASCOTE PRESENTINHO INTERATIVO (MIMO COMPANION)
   ============================================================ */
@keyframes mimo-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%      { transform: translateY(-6px) rotate(2deg); }
}

@keyframes mimo-lid-pop {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  40%      { transform: translateY(-6px) rotate(-6deg); }
  70%      { transform: translateY(-3px) rotate(4deg); }
}

@keyframes mimo-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  96%           { transform: scaleY(0.1); }
}

@keyframes mimo-heart-rise {
  0%   { opacity: 0; transform: translateY(4px) scale(0.5); }
  35%  { opacity: 1; transform: translateY(-10px) scale(1.05); }
  100% { opacity: 0; transform: translateY(-26px) scale(0.8); }
}

.mimo-companion {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 45;
  pointer-events: none;
  will-change: transform;
}

.mimo-btn {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  animation: mimo-float 3.4s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(160, 89, 181, 0.22));
  transition: filter 0.25s ease, transform 0.25s ease;
}

@media (min-width: 640px) {
  .mimo-btn {
    width: 66px;
    height: 66px;
  }
}

.mimo-btn:hover {
  filter: drop-shadow(0 10px 20px rgba(200, 146, 70, 0.35));
}

.mimo-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  transition: transform 0.25s cubic-bezier(.34, 1.56, .64, 1);
}

.mimo-lid {
  transform-origin: center 28px;
  transition: transform 0.3s cubic-bezier(.34, 1.56, .64, 1);
}

.mimo-eyes {
  transform-origin: center 45px;
  animation: mimo-blink 4.5s infinite;
}

/* Estado quando o usuário está rolando ou clicou no presentinho */
.mimo-companion.is-scrolling .mimo-lid,
.mimo-companion.is-excited .mimo-lid {
  animation: mimo-lid-pop 0.55s ease infinite;
}

.mimo-companion.is-excited .mimo-svg {
  transform: scale(1.14) rotate(-5deg);
}

/* Balãozinho Liquid Glass do Presentinho */
.mimo-bubble {
  pointer-events: none;
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px) scale(0.92);
  opacity: 0;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-ink);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.75));
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px -4px rgba(31, 26, 36, 0.12);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(.34, 1.56, .64, 1);
}

.mimo-bubble.is-visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0) scale(1);
}

/* Quando o presentinho está no lado direito da tela, o balão abre para a esquerda */
.mimo-bubble.flip-left {
  left: auto;
  right: calc(100% + 8px);
  transform: translateY(-50%) translateX(6px) scale(0.92);
}

.mimo-bubble.flip-left.is-visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0) scale(1);
}

/* Partícula de coração que sobe ao interagir */
.mimo-sparkle {
  position: absolute;
  top: -4px;
  left: 50%;
  margin-left: -8px;
  font-size: 15px;
  pointer-events: none;
  opacity: 0;
}

.mimo-companion.is-excited .mimo-sparkle {
  animation: mimo-heart-rise 0.9s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn-pulse, .mimo-btn, .mimo-eyes { animation: none; }
  html { scroll-behavior: auto; }
}
