/* ==========================================================
   Grupo VIP — Aconchego Estética
   ========================================================== */
:root {
  --bg: #14110D;
  --cream: #FFFDF8;
  --muted: rgba(255, 253, 248, .66);
  --faint: rgba(255, 253, 248, .42);

  /* cor principal (dourado da logo) */
  --gold-1: #FFE9A0;
  --gold-2: #F6CF6A;
  --gold-3: #D9A33F;
  --gold-rgb: 246, 207, 106;

  /* segunda cor (roxo/azul da logo) */
  --brand-rgb: 92, 38, 160;

  --wa: #128C7E;
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100svh;
  background:
    radial-gradient(60% 42% at 50% 46%, rgba(var(--gold-rgb), .12), transparent 70%),
    radial-gradient(70% 40% at 50% 105%, rgba(var(--brand-rgb), .32), transparent 70%),
    var(--bg);
  color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.backdrop { display: none; }

.card {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}

/* ---------- 1. capa ---------- */
.cover { position: relative; }
.cover__img {
  position: relative;
  height: clamp(270px, 44svh, 400px);
  overflow: hidden;
  /* recorte em curva: o escuro sobe no meio do pé da foto */
  -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%);
}
.cover__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%; /* ajuste aqui pra enquadrar o letreiro */
  transform: scale(1.12);
  animation: coverZoom 2.4s cubic-bezier(.2, .7, .2, 1) forwards;
}
.cover__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 17, 13, 0) 45%, rgba(20, 17, 13, .55) 80%, rgba(20, 17, 13, .9) 100%);
}
@keyframes coverZoom { to { transform: scale(1); } }

/* ---------- 2. logo ---------- */
.logo {
  position: relative;
  width: 124px;
  height: 124px;
  margin: -112px auto 0;
  z-index: 2;
}
.logo img {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  border: 5px solid var(--cream);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5), 0 0 0 1px rgba(var(--gold-rgb), .25);
  background: #3a2a8a;
}
.logo__ring {
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  border: 1.5px dashed rgba(var(--gold-rgb), .55);
  animation: orbit 18s linear infinite;
}
.logo__ring i {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--gold-1);
  box-shadow: 0 0 10px 3px rgba(var(--gold-rgb), .8);
}
@keyframes orbit { to { transform: rotate(360deg); } }

/* ---------- 3. nome ---------- */
.intro { padding: 14px 20px 0; text-align: center; }
.name {
  font-size: clamp(1.6rem, 8vw, 2.35rem);
  font-weight: 800;
  white-space: nowrap;
  line-height: 1.05;
  letter-spacing: -.02em;
  background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 50%, var(--gold-3) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.tagline {
  margin-top: 8px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  padding-left: .16em;
  color: var(--gold-2);
}
.lead {
  margin: 10px auto 0;
  max-width: 320px;
  font-size: .96rem;
  color: var(--muted);
  text-wrap: balance;
}

/* ---------- 4. selos ---------- */
.badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--cream);
  background: rgba(255, 253, 248, .06);
  border: 1px solid rgba(var(--gold-rgb), .28);
}
.badges svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--gold-2);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 5. botão ---------- */
.cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 86px;
  margin-top: 20px;
  padding: 12px 14px 12px 12px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 45%, var(--gold-3) 100%);
  color: #1C150A;
  text-align: left;
  overflow: hidden;
  box-shadow: 0 16px 36px -10px rgba(var(--gold-rgb), .55), inset 0 1px 0 rgba(255, 255, 255, .55);
  transition: transform .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.cta:active { transform: scale(.98); }
.cta:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }
.cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-18deg);
  animation: shine 4.5s ease-in-out 1.6s infinite;
  pointer-events: none;
}
@keyframes shine {
  0% { left: -60%; }
  28%, 100% { left: 130%; }
}
.cta__thumb {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #1C1530;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.cta__thumb img { width: 44px; height: 44px; border-radius: 50%; }
.cta__text { flex: 1 1 auto; min-width: 0; }
.cta__text strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}
.cta__text small {
  display: block;
  margin-top: 3px;
  font-size: .8rem;
  font-weight: 600;
  opacity: .72;
}
.cta__arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1C150A;
}
.cta__arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--gold-1);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 6. rodapé ---------- */
.foot { padding: 22px 22px 0; text-align: center; }
.addr {
  max-width: 300px;
  margin: 0 auto;
  font-size: .74rem;
  color: var(--faint);
  text-wrap: balance;
}

/* ---------- barra fixa ---------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 0 10px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(120%);
  transition: transform .38s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}
.dock.is-visible { transform: translateY(0); pointer-events: auto; }
.dock__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
  padding: 8px 8px 8px 10px;
  border-radius: 18px;
  background: var(--cream);
  color: #1C150A;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .45);
}
.dock__inner img { width: 40px; height: 40px; border-radius: 50%; }
.dock__id { flex: 1 1 auto; min-width: 0; line-height: 1.2; }
.dock__id strong { display: block; font-size: .9rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock__id small { display: block; font-size: .74rem; color: #6b6355; }
.dock__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--wa);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}
.dock__btn svg { width: 18px; height: 18px; fill: #fff; }

/* ---------- entrada em sequência ---------- */
.in { opacity: 0; transform: translateY(12px); animation: rise .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- desktop ---------- */
@media (min-width: 640px) {
  body { display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
  .backdrop {
    display: block;
    position: fixed;
    inset: -40px;
    background: url("../img/capa.jpg") center / cover no-repeat;
    filter: blur(28px) brightness(.38) saturate(1.1);
    z-index: -1;
  }
  .card {
    border-radius: 28px;
    overflow: hidden;
    background:
      radial-gradient(60% 40% at 50% 50%, rgba(var(--gold-rgb), .1), transparent 70%),
      radial-gradient(80% 40% at 50% 105%, rgba(var(--brand-rgb), .3), transparent 70%),
      var(--bg);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06);
    padding-bottom: 30px;
  }
  .cover__img { height: 330px; }
  .name { font-size: 2.35rem; }
}

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  .cover__img img { animation: none; transform: none; }
  .logo__ring, .cta::after { animation: none; }
  .cta::after { display: none; }
  .in { animation: none; opacity: 1; transform: none; }
  .dock { transition: none; }
}
