/* ============================================================
   AFETO.ME — Design System Completo
   Paleta: Dark Romântico · Rosa · Dourado
============================================================ */

/* ── Google Fonts ────────────────────────────────────────────*/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,900;1,500&family=Inter:wght@300;400;500;600;700&family=Caveat:wght@500;600;700&display=swap');

/* ── Tokens ──────────────────────────────────────────────────*/
:root {
  --bg:          #06040F;
  --card:        #0D0A1A;
  --input:       #100D1C;
  --border:      #1A1530;
  --border-h:    #2E2550;
  --rose:        #D63B6E;
  --rose-h:      #C02860;
  --rose-glow:   rgba(214,59,110,.25);
  --rose-dim:    rgba(214,59,110,.1);
  --rose-light:  #FF6B8A;
  --gold:        #C9973A;
  --gold-light:  #E8B86D;
  --gold-dim:    rgba(201,151,58,.1);
  --green:       #22C55E;
  --red:         #EF4444;
  --orange:      #F59E0B;
  --muted:       #5E5478;
  --dim:         #9086A8;
  --text:        #EDE8F5;
  --text-sub:    #B8AFCE;
  --radius:      12px;
  --radius-lg:   18px;
  --trans:       all .18s ease;
}

/* ── Reset ───────────────────────────────────────────────────*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Granulação sutil sobre tudo — tira o visual "chapado" das áreas escuras
   e dá aquela textura de papel/filme que remete a algo feito à mão. */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Toques manuscritos — usar só para assinaturas e frases curtas de carinho,
   nunca em blocos longos de texto (fica ilegível). */
.script { font-family: 'Caveat', cursive; font-weight: 600; }
img { max-width: 100%; display: block; }
a { color: var(--rose); text-decoration: none; }
a:hover { opacity: .85; }
.serif { font-family: 'Playfair Display', serif; }

/* ── Scrollbar ───────────────────────────────────────────────*/
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--rose); }

/* Respeita quem prefere menos animação (acessibilidade + bateria em mobile) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Animações ───────────────────────────────────────────────*/
@keyframes floatUp {
  0%   { transform: translateY(100vh) rotate(-12deg); opacity: 0; }
  5%   { opacity: .6; }
  95%  { opacity: .15; }
  100% { transform: translateY(-15vh) rotate(12deg); opacity: 0; }
}
@keyframes petalFall {
  0%   { transform: translateY(-20px) rotate(0deg); opacity: .9; }
  100% { transform: translateY(110vh) rotate(540deg); opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes heartbeat {
  0%,65%,100% { transform: scale(1); }
  15%,40%     { transform: scale(1.28); }
}
@keyframes starTwinkle {
  0%,100% { opacity: .12; }
  50%     { opacity: .55; }
}
@keyframes progressBar {
  from { width: 0; }
  to   { width: var(--progress); }
}
@keyframes slideRight {
  from { transform: translateX(-100%); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}
@keyframes shimmer {
  from { background-position: -300% center; }
  to   { background-position:  300% center; }
}

.anim-fade-up  { animation: fadeUp  .55s ease both; }
.anim-scale-in { animation: scaleIn .4s  ease both; }
.anim-float    { animation: float   3.8s ease-in-out infinite; }
.anim-hbeat    { animation: heartbeat 1.9s ease-in-out infinite; }

/* ── NAV ─────────────────────────────────────────────────────*/
.nav {
  position: sticky; top: 0; z-index: 200;
  height: 60px;
  background: rgba(6,4,15,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; gap: 14px;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 20px;
  color: var(--text); text-decoration: none;
}
.nav-logo span { color: var(--rose); }
.nav-ssl-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.25);
  border-radius: 99px; padding: 4px 12px;
  font-size: 11px; color: var(--green); font-weight: 600;
}
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--gold-light));
  border: none; color: #fff; font-weight: 700; font-size: 13px;
  cursor: pointer;
}

/* ── BOTÕES ──────────────────────────────────────────────────*/
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; padding: 11px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: 14px; font-family: 'Inter', sans-serif;
  border: none; cursor: pointer; text-decoration: none;
  transition: var(--trans); white-space: nowrap;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(135deg, var(--rose), #E8457A);
  color: #fff;
  box-shadow: 0 4px 16px var(--rose-glow);
}
.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--rose-h), #D63060);
  box-shadow: 0 6px 24px var(--rose-glow);
  color: #fff;
}
.btn-ghost {
  background: transparent; color: var(--dim);
  border: 1px solid var(--border);
}
.btn-ghost:hover:not(:disabled) {
  background: rgba(255,255,255,.05);
  border-color: var(--border-h);
  color: var(--text);
}
.btn-gold {
  background: var(--gold); color: #0A0810;
}
.btn-gold:hover { background: #B8862A; }
.btn-sm  { padding: 7px 15px; font-size: 12px; }
.btn-lg  { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; }

/* ── CARDS ───────────────────────────────────────────────────*/
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--trans);
}
.card-hover:hover {
  border-color: rgba(214,59,110,.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(214,59,110,.12);
}
.card-glow {
  box-shadow: 0 0 40px rgba(214,59,110,.15);
  border-color: rgba(214,59,110,.4);
}
.card-gold {
  background: var(--gold-dim);
  border-color: rgba(201,151,58,.3);
}

/* ── BADGES ──────────────────────────────────────────────────*/
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(214,59,110,.12);
  border: 1px solid rgba(214,59,110,.3);
  color: var(--rose); border-radius: 99px;
  padding: 3px 12px; font-size: 11px; font-weight: 700;
  letter-spacing: .7px; text-transform: uppercase;
}
.badge-green  { background: rgba(34,197,94,.1);  border-color: rgba(34,197,94,.3);  color: var(--green); }
.badge-gold   { background: var(--gold-dim);     border-color: rgba(201,151,58,.3); color: var(--gold-light); }
.badge-gray   { background: rgba(255,255,255,.05); border-color: var(--border);      color: var(--dim); }

/* ── FORMULÁRIOS ─────────────────────────────────────────────*/
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; color: var(--dim);
  font-size: 11.5px; font-weight: 600;
  margin-bottom: 7px; text-transform: uppercase; letter-spacing: .8px;
}
.form-label .req { color: var(--rose); }

.form-input, .form-textarea, .form-select {
  width: 100%; background: var(--input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 12px 14px;
  color: var(--text); font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color .2s; outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--rose);
}
.form-input.error { border-color: var(--red); }
.form-input.has-icon { padding-left: 42px; }
.form-textarea { resize: vertical; line-height: 1.7; min-height: 140px; }
.form-select { cursor: pointer; }
.input-wrap { position: relative; }
.input-icon {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%); font-size: 16px; pointer-events: none;
}
.form-error { color: var(--red); font-size: 12px; margin-top: 4px; }
.form-hint  { color: var(--muted); font-size: 11.5px; margin-top: 4px; }

/* Slug input */
.slug-wrap { display: flex; background: var(--input); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.slug-prefix { padding: 12px 14px; color: var(--muted); font-size: 13px; border-right: 1px solid var(--border); white-space: nowrap; }
.slug-input  { flex: 1; background: none; border: none; padding: 12px 14px; color: var(--text); font-size: 14px; outline: none; }
.slug-wrap:focus-within { border-color: var(--rose); }

/* Password show/hide */
.pw-wrap { position: relative; }
.pw-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--muted); cursor: pointer; font-size: 16px; padding: 4px; }

/* Password strength */
.pw-strength-bars { display: flex; gap: 4px; margin-top: 6px; }
.pw-bar { flex: 1; height: 3px; border-radius: 99px; background: var(--border); transition: background .3s; }
.pw-label { font-size: 11px; margin-top: 3px; }

/* Checkbox */
.checkbox-wrap { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.checkbox-box {
  width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0; margin-top: 1px;
  border: 2px solid var(--border); background: transparent;
  display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
}
.checkbox-box.checked { background: var(--rose); border-color: var(--rose); }
.checkbox-label { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Upload drop zone */
.upload-zone {
  background: var(--input); border: 2px dashed var(--border);
  border-radius: var(--radius); padding: 28px; text-align: center;
  cursor: pointer; transition: border-color .2s;
}
.upload-zone:hover { border-color: rgba(214,59,110,.5); }
.upload-zone.active { border-color: var(--rose); background: var(--rose-dim); }

/* ── LANDING PAGE ────────────────────────────────────────────*/
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px 24px 60px; overflow: hidden;
  text-align: center;
}
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 20%, rgba(214,59,110,.17) 0%, transparent 65%);
  pointer-events: none;
}
.hero-bottom-fade {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 7vw, 72px);
  font-weight: 900; line-height: 1.1; margin: 18px 0 20px;
  background: linear-gradient(140deg, var(--text) 20%, var(--rose-light) 60%, var(--gold-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { color: var(--text-sub); font-size: 18px; line-height: 1.75; margin-bottom: 36px; max-width: 520px; margin-left:auto; margin-right:auto; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-fine  { color: var(--muted); font-size: 12px; margin-top: 14px; }

/* Aurora — glow colorido se movendo lentamente atrás do hero */
.hero-aurora { position: absolute; inset: -15%; z-index: 0; pointer-events: none; filter: blur(70px); }
.hero-aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; opacity: .5; animation: auroraMove 20s ease-in-out infinite; }
.hero-aurora span:nth-child(1) { width: 440px; height: 440px; background: radial-gradient(circle, var(--rose) 0%, transparent 70%); top: -8%; left: 8%; animation-duration: 17s; }
.hero-aurora span:nth-child(2) { width: 400px; height: 400px; background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%); top: 15%; right: 2%; animation-duration: 23s; animation-delay: -5s; }
.hero-aurora span:nth-child(3) { width: 360px; height: 360px; background: radial-gradient(circle, #7B68EE 0%, transparent 70%); bottom: -12%; left: 38%; animation-duration: 21s; animation-delay: -11s; }
@keyframes auroraMove {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(50px,-35px) scale(1.15); }
  66%      { transform: translate(-35px,25px) scale(.9); }
}

/* Badge com brilho passando (shimmer) */
.badge-shimmer { position: relative; overflow: hidden; }
.badge-shimmer::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  animation: shimmerSweep 3.2s ease-in-out infinite;
}
@keyframes shimmerSweep { 0% { left: -60%; } 55%,100% { left: 130%; } }

/* Envelope como peça central do hero */
.hero-envelope-wrap { position: relative; z-index: 1; margin-top: 56px; }
.hero-envelope-glow {
  position: absolute; top: 50%; left: 50%; width: 380px; height: 380px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--rose-glow) 0%, transparent 70%);
  pointer-events: none; animation: envGlowPulse 5s ease-in-out infinite;
}
.hero-envelope-scale { display: inline-block; transform: scale(1.15); text-decoration: none; }
.hero-envelope-caption { color: var(--muted); font-size: 12.5px; margin-top: 18px; position: relative; z-index: 1; }

/* Divisor decorativo (pontilhado, remete a embrulho de presente) */
.gift-divider { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 8px; max-width: 200px; opacity: .5; }
.gift-divider span { width: 5px; height: 5px; border-radius: 50%; background: var(--rose); }
.gift-divider::before, .gift-divider::after { content: ''; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--border) 0 5px, transparent 5px 10px); }

/* Ticker de efeitos em movimento contínuo (marquee) */
.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marqueeScroll 32s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Cards com leve inclinação 3D ao passar o mouse (tilt) */
.tilt-card { transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s ease; transform-style: preserve-3d; will-change: transform; }

/* CTA fixo no mobile (aparece ao rolar) */
.mobile-sticky-cta {
  position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 150;
  display: none; opacity: 0; transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-sticky-cta.ativo { opacity: 1; transform: translateY(0); }
.mobile-sticky-cta a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--rose), var(--rose-light));
  color: #fff; font-weight: 700; font-size: 14.5px; padding: 15px; border-radius: 16px;
  text-decoration: none; box-shadow: 0 10px 34px rgba(214,59,110,.45);
}
@media (max-width: 780px) { .mobile-sticky-cta { display: block; } }

/* Particles */
.particles-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.particle { position: absolute; animation: floatUp linear infinite; pointer-events: none; }


/* Mockup card (legado — mantido caso ainda seja referenciado) */
.mockup-card {
  animation: float 3.8s ease-in-out infinite;
  background: linear-gradient(145deg, var(--card), #150C26);
  border: 1px solid var(--border); border-radius: 22px;
  padding: 28px; max-width: 460px; width: 100%; margin: 0 auto;
  box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 80px rgba(214,59,110,.1);
}

/* Moldura de celular — mostra o produto de verdade na home, não uma
   captura de tela estática. Reaproveita o mesmo envelope 3D da carta. */
.phone-frame {
  position: relative; width: min(290px, 82vw); margin: 0 auto;
  border-radius: 38px; padding: 14px;
  background: linear-gradient(160deg, #201731, #0c0916);
  box-shadow: 0 50px 110px rgba(0,0,0,.6), 0 0 90px rgba(214,59,110,.14),
              inset 0 0 0 1px rgba(255,255,255,.06);
  animation: float 4.4s ease-in-out infinite;
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 16px; background: #06040F; border-radius: 0 0 12px 12px; z-index: 2;
}
.phone-screen {
  background: radial-gradient(ellipse at 50% 30%, rgba(214,59,110,.16), transparent 65%), linear-gradient(160deg, #0d0a1a, #170a1e);
  border-radius: 26px; overflow: hidden; min-height: 400px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 44px 16px 30px; position: relative;
}
.phone-hint { color: rgba(255,255,255,.35); font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 22px; }
.phone-caption { text-align: center; margin-top: 22px; }
.phone-caption p { color: var(--text-sub); font-size: 13px; }
.phone-caption a { color: var(--rose-light); font-weight: 600; }
/* Envelope em miniatura, dimensionado com segurança para caber mesmo nos
   celulares mais estreitos (não depende de transform:scale, evita overflow) */
.phone-screen .envelope-3d { width: 150px; height: 104px; margin-bottom: 18px; animation: envFloat 4.5s ease-in-out infinite; }
.phone-screen .env-flap  { border-left-width: 75px; border-right-width: 75px; border-top-width: 51px; }
.phone-screen .env-seal  { top: 34px; width: 27px; height: 27px; font-size: 12px; }
.phone-screen .env-letter{ height: 78px; font-size: 22px; }

/* Sections */
.section { padding: 80px 24px; }
.section-center { text-align: center; margin-bottom: 48px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(26px,4vw,38px); font-weight: 900; margin: 14px 0 10px; }
.section-sub { color: var(--text-sub); font-size: 15px; }
.container { max-width: 900px; margin: 0 auto; }
.container-sm { max-width: 700px; margin: 0 auto; }

/* Grid layouts */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

/* Pricing highlight */
.pricing-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--rose), #E8457A);
  color: #fff; border-radius: 99px; padding: 4px 18px;
  font-size: 11px; font-weight: 700; white-space: nowrap; z-index: 1;
}

/* Ticker effects */
.effects-ticker { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.effect-chip { background: var(--card); border: 1px solid var(--border); border-radius: 99px; padding: 7px 16px; font-size: 13px; color: var(--text-sub); }

/* Security badges */
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.sec-item { background: var(--card); border: 1px solid rgba(34,197,94,.2); border-radius: var(--radius); padding: 18px 16px; text-align: center; }

/* Testimonials */
.testimonial-stars { color: var(--gold-light); font-size: 14px; margin-bottom: 10px; }
.testimonial-quote { color: var(--text-sub); font-size: 13px; line-height: 1.75; margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--rose), var(--gold-light)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; color: #fff; flex-shrink: 0; }

/* Feature showcase (o que você pode incluir) */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.feature-item {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 22px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feature-item:hover { transform: translateY(-4px); border-color: rgba(214,59,110,.3); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 21px; margin-bottom: 14px; background: linear-gradient(135deg, rgba(214,59,110,.18), rgba(201,151,58,.12));
  border: 1px solid rgba(214,59,110,.25);
}
.feature-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature-item p { color: var(--text-sub); font-size: 13px; line-height: 1.65; margin: 0; }

/* Por que afeto.me (substitui depoimentos fabricados por diferenciais reais) */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(214,59,110,.12); border: 1px solid rgba(214,59,110,.3); color: var(--rose-light); font-weight: 900; font-size: 14px;
}
.why-item h3 { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.why-item p { color: var(--text-sub); font-size: 13px; line-height: 1.65; margin: 0; }

/* FAQ (acordeão nativo, sem JS) */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-item summary {
  padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--text);
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--rose); font-size: 20px; font-weight: 400; flex-shrink: 0; transition: transform .25s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-answer { padding: 4px 22px 20px; color: var(--text-sub); font-size: 13.5px; line-height: 1.75; }

/* ── AUTH ────────────────────────────────────────────────────*/
.auth-page {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 40px 20px; position: relative; overflow: hidden;
}
.auth-card { width: 100%; max-width: 440px; position: relative; z-index: 1; }
.auth-header { text-align: center; margin-bottom: 24px; }
.auth-title { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 900; margin: 8px 0 4px; }
.auth-sub { color: var(--muted); font-size: 13px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.auth-divider hr { flex: 1; border: none; border-top: 1px solid var(--border); }
.auth-divider span { color: var(--muted); font-size: 12px; }
.auth-social {
  width: 100%; background: var(--input); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 11px; margin-bottom: 18px;
  color: var(--text-sub); font-size: 14px; font-weight: 500;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  gap: 10px; transition: border-color .2s; font-family: 'Inter', sans-serif;
}
.auth-social:hover { border-color: rgba(214,59,110,.4); }
.auth-switch { text-align: center; margin-top: 20px; color: var(--muted); font-size: 13px; }
.auth-switch a { color: var(--rose); font-weight: 600; }
.auth-security { background: var(--input); border-radius: var(--radius); padding: 12px; margin-bottom: 16px; }
.auth-security-title { color: var(--green); font-size: 11px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .6px; }
.auth-security p { color: var(--muted); font-size: 11px; margin: 3px 0; }
.rate-limit-warning { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); border-radius: var(--radius); padding: 12px; margin-bottom: 16px; font-size: 13px; color: var(--red); }

/* ── WIZARD ──────────────────────────────────────────────────*/
.wizard-page { max-width: 680px; margin: 0 auto; padding: 40px 20px; }
.wizard-progress { margin-bottom: 40px; }
.wizard-steps { position: relative; display: flex; }
.wizard-line-bg { position: absolute; top: 15px; left: 0; right: 0; height: 2px; background: var(--border); z-index: 0; }
.wizard-line-fill { position: absolute; top: 15px; left: 0; height: 2px; background: linear-gradient(90deg, var(--rose), var(--rose-light)); z-index: 0; transition: width .4s ease; }
.wizard-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 1; }
.wizard-dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--muted);
  transition: all .3s;
}
.wizard-dot.done { background: var(--rose); border-color: var(--rose); color: #fff; }
.wizard-dot.active { background: linear-gradient(135deg, var(--rose), var(--rose-light)); border-color: var(--rose); color: #fff; }
.wizard-step-label { font-size: 11px; color: var(--muted); text-align: center; }
.wizard-step-label.active { color: var(--text); font-weight: 600; }

.wizard-title { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 900; margin-bottom: 8px; }
.wizard-sub { color: var(--text-sub); font-size: 14px; margin-bottom: 28px; }

/* Type selector */
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.type-card {
  background: var(--card); border: 2px solid var(--border);
  border-radius: 14px; padding: 20px 16px; cursor: pointer;
  text-align: center; transition: all .2s;
}
.type-card:hover { border-color: rgba(214,59,110,.35); }
.type-card.selected { background: var(--rose-dim); border-color: var(--rose); }
.type-icon { font-size: 36px; margin-bottom: 8px; }
.type-label { font-weight: 700; font-size: 14px; margin-bottom: 3px; }
.type-desc { color: var(--muted); font-size: 12px; }

/* Effects selector */
.effects-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.effect-tag {
  background: var(--input); border: 1.5px solid var(--border);
  border-radius: 99px; padding: 7px 14px; font-size: 13px;
  cursor: pointer; color: var(--text-sub); transition: all .2s;
}
.effect-tag.selected { background: var(--rose-dim); border-color: var(--rose); color: var(--rose-light); }

/* Theme grid */
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.theme-card { border-radius: 12px; padding: 20px 10px; cursor: pointer; text-align: center; border: 2px solid var(--border); transition: border-color .2s; }
.theme-card.selected { border-color: var(--rose); }
.theme-dot { width: 20px; height: 20px; border-radius: 50%; margin: 0 auto 8px; }
.theme-label { color: #fff; font-size: 12px; font-weight: 600; }

/* Addons list */
.addon-row { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 8px; border-radius: 8px; transition: background .2s; }
.addon-row:hover { background: rgba(255,255,255,.03); }
.addon-row.selected { background: rgba(201,151,58,.1); }
.addon-check { width: 20px; height: 20px; border-radius: 4px; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; transition: all .2s; }
.addon-check.on { background: var(--gold-light); border-color: var(--gold-light); color: #000; }
.addon-price { color: var(--gold-light); font-size: 13px; font-weight: 700; flex-shrink: 0; }

/* Wizard nav */
.wizard-nav { display: flex; gap: 10px; margin-top: 24px; }
.wizard-nav .btn-primary { flex: 1; }

/* ── PAINEL (DASHBOARD) ──────────────────────────────────────*/
.dash-page { max-width: 820px; margin: 0 auto; padding: 40px 20px; }
.dash-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.dash-title { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 900; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 14px; margin-bottom: 32px; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; text-align: center; }
.stat-icon { font-size: 24px; margin-bottom: 6px; }
.stat-value { font-size: 24px; font-weight: 900; margin-bottom: 3px; }
.stat-label { color: var(--muted); font-size: 12px; }

.present-row { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.present-icon { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, rgba(214,59,110,.2), rgba(201,151,58,.15)); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.present-info { flex: 1; min-width: 120px; }
.present-name { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.present-url  { color: var(--muted); font-size: 12px; }
.present-views { text-align: center; flex-shrink: 0; }
.present-views-n { font-size: 20px; font-weight: 900; color: var(--rose); }
.present-views-l { color: var(--muted); font-size: 11px; }
.present-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* Empty state */
.empty-state { border: 2px dashed var(--border); border-radius: var(--radius-lg); padding: 32px; text-align: center; cursor: pointer; transition: border-color .2s; }
.empty-state:hover { border-color: rgba(214,59,110,.4); }

/* ── PRESENTE (PÁGINA PÚBLICA) ───────────────────────────────*/
.presente-page {
  min-height: 100vh;
  background: linear-gradient(145deg, #060310 0%, #120826 50%, #060310 100%);
  position: relative; overflow-x: hidden;
}
.presente-back { position: fixed; top: calc(16px + env(safe-area-inset-top, 0px)); left: 16px; z-index: 100; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.12); border-radius: 99px; color: rgba(255,255,255,.7); padding: 10px 18px; cursor: pointer; font-size: 13px; font-family: 'Inter', sans-serif; text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }

/* Stars bg */
.star-bg { position: fixed; border-radius: 50%; pointer-events: none; animation: starTwinkle ease-in-out infinite; }
.petals-wrap { position: fixed; inset: 0; pointer-events: none; z-index: 10; overflow: hidden; }
.petal { position: absolute; animation: petalFall linear infinite; }

/* Envelope 3D */
.envelope-screen { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; position: relative; }
.envelope-screen::before {
  content: '';
  position: absolute; top: 50%; left: 50%; width: 480px; height: 480px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--rose-glow) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
  animation: envGlowPulse 5s ease-in-out infinite;
}
@keyframes envGlowPulse { 0%,100% { opacity: .55; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.08); } }
.envelope-screen > * { position: relative; z-index: 1; }
.envelope-hint { color: rgba(255,255,255,.3); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 40px; animation: fadeUp .6s ease both; }
.envelope-title { font-family: 'Playfair Display', serif; color: #fff; font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.envelope-sub { color: rgba(255,255,255,.4); font-size: 14px; margin-bottom: 28px; }

.envelope-3d { position: relative; width: 200px; height: 138px; margin: 0 auto 40px; cursor: pointer; animation: envFloat 4.5s ease-in-out infinite; }
@keyframes envFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.env-back {
  position: absolute; inset: 0; border-radius: 8px;
  background: linear-gradient(150deg, #2a0f1f, #170815 60%, #26101f);
  box-shadow: 0 24px 70px rgba(214,59,110,.4), inset 0 0 0 1px rgba(255,255,255,.07);
}
.env-back::before, .env-back::after {
  content: ''; position: absolute; bottom: 0; width: 0; height: 0;
  border-bottom: 66px solid rgba(255,255,255,.025);
}
.env-back::before { left: 0; border-left: 100px solid transparent; }
.env-back::after  { right: 0; border-right: 100px solid transparent; }

.env-letter {
  position: absolute; left: 12px; right: 12px; top: 16px; height: 104px;
  background: linear-gradient(165deg, #fff, #f3ecf5 75%);
  border-radius: 5px; box-shadow: 0 6px 18px rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; z-index: 1; overflow: hidden;
  transition: transform 1s cubic-bezier(.22,1,.36,1) .55s, box-shadow .6s ease .55s;
}
.env-letter::before {
  content: ''; position: absolute; left: 14px; right: 14px; top: 22px; height: 2px; background: rgba(214,59,110,.15);
  box-shadow: 0 12px 0 rgba(214,59,110,.12), 0 24px 0 rgba(214,59,110,.09), 0 36px 0 rgba(214,59,110,.06);
}
.env-flap {
  position: absolute; top: 0; left: 0; width: 0; height: 0;
  border-left: 100px solid transparent; border-right: 100px solid transparent;
  border-top: 68px solid #3d1226;
  transform-origin: top center; z-index: 3;
  backface-visibility: hidden;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.35));
  transition: transform .65s cubic-bezier(.65,0,.35,1) .2s;
}
.env-seal {
  position: absolute; top: 44px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%; z-index: 4;
  background: radial-gradient(circle at 32% 28%, #ff7f9c, #D63B6E 62%, #93244a);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85); font-size: 15px; box-shadow: 0 4px 10px rgba(0,0,0,.4);
  transition: transform .35s ease, opacity .35s ease;
}

.envelope-3d.opening { animation: none; }
.envelope-3d.opening .env-seal  { transform: translateX(-50%) scale(0) rotate(35deg); opacity: 0; }
.envelope-3d.opening .env-flap  { transform: rotateX(180deg); }
.envelope-3d.opening .env-letter{ transform: translateY(-104px) scale(1.08) rotate(-2deg); box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.envelope-3d.opened  { transition: opacity .5s ease, transform .5s ease; opacity: 0; transform: scale(.88) translateY(-18px); }

/* Confete / explosão de corações na abertura */
.confete-wrap { position: fixed; inset: 0; pointer-events: none; z-index: 300; overflow: hidden; }
.confete-item { position: absolute; top: 42%; left: 50%; will-change: transform, opacity; animation: confeteBurst 1.4s cubic-bezier(.16,.84,.44,1) forwards; }
@keyframes confeteBurst {
  0%   { transform: translate(-50%,-50%) scale(.3) rotate(0deg); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--rot)); opacity: 0; }
}

/* Rastro de corações no cursor */
.cursor-heart { position: fixed; pointer-events: none; z-index: 250; font-size: 16px; animation: cursorHeartFloat 1.1s ease-out forwards; }
@keyframes cursorHeartFloat {
  0%   { transform: translate(-50%,-50%) scale(.6); opacity: .85; }
  100% { transform: translate(-50%, calc(-50% - 46px)) scale(1.15); opacity: 0; }
}

/* Reações voando */
.reacao-voando { position: fixed; pointer-events: none; z-index: 260; font-size: 22px; animation: reacaoVoar 1.2s ease-out forwards; }
@keyframes reacaoVoar {
  0%   { transform: translate(-50%,-50%) scale(.7); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), -160px) scale(1.3); opacity: 0; }
}

/* Revelação suave ao rolar a página — à prova de falha de JS:
   o conteúdo só fica invisível se o JS de fato rodar e aplicar
   .pre-reveal; sem JS, tudo aparece normalmente desde o início. */
.reveal { transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.pre-reveal { opacity: 0; transform: translateY(30px); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Lightbox das fotos */
.polaroid[data-lightbox] { cursor: zoom-in; transition: transform .25s ease; }
.polaroid[data-lightbox]:hover { transform: translateY(-4px) scale(1.03) rotate(var(--rot, 0deg)); }
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(6,4,15,.94); backdrop-filter: blur(10px);
  z-index: 400; display: none; align-items: center; justify-content: center; padding: 24px;
  animation: fadeUp .25s ease both;
}
.lightbox-overlay.ativo { display: flex; }
.lightbox-img { max-width: min(90vw, 560px); max-height: 80vh; border-radius: 10px; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.lightbox-close {
  position: absolute;
  top: calc(20px + env(safe-area-inset-top, 0px));
  right: calc(20px + env(safe-area-inset-right, 0px));
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff;
  width: 44px; height: 44px; border-radius: 50%; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-legenda { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: 13px; font-family: Georgia, serif; font-style: italic; }

/* Present content */
.presente-content { max-width: 640px; margin: 0 auto; padding: 80px 24px; }
.presente-eyebrow { color: rgba(255,255,255,.3); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px; }
.presente-title { font-family: 'Playfair Display', serif; font-size: clamp(32px,6vw,54px); font-weight: 900; color: #fff; margin-bottom: 10px; line-height: 1.15; }
.presente-by { font-family: 'Caveat', cursive; font-weight: 600; color: var(--rose-light); font-size: 24px; margin-bottom: 52px; }

/* Counter */
.counter-box { background: rgba(255,255,255,.04); backdrop-filter: blur(10px); border: 1px solid rgba(214,59,110,.18); border-radius: 20px; padding: 28px 20px; text-align: center; margin-bottom: 40px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.counter-label { color: rgba(255,255,255,.35); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; }
.counter-nums { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.counter-item { text-align: center; }
.counter-n {
  font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 900; line-height: 1;
  background: linear-gradient(140deg, #fff 20%, var(--rose-light) 70%, var(--gold-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.counter-u { color: var(--rose-light); font-size: 12px; margin-top: 5px; }

/* Letter */
.letter-box {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px 6px 22px 22px;
  padding: 40px 30px 30px;
  margin-bottom: 36px;
  box-shadow: 0 26px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
}
.letter-box::before {
  content: '';
  position: absolute; top: 0; left: 26px; right: 26px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--rose) 15%, var(--gold-light) 50%, var(--rose) 85%, transparent);
  opacity: .55; border-radius: 0 0 3px 3px;
}
.letter-eyebrow { font-family: 'Caveat', cursive; color: var(--rose-light); font-size: 21px; font-weight: 600; margin-bottom: 12px; }
.letter-text { color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.95; font-style: italic; word-break: break-word; overflow-wrap: break-word; }
.letter-sign { font-family: 'Caveat', cursive; font-weight: 700; color: var(--rose-light); text-align: right; margin-top: 22px; font-size: 27px; }

/* Music player */
.music-player { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 18px 20px; margin-bottom: 36px; display: flex; align-items: center; gap: 16px; }
.music-thumb { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, var(--rose), var(--rose-light)); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.music-info { flex: 1; min-width: 0; }
.music-title { color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.music-artist { color: rgba(255,255,255,.35); font-size: 12px; margin-bottom: 10px; }
.music-bar { height: 3px; background: rgba(255,255,255,.1); border-radius: 99px; cursor: pointer; position: relative; }
.music-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--rose), var(--rose-light)); border-radius: 99px; transition: width .1s; }
.music-time { color: rgba(255,255,255,.3); font-size: 12px; flex-shrink: 0; }
.music-play { width: 40px; height: 40px; border-radius: 50%; background: var(--rose); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; flex-shrink: 0; }

/* Photos polaroid */
.photos-section { margin-bottom: 48px; }
.photos-eyebrow { color: rgba(255,255,255,.3); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 24px; text-align: center; }
.polaroids { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.polaroid { background: #fff; padding: 12px 12px 34px; border-radius: 4px; box-shadow: 0 10px 28px rgba(0,0,0,.45); width: 130px; transform: rotate(var(--rot, 0deg)); animation: polaroidDrop .6s cubic-bezier(.34,1.56,.64,1) both; animation-play-state: paused; }
@keyframes polaroidDrop {
  from { opacity: 0; transform: translateY(26px) rotate(var(--rot, 0deg)) scale(.88); }
  to   { opacity: 1; transform: translateY(0)     rotate(var(--rot, 0deg)) scale(1); }
}
.photos-section.in-view .polaroid { animation-play-state: running; }
.polaroid-img { height: 108px; border-radius: 2px; display: flex; align-items: center; justify-content: center; font-size: 42px; margin-bottom: 10px; background: #f0f0f0; }
.polaroid-label { color: #444; font-size: 11px; text-align: center; font-family: Georgia, serif; }

/* QR Section */
.qr-section { text-align: center; padding: 28px 24px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); border-radius: 20px; margin-bottom: 40px; }
.qr-eyebrow { color: rgba(255,255,255,.3); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.qr-img { width: 120px; height: 120px; background: rgba(255,255,255,.05); border-radius: 12px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.qr-img img { width: 100%; height: 100%; }
.qr-url { color: rgba(255,255,255,.35); font-size: 13px; margin-bottom: 16px; }

/* Watermark */
.watermark { text-align: center; margin-top: 40px; }
.watermark p { color: rgba(255,255,255,.15); font-size: 12px; margin-bottom: 8px; }
.watermark a { color: rgba(214,59,110,.5); font-size: 12px; }

/* ── FOOTER ──────────────────────────────────────────────────*/
.footer { border-top: 1px solid var(--border); padding: 40px 24px; }
.footer-inner { max-width: 900px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; margin-bottom: 32px; }
.footer-logo { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 18px; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.footer-logo span { color: var(--rose); }
.footer-tagline { color: var(--muted); font-size: 13px; max-width: 220px; line-height: 1.6; }
.footer-cols { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col-title { color: var(--text); font-weight: 600; font-size: 13px; margin-bottom: 10px; }
.footer-col a { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { color: var(--muted); font-size: 12px; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge { background: var(--card); border: 1px solid var(--border); border-radius: 99px; padding: 3px 10px; font-size: 11px; color: var(--muted); }

/* ── ALERT/FLASH ─────────────────────────────────────────────*/
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 13px; }
.alert-success { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: var(--green); }
.alert-error   { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.3);  color: var(--red); }
.alert-info    { background: var(--rose-dim);     border: 1px solid rgba(214,59,110,.3); color: var(--rose-light); }

/* ── SPINNER ─────────────────────────────────────────────────*/
.spinner { display: inline-block; border-radius: 50%; animation: spin .75s linear infinite; }

/* ── UTILITY ─────────────────────────────────────────────────*/
.text-rose  { color: var(--rose); }
.text-gold  { color: var(--gold-light); }
.text-green { color: var(--green); }
.text-muted { color: var(--muted); }
.text-dim   { color: var(--dim); }
.text-sm    { font-size: 13px; }
.text-xs    { font-size: 11px; }
.text-center { text-align: center; }
.fw-700 { font-weight: 700; }
.fw-900 { font-weight: 900; }
.mb-4  { margin-bottom: 4px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

/* ── RESPONSIVO ──────────────────────────────────────────────*/
@media (max-width: 640px) {
  .section { padding: 52px 16px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .type-grid { grid-template-columns: 1fr; }
  .theme-grid { grid-template-columns: repeat(2, 1fr); }
  .wizard-page, .dash-page { padding: 24px 16px; }
  .presente-content { padding: 60px 16px; }
  .counter-n { font-size: 38px; }
  .footer-top { flex-direction: column; }
  .nav-ssl-badge { display: none; }
  .presente-title { font-size: 28px; }
}

/* ── CORREÇÕES PRESENTE (leitura em mobile) ──────────────────*/

/* Espaço para a barra de reações não cobrir o conteúdo */
.presente-content {
  padding-bottom: 120px !important;
}

/* Texto da carta: não quebrar horizontalmente em mobile */
.letter-text {
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
  font-size: 15px;
  line-height: 1.9;
}

/* Carta não cortar conteúdo */
.letter-box {
  overflow: visible;
}

/* Presente page: sem scroll horizontal */
.presente-page { overflow-x: hidden; }


/* Mobile: ajustes de tamanho de fonte e padding */
@media (max-width: 640px) {
  .presente-content {
    padding: 40px 18px 130px !important;
  }
  .letter-text {
    font-size: 14px;
    line-height: 1.85;
  }
  .letter-box {
    padding: 20px 16px;
  }
  .counter-nums {
    gap: 16px;
  }
  .counter-n {
    font-size: 36px;
  }
  /* Barra de reações — botões maiores no mobile (área de toque ~44px) */
  .reacoes-float {
    padding: 6px 10px;
    gap: 2px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .reacao-btn {
    font-size: 22px;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* Título não ultrapassar a tela */
  .presente-title {
    font-size: 26px !important;
    word-break: break-word;
  }
  /* Botões de ação em coluna no mobile */
  .presente-title + p + div {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .letter-text {
    font-size: 13px;
  }
  .counter-n {
    font-size: 30px;
  }
  .reacoes-float {
    width: calc(100% - 32px);
    justify-content: center;
  }
  .envelope-3d {
    width: 168px; height: 116px;
  }
  .env-flap { border-left-width: 84px; border-right-width: 84px; border-top-width: 57px; }
  .env-seal { top: 38px; width: 30px; height: 30px; }
}

/* ============================================================
   LANDING PAGE v2 — Inspirada em Heartzzu, com mais qualidade
   Adicionado: banner de urgência, seção de comparação, card de
   depoimento, trust strip, seção de temas/efeitos, counter hero,
   e seção de diferencial de preço.
============================================================ */

/* ── Banner de urgência ──────────────────────────────────────*/
.urgency-banner {
  width: 100%; background: linear-gradient(90deg, var(--rose-h), var(--rose), #E84393);
  color: #fff; text-align: center; padding: 10px 16px;
  font-size: 13px; font-weight: 600; letter-spacing: .3px;
  position: sticky; top: 0; z-index: 1000;
}
.urgency-banner a { color: rgba(255,255,255,.85); font-weight: 700; text-decoration: underline; }
.urgency-inner { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.urgency-close {
  position: absolute; right: 16px; background: none; border: none;
  color: rgba(255,255,255,.7); font-size: 18px; cursor: pointer; line-height: 1;
}

/* ── Trust strip ─────────────────────────────────────────────*/
.trust-strip {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 20px; padding: 14px 24px;
  background: rgba(255,255,255,.025); border-bottom: 1px solid var(--border);
}
.trust-item { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.trust-item span { font-size: 16px; }

/* ── Hero — variante emocionante ─────────────────────────────*/
.hero-eyebrow-wrap { display: flex; align-items: center; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.hero-tag { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 99px; padding: 5px 13px; font-size: 12px; color: var(--text-sub); white-space: nowrap; }

/* Avatares de "usuários satisfeitos" — estilo Heartzzu */
.social-proof-bar { display: flex; align-items: center; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.avatares-stack { display: flex; }
.avatares-stack .av {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--bg);
  background: linear-gradient(135deg, var(--rose), var(--gold-light));
  margin-left: -10px; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.avatares-stack .av:first-child { margin-left: 0; }
.social-proof-text { color: var(--text-sub); font-size: 13px; }
.social-proof-text strong { color: var(--text); }

/* ── Seção de diferencial vs concorrentes ────────────────────*/
.vs-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.25);
  border-radius: 99px; padding: 6px 16px;
  color: var(--green); font-size: 13px; font-weight: 700;
}
.price-compare {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px;
}
.price-compare-card {
  border-radius: 16px; padding: 20px 24px; text-align: center; min-width: 160px;
}
.price-compare-card.eles {
  background: rgba(239,68,68,.06); border: 1px solid rgba(239,68,68,.2);
  opacity: .75;
}
.price-compare-card.nos {
  background: rgba(34,197,94,.06); border: 2px solid rgba(34,197,94,.35);
  transform: scale(1.04);
}
.price-compare-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; color: var(--muted); }
.price-compare-preco { font-size: 26px; font-weight: 900; }
.price-compare-periodo { font-size: 11px; margin-top: 4px; color: var(--text-sub); }

/* ── Cards de recursos — variante grande (feature-big) ───────*/
.feature-big-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature-big {
  background: linear-gradient(145deg, var(--card), var(--bg));
  border: 1px solid var(--border); border-radius: 20px; padding: 28px;
  transition: transform .25s ease, border-color .25s ease;
}
.feature-big:hover { transform: translateY(-3px); border-color: rgba(214,59,110,.3); }
.feature-big.destaque { border-color: rgba(214,59,110,.4); background: linear-gradient(145deg, rgba(214,59,110,.06), var(--bg)); }
.feature-big-icon { font-size: 32px; margin-bottom: 14px; }
.feature-big h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-big p { color: var(--text-sub); font-size: 13.5px; line-height: 1.7; margin: 0; }
.feature-big .badge-novo { display: inline-flex; align-items: center; gap: 4px; background: rgba(214,59,110,.15); border: 1px solid rgba(214,59,110,.35); border-radius: 99px; padding: 2px 10px; font-size: 10px; color: var(--rose-light); font-weight: 700; margin-bottom: 8px; }

@media (max-width: 640px) {
  .feature-big-grid { grid-template-columns: 1fr; }
  .price-compare-card.nos { transform: none; }
}

/* ── Demonstração de efeito (ticker vertical de efeitos) ─────*/
.effects-showcase { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.effect-pill {
  background: var(--card); border: 1px solid var(--border); border-radius: 99px;
  padding: 9px 18px; font-size: 13.5px; display: flex; align-items: center; gap: 8px;
  color: var(--text-sub); transition: border-color .2s, color .2s;
}
.effect-pill:hover { border-color: var(--rose); color: var(--text); }
.effect-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }

/* ── Passos numerados — variante grande ──────────────────────*/
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.step-line {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  position: relative;
}
.step-line::after {
  content: ''; position: absolute; top: 34px; left: 52%; width: 96%; height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
  pointer-events: none;
}
.step-line:last-child::after { display: none; }
.step-num {
  width: 68px; height: 68px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(214,59,110,.15), rgba(201,151,58,.08));
  border: 2px solid rgba(214,59,110,.35);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 900;
  color: var(--rose-light); margin: 0 auto 18px; position: relative; z-index: 1;
}
.step-line h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step-line p { color: var(--text-sub); font-size: 13px; line-height: 1.65; padding: 0 8px; }
@media (max-width: 640px) {
  .steps-grid { grid-template-columns: 1fr; gap: 30px; }
  .step-line::after { display: none; }
}

/* ── Bloco de credibilidade (sem depoimentos fabricados) ─────*/
.credibility-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; }
.credibility-item {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 22px; text-align: center;
}
.credibility-icon { font-size: 32px; margin-bottom: 10px; }
.credibility-label { font-size: 13px; color: var(--text-sub); margin: 0; }

/* ── Countdown de preço ──────────────────────────────────────*/
.price-card-wrap { position: relative; }
.pricing-tag-best {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--rose), #E84393);
  color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .5px;
  padding: 5px 16px; border-radius: 99px; white-space: nowrap; z-index: 1;
  box-shadow: 0 4px 14px rgba(214,59,110,.4);
}

/* ============================================================
   PAINEL DO CLIENTE v2 — redesenhado completamente
============================================================ */

/* Layout principal: sidebar + conteúdo em desktop */
.painel-layout {
  display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 64px); max-width: 1100px; margin: 0 auto;
}
.painel-sidebar {
  padding: 28px 16px; border-right: 1px solid var(--border);
  position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto;
}
.painel-main { padding: 28px 24px; min-width: 0; }

/* Nav do sidebar */
.sidebar-nav { display: flex; flex-direction: column; gap: 3px; }
.sidebar-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  color: var(--text-sub); font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none;
  transition: background .15s, color .15s; border: none; background: none; width: 100%; text-align: left;
}
.sidebar-item:hover  { background: rgba(255,255,255,.05); color: var(--text); }
.sidebar-item.ativo  { background: rgba(214,59,110,.12); color: var(--rose-light); font-weight: 700; }
.sidebar-icon { font-size: 18px; width: 24px; flex-shrink: 0; }
.sidebar-badge {
  margin-left: auto; background: var(--rose); color: #fff; border-radius: 99px;
  font-size: 10px; font-weight: 700; padding: 1px 7px; min-width: 18px; text-align: center;
}
.sidebar-section { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 14px 12px 6px; margin-top: 6px; }

/* Perfil no sidebar */
.sidebar-profile { display: flex; align-items: center; gap: 10px; padding: 14px 12px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.sidebar-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--rose), var(--gold-light));
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 900; color: #fff; flex-shrink: 0;
}
.sidebar-name { font-size: 13px; font-weight: 700; }
.sidebar-plan { font-size: 11px; color: var(--gold-light); }

/* Painel abas (views) */
.painel-view { display: none; }
.painel-view.ativa { display: block; }

/* Cards de stat maiores e mais expressivos */
.stat-grid-v2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 24px; }
.stat-v2 {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px; position: relative; overflow: hidden;
}
.stat-v2::before { content: ''; position: absolute; inset: 0; opacity: .06; }
.stat-v2.rose::before { background: var(--rose); }
.stat-v2.gold::before { background: var(--gold-light); }
.stat-v2.green::before { background: var(--green); }
.stat-v2.blue::before { background: #3B82F6; }
.stat-v2-icon { font-size: 28px; margin-bottom: 10px; }
.stat-v2-val { font-size: 30px; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.stat-v2-lbl { font-size: 12px; color: var(--text-sub); }

/* Card de presente redesenhado */
.presente-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 18px; display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s; cursor: default;
}
.presente-card:hover { border-color: rgba(214,59,110,.3); }
.presente-card-top { display: flex; align-items: flex-start; gap: 12px; }
.presente-card-emoji {
  width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; background: linear-gradient(135deg, rgba(214,59,110,.18), rgba(201,151,58,.12));
  border: 1px solid rgba(214,59,110,.2); flex-shrink: 0;
}
.presente-card-info { flex: 1; min-width: 0; }
.presente-card-title { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.presente-card-meta { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.presente-card-stats { display: flex; gap: 16px; padding: 10px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.presente-card-stat { text-align: center; flex: 1; }
.presente-card-stat-val { font-size: 20px; font-weight: 900; color: var(--rose); }
.presente-card-stat-lbl { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.presente-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Alerta de expiração dentro do card */
.expira-bar {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 10px; font-size: 12px;
}
.expira-bar.urgente { background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.2); color: var(--red); }
.expira-bar.aviso   { background: rgba(245,158,11,.07); border: 1px solid rgba(245,158,11,.2); color: #F59E0B; }
.expira-bar.ok      { background: rgba(34,197,94,.06);  border: 1px solid rgba(34,197,94,.18);  color: var(--green); }

/* Analytics mini (dentro do card) */
.analytics-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(12px);
  z-index: 500; display: flex; align-items: flex-end;
  transition: opacity .3s ease;
}
.analytics-sheet {
  background: #0F0B1E; border: 1px solid var(--border); border-radius: 24px 24px 0 0;
  width: 100%; max-height: 85vh; overflow-y: auto;
  padding: 10px 0 0; animation: slideUp .35s cubic-bezier(.16,1,.3,1);
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.analytics-handle { width: 44px; height: 4px; background: var(--border); border-radius: 99px; margin: 0 auto 20px; }
.analytics-header { padding: 0 22px 16px; border-bottom: 1px solid var(--border); }
.analytics-body { padding: 20px 22px; }
.analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.analytics-stat { background: var(--card); border-radius: 12px; padding: 14px; text-align: center; }
.analytics-stat-val { font-size: 22px; font-weight: 900; color: var(--rose); }
.analytics-stat-lbl { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* Mini bar chart para analytics */
.mini-chart { display: flex; align-items: flex-end; gap: 3px; height: 60px; padding: 0 2px; }
.mini-bar-col { flex: 1; display: flex; align-items: flex-end; height: 100%; }
.mini-bar { width: 100%; background: linear-gradient(180deg, var(--rose), rgba(214,59,110,.25)); border-radius: 3px 3px 0 0; min-height: 2px; }
.mini-bar.vazio { background: var(--border); }

/* Linha do tempo no card */
.timeline-mini { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: 15px; top: 26px; bottom: -10px; width: 1px; background: var(--border); }
.timeline-item:last-child::before { display: none; }
.timeline-dot { width: 30px; height: 30px; border-radius: 50%; background: rgba(214,59,110,.12); border: 1px solid rgba(214,59,110,.3); display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.timeline-content { flex: 1; min-width: 0; }
.timeline-titulo { font-size: 13px; font-weight: 600; }
.timeline-data { font-size: 11px; color: var(--muted); }

/* Upgrading card (renovação) */
.upgrade-card { border: 2px solid rgba(214,59,110,.4); border-radius: 16px; padding: 18px; background: rgba(214,59,110,.05); }
.upgrade-card-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.upgrade-options { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

/* Responsivo: mobile vira bottom tabs */
@media (max-width: 780px) {
  .painel-layout { grid-template-columns: 1fr; min-height: auto; }
  .painel-sidebar {
    position: fixed; bottom: 0; left: 0; right: 0; top: auto; height: auto;
    border-right: none; border-top: 1px solid var(--border);
    background: rgba(6,4,15,.95); backdrop-filter: blur(16px);
    padding: 10px 8px; z-index: 90;
    padding-bottom: env(safe-area-inset-bottom, 8px);
  }
  .sidebar-profile, .sidebar-section { display: none; }
  .sidebar-nav { flex-direction: row; justify-content: space-around; }
  .sidebar-item { flex-direction: column; gap: 3px; padding: 8px 10px; font-size: 10px; min-width: 52px; justify-content: center; align-items: center; border-radius: 12px; }
  .sidebar-item span:not(.sidebar-icon):not(.sidebar-badge) { display: none; }
  .painel-main { padding: 20px 16px 96px; }
  .stat-grid-v2 { grid-template-columns: 1fr 1fr; }
  .analytics-sheet { border-radius: 20px 20px 0 0; }
  .stat-v2-val { font-size: 24px; }
  .analytics-modal { align-items: flex-end; }
}

/* ============================================================
   EFEITOS CINEMATOGRÁFICOS v1
   1. Introdução cinematográfica antes do envelope
   2. Abertura épica — flash + shake + confete denso
   3. Carta que escreve letra por letra
============================================================ */

/* ── 1. INTRODUÇÃO CINEMATOGRÁFICA ──────────────────────────*/
.cinema-intro {
  position: fixed; inset: 0; z-index: 900;
  background: #000; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0;
  animation: cinematFadeOut .8s ease .05s both;
  animation-play-state: paused; /* só roda quando .pronto */
}
.cinema-intro.pronto { animation-play-state: running; }

@keyframes cinematFadeOut {
  0%   { opacity: 1; pointer-events: all; }
  85%  { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}

.cinema-line {
  font-family: 'Playfair Display', serif; color: rgba(255,255,255,0);
  font-size: clamp(18px, 4vw, 28px); letter-spacing: 1px; text-align: center;
  padding: 0 32px;
  animation: cinematLineIn 1.2s cubic-bezier(.16,1,.3,1) forwards;
  animation-play-state: paused;
}
.cinema-intro.pronto .cinema-line { animation-play-state: running; }
.cinema-line.l1 { animation-delay: .25s; }
.cinema-line.l2 { animation-delay: .85s; font-style: italic; color: rgba(214,59,110,0); }
.cinema-line.l3 { animation-delay: 1.5s; font-size: clamp(13px,2.5vw,18px); color: rgba(255,255,255,0); letter-spacing: 4px; text-transform: uppercase; }

@keyframes cinematLineIn {
  from { opacity: 0; transform: translateY(22px); color: rgba(255,255,255,0); }
  to   { opacity: 1; transform: translateY(0);    color: rgba(255,255,255,.9); }
}
/* linha 2 em rosa */
.cinema-line.l2 { animation-name: cinematLineInRosa; }
@keyframes cinematLineInRosa {
  from { opacity: 0; transform: translateY(22px); color: rgba(214,59,110,0); }
  to   { opacity: 1; transform: translateY(0);    color: var(--rose-light); }
}
/* linha 3 — muted */
.cinema-line.l3 { animation-name: cinematLineInMuted; }
@keyframes cinematLineInMuted {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: .5; transform: translateY(0); }
}

.cinema-divider {
  width: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--rose), transparent);
  margin: 14px auto; animation: cinematDivider .8s ease 1.1s forwards;
  animation-play-state: paused;
}
.cinema-intro.pronto .cinema-divider { animation-play-state: running; }
@keyframes cinematDivider { to { width: clamp(80px, 30vw, 200px); } }

.cinema-heart {
  font-size: 28px; margin-top: 18px; opacity: 0;
  animation: cinematHeart .6s ease 1.7s forwards;
  animation-play-state: paused;
}
.cinema-intro.pronto .cinema-heart { animation-play-state: running; }
@keyframes cinematHeart { to { opacity: 1; transform: scale(1.1); } }

/* ── 2. ABERTURA ÉPICA ───────────────────────────────────────*/
/* Flash de luz branca no momento do click */
.cinema-flash {
  position: fixed; inset: 0; z-index: 800; pointer-events: none;
  background: #fff; opacity: 0;
}
.cinema-flash.ativo {
  animation: flashBurst .55s cubic-bezier(.4,0,.6,1) forwards;
}
@keyframes flashBurst {
  0%   { opacity: 0; }
  12%  { opacity: .72; }
  100% { opacity: 0; }
}

/* Shake da tela no momento da abertura */
.envelope-screen.shake {
  animation: screenShake .45s cubic-bezier(.36,.07,.19,.97) forwards;
}
@keyframes screenShake {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  10%  { transform: translate(-5px,-3px) rotate(-.3deg); }
  20%  { transform: translate(5px,3px)  rotate(.3deg); }
  30%  { transform: translate(-4px,2px) rotate(-.2deg); }
  40%  { transform: translate(4px,-2px) rotate(.2deg); }
  50%  { transform: translate(-2px,3px) rotate(-.1deg); }
  60%  { transform: translate(2px,-1px) rotate(.1deg); }
  80%  { transform: translate(-1px,1px); }
}

/* Confete muito mais denso (120 partículas vs 26 antes) */
.confete-epico { position: fixed; inset: 0; pointer-events: none; z-index: 700; overflow: hidden; }
.confete-epico .cp {
  position: absolute; font-size: 14px; will-change: transform, opacity;
  animation: confeteEpicoVoar var(--dur) var(--ease) var(--delay) forwards;
}
@keyframes confeteEpicoVoar {
  0%   { transform: translate(var(--x0), var(--y0)) scale(.2) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--x1), var(--y1)) scale(1)   rotate(var(--rot)); opacity: 0; }
}

/* ── 3. CARTA QUE ESCREVE LETRA POR LETRA ───────────────────*/
.letter-text-typing {
  color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.95;
  font-style: italic; word-break: break-word; overflow-wrap: break-word;
  white-space: pre-wrap;
}
/* cursor piscando ao final da digitação */
.typing-cursor {
  display: inline-block; width: 2px; height: 1.1em; background: var(--rose-light);
  margin-left: 2px; vertical-align: text-bottom; border-radius: 1px;
  animation: cursorBlink .75s step-end infinite;
}
@keyframes cursorBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.typing-cursor.fim { animation: cursorFade 1.5s ease 1.2s forwards; }
@keyframes cursorFade { to { opacity: 0; width: 0; margin: 0; } }

/* Container da assinatura — aparece só depois da digitação terminar */
.letter-sign-wrapper { opacity: 0; transition: opacity .8s ease, transform .8s ease; transform: translateY(10px); }
.letter-sign-wrapper.visivel { opacity: 1; transform: translateY(0); }

/* ============================================================
   LANDING v3 — "A landing É o produto"
   Demo interativa do envelope, palavra rotativa digitada,
   contador slot-machine, glow orbital.
============================================================ */

/* Palavra rotativa com efeito de digitação no headline */
.typed-rotator { color: var(--rose-light); position: relative; white-space: nowrap; }
.typed-rotator::after {
  content: ''; display: inline-block; width: 3px; height: .95em;
  background: var(--rose-light); margin-left: 4px; vertical-align: -0.08em;
  border-radius: 2px; animation: cursorBlink .75s step-end infinite;
}

/* ── Demo interativa do envelope no hero ─────────────────────*/
.demo-stage { position: relative; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: 44px; transition: min-height .4s ease; }
/* Ao abrir a carta, a stage deixa de ter altura mínima fixa e passa a
   crescer conforme o conteúdo — sem isso a carta (absoluta) transbordava
   por cima do texto seguinte da página. */
.demo-stage.carta-aberta { min-height: 0; justify-content: flex-start; padding-bottom: 10px; }
.demo-envelope-wrap { position: relative; z-index: 2; text-align: center; transition: opacity .5s ease, transform .5s ease; }
.demo-envelope-wrap.saindo { opacity: 0; transform: scale(.85); pointer-events: none; position: absolute; }
.demo-hint {
  color: var(--muted); font-size: 13px; margin-top: 22px;
  animation: hintPulse 2.4s ease-in-out infinite;
}
@keyframes hintPulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

/* Mini-carta que aparece após abrir o envelope da demo */
.demo-carta {
  display: flex; align-items: flex-start; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .6s ease .2s; z-index: 3;
  padding: 0 18px; width: 100%;
  max-height: 0; overflow: hidden;
}
.demo-carta.visivel { opacity: 1; pointer-events: all; max-height: 2000px; overflow: visible; }
.demo-carta-inner {
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid rgba(214,59,110,.25);
  border-radius: 6px 6px 20px 20px;
  padding: 30px 26px 26px; max-width: 430px; width: 100%;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 60px rgba(214,59,110,.12);
  position: relative;
}
.demo-carta-inner::before {
  content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--rose) 20%, var(--gold-light) 50%, var(--rose) 80%, transparent);
  opacity: .6;
}
.demo-carta-eyebrow { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.3); text-align: center; margin-bottom: 16px; }
.demo-carta-texto { min-height: 120px; font-size: 15px; line-height: 1.9; }
.demo-carta-cta { margin-top: 22px; text-align: center; opacity: 0; transition: opacity .6s ease; }
.demo-carta-cta.visivel { opacity: 1; }
.demo-refazer { background: none; border: none; color: var(--muted); font-size: 12px; cursor: pointer; margin-top: 10px; text-decoration: underline; font-family: 'Inter', sans-serif; }
.demo-refazer:hover { color: var(--text-sub); }

/* Glow orbital atrás da demo */
.demo-orbital {
  position: absolute; top: 50%; left: 50%; width: 460px; height: 460px;
  transform: translate(-50%,-50%); pointer-events: none; z-index: 0;
}
.demo-orbital::before, .demo-orbital::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed rgba(214,59,110,.14);
  animation: orbitalSpin 40s linear infinite;
}
.demo-orbital::after { inset: 46px; border-color: rgba(201,151,58,.12); animation-duration: 28s; animation-direction: reverse; }
@keyframes orbitalSpin { to { transform: rotate(360deg); } }
.demo-orbital .orb-dot {
  position: absolute; font-size: 17px; opacity: .6;
  animation: orbitalSpin 40s linear infinite;
  transform-origin: 230px 230px; top: 0; left: 50%;
}

/* ── Contador slot-machine interativo ────────────────────────*/
.slot-section { text-align: center; }
.slot-input-row { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 24px 0 30px; }
.slot-input-row input[type="date"] {
  background: var(--input); border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 16px; color: var(--text); font-size: 15px; font-family: 'Inter', sans-serif;
  color-scheme: dark;
}
.slot-nums { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.slot-item {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 22px 26px; min-width: 108px; position: relative; overflow: hidden;
}
.slot-item::before {
  content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose), transparent); opacity: .5;
}
.slot-n {
  font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 900;
  background: linear-gradient(160deg, var(--text), var(--rose-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.slot-u { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; margin-top: 8px; }

/* Título de seção com sublinhado orgânico */
.title-swash { position: relative; display: inline-block; }
.title-swash::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7 Q 30 2, 55 6 T 98 5' stroke='%23D63B6E' stroke-width='2.4' fill='none' stroke-linecap='round' opacity='.65'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* ── ADD-ON: Linha do tempo "Nossa história" ─────────────────*/
.story-timeline { max-width: 440px; margin: 0 auto; }
.story-item { display: flex; gap: 16px; align-items: flex-start; padding: 0 0 26px; position: relative; }
.story-item::before {
  content: ''; position: absolute; left: 19px; top: 42px; bottom: 0; width: 1px;
  background: linear-gradient(180deg, rgba(214,59,110,.4), rgba(214,59,110,.06));
}
.story-item:last-child::before { display: none; }
.story-dot {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: rgba(214,59,110,.1); border: 1px solid rgba(214,59,110,.35);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
  box-shadow: 0 0 20px rgba(214,59,110,.15);
}
.story-content { flex: 1; padding-top: 3px; }
.story-data { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-light); margin: 0 0 3px; }
.story-titulo { font-size: 15px; color: rgba(255,255,255,.85); margin: 0; line-height: 1.5; }

/* ── ADD-ON: Quiz interativo ─────────────────────────────────*/
.quiz-box {
  max-width: 440px; margin: 0 auto;
  background: rgba(255,255,255,.035); border: 1px solid rgba(214,59,110,.2);
  border-radius: 18px; padding: 24px 22px;
}
.quiz-progress { display: flex; gap: 5px; margin-bottom: 18px; }
.quiz-progress span { flex: 1; height: 4px; border-radius: 99px; background: var(--border); transition: background .3s; }
.quiz-progress span.feita { background: var(--rose); }
.quiz-pergunta { font-size: 16px; font-weight: 600; color: rgba(255,255,255,.9); margin: 0 0 16px; line-height: 1.55; }
.quiz-opcoes { display: flex; flex-direction: column; gap: 9px; }
.quiz-op {
  background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 16px; font-size: 14px; color: rgba(255,255,255,.8);
  cursor: pointer; text-align: left; transition: all .18s; font-family: 'Inter', sans-serif;
  min-height: 44px; width: 100%;
}
.quiz-op:hover { border-color: rgba(214,59,110,.4); background: rgba(214,59,110,.06); }
.quiz-op.certa  { background: rgba(34,197,94,.14) !important; border-color: rgba(34,197,94,.5) !important; color: #86EFAC; }
.quiz-op.errada { background: rgba(239,68,68,.12) !important; border-color: rgba(239,68,68,.45) !important; color: #FCA5A5; }
.quiz-op:disabled { cursor: default; }
.quiz-final { text-align: center; padding: 8px 0; }
.quiz-final-emoji { font-size: 52px; margin-bottom: 10px; animation: heartbeat 1.4s ease-in-out infinite; }
.quiz-final-placar { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 900; color: var(--rose-light); margin: 0 0 8px; }
.quiz-final-msg { color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.7; margin: 0 0 18px; }

/* Fallback de segurança: se o JS não conseguir mostrar o envelope
   (intro travada, animationend nunca disparou, etc.), este keyframe
   garante que o elemento se torna visível após 5 segundos no máximo. */
@keyframes envFallback { to { opacity: 1; } }
