
@font-face { font-family: 'Sora'; src: url('/assets/sora.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  --navy: #132D4A; --navy-2: #0C1F35; --blue: #1265EC; --blue-2: #0E52C2; --blue-soft: #E8F0FD;
  --ground: #FAFAFA; --card: #FFFFFF; --ink: #132D4A; --muted: #56627A; --line: #E2E6EE;
  --radius: 22px; --max: 1120px;
  --sans: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); line-height: 1.55; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: clamp(18px, 4vw, 32px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: var(--card); padding: 8px 12px; z-index: 10; }

.top { position: sticky; top: 0; z-index: 5; background: rgba(250, 250, 250, 0.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; font-size: 22px; letter-spacing: -0.035em; }
.brand:hover { text-decoration: none; }
.brand img { width: auto; height: 34px; }
.brand b { color: var(--blue); font-weight: 800; }
.nav { display: flex; gap: clamp(14px, 3vw, 28px); font-size: 15px; font-weight: 600; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--navy); text-decoration: none; }
@media (max-width: 560px) { .nav a:not(.keep) { display: none; } }

.hero { padding-block: clamp(40px, 8vw, 96px) clamp(48px, 8vw, 100px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-2); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
h1 { font-size: clamp(40px, 6.4vw, 68px); line-height: 1.02; letter-spacing: -0.045em; margin: 18px 0 18px; font-weight: 800; color: var(--navy); }
h1 em { font-style: normal; color: var(--blue); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 34em; margin: 0 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 14px; font-weight: 700; font-size: 16px; }
.btn:hover { text-decoration: none; }
.btn.primary { background: var(--navy); color: #fff; }
.btn.primary:hover { background: var(--navy-2); }
.btn.ghost { color: var(--navy); border: 1.5px solid var(--line); background: var(--card); }
.btn.ghost:hover { border-color: #C9D1DF; }
.btn svg { width: 20px; height: 20px; }
.note { margin-top: 14px; font-size: 13px; color: var(--muted); }

.phone { justify-self: center; width: min(320px, 82vw); aspect-ratio: 4208 / 1157; border-radius: 46px; background: var(--navy-2); padding: 12px; box-shadow: 0 40px 80px -30px rgba(22, 41, 74, 0.45), 0 0 0 1px rgba(22, 41, 74, 0.08); position: relative; }
.phone::before { content: ''; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 2; }
.screen { height: 100%; border-radius: 36px; background: linear-gradient(180deg, #FFFFFF 0%, var(--ground) 100%); overflow: hidden; padding: 58px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.screen .hello { font-size: 12px; color: var(--muted); font-weight: 600; }
.screen .addr { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); line-height: 1.2; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.tile { border-radius: 16px; padding: 12px 11px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; min-height: 86px; }
.tile svg { width: 22px; height: 22px; color: var(--blue); }
.tile span { font-size: 11.5px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.tile.dark { background: var(--navy); border-color: var(--navy); }
.tile.dark svg { color: #8FB5F5; }
.tile.dark span { color: #fff; }
.progress { margin-top: auto; border-radius: 16px; background: var(--card); border: 1px solid var(--line); padding: 12px; }
.progress small { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--navy); }
.bar { height: 7px; border-radius: 9px; background: var(--blue-soft); margin-top: 8px; overflow: hidden; }
.bar i { display: block; width: 78%; height: 100%; background: var(--blue); border-radius: 9px; }

section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { max-width: 40em; margin-bottom: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.08; letter-spacing: -0.04em; margin: 10px 0 12px; color: var(--navy); font-weight: 800; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .icon { width: 46px; height: 46px; border-radius: 14px; background: var(--blue-soft); display: grid; place-items: center; margin-bottom: 18px; }
.feature .icon svg { width: 24px; height: 24px; color: var(--blue); }
.feature h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.02em; color: var(--navy); }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px 26px 26px 26px; border-radius: var(--radius); background: var(--navy); color: #C9D6EC; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-size: 14px; font-weight: 800; color: #8FB5F5; margin-bottom: 26px; letter-spacing: 0.04em; }
.step h3 { color: #fff; margin: 0 0 6px; font-size: 20px; letter-spacing: -0.02em; }
.step p { margin: 0; font-size: 15px; }

.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr; } }
.trust article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); }
.trust h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.03em; color: var(--navy); }
.trust p { margin: 0; color: var(--muted); }

.cta { text-align: center; background: var(--navy); color: #fff; border-radius: 32px; padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px); }
.cta h2 { color: #fff; }
.cta p { color: #C9D6EC; max-width: 34em; margin: 0 auto 26px; }
.cta .btn.primary { background: var(--blue); }
.cta .btn.primary:hover { background: var(--blue-2); }

footer { padding-block: 36px 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--muted); }

.doc { max-width: 760px; padding-block: clamp(40px, 6vw, 72px); }
.doc h1 { font-size: clamp(34px, 5vw, 48px); }
.doc h2 { font-size: 24px; margin-top: 40px; }
.doc p, .doc li { color: #2E3B55; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc .table { overflow-x: auto; }
.doc blockquote { margin: 16px 0; padding: 14px 18px; border-left: 4px solid var(--blue); background: var(--card); border-radius: 0 12px 12px 0; }
.center { min-height: 60vh; display: grid; place-content: center; text-align: center; }

.teaser { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden;
  background: radial-gradient(60% 45% at 50% 46%, rgba(18, 101, 236, 0.085), rgba(18, 101, 236, 0) 70%), var(--ground); }
.stage { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(26px, 4.5vw, 40px); padding-inline: 20px; text-align: center; }
.brand-anim { position: relative; width: min(88vw, 560px); aspect-ratio: 4208 / 936; }
.brand-anim .layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.l-house { clip-path: inset(100% 0 0 0); transform: translateY(6%); animation: house-in .8s cubic-bezier(.2, .8, .2, 1) .2s forwards; }
.l-arrow { opacity: 0; transform: translate(-5%, 9%) scale(.92); transform-origin: 8% 92%; animation: arrow-in .6s cubic-bezier(.2, .9, .3, 1.35) .85s forwards; }
.l-word { clip-path: inset(0 100% 14.6% 24.9%); animation: word-in .9s cubic-bezier(.65, 0, .25, 1) 1.1s forwards; }
.l-tag { opacity: 0; transform: translateY(6%); animation: rise .7s cubic-bezier(.2, .8, .2, 1) 2s forwards; }
.shine { position: absolute; inset: -10% -6%; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.75) 50%, transparent 60%); background-size: 250% 100%; background-position: 130% 0; mix-blend-mode: soft-light; opacity: 0; animation: shine 1.2s ease-in-out 2.1s forwards; }
.teaser-promise { max-width: 720px; opacity: 0; transform: translateY(8px); animation: rise .65s ease-out 2.35s forwards; }
.teaser-promise h1 { margin: 0 0 10px; color: var(--navy); font-size: clamp(28px, 4.2vw, 42px); line-height: 1.06; letter-spacing: -0.045em; font-weight: 800; }
.teaser-promise p { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: clamp(15px, 2vw, 18px); line-height: 1.55; text-wrap: balance; }
.teaser-foot { display: flex; justify-content: center; gap: 18px; padding: 20px 16px 28px; font-size: 13px; color: var(--muted); opacity: 0; animation: rise .6s ease-out 2.7s forwards; }
.teaser-foot a { color: var(--muted); }
@keyframes house-in { to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes arrow-in { to { opacity: 1; transform: none; } }
@keyframes word-in { to { clip-path: inset(0 0 14.6% 24.9%); } }
@keyframes shine { 0% { opacity: 1; background-position: 130% 0; } 100% { opacity: 1; background-position: -30% 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .l-house, .l-arrow, .l-word, .l-tag, .teaser-promise, .teaser-foot { animation: none; opacity: 1; transform: none; clip-path: none; }
  .shine { display: none; }
}

.signin {
  position: relative; overflow: hidden;
  max-width: 440px;
  margin: clamp(8px, 2vw, 24px) auto clamp(40px, 8vw, 72px);
  padding: clamp(26px, 5vw, 36px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(19, 45, 74, 0.04), 0 16px 44px rgba(19, 45, 74, 0.08);
}

.signin::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--blue) 55%, #4FA0FF);
}
.signin-tabs { display: flex; gap: 6px; padding: 4px; margin: 6px 0 22px; background: var(--ground); border: 1px solid var(--line); border-radius: 14px; }
.signin-tabs button {
  flex: 1; min-height: 44px; font: inherit; font-size: 15px; font-weight: 700;
  color: var(--muted); background: transparent; border: 0; border-radius: 10px; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.signin-tabs button[aria-selected="true"] { color: var(--navy); background: var(--card); box-shadow: 0 1px 2px rgba(19,45,74,0.10); }
.signin-tabs button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.signin h2 { margin: 0 0 6px; font-size: clamp(25px, 3.4vw, 31px); letter-spacing: -0.032em; color: var(--navy); }
.signin-sub { margin: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.5; }

.google {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  width: 100%; min-height: 54px; margin: 0 0 20px;
  font: inherit; font-size: 16px; font-weight: 700; color: #1F1F1F;
  background: #FFFFFF; border: 1px solid #D5DAE3; border-radius: 14px; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.google:hover { background: #F7F9FC; border-color: #BFC8D6; box-shadow: 0 2px 10px rgba(19,45,74,0.07); }
.google:active { background: #EEF2F8; }
.google:disabled { opacity: 0.55; cursor: default; }
.google:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.google svg { flex: none; }

.signin-or { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.signin-or::before, .signin-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.signin label { display: block; margin: 0 0 7px; font-size: 14px; font-weight: 600; color: var(--navy); }
.signin input {
  width: 100%; min-height: 52px; padding: 0 15px; margin: 0 0 18px;
  font: inherit; font-size: 16px; color: var(--ink); background: var(--ground);
  border: 1px solid var(--line); border-radius: 12px;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.signin input:hover { border-color: #C9D2E2; }
.signin input:focus { border-color: var(--blue); background: var(--card); box-shadow: 0 0 0 4px var(--blue-soft); }
.signin input:focus-visible { outline: none; }
.signin-hint { margin: -10px 0 16px; font-size: 13px; color: var(--muted); }
#signin-button {
  width: 100%; min-height: 56px; margin-top: 4px;
  font: inherit; font-size: 17px; font-weight: 700; letter-spacing: -0.01em;
  color: #FFFFFF; background: var(--blue);
  border: 0; border-radius: 14px; cursor: pointer;
  transition: background 0.15s ease, transform 0.06s ease;
}
#signin-button:hover { background: var(--blue-2); }
#signin-button:active { transform: translateY(1px); }
#signin-button:disabled { opacity: 0.55; cursor: default; transform: none; }
#signin-button:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
#signin-status { min-height: 21px; margin: 14px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
#signin-status.erro { color: #B42318; font-weight: 600; }

.home { background: var(--ground); }
.home-shell { max-width: var(--max); margin: 0 auto; padding: clamp(18px, 4vw, 32px); }
.home-head { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px; border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 6vw, 56px); }
.home-head strong { font-size: 22px; font-weight: 800; letter-spacing: -0.035em; color: var(--navy); }
#signout { min-height: 44px; padding: 0 18px; font: inherit; font-size: 15px; font-weight: 600;
  color: var(--navy); background: var(--card); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
#signout:hover { border-color: #C9D2E2; }
#signout:disabled { opacity: 0.55; cursor: default; }
.home-body { max-width: 620px; }
.home-body h1 { margin: 0 0 12px; font-size: clamp(28px, 5vw, 40px); letter-spacing: -0.035em; color: var(--navy); }
#home-note { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  .signin input, #signin-button, .google, .signin-tabs button { transition: none; }
}

::selection { background: var(--blue-soft); color: var(--navy-2); }
.dash { caret-color: var(--blue); scrollbar-color: #C7CEDC var(--ground); scrollbar-width: thin; }
.dash ::-webkit-scrollbar { width: 10px; height: 10px; }
.dash ::-webkit-scrollbar-thumb { background: #C7CEDC; border-radius: 99px; border: 3px solid var(--ground); }
.dash ::-webkit-scrollbar-thumb:hover { background: #A9B4C8; }

.dash { background: var(--ground); }
.dash-grid { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px);
  max-width: 1280px; margin: 0 auto; padding: clamp(14px, 2.4vw, 26px); align-items: start; }

.dash-top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.dash-top img.logo { display: block; height: 30px; width: auto; }
.dash-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dash-who-text { display: flex; flex-direction: column; min-width: 0; }
.dash-who-text strong { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-who-text span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  overflow: hidden; box-shadow: 0 1px 2px rgba(19,45,74,.18); }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.dash-nav { position: sticky; top: 18px; display: flex; flex-direction: column; gap: 2px; }
.dash-nav button { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 13px; border: 0;
  border-radius: 12px; background: transparent; color: var(--muted); font: inherit; font-size: 14.5px;
  font-weight: 600; letter-spacing: -0.01em; cursor: pointer; text-align: left;
  transition: background .16s cubic-bezier(.2,.7,.3,1), color .16s cubic-bezier(.2,.7,.3,1); }
.dash-nav button svg { width: 19px; height: 19px; flex: none; }
.dash-nav button:hover { background: #F1F3F8; color: var(--navy); }
.dash-nav button[aria-current="true"] { background: var(--blue-soft); color: var(--blue-2); }
.dash-nav .sep { height: 1px; background: var(--line); margin: 10px 13px; }

.dash-main { min-width: 0; }
.dash-greet { margin: 4px 0 4px; font-size: clamp(25px, 3.4vw, 34px); line-height: 1.12; letter-spacing: -0.04em;
  font-weight: 800; color: var(--navy); }
.dash-sub { margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.dash-panel[hidden] { display: none; }
.dash-h2 { margin: 0 0 14px; font-size: 19px; font-weight: 700; letter-spacing: -0.025em; color: var(--navy); }

.dash-h2.page { margin: 2px 0 6px; font-size: clamp(25px, 3.2vw, 31px); letter-spacing: -0.038em; font-weight: 800; }

.rows { display: flex; flex-direction: column; gap: 10px; }
.row-item { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px; }
.row-item .grow { flex: 1; min-width: 0; }
.row-item strong { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-item .meta { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.row-item.unread { border-color: #C9DBFB; background: #FBFDFF; }
.pill { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11.5px;
  font-weight: 700; letter-spacing: .02em; text-transform: uppercase; background: #EFF2F7; color: var(--muted); }
.pill.live { background: #E6F6EC; color: #16704A; }
.pill.new { background: var(--blue-soft); color: var(--blue-2); }

.mini { border: 1px solid var(--line); background: var(--card); color: var(--navy); border-radius: 10px;
  padding: 8px 12px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: border-color .16s, background .16s; }
.mini:hover { border-color: #C7CEDC; background: #F7F9FC; }
.mini.danger { color: #A4222B; }
.mini.danger:hover { border-color: #E7B9BD; background: #FFF6F6; }
.mini:disabled { opacity: .5; cursor: default; }

.empty { border: 1px dashed var(--line); border-radius: 14px; padding: 28px 22px; background: #FCFDFE; }
.empty h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); }
.empty p { margin: 0; color: var(--muted); font-size: 14px; max-width: 62ch; }
.dash-msg { margin: 14px 0 0; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.dash-msg.erro { color: #A4222B; }

.dash-grid > * { animation: sobe .42s cubic-bezier(.16,.84,.28,1) both; }
.dash-grid > :nth-child(2) { animation-delay: .04s; }
.dash-grid > :nth-child(3) { animation-delay: .07s; }
@keyframes sobe { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
  
  .dash-nav { position: sticky; top: 0; z-index: 2; flex-direction: row; flex-wrap: wrap; gap: 6px;
    padding: 10px 0; background: var(--ground); }
  .dash-nav button { width: auto; white-space: nowrap; padding: 9px 11px; gap: 8px; }
  .dash-nav .sep { display: none; }
  .dash-top img.logo { height: 26px; }
  .avatar { width: 38px; height: 38px; font-size: 14px; }
  .dash-who-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dash-grid > * { animation: none; }
  .dash-nav button, .mini { transition: none; }
}

.bell { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 0; border-radius: 50%; background: none; color: var(--muted);
  cursor: pointer; transition: background .16s, color .16s; }
.bell:hover { background: #EFF2F7; color: var(--navy); }
.bell:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.bell svg { width: 20px; height: 20px; }
.bell .count { position: absolute; top: 0; right: 0; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: #D7262F; color: #fff; font-size: 11.5px; font-weight: 700; line-height: 19px;
  text-align: center; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px var(--ground); }
.bell[data-unread="0"] .count { display: none; }

.pill.alert { background: #FDECEC; color: #A4222B; }

.calm { padding: 34px 0 6px; max-width: 58ch; }
.calm p { margin: 0; color: var(--muted); font-size: 15px; }

.form-groups { display: flex; flex-direction: column; gap: 14px; }

fieldset.group { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 20px; margin: 0;
  box-shadow: 0 1px 2px rgba(19,45,74,.04); }
fieldset.group > legend { float: left; width: 100%; padding: 0 0 12px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
fieldset.group > legend + * { clear: both; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 14px; }
.fields .wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 42px; width: 100%;
  box-sizing: border-box; transition: border-color .16s, box-shadow .16s; }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none;
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,101,236,.16); }
.field .err { font-size: 12.5px; color: #A4222B; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #E0A2A7; }

.form-foot { position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 16px; padding: 14px 16px; background: rgba(250,250,250,.92);
  -webkit-backdrop-filter: saturate(1.6) blur(8px); backdrop-filter: saturate(1.6) blur(8px);
  border: 1px solid var(--line); border-radius: 14px; }
.btn-save { border: 0; border-radius: 11px; background: var(--navy); color: #fff; font: inherit; font-size: 15px;
  font-weight: 700; padding: 11px 20px; cursor: pointer; transition: background .16s; }
.btn-save:hover { background: var(--navy-2); }
.btn-save:disabled { opacity: .55; cursor: default; }
.form-note { font-size: 13.5px; color: var(--muted); }
.form-note.ok { color: #16704A; }
.form-note.erro { color: #A4222B; }

.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }

.slot { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px;
  background: #FCFDFE; padding: 16px; text-align: center; }
.slot > button { margin-top: auto; align-self: center; }
.slot h4 { margin: 0 0 4px; font-size: 14px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); }
.slot p { margin: 0 0 14px; font-size: 12.5px; color: var(--muted); }
.slot .frame { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 14px; background: #F1F3F8;
  display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.slot .frame.round { border-radius: 50%; }
.slot .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot .frame span { font-size: 12px; color: var(--muted); }
.slot input[type=file] { display: none; }

.avatar-btn { display: inline-grid; line-height: 0; border: 0; padding: 0; background: none; cursor: pointer;
  border-radius: 50%; }
.avatar-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.who-menu { position: relative; }

.who-pop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; width: 268px; padding: 18px;
  overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(19,45,74,.04), 0 16px 44px rgba(19,45,74,.14);
  animation: popIn .18s cubic-bezier(.16,.84,.28,1) both; transform-origin: top right; }
.who-pop::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--blue) 55%, #4FA0FF); }
@keyframes popIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.who-pop[hidden] { display: none; }
.who-pop .head { display: flex; align-items: center; gap: 11px; padding: 4px 0 16px; margin-bottom: 14px;
  border-bottom: 1px solid var(--line); }
.who-pop .head .avatar { width: 40px; height: 40px; font-size: 14px; }
.who-pop .head div { min-width: 0; }
.who-pop .head strong { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who-pop .head span { display: block; font-size: 12.5px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who-pop button { display: block; width: 100%; text-align: center; font: inherit; font-size: 15px; font-weight: 700;
  padding: 11px 14px; border-radius: 12px; cursor: pointer; transition: background .16s, border-color .16s; }
.who-pop button#pop-profile { border: 1px solid var(--line); background: var(--card); color: var(--navy);
  margin-bottom: 8px; }
.who-pop button#pop-profile:hover { border-color: #C7CEDC; background: #F7F9FC; }
.who-pop button.danger { border: 1px solid #E7B9BD; background: #FFF7F7; color: #A4222B; }
.who-pop button.danger:hover { background: #FDECEC; border-color: #DCA3A9; }
.who-pop button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.voltar { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; font: inherit;
  font-size: 14px; font-weight: 600; color: var(--muted); padding: 6px 2px; cursor: pointer; border-radius: 8px; }
.voltar:hover { color: var(--navy); }
.voltar svg { width: 16px; height: 16px; }

.imovel-topo { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 22px; align-items: start;
  margin: 8px 0 26px; }
.imovel-topo h1 { margin: 4px 0 8px; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.1; letter-spacing: -0.04em;
  font-weight: 800; color: var(--navy); }
.imovel-topo .onde { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.imovel-topo .linha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.capa { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #EDF0F5; border: 1px solid var(--line);
  display: grid; place-items: center; }
.capa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.capa span { font-size: 13px; color: var(--muted); }

.modulos { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 14px; }
.modulo { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: var(--card);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(19,45,74,.04); }
.modulo h3 { margin: 0; font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); }
.modulo .estado { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; min-height: 1.5em; }
.modulo .acao { margin-top: 12px; }
.modulo.vazio { background: #FCFDFE; border-style: dashed; }
.modulo .estado.pronto { color: #16704A; font-weight: 600; }

.imovel-fim { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 26px;
  padding-top: 20px; border-top: 1px solid var(--line); }
.link-site { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  color: var(--blue-2); background: var(--blue-soft); padding: 8px 12px; border-radius: 10px; }
.link-site:hover { text-decoration: none; background: #DCE8FC; }

@media (max-width: 720px) {
  .imovel-topo { grid-template-columns: minmax(0,1fr); }
  .imovel-topo .capa { order: -1; aspect-ratio: 16 / 9; }
}

.acima { margin-top: 12px; }
.folga { margin-bottom: 22px; }

.row-item button.abre { display: block; padding: 0; border: 0; background: none; text-align: left; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.row-item button.abre:hover { color: var(--blue-2); }
.row-item button.abre:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.modulo.abre { cursor: pointer; transition: border-color .16s, box-shadow .16s; }
.modulo.abre:hover { border-color: #C7CEDC; box-shadow: 0 6px 18px -10px rgba(19,45,74,.28); }
.modulo[aria-expanded="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,101,236,.12); }

.visor { margin-top: 18px; padding: 20px; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 1px 2px rgba(19,45,74,.04); }
.visor[hidden] { display: none; }
.visor-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.visor-topo h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.025em; color: var(--navy); }

.fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }
.fotos button { padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #EDF0F5;
  aspect-ratio: 4 / 3; cursor: pointer; transition: transform .16s, border-color .16s; }
.fotos button:hover { transform: translateY(-2px); border-color: #C7CEDC; }
.fotos img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lista-midia { display: flex; flex-direction: column; gap: 10px; }
.midia { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 12px; background: #FCFDFE; }
.midia .grow { flex: 1; min-width: 0; }
.midia strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--navy); }
.midia .meta { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

.visor video { max-height: 380px; width: auto; max-width: 100%; border-radius: 12px; background: #000; display: block; margin-top: 10px; }

.lupa { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto 1fr auto;
  
  background: var(--navy-2); }
.lupa[hidden] { display: none; }
.lupa-topo, .lupa-fim { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; color: #E8EEF7; font-size: 14px; }
.lupa-topo strong { font-weight: 600; font-size: 14px; }
.lupa img { max-width: 100%; max-height: 100%; object-fit: contain; margin: 0 auto; display: block; }
.lupa-palco { display: grid; place-items: center; padding: 0 18px; min-height: 0; }
.lupa button, .lupa a { border: 1px solid rgba(232,238,247,.28); background: rgba(232,238,247,.08); color: #E8EEF7;
  font: inherit; font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 10px; cursor: pointer; }
.lupa button:hover, .lupa a:hover { background: rgba(232,238,247,.16); text-decoration: none; }

.quadro-tour { width: 100%; height: 460px; border: 1px solid var(--line); border-radius: 12px; background: #0b1220; display: block; margin-top: 10px; }
@media (max-width: 720px) { .quadro-tour { height: 320px; } }

.visor-foot { display: flex; align-items: center; gap: 10px; margin-top: 12px; }

.fotos button.midia { position: relative; }
.fotos button.midia .etiqueta { position: absolute; left: 6px; bottom: 6px; max-width: calc(100% - 12px);
  padding: 3px 8px; border-radius: 999px; background: rgba(12,31,53,.82); color: #FFF;
  font-size: 11px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; pointer-events: none; }
.fotos button.midia .play { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 999px;
  background: rgba(12,31,53,.72); pointer-events: none; }
.fotos button.midia .play::after { content: ''; position: absolute; inset: 0; margin: auto; width: 0; height: 0;
  border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #FFF;
  transform: translateX(2px); }

.fotos button.midia.sem-previa { border-style: dashed; background: var(--ground); }
.fotos button.midia.sem-previa img { display: none; }

.lupa video { max-width: 100%; max-height: 100%; display: block; margin: 0 auto; background: #000; border-radius: 10px; }
.lupa video[hidden], .lupa img[hidden] { display: none; }

.fotos button.midia.retrato { aspect-ratio: 3 / 4; }

.desenho { margin-top: 22px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.desenho[hidden] { display: none; }
.desenhos { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-top: 14px; }
.desenho-cartao { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 12px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--ground); }
.desenho-cartao.escolhido { border-color: var(--blue); box-shadow: 0 0 0 2px #1265EC22; background: var(--card); }
.desenho-escolher { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.desenho-escolher strong { display: block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--navy); }
.desenho-escolher .meta { display: block; margin-top: 2px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.desenho-escolher:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
.mini-desenho { display: block; width: 100%; height: auto; border-radius: 8px; background: #EDF0F5; }
.mini-desenho .peca { fill: #C7D3E6; }
.mini-desenho .peca.capa { fill: var(--navy); }
.desenho-cartao.escolhido .mini-desenho .peca { fill: #A9C4EE; }
.desenho-cartao.escolhido .mini-desenho .peca.capa { fill: var(--blue); }
.desenho-cartao .selo { position: absolute; top: 10px; right: 10px; padding: 2px 8px; border-radius: 999px;
  background: #E7F5EC; color: #1B7A46; font-size: 11px; font-weight: 700; }
.desenho-cartao > a.mini { align-self: start; }

.desenho-cartao > a.mini, #des-salvar { min-height: 44px; display: inline-flex; align-items: center; }
