/**
 * Motion — transições leves (não altera layout)
 * Modernidade, leveza e simplicidade.
 */

/* ---- Entrada suave da página ---- */
@keyframes gl-fade-rise {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Cascata perceptível nas telas principais */
@keyframes gl-cascade {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/*
 * Cascata sem opacity — para cards/anexos com thumb.
 * Opacity no pai atrasa paint/load das imagens; aqui só desloca.
 */
@keyframes gl-cascade-lift {
	from {
		transform: translateY(18px);
	}
	to {
		transform: translateY(0);
	}
}

@keyframes gl-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes gl-msg-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Páginas: cascata nos filhos (não no container inteiro) */
.gl-home,
.gl-listing,
.gl-single-item {
	animation: none;
}

/* ---- Utilitário de cascata ---- */
.gl-home-hero__intro,
.gl-home-search,
.gl-home-searches .gl-home-section-title,
.gl-home-searches .gl-home-empty,
.gl-home-searches__list > li,
.gl-home-recent__title,
.gl-home-recent .gl-home-empty,
.gl-home-recent__item,
.gl-search-bar,
.gl-active-filters,
.gl-ai-overview__content,
.gl-ai-overview__cta,
.gl-listing .search-control,
.gl-list-results__item,
.gl-listing__pagination,
.gl-single-item .gl-item-header > *,
.gl-single-item__body > *,
.gl-single-item .gl-attachments-list__item,
.gl-single-item .gl-related__title,
.gl-single-item .gl-related__item,
.gl-single-item .gl-item-nav,
.gl-chat.is-open .gl-chat__sidebar-top,
.gl-chat.is-open .gl-chat__new,
.gl-chat.is-open .gl-chat__history-label,
.gl-chat.is-open .gl-chat__history-item,
.gl-chat.is-open .gl-chat__main-header,
.gl-chat.is-open .gl-chat__thread,
.gl-chat.is-open .gl-chat__composer {
	animation: gl-cascade 0.64s var(--ease-out) both;
}

/* Cards/anexos com thumb: só lift (não esconde imagens) */
.gl-list-results__item,
.gl-single-item .gl-attachments-list__item {
	animation-name: gl-cascade-lift;
}

/* ---- Home — Hero ---- */
.gl-home-hero__intro {
	animation-delay: 80ms;
}

.gl-home-search {
	animation-delay: 180ms;
}

/* ---- Home — Últimas buscas ---- */
.gl-home-searches .gl-home-section-title {
	animation-delay: 360ms;
}

.gl-home-searches .gl-home-empty {
	animation-delay: 460ms;
}

.gl-home-searches__list > li:nth-child(1) {
	animation-delay: 460ms;
}

.gl-home-searches__list > li:nth-child(2) {
	animation-delay: 560ms;
}

.gl-home-searches__list > li:nth-child(3) {
	animation-delay: 660ms;
}

.gl-home-searches__list > li:nth-child(4) {
	animation-delay: 760ms;
}

.gl-home-searches__list > li:nth-child(5) {
	animation-delay: 860ms;
}

.gl-home-searches__list > li:nth-child(6) {
	animation-delay: 960ms;
}

.gl-home-searches__list > li:nth-child(7) {
	animation-delay: 1060ms;
}

.gl-home-searches__list > li:nth-child(n + 8) {
	animation-delay: 1140ms;
}

/* ---- Home — Últimos acessados ---- */
.gl-home-recent__title {
	animation-delay: 500ms;
}

.gl-home-recent .gl-home-empty {
	animation-delay: 600ms;
}

.gl-home-recent__item:nth-child(1) {
	animation-delay: 600ms;
}

.gl-home-recent__item:nth-child(2) {
	animation-delay: 700ms;
}

.gl-home-recent__item:nth-child(3) {
	animation-delay: 800ms;
}

.gl-home-recent__item:nth-child(4) {
	animation-delay: 900ms;
}

.gl-home-recent__item:nth-child(5) {
	animation-delay: 1000ms;
}

.gl-home-recent__item:nth-child(n + 6) {
	animation-delay: 1100ms;
}

/* ---- Listagem ---- */
.gl-search-bar {
	animation-delay: 40ms;
}

.gl-active-filters {
	animation-delay: 100ms;
}

.gl-ai-overview__content {
	animation-delay: 160ms;
}

.gl-ai-overview__cta {
	animation-delay: 260ms;
}

.gl-listing .search-control {
	animation-delay: 300ms;
}

.gl-list-results__item:nth-child(1) {
	animation-delay: 380ms;
}

.gl-list-results__item:nth-child(2) {
	animation-delay: 480ms;
}

.gl-list-results__item:nth-child(3) {
	animation-delay: 580ms;
}

.gl-list-results__item:nth-child(4) {
	animation-delay: 680ms;
}

.gl-list-results__item:nth-child(5) {
	animation-delay: 780ms;
}

.gl-list-results__item:nth-child(6) {
	animation-delay: 880ms;
}

.gl-list-results__item:nth-child(n + 7) {
	animation-delay: 960ms;
}

.gl-listing__pagination {
	animation-delay: 700ms;
}

/* ---- Thumbs: skeleton imediato, imagem some ao carregar ---- */
@keyframes gl-thumb-shimmer {
	0% {
		background-position: 100% 0;
	}
	100% {
		background-position: -100% 0;
	}
}

/* ---- Chat: skeleton das linhas de resposta ---- */
@keyframes gl-chat-skeleton-shimmer {
	0% {
		background-position: 100% 0;
	}
	100% {
		background-position: -100% 0;
	}
}

.gl-list-card__thumb,
.gl-attachments-list__thumb:not(.gl-attachments-list__thumb--icon) {
	position: relative;
	background-color: var(--color-neutral-01, #f6f5f2);
	background-image: linear-gradient(
		90deg,
		var(--color-neutral-01, #f6f5f2) 0%,
		#ebe8e2 40%,
		var(--color-neutral-01, #f6f5f2) 80%
	);
	background-size: 200% 100%;
	animation: gl-thumb-shimmer 1.2s ease-in-out infinite;
	overflow: hidden;
}

.gl-list-card__thumb.is-loaded,
.gl-attachments-list__thumb.is-loaded {
	animation: none;
	background-image: none;
	background-color: transparent;
}

.gl-list-card__thumb img,
.gl-attachments-list__thumb:not(.gl-attachments-list__thumb--icon) img {
	opacity: 0;
	transition: opacity var(--duration-base, 220ms) var(--ease-out, ease);
}

.gl-list-card__thumb.is-loaded img,
.gl-attachments-list__thumb.is-loaded img,
.gl-list-card__thumb img.is-loaded,
.gl-attachments-list__thumb img.is-loaded {
	opacity: 1;
}

/* Ícones de tipo (DOC/MP3…) não precisam de skeleton */
.gl-attachments-list__thumb--icon {
	animation: none;
	background-image: none;
}

.gl-attachments-list__thumb--icon img {
	opacity: 1;
}

/* ---- Single item ---- */
.gl-single-item .gl-item-header > *:nth-child(1) {
	animation-delay: 60ms;
}

.gl-single-item .gl-item-header > *:nth-child(2) {
	animation-delay: 150ms;
}

.gl-single-item .gl-item-header > *:nth-child(3) {
	animation-delay: 240ms;
}

.gl-single-item .gl-item-header > *:nth-child(4) {
	animation-delay: 330ms;
}

.gl-single-item .gl-item-header > *:nth-child(n + 5) {
	animation-delay: 420ms;
}

.gl-single-item__body > *:nth-child(1) {
	animation-delay: 280ms;
}

.gl-single-item__body > *:nth-child(2) {
	animation-delay: 400ms;
}

.gl-single-item__body > *:nth-child(3) {
	animation-delay: 520ms;
}

.gl-single-item__body > *:nth-child(4) {
	animation-delay: 640ms;
}

.gl-single-item__body > *:nth-child(5) {
	animation-delay: 760ms;
}

.gl-single-item__body > *:nth-child(6) {
	animation-delay: 880ms;
}

.gl-single-item__body > *:nth-child(7) {
	animation-delay: 1000ms;
}

.gl-single-item__body > *:nth-child(n + 8) {
	animation-delay: 1120ms;
}

.gl-single-item .gl-attachments-list__item:nth-child(1) {
	animation-delay: 480ms;
}

.gl-single-item .gl-attachments-list__item:nth-child(2) {
	animation-delay: 580ms;
}

.gl-single-item .gl-attachments-list__item:nth-child(3) {
	animation-delay: 680ms;
}

.gl-single-item .gl-attachments-list__item:nth-child(4) {
	animation-delay: 780ms;
}

.gl-single-item .gl-attachments-list__item:nth-child(5) {
	animation-delay: 880ms;
}

.gl-single-item .gl-attachments-list__item:nth-child(6) {
	animation-delay: 980ms;
}

.gl-single-item .gl-attachments-list__item:nth-child(n + 7) {
	animation-delay: 1080ms;
}

.gl-single-item .gl-related__title {
	animation-delay: 1000ms;
}

.gl-single-item .gl-related__item:nth-child(1) {
	animation-delay: 1100ms;
}

.gl-single-item .gl-related__item:nth-child(2) {
	animation-delay: 1200ms;
}

.gl-single-item .gl-related__item:nth-child(3) {
	animation-delay: 1300ms;
}

.gl-single-item .gl-related__item:nth-child(4) {
	animation-delay: 1400ms;
}

.gl-single-item .gl-related__item:nth-child(5) {
	animation-delay: 1500ms;
}

.gl-single-item .gl-related__item:nth-child(n + 6) {
	animation-delay: 1600ms;
}

.gl-single-item .gl-item-nav {
	animation-delay: 1550ms;
}

/* ---- Chat IA (ao abrir; cascata depois do shimmer) ---- */
.gl-chat.is-open .gl-chat__sidebar-top {
	animation-delay: 280ms;
}

.gl-chat.is-open .gl-chat__new {
	animation-delay: 340ms;
}

.gl-chat.is-open .gl-chat__history-label {
	animation-delay: 400ms;
}

.gl-chat.is-open .gl-chat__history-item:nth-child(1) {
	animation-delay: 460ms;
}

.gl-chat.is-open .gl-chat__history-item:nth-child(2) {
	animation-delay: 520ms;
}

.gl-chat.is-open .gl-chat__history-item:nth-child(3) {
	animation-delay: 580ms;
}

.gl-chat.is-open .gl-chat__history-item:nth-child(4) {
	animation-delay: 640ms;
}

.gl-chat.is-open .gl-chat__history-item:nth-child(n + 5) {
	animation-delay: 690ms;
}

.gl-chat.is-open .gl-chat__main-header {
	animation-delay: 320ms;
}

.gl-chat.is-open .gl-chat__thread {
	animation-delay: 440ms;
}

.gl-chat.is-open .gl-chat__composer {
	animation-delay: 540ms;
}

/* ---- Shell: links, botões, busca ---- */
.gl-header__brand,
.gl-header__nav-link,
.gl-header__dropdown-item,
.gl-search-bar__advanced,
.gl-footer__partner {
	transition:
		color var(--duration-fast) var(--ease-in-out),
		opacity var(--duration-fast) var(--ease-in-out),
		background-color var(--duration-fast) var(--ease-in-out);
}

.gl-header__chevron {
	transition: transform var(--duration-base) var(--ease-out);
}

.gl-btn-primary,
.gl-header__ia-btn {
	transition:
		background-color var(--duration-fast) var(--ease-in-out),
		transform var(--duration-fast) var(--ease-out),
		box-shadow var(--duration-fast) var(--ease-in-out);
}

.gl-btn-primary:hover,
.gl-header__ia-btn:hover {
	box-shadow: 0 2px 10px rgba(0, 150, 143, 0.22);
}

.gl-btn-primary:active,
.gl-header__ia-btn:active {
	transform: scale(0.98);
}

.gl-search-bar__form,
.gl-home-search {
	transition: border-color var(--duration-base) var(--ease-in-out);
}

.gl-search-bar__form:focus-within,
.gl-home-search:focus-within {
	border-color: var(--color-brand);
}

.gl-search-bar__submit,
.gl-home-search__submit-icon {
	transition:
		opacity var(--duration-fast) var(--ease-in-out),
		background-color var(--duration-fast) var(--ease-in-out),
		transform var(--duration-fast) var(--ease-out);
}

.gl-search-bar__submit:hover {
	opacity: 0.75;
}

.gl-home-search__submit:hover .gl-home-search__submit-icon {
	transform: scale(1.04);
}

/* ---- Dropdown coleções ---- */
.gl-header__dropdown-menu {
	opacity: 0;
	transform: translateY(-6px);
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity var(--duration-base) var(--ease-out),
		transform var(--duration-base) var(--ease-out),
		visibility var(--duration-base) var(--ease-out);
}

.gl-header__dropdown.is-open .gl-header__dropdown-menu {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
	pointer-events: auto;
}

/* ---- Cards / linhas interativas ---- */
.gl-home-searches__row {
	transition: background-color var(--duration-fast) var(--ease-in-out);
}

.gl-home-searches__go {
	transition:
		border-color var(--duration-fast) var(--ease-in-out),
		background-color var(--duration-fast) var(--ease-in-out),
		transform var(--duration-fast) var(--ease-out);
}

.gl-home-searches__row:hover .gl-home-searches__go {
	border-color: var(--color-brand);
	transform: translateX(2px);
}

.gl-home-recent__card,
.gl-related__card,
.gl-list-card {
	transition:
		border-color var(--duration-base) var(--ease-in-out),
		box-shadow var(--duration-base) var(--ease-in-out),
		transform var(--duration-base) var(--ease-out);
	text-decoration: none !important;
}

.gl-home-recent__card:hover,
.gl-home-recent__card:focus,
.gl-related__card:hover,
.gl-related__card:focus,
.gl-list-card:hover,
.gl-list-card:focus,
.gl-list-card:focus-visible {
	text-decoration: none !important;
}

.gl-home-recent__card-title,
.gl-related__card-title,
.gl-list-card__title {
	text-decoration: none;
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
	transition: text-decoration-color var(--duration-fast) var(--ease-in-out);
}

.gl-home-recent__card:hover,
.gl-home-recent__card:focus,
.gl-related__card:hover,
.gl-related__card:focus,
.gl-list-card:hover,
.gl-list-card:focus-visible {
	box-shadow: var(--shadow-card-hover);
	transform: translateY(-3px);
}

.gl-list-card:hover,
.gl-list-card:focus-visible {
	border-color: var(--color-brand);
}

.gl-home-recent__card:hover .gl-home-recent__card-title,
.gl-home-recent__card:focus .gl-home-recent__card-title,
.gl-related__card:hover .gl-related__card-title,
.gl-related__card:focus .gl-related__card-title,
.gl-list-card:hover .gl-list-card__title,
.gl-list-card:focus-visible .gl-list-card__title {
	text-decoration: underline !important;
	text-decoration-color: var(--color-black, #46272d) !important;
	text-decoration-thickness: 1px;
	color: var(--color-black, #46272d) !important;
}

.gl-home-recent__arrow,
.gl-related__arrow {
	transition: transform var(--duration-base) var(--ease-out);
}

.gl-home-recent__card:hover .gl-home-recent__arrow,
.gl-related__card:hover .gl-related__arrow {
	transform: scaleX(-1) translateX(-3px);
}

.gl-list-card__thumb img {
	transition: transform var(--duration-slow) var(--ease-out);
}

.gl-list-card:hover .gl-list-card__thumb img {
	transform: scale(1.03);
}

/* ---- Listagem: chips, CTA IA, controles ---- */
.gl-active-filters__chip-remove,
.gl-ai-overview__cta,
.gl-listing .search-control .button,
.gl-listing .filter-tags-list #button-clear-all,
.gl-listing .filters-menu .filter-item-title {
	transition:
		color var(--duration-fast) var(--ease-in-out),
		background-color var(--duration-fast) var(--ease-in-out),
		border-color var(--duration-fast) var(--ease-in-out),
		opacity var(--duration-fast) var(--ease-in-out);
}

.gl-ai-overview__cta:hover {
	background: #efece6;
}

/* ---- AI overview: shimmer no loading e até 3s após o texto ---- */
@keyframes gl-ai-overview-shimmer {
	0% {
		background-position: 140% 0;
		opacity: 0;
	}
	15% {
		opacity: 1;
	}
	85% {
		opacity: 1;
	}
	100% {
		background-position: -40% 0;
		opacity: 0;
	}
}

@keyframes gl-ai-overview-pulse {
	0%,
	100% {
		opacity: 0;
	}
	45% {
		opacity: 0.42;
	}
	70% {
		opacity: 0.28;
	}
}

.gl-ai-overview.is-loading .gl-ai-overview__content::before,
.gl-ai-overview.is-shimmer .gl-ai-overview__content::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: linear-gradient(
		105deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0) 32%,
		rgba(0, 150, 143, 0.06) 42%,
		rgba(0, 150, 143, 0.16) 50%,
		rgba(0, 150, 143, 0.06) 58%,
		rgba(255, 255, 255, 0) 68%,
		rgba(255, 255, 255, 0) 100%
	);
	background-size: 240% 100%;
	background-repeat: no-repeat;
	animation: gl-ai-overview-shimmer 3.4s var(--ease-in-out) infinite both;
}

.gl-ai-overview.is-loading .gl-ai-overview__content::after,
.gl-ai-overview.is-shimmer .gl-ai-overview__content::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(0, 150, 143, 0.045) 0%,
		rgba(246, 245, 242, 0.4) 50%,
		rgba(0, 150, 143, 0.06) 100%
	);
	animation: gl-ai-overview-pulse 3.4s var(--ease-in-out) infinite both;
}

/* Chat modal: shimmer logo na abertura (antes da cascata) */
@keyframes gl-chat-shimmer {
	0% {
		background-position: 140% 0;
		opacity: 1;
	}
	100% {
		background-position: -40% 0;
		opacity: 0;
	}
}

@keyframes gl-chat-pulse {
	0% {
		opacity: 0.4;
	}
	55% {
		opacity: 0.22;
	}
	100% {
		opacity: 0;
	}
}

.gl-chat.is-shimmer .gl-chat__panel::before,
.gl-chat.is-reply-shimmer .gl-chat__panel::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background-image: linear-gradient(
		105deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0) 32%,
		rgba(0, 150, 143, 0.06) 42%,
		rgba(0, 150, 143, 0.16) 50%,
		rgba(0, 150, 143, 0.06) 58%,
		rgba(255, 255, 255, 0) 68%,
		rgba(255, 255, 255, 0) 100%
	);
	background-size: 240% 100%;
	background-repeat: no-repeat;
	animation: gl-chat-shimmer 3.4s var(--ease-in-out) 1 both;
}

.gl-chat.is-shimmer .gl-chat__panel::after,
.gl-chat.is-reply-shimmer .gl-chat__panel::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(0, 150, 143, 0.045) 0%,
		rgba(246, 245, 242, 0.4) 50%,
		rgba(0, 150, 143, 0.06) 100%
	);
	animation: gl-chat-pulse 3.4s var(--ease-in-out) 1 both;
}

/* Resposta em loading: shimmer contínuo em toda a área do chat */
.gl-chat.is-reply-shimmer.is-loading-reply .gl-chat__panel::before,
.gl-chat.is-reply-shimmer.is-loading-reply .gl-chat__panel::after {
	animation-iteration-count: infinite;
}

.gl-listing .filters-menu .tainacan-icon-arrowdown {
	transition: transform var(--duration-base) var(--ease-out);
}

/* ---- Chat modal ---- */
.gl-chat[hidden] {
	display: flex !important;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.gl-chat {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity 480ms var(--ease-out),
		visibility 480ms var(--ease-out);
}

/* Shimmer visível logo no reveal, antes da cascata de conteúdo */
.gl-chat.is-shimmer {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: none;
}

.gl-chat.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.gl-chat__panel {
	transform: translateY(36px) scale(0.965);
	transform-origin: 50% 58%;
	box-shadow: 0 28px 80px rgba(70, 39, 45, 0.12);
	transition:
		transform 560ms cubic-bezier(0.16, 1, 0.3, 1) 180ms,
		box-shadow 560ms var(--ease-out) 180ms;
}

.gl-chat.is-open .gl-chat__panel {
	transform: translateY(0) scale(1);
	box-shadow: 0 0 0 transparent;
}

.gl-chat__sidebar {
	transform: translateX(-12px);
	opacity: 0.72;
	transition:
		transform 560ms cubic-bezier(0.16, 1, 0.3, 1),
		opacity 480ms var(--ease-out);
	transition-delay: 220ms;
}

.gl-chat.is-open .gl-chat__sidebar {
	transform: translateX(0);
	opacity: 1;
}

.gl-chat__main {
	transform: translateY(18px);
	opacity: 0.78;
	transition:
		transform 560ms cubic-bezier(0.16, 1, 0.3, 1),
		opacity 480ms var(--ease-out);
	transition-delay: 250ms;
}

.gl-chat.is-open .gl-chat__main {
	transform: translateY(0);
	opacity: 1;
}

.gl-chat__icon-btn,
.gl-chat__history-item,
.gl-chat__doc,
.gl-chat__send {
	transition:
		background-color var(--duration-fast) var(--ease-in-out),
		color var(--duration-fast) var(--ease-in-out),
		opacity var(--duration-fast) var(--ease-in-out),
		transform var(--duration-fast) var(--ease-out);
}

.gl-chat__send:active {
	transform: scale(0.94);
}

.gl-chat__msg {
	animation: gl-msg-in var(--duration-base) var(--ease-out) both;
}

.gl-chat__typing {
	animation: gl-fade-in var(--duration-fast) var(--ease-out) both;
}

/* ---- Item: sanfona, anexos, nav ---- */
.gl-accordion__header {
	transition: background-color var(--duration-fast) var(--ease-in-out);
}

.gl-attachments-list__item {
	transition: background-color var(--duration-fast) var(--ease-in-out);
}

.gl-attachments-list__item:has(.gl-attachments-list__action:hover) {
	background-color: var(--color-neutral-01);
}

.gl-attachments-list__action {
	transition: opacity var(--duration-fast) var(--ease-in-out);
}

.gl-item-nav__pager a,
.gl-item-nav__back {
	transition:
		color var(--duration-fast) var(--ease-in-out),
		opacity var(--duration-fast) var(--ease-in-out),
		border-color var(--duration-fast) var(--ease-in-out);
}

/* ---- Parallax helpers ---- */
.gl-parallax {
	will-change: transform, background-position;
}

/* ---- Ícone IA — brilhos crescem e diminuem um a um ---- */
@keyframes gl-ia-spark-1 {
	0%,
	8% {
		transform: scale(0.72);
	}
	14%,
	28% {
		transform: scale(1.12);
	}
	36%,
	100% {
		transform: scale(0.72);
	}
}

@keyframes gl-ia-spark-2 {
	0%,
	36% {
		transform: scale(0.72);
	}
	42%,
	56% {
		transform: scale(1.12);
	}
	64%,
	100% {
		transform: scale(0.72);
	}
}

@keyframes gl-ia-spark-3 {
	0%,
	64% {
		transform: scale(0.72);
	}
	70%,
	84% {
		transform: scale(1.12);
	}
	92%,
	100% {
		transform: scale(0.72);
	}
}

.gl-ia-icon {
	display: block;
	flex-shrink: 0;
	overflow: visible;
}

.gl-ia-icon__spark {
	transform: scale(1);
	transform-box: fill-box;
	transform-origin: center;
	transition: transform var(--duration-base) var(--ease-in-out);
}

.gl-header__ia-btn:hover .gl-ia-icon__spark--1,
.gl-header__ia-btn:focus-visible .gl-ia-icon__spark--1,
.gl-ai-overview__cta:hover .gl-ia-icon__spark--1,
.gl-ai-overview__cta:focus-visible .gl-ia-icon__spark--1,
.gl-ai-overview:hover .gl-ai-overview__icon .gl-ia-icon__spark--1,
.gl-chat.is-open .gl-chat__sparkles .gl-ia-icon__spark--1 {
	animation: gl-ia-spark-1 2.1s var(--ease-in-out) infinite;
}

.gl-header__ia-btn:hover .gl-ia-icon__spark--2,
.gl-header__ia-btn:focus-visible .gl-ia-icon__spark--2,
.gl-ai-overview__cta:hover .gl-ia-icon__spark--2,
.gl-ai-overview__cta:focus-visible .gl-ia-icon__spark--2,
.gl-ai-overview:hover .gl-ai-overview__icon .gl-ia-icon__spark--2,
.gl-chat.is-open .gl-chat__sparkles .gl-ia-icon__spark--2 {
	animation: gl-ia-spark-2 2.1s var(--ease-in-out) infinite;
}

.gl-header__ia-btn:hover .gl-ia-icon__spark--3,
.gl-header__ia-btn:focus-visible .gl-ia-icon__spark--3,
.gl-ai-overview__cta:hover .gl-ia-icon__spark--3,
.gl-ai-overview__cta:focus-visible .gl-ia-icon__spark--3,
.gl-ai-overview:hover .gl-ai-overview__icon .gl-ia-icon__spark--3,
.gl-chat.is-open .gl-chat__sparkles .gl-ia-icon__spark--3 {
	animation: gl-ia-spark-3 2.1s var(--ease-in-out) infinite;
}

.gl-chat.is-open .gl-chat__sparkles .gl-ia-icon__spark--1,
.gl-chat.is-open .gl-chat__sparkles .gl-ia-icon__spark--2,
.gl-chat.is-open .gl-chat__sparkles .gl-ia-icon__spark--3 {
	animation-duration: 3s;
}

/* ---- Acessibilidade ---- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.gl-home,
	.gl-listing,
	.gl-single-item,
	.gl-home-hero__intro,
	.gl-home-search,
	.gl-home-searches .gl-home-section-title,
	.gl-home-searches .gl-home-empty,
	.gl-home-searches__list > li,
	.gl-home-recent__title,
	.gl-home-recent .gl-home-empty,
	.gl-home-recent__item,
	.gl-search-bar,
	.gl-active-filters,
	.gl-ai-overview__content,
	.gl-ai-overview__cta,
	.gl-listing .search-control,
	.gl-list-results__item,
	.gl-listing__pagination,
	.gl-single-item .gl-item-header > *,
	.gl-single-item__body > *,
	.gl-single-item .gl-attachments-list__item,
	.gl-single-item .gl-related__title,
	.gl-single-item .gl-related__item,
	.gl-single-item .gl-item-nav,
	.gl-chat.is-open .gl-chat__sidebar-top,
	.gl-chat.is-open .gl-chat__new,
	.gl-chat.is-open .gl-chat__history-label,
	.gl-chat.is-open .gl-chat__history-item,
	.gl-chat.is-open .gl-chat__main-header,
	.gl-chat.is-open .gl-chat__thread,
	.gl-chat.is-open .gl-chat__composer,
	.gl-chat__msg,
	.gl-chat__typing,
	.gl-ia-icon,
	.gl-ia-icon__spark {
		animation: none !important;
	}

	.gl-ia-icon__spark {
		opacity: 1 !important;
		transform: none !important;
	}

	.gl-list-card__thumb,
	.gl-attachments-list__thumb:not(.gl-attachments-list__thumb--icon) {
		animation: none !important;
		background-image: none !important;
	}

	.gl-chat__placeholder,
	.gl-ai-overview.is-loading .gl-ai-overview__placeholder {
		animation: none !important;
		background-image: none !important;
	}

	.gl-ai-overview.is-loading .gl-ai-overview__content::before,
	.gl-ai-overview.is-loading .gl-ai-overview__content::after,
	.gl-ai-overview.is-shimmer .gl-ai-overview__content::before,
	.gl-ai-overview.is-shimmer .gl-ai-overview__content::after,
	.gl-chat.is-shimmer .gl-chat__panel::before,
	.gl-chat.is-shimmer .gl-chat__panel::after,
	.gl-chat.is-reply-shimmer .gl-chat__panel::before,
	.gl-chat.is-reply-shimmer .gl-chat__panel::after {
		animation: none !important;
		opacity: 0 !important;
	}

	.gl-list-card__thumb img,
	.gl-attachments-list__thumb img {
		opacity: 1 !important;
	}

	.gl-header__dropdown-menu,
	.gl-chat,
	.gl-chat__panel,
	.gl-chat__sidebar,
	.gl-chat__main,
	.gl-parallax {
		transform: none !important;
	}

	.gl-chat.is-open .gl-chat__panel,
	.gl-chat.is-open .gl-chat__sidebar,
	.gl-chat.is-open .gl-chat__main {
		box-shadow: none !important;
		transition: none !important;
	}

	.gl-parallax {
		will-change: auto;
		background-position: center center !important;
	}

	.gl-home-recent__card:hover,
	.gl-home-recent__card:focus,
	.gl-related__card:hover,
	.gl-related__card:focus,
	.gl-list-card:hover,
	.gl-list-card:focus-visible {
		transform: none !important;
	}
}
