:root {
  --brand: #12b886;
  --brand-dark: #0c8f68;
  --brand-soft: #d3f9e8;
  --accent: #ff8fab;
  --ink: #1d3330;
  --muted: #4f6662;
  --surface: #f4fffa;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 10px 30px rgba(18, 80, 60, 0.12);
  --display: 'Fredoka', ui-rounded, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: var(--brand-dark); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; border-radius: 12px; z-index: 10; }

/* Cabeçalho */
.top { position: sticky; top: 0; z-index: 5; background: rgba(244, 255, 250, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(0, 0, 0, 0.04); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 12px; }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.top nav { display: flex; gap: 18px; align-items: center; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.top nav a.btn { color: var(--white); }
@media (max-width: 720px) { .top nav a:not(.btn) { display: none; } }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 18px; font-weight: 700; text-decoration: none; background: var(--brand); color: var(--white); box-shadow: 0 6px 16px rgba(18, 184, 134, 0.35); transition: transform 0.15s; }
.btn:hover { transform: translateY(-2px); }
.btn.alt { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.btn.small { padding: 9px 16px; border-radius: 14px; font-size: 0.95rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Hero */
.hero { padding: 56px 0 40px; background: radial-gradient(circle at 80% 20%, #fff0f4 0, transparent 40%), radial-gradient(circle at 10% 90%, var(--brand-soft) 0, transparent 45%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; background: var(--white); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 0.9rem; box-shadow: var(--shadow); margin-bottom: 16px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.small-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Mockup de celular */
.phone { width: min(320px, 100%); margin-inline: auto; background: #1d2524; border-radius: 44px; padding: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18); }
.screen { background: var(--surface); border-radius: 34px; padding: 18px 14px 14px; overflow: hidden; }
.screen .pet-card { background: linear-gradient(var(--brand-soft), var(--white)); border-radius: 22px; padding: 12px; text-align: center; }
.screen .name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.badge { display: inline-block; background: var(--brand-soft); border-radius: 999px; font-size: 0.72rem; font-weight: 700; padding: 2px 10px; margin-left: 6px; vertical-align: middle; }
.xp { height: 10px; border-radius: 99px; background: var(--white); margin: 8px 0 2px; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,.08); }
.xp span { display: block; height: 100%; width: 64%; background: var(--brand); border-radius: 99px; }
.xp-label { display: flex; justify-content: space-between; font-size: 0.72rem; font-weight: 700; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.tile { background: var(--white); border-radius: 16px; padding: 8px 4px; text-align: center; font-size: 0.7rem; font-weight: 700; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.tile b { display: block; font-size: 1.4rem; }
.tile i { display: block; font-style: normal; margin-top: 4px; background: var(--brand); color: var(--white); border-radius: 99px; font-size: 0.62rem; padding: 1px 0; }
.mock-pet { animation: breathe 3.2s ease-in-out infinite; transform-origin: 50% 100%; transform-box: fill-box; }
@keyframes breathe { 50% { transform: translateY(-4px) scale(1.02, 0.98); } }
@media (prefers-reduced-motion: reduce) { .mock-pet { animation: none; } }

/* Seções */
section { padding: 64px 0; }
.alt-bg { background: var(--white); }
.center { text-align: center; }
.section-lead { color: var(--muted); max-width: 40em; margin-inline: auto; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 28px; }
.card { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.alt-bg .card { background: var(--surface); box-shadow: none; }
.card .ico { font-size: 2rem; display: block; margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; }

/* Evolução */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.stage { background: var(--white); border-radius: var(--radius); padding: 16px 10px; text-align: center; box-shadow: var(--shadow); }
.stage strong { font-family: var(--display); display: block; font-size: 1.1rem; }
.stage small { color: var(--muted); }
@media (max-width: 640px) { .stages { grid-template-columns: repeat(2, 1fr); } }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; margin-top: 28px; }
.plan { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.plan.premium { border: 3px solid var(--brand); }
.plan ul { padding: 0; list-style: none; margin: 14px 0 0; }
.plan li { padding: 6px 0 6px 28px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.price { font-family: var(--display); font-size: 1.4rem; font-weight: 700; }
.fine { font-size: 0.82rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 760px; margin: 28px auto 0; }
details { background: var(--white); border-radius: 18px; padding: 16px 20px; margin-bottom: 10px; box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--muted); }

/* CTA final */
.final { background: var(--brand); color: var(--white); border-radius: 32px; padding: 44px 24px; text-align: center; }
.final .lead { color: #e9fff6; margin-inline: auto; }
.final .btn { background: var(--white); color: var(--ink); }
.final .btn.alt { background: transparent; color: var(--white); border: 2px solid var(--white); box-shadow: none; }

/* Páginas legais */
.legal { max-width: 780px; margin: 0 auto; padding: 40px 0 64px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal li { margin-bottom: 0.4em; }
.site-foot { padding: 28px 0; text-align: center; font-size: 0.9rem; color: var(--muted); }
.site-foot a { margin: 0 8px; }
