/* AbasteSer · um passeio pelos ambientes. */
.venue-gallery { margin-top: 12px; }
.gallery-frame { scroll-margin-top: 12px; overflow-anchor: none; }
.gallery-tabs { display: flex; gap: clamp(20px, 3vw, 48px); overflow-x: auto; border-bottom: 1px solid #cbb9b1; scrollbar-width: thin; scrollbar-color: #bda59c transparent; }
.gallery-tabs button { position: relative; flex: 0 0 auto; color: #68545a; padding: 16px 0 18px; border: 0; background: none; cursor: pointer; font-size: 16px; min-height: 56px; }
.gallery-tabs button[aria-selected="true"] { color: var(--wine); }
.gallery-tabs button[aria-selected="true"]::after { content: ''; position: absolute; height: 3px; background: var(--wine); left: 0; right: 0; bottom: 0; }
.gallery-tabs button:focus-visible { outline-offset: -4px; }
.gallery-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; }
.gallery-intro p { max-width: 680px; color: #665259; font-size: 16px; }
.gallery-count { flex-shrink: 0; font-family: Fahkwang,var(--sans); color: var(--wine); font-size: 11px; letter-spacing: .08em; }
.gallery-stage { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(420px, 43vw, 620px); }
.gallery-photo { position: relative; display: block; min-width: 0; overflow: hidden; padding: 0; background: #dfd2c3; color: white; border: 0; text-align: left; cursor: zoom-in; }
.gallery-photo:first-child { grid-row: 1 / 3; }
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.gallery-photo:hover img { transform: scale(1.025); }
.gallery-photo:focus-visible { outline-offset: -6px; z-index: 1; }
.gallery-photo-label { position: absolute; inset: auto 0 0; padding: 44px 22px 18px; background: linear-gradient(transparent, #201519cc); display: flex; justify-content: space-between; align-items: end; gap: 20px; font-size: 15px; line-height: 1.4; }
.gallery-photo-label i { font-style: normal; font-size: 23px; }
.gallery-strip-heading { display: flex; justify-content: space-between; align-items: center; margin: 23px 0 12px; gap: 16px; color: #6b535b; font-size: 13px; }
.gallery-strip-heading span:last-child { font-size: 12px; }
.gallery-strip { display: flex; gap: 10px; overflow-x: auto; padding: 3px 3px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #b59b8d transparent; }
.gallery-thumb { border: 0; padding: 0; cursor: zoom-in; background: #dfd2c3; flex: 0 0 130px; height: 90px; overflow: hidden; scroll-snap-align: start; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.gallery-thumb:hover img { opacity: .8; }
.gallery-note { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #d0c0b5; }
.gallery-note p { font-size: 14px; color: #6b535b; max-width: 500px; }
.gallery-open-all { background: transparent; color: var(--wine); border: 0; border-bottom: 1px solid currentColor; padding: 10px 0 6px; min-height: 44px; cursor: pointer; flex-shrink: 0; font-size: 14px; }
.stay-inclusions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 9%; padding-top: 55px; padding-bottom: 44px; }
.stay-inclusions h3 { margin: 16px 0 0; font-size: clamp(32px, 3vw, 46px); }
.stay-inclusions p { color: #6b535b; font-size: 16px; }
.stay-inclusions .text-link { margin-top: 14px; }

/* O conteúdo do roteiro aparece como experiência, sem uma agenda fechada. */
.retreat-rhythm { padding-top: 0; padding-bottom: 80px; }
.rhythm-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 9%; margin-bottom: 40px; }
.rhythm-heading h2 { font-size: clamp(36px, 3.7vw, 54px); margin-top: 16px; }
.rhythm-heading > p { color: #6d5b60; font-size: 16px; }
.rhythm-parts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rhythm-parts article { padding: 32px 30px 34px 0; }
.rhythm-parts article + article { border-left: 1px solid var(--line); padding-left: 30px; }
.rhythm-parts .rhythm-number { font-family: Fave,cursive; font-size: 48px; color: #a47683; line-height: 1; }
.rhythm-parts h3 { margin: 18px 0 17px; font-size: 29px; letter-spacing: -.035em; }
.rhythm-parts p { color: #6d5b60; font-size: 16px; }
.rhythm-invitation { margin-top: 22px; font-size: 15px; color: #6d5b60; max-width: 790px; }
.participant-notes { margin-top: 50px; padding: 35px 40px; background: #f0e7df; display: grid; grid-template-columns: 1fr 1.6fr; gap: 8%; }
.participant-notes h3 { margin-top: 13px; font-size: 33px; }
.participant-notes p { font-size: 16px; color: #6d5b60; }

html.gallery-is-open { overflow: hidden; }
.gallery-dialog { color: #fff6eb; background: #251c20; border: 0; padding: 0; width: min(96vw, 1520px); max-width: none; height: 94vh; height: 94dvh; max-height: none; overflow: hidden; }
.gallery-dialog[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.gallery-dialog::backdrop { background: #21151bef; backdrop-filter: blur(8px); }
.gallery-dialog-head { padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #ffffff24; }
.gallery-dialog-head > div { display: flex; align-items: baseline; gap: 22px; }
.gallery-dialog-head h2 { font-size: 24px; letter-spacing: -.02em; }
.gallery-dialog-counter { color: #dccac4; font-size: 13px; }
.gallery-close, .gallery-arrow { background: transparent; color: #fff6eb; border: 1px solid #ffffff60; width: 46px; height: 46px; cursor: pointer; flex-shrink: 0; font-size: 27px; line-height: 1; }
.gallery-close:hover, .gallery-arrow:hover { background: #ffffff19; }
.gallery-view { position: relative; min-height: 0; padding: 18px 82px; display: flex; align-items: center; justify-content: center; touch-action: pan-y pinch-zoom; }
.gallery-view img { width: 100%; height: 100%; object-fit: contain; }
.gallery-arrow { position: absolute; top: calc(50% - 23px); }
.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }
.gallery-dialog-caption { padding: 12px 24px 20px; text-align: center; margin: 0; max-width: none; font-size: 16px; }
.gallery-dialog :focus-visible { outline: 2px solid #f6dab4; outline-offset: 4px; }
.gallery-load-error { position: absolute; padding: 20px; text-align: center; background: #251c20; max-width: 360px; }
/* Categories, photographs and the contact strip share the available laptop viewport. */
@media (min-width: 761px) {
  .gallery-frame {
    --gallery-thumb-height: clamp(60px, 10svh, 86px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: min(820px, calc(100svh - 132px));
    min-height: 390px;
  }
  .gallery-frame [role="tabpanel"] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    min-height: 0;
  }
  .gallery-frame .gallery-tabs button { padding: 12px 0 14px; min-height: 50px; }
  .gallery-frame .gallery-intro { padding: 13px 0; }
  .gallery-frame .gallery-intro p { max-width: none; font-size: 15px; }
  .gallery-frame .gallery-stage { height: auto; min-height: 0; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .gallery-frame .gallery-photo { min-height: 0; }
  .gallery-frame .gallery-strip-heading { margin: 14px 0 8px; }
  .gallery-frame .gallery-strip { height: calc(var(--gallery-thumb-height) + 24px); min-height: 0; padding: 3px 3px 10px; }
  .gallery-frame .gallery-thumb { height: var(--gallery-thumb-height); flex-basis: calc(var(--gallery-thumb-height) * 1.5); }
}
@media (min-width: 761px) and (max-height: 900px) {
  .gallery-frame .gallery-stage { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: minmax(0, 1fr); }
  .gallery-frame .gallery-photo:first-child { grid-row: 1; }
  .gallery-frame .gallery-photo-label { padding: 36px 17px 15px; font-size: 14px; }
}
@media (max-width: 760px) {
  .gallery-tabs { flex-wrap: wrap; gap: 0 22px; overflow: visible; }
  .gallery-tabs button { font-size: 15px; min-height: 48px; padding: 12px 0 14px; }
  .gallery-intro { padding: 19px 0; align-items: start; gap: 15px; }
  .gallery-intro p { font-size: 14px; }
  .gallery-count { font-size: 9px; padding-top: 3px; white-space: nowrap; }
  .gallery-stage { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 5px; }
  .gallery-photo:first-child { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 4/3; }
  .gallery-photo:not(:first-child) { aspect-ratio: 1.1; }
  .gallery-photo-label { font-size: 12px; padding: 30px 12px 12px; gap: 8px; }
  .gallery-photo:first-child .gallery-photo-label { font-size: 15px; padding: 36px 17px 16px; }
  .gallery-photo-label i { font-size: 20px; }
  .gallery-strip-heading { margin-top: 18px; font-size: 12px; }
  .gallery-strip-heading span:last-child { font-size: 10px; }
  .gallery-thumb { flex-basis: 100px; height: 75px; }
  .gallery-note { display: block; margin-top: 12px; padding-top: 16px; }
  .gallery-note p { font-size: 13px; }
  .gallery-open-all { margin-top: 10px; }
  .stay-inclusions { display: block; padding-top: 38px; padding-bottom: 24px; }
  .stay-inclusions h3 { font-size: 35px; margin-bottom: 22px; }
  .rhythm-heading { display: block; margin-bottom: 28px; }
  .rhythm-heading h2 { font-size: 37px; margin-bottom: 22px; }
  .rhythm-parts { display: block; }
  .rhythm-parts article { position: relative; padding: 25px 0 26px 48px; }
  .rhythm-parts article + article { border-left: 0; border-top: 1px solid var(--line); padding-left: 48px; }
  .rhythm-parts .rhythm-number { position: absolute; top: 28px; left: 0; font-size: 37px; }
  .rhythm-parts h3 { margin: 0 0 13px; font-size: 27px; }
  .rhythm-parts p { font-size: 15px; }
  .rhythm-invitation { font-size: 14px; }
  .retreat-rhythm { padding-bottom: 50px; }
  .participant-notes { display: block; padding: 28px 24px; margin-top: 30px; }
  .participant-notes h3 { font-size: 31px; margin-bottom: 22px; }
  .participant-notes p { font-size: 15px; }
  .gallery-dialog { width: 100%; height: 100vh; height: 100dvh; margin: 0; }
  .gallery-dialog-head { padding: max(12px,env(safe-area-inset-top)) 16px 12px; }
  .gallery-dialog-head > div { display: block; }
  .gallery-dialog-head h2 { font-size: 23px; margin-bottom: 4px; }
  .gallery-view { padding: 10px 0 66px; }
  .gallery-arrow { top: auto; bottom: 7px; }
  .gallery-prev { left: calc(50% - 57px); }
  .gallery-next { right: calc(50% - 57px); }
  .gallery-dialog-caption { font-size: 14px; padding: 10px 24px max(22px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .gallery-photo img, .gallery-thumb img { transition: none; } }
