/* MeatHouse · landing, cadastro e login (mobile first) */
:root {
  --ink: #1b1714;
  --ink-2: #4a413b;
  --muted: #776c64;
  --line: #e8dfd7;
  --bg: #fbf8f5;
  --bg-alt: #f3ece5;
  --card: #ffffff;
  --ember: #c0392b;
  --ember-dark: #962c21;
  --gold: #f2a93b;
  --night: #16110f;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(27, 23, 20, .06), 0 10px 30px -12px rgba(27, 23, 20, .18);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 var(--font); color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--ember); }
h1, h2, h3 { font-stretch: 78%; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 8vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 5.5vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
.ico { flex: none; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }

.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ember); margin-bottom: .8em; }
.section-lead { font-size: 1.1rem; color: var(--ink-2); max-width: 640px; }
.section-lead.center { margin-left: auto; margin-right: auto; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--ember);
  background: var(--ember); color: #fff; font: 700 1rem var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 8px 20px -10px rgba(192, 57, 43, .7);
}
.btn:hover { background: var(--ember-dark); border-color: var(--ember-dark); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ember); box-shadow: none; }
.btn-outline:hover { color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--night); box-shadow: none; }
.btn-light:hover { background: var(--gold); border-color: var(--gold); color: var(--night); }

/* Topo */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(251, 248, 245, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-stretch: 80%; font-size: 1.35rem; color: var(--ink); text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--ember); color: #fff; }
.topnav { display: none; gap: 24px; margin-left: 24px; }
.topnav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.topnav a:hover { color: var(--ember); }
.topbar-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.link-quiet { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }

.alert { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.alert-error { background: #fdecea; color: #8a1f15; border: 1px solid #f5c3bd; }
.alert-success { background: #e9f7ee; color: #17603a; border: 1px solid #bfe5cd; }

/* Hero */
.hero { padding: 40px 0 56px; overflow: hidden; background:
  radial-gradient(900px 400px at 85% 10%, rgba(242, 169, 59, .18), transparent 60%),
  radial-gradient(700px 400px at 0% 100%, rgba(192, 57, 43, .10), transparent 60%); }
.hero-in { display: grid; gap: 40px; align-items: center; }
.hero h1 span { color: var(--ember); display: block; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 560px; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 20px; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof .ico { color: #1f8a4c; }

/* Mockup do celular (só CSS) */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 10px 0 20px; }
.phone { width: 280px; border-radius: 40px; padding: 10px; background: var(--night); box-shadow: 0 40px 80px -30px rgba(22, 17, 15, .55); }
.phone-screen { border-radius: 31px; overflow: hidden; background: #f6f1ec; min-height: 540px; font-size: 12px; }
.mock-top { display: flex; gap: 10px; align-items: center; padding: 18px 16px 10px; background: #1d1714; color: #fff; }
.mock-top strong { display: block; font-stretch: 80%; font-size: 15px; }
.mock-top small { color: #c9bdb4; }
.mock-logo { width: 38px; height: 38px; border-radius: 12px; background: var(--ember); display: grid; place-items: center; font-weight: 800; }
.mock-chips { display: flex; gap: 6px; padding: 0 16px 14px; background: #1d1714; }
.mock-chips span { padding: 4px 8px; border-radius: 999px; border: 1px solid #3b322d; color: #d9cec6; font-size: 10px; }
.mock-chips .on { color: #7ee2a8; border-color: #2a5a3e; }
.mock-banner { margin: 12px; padding: 14px; border-radius: 16px; color: #fff; background: linear-gradient(120deg, #3a1d16, #8e2a1f); }
.mock-banner small { color: var(--gold); font-weight: 700; letter-spacing: .08em; font-size: 9px; }
.mock-banner strong { display: block; font-stretch: 80%; font-size: 18px; margin: 2px 0; }
.mock-banner em { font-style: normal; color: #f3dcd3; }
.mock-cats { display: flex; gap: 6px; padding: 0 12px 8px; }
.mock-cats span { padding: 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 10px; }
.mock-cats .on { background: var(--ink); color: #fff; border-color: var(--ink); }
.mock-item { display: flex; gap: 10px; align-items: center; margin: 8px 12px; padding: 8px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.mock-item i { width: 52px; height: 52px; border-radius: 10px; flex: none; background: linear-gradient(135deg, #b8443a, #6e1f18); }
.mock-item i.b { background: linear-gradient(135deg, #d98b3a, #8c4a1c); }
.mock-item i.c { background: linear-gradient(135deg, #c5655a, #7d2b26); }
.mock-item div { flex: 1; min-width: 0; }
.mock-item strong { display: block; font-size: 12px; }
.mock-item small { color: var(--muted); font-size: 10px; }
.mock-item b { display: block; color: var(--ember); font-size: 12px; }
.mock-add { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ember); color: #fff; font-weight: 700; }
.mock-cart { display: flex; justify-content: space-between; align-items: center; margin: 12px; padding: 12px 14px; border-radius: 14px; background: var(--ember); color: #fff; }
.float-card { position: absolute; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); font-size: 13px; }
.float-card strong { display: block; }
.float-card small { color: var(--muted); }
.float-card .ico { color: #1f8a4c; }
.fc-1 { top: 150px; left: 0; animation: bob 5s ease-in-out infinite; }
.fc-2 { bottom: 60px; right: 0; animation: bob 5s ease-in-out infinite 1.5s; }
.fc-2 .ico { color: #12a39a; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Seções */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--night); color: #efe7e1; }
.section.dark h2 { color: #fff; }
.section.dark .eyebrow { color: var(--gold); }
.section.dark strong { color: #fff; }

.pain { background: var(--night); color: #e9dfd8; }
.pain h2 { color: #fff; }
.pain .section-lead { color: #c9bdb4; }
.pain-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.pain-list li { position: relative; padding: 14px 16px 14px 48px; border-radius: 14px; background: #221a17; border: 1px solid #33291f; }
.pain-list li::before { content: "✕"; position: absolute; left: 16px; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: #4a1f1a; color: #ff8d80; font-size: 12px; display: grid; place-items: center; }
.pain-close { font-size: 1.15rem; font-weight: 600; color: #fff; }

.steps { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.steps p { color: var(--ink-2); margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ember); color: #fff; font-weight: 800; margin-bottom: 14px; }

.features { display: grid; gap: 14px; margin-top: 32px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--ink-2); margin: 0; font-size: .97rem; }
.f-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fbe9e6; color: var(--ember); margin-bottom: 12px; }

.layouts { display: grid; gap: 16px; margin-top: 32px; }
.layout-card { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.layout-card figcaption { padding: 16px 18px 20px; }
.layout-card figcaption strong { display: block; font-size: 1.15rem; font-stretch: 80%; }
.layout-card figcaption span { color: var(--muted); font-size: .95rem; }
.lc-preview { padding: 14px; height: 200px; display: grid; grid-template-rows: auto 70px 1fr; gap: 10px; }
.lc-head { display: flex; gap: 8px; align-items: center; }
.lc-logo { width: 28px; height: 28px; border-radius: 8px; }
.lc-line { height: 10px; width: 90px; border-radius: 6px; }
.lc-banner { border-radius: 12px; }
.lc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lc-grid i { border-radius: 10px; }
.lc-brasa .lc-preview { background: #1d1714; }
.lc-brasa .lc-logo { background: #c0392b; }
.lc-brasa .lc-line { background: #4a3c35; }
.lc-brasa .lc-banner { background: linear-gradient(120deg, #3a1d16, #a33224); }
.lc-brasa .lc-grid i { background: #2e2521; }
.lc-campo .lc-preview { background: #f4e9da; }
.lc-campo .lc-logo { background: #7a3b1d; }
.lc-campo .lc-line { background: #d9c3a5; }
.lc-campo .lc-banner { background: linear-gradient(120deg, #7a3b1d, #c0752f); }
.lc-campo .lc-grid i { background: #fffaf2; border: 1px solid #e5d4bb; }
.lc-vitrine .lc-preview { background: #fff; border-bottom: 1px solid var(--line); }
.lc-vitrine .lc-logo { background: #1b1714; }
.lc-vitrine .lc-line { background: #ece6e1; }
.lc-vitrine .lc-banner { background: #f3ece5; }
.lc-vitrine .lc-grid i { background: #f6f1ec; }

.split { display: grid; gap: 32px; align-items: center; }
.domain-demo { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.domain-demo li { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; background: #221a17; border: 1px solid #33291f; }
.domain-demo span { font-size: .8rem; color: #a99a90; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.domain-demo code { font: 600 1rem/1.3 ui-monospace, "SFMono-Regular", Menlo, monospace; color: #fff; word-break: break-all; }
.domain-demo .hl { border-color: var(--gold); }
.domain-demo .hl code { color: var(--gold); }

.plans { display: grid; gap: 16px; margin-top: 32px; align-items: start; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan h3 { font-size: 1.5rem; margin-bottom: 4px; }
.plan-desc { color: var(--muted); min-height: 3em; }
.plan-price { font-size: 3rem; font-weight: 800; font-stretch: 75%; line-height: 1; margin: 6px 0 18px; }
.plan-price span { font-size: 1.1rem; vertical-align: top; margin-right: 4px; }
.plan-price small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); }
.plan li .ico { color: #1f8a4c; margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan-hl { border: 2px solid var(--ember); }
.plan-tag { position: absolute; top: -13px; left: 22px; background: var(--ember); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }

.faq { display: grid; gap: 10px; margin-top: 28px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--ember); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); padding-bottom: 6px; }

.cta-final { background: linear-gradient(160deg, #2a1712, #16110f 60%); color: #e9dfd8; }
.cta-final h2 { color: #fff; }
.cta-final .section-lead { color: var(--gold); font-weight: 700; font-size: 1.3rem; }
.cta-alt { margin-top: 18px; color: #c9bdb4; }
.cta-alt a { color: #fff; }

.footer { background: var(--night); color: #a99a90; padding: 40px 0 32px; border-top: 1px solid #2a211d; }
.footer-in { display: grid; gap: 12px; }
.footer .logo { color: #fff; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer nav a { color: #e9dfd8; text-decoration: none; }

/* Cadastro e login */
.auth { padding: 32px 0 64px; }
.auth-in { display: grid; gap: 28px; }
.auth-narrow { max-width: 460px; }
.auth-side h1 { font-size: clamp(2rem, 7vw, 3rem); }
.auth-side p { color: var(--ink-2); }
.auth-points { list-style: none; padding: 0; display: grid; gap: 8px; font-weight: 600; }
.auth-points li { display: flex; gap: 8px; align-items: center; }
.auth-points .ico { color: #1f8a4c; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.form h1 { font-size: 2rem; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  font: 1rem var(--font); color: var(--ink); background: #fff;
}
.field input:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 4px rgba(192, 57, 43, .12); }
.hint { display: block; color: var(--muted); font-size: .85rem; margin-top: 6px; }
.hint.ok { color: #17603a; }
.hint.bad { color: #a12619; }
.slug-field { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.slug-field:focus-within { border-color: var(--ember); box-shadow: 0 0 0 4px rgba(192, 57, 43, .12); }
.slug-prefix { display: flex; align-items: center; padding: 0 4px 0 12px; color: var(--muted); font-size: .9rem; background: var(--bg-alt); white-space: nowrap; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.slug-field input { border: 0; border-radius: 0; min-width: 0; box-shadow: none !important; }
.row-2 { display: grid; gap: 0 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 20px; font-size: .95rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ember); }
.form-foot { text-align: center; margin: 16px 0 0; color: var(--muted); }
.plan-pick { border: 0; padding: 0; margin: 0 0 18px; }
.plan-pick legend { font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.plan-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.plan-option { position: relative; cursor: pointer; }
.plan-option input { position: absolute; opacity: 0; }
.plan-option span { display: block; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.plan-option strong { display: block; }
.plan-option small { color: var(--muted); }
.plan-option input:checked + span { border-color: var(--ember); background: #fdf1ef; box-shadow: 0 0 0 3px rgba(192, 57, 43, .12); }
.plan-option input:focus-visible + span { outline: 3px solid var(--gold); }

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .row-2 { grid-template-columns: 1fr 1fr; }
  .card { padding: 32px; }
}

@media (min-width: 900px) {
  .topnav { display: flex; }
  .hero { padding: 72px 0 96px; }
  .hero-in { grid-template-columns: 1.1fr .9fr; }
  .section { padding: 96px 0; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(4, 1fr); }
  .layouts { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .auth-in { grid-template-columns: .9fr 1.1fr; align-items: start; gap: 56px; padding-top: 24px; }
  .footer-in { grid-template-columns: auto 1fr auto auto; align-items: center; gap: 24px; }
  .footer p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.small-note { display: flex; gap: 6px; align-items: flex-start; text-align: left; font-size: .88rem; }
.legal h1 { margin-top: 8px; }
.legal h2 { font-size: 1.15rem; margin: 1.4em 0 .4em; }
.legal .card { line-height: 1.7; }
