:root {
  --magenta: #D6247D;
  --magenta-dark: #B3125F;
  --magenta-light: #FF4FA3;
  --gold: #FFC83D;
  --green: #1FA855;
  --green-hover: #168C45;
  --bg-top: #FFEAF4;
  --bg-bottom: #FFFFFF;
  --text: #2A1020;
  --text-soft: #6B4A5C;
  --card: #FFFFFF;
  --border: rgba(214, 36, 125, 0.12);
  --shadow: 0 4px 20px -2px rgba(214, 36, 125, 0.12), 0 2px 6px -1px rgba(0, 0, 0, 0.05);
  --radius: 20px;
}

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

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

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 420px) no-repeat, var(--bg-bottom);
  line-height: 1.5;
  min-height: 100vh;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 16px 120px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
}

/* Perfil */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.avatar {
  width: 148px;
  height: 148px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta), var(--gold));
  box-shadow: 0 8px 24px -6px rgba(214, 36, 125, 0.45);
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #fff;
}

.profile-title {
  margin: 14px 0 6px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.profile-title span {
  color: var(--magenta);
}

.profile-bio {
  margin: 0 0 14px;
  max-width: 340px;
  color: var(--text-soft);
  font-size: 15px;
}

.chip-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--magenta-dark);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.15s;
}

.chip-instagram svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.chip-instagram:active,
.btn-whatsapp:active,
.btn-outline:active {
  transform: scale(0.98);
}

/* CTA */
.cta-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px 16px 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 28px;
  text-align: center;
}

.badge-free {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #4A2A00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  text-align: left;
  box-shadow: 0 8px 20px -6px rgba(31, 168, 85, 0.6);
  transition: transform 0.15s, background 0.15s;
}

.btn-whatsapp:hover {
  background: var(--green-hover);
}

.btn-whatsapp svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  fill: #fff;
}

.btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.btn-text strong {
  font-size: 16px;
  font-weight: 800;
}

.btn-text small {
  font-size: 12px;
  opacity: 0.92;
}

.microcopy {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-soft);
}

/* Seções */
.section {
  margin-bottom: 28px;
}

.section-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.stores,
.categories {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.store {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 8px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  line-height: 1.15;
  color: #fff;
  box-shadow: var(--shadow);
}

.store.dark-text {
  color: #2A2200;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
}

.categories li {
  padding: 6px 14px;
  border-radius: 999px;
  background: #FFF0F7;
  border: 1px solid var(--border);
  color: var(--magenta-dark);
  font-size: 13px;
  font-weight: 700;
}

/* Benefícios */
.benefits {
  display: grid;
  gap: 10px;
}

.benefit {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.benefit-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FFE0F0, #FFF3CC);
  color: var(--magenta-dark);
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit h3 {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 700;
}

.benefit p {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
}

/* FAQ */
.faq {
  display: grid;
  gap: 8px;
}

.faq details {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--magenta);
  border-bottom: 2.5px solid var(--magenta);
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq details p {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 14px;
  color: var(--text-soft);
}

/* Instagram */
.insta-card {
  padding: 20px 16px;
  text-align: center;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.insta-card p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-soft);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  background: var(--magenta);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}

.btn-outline:hover {
  background: var(--magenta-dark);
}

/* Produtos (desativado na v1) */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.product {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
}

.product-price {
  font-weight: 800;
  color: var(--magenta);
}

.product-price s {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-soft);
}

/* Rodapé */
.footer {
  margin-top: 8px;
  text-align: center;
}

.disclosure {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--text-soft);
}

.disclosure a {
  color: var(--magenta-dark);
  font-weight: 700;
}

.copyright {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-soft);
}

/* Barra fixa */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 -4px 24px rgba(42, 16, 32, 0.1);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}

.sticky-bar.visible {
  transform: translateY(0);
}

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

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

.sticky-text strong {
  font-size: 14px;
}

.sticky-text small {
  font-size: 12px;
  color: var(--text-soft);
}

.btn-small {
  width: auto;
  min-height: 44px;
  padding: 0 20px;
  white-space: nowrap;
  font-weight: 800;
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media (min-width: 768px) {
  .page {
    padding-top: 48px;
  }
}

/* Páginas de texto (política de privacidade) */
.legal h1 {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal h2 {
  margin: 24px 0 6px;
  font-size: 17px;
  font-weight: 800;
}

.legal p,
.legal li {
  font-size: 14px;
  color: var(--text-soft);
}

.legal ul {
  padding-left: 20px;
}

.legal a {
  color: var(--magenta-dark);
  font-weight: 700;
}

.legal .updated {
  font-size: 12px;
}

.back-link {
  display: inline-block;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--magenta-dark);
  text-decoration: none;
}
