/* Agitos Móveis — cores tiradas da fachada: azul royal + amarelo */
:root {
  --blue: #2b36a6;
  --blue-deep: #161c5c;
  --blue-soft: #e9ebf8;
  --yellow: #f7c815;
  --yellow-soft: #fff6d1;
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #181b2c;
  --muted: #5e6274;
  --line: #e3e0d6;
  --wa: #1c9e50;
  --wa-dark: #157a3d;
  --danger: #b4232c;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(22, 28, 92, 0.06), 0 8px 24px -12px rgba(22, 28, 92, 0.18);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1, h2 { font-stretch: 112%; font-weight: 800; }
p { margin: 0 0 1em; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 46px; padding: 0 1.25em;
  border: 0; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 38px; padding: 0 1em; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-yellow { background: var(--yellow); color: var(--blue-deep); }
.btn-yellow:hover { background: #ffd83d; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn-ghost-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-danger { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 1.5px #efc9cc; }
.btn-danger:hover { background: #fdf1f2; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- cabeçalho ---------- */
#site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 0 var(--yellow);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-name { font-stretch: 125%; font-weight: 800; font-size: 1.32rem; letter-spacing: 0.06em; color: #fff; }
.brand-name b { color: var(--yellow); font-weight: 800; }
.brand-tag { font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase; opacity: 0.8; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.95rem;
  color: rgba(255,255,255,.85);
}
.nav a:not(.btn):hover, .nav a.is-active { color: #fff; background: rgba(255,255,255,.12); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; font-size: 1.4rem; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px;
    background: var(--blue); border-bottom: 2px solid var(--yellow);
  }
  .nav-open .nav { display: flex; }
  .nav a:not(.btn) { padding: 12px 14px; border-radius: 10px; }
  .nav .btn { margin: 8px 0 0; }
  .brand-name { font-size: 1.12rem; }
}

/* ---------- hero ---------- */
.hero { background: var(--blue); color: #fff; overflow: hidden; position: relative; }
.hero-grid { display: grid; gap: 32px; padding-top: 44px; padding-bottom: 56px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; padding-top: 72px; padding-bottom: 84px; gap: 56px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.hero .eyebrow { color: var(--yellow); }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); margin: 14px 0 18px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p.lead { font-size: 1.12rem; color: rgba(255,255,255,.82); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.55);
}
.hero-photo figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--yellow); color: var(--blue-deep);
  font-weight: 700; font-size: 0.85rem; padding: 7px 12px; border-radius: 999px;
  display: inline-flex; gap: 6px; align-items: center;
}
.hero-stripe { height: 10px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--blue-deep) 14px 28px); }

/* ---------- faixa de benefícios ---------- */
.perks { display: grid; gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .perks { grid-template-columns: repeat(3, 1fr); } }
.perk { background: var(--surface); padding: 20px 16px; display: flex; gap: 14px; align-items: flex-start; }
@media (min-width: 720px) { .perk { padding: 24px 28px; } }
.perk-num {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--yellow-soft); color: var(--blue); font-weight: 800;
}
.perk strong { display: block; margin-bottom: 2px; }
.perk span { color: var(--muted); font-size: 0.93rem; }

/* ---------- seções ---------- */
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 80px 0; } }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 6px 0 0; }
.section .eyebrow { color: var(--blue); }

/* ---------- filtros ---------- */
.filters { display: grid; gap: 14px; margin-bottom: 26px; }
.search {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 0 18px; min-height: 50px;
  max-width: 460px;
}
.search:focus-within { border-color: var(--blue); }
.search input { border: 0; outline: 0; font: inherit; flex: 1; background: transparent; min-width: 0; }
.search .ico { color: var(--muted); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chip {
  flex: none; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  padding: 8px 14px; border-radius: 999px; font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.chip:hover { border-color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip small { opacity: 0.65; margin-left: 4px; font-weight: 500; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }

/* ---------- cards de produto ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
@media (min-width: 720px) { .grid { gap: 22px; } }
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(22,28,92,.06), 0 16px 32px -14px rgba(22,28,92,.3); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--blue-soft); cursor: pointer; border: 0; padding: 0; width: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .count {
  position: absolute; right: 10px; bottom: 10px; background: rgba(22,28,92,.78); color: #fff;
  font-size: 0.75rem; font-weight: 600; padding: 3px 8px; border-radius: 999px;
}
.badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 4px 9px; border-radius: 999px; background: #fff; color: var(--ink);
}
.badge-new { background: var(--yellow); color: var(--blue-deep); }
.badge-sold { background: var(--ink); color: #fff; }
.badge-reserved { background: #ffe9c2; color: #7a4a00; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.card-title { font-size: 1.04rem; font-weight: 700; margin: 0; }
.card-title button { all: unset; cursor: pointer; }
.card-title button:hover { text-decoration: underline; }
.card-meta { font-size: 0.86rem; color: var(--muted); }
.card-price { font-size: 1.35rem; font-weight: 800; font-stretch: 110%; color: var(--ink); margin-top: auto; padding-top: 6px; }
.card-price small { font-size: 0.75rem; font-weight: 600; color: var(--muted); display: block; font-stretch: 100%; }
.card .btn { margin-top: 8px; }
.card.is-sold .card-media img { filter: grayscale(0.85) opacity(0.7); }
.card.is-sold .card-price { color: var(--muted); text-decoration: line-through; }
.empty {
  text-align: center; padding: 48px 16px; background: var(--surface); border-radius: var(--radius);
  border: 1.5px dashed var(--line); color: var(--muted);
}
.skeleton { background: linear-gradient(90deg, #ece9e1 25%, #f5f3ee 50%, #ece9e1 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--radius); min-height: 340px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- modal do produto ---------- */
.modal {
  position: fixed; inset: 0; z-index: 60; display: none;
  background: rgba(14, 17, 48, 0.62); padding: 16px; overflow-y: auto;
}
.modal.is-open { display: grid; place-items: center; }
.modal-box {
  background: var(--surface); border-radius: 18px; width: 100%; max-width: 980px;
  display: grid; overflow: hidden; position: relative;
}
@media (min-width: 820px) { .modal-box { grid-template-columns: 1.15fr 1fr; } }
.modal-close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow); font-size: 1.1rem;
}
.gallery { background: #111; display: flex; flex-direction: column; }
.gallery-main { aspect-ratio: 4 / 3; width: 100%; object-fit: contain; background: #111; }
.gallery-thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; background: #111; }
.gallery-thumbs button { flex: none; width: 64px; height: 48px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; opacity: .6; }
.gallery-thumbs button.is-active { border-color: var(--yellow); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 820px) { .modal-info { padding: 34px 32px; } }
.modal-info h2 { font-size: 1.6rem; margin: 0; font-stretch: 105%; }
.modal-price { font-size: 2rem; font-weight: 800; font-stretch: 110%; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 4px 0; font-size: 0.95rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.modal-note { font-size: 0.86rem; color: var(--muted); background: var(--bg); padding: 10px 12px; border-radius: var(--radius-sm); }

/* ---------- faixa "venda seu móvel" ---------- */
.sell-band { background: var(--yellow); color: var(--blue-deep); }
.sell-band .wrap { display: grid; gap: 24px; padding-top: 48px; padding-bottom: 48px; align-items: center; }
@media (min-width: 900px) { .sell-band .wrap { grid-template-columns: 1.3fr 1fr; padding-top: 64px; padding-bottom: 64px; } }
.sell-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.sell-band p { font-size: 1.08rem; max-width: 36em; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: s; }
.steps li {
  counter-increment: s; background: rgba(255,255,255,.55); border-radius: var(--radius-sm);
  padding: 12px 14px 12px 52px; position: relative; font-weight: 600;
}
.steps li::before {
  content: counter(s); position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--blue-deep); color: var(--yellow);
  display: grid; place-items: center; font-weight: 800; font-size: 0.9rem;
}
.steps li span { display: block; font-weight: 400; font-size: 0.9rem; opacity: 0.85; }

/* ---------- a loja ---------- */
.store-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .store-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.store-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.store-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); aspect-ratio: 4/3; }
.store-photos img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.info-list { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 12px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list .ico { color: var(--blue); margin-top: 3px; }
.map { width: 100%; height: 280px; border: 0; border-radius: var(--radius); background: var(--blue-soft); }

/* ---------- rodapé ---------- */
#site-footer { background: var(--blue-deep); color: #fff; padding-top: 48px; }
.footer-grid { display: grid; gap: 28px; padding-bottom: 32px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
#site-footer h4 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.muted-light { color: rgba(255,255,255,.7); margin-top: 12px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.95rem; color: rgba(255,255,255,.85); }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--yellow); }
.footer-list li { display: flex; gap: 8px; align-items: flex-start; overflow-wrap: anywhere; }
.footer-list .ico { margin-top: 3px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: 24px;
  font-size: 0.85rem; color: rgba(255,255,255,.6);
}
.footer-bottom a { color: rgba(255,255,255,.6); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px -6px rgba(0,0,0,.35); font-size: 1.7rem;
}
.wa-float:hover { background: var(--wa-dark); }

/* ---------- formulários ---------- */
.form-card { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 22px 18px; }
@media (min-width: 720px) { .form-card { padding: 34px 36px; } }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 0.92rem; }
.field .hint { font-size: 0.82rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; color: inherit; width: 100%;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 11px 13px; background: #fff; min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.req { color: var(--danger); }
.form-section-title { font-size: 1.05rem; margin: 10px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.form-section-title:first-child { border: 0; padding-top: 0; margin-top: 0; }

.photo-drop {
  border: 2px dashed #c9c5b8; border-radius: var(--radius); padding: 22px 16px; text-align: center;
  background: var(--bg); cursor: pointer; display: grid; gap: 6px; justify-items: center; color: var(--muted);
}
.photo-drop:hover, .photo-drop.is-over { border-color: var(--blue); background: var(--blue-soft); }
.photo-drop .ico { font-size: 2rem; color: var(--blue); }
.photo-drop strong { color: var(--ink); }
.photo-drop input { display: none; }
.photo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 12px; }
.photo-list:empty { display: none; }
.photo-item { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--blue-soft); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-item button {
  position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.65); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: .85rem;
}
.photo-item .cover {
  position: absolute; left: 4px; bottom: 4px; font-size: 0.68rem; font-weight: 700;
  background: var(--yellow); color: var(--blue-deep); padding: 2px 6px; border-radius: 999px;
}

/* ---------- página vender ---------- */
.page-hero { background: var(--blue); color: #fff; padding: 44px 0 90px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 10px 0 12px; }
.page-hero h1 em { font-style: normal; color: var(--yellow); }
.page-hero p { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 40em; }
.page-hero .eyebrow { color: var(--yellow); }
.lift { margin-top: -60px; position: relative; }
.sell-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 980px) { .sell-layout { grid-template-columns: 1fr 340px; } }
.aside-card { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; }
.aside-card h3 { font-size: 1.1rem; }
.aside-card .steps li { background: var(--bg); }
.aside-card .steps li::before { background: var(--blue); color: #fff; }
.success { text-align: center; padding: 30px 10px; display: grid; gap: 10px; justify-items: center; }
.success-icon {
  width: 68px; height: 68px; border-radius: 50%; background: var(--yellow); color: var(--blue-deep);
  display: grid; place-items: center; font-size: 2rem; font-weight: 800;
}

/* ---------- avisos ---------- */
.demo-banner {
  background: var(--yellow-soft); color: #6b5300; border-bottom: 1px solid #f0dc8a;
  font-size: 0.85rem; text-align: center; padding: 8px 16px;
}
.toast-box { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; width: min(92vw, 420px); }
.toast { padding: 12px 16px; border-radius: 12px; color: #fff; background: var(--ink); box-shadow: var(--shadow); font-weight: 600; font-size: .94rem; animation: up .2s ease-out; }
.toast-ok { background: #1d6b3a; }
.toast-error { background: var(--danger); }
@keyframes up { from { transform: translateY(10px); opacity: 0; } }

/* ---------- painel ---------- */
.admin-body { background: #eef0f6; }
.admin-top { background: var(--blue-deep); color: #fff; }
.admin-top .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.admin-top .brand-name { font-size: 1.05rem; }
.admin-tabs { display: flex; gap: 4px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.admin-tabs .wrap { display: flex; gap: 4px; overflow-x: auto; }
.tab {
  border: 0; background: none; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer;
  padding: 16px 14px; border-bottom: 3px solid transparent; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center;
}
.tab.is-active { color: var(--blue); border-color: var(--blue); }
.tab .pill { background: var(--yellow); color: var(--blue-deep); border-radius: 999px; padding: 1px 8px; font-size: .78rem; }
.admin-main { padding: 24px 0 80px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.toolbar h2 { margin: 0; font-size: 1.4rem; font-stretch: 105%; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 18px; }
.stat { background: var(--surface); border-radius: var(--radius-sm); padding: 12px 14px; }
.stat b { display: block; font-size: 1.5rem; font-stretch: 110%; }
.stat span { font-size: .82rem; color: var(--muted); }

.rows { display: grid; gap: 10px; }
.row {
  background: var(--surface); border-radius: var(--radius); padding: 12px; display: grid;
  grid-template-columns: 84px 1fr; gap: 12px 14px; align-items: center;
}
@media (min-width: 820px) { .row { grid-template-columns: 96px 1fr auto; } }
.row-thumb { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); background: var(--blue-soft); }
.row h3 { font-size: 1rem; margin: 0 0 2px; }
.row-meta { font-size: .86rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; grid-column: 1 / -1; }
@media (min-width: 820px) { .row-actions { grid-column: auto; justify-content: flex-end; } }
.row-actions select { font: inherit; font-size: .9rem; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 12px; min-height: 38px; background: #fff; }

.proposal { background: var(--surface); border-radius: var(--radius); padding: 18px; display: grid; gap: 14px; }
.proposal-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: flex-start; }
.proposal-head h3 { margin: 0; font-size: 1.08rem; }
.proposal-photos { display: flex; gap: 8px; overflow-x: auto; }
.proposal-photos a { flex: none; }
.proposal-photos img { width: 110px; height: 110px; object-fit: cover; border-radius: var(--radius-sm); }
.proposal-desc { white-space: pre-wrap; margin: 0; }
.quote-box { display: grid; gap: 10px; background: var(--bg); border-radius: var(--radius-sm); padding: 14px; }
@media (min-width: 720px) { .quote-box { grid-template-columns: 180px 1fr auto; align-items: end; } }
.status { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); }
.status-nova { background: var(--yellow); color: var(--blue-deep); }
.status-orcamento { background: #dff3e6; color: #1d6b3a; }
.status-comprado { background: var(--ink); color: #fff; }
.status-recusado { background: #f3e1e2; color: var(--danger); }

.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: var(--blue); }
.login-card { background: var(--surface); border-radius: 18px; padding: 30px 24px; width: 100%; max-width: 380px; display: grid; gap: 16px; }
.login-card .brand-name { color: var(--blue-deep); }
.login-card .brand-name b { color: var(--blue); }
.login-card .brand-tag { color: var(--muted); }

.drawer {
  position: fixed; inset: 0; z-index: 70; background: rgba(14,17,48,.55); display: none; justify-content: flex-end;
}
.drawer.is-open { display: flex; }
.drawer-panel { background: var(--bg); width: 100%; max-width: 620px; height: 100%; overflow-y: auto; display: flex; flex-direction: column; }
.drawer-head { position: sticky; top: 0; z-index: 2; background: var(--surface); border-bottom: 1px solid var(--line); padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; }
.drawer-head h2 { margin: 0; font-size: 1.2rem; }
.drawer-body { padding: 18px; flex: 1; }
.drawer-foot { position: sticky; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); padding: 12px 18px; display: flex; gap: 10px; }
.drawer-foot .btn { flex: 1; }
.icon-btn { border: 0; background: none; cursor: pointer; padding: 8px; font-size: 1.2rem; color: var(--ink); border-radius: 50%; display: grid; place-items: center; }
.icon-btn:hover { background: var(--bg); }
.filter-row .search { flex: 1 1 280px; }
.card-media { display: block; overflow: hidden; }
.card-media img { position: absolute; inset: 0; }
