/* ===== Reset & base ===== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #e4e6e9;
  background-color: #0a101e;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ===== Header ===== */
.site-header {
  background-color: #0b0f1b;
  border-bottom: 1px solid #20242f;
  padding: 32px 0 35px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brand-mark {
  background-image: linear-gradient(135deg, #22d3ee, #0ea5e9);
  color: #0b0e1a;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 1rem;
}

.brand-name {
  color: #d7dbe4;
  font-weight: 600;
  font-size: 1rem;
}

.header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 15px;
  border: 1px solid transparent;
  transition: all 0.4s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: #0fa5e8;
  border-color: #0fa5e8;
  color: #fff;
  box-shadow: 0 0 20px rgba(127, 211, 247, 0.45);
}

.btn-primary:hover {
  background-color: #046b9b;
  border-color: #046b9b;
  transform: translateY(-5px);
}

.btn-secondary {
  background-color: #0a0f23;
  border-color: #20242f;
  color: #fff;
  box-shadow: 0 0 29px rgba(127, 211, 247, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-5px);
}

/* ===== Pills / tags ===== */
.pill {
  display: inline-block;
  color: #7fd3f7;
  background-color: rgba(127, 211, 247, 0.15);
  border: 1px solid rgba(127, 211, 247, 0.5);
  border-radius: 30px;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 1rem;
}

/* ===== Hero ===== */
.hero {
  padding: 60px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 56.25% 43.75%;
  gap: 30px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero h1 {
  color: #e4e6e9;
  line-height: 1.1;
  font-size: 2.6rem;
  font-weight: 700;
}

.hero-lead {
  color: #e4e6e9;
  font-size: 1.1rem;
}

.price-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-cta-box {
  margin-top: 10px;
  background-color: #131722;
  border: 2px solid #20242f;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 30px rgba(127, 211, 247, 0.3);
}

.hero-image img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}

/* ===== Stat cards ===== */
.stats {
  padding: 20px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 20px;
}

.stat-card {
  background-color: #131722;
  border: 2px solid #20242f;
  border-radius: 20px;
  padding: 20px;
  transition: transform 0.5s ease;
}

.stat-card:hover { transform: translateY(-5px); }

.stat-title {
  color: #e4e6e9;
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-desc {
  color: #8e92a1;
  font-size: 0.9rem;
  margin-top: 6px;
}

/* ===== Differentials ===== */
.section {
  padding: 50px 0;
}

.section h2 {
  color: #e4e6e9;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 30px;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 20px;
}

.diff-card {
  background-color: #131722;
  border: 2px solid #20242f;
  border-radius: 20px;
  padding: 22px;
  transition: transform 0.5s ease;
}

.diff-card:hover { transform: translateY(-5px); }

.diff-title {
  color: #e4e6e9;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.diff-desc {
  color: #e4e6e9;
  font-size: 0.9rem;
}

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 15px;
}

.gallery a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #131722;
  border: 2px solid #20242f;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery a:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(127, 211, 247, 0.3);
}

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

/* ===== Map ===== */
.address-card {
  background-color: #131722;
  border: 2px solid #20242f;
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.map-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
}

.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Contact section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 30px;
  align-items: stretch;
}

.contact-card {
  background-color: #131722;
  border: 2px solid #20242f;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 0 30px rgba(127, 211, 247, 0.45);
}

.specs-card {
  background-color: #131722;
  border: 2px solid #20242f;
  border-radius: 20px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.specs-card .specs-title {
  color: #e4e6e9;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.specs-card p {
  color: #e4e6e9;
  font-size: 0.95rem;
  margin: 0;
}

.specs-card b { color: #7fd3f7; margin-right: 6px; }

/* ===== Form ===== */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-form h3 {
  color: #e4e6e9;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.lead-form p { color: #8e92a1; font-size: 0.9rem; }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  color: #d7dbe4;
  font-size: 0.85rem;
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #20242f;
  background-color: #0a101e;
  color: #e4e6e9;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #7fd3f7;
  box-shadow: 0 0 0 3px rgba(127, 211, 247, 0.2);
}

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

.form-submit {
  margin-top: 6px;
  width: 100%;
}

/* ===== Portfolio / outros imóveis ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  background-color: #131722;
  border: 2px solid #20242f;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(127, 211, 247, 0.55);
  box-shadow: 0 0 30px rgba(127, 211, 247, 0.35);
}

.portfolio-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #0a101e;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.04);
}

.portfolio-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portfolio-title {
  color: #e4e6e9;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.portfolio-desc {
  color: #8e92a1;
  font-size: 0.95rem;
  margin: 0;
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid #20242f;
}

.portfolio-price {
  color: #7fd3f7;
  font-weight: 700;
  font-size: 1rem;
}

.portfolio-link {
  color: #d7dbe4;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.portfolio-card:hover .portfolio-link {
  color: #7fd3f7;
}

/* ===== Footer ===== */
.site-footer {
  background-color: #0b0f1b;
  border-top: 1px solid #20242f;
  padding: 30px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.footer-copy {
  color: #858b99;
  font-size: 0.8rem;
}

.footer-links {
  color: #338abb;
  font-weight: 600;
  font-size: 0.8rem;
}

.footer-links:hover { color: #7fd3f7; }

/* ===== Responsive ===== */
@media (max-width: 1120px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(200px, 1fr)); }
  .diff-grid { grid-template-columns: repeat(1, minmax(200px, 1fr)); }
}

@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .hero h1 { font-size: 2.1rem; }
}

@media (max-width: 767px) {
  .stats-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .btn-secondary { display: none; }
  .section { padding: 35px 0; }
  .hero { padding: 35px 0; }
}

@media (max-width: 479px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 220px; }
  .hero h1 { font-size: 1.8rem; }
  .header-actions .btn-primary { padding: 10px 14px; font-size: 0.9rem; }
}
