/* Paleta fornecida pelo usuário, registrada em docs/BRAND.md. */
:root {
  --color-background: #000000;
  --color-surface: #111111;
  --color-gold: #d9a321;
  --color-gold-light: #f7d45b;
  --color-gold-dark: #ac700d;
  --color-champagne: #f7e6ae;
  --color-text: #f8f7f3;
  --color-text-muted: #b8b8b8;
  --color-border: #353129;
  --color-input: #191919;
  --color-error: #ffaca5;
  --color-action: var(--color-gold);
  --color-muted: var(--color-text-muted);
  --radius: 8px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --texture-architecture: url('/textuas/ARQUITETURA.webp');
  --texture-geometric: url('/textuas/GEOMETRICO.webp');
  color-scheme: dark;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/fonts/work-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--color-background);
  color: var(--color-text);
  font:
    400 16px/1.65 'Work Sans',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.3em;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
}
h2 {
  font-size: clamp(2rem, 3.3vw, 3.5rem);
}
h3 {
  font-size: 1.4rem;
}
p {
  max-width: 68ch;
}
em {
  font-style: normal;
  color: var(--color-champagne);
}
.container {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}
.section {
  padding: 104px 0;
}
.muted {
  color: var(--color-text-muted);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 42px;
}
.section-heading h2 {
  margin-bottom: 12px;
}
.section-heading p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}
.not-found {
  min-height: 70svh;
  padding-block: 100px;
}
.not-found h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 14px 20px;
  background: var(--color-gold);
  color: var(--color-background);
  z-index: 400;
}
.skip-link:focus {
  top: 12px;
}
:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 5px;
}
::selection {
  background: var(--color-gold);
  color: var(--color-background);
}
input,
textarea {
  caret-color: var(--color-gold);
}
@media (max-width: 900px) {
  .container {
    width: calc(100% - 48px);
  }
  .section {
    padding: 76px 0;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
  }
  .section {
    padding: 64px 0;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
  }
}

/* Texturas como luz ambiente: bordas dissolvidas, centro controlado e leitura limpa. */
:is(
  .featured,
  .lifestyles,
  .home-about,
  .footer,
  .listing-section,
  .contact-card,
  .dash-main,
  .login-content
) {
  position: relative;
  isolation: isolate;
}
:is(
  .featured,
  .lifestyles,
  .home-about,
  .footer,
  .listing-section,
  .contact-card,
  .dash-main,
  .login-content
)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background-image:
    linear-gradient(to bottom, #000, transparent 20%, transparent 76%, #000),
    radial-gradient(ellipse at 50% 48%, transparent 10%, #000 100%),
    var(--surface-image, var(--texture-geometric));
  background-position: center;
  background-size: cover;
  opacity: var(--surface-opacity, 0.16);
}
.dash-main {
  --surface-image: var(--texture-geometric);
  --surface-opacity: 0.1;
}
@media (max-width: 700px) {
  :is(.featured, .lifestyles, .home-about, .footer, .listing-section)::before {
    background-size:
      auto,
      auto,
      auto 1050px;
    background-repeat: no-repeat, no-repeat, repeat-y;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  background: transparent;
  color: var(--color-text);
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 120ms var(--ease-out);
}
.btn-primary,
.btn-gold {
  background: var(--color-gold);
  color: var(--color-background);
}
.btn-primary:hover,
.btn-gold:hover {
  background: var(--color-gold-light);
}
.btn-ghost,
.btn-whatsapp,
.btn-outline-light {
  border-color: var(--color-border);
}
.btn-ghost:hover,
.btn-whatsapp:hover,
.btn-outline-light:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-light);
}
.btn-lg {
  min-height: 54px;
}
.btn-full {
  width: 100%;
}
.btn:active {
  transform: scale(0.98);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-gold-light);
  font-weight: 500;
}
.text-link:hover {
  text-decoration: underline;
}
.lead-form {
  display: grid;
  gap: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  font-size: 0.875rem;
  color: var(--color-text);
}
.form-field input,
.form-field textarea,
.form-field select,
.input-icon input {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-input);
  color: var(--color-text);
  padding: 12px 14px;
  min-height: 48px;
}
input::placeholder,
textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 1;
}
.form-field textarea {
  resize: vertical;
}
.form-field :is(input, select, textarea):focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field.wide {
  grid-column: 1/-1;
}
.form-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.input-icon {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon > svg {
  position: absolute;
  left: 14px;
  width: 18px;
  color: var(--color-text-muted);
  pointer-events: none;
}
.input-icon input {
  padding-left: 42px;
}
.eye-button {
  position: absolute;
  right: 3px;
  border: 0;
  background: transparent;
  color: var(--color-text-muted);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.clear-link {
  border: 0;
  background: transparent;
  color: var(--color-gold-light);
  padding: 8px;
  min-height: 44px;
}
.error-block {
  padding: 24px;
  background: var(--color-surface);
  color: var(--color-error);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.error-block a {
  text-decoration: underline;
}
#toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  max-width: min(420px, calc(100vw - 40px));
  border: 1px solid var(--color-gold-dark);
  border-radius: var(--radius);
  padding: 16px 22px;
  background: var(--color-surface);
  color: var(--color-text);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms var(--ease-out);
}
#toast.show {
  opacity: 1;
  transform: none;
}
#toast.error {
  color: var(--color-error);
}
@media (max-width: 600px) {
  .field-grid {
    grid-template-columns: 1fr;
  }
  #toast {
    right: 20px;
    bottom: 88px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--color-background);
}
.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.brand {
  display: block;
  flex: none;
  width: 245px;
}
.brand-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.main-nav a {
  position: relative;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  padding-block: 14px;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--color-gold-light);
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 2px;
  left: 0;
  bottom: 5px;
  background: var(--color-gold);
}
.header-cta {
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  place-items: center;
}
.floating-wa {
  position: fixed;
  z-index: 90;
  bottom: 24px;
  right: 24px;
  background: var(--color-gold);
  color: var(--color-background);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 160ms var(--ease-out);
}
.floating-wa:hover {
  transform: translateY(-3px);
  background: var(--color-gold-light);
}
.footer {
  padding: 72px 0 0;
  --surface-image: var(--texture-geometric);
  --surface-opacity: 0.14;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
}
.footer-grid p {
  color: var(--color-text-muted);
  max-width: 32ch;
}
.footer-logo {
  width: 260px;
  margin-bottom: 24px;
}
.footer h2 {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 24px;
}
.footer-grid a,
.footer-grid > div > span {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--color-text-muted);
}
.footer-grid a:hover {
  color: var(--color-gold-light);
}
.footer-grid small {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}
.footer-signature {
  width: min(760px, 80%);
  margin: 64px auto 48px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.demo-note {
  font-size: 0.8125rem;
  color: var(--color-champagne);
  max-width: 72ch;
}
@media (max-width: 360px) {
  .site-header .brand {
    width: 190px;
  }
  .site-header .header-inner {
    gap: 16px;
  }
}
@media (max-width: 1100px) {
  .header-inner {
    gap: 24px;
  }
  .brand {
    width: 215px;
  }
  .main-nav {
    gap: 22px;
  }
  .header-cta {
    display: none;
  }
}
@media (max-width: 700px) {
  .header-inner {
    min-height: 82px;
  }
  .brand {
    width: 210px;
  }
  .menu-toggle {
    display: grid;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    padding: 22px 24px;
    align-items: stretch;
    gap: 8px;
  }
  .main-nav.open {
    display: flex;
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-signature {
    width: 100%;
    margin-block: 40px;
  }
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }
  .floating-wa {
    right: 20px;
    bottom: 20px;
  }
}

.home-hero {
  position: relative;
  min-height: min(780px, calc(100svh - 96px));
  isolation: isolate;
  overflow: hidden;
  background: var(--color-background);
}
.home-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  z-index: -2;
  mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 72%, transparent);
}
.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 65% 35%, transparent 20%, rgba(0, 0, 0, 0.5)),
    linear-gradient(transparent 40%, rgba(0, 0, 0, 0.82));
}
.hero-content {
  min-height: inherit;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  padding-block: 64px;
}
.hero-content h1 {
  font-size: clamp(3rem, 5.9vw, 6rem);
  font-weight: 300;
  max-width: 12ch;
  margin-bottom: 22px;
}
.hero-content p {
  color: var(--color-text);
  font-size: 1.0625rem;
  margin-bottom: 0;
}
.hero-content .btn {
  flex: none;
  margin-bottom: 6px;
}
.home-search {
  padding-block: 28px 52px;
  background: var(--color-background);
}
.search-panel {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 24px;
  align-items: end;
}
.featured {
  --surface-image: var(--texture-architecture);
  --surface-opacity: 0.48;
}
.home-empty {
  min-height: 240px;
  padding-block: 36px;
}
.lifestyles {
  --surface-image: var(--texture-geometric);
  --surface-opacity: 0.2;
}
.lifestyle-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 24px;
}
.lifestyle {
  position: relative;
  display: flex;
  align-items: end;
  padding: 32px;
  isolation: isolate;
  overflow: hidden;
  border-radius: 12px;
  background: var(--color-surface);
}
.lifestyle:first-child {
  grid-row: 1/3;
}
.lifestyle img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.lifestyle::after {
  content: '';
  position: absolute;
  inset: 40% 0 0;
  z-index: -1;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}
.lifestyle:hover img {
  transform: scale(1.035);
}
.lifestyle h3 {
  font-size: 2rem;
  margin-bottom: 8px;
}
.lifestyle span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-champagne);
}
.home-about {
  --surface-image: var(--texture-architecture);
  --surface-opacity: 0.28;
}
.home-about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.home-about-photo {
  width: 100%;
  height: 600px;
  object-fit: cover;
  mask-image:
    linear-gradient(to right, #000 70%, transparent),
    linear-gradient(to bottom, transparent, #000 10%, #000 85%, transparent);
  mask-composite: intersect;
}
.home-about-copy h2 {
  max-width: 15ch;
}
.home-about-copy p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.home-about-copy .text-link {
  margin-top: 12px;
}
.contact-section {
  position: relative;
  isolation: isolate;
  padding: 88px 0;
  min-height: 800px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.contact-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 75%, transparent);
}
.contact-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 35% 50%, transparent, rgba(0, 0, 0, 0.78));
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 500px);
  gap: 80px;
  align-items: end;
}
.contact-copy {
  padding-bottom: 20px;
}
.contact-copy p {
  max-width: 26ch;
  font-size: clamp(1.5rem, 2.3vw, 2.3rem);
  line-height: 1.35;
}
.contact-card {
  padding: 36px;
  background: rgba(17, 17, 17, 0.96);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  --surface-image: var(--texture-geometric);
  --surface-opacity: 0.1;
}
.contact-card h2 {
  font-size: 2.5rem;
}
.contact-card > p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
}
.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-gold-light);
  margin-top: 20px;
}
@media (max-width: 360px) {
  .home-hero .hero-content h1 {
    font-size: 2.35rem;
  }
}
@media (max-width: 1000px) {
  .hero-content {
    flex-direction: column;
    align-items: start;
    justify-content: end;
  }
  .hero-content h1 {
    font-size: clamp(3rem, 7vw, 4.5rem);
    max-width: none;
  }
  .search-panel {
    grid-template-columns: 1fr 1fr;
  }
  .home-about-grid,
  .contact-grid {
    gap: 40px;
  }
  .home-about-photo {
    height: 520px;
  }
}
@media (max-width: 420px) {
  .home-search .search-panel {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .home-hero {
    min-height: 660px;
  }
  .home-hero > img {
    object-position: 60% center;
  }
  .hero-content {
    align-items: start;
    justify-content: end;
    flex-direction: column;
    padding-block: 38px;
    gap: 28px;
  }
  .hero-content h1 {
    font-size: clamp(2.7rem, 9vw, 4rem);
    max-width: 12ch;
  }
  .hero-content p {
    font-size: 1rem;
    max-width: 25ch;
  }
  .home-search {
    padding-block: 28px;
  }
  .search-panel {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .search-panel .form-field:first-child {
    grid-column: 1/-1;
  }
  .search-panel .btn {
    grid-column: 1/-1;
  }
  .lifestyle-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 420px 280px 280px;
    gap: 20px;
  }
  .lifestyle:first-child {
    grid-row: auto;
  }
  .lifestyle {
    padding: 24px;
  }
  .lifestyle h3 {
    font-size: 1.75rem;
  }
  .home-about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .home-about-photo {
    height: 420px;
  }
  .home-about-copy h2 {
    max-width: 17ch;
  }
  .contact-section {
    padding-block: 48px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-card {
    padding: 26px;
  }
  .contact-card h2 {
    font-size: 2rem;
  }
  .contact-copy p {
    font-size: 1.5rem;
  }
  .contact-copy {
    padding: 0;
  }
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 24px;
}
.property-card {
  position: relative;
  min-width: 0;
  background: #10100f;
  border-radius: 12px;
  overflow: hidden;
}
.property-card-image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-surface);
}
.property-card-image::after {
  content: '';
  position: absolute;
  inset: 65% 0 -1px;
  background: linear-gradient(transparent, #10100f);
  pointer-events: none;
}
.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.property-card:hover .property-card-image img {
  transform: scale(1.035);
}
.pill {
  position: absolute;
  z-index: 1;
  bottom: 14px;
  left: 22px;
  color: var(--color-champagne);
  font-size: 0.8125rem;
}
.favorite {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--color-background);
  color: var(--color-text);
  border: 0;
  border-radius: 50%;
}
.favorite.selected {
  background: var(--color-gold);
  color: var(--color-background);
}
.favorite.selected svg {
  fill: currentColor;
}
.property-card-body {
  padding: 16px 24px 26px;
}
.location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 10px;
}
.location svg {
  color: var(--color-gold);
  flex: none;
}
.property-title {
  display: block;
  font-size: 1.4rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.property-title:hover {
  color: var(--color-gold-light);
}
.features {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}
.features span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.property-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}
.property-card-bottom strong {
  font-size: 1.4rem;
  color: var(--color-champagne);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.arrow-mini {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--color-gold);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  flex: none;
}
.demo-label {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  margin-top: 8px;
}
.demo-banner {
  padding: 14px 18px;
  background: var(--color-surface);
  color: var(--color-champagne);
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
  margin-bottom: 28px;
  border-radius: var(--radius);
}
@media (max-width: 1000px) {
  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .property-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .property-title {
    font-size: 1.4rem;
  }
}

.listing-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(to top, #000, transparent 45%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.25)),
    url('/imagens/02-hero-imoveis-fachada-premium.webp') center 58% / cover;
}
.listing-hero-content {
  padding-block: 64px;
}
.listing-hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  margin-bottom: 20px;
}
.listing-hero p {
  color: var(--color-text);
  max-width: 42ch;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.breadcrumbs svg {
  transform: rotate(180deg);
  width: 12px;
}
.breadcrumbs a:hover {
  color: var(--color-gold-light);
}
.listing-section {
  --surface-image: var(--texture-geometric);
  --surface-opacity: 0.16;
}
.listing-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
}
.filter-card {
  align-self: start;
  padding: 24px;
  background: var(--color-surface);
  border-radius: var(--radius);
  position: sticky;
  top: 120px;
}
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.filter-header h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  margin: 0;
  letter-spacing: -0.02em;
}
.filter-header svg {
  color: var(--color-gold);
}
.filter-card form {
  display: grid;
  gap: 18px;
}
.filter-help {
  margin-top: 32px;
  color: var(--color-text-muted);
}
.filter-help > svg {
  color: var(--color-gold);
  margin-bottom: 18px;
}
.filter-help h3 {
  color: var(--color-text);
  font-size: 1.1rem;
}
.filter-help p {
  font-size: 0.875rem;
}
.filter-help a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--color-gold-light);
  font-size: 0.875rem;
}
.listing-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 32px;
}
.listing-toolbar h2 {
  font-size: 1.8rem;
  margin: 0;
}
.listing-toolbar small {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}
.sort-label {
  display: grid;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.sort-label select {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 10px;
  background: var(--color-surface);
  color: var(--color-text);
  min-height: 44px;
}
.listing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.empty-results {
  grid-column: 1/-1;
  padding: 60px 24px;
  text-align: center;
  background: var(--color-surface);
  border-radius: var(--radius);
}
.empty-results > svg {
  color: var(--color-gold);
  margin: 0 auto 24px;
}
.empty-results p {
  margin-inline: auto;
  color: var(--color-text-muted);
}
.results-foot {
  margin-top: 48px;
  color: var(--color-text-muted);
}
.results-foot a {
  color: var(--color-gold-light);
}
@media (max-width: 1000px) {
  .listing-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }
  .filter-card {
    padding: 20px;
  }
  .listing-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .listing-layout {
    grid-template-columns: 1fr;
  }
  .filter-card {
    position: static;
  }
  .filter-card form {
    grid-template-columns: 1fr 1fr;
  }
  .filter-card form > button {
    grid-column: 1/-1;
  }
  .filter-help {
    display: none;
  }
  .listing-toolbar {
    flex-direction: column;
  }
  .sort-label {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .listing-hero {
    min-height: 300px;
  }
  .listing-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 360px) {
  .filter-card form {
    grid-template-columns: 1fr;
  }
}

.detail-wrap {
  padding-block: 40px 88px;
}
.detail-titlebar {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-block: 32px;
}
.detail-titlebar h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  margin-bottom: 18px;
}
.detail-titlebar p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
  margin: 0;
}
.detail-titlebar p svg {
  color: var(--color-gold);
  flex: none;
}
.detail-title-actions {
  display: flex;
  gap: 12px;
  flex: none;
}
.detail-gallery {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 18px;
  height: 540px;
}
.gallery-main,
.gallery-thumb {
  border: 0;
  padding: 0;
  background: var(--color-surface);
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.gallery-main img,
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-main > span {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--color-background);
  color: var(--color-text);
  font-size: 0.875rem;
  border-radius: 4px;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  min-height: 0;
}
.gallery-thumb:focus-visible {
  outline-offset: -4px;
}
.detail-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 64px;
  margin-top: 44px;
  align-items: start;
}
.feature-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px;
  background: var(--color-surface);
  border-radius: var(--radius);
  margin-bottom: 42px;
}
.feature-ribbon > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-ribbon svg {
  color: var(--color-gold);
  margin-bottom: 6px;
}
.feature-ribbon strong {
  font-weight: 500;
  font-size: 1.3rem;
}
.feature-ribbon small {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}
.detail-section {
  margin-bottom: 42px;
}
.detail-section h2 {
  font-size: 1.75rem;
  margin-bottom: 24px;
}
.detail-description {
  color: var(--color-text-muted);
  white-space: normal;
}
.location-summary {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--color-surface);
  padding: 24px;
  border-radius: var(--radius);
}
.location-summary > svg {
  color: var(--color-gold);
  flex: none;
}
.location-summary span {
  display: block;
  margin-top: 8px;
  color: var(--color-text-muted);
}
.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  list-style: none;
}
.amenities li {
  padding: 10px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-champagne);
}
.detail-disclaimer {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.detail-side {
  position: sticky;
  top: 120px;
}
.inquiry-card {
  padding: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.price-label {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 12px;
}
.inquiry-card h2 {
  font-size: 2rem;
  color: var(--color-champagne);
  font-weight: 500;
}
.inquiry-card .btn {
  margin-top: 14px;
}
.inquiry-signature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 24px;
}
.photo-viewer {
  width: min(1280px, calc(100vw - 32px));
  padding: 20px;
  max-height: calc(100dvh - 32px);
}
.photo-viewer-image {
  max-height: 75dvh;
  width: 100%;
  object-fit: contain;
}
.photo-viewer-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
}
@media (max-width: 1000px) {
  .detail-gallery {
    height: 420px;
  }
  .detail-columns {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .detail-titlebar {
    align-items: start;
    flex-direction: column;
  }
}
@media (max-width: 700px) {
  .detail-gallery {
    grid-template-columns: 1fr;
    height: auto;
    gap: 12px;
  }
  .gallery-main {
    height: 310px;
  }
  .gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    height: 90px;
  }
  .detail-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .detail-side {
    position: static;
  }
  .feature-ribbon {
    padding: 22px;
    gap: 18px;
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-title-actions {
    flex-wrap: wrap;
  }
  .detail-titlebar h1 {
    font-size: 2.2rem;
  }
  .detail-titlebar p {
    font-size: 0.9375rem;
  }
  .location-summary {
    padding: 22px;
    align-items: start;
  }
}

.modal,
dialog {
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  width: min(560px, calc(100vw - 32px));
  padding: 32px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
}
.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.modal-head h2 {
  font-size: 1.75rem;
  margin: 0;
}
.modal-head button {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: transparent;
  color: var(--color-text);
}
.modal form {
  display: grid;
  gap: 18px;
}
.admin-modal {
  width: min(800px, calc(100vw - 32px));
}
.form-actions {
  display: flex;
  justify-content: end;
  gap: 12px;
  margin-top: 16px;
}
.form-switches {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.875rem;
}
.form-switches label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-switches input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-gold);
}
.upload-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.upload-strip span {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}
@media (max-width: 600px) {
  .modal {
    padding: 24px;
  }
  .modal-head h2 {
    font-size: 1.5rem;
  }
  .form-actions {
    flex-wrap: wrap;
  }
}

.login-page {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-image {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  min-height: 100%;
  background:
    linear-gradient(transparent, rgba(0, 0, 0, 0.75)),
    url('/imagens/05-card-sala-contemporanea.webp') center / cover;
}
.login-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: start;
  font-size: 0.9375rem;
  background: var(--color-background);
  padding: 10px 16px;
  border-radius: 4px;
}
.login-image-copy h2 {
  max-width: 12ch;
  font-size: 3rem;
}
.login-image-copy p {
  max-width: 30ch;
}
.login-content {
  background: var(--color-background);
  display: grid;
  place-items: center;
  padding: 48px;
  --surface-image: var(--texture-geometric);
  --surface-opacity: 0.16;
}
.login-form-wrap {
  width: min(440px, 100%);
}
.login-logo {
  width: 190px;
  margin-bottom: 36px;
}
.login-card h1 {
  font-size: 2.4rem;
}
.login-card > p,
.login-support {
  color: var(--color-text-muted);
}
.login-card form {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}
.login-card input[type='password'] {
  padding-right: 46px;
}
.login-support {
  font-size: 0.8125rem;
  margin-top: 28px;
}
.login-bottom {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  margin-top: 36px;
}
@media (max-width: 700px) {
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-image {
    min-height: 210px;
    padding: 24px;
    background-position: center 60%;
  }
  .login-image-copy {
    display: none;
  }
  .login-content {
    padding: 36px 24px 48px;
  }
  .login-logo {
    width: 260px;
    margin-bottom: 36px;
  }
  .login-card h1 {
    font-size: 2rem;
  }
}

.dashboard-app {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
}
.dash-sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  padding: 28px 18px;
  background: var(--color-surface) var(--texture-architecture) center / cover;
  display: flex;
  flex-direction: column;
  z-index: 90;
}
.sidebar-brand {
  padding: 0 8px 28px;
}
.sidebar-brand .brand-logo {
  width: 210px;
}
.sidebar-brand small {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 16px;
}
.dash-nav {
  display: grid;
  gap: 8px;
}
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}
.dash-nav a.active {
  background: var(--color-gold);
  color: var(--color-background);
}
.dash-nav a:hover:not(.active) {
  background: var(--color-input);
  color: var(--color-text);
}
.dash-divider {
  height: 16px;
}
.sidebar-foot {
  margin-top: auto;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.sidebar-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 12px;
}
.sidebar-badge svg {
  color: var(--color-gold);
  flex: none;
}
.sidebar-foot p {
  padding-inline: 12px;
  margin-top: 18px;
}
.dash-main {
  min-width: 0;
  background: var(--color-background);
}
.dash-header {
  min-height: 92px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 36px;
  background: var(--color-background);
}
.dash-header-left,
.dash-header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.dash-header-left strong {
  display: block;
  font-weight: 500;
}
.dash-overline {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.user-name {
  font-size: 0.875rem;
}
.user-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--color-surface);
  color: var(--color-gold);
  border-radius: 50%;
  font-weight: 500;
}
.header-logout,
.dash-menu {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  color: var(--color-text-muted);
  background: transparent;
  display: grid;
  place-items: center;
}
.dash-menu {
  display: none;
}
.dash-content {
  padding: 36px;
}
.dash-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.dash-page-head h1 {
  font-size: 2.3rem;
  margin-bottom: 12px;
}
.dash-page-head p {
  color: var(--color-text-muted);
  margin: 0;
}
.head-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-gold-light);
  font-size: 0.875rem;
}
.dash-card {
  background: var(--color-surface);
  padding: 28px;
  border-radius: var(--radius);
  min-width: 0;
}
.dash-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  min-height: 220px;
  padding: 24px;
  color: var(--color-text-muted);
}
.dash-empty svg {
  color: var(--color-gold);
}
.dash-empty h3,
.dash-empty p {
  margin: 0;
}
.sidebar-scrim {
  display: none;
}
.settings-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.settings-card h2 {
  font-size: 1.5rem;
}
.settings-brand {
  padding: 24px 0;
  max-width: 280px;
}
.settings-data {
  display: grid;
  gap: 18px;
}
.settings-data span {
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.settings-data strong {
  color: var(--color-text);
  font-weight: 500;
}
.settings-card p {
  color: var(--color-text-muted);
}
@media (max-width: 1100px) {
  .dashboard-app {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .dash-content {
    padding: 28px;
  }
  .dash-nav a {
    font-size: 0.875rem;
    padding-inline: 10px;
  }
  .dash-header {
    padding-inline: 28px;
  }
}
@media (max-width: 700px) {
  .dashboard-app {
    display: block;
  }
  .dash-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(280px, 85vw);
    transform: translateX(-105%);
    transition: transform 220ms var(--ease-out);
  }
  .dash-sidebar.open {
    transform: none;
  }
  .sidebar-scrim.show {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 85;
  }
  .dash-menu {
    display: grid;
  }
  .dash-header {
    padding: 14px 16px;
    min-height: 82px;
    gap: 10px;
  }
  .dash-header-left,
  .dash-header-right {
    gap: 10px;
  }
  .dash-overline {
    font-size: 0.75rem;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .user-name {
    display: none;
  }
  .dash-content {
    padding: 24px 20px;
  }
  .dash-page-head {
    align-items: start;
    flex-direction: column;
  }
  .dash-page-head h1 {
    font-size: 1.9rem;
  }
  .dash-card {
    padding: 24px;
  }
  .settings-layout {
    grid-template-columns: 1fr;
  }
}

.dash-welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 36px;
  background: var(--color-surface) var(--texture-architecture) center / cover;
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.dash-welcome h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.dash-welcome p {
  color: var(--color-text-muted);
  margin: 0;
}
.dash-welcome > a {
  flex: none;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
  padding: 24px;
  background: var(--color-surface);
  border-radius: var(--radius);
  min-width: 0;
}
.stat-card > span:not(.stat-icon),
.stat-card small {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}
.stat-icon {
  color: var(--color-gold);
  margin-bottom: 10px;
}
.stat-card strong {
  font-size: 2.3rem;
  font-weight: 400;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.dash-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.dash-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.dash-card-top h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.dash-card-top p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
}
.dash-card-top > a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--color-gold-light);
  white-space: nowrap;
}
.dash-property-row,
.dash-lead-row {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-block: 18px;
}
.dash-property-row img {
  width: 88px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
}
.dash-property-row > div,
.dash-lead-row > div {
  flex: 1;
  min-width: 0;
}
.dash-property-row strong,
.dash-property-row span,
.dash-property-row b {
  display: block;
}
.dash-property-row strong,
.dash-lead-row strong {
  font-size: 0.9375rem;
  font-weight: 500;
}
.dash-property-row span,
.dash-lead-row p,
.dash-lead-row small {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}
.dash-property-row b {
  font-weight: 400;
  color: var(--color-champagne);
  font-size: 0.875rem;
}
.dash-property-row > a {
  color: var(--color-gold);
}
.dash-lead-row p {
  margin: 6px 0 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.initials {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background: var(--color-input);
  color: var(--color-gold);
  font-size: 0.8125rem;
  flex: none;
}
.dashboard-tip {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  padding: 28px 0 0;
}
.dashboard-tip > svg {
  color: var(--color-gold);
  flex: none;
}
@media (max-width: 1100px) {
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dash-two-col {
    grid-template-columns: 1fr;
  }
  .dash-welcome {
    flex-direction: column;
    align-items: start;
  }
}
@media (max-width: 700px) {
  .stat-grid {
    gap: 14px;
  }
  .stat-card {
    padding: 20px 16px;
  }
  .dash-welcome {
    padding: 28px 24px;
  }
  .dash-welcome h1 {
    font-size: 2rem;
  }
  .dash-card-top {
    gap: 14px;
  }
  .dash-property-row img {
    width: 70px;
    height: 64px;
  }
}

.admin-table-card {
  padding: 0;
  overflow: hidden;
}
.table-toolbar {
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.table-toolbar .input-icon {
  width: min(400px, 100%);
}
.table-hint {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.table-scroll {
  overflow: auto;
  overscroll-behavior-inline: contain;
}
.admin-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 700px;
  text-align: left;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}
.admin-table th {
  padding: 16px 24px;
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  background: var(--color-input);
}
.admin-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
}
.admin-table tr:last-child td {
  border: 0;
}
.table-property,
.table-person {
  display: flex;
  align-items: center;
  gap: 14px;
}
.table-property img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}
.table-property strong,
.table-property small,
.table-person strong,
.table-person small {
  display: block;
}
.table-property strong,
.table-person strong {
  font-weight: 500;
}
.table-property small,
.table-person small {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  margin-top: 6px;
}
.row-actions {
  display: flex;
  gap: 10px;
}
.row-actions button,
.row-trash {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-gold);
  border-radius: 4px;
  display: grid;
  place-items: center;
}
.row-actions button:hover,
.row-trash:hover {
  background: var(--color-input);
  border-color: var(--color-gold);
}
.status {
  display: inline-block;
  font-size: 0.8125rem;
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-champagne);
}
.status.draft {
  color: var(--color-text-muted);
}
.message-cell {
  max-width: 300px;
}
.message-cell span {
  display: block;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.status-select,
.table-toolbar select {
  min-height: 44px;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  background: var(--color-input);
  color: var(--color-text);
}
.table-wa {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--color-gold);
}
@media (max-width: 700px) {
  .table-toolbar {
    padding: 20px;
  }
  .table-toolbar select {
    max-width: 100%;
  }
}

.visit-list {
  display: grid;
  gap: 20px;
}
.visit-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px;
  background: var(--color-surface);
  border-radius: var(--radius);
}
.visit-card > div {
  flex: 1;
  min-width: 0;
}
.visit-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.visit-card p {
  margin: 0;
  color: var(--color-text-muted);
}
.visit-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--color-gold);
  flex: none;
}
.visit-card select {
  min-height: 44px;
  border: 1px solid var(--color-border);
  background: var(--color-input);
  color: var(--color-text);
  border-radius: 4px;
  padding: 10px;
  max-width: 150px;
}
.visit-card .visit-date {
  display: block;
  color: var(--color-champagne);
  font-size: 0.875rem;
  margin-bottom: 10px;
}
@media (max-width: 700px) {
  .visit-card {
    gap: 18px;
    flex-wrap: wrap;
    padding: 24px;
  }
  .visit-card > div {
    flex-basis: calc(100% - 80px);
  }
  .visit-card select {
    margin-left: 76px;
  }
  .visit-icon {
    width: 44px;
  }
}

@keyframes hero-settle {
  from {
    transform: scale(1.035);
  }
  to {
    transform: scale(1);
  }
}
.home-hero > img {
  animation: hero-settle 1400ms var(--ease-out) both;
}
@supports (animation-timeline: view()) {
  @keyframes signature-scale {
    from {
      transform: scale(0.94);
    }
    to {
      transform: scale(1);
    }
  }
  .footer-signature {
    animation: signature-scale linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/*
 * Assinatura FGDeveloper's (padrão FGD, 10/11/2026). Fonte única: FGDKit/kit/assinatura.
 * Vai no rodapé de todo projeto, sempre com o nome "FGDeveloper's" e o link https://fgdhub.com/.
 * Paleta FGD: preto e carbono, dourado e vermelho. Funciona em rodapé claro ou escuro (é uma pílula preta).
 * Movimento: ponto vermelho pulsando, brilho atravessando a pílula e o nome em ouro correndo.
 * Quem pede menos movimento no sistema vê tudo parado.
 */
.fgd-assinatura {
  --fgd-a-preto: #0c0c0c;
  --fgd-a-carbono: #161616;
  --fgd-a-ouro: #c5a064;
  --fgd-a-ouro-claro: #f3e2b8;
  --fgd-a-vermelho: #a3131f;
  --fgd-a-vermelho-claro: #d9473f;
  --fgd-a-osso: #f2f1ed;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  max-width: 100%;
  padding: 0.5em 1.05em 0.5em 0.85em;
  border: 1px solid rgb(197 160 100 / 0.42);
  border-radius: 999px;
  background:
    radial-gradient(120% 160% at 0% 50%, rgb(65 3 6 / 0.6) 0%, transparent 58%),
    linear-gradient(180deg, var(--fgd-a-carbono) 0%, var(--fgd-a-preto) 100%);
  color: var(--fgd-a-ouro);
  font: 500 12px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  vertical-align: middle;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.05),
    0 6px 18px -10px rgb(0 0 0 / 0.85);
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

/* Ponto vermelho com pulso. */
.fgd-assinatura::before {
  content: "";
  flex: none;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--fgd-a-vermelho);
  box-shadow: 0 0 0 0 rgb(163 19 31 / 0.65);
  animation: fgd-assinatura-pulso 2.4s ease-out infinite;
}

/* Brilho dourado que atravessa a pílula de tempos em tempos. */
.fgd-assinatura::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgb(243 226 184 / 0.2) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: fgd-assinatura-brilho 5.5s ease-in-out infinite;
  pointer-events: none;
}

.fgd-assinatura__pre {
  color: rgb(242 241 237 / 0.62);
  font-weight: 400;
}

/* O nome em ouro, com um reflexo claro e um toque de vermelho correndo pelo texto. */
.fgd-assinatura__marca {
  font-weight: 700;
  letter-spacing: 0.06em;
  background-image: linear-gradient(
    90deg,
    var(--fgd-a-ouro) 0%,
    var(--fgd-a-ouro-claro) 20%,
    var(--fgd-a-ouro) 40%,
    var(--fgd-a-vermelho-claro) 60%,
    var(--fgd-a-ouro) 80%,
    var(--fgd-a-ouro) 100%
  );
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: fgd-assinatura-ouro 6s linear infinite;
}

.fgd-assinatura:hover,
.fgd-assinatura:focus-visible {
  border-color: rgb(197 160 100 / 0.9);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.06),
    0 0 0 1px rgb(163 19 31 / 0.4),
    0 10px 28px -10px rgb(163 19 31 / 0.6);
  transform: translateY(-1px);
}

.fgd-assinatura:focus-visible {
  outline: 2px solid var(--fgd-a-ouro);
  outline-offset: 3px;
}

@keyframes fgd-assinatura-pulso {
  0% { box-shadow: 0 0 0 0 rgb(163 19 31 / 0.65); }
  70% { box-shadow: 0 0 0 0.6em rgb(163 19 31 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(163 19 31 / 0); }
}

@keyframes fgd-assinatura-brilho {
  0%, 55% { transform: translateX(-120%); }
  85%, 100% { transform: translateX(120%); }
}

@keyframes fgd-assinatura-ouro {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .fgd-assinatura,
  .fgd-assinatura::before,
  .fgd-assinatura::after,
  .fgd-assinatura__marca {
    animation: none;
    transition: none;
  }
}

@media (forced-colors: active) {
  .fgd-assinatura__marca {
    background: none;
    color: LinkText;
    -webkit-text-fill-color: LinkText;
  }
}

