/* EcoUrban v1.17.2 - Home desktop elegante aprovada
   Mantem o mobile legado intacto e refina apenas desktop/notebook. */
@media (min-width: 901px) {
  .home-v131 {
    --home-width: 1280px;
    --home-gutter: clamp(34px, 4vw, 72px);
  }

  /* Header desktop mais limpo: os textos de apresentacao do menu mobile
     nao participam da navegacao desktop. */
  .home-v131 .unified-public-header .mobile-sheet-head {
    display: none !important;
  }
  .home-v131 .unified-public-header .mobile-nav-primary,
  .home-v131 .unified-public-header .mobile-nav-secondary {
    display: contents !important;
  }
  .home-v131 .unified-public-header {
    top: 18px !important;
    width: min(1400px, calc(100% - 56px)) !important;
    min-height: 82px !important;
    height: 82px !important;
    padding: 10px 24px !important;
    border-radius: 27px !important;
    background: linear-gradient(135deg, rgba(4,15,25,.91), rgba(4,16,26,.80)) !important;
    box-shadow: 0 18px 54px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.035) !important;
  }
  .home-v131 .unified-public-header .unified-public-nav {
    gap: clamp(19px, 1.8vw, 29px) !important;
  }
  .home-v131 .unified-public-header .unified-public-nav a {
    font-size: 12.5px !important;
  }
  .home-v131 .unified-public-header .unified-public-nav .unified-nav-cta {
    min-height: 48px !important;
    padding: 0 20px !important;
    border-radius: 15px !important;
  }

  /* Hero cinematico. A altura continua sendo uma tela inteira, mas os
     elementos cabem dentro da primeira dobra de notebooks. */
  .home-v131 .home-search-first {
    min-height: 100svh;
    padding: 124px var(--home-gutter) 58px;
    align-items: center;
    border-bottom-color: rgba(227,184,79,.12);
    background-image:
      linear-gradient(90deg, rgba(2,8,13,.90) 0%, rgba(2,8,13,.72) 35%, rgba(2,8,13,.31) 62%, rgba(2,8,13,.08) 100%),
      var(--home-hero-image, url('/assets/img/home-hero-luxury.jpg'));
    background-position: center center;
  }
  .home-v131 .home-search-first::before {
    background:
      radial-gradient(circle at 48% 45%, rgba(18,68,103,.12), transparent 31%),
      linear-gradient(180deg, rgba(0,0,0,.01), rgba(0,0,0,.12));
  }
  .home-v131 .home-search-first::after {
    display: none;
  }

  .home-v131 .home-search-shell {
    width: min(1280px, 100%);
    grid-template-columns: minmax(0, 1fr) minmax(440px, 500px);
    gap: clamp(64px, 7vw, 116px);
    align-items: center;
  }
  .home-v131 .home-search-heading {
    align-self: center;
    padding-top: 4px;
  }

  /* Kicker igual ao conceito aprovado, sem alterar o texto do mobile. */
  .home-v131 .smart-search-kicker {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 0 25px;
    color: var(--home-gold-soft);
    font-size: 0;
    letter-spacing: 0;
  }
  .home-v131 .smart-search-kicker::before {
    content: "ECOURBAN IMOBILIARIA";
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .29em;
  }
  .home-v131 .smart-search-kicker::after {
    content: "";
    width: 42px;
    height: 1px;
    border-radius: 99px;
    background: linear-gradient(90deg, #e8bc55, rgba(232,188,85,.28));
  }

  .home-v131 .home-search-heading h1 {
    max-width: 690px;
    font-size: clamp(56px, 4.65vw, 72px);
    line-height: .98;
    font-weight: 650;
    letter-spacing: -.052em;
    text-shadow: 0 18px 48px rgba(0,0,0,.28);
  }
  .home-v131 .home-search-heading h1 em {
    color: #efc75f;
    text-shadow: 0 0 28px rgba(227,184,79,.09);
  }

  .home-v131 .home-search-side {
    max-width: 620px;
    margin-top: 25px;
    gap: 24px;
  }
  .home-v131 .home-hero-rotator {
    min-height: 71px;
    max-width: 590px;
  }
  .home-v131 .home-hero-rotator p {
    font-size: 15.5px;
    line-height: 1.58;
    color: #d6dce0;
  }
  .home-v131 .home-hero-meta {
    max-width: 620px;
    gap: 0;
  }
  .home-v131 .home-hero-meta span {
    grid-template-columns: 35px minmax(0,1fr);
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-right: 1px solid rgba(255,255,255,.17);
  }
  .home-v131 .home-hero-meta span:first-child {
    padding-left: 0;
  }
  .home-v131 .home-hero-meta span:last-child {
    padding-right: 0;
  }
  .home-v131 .home-hero-meta i {
    width: 31px !important;
    height: 31px !important;
    padding: 7px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #e9bd55 !important;
    box-shadow: none !important;
  }
  .home-v131 .home-hero-meta b {
    font-size: 12px;
    line-height: 1.22;
    font-weight: 720;
  }

  /* Busca mais leve e estreita, como no mockup aprovado. */
  .home-v131 .smart-search-card-primary {
    justify-self: end;
    width: min(500px, 100%);
    padding: 24px 25px 23px;
    border-color: rgba(235,193,87,.43);
    border-radius: 24px;
    background: linear-gradient(150deg, rgba(7,21,31,.955), rgba(7,17,25,.915));
    box-shadow: 0 27px 78px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.035);
    backdrop-filter: blur(14px) saturate(1.06);
    -webkit-backdrop-filter: blur(14px) saturate(1.06);
  }
  .home-v131 .smart-search-card-primary::before {
    background: linear-gradient(140deg, rgba(255,255,255,.022), transparent 31%, transparent 74%, rgba(227,184,79,.045));
  }
  .home-v131 .smart-search-card-head {
    padding-bottom: 17px;
    margin-bottom: 16px;
  }
  .home-v131 .smart-search-card-head span {
    margin-bottom: 6px;
    font-size: 8.5px;
    letter-spacing: .24em;
  }
  .home-v131 .smart-search-card-head strong {
    font-size: 20px;
    font-weight: 770;
  }
  .home-v131 .smart-purpose-wrap {
    margin-bottom: 11px;
  }
  .home-v131 .smart-filter-label {
    margin-bottom: 7px;
    font-size: 8.2px;
    letter-spacing: .18em;
  }
  .home-v131 .smart-purpose {
    gap: 3px;
    padding: 3px;
    border-radius: 13px;
  }
  .home-v131 .smart-purpose button {
    min-height: 45px;
    border-radius: 10px;
    font-size: 13px;
  }
  .home-v131 .smart-purpose button.is-active {
    background: linear-gradient(100deg, #c69331, #e4ba55);
    box-shadow: inset 0 0 0 1px rgba(255,239,183,.40), 0 8px 18px rgba(0,0,0,.18);
  }
  .home-v131 .smart-filter-grid {
    gap: 9px;
  }
  .home-v131 .smart-filter {
    padding: 10px 13px 9px;
    border-radius: 13px;
    background: rgba(255,255,255,.014);
  }
  .home-v131 .smart-filter-trigger {
    min-height: 29px;
  }
  .home-v131 .smart-filter-trigger strong {
    font-size: 13px;
  }
  .home-v131 .smart-search-actions {
    gap: 7px;
    margin-top: 12px;
  }
  .home-v131 .smart-search-submit {
    min-height: 53px;
    border-radius: 12px;
    font-size: 14px;
    background: linear-gradient(95deg, #f1d477, #d7a638);
    box-shadow: 0 10px 24px rgba(160,110,26,.17), inset 0 1px 0 rgba(255,255,255,.38);
  }
  .home-v131 .smart-search-actions > a {
    font-size: 10px;
    opacity: .78;
  }

  /* Indicador de scroll propositalmente pequeno e discreto. */
  .home-v131 .hero-scroll-cue {
    left: 50%;
    bottom: 13px;
    gap: 4px;
    opacity: .78;
    transition: opacity .25s ease, transform .25s ease;
  }
  .home-v131 .hero-scroll-cue b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .home-v131 .hero-scroll-cue span:first-child {
    width: 15px;
    height: 28px;
    border-color: rgba(246,218,143,.74);
    box-shadow: 0 0 0 1px rgba(227,184,79,.04), 0 0 15px rgba(227,184,79,.06);
  }
  .home-v131 .hero-scroll-cue span:first-child::after {
    top: 5px;
    width: 2px;
    height: 5px;
    background: #f1c65e;
  }
  .home-v131 .hero-scroll-cue i {
    width: 6px;
    height: 6px;
    border-color: #f0cc69;
  }

}

/* Notebook baixo: mantem exatamente o mesmo conceito, apenas faz
   micro-ajustes para a primeira dobra continuar inteira. */
@media (min-width: 901px) and (max-height: 760px) {
  .home-v131 .home-search-first {
    padding-top: 110px;
    padding-bottom: 42px;
  }
  .home-v131 .home-search-shell {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 475px);
    gap: clamp(52px, 6vw, 92px);
  }
  .home-v131 .home-search-heading h1 {
    font-size: clamp(52px, 4.25vw, 65px);
  }
  .home-v131 .smart-search-kicker {
    margin-bottom: 19px;
  }
  .home-v131 .home-search-side {
    margin-top: 20px;
    gap: 18px;
  }
  .home-v131 .home-hero-rotator {
    min-height: 61px;
  }
  .home-v131 .home-hero-rotator p {
    font-size: 14px;
    line-height: 1.5;
  }
  .home-v131 .home-hero-meta span {
    min-height: 43px;
  }
  .home-v131 .smart-search-card-primary {
    width: min(475px, 100%);
    padding: 20px 21px 18px;
    border-radius: 21px;
  }
  .home-v131 .smart-search-card-head {
    padding-bottom: 13px;
    margin-bottom: 13px;
  }
  .home-v131 .smart-search-card-head strong {
    font-size: 18px;
  }
  .home-v131 .smart-purpose-wrap {
    margin-bottom: 9px;
  }
  .home-v131 .smart-purpose button {
    min-height: 41px;
  }
  .home-v131 .smart-filter-grid {
    gap: 7px;
  }
  .home-v131 .smart-filter {
    padding: 8px 12px 7px;
  }
  .home-v131 .smart-filter-trigger {
    min-height: 27px;
  }
  .home-v131 .smart-search-actions {
    margin-top: 9px;
    gap: 5px;
  }
  .home-v131 .smart-search-submit {
    min-height: 48px;
  }
  .home-v131 .hero-scroll-cue {
    bottom: 8px;
  }
}
