/* =====================================================================
   Ajustes próprios do site, carregados depois do CSS exportado.
   Mantém o arquivo compilado intacto.
   ===================================================================== */

/* ---- Botão de play dos Vídeos ------------------------------------
   O CSS exportado centraliza o círculo, mas não o conteúdo dentro
   dele (lá era um <button> com fonte; aqui é um <a> com SVG). */
.play-button {
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 0;
}

/* ---- Slideshow das categorias ------------------------------------ */
.cat-slideshow {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0e0e10;
  margin-bottom: 44px;
}
.cat-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s ease;
}
.cat-slideshow img.is-active { opacity: 1; }

.cat-slideshow__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: #111;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.cat-slideshow__nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.cat-slideshow__nav--prev { left: 16px; }
.cat-slideshow__nav--next { right: 16px; }

.cat-slideshow__dots {
  position: absolute;
  z-index: 3;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 80%;
}
.cat-slideshow__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.cat-slideshow__dots button.is-active {
  background: #fff;
  transform: scale(1.3);
}

@media (max-width: 700px) {
  .cat-slideshow { border-radius: 22px; aspect-ratio: 4 / 3; }
  .cat-slideshow__nav { width: 38px; height: 38px; font-size: 20px; }
}

/* ---- Grade de categorias da galeria (/eventos/) ------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}
.gallery-card {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(0, 0, 0, .04);
  transition: transform .35s ease, box-shadow .35s ease;
}
.gallery-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(0, 0, 0, .16); }
.gallery-card { container-type: inline-size; }
.gallery-card__cover {
  aspect-ratio: 16 / 10;
  background: #1a1a1a 50% / cover no-repeat;
}
/* Em cards estreitos o botão fica embaixo do nome; só volta para o lado
   quando há largura de sobra, evitando espremer nomes longos. */
.gallery-card__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px 20px;
}
@container (min-width: 430px) {
  .gallery-card__foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 14px; }
  .gallery-card__foot > div { min-width: 0; }
}
.gallery-card__foot h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.gallery-card__foot p { margin: 2px 0 0; font-size: 13px; opacity: .65; }
.gallery-card__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 30px;
  background: var(--color-orange, #f0821e);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 18px; }
  .gallery-card__foot h3 { font-size: 20px; }
}

/* ---- Cards de promoção ------------------------------------------- */
/* Descrição resumida; "Ver mais" abre o restante. */
.promo-desc {
  opacity: .85;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.promo-desc.is-open { -webkit-line-clamp: unset; overflow: visible; }
.promo-desc p { margin: 0; }

.promo-more {
  border: none;
  background: none;
  padding: 4px 0;
  margin-top: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  color: var(--color-orange, #f58220);
  cursor: pointer;
}
.promo-more:hover { text-decoration: underline; }

/* Botão da promoção centralizado, com o texto no meio. */
.promo-cta { margin-top: 18px; text-align: center; }
.promo-cta .testimonials-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

/* ---- Depoimentos da home ------------------------------------------ */
/* Cartões com a mesma altura: o texto é cortado e "Ver depoimento"
   abre o restante numa janela. */
.testimonial-card .testimonial-text {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testi-more {
  border: none;
  background: none;
  padding: 0;
  margin: 10px 0 0;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  color: var(--color-orange, #f58220);
  cursor: pointer;
  align-self: flex-start;
}
.testi-more:hover { text-decoration: underline; }

/* Rodízio de 3 em 3 */
.testi-page { display: none; }
.testi-page.is-active { display: grid; }
.testi-dots { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 26px; }
.testi-dots button {
  width: 10px; height: 10px; padding: 0; border: none; border-radius: 50%;
  background: rgba(23, 20, 18, .22); cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.testi-dots button.is-active { background: var(--color-orange, #f58220); transform: scale(1.25); }

/* Janela com o depoimento completo */
.testi-modal { position: fixed; inset: 0; z-index: 95; background: rgba(12, 10, 9, .66); display: none; }
.testi-modal.is-open { display: grid; place-items: center; padding: 22px; }
.testi-modal__box {
  position: relative; background: #fff; color: #171412;
  border-radius: 24px; padding: 38px 34px 34px;
  max-width: 640px; width: 100%; max-height: 80vh; overflow-y: auto;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
}
.testi-modal__box h3 { margin: 0 0 2px; font-size: 24px; font-weight: 800; }
.testi-modal__role { display: block; margin-bottom: 18px; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--color-orange, #f58220); }
.testi-modal__box p { margin: 0; font-size: 16px; line-height: 1.8; white-space: pre-line; }
.testi-modal__close {
  position: absolute; top: 16px; right: 18px;
  width: 36px; height: 36px; border: none; border-radius: 12px;
  background: #f1ece6; color: #171412; font-size: 17px; cursor: pointer;
}
.testi-modal__close:hover { background: #e5ded6; }

@media (max-width: 700px) {
  .testi-modal__box { padding: 32px 22px 26px; border-radius: 18px; }
}
