/* ═══════════════════════════════════════════════════
   Madame do Luar — Design System
   Paleta: Roxo escuro + Dourado + Preto profundo
═══════════════════════════════════════════════════ */

:root {
  /* ── Paleta Base ── */
  --roxo-profundo:   #0d0518;
  --roxo-escuro:     #1a0a2e;
  --roxo-medio:      #2d1554;
  --roxo-claro:      #6b21a8;
  --roxo-brilho:     #9333ea;

  /* ── Dourado ── */
  --dourado:         #d4af37;
  --dourado-claro:   #f0d060;
  --dourado-escuro:  #b8860b;
  --dourado-glow:    rgba(212, 175, 55, 0.4);
  --gradient-gold:   linear-gradient(135deg, #d4af37, #f0d060, #b8860b);

  /* ── Neutros ── */
  --branco:          #ffffff;
  --cinza-claro:     rgba(255,255,255,0.85);
  --cinza-suave:     rgba(255,255,255,0.6);
  --cinza-fraco:     rgba(255,255,255,0.15);

  /* ── Glass ── */
  --glass-bg:        rgba(45, 21, 84, 0.45);
  --glass-border:    rgba(212, 175, 55, 0.2);
  --glass-blur:      blur(16px);

  /* ── Gradientes ── */
  --gradient-aurora: linear-gradient(160deg, #0d0518 0%, #1a0a2e 50%, #0d0e2e 100%);
  --gradient-cosmic: radial-gradient(ellipse at top, rgba(107,33,168,0.4) 0%, transparent 65%);

  /* ── Sombras ── */
  --shadow-gold-lg:  0 0 60px rgba(212,175,55,0.25), 0 20px 60px rgba(0,0,0,0.5);
  --shadow-card:     0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);

  /* ── Tipografia ── */
  --font-serif:  'Cinzel', serif;
  --font-sans:   'Inter', sans-serif;

  /* ── Bordas ── */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   40px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --card-back-image: url("/assets/optimized/card-back.webp");
  --surface-strong: rgba(13, 5, 24, 0.86);
  --surface-soft: rgba(255,255,255,0.06);
  --border-soft: rgba(255,255,255,0.12);
  --danger: #fecaca;
  --focus-ring: 0 0 0 3px rgba(240,208,96,0.28);
}

/* Brand logo rollout */
.brand-logo-img,
.logo-icon,
.footer-brand-mark,
.auth-brand-logo,
.perfil-brand-logo {
  display: inline-block;
  border-radius: 50%;
  object-fit: cover;
}

.logo .logo-icon {
  position: static;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(244, 201, 89, 0.42);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.18);
}

.logo .logo-icon::before,
.logo .logo-icon::after {
  content: none;
}

.footer-brand .footer-brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(244, 201, 89, 0.42);
  background: rgba(212, 175, 55, 0.08);
}

#authModal .auth-brand-mark,
.perfil-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

#authModal .auth-brand-mark {
  padding: 6px 12px 6px 7px;
}

.auth-brand-logo,
.perfil-brand-logo {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid rgba(244, 201, 89, 0.35);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--roxo-profundo);
  color: var(--branco);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--dourado);
  color: var(--roxo-profundo);
  font-weight: 800;
  transform: translateY(-140%);
  transition: transform 0.18s ease;
}
.skip-link:focus {
  transform: translateY(0);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--dourado-claro);
  outline-offset: 3px;
  box-shadow: var(--focus-ring);
}

/* ── Utilitários ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.gold { color: var(--dourado); }
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
}

/* ═══════════════════════════════════
   BOTÕES
═══════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-family: var(--font-sans); font-weight: 600;
  border: none; cursor: pointer; transition: var(--transition);
  white-space: nowrap; border-radius: var(--radius-xl);
}
.btn-primary {
  background: var(--gradient-gold);
  color: var(--roxo-profundo);
  box-shadow: 0 0 20px var(--dourado-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px var(--dourado-glow), 0 8px 24px rgba(0,0,0,0.4);
  filter: brightness(1.1);
}

/* ── CTA Hero com Pulso de Urgência ── */
@keyframes ctaGlow {
  0%,100% { box-shadow: 0 0 20px var(--dourado-glow), 0 4px 16px rgba(0,0,0,0.3); }
  50% { box-shadow: 0 0 52px rgba(212,175,55,0.75), 0 0 100px rgba(212,175,55,0.2), 0 8px 24px rgba(0,0,0,0.4); }
}
.btn-primary-hero {
  animation: ctaGlow 2.8s ease-in-out infinite;
  position: relative;
}
.btn-primary-hero::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: var(--gradient-gold);
  opacity: 0;
  filter: blur(12px);
  z-index: -1;
  transition: opacity 0.3s;
}
.btn-primary-hero:hover::after { opacity: 0.5; }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--cinza-claro);
}
.btn-ghost:hover {
  border-color: var(--dourado);
  color: var(--dourado);
  background: rgba(212,175,55,0.08);
}
.btn-secondary {
  background: rgba(107,33,168,0.5);
  border: 1px solid var(--roxo-brilho);
  color: var(--branco);
}
.btn-secondary:hover {
  background: var(--roxo-brilho);
  transform: translateY(-2px);
}
.btn-sm  { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg  { padding: 16px 32px; font-size: 1rem; }
.btn-xl  { padding: 20px 40px; font-size: 1.1rem; letter-spacing: 0.5px; }
.btn-full { width: 100%; }
.scroll-progress-bar {
  position: fixed; top: 0; left: 0; width: 0%; height: 3px;
  background: var(--dourado-glow); z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px var(--dourado);
}
/* ═══════════════════════════════════
   HEADER
═══════════════════════════════════ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,5,24,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}
.header-inner {
  max-width: 1140px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 1.5rem; }
.logo-text { font-family: var(--font-serif); font-size: 1.1rem; color: var(--dourado); letter-spacing: 1px; }
.online-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--cinza-suave);
  padding: 8px 12px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.04);
}
.online-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
@keyframes pulse {
  0%,100% { opacity: 1; } 50% { opacity: 0.4; }
}

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
.hero {
  position: relative;
  height: min(100vh, max(560px, calc(100vw * 9 / 16)));
  min-height: 560px;
  display: flex; align-items: center; justify-content: flex-start;
  padding: 120px 24px 80px; overflow: hidden;
  background: #0d0518;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(107,33,168,0.4) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(45,21,84,0.5) 0%, transparent 50%);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  filter: none;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}
.nebula {
  position: absolute; border-radius: 50%;
  filter: blur(80px); animation: float 8s ease-in-out infinite;
}
.nebula-1 {
  width: 500px; height: 500px; top: -10%; left: -10%;
  background: rgba(107,33,168,0.18);
}
.nebula-2 {
  width: 400px; height: 400px; bottom: -5%; right: -5%;
  background: rgba(212,175,55,0.08);
  animation-delay: -4s;
}
@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}
.star-field {
  position: absolute; inset: 0;
}
.star {
  position: absolute; border-radius: 50%;
  background: white; animation: twinkle var(--dur) ease-in-out infinite;
}
@keyframes twinkle {
  0%,100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

.hero-content {
  position: relative; z-index: 2;
  width: min(360px, calc(100vw - 48px));
  max-width: 360px;
  margin-left: clamp(18px, 7vw, 110px);
  margin-right: auto;
  text-align: left;
}
.hero .hero-eyebrow,
.hero .hero-title,
.hero .hero-subtitle,
.hero .hero-trust,
.hero .hero-madame,
.hero .hero-cards,
.hero .star-field,
.hero .nebula {
  display: none !important;
}
.hero-eyebrow {
  font-size: 0.85rem; color: var(--dourado); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 20px;
  font-family: var(--font-sans); font-weight: 600;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.1; letter-spacing: 2px;
  margin-bottom: 24px; color: var(--branco);
}
.hero-title-gold {
  color: var(--dourado);
  text-shadow: 0 0 40px var(--dourado-glow);
}
.hero-subtitle {
  font-size: 1.1rem; color: var(--cinza-suave);
  margin-bottom: 40px; max-width: 480px; margin-left: auto; margin-right: auto;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  justify-content: center;
  margin-bottom: 0;
}
.hero-ctas .btn {
  justify-content: center;
  width: 100%;
  min-height: 56px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.32);
}
.hero-trust {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  padding: 16px 32px; border-radius: var(--radius-lg);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
}
.trust-item { text-align: center; }
.trust-num { display: block; font-family: var(--font-serif); font-size: 1.3rem; color: var(--dourado); }
.trust-label { display: block; max-width: 150px; font-size: 0.75rem; color: var(--cinza-suave); }
.trust-divider { width: 1px; height: 32px; background: var(--glass-border); }

/* ── Madame CSS silhouette no Hero ── */
.hero-madame {
  position: absolute; right: 0; bottom: 0;
  width: 44%; max-width: 500px; height: 90%;
  z-index: 1; pointer-events: none;
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0;
}
.hero-madame-figure {
  position: relative; width: 240px; height: 400px;
  display: flex; align-items: flex-end; justify-content: center;
}
.hero-madame-glow {
  position: absolute; bottom: -20px; left: 50%;
  transform: translateX(-50%);
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.18) 0%, rgba(107,33,168,0.12) 40%, transparent 70%);
  filter: blur(30px); animation: float 6s ease-in-out infinite;
}
.hero-madame-body {
  position: relative; z-index: 2;
  width: 160px; height: 320px;
  background: linear-gradient(180deg, rgba(147,51,234,0.15) 0%, rgba(45,21,84,0.6) 60%, rgba(13,5,24,0.9) 100%);
  clip-path: polygon(30% 0%, 70% 0%, 90% 15%, 100% 50%, 95% 80%, 80% 95%, 50% 100%, 20% 95%, 5% 80%, 0% 50%, 10% 15%);
  border: 1px solid rgba(212,175,55,0.15);
  filter: drop-shadow(0 0 30px rgba(107,33,168,0.4));
}
.hero-madame-orb {
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 70px; border-radius: 50%; z-index: 3;
  background: radial-gradient(circle at 35% 35%, rgba(240,208,96,0.9), rgba(212,175,55,0.4), rgba(107,33,168,0.3));
  box-shadow: 0 0 30px rgba(212,175,55,0.5), 0 0 60px rgba(107,33,168,0.3);
  animation: orbPulse 3s ease-in-out infinite;
}
.hero-madame-stars {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
}
.hero-madame-star {
  position: absolute; color: var(--dourado); font-size: 0.7rem;
  animation: twinkle var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

/* ── Cartas Hero 3D ── */
.hero-cards {
  position: absolute; right: 6%; bottom: 10%;
  display: flex; gap: 16px; z-index: 2;
  opacity: 0;
  pointer-events: none;
}
.tarot-card {
  width: 90px; height: 150px;
  border-radius: 10px;
  cursor: pointer; perspective: 700px;
  transition: box-shadow 0.5s;
}
.tarot-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.6); }
.tarot-card-inner {
  width: 100%; height: 100%; position: relative;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.4, 0.2, 0.2, 1);
  border-radius: 10px;
}
.tarot-card:hover .tarot-card-inner,
.tarot-card.flipped .tarot-card-inner { transform: rotateY(180deg); }
.card-face {
  position: absolute; width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  backface-visibility: hidden; border-radius: 10px;
}
.card-back-face {
  background: linear-gradient(160deg, var(--roxo-medio), var(--roxo-escuro));
  border: 1px solid var(--glass-border);
}
.card-back-face::before {
  content: ''; position: absolute; inset: 6px;
  border: 1px solid rgba(212,175,55,0.2); border-radius: 6px;
}
.card-back-face::after {
  content: '🌙'; position: absolute; font-size: 1.8rem;
  top: 50%; left: 50%; transform: translate(-50%,-50%); opacity: 0.5;
}
.card-front-face {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, #1e0a3c, #0d0518);
  border: 1px solid var(--dourado);
  font-size: 2rem; color: var(--dourado); gap: 4px;
  box-shadow: inset 0 0 20px rgba(212,175,55,0.08);
}
.card-front-face p { font-family: var(--font-serif); font-size: 0.6rem; letter-spacing: 1px; color: var(--cinza-suave); }
.tarot-card-left  { transform: rotate(-8deg) translateY(8px); }
.tarot-card-center { transform: translateY(-8px); box-shadow: 0 0 30px var(--dourado-glow); }
.tarot-card-right  { transform: rotate(8deg) translateY(8px); }
.tarot-card-left:hover  { transform: rotate(-8deg) translateY(-16px) !important; }
.tarot-card-center:hover { transform: translateY(-20px) !important; box-shadow: 0 0 50px var(--dourado-glow) !important; }
.tarot-card-right:hover  { transform: rotate(8deg) translateY(-16px) !important; }

/* ═══════════════════════════════════
   SECTIONS
═══════════════════════════════════ */
.section { padding: 100px 0; }
.section-eyebrow {
  text-align: center; font-size: 0.8rem; font-weight: 600;
  color: var(--dourado); letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  text-align: center; font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 2px; margin-bottom: 16px;
}
.section-subtitle {
  text-align: center; color: var(--cinza-suave);
  font-size: 1rem; max-width: 560px; margin: 0 auto 56px;
}

/* ═══════════════════════════════════
   CARTA DO DIA — 3D Flip
═══════════════════════════════════ */
.carta-dia-section {
  position: relative;
  overflow: hidden;
  margin-top: -150px;
  padding-top: 250px;
  background: url("/assets/optimized/hero-fallback.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.carta-dia-section::before {
  content: none;
}
.carta-dia-section .container {
  position: relative;
  z-index: 1;
}
.carta-dia-wrapper { display: flex; flex-direction: column; align-items: center; gap: 34px; }
.carta-dia-experience {
  width: min(100%, 900px);
  display: grid;
  grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 54px);
}
.carta-dia-card {
  width: min(100%, 290px); height: 440px; border-radius: 24px;
  cursor: pointer; perspective: 1000px;
  border: none;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  transition: filter 0.4s;
  justify-self: center;
}
.carta-dia-card:focus-visible { outline: 2px solid #d4af37; outline-offset: 6px; }
.carta-dia-card:hover { filter: drop-shadow(0 0 28px rgba(212,175,55,0.5)); }
.carta-dia-inner {
  display: block;
  width: 100%; height: 100%; position: relative;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.4, 0.2, 0.2, 1);
  border-radius: 16px;
}
.carta-dia-inner.flipped { transform: rotateY(180deg); }
.card-back-daily,
.card-reveal {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 16px;
  background:
    linear-gradient(160deg, rgba(35, 12, 62, 0.95), rgba(9, 3, 24, 0.98)),
    radial-gradient(circle at 50% 20%, rgba(212,175,55,0.18), transparent 38%);
  border: 1px solid rgba(212,175,55,0.54); border-radius: 24px;
  backface-visibility: hidden;
  box-shadow:
    0 26px 70px rgba(0,0,0,0.38),
    inset 0 0 0 1px rgba(255,255,255,0.055),
    inset 0 0 44px rgba(212,175,55,0.08);
}
.card-back-daily::before {
  content: ''; position: absolute; inset: 14px;
  border: 1px solid rgba(212,175,55,0.24); border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent),
    repeating-linear-gradient(45deg, transparent, transparent 9px, rgba(212,175,55,0.035) 9px, rgba(212,175,55,0.035) 10px);
}
.card-art-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 234, 168, 0.18), transparent 24%),
    radial-gradient(circle at 50% 56%, rgba(124, 58, 237, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  overflow: hidden;
}
.card-art-frame::before,
.card-art-frame::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.card-art-frame::before {
  width: 170px;
  height: 170px;
  top: 62px;
  border: 1px solid rgba(212,175,55,0.26);
  box-shadow: 0 0 34px rgba(212,175,55,0.1);
}
.card-art-frame::after {
  width: 56px;
  height: 56px;
  bottom: 58px;
  background: radial-gradient(circle, rgba(212,175,55,0.22), transparent 68%);
}
.card-art-moon {
  position: relative;
  z-index: 1;
  font-size: 4.7rem;
  line-height: 1;
  filter: drop-shadow(0 0 18px rgba(255, 215, 128, 0.42));
  animation: float 4s ease-in-out infinite;
}
.card-art-title,
.card-art-hint,
.card-reveal-caption {
  position: relative;
  z-index: 1;
  text-align: center;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.card-art-title {
  color: var(--dourado);
  font-family: var(--font-serif);
  font-size: 1.05rem;
}
.card-art-hint,
.card-reveal-caption {
  color: rgba(255,255,255,0.64);
  font-size: 0.72rem;
  font-weight: 700;
}
.card-reveal {
  transform: rotateY(180deg);
}
.card-art-frame-revealed {
  background:
    radial-gradient(circle at 50% 28%, rgba(212,175,55,0.22), transparent 28%),
    linear-gradient(180deg, rgba(30,10,60,0.88), rgba(8,2,20,0.95));
}
.card-reveal-symbol { position: relative; z-index: 1; font-size: 5rem; line-height: 1; color: #fff; text-shadow: 0 0 24px rgba(212,175,55,0.32); }
.card-reveal-name { position: relative; z-index: 1; font-family: var(--font-serif); font-size: 1.35rem; color: var(--dourado); letter-spacing: 4px; text-align: center; text-transform: uppercase; }
.carta-dia-message-panel {
  min-height: 320px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(212,175,55,0.34);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(20, 8, 38, 0.86), rgba(6, 2, 16, 0.74)),
    rgba(7, 3, 16, 0.72);
  box-shadow: 0 24px 70px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}
.message-panel-eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--dourado);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.carta-dia-message-panel h3 {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.carta-dia-message-panel p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.85;
}
#dailyCardHistoryList details > p {
  white-space: pre-line;
}
.daily-card-sections {
  margin: 0;
}
.daily-card-sections dt {
  color: var(--gold, #d7b56d);
  font-weight: 600;
}
.daily-card-sections dd {
  margin: 0.25rem 0 0.85rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}
.daily-card-sections dd:last-child {
  margin-bottom: 0;
}
.carta-dia-message-panel.revealed {
  border-color: rgba(212,175,55,0.58);
  box-shadow: 0 26px 76px rgba(0,0,0,0.34), 0 0 34px rgba(212,175,55,0.12), inset 0 1px 0 rgba(255,255,255,0.08);
}
.message-panel-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.58);
  font-size: 0.86rem;
  font-weight: 700;
}
.message-panel-footer span:first-child {
  color: var(--dourado);
  font-size: 1.3rem;
}
.carta-dia-cta { text-align: center; }
.carta-dia-cta p { color: var(--cinza-suave); margin-bottom: 16px; }

@media (max-width: 820px) {
  .carta-dia-experience {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .carta-dia-card {
    width: min(100%, 260px);
    height: 400px;
  }
  .carta-dia-message-panel {
    width: min(100%, 520px);
    min-height: 0;
    text-align: center;
  }
  .message-panel-footer {
    justify-content: center;
  }
}

/* ═══════════════════════════════════
   CONSULTA
═══════════════════════════════════ */
.consulta-section {
  position: relative;
  overflow: hidden;
  margin-top: -1px;
  background: url("/assets/optimized/consulta-bg.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.consulta-section .container {
  position: relative;
  z-index: 1;
}
.consulta-box {
  max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px; align-items: center;
}
.chat-input {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid var(--glass-border);
  background: rgba(45,21,84,0.45);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.chat-input:focus-within {
  border-color: var(--dourado);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.5), 0 0 28px rgba(212,175,55,0.18);
  background: rgba(45,21,84,0.62);
}
.chat-input.input-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 1px rgba(239,68,68,0.45);
}
.chat-input-textarea {
  width: 100%;
  min-height: 42px;
  max-height: 240px;
  padding: 14px 16px 4px;
  border: 0;
  background: transparent;
  color: var(--branco);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  resize: none;
  outline: none;
  overflow-x: hidden;
}
.chat-input-textarea::placeholder { color: var(--cinza-suave); }
.chat-input-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 0 14px;
}
.char-count { font-size: 0.75rem; color: var(--cinza-suave); }
.chat-submit {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dourado), #b8860b);
  color: var(--roxo-profundo);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}
.chat-submit:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.08); }
.chat-submit:active:not(:disabled) { transform: scale(0.95); }
.chat-submit:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  filter: grayscale(0.4);
}
.chat-submit-arrow {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}
.chat-submit-stop {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: currentColor;
  display: none;
}
.chat-submit.loading .chat-submit-arrow { display: none; }
.chat-submit.loading .chat-submit-stop { display: block; }
.consulta-disclaimer { font-size: 0.8rem; color: var(--cinza-suave); }

/* Resultado */
.consulta-resultado { max-width: 900px; margin: 60px auto 0; }

/* ── Loading Imersivo ── */
.resultado-loading { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 60px 20px; }
.resultado-api-error {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px;
  text-align: center;
  border-color: rgba(248,113,113,0.45);
  background: rgba(127,29,29,0.18);
}
.resultado-api-error h3 {
  font-family: var(--font-serif);
  color: #fecaca;
  margin-bottom: 10px;
}
.resultado-api-error p {
  color: var(--cinza-claro);
  margin-bottom: 20px;
}
.loading-shuffle {
  position: relative; width: 120px; height: 160px;
}
.loading-card-sh {
  position: absolute; width: 72px; height: 112px;
  border-radius: 8px;
  border: 1px solid rgba(212,175,55,0.3);
  background: linear-gradient(160deg, var(--roxo-medio), var(--roxo-escuro));
}
.loading-card-sh::after {
  content: '🌙'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); font-size: 1.4rem; opacity: 0.4;
}
.lcs-1 { left: 0; top: 20px; animation: shuffleCard1 1.8s ease-in-out infinite; }
.lcs-2 { left: 24px; top: 12px; animation: shuffleCard2 1.8s ease-in-out infinite; animation-delay: 0.15s; }
.lcs-3 { left: 48px; top: 20px; animation: shuffleCard3 1.8s ease-in-out infinite; animation-delay: 0.3s; }
@keyframes shuffleCard1 {
  0%,100%{ transform: rotate(-8deg) translateY(0); }
  50%{ transform: rotate(-12deg) translateY(-14px); }
}
@keyframes shuffleCard2 {
  0%,100%{ transform: rotate(0deg) translateY(0); }
  50%{ transform: rotate(0deg) translateY(-20px); }
}
@keyframes shuffleCard3 {
  0%,100%{ transform: rotate(8deg) translateY(0); }
  50%{ transform: rotate(12deg) translateY(-14px); }
}
.loading-messages { text-align: center; }
.loading-text {
  color: var(--cinza-suave); font-style: italic; font-size: 1.05rem;
  min-height: 28px; transition: opacity 0.4s ease;
}
.loading-steps {
  display: flex; gap: 10px; margin-top: 16px;
}
.loading-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--glass-border); transition: background 0.4s, transform 0.4s;
}
.loading-dot.active { background: var(--dourado); transform: scale(1.4); }

.tres-cartas { display: flex; gap: 24px; justify-content: center; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; }
.carta-resultado { text-align: center; }
.carta-posicao { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--dourado); margin-bottom: 12px; font-weight: 600; }
.carta-resultado-card {
  width: 140px; height: 220px; border-radius: 12px;
  background: linear-gradient(160deg, var(--roxo-medio), var(--roxo-escuro));
  border: 1px solid var(--glass-border);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 16px;
}
.carta-resultado-card-main {
  width: 160px; height: 256px; border-color: var(--dourado);
  box-shadow: 0 0 30px var(--dourado-glow);
}
.carta-resultado-symbol { font-size: 2.5rem; }
.carta-resultado-nome { font-family: var(--font-serif); font-size: 0.85rem; color: var(--dourado); text-align: center; }
.carta-resultado-tag { font-size: 0.7rem; padding: 3px 10px; border-radius: 20px; background: rgba(107,33,168,0.5); color: var(--cinza-suave); }
.resultado-interpretacao { padding: 0; font-size: 1rem; line-height: 1.9; color: var(--cinza-claro); margin-bottom: 40px; }
.interp-block {
  padding: 26px 30px; border-radius: var(--radius-lg);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); margin-bottom: 14px;
}
.interp-header {
  font-family: var(--font-serif); font-size: 0.78rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--dourado); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.interp-header::after { content: ''; flex: 1; height: 1px; background: var(--glass-border); }
.interp-text { color: var(--cinza-claro); line-height: 1.9; }
.interp-divider {
  text-align: center; color: var(--dourado); opacity: 0.4;
  letter-spacing: 12px; margin: 6px 0; font-size: 0.9rem;
  animation: float 5s ease-in-out infinite;
}
.interp-ritual { border-color: rgba(212,175,55,0.35); background: rgba(212,175,55,0.04); }
.interp-ritual .interp-text { font-style: italic; color: var(--cinza-suave); }
.resultado-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.resultado-actions p { color: var(--cinza-suave); }

/* ═══════════════════════════════════
   COMO FUNCIONA
═══════════════════════════════════ */
.timeline-container { display: flex; justify-content: space-between; position: relative; margin-top: 60px; gap: 30px; }
.timeline-line { position: absolute; top: 24px; left: 50px; right: 50px; height: 2px; background: linear-gradient(90deg, transparent, var(--dourado), transparent); z-index: 0; }
.timeline-step { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.timeline-dot { width: 50px; height: 50px; border-radius: 50%; background: var(--fundo); border: 2px solid var(--dourado); box-shadow: 0 0 15px var(--dourado-glow); margin-bottom: 24px; position: relative; }
.timeline-dot::after { content: '✦'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: var(--dourado); font-size: 1.2rem; }
.timeline-content { text-align: center; padding: 30px 20px; width: 100%; }
.timeline-content .step-number { font-family: var(--font-serif); font-size: 2.5rem; color: var(--roxo-brilho); opacity: 0.3; margin-bottom: 10px; line-height: 1; }
.timeline-content .step-title { font-family: var(--font-serif); font-size: 1.1rem; letter-spacing: 1px; margin-bottom: 10px; color: var(--dourado); }
.timeline-content .step-desc { font-size: 0.95rem; color: var(--cinza-claro); line-height: 1.6; }
@media (max-width: 768px) {
  .timeline-container { flex-direction: column; align-items: center; gap: 40px; }
  .timeline-line { top: 50px; bottom: 50px; left: 50%; right: auto; width: 2px; height: auto; transform: translateX(-50%); background: linear-gradient(180deg, transparent, var(--dourado), transparent); }
}

/* ═══════════════════════════════════
   DEPOIMENTOS
═══════════════════════════════════ */
.depoimentos-section { background: radial-gradient(ellipse at center, rgba(107,33,168,0.15) 0%, transparent 70%); }
.depoimentos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.depoimento-card { padding: 32px; transition: transform 0.3s; }
.depoimento-card:hover { transform: translateY(-4px); }
.depoimento-destaque { border-color: var(--dourado); box-shadow: 0 0 20px var(--dourado-glow); }
.depoimento-stars { color: var(--dourado); font-size: 1rem; letter-spacing: 4px; margin-bottom: 16px; }
.depoimento-texto { font-size: 0.95rem; color: var(--cinza-claro); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.depoimento-autor { display: flex; align-items: center; gap: 12px; }
.depoimento-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--roxo-brilho), var(--dourado));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 1rem;
}
.depoimento-nome { font-weight: 600; font-size: 0.9rem; }
.depoimento-local { font-size: 0.75rem; color: var(--cinza-suave); }

/* ═══════════════════════════════════
   PLANOS
═══════════════════════════════════ */
.rituais-section {
  background: radial-gradient(ellipse at 20% 20%, rgba(212,175,55,0.12), transparent 42%),
              radial-gradient(ellipse at 80% 70%, rgba(147,51,234,0.16), transparent 48%);
}
.ritual-toolbar { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 0 auto 28px; }
.ritual-filter {
  min-width: 112px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.05);
  color: var(--cinza-claro);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.ritual-filter.active,
.ritual-filter:hover { border-color: var(--dourado); color: var(--roxo-profundo); background: var(--gradient-gold); }
.ritual-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.ritual-card,
.ritual-empty {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(160deg, rgba(45,21,84,0.78), rgba(13,5,24,0.92));
  box-shadow: var(--shadow-card);
}
.ritual-card { display: flex; min-height: 280px; flex-direction: column; gap: 14px; transition: transform 0.25s ease, border-color 0.25s ease; }
.ritual-card:hover { transform: translateY(-4px); border-color: rgba(212,175,55,0.5); }
.ritual-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ritual-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.35);
  color: var(--dourado);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}
.ritual-price { color: var(--branco); font-family: var(--font-serif); font-weight: 800; text-align: right; }
.ritual-card h3 { font-family: var(--font-serif); color: var(--dourado); line-height: 1.25; }
.ritual-card p { color: var(--cinza-claro); font-size: 0.94rem; line-height: 1.7; }
.ritual-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.ritual-meta span,
.ritual-assets a,
.ritual-assets span {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--cinza-claro);
  font-size: 0.78rem;
}
.ritual-card .btn { width: 100%; margin-top: 4px; }
.ritual-modal { max-width: 560px; }
.ritual-assets { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 16px; }
.ritual-assets a { color: var(--dourado); }
.ritual-coupon-row { margin-bottom: 14px; }
.modal-hint { color: var(--cinza-suave); font-size: 0.86rem; text-align: center; margin-top: 12px; }

/* Arcane card system */
.tarot-card,
.carta-dia-card,
.carta-resultado-card,
.ritual-card {
  --card-line: rgba(240, 208, 96, 0.42);
  --card-glow: rgba(212, 175, 55, 0.28);
  --card-violet: rgba(147, 51, 234, 0.22);
}

.hero-cards {
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.42));
  animation: deckEntrance 1.1s ease 0.4s forwards, deckBreath 6s ease-in-out 1.6s infinite;
}

.tarot-card {
  transform-style: preserve-3d;
  animation: cardIdle 5.8s ease-in-out infinite;
}

.tarot-card-left { animation-delay: 0s; }
.tarot-card-center { animation-delay: 0.35s; }
.tarot-card-right { animation-delay: 0.7s; }

.card-back-face,
.card-front-face,
.card-back-daily,
.card-reveal,
.carta-resultado-card {
  overflow: hidden;
}

.card-back-face {
  background:
    var(--card-back-image, none) center / cover no-repeat,
    radial-gradient(circle at 50% 24%, rgba(240,208,96,0.2), transparent 24%),
    linear-gradient(155deg, #33135f 0%, #12051f 62%, #05030c 100%);
  border-color: rgba(240,208,96,0.5);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), inset 0 0 28px rgba(212,175,55,0.08);
}

.card-back-face::before {
  inset: 7px;
  border-color: rgba(240,208,96,0.42);
  background:
    radial-gradient(circle, transparent 44%, rgba(212,175,55,0.09) 45%, transparent 47%),
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(255,255,255,0.04) 8px 9px);
}

.card-back-face::after {
  content: "ML";
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240,208,96,0.46);
  border-radius: 999px;
  color: var(--dourado);
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  background: rgba(8,2,20,0.42);
  opacity: 0.86;
}

.card-front-face {
  background:
    radial-gradient(circle at 50% 34%, rgba(240,208,96,0.16), transparent 30%),
    linear-gradient(160deg, #2b1053, #080212 76%);
}

.card-front-face::before,
.card-reveal::after,
.carta-resultado-card::before,
.ritual-card::after {
  content: "";
  position: absolute;
  inset: -35%;
  background: linear-gradient(115deg, transparent 36%, rgba(255,255,255,0.18) 48%, transparent 60%);
  transform: translateX(-56%) rotate(10deg);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.tarot-card:hover .card-front-face::before,
.carta-dia-card:hover .card-reveal::after,
.carta-resultado-card:hover::before,
.ritual-card:hover::after {
  transform: translateX(56%) rotate(10deg);
}

.carta-dia-card {
  position: relative;
  transform-style: preserve-3d;
  animation: dailyCardFloat 5.4s ease-in-out infinite;
}

.carta-dia-card::before,
.carta-dia-card::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 32px;
  pointer-events: none;
}

.carta-dia-card::before {
  background: conic-gradient(from 180deg, transparent, rgba(212,175,55,0.42), rgba(147,51,234,0.25), transparent 72%);
  filter: blur(18px);
  opacity: 0.42;
  animation: haloTurn 9s linear infinite;
}

.carta-dia-card::after {
  border: 1px solid rgba(240,208,96,0.18);
  transform: translateZ(-1px);
}

.card-back-daily,
.card-reveal {
  background:
    var(--card-back-image, none) center / cover no-repeat,
    radial-gradient(circle at 50% 20%, rgba(240,208,96,0.2), transparent 24%),
    radial-gradient(circle at 50% 70%, rgba(147,51,234,0.16), transparent 42%),
    linear-gradient(155deg, rgba(43,16,83,0.98), rgba(8,2,18,0.98) 76%);
  border-color: rgba(240,208,96,0.62);
}

.card-back-daily::after,
.card-reveal::before,
.carta-resultado-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  border: 1px solid rgba(240,208,96,0.24);
  background:
    linear-gradient(90deg, transparent 48%, rgba(240,208,96,0.18) 49%, transparent 51%),
    linear-gradient(0deg, transparent 48%, rgba(240,208,96,0.12) 49%, transparent 51%);
  opacity: 0.52;
  pointer-events: none;
}

.arcano-card-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.45s ease, transform 0.6s ease;
  pointer-events: none;
}

.arcano-has-image .arcano-card-image {
  opacity: 1;
  transform: scale(1);
}

.arcano-has-image .card-reveal-symbol,
.arcano-has-image .card-reveal-name,
.arcano-has-image .card-reveal-caption,
.arcano-has-image .carta-resultado-symbol,
.arcano-has-image .carta-resultado-nome,
.arcano-has-image .carta-resultado-tag {
  opacity: 0;
}

.arcano-generated::before {
  background:
    radial-gradient(circle at 50% 22%, rgba(240,208,96,0.2), transparent 22%),
    radial-gradient(circle at 50% 58%, rgba(147,51,234,0.24), transparent 38%),
    linear-gradient(155deg, rgba(6,2,12,0.15), rgba(6,2,12,0.72)),
    var(--card-back-image, none) center / cover no-repeat;
  opacity: 0.92;
}

.card-reveal.arcano-generated::before,
.carta-resultado-card.arcano-generated::after {
  inset: 16px;
}

.arcano-generated::after {
  content: attr(data-card-number);
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 2;
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0 9px;
  border: 1px solid rgba(240,208,96,0.6);
  border-radius: 999px;
  background: rgba(3,1,8,0.78);
  color: var(--dourado-claro);
  font-family: var(--font-serif);
  font-size: 1rem;
  transform: translateX(-50%);
  box-shadow: 0 0 22px rgba(212,175,55,0.14);
}

.carta-resultado-card.arcano-generated::after {
  top: 12px;
  min-width: 30px;
  height: 30px;
  font-size: 0.78rem;
}

.arcano-generated .card-reveal-symbol,
.arcano-generated .carta-resultado-symbol {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240,208,96,0.34);
  border-radius: 50%;
  background: rgba(2,1,8,0.46);
  box-shadow: inset 0 0 24px rgba(212,175,55,0.08), 0 0 28px rgba(212,175,55,0.12);
}

.carta-resultado-card.arcano-generated .carta-resultado-symbol {
  width: 58px;
  height: 58px;
}

.arcano-generated .card-reveal-name,
.arcano-generated .carta-resultado-nome {
  text-shadow: 0 0 18px rgba(212,175,55,0.24);
}

/* Refined generated tarot faces: full-card, black/gold, no cheap inner panel */
.card-reveal.arcano-generated {
  padding: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.52)),
    var(--card-back-image) center / cover no-repeat,
    linear-gradient(160deg, #05030a, #120818);
  border: 2px solid rgba(212,175,55,0.68);
  box-shadow:
    0 32px 80px rgba(0,0,0,0.5),
    inset 0 0 0 9px rgba(3,1,8,0.9),
    inset 0 0 0 11px rgba(212,175,55,0.34),
    inset 0 0 56px rgba(0,0,0,0.78);
}

.card-reveal.arcano-generated .card-art-frame-revealed {
  width: 100%;
  height: 100%;
  padding: 34px 28px 38px;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 34%, rgba(240,208,96,0.12), transparent 22%),
    linear-gradient(180deg, rgba(1,1,6,0.08), rgba(1,1,6,0.36));
  border-radius: 22px;
}

.card-reveal.arcano-generated .card-art-frame::before,
.card-reveal.arcano-generated .card-art-frame::after {
  display: none;
}

.card-reveal.arcano-generated::before {
  content: "";
  position: absolute;
  inset: 26px 22px;
  z-index: 1;
  border: 1px solid rgba(240,208,96,0.45);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 23%, transparent 0 18%, rgba(240,208,96,0.18) 18.5%, transparent 19.5%),
    linear-gradient(90deg, transparent 8%, rgba(212,175,55,0.42) 8.5%, transparent 9.5%, transparent 90.5%, rgba(212,175,55,0.42) 91.5%, transparent 92%),
    linear-gradient(180deg, transparent 10%, rgba(212,175,55,0.28) 10.5%, transparent 11.2%, transparent 88.8%, rgba(212,175,55,0.28) 89.5%, transparent 90%);
  opacity: 0.94;
  pointer-events: none;
}

.card-reveal.arcano-generated::after {
  content: attr(data-card-number);
  top: 18px;
  width: 70px;
  height: 70px;
  min-width: 70px;
  border: 2px solid rgba(212,175,55,0.72);
  background:
    radial-gradient(circle, rgba(25,12,6,0.96), rgba(0,0,0,0.92));
  color: #f0d060;
  font-size: 1.65rem;
  box-shadow:
    0 0 0 8px rgba(0,0,0,0.72),
    0 0 26px rgba(212,175,55,0.22);
}

.card-reveal.arcano-generated .card-reveal-symbol {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 3;
  width: 122px;
  height: 122px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212,175,55,0.48);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0,0,0,0.78), rgba(11,5,16,0.88));
  color: #fff7dc;
  font-size: 4.1rem;
  text-shadow: 0 0 18px rgba(240,208,96,0.52);
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 1px rgba(240,208,96,0.14),
    0 0 42px rgba(212,175,55,0.16),
    inset 0 0 28px rgba(212,175,55,0.08);
}

.card-reveal.arcano-generated .card-reveal-name {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 54px;
  z-index: 3;
  width: min(76%, 220px);
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px 12px;
  border: 1px solid rgba(212,175,55,0.58);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(7,3,8,0.98), rgba(0,0,0,0.92));
  color: #f0d060;
  font-size: clamp(1.15rem, 4vw, 1.55rem);
  letter-spacing: 0.16em;
  line-height: 1.12;
  text-shadow: 0 0 16px rgba(212,175,55,0.28);
  transform: translateX(-50%);
}

.card-reveal.arcano-generated .card-reveal-caption {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  color: rgba(240,208,96,0.58);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  transform: translateX(-50%);
}

.card-reveal.arcano-generated .arcano-card-image {
  display: none;
}

.carta-dia-inner.flipped .card-reveal.arcano-generated .card-reveal-symbol,
.carta-dia-inner.flipped .card-reveal.arcano-generated .card-reveal-name,
.carta-dia-inner.flipped .card-reveal.arcano-generated .card-reveal-caption {
  animation: none;
}

.carta-dia-inner.flipped .card-reveal.arcano-generated .card-reveal-symbol {
  transform: translate(-50%, -50%);
}

.carta-dia-inner.flipped .card-reveal.arcano-generated .card-reveal-name,
.carta-dia-inner.flipped .card-reveal.arcano-generated .card-reveal-caption {
  transform: translateX(-50%);
}

.carta-resultado-card.arcano-generated {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.14), rgba(0,0,0,0.55)),
    var(--card-back-image) center / cover no-repeat,
    linear-gradient(160deg, #05030a, #120818);
  border: 2px solid rgba(212,175,55,0.62);
  box-shadow:
    0 22px 54px rgba(0,0,0,0.45),
    inset 0 0 0 7px rgba(2,1,7,0.88),
    inset 0 0 0 9px rgba(212,175,55,0.24);
}

.carta-resultado-card.arcano-generated::before {
  inset: 18px 14px;
  z-index: 1;
  border: 1px solid rgba(240,208,96,0.36);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 42%, rgba(240,208,96,0.11), transparent 25%),
    linear-gradient(90deg, transparent 7%, rgba(212,175,55,0.28) 8%, transparent 9%, transparent 91%, rgba(212,175,55,0.28) 92%, transparent 93%);
  opacity: 1;
  transform: none;
}

.carta-resultado-card.arcano-generated::after {
  content: attr(data-card-number);
  top: 11px;
  z-index: 3;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border: 1px solid rgba(212,175,55,0.68);
  background: rgba(0,0,0,0.86);
  color: #f0d060;
  font-size: 0.95rem;
  box-shadow: 0 0 0 5px rgba(0,0,0,0.62);
}

.carta-resultado-card.arcano-generated .carta-resultado-symbol {
  position: relative;
  z-index: 3;
  width: 74px;
  height: 74px;
  margin-top: 14px;
  color: #fff7dc;
  font-size: 2.45rem;
  background: rgba(0,0,0,0.74);
  border-color: rgba(212,175,55,0.46);
}

.carta-resultado-card.arcano-generated .carta-resultado-nome {
  z-index: 3;
  max-width: 92%;
  padding: 7px 10px;
  border: 1px solid rgba(212,175,55,0.44);
  border-radius: 999px;
  background: rgba(0,0,0,0.76);
  color: #f0d060;
  letter-spacing: 0.1em;
}

.carta-resultado-card.arcano-generated .carta-resultado-tag {
  z-index: 3;
  background: rgba(0,0,0,0.7);
  color: rgba(255,255,255,0.78);
}

.card-art-frame::before {
  animation: haloPulse 3.6s ease-in-out infinite;
}

.card-art-moon {
  animation: dailyMoonFloat 4.6s ease-in-out infinite, softGlow 3.2s ease-in-out infinite;
}

.card-reveal-symbol {
  animation: symbolReveal 0.9s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.carta-dia-inner.flipped .card-reveal-name,
.carta-dia-inner.flipped .card-reveal-caption {
  animation: textLift 0.7s ease both;
}

.carta-dia-inner.flipped .card-reveal-caption {
  animation-delay: 0.12s;
}

.carta-dia-message-panel {
  position: relative;
  overflow: hidden;
}

.carta-dia-message-panel::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -70px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(212,175,55,0.22), transparent 68%);
  opacity: 0.46;
}

.carta-dia-message-panel.revealed {
  animation: panelReveal 0.7s ease both;
}

.loading-card-sh {
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 28%, rgba(240,208,96,0.14), transparent 28%),
    linear-gradient(160deg, #33135f, #080212);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 14px 28px rgba(0,0,0,0.32);
}

.loading-card-sh::after {
  content: "ML";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(240,208,96,0.38);
  border-radius: 50%;
  color: var(--dourado);
  font-family: var(--font-serif);
  font-size: 0.7rem;
  opacity: 0.86;
}

.resultado-cartas {
  position: relative;
  isolation: isolate;
}

.reading-spark {
  position: absolute;
  left: var(--spark-x);
  top: var(--spark-y);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--dourado-claro);
  box-shadow: 0 0 18px rgba(240,208,96,0.9);
  opacity: 0;
  pointer-events: none;
  animation: sparkFade 1.8s ease var(--spark-delay) both;
  z-index: -1;
}

.tres-cartas {
  perspective: 1100px;
}

.carta-resultado {
  opacity: 0;
  transform: translateY(34px) rotateX(18deg) scale(0.94);
}

.carta-resultado.card-revealed {
  animation: readingCardDeal 0.82s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.carta-resultado-card {
  position: relative;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 24%, rgba(240,208,96,0.16), transparent 24%),
    radial-gradient(circle at 50% 76%, rgba(147,51,234,0.18), transparent 44%),
    linear-gradient(160deg, #2d1554 0%, #10051e 76%, #04020a 100%);
  border-color: rgba(240,208,96,0.44);
  box-shadow: 0 18px 44px rgba(0,0,0,0.38), inset 0 0 36px rgba(212,175,55,0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.carta-resultado-card:hover {
  transform: translateY(-8px) rotateX(4deg);
  border-color: rgba(240,208,96,0.72);
  box-shadow: 0 26px 60px rgba(0,0,0,0.44), 0 0 28px rgba(212,175,55,0.16);
}

.carta-resultado-card-main {
  box-shadow: 0 26px 70px rgba(0,0,0,0.45), 0 0 34px rgba(212,175,55,0.28);
}

.carta-resultado-symbol,
.carta-resultado-nome,
.carta-resultado-tag {
  position: relative;
  z-index: 1;
}

.carta-resultado-symbol {
  color: #fff;
  text-shadow: 0 0 22px rgba(240,208,96,0.52);
}

.carta-resultado-tag {
  border: 1px solid rgba(240,208,96,0.28);
  background: rgba(8,2,20,0.48);
}

.interp-block {
  position: relative;
  overflow: hidden;
  animation: panelReveal 0.7s ease both;
}

.interp-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(240,208,96,0.08), transparent 34%);
  pointer-events: none;
}

.ritual-card {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px);
}

.ritual-card-visible {
  animation: ritualCardIn 0.62s ease var(--ritual-delay, 0ms) forwards;
}

.ritual-card-arcane {
  min-height: 310px;
  border-radius: 20px;
  border-color: rgba(240,208,96,0.26);
  background:
    radial-gradient(circle at 18% 10%, rgba(240,208,96,0.13), transparent 24%),
    radial-gradient(circle at 86% 74%, rgba(147,51,234,0.2), transparent 38%),
    linear-gradient(155deg, rgba(45,21,84,0.9), rgba(9,3,21,0.96));
}

.ritual-card-orbit {
  position: absolute;
  width: 118px;
  height: 118px;
  right: -36px;
  top: -36px;
  border: 1px solid rgba(240,208,96,0.2);
  border-radius: 50%;
  box-shadow: 0 0 38px rgba(212,175,55,0.1);
  animation: haloTurn 11s linear infinite;
}

.ritual-card-orbit::before,
.ritual-card-orbit::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  border: 1px solid rgba(147,51,234,0.18);
}

.ritual-card-orbit::before { inset: 18px; }
.ritual-card-orbit::after { inset: 38px; background: rgba(240,208,96,0.12); }

.ritual-card:hover {
  transform: translateY(-8px);
  border-color: rgba(240,208,96,0.62);
  box-shadow: 0 26px 70px rgba(0,0,0,0.46), 0 0 32px rgba(212,175,55,0.13);
}

.ritual-card > *:not(.ritual-card-orbit) {
  position: relative;
  z-index: 1;
}

.ritual-pill,
.ritual-meta span,
.ritual-assets a,
.ritual-assets span {
  backdrop-filter: blur(10px);
  background: rgba(8,2,20,0.38);
}

@keyframes deckEntrance {
  from { opacity: 0; transform: translateY(26px) scale(0.92); }
  to { opacity: 0.92; transform: translateY(0) scale(1); }
}

@keyframes deckBreath {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@keyframes cardIdle {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}

@keyframes dailyCardFloat {
  0%, 100% { transform: translateY(0) rotateZ(-0.4deg); }
  50% { transform: translateY(-10px) rotateZ(0.6deg); }
}

@keyframes dailyMoonFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-9px) scale(1.04); }
}

@keyframes softGlow {
  0%, 100% { filter: drop-shadow(0 0 16px rgba(240,208,96,0.38)); }
  50% { filter: drop-shadow(0 0 30px rgba(240,208,96,0.74)); }
}

@keyframes haloTurn {
  to { transform: rotate(360deg); }
}

@keyframes haloPulse {
  0%, 100% { opacity: 0.76; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes symbolReveal {
  from { opacity: 0; transform: translateY(16px) scale(0.78); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes textLift {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes panelReveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes readingCardDeal {
  0% { opacity: 0; transform: translateY(42px) rotateX(24deg) scale(0.9); filter: blur(5px); }
  70% { opacity: 1; transform: translateY(-8px) rotateX(0deg) scale(1.03); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) rotateX(0deg) scale(1); filter: blur(0); }
}

@keyframes sparkFade {
  0% { opacity: 0; transform: translateY(10px) scale(0.4); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-22px) scale(1.2); }
}

@keyframes ritualCardIn {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cards,
  .tarot-card,
  .carta-dia-card,
  .card-art-moon,
  .card-art-frame::before,
  .ritual-card-orbit,
  .section-divider-symbol {
    animation: none !important;
  }
  .carta-resultado,
  .ritual-card {
    opacity: 1;
    transform: none;
  }
}

.planos-section { background: linear-gradient(180deg, transparent, rgba(45,21,84,0.4), transparent); }
.pricing-shell { display: flex; justify-content: center; }
.pricing-card {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(160deg, rgba(45,21,84,0.78), rgba(13,5,24,0.92));
  box-shadow: 0 18px 60px rgba(0,0,0,0.35), 0 0 28px rgba(212,175,55,0.12);
}
.pricing-head h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  letter-spacing: 1px;
  color: var(--branco);
}
.pricing-head p { color: var(--cinza-suave); font-size: 0.92rem; margin-top: 4px; }
.billing-toggle {
  display: flex;
  gap: 4px;
  height: 44px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
}
.billing-option {
  flex: 1;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--cinza-suave);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.billing-option.active {
  background: linear-gradient(135deg, var(--dourado), #b8860b);
  color: var(--roxo-profundo);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.billing-option span {
  display: inline-flex;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(13,5,24,0.22);
  font-size: 0.68rem;
}
.pricing-options { display: flex; flex-direction: column; gap: 12px; }
.pricing-option {
  width: 100%;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 14px;
  align-items: start;
  text-align: left;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.11);
  background: rgba(255,255,255,0.045);
  color: var(--branco);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.pricing-option:hover {
  transform: translateY(-2px);
  border-color: rgba(212,175,55,0.45);
}
.pricing-option.active {
  border: 2px solid var(--dourado);
  background: rgba(212,175,55,0.08);
  box-shadow: 0 0 26px rgba(212,175,55,0.16);
}
.pricing-radio {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.24);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pricing-option.active .pricing-radio { border-color: var(--dourado); }
.pricing-option.active .pricing-radio::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dourado);
}
.pricing-copy strong,
.pricing-price strong {
  display: block;
  color: var(--branco);
  font-size: 1rem;
  line-height: 1.2;
}
.pricing-copy small,
.pricing-price small {
  display: block;
  color: var(--cinza-suave);
  font-size: 0.78rem;
  margin-top: 4px;
}
.pricing-price { text-align: right; white-space: nowrap; }
.pricing-price strong {
  color: var(--dourado);
  font-family: var(--font-serif);
  font-size: 1.15rem;
}
.pricing-details {
  grid-column: 2 / -1;
  display: grid;
  gap: 9px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding-top 0.35s ease;
}
.pricing-option.active .pricing-details {
  max-height: 180px;
  opacity: 1;
  padding-top: 8px;
}
.pricing-details span {
  color: var(--cinza-claro);
  font-size: 0.88rem;
}
.pricing-footer { display: flex; flex-direction: column; gap: 10px; }
.pricing-footer p {
  text-align: center;
  color: var(--cinza-suave);
  font-size: 0.84rem;
}

/* ═══════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════
   SEPARADOR DECORATIVO LUNAR
═══════════════════════════════════ */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 0;
  color: var(--dourado);
  opacity: 0.35;
  user-select: none;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dourado));
}
.section-divider::after {
  background: linear-gradient(90deg, var(--dourado), transparent);
}
.section-divider-symbol {
  font-size: 1.1rem;
  letter-spacing: 10px;
  animation: float 6s ease-in-out infinite;
}

/* ═══════════════════════════════════
   CHIPS DE SUGESTÃO DE PERGUNTA
═══════════════════════════════════ */
.carta-dia-section + .container {
  display: none;
}

.chips-sugestao {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 640px;
  width: 100%;
  margin-top: 4px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(45, 21, 84, 0.4);
  color: var(--cinza-suave);
  font-size: 0.78rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.chip:hover {
  border-color: var(--dourado);
  color: var(--dourado);
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212,175,55,0.15);
}
.chip:active { transform: translateY(0); }

/* ═══════════════════════════════════
   SEÇÃO PLANOS (Harmonizada com paleta)
═══════════════════════════════════ */
.pricing2-section {
  position: relative;
  min-height: 100vh;
  padding: 120px 0;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, var(--roxo-profundo) 0%, #0a0320 40%, #0d0a1e 100%);
  color: var(--branco);
}
.pricing2-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(80% 60% at 50% 15%, rgba(107,33,168,0.25), transparent 60%),
              radial-gradient(50% 40% at 80% 80%, rgba(212,175,55,0.06), transparent 50%);
  z-index: -3;
}
.pricing2-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
  z-index: -2;
}
.pricing2-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.72;
  z-index: -1;
}
.pricing2-lines .hline,
.pricing2-lines .vline {
  position: absolute;
  background: #27272a;
}
.pricing2-lines .hline {
  left: 0;
  right: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: 50% 50%;
  animation: drawX 0.65s ease forwards;
}
.pricing2-lines .vline {
  top: 0;
  bottom: 0;
  width: 1px;
  transform: scaleY(0);
  transform-origin: 50% 0%;
  animation: drawY 0.75s ease forwards;
}
.pricing2-lines .hline:nth-child(1) { top: 18%; animation-delay: 0.08s; }
.pricing2-lines .hline:nth-child(2) { top: 50%; animation-delay: 0.16s; }
.pricing2-lines .hline:nth-child(3) { top: 82%; animation-delay: 0.24s; }
.pricing2-lines .vline:nth-child(4) { left: 18%; animation-delay: 0.2s; }
.pricing2-lines .vline:nth-child(5) { left: 50%; animation-delay: 0.28s; }
.pricing2-lines .vline:nth-child(6) { left: 82%; animation-delay: 0.36s; }
@keyframes drawX { to { transform: scaleX(1); } }
@keyframes drawY { to { transform: scaleY(1); } }
.pricing2-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.pricing2-heading {
  max-width: 780px;
  text-align: center;
}
.pricing2-heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin-bottom: 16px;
  color: var(--branco);
}
.pricing2-heading p:not(.section-eyebrow) {
  color: var(--cinza-suave);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

/* Contador Regressivo */
.pricing-countdown,
.pricing-note {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 16px 36px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: var(--radius-lg);
}
.pricing-note p {
  max-width: 520px;
  color: var(--cinza-claro);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}
@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.3); }
  70% { box-shadow: 0 0 0 12px rgba(212,175,55,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}
.countdown-label {
  color: var(--dourado);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}
.countdown-timer {
  display: flex;
  gap: 16px;
}
.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(13,5,24,0.6);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.05);
  min-width: 56px;
}
.countdown-box span {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--branco);
  line-height: 1;
}
.countdown-box small {
  font-size: 0.75rem;
  color: var(--cinza-suave);
  margin-top: 6px;
  text-transform: lowercase;
}
.pricing2-switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #e4e4e7;
  font-size: 1.05rem;
}
.pricing-switch {
  width: 48px;
  height: 28px;
  border: 1px solid #3f3f46;
  border-radius: 999px;
  padding: 3px;
  background: #27272a;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.pricing-switch span {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #f4f4f5;
  transition: transform 0.25s ease;
}
.pricing-switch.active {
  background: var(--dourado);
  border-color: var(--dourado);
}
.pricing-switch.active span { transform: translateX(19px); background: #09090b; }
.pricing2-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.pricing2-card {
  width: 320px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 18px;
  background: rgba(45,21,84,0.5);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.6s ease 0.25s forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing2-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 80px rgba(0,0,0,0.5), 0 0 30px rgba(212,175,55,0.1);
}
.pricing2-card-featured {
  transform: translateY(20px);
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 22px 70px rgba(0,0,0,0.5), 0 0 40px rgba(212,175,55,0.18);
  animation-delay: 0.33s;
  background: rgba(45,21,84,0.7);
}
.pricing2-grid-focused {
  align-items: stretch;
}
.pricing2-card-primary {
  width: min(100%, 410px);
}
.pricing2-card-secondary {
  width: min(100%, 300px);
  opacity: 0.92;
}
.pricing2-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(212,175,55,0.55);
  border-radius: 999px;
  color: var(--dourado);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.pricing2-card-header { padding: 28px 28px 22px; }
.pricing2-card-header h3 {
  font-family: var(--font-serif);
  color: var(--branco);
  font-size: 1.35rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.pricing2-card-header p {
  min-height: 44px;
  color: var(--cinza-suave);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 18px;
}
.pricing2-price {
  display: block;
  color: var(--dourado);
  font-size: 2.55rem;
  line-height: 1;
  letter-spacing: 0;
  font-family: var(--font-serif);
}
.pricing2-billing {
  display: block;
  color: var(--cinza-suave);
  font-size: 0.9rem;
  margin-top: 10px;
}
.pricing2-separator {
  height: 1px;
  margin: 0 28px 22px;
  background: var(--glass-border);
}
.pricing2-included {
  color: var(--cinza-claro);
  font-weight: 700;
  font-size: 0.94rem;
  margin: 0 28px 14px;
}
.pricing2-features {
  display: grid;
  gap: 14px;
  padding: 0 28px;
  flex: 1;
}
.pricing2-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cinza-claro);
  font-size: 0.94rem;
}
.pricing2-features span {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--dourado);
  font-size: 0.78rem;
  border: 1px solid rgba(212,175,55,0.5);
  flex-shrink: 0;
}
.pricing2-button {
  margin: 28px;
  height: 48px;
  border: 0;
  border-radius: var(--radius-xl);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gradient-gold);
  color: var(--roxo-profundo);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  box-shadow: 0 4px 20px rgba(212,175,55,0.3);
}
.pricing2-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212,175,55,0.5);
  filter: brightness(1.08);
}
.pricing2-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.pricing2-button-secondary {
  background: transparent;
  color: var(--dourado);
  border: 1px solid rgba(212,175,55,0.45);
  box-shadow: none;
}

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
.credits-purchase-panel {
  margin: 56px auto 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 8%, rgba(212,175,55,0.16), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
  box-shadow: 0 24px 80px rgba(0,0,0,0.34);
  backdrop-filter: blur(18px);
}
.credits-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.credits-panel-head .section-eyebrow {
  margin-bottom: 8px;
  text-align: left;
}
.credits-panel-head h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  color: var(--branco);
  line-height: 1.12;
  margin-bottom: 10px;
}
.credits-panel-head p {
  max-width: 680px;
  color: var(--cinza-claro);
  line-height: 1.65;
}
.credits-doc-link {
  min-width: 116px;
  border: 0;
  background: transparent;
  color: var(--branco);
  font-weight: 800;
  cursor: pointer;
}
.credits-doc-link span { color: var(--dourado); margin-left: 6px; }
.credits-summary-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.55fr);
  gap: 22px;
}
.credits-status-card,
.credits-meter-card,
.credit-package-card {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(17, 17, 20, 0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.credits-status-card {
  min-height: 250px;
  padding: 26px;
  border-radius: 18px;
}
.credits-orb {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: conic-gradient(from 180deg, #d4af37, #8b5cf6, #0ea5e9, #d4af37);
  box-shadow: 0 12px 34px rgba(139,92,246,0.35);
}
.credits-status-card strong {
  display: block;
  color: var(--branco);
  font-size: 1.12rem;
  margin-bottom: 4px;
}
.credits-status-card span,
.credits-status-card li,
.credits-meter-lines small {
  color: var(--cinza-claro);
}
.credits-status-card ul {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.credits-status-card li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.credits-status-card li span { color: var(--dourado); }
.credits-meter-card {
  padding: 28px;
  border-radius: 18px;
}
.credits-meter-top,
.credits-meter-lines p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.credits-meter-top span {
  color: var(--cinza-claro);
  font-weight: 800;
}
.credits-meter-top strong {
  color: var(--branco);
  font-size: clamp(2.3rem, 7vw, 4.6rem);
  line-height: 0.95;
}
.credits-meter-bar {
  height: 14px;
  margin: 18px 0 24px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
}
.credits-meter-bar span {
  display: block;
  width: 22%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b5cf6, var(--dourado));
  transition: width 0.28s ease;
}
.credits-meter-lines {
  display: grid;
  gap: 16px;
}
.credits-meter-lines strong,
.credits-meter-lines span {
  color: var(--branco);
  font-size: 1.05rem;
}
.credits-package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.credit-package-card {
  min-height: 158px;
  padding: 18px;
  border-radius: 16px;
  color: var(--branco);
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.credit-package-card:hover,
.credit-package-card.active {
  transform: translateY(-2px);
  border-color: rgba(212,175,55,0.65);
  background: rgba(45,21,84,0.68);
}
.credit-package-check {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid rgba(212,175,55,0.5);
  border-radius: 999px;
  color: transparent;
}
.credit-package-card.active .credit-package-check {
  color: var(--roxo-profundo);
  background: var(--dourado);
}
.credit-package-card strong,
.credit-package-card small,
.credit-package-card em {
  display: block;
}
.credit-package-card strong { font-size: 1.04rem; margin-bottom: 8px; }
.credit-package-card small { min-height: 38px; color: var(--cinza-claro); line-height: 1.45; }
.credit-package-card em {
  margin-top: 14px;
  color: var(--dourado);
  font-style: normal;
  font-weight: 900;
}
.credits-buy-box {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) auto minmax(220px, 0.65fr);
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.credits-buy-button,
.credits-package-select {
  height: 48px;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-weight: 850;
}
.credits-buy-button {
  border: 0;
  background: linear-gradient(135deg, #8b5cf6, #d4af37);
  color: var(--branco);
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(139,92,246,0.28);
}
.credits-select-label {
  color: var(--cinza-claro);
  font-size: 0.9rem;
}
.credits-package-select {
  min-width: 220px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: var(--branco);
}
.credits-package-select option {
  background: #111114;
  color: var(--branco);
}

.footer {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px clamp(22px, 4vw, 48px) 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: 0;
  border-radius: 42px 42px 0 0;
  background:
    radial-gradient(42% 150px at 50% 0%, rgba(255,255,255,0.1), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  box-shadow: 0 -28px 90px rgba(0,0,0,0.28);
}
.footer-premium-glow {
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(420px, 44vw);
  height: 1px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(212,175,55,0.72);
  box-shadow: 0 0 34px rgba(212,175,55,0.58);
}
.footer-premium-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) 2fr;
  gap: clamp(38px, 6vw, 86px);
}
.footer-brand-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}
.footer-brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 13px;
  color: var(--branco);
}
.footer-brand-mark {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212,175,55,0.38);
  border-radius: 14px;
  background: rgba(212,175,55,0.09);
  color: var(--dourado);
  font-size: 1.8rem;
  line-height: 1;
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 800;
}
.footer-brand-copy {
  max-width: 320px;
  color: rgba(255,255,255,0.62);
  font-size: 0.95rem;
  line-height: 1.75;
}
.footer-rights,
.footer-legal-note {
  color: rgba(255,255,255,0.38);
  font-size: 0.78rem;
  line-height: 1.7;
}
.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 44px);
}
.footer-column {
  min-width: 0;
  text-align: left;
}
.footer-column h3 {
  margin-bottom: 18px;
  color: var(--branco);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-column ul {
  display: grid;
  gap: 12px;
  list-style: none;
}
.footer-column a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.56);
  font-size: 0.92rem;
  line-height: 1.35;
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--dourado);
  transform: translateX(3px);
}
.footer-social-icon {
  display: inline-flex;
  width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  color: rgba(212,175,55,0.82);
  font-size: 0.8rem;
  font-weight: 800;
}
.footer-legal-note {
  position: relative;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.footer-reveal {
  animation: footerReveal 0.85s ease both;
  animation-delay: var(--footer-delay, 0s);
}
@keyframes footerReveal {
  from {
    filter: blur(4px);
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer-reveal {
    animation: none;
  }
  .footer-column a {
    transition: none;
  }
}
@media (max-width: 900px) {
  .footer {
    width: min(100% - 24px, 680px);
    padding: 46px 24px 30px;
    border-radius: 30px 30px 0 0;
  }
  .footer-premium-inner {
    grid-template-columns: 1fr;
  }
  .footer-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .footer-nav-grid {
    grid-template-columns: 1fr;
  }
  .footer-column,
  .footer-brand-panel {
    text-align: left;
  }
  .footer-brand-copy {
    max-width: none;
  }
}

/* ═══════════════════════════════════
   MODAL
═══════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal {
  background: linear-gradient(160deg, var(--roxo-medio), var(--roxo-escuro));
  border: 1px solid var(--dourado); border-radius: var(--radius-lg);
  position: relative; text-align: center;
  animation: modalIn 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Modal Genérico Default (Usado no perfil) */
.modal:not(.auth-modal) {
  padding: 48px 40px; max-width: 420px; width: 100%;
}

/* Modal Auth (Split Layout) */
.auth-modal {
  padding: 0;
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  text-align: left;
}

.auth-modal-left {
  flex: 1;
  background: url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.auth-modal-left-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,5,24,0.95) 0%, rgba(13,5,24,0.4) 100%);
  z-index: 0;
}

.auth-modal-left-content {
  position: relative; z-index: 1;
}

.auth-modal-left-content h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem; color: var(--dourado); margin-bottom: 12px;
  line-height: 1.2;
}

.auth-modal-left-content p {
  color: var(--cinza-claro); font-size: 1.05rem; line-height: 1.6;
}

.modal-icon-large {
  font-size: 3.5rem; margin-bottom: 24px;
  animation: float 4s ease-in-out infinite;
}

.auth-modal-right {
  flex: 1.2;
  padding: 48px 40px;
  position: relative;
  background: var(--roxo-escuro);
}

@media (max-width: 768px) {
  .auth-modal { flex-direction: column; max-width: 420px; }
  .auth-modal-left { display: none; }
}

.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--cinza-suave); font-size: 1.2rem; cursor: pointer; transition: color 0.2s; z-index: 10; }
.modal-close:hover { color: var(--dourado); }
.modal-icon { font-size: 3rem; margin-bottom: 16px; animation: float 4s ease-in-out infinite; }
.modal-title { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 8px; }
.modal-subtitle { color: var(--cinza-suave); font-size: 0.9rem; margin-bottom: 28px; }
.modal-form { display: flex; flex-direction: column; gap: 16px; }

/* Inputs Base */
.modal-input {
  width: 100%;
  padding: 14px 18px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border);
  color: var(--branco); font-family: var(--font-sans); font-size: 0.95rem; outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.modal-input:focus { border-color: var(--dourado); background: rgba(255,255,255,0.1); }
.modal-input:disabled { opacity: 0.55; cursor: not-allowed; }

/* Floating Labels */
.input-group {
  position: relative;
  display: flex;
  flex-direction: column;
}
.floating-input {
  padding: 22px 16px 8px; /* Extra top padding for floating label */
}
.floating-label {
  position: absolute;
  top: 16px; left: 16px;
  color: var(--cinza-suave); font-size: 0.95rem;
  transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1) all; 
  pointer-events: none;
}
.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label {
  top: 6px; left: 16px; font-size: 0.7rem; color: var(--dourado); font-weight: 600;
}

/* Ripple Button Effect */
.btn-ripple {
  position: relative; overflow: hidden;
}
.btn-ripple::after {
  content: ""; display: block; position: absolute; width: 100%; height: 100%;
  top: 0; left: 0; pointer-events: none;
  background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
  background-repeat: no-repeat; background-position: 50%;
  transform: scale(10, 10); opacity: 0; transition: transform .5s, opacity 1s;
}
.btn-ripple:active::after {
  transform: scale(0, 0); opacity: .3; transition: 0s;
}

.modal-terms { font-size: 0.75rem; color: var(--cinza-suave); margin-top: 12px; }
.modal-terms a { color: var(--dourado); transition: color 0.2s; }
.modal-terms a:hover { color: var(--branco); }

/* --- PERFIL --- */
.perfil-modal {
  max-width: 620px !important;
  padding: 34px !important;
  text-align: left !important;
  overflow-y: auto;
  max-height: 92vh;
}
.perfil-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-right: 28px;
}
.perfil-avatar-wrap {
  position: relative;
  flex: 0 0 auto;
}
.avatar-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--dourado), var(--roxo-brilho));
  color: var(--roxo-profundo);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.18);
}
.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-serif);
  font-weight: 900;
  line-height: 1;
}
.avatar-status {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid var(--roxo-escuro);
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.75);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.perfil-avatar {
  width: 58px;
  height: 58px;
  font-size: 1.5rem;
}
.perfil-avatar-status {
  width: 14px;
  height: 14px;
  border-color: var(--roxo-medio);
}
.perfil-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--branco);
  line-height: 1.2;
}
.perfil-email {
  color: var(--cinza-suave);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}
.perfil-status-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.perfil-status {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px;
  background: rgba(255,255,255,0.05);
}
.perfil-label {
  display: block;
  color: var(--cinza-suave);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.perfil-status strong {
  color: var(--dourado);
  font-size: 0.95rem;
}
.perfil-metricas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.perfil-metricas div {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  background: rgba(13,5,24,0.35);
}
.perfil-metricas strong {
  display: block;
  font-family: var(--font-serif);
  color: var(--dourado);
  font-size: 1.35rem;
  line-height: 1;
}
.perfil-metricas span {
  display: block;
  color: var(--cinza-suave);
  font-size: 0.74rem;
  margin-top: 6px;
}
.perfil-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 18px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: 4px;
}
.perfil-tab {
  flex: 1;
  border: 0;
  border-radius: var(--radius-xl);
  padding: 10px;
  background: transparent;
  color: var(--cinza-suave);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.perfil-tab.active {
  background: linear-gradient(135deg, var(--dourado), #b8860b);
  color: var(--roxo-profundo);
}

/* --- PERFIL DASHBOARD PREMIUM --- */
#perfilOverlay.modal-overlay {
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 28px);
  background:
    radial-gradient(circle at 16% 20%, rgba(218, 165, 32, 0.14), transparent 30%),
    radial-gradient(circle at 86% 76%, rgba(74, 144, 226, 0.13), transparent 34%),
    rgba(2, 0, 8, 0.82);
  backdrop-filter: blur(18px);
}

#perfilModal.perfil-modal {
  width: min(1180px, calc(100vw - 42px)) !important;
  max-width: min(1180px, calc(100vw - 42px)) !important;
  max-height: calc(100vh - 48px);
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.94), rgba(214, 226, 239, 0.9)),
    rgba(255, 255, 255, 0.92);
  color: #0f172a;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
}

#perfilModal .modal-close {
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.perfil-shell {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  min-height: min(720px, calc(100vh - 48px));
}

.perfil-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.48);
}

.perfil-brand-pill {
  width: max-content;
  padding: 8px 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #183153;
  font-size: 0.78rem;
  font-weight: 800;
}

.perfil-user-card {
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58));
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

#perfilModal .perfil-avatar {
  width: 78px;
  height: 78px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #d4af37, #8b5cf6);
  color: #fff;
  font-size: 1.6rem;
}

#perfilModal .perfil-title {
  margin: 0 0 4px;
  color: #0f172a;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 850;
}

#perfilModal .perfil-email {
  color: #64748b;
  font-size: 0.82rem;
}

.perfil-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.perfil-nav-item {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #475569;
  font: 750 0.9rem var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.perfil-nav-item:hover,
.perfil-nav-item.active {
  background: #0f4c81;
  color: #fff;
  box-shadow: 0 12px 22px rgba(15, 76, 129, 0.18);
}

.perfil-plan-card {
  margin-top: auto;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.12), rgba(218, 165, 32, 0.16));
  color: #183153;
}

.perfil-plan-card .perfil-label,
#perfilModal .perfil-label {
  color: #64748b;
}

.perfil-plan-card strong {
  display: block;
  margin: 4px 0 10px;
  color: #0f172a;
  font-size: 1.5rem;
}

.perfil-plan-card p {
  margin: 6px 0;
  color: #475569;
  font-size: 0.82rem;
}

.perfil-main {
  max-height: calc(100vh - 48px);
  padding: 34px 34px 30px;
  overflow-y: auto;
}

.perfil-dashboard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-right: 46px;
  margin-bottom: 24px;
}

.perfil-kicker {
  margin: 0 0 6px;
  color: #0f4c81;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.perfil-dashboard-top h3 {
  margin: 0;
  color: #0f172a;
  font: 850 clamp(1.8rem, 4vw, 2.55rem)/1.05 var(--font-sans);
}

.perfil-dashboard-top p {
  max-width: 560px;
  margin: 8px 0 0;
  color: #64748b;
}

#perfilModal .perfil-metricas {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

#perfilModal .perfil-metricas div,
.perfil-widget {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

#perfilModal .perfil-metricas div {
  padding: 20px 18px;
  text-align: left;
}

#perfilModal .perfil-metricas strong {
  color: #0f4c81;
  font-family: var(--font-sans);
  font-size: 2.15rem;
  font-weight: 850;
}

#perfilModal .perfil-metricas span {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
}

.perfil-dashboard-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.perfil-widget {
  min-height: 190px;
  padding: 20px;
}

.perfil-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 800;
}

.perfil-widget-head strong {
  color: #0f172a;
  font-size: 1.25rem;
}

.perfil-progress-ring {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  margin: 10px auto 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle, #f8fafc 56%, transparent 58%),
    conic-gradient(#0f4c81 var(--perfil-progress, 0%), #dbeafe 0);
  color: #0f172a;
  font-size: 1.45rem;
  font-weight: 850;
}

.perfil-progress-widget p {
  margin: 0;
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: center;
}

.perfil-bars {
  height: 116px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 10px;
  padding-top: 12px;
}

.perfil-bars span {
  min-height: 18px;
  height: var(--h);
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, #1d7bd8, #0f4c81);
}

.perfil-actions-widget {
  display: flex;
  flex-direction: column;
}

.perfil-action {
  min-height: 42px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.9);
  color: #183153;
  font: 800 0.88rem var(--font-sans);
  text-align: left;
  cursor: pointer;
}

.perfil-action.danger {
  color: #b91c1c;
}

#perfilModal .perfil-tabs {
  width: min(100%, 420px);
  margin: 4px 0 18px;
  background: rgba(15, 23, 42, 0.06);
}

#perfilModal .perfil-tab {
  color: #475569;
}

#perfilModal .perfil-tab.active {
  background: #0f4c81;
  color: #fff;
}

.perfil-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
}

.perfil-form-full {
  grid-column: 1 / -1;
}

#perfilModal .input-label {
  color: #475569;
}

#perfilModal .modal-input {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(248, 250, 252, 0.92);
  color: #0f172a;
}

#perfilModal .modal-input:focus {
  border-color: #0f4c81;
  box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.1);
}

#perfilModal .modal-terms,
#perfilModal .profile-danger-zone p {
  color: #64748b;
}

#perfilModal .form-error {
  color: #991b1b;
}

/* --- PAINEL DO USUARIO: RITUAL DIGITAL PREMIUM --- */
#perfilOverlay.modal-overlay {
  padding: clamp(10px, 2vw, 22px);
  background:
    radial-gradient(circle at 18% 18%, rgba(212, 175, 55, 0.14), transparent 30%),
    radial-gradient(circle at 82% 22%, rgba(144, 111, 255, 0.16), transparent 32%),
    radial-gradient(circle at 56% 88%, rgba(74, 144, 226, 0.12), transparent 36%),
    rgba(1, 1, 8, 0.92);
}

#perfilModal.perfil-modal {
  --panel-bg: #05050c;
  --panel-ink: #f7f2e8;
  --panel-muted: rgba(247, 242, 232, 0.64);
  --panel-soft: rgba(255, 255, 255, 0.065);
  --panel-line: rgba(255, 255, 255, 0.12);
  --panel-gold: #d8b75b;
  --panel-mist: #a9c7df;
  --panel-lilac: #b8a0ff;
  width: min(1360px, calc(100vw - 28px)) !important;
  max-width: min(1360px, calc(100vw - 28px)) !important;
  max-height: calc(100vh - 28px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(120deg, rgba(7, 8, 20, 0.98), rgba(12, 8, 24, 0.98)),
    var(--panel-bg);
  color: var(--panel-ink);
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.62);
}

#perfilModal .modal-close {
  position: fixed;
  top: clamp(18px, 3vw, 30px);
  right: clamp(18px, 3vw, 34px);
  z-index: 30;
  background: rgba(255, 255, 255, 0.08);
  color: var(--panel-ink);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

#perfilModal .modal-close:hover {
  color: var(--panel-gold);
  background: rgba(255, 255, 255, 0.12);
}

#perfilModal .perfil-shell {
  grid-template-columns: 286px minmax(0, 1fr);
  min-height: min(812px, calc(100vh - 28px));
}

#perfilModal .perfil-sidebar {
  gap: 18px;
  padding: 26px 22px;
  border-right: 1px solid var(--panel-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
}

#perfilModal .perfil-brand-pill {
  padding: 10px 14px;
  border-color: rgba(216, 183, 91, 0.22);
  background: rgba(255, 255, 255, 0.055);
  color: var(--panel-ink);
  letter-spacing: 0;
}

#perfilModal .perfil-user-card,
#perfilModal .perfil-plan-card,
#perfilModal .perfil-widget,
#perfilModal .perfil-form-grid,
#perfilModal .perfil-metricas div {
  border: 1px solid var(--panel-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

#perfilModal .perfil-user-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

#perfilModal .perfil-user-card::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 183, 91, 0.2), transparent 68%);
}

#perfilModal .perfil-avatar {
  position: relative;
  z-index: 1;
  width: 74px;
  height: 74px;
  background: linear-gradient(135deg, var(--panel-gold), var(--panel-lilac));
  box-shadow: 0 0 34px rgba(216, 183, 91, 0.24);
}

#perfilModal .perfil-title {
  position: relative;
  z-index: 1;
  color: var(--panel-ink);
  font-weight: 850;
}

#perfilModal .perfil-email {
  position: relative;
  z-index: 1;
  color: var(--panel-muted);
}

#perfilModal .perfil-nav {
  gap: 7px;
}

#perfilModal .perfil-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid transparent;
  color: rgba(247, 242, 232, 0.68);
  font-size: 0.88rem;
}

#perfilModal .perfil-nav-item span {
  width: 22px;
  color: var(--panel-mist);
}

#perfilModal .perfil-nav-item:hover,
#perfilModal .perfil-nav-item.active {
  border-color: rgba(216, 183, 91, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--panel-ink);
  box-shadow: 0 0 24px rgba(216, 183, 91, 0.08);
}

#perfilModal .perfil-plan-card {
  margin-top: auto;
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 183, 91, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

#perfilModal .perfil-plan-card .perfil-label,
#perfilModal .perfil-label {
  color: var(--panel-muted);
}

#perfilModal .perfil-plan-card strong {
  color: var(--panel-gold);
}

#perfilModal .perfil-plan-card p {
  color: var(--panel-muted);
}

#perfilModal .perfil-main {
  padding: clamp(22px, 3vw, 34px);
  background:
    radial-gradient(circle at 76% 0%, rgba(116, 89, 255, 0.13), transparent 28%),
    radial-gradient(circle at 26% 36%, rgba(74, 144, 226, 0.09), transparent 34%);
}

#perfilModal .perfil-view {
  display: none;
}

#perfilModal .perfil-view.active {
  display: block;
  animation: perfilViewIn 0.22s ease both;
}

@keyframes perfilViewIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

#perfilModal .perfil-view-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 48px 18px 0;
  padding: 22px;
  border: 1px solid var(--panel-line);
  border-radius: 24px;
  background:
    linear-gradient(120deg, rgba(216, 183, 91, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.045);
}

#perfilModal .perfil-view-head h3 {
  margin: 0;
  color: var(--panel-ink);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
}

#perfilModal .perfil-panel-grid,
#perfilModal .perfil-plan-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 48px 18px 0;
}

#perfilModal .perfil-plan-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#perfilModal .perfil-wide-list {
  margin: 0 48px 18px 0;
}

#perfilModal .perfil-inline-action {
  float: right;
  min-height: 30px;
  margin-left: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(216, 183, 91, 0.24);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--panel-ink);
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

#perfilModal .perfil-inline-action:hover {
  border-color: rgba(216, 183, 91, 0.46);
  background: rgba(216, 183, 91, 0.12);
}

.perfil-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 22px;
  overflow: hidden;
  margin: 0 48px 18px 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(216, 183, 91, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(216, 183, 91, 0.14), transparent 34%),
    radial-gradient(circle at 82% 28%, rgba(184, 160, 255, 0.2), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.perfil-hero-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.34) 1px, transparent 1.6px),
    radial-gradient(circle, rgba(216,183,91,0.22) 1px, transparent 1.8px);
  background-position: 20px 28px, 84px 62px;
  background-size: 132px 132px, 180px 180px;
  opacity: 0.36;
  pointer-events: none;
}

.perfil-hero > *:not(.perfil-hero-stars) {
  position: relative;
  z-index: 1;
}

#perfilModal .perfil-kicker {
  margin-bottom: 10px;
  color: var(--panel-gold);
}

.perfil-hero h3 {
  max-width: 760px;
  margin: 0;
  color: var(--panel-ink);
  font: 850 clamp(2rem, 4.4vw, 3.55rem)/1.02 var(--font-sans);
}

.perfil-hero p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--panel-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.perfil-hero-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  min-height: 160px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(3, 4, 12, 0.38);
}

.perfil-hero-panel span {
  color: var(--panel-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.perfil-hero-panel strong {
  color: var(--panel-mist);
  font-size: 1.4rem;
}

#perfilModal .perfil-widget.perfil-benefits-widget {
  min-height: auto;
  margin: 0 48px 16px 0;
}

#perfilViewDashboard [hidden] {
  display: none;
}

#perfilViewArquivos [hidden] {
  display: none;
}

.perfil-benefits-widget ul {
  padding-inline-start: 1.25rem;
  margin: 0 0 0.9rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  #perfilModal .perfil-widget.perfil-benefits-widget {
    margin-inline-end: 0;
  }
}

#perfilModal .perfil-metricas {
  gap: 12px;
  margin: 0 48px 16px 0;
}

#perfilModal .perfil-metricas div {
  min-height: 116px;
  padding: 18px;
}

#perfilModal .perfil-metricas span {
  margin: 0 0 10px;
  color: var(--panel-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

#perfilModal .perfil-metricas strong {
  color: var(--panel-ink);
  font-size: 2.4rem;
}

#perfilModal .perfil-metricas small {
  display: block;
  margin-top: 7px;
  color: rgba(247, 242, 232, 0.48);
  font-size: 0.78rem;
}

#perfilModal .perfil-dashboard-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  margin: 0 48px 18px 0;
}

#perfilModal .perfil-widget {
  min-height: 228px;
  padding: 20px;
}

#perfilModal .perfil-widget-head {
  color: var(--panel-muted);
}

#perfilModal .perfil-widget-head strong {
  color: var(--panel-gold);
  font-size: 1.05rem;
}

#perfilModal .perfil-widget p {
  color: var(--panel-muted);
  line-height: 1.55;
}

.perfil-card-orbit {
  width: 86px;
  height: 118px;
  display: grid;
  place-items: center;
  margin: 10px 0 18px;
  border: 1px solid rgba(216, 183, 91, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 34%, rgba(216, 183, 91, 0.22), transparent 42%),
    rgba(255, 255, 255, 0.045);
  color: var(--panel-gold);
  font-size: 2.2rem;
  box-shadow: 0 0 30px rgba(216, 183, 91, 0.12);
}

.perfil-level {
  margin: -6px 0 10px;
  color: var(--panel-mist) !important;
  font-weight: 800;
}

#perfilModal .perfil-progress-ring {
  background:
    radial-gradient(circle, rgba(8, 9, 20, 0.96) 55%, transparent 57%),
    conic-gradient(var(--panel-gold) var(--perfil-progress, 0%), rgba(255,255,255,0.1) 0);
  color: var(--panel-ink);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 0 32px rgba(216,183,91,0.12);
}

.perfil-ritual-message {
  min-height: 70px;
}

.perfil-mini-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  margin: 14px 0 16px;
}

.perfil-mini-calendar span {
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.perfil-mini-calendar span:nth-child(-n + 3) {
  background: linear-gradient(135deg, var(--panel-gold), var(--panel-lilac));
  box-shadow: 0 0 18px rgba(216,183,91,0.16);
}

#perfilModal .perfil-bars span {
  background: linear-gradient(180deg, var(--panel-mist), #4d6d9d);
  box-shadow: 0 -10px 24px rgba(169, 199, 223, 0.14);
}

#perfilModal .perfil-action {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  color: var(--panel-ink);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

#perfilModal .perfil-action:hover {
  transform: translateY(-1px);
  border-color: rgba(216, 183, 91, 0.32);
  background: rgba(255, 255, 255, 0.085);
}

#perfilModal .perfil-action.danger {
  color: #ffaaa5;
}

.perfil-reading-list {
  display: grid;
  gap: 10px;
}

.perfil-reading-list div {
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
}

.perfil-reading-list span {
  display: block;
  color: var(--panel-ink);
  font-weight: 800;
}

.perfil-reading-list small {
  display: block;
  margin-top: 4px;
  color: var(--panel-muted);
  line-height: 1.35;
}

#perfilModal .perfil-tabs {
  width: min(100%, 460px);
  margin: 0 0 16px;
  border: 1px solid var(--panel-line);
  background: rgba(255, 255, 255, 0.055);
}

#perfilModal .perfil-tab {
  color: var(--panel-muted);
}

#perfilModal .perfil-tab.active {
  background: rgba(216, 183, 91, 0.18);
  color: var(--panel-ink);
}

#perfilModal .perfil-form-grid {
  margin-right: 48px;
  background: rgba(255,255,255,0.055);
}

#perfilModal .input-label {
  color: var(--panel-muted);
}

#perfilModal .modal-input {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 12, 0.52);
  color: var(--panel-ink);
}

#perfilModal .modal-input:focus {
  border-color: rgba(216, 183, 91, 0.72);
  box-shadow: 0 0 0 4px rgba(216, 183, 91, 0.12);
}

#perfilModal .modal-input:disabled {
  color: rgba(247,242,232,0.48);
}

#perfilModal .modal-terms,
#perfilModal .profile-danger-zone p {
  color: var(--panel-muted);
}

#perfilModal .form-error {
  color: #fecaca;
  background: rgba(127, 29, 29, 0.28);
  border-color: rgba(248, 113, 113, 0.34);
}

/* ═══════════════════════════════════
   RESPONSIVO
═══════════════════════════════════ */
@media (max-width: 768px) {
  .header-inner { padding: 12px 14px; gap: 10px; }
  .logo-text { font-size: 0.92rem; letter-spacing: 0.5px; }
  .btn-sm { padding: 9px 14px; font-size: 0.8rem; }
  #headerVisitante { display: none !important; }
  .hero {
    height: 100svh;
    min-height: 620px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: 112px 18px 70px;
  }
  .hero-video {
    object-position: center;
    display: none;
  }
  .hero-content {
    width: min(100%, 300px);
    max-width: 300px;
    margin-left: 0;
    margin-right: 0;
  }
  .hero-title {
    font-size: clamp(1.65rem, 8.2vw, 2.05rem) !important;
    line-height: 1.16 !important;
    letter-spacing: 0.5px;
  }
  .hero-subtitle {
    width: min(100%, 300px);
    font-size: 1rem !important;
  }
  .hero-ctas { gap: 12px; margin-bottom: 0; }
  .hero-ctas .btn { width: min(100%, 300px); white-space: normal; text-align: center; }
  .hero-trust {
    width: min(100%, 342px);
    gap: 8px;
    padding: 14px 12px;
  }
  .trust-item { flex: 1; min-width: 0; }
  .trust-num { font-size: 1.05rem; }
  .trust-label {
    max-width: none;
    font-size: 0.68rem;
    line-height: 1.35;
  }
  .hero-cards { position: relative; right: auto; bottom: auto; margin-top: 40px; }
  .tarot-card { width: 70px; height: 115px; }
  .header-inner .online-badge { display: none; }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .pricing-card { padding: 20px; border-radius: 18px; }
  .pricing-option { grid-template-columns: 24px 1fr; }
  .pricing-price { grid-column: 2; text-align: left; }
  .pricing-details { grid-column: 2; }
  .credits-panel-head,
  .credits-meter-top,
  .credits-meter-lines p {
    display: block;
  }
  .credits-doc-link {
    margin-top: 16px;
    padding: 0;
  }
  .credits-summary-grid,
  .credits-package-grid,
  .credits-buy-box {
    grid-template-columns: 1fr;
  }
  .credits-package-select {
    width: 100%;
  }
  .header-user { gap: 8px; }
  .header-credits-badge {
    min-height: 38px;
    padding: 6px 9px;
    gap: 4px;
  }
  .header-credits-badge span,
  .header-credits-badge small {
    font-size: 0.58rem;
  }
  .header-credits-badge strong {
    font-size: 0.82rem;
  }
  .header-user-nome { max-width: 110px; }
  .perfil-modal { padding: 28px 22px !important; }
  .perfil-status-row { grid-template-columns: 1fr; }
  .perfil-metricas { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  #perfilModal.perfil-modal {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }

  .perfil-shell {
    display: block;
    min-height: auto;
  }

  .perfil-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .perfil-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .perfil-main {
    max-height: none;
    overflow: visible;
    padding: 24px;
  }

  .perfil-dashboard-grid,
  #perfilModal .perfil-metricas {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  #perfilOverlay.modal-overlay {
    padding: 8px;
  }

  #perfilModal.perfil-modal {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    border-radius: 20px;
  }

  .perfil-sidebar,
  .perfil-main {
    padding: 18px;
  }

  .perfil-dashboard-top {
    display: block;
    padding-right: 42px;
  }

  .perfil-dashboard-top .btn {
    margin-top: 14px;
  }

  .perfil-nav {
    grid-template-columns: 1fr;
  }

  .perfil-form-grid {
    grid-template-columns: 1fr;
    padding: 16px;
  }
}

@media (max-width: 1120px) {
  #perfilModal .perfil-shell {
    display: block;
  }

  #perfilModal .perfil-sidebar {
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr minmax(180px, 240px);
    align-items: stretch;
    border-right: 0;
    border-bottom: 1px solid var(--panel-line);
  }

  #perfilModal .perfil-brand-pill {
    grid-column: 1 / -1;
  }

  #perfilModal .perfil-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
  }

  #perfilModal .perfil-plan-card {
    margin-top: 0;
  }

  #perfilModal .perfil-main {
    max-height: none;
    overflow: visible;
  }

  #perfilModal .perfil-hero,
  #perfilModal .perfil-metricas,
  #perfilModal .perfil-dashboard-grid,
  #perfilModal .perfil-form-grid,
  #perfilModal .perfil-view-head,
  #perfilModal .perfil-panel-grid,
  #perfilModal .perfil-plan-options,
  #perfilModal .perfil-wide-list {
    margin-right: 0;
  }

  #perfilModal .perfil-dashboard-grid,
  #perfilModal .perfil-plan-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #perfilOverlay.modal-overlay {
    padding: 0;
  }

  #perfilModal.perfil-modal {
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
  }

  #perfilModal .perfil-sidebar {
    display: block;
    padding: 18px;
  }

  #perfilModal .perfil-user-card,
  #perfilModal .perfil-plan-card {
    margin-top: 14px;
  }

  #perfilModal .perfil-nav {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 14px;
  }

  #perfilModal .perfil-main {
    padding: 18px;
  }

  #perfilModal .perfil-hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  #perfilModal .perfil-hero h3 {
    font-size: clamp(1.65rem, 9vw, 2.15rem);
  }

  #perfilModal .perfil-metricas,
  #perfilModal .perfil-dashboard-grid,
  #perfilModal .perfil-form-grid,
  #perfilModal .perfil-panel-grid,
  #perfilModal .perfil-plan-options {
    grid-template-columns: 1fr;
  }

  #perfilModal .perfil-view-head {
    display: block;
    margin-right: 0;
  }

  #perfilModal .perfil-view-head .perfil-action {
    margin-top: 14px;
    width: 100%;
  }

  #perfilModal .perfil-tabs {
    width: 100%;
  }
}

/* --- AUTH MODAL --- */
.auth-modal { max-width: 460px !important; padding: 36px 36px 28px !important; text-align: left !important; overflow-y: auto; max-height: 92vh; }
.auth-tabs { display: flex; gap: 0; margin-bottom: 28px; background: rgba(255,255,255,0.06); border-radius: var(--radius-xl); padding: 4px; }
.auth-tab { flex: 1; padding: 10px; border-radius: var(--radius-xl); background: transparent; border: none; color: var(--cinza-suave); font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.auth-tab.active { background: linear-gradient(135deg, var(--dourado), #b8860b); color: var(--roxo-profundo); }
.auth-modal .modal-icon, .auth-modal .modal-title, .auth-modal .modal-subtitle { text-align: center; }
.input-group { display: flex; flex-direction: column; gap: 6px; }
.input-label { font-size: 0.8rem; font-weight: 600; color: var(--cinza-suave); letter-spacing: 0.5px; }
.input-label-opt { font-weight: 400; color: rgba(255,255,255,0.3); }
.input-senha-wrapper { position: relative; }
.input-senha-wrapper .modal-input { width: 100%; padding-right: 48px; }
.toggle-senha { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--cinza-suave); font-size: 1rem; cursor: pointer; }
.form-error { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.4); color: #fca5a5; border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.85rem; }

.auth-avatar-card {
  width: min(100%, 430px);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 18%, rgba(212,175,55,0.12), transparent 34%),
    rgba(255,255,255,0.045);
}

.auth-avatar-demo {
  position: relative;
  flex: 0 0 auto;
}

.auth-avatar-preview {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(212,175,55,0.34);
  background:
    linear-gradient(135deg, rgba(212,175,55,0.92), rgba(147,51,234,0.72)),
    #111827;
  color: #fff;
}

.auth-avatar-preview .avatar-fallback {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.auth-avatar-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border: 2px solid rgba(7,4,15,0.98);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0,0,0,0.32);
}

.auth-avatar-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.auth-avatar-copy strong {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.auth-avatar-copy span {
  color: var(--cinza-suave);
  font-size: 0.82rem;
  line-height: 1.45;
}

.perfil-avatar-editor {
  width: 100%;
  margin: 0;
}

/* --- AUTH GATE --- */
.auth-gate {
  width: 100vw;
  min-height: min(560px, calc(100svh - 170px));
  margin-left: calc(50% - 50vw);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.auth-gate-inner {
  max-width: 600px;
  width: min(100%, 600px);
  text-align: center;
  padding: 72px 56px;
}
.auth-gate-icon { font-size: 3rem; margin-bottom: 16px; }
.auth-gate-title { font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: 12px; }
.auth-gate-desc { color: var(--cinza-suave); font-size: 0.95rem; margin-bottom: 28px; }
.auth-gate-btns { display: flex; flex-direction: column; gap: 12px; align-items: center; }

/* --- AUTH MODAL RESPONSIVO PREMIUM ---
   Corrige a regra compacta antiga que forcava o modal a 460px e cortava o
   formulario no desktop. Mantem scroll apenas na coluna do formulario. */
#authOverlay.modal-overlay {
  align-items: center;
  justify-content: center;
  padding: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(218, 165, 32, 0.16), transparent 32%),
    radial-gradient(circle at 84% 72%, rgba(130, 98, 255, 0.16), transparent 34%),
    rgba(3, 0, 10, 0.96);
  backdrop-filter: blur(18px);
}

#authModal.auth-modal {
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(420px, 0.98fr) minmax(460px, 1fr);
  overflow: hidden !important;
  text-align: left !important;
  border: 0;
  border-radius: 0;
  background: rgba(7, 4, 15, 0.96);
  box-shadow: none;
}

#authModal .auth-modal-left {
  position: relative;
  min-height: 100%;
  padding: clamp(16px, 2.5vw, 36px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(4, 1, 9, 0.1), rgba(4, 1, 9, 0.72)),
    url("/assets/optimized/auth-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#authModal .auth-media-frame {
  position: absolute;
  inset: clamp(16px, 2.5vw, 36px);
  overflow: hidden;
  border-radius: 24px;
  background: #05020b;
}

#authModal .auth-media-image,
#authModal .auth-media-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.02) brightness(1);
  transform: none;
}

#authModal .auth-modal-left-overlay {
  position: absolute;
  inset: clamp(16px, 2.5vw, 36px);
  z-index: 1;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(7, 2, 16, 0.02), rgba(7, 2, 16, 0.72)),
    radial-gradient(circle at 52% 46%, rgba(218, 165, 32, 0.08), transparent 34%);
}

#authModal .auth-modal-left-content {
  position: relative;
  z-index: 2;
  min-height: 100%;
  max-width: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(26px, 4vw, 42px);
}

#authModal .auth-brand-mark {
  width: max-content;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#authModal .auth-modal-left-content h2 {
  max-width: 340px;
  margin: 0 0 18px;
  color: var(--dourado);
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  line-height: 0.98;
  text-transform: uppercase;
}

#authModal .auth-modal-left-content p {
  max-width: 340px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.96rem, 1.4vw, 1.1rem);
  line-height: 1.58;
}

#authModal .auth-modal-right {
  min-width: 0;
  max-height: 100vh;
  max-height: 100dvh;
  padding: clamp(42px, 6vw, 76px) clamp(28px, 7vw, 86px);
  overflow-y: auto;
  scrollbar-gutter: stable;
  background:
    radial-gradient(circle at 50% 0%, rgba(218, 165, 32, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(11, 7, 22, 0.98), rgba(7, 4, 15, 0.98));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#authModal .auth-tabs {
  width: min(100%, 430px);
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 4;
  backdrop-filter: blur(18px);
}

#authModal .auth-tab {
  min-height: 44px;
  border-radius: 14px;
  font-size: 0.95rem;
}

#authModal .auth-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--branco);
  box-shadow: inset 0 0 0 1px rgba(218, 165, 32, 0.16);
}

#authModal .modal-title,
#authModal .modal-subtitle {
  text-align: center;
}

#authModal .modal-title {
  margin-bottom: 10px;
  color: var(--branco);
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
}

#authModal .modal-subtitle {
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
}

#authModal .modal-form {
  width: min(100%, 430px);
  margin: 0 auto;
  gap: 18px;
}

#authModal .modal-input {
  min-height: 56px;
  border-color: rgba(218, 165, 32, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

#authModal .modal-input:focus {
  border-color: rgba(218, 165, 32, 0.78);
  box-shadow: 0 0 0 4px rgba(218, 165, 32, 0.12);
}

#authModal .modal-terms {
  width: min(100%, 430px);
  margin-left: auto;
  margin-right: auto;
  line-height: 1.45;
}

#authModal .btn-full {
  width: min(100%, 430px);
  margin-left: auto;
  margin-right: auto;
  min-height: 56px;
  border-radius: 14px;
  font-weight: 800;
}

#authModal .modal-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  font-size: 1.45rem;
}

#authModal .auth-switch-copy {
  width: min(100%, 430px);
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  text-align: center;
}

#authModal .auth-switch-copy button {
  border: 0;
  background: transparent;
  color: var(--dourado);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 900px) {
  #authOverlay.modal-overlay {
    align-items: flex-start;
    overflow-y: auto;
  }

  #authModal.auth-modal {
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: none;
    display: block !important;
    overflow: visible !important;
    border-radius: 0;
  }

  #authModal .auth-modal-left {
    display: none !important;
  }

  #authModal .auth-modal-right {
    max-height: none;
    overflow: visible;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 74px 22px 32px;
  }
}

@media (max-width: 520px) {
  #authOverlay.modal-overlay {
    padding: 0;
  }

  #authModal.auth-modal {
    width: 100vw !important;
    max-width: 100vw !important;
    border-radius: 0;
  }

  #authModal .auth-modal-right {
    padding: 74px 16px 26px;
  }

  #authModal .auth-tabs {
    margin-bottom: 18px;
  }
}

@media (max-width: 768px) {
  .hero-modern-content {
    top: 96px;
    left: 28px;
    width: calc(100% - 56px);
    padding-top: 0 !important;
  }
  .hero-section-5 .hero-modern-content .hero-title {
    font-size: 3rem;
    line-height: 1.18;
  }
  .hero-section-5 .hero-modern-content .hero-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .hero-section-5 .hero-modern-content .hero-title {
    font-size: 2.18rem;
    line-height: 1.12;
  }
  .hero-section-5 .hero-modern-content .hero-subtitle {
    font-size: 0.94rem;
    line-height: 1.45;
  }
  .hero-section-5 .hero-modern-content .hero-ctas .btn {
    width: 100%;
  }
}

/* --- HEADER LOGADO --- */
.header-user { display: flex; align-items: center; gap: 12px; }
.header-credits-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 7px 12px;
  border: 1px solid rgba(212,175,55,0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(212,175,55,0.13), rgba(107,33,168,0.16));
  color: var(--branco);
  font-family: var(--font-sans);
  cursor: pointer;
  box-shadow: inset 0 0 20px rgba(212,175,55,0.05);
  transition: var(--transition);
}
.header-credits-badge:hover {
  border-color: var(--dourado);
  transform: translateY(-1px);
}
.header-credits-badge span,
.header-credits-badge small {
  color: var(--cinza-suave);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
}
.header-credits-badge strong {
  color: var(--dourado);
  font-size: 0.96rem;
  line-height: 1;
}
.user-profile-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: var(--transition);
}
.user-profile-trigger:hover {
  border-color: var(--dourado);
  transform: translateY(-1px);
}
.header-avatar {
  width: 34px;
  height: 34px;
  font-size: 0.78rem;
}
.header-user-nome {
  max-width: 160px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--dourado);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
.header-user-nome:hover { color: var(--dourado-claro); }

/* --- TOAST --- */
.toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(20px); background: linear-gradient(135deg, var(--roxo-medio), var(--roxo-escuro)); border: 1px solid var(--dourado); border-radius: var(--radius-xl); color: var(--branco); font-size: 0.9rem; padding: 14px 28px; z-index: 10100; pointer-events: none; opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease; box-shadow: 0 8px 32px rgba(0,0,0,0.4); max-width: 90vw; text-align: center; }
.toast-show { opacity: 1 !important; transform: translateX(-50%) translateY(0) !important; }

.legal-page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0 80px;
}
.legal-page h1,
.legal-page h2 {
  font-family: var(--font-serif);
  color: var(--dourado);
  line-height: 1.2;
}
.legal-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 28px 0 24px; }
.legal-page h2 { font-size: 1.25rem; margin: 28px 0 10px; }
.legal-page p {
  color: var(--cinza-claro);
  margin-bottom: 14px;
  line-height: 1.8;
}
.profile-danger-zone {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(239,68,68,0.35);
  border-radius: var(--radius-md);
  background: rgba(239,68,68,0.08);
}
.profile-danger-zone p {
  color: var(--cinza-suave);
  font-size: 0.84rem;
}
.btn-danger {
  background: rgba(239,68,68,0.14);
  border: 1px solid rgba(239,68,68,0.55);
  color: #fecaca;
}
.btn-danger:hover { background: rgba(239,68,68,0.24); color: #fff; }

@media (max-width: 768px) {
  .header-user { gap: 8px; }
  .header-credits-badge {
    min-height: 38px;
    padding: 6px 9px;
    gap: 4px;
  }
  .header-credits-badge span,
  .header-credits-badge small {
    font-size: 0.58rem;
  }
  .header-credits-badge strong {
    font-size: 0.82rem;
  }
  .header-user-nome { max-width: 110px; }
  .perfil-modal { padding: 28px 22px !important; }
  .perfil-status-row { grid-template-columns: 1fr; }
  .perfil-metricas { grid-template-columns: 1fr; }
  .pricing2-section { padding: 92px 0; }
  .pricing2-grid { flex-direction: column; align-items: center; }
  .pricing2-card { width: min(100%, 340px); min-height: auto; }
  .pricing2-card-featured { transform: none; }
  .pricing2-switch { font-size: 0.95rem; }
}

/* Hero Section 5 adaptada para HTML estatico */
.header {
  top: 20px;
  right: auto;
  left: 50%;
  width: min(100% - 28px, 1480px);
  transform: translateX(-50%);
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.header-inner {
  max-width: none;
  min-height: 54px;
  padding: 0 clamp(18px, 3vw, 34px);
  gap: clamp(18px, 3vw, 36px);
  border: 1px solid rgba(244, 201, 89, 0.1);
  border-radius: 0 0 18px 18px;
  background:
    linear-gradient(90deg, rgba(6, 4, 15, 0.58), rgba(13, 8, 27, 0.38) 48%, rgba(8, 5, 16, 0.6)),
    rgba(6, 4, 15, 0.42);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}
.logo {
  min-width: max-content;
}
.logo-icon {
  position: relative;
  width: 24px;
  height: 24px;
  font-size: 0;
}
.logo-icon::before,
.logo-icon::after {
  content: '';
  position: absolute;
  inset: 10px 0 auto 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c7dff, #2dd4bf);
}
.logo-icon::after {
  inset: 0 auto 0 10px;
  width: 3px;
  height: 24px;
}
.logo-text {
  color: #f8f8fb;
  font-family: var(--font-sans);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0;
}
.online-badge {
  display: none;
}
#headerVisitante {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  margin-right: auto;
  margin-left: 0;
  color: rgba(255,255,255,0.52);
  font-size: clamp(0.58rem, 0.72vw, 0.74rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.header-nav a {
  color: rgba(255,255,255,0.7);
  transition: color 0.22s ease, transform 0.22s ease, text-shadow 0.22s ease;
}
.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--dourado);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.36);
  transform: translateY(-1px);
}

#headerVisitante .btn {
  min-height: 38px;
  padding: 0 28px;
  border-radius: 5px;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#headerVisitante .btn-ghost {
  border-color: rgba(244, 201, 89, 0.34);
  color: rgba(255,255,255,0.82);
  background: rgba(5, 5, 9, 0.2);
}

#headerVisitante .btn-primary {
  color: #21160b;
  background: linear-gradient(135deg, #f7d97a, #b07c2d);
  border-color: rgba(255, 230, 151, 0.78);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.24);
}

.header-plus-button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(244, 201, 89, 0.28);
  border-radius: 5px;
  background: rgba(5, 5, 9, 0.2);
  color: var(--dourado);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.header-plus-button:hover,
.header-plus-button:focus-visible {
  border-color: rgba(244, 201, 89, 0.76);
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-1px);
}
.hero-section-5 {
  width: 100%;
  height: clamp(720px, 96vh, 900px);
  min-height: 720px;
  margin: 0 auto 0;
  padding: 0 clamp(28px, 4vw, 58px) 118px;
  border: 0;
  border-radius: 0;
  background: #050509;
  box-shadow: none;
  isolation: isolate;
  overflow: visible;
  margin-bottom: 42px;
}
.hero-section-5 .hero-bg {
  overflow: hidden;
  border-radius: 0;
  background: #050509;
}
.hero-section-5 .hero-video {
  object-fit: cover;
  opacity: 1;
  filter: none;
}
.hero-section-5 .hero-video:not([src]) {
  background:
    linear-gradient(90deg, rgba(5,5,9,0.34), rgba(5,5,9,0.08)),
    url("/assets/optimized/hero-fallback.webp") center / cover no-repeat;
}
.hero-section-5 .hero-video-overlay {
  background:
    linear-gradient(90deg, rgba(5,5,9,0.18) 0%, rgba(5,5,9,0.06) 36%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(5,5,9,0.05) 100%);
}
.hero-section-5 .hero-content {
  display: none;
}
.hero-modern-content {
  position: absolute;
  z-index: 3;
  left: clamp(28px, 5vw, 96px);
  top: clamp(96px, 14vh, 126px);
  bottom: auto;
  width: min(560px, calc(100% - 56px));
  padding-top: 0;
  text-align: left;
  display: block;
}
.hero-section-5 .hero-modern-content .hero-title,
.hero-section-5 .hero-modern-content .hero-subtitle,
.hero-section-5 .hero-modern-content .hero-eyebrow {
  display: block !important;
}
.hero-section-5 .hero-modern-content .hero-trust {
  display: none !important;
}
.hero-section-5 .hero-modern-content .hero-ctas {
  position: static;
  margin: 0;
}
.hero-section-5 .hero-modern-content .hero-ctas {
  display: flex !important;
}
.hero-section-5 .hero-modern-content .hero-eyebrow {
  display: block !important;
  letter-spacing: 0;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.82);
}
.hero-section-5 .hero-modern-content .hero-title {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(2.8rem, 5.2vw, 4.45rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}
.hero-section-5 .hero-title-gold {
  display: inline;
  color: #f7f7f9;
  font-family: var(--font-sans);
  font-weight: 400;
  text-shadow: none;
}
.hero-section-5 .hero-modern-content .hero-subtitle {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(255,255,255,0.92);
  font-size: clamp(1.06rem, 1.55vw, 1.26rem);
  line-height: 1.55;
}
.hero-section-5 .hero-modern-content .hero-ctas {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  margin-top: 40px;
  margin-bottom: 0;
}
.hero-section-5 .hero-modern-content .hero-ctas .btn {
  width: auto;
  min-height: 60px;
  padding-inline: 28px;
}
.hero-section-5 .hero-modern-content .hero-ctas .btn-primary {
  background: #f7f7f9;
  color: #07070a;
  box-shadow: none;
}
.hero-section-5 .hero-modern-content .hero-ctas .btn-ghost {
  border-color: transparent;
  background: transparent;
  color: #f7f7f9;
}
.hero-section-5 .hero-modern-content .hero-ctas .btn-ghost:hover {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.055);
}
.hero-arrow {
  font-size: 1.2rem;
  transition: transform 0.22s ease;
}
.btn-primary-hero:hover .hero-arrow {
  transform: translateX(4px);
}
.hero-section-5 .hero-modern-content .hero-trust {
  display: none !important;
}
.hero-proof-strip {
  position: absolute;
  z-index: 3;
  left: clamp(28px, 5vw, 96px);
  right: clamp(28px, 5vw, 96px);
  bottom: -118px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 18px 20px;
  border-top: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(12,4,24,0.92), rgba(18,7,34,0.78)),
    rgba(8,3,18,0.86);
  box-shadow: 0 18px 44px rgba(0,0,0,0.28);
  backdrop-filter: blur(14px);
}
.hero-proof-strip p {
  color: rgba(255,255,255,0.96);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
.hero-proof-slider {
  position: relative;
  overflow: hidden;
  min-width: 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.hero-proof-track {
  display: flex;
  width: max-content;
  gap: 54px;
  animation: heroProofSlide 28s linear infinite;
}
.proof-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 158px;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  opacity: 1;
  filter: none;
  transition: opacity 0.22s ease, filter 0.22s ease;
}
.proof-logo:hover {
  opacity: 1;
  filter: saturate(1);
}
.proof-logo b {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212,175,55,0.32);
  border-radius: 15px;
  background:
    radial-gradient(circle at 34% 25%, rgba(255,255,255,0.24), transparent 30%),
    linear-gradient(135deg, rgba(212,175,55,0.34), rgba(124,58,237,0.2)),
    rgba(255,255,255,0.08);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1.24rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 0 22px rgba(212,175,55,0.14), inset 0 1px 0 rgba(255,255,255,0.16);
}
.proof-logo em {
  color: rgba(255,255,255,0.9);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.72);
}
@keyframes heroProofSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-proof-track {
    animation: none;
  }
}
.trusted-strip {
  position: relative;
  z-index: 4;
  width: min(100% - clamp(32px, 7vw, 96px), 1656px);
  margin: 0 auto;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(12,4,24,0.94), rgba(18,7,34,0.82)),
    rgba(8,3,18,0.88);
  box-shadow: 0 18px 44px rgba(0,0,0,0.28);
  overflow: hidden;
  backdrop-filter: blur(14px);
}
.trusted-strip-inner {
  min-height: 112px;
  max-width: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 18px 28px;
}
.trusted-strip p {
  margin: 0;
  color: rgba(255,255,255,0.96);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
.trusted-topic-slider {
  min-width: 0;
}
.trusted-topic-track {
  gap: clamp(48px, 7vw, 104px);
  animation-duration: 30s;
}
.trusted-topic {
  min-width: 190px;
}
.trusted-topic b {
  border-radius: 15px;
}
.trusted-topic em {
  text-transform: none;
}
@media (max-width: 980px) {
  .header-nav {
    display: none;
  }
  .hero-section-5 {
    width: 100%;
    height: auto;
    min-height: 760px;
    padding: 0 24px 140px;
    margin-bottom: 42px;
    border-radius: 0;
  }
  .hero-modern-content {
    padding-top: 240px;
  }
  .hero-section-5 .hero-modern-content .hero-ctas {
    align-items: stretch;
    flex-direction: column;
  }
  .hero-section-5 .hero-modern-content .hero-ctas .btn {
    width: min(100%, 360px);
  }
  .hero-section-5 .hero-modern-content .hero-trust {
    width: 100%;
    justify-content: center;
  }
  .hero-proof-strip {
    grid-template-columns: 1fr;
    gap: 16px;
    bottom: -124px;
  }
  .hero-proof-strip p {
    text-align: left;
  }
  .trusted-strip {
    width: min(100% - 20px, 720px);
    margin-top: 0;
  }
  .trusted-strip-inner {
    min-height: auto;
    padding: 26px 0;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .trusted-strip p {
    text-align: left;
  }
  .trusted-topic-track {
    gap: 34px;
  }
}
@media (max-width: 768px) {
  #headerVisitante {
    display: none !important;
  }
  .hero-section-5 {
    padding: 0 18px 130px;
    border-radius: 0;
    margin-bottom: 42px;
  }
  .header {
    top: 10px;
    width: min(100% - 20px, 720px);
  }
  .header-inner {
    padding: 16px 20px;
  }
  .logo-text {
    font-size: 1.04rem;
  }
  .hero-modern-content {
    padding-top: 220px;
  }
  .hero-section-5 .hero-modern-content .hero-title {
    font-size: clamp(2.75rem, 13vw, 4.2rem) !important;
  }
  .hero-section-5 .hero-modern-content .hero-subtitle {
    font-size: 1rem !important;
  }
  .hero-section-5 .hero-modern-content .hero-trust {
    gap: 10px;
    padding: 14px 12px;
  }
  .hero-proof-track {
    gap: 34px;
  }
}
@media (max-width: 520px) {
  .trusted-strip {
    width: min(100% - 20px, 720px);
  }
  .trusted-strip-inner {
    padding: 18px 16px;
  }
  .trusted-topic {
    min-width: 160px;
  }
}

.secondary-offers-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 28px auto 0;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  color: var(--branco);
  font-weight: 850;
  cursor: pointer;
}
.post-reading-only {
  display: none;
}
.post-reading-only.is-visible {
  display: block;
}
.reading-feedback-panel {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: 16px;
  background: rgba(255,255,255,0.055);
}
.reading-feedback-panel span {
  display: block;
  margin-bottom: 12px;
  color: var(--branco);
  font-weight: 850;
}
.reading-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.reading-feedback-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--cinza-claro);
  font-weight: 800;
  cursor: pointer;
}
.reading-feedback-actions button.active {
  border-color: rgba(212,175,55,0.65);
  color: var(--dourado);
}
.perfil-cancel-reason {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.perfil-cancel-reason span {
  color: var(--cinza-claro);
  font-size: 0.82rem;
  font-weight: 800;
}
.perfil-cancel-reason select {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: var(--branco);
  padding: 0 10px;
}
.perfil-cancel-reason option {
  background: #111114;
  color: var(--branco);
}

/* Final brand overrides */
.logo .logo-icon {
  position: static;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(244, 201, 89, 0.42);
  border-radius: 50%;
  object-fit: cover;
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.18);
}

.logo .logo-icon::before,
.logo .logo-icon::after {
  content: none;
}

.footer-brand .footer-brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(244, 201, 89, 0.42);
  background: rgba(212, 175, 55, 0.08);
}

#authModal .auth-brand-mark,
.perfil-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

#authModal .auth-brand-mark {
  padding: 6px 12px 6px 7px;
}

.auth-brand-logo,
.perfil-brand-logo {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid rgba(244, 201, 89, 0.35);
  border-radius: 50%;
  object-fit: cover;
}

/* Hero header layout */
@media (max-width: 980px) {
  .header {
    top: 14px;
    width: min(100% - 18px, 720px);
  }

  .header-inner {
    justify-content: center;
    min-height: 52px;
    padding: 0 10px;
  }

  .header-nav {
    display: none;
  }

  #headerVisitante {
    display: flex !important;
    margin-left: 0;
    gap: 8px;
  }

  #headerVisitante .btn {
    min-height: 36px;
    padding: 0 13px;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .header-plus-button {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 420px) {
  #headerVisitante .btn {
    padding: 0 10px;
    font-size: 0.54rem;
  }

  .header-plus-button {
    width: 34px;
    height: 34px;
  }
}

/* Consentimento opcional para análise de navegação. */
.analytics-consent[hidden] { display: none; }
.analytics-consent { position: fixed; z-index: 10000; bottom: 1rem; left: 50%; transform: translateX(-50%); width: min(920px, calc(100% - 2rem)); padding: 1.2rem 1.4rem; display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; color: #f6f1e8; background: #10182c; border: 1px solid #d7b56d; border-radius: 14px; box-shadow: 0 12px 40px #0009; }
.analytics-consent h2 { font-size: 1.1rem; margin: 0 0 .4rem; color: #f6f1e8; }
.analytics-consent p { margin: 0 0 .4rem; font-size: .9rem; line-height: 1.5; }
.analytics-consent a { color: #f2d79e; text-decoration: underline; }
.analytics-consent-actions { display: flex; gap: .6rem; flex-wrap: wrap; flex-shrink: 0; }
.analytics-consent-actions button { border: 1px solid #d7b56d; border-radius: 8px; padding: .65rem .9rem; background: transparent; color: #f6f1e8; cursor: pointer; }
.analytics-consent-actions #analyticsAccept { background: #d7b56d; color: #10182c; font-weight: 700; }
.footer-privacy-button { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: underline; cursor: pointer; }
@media (max-width: 700px) { .analytics-consent { flex-direction: column; align-items: stretch; gap: .8rem; bottom: .5rem; max-height: 75vh; overflow-y: auto; } .analytics-consent-actions button { flex: 1; } }
.spread-selection[hidden] { display: none; }
.spread-selection { padding: 1.5rem; margin: 1.5rem auto; max-width: 900px; }
.spread-selection h3 { color: #f6f1e8; margin-bottom: .5rem; }
.spread-selection p { color: #e6dcce; line-height: 1.5; }
.spread-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(48px, 1fr)); gap: .5rem; margin: 1rem 0; }
.spread-card-grid button { min-height: 68px; border: 1px solid #ad8b57; border-radius: 8px; background: #19122f; color: #f4d89e; cursor: pointer; font-size: .8rem; }
.spread-card-grid button[aria-pressed="true"] { background: #d7b56d; color: #10182c; font-weight: 700; }
.spread-card-grid button:disabled { cursor: default; opacity: .62; }
.spread-card-grid button:focus-visible, .spread-selection-actions button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.spread-selection-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }
@media (max-width: 600px) { .spread-selection { padding: 1rem; } .spread-card-grid { grid-template-columns: repeat(6, 1fr); } .spread-card-grid button { min-height: 58px; } }

.modal :focus-visible {
  outline: 2px solid #f6f1e8;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .modal {
    animation: none;
  }
}

.faq-section {
  scroll-margin-top: 96px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin: 32px auto 0;
}

.faq-list details {
  color: #f6f1e8;
  background: #10182c;
  border: 1px solid #d7b56d66;
  border-radius: 12px;
}

.faq-list summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
}

.faq-list details p {
  padding: 0 20px 16px;
  line-height: 1.6;
}

.faq-list a {
  color: #f6d894;
  text-decoration: underline;
}

.faq-list :focus-visible {
  outline: 2px solid #f6d894;
  outline-offset: 3px;
}

.faq-action {
  margin-top: 28px;
  text-align: center;
}

.reading-demo-content {
  max-width: 920px;
  margin: 28px auto 0;
  color: #f6f1e8;
}

.reading-demo-question {
  text-align: center;
  line-height: 1.65;
}

.reading-demo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  align-items: start;
  gap: 14px;
  margin: 24px 0 14px;
}

.reading-demo details {
  background: #10182c;
  border: 1px solid #d7b56d66;
  border-radius: 12px;
}

.reading-demo summary {
  padding: 14px 18px;
  cursor: pointer;
  color: #f6d894;
  font-weight: 600;
}

.reading-demo-cards summary::before {
  content: "";
  display: block;
  width: 56px;
  aspect-ratio: 2 / 3;
  margin: 0 auto 12px;
  border-radius: 6px;
  background: #352356 url("/assets/optimized/card-back.webp") center / cover no-repeat;
}

.reading-demo-cards details[open] summary::before {
  display: none;
}

.reading-demo summary:focus-visible {
  outline: 2px solid #f6d894;
  outline-offset: 3px;
}

.reading-demo-meaning {
  padding: 0 18px 16px;
}

.reading-demo-meaning p,
.reading-demo-synthesis p {
  line-height: 1.6;
  margin-top: 6px;
}

.reading-demo-synthesis p {
  padding: 0 18px 14px;
}

.digital-catalog {
  scroll-margin-top: 96px;
}

.digital-catalog-content {
  max-width: 760px;
  margin: 24px auto 0;
}

.digital-catalog-filters:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0;
}

.digital-catalog-filters label {
  display: grid;
  gap: 6px;
  max-width: 100%;
}

.digital-catalog-filters input,
.digital-catalog-filters select {
  max-width: 100%;
  padding: 8px;
  color: #f6f1e8;
  background: #10182c;
  border: 1px solid #d7b56d;
  border-radius: 6px;
  font: inherit;
}

#digitalCatalogStatus {
  margin-top: 12px;
}

#digitalCatalogResults {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin-top: 14px;
}

#digitalCatalogResults li {
  display: grid;
  gap: 10px;
  justify-items: start;
  align-content: start;
  color: #f6f1e8;
  background: #10182c;
  border: 1px solid #d7b56d66;
  border-radius: 12px;
  padding: 16px;
}

.digital-receipt {
  border-inline-start: 2px solid #d7b56d;
  padding-inline-start: 12px;
}

.digital-receipt pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  line-height: 1.6;
}

#perfilModal [data-library-progress][aria-pressed="true"] {
  color: #10182c;
  background: #f6d894;
  border-color: #f6d894;
}

@media (prefers-reduced-motion: reduce) {
  .carta-dia-card { animation: none; }
  .carta-dia-inner { transition: none; }
}

#monthlyReportResult[hidden] { display: none; }
#monthlyReportForm { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
#monthlyReportMonth { font: inherit; color: inherit; color-scheme: dark; background: #10182c; border: 1px solid #786849; border-radius: .4rem; padding: .45rem; }
.monthly-report-list { margin: .75rem 0; padding-inline-start: 1.25rem; }
.monthly-report-list li { margin-bottom: .55rem; overflow-wrap: anywhere; white-space: pre-wrap; }

.reading-media-controls {
  display: grid;
  justify-items: start;
  gap: .5rem;
  padding-block: .9rem;
  border-top: 1px solid rgba(215,181,109,.28);
}
.reading-media-controls p:empty,
.reading-media-controls div:empty { display: none; }
.reading-media-controls audio { display: block; max-width: 100%; margin-bottom: .65rem; }
.reading-media-controls a { color: #f6d894; text-decoration: underline; }

#readingFilesList p:empty,
.reading-file-output:empty { display: none; }
.reading-file-output audio { display: block; max-width: 100%; margin-bottom: .65rem; }
.reading-file-output a { color: #f6d894; text-decoration: underline; }


.reading-format {
  width: 100%;
  max-width: 36rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin: 0 auto 1rem;
  color: #f6f1e8;
}
.reading-format select {
  max-width: 100%;
  padding: .55rem .85rem;
  border: 1px solid var(--dourado);
  border-radius: .5rem;
  background: #20172d;
  color: #f6f1e8;
  font: inherit;
}
.reading-format select:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.spread-position-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: .65rem;
  padding: 0;
  margin: .75rem 0;
}
.spread-position-list li {
  border: 1px solid rgba(212, 175, 95, .42);
  border-radius: .65rem;
  padding: .65rem .8rem;
  min-width: 0;
  overflow-wrap: anywhere;
  color: #f6f1e8;
}
.spread-position-list strong, .spread-position-list span { display: block; }
.spread-position-list strong { color: var(--dourado); }
#specialSpreadResult:not([hidden]) + #resultadoTexto .interp-text { white-space: pre-wrap; }
#specialSpreadResultTitle { color: var(--dourado); text-align: center; margin: 0 0 1rem; }
#readingFormatField[hidden], #spreadSelectedPositions[hidden], #legacyResultCards[hidden],
#specialSpreadResult[hidden], #legacyResultActions[hidden], #specialResultActions[hidden],
#perfilLeiturasEspeciais[hidden] { display: none; }
