:root {
      --orange: #e85a1c;
      --orange-dark: #c94a12;
      --blue: #1a3a6e;
      --blue-dark: #0f2a52;
      --blue-btn: #1e4a8c;
      --text: #1f2937;
      --text-muted: #6b7280;
      --bg: #f8fafc;
      --white: #ffffff;
      --border: #e5e7eb;
      --radius: 12px;
      --shadow: 0 4px 20px rgba(0,0,0,0.08);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      color: var(--text);
      background: var(--bg);
      line-height: 1.5;
    }

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

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

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* ========== HEADER ========== */
    .top-bar {
      background: var(--white);
      border-bottom: 3px solid var(--orange);
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    }

    .header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
      gap: 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }

    .logo-icon {
      width: 42px;
      height: 42px;
      background: linear-gradient(135deg, var(--orange), #f97316);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 22px;
    }

    .logo-text {
      display: flex;
      flex-direction: column;
      line-height: 1.15;
    }

    .logo-text strong {
      font-size: 20px;
      font-weight: 800;
      color: var(--blue);
      letter-spacing: -0.3px;
    }

    .logo-text span {
      font-size: 11px;
      color: var(--orange);
      font-weight: 600;
      letter-spacing: 0.5px;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 28px;
      flex: 1;
      justify-content: center;
    }

    .nav a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text);
      transition: color 0.2s;
    }

    .nav a:hover,
    .nav a.active {
      color: var(--orange);
    }
    .nav a.active {
      font-weight: 600;
    }

    .nav a.has-dropdown::after {
      content: "▾";
      margin-left: 4px;
      font-size: 11px;
      opacity: 0.7;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-shrink: 0;
    }

    .instagram-icon {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #f3f4f6;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text);
      transition: all 0.2s;
    }

    .instagram-icon:hover {
      background: #e5e7eb;
    }

    .whatsapp-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      background: #1e3a8c;
      color: white;
      padding: 10px 16px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 14px;
      transition: background 0.2s;
    }

    .whatsapp-btn:hover {
      background: #152a6b;
    }

    /* ========== HERO ========== */
    .hero {
      position: relative;
      height: 480px;
      background: linear-gradient(rgba(15, 30, 60, 0.55), rgba(15, 30, 60, 0.55)),
                  url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1600&q=80') center/cover no-repeat;
      display: flex;
      align-items: center;
      color: white;
    }

    .hero-content {
      max-width: 640px;
    }

    .hero h1 {
      font-size: 42px;
      font-weight: 800;
      line-height: 1.15;
      margin-bottom: 16px;
      letter-spacing: -0.5px;
    }

    .hero p {
      font-size: 17px;
      opacity: 0.95;
      margin-bottom: 28px;
      line-height: 1.6;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--blue-btn);
      color: white;
      padding: 14px 28px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 15px;
      border: none;
      cursor: pointer;
      transition: background 0.2s, transform 0.15s;
    }

    .btn-primary:hover {
      background: var(--blue-dark);
      transform: translateY(-1px);
    }

    /* ========== SEARCH BAR ========== */
    .search-wrapper {
      margin-top: -40px;
      position: relative;
      z-index: 10;
      padding: 0 24px;
    }

    .search-box {
      background: white;
      border-radius: 16px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.12);
      padding: 20px 24px;
      display: grid;
      grid-template-columns: 1.2fr 1.2fr 1fr 1.3fr auto;
      gap: 16px;
      align-items: end;
      max-width: 1200px;
      margin: 0 auto;
    }

    .search-field label {
      display: block;
      font-size: 12px;
      font-weight: 600;
      color: var(--text-muted);
      margin-bottom: 6px;
      text-transform: uppercase;
      letter-spacing: 0.3px;
    }

    .search-field select {
      width: 100%;
      padding: 12px 14px;
      border: 1px solid var(--border);
      border-radius: 8px;
      font-size: 14px;
      font-family: inherit;
      color: var(--text);
      background: white;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M3 4.5L6 8l3-3.5'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
      cursor: pointer;
    }

    .search-field select:focus {
      outline: none;
      border-color: var(--orange);
      box-shadow: 0 0 0 3px rgba(232, 90, 28, 0.15);
    }

    .btn-search {
      background: var(--blue-btn);
      color: white;
      border: none;
      padding: 12px 24px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 15px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      height: 46px;
      white-space: nowrap;
      transition: background 0.2s;
    }

    .btn-search:hover {
      background: var(--blue-dark);
    }

    /* ========== FEATURES ========== */
    .features {
      padding: 64px 0 40px;
    }

    .features-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }

    .feature-card {
      background: white;
      border-radius: 16px;
      padding: 36px 32px;
      box-shadow: var(--shadow);
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .feature-icon {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: #eff6ff;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      color: var(--blue-btn);
    }

    .feature-card h3 {
      font-size: 18px;
      font-weight: 700;
      color: var(--blue);
      margin-bottom: 12px;
    }

    .feature-card p {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.65;
      margin-bottom: 24px;
      max-width: 380px;
    }

    .btn-feature {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--blue-btn);
      color: white;
      padding: 12px 22px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 14px;
      transition: background 0.2s;
    }

    .btn-feature:hover {
      background: var(--blue-dark);
    }

    /* ========== PROPERTIES ========== */
    .properties {
      padding: 48px 0 64px;
    }

    .section-title {
      text-align: center;
      margin-bottom: 40px;
    }

    .section-title h2 {
      font-size: 28px;
      font-weight: 800;
      color: var(--blue);
      display: inline-flex;
      align-items: center;
      gap: 16px;
    }

    .section-title h2::before,
    .section-title h2::after {
      content: "";
      width: 60px;
      height: 2px;
      background: var(--blue);
      opacity: 0.3;
    }

    .properties-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .property-card {
      background: white;
      border-radius: 14px;
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .property-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    }

    .property-image {
      position: relative;
      height: 200px;
      overflow: hidden;
    }

    .property-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .property-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      background: white;
      color: var(--blue);
      font-size: 12px;
      font-weight: 600;
      padding: 4px 12px;
      border-radius: 20px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .property-fav {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 34px;
      height: 34px;
      background: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      color: #9ca3af;
      transition: color 0.2s;
    }

    .property-fav:hover {
      color: #ef4444;
    }

    .property-body {
      padding: 18px 20px 22px;
    }

    .property-body h3 {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 4px;
      color: var(--text);
    }

    .property-location {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 12px;
    }

    .property-meta {
      display: flex;
      gap: 14px;
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 14px;
      flex-wrap: wrap;
    }

    .property-meta span {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .property-price {
      font-size: 20px;
      font-weight: 800;
      color: var(--orange);
      margin-bottom: 14px;
    }

    .btn-details {
      display: block;
      width: 100%;
      text-align: center;
      padding: 10px;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      font-weight: 600;
      font-size: 14px;
      color: var(--blue);
      transition: all 0.2s;
    }

    .btn-details:hover {
      background: var(--blue-btn);
      color: white;
      border-color: var(--blue-btn);
    }

    .btn-more {
      display: block;
      margin: 40px auto 0;
      background: white;
      border: 1.5px solid var(--border);
      padding: 12px 36px;
      border-radius: 50px;
      font-weight: 600;
      font-size: 15px;
      color: var(--text);
      cursor: pointer;
      transition: all 0.2s;
    }

    .btn-more:hover {
      border-color: var(--blue);
      color: var(--blue);
    }

    /* ========== WHY US ========== */
    .why-us {
      padding: 64px 0 80px;
      background: white;
    }

    .why-us .section-title h2 {
      color: var(--blue);
    }

    .why-us-content {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 48px;
      align-items: center;
      margin-top: 40px;
    }

    .why-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .why-list li {
      display: flex;
      align-items: flex-start;
      gap: 16px;
    }

    .why-number {
      width: 36px;
      height: 36px;
      background: var(--blue-btn);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 15px;
      flex-shrink: 0;
    }

    .why-list p {
      font-size: 16px;
      color: var(--text);
      padding-top: 6px;
      line-height: 1.5;
    }

    .why-image {
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--shadow);
    }

    .why-image img {
      width: 100%;
      height: 320px;
      object-fit: cover;
    }

    /* ========== ADDRESS BAR ========== */
    .address-bar {
      background: #f1f5f9;
      padding: 18px 0;
      text-align: center;
      font-size: 15px;
      color: var(--text);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    /* ========== FOOTER ========== */
    .footer {
      background: var(--blue-dark);
      color: white;
      padding: 40px 0 32px;
    }

    .footer-content {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 40px;
      flex-wrap: wrap;
    }

    .footer-logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .footer-logo .logo-icon {
      width: 38px;
      height: 38px;
      font-size: 18px;
    }

    .footer-logo strong {
      font-size: 18px;
      color: white;
    }

    .footer-logo span {
      color: #fbbf24;
      font-size: 11px;
    }

    .footer-col h4 {
      font-size: 13px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 12px;
      opacity: 0.7;
    }

    .footer-col p {
      font-size: 14px;
      line-height: 1.7;
      opacity: 0.9;
    }

    .footer-social {
      display: flex;
      gap: 12px;
      margin-top: 8px;
    }

    .footer-social a {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255,255,255,0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
    }

    .footer-social a:hover {
      background: rgba(255,255,255,0.2);
    }

    /* ========== MOBILE MENU ========== */
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      color: var(--blue);
      flex-shrink: 0;
    }

    .menu-toggle svg {
      display: block;
    }

    .mobile-nav {
      display: none;
      position: fixed;
      top: 72px;
      left: 0;
      right: 0;
      bottom: 0;
      background: white;
      z-index: 99;
      padding: 24px;
      flex-direction: column;
      gap: 8px;
      overflow-y: auto;
      box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    }

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

    .mobile-nav a {
      display: block;
      padding: 14px 16px;
      font-size: 16px;
      font-weight: 500;
      color: var(--text);
      border-radius: 10px;
      transition: background 0.2s;
    }

    .mobile-nav a:hover,
    .mobile-nav a:active {
      background: #f1f5f9;
      color: var(--orange);
    }

    .mobile-nav .mobile-whatsapp {
      margin-top: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: #1e3a8c;
      color: white !important;
      padding: 14px;
      border-radius: 12px;
      font-weight: 600;
    }

    .mobile-nav .mobile-whatsapp:hover {
      background: #152a6b;
      color: white !important;
    }

    body.menu-open {
      overflow: hidden;
    }

    /* ========== RESPONSIVE ========== */
    @media (max-width: 1100px) {
      .nav {
        gap: 18px;
      }
      .nav a {
        font-size: 14px;
      }
      .whatsapp-btn span {
        display: none;
      }
      .whatsapp-btn {
        padding: 10px 14px;
      }
    }

    @media (max-width: 1024px) {
      .search-box {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
      }
      .btn-search {
        grid-column: 1 / -1;
        justify-content: center;
        height: 48px;
      }
      .properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
      }
      .hero h1 {
        font-size: 36px;
      }
      .features-grid {
        gap: 24px;
      }
    }

    @media (max-width: 768px) {
      .container {
        padding: 0 16px;
      }

      /* Header mobile */
      .header {
        height: 64px;
        gap: 12px;
      }

      .logo-icon {
        width: 36px;
        height: 36px;
      }

      .logo-text strong {
        font-size: 17px;
      }

      .logo-text span {
        font-size: 10px;
      }

      .nav {
        display: none;
      }

      .instagram-icon {
        display: none;
      }

      .whatsapp-btn {
        padding: 9px 12px;
        font-size: 13px;
      }

      .menu-toggle {
        display: block;
      }

      .top-bar {
        border-bottom-width: 2px;
      }

      /* Hero mobile */
      .hero {
        height: auto;
        min-height: 360px;
        padding: 48px 0 80px;
        background-position: 70% center;
      }

      .hero h1 {
        font-size: 28px;
        line-height: 1.2;
      }

      .hero p {
        font-size: 15px;
        margin-bottom: 24px;
      }

      .btn-primary {
        padding: 13px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
      }

      /* Search mobile */
      .search-wrapper {
        margin-top: -36px;
        padding: 0 16px;
      }

      .search-box {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 12px;
        border-radius: 14px;
      }

      .search-field select {
        padding: 13px 14px;
        font-size: 15px;
      }

      .btn-search {
        height: 50px;
        font-size: 15px;
      }

      /* Features mobile */
      .features {
        padding: 48px 0 32px;
      }

      .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .feature-card {
        padding: 28px 22px;
      }

      .feature-card h3 {
        font-size: 17px;
      }

      .feature-card p {
        font-size: 13.5px;
      }

      /* Properties mobile */
      .properties {
        padding: 32px 0 48px;
      }

      .section-title {
        margin-bottom: 28px;
      }

      .section-title h2 {
        font-size: 22px;
        gap: 12px;
      }

      .section-title h2::before,
      .section-title h2::after {
        width: 28px;
      }

      .properties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .property-image {
        height: 220px;
      }

      .property-body {
        padding: 16px 18px 20px;
      }

      .property-price {
        font-size: 19px;
      }

      .btn-more {
        margin-top: 32px;
        width: 100%;
        max-width: 280px;
      }

      /* Why us mobile */
      .why-us {
        padding: 48px 0 56px;
      }

      .why-us-content {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 28px;
      }

      .why-list {
        gap: 20px;
      }

      .why-list p {
        font-size: 15px;
      }

      .why-image img {
        height: 240px;
      }

      /* Address bar */
      .address-bar {
        font-size: 13.5px;
        padding: 16px;
        flex-wrap: wrap;
        text-align: center;
      }

      /* Footer mobile */
      .footer {
        padding: 36px 0 28px;
      }

      .footer-content {
        flex-direction: column;
        gap: 28px;
        align-items: flex-start;
      }

      .footer-col h4 {
        margin-bottom: 10px;
      }

      .footer-social {
        margin-top: 12px;
      }
    }

    @media (max-width: 480px) {
      .hero h1 {
        font-size: 24px;
      }

      .hero p {
        font-size: 14px;
      }

      .hero {
        min-height: 320px;
        padding: 40px 0 72px;
      }

      .logo-text span {
        display: none;
      }

      .whatsapp-btn {
        padding: 8px 10px;
      }

      .section-title h2 {
        font-size: 20px;
      }

      .property-image {
        height: 200px;
      }
    }

/* Image loading / CLS */
.property-image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e8eef5;
}
.property-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.gallery-main {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e8eef5;
}
.gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.gallery-thumbs img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}


/* Meta com ícones */
.property-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	align-items: center;
	color: #5a6a7a;
	font-size: 0.875rem;
	font-weight: 500;
}
.property-meta .meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.property-meta .meta-icon {
	flex-shrink: 0;
	color: #1e4a7a;
	opacity: 0.85;
}


/* Lazy render de cards fora da viewport */
.property-card {
	content-visibility: auto;
	contain-intrinsic-size: 360px 420px;
}
img[loading="lazy"] {
	background: #e8eef5;
}


/* Intersection Observer lazy images */
img.js-lazy-img {
	background: #e8eef5;
	filter: blur(0);
	opacity: 0.65;
	transition: opacity 0.35s ease;
}
img.js-lazy-img.is-loaded,
img.is-loaded {
	opacity: 1;
}
