/*
 * Lembra - site (landing + páginas legais + perfil público /u).
 * Mesmos tokens do app v3 (constants/theme.ts, docs/design/identidade-v3.md):
 * cada cor de ação tem a sua "sombra de baixo" usada como relevo sólido.
 */

:root {
  /* Texto em terracota: no escuro usa variante clara (AA ≥ 4,5 sobre bg/surface). */
  --primary-text: var(--primary);
  color-scheme: light dark;

  /* Ações - cada cor tem a sombra de baixo e o token "On" do texto */
  --primary: #c2410c;
  --primary-shadow: #9b340a;
  --primary-on: #ffffff;
  --celebrate: #f2c230;
  --celebrate-shadow: #c29b26;
  --celebrate-on: #2a211c;
  --gift: #c74a24;
  --gift-shadow: #9f3b1d;
  --gift-on: #ffffff;
  --send: #2e7d5b;
  --send-shadow: #256449;
  --send-on: #ffffff;
  --sky: #2a6f97;
  --sky-shadow: #225979;
  --sky-on: #ffffff;

  /* Texto */
  --ink: #2a211c;
  --muted: #6e6157;
  --link: var(--sky);

  /* Superfícies */
  --bg: #faf7f0;
  --surface: #ffffff;
  --surface-alt: #f1eae0;
  --soft: #f7e4d6;
  --line: #e8dfd2;
  --line-shadow: #cfc3b2;

  /* Formas */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 12px;

  /* Tons suaves derivados (fundo dos cartões coloridos) */
  --gift-soft: rgba(199, 74, 36, 0.12);
  --sky-soft: rgba(42, 111, 151, 0.12);
}

/* Tema escuro: mesmas ações; só o céu (links/info) clareia e as
 * superfícies escurecem. Texto sobre dourado continua ESCURO. */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-text: #e8743f;
    --ink: #f6efe7;
    --muted: #b3a69a;
    --bg: #1b1613;
    --surface: #241e1a;
    --surface-alt: #2e2722;
    --soft: #40291c;
    --line: #3a322b;
    --line-shadow: #2a241f;
    --sky: #6ea9ce;
    --sky-shadow: #5886a5;
    --sky-on: #2a211c;
    --gift-soft: rgba(199, 74, 36, 0.18);
    --sky-soft: rgba(110, 169, 206, 0.16);
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0 0 0.5rem;
  line-height: 1.2;
  font-weight: 800;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 4px;
}

img,
svg {
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--primary-text);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--primary);
  font-weight: 800;
  z-index: 10;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Cabeçalho ---------- */

.site-header {
  padding: 1.25rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--primary-text);
  text-decoration: none;
}

.header-tag {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
}

.header-tag::before {
  content: "·";
  margin-right: 0.5rem;
}

@media (max-width: 520px) {
  .header-tag {
    display: none;
  }
}

/* ---------- Botões (assinatura tátil) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.75rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-on);
  box-shadow: 0 5px 0 var(--primary-shadow);
  font: 800 1rem/1 "Nunito", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.btn:hover {
  filter: brightness(1.04);
}

.btn:active {
  transform: translateY(5px);
  box-shadow: 0 0 0 var(--primary-shadow);
}

.btn--white {
  background: #fff;
  /* Fundo branco fixo: terracota escuro mesmo no tema escuro (AA 4,9). */
  color: var(--primary);
  box-shadow: 0 5px 0 var(--line-shadow);
}

.btn--white:active {
  box-shadow: 0 0 0 var(--line-shadow);
}

.btn--secondary {
  background: var(--surface);
  color: var(--primary-text);
  border: 2px solid var(--line);
  box-shadow: 0 5px 0 var(--line-shadow);
}

.btn--secondary:active {
  box-shadow: 0 0 0 var(--line-shadow);
}

.btn[disabled] {
  cursor: not-allowed;
  filter: none;
}

.btn--soon {
  background: var(--line);
  color: var(--muted);
  box-shadow: 0 5px 0 var(--line-shadow);
  transform: none;
}

/* ---------- Cartões ---------- */

.card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 0 var(--line-shadow);
  padding: 1.25rem;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* ---------- Hero (landing) ---------- */

.hero {
  padding: 0.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 8vw, 3.1rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 0.85rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary-text);
  margin-bottom: 0.6rem;
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 34rem;
}

.fineprint {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 0.85rem;
}

.store-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: var(--celebrate);
  color: var(--celebrate-on);
  box-shadow: 0 3px 0 var(--celebrate-shadow);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-visual {
  display: grid;
  gap: 0.9rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: var(--primary-on);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 0 var(--primary-shadow);
  padding: 1.5rem;
}

.hero-person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-person-text {
  display: flex;
  flex-direction: column;
}

.hero-person-text strong {
  font-size: 1.25rem;
  font-weight: 800;
}

.hero-person-text small {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-big {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  margin: 1rem 0 1.25rem;
}

.hero-card .btn {
  width: 100%;
  cursor: default;
}

/* Serifa só no momento "carta" (citação de mensagem) */
.letter {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0.85rem 0 0;
}

.hero-links {
  margin: 1rem 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 700;
}

.mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 0 var(--line-shadow);
  padding: 0.7rem 0.9rem;
}

.mini-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.mini-text strong {
  font-weight: 800;
}

.mini-text small,
.mini-when small {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
}

.mini-when {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.mini-when strong {
  font-weight: 900;
}

/* Avatares sólidos com inicial branca */

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-on);
  font-weight: 900;
  line-height: 1;
}

/* No cartão roxo o avatar roxo sumiria: fundo translúcido claro. */
.hero-card .avatar:not([class*="avatar--"]) {
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.avatar--sm {
  width: 40px;
  height: 40px;
  font-size: 0.95rem;
}

.avatar--lg {
  width: 96px;
  height: 96px;
  font-size: 2.2rem;
}

.avatar--gift {
  background: var(--gift);
  color: var(--gift-on);
}

.avatar--sky {
  background: var(--sky);
  color: var(--sky-on);
}

.avatar--teal {
  background: #1cb0a8;
}

/* Confete decorativo (respeita prefers-reduced-motion) */

.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.confetti i {
  position: absolute;
  top: -12px;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  opacity: 0;
  animation: confetti-fall 1.4s ease-in 0.3s 1 forwards;
}

.confetti i:nth-child(1) {
  left: 12%;
  background: var(--celebrate);
  animation-delay: 0.3s;
}

.confetti i:nth-child(2) {
  left: 30%;
  background: var(--gift);
  animation-delay: 0.5s;
}

.confetti i:nth-child(3) {
  left: 48%;
  background: #fff;
  animation-delay: 0.4s;
}

.confetti i:nth-child(4) {
  left: 66%;
  background: var(--celebrate);
  animation-delay: 0.6s;
}

.confetti i:nth-child(5) {
  left: 82%;
  background: var(--gift);
  animation-delay: 0.45s;
}

.confetti i:nth-child(6) {
  left: 92%;
  background: #fff;
  animation-delay: 0.55s;
}

@keyframes confetti-fall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
  100% {
    opacity: 0;
    transform: translateY(240px) rotate(280deg);
  }
}

/* ---------- Valores ---------- */

.values,
.how,
.final-cta {
  padding: 1.75rem 0;
}

.value-grid {
  display: grid;
  gap: 1rem;
}

.value-card {
  border-radius: var(--radius);
  border: 2px solid var(--c, var(--line));
  box-shadow: 0 4px 0 var(--cs, var(--line-shadow));
  background: var(--csoft, var(--surface));
  padding: 1.35rem;
}

.value-card--primary {
  --c: var(--primary);
  --cs: var(--primary-shadow);
  --con: var(--primary-on);
  --csoft: var(--soft);
}

.value-card--gift {
  --c: var(--gift);
  --cs: var(--gift-shadow);
  --con: var(--gift-on);
  --csoft: var(--gift-soft);
}

.value-card--sky {
  --c: var(--sky);
  --cs: var(--sky-shadow);
  --con: var(--sky-on);
  --csoft: var(--sky-soft);
}

.value-card h3 {
  font-size: 1.2rem;
}

.value-card p {
  margin: 0;
  color: var(--muted);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--c, var(--primary));
  color: var(--con, var(--primary-on));
  margin-bottom: 0.9rem;
}

.icon-badge svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* ---------- Como funciona / passos ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 0 var(--line-shadow);
  padding: 1.1rem 1.25rem;
}

.steps h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-on);
  box-shadow: 0 3px 0 var(--primary-shadow);
  font-weight: 900;
  font-size: 1.05rem;
}

.steps--stack .step-num {
  margin-top: 0.15rem;
}

/* ---------- CTA final ---------- */

.cta-card {
  background: var(--primary);
  color: var(--primary-on);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 0 var(--primary-shadow);
  padding: 2rem 1.5rem;
  text-align: center;
}

.cta-card h2 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 0.6rem;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.9);
}

.store-cta--center {
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

/* ---------- Rodapé ---------- */

.site-footer {
  border-top: 2px solid var(--line);
  margin-top: 1.5rem;
  padding: 2rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary-text);
  text-decoration: underline;
}

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ---------- Páginas legais ---------- */

.legal {
  padding: 1rem 0 2rem;
}

.legal-inner {
  max-width: 720px;
}

.legal h1 {
  font-size: clamp(1.9rem, 7vw, 2.5rem);
  font-weight: 900;
}

.updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.legal h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
}

.legal h2:first-of-type {
  margin-top: 1.5rem;
}

.legal p,
.legal li {
  color: var(--ink);
}

.legal li {
  margin-bottom: 0.4rem;
}

.legal strong {
  font-weight: 800;
}

/* ---------- Perfil público /u ---------- */

.profile-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.profile-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0 3rem;
}

.profile-card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 0 var(--line-shadow);
  padding: 2rem 1.5rem;
  text-align: center;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
}

.profile-card .avatar {
  margin: 0 auto 1rem;
}

.profile-name {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.15rem;
}

.profile-date {
  color: var(--primary-text);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.profile-bio {
  color: var(--muted);
}

.profile-card .btn {
  margin-top: 0.5rem;
}

.wishlist {
  text-align: left;
  margin: 1.5rem 0;
}

.wishlist h3 {
  font-size: 1.1rem;
}

.wishlist-list,
.interest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wishlist-list li,
.interest-list li {
  background: var(--soft);
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  color: var(--primary-text);
  font-weight: 800;
  font-size: 0.95rem;
}

.wishlist-list a {
  color: inherit;
  text-decoration: none;
}

.wishlist-list a:hover {
  text-decoration: underline;
}

.interests {
  text-align: left;
  margin: 1.5rem 0 0;
}

.interests h3 {
  font-size: 1.1rem;
}

.btn--send {
  background: var(--send);
  color: var(--send-on);
  box-shadow: 0 5px 0 var(--send-shadow);
}

.btn--send:active {
  box-shadow: 0 0 0 var(--send-shadow);
}

.remember-card {
  text-align: left;
  margin: 1.5rem 0 0;
}

.remember-card .remember-text {
  font-weight: 800;
  margin-bottom: 1rem;
}

.remember-card .fineprint {
  margin: 0.85rem 0 0;
}

.state {
  text-align: center;
  padding: 3rem 1rem;
}

.state h1 {
  font-size: 1.6rem;
}

/* ---------- Responsivo ---------- */

@media (min-width: 720px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 880px) {
  .hero {
    padding: 1.5rem 0 3.5rem;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
  }
}

/* ---------- Movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .confetti {
    display: none;
  }
}

/* Botão do WhatsApp no perfil público: respiro depois dos chips de interesse. */
.profile-card .btn--send {
  margin-top: 1.25rem;
}

/* ---------- Formulário "Pedir o aniversário" (/u/<id>/lembrar) ---------- */

[hidden] {
  display: none !important;
}

.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;
}

.form-card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 0 var(--line-shadow);
  padding: 1.75rem 1.35rem;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.form-title {
  font-size: 1.6rem;
  text-align: center;
}

.form-intro {
  color: var(--muted);
  text-align: center;
}

/* Cartão "Já preencheu antes?" (Fase 1, 12/10): reaproveita o preenchimento
   guardado no aparelho. Nunca envia sozinho: a pessoa revisa e envia. */
.prefill-card {
  background: var(--soft);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 0 0 1.35rem;
}

.prefill-card .prefill-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--primary-text);
  margin-bottom: 0.3rem;
}

.prefill-card .prefill-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-text);
  margin-bottom: 0.85rem;
}

.prefill-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.prefill-actions .btn {
  flex: 1 1 140px;
}

.prefill-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.field {
  margin-bottom: 1.35rem;
}

.field--group {
  border: 0;
  padding: 0;
  margin-inline: 0;
}

.field label,
.field legend {
  display: block;
  font-weight: 800;
  margin-bottom: 0.4rem;
  padding: 0;
}

.field .req {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary-text);
  background: var(--soft);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="number"],
.field input[type="url"],
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0 0.85rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font: 700 1rem/1.3 "Nunito", sans-serif;
}

.field input:focus,
.field select:focus {
  border-color: var(--sky);
}

.field-hint {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0.4rem 0 0;
}

.field-error {
  color: #b3261e;
  font-size: 0.85rem;
  font-weight: 800;
  margin: 0.4rem 0 0;
}

@media (prefers-color-scheme: dark) {
  .field-error {
    color: #ff9d95;
  }
}

.birthday-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0.6rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.chip {
  border: 2px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font: 800 0.9rem/1 "Nunito", sans-serif;
  cursor: pointer;
}

.chip[aria-pressed="true"] {
  background: var(--soft);
  border-color: var(--primary);
  color: var(--primary-text);
}

.wishlist-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.wishlist-row .wl-titulo {
  grid-column: 1;
}

.wishlist-row .wl-link {
  grid-column: 1;
}

.wishlist-row .wl-remove {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: stretch;
  width: 44px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 1.4rem;
  font-weight: 900;
  cursor: pointer;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 800;
  cursor: pointer;
  margin: 0;
}

.radio-pill:has(input:checked) {
  background: var(--soft);
  border-color: var(--primary);
  color: var(--primary-text);
}

.checkbox-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  padding: 0.85rem;
  cursor: pointer;
  font-weight: 800;
}

.checkbox-row input {
  margin-top: 0.2rem;
  width: 20px;
  height: 20px;
  flex: none;
}

.checkbox-row small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

.btn--small {
  min-height: 44px;
  font-size: 0.9rem;
  padding: 0 1.1rem;
}

.btn--block {
  width: 100%;
}

/* ---------- Site do lançamento (22/10) ---------- */

/* Botões das lojas: Play de verdade, iPhone com aviso fácil de trocar. */
.store-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.store-cta .btn {
  flex: 1 1 220px;
}

.btn--soon {
  background: var(--surface);
  color: var(--muted);
  border: 2px dashed var(--line-shadow);
  box-shadow: none;
  cursor: default;
}

.btn--soon:hover {
  filter: none;
}

.btn--soon-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

/* Tela real do app em moldura de celular. */
.phone-shot {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  background: var(--surface);
  border: 8px solid var(--surface);
  border-radius: 34px;
  box-shadow: 0 6px 0 var(--line-shadow), 0 18px 36px rgba(42, 33, 28, 0.1);
  overflow: hidden;
}

.phone-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

/* O que o Lembra faz: blocos com a tela ao lado. */
.features {
  padding: 1.75rem 0 0.5rem;
}

.feature {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: 1.75rem 0;
  border-top: 2px solid var(--line);
}

.feature:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.feature-copy h3 {
  font-size: clamp(1.35rem, 5vw, 1.8rem);
}

.feature-copy p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
}

.feature-shot {
  max-width: 280px;
}

.proof {
  background: var(--soft);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  padding: 1.25rem 0;
}

.proof p {
  margin: 0;
  text-align: center;
  font-weight: 800;
  color: var(--primary-text);
}

@media (min-width: 800px) {
  .feature {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 3rem;
  }

  .feature--reverse .feature-copy {
    order: 2;
  }

  .feature--reverse .feature-shot {
    order: 1;
  }

  .hero-visual .phone-shot {
    max-width: 340px;
  }
}
