/* ═══════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════ */
:root{
  --black:     #050505;
  --graphite:  #0f0f0f;
  --card:      #141414;
  --gold:      #D4AF37;
  --goldl:     #F0CC55;
  --goldd:     #A08820;
  --gbg:       rgba(212,175,55,.07);
  --border:    rgba(212,175,55,.22);
  --white:     #ffffff;
  --ow:        #F0EDE6;
  --muted:     #9A9278;
  --fs: 'Playfair Display', Georgia, serif;
  --fn: 'Inter', system-ui, sans-serif;
  box-sizing: border-box;
  padding-top:    env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--fn);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 82px;
}
img { max-width: 100%; height: auto; display: block; }

/* ═══════════════════════════════════════════
   SPARKLES
═══════════════════════════════════════════ */
#sparkle-layer {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 2;
  overflow: hidden;
}
.sp-star {
  position: absolute;
  color: var(--goldl);
  opacity: 0;
  animation: sp-pop var(--dur, 2.4s) ease-in-out var(--del, 0s) infinite;
  text-shadow: 0 0 8px var(--gold), 0 0 16px rgba(212,175,55,.35);
  pointer-events: none;
  user-select: none;
}
@keyframes sp-pop {
  0%   { opacity: 0;   transform: scale(0)    rotate(0deg)   }
  25%  { opacity: 1;   transform: scale(1)    rotate(18deg)  }
  55%  { opacity: .75; transform: scale(.88)  rotate(-12deg) }
  80%  { opacity: .4;  transform: scale(1.05) rotate(6deg)   }
  100% { opacity: 0;   transform: scale(0)    rotate(24deg)  }
}

/* ═══════════════════════════════════════════
   UTILITÁRIOS
═══════════════════════════════════════════ */
.gl     { width: 48px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 0 auto; }
.gl-h   { height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,.3) 30%, rgba(212,175,55,.3) 70%, transparent); }
.slbl   { font-size: .68rem; letter-spacing: .15em; color: var(--gold); font-weight: 600; text-transform: uppercase; margin-bottom: 10px; display: block; text-align: center; }
.stit   { font-family: var(--fs); font-size: clamp(1.4rem, 5.5vw, 2rem); font-weight: 600; line-height: 1.25; text-align: center; margin-bottom: 10px; }
.sdesc  { text-align: center; color: var(--muted); font-size: .87rem; margin-bottom: 34px; font-weight: 300; line-height: 1.6; }
section { padding: 60px 20px; position: relative; z-index: 1; }
.inner  { max-width: 560px; margin: 0 auto; }

/* ═══════════════════════════════════════════
   BARRA TOPO — PESSOAS ENTRANDO
═══════════════════════════════════════════ */
#notif-bar {
  background: linear-gradient(90deg, #0a0a00, #1a1500, #0a0a00);
  border-bottom: 1px solid rgba(212,175,55,.3);
  padding: 13px 16px;
  text-align: center;
  font-size: .9rem;
  color: var(--ow);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  position: relative; z-index: 10;
  letter-spacing: .01em;
}
.ndot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #25D366; box-shadow: 0 0 10px #25D366, 0 0 20px rgba(37,211,102,.35);
  flex-shrink: 0; animation: blink 1.4s infinite;
}
@keyframes blink { 0%,100% { opacity:1 } 50% { opacity:.3 } }
#notif-count { color: var(--gold); font-weight: 800; font-size: 1.05rem; }

/* ═══════════════════════════════════════════
   BARRA COUNTDOWN
═══════════════════════════════════════════ */
#cd-bar {
  background: linear-gradient(135deg, #180f00, #0d0d0d);
  border-bottom: 1px solid rgba(212,175,55,.25);
  padding: 18px 20px; text-align: center;
  position: relative; z-index: 10;
}
.cd-lbl { font-size: .72rem; color: rgba(212,175,55,.8); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 10px; font-weight: 500; }
.cd-row { display: flex; align-items: center; justify-content: center; gap: 10px; }
.cd-blk {
  background: linear-gradient(160deg, #1e1500, #121212);
  border: 1px solid rgba(212,175,55,.5);
  border-radius: 8px; padding: 12px 20px; min-width: 70px; text-align: center;
  box-shadow: 0 2px 16px rgba(212,175,55,.07), inset 0 1px 0 rgba(212,175,55,.08);
}
.cd-n { font-family: var(--fs); font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; display: block; text-shadow: 0 0 20px rgba(212,175,55,.4); }
.cd-u { font-size: .62rem; color: rgba(212,175,55,.55); letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; font-weight: 500; }
.cd-sep { font-size: 1.8rem; color: var(--gold); font-weight: 700; opacity: .45; align-self: flex-start; margin-top: 10px; }
.cd-msg { font-size: .78rem; color: rgba(212,175,55,.7); margin-top: 12px; letter-spacing: .03em; }
.cd-msg strong { color: var(--gold); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px 72px;
  position: relative; overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -6%, rgba(212,175,55,.13) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 90% 88%,  rgba(212,175,55,.06) 0%, transparent 55%);
  pointer-events: none; z-index: 0;
}

/* LOGO — grande, sem distorção, com glow pulsante */
.hero-logo {
  width: clamp(230px, 78vw, 320px);
  height: clamp(230px, 78vw, 320px);
  object-fit: contain;
  margin-bottom: 24px;
  position: relative; z-index: 1;
  animation: logo-glow 3.2s ease-in-out infinite;
}
@keyframes logo-glow {
  0%,100% { filter: drop-shadow(0 0 30px rgba(212,175,55,.32)) drop-shadow(0 0 10px rgba(212,175,55,.18)); }
  50%      { filter: drop-shadow(0 0 55px rgba(212,175,55,.55)) drop-shadow(0 0 20px rgba(212,175,55,.35)); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.3);
  border-radius: 20px; padding: 5px 14px;
  font-size: .69rem; color: var(--gold); letter-spacing: .06em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 18px;
  position: relative; z-index: 1;
}
h1.hero-h {
  font-family: var(--fs);
  font-size: clamp(1.85rem, 7vw, 3rem);
  font-weight: 700; line-height: 1.18;
  margin-bottom: 16px; max-width: 480px;
  position: relative; z-index: 1;
}
h1.hero-h em { font-style: normal; color: var(--gold); }
.hero-sub {
  font-size: clamp(.88rem, 3.5vw, 1.05rem);
  color: var(--ow); line-height: 1.65;
  max-width: 340px; margin-bottom: 34px; font-weight: 300;
  position: relative; z-index: 1;
}
.hero-wrap { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; position: relative; z-index: 1; }
.trust-ln {
  font-size: .72rem; color: var(--muted);
  display: flex; align-items: center; gap: 5px;
  flex-wrap: wrap; justify-content: center;
}
.trust-ln svg { color: var(--gold); }

/* ═══════════════════════════════════════════
   BOTÃO
═══════════════════════════════════════════ */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, #F0CC55 0%, #D4AF37 55%, #B8962A 100%);
  color: #050505;
  font-family: var(--fn); font-size: 1rem; font-weight: 700; letter-spacing: .04em;
  padding: 18px 32px; border-radius: 6px; border: none; cursor: pointer;
  text-decoration: none; width: 100%; max-width: 420px;
  box-shadow: 0 4px 28px rgba(212,175,55,.38), 0 1px 0 rgba(255,255,255,.15) inset;
  position: relative; overflow: hidden;
}
.btn-gold::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 55%);
  pointer-events: none;
}
.btn-gold:active { transform: scale(.98); }

/* ═══════════════════════════════════════════
   TICKER SOCIAL
═══════════════════════════════════════════ */
#ticker {
  background: var(--graphite);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 13px 0; overflow: hidden; position: relative; z-index: 1;
}
.tick-track { display: flex; gap: 28px; animation: ticker 26s linear infinite; width: max-content; }
@keyframes ticker { 0% { transform:translateX(0) } 100% { transform:translateX(-50%) } }
.tick-item { display: flex; align-items: center; gap: 8px; font-size: .76rem; color: var(--ow); white-space: nowrap; }
.tick-av {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--goldd), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; font-weight: 700; color: #050505; flex-shrink: 0;
}
.tick-nm { color: var(--gold); font-weight: 600; }


/* ═══════════════════════════════════════════
   PLATAFORMAS — TICKER
═══════════════════════════════════════════ */
#platforms {
  padding: 44px 0 38px;
  background: linear-gradient(180deg, #060606, #0a0a0a);
  border-top: 1px solid rgba(212,175,55,.14);
  border-bottom: 1px solid rgba(212,175,55,.14);
  text-align: center;
  overflow: hidden;
}
.plat-hd {
  max-width: 560px; margin: 0 auto 18px; padding: 0 20px;
}
.plat-track-wrap {
  overflow: hidden;
  position: relative;
  padding: 4px 0 8px;
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%, rgba(0,0,0,.6) 5%, black 11%,
    black 89%, rgba(0,0,0,.6) 95%, transparent 100%);
  mask-image: linear-gradient(to right,
    transparent 0%, rgba(0,0,0,.6) 5%, black 11%,
    black 89%, rgba(0,0,0,.6) 95%, transparent 100%);
}
.plat-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: platScroll 26s linear infinite;
  will-change: transform;
}
.plat-track-wrap:hover .plat-track { animation-play-state: paused; }
@keyframes platScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.plat-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 0 16px; flex-shrink: 0;
  opacity: .78; transition: opacity .22s; cursor: default;
}
.plat-track-wrap:hover .plat-item:hover { opacity: 1; }
.plat-track-wrap:hover .plat-item:not(:hover) { opacity: .5; }
.plat-logo { display: flex; align-items: center; height: 36px; }
.plat-logo svg { display: block; }
.plat-name {
  font-size: .61rem; color: rgba(220,220,220,.62);
  letter-spacing: .05em; white-space: nowrap; font-weight: 500;
}
.plat-sep {
  color: rgba(212,175,55,.25); font-size: .65rem;
  flex-shrink: 0; align-self: center;
  padding: 0 4px; margin-bottom: 14px;
}
.plat-disc {
  font-size: .6rem; color: rgba(255,255,255,.38);
  margin-top: 18px; font-style: italic; padding: 0 20px;
}

/* ═══════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════ */
#features { background: var(--graphite); }
#features::before, #trust::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.3) 40%, rgba(212,175,55,.3) 60%, transparent);
}
#features::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.3) 40%, rgba(212,175,55,.3) 60%, transparent);
}
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 560px; margin: 0 auto; }
.feat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 20px 14px; text-align: center;
  position: relative; overflow: hidden;
}
.feat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5;
}
.feat-card.wide { grid-column: 1 / -1; }
.fi { font-size: 1.75rem; margin-bottom: 8px; display: block; }
.ft { font-size: .83rem; font-weight: 600; color: var(--ow); line-height: 1.3; }
.fd { font-size: .7rem; color: var(--muted); margin-top: 3px; line-height: 1.4; }

/* ═══════════════════════════════════════════
   GALERIA — FOTOS REAIS
═══════════════════════════════════════════ */
#gallery { background: var(--black); padding: 52px 0; }
.gal-hd { padding: 0 20px 24px; }
.gal-scroll {
  display: flex; gap: 12px;
  overflow-x: auto; padding: 4px 20px 16px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.gal-scroll::-webkit-scrollbar { display: none; }

.gal-card {
  flex: 0 0 210px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
  position: relative; background: var(--card);
  /* altura fixa para o card não colapsar quando foto carrega */
  height: 210px;
  display: block;
}

/* foto real */
.gal-img {
  width: 210px; height: 210px;
  object-fit: cover; display: block;
  transition: transform .4s ease;
  position: relative; z-index: 1;
}
.gal-card:hover .gal-img { transform: scale(1.04); }

/* fallback elegante — aparece ATRÁS da foto; se foto carregar, fica escondido sob ela */
.gal-fb {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(145deg, #1c1500, #111);
}
.gal-fb-em { font-size: 2.4rem; line-height: 1; }
.gal-fb-tx { font-size: .68rem; color: var(--muted); text-align: center; padding: 0 14px; line-height: 1.4; }

/* overlay com label e tag */
.gal-ov {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 32px 12px 12px;
  background: linear-gradient(to top, rgba(5,5,5,.93) 0%, transparent 100%);
}
.gal-lbl { font-size: .71rem; font-weight: 600; color: var(--ow); }
.gal-tag {
  display: inline-block;
  background: rgba(212,175,55,.15); border: 1px solid rgba(212,175,55,.35);
  color: var(--gold); font-size: .6rem; font-weight: 700; letter-spacing: .06em;
  border-radius: 3px; padding: 2px 7px; margin-top: 4px;
}

/* ═══════════════════════════════════════════
   CTA MEIO
═══════════════════════════════════════════ */
#cta-mid { background: var(--black); text-align: center; padding: 40px 24px; }
.cta-mid-in { max-width: 420px; margin: 0 auto; }

/* ═══════════════════════════════════════════
   BLOCO DE DESEJO
═══════════════════════════════════════════ */
#desire { background: var(--black); padding: 64px 24px; text-align: center; }
.des-box {
  max-width: 450px; margin: 0 auto; padding: 44px 28px;
  border: 1px solid var(--border); border-radius: 16px;
  background: linear-gradient(135deg, rgba(212,175,55,.07) 0%, transparent 60%);
  position: relative;
}
.des-box::before, .des-box::after { content: '✦'; position: absolute; color: var(--gold); font-size: .9rem; opacity: .45; }
.des-box::before { top: 16px; left: 20px; }
.des-box::after  { bottom: 16px; right: 20px; }
.des-q {
  font-family: var(--fs); font-size: clamp(1.1rem, 4.5vw, 1.5rem);
  font-style: italic; font-weight: 400; line-height: 1.5;
  color: var(--ow); margin-bottom: 20px;
}
.des-q span { color: var(--gold); font-style: normal; }

/* ═══════════════════════════════════════════
   CONFIANÇA
═══════════════════════════════════════════ */
#trust { background: var(--graphite); }
.tl-list { max-width: 400px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.ti {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
}
.ti-ic {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gbg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem;
}
.ti-t { font-size: .87rem; color: var(--ow); font-weight: 500; line-height: 1.3; }
.ti-s { font-size: .71rem; color: var(--muted); margin-top: 2px; font-weight: 300; }

/* ═══════════════════════════════════════════
   URGÊNCIA
═══════════════════════════════════════════ */
#urgency { background: var(--black); padding: 34px 24px; text-align: center; }
.urg-box {
  max-width: 440px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 22px;
  border: 1px solid rgba(212,175,55,.2); border-radius: 8px;
  background: rgba(212,175,55,.04);
}
.urg-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0;
  box-shadow: 0 0 8px var(--gold); animation: pd 2s infinite;
}
@keyframes pd { 0%,100% { opacity:1; box-shadow:0 0 8px var(--gold) } 50% { opacity:.5; box-shadow:0 0 3px var(--gold) } }
.urg-t { font-size: .85rem; color: var(--ow); line-height: 1.45; }

/* ═══════════════════════════════════════════
   CTA FINAL
═══════════════════════════════════════════ */
#cta-final {
  background: linear-gradient(180deg, var(--graphite) 0%, #060606 100%);
  text-align: center; padding: 68px 24px;
}
#cta-final::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.4) 40%, rgba(212,175,55,.4) 60%, transparent);
}
.cf-in { max-width: 460px; margin: 0 auto; }
.cf-t { font-family: var(--fs); font-size: clamp(1.4rem, 5.5vw, 2rem); font-weight: 600; line-height: 1.25; margin-bottom: 14px; }
.cf-d { font-size: .9rem; color: var(--muted); margin-bottom: 32px; font-weight: 300; line-height: 1.6; }
.cf-w { display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* ═══════════════════════════════════════════
   RODAPÉ
═══════════════════════════════════════════ */
footer {
  background: #030303; padding: 44px 24px 36px; text-align: center;
  border-top: 1px solid rgba(212,175,55,.12);
}
.flogo {
  width: 70px; height: 70px; object-fit: contain;
  margin: 0 auto 14px;
  filter: drop-shadow(0 0 8px rgba(212,175,55,.12)); opacity: .88;
}
.ftag  { font-size: .8rem; color: var(--muted); margin-bottom: 20px; font-weight: 300; }
.flinks { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.flinks a, .flinks span { font-size: .7rem; color: var(--muted); text-decoration: none; }
.flinks a:hover { color: var(--gold); }
.fdisc { font-size: .63rem; color: #454545; line-height: 1.55; max-width: 400px; margin: 0 auto; }

/* ═══════════════════════════════════════════
   BOTÃO FIXO
═══════════════════════════════════════════ */
#fixed-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(to top, rgba(5,5,5,.98), rgba(5,5,5,.88));
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(212,175,55,.2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.fix-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(135deg, #F0CC55 0%, #D4AF37 55%, #B8962A 100%);
  color: #050505; font-family: var(--fn); font-size: .91rem; font-weight: 700;
  letter-spacing: .04em; padding: 13px 24px; border-radius: 6px;
  text-decoration: none; width: 100%; max-width: 420px;
  box-shadow: 0 2px 18px rgba(212,175,55,.42);
}
.fix-cd { font-size: .63rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.fix-cd strong { color: var(--gold); }

/* ═══════════════════════════════════════════
   RESPONSIVO
═══════════════════════════════════════════ */
@media (min-width: 480px) {
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .feat-card.wide { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, .sp-star { animation: none !important; transition: none !important; }
  .sp-star { display: none; }
}
.amei-demo-caption{font-size:.7rem;opacity:.8} #notif-bar{flex-wrap:wrap;text-align:center}

/* Opções independentes de efeitos por site. */
body.amei-sem-brilho-logo .hero-logo { animation: none; filter: none; }
body.amei-sem-brilho-botoes .btn-gold { box-shadow: none; }
body.amei-sem-brilho-botoes .btn-gold::after { display: none; }

/* Banner opcional por site, mantendo proporções naturais da imagem. */
body.amei-topo-horizontal .hero-logo {
  width: min(720px, 100%);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

/* Cartões opcionais de plataformas: mesmos arquivos de marca, sem duplicação. */
.amei-platform-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px; max-width: 960px; margin: 28px auto 0; padding: 0 24px;
}
.amei-platform-card {
  min-width: 0; padding: 14px 10px 12px; border-radius: 14px;
  background: #fff; border: 1px solid #e8e8e8;
  display: flex; align-items: center; flex-direction: column; gap: 10px;
}
.amei-platform-image { width: 100%; height: 52px; display: flex; align-items: center; justify-content: center; }
.amei-platform-image img { display: block; max-width: 100%; max-height: 48px; width: auto; height: auto; object-fit: contain; }
.amei-platform-card > span { color: #333; font-size: .72rem; font-weight: 600; line-height: 1.3; text-align: center; }
@media (max-width: 720px) { .amei-platform-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 18px; } }
@media (max-width: 340px) { .amei-platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
