/* page CSS: the client's logo, the search form, the results window and the result cards (inside visuals only) */
.gb-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.gb-pin { position: relative; width: 26px; height: 26px; flex: none; display: inline-grid; place-items: center; }
.gb-pin::before { content: ""; position: absolute; inset: 0; border-radius: 50% 50% 50% 4px; background: #e8590c; transform: rotate(-45deg); }
.gb-pin::after { content: ""; position: relative; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.gb-word { font: 800 20px/1 "Plus Jakarta Sans", var(--font-display); letter-spacing: -0.02em; }
.gb-word b { font-weight: 800; color: #e8590c; }
.ground-inverse .gb-logo { color: var(--ink); }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.dot--imo { background: #e8590c; } .dot--auto { background: #1d5fd6; } .dot--food { background: #1f9d5c; }

/* the search form: what, where, one button */
.gb-search { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: var(--s-3); align-items: end; width: min(100%, 760px); margin-top: var(--s-3); text-align: left; }
.gb-search .btn { height: 48px; }
.gb-search input { background: #fff; }
@media (max-width: 639px) { .gb-search { grid-template-columns: 1fr; } .gb-search .btn { width: 100%; } }

/* the results window in the hero, standing on a photograph of a town street */
.hero--centred .hero__window { background: #cdbfa9 url(img/carro-preto-1200.webp) center 70% / cover no-repeat; }
.gb-win { background: #fff; color: #241a12; border-radius: 12px; overflow: hidden; font: 400 14px/1.4 var(--font-text); text-align: left;
  box-shadow: 0 0 0 1px rgb(36 26 18 / .08), 0 24px 60px -28px rgb(36 26 18 / .5); }
.gb-win__bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 16px; border-bottom: 1px solid rgb(36 26 18 / .08); font-size: 13px; color: #6d655d; }
.gb-win__dots { display: flex; gap: 6px; } .gb-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #e6ddd0; }
.gb-win__q { padding: 4px 12px; border-radius: 99px; background: #f3ece2; color: #241a12; font-weight: 500; }
.gb-win__sp { flex: 1; }
.gb-win__body { display: grid; grid-template-columns: 170px 1fr; }
.gb-win__side { display: grid; align-content: start; gap: 2px; padding: 12px; border-right: 1px solid rgb(36 26 18 / .08); }
.gb-win__side span { padding: 8px 10px; border-radius: 8px; color: #4a4038; }
.gb-win__side .is-on { background: #f3ece2; color: #241a12; font-weight: 500; }
.gb-win__list { display: grid; padding: 8px 16px; }
.gb-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgb(36 26 18 / .07); }
.gb-row:last-child { border-bottom: 0; }
.gb-row img { width: 56px; height: 44px; object-fit: cover; border-radius: 8px; }
.gb-row b { display: block; font-weight: 500; }
.gb-row span { color: #6d655d; font-size: 13px; }
.gb-row strong { font-weight: 500; white-space: nowrap; }
@media (max-width: 639px) { .gb-win__body { grid-template-columns: 1fr; } .gb-win__side { display: none; } .gb-win__bar > span:last-child { display: none; } }

/* guide cards: one coloured dot names the guide */
.gb-tag { font: 500 var(--t-label)/1.2 var(--font-text); color: var(--muted); margin: 0; }
.gb-guide .panel, .gb-offer .panel { --p-h: 280px; }
.gb-dg { --p-h: 420px; }
.gb-steps p { margin: var(--s-2) 0 0; }
@media (max-width: 639px) { .gb-guide .panel, .gb-offer .panel { --p-h: 180px; } .gb-dg { --p-h: 300px; } }

/* busca.html: result groups */
.gb-results { display: grid; gap: var(--s-8); }
.gb-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-5); }
.gb-group__head h2 { font-size: var(--t-h3); }
.gb-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s-5); }
.gb-card { display: grid; gap: var(--s-2); text-decoration: none; color: var(--ink); }
.gb-card__img { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.gb-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.gb-card:hover .gb-card__img img { transform: scale(1.03); }
.gb-card b { font-weight: 500; font-size: var(--t-card); line-height: 1.3; }
.gb-card span { color: var(--muted); font-size: var(--t-small); }
.gb-card strong { font-weight: 500; }
.gb-empty { padding: var(--s-6); border: 1px dashed rgb(36 26 18 / .2); border-radius: var(--r-lg); display: grid; gap: var(--s-3); justify-items: start; }
.gb-empty p { margin: 0; }
.gb-page { padding: calc(var(--nav) + var(--s-7)) 0 var(--s-9); min-height: 100svh; }
.gb-search--page { margin: 0 0 var(--s-7); width: min(100%, 880px); }
.gb-page__h { font-size: var(--t-h2); margin: 0 0 var(--s-7); }
.gb-foot { padding: var(--s-6) 0; border-top: 1px solid rgb(36 26 18 / .12); font-size: var(--t-small); }
.gb-foot .wrap { display: flex; justify-content: space-between; gap: var(--s-4); }
.hero--centred .hero__lead { color: var(--ink); }
.gb-guide .panel, .gb-offer .panel { height: 260px; aspect-ratio: auto; }
.gb-faq-photo { --ratio: 75%; }
.gb-search label { text-align: left; }
@media (max-width: 639px) { .gb-guide .panel, .gb-offer .panel { height: 200px; } }
@media (max-width: 400px) { .nav:not(.is-open) .nav__bar > .nav__actions { display: none; } }
