/* Miraviso — sito B2B. Palette "Camerino": ink/brass, coerente con l'app. */
:root {
  --ink: #181310;
  --panel: #211a15;
  --panel2: #2b221b;
  --brass: #d6a65e;
  --brass2: #ebcf98;
  --rose: #d79b8d;
  --text: #f1e8dc;
  --muted: #a99a89;
  --line: rgba(233, 214, 190, 0.14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--text);
  font: 17px/1.6 "Segoe UI", system-ui, -apple-system, sans-serif;
}
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }

header.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(24, 19, 16, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; color: var(--text); text-decoration: none; }
.logo b { color: var(--brass); font-weight: 600; }
nav.main a { color: var(--muted); text-decoration: none; margin-left: 22px; font-size: .95rem; }
nav.main a:hover { color: var(--text); }
nav.main a.cta { color: #2a1c0a; background: var(--brass); padding: .5em 1.1em; border-radius: 999px; font-weight: 600; }

.hero { padding: 96px 0 72px; text-align: center; }
.hero h1 {
  font-family: Georgia, serif; font-weight: 500; font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15; max-width: 21ch; margin: 0 auto;
}
.hero h1 em { color: var(--brass); font-style: normal; }
.hero p.sub { color: var(--muted); max-width: 54ch; margin: 22px auto 0; font-size: 1.1rem; }
.hero .actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; text-decoration: none; border-radius: 999px;
  padding: .8em 1.7em; font-weight: 600; font-size: 1rem; border: 1px solid transparent;
  cursor: pointer;
}
.btn.primary { background: var(--brass); color: #2a1c0a; }
.btn.primary:hover { background: var(--brass2); }
.btn.ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn.ghost:hover { border-color: var(--brass); }

section { padding: 64px 0; }
section.alt { background: var(--panel); border-block: 1px solid var(--line); }
h1, h2 { font-family: Georgia, serif; font-weight: 500; font-size: 1.9rem; margin-bottom: 8px; }
p.lead { color: var(--muted); max-width: 60ch; margin-bottom: 34px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card {
  background: var(--panel2); border: 1px solid var(--line); border-radius: 16px; padding: 26px;
}
.card h3 { font-size: 1.12rem; margin-bottom: 8px; color: var(--brass2); font-weight: 600; }
.card p { color: var(--muted); font-size: .97rem; }
.step { counter-increment: step; }
.step h3::before {
  content: counter(step); display: inline-grid; place-items: center;
  width: 1.7em; height: 1.7em; margin-right: .55em; border-radius: 50%;
  background: var(--brass); color: #2a1c0a; font-size: .85em;
}

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.price { background: var(--panel2); border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px; display: flex; flex-direction: column; }
.price.featured { border-color: var(--brass); box-shadow: 0 0 34px rgba(214, 166, 94, .12); }
.price .tier { color: var(--brass2); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; }
.price .amount { font-family: Georgia, serif; font-size: 2.5rem; margin: 10px 0 2px; }
.price .amount small { font-size: 1rem; color: var(--muted); }
.price ul { list-style: none; margin: 18px 0 26px; flex: 1; }
.price li { padding: .35em 0; color: var(--muted); font-size: .96rem; }
.price li::before { content: "— "; color: var(--brass); }
.price .btn { text-align: center; }

.privacy-band { text-align: center; }
.privacy-band p { max-width: 62ch; margin: 0 auto; color: var(--muted); }

form.demo { max-width: 560px; }
form.demo label { display: block; margin-top: 16px; font-size: .92rem; color: var(--muted); }
form.demo input[type="text"], form.demo input[type="email"], form.demo input[type="tel"], form.demo textarea {
  width: 100%; margin-top: 6px; padding: .7em .9em; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel2); color: var(--text); font: inherit;
}
form.demo input:focus, form.demo textarea:focus { outline: 2px solid var(--brass); border-color: transparent; }
form.demo .consent { display: flex; gap: .6em; align-items: flex-start; margin-top: 16px; font-size: .9rem; color: var(--muted); }
form.demo .consent input { margin-top: .3em; }
form.demo button { margin-top: 24px; }
.err { background: rgba(215, 155, 141, .12); border: 1px solid var(--rose); color: var(--rose);
       border-radius: 10px; padding: .8em 1em; margin-top: 18px; display: none; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

article.legal { max-width: 74ch; }
article.legal h2 { margin-top: 40px; font-size: 1.35rem; }
article.legal p, article.legal li { color: var(--muted); }
article.legal ul { margin: 12px 0 12px 22px; }
.notice { border-left: 3px solid var(--brass); padding: .6em 1em; background: var(--panel2); color: var(--muted); font-size: .92rem; }
