:root{
  --bg:#f2f0ed;
  --surface:#ffffff;
  --text:#333330;
  --muted:#716f69;
  --dark:#3f3f3f;
  --dark-strong:#2f2f2f;
  --line:rgba(255,255,255,.12);
  --brand:#c89172;
  --brand-strong:#b77f61;
  --wa:#25d366;
  --shadow:0 18px 40px rgba(0,0,0,.12);
  --max:1180px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"Titillium Web",sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
}

a{color:inherit}
img{display:block;max-width:100%}
button{font:inherit}

.container{
  width:min(calc(100% - 40px),var(--max));
  margin:0 auto;
}

.site-header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:20;
  background:rgba(63,63,63,.95);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(255,255,255,.08);
}

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

.brand{
  display:flex;
  align-items:center;
  gap:16px;
  text-decoration:none;
  color:#fff;
  flex-shrink:0;
}

.brand img{
  width:96px;
  height:auto;
}

.brand-avatar{
  width:52px;
  height:52px;
  border-radius:50%;
  background:var(--brand);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  font-weight:700;
  letter-spacing:.02em;
  flex-shrink:0;
}

.brand-copy{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.brand-copy strong{
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:600;
}

.brand-copy span{
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.72);
}

.header-nav{
  display:flex;
  align-items:center;
  gap:30px;
  margin-left:auto;
}

.header-nav a{
  color:#fff;
  text-decoration:none;
  text-transform:uppercase;
  font-size:13px;
  letter-spacing:.04em;
  white-space:nowrap;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:14px;
  margin-left:20px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 20px;
  border:none;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.05em;
  font-size:12px;
  font-weight:700;
  transition:transform .2s ease, background .2s ease, color .2s ease;
  cursor:pointer;
}

.btn:hover{transform:translateY(-1px)}

.btn-outline{
  color:#fff;
  border:1px solid rgba(255,255,255,.32);
  background:transparent;
}

.btn-brand{
  background:var(--wa);
  color:#fff;
}

.btn-brand:hover{background:#1fb959}

.btn-wa{
  background:var(--wa);
  color:#fff;
}

.menu-toggle{
  display:none;
  width:44px;
  height:44px;
  border:1px solid rgba(255,255,255,.2);
  background:transparent;
  color:#fff;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.menu-toggle span{
  width:18px;
  height:2px;
  background:currentColor;
  display:block;
}

.header-inner{
  display:none;
}

/* Dropdown "Fale com o corretor" */
.nav-dropdown{
  position:relative;
}

.nav-dropdown-toggle{
  background:none;
  border:none;
  color:#fff;
  text-transform:uppercase;
  font-size:13px;
  letter-spacing:.04em;
  font:inherit;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.nav-dropdown-toggle::after{
  content:"";
  width:7px;
  height:7px;
  border-right:1px solid currentColor;
  border-bottom:1px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
}

.nav-dropdown-menu{
  position:absolute;
  top:calc(100% + 14px);
  left:50%;
  transform:translateX(-50%);
  min-width:220px;
  background:var(--dark-strong);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:var(--shadow);
  display:none;
  flex-direction:column;
  z-index:30;
}

.nav-dropdown.is-open .nav-dropdown-menu{
  display:flex;
}

.nav-dropdown-menu a{
  padding:12px 18px;
  font-size:13px;
  text-transform:none;
  letter-spacing:0;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.nav-dropdown-menu a:last-child{border-bottom:none}
.nav-dropdown-menu a:hover{background:rgba(255,255,255,.06)}

.header-inner .nav-dropdown-menu{
  position:static;
  transform:none;
  min-width:0;
  background:rgba(255,255,255,.04);
  border:none;
}

.header-inner .nav-dropdown.is-open .nav-dropdown-menu{
  display:flex;
}

.hero{
  position:relative;
  min-height:100svh;
  padding-top:78px;
  background:#1e1e1e;
  overflow:hidden;
}

.hero-track{
  position:relative;
  min-height:calc(100svh - 78px);
}

.hero-slide{
  position:absolute;
  inset:0;
  background-image:var(--bg-image);
  background-position:center center;
  background-size:cover;
  opacity:0;
  pointer-events:none;
  transition:opacity .5s ease;
}

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

.hero-content{
  position:relative;
  z-index:1;
  display:grid;
  align-items:end;
  min-height:calc(100svh - 78px);
  padding:100px 0 92px;
}

.hero-card{
  width:min(100%,540px);
  color:#fff;
}

.hero-tag{
  display:inline-block;
  margin-bottom:16px;
  padding:7px 12px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.16);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:11px;
}

.hero-logo{
  width:min(280px,55vw);
  margin-bottom:18px;
}

.hero-card h1,
.hero-card h2{
  font-size:clamp(36px,5vw,62px);
  line-height:.96;
  text-transform:uppercase;
  font-weight:300;
  margin-bottom:14px;
}

.hero-card h1 strong,
.hero-card h2 strong{
  font-weight:700;
}

.hero-location{
  font-size:16px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(255,255,255,.82);
  margin-bottom:18px;
}

.hero-copy{
  font-size:17px;
  max-width:500px;
  color:rgba(255,255,255,.92);
  margin-bottom:28px;
}

.hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:30px;
}

.hero-meta span{
  min-height:36px;
  padding:8px 14px;
  display:inline-flex;
  align-items:center;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.08);
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:.06em;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.hero-dots{
  position:absolute;
  inset:auto 0 26px;
  z-index:2;
  display:flex;
  justify-content:center;
  gap:12px;
}

.hero-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.55);
  background:transparent;
  cursor:pointer;
}

.hero-dot.is-active{
  background:#fff;
}

.section{
  padding:92px 0;
}

.section-heading{
  margin-bottom:40px;
}

.eyebrow{
  color:var(--brand);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:12px;
  margin-bottom:10px;
  font-weight:700;
}

.section-heading h2{
  font-size:clamp(26px,4vw,44px);
  line-height:1.05;
  text-transform:uppercase;
  font-weight:300;
}

.section-heading h2 strong{
  font-weight:700;
}

/* ── Destaques (3 cards na home, link único por card) ── */
.highlights-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.highlight-card{
  display:block;
  background:var(--surface);
  box-shadow:var(--shadow);
  text-decoration:none;
  transition:transform .2s ease;
}

.highlight-card:hover{
  transform:translateY(-4px);
}

.highlight-media{
  position:relative;
  aspect-ratio:400/521;
  overflow:hidden;
}

.highlight-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.highlight-badge{
  position:absolute;
  top:16px;
  left:16px;
  background:var(--brand);
  color:#fff;
  padding:6px 14px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:700;
}

.highlight-body{
  padding:20px 22px 24px;
}

.highlight-title{
  font-size:22px;
  text-transform:uppercase;
  font-weight:700;
  color:var(--text);
  margin-bottom:12px;
}

.highlight-specs{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:13px;
  color:var(--muted);
}

.highlight-spec-location{
  color:var(--brand);
  font-weight:700;
}

/* ── CTA "Conhecer nossos empreendimentos" ── */
.cta-empreendimentos{
  display:flex;
  justify-content:center;
  margin-top:48px;
}

.cta-icon-link{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  color:var(--text);
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:14px;
  font-weight:700;
}

.cta-icon-circle{
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:50%;
  background:var(--wa);
  color:#fff;
  font-size:20px;
  flex-shrink:0;
  transition:transform .2s ease;
}

.cta-icon-link:hover .cta-icon-circle{
  transform:scale(1.08);
}

@media (max-width: 900px){
  .highlights-grid{
    grid-template-columns:1fr;
  }
}

/* ── Página /empreendimentos/: grid completo com filtro ── */
.emp-listing-hero{
  padding:60px 0 20px;
  text-align:center;
}

.emp-listing-hero h1{
  font-size:clamp(28px,4vw,44px);
  text-transform:uppercase;
  font-weight:300;
  line-height:1.05;
}

.emp-listing-hero h1 strong{font-weight:700}

.emp-listing-hero p{
  color:var(--muted);
  max-width:560px;
  margin:14px auto 0;
}

.emp-filter{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin:0 0 40px;
}

.emp-filter button{
  border:1px solid #d8d3cb;
  background:transparent;
  color:var(--text);
  padding:9px 18px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.05em;
  cursor:pointer;
  transition:background .2s ease, color .2s ease;
}

.emp-filter button.is-active,
.emp-filter button:hover{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
}

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

.emp-card{
  background:var(--surface);
  box-shadow:var(--shadow);
}

.emp-card-link{
  display:block;
  text-decoration:none;
  color:inherit;
}

.emp-card-media{
  position:relative;
  aspect-ratio:400/521;
  overflow:hidden;
}

.emp-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .3s ease;
}

.emp-card-link:hover .emp-card-media img{
  transform:scale(1.04);
}

.emp-badge{
  position:absolute;
  top:14px;
  left:14px;
  background:var(--brand);
  color:#fff;
  padding:5px 12px;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.05em;
  font-weight:700;
}

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

.emp-card-title{
  font-size:17px;
  text-transform:uppercase;
  font-weight:700;
  margin-bottom:10px;
}

.emp-card-specs{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:12px;
  color:var(--muted);
}

.emp-spec-location{
  color:var(--brand);
  font-weight:700;
}

.emp-saiba-mais{
  display:inline-block;
  margin-top:12px;
  font-size:12px;
  font-weight:700;
  color:var(--brand);
  text-transform:uppercase;
  letter-spacing:.04em;
}

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

@media (max-width: 560px){
  .emp-grid{
    grid-template-columns:1fr;
  }
}

.cta-form{
  display:grid;
  gap:10px;
  width:min(100%,340px);
}

.cta-form select,
.cta-form input{
  min-height:44px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(255,255,255,.06);
  color:#fff;
  font:inherit;
  font-size:13px;
}

.cta-form select option{
  color:#222;
}

.cta-form ::placeholder{
  color:rgba(255,255,255,.55);
}

/* ── Conheça nossos corretores (home geral da Equipe Ortega) ── */
.corretores-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}

.corretor-card{
  display:block;
  background:var(--surface);
  box-shadow:var(--shadow);
  padding:26px 22px;
  text-decoration:none;
  color:inherit;
  transition:transform .2s ease;
}

.corretor-card:hover{
  transform:translateY(-4px);
}

.corretor-avatar{
  width:64px;
  height:64px;
  border-radius:50%;
  overflow:hidden;
  background:var(--brand);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  font-weight:700;
  margin-bottom:16px;
}

.corretor-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.corretor-body h3{
  font-size:18px;
  text-transform:uppercase;
  font-weight:700;
  margin-bottom:8px;
}

.corretor-body p{
  font-size:13px;
  color:var(--muted);
  line-height:1.5;
  margin-bottom:14px;
}

.corretor-cta{
  font-size:12px;
  font-weight:700;
  color:var(--brand);
  text-transform:uppercase;
  letter-spacing:.04em;
}

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

@media (max-width: 560px){
  .corretores-grid{
    grid-template-columns:1fr;
  }
}

.institutional{
  background:#fff;
}

.institutional-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);
  gap:34px;
  align-items:center;
}

.institutional-copy{
  padding-right:24px;
}

.institutional-copy h2{
  font-size:clamp(32px,4.2vw,54px);
  line-height:.95;
  text-transform:uppercase;
  font-weight:300;
  margin-bottom:18px;
}

.institutional-copy h2 strong{
  font-weight:700;
  color:var(--brand);
}

.institutional-copy p{
  color:var(--muted);
  font-size:16px;
  margin-bottom:18px;
  max-width:540px;
}

.institutional-list{
  display:grid;
  gap:12px;
  margin:26px 0 30px;
  color:#56544f;
  text-transform:uppercase;
  font-size:13px;
  letter-spacing:.04em;
}

.institutional-list span{
  display:flex;
  align-items:center;
  gap:12px;
}

.institutional-list span::before{
  content:"";
  width:10px;
  height:10px;
  background:var(--brand);
  flex-shrink:0;
}

.institutional-media{
  min-height:540px;
  background:
    linear-gradient(0deg,rgba(48,48,48,.16),rgba(48,48,48,.16)),
    url("https://paesegregori.com.br/wp-content/uploads/2025/08/fundo-institucional-home-2.webp") center center/cover no-repeat;
  box-shadow:var(--shadow);
}

.cta-band{
  background:var(--dark);
  color:#fff;
  padding:64px 0;
}

.cta-grid{
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:center;
}

.cta-copy .eyebrow{
  color:rgba(255,255,255,.62);
  margin-bottom:8px;
}

.cta-copy h2{
  font-size:clamp(30px,4vw,52px);
  line-height:.96;
  text-transform:uppercase;
  font-weight:300;
  margin-bottom:12px;
}

.cta-copy h2 strong{
  font-weight:700;
}

.cta-copy p{
  color:rgba(255,255,255,.82);
  font-size:16px;
  max-width:620px;
}

.site-footer{
  background:var(--dark-strong);
  color:#fff;
  padding:56px 0 34px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1fr;
  gap:30px;
  align-items:start;
}

.footer-brand img{
  width:96px;
  margin-bottom:16px;
}

.footer-brand .brand-avatar{
  margin-bottom:16px;
}

.footer-brand p,
.footer-col p,
.footer-col a{
  color:rgba(255,255,255,.78);
  font-size:14px;
  text-decoration:none;
}

.footer-col h3{
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.12em;
  margin-bottom:14px;
  color:#fff;
}

.footer-links{
  display:grid;
  gap:10px;
}

.footer-bottom{
  margin-top:32px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  color:rgba(255,255,255,.56);
  font-size:13px;
}

.floating-wa{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:25;
  width:58px;
  height:58px;
  border-radius:50%;
  background:var(--wa);
  box-shadow:0 16px 34px rgba(0,0,0,.24);
  display:flex;
  align-items:center;
  justify-content:center;
}

.floating-wa svg{
  width:28px;
  height:28px;
  fill:#fff;
}

@media (max-width: 1024px){
  .header-bar{
    min-height:72px;
  }

  .hero{
    padding-top:72px;
  }

  .hero-track,
  .hero-content{
    min-height:calc(100svh - 72px);
  }

  .header-nav,
  .header-actions{
    display:none;
  }

  .menu-toggle{
    display:inline-flex;
  }

  .site-header.is-open .header-inner{
    display:grid;
  }

  .header-inner{
    display:none;
    padding:0 0 22px;
    gap:18px;
  }

  .header-inner .header-nav,
  .header-inner .header-actions{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    margin-left:0;
  }

  .header-inner .header-nav{
    gap:14px;
  }

  .header-inner .header-actions{
    gap:12px;
  }

  .institutional-grid,
  .cta-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .institutional-copy{
    padding-right:0;
  }

  .institutional-media{
    min-height:380px;
  }
}

@media (max-width: 720px){
  .container{
    width:min(calc(100% - 28px),var(--max));
  }

  .brand{
    gap:12px;
  }

  .brand img{
    width:78px;
  }

  .brand-copy strong,
  .brand-copy span{
    font-size:11px;
  }

  .hero-content{
    padding:80px 0 84px;
  }

  .hero-card h1,
  .hero-card h2{
    font-size:40px;
  }

  .hero-logo{
    width:min(220px,58vw);
  }

  .hero-copy{
    font-size:16px;
  }

  .hero-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .btn{
    width:100%;
  }

  .section{
    padding:72px 0;
  }

  .card-title{
    font-size:24px;
  }

  .institutional-media{
    min-height:300px;
  }
}
