/* ==========================================================
   Grupo VIP · Mayke Pavani Hair
   Mobile first · fundo escuro quente · dourado da logo
   ========================================================== */

:root {
  --bg: #14110D;
  --bg-2: #1C1813;
  --cream: #FFFDF8;
  --muted: #B9AF9F;
  --line: rgba(255, 253, 248, .12);

  /* dourado da logo */
  --gold-1: #F7DCA4;
  --gold-2: #E4A955;
  --gold-3: #B9772D;
  --gold: #E8B064;
  --gold-grad: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 52%, var(--gold-3) 100%);

  /* verde-sálvia da logo (só detalhe) */
  --sage: #6E7E62;

  --wa: #128C7E;
  --radius-cta: 22px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(60% 42% at 50% 46%, rgba(228, 169, 85, .13), transparent 72%),
    radial-gradient(70% 40% at 50% 100%, rgba(110, 126, 98, .16), transparent 70%),
    var(--bg);
  color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }

.bg-blur { display: none; }

/* ---------- cartão (coluna única) ---------- */
.card {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: calc(110px + env(safe-area-inset-bottom));
}

/* ---------- 1. capa ---------- */
.cover {
  position: relative;
  height: clamp(270px, 44svh, 400px);
  overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 78% 54px at 50% 100%, transparent 98.5%, #000 100%);
          mask-image: radial-gradient(ellipse 78% 54px at 50% 100%, transparent 98.5%, #000 100%);
}

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 17, 13, 0) 45%, rgba(20, 17, 13, .55) 85%, var(--bg) 100%);
  pointer-events: none;
}

.cover__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%; /* ajuste para mostrar o letreiro da fachada */
  transform: scale(1.12);
  animation: coverZoom 2.4s var(--ease) forwards;
}

@keyframes coverZoom { to { transform: scale(1); } }

/* ---------- 2. logo ---------- */
.logo {
  position: relative;
  z-index: 2;
  width: 124px;
  height: 124px;
  margin: -84px auto 0;
}

.logo__img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 5px solid var(--cream);
  object-fit: cover;
  background: var(--sage);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5), 0 0 0 1px rgba(228, 169, 85, .25);
}

.logo__ring {
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  border: 1.5px dashed rgba(232, 176, 100, .55);
  animation: orbit 18s linear infinite;
}

.logo__dot {
  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 6px 2px rgba(247, 220, 164, .85), 0 0 16px 4px rgba(228, 169, 85, .5);
}

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

/* ---------- 3. nome e apresentação ---------- */
.intro {
  padding: 18px 22px 0;
  text-align: center;
}

.intro__name {
  margin: 0;
  font-size: clamp(1.95rem, 8.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.02em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.intro__tag {
  margin: 9px 0 0;
  padding-left: .16em;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.intro__text {
  max-width: 330px;
  margin: 12px auto 0;
  font-size: 1rem;
  color: var(--muted);
  text-wrap: balance;
}

/* ---------- 4. selos ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(232, 176, 100, .28);
  border-radius: 999px;
  background: rgba(232, 176, 100, .07);
  font-size: .78rem;
  font-weight: 600;
  color: var(--cream);
}

.chip svg { width: 13px; height: 13px; fill: var(--gold); }

/* ---------- 5. botão principal ---------- */
.cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  margin: 20px 18px 0;
  padding: 12px 12px 12px 12px;
  border-radius: var(--radius-cta);
  background: var(--gold-grad);
  color: #1A140C;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 14px 34px rgba(228, 169, 85, .3), inset 0 1px 0 rgba(255, 255, 255, .45);
  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__thumb {
  flex: none;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #1A140C;
}

.cta__thumb img { width: 46px; height: 46px; border-radius: 50%; }

.cta__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }

.cta__text strong { font-size: 1.12rem; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }

.cta__text small { font-size: .82rem; font-weight: 600; opacity: .72; }

.cta__arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1A140C;
}

.cta__arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--gold-1);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta__shine {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 66%);
  transform: translateX(-120%);
  animation: shine 4.5s ease-in-out 1.6s infinite;
  pointer-events: none;
}

@keyframes shine {
  0% { transform: translateX(-120%); }
  28%, 100% { transform: translateX(120%); }
}

/* ---------- 6. rodapé da página ---------- */
.foot { padding: 22px 22px 0; text-align: center; }

.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, .04);
  font-size: .86rem;
  font-weight: 600;
  transition: border-color .2s, background .2s;
}

.pill:hover, .pill:focus-visible { border-color: rgba(232, 176, 100, .5); background: rgba(232, 176, 100, .08); }

.pill svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 1.9; }

.pill svg .fill { fill: var(--gold); stroke: none; }

.addr {
  max-width: 320px;
  margin: 0 auto;
  font-size: .74rem;
  font-style: normal;
  color: var(--muted);
  opacity: .8;
  text-wrap: balance;
}

/* ---------- barra fixa (estilo bio.site) ---------- */
.dock {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  width: calc(100% - 24px);
  max-width: 456px;
  padding: 8px 8px 8px 9px;
  border-radius: 18px;
  background: #F7F1E6;
  color: #1A140C;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform .45s var(--ease), opacity .3s;
  pointer-events: none;
}

.dock.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }

.dock__logo { flex: none; width: 42px; height: 42px; border-radius: 50%; }

.dock__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }

.dock__text strong { font-size: .88rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dock__text small { font-size: .76rem; color: #6B6255; }

.dock__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--wa);
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
}

.dock__btn svg { width: 19px; height: 19px; fill: #fff; }

/* ---------- entrada em sequência ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: reveal .7s var(--ease) var(--d, 0s) forwards;
}

@keyframes reveal { to { opacity: 1; transform: none; } }

/* ---------- telas pequenas ---------- */
@media (max-height: 680px) {
  .cover { height: clamp(250px, 40svh, 400px); }
  .intro { padding-top: 14px; }
  .intro__text { margin-top: 9px; font-size: .95rem; }
  .chips { margin-top: 12px; }
  .cta { margin-top: 16px; }
}

@media (max-width: 380px) {
  .chips { gap: 6px; }
  .chip { padding: 5px 10px; font-size: .72rem; gap: 5px; }
  .cta { gap: 11px; margin-left: 14px; margin-right: 14px; }
  .cta__thumb { width: 54px; height: 54px; border-radius: 14px; }
  .cta__thumb img { width: 42px; height: 42px; }
  .cta__text strong { font-size: 1.04rem; white-space: nowrap; }
  .cta__arrow { width: 40px; height: 40px; }
}

@media (max-width: 330px) {
  .cta__text strong { font-size: .96rem; }
}

/* ---------- desktop: cartão de 480px no centro ---------- */
@media (min-width: 640px) {
  body { padding: 40px 0; }

  .bg-blur {
    display: block;
    position: fixed;
    inset: -40px;
    z-index: -1;
    background: url("../img/capa.jpg") center / cover no-repeat;
    filter: blur(40px) brightness(.35) saturate(1.1);
  }

  .card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
      radial-gradient(70% 40% at 50% 52%, rgba(228, 169, 85, .12), transparent 72%),
      var(--bg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
    padding-bottom: 40px;
  }

  .cta:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(228, 169, 85, .38), inset 0 1px 0 rgba(255, 255, 255, .45); }
}

/* ---------- acessibilidade: menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cover__img { transform: none; }
  .reveal { opacity: 1; transform: none; }
}
