@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/dm-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/dm-sans-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/dm-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/dm-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/dm-sans-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/dm-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/newsreader-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/newsreader-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/newsreader-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/newsreader-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/newsreader-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/newsreader-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/newsreader-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/newsreader-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 500; font-display: swap; src: url("/fonts/newsreader-latin-ext-500-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 500; font-display: swap; src: url("/fonts/newsreader-latin-500-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --petrol: #0f3b3f;
  --petrol-deep: #0a2c2f;
  --noite: #05181a;
  --ink: #1f2523;
  --muted: #56645f;
  --mint: #2fa67a;
  --mint-bright: #5cc79a;
  --verde-texto: #1e7a57;
  --sand: #f5f1e8;
  --sand-2: #ece6d8;
  --estudio: #f2ede4;
  --paper: #fbf9f4;
  --line: #cfc7b6;
  --linha-suave: rgba(15, 59, 63, 0.08);
  --amarelo: #f2a900;
  --vermelho: #d64545;
  --shadow: 0 18px 40px -34px rgba(15, 59, 63, 0.5);
  --raio: 20px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, "Segoe UI", sans-serif;
  --suave: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--estudio);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--petrol); }
img { max-width: 100%; }

.boot { padding: 48px 20px; color: var(--muted); }

.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(320px, 0.95fr);
}
.login-hero {
  background: var(--petrol);
  color: var(--sand);
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}
.brand-lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-lockup img { height: 30px; width: auto; display: block; }
.brand-name { font-family: var(--sans); font-weight: 650; font-size: 22px; letter-spacing: -0.03em; }
.brand-name span { color: var(--mint-bright); }
.login-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(52px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 28px 0 16px;
}
.login-hero p { max-width: 440px; font-size: 18px; color: #e7e1d4; margin: 0; }
.kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--mint);
}
.login-hero .kicker { color: var(--mint-bright); }
.login-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 24px;
  gap: 16px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.login-card { width: min(440px, 100%); padding: 32px 28px; }
.login-card h2 { font-family: var(--serif); font-weight: 500; font-size: 36px; margin: 8px 0 8px; letter-spacing: -0.02em; }
.login-card .lede { color: var(--muted); margin: 0 0 22px; }
.google-btn, .btn, .btn-ghost, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 1.75rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  transition: background-color 0.2s var(--suave), box-shadow 0.2s var(--suave), transform 0.15s var(--suave);
}
.google-btn { width: 100%; background: white; border: 1px solid var(--line); color: var(--petrol); }
.google-btn:hover { border-color: var(--petrol); box-shadow: 0 0 0 4px rgba(47, 166, 122, 0.18); }
.btn { background: var(--mint-bright); color: var(--noite); }
.btn:hover { background: #73d3aa; box-shadow: 0 0 0 6px rgba(92, 199, 154, 0.18); }
.btn:active, .google-btn:active { transform: scale(0.98); }
.btn-line { background: transparent; color: var(--petrol); border: 1px solid var(--line); min-height: 44px; padding: 0 1.1rem; }
.btn-line:hover { border-color: var(--petrol); }
.btn-ghost { background: transparent; color: var(--sand); border: 0; padding: 8px 0; min-height: 0; }
.btn.small, .btn-line.small { min-height: 40px; padding: 0 0.95rem; font-size: 0.875rem; }
.fine { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.fine a { color: var(--petrol); }
.dev-box {
  margin-top: 18px;
  padding: 14px;
  border: 1px dashed #c9b89a;
  border-radius: 16px;
  background: #f7f1e4;
}
.dev-box p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.dev-actions { display: flex; flex-direction: column; gap: 8px; }
.dev-actions button { text-align: left; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.dev-actions button strong { display: block; }
.dev-actions button span { color: var(--muted); font-size: 13px; }
.alert { background: #fbecea; color: #8d2e24; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }

.whatsapp-link { white-space: nowrap; }
.app-footer {
  display: block;
  text-align: center;
  padding: 18px 16px 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.app-footer a { color: var(--petrol); text-decoration: underline; text-underline-offset: 2px; }
.login-panel .app-footer { padding: 8px 8px 0; }
.shell { display: flex; flex-direction: column; }
.shell .app-footer { margin-top: auto; }

.shell { min-height: 100vh; }
.topo {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 clamp(1.25rem, 4vw, 2.75rem);
  background: rgba(242, 237, 228, 0.86);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(15, 59, 63, 0.14);
}
.topo__marca { display: block; width: 168px; flex: none; }
.topo__marca img { width: 100%; height: auto; display: block; }
.topo__nav { display: flex; align-items: center; gap: 0.15rem; min-width: 0; }
.topo__nav a {
  color: var(--petrol);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s var(--suave), color 0.2s var(--suave);
}
.topo__nav a:hover { background: rgba(15, 59, 63, 0.06); }
.topo__nav a.active { background: var(--petrol); color: var(--sand); }
.topo__nav a.active:hover { background: var(--noite); }
.topo__quem { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.badge {
  background: var(--amarelo);
  color: #3d2c00;
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  padding: 0 6px;
}
.menu-btn, .scrim { display: none; }
.main { width: min(1240px, 100%); margin: 0 auto; padding: 28px clamp(1.25rem, 4vw, 2.75rem) 72px; min-width: 0; }
.who { text-align: right; }
.who strong { display: block; font-size: 14px; font-weight: 600; }
.who span { display: block; color: var(--muted); font-size: 13px; }
.rotulo {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--verde-texto);
}
.pill {
  background: #efe7c8;
  color: #6a5310;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.page-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; margin: 8px 0 18px; }
.page-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 1.45rem + 2.1vw, 3rem); line-height: 1.08; margin: 0; letter-spacing: -0.015em; color: var(--petrol); }
.page-head .meta, .lede { color: var(--muted); margin: 6px 0 0; }
.preview-banner {
  background: #fff6d8;
  border: 1px solid #ead48a;
  color: #5c4810;
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.farol {
  display: flex;
  flex-direction: column;
  padding: 18px 32px 26px;
  overflow: hidden;
  border-radius: 28px;
  margin-bottom: 16px;
}
.farol-banner { display: flex; justify-content: center; margin: 0; }
.farol-banner img {
  display: block;
  width: min(600px, 100%);
  height: auto;
  filter: drop-shadow(0 16px 18px rgba(15, 59, 63, 0.16));
}
.farol-copy { padding: 8px 0 0; }
.login-farol {
  display: block;
  width: min(100%, 440px);
  height: auto;
  margin-top: 28px;
}
.farol.amarelo { background: #fbf6e3; border: 1px solid #ead7a2; }
.farol.verde { background: #eef6f0; border: 1px solid #c5e3d2; }
.farol.vermelho { background: #fbeeed; border: 1px solid #efcfcb; }

.signal {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(180deg, #1a464a 0%, #0e3033 38%, #0a2629 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -10px 16px rgba(0, 0, 0, 0.38),
    0 12px 24px rgba(15, 40, 42, 0.12);
}
.signal-vert {
  flex-direction: column;
  width: 86px;
  gap: 14px;
  padding: 16px 14px;
  border-radius: 43px;
}
.signal-horiz {
  flex-direction: row;
  width: max-content;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 43px;
  margin-top: 32px;
}
.login-hero .signal {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.07), transparent 46%),
    linear-gradient(180deg, #0c2c30 0%, #071c1f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -8px 14px rgba(0, 0, 0, 0.45),
    0 10px 22px rgba(0, 0, 0, 0.28);
}
.lens {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #1c3e42 0%, #10282b 46%, #081618 78%);
  box-shadow:
    inset 0 7px 10px rgba(0, 0, 0, 0.55),
    inset 0 -2px 3px rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(0, 0, 0, 0.35);
}
.lens.on {
  position: relative;
}
.lens.on::after {
  content: "";
  position: absolute;
  left: 18%;
  top: 14%;
  width: 38%;
  height: 28%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  filter: blur(0.4px);
}
.lens.amarelo.on {
  background: radial-gradient(circle at 36% 32%, #fff8d4 0%, #ffe38a 16%, #f6be3a 42%, #e39a12 70%, #c47c08 100%);
  box-shadow:
    0 0 0 7px rgba(240, 176, 42, 0.16),
    0 0 26px 10px rgba(236, 170, 36, 0.55),
    inset 0 -10px 14px rgba(150, 84, 0, 0.38),
    inset 0 8px 10px rgba(255, 255, 255, 0.55);
}
.lens.verde.on {
  background: radial-gradient(circle at 36% 32%, #e9ffe8 0%, #8ee7a4 16%, #3cbf72 46%, #1e9a58 72%, #127444 100%);
  box-shadow:
    0 0 0 7px rgba(62, 184, 112, 0.16),
    0 0 26px 10px rgba(46, 176, 104, 0.5),
    inset 0 -10px 14px rgba(8, 90, 48, 0.38),
    inset 0 8px 10px rgba(255, 255, 255, 0.5);
}
.lens.vermelho.on {
  background: radial-gradient(circle at 36% 32%, #ffe4e0 0%, #ff9a90 16%, #ef5d52 46%, #d13b34 72%, #a82824 100%);
  box-shadow:
    0 0 0 7px rgba(214, 72, 62, 0.16),
    0 0 26px 10px rgba(208, 64, 54, 0.5),
    inset 0 -10px 14px rgba(120, 24, 20, 0.4),
    inset 0 8px 10px rgba(255, 255, 255, 0.48);
}
.farol-copy { min-width: 0; }
.farol-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 650;
  color: #6d8478;
}
.farol-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(42px, 4.4vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.farol.amarelo .farol-title { color: #8d5f16; }
.farol.verde .farol-title { color: var(--verde-texto); }
.farol.vermelho .farol-title { color: #a33a3a; }
.status-orb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: none;
  position: relative;
}
.status-orb::after {
  content: "";
  position: absolute;
  left: 22%;
  top: 16%;
  width: 40%;
  height: 30%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}
.farol.amarelo .status-orb {
  background: radial-gradient(circle at 36% 32%, #fff6cc, #f0b423 55%, #d4920c);
  box-shadow: 0 0 0 5px rgba(232, 170, 36, 0.18), 0 0 14px 4px rgba(232, 168, 32, 0.65);
}
.farol.verde .status-orb {
  background: radial-gradient(circle at 36% 32%, #e7ffe4, #3cbf72 55%, #17884c);
  box-shadow: 0 0 0 5px rgba(46, 176, 104, 0.18), 0 0 14px 4px rgba(40, 168, 96, 0.6);
}
.farol.vermelho .status-orb {
  background: radial-gradient(circle at 36% 32%, #ffe8e4, #ef5c50 55%, #c4322c);
  box-shadow: 0 0 0 5px rgba(208, 64, 54, 0.18), 0 0 14px 4px rgba(200, 56, 48, 0.6);
}
.farol-headline {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #163e42;
}
.farol-body {
  margin: 0 0 16px;
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.55;
  color: #1d474b;
}
.farol-meta {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: #6d7f80;
  font-size: 14px;
  line-height: 1.4;
}
.farol-meta .lock { flex: none; margin-top: 2px; }

.grid-4, .grid-2, .stats { display: grid; gap: 12px; }
.grid-4, .stats { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: 1.15fr 0.85fr; margin-top: 12px; }
.panel { background: var(--paper); border: 1px solid var(--linha-suave); border-radius: var(--raio); padding: 1.25rem 1.375rem; box-shadow: var(--shadow); }
.panel h3 { margin: 0 0 12px; font-size: 16px; }
.indicator h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.verde { background: var(--mint); }
.dot.amarelo { background: var(--amarelo); }
.dot.vermelho { background: var(--vermelho); }
.indicator .title { font-weight: 700; margin: 0 0 4px; }
.indicator p { margin: 0; color: var(--muted); font-size: 14px; }

.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.list li, .doc-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.list li:last-child, .doc-row:last-child { border-bottom: 0; }
.when { color: var(--muted); font-size: 13px; }
.tag {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.tag.ok { background: #e5f6ee; color: var(--verde-texto); }
.tag.info { background: #e7eef0; color: var(--petrol); }
.tag.wait { background: #fff4d6; color: #8a5a00; }
.tag.bad { background: var(--vermelho); color: white; }
.linkish { font-weight: 700; text-decoration: none; }

.counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.count { padding: 16px 18px; }
.count b { display: block; font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1; }
.count span { color: var(--muted); font-size: 14px; }
.count.bad b { color: var(--vermelho); }

.drop {
  border: 1.5px dashed #c9b89a;
  border-radius: 20px;
  background: #fbf8f2;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.drop.over { background: #e8f7ef; border-color: var(--mint); }
.drop h2 { margin: 0 0 4px; font-size: 18px; }
.drop p { margin: 0; color: var(--muted); }
.section-label {
  margin: 22px 0 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.doc-row .name { font-weight: 700; }
.doc-row .meta { color: var(--muted); font-size: 13px; margin-top: 2px; }
.doc-row.late { background: #fdecec; margin: 0 -10px; padding: 10px; border-radius: 12px; border-bottom: 0; }
.doc-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

.stats .stat { padding: 16px 18px; min-height: 132px; }
.stat .label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.stat .money { font-family: var(--serif); font-size: 34px; letter-spacing: -0.03em; margin: 8px 0 4px; }
.stat .money small { font-size: 18px; }
.delta.up { color: #146b45; }
.delta.down { color: var(--vermelho); }
.stat .hint { color: var(--muted); font-size: 14px; margin: 6px 0 0; }

.chart-wrap { margin-top: 14px; }
.chart-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.legend { display: flex; gap: 14px; color: var(--muted); font-size: 13px; }
.swatch { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 6px; }
.swatch.in { background: var(--petrol); }
.swatch.out { background: #d9c7a4; }
.chart { width: 100%; height: auto; display: block; }
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 12px; margin-top: 12px; }
.expense { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-bottom: 10px; font-size: 14px; }
.bar { grid-column: 1 / -1; height: 7px; background: var(--sand-2); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--petrol); border-radius: 99px; }
.actions { margin: 0; padding-left: 18px; }
.actions li { margin: 0 0 8px; }
.actions li::marker { color: var(--mint); font-weight: 700; }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.step { padding: 14px; min-height: 170px; }
.step .num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--petrol); color: var(--sand);
  display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-bottom: 10px;
}
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 8px; border-bottom: 1px solid var(--line); }
td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.journey { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.journey div { background: var(--sand); border-radius: 14px; padding: 12px; }
.journey strong { display: block; }
.journey span { color: var(--muted); font-size: 13px; }
.commitments { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.commitments article h3 { margin: 0 0 6px; font-size: 16px; }
.commitments article p { margin: 0; color: var(--muted); font-size: 14px; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { text-decoration: none; padding: 8px 12px; border-radius: 999px; color: var(--muted); }
.tabs a.active { background: var(--petrol); color: var(--sand); }
.form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 650; }
label span, .hint { font-weight: 500; color: var(--muted); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 12px 14px;
  min-height: 48px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--mint-bright);
  box-shadow: 0 0 0 3px rgba(92, 199, 154, 0.25);
}
textarea { min-height: 90px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.radios { display: flex; gap: 8px; flex-wrap: wrap; }
.radios label { font-weight: 650; display: flex; align-items: center; gap: 6px; background: white; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.notice { background: #e8f7ef; color: #146b45; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
.empty { color: var(--muted); padding: 12px 0; }
.mail { white-space: pre-wrap; font-size: 13px; color: var(--muted); background: var(--sand); border-radius: 12px; padding: 10px; }

@media (max-width: 1100px) {
  .grid-4, .stats, .counts, .flow, .commitments { grid-template-columns: 1fr 1fr; }
  .journey { grid-template-columns: 1fr 1fr 1fr; }
  .split, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .login { grid-template-columns: 1fr; }
  .login-hero { min-height: auto; padding: 28px 22px 32px; }
  .login-hero h1 { font-size: 48px; }
  .topo { height: auto; min-height: 64px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .topo__nav {
    display: none;
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 4px;
  }
  .topo.open .topo__nav { display: flex; }
  .topo__quem .who { display: none; }
  .scrim { display: block; position: fixed; inset: 0; background: rgba(5, 24, 26, 0.4); z-index: 20; }
  .scrim[hidden] { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .topo__quem { margin-left: 0; }
  .main { padding: 16px 16px 48px; }
  .page-head { flex-direction: column; align-items: flex-start; }
  .grid-4, .stats, .counts, .flow, .commitments, .journey, .form-row, .form-row.three { grid-template-columns: 1fr; }
  .farol { padding: 12px 14px 18px; }
  .farol-banner img { width: 100%; }
  .farol-copy { padding: 8px 4px 0; }
  .farol-headline { font-size: 23px; }
  .farol-title { font-size: 40px; }
  .farol-kicker { letter-spacing: 0.08em; font-size: 11px; }
  .signal-horiz { margin-top: 22px; }
  .drop { flex-direction: column; align-items: flex-start; }
  .doc-row { flex-direction: column; align-items: flex-start; }
  .doc-actions { justify-content: flex-start; }
}
