/* ==========================================================================
   Duda Magalhães — Grupo VIP
   Paleta: rosa, lilás, roxo e verde-limão
   ========================================================================== */

:root {
  --rosa: #ff5aa5;
  --rosa-claro: #ffa6d0;
  --lilas: #c78bff;
  --roxo: #7a2ff2;
  --roxo-escuro: #4a118f;
  --verde: #b6ff3f;
  --verde-escuro: #7fd411;
  --branco: #ffffff;
  --texto: #2b0f3a;

  --radius-lg: 30px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --sombra-glow: 0 0 28px rgba(182, 255, 63, 0.55);
  --sombra-card: 0 22px 60px rgba(43, 15, 58, 0.35);

  --font: "Poppins", "Segoe UI", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--texto);
  background: #3d0d73;
  background-image:
    radial-gradient(120% 80% at 15% 0%, #ff8ac2 0%, transparent 55%),
    radial-gradient(120% 90% at 85% 100%, #7a2ff2 0%, transparent 60%),
    linear-gradient(160deg, #ff5aa5 0%, #b85ae0 48%, #6a1fd6 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   1. Barra superior verde
   -------------------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #1c2b00;
  background: linear-gradient(90deg, var(--verde), #d8ff7a 55%, var(--verde));
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  animation: topbarGlow 3.4s ease-in-out infinite;
}

.topbar__sparkle {
  font-size: 11px;
  animation: twinkle 1.8s ease-in-out infinite;
}
.topbar__sparkle:last-child { animation-delay: 0.9s; }

@keyframes topbarGlow {
  0%, 100% { box-shadow: 0 6px 24px rgba(182, 255, 63, 0.35); }
  50%      { box-shadow: 0 6px 34px rgba(182, 255, 63, 0.75); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50%      { opacity: 1; transform: scale(1.15); }
}

/* --------------------------------------------------------------------------
   Estrutura
   -------------------------------------------------------------------------- */
.page {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 14px 40px;
}

/* --------------------------------------------------------------------------
   2-8. Card principal
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  padding: 34px 20px 30px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--sombra-card), inset 0 0 60px rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.35), rgba(199, 139, 255, 0.05) 55%, rgba(122, 47, 242, 0.18));
  pointer-events: none;
}

.card > * { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   2. Foto da influenciadora
   -------------------------------------------------------------------------- */
.photo {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 24px;
}

.photo__img,
.photo__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--branco);
  box-shadow: 0 0 34px rgba(255, 90, 165, 0.75);
}

.photo__fallback {
  display: none;
  place-items: center;
  font-size: 82px;
  background: linear-gradient(160deg, #ffb4d8, #c78bff);
}

.photo.no-img .photo__img { display: none; }
.photo.no-img .photo__fallback { display: grid; }

.photo__ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--verde), var(--lilas), var(--rosa), var(--verde));
  filter: blur(9px);
  opacity: 0.85;
  z-index: -1;
  animation: spin 8s linear infinite;
}

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

.welcome {
  display: inline-block;
  margin: 0 auto 14px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--roxo-escuro);
  background: rgba(255, 255, 255, 0.82);
  border: 1.5px solid var(--rosa-claro);
  box-shadow: 0 6px 18px rgba(255, 90, 165, 0.25);
}

/* --------------------------------------------------------------------------
   3-4. Textos
   -------------------------------------------------------------------------- */
.title {
  font-size: 34px;
  line-height: 1.12;
  font-weight: 900;
  margin: 0 0 12px;
  color: var(--branco);
  text-shadow: 0 3px 16px rgba(74, 17, 143, 0.6), 0 0 2px rgba(255, 255, 255, 0.4);
}

.subtitle {
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
  margin: 0 0 22px;
  color: #fff0f9;
  text-shadow: 0 2px 10px rgba(74, 17, 143, 0.5);
}

/* --------------------------------------------------------------------------
   5. Destaque
   -------------------------------------------------------------------------- */
.highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: 420px;
  margin: 0 auto 24px;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--roxo-escuro);
  background: linear-gradient(135deg, #fff6fb, #ffe0f2);
  border: 2px dashed var(--rosa);
  box-shadow: 0 8px 26px rgba(255, 90, 165, 0.4);
  animation: floatY 3.2s ease-in-out infinite;
}

.highlight__icon { font-size: 22px; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* --------------------------------------------------------------------------
   6. Botão CTA
   -------------------------------------------------------------------------- */
.cta-wrap { margin-bottom: 8px; }

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 22px 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #17240a;
  background: linear-gradient(180deg, #d9ff7a 0%, var(--verde) 45%, var(--verde-escuro) 100%);
  box-shadow: var(--sombra-glow), 0 12px 30px rgba(20, 60, 0, 0.35);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.25s ease;
  animation: pulseGlow 2.4s ease-in-out infinite;
}

.cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-20deg);
  animation: shine 3.4s ease-in-out infinite;
}

.cta:hover,
.cta:focus-visible {
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(182, 255, 63, 0.85), 0 14px 34px rgba(20, 60, 0, 0.4);
  outline: none;
}

.cta:active { transform: scale(0.985); }

.cta__text { position: relative; z-index: 1; }

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 22px rgba(182, 255, 63, 0.5), 0 12px 30px rgba(20, 60, 0, 0.35); }
  50%      { box-shadow: 0 0 44px rgba(182, 255, 63, 0.9), 0 12px 30px rgba(20, 60, 0, 0.35); }
}
@keyframes shine {
  0%   { left: -60%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}

.cta__hint {
  margin: 14px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #ffe9f6;
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Instagram
   -------------------------------------------------------------------------- */
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px auto 0;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(135deg, #feda75 0%, #fa7e1e 30%, #d62976 62%, #962fbf 85%, #4f5bd5 100%);
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 26px rgba(214, 41, 118, 0.45);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.social:hover,
.social:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 34px rgba(214, 41, 118, 0.6);
  outline: none;
}

.social__icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}

.social__handle { line-height: 1; }

/* Mensagem de demonstração (tom amigável, sem cara de alerta) */
.demo-notice {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  max-width: 430px;
  margin: 16px auto 0;
  padding: 14px 17px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--roxo-escuro);
  background: linear-gradient(135deg, #fff2fa, #f0e3ff);
  border: 1.5px solid var(--lilas);
  box-shadow: 0 10px 26px rgba(122, 47, 242, 0.22);
  animation: noticeIn 0.35s ease;
}

.demo-notice[hidden] { display: none; }
.demo-notice__icon { font-size: 20px; }

@keyframes noticeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   7. Lojas
   -------------------------------------------------------------------------- */
.stores {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.stores__title {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--branco);
  text-shadow: 0 2px 10px rgba(74, 17, 143, 0.5);
}

.stores__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  color: var(--branco);
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 6px 18px rgba(43, 15, 58, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
  animation: fadeUp 0.5s ease both;
}

.store-pill:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.34);
}

.store-pill__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px currentColor;
}

.stores__more {
  margin: 16px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #ffe9f6;
  opacity: 0.92;
}

/* --------------------------------------------------------------------------
   9. Rodapé
   -------------------------------------------------------------------------- */
.footer {
  margin-top: 26px;
  padding: 22px 8px 8px;
  text-align: center;
  color: #fff;
}

.footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.footer__link {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}
.footer__link:hover { opacity: 1; }
.footer__sep { opacity: 0.6; }

.footer__disclaimer {
  max-width: 460px;
  margin: 0 auto 12px;
  font-size: 11.5px;
  line-height: 1.6;
  opacity: 0.85;
}

.footer__copy {
  margin: 0;
  font-size: 11.5px;
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; }
.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 4, 55, 0.7);
  backdrop-filter: blur(3px);
  animation: fadeIn 0.25s ease;
}

.modal__box {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 82vh;
  overflow-y: auto;
  padding: 28px 22px 24px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--sombra-card);
  animation: fadeUp 0.3s ease;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--roxo-escuro);
  background: #f3eafd;
  transition: background 0.2s ease;
}
.modal__close:hover { background: #e4d3fb; }

.modal__title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 900;
  color: var(--roxo-escuro);
}

.modal__content { font-size: 13.5px; line-height: 1.65; color: #3b2450; }
.modal__content h3 { font-size: 15px; margin: 18px 0 6px; color: var(--roxo); }
.modal__content p { margin: 0 0 10px; }
.modal__content ul { margin: 0 0 10px; padding-left: 20px; }

/* --------------------------------------------------------------------------
   Animações de entrada
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 420px) {
  .card { padding: 28px 16px 24px; border-radius: 26px; }
  .title { font-size: 28px; }
  .subtitle { font-size: 16px; }
  .photo { width: 210px; height: 210px; }
  .photo__fallback { font-size: 72px; }
  .highlight { font-size: 16px; padding: 12px 16px; }
  .cta { font-size: 18.5px; padding: 20px 14px; }
  .store-pill { font-size: 13px; padding: 10px 14px; }
}

@media (min-width: 700px) {
  .page { padding-top: 26px; }
  .card { padding: 44px 34px 38px; }
  .title { font-size: 40px; }
  .photo { width: 330px; height: 330px; }
}

/* Respeita preferências de acessibilidade */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
