:root {
  --primary: #0e5ea8;
  --primary-dark: #08437f;
  --primary-soft: #eaf3ff;
  --ink: #0f1a2a;
  --muted: #4c5d74;
  --line: #d8e2ef;
  --surface: #ffffff;
  --bg: #f4f8fc;
  --radius: 18px;
  --shadow: 0 16px 42px rgba(11, 43, 76, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(68rem 36rem at -10% -15%, rgba(14, 94, 168, 0.2), transparent 60%),
    radial-gradient(70rem 38rem at 120% -20%, rgba(14, 94, 168, 0.18), transparent 64%),
    linear-gradient(180deg, #f8fbff 0%, #f2f7fc 100%);
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 4.25rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(234, 243, 255, 0.75), rgba(255, 255, 255, 0.95));
  border-top: 1px solid #edf3fb;
  border-bottom: 1px solid #edf3fb;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.section-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.section-note {
  margin: 0 0 1rem;
  color: #35567a;
  font-size: 0.95rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(14, 94, 168, 0.14);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.45rem;
  white-space: nowrap;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand strong {
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-left: auto;
}

.main-nav a {
  font-weight: 700;
  color: #2a3f5a;
  padding: 0.42rem 0.58rem;
  border-radius: 10px;
}

.main-nav a:hover {
  color: var(--primary-dark);
  background: #edf4ff;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.3rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 10px;
  background: var(--ink);
  margin: 4px 0;
}

.user-menu-wrap {
  position: relative;
}

.user-trigger {
  border: 1px solid #d3e1f2;
  background: #ffffff;
  border-radius: 999px;
  padding: 0.35rem 0.55rem 0.35rem 0.38rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}

.login-trigger {
  border: 2px solid #2e82ca;
  background: linear-gradient(135deg, #4b9ee0, #2f86cf);
  color: #ffffff;
  padding: 0.72rem 1.3rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(14, 94, 168, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.login-trigger:hover {
  filter: brightness(1.03);
  box-shadow: 0 14px 28px rgba(14, 94, 168, 0.22);
  transform: translateY(-1px);
}

.auth-main {
  min-height: calc(100vh - 76px - 260px);
  display: grid;
  place-items: center;
  padding: 3.5rem 0 4.5rem;
}

.auth-section {
  width: min(460px, 92vw);
}

.auth-card {
  background: linear-gradient(170deg, #ffffff, #f7fbff);
  border: 1px solid #d7e5f5;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.6rem 1.2rem;
}

.auth-card h1 {
  margin: 0 0 1.1rem;
  text-align: center;
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: #273f5e;
}

.login-form {
  display: grid;
  gap: 0.8rem;
}

.auth-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1px solid #d9e3ef;
  border-radius: 2px;
  background: #fcfdff;
  min-height: 46px;
}

.auth-field-password {
  grid-template-columns: auto 1fr auto;
}

.auth-icon {
  width: 32px;
  margin-left: 0.45rem;
  color: #9ea9b8;
  text-align: center;
  border-right: 1px solid #d9e3ef;
  font-size: 0.95rem;
  line-height: 1;
}

.auth-field input {
  border: 0;
  background: transparent;
  padding: 0.72rem 0.72rem;
  font: inherit;
  color: #2b3f58;
  outline: none;
}

.auth-field input::placeholder {
  color: #a2acb8;
}

.password-toggle {
  border: 0;
  background: transparent;
  color: #9ba6b5;
  font-size: 1rem;
  cursor: pointer;
  padding: 0 0.7rem;
}

.remember-row {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #6f7f93;
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: 0.15rem;
  cursor: pointer;
}

.remember-row input {
  width: 16px;
  height: 16px;
  accent-color: #b6c2d1;
}

.auth-submit {
  margin-top: 0.25rem;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(135deg, #5ba7df, #3f95d4);
  color: #fff;
  font-size: 1.03rem;
  font-weight: 700;
  padding: 0.72rem 1rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(63, 149, 212, 0.34);
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.88;
}

.login-feedback {
  min-height: 1.3rem;
  margin: 0;
  font-size: 0.92rem;
  text-align: center;
  color: #35567a;
}

.login-feedback.error {
  color: #b22a34;
}

.login-feedback.success {
  color: #1f7a45;
}

.auth-links {
  margin-top: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #7f8fa2;
  font-size: 1.01rem;
}

.auth-links a {
  color: #7f8fa2;
}

.auth-links a:hover {
  color: #4f6f93;
}

.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(960px, calc(100vw - 1.3rem));
  z-index: 60;
  display: none;
}

.cookie-consent.show {
  display: block;
}

.cookie-consent-content {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d7e6f6;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-consent-content p {
  margin: 0;
  color: #395372;
  font-weight: 600;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.6rem;
}

.cookie-btn {
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  border: 1px solid #cfdeee;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-btn-light {
  background: #fff;
  color: #35567a;
}

.cookie-btn-primary {
  border: 2px solid #2f86cf;
  background: linear-gradient(135deg, #4b9ee0, #2f86cf);
  color: #fff;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #3da4ff);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.user-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 190px;
  background: #fff;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.4rem;
  display: none;
}

.user-dropdown.open {
  display: block;
}

.user-dropdown a {
  display: block;
  padding: 0.65rem 0.7rem;
  border-radius: 10px;
  font-size: 0.92rem;
}

.user-dropdown a:hover {
  background: #eff5ff;
}

.user-dropdown .danger {
  color: #b21d27;
}

.hero {
  padding: 3.5rem 0 2.3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

.hero-copy h1 {
  margin: 0.4rem 0 0.7rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.eyebrow {
  margin: 0;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.hero-sub {
  color: var(--muted);
  max-width: 64ch;
}

.search-box {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  background: #fff;
  padding: 0.6rem;
  border-radius: 16px;
  border: 1px solid #dbe7f5;
  box-shadow: var(--shadow);
}

.search-box input {
  border: 0;
  background: #f6f9ff;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font: inherit;
}

.search-box input:focus {
  outline: 2px solid rgba(14, 94, 168, 0.35);
}

.search-box button {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #0b79d5);
  color: white;
  font-weight: 800;
  padding: 0.9rem 1.35rem;
  cursor: pointer;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.tag {
  border: 1px solid #cfddf0;
  background: #ffffff;
  color: #244a71;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
}

.search-result {
  margin-top: 0.9rem;
  color: #254768;
  font-weight: 600;
}

.hero-panel {
  background: linear-gradient(170deg, #ffffff, #f4f8ff);
  border: 1px solid #d4e4f7;
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow);
}

.hero-panel-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  height: 400px;
  min-height: 400px;
  max-height: 400px;
  padding: 0;
  overflow: hidden;
  justify-self: end;
  align-self: start;
}

.hero-banner-wrap {
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner-carousel,
.hero-banner-fallback {
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  height: 400px;
  min-height: 400px;
  max-height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) - 1px);
  background: transparent;
  box-shadow: none;
}

.hero-banner-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 300px;
  height: 400px;
  pointer-events: none;
}

.hero-banner-item.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-banner-link,
.hero-banner-fallback {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-banner-item img,
.hero-banner-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius) - 1px);
}

.hero-panel h2 {
  margin-top: 0;
}

.hero-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.hero-panel li {
  color: #2e4966;
}

.hero-panel strong {
  color: var(--primary-dark);
  font-size: 1.2rem;
}

.btn-link {
  margin-top: 1rem;
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 3.6rem 1.2rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(63, 134, 199, 0.28) transparent;
}

.news-grid.card-scroll {
  align-items: stretch;
}

#propertyGrid.card-scroll {
  align-items: stretch;
}

.card-scroll .item-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

.news-grid.card-scroll .item-card {
  align-self: stretch;
  min-height: 445px;
  height: 445px;
}

.card-scroll::-webkit-scrollbar {
  height: 6px;
}

.card-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.card-scroll::-webkit-scrollbar-thumb {
  background: rgba(63, 134, 199, 0.24);
  border-radius: 999px;
}

.card-scroll:hover::-webkit-scrollbar-thumb {
  background: rgba(63, 134, 199, 0.38);
}

.card {
  background: #fff;
  border: 1px solid #dbe7f5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.item-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.property-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.property-carousel {
  position: relative;
  display: block;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: #eef4fb;
}

.property-purpose-badge {
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 0.55rem 1rem;
  border-radius: 14px;
  background: rgba(14, 94, 168, 0.7);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(8, 41, 75, 0.18);
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.property-carousel-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.property-carousel-image.is-active {
  opacity: 1;
}

.news-grid .item-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-body {
  padding: 0.9rem 1rem 1.1rem;
}

.property-card .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.news-grid .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.card-body h3 {
  margin: 0.25rem 0 0.45rem;
  font-size: 1.06rem;
}

.news-grid .card-body h3 {
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body p {
  margin: 0;
  color: #3f5773;
  font-size: 0.8rem;
  line-height: 1.45;
}

.news-grid .card-body > p:not(.chip):not(.card-meta) {
  display: -webkit-box;
  line-clamp: 5;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  margin-top: 0.7rem !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.68rem;
  color: #5a7491 !important;
  font-weight: 600;
}

.news-grid .card-body .card-meta {
  margin-top: auto !important;
}

.card-meta-views {
  white-space: nowrap;
  color: #1f6fbf;
  font-weight: 700;
}

.card-meta-right {
  white-space: nowrap;
  color: #5a7491;
}

.card-body strong {
  display: block;
  margin-top: 0.6rem;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.55rem;
  color: #5a7491 !important;
  font-size: 0.88rem !important;
  line-height: 1.3;
}

.property-location-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #0e5ea8;
}

.property-location-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.property-price-row {
  margin-top: auto;
  padding-top: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.property-visit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  border: none;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: linear-gradient(135deg, #0e5ea8, #0b79d5);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(11, 76, 137, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-visit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 22px rgba(11, 76, 137, 0.34);
}

.property-visit-btn.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #1f568d;
  background: #e8f2ff;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
}

.brand-track {
  overflow-x: auto;
  border: 1px solid #dbe7f5;
  border-radius: 18px;
  background: #fff;
  scrollbar-width: thin;
  scrollbar-color: rgba(63, 134, 199, 0.28) transparent;
}

.brand-row {
  display: flex;
  gap: 0.9rem;
  width: max-content;
  padding: 0.95rem;
}

.brand-track::-webkit-scrollbar {
  height: 6px;
}

.brand-track::-webkit-scrollbar-track {
  background: transparent;
}

.brand-track::-webkit-scrollbar-thumb {
  background: rgba(63, 134, 199, 0.24);
  border-radius: 999px;
}

.brand-track:hover::-webkit-scrollbar-thumb {
  background: rgba(63, 134, 199, 0.38);
}

.brand-logo-link {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #d3e4f7;
  background: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 18px rgba(9, 45, 84, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.brand-logo-link:hover {
  transform: translateY(-3px);
  border-color: #0e5ea8;
  box-shadow: 0 14px 24px rgba(9, 45, 84, 0.2);
}

.brand-logo-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.two-col {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 1rem;
}

.calendar {
  padding: 0.95rem;
}

.calendar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.calendar-head h3 {
  margin: 0;
}

.calendar-head button {
  border: 1px solid #d2e1f2;
  background: #fff;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.weekdays span {
  text-align: center;
  font-size: 0.78rem;
  color: #5b6f88;
  font-weight: 700;
}

.day-cell {
  border: 1px solid #dde9f6;
  background: #fff;
  min-height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.88rem;
}

.day-cell.muted {
  color: #8ba1bc;
  background: #f8fbff;
}

.day-cell.event {
  border-color: #8fc4ff;
  background: #e9f4ff;
  font-weight: 800;
  color: #0b4f92;
}

.day-cell.today {
  outline: 2px solid rgba(14, 94, 168, 0.33);
}

.aside-title {
  margin-top: 0.2rem;
}

.list-stack {
  display: grid;
  gap: 0.7rem;
}

.list-item {
  border: 1px solid #d5e3f5;
  border-radius: 14px;
  background: #fff;
  padding: 0.75rem;
}

.list-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.list-item p {
  margin: 0.15rem 0 0;
  color: #425b76;
}

.list-item strong {
  color: var(--primary-dark);
}

.event-description-trigger {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 999px;
  background: #e9f4ff;
  color: #0e5ea8;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.event-description-trigger:hover {
  background: #d8ebff;
  transform: translateY(-1px);
}

.event-title-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.event-title-link:hover {
  color: #0e5ea8;
  border-color: rgba(14, 94, 168, 0.35);
}

.event-gallery-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  background: #e9f4ff;
  color: #0e5ea8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  vertical-align: middle;
}

.desapega-actions {
  margin-top: 1.3rem;
  display: flex;
  justify-content: center;
}

.desapega-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 0.9rem 1.4rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #0e5ea8, #0b79d5);
  color: #ffffff;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  box-shadow: 0 14px 26px rgba(11, 76, 137, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.desapega-btn:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 20px 30px rgba(11, 76, 137, 0.38);
}

.eventos-actions {
  margin-top: 1.5rem;
}

body.modal-open {
  overflow: hidden;
}

.event-modal-overlay[hidden],
.event-modal[hidden] {
  display: none !important;
}

.event-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 18, 34, 0.72);
  backdrop-filter: blur(5px);
  z-index: 1200;
}

.event-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(920px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  z-index: 1201;
  border-radius: 28px;
  padding: 1.7rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(169, 197, 227, 0.85);
  box-shadow: 0 34px 80px rgba(6, 30, 58, 0.28);
}

.event-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: #eef5fc;
  color: #18436f;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.event-modal-close:hover {
  transform: scale(1.04);
  background: #deebf8;
}

.event-modal-header {
  padding-right: 3rem;
  margin-bottom: 1.4rem;
}

.event-modal-kicker {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(14, 94, 168, 0.1);
  color: #0e5ea8;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-modal-header h3 {
  margin: 0.85rem 0 0.45rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: #12283f;
}

.event-modal-header p {
  margin: 0;
  color: #4f6983;
  line-height: 1.65;
}

#popupMessageOverlay {
  z-index: 1300;
}

.popup-message-modal {
  width: min(520px, calc(100vw - 2rem));
  padding: 1.35rem 1.35rem 1.15rem;
  z-index: 1301;
}

.popup-message-modal-image-only {
  width: min(var(--popup-image-width, 720px), calc(100vw - 2rem));
  padding: 0.85rem;
  background: #ffffff; 
}

.popup-message-modal-image-only .popup-message-image-only {
  max-height: min(var(--popup-image-height, 80vh), calc(100vh - 180px));
  object-fit: contain;
}

.popup-message-header {
  margin-bottom: 0;
}

.popup-message-media {
  margin: 1rem 0 0.85rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(169, 197, 227, 0.85);
  background: #eef5fc;
}

.popup-message-media img,
.popup-message-image-only {
  display: block;
  width: 100%;
  height: auto;
}

.popup-message-visual {
  border-radius: 20px;
  overflow: hidden;
}

.popup-message-image-link {
  display: block;
  text-decoration: none;
}

.popup-message-text {
  margin-top: 0.65rem !important;
  color: #4f6983;
  line-height: 1.7;
}

.popup-message-actions {
  margin-top: 1.2rem;
}

.popup-message-button {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  text-decoration: none;
}

.popup-message-dismiss {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  color: #4f6983;
  font-size: 0.95rem;
  cursor: pointer;
}

.popup-message-dismiss input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #0e5ea8;
  cursor: pointer;
}

.event-modal-form {
  display: grid;
  gap: 1.15rem;
}

.event-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.event-modal-grid-compact {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(120px, 0.8fr);
  gap: 0.75rem;
}

.event-field,
.event-fieldset {
  display: grid;
  gap: 0.5rem;
}

.event-field span,
.event-fieldset-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #173b62;
  white-space: nowrap;
}

.event-field input,
.event-field select,
.event-field textarea {
  width: 100%;
  border: 1px solid #c9daeb;
  border-radius: 16px;
  background: #ffffff;
  padding: 0.95rem 1rem;
  font: inherit;
  color: #17324f;
  box-shadow: inset 0 1px 2px rgba(16, 54, 92, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.event-field input:focus,
.event-field select:focus,
.event-field textarea:focus {
  outline: none;
  border-color: #0e5ea8;
  box-shadow: 0 0 0 4px rgba(14, 94, 168, 0.12);
}

.event-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #47709a 50%), linear-gradient(135deg, #47709a 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.6rem;
}

.event-field textarea {
  min-height: 150px;
  resize: vertical;
}

.event-char-counter {
  display: block;
  margin-top: 0.1rem;
  color: #5e7692;
  text-align: right;
  font-size: 0.82rem;
  font-weight: 600;
}

.event-char-counter.is-limit {
  color: #c05621;
}

.event-upload-card {
  display: grid;
  gap: 1rem;
  border: 1px solid #d4e2f1;
  border-radius: 24px;
  background: linear-gradient(180deg, #f9fcff 0%, #f2f8ff 100%);
  padding: 1.2rem;
}

.event-upload-top {
  text-align: center;
}

.event-upload-title {
  font-size: 1rem;
  font-weight: 800;
  color: #16385b;
}

.event-upload-size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  background: #e8f1fb;
  color: #1f5588;
  font-weight: 700;
}

.event-upload-hint {
  margin-top: 0.55rem;
  color: #657d97;
  line-height: 1.6;
}

.event-upload-preview {
  min-height: 230px;
  border: 2px dashed #c8d9ec;
  border-radius: 22px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.event-upload-placeholder {
  padding: 1.2rem;
  text-align: center;
  color: #69819b;
}

.event-upload-placeholder strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #173b62;
}

.event-upload-placeholder p {
  margin: 0;
  line-height: 1.6;
}

.event-upload-preview img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
}

.event-upload-actions {
  display: flex;
  gap: 0.75rem;
}

.event-upload-btn {
  flex: 1;
  border: none;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.event-upload-btn:hover {
  transform: translateY(-2px);
}

.event-upload-btn.remove {
  background: linear-gradient(135deg, #d94d5c, #c63847);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(199, 56, 71, 0.22);
}

.event-upload-btn.browse {
  background: linear-gradient(135deg, #0e5ea8, #0b79d5);
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(11, 76, 137, 0.2);
}

.event-upload-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.event-modal-note {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: #eef6ff;
  border: 1px solid #d3e4f6;
  color: #335271;
  line-height: 1.65;
}

.event-modal-note strong {
  color: #0e5ea8;
}

.property-top-note {
  background: #edf6ff;
  color: #2a4c6d;
}

.property-photo-upload {
  border: 1px solid #d4e2f1;
  border-radius: 18px;
  background: #f8fbff;
  padding: 0.9rem;
  display: grid;
  gap: 0.65rem;
}

.property-photo-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.property-photo-head strong {
  color: #173b62;
}

.property-photo-head span {
  color: #5e7692;
  font-size: 0.85rem;
}

.property-photo-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.property-photo-add {
  width: 40px;
  height: 40px;
  border: 1px solid #c5d8ed;
  border-radius: 9px;
  background: linear-gradient(135deg, #0e5ea8, #0b79d5);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(11, 76, 137, 0.26);
}

.property-photo-thumbs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.property-photo-thumb-wrapper {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.property-photo-thumb {
  width: 50px;
  height: 50px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid #c7d9ec;
  display: block;
}

.property-photo-remove-btn {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e53e3e;
  color: #fff;
  border: none;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 2;
}

.property-photo-thumb-wrapper:hover .property-photo-remove-btn {
  opacity: 1;
}

.property-photo-remove-btn:hover {
  transform: scale(1.15);
  background: #c53030;
}

.event-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #d8e5f3;
  color: #2f4c68;
  line-height: 1.6;
}

.event-consent input {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: #0e5ea8;
}

.event-submit-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.property-progress {
  width: 100%;
  max-width: 400px;
  height: 6px;
  background: #dce8f5;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.property-progress-bar {
  height: 100%;
  width: 5%;
  background: linear-gradient(135deg, #0e5ea8, #0b79d5);
  border-radius: 999px;
  transition: width 0.2s linear;
}

.event-modal-submit {
  min-width: 250px;
  border: none;
  border-radius: 999px;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #0e5ea8, #0b79d5);
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 18px 30px rgba(11, 76, 137, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 34px rgba(11, 76, 137, 0.28);
}

.agenda-page-main {
  padding-top: 0.4rem;
}

.agenda-page-hero {
  padding-bottom: 1.2rem;
}

.agenda-page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.agenda-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.72fr);
  gap: 1.4rem;
  align-items: start;
}

.agenda-content {
  display: grid;
  gap: 1.2rem;
}

.agenda-empty-state {
  padding: 1.6rem;
}

.agenda-empty-state h2 {
  margin: 0 0 0.6rem;
  color: #12283f;
}

.agenda-empty-state p {
  margin: 0;
  color: #516b86;
}

.agenda-month-card {
  padding: 1.3rem;
}

.agenda-month-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #dbe7f5;
}

.agenda-month-head h2 {
  margin: 0.15rem 0 0;
  color: #12283f;
  font-size: 1.5rem;
}

.agenda-month-eyebrow {
  margin: 0;
  color: #66809b;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.agenda-month-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: #edf5ff;
  color: #0e5ea8;
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}

.agenda-month-list {
  display: grid;
  gap: 0.9rem;
}

.agenda-event-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #d8e5f3;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.agenda-event-date-box {
  border-radius: 18px;
  background: linear-gradient(180deg, #edf5ff 0%, #e5f0ff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  border: 1px solid #d3e4f7;
}

.agenda-event-date-day {
  color: #0e5ea8;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.agenda-event-date-month {
  margin-top: 0.25rem;
  color: #496684;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.agenda-event-body {
  min-width: 0;
}

.agenda-event-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.agenda-event-top h3 {
  margin: 0;
  color: #16324f;
  font-size: 1.05rem;
  line-height: 1.35;
}

.agenda-event-periodo {
  margin: 0.3rem 0 0;
  color: #0e5ea8;
  font-weight: 800;
  font-size: 0.84rem;
}

.agenda-event-details {
  margin: 0.42rem 0 0;
  color: #516b86;
  line-height: 1.65;
}

.evento-page-main {
  padding: 2rem 0 4rem;
}

.evento-detail-hero {
  margin-bottom: 1.2rem;
}

.evento-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: 1rem;
  align-items: start;
}

.evento-detail-media {
  display: grid;
  gap: 0.8rem;
}

.evento-detail-panel {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem;
  position: sticky;
  top: 90px;
}

.evento-detail-panel h1 {
  margin: 0;
  color: #16324f;
  font-size: clamp(1.75rem, 2.1vw, 2.3rem);
  line-height: 1.2;
}

.evento-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #0e5ea8;
  font-weight: 800;
  text-decoration: none;
}

.evento-detail-back:hover {
  text-decoration: underline;
}

.evento-detail-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.evento-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #e9f4ff;
  color: #0e5ea8;
  font-size: 0.82rem;
  font-weight: 800;
}

.evento-detail-summary {
  margin: 0;
  color: #425b76;
  line-height: 1.7;
}

.evento-detail-meta {
  display: grid;
  gap: 0.65rem;
}

.evento-detail-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #425b76;
}

.evento-detail-meta-item i {
  color: #0e5ea8;
  margin-top: 0.12rem;
}

.evento-gallery-card {
  padding: 0.9rem;
}

.evento-gallery-main {
  position: relative;
  min-height: 430px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #d8e5f3;
  background: #eef4fb;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.evento-gallery-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.evento-gallery-image.is-active {
  opacity: 1;
}

.evento-gallery-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  text-align: center;
  color: #516b86;
}

.evento-gallery-thumbs {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding-top: 0.85rem;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(63, 134, 199, 0.28) transparent;
}

.evento-gallery-thumbs::-webkit-scrollbar {
  height: 6px;
}

.evento-gallery-thumbs::-webkit-scrollbar-thumb {
  background: rgba(63, 134, 199, 0.28);
  border-radius: 999px;
}

.evento-gallery-thumb {
  flex: 0 0 92px;
  width: 92px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(11, 43, 76, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.evento-gallery-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 94, 168, 0.35);
}

.evento-gallery-thumb.is-active {
  border-color: #0e5ea8;
  box-shadow: 0 12px 22px rgba(11, 76, 137, 0.22);
}

.evento-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.evento-gallery-note {
  margin: 0.7rem 0 0;
  color: #516b86;
  font-size: 0.92rem;
}

.evento-description-card {
  padding: 1.2rem;
}

.evento-description-card h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.evento-description-card p {
  margin: 0;
  color: #425b76;
  line-height: 1.7;
}

.evento-lightbox[hidden] {
  display: none;
}

.evento-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(7, 18, 33, 0.88);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
}

.evento-lightbox-stage {
  position: relative;
  width: 100%;
  max-width: min(1100px, 90vw);
  justify-self: center;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.evento-lightbox-image {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 18px;
  background: #08192b;
}

.evento-lightbox-caption {
  color: #ffffff;
  text-align: center;
  font-weight: 700;
}

.evento-lightbox-close,
.evento-lightbox-nav {
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.evento-lightbox-close:hover,
.evento-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.04);
}

.evento-lightbox-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  font-weight: 800;
}

.evento-lightbox-nav {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  line-height: 1;
}

.agenda-sidebar-sticky {
  position: sticky;
  top: 90px;
}

.imovel-page-main {
  padding: 2rem 0 4rem;
}

.imovel-hero {
  margin-bottom: 1.2rem;
}

.imovel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: 1rem;
  align-items: start;
}

.imovel-gallery-stack {
  display: grid;
  gap: 0.8rem;
}

.imovel-gallery {
  position: relative;
  height: 430px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #d8e5f3;
  background: #eef4fb;
  box-shadow: var(--shadow);
}

.imovel-gallery-pause-btn {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.2s ease, transform 0.15s ease;
  padding: 0;
}

.imovel-gallery-pause-btn:hover {
  opacity: 0.92;
  transform: scale(1.1);
}

.imovel-gallery-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.imovel-gallery-image.is-active {
  opacity: 1;
}

.imovel-gallery-thumbs {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding-bottom: calc(0.55rem + 30px);
  scrollbar-width: thin;
  scrollbar-color: rgba(63, 134, 199, 0.28) transparent;
}

.imovel-gallery-thumbs::-webkit-scrollbar {
  height: 6px;
}

.imovel-gallery-thumbs::-webkit-scrollbar-thumb {
  background: rgba(63, 134, 199, 0.28);
  border-radius: 999px;
}

.imovel-gallery-thumb {
  flex: 0 0 92px;
  width: 92px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(11, 43, 76, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.imovel-gallery-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 94, 168, 0.35);
}

.imovel-gallery-thumb.is-active {
  border-color: #0e5ea8;
  box-shadow: 0 12px 22px rgba(11, 76, 137, 0.22);
}

.imovel-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.imovel-gallery-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}

.imovel-contact-inline-link,
.imovel-external-inline-link,
.imovel-share-inline-link {
  margin-top: 0;
  text-decoration: none;
  white-space: nowrap;
}

.imovel-contact-inline-link {
  color: #25d366;
}

.imovel-contact-inline-link:hover {
  color: #1da851;
}

.imovel-panel {
  padding: 1.15rem;
}

.imovel-panel h1 {
  margin: 0;
  color: #132e4a;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.imovel-price {
  margin: 0.65rem 0 0;
  color: #0e5ea8;
  font-size: 1.7rem;
  font-weight: 800;
}

.imovel-summary {
  margin: 0.65rem 0 0;
  color: #486481;
  line-height: 1.6;
}

.imovel-specs {
  margin-top: 0.9rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.imovel-specs li {
  border: 1px solid #d8e5f3;
  border-radius: 12px;
  background: #f6faff;
  padding: 0.55rem 0.7rem;
  color: #355472;
  font-size: 0.9rem;
}

.imovel-whatsapp-btn {
  margin-top: 1rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.1rem;
  background: linear-gradient(135deg, #0e5ea8, #0b79d5);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(11, 76, 137, 0.24);
}

.imovel-share-btn {
  margin-top: 0.7rem;
  background: linear-gradient(135deg, #1d7f48, #25d366);
  box-shadow: 0 16px 30px rgba(29, 127, 72, 0.22);
}

.imovel-description-card {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
}

.imovel-description-card h2 {
  margin: 0 0 0.65rem;
  color: #16324f;
}

.imovel-description-card p {
  margin: 0;
  color: #496684;
  line-height: 1.75;
}

.property-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: 1rem;
  align-items: start;
}

.property-detail-gallery {
  display: grid;
  gap: 0.8rem;
}

.property-detail-gallery .property-carousel {
  position: relative;
  height: 430px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #d8e5f3;
  background: #eef4fb;
  box-shadow: var(--shadow);
}

.property-detail-gallery .carousel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.property-detail-gallery .carousel-image.is-active {
  opacity: 1;
}

.carousel-thumbnails {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding-bottom: calc(0.55rem + 30px);
  scrollbar-width: thin;
  scrollbar-color: rgba(63, 134, 199, 0.28) transparent;
}

.carousel-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.carousel-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(63, 134, 199, 0.28);
  border-radius: 999px;
}

.carousel-thumb {
  flex: 0 0 92px;
  width: 92px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(11, 43, 76, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.carousel-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 94, 168, 0.35);
}

.carousel-thumb.is-active {
  border-color: #0e5ea8;
  box-shadow: 0 12px 22px rgba(11, 76, 137, 0.22);
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.property-detail-info {
  padding: 1.15rem;
  border: 1px solid #dbe7f5;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.property-detail-info h1 {
  margin: 0;
  color: #132e4a;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.property-meta {
  margin-top: 0.65rem;
  color: #486481;
}

.property-price-section {
  margin-top: 0.65rem;
}

.property-detail-price {
  color: #0e5ea8;
  font-size: 1.7rem;
  font-weight: 800;
}

.property-description {
  margin-top: 0.9rem;
}

.property-description h3,
.property-contact-section h3 {
  margin: 0 0 0.65rem;
  color: #16324f;
}

.property-description p {
  margin: 0;
  color: #496684;
  line-height: 1.75;
}

.property-contact-section {
  margin-top: 1rem;
}

.contact-info p {
  margin: 0.2rem 0;
  color: #355472;
}

.property-whatsapp-btn {
  margin-top: 1rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.1rem;
  background: linear-gradient(135deg, #1d7f48, #25d366);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(29, 127, 72, 0.22);
}

.property-share-btn {
  margin-top: 0.7rem;
  background: linear-gradient(135deg, #0e5ea8, #0b79d5);
  box-shadow: 0 16px 30px rgba(11, 76, 137, 0.22);
}

.cta {
  padding: 4rem 0;
}

.cta-box {
  border-radius: 20px;
  padding: 1.3rem;
  background: linear-gradient(135deg, #0e5ea8, #0b79d5);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(0, 2.35fr);
  align-items: start;
  gap: 1rem;
}

.cta-box h2 {
  margin: 0;
  align-self: start;
  max-width: 18ch;
  padding: 0.35rem 0 0;
  font-size: clamp(1.7rem, 2.4vw, 2.25rem);
  line-height: 1.2;
}

.cta-box p {
  margin: 0.45rem 0 0;
  color: #ddedff;
}

.plan-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  width: 100%;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
  padding: 1rem 1rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 16px 28px rgba(6, 30, 58, 0.14);
  backdrop-filter: blur(6px);
}

.plan-card-featured {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-4px);
}

.plan-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: inline-flex;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: #ffffff;
  color: #0e5ea8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.plan-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.plan-card strong {
  font-size: 1.5rem;
  line-height: 1.1;
}

.plan-card p {
  margin: 0;
  color: rgba(239, 247, 255, 0.95);
}

.plan-options {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
  color: #f5f9ff;
  flex: 1;
}

.plan-options li {
  line-height: 1.45;
}

.plan-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  color: #0a4a88;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(7, 35, 66, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(7, 35, 66, 0.22);
}

.cta-btn {
  background: white;
  color: #0a4a88;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, #2b6eae 0%, #3f86c7 50%, #63a9e2 100%);
  padding-top: 2.1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-brand-block {
  display: block;
}

.footer-brand-logo {
  float: left;
  width: 140px;
  height: auto;
  object-fit: contain;
  margin: 0.15rem 0.9rem 0.45rem 0;
}

.footer-brand-block::after {
  content: "";
  display: table;
  clear: both;
}

.footer-grid h3,
.footer-grid h4 {
  margin: 0 0 0.5rem;
}

.footer-grid p {
  margin: 0;
  color: #d7e9ff;
  line-height: 1.6;
}

.footer-grid a {
  display: block;
  margin: 0.32rem 0;
  color: #eaf3ff;
}

.footer-grid a:hover {
  color: #ffffff;
}

.copyright {
  margin: 0;
  padding: 1.2rem 0 1.6rem;
  text-align: center;
  color: #d4e7ff;
  font-size: 0.88rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.is-hidden {
  display: none !important;
}

/* ── ARTIGO DETALHE ──────────────────────────────────── */
.artigo-main {
  padding-bottom: 4rem;
}

.artigo-capa {
  position: relative;
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  background: #0d1f3c;
}

.artigo-capa-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  opacity: 0.88;
}

.artigo-credito {
  position: absolute;
  bottom: 0.5rem;
  right: 0.8rem;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.35);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.artigo-wrapper {
  max-width: 760px;
  padding-top: 2rem;
}

.artigo-voltar {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1f6fbf;
  text-decoration: none;
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
}

.artigo-voltar:hover {
  text-decoration: underline;
}

.artigo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.artigo-titulo {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0d1f3c;
  margin: 0 0 0.7rem;
}

.artigo-resumo {
  font-size: 1.05rem;
  color: #3f5773;
  line-height: 1.6;
  margin: 0 0 1.2rem;
  font-weight: 500;
  border-left: 3px solid #c8dcf3;
  padding-left: 0.9rem;
}

.artigo-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #5a7491;
  font-weight: 600;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #dbe7f5;
}

.artigo-meta-autor {
  font-weight: 700;
  color: #1a3a5c;
}

.artigo-meta-sep {
  color: #b0c4d8;
}

.artigo-meta-views {
  color: #1f6fbf;
  font-weight: 700;
}

.artigo-share-inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: #1f6fbf;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.artigo-share-inline-btn:hover {
  color: #154f8b;
}

.artigo-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.artigo-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.artigo-conteudo {
  font-size: 1rem;
  line-height: 1.8;
  color: #1a2d45;
}

.artigo-conteudo h2,
.artigo-conteudo h3,
.artigo-conteudo h4 {
  margin: 1.8rem 0 0.6rem;
  color: #0d1f3c;
  font-weight: 800;
}

.artigo-conteudo p {
  margin: 0 0 1.1rem;
}

.artigo-conteudo img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
}

.artigo-conteudo a {
  color: #1f6fbf;
  text-decoration: underline;
}

.artigo-conteudo blockquote {
  border-left: 4px solid #84b8e8;
  padding: 0.5rem 1rem;
  margin: 1.2rem 0;
  background: #f2f7ff;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #3f5773;
}

.artigo-conteudo ul,
.artigo-conteudo ol {
  padding-left: 1.6rem;
  margin-bottom: 1rem;
}

.artigo-conteudo li {
  margin-bottom: 0.35rem;
}

.artigo-autor-box {
  margin-top: 3rem;
  padding: 1.4rem 1.6rem;
  background: linear-gradient(135deg, #f2f7ff 0%, #e8f2ff 100%);
  border: 1px solid #c8dcf3;
  border-radius: 14px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.artigo-autor-info {
  flex: 1;
}

.artigo-autor-nome {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0d1f3c;
  margin: 0 0 0.3rem;
}

.artigo-autor-bio {
  font-size: 0.82rem;
  color: #3f5773;
  line-height: 1.5;
  margin: 0 0 0.7rem;
}

.artigo-autor-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.artigo-social-link {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  background: #fff;
  border: 1px solid #c8dcf3;
  border-radius: 999px;
  color: #1f6fbf;
  text-decoration: none;
}

.artigo-social-link:hover {
  background: #1f6fbf;
  color: #fff;
}

.artigo-footer-nav {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #dbe7f5;
}

/* ── COMPARTILHAMENTO ────────────────────────────────── */
.artigo-share {
  margin: 1.5rem 0 2.5rem;
  padding: 1.2rem;
  background: #f5f9ff;
  border-radius: 10px;
  display: flex;
  gap: 0.8rem;
}

.artigo-share-btn {
  background: linear-gradient(135deg, #1f568d 0%, #2a6fa0 100%);
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(31, 86, 141, 0.15);
}

.artigo-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 86, 141, 0.25);
}

.artigo-banner-slot {
  display: flex;
  justify-content: center;
  margin: 1.2rem 0 2.6rem;
}

/* ── COMENTÁRIOS ─────────────────────────────────────── */
.artigo-comentarios {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #dbe7f5;
}

.artigo-comentarios-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0d1f3c;
  margin-bottom: 1.5rem;
}

.artigo-comentario-form h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d1f3c;
  margin-bottom: 1rem;
}

.artigo-form-group {
  margin-bottom: 1rem;
}

#comment {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #c8dcf3;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1a2d45;
  resize: vertical;
}

#comment:focus {
  outline: none;
  border-color: #1f568d;
  box-shadow: 0 0 0 3px rgba(31, 86, 141, 0.1);
}

.artigo-resposta-info {
  background: #e8f4ff;
  border-left: 3px solid #1f568d;
  padding: 0.8rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #0d1f3c;
}

.artigo-submit-btn {
  background: linear-gradient(135deg, #1f568d 0%, #2a6fa0 100%);
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(31, 86, 141, 0.15);
  text-decoration: none;
  display: inline-block;
}

.artigo-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 86, 141, 0.25);
}

.artigo-comentarios-list {
  margin-top: 2rem;
}

.artigo-comentario-item {
  padding: 1rem;
  background: #f9fbfd;
  border: 1px solid #e0eaf5;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.artigo-respostas-lista {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  border-left: 3px solid #d0e4f7;
}

.artigo-comentario-resposta {
  background: #eef5fc;
  border-color: #c8ddf0;
  margin-bottom: 0.6rem;
}

.artigo-comentario-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
  flex-wrap: wrap;
}

.artigo-comentario-header strong {
  color: #0d1f3c;
  font-size: 0.95rem;
}

.artigo-comentario-data {
  font-size: 0.8rem;
  color: #5a7491;
  font-weight: 600;
}

.artigo-comentario-texto {
  color: #1a2d45;
  line-height: 1.6;
  margin: 0.5rem 0 0.8rem;
  font-size: 0.95rem;
}

.artigo-comentario-responder {
  font-size: 0.8rem;
  color: #1f568d;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
  padding: 0;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.artigo-comentario-responder:hover {
  color: #0d3a7a;
}

/* ── MODAL WHATSAPP ─────────────────────────────────── */
.artigo-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  max-width: 480px;
  width: 90vw;
  z-index: 1000;
  max-height: 90vh;
  overflow-y: auto;
}

.artigo-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.artigo-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artigo-modal-close:hover {
  color: #333;
}

.artigo-modal-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid #e0eaf5;
}

.artigo-modal-header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #0d1f3c;
}

.artigo-modal-body {
  padding: 1.5rem;
}

.artigo-modal-item {
  margin-bottom: 1.2rem;
  padding: 0.9rem;
  background: #f9fbfd;
  border-radius: 8px;
}

.artigo-modal-item strong {
  display: block;
  color: #0d1f3c;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.artigo-modal-item p {
  margin: 0;
  color: #1a2d45;
  font-size: 0.9rem;
  line-height: 1.5;
}

.artigo-modal-success {
  background: #c8e6c9;
  color: #2e7d32;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.artigo-modal-footer {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid #e0eaf5;
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
}

.artigo-modal-btn-primary,
.artigo-modal-btn-secondary {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.artigo-modal-btn-primary {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(39, 174, 96, 0.15);
}

.artigo-modal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.25);
}

.artigo-modal-btn-secondary {
  background: #f5f5f5;
  color: #666;
  border: 1px solid #ddd;
}

.artigo-modal-btn-secondary:hover {
  background: #e8e8e8;
}

@media (max-width: 700px) {
  .artigo-comentarios {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .artigo-comentario-item {
    padding: 0.8rem;
    min-height: 400px;
  }

  .hero-panel-banner {
    min-height: auto;
  }

  .hero-banner-label {
    align-self: center;
  }

  .artigo-modal {
    max-width: 85vw;
  }

  .artigo-share {
    flex-direction: column;
  }
}
/* ── FIM COMENTÁRIOS ─────────────────────────────────── */

@media (max-width: 1100px) {
  .main-nav {
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: 72px;
    background: #fff;
    border: 1px solid #d8e5f3;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 0.5rem;
    flex-wrap: wrap;
    display: none;
    margin-left: 0;
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .hero-grid,
  .two-col,
  .footer-grid,
  .agenda-layout {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel-banner {
    justify-self: center;
    margin-inline: auto;
  }

  .agenda-sidebar-sticky {
    position: static;
  }
}

@media (max-width: 1100px) {
  .plan-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .nav-wrap {
    flex-wrap: wrap;
    padding: 0.45rem 0;
  }

  .user-name {
    display: none;
  }

  .search-box {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .agenda-page-intro,
  .agenda-month-head,
  .agenda-event-card {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .agenda-event-card {
    gap: 0.8rem;
  }

  .agenda-event-date-box {
    width: 78px;
  }

  .cta-box {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 1rem;
  }

  .cta-box h2 {
    max-width: none;
    padding-top: 0;
  }

  .plan-cards-grid {
    grid-template-columns: 1fr;
  }

  .desapega-btn {
    width: 100%;
    min-width: 0;
  }

  .desapega-actions {
    justify-content: stretch;
  }

  .event-modal {
    width: calc(100vw - 1rem);
    max-height: calc(100vh - 1rem);
    padding: 1.2rem;
    border-radius: 22px;
  }

  .event-modal-header {
    padding-right: 2.6rem;
  }

  .event-modal-grid,
  .event-modal-grid-compact,
  .event-upload-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .event-upload-preview {
    min-height: 200px;
  }

  .event-modal-submit {
    width: 100%;
    min-width: 0;
  }

  .imovel-layout,
  .evento-detail-layout {
    grid-template-columns: 1fr;
  }

  .evento-detail-panel {
    position: static;
  }

  .evento-gallery-main {
    min-height: 280px;
  }

  .evento-gallery-thumb {
    flex-basis: 74px;
    width: 74px;
    height: 58px;
  }

  .evento-lightbox {
    grid-template-columns: 1fr;
  }

  .evento-lightbox-nav {
    position: fixed;
    top: calc(50% - 23px);
    z-index: 1201;
  }

  .evento-lightbox-nav.prev {
    left: 0.65rem;
  }

  .evento-lightbox-nav.next {
    right: 0.65rem;
  }

  .property-detail-grid {
    grid-template-columns: 1fr;
  }

  .imovel-gallery {
    height: 280px;
  }

  .imovel-gallery-thumb {
    flex-basis: 74px;
    width: 74px;
    height: 58px;
  }

  .imovel-gallery-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }

  .property-price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-brand-logo {
    float: none;
    display: block;
    margin: 0 0 0.7rem;
    width: 130px;
  }

  .auth-card {
    padding: 1.25rem 0.95rem;
  }

  .auth-card h1 {
    font-size: 1.6rem;
  }

  .auth-submit {
    font-size: 0.98rem;
  }

  .auth-links {
    font-size: 0.93rem;
    flex-wrap: wrap;
  }

  .cookie-consent-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-consent-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }
}
