body[data-sombio-type="venue"] .cinema-action-dock a[target="_blank"],
body[data-sombio-type="venue"] .sombio-channel-card[target="_blank"] {
  outline-offset: 4px;
}

/* V40 — Hub social editorial + carrossel somMENU da somBIO Casa. */
body[data-page="venue_profile"] .sdb-social-hub-v40 {
  scroll-margin-top: 108px;
}

body[data-page="venue_profile"] .sdb-social-shell-v40 {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 8% 4%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 34%),
    color-mix(in srgb, var(--card2) 88%, transparent);
  box-shadow: var(--shadow);
  overflow: hidden;
}

body[data-page="venue_profile"] .sdb-social-head-v40 {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

body[data-page="venue_profile"] .sdb-social-head-v40 h2 {
  margin: 6px 0 0;
  color: var(--text);
  font-family: var(--font-title, Sora, sans-serif);
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: .98;
  letter-spacing: -.045em;
}

body[data-page="venue_profile"] .sdb-social-head-v40 p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 650;
}

body[data-page="venue_profile"] .sdb-social-network-row-v40 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

body[data-page="venue_profile"] .sdb-social-network-v40 {
  min-width: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--card) 82%, transparent);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

body[data-page="venue_profile"] .sdb-social-network-v40:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 48%, var(--line));
  background: color-mix(in srgb, var(--brand) 10%, var(--card));
}

body[data-page="venue_profile"] .sdb-social-network-v40 > span:first-child {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 14%, transparent);
}

body[data-page="venue_profile"] .sdb-social-network-v40 > span:first-child i {
  font-size: 21px;
}

body[data-page="venue_profile"] .sdb-social-network-v40 > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 3px;
}

body[data-page="venue_profile"] .sdb-social-network-v40 strong,
body[data-page="venue_profile"] .sdb-social-network-v40 small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="venue_profile"] .sdb-social-network-v40 strong {
  font-size: 13px;
}

body[data-page="venue_profile"] .sdb-social-network-v40 small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

body[data-page="venue_profile"] .sdb-social-network-v40 > i {
  color: var(--soft);
  font-size: 16px;
}

body[data-page="venue_profile"] .sdb-social-editorial-v40 {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, .75fr));
  grid-auto-rows: 182px;
  gap: 12px;
}

body[data-page="venue_profile"] .sdb-social-story-v40 {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #090705;
  color: #fff;
  cursor: pointer;
  text-align: left;
  isolation: isolate;
}

body[data-page="venue_profile"] .sdb-social-story-v40.is-featured {
  grid-row: span 2;
}

body[data-page="venue_profile"] .sdb-social-story-v40 img,
body[data-page="venue_profile"] .sdb-social-story-overlay-v40 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body[data-page="venue_profile"] .sdb-social-story-v40 img {
  z-index: -2;
  object-fit: cover;
  transition: transform .38s ease, filter .38s ease;
}

body[data-page="venue_profile"] .sdb-social-story-overlay-v40 {
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 3, 2, .12), rgba(4, 3, 2, .88));
}

body[data-page="venue_profile"] .sdb-social-story-v40:hover img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

body[data-page="venue_profile"] .sdb-social-story-network-v40 {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(8, 6, 4, .64);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 850;
}

body[data-page="venue_profile"] .sdb-social-story-network-v40 i {
  color: var(--brand);
  font-size: 15px;
}

body[data-page="venue_profile"] .sdb-social-story-copy-v40 {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 15px;
  display: grid;
  gap: 7px;
}

body[data-page="venue_profile"] .sdb-social-story-copy-v40 strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-family: var(--font-title, Sora, sans-serif);
  font-size: 16px;
  line-height: 1.18;
}

body[data-page="venue_profile"] .sdb-social-story-v40.is-featured .sdb-social-story-copy-v40 strong {
  font-size: clamp(22px, 3vw, 34px);
}

body[data-page="venue_profile"] .sdb-social-story-copy-v40 small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
  font-weight: 750;
}

body[data-page="venue_profile"] .sdb-social-empty-v40 {
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px;
  border: 1px dashed color-mix(in srgb, var(--brand) 34%, var(--line));
  border-radius: 26px;
  background: color-mix(in srgb, var(--brand) 7%, var(--card));
}

body[data-page="venue_profile"] .sdb-social-empty-v40 > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 20px;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 16%, transparent);
}

body[data-page="venue_profile"] .sdb-social-empty-v40 i {
  font-size: 28px;
}

body[data-page="venue_profile"] .sdb-social-empty-v40 strong {
  font-size: 18px;
}

body[data-page="venue_profile"] .sdb-social-empty-v40 p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

body[data-page="venue_profile"] .sdb-social-utility-v40 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

body[data-page="venue_profile"] .sdb-social-utility-v40 a,
body[data-page="venue_profile"] .sdb-social-utility-v40 button {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

body[data-page="venue_profile"] .sdb-social-utility-v40 a:hover,
body[data-page="venue_profile"] .sdb-social-utility-v40 button:hover {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

body[data-page="venue_profile"] .sdb-social-utility-v40 > * > i {
  color: var(--brand);
  font-size: 22px;
}

body[data-page="venue_profile"] .sdb-social-utility-v40 span {
  display: grid;
  gap: 3px;
}

body[data-page="venue_profile"] .sdb-social-utility-v40 small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

body[data-page="venue_profile"] .sdb-menu-preview-v40 {
  scroll-margin-top: 108px;
}

body[data-page="venue_profile"] .sdb-menu-head-v40 {
  align-items: end;
}

body[data-page="venue_profile"] .sdb-menu-head-actions-v40 {
  display: flex;
  align-items: center;
  gap: 10px;
}

body[data-page="venue_profile"] .sdb-carousel-controls-v40 {
  display: flex;
  gap: 7px;
}

body[data-page="venue_profile"] .sdb-carousel-controls-v40 button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
}

body[data-page="venue_profile"] .sdb-carousel-controls-v40 button:hover:not(:disabled) {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--brand) 14%, var(--card));
}

body[data-page="venue_profile"] .sdb-carousel-controls-v40 button:disabled {
  opacity: .36;
  cursor: default;
}

body[data-page="venue_profile"] .sdb-menu-carousel-v40 {
  position: relative;
}

body[data-page="venue_profile"] .sdb-menu-carousel-viewport-v40 {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 4px 2px 14px;
}

body[data-page="venue_profile"] .sdb-menu-carousel-viewport-v40::-webkit-scrollbar {
  display: none;
}

body[data-page="venue_profile"] .sdb-menu-carousel-track-v40 {
  display: flex;
  gap: 14px;
}

body[data-page="venue_profile"] .sdb-menu-carousel-card-v40 {
  flex: 0 0 calc((100% - 28px) / 3);
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--card2);
  color: var(--text);
  box-shadow: 0 18px 56px rgba(0, 0, 0, .12);
  transition: transform .22s ease, border-color .22s ease;
}

body[data-page="venue_profile"] .sdb-menu-carousel-card-v40:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 48%, var(--line));
}

body[data-page="venue_profile"] .sdb-menu-card-media-v40 {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: color-mix(in srgb, var(--brand) 10%, var(--card));
}

body[data-page="venue_profile"] .sdb-menu-card-media-v40 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

body[data-page="venue_profile"] .sdb-menu-carousel-card-v40:hover img {
  transform: scale(1.035);
}

body[data-page="venue_profile"] .sdb-menu-card-media-v40 small {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(8, 6, 4, .72);
  color: #fff;
  backdrop-filter: blur(9px);
  font-size: 10px;
  font-weight: 850;
}

body[data-page="venue_profile"] .sdb-menu-card-media-v40 small i {
  color: var(--brand);
}

body[data-page="venue_profile"] .sdb-menu-card-copy-v40 {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

body[data-page="venue_profile"] .sdb-menu-card-copy-v40 > strong {
  font-family: var(--font-title, Sora, sans-serif);
  font-size: 18px;
  line-height: 1.15;
}

body[data-page="venue_profile"] .sdb-menu-card-copy-v40 > span:not(.sdb-menu-card-footer-v40) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

body[data-page="venue_profile"] .sdb-menu-card-footer-v40 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

body[data-page="venue_profile"] .sdb-menu-card-footer-v40 b {
  color: var(--brand);
  font-size: 17px;
}

body[data-page="venue_profile"] .sdb-menu-card-footer-v40 i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #160800;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
}

body[data-page="venue_profile"] .sdb-sommenu-callout-v40 {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr) auto;
  align-items: center;
  gap: 22px;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--brand) 34%, var(--line));
  border-radius: 28px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 16%, transparent), transparent 46%),
    var(--card);
}

body[data-page="venue_profile"] .sdb-sommenu-callout-copy-v40 {
  display: grid;
  gap: 7px;
}

body[data-page="venue_profile"] .sdb-sommenu-badge-v40 {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body[data-page="venue_profile"] .sdb-sommenu-callout-copy-v40 > strong {
  font-family: var(--font-title, Sora, sans-serif);
  font-size: clamp(22px, 2.4vw, 30px);
}

body[data-page="venue_profile"] .sdb-sommenu-callout-copy-v40 p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

body[data-page="venue_profile"] .sdb-sommenu-steps-v40 {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-page="venue_profile"] .sdb-sommenu-steps-v40 li {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 10px;
}

body[data-page="venue_profile"] .sdb-sommenu-steps-v40 li > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 18%, transparent);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

body[data-page="venue_profile"] .sdb-sommenu-steps-v40 li > div {
  display: grid;
  gap: 2px;
}

body[data-page="venue_profile"] .sdb-sommenu-steps-v40 strong {
  font-size: 12px;
}

body[data-page="venue_profile"] .sdb-sommenu-steps-v40 small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

@media (max-width: 1080px) {
  body[data-page="venue_profile"] .sdb-social-network-row-v40 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="venue_profile"] .sdb-social-editorial-v40 {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  }

  body[data-page="venue_profile"] .sdb-menu-carousel-card-v40 {
    flex-basis: calc((100% - 14px) / 2);
  }

  body[data-page="venue_profile"] .sdb-sommenu-callout-v40 {
    grid-template-columns: 1fr 1fr;
  }

  body[data-page="venue_profile"] .sdb-sommenu-callout-v40 > .btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 720px) {
  body[data-page="venue_profile"] .sdb-social-shell-v40 {
    padding: 16px;
    border-radius: 28px;
  }

  body[data-page="venue_profile"] .sdb-social-head-v40,
  body[data-page="venue_profile"] .sdb-menu-head-v40 {
    display: grid;
    align-items: start;
  }

  body[data-page="venue_profile"] .sdb-social-head-v40 h2 {
    font-size: clamp(31px, 10vw, 44px);
  }

  body[data-page="venue_profile"] .sdb-social-network-row-v40 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 2px 2px 9px;
  }

  body[data-page="venue_profile"] .sdb-social-network-row-v40::-webkit-scrollbar {
    display: none;
  }

  body[data-page="venue_profile"] .sdb-social-network-v40 {
    flex: 0 0 min(76vw, 280px);
    scroll-snap-align: start;
  }

  body[data-page="venue_profile"] .sdb-social-editorial-v40 {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  body[data-page="venue_profile"] .sdb-social-editorial-v40::-webkit-scrollbar {
    display: none;
  }

  body[data-page="venue_profile"] .sdb-social-story-v40,
  body[data-page="venue_profile"] .sdb-social-story-v40.is-featured {
    flex: 0 0 min(82vw, 310px);
    min-height: 360px;
    scroll-snap-align: start;
  }

  body[data-page="venue_profile"] .sdb-social-utility-v40 {
    grid-template-columns: 1fr;
  }

  body[data-page="venue_profile"] .sdb-social-utility-v40 a,
  body[data-page="venue_profile"] .sdb-social-utility-v40 button {
    min-height: 56px;
  }

  body[data-page="venue_profile"] .sdb-menu-head-actions-v40 {
    width: 100%;
    justify-content: space-between;
  }

  body[data-page="venue_profile"] .sdb-menu-carousel-card-v40 {
    flex-basis: min(82vw, 310px);
  }

  body[data-page="venue_profile"] .sdb-sommenu-callout-v40 {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  body[data-page="venue_profile"] .sdb-sommenu-callout-v40 > .btn {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  body[data-page="venue_profile"] .sdb-menu-head-actions-v40 {
    display: grid;
    grid-template-columns: auto 1fr;
  }

  body[data-page="venue_profile"] .sdb-menu-head-actions-v40 > .btn {
    width: 100%;
  }

  body[data-page="venue_profile"] .sdb-menu-carousel-card-v40 {
    flex-basis: calc(100vw - 62px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="venue_profile"] .sdb-menu-carousel-viewport-v40 {
    scroll-behavior: auto;
  }

  body[data-page="venue_profile"] .sdb-social-story-v40 img,
  body[data-page="venue_profile"] .sdb-menu-carousel-card-v40,
  body[data-page="venue_profile"] .sdb-menu-carousel-card-v40 img {
    transition: none;
  }
}
