/* =========================================================
   BOTÕES "VER TODAS"
   ========================================================= */

.acomp-see-all-mobile-wrap {
  display: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.acomp-see-all-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 100%;
  max-width: 100%;
  min-height: 52px;

  margin: 0;
  padding: 0 20px;
  box-sizing: border-box;

  border-radius: 999px;
  text-decoration: none !important;
  text-align: center;
  font-weight: 800;

  color: #00131d !important;
  background: linear-gradient(135deg, #00c8ff, #008dff);
  box-shadow: 0 12px 28px rgba(0, 184, 255, 0.22);

  overflow: hidden;
  white-space: normal;
}

.acomp-see-all-mobile:hover,
.acomp-see-all-mobile:focus {
  color: #00131d !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

/* Botão do cabeçalho da listagem — desktop */
#acompDynamicArea .acomp-head-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.acomp-see-all-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 0 18px;

  border-radius: 999px;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
}

.acomp-see-all-link:hover,
.acomp-see-all-link:focus {
  text-decoration: none !important;
}


/* =========================================================
   FILTROS STICKY DENTRO DA ÁREA DA LISTAGEM
   ========================================================= */

#acomp-listagem {
  position: relative;
  overflow: visible;
}

#acomp-listagem > .acomp-wrap {
  position: relative;
  overflow: visible;
}

#acompFilterExperience {
  position: sticky !important;
  top: 15px;
  left: auto;
  right: auto;
  bottom: auto;

  width: 100%;
  max-width: 100%;
  z-index: 100;

  margin-bottom: 22px;
  box-sizing: border-box;
}

#acompFilterExperience,
#acompFilterExperience .acomp-quick-row,
#acompFilterExperience .acomp-all-filters-btn {
  transform: none;
}

#acompFilterExperience .acomp-quick-row {
  position: relative !important;
  inset: auto !important;

  width: 100%;
  max-width: 100%;

  padding: 10px;
  box-sizing: border-box;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;

  background: rgba(3, 8, 12, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.24);
}

#acompFilterExperience .acomp-all-filters-btn {
  position: relative !important;
  inset: auto !important;
}


/* =========================================================
   MÍDIAS DA HOME — PREENCHIMENTO TOTAL
   ========================================================= */

/*
 * Garante que qualquer imagem, vídeo ou story ocupe integralmente
 * o container, independentemente da proporção original do arquivo.
 */
.acomp-hero-photo,
.acomp-card .acomp-media,
.acomp-card .acomp-story-card {
  position: relative;
  overflow: hidden;
  background: #0a1016;
}

.acomp-hero-photo > img,
.acomp-card .acomp-media > img,
.acomp-card .acomp-story-card > video,
.acomp-card .acomp-story-video {
  position: absolute;
  inset: 0;

  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;

  object-fit: cover !important;
  object-position: center top;

  display: block;
  margin: 0;
  padding: 0;
}

/* Mantém o conteúdo de story ocupando exatamente a área de mídia. */
.acomp-card .acomp-story-card {
  width: 100%;
  height: 100%;
}

/* Placeholder também ocupa a área inteira. */
.acomp-card .acomp-media-empty {
  position: absolute;
  inset: 0;

  display: grid;
  place-items: center;

  width: 100%;
  height: 100%;
  padding: 20px;

  color: rgba(255, 255, 255, 0.72);
  text-align: center;

  background:
    radial-gradient(circle at 30% 20%, rgba(0, 200, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #0b1722, #071018);
}

/*
 * Evita faixas laterais causadas por regras antigas como
 * object-fit: contain ou largura automática.
 */
.acomp-hero-photo img,
.acomp-media img,
.acomp-media video {
  object-fit: cover !important;
}

/* =========================================================
   SELO VERIFY — VISUAL REFINADO
   ========================================================= */

.acomp-hero-seal {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;

  display: flex;
  align-items: center;
  gap: 13px;

  min-height: 68px;
  padding: 13px 15px;

  border: 1px solid rgba(16, 191, 255, 0.22);
  border-radius: 18px;

  color: #fff;
  background:
    linear-gradient(135deg, rgba(4, 12, 19, 0.86), rgba(4, 12, 19, 0.72));

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.acomp-verify-seal {
  position: relative;

  display: inline-grid;
  place-items: center;

  width: 44px;
  height: 44px;
  flex: 0 0 44px;

  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;

  color: #fff;
  font-size: 0;
  font-weight: 900;

  background: linear-gradient(135deg, #19d3ff 0%, #008cff 100%);

  box-shadow:
    0 10px 22px rgba(0, 174, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* Desenha um check mais limpo, sem depender do símbolo original. */
.acomp-verify-seal::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;

    width: 12px;
    height: 7px;

    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;

    transform: translate(-50%, -60%) rotate(-45deg);
    transform-origin: center;

    display: block;
}

.acomp-hero-seal > div {
  min-width: 0;
}

.acomp-hero-seal strong {
  display: block;

  margin: 0 0 3px;

  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.acomp-hero-seal > div > span {
  display: block;

  color: #9fb2c5;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

/* Badge da imagem do card. */
.acomp-badge-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  min-height: 30px;
  padding: 0 11px;

  border: 1px solid rgba(16, 191, 255, 0.24);
  border-radius: 999px;

  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;

  background: rgba(3, 10, 16, 0.76);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.2);
}

/*
 * O HTML atual já possui "✓ Verificada".
 * Aqui apenas refinamos o visual sem adicionar outro check duplicado.
 */
.acomp-badge-right::first-letter {
  color: #18cfff;
}

/* Check pequeno ao lado do nome. */
.acomp-verified {
  display: inline-grid;
  place-items: center;

  width: 22px;
  height: 22px;
  flex: 0 0 22px;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;

  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;

  background: linear-gradient(135deg, #19d3ff 0%, #008cff 100%);

  box-shadow:
    0 6px 14px rgba(0, 174, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 768px) {
  #acompDynamicArea .acomp-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #acompDynamicArea .acomp-head-meta {
    display: flex !important;
  }

  .acomp-see-all-mobile-wrap {
    display: none !important;
  }

  .acomp-carousel-dots {
    display: none !important;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
  #acompFilterExperience {
    top: 8px;
    width: 100%;
    max-width: 100%;
  }

  #acompFilterExperience .acomp-quick-row {
    padding: 8px;
  }

  #acompFilterExperience .acomp-all-filters-btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .acomp-see-all-mobile-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 18px;
    padding: 0;
    box-sizing: border-box;
  }

  .acomp-see-all-mobile {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #acompDynamicArea .acomp-head-meta {
    display: none !important;
  }

  #acompDynamicArea .acomp-grid {
    display: flex !important;
    grid-template-columns: none !important;

    width: 100%;
    max-width: 100%;

    gap: 14px !important;
    padding: 2px 7.5vw 16px 0;

    overflow-x: auto;
    overflow-y: hidden;

    box-sizing: border-box;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  #acompDynamicArea .acomp-grid::-webkit-scrollbar {
    display: none;
  }

  #acompDynamicArea .acomp-grid > .acomp-card[data-post-id] {
    display: block;
    flex: 0 0 86%;

    width: 86%;
    max-width: 390px;

    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  #acompDynamicArea .acomp-grid > .acomp-card.is-filter-hidden {
    display: none !important;
  }

  #acomp-mobile-viewbar {
    display: none !important;
  }

  .acomp-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;
    margin-top: 2px;
  }

  .acomp-carousel-dot {
    appearance: none;

    width: 8px;
    height: 8px;
    padding: 0;

    border: 0;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;

    transition:
      width 0.2s ease,
      background 0.2s ease;
  }

  .acomp-carousel-dot.is-active {
    width: 24px;
    background: #00b8ff;
  }

  .acomp-hero-seal {
    left: 14px;
    right: 14px;
    bottom: 14px;

    min-height: 62px;
    padding: 11px 13px;

    border-radius: 16px;
  }

  .acomp-verify-seal {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .acomp-hero-seal strong {
    font-size: 13px;
  }

  .acomp-hero-seal > div > span {
    font-size: 11px;
  }
}
