/* Scene layer for the Good Ground site: the animated background, the walking text, the carousels and the adrenaline cards.
   Everything here sits on top of the real site CSS. The hero, nav and footer are not touched. */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none; }
.hero-slides, .hero-scene, .t-hero, .t-foot, footer, .scn, .panel, .adren { position: relative; z-index: 1; }

/* the walking text between panels (short, only where the scene changes) */
.beat { min-height: 40svh; display: flex; align-items: center; color: var(--on-sky, #17140F); }
.beat p { font-family: 'Fraunces', serif; font-weight: 800; letter-spacing: -.03em; line-height: .98; font-size: clamp(36px, 6.4vw, 92px); max-width: 13ch; text-wrap: balance; margin: 0; }
.beat.sm { min-height: 30svh; }
@media (max-width: 720px) { .beat { min-height: 32svh; } .beat.sm { min-height: 24svh; } }

/* homepage sections that were full-width bands become panels like the rest */
.scn-card { width: calc(100% - 40px); max-width: 1160px; margin: 36px auto; border-radius: 32px; overflow: hidden; box-shadow: 0 10px 26px rgba(23, 20, 15, .08); background: var(--cream-card, #FFFDF6); }
@media (max-width: 720px) { .scn-card { width: calc(100% - 20px); margin: 20px auto; border-radius: 20px; } }
.services.scn { margin-top: 24px; margin-bottom: 24px; padding: 40px 0 34px; }

/* tour carousels */
.svc-carousel { position: relative; }
.svc-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; scrollbar-width: none; align-items: flex-start; -webkit-overflow-scrolling: touch; }
.svc-track::-webkit-scrollbar { display: none; }
.svc-track .svc-card { flex: 0 0 min(360px, 84%); scroll-snap-align: start; margin: 0; display: block; grid-row: auto; }
.svc-carousel.one .svc-track { justify-content: center; }
.svc-carousel.one .svc-card { flex-basis: min(560px, 100%); }
.car-btn { position: absolute; top: 120px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--gold, #FFC629); color: #17140F; font-size: 28px; line-height: 1; cursor: pointer; z-index: 3; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); display: grid; place-items: center; transition: transform .18s, opacity .18s; }
.car-btn:hover { transform: scale(1.06); }
.car-btn:active { transform: scale(.96); }
.car-btn.prev { left: -18px; } .car-btn.next { right: -18px; }
.car-btn[disabled] { opacity: .3; cursor: default; }
.car-btn[hidden] { display: none; }
@media (max-width: 720px) { .car-btn { width: 42px; height: 42px; top: 100px; } .car-btn.prev { left: -8px; } .car-btn.next { right: -8px; } }
.svc-card.soon { opacity: .92; }
.svc-card.soon .svc-from b { color: var(--gold-soft, #FFDE7A); }

/* the adrenaline block: one card per activity, matching the background */
.adren { height: 360svh; }
.adren-in { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; justify-content: space-between; gap: 40px; max-width: 1160px; margin: 0 auto; padding: 64px 28px 0; }
.adren-in .beat-txt { font-family: 'Fraunces', serif; font-weight: 800; letter-spacing: -.03em; line-height: .98; font-size: clamp(36px, 6vw, 88px); max-width: 9ch; margin: 0; color: var(--on-sky, #17140F); text-wrap: balance; }
.adr-wrap { flex: 0 0 min(440px, 46%); align-self: center; }
.adr-cards { position: relative; width: 100%; height: 500px; }
.adr-card { position: absolute; left: 0; right: 0; top: 50%; background: var(--cream-card, #FFFDF6); border: 1.5px solid var(--line, #E4D6AE); border-radius: 28px; padding: 28px; box-shadow: 0 14px 34px rgba(23, 20, 15, .18); opacity: 0; transform: translateY(calc(-50% + 18px)); pointer-events: none; transition: opacity .45s, transform .45s; }
.adr-card.on { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.adr-card .tag { font-family: 'Fraunces', serif; font-style: italic; font-weight: 600; font-size: 15px; color: var(--clay, #B7502F); }
.adr-card h3 { font-size: 30px; margin: 4px 0 8px; }
.adr-card p { font-size: 15.5px; color: #3a352c; margin: 0 0 12px; }
.adr-card .from { font-size: 15px; margin-bottom: 10px; } .adr-card .from b { font-family: 'Fraunces', serif; font-size: 26px; color: var(--clay, #B7502F); }
.adr-card ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; font-size: 14.5px; }
.adr-card li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line, #E4D6AE); padding-bottom: 6px; }
.adr-card li b { font-family: 'Fraunces', serif; }
.adr-card .row { display: flex; gap: 10px; flex-wrap: wrap; }
.adr-card.soon { text-align: left; }
.adr-card.soon .soonbadge { display: inline-block; background: var(--ink, #17140F); color: var(--gold, #FFC629); font-weight: 800; font-size: 14px; padding: 8px 16px; border-radius: 999px; margin-top: 4px; }
.adr-dots { display: flex; gap: 8px; margin-top: 14px; justify-content: center; }
.adr-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(23, 20, 15, .25); transition: background .3s, transform .3s; }
.adr-dots i.on { background: var(--ink, #17140F); transform: scale(1.3); }
@media (max-width: 820px) {
  .adren-in { flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: 70px 18px 0; }
  .adren-in .beat-txt { font-size: clamp(32px, 9vw, 56px); max-width: none; }
  .adr-wrap { flex: none; width: 100%; }
  .adr-cards { height: 430px; }
  .adr-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .adr-card { transition: none; } }

/* buttons inside the cream cards, one-card panels, arrows only when there is somewhere to go */
.adr-card .btn { background: var(--ink, #17140F); color: var(--gold, #FFC629); border: 2px solid var(--ink, #17140F); }
.adr-card .btn.btn-more { background: transparent; color: var(--ink, #17140F); }
.car-btn[disabled] { opacity: 0; pointer-events: none; }
.services.scn.one { width: min(calc(100% - 40px), 680px); }

/* the homepage hero loses the video: the scene (yellow sunrise over the bay) is its background */
.hero.hero-scene { background: transparent; }
.hero.hero-scene .hero-strip { margin-top: 24px; }

/* homepage hero strip: a rounded card in the middle instead of a full-width line */
.hero.hero-scene .hero-strip { width: fit-content; max-width: calc(100% - 32px); margin: 28px auto 12px; padding: 12px 32px; border-radius: 999px; box-shadow: 0 10px 26px rgba(23, 20, 15, .18); }
@media (max-width: 720px) { .hero.hero-scene .hero-strip { border-radius: 22px; padding: 12px 20px; margin: 22px auto 10px; } }

/* every tour group uses the pinned block: title left, white card right, card and background change with the scroll */
.adren { height: calc(var(--n, 4) * 85svh + 15svh); }
.adren[style*="--n:1"] { height: 130svh; }
.adr-cards { display: grid; height: auto; align-items: center; }
.adr-card { position: relative; grid-area: 1 / 1; left: auto; right: auto; top: auto; transform: translateY(18px); align-self: center; }
.adr-card.on { transform: none; }
.adr-card .from { font-size: 15px; margin-bottom: 8px; } .adr-card .from b { font-family: 'Fraunces', serif; font-size: 26px; color: var(--clay, #B7502F); }
.adr-card .pnote { font-size: 13px; color: #5b5545; margin: -4px 0 12px; }
.adr-card h3 { line-height: 1.1; }
.adr-card li span { font-size: 14px; }
.adr-note { margin: 12px 0 0; font-size: 13px; color: var(--on-sky, #17140F); opacity: .85; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 820px) {
  .adr-card li:nth-child(n+4), .adr-card .pnote { display: none; }
  .adr-card p { font-size: 14.5px; }
  .adr-card h3 { font-size: 26px; }
}
@media (max-width: 820px) {
  .adr-note { display: none; }
  .adr-card { padding: 18px 18px 16px; border-radius: 22px; }
  .adr-card h3 { font-size: 24px; margin-bottom: 6px; }
  .adr-card .from { margin-bottom: 6px; } .adr-card .from b { font-size: 22px; }
  .adr-card p { font-size: 14px; margin-bottom: 8px; }
  .adr-card ul { gap: 4px; margin-bottom: 12px; } .adr-card li span { font-size: 13px; }
  .adr-card .row { flex-wrap: nowrap; gap: 8px; } .adr-card .row .btn { padding: 10px 14px; font-size: 13.5px; min-height: 0; white-space: nowrap; }
}

/* 25 Nov: plain sand background (like Good Ground Media). The drawing stays only behind the hero and scrolls away with it. */
body { background: #F6EFE2 !important; }
#scene { display: none; }
body:has(.hero-scene) #scene { display: block; position: absolute; height: 100vh; height: 100svh; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
.beat, .adren-in .beat-txt, .adr-note { color: #1B1710 !important; }
/* three dots over section titles: toasted yellow, black, red */
.scn .eyebrow::before, .beat p::before, .adren-in .beat-txt::before { content: ""; display: block; width: 10px; height: 10px; border-radius: 50%; background: #D99A06; box-shadow: 16px 0 0 #17140F, 32px 0 0 #C0392B; margin-bottom: 14px; }
.scn .eyebrow::before { display: inline-block; vertical-align: middle; margin: 0 44px 0 0; }
.beat p::before { margin-bottom: 22px; }
.beat { flex-direction: column; align-items: flex-start; justify-content: center; }
.gallery .eyebrow::before { box-shadow: 16px 0 0 #F6EFE2, 32px 0 0 #C0392B; }  /* black dot is invisible on the dark panel */
.hero.hero-scene .hero-strip { margin-bottom: 44px; box-shadow: 0 8px 18px rgba(23, 20, 15, .16); }  /* room so the shadows are not cut into a line at the end of the hero */

/* 25 Nov: home hero over a photo of the north coast, fading into the sand background */
.hero-photo { position: absolute; left: 0; top: 0; width: 100%; height: 100vh; height: 100svh; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246,239,226,.62) 0%, rgba(246,239,226,.50) 34%, rgba(246,239,226,.12) 54%, rgba(246,239,226,0) 66%); }
@media (max-width: 840px) { .hero-photo::after { background: linear-gradient(180deg, rgba(246,239,226,.84) 0%, rgba(246,239,226,.78) 58%, rgba(246,239,226,.2) 100%); } }
header.hero#top h1, header.hero#top p, header.hero#top .eyebrow { text-shadow: 0 0 14px rgba(246,239,226,.95), 0 0 4px rgba(246,239,226,.8); }
header.hero#top .hero-stack-hint { color: #17140F; opacity: 1; text-shadow: 0 0 6px #F6EFE2, 0 0 12px #F6EFE2, 0 0 18px #F6EFE2; }

/* 26 nov: caixa "Need help booking?" no estilo novo (areia, cartões claros, 3 pontos, sem contorno preto) */
body .qc-panel { width: 344px; background: #F6EFE2; border: 0; border-radius: 28px; box-shadow: 0 24px 60px rgba(18, 48, 57, .28), 0 2px 8px rgba(18, 48, 57, .10); max-height: min(74vh, 600px); scrollbar-width: none; }
body .qc-panel::-webkit-scrollbar { display: none; }
body .qc-panel-head { background: rgba(246, 239, 226, .96); color: #17140F; padding: 20px 22px 14px; border-radius: 28px 28px 0 0; z-index: 2; }
body .qc-panel-head::before { content: ""; display: block; width: 9px; height: 9px; border-radius: 50%; background: #D99A06; box-shadow: 15px 0 0 #17140F, 30px 0 0 #C0392B; margin-bottom: 12px; }
body .qc-panel-head b { font-size: 23px; line-height: 1.1; letter-spacing: -.02em; color: #17140F; }
body .qc-panel-head span { display: block; margin-top: 6px; font-size: 13.5px; color: #5a5043; }
body .qc-group { padding: 8px 14px 6px; }
body .qc-group-label { font-size: 10.5px; letter-spacing: .14em; color: #8a7f6c; padding: 0 8px; margin-bottom: 8px; }
body .qc-group .qc-link { background: #FFFDF8; border: 0; border-radius: 0; margin: 0; padding: 11px 12px 11px 16px; font-size: 14.5px; box-shadow: inset 0 -1px 0 rgba(23, 20, 15, .07); }
body .qc-group .qc-group-label + .qc-link { border-radius: 18px 18px 0 0; }
body .qc-group .qc-link:last-child { border-radius: 0 0 18px 18px; box-shadow: none; }
body .qc-group .qc-group-label + .qc-link:last-child { border-radius: 18px; }
body .qc-group .qc-link:hover, body .qc-group .qc-link:focus-visible { background: #FFF1C2; }
body .qc-link span.qc-arrow { width: 28px; height: 28px; flex: none; border-radius: 50%; background: #F6EFE2; color: #17140F; display: grid; place-items: center; font-size: 14px; transition: background-color .2s, transform .2s; }
body .qc-link:hover span.qc-arrow { background: #FFC629; transform: translateX(2px); }
body .qc-view-answer, body .qc-view-whatsapp { padding-left: 14px; padding-right: 14px; }
body .qc-back { color: #17140F; padding-left: 8px; }
body .qc-bubble, body .qc-wa-bubble { background: #FFFDF8; border: 0; border-radius: 20px; box-shadow: 0 6px 18px rgba(18, 48, 57, .08); }
body .qc-bubble-title { color: #17140F; font-size: 18px; }
body .qc-price-row .price { color: #17140F; }
body .qc-answer-cta, body .qc-wa-open { border-radius: 999px; }
body .qc-ebook-inline input[type="email"] { border: 1px solid rgba(23, 20, 15, .18); }
body .qc-tabs { gap: 4px; margin: 8px 14px 0; bottom: 12px; padding: 5px; border: 0; border-radius: 999px; background: #FFFDF8; box-shadow: 0 8px 22px rgba(18, 48, 57, .18); }
body .qc-panel .qc-tabs { margin-bottom: 12px; }
body .qc-tab { background: transparent; border-radius: 999px; padding: 10px 0; gap: 8px; font: 700 13px 'Karla', sans-serif; color: #17140F; }
body .qc-tab svg { width: 19px; height: 19px; }
body .qc-tab#qcTabChat::after { content: "Chat"; }
body .qc-tab#qcTabWhatsapp::after { content: "WhatsApp"; }
body .qc-tab.is-active { background: #FFC629; box-shadow: none; }
body .qc-tab:not(.is-active):hover { background: #F6EFE2; }
@media (max-width: 420px) { body .qc-panel { width: auto; left: 16px; right: 16px; max-width: none; } }
body .qc-panel .qc-tabs { margin: 0; bottom: 0; padding: 10px 14px 14px; border-radius: 0 0 28px 28px; background: #F6EFE2; box-shadow: 0 -10px 18px rgba(246, 239, 226, .95); gap: 8px; z-index: 2; }
body .qc-tab:not(.is-active) { background: #FFFDF8; }
body .qc-tab:not(.is-active):hover { background: #FFF1C2; }
