:root {
  --green: #16a34a;
  --green-dark: #0f7a35;
  --blue: #1e3a8a;
  --blue-dark: #0b1d48;
  --orange: #f97316;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #eef2f7;
  --gray-200: #dbe3ee;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --shadow: 0 18px 55px rgba(15, 23, 42, .12);
  --shadow-soft: 0 10px 30px rgba(30, 58, 138, .1);
  --radius: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(249, 115, 22, .5); outline-offset: 3px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.eyebrow {
  color: var(--green);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-title {
  margin: 8px 0 14px;
  color: var(--blue-dark);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
}
.section-lead {
  max-width: 700px;
  margin: 0;
  color: var(--gray-500);
  font-size: 1.05rem;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: 44px;
  align-items: center;
}
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.pad { padding: 24px; }
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 20px;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-ghost { border-color: var(--gray-200); color: var(--blue); background: var(--white); }
.btn-full { width: 100%; }
.icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: rgba(22, 163, 74, .1);
  color: var(--green);
  font-weight: 900;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 227, 238, .85);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 210px; max-height: 68px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  border-radius: 6px;
  padding: 10px 11px;
  color: var(--gray-700);
  font-size: .94rem;
  font-weight: 750;
}
.main-nav a[aria-current="page"], .main-nav a:hover { color: var(--green); background: rgba(22, 163, 74, .08); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  background: var(--white);
  color: var(--blue);
}
.hamburger { display: none; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 70; display: none; background: rgba(15, 23, 42, .48); }
.mobile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 80;
  width: min(88vw, 360px);
  padding: 22px;
  background: var(--white);
  transform: translateX(102%);
  transition: transform .28s ease;
  box-shadow: var(--shadow);
}
.drawer-open .drawer-backdrop { display: block; }
.drawer-open .mobile-drawer { transform: translateX(0); }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.mobile-nav { display: grid; gap: 6px; }
.mobile-nav a { border-radius: 6px; padding: 13px 10px; color: var(--blue-dark); font-weight: 800; }
.mobile-nav a:hover { background: rgba(22, 163, 74, .08); color: var(--green); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(95deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.94) 42%, rgba(255,255,255,.7) 55%, rgba(255,255,255,.08) 100%),
    url("../images/banner-estivo.png") center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--orange));
}
.hero-inner {
  min-height: 650px;
  display: grid;
  align-items: center;
  padding: 88px 0 96px;
}
.hero-content { max-width: 680px; }
.hero-logo { width: min(360px, 82vw); margin-bottom: 20px; }
.hero h1 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: .92;
}
.hero h1 span:nth-child(2) { color: #1185d2; }
.hero h1 span:nth-child(3) { color: var(--orange); }
.hero h1 span:nth-child(4) { display: block; color: var(--green); }
.hero p { max-width: 620px; color: var(--gray-700); font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 26px; }
.search-panel {
  display: grid;
  grid-template-columns: 1.3fr .9fr .9fr auto;
  gap: 10px;
  max-width: 860px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
}
.field { display: grid; gap: 5px; }
.field label { color: var(--blue); font-size: .76rem; font-weight: 900; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  background: var(--white);
  padding: 12px;
  color: var(--gray-900);
}
.field textarea { min-height: 132px; resize: vertical; }

.trust-strip { background: var(--gray-50); }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item strong { display: block; color: var(--blue-dark); }
.trust-item span { color: var(--gray-500); font-size: .92rem; }
.property-card { overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.property-img {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(30,58,138,.12), rgba(22,163,74,.2)), url("../images/banner-estivo.png") center / cover no-repeat;
}
.property-img.alt { background-position: right center; }
.property-body { padding: 20px; }
.tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(22, 163, 74, .1);
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 900;
}
.price { margin: 12px 0 4px; color: var(--green); font-size: 1.35rem; font-weight: 900; }
.property-meta { display: flex; flex-wrap: wrap; gap: 9px; color: var(--gray-500); font-size: .9rem; }
.service-card, .why-card, .agent-card, .blog-card {
  padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover, .why-card:hover, .agent-card:hover, .blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.highlight-band {
  background: linear-gradient(120deg, var(--blue-dark), var(--blue));
  color: var(--white);
}
.highlight-band .section-title, .highlight-band .section-lead { color: var(--white); }
.counter { text-align: center; }
.counter strong { display: block; color: var(--green); font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1; }
.counter span { color: rgba(255,255,255,.86); font-weight: 800; }
.testimonial {
  display: none;
  padding: 30px;
}
.testimonial.active { display: block; }
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
}
.slider-controls { display: flex; gap: 10px; margin-top: 16px; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  padding: 20px 0;
  color: var(--blue-dark);
  font-weight: 900;
  text-align: left;
}
.faq-answer { display: none; padding: 0 0 20px; color: var(--gray-500); }
.faq-item.open .faq-answer { display: block; }
.newsletter, .cta {
  border-radius: var(--radius);
  padding: 36px;
  background: linear-gradient(120deg, rgba(22,163,74,.12), rgba(30,58,138,.1));
}
.newsletter form { display: flex; gap: 10px; margin-top: 20px; }
.newsletter input { flex: 1; min-width: 0; border: 1px solid var(--gray-200); border-radius: 6px; padding: 13px; }

.page-hero {
  background: linear-gradient(120deg, rgba(30,58,138,.96), rgba(22,163,74,.88)), url("../images/banner-estivo.png") center / cover no-repeat;
  color: var(--white);
  padding: 92px 0;
}
.page-hero h1 { margin: 0 0 12px; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; }
.page-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.88); font-size: 1.1rem; }
.breadcrumbs { margin-bottom: 18px; color: rgba(255,255,255,.8); font-size: .9rem; }
.filters {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(140px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.map-box {
  min-height: 330px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(30,58,138,.14), rgba(22,163,74,.16));
  display: grid;
  place-items: center;
  color: var(--blue);
  font-weight: 900;
}
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
}
.gallery div {
  min-height: 180px;
  border-radius: var(--radius);
  background: url("../images/banner-estivo.png") center / cover no-repeat;
}
.gallery div:first-child { min-height: 374px; grid-row: span 2; }
.calc-output {
  border-radius: var(--radius);
  padding: 22px;
  background: var(--blue-dark);
  color: var(--white);
}
.calc-output strong { display: block; color: #64e58f; font-size: 2.2rem; }

.site-footer {
  background: var(--blue-dark);
  color: var(--white);
  padding: 58px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 28px; }
.footer-logo {
  width: 190px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .96);
  padding: 8px;
}
.site-footer p, .site-footer a { color: rgba(255,255,255,.78); }
.site-footer h2, .site-footer h3 { color: var(--white); }
.footer-links { display: grid; gap: 9px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 36px;
  padding-top: 20px;
  color: rgba(255,255,255,.68);
}
.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: grid;
  gap: 10px;
}
.float-actions a, .back-to-top {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  box-shadow: var(--shadow);
}
.whatsapp { background: var(--green); }
.call-now { background: var(--orange); }
.back-to-top { background: var(--blue); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.back-to-top.show { opacity: 1; pointer-events: auto; }

.form-message { margin-top: 12px; font-weight: 800; }
.muted { color: var(--gray-500); }
.text-green { color: var(--green); }
.text-orange { color: var(--orange); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
