/* ═══════════════════════════════════════════════════════════════
   Página individual — Ayami's House (aliado #1533308066186006698)
   ═══════════════════════════════════════════════════════════════
   CSS 100% independente desta página. Todas as regras vivem dentro
   de ".ah-page" e usam o prefixo "ah-" — não sobrescreve nem depende
   de nada global do site além de tipografia base.
   Identidade: roxo pastel + lilás + gatinhos + estrelas + magia. */

.ah-page {
  /* Paleta ajustada pra combinar com o banner oficial (ayamihouse.png):
     noite roxo bem escuro, quase preto, com glow neon magenta/rosa. */
  --ah-bg:        #0a0512;
  --ah-bg-alt:    #150a24;
  --ah-purple:    #e879f9;
  --ah-purple-2:  #c026d3;
  --ah-lilac:     #f5aaff;
  --ah-pink:      #ff9beb;
  --ah-gold:      #f4d58d;
  --ah-text:      #fbeeff;
  --ah-text-dim:  #d7b8e6;
  --ah-text-mute: #a084ab;
  --ah-border:    rgba(232, 121, 249, 0.3);
  --ah-glass:     rgba(28, 12, 42, 0.6);
  --ah-glow:      0 0 26px rgba(232, 121, 249, 0.45);

  position: relative;
  isolation: isolate;
  background: var(--ah-bg);
  color: var(--ah-text);
  font-family: 'Quicksand', 'Nunito', sans-serif;
  overflow-x: clip;
  padding-bottom: 4rem;
}

.ah-page * { box-sizing: border-box; }
.ah-page a { text-decoration: none; color: inherit; }
.ah-page ::selection { background: var(--ah-purple-2); color: #fff; }

.ah-page h1, .ah-page h2, .ah-page h3 {
  font-family: 'Baloo 2', 'Quicksand', sans-serif;
}

/* ── Background decorativo ── */
.ah-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(55% 40% at 15% 6%, rgba(232, 121, 249, 0.22), transparent 60%),
    radial-gradient(50% 38% at 90% 12%, rgba(255, 155, 235, 0.14), transparent 60%),
    radial-gradient(65% 45% at 50% 100%, rgba(192, 38, 211, 0.2), transparent 60%),
    linear-gradient(180deg, var(--ah-bg) 0%, var(--ah-bg-alt) 100%);
}

/* ── Pétalas de sakura caindo (mesmo clima do banner) ── */
.ah-petal {
  position: absolute;
  top: -6%;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #ffc9f5, var(--ah-purple));
  border-radius: 70% 30% 70% 30%;
  opacity: 0.65;
  animation: ah-fall 11s linear infinite;
  filter: drop-shadow(0 0 4px rgba(232, 121, 249, 0.5));
}
@keyframes ah-fall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  8%   { opacity: 0.65; }
  92%  { opacity: 0.5; }
  100% { transform: translateY(112vh) rotate(280deg); opacity: 0; }
}

.ah-sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.ah-star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.8);
  animation: ah-twinkle 3.6s ease-in-out infinite;
}
.ah-sparkle {
  position: absolute;
  color: var(--ah-lilac);
  font-size: 0.9rem;
  animation: ah-twinkle 4.2s ease-in-out infinite;
  opacity: 0.8;
}
@keyframes ah-twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50%      { opacity: 1;    transform: scale(1.15); }
}

/* ── Voltar para Aliados ── */
.ah-back {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 5.25rem 1.5rem 0;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ah-text-dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.ah-back:hover {
  color: var(--ah-text);
  border-color: var(--ah-border);
  background: rgba(168, 139, 250, 0.1);
  transform: translateX(-2px);
}

/* ── Gatinho decorativo genérico ── */
.ah-cat {
  color: var(--ah-lilac);
  opacity: 0.85;
  filter: drop-shadow(0 0 8px rgba(216, 180, 254, 0.35));
}
.ah-cat--hero {
  position: absolute;
  width: 46px;
  height: 46px;
  right: 6%;
  bottom: 8%;
  animation: ah-float 5s ease-in-out infinite;
  z-index: 2;
}
.ah-cat--final {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.6rem;
  animation: ah-float 5s ease-in-out infinite;
}
@keyframes ah-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ── Botões ── */
.ah-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.ah-btn--primary {
  background: linear-gradient(135deg, var(--ah-purple-2), var(--ah-pink));
  color: #1c1030;
  box-shadow: var(--ah-glow);
}
.ah-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(168, 139, 250, 0.55);
}
.ah-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ah-text);
  border-color: var(--ah-border);
}
.ah-btn--ghost:hover {
  background: rgba(168, 139, 250, 0.12);
  transform: translateY(-2px);
}

/* ── HERO ── */
.ah-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 3rem;
  overflow: hidden;
  border-radius: 0 0 2.5rem 2.5rem;
}
.ah-hero-banner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.ah-hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 5, 18, 0.3) 0%, rgba(10, 5, 18, 0.58) 45%, var(--ah-bg) 96%),
    radial-gradient(60% 55% at 50% 30%, rgba(232, 121, 249, 0.16), transparent 70%);
}
.ah-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
}

.ah-ally-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ah-lilac);
  background: rgba(168, 139, 250, 0.14);
  border: 1px solid var(--ah-border);
  border-radius: 999px;
  margin-bottom: 1.1rem;
  backdrop-filter: blur(6px);
}
.ah-pill-star { animation: ah-twinkle 2.6s ease-in-out infinite; }

.ah-hero-icon-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 1.2rem;
}
.ah-hero-icon-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--ah-purple-2), var(--ah-pink), var(--ah-lilac), var(--ah-purple-2));
  filter: blur(1px);
  opacity: 0.8;
}
.ah-hero-icon, .ah-hero-icon--placeholder {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--ah-bg);
  object-fit: cover;
  display: block;
}
.ah-hero-icon--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ah-bg-alt);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ah-lilac);
}

.ah-hero-title {
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  background: linear-gradient(135deg, #fff, var(--ah-lilac));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ah-hero-sub {
  font-size: 1.05rem;
  color: var(--ah-text-dim);
  margin: 0 0 1.3rem;
}
.ah-hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}
.ah-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ah-text);
  background: var(--ah-glass);
  border: 1px solid var(--ah-border);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.ah-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
}
.ah-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}
.ah-hero-scroll {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--ah-text-mute);
  z-index: 2;
  animation: ah-bob 2.4s ease-in-out infinite;
}
@keyframes ah-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 5px); }
}

/* ── Seções genéricas ── */
.ah-section {
  position: relative;
  max-width: 980px;
  margin: 5rem auto 0;
  padding: 0 1.5rem;
}
.ah-section-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ah-purple);
  margin-bottom: 0.5rem;
}
.ah-section-title {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 2rem;
  color: var(--ah-text);
}
.ah-section-title span {
  color: var(--ah-lilac);
}

.ah-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.ah-reveal.ah-in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── A Coincidência ── */
.ah-coincidence-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
}
.ah-coincidence-art {
  position: relative;
  height: 260px;
  border-radius: 1.8rem;
  background: var(--ah-glass);
  border: 1px solid var(--ah-border);
  overflow: hidden;
}
.ah-c-star {
  position: absolute;
  font-size: 1.3rem;
  color: var(--ah-lilac);
  animation: ah-twinkle 3s ease-in-out infinite;
}
.ah-c-star--a { top: 18%; left: 16%; }
.ah-c-star--b { top: 24%; right: 18%; animation-delay: -1.5s; }

.ah-c-constellation {
  position: absolute;
  width: 60px;
  height: 60px;
}
.ah-c-constellation--a { top: 46%; left: 14%; }
.ah-c-constellation--b { top: 50%; right: 16%; }
.ah-c-constellation span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 5px rgba(255,255,255,0.8);
}
.ah-c-constellation span:nth-child(1) { top: 0; left: 0; }
.ah-c-constellation span:nth-child(2) { top: 20px; left: 26px; }
.ah-c-constellation span:nth-child(3) { top: 42px; left: 8px; }

.ah-c-crystal {
  position: absolute;
  width: 34px;
  height: 48px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 12px rgba(168, 139, 250, 0.6));
  animation: ah-glow-pulse 3s ease-in-out infinite;
}
@keyframes ah-glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(168, 139, 250, 0.45)); }
  50%      { filter: drop-shadow(0 0 18px rgba(168, 139, 250, 0.8)); }
}
.ah-c-cat {
  position: absolute;
  width: 34px;
  height: 34px;
  bottom: 12%;
  right: 12%;
  color: var(--ah-pink);
  opacity: 0.9;
  animation: ah-float 5s ease-in-out infinite;
}

.ah-coincidence-text p {
  color: var(--ah-text-dim);
  line-height: 1.7;
  margin: 0 0 0.9rem;
}
.ah-coincidence-quote {
  margin-top: 1.3rem;
  padding: 0.9rem 1.2rem;
  border-left: 3px solid var(--ah-purple-2);
  background: rgba(168, 139, 250, 0.08);
  border-radius: 0 0.9rem 0.9rem 0;
  font-style: italic;
  color: var(--ah-lilac);
  font-weight: 600;
}

/* ── Sobre ── */
.ah-about-card {
  background: var(--ah-glass);
  border: 1px solid var(--ah-border);
  border-radius: 1.6rem;
  padding: 1.8rem;
  backdrop-filter: blur(8px);
}
.ah-about-text {
  color: var(--ah-text-dim);
  line-height: 1.75;
  margin: 0;
  font-size: 1.02rem;
}

/* ── Cards de características ── */
.ah-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}
.ah-card {
  padding: 1.4rem;
  border-radius: 1.4rem;
  background: var(--ah-glass);
  border: 1px solid var(--ah-border);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.ah-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 156, 250, 0.5);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.18);
}
.ah-card-icon {
  width: 38px;
  height: 38px;
  color: var(--ah-lilac);
  margin-bottom: 0.8rem;
}
.ah-card-icon svg { width: 100%; height: 100%; }
.ah-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--ah-text);
}
.ah-card-desc {
  font-size: 0.9rem;
  color: var(--ah-text-mute);
  line-height: 1.5;
  margin: 0;
}

/* ── Estatísticas ── */
.ah-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}
.ah-stat-card {
  text-align: center;
  padding: 1.4rem 1rem;
  border-radius: 1.3rem;
  background: var(--ah-glass);
  border: 1px solid var(--ah-border);
  backdrop-filter: blur(8px);
}
.ah-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ah-lilac);
}
.ah-stat-label {
  font-size: 0.8rem;
  color: var(--ah-text-mute);
  margin-top: 0.25rem;
}

/* ── Aliança ── */
.ah-alliance {
  text-align: center;
  padding-top: 1rem;
}
.ah-alliance-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.ah-alliance-icons img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2px solid var(--ah-border);
  object-fit: cover;
}
.ah-alliance-link {
  font-size: 1.4rem;
  color: var(--ah-lilac);
  animation: ah-twinkle 2.6s ease-in-out infinite;
}
.ah-alliance-text {
  max-width: 620px;
  margin: 0 auto;
  color: var(--ah-text-dim);
  line-height: 1.7;
}

/* ── Representante ── */
.ah-rep-section { max-width: 560px; }
.ah-rep-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border-radius: 1.3rem;
  background: var(--ah-glass);
  border: 1px solid var(--ah-border);
  backdrop-filter: blur(8px);
}
.ah-rep-avatar, .ah-rep-avatar--placeholder {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.ah-rep-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ah-bg-alt);
  color: var(--ah-lilac);
  font-weight: 700;
}
.ah-rep-name {
  font-weight: 700;
  color: var(--ah-text);
}
.ah-rep-role {
  font-size: 0.8rem;
  color: var(--ah-text-mute);
}

/* ── CTA final ── */
.ah-final {
  text-align: center;
  max-width: 620px;
  margin: 5.5rem auto 0;
  padding: 0 1.5rem;
}
.ah-final-title {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.ah-final-sub {
  color: var(--ah-text-dim);
  margin: 0 0 1.4rem;
}

.ah-footer-note {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--ah-text-mute);
}
.ah-footer-link {
  color: var(--ah-lilac);
  font-weight: 600;
}
.ah-footer-link:hover { text-decoration: underline; }

/* ── Responsividade ── */
@media (max-width: 760px) {
  .ah-coincidence-layout {
    grid-template-columns: 1fr;
  }
  .ah-coincidence-art { height: 200px; }
  .ah-cat--hero { width: 34px; height: 34px; right: 4%; bottom: 5%; }
  .ah-hero { min-height: 70vh; padding-top: 5.5rem; }
  .ah-section { margin-top: 3.5rem; }
}

@media (max-width: 480px) {
  .ah-hero-title { font-size: 1.9rem; }
  .ah-btn { width: 100%; }
  .ah-hero-actions { flex-direction: column; width: 100%; }
}

/* ── Movimento reduzido ── */
@media (prefers-reduced-motion: reduce) {
  .ah-star, .ah-sparkle, .ah-pill-star, .ah-alliance-link,
  .ah-cat, .ah-cat--hero, .ah-cat--final, .ah-c-cat,
  .ah-c-star, .ah-c-crystal, .ah-hero-scroll {
    animation: none !important;
  }
  .ah-reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
