/* Hero section module
 * Brand greens migrated to CSS variables (see base.css :root)
 * If a darker shade is needed later, define --gf-color-primary-dark in :root and reference here.
 */
.home-hero {
  background-color: var(--gf-color-primary);
  color: #ffffff;
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
  --hero-background-image: none;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-background-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
}
.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(0deg, rgba(8, 22, 13, 0.65), rgba(8, 22, 13, 0.65)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 55%);
  pointer-events: none;
}
.home-hero .container-xxl {
  position: relative;
  z-index: 1;
}
/* .hero-content root previously empty; removed to avoid empty ruleset */
.home-hero .hero-content-desktop-offset {
  padding-top: 0;
}
.home-hero .hero-copy {
  max-width: 38rem;
}
.home-hero .hero-search-wrapper {
  width: 100%;
}
.home-hero .hero-pill {
  /* Updated per new spec: inline-flex, specific padding, gap, border, radius */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 1px 26px;
  border: 1px solid #fff;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}
.home-hero .hero-title-wrapper {
  display: inline-flex; /* shrink to content while keeping vertical centering */
  align-items: center;
  background-color: #ffffff;
  color: var(--gf-color-primary);
  border-radius: 0; /* square border as requested */
  padding: 10px; /* uniform internal padding */
  box-shadow: 0 30px 55px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  width: fit-content; /* let card hug the title text */
  margin-right: 1.25rem; /* keep distance from image column */
}
.home-hero .hero-title {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: var(--hero-title-size, 46px); /* dynamic size */
  font-style: normal;
  font-weight: 600; /* stronger base weight */
  line-height: 1; /* tighter for single-line vertical centering */
  white-space: nowrap; /* keep single line; script will downscale */
  flex: none; /* prevent flexbox from shrinking the text */
  color: #111111; /* neutral dark (pretending black) */
}
.home-hero .hero-title-highlight {
  color: var(--gf-color-primary); /* brand highlight */
  display: inline-block;
  font-weight: 700; /* extra emphasis */
}
.home-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 30rem;
}
.home-hero .hero-tabs {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.75rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 0.75rem;
}
.home-hero .hero-tabs__item {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  padding: 0 0 0.25rem;
  cursor: pointer;
  transition: color 0.2s ease;
  font: inherit;
  line-height: 1.2;
}
.home-hero .hero-tabs__item:hover,
.home-hero .hero-tabs__item:focus-visible {
  color: #ffffff;
}
.home-hero .hero-tabs__item:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 4px;
}
.home-hero .hero-tabs__item.is-active {
  color: #ffffff;
}
.home-hero .hero-tabs__indicator {
  position: absolute;
  left: 0;
  bottom: -0.7rem;
  width: 0;
  height: 4px;
  border-radius: 999px;
  background: #ffffff;
  transform: translateX(0);
  opacity: 0;
  transition: transform 0.25s ease, width 0.25s ease, opacity 0.2s ease;
  pointer-events: none;
}
.home-hero .hero-tabs.is-ready .hero-tabs__indicator {
  opacity: 1;
}
.home-hero .search-card {
  background-color: #ffffff;
  border-radius: 0;
  position: relative;
  z-index: 2;
  padding: 20px 30px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.2);
}
.home-hero .search-card .form-label {
  margin-bottom: 0;
  color: #969696;
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 24.7px;
  letter-spacing: normal;
  text-transform: none;
}
.home-hero .search-card .form-control,
.home-hero .search-card .form-select {
  border: none;
  border-radius: 0;
  padding: 0;
  height: auto;
  min-height: 24px;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(0.85rem, 2.8vw, 1.125rem);
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  color: #1a1a1a;
  background-color: transparent;
  box-shadow: none;
}
.home-hero .search-card .form-select {
  padding-right: 24px;
  background-position: right 12px center;
}
.home-hero .search-card .form-control::placeholder {
  color: #1a1a1a;
  opacity: 1;
  font-size: clamp(0.8rem, 2.6vw, 1.0625rem);
  transition: font-size 0.2s ease;
}
.home-hero .search-card .form-control:focus,
.home-hero .search-card .form-select:focus {
  border: none;
  outline: none;
  box-shadow: none;
}
.home-hero .hero-filter-btn {
  border: 1px solid #e9e9e9;
  background-color: #ffffff;
  color: #1a1a1a;
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  min-width: 6rem;
  font-size: 15px;
  line-height: 28.5px;
}
.home-hero .hero-filter-btn .hero-filter-label {
  font-size: clamp(0.75rem, 2.4vw, 0.9375rem);
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}
.home-hero .hero-filter-btn .material-icons {
  flex-shrink: 0;
}
.home-hero .hero-filter-btn:hover,
.home-hero .hero-filter-btn:focus {
  background-color: #f5f5f5;
  border-color: #e9e9e9;
  color: var(--gf-color-primary);
  outline: none;
}
.home-hero .hero-search-btn {
  border-radius: 0.9rem;
  padding: 0.9rem 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.home-hero .hero-action-group {
  display: flex;
  gap: 12px;
}
.home-hero .hero-action-group .hero-filter-btn,
.home-hero .hero-action-group .hero-search-btn {
  border-radius: 0;
  min-width: 0;
  flex: 1 1 auto;
}
@media (min-width: 992px) {
  .home-hero .hero-action-group {
    gap: 0;
  }
  .home-hero .hero-action-group .hero-filter-btn,
  .home-hero .hero-action-group .hero-search-btn {
    min-width: 140px;
    flex: 0 0 auto;
    padding: 0.6rem 1.4rem;
  }
  .home-hero .hero-action-group .hero-filter-btn {
    border-right: 1px solid #e9e9e9;
  }
}
.home-hero .hero-gallery {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.home-hero .hero-avatars {
  display: flex;
  align-items: center;
}
.home-hero .hero-avatars span {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gf-color-primary);
  margin-left: -0.75rem;
  background-color: #ffffff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.25);
}
.home-hero .hero-avatars span:first-child {
  margin-left: 0;
}
.home-hero .hero-avatars img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-hero .hero-gallery-link {
  color: #ffffff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.home-hero .hero-gallery-link:hover,
.home-hero .hero-gallery-link:focus {
  text-decoration: underline;
  outline: none;
}
.home-hero .hero-visual {
  position: relative;
  min-height: 26rem;
  border-radius: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}
.home-hero .hero-form-block {
  min-height: 100%;
  gap: 6px;
  padding: 0 18px;
}
.home-hero .hero-form-block label {
  margin-bottom: 0;
}
@media (max-width: 991.98px) {
  .home-hero .col-lg-7 {
    display: none;
  }
}
@media (min-width: 1200px) {
  .home-hero {
    padding: 0 0 5rem;
  }
}
@media (min-width: 992px) {
  .home-hero {
    min-height: 800px;
    height: 800px;
    padding: 0;
  }
  /* Force both desktop columns to exactly 800px to avoid auto expansion from internal content */
  .home-hero .col-lg-5,
  .home-hero .col-lg-7 {
    height: 800px;
    max-height: 800px;
    display: flex;
    flex-direction: column;
  }
  /* Keep left content vertically centered within fixed height */
  .home-hero .col-lg-5 > .hero-content-desktop-offset {
    flex: 1 1 auto;
  }
  /* Make visual fill full fixed height */
  .home-hero .col-lg-7 .hero-visual {
    height: 100%;
  }
  .home-hero .container-xxl,
  .home-hero .row {
    height: 100%;
  }
  .home-hero .row {
    min-height: 100%;
  }
  .home-hero .hero-content {
    padding-right: 2rem;
    padding-top: 0;
  }
  /* Vertically center the left column content instead of using a fixed top padding */
  .home-hero .hero-content-desktop-offset {
    /* Remove previous fixed offset and use flex centering via parent column */
    padding-top: 0;
  }
  /* Ensure parent column becomes flex to center content vertically */
  .home-hero .col-lg-5 > .hero-content-desktop-offset {
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical centering */
    height: 100%;
  }
  .home-hero .hero-search-wrapper {
    position: relative;
    /* Width = left col (5/12) + 90% da right col (7/12) => (5 + 0.9*7)/12 = 94.1667% total.
     Como estamos dentro da left col (≈41.6667%), fator = 94.1667 / 41.6667 ≈ 2.26 => 226% */
    width: 226%; /* col esquerda + 90% da coluna direita */
    max-width: none;
    transform: none;
    margin-right: 0;
    z-index: 3;
  }
  .home-hero .hero-visual {
    min-height: 100%;
    height: 100%;
    border-radius: 0;
    flex: 0 0 auto;
    max-width: none;
    width: calc(100vw - ((95vw - 100%) / 2) - 41.6666667%);
    margin-right: calc((100vw - 100%) / -2);
    margin-left: 0;
  }
  .home-hero .hero-visual img {
    height: 100%;
  }
  .home-hero .search-card {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    border-radius: 0;
  }
  .home-hero .search-card form {
    width: 100%;
    margin: 0;
  }
  .home-hero .search-card .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    align-items: stretch;
  }
  .home-hero .search-card .row > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
  }
  .home-hero .search-card .row > div:first-of-type {
    flex: 0 0 32%;
    max-width: 32%;
    padding-left: 30px;
  }
  .home-hero .search-card .row > div:not(:first-of-type) {
    flex: 0 0 22.666%;
    max-width: 22.666%;
  }
  .home-hero .search-card .row > div:nth-of-type(2) .hero-form-block {
    border-left: 1px solid #e9e9e9;
    border-right: 1px solid #e9e9e9;
  }
  .home-hero .hero-filter-btn {
    padding: 0.55rem 0.75rem;
    font-size: 0.8rem;
  }
  .home-hero .hero-search-btn {
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
  }
  .home-hero .hero-action-group .hero-filter-btn,
  .home-hero .hero-action-group .hero-search-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9.75px;
  }
}
@media (max-width: 991.98px) {
  .home-hero {
    padding: 4.5rem 0 3.5rem;
  }
  .home-hero .hero-title-wrapper {
    padding: 1.5rem 2rem;
  }
  .home-hero .hero-tabs {
    gap: 1.25rem;
  }
  .home-hero .search-card {
    padding: 1.75rem;
  }
  .home-hero .hero-visual {
    margin-top: 2.5rem;
    border-radius: 1.5rem;
  }
  .home-hero .hero-avatars span {
    width: 2.5rem;
    height: 2.5rem;
    margin-left: -0.5rem;
    border-width: 2px;
  }
  .home-hero .hero-gallery {
    gap: 1rem;
  }
}
@media (max-width: 575.98px) {
  .home-hero .search-card .row {
    gap: 1.5rem;
  }
  .home-hero .hero-filter-btn,
  .home-hero .hero-search-btn {
    width: 100%;
  }
}

#inicio
  > div
  > div
  > div.col-lg-5
  > div
  > div.search-card.hero-search-wrapper.mt-4
  > form
  > div:nth-child(6)
  > div {
  padding: 0 0;
}
