/* Radar da Beleza: paleta de maquiagem (pó, batom, vinho) + verde do WhatsApp só no botão */
:root {
  --po: #FBE9EE;
  --rose: #F3C9D6;
  --batom: #B3124E;
  --vinho: #3A0F23;
  --vinho-soft: #6E4458;
  --branco: #FFFFFF;
  --zap: #128C4A;
  --zap-dark: #0D7038;
  --display: "Gloock", Georgia, serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--po);
  color: var(--vinho);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--batom); outline-offset: 3px; border-radius: 8px; }

/* ---------- primeira dobra ---------- */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px 28px;
  display: grid;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-name { font-weight: 700; font-size: 17px; line-height: 1.2; }
.brand-name small { display: block; font-weight: 500; font-size: 14px; color: var(--vinho-soft); }

/* avatar com anel de radar: a varredura gira duas vezes na abertura e para */
.avatar { position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%; padding: 3px; isolation: isolate; }
.avatar::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, var(--batom) 0deg, var(--rose) 90deg, var(--rose) 360deg);
  animation: sweep 1.6s linear 2;
}
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--po); }
.avatar.sm { width: 36px; height: 36px; padding: 2px; }
.avatar.sm::before { animation: none; background: var(--rose); }
@keyframes sweep { to { transform: rotate(360deg); } }

h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(31px, 8.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 6px 0 0;
  max-width: 15ch;
  text-wrap: balance;
}
.lede { margin: 0; font-size: 17px; color: var(--vinho-soft); max-width: 42ch; }

/* ---------- conversa com as ofertas ---------- */
.chat {
  background: var(--rose);
  border-radius: 22px;
  padding: 12px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.chat-head { display: none; }
.msg {
  background: var(--branco);
  border-radius: 4px 16px 16px 16px;
  padding: 10px 12px;
  box-shadow: 0 1px 0 rgba(58, 15, 35, 0.12);
  animation: arrive 0.45s cubic-bezier(.2, .8, .3, 1.2) both;
}
.msg:nth-of-type(2) { animation-delay: 0.35s; }
.msg:nth-of-type(3) { animation-delay: 0.7s; }
@keyframes arrive { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.msg-photo { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; }
.msg-photo img { width: 76px; height: 76px; object-fit: cover; object-position: 50% 45%; border-radius: 10px; }
.msg-title { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.3; }
.price { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.price s { color: var(--vinho-soft); font-size: 14px; }
.price strong { color: var(--batom); font-size: 21px; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.off { font-size: 13px; font-weight: 700; color: var(--batom); background: var(--po); border-radius: 99px; padding: 1px 8px; }
.msg-meta { margin: 2px 0 0; font-size: 12.5px; color: var(--vinho-soft); display: flex; justify-content: space-between; gap: 8px; }
.msg-photo-sm img { object-fit: contain; object-position: center; background: var(--branco); }
.msg-extra { display: none; }
.chat-note { margin: 2px 4px 0; font-size: 12px; color: var(--vinho-soft); }

/* ---------- botão ---------- */
.cta-block { display: grid; gap: 12px; }
.cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 14px 24px;
  background: var(--zap); color: var(--branco);
  font-weight: 800; font-size: 19px; text-decoration: none;
  border-radius: 16px;
  box-shadow: 0 4px 0 var(--zap-dark);
  transition: transform .12s ease, box-shadow .12s ease;
}
.cta svg { width: 26px; height: 26px; flex: none; }
.cta:hover { background: var(--zap-dark); }
.cta:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--zap-dark); }
.promises { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 14.5px; font-weight: 600; }
.promises li { display: flex; align-items: center; gap: 6px; }
.promises li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--zap) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.5 2.4L12 5.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.status { margin: 0; font-size: 14px; color: var(--batom); text-align: center; }

/* ordem no celular: marca, título, texto, botão e logo abaixo as ofertas como prova */
.hero-text { display: contents; }
.brand { order: 1; } h1 { order: 2; } .lede { order: 3; } .cta-block { order: 4; } .chat { order: 5; }

/* ---------- abaixo da dobra ---------- */
section:not(.hero) { max-width: 1120px; margin: 0 auto; padding: 44px 20px; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(27px, 6vw, 38px); line-height: 1.1; margin: 0 0 20px; }

.how { border-top: 1px solid var(--rose); }
.how ol { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 18px; }
.how li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
.how li::before {
  content: counter(step); grid-row: span 2;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--batom); color: var(--branco); font-weight: 800; font-size: 19px;
}
.how b { font-size: 18px; }
.how span { color: var(--vinho-soft); }

.what { display: grid; gap: 40px; background: var(--branco); border-radius: 28px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--po); border-radius: 99px; padding: 8px 16px; font-weight: 600; }
.stores ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; gap: 12px; }
.stores img { width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--rose); }
.stores p { margin: 0; color: var(--vinho-soft); }

.faq details { border-bottom: 1px solid var(--rose); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative;
  font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border: solid var(--batom); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 16px; color: var(--vinho-soft); max-width: 60ch; }

.final { text-align: center; padding-bottom: 64px !important; }
.final h2 { margin-bottom: 22px; }
.final .cta { max-width: 420px; margin: 0 auto; }

footer { padding: 24px 20px 96px; text-align: center; font-size: 13px; color: var(--vinho-soft); }
footer p { max-width: 60ch; margin: 0 auto; }
footer p + p { margin-top: 8px; }
footer a { color: var(--vinho-soft); }

/* barra fixa (só celular) */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 233, 238, 0.94); backdrop-filter: blur(8px);
  border-top: 1px solid var(--rose);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky.on { transform: none; }
.sticky .cta { min-height: 52px; font-size: 18px; }

/* ---------- telas grandes ---------- */
@media (min-width: 880px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
    padding: 40px 32px 56px; min-height: min(100vh, 760px);
  }
  .hero-text { display: grid; gap: 22px; align-content: center; }
  .brand, h1, .lede, .chat, .cta-block { order: 0; }
  h1 { max-width: 13ch; }
  .lede { font-size: 19px; }
  .cta-block { justify-items: start; }
  .cta { padding: 16px 32px; }
  .promises { justify-content: flex-start; }

  .chat { padding: 16px; gap: 10px; max-width: 440px; justify-self: end; width: 100%; box-shadow: 0 30px 60px -30px rgba(58, 15, 35, .35); }
  .chat-head { display: flex; align-items: center; gap: 10px; padding: 2px 4px 6px; }
  .chat-head b { display: block; font-size: 15px; }
  .chat-head small { display: block; font-size: 12.5px; color: var(--vinho-soft); }
  .msg-photo { grid-template-columns: 1fr; padding: 6px; }
  .msg-photo img { width: 100%; height: 230px; border-radius: 12px; }
  .msg-photo .msg-body { padding: 4px 6px 4px; }
  .msg-photo-sm img { height: 160px; }
  .msg-extra { display: grid; }

  section:not(.hero) { padding: 64px 32px; }
  .how ol { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .what { grid-template-columns: 1.4fr 1fr; padding: 48px !important; }
  .sticky { display: none; }
  footer { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .avatar::before, .msg { animation: none; }
  .cta, .sticky, .faq summary::after { transition: none; }
}
