/* ==========================================================
   Grupo VIP · Dra.Danielle
   Paleta dourada tirada da logo oficial (dourado sobre preto)
   ========================================================== */
:root {
  /* cor principal em 3 tons + RGB */
  --c1: #C8A571;
  --c1-light: #EECF98;
  --c1-dark: #9F7E50;
  --c1-rgb: 200, 165, 113;
  /* segunda cor da marca (RGB). Sem segunda cor: deixe igual a --c1-rgb */
  --c2-rgb: 200, 165, 113;

  --bg: #14110D;
  --cream: #FFFDF8;
  --muted: rgba(255, 253, 248, .62);
  --faint: rgba(255, 253, 248, .42);
  --wa: #128C7E;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; overflow-x: hidden; }

body {
  min-height: 100svh;
  font-family: var(--font);
  color: var(--cream);
  background:
    radial-gradient(70% 45% at 50% 50%, rgba(var(--c1-rgb), .16), transparent 70%),
    radial-gradient(80% 40% at 50% 100%, rgba(var(--c2-rgb), .10), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }

.backdrop { display: none; }

.page {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(96px + env(safe-area-inset-bottom)); /* espaço pra barra fixa */
}

/* ---------- 1. CAPA ---------- */
.hero {
  position: relative;
  height: clamp(270px, 44svh, 400px);
  flex: none;
}
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  /* recorte em curva: o fundo escuro "sobe" no meio formando o morro da logo */
  -webkit-mask-image: radial-gradient(64% 24% at 50% 100%, transparent 98%, #000 100%);
          mask-image: radial-gradient(64% 24% at 50% 100%, transparent 98%, #000 100%);
}
/* fundo do topo: preto com brilho dourado suave */
.hero__media {
  background:
    radial-gradient(60% 55% at 50% 42%, rgba(var(--c1-rgb), .20), transparent 72%),
    radial-gradient(120% 80% at 50% 0%, #1E1913 0%, var(--bg) 70%);
}
.hero__arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(var(--c1-rgb), .14);
  stroke-width: .6;
  animation: fadeIn 2s var(--ease) .2s both;
}
.hero__arcs circle:last-child { stroke-dasharray: 2 5; }

/* assinatura: nome em cima, área embaixo */
.hero__sign {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: min(84%, 340px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: signIn 1.4s var(--ease) .1s both;
}
.hero__name { width: 100%; height: auto; filter: drop-shadow(0 0 18px rgba(var(--c1-rgb), .35)); }
.hero__area { width: 84%; height: auto; opacity: .9; }
.hero__rule {
  position: relative;
  width: 62%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--c1-rgb), .8), transparent);
}
.hero__rule i { /* losango no centro */
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--c1-light);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 8px rgba(var(--c1-rgb), .9);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* degradê escuro no pé do topo */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 17, 13, 0) 55%, rgba(20, 17, 13, .5) 80%, var(--bg) 100%);
}

/* ---------- 2..5. CONTEÚDO ---------- */
.intro {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  margin-top: -88px; /* encaixa a logo no recorte */
}

/* LOGO */
.logo {
  position: relative;
  width: 124px;
  height: 124px;
  flex: none;
}
.logo__img {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  border: 3px solid var(--c1);
  object-fit: cover;
  background: #000;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5), 0 0 0 1px rgba(var(--c1-rgb), .35);
  position: relative;
  z-index: 1;
}
.logo__ring {
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1.5px dashed rgba(var(--c1-rgb), .55);
  animation: orbit 18s linear infinite;
}
.logo__ring::after { /* pontinho de luz */
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--c1-light);
  box-shadow: 0 0 10px 3px rgba(var(--c1-rgb), .8);
}

/* NOME */
.name {
  margin: 12px 0 0;
  font-weight: 800;
  font-size: clamp(1.6rem, 8vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  white-space: nowrap;
  background: linear-gradient(120deg, var(--c1-light) 10%, var(--c1) 55%, var(--c1-dark) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.tagline {
  margin: 5px 0 0;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  padding-left: .16em; /* compensa o espaçamento pra centralizar */
  color: var(--c1);
}
.lead {
  margin: 9px 0 0;
  max-width: 320px;
  font-size: .92rem;
  line-height: 1.4;
  color: var(--muted);
  text-wrap: balance;
}

/* SELOS */
.badges {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 13px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--cream);
  background: rgba(var(--c1-rgb), .1);
  border: 1px solid rgba(var(--c1-rgb), .3);
}
.badge svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--c1-light);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* BOTÃO PRINCIPAL */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 400px;
  min-height: 86px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 22px;
  text-align: left;
  text-decoration: none;
  color: #1A120D;
  background: linear-gradient(135deg, var(--c1-light) 0%, var(--c1) 48%, var(--c1-dark) 100%);
  box-shadow: 0 14px 34px rgba(var(--c1-rgb), .38), inset 0 1px 0 rgba(255, 255, 255, .35);
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cta:active { transform: scale(.98); }
.cta:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }
.cta::after { /* brilho */
  content: "";
  position: absolute;
  z-index: -1;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: translateX(-160%) skewX(-18deg);
  animation: shine 4.5s ease-in-out 1.6s infinite;
  pointer-events: none;
}
.cta__thumb {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: #1F1712;
  display: grid;
  place-items: center;
}
.cta__thumb img { width: 40px; height: 40px; border-radius: 50%; }
.cta__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cta__text strong {
  font-size: clamp(1rem, 4.9vw, 1.14rem);
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}
.cta__text small { font-size: clamp(.7rem, 3.4vw, .78rem); font-weight: 500; opacity: .78; white-space: nowrap; }
.cta__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1F1712;
  display: grid;
  place-items: center;
}
.cta__arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--c1-light);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 6. RODAPÉ ---------- */
.foot {
  margin-top: auto;
  padding: 26px 24px 8px;
  text-align: center;
}
.foot address {
  font-style: normal;
  font-size: .74rem;
  line-height: 1.5;
  color: var(--faint);
  text-wrap: balance;
}

/* ---------- BARRA FIXA ---------- */
.sticky {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 0;
  width: min(100%, 480px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--cream);
  color: #1A120D;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .35);
  transform: translate(-50%, 115%);
  transition: transform .45s var(--ease);
}
.sticky.is-visible { transform: translate(-50%, 0); }
.sticky__logo { width: 40px; height: 40px; border-radius: 50%; flex: none; background: #000; }
.sticky__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sticky__text strong {
  font-size: .86rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky__text small { font-size: .74rem; color: rgba(26, 18, 13, .6); }
.sticky__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.sticky__btn svg { width: 18px; height: 18px; fill: currentColor; }
.sticky__btn:focus-visible { outline: 3px solid var(--c1-dark); outline-offset: 2px; }

/* ---------- ENTRADA EM SEQUÊNCIA ---------- */
.reveal { animation: fadeUp .7s var(--ease) var(--d, 0s) both; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes signIn { from { opacity: 0; letter-spacing: 0; filter: blur(6px); transform: translate(-50%, -42%); } to { opacity: 1; filter: none; transform: translate(-50%, -50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes shine {
  0% { transform: translateX(-160%) skewX(-18deg); }
  28%, 100% { transform: translateX(360%) skewX(-18deg); }
}

/* telas estreitas (320px) — miniatura e seta um pouco menores */
@media (max-width: 359px) {
  .cta { gap: 10px; padding: 14px 12px; }
  .cta__thumb { width: 48px; height: 48px; border-radius: 14px; }
  .cta__thumb img { width: 36px; height: 36px; }
  .cta__arrow { width: 38px; height: 38px; }
}

/* telas baixas (ex.: 320x568) — aperta os respiros pro botão caber inteiro */
@media (max-height: 600px) {
  .intro { margin-top: -96px; }
  .name { margin-top: 8px; }
  .lead { margin-top: 6px; font-size: .86rem; }
  .badges { margin-top: 10px; }
  .cta { margin-top: 12px; }
}

/* ---------- DESKTOP: cartão central ---------- */
@media (min-width: 640px) {
  body { display: flex; justify-content: center; align-items: flex-start; padding: 40px 16px; }
  .backdrop {
    display: block;
    position: fixed;
    inset: -40px;
    z-index: 0;
    background:
      radial-gradient(50% 50% at 50% 35%, rgba(var(--c1-rgb), .12), transparent 70%),
      #0B0907;
  }
  .page {
    z-index: 1;
    max-width: 480px;
    min-height: auto;
    border-radius: 28px;
    overflow: hidden;
    background:
      radial-gradient(70% 40% at 50% 55%, rgba(var(--c1-rgb), .16), transparent 70%),
      radial-gradient(80% 30% at 50% 100%, rgba(var(--c2-rgb), .1), transparent 70%),
      var(--bg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 253, 248, .06);
    padding-bottom: 28px;
  }
  .hero { height: 360px; }
  .sticky { bottom: 16px; border-radius: 20px; width: min(calc(100% - 32px), 448px); }
  .sticky { transform: translate(-50%, calc(100% + 40px)); }
  .sticky.is-visible { transform: translate(-50%, 0); }
}

/* ---------- ACESSIBILIDADE: sem animação ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
