*{box-sizing:border-box}
body{margin:0;font-family:'Poppins',sans-serif;background:#FFFFFF;color:#17140F;animation:cbFadeIn 0.22s ease;}
@keyframes cbFadeIn{from{opacity:0}to{opacity:1}}
a{color:inherit;text-decoration:none}
a:hover{opacity:0.75}
h1,h2,h3{font-family:'Poppins',sans-serif;font-weight:500;margin:0}
input,textarea{font-family:'Poppins',sans-serif}
.cb-nav-links a{text-decoration:none;padding-bottom:4px;border-bottom:1px solid transparent;transition:border-color 0.2s;}
.cb-nav-links a:hover{opacity:1;border-bottom-color:#D9A61C;}
.cb-mobile-toggle{display:none}
.cb-mobile-menu{display:none}
.cb-mobile-menu.is-open{display:flex}

/* ---- carousel / dot / tab helper classes (replace the runtime's per-render inline styles) ---- */
.cb-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity 0.9s ease;}
.cb-slide.is-active{opacity:1;pointer-events:auto;}
.cb-work-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity 0.9s ease;}
.cb-work-slide.is-active{opacity:1;pointer-events:auto;}
.cb-concept-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity 0.6s ease;display:flex;align-items:center;justify-content:center;background:#EFEBDD;}
.cb-concept-slide.is-active{opacity:1;pointer-events:auto;}
.cb-dot{width:8px;height:8px;border-radius:50%;border:none;padding:0;cursor:pointer;transition:background 0.3s;background:rgba(255,255,255,0.5);}
.cb-dot.is-active{background:var(--accent,#D9A61C);}
.cb-work-dot{width:7px;height:7px;border-radius:50%;border:none;padding:0;cursor:pointer;transition:background 0.3s;background:rgba(255,255,255,0.5);}
.cb-work-dot.is-active{background:var(--accent,#D9A61C);}
.cb-concept-dot{width:7px;height:7px;border-radius:50%;border:none;padding:0;cursor:pointer;background:rgba(23,20,15,0.2);}
.cb-concept-dot.is-active{background:var(--accent,#D9A61C);}
.cb-planta-btn{padding:13px 20px;border-radius:2px;border:none;cursor:pointer;text-align:left;font-size:14px;font-weight:600;color:#FFFFFF;background:#B8AF9A;}
.cb-planta-btn.is-active{background:var(--accent,#D9A61C);}
.cb-planta-text{display:none;}
.cb-planta-text.is-active{display:block;}
.cb-planta-img{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity 0.4s ease;}
.cb-planta-img.is-active{opacity:1;pointer-events:auto;}

/* ---- shared breakpoints ---- */
@media (max-width: 860px){
  .cb-nav-links{display:none !important}
  .cb-cta-desktop{display:none !important}
  .cb-mobile-toggle{display:flex !important}
  .cb-hero-title{font-size:26px !important}
  .cb-split{grid-template-columns:1fr !important}
  .cb-stats{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .cb-blog-grid{grid-template-columns:1fr !important}
  .cb-detail-grid{grid-template-columns:1fr !important}
  .cb-hero-name{font-size:30px !important;letter-spacing:2px !important}
}
@media (max-width: 1000px){
  .cb-feature{grid-template-columns:1fr !important}
}

/* ---- Home page ---- */
body.page-home .cb-feature{text-align:left;}
@media (max-width: 600px){
  body.page-home .cb-feature{text-align:center;gap:35px !important;}
  body.page-home .cb-feature > div:last-child{align-items:center;}
  body.page-home .cb-feature > div:last-child > div{justify-content:center;margin-bottom:25px !important;}
  body.page-home .cb-ver-todos-wrap{margin-top:39px !important;}
  body.page-home #diferenciais{padding-bottom:42px !important;}
  body.page-home .cb-feature > div:last-child > p{width:100% !important;max-width:none !important;}
  body.page-home .cb-feature a{align-self:center !important;}
  body.page-home #topo{aspect-ratio:1000/819 !important;}
  body.page-home .cb-hero-name{font-size:15px !important;margin-bottom:3px !important;}
  body.page-home .cb-hero-textwrap{bottom:18% !important;}
  body.page-home #diferenciais h2{font-size:22px !important;}
  body.page-home .cb-mai-stats{gap:12px !important;}
  body.page-home .cb-mai-stats > div > div:first-child{font-size:15px !important;}
  body.page-home .cb-mai-stats > div > div:last-child{font-size:9px !important;}
}

/* ---- Empreendimentos (listing) page ---- */
@media (min-width: 601px){
  body.page-list .cb-banner-promo{margin-top:0 !important;}
}
@media (max-width: 600px){
  body.page-list .cb-feature{text-align:center;gap:39px !important;}
  body.page-list .cb-feature > div:last-child{align-items:center;}
  body.page-list .cb-feature > div:last-child > div{justify-content:center;margin-bottom:23px !important;}
  body.page-list .cb-feature > div:last-child > p{width:100% !important;max-width:none !important;}
  body.page-list .cb-feature > div:last-child > span{align-self:center !important;}
  body.page-list .cb-list-title{font-size:25px !important;letter-spacing:-0.3px !important;overflow-wrap:break-word !important;}
  body.page-list .cb-list-stats{gap:12px !important;justify-content:center !important;}
  body.page-list .cb-list-stats > div > div:first-child{font-size:15px !important;}
  body.page-list .cb-list-stats > div > div:last-child{font-size:9px !important;}
}

/* ---- Detail pages ---- */
@media (max-width: 600px){
  body.page-detail .cb-hero-detail{aspect-ratio:16/7.84 !important;}
  body.page-detail .cb-back-btn{display:flex !important;}
  body.page-detail .cb-stats-info{text-align:center !important;}
  body.page-detail .cb-stats-info > div > div:first-child{font-size:19.5px !important;}
  body.page-detail .cb-stats-info > div > div:last-child{font-size:9.75px !important;}
  body.page-detail .cb-loc{font-size:13.5px !important;color:#8A836A !important;font-weight:700 !important;}
  body.page-detail .cb-loc-addr{font-weight:700 !important;color:#3E3A2C !important;}
}

/* ---- Carrossel "Por dentro do seu novo imovel" (imagem de borda a borda, 50% maior, e setinhas 40% menores no celular) ---- */
@media (max-width: 600px){
  body.page-detail [data-concept]{aspect-ratio:32/27 !important;margin-left:-32px !important;margin-right:-32px !important;width:calc(100% + 64px) !important;}
  body.page-detail [data-concept-prev],
  body.page-detail [data-concept-next]{width:24px !important;height:24px !important;}
  body.page-detail [data-concept-prev]{left:10px !important;}
  body.page-detail [data-concept-next]{right:10px !important;}
  body.page-detail [data-concept-prev] svg,
  body.page-detail [data-concept-next] svg{width:5px !important;height:9px !important;}
}

/* ---- Botao flutuante do WhatsApp (menor no celular) ---- */
@media (max-width: 600px){
  .wa-float{transform:scale(0.588) !important;transform-origin:bottom right !important;}
}

