#pai-andre-page .mobile-nav { position: relative; }
#pai-andre-page .mobile-nav summary { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid var(--color-line); cursor: pointer; list-style: none; }
#pai-andre-page .mobile-nav summary::-webkit-details-marker { display: none; }
#pai-andre-page .menu-lines, #pai-andre-page .menu-lines::before, #pai-andre-page .menu-lines::after { display: block; width: 18px; height: 1px; background: var(--color-primary-dark); }
#pai-andre-page .menu-lines { position: relative; }
#pai-andre-page .menu-lines::before, #pai-andre-page .menu-lines::after { position: absolute; left: 0; content: ""; }
#pai-andre-page .menu-lines::before { top: -6px; }
#pai-andre-page .menu-lines::after { top: 6px; width: 12px; }
#pai-andre-page .mobile-nav[open] summary .menu-lines { background: transparent; }
#pai-andre-page .mobile-nav[open] summary .menu-lines::before { top: 0; transform: rotate(45deg); }
#pai-andre-page .mobile-nav[open] summary .menu-lines::after { top: 0; width: 18px; transform: rotate(-45deg); }
#pai-andre-page .mobile-nav nav { position: absolute; top: calc(100% + 15px); right: 0; display: grid; width: min(280px, calc(100vw - 42px)); gap: 0; padding: 8px 18px; border: 1px solid var(--color-line); background: var(--color-surface); box-shadow: var(--shadow-soft); }
#pai-andre-page .mobile-nav nav a { padding: 12px 3px; border-bottom: 1px solid var(--color-line); color: var(--color-primary-dark); font-size: .84rem; }
#pai-andre-page .mobile-nav nav a:last-child { border-bottom: 0; }
#pai-andre-page .mobile-nav nav a:hover { color: var(--color-accent); }
#pai-andre-page .full-copy-disclosure { margin-top: 28px; border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
#pai-andre-page .full-copy-disclosure > summary { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 14px; color: var(--color-text); cursor: pointer; font-size: .76rem; font-weight: 700; list-style: none; }
#pai-andre-page .full-copy-disclosure > summary::-webkit-details-marker { display: none; }
#pai-andre-page .full-copy-disclosure > summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 4px; }
#pai-andre-page .full-copy-open { display: none; }
#pai-andre-page .full-copy-disclosure[open] .full-copy-closed { display: none; }
#pai-andre-page .full-copy-disclosure[open] .full-copy-open { display: inline; }
#pai-andre-page .full-copy-icon { position: relative; display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border: 1px solid var(--color-line); color: var(--color-text); background: var(--color-surface); font-size: 0; line-height: 1; font-weight: 400; transition: transform .2s ease; }
#pai-andre-page .full-copy-icon::before, #pai-andre-page .full-copy-icon::after { position: absolute; top: 50%; left: 50%; display: block; background: currentColor; content: ""; transform: translate(-50%, -50%); }
#pai-andre-page .full-copy-icon::before { width: 11px; height: 1px; }
#pai-andre-page .full-copy-icon::after { width: 1px; height: 11px; }
#pai-andre-page .full-copy-disclosure[open] .full-copy-icon { transform: rotate(45deg); }
#pai-andre-page .buzios-copy > .full-copy-disclosure + .button { margin-top: 24px; }
#pai-andre-page .full-copy-body { margin-bottom: 18px; padding: 22px clamp(18px, 3vw, 28px); border-left: 2px solid var(--color-primary); background: #f5f9f8; }
#pai-andre-page .full-copy-body h3 { margin-bottom: 16px; color: #000000; font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; line-height: 1.2; }
#pai-andre-page .full-copy-body p { color: rgb(0 0 0 / 76%); font-size: .84rem; line-height: 1.82; }
#pai-andre-page .full-copy-body p + p { margin-top: 12px; }
#pai-andre-page .full-copy-body .full-copy-kicker { margin-bottom: 8px; color: rgb(0 0 0 / 66%); font-size: .58rem; font-weight: 700; letter-spacing: .13em; }
#pai-andre-page .full-copy-wrap { margin-top: 32px; }
#pai-andre-page .noscript-note { margin-top: 40px; padding: 15px; color: var(--color-primary-dark); border-left: 2px solid var(--color-accent); background: var(--color-surface); font-size: .78rem; }
#pai-andre-page .map-action { display: inline-flex; width: fit-content; align-items: center; gap: 10px; margin-top: 4px; color: var(--color-accent-light); font-size: .75rem; }

#pai-andre-page .photo-zoom-trigger {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}
#pai-andre-page .photo-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 50%;
  background: rgb(0 0 0 / 68%);
  color: #fff;
}
#pai-andre-page .photo-lightbox-close:hover { background: #000; }
#pai-andre-page .photo-zoom-trigger:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
#pai-andre-page .photo-lightbox-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
#pai-andre-page .photo-lightbox-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#pai-andre-page .terreiro-stats { z-index: 3; }

html:has(#pai-andre-page .photo-lightbox[open]) { overflow: hidden; }
#pai-andre-page .photo-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 64px clamp(14px, 5vw, 72px) 20px;
  border: 0;
  background: transparent;
  color: #fff;
  overscroll-behavior: contain;
}
#pai-andre-page .photo-lightbox[open] { display: grid; place-items: center; }
#pai-andre-page .photo-lightbox::backdrop { background: rgb(10 13 15 / 94%); }
#pai-andre-page .photo-lightbox-content { max-width: 100%; }
#pai-andre-page .photo-lightbox-figure { width: fit-content; max-width: 100%; text-align: center; }
#pai-andre-page .photo-lightbox.is-gallery[open] { grid-template-rows: minmax(0, 1fr); }
#pai-andre-page .photo-lightbox.is-gallery .photo-lightbox-content {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(100%, 70rem);
  height: 100%;
  min-height: 0;
}
#pai-andre-page .photo-lightbox.is-gallery .photo-lightbox-figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  width: 100%;
  min-height: 0;
  touch-action: pan-y pinch-zoom;
}
#pai-andre-page .photo-lightbox-figure img {
  width: auto;
  height: auto;
  max-height: calc(100vh - 9rem);
  max-height: calc(100dvh - 9rem);
  margin-inline: auto;
  border-radius: 8px;
  object-fit: contain;
}
#pai-andre-page .photo-lightbox-figure figcaption { max-width: 42rem; margin: 12px auto 0; color: #fff; font-size: .9rem; line-height: 1.5; }
#pai-andre-page .photo-lightbox.is-gallery .photo-lightbox-figure img { width: 100%; height: 100%; min-height: 0; max-height: none; object-fit: scale-down; }
#pai-andre-page .photo-lightbox-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 12px; }
#pai-andre-page .photo-lightbox-controls button { display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid rgb(255 255 255 / 40%); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
#pai-andre-page .photo-lightbox-controls button[aria-disabled="true"] { opacity: .45; cursor: default; }
#pai-andre-page .photo-lightbox-controls button:not([aria-disabled="true"]):hover { background: rgb(255 255 255 / 15%); }
#pai-andre-page .photo-lightbox-controls button:focus-visible { outline-color: #fff; }
#pai-andre-page .photo-lightbox-controls svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#pai-andre-page .photo-lightbox-controls span { min-width: 48px; text-align: center; font-size: .85rem; font-variant-numeric: tabular-nums; }
#pai-andre-page .photo-lightbox-close { position: fixed; z-index: 1; right: max(14px, env(safe-area-inset-right)); top: max(12px, env(safe-area-inset-top)); cursor: pointer; }
