/* ==========================================================================
   NotarioFlow — landing. Paleta e tipografia da identidade visual (brand/).
   ========================================================================== */
:root{
  --paper:#f6f4ef; --surface:#ffffff; --mist:#eceae3; --line:#dad7ce;
  --ink:#1d1b2c; --muted:#6b6878;
  --accent:#5246e6; --accent-soft:#ecebfb; --accent-line:#c9c5f6;
  --gold:#c28b2c; --gold-soft:#f6ecd6; --ok:#2f9e6b; --err:#d4503e;
  --radius:18px; --r-sm:12px;
  --display:"Schibsted Grotesk", sans-serif; --sans:"IBM Plex Sans", system-ui, sans-serif; --mono:"IBM Plex Mono", monospace;
  --shadow:0 1px 2px rgba(29,27,44,.05), 0 10px 30px rgba(29,27,44,.08);
  --shadow-lg:0 30px 70px -20px rgba(29,27,44,.28);
  --maxw:1160px;
}
html[data-theme="dark"]{
  --paper:#14131c; --surface:#1e1d29; --mist:#26252f; --line:#322f3d;
  --ink:#f1f0f6; --muted:#a4a1b3; --accent-soft:#241f54; --accent-line:#3f3a7a; --gold-soft:#3a2f1a;
  --shadow:0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.4); --shadow-lg:0 30px 80px -20px rgba(0,0,0,.7);
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ margin:0; background:var(--paper); color:var(--ink); font-family:var(--sans); line-height:1.55; -webkit-font-smoothing:antialiased; }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 28px; }
a{ color:inherit; text-decoration:none; }
.eyebrow{ font-family:var(--mono); font-size:12px; letter-spacing:2px; text-transform:uppercase; color:var(--accent); }
h1,h2,h3{ font-family:var(--display); font-weight:700; letter-spacing:-.6px; line-height:1.05; margin:0; }
.lead{ color:var(--muted); font-size:18px; }
.acctext{ color:var(--accent); }
h1:focus{ outline:none; }

/* buttons */
.btn{ font-family:var(--sans); font-weight:600; font-size:15px; border-radius:999px; padding:13px 24px; border:1.5px solid var(--ink); background:transparent; color:var(--ink); cursor:pointer; display:inline-flex; align-items:center; gap:9px; transition:.16s; white-space:nowrap; }
.btn:hover{ transform:translateY(-1px); }
.btn.p{ background:var(--accent); border-color:var(--accent); color:#fff; box-shadow:0 8px 20px -6px rgba(82,70,230,.5); }
.btn.p:hover{ background:#4339cf; }
.btn.p:disabled{ opacity:.6; cursor:default; transform:none; }
.btn.ghost{ border-color:var(--line); }
.btn.ghost:hover{ border-color:var(--muted); }
.btn.sm{ padding:9px 16px; font-size:13.5px; }

/* devbar — produto em desenvolvimento */
.devbar{ background:var(--ink); color:#fff; font-size:13px; }
.devbar-row{ display:flex; align-items:center; gap:10px; padding:9px 28px; flex-wrap:wrap; }
.devbar .devdot{ width:8px; height:8px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 0 rgba(194,139,44,.6); animation:pulse-gold 2s infinite; }
.devbar a{ color:#fff; font-weight:600; border-bottom:1px solid rgba(255,255,255,.4); }
.devbar a:hover{ border-color:#fff; }
@keyframes pulse-gold{ 0%{ box-shadow:0 0 0 0 rgba(194,139,44,.5);} 70%{ box-shadow:0 0 0 7px rgba(194,139,44,0);} 100%{ box-shadow:0 0 0 0 rgba(194,139,44,0);} }

/* nav */
.nav{ position:sticky; top:0; z-index:50; background:color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter:blur(10px); border-bottom:1px solid transparent; transition:border-color .2s; }
.nav.scrolled{ border-color:var(--line); }
.nav .row{ display:flex; align-items:center; gap:18px; height:70px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--display); font-weight:700; font-size:21px; letter-spacing:-.5px; }
.brand .badge{ width:30px; height:30px; color:var(--ink); }
.brand .flw{ color:var(--accent); }
.devpill{ font-family:var(--mono); font-size:10px; letter-spacing:.5px; text-transform:uppercase; color:var(--gold); background:var(--gold-soft); border:1px solid color-mix(in srgb, var(--gold) 40%, transparent); border-radius:20px; padding:3px 10px; white-space:nowrap; }
.nav .links{ display:flex; gap:26px; margin-left:14px; }
.nav .links a{ font-size:14.5px; color:var(--muted); font-weight:500; }
.nav .links a:hover{ color:var(--ink); }
.nav .sp{ flex:1; }
.nav .cta{ display:flex; gap:10px; align-items:center; }

/* hero */
.hero{ padding:72px 0 40px; }
.hero .grid{ display:grid; grid-template-columns:1.04fr 1fr; gap:54px; align-items:center; }
.hero h1{ font-size:60px; margin:20px 0 0; }
.hero .lead{ font-size:20px; margin:22px 0 0; max-width:520px; }
.hero .acts{ display:flex; gap:13px; margin-top:30px; flex-wrap:wrap; }
.hero .note{ margin-top:18px; font-size:13px; color:var(--muted); display:flex; align-items:center; gap:8px; }
.hero .note .dot{ width:7px;height:7px;border-radius:50%;background:var(--ok); }

/* product frame */
.frame{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-lg); overflow:hidden; }
.frame .bar{ height:42px; border-bottom:1px solid var(--line); display:flex; align-items:center; gap:8px; padding:0 14px; background:var(--mist); }
.frame .bar .dots{ display:flex; gap:6px; }
.frame .bar .dots i{ width:10px;height:10px;border-radius:50%;background:var(--line); display:block; }
.frame .bar .ftab{ margin-left:8px; font-family:var(--mono); font-size:11px; color:var(--muted); }
.frame .bar .fpill{ margin-left:auto; font-family:var(--mono); font-size:10px; color:var(--accent); background:var(--accent-soft); border:1px solid var(--accent-line); border-radius:20px; padding:3px 9px; display:flex; align-items:center; gap:6px; }
.frame .bar .fpill .pulse{ width:7px;height:7px;border-radius:50%;background:var(--accent); animation:pulse 1.9s infinite; }
@keyframes pulse{ 0%{ box-shadow:0 0 0 0 rgba(82,70,230,.5);} 70%{ box-shadow:0 0 0 6px rgba(82,70,230,0);} 100%{ box-shadow:0 0 0 0 rgba(82,70,230,0);} }
.frame .stage{ display:grid; grid-template-columns:148px 1fr; gap:10px; padding:12px; background:var(--paper); }
.mini-feed{ display:flex; flex-direction:column; gap:8px; }
.mini-feed .ttl{ font-family:var(--display); font-weight:600; font-size:11px; display:flex; align-items:center; gap:6px; }
.mini-feed .ttl .live{ width:6px;height:6px;border-radius:50%;background:var(--accent); animation:pulse 1.9s infinite; }
.mevt{ background:var(--surface); border:1px solid var(--line); border-radius:9px; padding:7px 8px; display:flex; flex-direction:column; gap:4px; }
.mevt .mt{ font-size:9.5px; line-height:1.3; }
.mevt .ma{ font-size:9px; color:var(--accent); }
.mini-pipe{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.mcol{ background:var(--mist); border-radius:10px; padding:7px; display:flex; flex-direction:column; gap:6px; }
.mcol.ai{ background:var(--accent-soft); }
.mcol .mh{ font-family:var(--display); font-weight:600; font-size:9.5px; display:flex; justify-content:space-between; }
.mcol.ai .mh{ color:var(--accent); }
.mcard{ background:var(--surface); border:1px solid var(--line); border-radius:7px; padding:6px; display:flex; flex-direction:column; gap:4px; }
.mcard.adv{ border-left:2px solid var(--accent); }
.mcard .mn{ font-weight:600; font-size:9px; }
.mcard .mw{ font-size:8px; color:var(--muted); }
.mchip{ font-family:var(--mono); font-size:7px; border-radius:10px; padding:1px 5px; align-self:flex-start; background:var(--accent-soft); color:var(--accent); }
.mchip.ok{ background:#e6f4ee; color:var(--ok); }
.bar2{ height:3px; background:var(--mist); border-radius:3px; overflow:hidden; } .bar2 i{ display:block;height:100%;background:var(--accent); }

/* trust strip */
.trust{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--surface); }
.trust .row{ display:flex; align-items:center; gap:26px; padding:22px 0; flex-wrap:wrap; }
.trust .lbl{ font-family:var(--mono); font-size:11px; letter-spacing:1px; text-transform:uppercase; color:var(--muted); }
.trust .chips{ display:flex; gap:12px; flex-wrap:wrap; flex:1; }
.tchip{ display:flex; align-items:center; gap:8px; font-size:14px; font-weight:600; color:var(--ink); }
.tchip .d{ width:9px; height:9px; border-radius:50%; background:var(--gold); }

/* section */
section{ padding:96px 0; }
.sec-head{ max-width:660px; }
.sec-head h2{ font-size:42px; margin-top:14px; }
.sec-head p{ margin-top:16px; }

/* how it works */
.steps{ margin-top:54px; display:grid; grid-template-columns:repeat(4,1fr); gap:22px; position:relative; }
.steps::before{ content:""; position:absolute; top:26px; left:8%; right:8%; height:2px; background:repeating-linear-gradient(90deg, var(--accent-line) 0 10px, transparent 10px 18px); }
.step{ position:relative; }
.step .num{ width:54px; height:54px; border-radius:50%; background:var(--surface); border:2px solid var(--accent); color:var(--accent); display:flex; align-items:center; justify-content:center; font-family:var(--display); font-weight:700; font-size:20px; box-shadow:var(--shadow); }
.step h3{ font-size:19px; margin-top:18px; }
.step p{ color:var(--muted); font-size:14.5px; margin-top:8px; }
.step .tag{ font-family:var(--mono); font-size:10px; text-transform:uppercase; letter-spacing:.5px; color:var(--accent); margin-top:10px; display:block; }

/* features */
.feat-grid{ margin-top:54px; display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.feat{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:26px; transition:.16s; }
.feat:hover{ transform:translateY(-3px); box-shadow:var(--shadow); border-color:var(--accent-line); }
.feat .ic{ width:46px; height:46px; border-radius:13px; background:var(--accent-soft); color:var(--accent); display:flex; align-items:center; justify-content:center; }
.feat .ic svg{ width:24px; height:24px; }
.feat h3{ font-size:19px; margin-top:18px; }
.feat p{ color:var(--muted); font-size:14.5px; margin-top:9px; }
.feat.gold .ic{ background:var(--gold-soft); color:var(--gold); }

/* IA band (dark) */
.band{ background:var(--ink); color:#fff; border-radius:28px; padding:72px; position:relative; overflow:hidden; }
.band .eyebrow{ color:#a79ff5; }
.band h2{ font-size:46px; max-width:760px; margin-top:16px; color:#fff; }
.band h2 .acctext{ color:#9b91f5; }
.band p{ color:#c9c6d8; font-size:18px; max-width:560px; margin-top:20px; }
.band .pillars{ margin-top:42px; display:grid; grid-template-columns:repeat(3,1fr); gap:24px; max-width:820px; }
.band .pillar{ border-top:2px solid rgba(255,255,255,.18); padding-top:16px; }
.band .pillar .pt{ font-family:var(--display); font-weight:600; font-size:17px; }
.band .pillar .pd{ color:#b8b4cc; font-size:13.5px; margin-top:6px; }
.band .ghost-mk{ position:absolute; right:-60px; top:-40px; width:360px; height:360px; color:rgba(255,255,255,.05); }

/* security */
.sec-split{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.sec-list{ margin-top:26px; display:flex; flex-direction:column; gap:16px; }
.sec-list .li{ display:flex; gap:13px; align-items:flex-start; }
.sec-list .li .ck{ width:26px; height:26px; border-radius:8px; background:var(--gold-soft); color:var(--gold); display:flex; align-items:center; justify-content:center; flex:none; font-size:11px; font-weight:700; font-family:var(--mono); text-transform:uppercase; }
.sec-list .li .lt b{ font-weight:600; } .sec-list .li .lt p{ color:var(--muted); font-size:14px; margin:3px 0 0; }
.shield{ aspect-ratio:1/1; border-radius:24px; background:linear-gradient(160deg, var(--accent-soft), var(--surface)); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow); }
.shield svg{ width:120px; height:120px; color:var(--accent); }

/* interesse (form) */
.interesse{ background:linear-gradient(180deg, var(--paper), var(--mist)); }
.interesse-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.interesse-copy h2{ font-size:42px; margin-top:14px; }
.interesse-copy .lead{ margin-top:16px; max-width:460px; }
.interesse-bullets{ list-style:none; padding:0; margin:26px 0 0; display:flex; flex-direction:column; gap:12px; }
.interesse-bullets li{ display:flex; align-items:center; gap:11px; font-weight:500; }
.interesse-bullets .b-dot{ width:9px; height:9px; border-radius:50%; background:var(--accent); flex:none; }
.interesse-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-lg); padding:30px; }

/* form */
.nf-form{ display:flex; flex-direction:column; gap:15px; }
.nf-form .grid2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.nf-form .field{ display:flex; flex-direction:column; gap:6px; }
.nf-form .field--uf{ max-width:96px; }
.nf-form label{ font-size:13px; font-weight:600; color:var(--ink); }
.nf-form input, .nf-form select, .nf-form textarea{
  font-family:var(--sans); font-size:15px; color:var(--ink); background:var(--paper);
  border:1.5px solid var(--line); border-radius:var(--r-sm); padding:11px 13px; width:100%; transition:.14s; }
.nf-form textarea{ resize:vertical; min-height:74px; }
.nf-form input:focus, .nf-form select:focus, .nf-form textarea:focus{
  outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); background:var(--surface); }
.nf-form .btn{ justify-content:center; margin-top:4px; }
.nf-form .form-nota{ font-size:11.5px; color:var(--muted); margin:0; text-align:center; }
.nf-form .form-erro{ color:var(--err); font-size:13px; margin:0; font-weight:600; }
.nf-form input.invalid, .nf-form select.invalid, .nf-form textarea.invalid{ border-color:var(--err); }
.validation-message{ color:var(--err); font-size:12px; }

/* form success */
.nf-form--ok{ text-align:center; align-items:center; gap:12px; padding:14px 4px; }
.nf-form--ok .okmark{ width:60px; height:60px; border-radius:50%; background:#e6f4ee; color:var(--ok); display:flex; align-items:center; justify-content:center; }
.nf-form--ok .okmark svg{ width:30px; height:30px; }
.nf-form--ok h3{ font-size:24px; }
.nf-form--ok p{ color:var(--muted); font-size:15px; margin:0; max-width:360px; }

/* footer */
footer{ border-top:1px solid var(--line); padding:54px 0 40px; }
footer .row{ display:flex; gap:40px; justify-content:space-between; flex-wrap:wrap; }
footer .brand{ font-size:19px; }
footer .tagline{ color:var(--muted); font-size:13.5px; margin-top:12px; max-width:280px; }
footer .cols{ display:flex; gap:56px; flex-wrap:wrap; }
footer .col h4{ font-family:var(--mono); font-size:10px; letter-spacing:1px; text-transform:uppercase; color:var(--muted); margin:0 0 12px; }
footer .col a{ display:block; font-size:14px; color:var(--ink); margin-bottom:9px; }
footer .col a:hover{ color:var(--accent); }
footer .legal{ margin-top:40px; padding-top:20px; border-top:1px solid var(--line); display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:12.5px; color:var(--muted); }

/* Blazor reconnect / erro */
#blazor-error-ui{
  color-scheme:light only; background:var(--ink); color:#fff; bottom:0; box-shadow:0 -1px 12px rgba(0,0,0,.25);
  display:none; left:0; padding:.9rem 1.4rem; position:fixed; width:100%; z-index:1000; font-size:14px; }
#blazor-error-ui .dismiss{ cursor:pointer; position:absolute; right:.9rem; top:.6rem; }
.blazor-error-boundary{ background:var(--err); padding:1rem; color:white; }
.blazor-error-boundary::after{ content:"Ocorreu um erro."; }

@media(max-width:880px){
  .hero .grid, .sec-split, .interesse-grid{ grid-template-columns:1fr; }
  .hero h1{ font-size:42px; } .band h2,.sec-head h2,.interesse-copy h2{ font-size:32px; }
  .steps{ grid-template-columns:1fr 1fr; } .steps::before{ display:none; }
  .feat-grid{ grid-template-columns:1fr; } .band .pillars{ grid-template-columns:1fr; }
  .band{ padding:44px 26px; } .nav .links{ display:none; }
  .nf-form .grid2{ grid-template-columns:1fr; }
}
