@font-face { font-family: "Instrument Serif"; src: url(/static/instrument-serif.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Instrument Serif"; font-style: italic; src: url(/static/instrument-serif-italic.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Manrope"; src: url(/static/manrope.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #11181c;
  --muted: #5d6b70;
  --soft: #f3f7f8;
  --line: #e3ebed;
  --sky: #54d3f4;
  --sky-deep: #2a688c;
  --peach: #fcd5c2;
  --rose: #fbc8d4;
  --aqua: #a8eef6;
  --ok: #17845a;
  --warn: #b42318;
  --radius: 20px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); }
a { color: inherit; }

/* degradê pastel do topo */
.glow {
  position: absolute; inset: 0 0 auto 0; height: 980px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 12% 8%, var(--peach) 0%, transparent 70%),
    radial-gradient(45% 50% at 50% 18%, var(--rose) 0%, transparent 70%),
    radial-gradient(55% 60% at 92% 12%, var(--aqua) 0%, transparent 72%),
    linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}

/* barra de navegação de vidro */
.nav {
  position: sticky; top: 12px; z-index: 10; display: flex; align-items: center; gap: 16px;
  max-width: 1120px; margin: 12px auto 0; padding: 10px 12px 10px 20px; width: calc(100% - 32px);
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8); border-radius: 18px;
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 2px rgba(17, 24, 28, .04);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: auto; }
.links { display: flex; gap: 24px; margin: 0 auto; font-size: .92rem; }
.links a { text-decoration: none; color: var(--ink); opacity: .8; }
.links a:hover { opacity: 1; }

.btn, .btn-ghost {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 10px 18px;
  font: 600 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease;
}
.btn { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn:hover { transform: translateY(-1px); background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: rgba(17, 24, 28, .05); }

main { max-width: 1120px; margin: 0 auto; padding: 0 16px 64px; }
section { margin: 112px 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.02; }
h1 em, h2 em { font-style: italic; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.05; max-width: 720px; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.kicker { font-size: .85rem; font-weight: 600; color: var(--sky-deep); margin: 0 0 12px; }
.sub { color: var(--muted); max-width: 640px; margin: 16px 0 0; }
.fine { color: var(--muted); font-size: .88rem; }

/* topo */
.hero { text-align: center; margin-top: 88px; }
.pill {
  display: inline-block; font-size: .85rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; margin: 0 0 24px;
  background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .9);
}
.lead { font-size: 1.12rem; color: #33424a; max-width: 640px; margin: 24px auto 0; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.actions .btn, .actions .btn-ghost { padding: 14px 22px; font-size: 1rem; }

/* exemplo de mensagem */
.device {
  max-width: 460px; margin: 56px auto 0; text-align: left; border-radius: 24px; padding: 10px;
  background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px -24px rgba(42, 104, 140, .35);
}
.device-bar { display: flex; align-items: center; gap: 6px; padding: 6px 10px 12px; font-size: .85rem; }
.device-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.device-bar b { margin-left: 8px; }
.device-bar i { margin-left: auto; font-style: normal; color: var(--muted); }
.msg { background: #fff; border-radius: 16px; padding: 16px 18px; border: 1px solid var(--line); font-size: .95rem; }
.msg p { margin: 4px 0; }
.msg-head { font-size: 1rem; }
.msg-link { color: var(--sky-deep); font-weight: 600; margin-top: 10px !important; }
.ok { color: var(--ok); font-weight: 600; font-size: .85rem; }

/* cards */
.grid3 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 40px; }
.card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.tag { font-size: .8rem; font-weight: 600; color: var(--sky-deep); margin: 0 0 14px; }
.spec { color: var(--muted); margin: 6px 0 16px; font-size: .95rem; }
.rows { list-style: none; padding: 0; margin: 0 0 16px; }
.rows li { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.rows li span { color: var(--muted); }
.strike { text-decoration: line-through; color: var(--muted); font-weight: 500; }
.note { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: .92rem; margin: 0 0 14px; }
.note.ok { color: var(--ink); border-color: #bfe8d6; background: #effaf5; font-weight: 400; }
.meta { color: var(--muted); font-size: .85rem; margin: 0; }

/* como funciona */
.split { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 20px 0 20px 64px; border-top: 1px solid var(--line); color: var(--muted); }
.steps li b { color: var(--ink); }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 14px; font: 400 2.4rem/1 var(--serif); color: var(--sky-deep);
}

/* preços */
.plan { display: flex; flex-direction: column; gap: 10px; }
.plan h3 { font: 400 2rem/1 var(--serif); }
.desc { color: var(--muted); margin: 0; font-size: .95rem; }
.amount { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; margin: 8px 0 6px; }
.amount small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.plan .btn, .plan .btn-ghost { align-self: flex-start; }
.incl { list-style: none; padding: 16px 0 0; margin: 8px 0 0; border-top: 1px solid var(--line); font-size: .92rem; }
.incl li { padding: 4px 0 4px 24px; position: relative; }
.incl li::before { content: "✓"; position: absolute; left: 0; color: var(--sky-deep); font-weight: 700; }
.badge {
  position: absolute; top: 16px; right: 16px; background: var(--sky); color: var(--ink);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 8px;
}

/* formulário */
.form-wrap { padding: 40px 28px; background: linear-gradient(160deg, #fff6f1 0%, #fdf1f5 40%, #effbfd 100%); border-color: #f1e6ea; }
.form-wrap h2 { margin-bottom: 28px; }
form { display: grid; gap: 28px; max-width: 760px; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
legend { font-weight: 700; margin-bottom: 12px; padding: 0; }
label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
label small { font-weight: 400; color: var(--muted); }
label.radio, label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
input, select, textarea {
  font: inherit; color: var(--ink); background: rgba(255, 255, 255, .85); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; width: 100%;
}
input[type=radio], input[type=checkbox] { width: auto; margin-top: 4px; accent-color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sky); outline-offset: 1px; border-color: transparent; }
.row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: end; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.errors { background: #fef3f2; color: var(--warn); border: 1px solid #fecdca; border-radius: 12px; padding: 4px 18px; margin-bottom: 20px; }
form .btn { justify-self: start; padding: 14px 22px; font-size: 1rem; }

/* dúvidas */
.faq details { border-top: 1px solid var(--line); padding: 18px 0; max-width: 760px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }
.faq h2 { margin-bottom: 24px; }

/* páginas de texto */
.doc { max-width: 720px; margin-top: 72px; }
.doc h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); margin-bottom: 8px; }
.doc h2 { font: 700 1.1rem/1.3 var(--sans); margin-top: 32px; }
.doc p, .doc li { color: #33424a; }

footer { border-top: 1px solid var(--line); }
.foot { max-width: 1120px; margin: 0 auto; padding: 32px 16px 48px; color: var(--muted); font-size: .85rem; }
.foot p { margin: 6px 0; }
.foot .brand { margin-bottom: 10px; }

@media (max-width: 720px) {
  .links { display: none; }
  .nav { justify-content: space-between; }
  section { margin: 80px 0; }
  .hero { margin-top: 56px; }
  .form-wrap { padding: 28px 18px; }
}

/* área do cliente */
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-login { color: var(--ink); text-decoration: none; font-size: .92rem; opacity: .8; }
.nav-login:hover { opacity: 1; }
.account { max-width: 860px; margin: 64px auto 0; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.account section { margin: 48px 0; }
.account form.inline { display: inline; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
.busca { display: grid; gap: 8px; margin-top: 16px; }
.busca .status { font-size: .85rem; font-weight: 600; }
.busca .status.wait { color: var(--warn); }
.busca .status.ok { color: var(--ok); }
.houses { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.houses li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px;
  background: var(--soft); border-radius: 12px; }
.houses b { font-variant-numeric: tabular-nums; }
.narrow { max-width: 440px; margin: 64px auto 0; }
.note-ok { background: var(--soft); border-left: 3px solid var(--ok); padding: 12px 16px; border-radius: 8px; }
.actions form.inline button { font: inherit; cursor: pointer; }
.busca .actions { justify-content: flex-start; margin-top: 8px; }
