
:root {
  --brand-azul: #0a2342;
  --brand-azul-700: #061a33;
  --brand-amarelo: #ffc400;
  --brand-amarelo-claro: #ffe08a;
  --brand-escuro: #071a31;
  --brand-creme: #f4f6fa;

  --bg: var(--brand-creme);
  --surface: #ffffff;
  --surface-2: #e9eef5;
  --text: #14202f;
  --text-muted: #5a6a7d;
  --border: #dae2ec;
  --accent: var(--brand-azul);
  --accent-text: #0a2342;
  --success: #3f7a52;
  --danger: #b5493f;
  --on-dark-text: #f4f6fa;
  --on-dark-muted: #b4c2d4;
  --shadow: 0 1px 2px rgba(10, 35, 66, 0.06), 0 8px 24px -12px rgba(10, 35, 66, 0.2);

  --font-display: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --font-mono: Arial, Helvetica, sans-serif;

  --radius: 2px;
  --max-width: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--text); margin: 0; }
p { margin: 0 0 1em; color: var(--text); text-align: justify; text-justify: inter-word; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

.eyebrow {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-text); display: flex; align-items: center; gap: .6em; margin-bottom: .6em;
}
.eyebrow::before { content: ''; width: 1.4em; height: 1px; background: var(--accent-text); display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-weight: 700; font-size: .92rem; padding: .85em 1.6em;
  border-radius: var(--radius); border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: opacity .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand-azul); color: var(--on-dark-text); }
.btn--primary:hover { opacity: .92; }
.btn--gold { background: var(--brand-amarelo); color: var(--brand-azul); }
.btn--gold:hover { opacity: .92; }
.btn--outline { background: transparent; border-color: var(--brand-azul); color: var(--brand-azul); }
.btn--outline:hover { background: var(--brand-azul); color: var(--on-dark-text); }
.btn--whatsapp { background: #25d366; color: #06341c; }

.video-optin { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.video-optin p { color: var(--text-muted); font-size: .92rem; margin-bottom: .7rem; }
.video-trigger { display: inline-flex; align-items: center; gap: .5em; }

.video-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(7,26,49,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.video-modal__player { width: min(92vw, 520px); height: auto; max-height: 88vh; border-radius: var(--radius); background: #000; display: block; }
.video-modal__close {
  position: absolute; top: 1.2rem; right: 1.4rem; z-index: 201;
  background: none; border: none; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer;
}

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.tag {
  display: inline-block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); border: 1px solid var(--border); border-radius: 99px; padding: .2em .8em;
}
.tag--gold { color: var(--accent-text); border-color: var(--brand-amarelo-claro); background: rgba(255,196,0,.18); }

.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: .4em;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: .95rem; padding: .7em .85em;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand-azul); outline-offset: 1px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1rem; }
.site-nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: .92rem; padding-block: .3em; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { color: var(--brand-azul); border-bottom-color: var(--brand-amarelo); }
.site-header__cta { padding: .6em 1.2em; font-size: .85rem; white-space: nowrap; }
@media (max-width: 860px) { .site-nav { display: none; } }

/* ---------- Logo lockup ---------- */
.lockup { display: flex; align-items: center; gap: .6em; text-decoration: none; }
.lockup .mark { flex: none; display: block; width: auto; object-fit: contain; }
.lockup--sm .mark { height: 56px; }
.lockup--md .mark { height: 66px; }
.lockup--lg .mark { height: 88px; }
.lockup__type { line-height: 1.05; display: flex; flex-direction: column; }
.lockup__name { font-family: "Arial Black", Arial, sans-serif; font-weight: 900; text-transform: uppercase; color: var(--brand-azul); letter-spacing: .06em; }
.lockup__sub { align-self: flex-start; font-family: Arial, sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .38em; background: var(--brand-amarelo); color: var(--brand-azul); padding: .3em .5em .3em .7em; margin-top: .35em; }
.lockup--sm .lockup__name { font-size: 1.9rem; } .lockup--sm .lockup__sub { font-size: .62rem; }
.lockup--md .lockup__name { font-size: 2.2rem; } .lockup--md .lockup__sub { font-size: .7rem; }
.lockup--lg .lockup__name { font-size: 2.8rem; } .lockup--lg .lockup__sub { font-size: .8rem; }
.lockup--reverse .lockup__name { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-escuro); color: var(--on-dark-muted); margin-top: 4rem; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
.site-footer__brand p { font-family: var(--font-display); font-style: italic; color: var(--on-dark-text); margin-top: 1rem; font-size: 1.05rem; }
.site-footer .eyebrow { color: var(--brand-amarelo-claro); }
.site-footer .eyebrow::before { background: var(--brand-amarelo-claro); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: var(--on-dark-text); }
.site-footer__bottom { border-top: 1px solid rgba(244,246,250,.14); padding-block: 1.4rem; font-family: var(--font-mono); font-size: .7rem; color: var(--on-dark-muted); }
@media (max-width: 720px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ---------- WhatsApp floating ---------- */
.whatsapp-floating {
  position: fixed; right: 1.4rem; bottom: 1.4rem; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #06341c; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 50;
}

/* ---------- Home hero ---------- */
.hero {
  background-image: linear-gradient(180deg, rgba(6,26,51,.55) 0%, rgba(7,26,49,.78) 100%), url('/assets/img/hero-fachada.jpg');
  background-size: cover;
  background-position: center;
  color: var(--on-dark-text);
  padding-block: 4rem 5rem;
}
.hero .eyebrow { color: var(--brand-amarelo-claro); }
.hero .eyebrow::before { background: var(--brand-amarelo-claro); }
.hero h1 { color: var(--on-dark-text); font-size: clamp(2rem, 4.5vw, 3rem); max-width: 18ch; margin-bottom: 1rem; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero__dek { color: var(--on-dark-muted); max-width: 56ch; font-size: 1.05rem; margin-bottom: 2rem; text-shadow: 0 1px 12px rgba(0,0,0,.4); }

.categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-block: 3rem; }
.category-card { padding: 1.6rem; text-decoration: none; color: inherit; position: relative; }
.category-card p { margin-top: .6rem; color: var(--text-muted); font-size: .9rem; }
.category-card--highlight { border-color: var(--brand-amarelo); background: linear-gradient(160deg, rgba(255,196,0,.1), transparent); }
.category-card__badge { display: inline-block; margin-bottom: .8rem; font-size: .68rem; }

@media (max-width: 1080px) { .categories { grid-template-columns: repeat(2, 1fr); } }

.section-head { margin-bottom: 1.6rem; }
.section-head h2 { font-size: 1.8rem; }
.featured { margin-block: 4rem; }
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 2rem; }

.featured-group { margin-bottom: 2.6rem; }
.featured-group:last-child { margin-bottom: 0; }
.featured-group__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.1rem; }
.featured-group__head h3 { font-size: 1.25rem; }
.featured-group__link { color: var(--brand-azul); font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.featured-group__link:hover { text-decoration: underline; }
.featured-group .property-grid { margin-bottom: 0; grid-template-columns: repeat(auto-fill, minmax(260px, 320px)); justify-content: start; }

.about-teaser { background: var(--surface); border-top: 1px solid var(--border); padding-block: 4.5rem; }
.about-teaser__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-teaser__text { max-width: 52ch; }
.about-teaser h2 { font-size: 2rem; margin: .6rem 0 1.1rem; }
.about-teaser p { color: var(--text-muted); margin-bottom: 1.6rem; font-size: 1.02rem; }
.about-teaser__photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 16px 40px rgba(7,26,49,.18); }
.about-teaser__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-teaser__badge {
  position: absolute; bottom: 1.2rem; left: 1.2rem; right: 1.2rem;
  background: rgba(7,26,49,.72); color: var(--on-dark-text);
  padding: .9rem 1.1rem; border-radius: calc(var(--radius) - 6px);
  font-size: .92rem; line-height: 1.4;
  border-left: 3px solid var(--brand-amarelo);
}

@media (max-width: 860px) {
  .categories, .property-grid { grid-template-columns: 1fr; }
  .about-teaser__inner { grid-template-columns: 1fr; }
  .about-teaser__photo { order: -1; }
}
@media (max-width: 1100px) and (min-width: 861px) { .property-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Search bar ---------- */
.search-bar { display: flex; align-items: end; gap: 1rem; background: var(--surface); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); flex-wrap: wrap; }
.search-bar__field { display: flex; flex-direction: column; gap: .4em; }
.search-bar__field--grow { flex: 1 1 220px; }
.search-bar label { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.search-bar select, .search-bar input { font-family: var(--font-body); font-size: .95rem; padding: .6em .7em; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); min-height: 44px; }
.search-bar button { height: 44px; }
@media (max-width: 720px) { .search-bar { flex-direction: column; align-items: stretch; } .search-bar button { width: 100%; } }

/* ---------- Property card ---------- */
.property-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.property-card:hover { transform: translateY(-3px); box-shadow: 0 4px 4px rgba(20,30,40,.06), 0 16px 32px -16px rgba(20,30,40,.24); }
.property-card__image { position: relative; aspect-ratio: 4/3; background: var(--surface-2); overflow: hidden; }
.property-card__image img { width: 100%; height: 100%; object-fit: cover; }
.property-card__placeholder { width: 100%; height: 100%; background: linear-gradient(160deg, var(--brand-azul), var(--brand-escuro)); }
.property-card__badge { position: absolute; top: .8rem; left: .8rem; background: var(--surface); border-color: transparent; }
.property-card__body { padding: 1.2rem 1.3rem 1.4rem; }
.property-card__body h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.property-card__price { font-family: var(--font-mono); font-weight: 600; color: var(--brand-azul); font-size: 1.05rem; margin: 0 0 .7rem; }
.property-card__specs { display: flex; flex-wrap: wrap; gap: .5em .9em; list-style: none; margin: 0; padding: 0; font-family: var(--font-mono); font-size: .76rem; color: var(--text-muted); }

/* ---------- Filters sidebar ---------- */
.filters { display: flex; flex-direction: column; gap: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; }
.field--split { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-bottom: 0; }
.field--split label { font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: .4em; }
.filters__submit { width: 100%; margin-top: .4rem; }
.filters__clear { text-align: center; font-size: .82rem; color: var(--text-muted); text-decoration: underline; }

.listing { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; padding-block: 2.5rem 4rem; }
.listing__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.listing__head h1 { font-size: 1.7rem; }
.listing__empty { color: var(--text-muted); max-width: 50ch; }
@media (max-width: 1100px) { .listing .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .listing { grid-template-columns: 1fr; } .listing .property-grid { grid-template-columns: 1fr; } }

/* ---------- Lead form ---------- */
.lead-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
.lead-form h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.lead-form__submit { width: 100%; }
.lead-form__status { margin: .8rem 0 0; font-size: .85rem; min-height: 1.2em; }
.lead-form__status[data-state='ok'] { color: var(--success); }
.lead-form__status[data-state='error'] { color: var(--danger); }

/* ---------- Property detail ---------- */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; padding-block: 2rem 4rem; align-items: start; }
.breadcrumb { font-family: var(--font-mono); font-size: .76rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--text-muted); }
.detail__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; margin: 1.4rem 0 1.2rem; flex-wrap: wrap; }
.detail__head h1 { font-size: 1.8rem; margin: .4rem 0 .3rem; }
.detail__address { color: var(--text-muted); margin: 0; }
.detail__price { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 600; color: var(--brand-azul); margin: 0; white-space: nowrap; }
.specs-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: .9rem; margin-bottom: 2rem; background: var(--surface); border: 1px solid var(--border); }
.specs-table th, .specs-table td { text-align: left; padding: .7em 1em; border-bottom: 1px solid var(--border); }
.specs-table th { color: var(--text-muted); font-weight: 500; width: 40%; }
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom: none; }
.detail__description h2 { font-size: 1.2rem; margin-bottom: .6rem; }
.detail__description p { color: var(--text); white-space: pre-line; max-width: 70ch; }
.detail__aside { position: sticky; top: 5.5rem; }
.similar { padding-bottom: 4rem; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } .detail__aside { position: static; } .similar .property-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery__main { position: relative; aspect-ratio: 16/10; background: var(--surface-2); border-radius: var(--radius); overflow: hidden; }
.gallery__track {
  display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch; cursor: grab;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.gallery__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; pointer-events: none; }
.gallery__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; border: none;
  background: rgba(7,26,49,.55); color: #fff; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.gallery__arrow:hover { background: rgba(7,26,49,.8); }
.gallery__arrow--prev { left: .8rem; }
.gallery__arrow--next { right: .8rem; }
.gallery__counter {
  position: absolute; bottom: .8rem; right: .8rem; z-index: 2;
  background: rgba(7,26,49,.6); color: #fff; font-family: var(--font-mono);
  font-size: .78rem; padding: .3em .7em; border-radius: 999px;
}
.gallery--empty .gallery__placeholder { aspect-ratio: 16/10; border-radius: var(--radius); background: linear-gradient(160deg, var(--brand-azul), var(--brand-escuro)); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .5rem; margin-top: .6rem; }
.gallery__thumb { aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: none; }
.gallery__thumb[aria-current='true'] { border-color: var(--brand-amarelo); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sobre ---------- */
.hero-sobre { background: var(--brand-escuro); color: var(--on-dark-text); padding-block: 3.5rem; }
.hero-sobre .eyebrow { color: var(--brand-amarelo-claro); }
.hero-sobre .eyebrow::before { background: var(--brand-amarelo-claro); }
.hero-sobre h1 { color: var(--on-dark-text); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: .6rem 0 1rem; }
.hero-sobre p { max-width: 60ch; color: var(--on-dark-muted); font-size: 1.05rem; }
.content { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-block: 3rem 4rem; }
.content__block h2 { font-size: 1.3rem; margin-bottom: .8rem; }
.content__block p { color: var(--text-muted); max-width: 55ch; }
.commitments { padding-left: 1.2rem; color: var(--text-muted); display: flex; flex-direction: column; gap: .5rem; }

.content__block--full { grid-column: 1 / -1; }
.legal-block { padding: 2rem; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255,196,0,.1), transparent); border: 1px solid var(--brand-amarelo-claro); }
.legal-block .tag--gold { margin-bottom: .8rem; }
.legal-block h2 { margin-top: 0; }
.legal-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.6rem; }
.legal-step__label { display: block; font-family: var(--font-display); font-weight: 600; color: var(--brand-azul); font-size: 1.1rem; margin-bottom: .4rem; }
.legal-step p { color: var(--text-muted); font-size: .92rem; max-width: none; }

@media (max-width: 780px) { .legal-steps { grid-template-columns: 1fr; } }
.contact-card { padding: 1.6rem; display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
@media (max-width: 780px) { .content { grid-template-columns: 1fr; } }

/* ---------- Contato ---------- */
.contact-page { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; padding-block: 3rem 4rem; align-items: start; }
.contact-page__info h1 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); margin: .6rem 0 1rem; max-width: 18ch; }
.contact-page__info p { color: var(--text-muted); max-width: 50ch; margin-bottom: 2rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.contact-list a, .contact-list span:last-child { font-family: var(--font-mono); font-size: 1rem; color: var(--text); text-decoration: none; }
@media (max-width: 860px) { .contact-page { grid-template-columns: 1fr; } }

/* ---------- Admin ---------- */
.admin-body { background: var(--bg); }
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-nav { background: var(--brand-escuro); color: var(--on-dark-text); padding: 1.6rem 1.2rem; display: flex; flex-direction: column; gap: 2rem; }
.admin-nav nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; }
.admin-nav a { display: block; padding: .6em .7em; border-radius: var(--radius); color: var(--on-dark-muted); text-decoration: none; font-size: .9rem; font-weight: 600; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(244,246,250,.1); color: var(--on-dark-text); }
.admin-nav__footer { margin-top: auto; display: flex; flex-direction: column; gap: .6rem; font-family: var(--font-mono); font-size: .75rem; color: var(--on-dark-muted); }
.admin-logout { background: none; border: 1px solid rgba(244,246,250,.3); color: var(--on-dark-text); padding: .5em .8em; border-radius: var(--radius); cursor: pointer; font-family: var(--font-body); font-size: .8rem; width: 100%; }
.admin-main { padding: 2rem 2.4rem 4rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.stat { padding: 1.4rem; }
.stat strong { display: block; font-family: var(--font-mono); font-size: 2rem; color: var(--brand-azul); margin-top: .4rem; }
.quick-links { display: flex; gap: 1rem; }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: .8em 1.1em; border-bottom: 1px solid var(--border); font-size: .9rem; vertical-align: top; }
.admin-table th { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table a { color: var(--brand-azul); font-weight: 600; text-decoration: none; }
.message-cell { max-width: 260px; }
button[data-toggle-contacted] { cursor: pointer; border: 1px solid var(--border); background: none; font-family: var(--font-mono); }

.property-form { max-width: 760px; }
.grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.checkbox-field { display: flex; align-items: center; gap: .6em; font-size: .92rem; margin-bottom: 1.4rem; }
.checkbox-field input { width: auto; }
.property-form__actions { display: flex; align-items: center; gap: 1rem; }
@media (max-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.photo-tile { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); cursor: grab; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.photo-tile__remove { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(20,30,40,.75); color: #fff; border: none; font-size: .7rem; padding: .4em; cursor: pointer; }
.photo-tile--dragging { opacity: .4; }
.photo-grid .photo-tile:first-child::before { content: 'Capa'; position: absolute; top: .4em; left: .4em; background: var(--brand-amarelo, #ffc400); color: #0a2342; font-size: .65rem; font-weight: 700; padding: .2em .6em; border-radius: 999px; z-index: 1; }

.head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; gap: 1rem; }
.section { margin-bottom: 2.4rem; }
.section h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.danger { border-color: var(--danger); color: var(--danger); }
.danger:hover { background: var(--danger); color: #fff; }

.login-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--brand-escuro); }
.login-card { width: 100%; max-width: 360px; padding: 2.4rem; display: flex; flex-direction: column; gap: 1.4rem; }
.login-card h1 { font-size: 1.2rem; }
.login-submit { width: 100%; }
.login-error { color: var(--danger); font-size: .85rem; margin: -.6rem 0 0; }

/* ---------- Identificação do corretor, avisos e páginas novas ---------- */
.broker { margin: .6rem 0; line-height: 1.3; }
.broker__name { display: block; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.broker__role { display: block; font-size: .9rem; color: var(--text-muted); }
.broker--footer { margin-top: 1rem; }
.broker--footer .broker__name { color: var(--on-dark-text); }
.broker--footer .broker__role { color: var(--on-dark-muted); }
.broker--detail { margin-top: 1.4rem; }
.detail__disclaimer { font-size: .85rem; color: var(--text-muted); margin-top: 1rem; }
.lead-form__privacy { font-size: .8rem; color: var(--text-muted); margin: .4rem 0 1rem; }
.lead-form__privacy a { color: var(--brand-azul); }
.listing__empty--rent { padding: 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.listing__empty--rent h2 { font-size: 1.4rem; margin-bottom: .6rem; }
.listing__empty--rent p { margin-bottom: 1.2rem; max-width: 52ch; }
.hero-sobre .btn { margin-top: 1.4rem; }
.content--single { grid-template-columns: 1fr; max-width: 760px; }

/* ---------- Abertura animada da home ---------- */
.intro { position: fixed; inset: 0; z-index: 1000; background: #071a31; display: flex; align-items: center; justify-content: center; opacity: 1; transition: opacity .6s ease; }
.intro--out { opacity: 0; pointer-events: none; }
.intro video { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro__skip { position: absolute; right: 1.2rem; bottom: 1.2rem; background: rgba(7,26,49,.55); color: #fff; border: 1px solid rgba(255,224,138,.6); border-radius: 999px; padding: .55em 1.2em; font: 700 .85rem var(--font-body); cursor: pointer; backdrop-filter: blur(4px); }
.intro__skip:hover { background: rgba(7,26,49,.8); }
html.intro-open { overflow: hidden; }
