/* Black House Tendência — refinamentos aprovados em 04/11/2026.
   Escopo restrito à interface; não altera dados, valores ou fotografias dos 23 imóveis. */
:root { --ref-gold:#d5b363; --ref-gold-light:#f2d78e; --ref-dark:#151919; }
html,body {max-width:100%;}
/* 1. Desktop: foto do hero é bleed real até a borda externa da viewport. */
.hero { position:relative; isolation:isolate; overflow:hidden; }
.hero-grid {position:relative;isolation:isolate;}
.hero-lifestyle {
  position:absolute !important;
  top:0 !important;
  bottom:0 !important;
  left:auto !important;
  right:calc((100% - 100vw)/2) !important;
  width:calc(65% + (100vw - 100%)/2) !important;
  height:100% !important;
  max-width:none !important;
  aspect-ratio:auto !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  opacity:1 !important;
  background:#171919;
  z-index:-1;
  pointer-events:none;
}
.hero-lifestyle img {
  display:block;
  height:100% !important;
  width:100% !important;
  object-fit:cover !important;
  object-position:50% 45% !important;
  border-radius:0;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.42) 19%,#000 48%) !important;
  mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.42) 19%,#000 48%) !important;
}
.hero-lifestyle:after {background:linear-gradient(90deg,rgba(12,15,15,.17),transparent 40%),linear-gradient(0deg,rgba(13,17,17,.25),transparent 40%);}
.hero-copy{z-index:3;}
.hero .hero-grid::before{content:"";position:absolute;z-index:0;pointer-events:none;inset:0;background:linear-gradient(90deg,rgba(15,19,19,.72),rgba(15,19,19,.12) 56%,transparent 76%);}
.hero .hero-grid::after{content:"";position:absolute;pointer-events:none;inset:0;z-index:-2;background:#121717;}
.mobile-campaign-callout{display:none;}

/* 2. Botões: efeito sutil e alternado, sem interromper a leitura. */
@keyframes bhBreath {0%,100%{box-shadow:0 0 0 0 rgba(213,179,99,.32),0 7px 21px rgba(0,0,0,.13)}55%{box-shadow:0 0 0 6px rgba(213,179,99,0),0 8px 29px rgba(213,179,99,.3)}}
@keyframes bhSmallBreath {0%,100%{box-shadow:0 0 0 0 rgba(213,179,99,.12)}55%{box-shadow:0 0 0 4px rgba(213,179,99,0)}}
@keyframes bhOutlineBreath {0%,100%{box-shadow:0 0 0 1px rgba(213,179,99,.20),0 0 12px rgba(213,179,99,.14)}55%{box-shadow:0 0 0 1px rgba(213,179,99,.52),0 0 27px rgba(213,179,99,.38)}}
.btn-interest-pulse, .mobile-cta, .closing .btn-gold, .hero-actions .btn-gold {animation:bhBreath 4.4s ease-in-out infinite;}
.card-interest {animation:bhSmallBreath 5.8s ease-in-out infinite;}
.property-card:nth-child(3n + 2) .card-interest{animation-delay:-2s;}
.property-card:nth-child(3n + 3) .card-interest{animation-delay:-4s;}
.header-cta,.footer-contact{transition:box-shadow .3s ease,transform .3s ease;}
.header-cta:hover{transform:translateY(-2px)}
.mobile-cta{animation-duration:3.8s;}
.eyebrow-pulse{animation:badgePulse 3.6s ease-in-out infinite,bhOutlineBreath 4.2s ease-in-out infinite;}
.btn:focus-visible,.card-interest:focus-visible,.mobile-cta:focus-visible{outline:3px solid #e7c478;outline-offset:3px;}

/* 3. Rodapé centralizado em qualquer tamanho de tela. */
.footer{background:#fafaf8;color:#1d2324;}
.footer-grid{display:grid !important;grid-template-columns:1fr !important;gap:26px !important;justify-items:center;align-items:center;text-align:center;padding:62px 0 42px;}
.footer-grid>div:first-child{grid-column:auto !important;}
.footer-grid>div{display:flex;flex-direction:column;align-items:center;gap:6px;}
.footer-logo{display:inline-flex;align-items:center;justify-content:center;}
.footer-logo img{height:auto;max-height:70px;object-fit:contain;}
.footer-grid p{margin:0;color:#707778;line-height:1.9;}
.footer-grid strong{margin:0 0 2px;font-size:13px;}
.footer-contact{margin-top:5px;font-size:12px;min-height:30px;color:#937037;}
.footer-bottom{display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center;gap:14px;text-align:center;padding:21px 0 42px;color:#7b8180;line-height:1.8;}
.footer-bottom a{color:#947544;}

/* 4. Modal de detalhes: header premium, especificações como cartões e texto confortável. */
.modal-overlay{background:rgba(11,15,15,.80);backdrop-filter:blur(7px);}
.modal-sheet{border-radius:18px;box-shadow:0 34px 100px rgba(0,0,0,.43);}
.modal-close{background:#f9f3e6;color:#262525;border:1px solid rgba(185,155,92,.28);box-shadow:0 2px 10px rgba(0,0,0,.1);cursor:pointer;}
.property-sheet{width:min(920px,100%);}
.property-info{padding:0 28px 32px;}
.property-highlight-header{
  position:relative;
  margin:0 -28px 27px;
  padding:30px 36px 30px;
  color:#f8f7f3;
  background:radial-gradient(ellipse at 92% 0%,rgba(213,179,99,.18),transparent 48%),linear-gradient(135deg,#1a2121,#111617);
  border-bottom:1px solid rgba(213,179,99,.25);
}
.property-highlight-header .property-tag{display:inline-flex;align-items:center;border:1px solid rgba(213,179,99,.48);border-radius:99px;padding:8px 12px;background:rgba(213,179,99,.075);color:#eacd88;font-weight:800;letter-spacing:.12em;line-height:1.45;max-width:calc(100% - 10px);}
.property-highlight-header h2{color:#fff;margin:19px 0 8px;font-size:clamp(27px,3.6vw,43px);line-height:1.16;max-width:790px;text-wrap:balance;}
.property-highlight-header>p{color:#e7c77e;font-size:13px;margin:0;}
.property-highlight-header .illustrative-note{display:inline-block;border:1px solid rgba(213,179,99,.2);color:#e0d8c1;background:#29312f;font-size:10px;}
.property-highlight-header .detail-specs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:25px 0 0;}
.property-highlight-header .detail-specs span{display:flex;align-items:center;justify-content:center;min-height:58px;margin:0;padding:10px;border-radius:9px;color:#fff;font-size:12px;text-align:center;font-weight:700;background:rgba(255,255,255,.055);border:1px solid rgba(213,179,99,.25);}
.property-highlight-header .detail-specs span:nth-child(1):before{content:'⌂';}
.property-highlight-header .detail-specs span:nth-child(2):before{content:'✦';}
.property-highlight-header .detail-specs span:nth-child(3):before{content:'▣';}
.property-highlight-header .detail-specs span:nth-child(4):before{content:'↔';}
.property-highlight-header .detail-specs span:before{display:inline-block;margin-right:8px;font-size:18px;font-weight:400;color:#e0be6f;}
.property-description-detailed{margin:20px 0 23px;}
.property-description-detailed .description-head{background:#f6f3ec;border-color:#e7dfce;padding:25px 26px;border-radius:13px 13px 0 0;}
.property-description-detailed .description-head h3{font-size:clamp(23px,2.6vw,29px);}
.property-description-detailed .description-head p{color:#424a49;line-height:1.85;}
.property-detail-block{padding:23px 26px;border-color:#e7e5df;}
.property-detail-block:nth-child(odd){background:#fdfbf7;}
.property-detail-block h4{display:flex;align-items:center;gap:10px;font-size:15px !important;color:#222929;}
.property-detail-block h4:before{content:'✦';display:inline-block;color:#b68e3e;font-size:15px;}
.property-detail-block ul{gap:11px 21px;}
.property-detail-block li{color:#3b4848;}
.detail-bottom{
  background:linear-gradient(110deg,#1c2322,#111819);
  color:#fff;border-radius:12px;border:1px solid rgba(213,179,99,.3);
  padding:24px;display:flex;align-items:center;justify-content:space-between;gap:22px;
}
.detail-price small{color:#d7bd81;letter-spacing:.16em;font-weight:800;font-size:10px;}
.detail-price strong{color:#fff;font-size:clamp(22px,2.8vw,30px);}
.detail-cta-area{display:flex;flex-direction:column;gap:10px;align-items:flex-end;flex-shrink:0;}
.detail-cta-kicker{font-size:9px;letter-spacing:.13em;color:#e0c989;font-weight:800;text-align:right;}
.detail-cta-area .btn{color:#1a1c1c;padding:15px 20px;white-space:nowrap;min-height:52px;border-radius:7px;background:linear-gradient(110deg,#cda650,#f0d184 52%,#d5ac54);}

/* 5. Formulário: identidade Black House, mantendo inputs, IDs, campos e submit. */
.form-sheet{width:min(810px,100%);padding:39px 42px 35px;background:#fff;}
.form-sheet .modal-close{background:rgba(255,255,255,.92);color:#262a28;border-color:rgba(213,179,99,.25);}
.lead-top{margin:-39px -42px 28px;padding:42px 42px 32px;position:relative;border-radius:18px 18px 0 0;background:radial-gradient(circle at 92% 12%,rgba(216,176,93,.17),transparent 38%),linear-gradient(125deg,#1c2222,#111617);color:white;border-bottom:2px solid #c5a04c;}
.lead-top .section-kicker{display:inline-flex;border:1px solid rgba(213,179,99,.48);border-radius:30px;padding:9px 13px;background:rgba(213,179,99,.08);color:#f0cc78;font-size:10px;letter-spacing:.14em;}
.lead-top h2{font-size:clamp(34px,4.5vw,49px);color:#fff;margin:19px 0 11px;line-height:1.11;}
.lead-top h2 em{color:#e6be69;}
.lead-top p{color:#d7dcda;font-size:13px;line-height:1.7;margin:0 0 9px;}
.lead-selected{margin:20px 0 0;display:flex;flex-direction:column;gap:6px;background:rgba(213,179,99,.09);border:1px solid rgba(213,179,99,.36);color:#f8f5ed;padding:16px 18px;border-radius:10px;line-height:1.5;}
.lead-selected[hidden]{display:none!important;}
.lead-selected-kicker{font-size:10px;font-weight:800;color:#e9c67a;letter-spacing:.1em;}
.lead-selected strong{font-size:14px;color:white;font-weight:700;}
.lead-selected small{color:#d2d6d2;font-size:11px;}
.form-group-heading{display:flex;align-items:center;gap:12px;margin:20px 0 17px;color:#202727;}
.form-group-divider{border-top:1px solid #eee8db;padding-top:23px;margin-top:28px;}
.form-step{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:linear-gradient(120deg,#d0ac5c,#f0d28b);font-weight:900;font-size:13px;color:#232625;flex-shrink:0;}
.form-group-heading strong{display:block;font-size:15px;font-weight:800;line-height:1.5;}
.form-group-heading small{display:block;font-size:11px;color:#7c8381;line-height:1.45;}
.lead-form .form-field label{font-size:12px;color:#272c2b;}
.lead-form .form-field input,.lead-form .form-field select{min-height:50px;border-radius:8px;border-color:#d7d9d5;background:#fcfcfa;transition:border-color .2s ease,box-shadow .2s ease;}
.lead-form .form-field input:focus,.lead-form .form-field select:focus{border-color:#b99854;box-shadow:0 0 0 3px rgba(213,179,99,.15);}
.lead-form .privacy-check{border-top:1px solid #eee8da;margin-top:27px;padding-top:21px;}
.lead-form .btn-submit{background:linear-gradient(120deg,#cfac5a,#f1d58c 52%,#d1ac5c);color:#202322;min-height:56px;border-radius:8px;font-weight:900;font-size:13px;animation:bhBreath 4.6s ease-in-out infinite;}
.lead-form .btn-submit:disabled{animation:none;box-shadow:none;}
.form-footnote{margin-top:12px;max-width:500px;margin-inline:auto;}
.lead-success{margin:22px auto;text-align:center;}
.lead-success h3{color:#1d2525;}

/* 6. Mobile: uma única capa: fotografia SEM CARD isolado e atrás da copy. */
@media(max-width:900px){
  .hero-grid{display:block;}
  .hero .hero-grid::before{background:linear-gradient(90deg,rgba(15,19,19,.87),rgba(15,19,19,.34) 90%);}
  .hero-lifestyle{width:calc(100% + (100vw - 100%)/2) !important;right:calc((100% - 100vw)/2) !important;}
  .hero-copy{position:relative;z-index:3;}
}
@media(max-width:790px){
  .hero-grid{min-height:760px !important;padding:46px 0 68px !important;}
  .hero-lifestyle{
    left:calc((100% - 100vw)/2) !important;
    right:auto !important;
    width:100vw !important;
    height:100% !important;
    top:0 !important;
    bottom:0 !important;
    max-width:none !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    aspect-ratio:auto !important;
  }
  .hero-lifestyle img{width:100% !important;height:100% !important;object-fit:cover !important;object-position:46% 50% !important;mask-image:none !important;-webkit-mask-image:none !important;}
  .hero-lifestyle:after{background:linear-gradient(180deg,rgba(13,16,16,.72),rgba(13,16,16,.34) 52%,rgba(13,16,16,.55));}
  .hero .hero-grid::before{z-index:0;left:calc((100% - 100vw)/2);right:calc((100% - 100vw)/2);background:linear-gradient(180deg,rgba(11,16,16,.85) 0%,rgba(11,16,16,.77) 33%,rgba(11,16,16,.44) 63%,rgba(11,16,16,.76) 100%);}
  .hero .hero-grid::after{display:none;}
  .hero .hero-copy h1{text-shadow:0 2px 26px rgba(0,0,0,.48);max-width:580px;}
  .hero .hero-copy>p{color:#f1f0eb;text-shadow:0 1px 8px rgba(0,0,0,.6);}
  .hero-benefits span{color:#f2ebdc;text-shadow:0 1px 8px rgba(0,0,0,.65);}
  .hero .hero-trust{border-color:rgba(213,179,99,.38);}
  .property-highlight-header .detail-specs{grid-template-columns:repeat(2,minmax(0,1fr));}
  .detail-bottom{flex-direction:column;align-items:stretch;}
  .detail-cta-area{align-items:stretch;}
  .detail-cta-kicker{text-align:center;}
  .detail-cta-area .btn{width:100%;justify-content:center;white-space:normal;text-align:center;}
}
@media(max-width:540px){
  .hero-grid{min-height:800px !important;padding-top:29px !important;padding-bottom:68px !important;}
  .hero-campaign-markers{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center;max-width:100%;}
  .hero .eyebrow{font-size:9px;letter-spacing:.05em;white-space:nowrap;padding:10px 11px;}
  .hero .selection-ribbon{font-size:9px;letter-spacing:.05em;padding:9px 15px;white-space:nowrap;}
  .mobile-campaign-callout{display:flex;flex-direction:column;gap:6px;align-items:flex-start;width:100%;margin-top:5px;letter-spacing:.12em;font-weight:800;color:#fff;font-size:10px;line-height:1.5;text-shadow:0 1px 10px #000;}
  .mobile-campaign-callout strong{display:inline-flex;max-width:100%;border-radius:5px;background:linear-gradient(115deg,#d4ab55,#f2d58d);padding:7px 11px;color:#171919;letter-spacing:.04em;font-size:9px;animation:bhBreath 4.5s ease-in-out infinite;}
  .hero-copy h1{font-size:clamp(34px,9.6vw,46px);line-height:1.09;margin:18px 0 15px;text-wrap:balance;}
  .hero-copy>p{font-size:13px;line-height:1.7;max-width:370px;margin-bottom:18px;}
  .hero-actions{gap:12px;display:flex;flex-direction:column;align-items:stretch;}
  .hero .btn-large{font-size:12px;min-height:54px;}
  .hero .text-link{align-self:flex-start;font-size:12px;}
  .hero-benefits{margin-top:24px;gap:0;}
  .hero-benefits span{font-size:9px;min-width:0;gap:4px;padding:2px 7px;}
  .hero-benefits span:first-child{padding-left:0;}
  .benefit-mark{font-size:15px;}
  .hero-trust{margin-top:24px;padding-top:15px;}
  .hero-trust-number{font-size:37px;}
  .footer-grid{padding:54px 0 34px;gap:25px !important;}
  .footer-bottom{padding-bottom:calc(105px + env(safe-area-inset-bottom));gap:9px;}
  .form-sheet{padding:30px 18px 30px;}
  .lead-top{margin:-30px -18px 24px;padding:32px 20px 25px;border-radius:18px 18px 0 0;}
  .lead-top h2{font-size:clamp(31px,9vw,42px);padding-right:9px;}
  .form-group-heading{margin:19px 0 14px;}
  .form-group-divider{margin-top:24px;padding-top:19px;}
  .form-step{width:39px;height:39px;}
  .lead-form .form-two{gap:14px;margin-bottom:15px;}
  .form-field input,.form-field select{font-size:16px !important;}
  .property-info{padding:0 14px 22px;}
  .property-highlight-header{margin:0 -14px 22px;padding:24px 19px 22px;}
  .property-highlight-header .property-tag{font-size:9px;}
  .property-highlight-header h2{font-size:clamp(26px,7vw,35px);margin:15px 0 10px;line-height:1.19;}
  .property-highlight-header .detail-specs{gap:8px;margin-top:22px;}
  .property-highlight-header .detail-specs span{font-size:11px;min-height:55px;padding:9px 7px;}
  .property-description-detailed .description-head{padding:20px 17px;}
  .property-detail-block{padding:20px 17px;}
  .detail-bottom{padding:20px 15px;gap:16px;}
  .detail-price strong{font-size:25px;}
  .detail-cta-area .btn{font-size:12px;padding:15px 10px;}
  .modal-sheet{max-height:94dvh;}
  .mobile-cta{min-height:70px;padding:17px 20px calc(17px + env(safe-area-inset-bottom));}
}
@media(max-width:365px){
  .hero .eyebrow{font-size:8px;padding:8px 9px;}
  .hero .selection-ribbon{font-size:8px;padding:8px 11px;}
  .hero-copy h1{font-size:34px;}
  .mobile-campaign-callout{font-size:9px;}
}
@media(prefers-reduced-motion:reduce){
  .eyebrow-pulse,.btn-interest-pulse,.mobile-cta,.closing .btn-gold,.hero-actions .btn-gold,.card-interest,.lead-form .btn-submit,.mobile-campaign-callout strong{animation:none !important;}
  .btn-interest-pulse,.card-interest,.mobile-cta{transition:none !important;}
}
