/* 1KRECEITAS — design system. Preto, dourado e creme; rosa de confeitaria como detalhe. */
:root {
  --ink: #120d0a; --ink-2: #1e1713; --ink-3: #2b211b;
  --gold: #c9a45c; --gold-2: #e6c887; --gold-3: #a8833c;
  --cream: #faf3e6; --cream-2: #f1e6d0; --paper: #fffdf8;
  --rose: #e9a3b5; --rose-2: #f8dce3; --mint: #bfe3d0;
  --text: #2a1f19; --muted: #7a6a5e; --line: #e6d9c3;
  --ok: #2f8f5b; --warn: #b9801a; --err: #c0392b; --info: #3b6ea8;
  --radius: 18px; --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(40, 25, 10, .25); --shadow-lg: 0 30px 60px -25px rgba(40, 25, 10, .45);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--cream); line-height: 1.6; font-size: 16px; }
img, svg { max-width: 100%; display: block; }
a { color: var(--gold-3); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); } h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); } h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); } .small { font-size: .875rem; } .center { text-align: center; } .right { text-align: right; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- Botões ---------- */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent; background: var(--bg); color: var(--fg); font: 600 1rem var(--font); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, filter .2s; position: relative; min-height: 46px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .45); }
.btn:active { transform: translateY(0); }
.btn-gold { --bg: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); --fg: #2a1b08; background: var(--bg); }
.btn-ghost { --bg: transparent; --fg: var(--text); border-color: currentColor; }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-danger { --bg: var(--err); }
.btn-sm { padding: .5rem .95rem; font-size: .875rem; min-height: 36px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .75; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 1em; height: 1em; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn.is-success { --bg: var(--ok); --fg: #fff; background: var(--ok); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Formulários ---------- */
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label, .label { font-weight: 600; font-size: .9rem; }
.input, select.input, textarea.input { width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; font: inherit; color: inherit; min-height: 46px; transition: border-color .2s, box-shadow .2s; }
textarea.input { min-height: 110px; resize: vertical; }
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 164, 92, .22); outline: none; }
.field.has-error .input { border-color: var(--err); }
.error { color: var(--err); font-size: .85rem; } .hint { color: var(--muted); font-size: .82rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.check input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--gold-3); }
.row { display: grid; gap: 1rem; } .row.cols-2 { grid-template-columns: repeat(2, 1fr); } .row.cols-3 { grid-template-columns: repeat(3, 1fr); } .row.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) { .row.cols-2, .row.cols-3, .row.cols-4 { grid-template-columns: 1fr; } }

/* ---------- Cards, badges, alertas ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; } .card h3 { margin-bottom: .6rem; }
.grid { display: grid; gap: 1.2rem; } .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--cream-2); color: var(--choco, #5a3b2a); white-space: nowrap; }
.badge.ok { background: #d9f0e3; color: #17623a; } .badge.warn { background: #fbecc9; color: #7a5208; } .badge.err { background: #f8d9d4; color: #8e261a; } .badge.info { background: #dce9f7; color: #264d7a; } .badge.rose { background: var(--rose-2); color: #8a3550; }
.alert { padding: .9rem 1.1rem; border-radius: var(--radius-sm); border: 1px solid; margin-bottom: 1rem; font-size: .95rem; animation: slide-in .4s var(--ease); }
.alert.success { background: #e5f5ec; border-color: #9fd5b5; color: #17623a; } .alert.error { background: #fbe5e1; border-color: #eeaaa0; color: #8e261a; }
.alert.info { background: #e7f0fa; border-color: #b0cbe8; color: #264d7a; } .alert.warn { background: #fdf3da; border-color: #ecce86; color: #7a5208; }
@keyframes slide-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Tabelas ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper); }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: .7rem .85rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { background: var(--cream-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); white-space: nowrap; }
.table tr:last-child td { border-bottom: none; } .table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.empty { text-align: center; padding: 2rem 1rem; color: var(--muted); }

/* ---------- Site público ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(18, 13, 10, .92); backdrop-filter: blur(10px); color: #fff; border-bottom: 1px solid rgba(201, 164, 92, .25); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.brand { font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; color: var(--gold-2); text-decoration: none; font-size: 1.05rem; display: flex; align-items: center; gap: .6rem; }
.brand-mark { width: 30px; height: 30px; }
.nav { display: flex; gap: 1.2rem; align-items: center; } .nav a { color: #e9dcc4; text-decoration: none; font-size: .92rem; } .nav a:hover { color: var(--gold-2); }
@media (max-width: 860px) { .nav .hide-m { display: none; } }
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(233, 163, 181, .22), transparent 60%), radial-gradient(900px 500px at 0% 110%, rgba(201, 164, 92, .25), transparent 60%), var(--ink); color: #f6ecd9; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; } .hero h1 em { font-style: italic; color: var(--gold-2); }
.hero .lead { font-size: 1.15rem; color: #d9cbb2; max-width: 36em; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 700; color: var(--gold); margin-bottom: 1rem; }
.cta-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.fine { font-size: .8rem; color: #b5a68c; margin-top: 1.2rem; }
.art-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; margin-inline: auto; }
.art-stage svg { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.float-a { animation: float 7s ease-in-out infinite; } .float-b { animation: float 9s ease-in-out -3s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
section.block { padding: clamp(3rem, 7vw, 5.5rem) 0; } section.dark { background: var(--ink); color: #f1e6d0; } section.dark h2 { color: #fff; } section.alt { background: var(--cream-2); }
.section-head { max-width: 680px; margin: 0 auto 2.5rem; text-align: center; }
.pain { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; }
.pain .arrow { color: var(--gold); font-size: 1.5rem; }
@media (max-width: 720px) { .pain { grid-template-columns: 1fr; } .pain .arrow { transform: rotate(90deg); justify-self: center; } }
.pain .p { background: #fff; border: 1px dashed var(--rose); border-radius: var(--radius-sm); padding: 1rem; } .pain .s { background: var(--ink); color: #f6ecd9; border-radius: var(--radius-sm); padding: 1rem; } .pain .s b { color: var(--gold-2); }
.feat { display: flex; gap: .9rem; } .feat .ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--rose-2), #fff); border: 1px solid var(--line); font-size: 1.3rem; }
.steps { counter-reset: s; } .step { position: relative; padding-top: 3.2rem; } .step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #2a1b08; font: 700 1.3rem var(--font-display); display: grid; place-items: center; }
.offer { max-width: 760px; margin-inline: auto; background: linear-gradient(180deg, #fff, var(--cream)); border: 2px solid var(--gold); border-radius: 26px; padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: var(--shadow-lg); }
.price { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 700; color: var(--ink); line-height: 1; }
.price s { font-size: 1.1rem; color: var(--muted); font-weight: 400; margin-right: .5rem; }
.checklist { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .5rem; } .checklist li { padding-left: 1.7rem; position: relative; } .checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.bump { border: 2px dashed var(--rose); background: #fff7f9; border-radius: var(--radius); padding: 1.1rem; display: flex; gap: 1rem; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.bump:hover { transform: translateY(-2px); } .bump.on { border-style: solid; border-color: var(--gold); background: #fff9ea; }
details.faq { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .7rem; padding: .2rem 1rem; transition: box-shadow .2s; }
details.faq[open] { box-shadow: var(--shadow); } details.faq summary { cursor: pointer; font-weight: 600; padding: .85rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; } details.faq summary::after { content: "+"; color: var(--gold-3); font-size: 1.4rem; line-height: 1; } details.faq[open] summary::after { content: "–"; }
.site-footer { background: var(--ink); color: #bdae93; padding: 3rem 0 6rem; font-size: .9rem; } .site-footer a { color: #e6c887; } .site-footer h4 { color: #fff; font-family: var(--font); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(2, 1fr); gap: 2rem; } @media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; max-width: 680px; margin-inline: auto; background: #fff; border: 1px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1rem 1.2rem; display: none; gap: 1rem; align-items: center; flex-wrap: wrap; }
.cookie-bar.show { display: flex; animation: slide-in .4s var(--ease); } .cookie-bar p { margin: 0; flex: 1 1 260px; font-size: .88rem; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom)); background: rgba(18, 13, 10, .95); display: none; justify-content: center; } @media (max-width: 720px) { .sticky-cta.show { display: flex; } }

/* ---------- Mockups ---------- */
.demo-tabs { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.5rem; } .demo-tabs button { border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #e9dcc4; border-radius: 999px; padding: .5rem 1rem; cursor: pointer; font: 600 .88rem var(--font); transition: all .2s; } .demo-tabs button[aria-selected="true"] { background: var(--gold); color: #2a1b08; border-color: var(--gold); }
.device { max-width: 880px; margin-inline: auto; background: #0a0705; border-radius: 22px 22px 8px 8px; padding: 12px 12px 18px; box-shadow: var(--shadow-lg); border: 1px solid #3a2d22; }
.device-screen { background: var(--cream); border-radius: 10px; color: var(--text); min-height: 360px; overflow: hidden; display: grid; grid-template-columns: 150px 1fr; font-size: .8rem; }
@media (max-width: 640px) { .device-screen { grid-template-columns: 1fr; } .device-side { display: none; } }
.device-side { background: var(--ink); color: #d9cbb2; padding: 14px 10px; display: grid; gap: 6px; align-content: start; } .device-side span { padding: 6px 8px; border-radius: 8px; } .device-side .on { background: rgba(201, 164, 92, .2); color: var(--gold-2); }
.device-main { padding: 16px; } .demo-panel { display: none; } .demo-panel.on { display: block; animation: slide-in .4s var(--ease); }
.mini { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); margin-bottom: 10px; } .mini div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; } .mini b { display: block; font-size: 1.05rem; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 100px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; } .bars i { flex: 1; background: linear-gradient(var(--gold-2), var(--gold)); border-radius: 4px 4px 0 0; }
.illustr { position: absolute; right: 8px; top: 8px; font-size: .68rem; background: #fff3; color: #fff; padding: 2px 8px; border-radius: 99px; }

/* ---------- Área logada ---------- */
.shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar { background: var(--ink); color: #d9cbb2; padding: 1.2rem 1rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; }
.sidebar nav { display: grid; gap: 2px; } .sidebar nav a { display: flex; gap: .7rem; align-items: center; padding: .65rem .8rem; color: #d9cbb2; text-decoration: none; border-radius: 12px; font-size: .94rem; transition: background .2s, color .2s, transform .2s; } .sidebar nav a:hover { background: rgba(255, 255, 255, .06); transform: translateX(2px); } .sidebar nav a.on { background: linear-gradient(90deg, rgba(201, 164, 92, .28), rgba(201, 164, 92, .06)); color: var(--gold-2); }
.sidebar .sep { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: #8d7e66; margin: .8rem .8rem .2rem; }
.main { padding: 1.6rem clamp(1rem, 3vw, 2.4rem) 4rem; min-width: 0; }
.topbar { display: none; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; } .page-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 280px; z-index: 60; transform: translateX(-105%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg); }
  .sidebar.open { transform: none; }
  .topbar { display: flex; position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; padding: .6rem 1rem; align-items: center; justify-content: space-between; }
  .scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 55; display: none; } .scrim.show { display: block; }
}
.kpi { display: grid; gap: .2rem; } .kpi .v { font: 700 1.7rem var(--font-display); } .kpi .l { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; } .kpi .d { font-size: .8rem; }
.kpi.accent { background: var(--ink); color: #fff; border-color: var(--ink); } .kpi.accent .l { color: #cdbd9f; } .kpi.accent .v { color: var(--gold-2); }
.pos { color: var(--ok); } .neg { color: var(--err); }
.progress { height: 12px; background: var(--cream-2); border-radius: 99px; overflow: hidden; } .progress > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--rose), var(--gold)); border-radius: 99px; transition: width 1.1s var(--ease); }
.chart-box { position: relative; height: 280px; }
.recipe-card { padding: 0; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; text-decoration: none; color: inherit; display: block; } .recipe-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.recipe-cover { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--rose-2), var(--cream-2)); display: grid; place-items: center; font-size: 3rem; overflow: hidden; } .recipe-cover img { width: 100%; height: 100%; object-fit: cover; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; } .tabs a { padding: .45rem 1rem; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: .88rem; background: #fff; } .tabs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.steps-list { counter-reset: st; list-style: none; padding: 0; display: grid; gap: 1rem; } .steps-list li { counter-increment: st; padding-left: 3rem; position: relative; } .steps-list li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font-weight: 800; color: #2a1b08; }
.video { aspect-ratio: 16/9; width: 100%; border: 0; border-radius: var(--radius-sm); background: #000; }
.skeleton { background: linear-gradient(90deg, #eee3cd 25%, #f7efdd 37%, #eee3cd 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 8px; min-height: 1em; } @keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.toast { position: fixed; right: 16px; bottom: 16px; z-index: 120; background: var(--ink); color: #fff; padding: .8rem 1.1rem; border-radius: 12px; box-shadow: var(--shadow-lg); animation: slide-in .35s var(--ease); }
dialog.modal { border: none; border-radius: var(--radius); padding: 1.5rem; max-width: 520px; width: calc(100% - 32px); box-shadow: var(--shadow-lg); } dialog.modal::backdrop { background: rgba(0, 0, 0, .55); }
.logo-studio { display: grid; grid-template-columns: 340px 1fr; gap: 1.2rem; align-items: start; } @media (max-width: 1000px) { .logo-studio { grid-template-columns: 1fr; } }
.logo-canvas-wrap { background: repeating-conic-gradient(#e9e0cd 0% 25%, #fff 0% 50%) 50% / 24px 24px; border-radius: var(--radius); border: 1px solid var(--line); padding: 10px; position: sticky; top: 12px; } .logo-canvas-wrap canvas { width: 100%; height: auto; display: block; border-radius: 10px; }
.swatches { display: flex; gap: .5rem; flex-wrap: wrap; } .swatch { width: 54px; height: 34px; border-radius: 9px; border: 2px solid transparent; cursor: pointer; display: flex; overflow: hidden; padding: 0; } .swatch[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--gold); } .swatch i { flex: 1; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: .4rem; } .opt { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: .4rem; cursor: pointer; font-size: .72rem; text-align: center; min-height: 52px; display: grid; place-items: center; } .opt[aria-pressed="true"] { border-color: var(--gold); background: #fff9ea; box-shadow: 0 0 0 2px rgba(201, 164, 92, .35); } .opt svg { width: 28px; height: 28px; }
.logo-card img { width: 100%; background: repeating-conic-gradient(#e9e0cd 0% 25%, #fff 0% 50%) 50% / 18px 18px; border-radius: 12px; }
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(800px 400px at 80% 0, rgba(233, 163, 181, .25), transparent), var(--ink); }
.auth-card { width: min(440px, 100%); background: var(--paper); border-radius: 24px; padding: 2rem; box-shadow: var(--shadow-lg); }
.auth-card .brand { color: var(--gold-3); justify-content: center; margin-bottom: 1rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.copy-box { display: flex; gap: .5rem; } .copy-box .input { font-family: ui-monospace, monospace; font-size: .85rem; }
.inline-form { display: inline; }
details.edit > summary { cursor: pointer; color: var(--gold-3); font-size: .85rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); } .reveal.in { opacity: 1; transform: none; }
@media print { .sidebar, .topbar, .no-print, .site-header, .cookie-bar { display: none !important; } .shell { display: block; } body { background: #fff; } .card { box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }

/* Ajustes de responsividade (celular) */
.tabs form, .page-head form { flex-wrap: wrap; max-width: 100%; }
.tabs form .input, .page-head form .input { min-width: 0; flex: 1 1 130px; }
.main, .container { min-width: 0; }
@media (max-width: 640px) { .page-head { align-items: flex-start; } .kpi .v { font-size: 1.45rem; } .offer { border-radius: 20px; } }
.tag-list .badge { white-space: normal; text-align: left; }
.page-head > * { min-width: 0; }
.grid > *, .row > * { min-width: 0; }
.bump > span { min-width: 0; overflow-wrap: anywhere; } .bump .badge { white-space: normal; }

/* ---------- Topo (hero) com banner de fundo ---------- */
.hero {
  position: relative; display: flex; align-items: center; min-height: clamp(540px, 46vw, 700px);
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(14, 9, 6, .92) 0%, rgba(14, 9, 6, .78) 34%, rgba(14, 9, 6, .25) 62%, rgba(14, 9, 6, 0) 100%),
    url("/assets/images/bg-top.png");
  background-image:
    linear-gradient(90deg, rgba(14, 9, 6, .92) 0%, rgba(14, 9, 6, .78) 34%, rgba(14, 9, 6, .25) 62%, rgba(14, 9, 6, 0) 100%),
    image-set(url("/assets/images/bg-top.webp") type("image/webp"), url("/assets/images/bg-top.png") type("image/png"));
  background-size: cover; background-position: right center; background-repeat: no-repeat;
}
.hero > .container { display: block; width: min(1160px, 100% - 32px); }
.hero .reveal { max-width: 620px; }
.hero h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
@media (max-width: 900px) {
  .hero { min-height: 0; background-position: 72% center;
    background-image:
      linear-gradient(180deg, rgba(14, 9, 6, .9) 0%, rgba(14, 9, 6, .84) 60%, rgba(14, 9, 6, .72) 100%),
      image-set(url("/assets/images/bg-top.webp") type("image/webp"), url("/assets/images/bg-top.png") type("image/png")); }
}

/* ---------- Logo (imagem) ---------- */
.brand-logo { display: block; height: 46px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35)); }
.site-header .brand { padding-block: 2px; }
.brand-logo.side { height: 58px; }
.brand-logo.top { height: 36px; }
.brand-logo.foot { height: 62px; margin-bottom: .6rem; }
.brand-logo.auth { height: 74px; margin: 0 auto .6rem; filter: none; }
@media (max-width: 520px) { .site-header .brand-logo { height: 38px; } }
/* Logo vermelha em fundo escuro: placa creme para manter contraste */
.site-header .brand-logo, .brand-logo.side, .brand-logo.top, .brand-logo.foot { background: var(--cream); padding: 4px 14px; border-radius: 14px; filter: none; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .6); }
.site-header .brand-logo { height: 50px; }
.brand-logo.side { height: 62px; } .brand-logo.foot { height: 66px; }

/* ---------- Tela de boas-vindas (primeiro acesso) ---------- */
.welcome { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; overflow-y: auto; color: #fff;
  background: radial-gradient(ellipse at 50% 15%, #55442b 0%, #231b14 42%, #0b0806 88%); }
.welcome[hidden] { display: none; }
.welcome-inner { width: 100%; max-width: 440px; text-align: center; animation: slide-in .6s var(--ease); }
.welcome .eyebrow { font-size: 11px; letter-spacing: 3px; }
.welcome-symbol { width: 112px; height: 112px; margin: 0 auto 22px; border: 1px solid var(--gold-2); border-radius: 50%; display: grid; place-items: center; font-size: 48px; background: linear-gradient(145deg, #413721, #171210); box-shadow: 0 0 0 9px rgba(233, 196, 125, .08), 0 20px 50px rgba(0, 0, 0, .45); }
.welcome h1 { color: #f9f5eb; font-size: clamp(2.2rem, 9vw, 3.2rem); line-height: 1.06; margin: .6rem 0; } .welcome h1 span { color: var(--gold-2); }
.welcome-desc { font-size: .95rem; color: #cbd0d8; margin: 1rem auto 1.6rem; max-width: 340px; }
.welcome-features { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.8rem; } .welcome-features span { border: 1px solid #6b593a; background: rgba(255, 255, 255, .04); border-radius: 99px; padding: .45rem .8rem; color: #e9d5ad; font-size: .78rem; }
.welcome .foot { color: #8d96a5; font-size: .72rem; margin-top: 1.2rem; }

/* ---------- Página de captura (guia gratuito) ---------- */
.lead-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; width: 100%; padding-block: 2rem; }
.lead-hero .reveal { max-width: none; }
.lead-card { background: var(--paper); color: var(--text); border-radius: 22px; padding: 1.4rem; box-shadow: var(--shadow-lg); border: 1px solid var(--gold); }
.lead-card .lead-form { display: block; }
.guide-cover { background: linear-gradient(150deg, #1e1713, #3a2a1c); border: 1px solid var(--gold); border-radius: 14px; padding: 1.1rem 1.2rem; color: #f6ecd9; text-align: center; transform: rotate(-1.2deg); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.guide-cover small { display: block; letter-spacing: .18em; font-size: .62rem; color: var(--gold-2); margin-bottom: .5rem; }
.guide-cover strong { display: block; font: 700 1.5rem/1.1 var(--font-display); color: #fff; } .guide-cover em { display: block; font-size: .78rem; color: #d9cbb2; margin: .5rem 0; font-style: normal; } .guide-cover span { letter-spacing: .3em; }
@media (max-width: 900px) { .lead-hero { grid-template-columns: 1fr; gap: 1.5rem; } .guide-cover { display: none; } }
.hero-lead { background-image: linear-gradient(90deg, rgba(14, 9, 6, .94) 0%, rgba(14, 9, 6, .86) 48%, rgba(14, 9, 6, .6) 100%), image-set(url("/assets/images/bg-top.webp") type("image/webp"), url("/assets/images/bg-top.png") type("image/png")); }
.hero-lead .lead-card { background: #fffdf8; }
