/* Componentes próprios do Bendito Studio: sem dependências externas. */
.bs-section {
  padding: 72px max(24px, 6vw);
  position: relative;
}
.bs-container {
  max-width: 1200px;
  margin-inline: auto;
}
.bs-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.bs-card {
  padding: 28px;
  border: 1px solid #e7e3df;
  border-radius: 18px;
  background: #fff;
  color: #252321;
}
.bs-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
}
.bs-text {
  line-height: 1.7;
}
.bs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  background: #e2520f;
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 10px;
  font: 600 15px/1.4 system-ui;
  cursor: pointer;
}
.bs-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.bs-spacer {
  height: 48px;
}
.bs-divider {
  border: 0;
  border-top: 1px solid #dedbd7;
  margin: 24px 0;
}
.bs-tabs {
  border: 1px solid #e7e3df;
  border-radius: 14px;
  overflow: hidden;
}
.bs-tabs [role="tablist"] {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: #f4f3f1;
}
.bs-tabs [role="tab"] {
  border: 0;
  padding: 12px 20px;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font: 600 15px system-ui;
  color: inherit;
}
.bs-tabs [role="tab"][aria-selected="true"] {
  background: #e2520f;
  color: #fff;
}
.bs-tabs [role="tabpanel"] {
  padding: 24px;
}
.bs-tabs [role="tabpanel"][hidden] {
  display: none;
}
.bs-accordion {
  border: 1px solid #e7e3df;
  padding: 18px 22px;
  border-radius: 12px;
  margin-bottom: 8px;
}
.bs-accordion summary {
  cursor: pointer;
  font-weight: 700;
}
.bs-accordion p {
  margin-top: 14px;
}
.bs-list {
  padding-left: 24px;
  line-height: 2;
}
.bs-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  background: #fff;
  color: #252321;
  border: 1px solid #e7e3df;
  border-radius: 12px;
}
.bs-nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.bs-nav a {
  text-decoration: none;
}
.bs-menu-toggle {
  display: none;
}
.bs-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e7e3df;
}
.bs-slide {
  min-height: 260px;
  padding: 48px;
  background: #f6f3f0;
  color: #252321;
}
.bs-slide[hidden] {
  display: none;
}
.bs-carousel-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 16px;
  background: #fff;
}
.bs-carousel-controls button {
  border: 1px solid #ddd;
  background: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
}
.bs-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bs-gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
}
.bs-video {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
}
.bs-form {
  display: grid;
  gap: 14px;
  max-width: 640px;
}
.bs-form label {
  display: grid;
  gap: 6px;
}
.bs-form input,
.bs-form textarea,
.bs-form select {
  font: inherit;
  padding: 12px;
  border: 1px solid #d8d5d2;
  border-radius: 8px;
  width: 100%;
}
.bs-badge {
  display: inline-block;
  padding: 6px 12px;
  background: #fdf1e9;
  color: #b94109;
  border-radius: 50px;
  font-weight: 600;
}
.bs-social {
  display: flex;
  gap: 12px;
}
.bs-social a {
  padding: 10px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
}
.bs-quote {
  border-left: 4px solid #e2520f;
  padding: 24px;
  background: #f6f3f0;
  color: #252321;
  border-radius: 0 12px 12px 0;
}
.bs-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.bs-stats strong {
  display: block;
  font-size: 2.8rem;
  color: #e2520f;
}
.bs-footer {
  padding: 40px 24px;
  background: #171717;
  color: #fff;
  text-align: center;
}
@media (max-width: 600px) {
  .bs-columns,
  .bs-stats {
    grid-template-columns: 1fr;
  }
  .bs-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bs-menu-toggle {
    display: block;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 6px;
    background: none;
    color: inherit;
  }
  .bs-nav {
    flex-wrap: wrap;
  }
  .bs-nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .bs-nav-links.bs-menu-open {
    display: flex;
  }
  .bs-tabs [role="tablist"] {
    overflow-x: auto;
  }
}
.bs-managed-form {
  width: 100%;
  height: 520px;
  border: 0;
  display: block;
  background: transparent;
  max-width: 100%;
}

/* Explicit grid children can shrink inside nested sections and containers. */
[data-bs-layout-grid] > * {
  min-width: 0;
}
[data-bs-layout-grid] > img,
[data-bs-layout-grid] > video,
[data-bs-layout-grid] > iframe {
  max-width: 100%;
}

/* One complete child = one item. Responsive rules change only the track count. */
:root [data-bs-items-grid][data-bs-layout-grid] {
  display: grid !important;
  grid-template-columns: repeat(
    var(--bs-items-per-row, 1),
    minmax(0, 1fr)
  ) !important;
}
[data-bs-items-grid] > * {
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box;
  max-width: 100% !important;
  grid-column: auto !important;
  grid-row: auto !important;
  flex: none !important;
  overflow-wrap: anywhere;
}
