/* Refinamento de proporções e experiências interativas */
.hero {
  height: auto;
  min-height: max(940px, 100svh);
  max-height: none;
  grid-template-rows: minmax(690px, 1fr) auto;
  padding-bottom: 68px;
  overflow: clip;
}

.hero-stage, .finance-portrait { background: transparent !important; box-shadow: none !important; }
.hero-stage img, .finance-portrait img { object-fit: contain !important; object-position: center bottom !important; background: transparent !important; border: 0 !important; box-shadow: none !important; filter: none; }


.hero-trust {
  align-self: end;
  min-height: 74px;
  padding-top: 18px;
  padding-bottom: 4px;
}

.hero-trust div {
  min-height: 50px;
}

/* Retratos em alta qualidade, preservados sem recorte artificial de fundo */
.hero-stage img {
  left: 51%;
  bottom: 0;
  width: min(37vw, 610px);
  height: auto;
  max-height: 90%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  border: 1px solid rgba(244, 236, 223, .16);
  background: #e7ecef;
  box-shadow: 0 34px 70px rgba(4, 18, 13, .28);
  filter: none;
}

.stage-card { bottom: 16%; }

.story-image img {
  object-position: center 18%;
}

.search-studio {
  padding-top: 66px;
  padding-bottom: 66px;
  gap: clamp(38px, 5vw, 76px);
  align-items: center;
}

.search-title h2 {
  font-size: clamp(44px, 4.3vw, 68px);
}

.search-form {
  padding: 0;
  min-height: 104px;
  align-items: stretch;
  background: var(--green);
  box-shadow: 0 20px 55px rgba(51, 40, 28, .12);
}

.search-form label {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 20px 22px;
  border-color: rgba(244, 236, 223, .16);
}

.search-form label > span,
.finance-form label > span {
  margin-bottom: 10px;
  color: rgba(244, 236, 223, .58);
  font-size: 12px;
  letter-spacing: .13em;
}

.search-form label > span::before,
.finance-form label > span::before {
  display: inline-block;
  margin-right: 8px;
  color: #d8a580;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0;
}

.search-form label:nth-child(1) > span::before,
.finance-form label:nth-child(1) > span::before { content: "01"; }
.search-form label:nth-child(2) > span::before,
.finance-form label:nth-child(2) > span::before { content: "02"; }
.search-form label:nth-child(3) > span::before,
.finance-form label:nth-child(3) > span::before { content: "03"; }

.search-form > button {
  height: auto;
  min-height: 104px;
  padding: 0 24px;
  background: var(--copper);
  font-size: 13px;
  transition: background .25s ease, padding .25s ease;
}

.search-form > button:hover {
  padding-left: 29px;
  background: #b77a54;
}

.search-assurance {
  padding-top: 0;
  font-size: 16px;
}

.native-select-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.custom-select {
  position: relative;
  min-width: 0;
}

.choice-trigger {
  width: 100%;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  text-align: left;
  cursor: pointer;
}

.choice-value {
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.choice-chevron {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform .25s ease;
}

.custom-select.open .choice-chevron {
  transform: rotate(225deg) translate(-2px, -1px);
}

.choice-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 18px);
  left: -22px;
  min-width: calc(100% + 44px);
  max-height: min(280px, 46vh);
  overflow-y: auto;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  background: var(--paper);
  box-shadow: 0 24px 55px rgba(10, 27, 21, .22);
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.custom-select.drop-up .choice-menu {
  top: auto;
  bottom: calc(100% + 18px);
  transform: translateY(8px);
}

.custom-select.drop-up.open .choice-menu {
  transform: translateY(0);
}

.custom-select.open .choice-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.choice-option {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.choice-option:last-child { border-bottom: 0; }
.choice-option:hover,
.choice-option:focus-visible { background: var(--cream); outline: none; }
.choice-option.selected { color: var(--copper); font-weight: 700; }
.choice-option.selected::after { content: "✓"; margin-left: 18px; }
.choice-trigger:focus-visible { outline: 2px solid #d8a580; outline-offset: 7px; }

.search-form .choice-trigger {
  height: auto;
  min-height: 30px;
  padding: 0;
  background: transparent;
  color: var(--cream);
}

.search-form .choice-menu {
  min-width: 240px;
  background: var(--paper);
}

.search-form .choice-option {
  width: 100%;
  height: auto;
  min-height: 46px;
  padding: 10px 12px;
  justify-content: space-between;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.search-form .choice-option:hover,
.search-form .choice-option:focus-visible {
  padding-left: 16px;
  background: var(--cream);
}

.search-form .choice-option.selected {
  background: rgba(166, 110, 75, .08);
  color: var(--copper);
}

.finance {
  min-height: 820px;
  position: relative;
  z-index: 4;
  overflow: visible;
}

.finance-portrait img {
  left: 50%;
  width: min(41vw, 660px);
  height: auto;
  max-height: 92%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  filter: none;
  -webkit-mask-image: none;
  mask-image: none;
}

  .finance-portrait { background: transparent; }

.journey-editorial {
  min-height: 470px;
  margin-top: 76px;
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(420px, 1.2fr);
  overflow: hidden;
  background: var(--sand);
}

.journey-photo {
  position: relative;
  min-height: 470px;
  overflow: hidden;
}

.journey-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 58%, rgba(229, 211, 187, .72));
  pointer-events: none;
}

.journey-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 27%;
}

.journey-message {
  align-self: center;
  padding: 58px clamp(34px, 5vw, 82px);
}

.journey-message > span {
  display: block;
  margin-bottom: 24px;
  color: var(--copper);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
}

.journey-message blockquote {
  max-width: 700px;
  margin: 0 0 34px;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(29px, 3vw, 46px);
  line-height: 1.18;
}

.journey-message .line-link b { font-size: 14px; }

.cta-portrait {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(38vw, 580px);
  overflow: hidden;
  opacity: .22;
  -webkit-mask-image: linear-gradient(to right, #000 48%, transparent 100%);
  mask-image: linear-gradient(to right, #000 48%, transparent 100%);
}

.cta-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 23, .25);
}

.cta-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 18%;
}

.finance-content {
  position: relative;
  z-index: 8;
  padding-top: 68px;
  padding-bottom: 68px;
}

.finance-content > p {
  margin-bottom: 28px;
  font-size: 16px;
}

.finance-form {
  gap: 10px;
  background: transparent;
}

.finance-form label {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 17px 20px;
  border: 1px solid rgba(244, 236, 223, .19);
  background: rgba(244, 236, 223, .035);
  transition: border-color .25s ease, background .25s ease;
}

.finance-form label:focus-within,
.finance-form label:hover {
  border-color: rgba(216, 165, 128, .72);
  background: rgba(244, 236, 223, .065);
}

.finance-form .choice-trigger {
  width: 100%;
  height: auto;
  min-height: 30px;
  grid-column: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: 15px;
  font-weight: 500;
}

.finance-form .choice-option {
  width: 100%;
  height: auto;
  min-height: 46px;
  grid-column: auto;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.finance-form .choice-option:last-child {
  border-bottom: 0;
}

.finance-form .choice-option:hover,
.finance-form .choice-option:focus-visible {
  background: var(--cream);
}

.finance-form .choice-option.selected {
  background: rgba(166, 110, 75, .08);
  color: var(--copper);
}

.finance-form .choice-menu {
  left: -20px;
  min-width: calc(100% + 40px);
}

.finance-form > button {
  min-height: 64px;
  margin-top: 2px;
  padding: 0 22px;
  font-size: 13px;
  transition: background .25s ease, padding .25s ease;
}

.finance-form > button:hover {
  padding-left: 28px;
  background: #b77a54;
}

.finance-disclaimer {
  margin-top: 14px;
  font-size: 12px;
}

.reveal.from-above:not(.visible) {
  transform: translateY(-25px);
}

/* Assinatura de desenvolvimento */
.developer-credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 236, 223, .14);
}

.developer-label {
  color: rgba(244, 236, 223, .34);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .2em;
}

.developer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 3px 9px 3px 3px;
  border: 1px solid transparent;
  color: rgba(244, 236, 223, .66);
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  transition: color .25s ease, border-color .25s ease, opacity .25s ease;
}

.developer-link:hover,
.developer-link:focus-visible {
  color: var(--cream);
  border-color: rgba(244, 236, 223, .12);
}

.developer-link img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  opacity: .78;
}

.whatsapp-float {
  width: 50px;
  padding: 0;
  justify-content: center;
}

.whatsapp-float em { display: none; }

@media (max-width: 1100px) {
  .hero {
    min-height: max(880px, 100svh);
    grid-template-rows: minmax(620px, 1fr) auto;
    padding-bottom: 54px;
  }

  .search-studio { gap: 32px; }
  .search-form { grid-template-columns: repeat(3, 1fr) minmax(190px, .8fr); }
  .search-form > button { grid-column: auto; }

  .hero-stage img { width: min(43vw, 510px); }

  .journey-editorial {
    grid-template-columns: minmax(300px, .85fr) minmax(360px, 1.15fr);
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 0;
    padding-bottom: 0;
    display: flex;
  }

  .hero-copy { padding-bottom: 38px; }
  .hero-trust { min-height: 96px; padding-top: 20px; padding-bottom: 20px; }

  .hero-stage img {
    left: 50%;
    width: min(88vw, 420px);
    height: auto;
    max-height: 94%;
    transform: translateX(-50%);
  }

  .stage-card { bottom: 22px; }

  .search-studio {
    padding-top: 58px;
    padding-bottom: 58px;
    gap: 28px;
  }

  .search-form { grid-template-columns: 1fr; }
  .search-form label { min-height: 88px; padding: 16px 18px; }
  .search-form > button { min-height: 66px; grid-column: auto; }
  .choice-menu { left: -18px; min-width: calc(100% + 36px); top: calc(100% + 13px); }
  .search-form .choice-menu { min-width: calc(100% + 36px); }
  .search-assurance { padding-top: 2px; font-size: 15px; line-height: 1.55; }

  .finance { min-height: 0; }
  #financiamento { scroll-margin-top: 70px; }
  .finance-portrait img {
    background: transparent;
    left: 50%;
    width: min(92vw, 470px);
    height: auto;
    max-height: 93%;
    transform: translateX(-50%);
  }
  .finance-content { padding-top: 64px; padding-bottom: 64px; }
  .finance-form label { min-height: 86px; }
  .finance-form .choice-menu { left: -20px; min-width: calc(100% + 40px); }

  .journey-editorial {
    min-height: 0;
    margin-top: 52px;
    grid-template-columns: 1fr;
  }

  .journey-photo { min-height: 480px; }
  .journey-photo::after { background: linear-gradient(0deg, rgba(229, 211, 187, .9), transparent 32%); }
  .journey-photo img { object-position: center 20%; }
  .journey-message { padding: 42px 24px 48px; }
  .journey-message blockquote { font-size: 31px; }

  .cta-portrait { width: 76%; opacity: .12; }

  .developer-credit {
    align-items: center;
    gap: 7px;
    margin-top: 20px;
    padding-top: 18px;
    padding-bottom: 2px;
  }

  .developer-link {
    width: auto;
    min-height: 38px;
    padding: 2px 8px 2px 2px;
  }

  .developer-link img {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 760px) {
  .hero-trust {
    box-sizing: border-box !important;
    width: calc(100% + 40px) !important;
    max-width: none !important;
    margin-inline: -20px !important;
    align-self: stretch !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .hero-stage,
  .finance-portrait {
    background: transparent !important;
    box-shadow: none !important;
  }

  .hero-stage img,
  .finance-portrait img {
    object-fit: contain !important;
    object-position: center bottom !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    filter: none !important;
  }

  .hero-stage img {
    width: min(98vw, 480px) !important;
    height: 94% !important;
    max-height: none !important;
    left: 50% !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;
  }

  .finance-portrait {
    min-height: 620px !important;
    background: #d9cab7 !important;
  }

  .finance-portrait img {
    width: min(108vw, 470px) !important;
    height: 96% !important;
    max-height: none !important;
    left: 56% !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;
  }
}
