/* ==========================================================================
   Header e footer globais. Prefixo .ns- para não vazar no resto do tema.
   Mesma estrutura do tema da Oniplataforma, nas cores da Neosoluti.
   ========================================================================== */

/* ------------------------------------------------------ header */
.ns-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(23, 15, 46, .92);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s ease, background .25s ease;
}
.ns-header.is-scrolled { border-bottom-color: rgba(255, 255, 255, .08); background: rgba(23, 15, 46, .97); }
.admin-bar .ns-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ns-header { top: 46px; } }

.ns-header .ns-nav {
	width: min(1240px, 100% - 40px);
	margin-inline: auto;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.ns-header .ns-brand { display: inline-flex; align-items: center; }
.ns-header .ns-brand img { display: block; height: 26px; width: auto; }

/* no celular (até 1024px) o centro e as ações ficam no menu do hambúrguer */
.ns-header .ns-nav__center,
.ns-header .ns-nav__actions { display: none; }

.ns-wa { width: 18px; height: 18px; flex: none; }

.ns-header .ns-nav__hamburger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	background: transparent;
	border: 0;
	cursor: pointer;
}
.ns-header .ns-nav__hamburger span {
	display: block;
	width: 22px;
	height: 2px;
	margin-inline: auto;
	background: #fff;
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}
.ns-header .ns-nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ns-header .ns-nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.ns-header .ns-nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------ menu mobile */
.ns-mobile-menu {
	display: none;
	flex-direction: column;
	gap: 2px;
	max-height: calc(100dvh - 64px);
	overflow-y: auto;
	padding: 4px 20px 24px;
	border-top: 1px solid rgba(255, 255, 255, .08);
}
.ns-mobile-menu.is-open { display: flex; }
.ns-mobile-menu__link {
	color: #fff;
	font-family: var(--body);
	font-weight: 600;
	font-size: 17px;
	padding: 15px 2px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	text-decoration: none;
}
.ns-header .ns-mobile-menu__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	text-align: left;
	line-height: inherit;
	cursor: pointer;
}
.ns-header .ns-nav__chevron { width: 12px; height: 12px; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.ns-header .ns-mobile-menu__toggle .ns-nav__chevron { width: 14px; height: 14px; }
.ns-header .ns-mobile-menu__toggle[aria-expanded="true"] .ns-nav__chevron { transform: rotate(180deg); }

.ns-header .ns-mobile-sub {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .32s cubic-bezier(.2, .8, .2, 1);
}
.ns-header .ns-mobile-sub.is-open { grid-template-rows: 1fr; }
.ns-header .ns-mobile-sub__inner {
	min-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	visibility: hidden;
	transition: visibility 0s linear .32s;
}
.ns-header .ns-mobile-sub.is-open .ns-mobile-sub__inner { visibility: visible; transition: none; padding: 6px 0 12px; }
.ns-header .ns-mobile-sub__label {
	margin: 12px 2px 4px;
	color: var(--lilac);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.ns-header .ns-mobile-sub__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 2px;
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity .25s ease, transform .25s ease;
}
.ns-header .ns-mobile-sub.is-open .ns-mobile-sub__link { opacity: 1; transform: none; }
.ns-header .ns-mobile-sub__link[aria-current="page"],
.ns-mobile-menu__link[aria-current="page"] { color: var(--lilac); }
.ns-header .ns-mobile-sub__link .ns-mega__icon { width: 32px; height: 32px; border-radius: 10px; }
.ns-header .ns-mobile-sub__link .ns-mega__svg { width: 17px; height: 17px; }

.ns-mobile-menu__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 18px;
	background: var(--brand);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	border-radius: 999px;
	padding: 15px 24px;
	text-decoration: none;
}

/* ------------------------------------------------------ desktop (>= 1025px) */
@media (min-width: 1025px) {
	.ns-header .ns-nav {
		position: relative;
		height: 76px;
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		gap: 24px;
	}
	.ns-header .ns-brand { justify-self: start; }
	.ns-header .ns-brand img { height: 28px; }
	.ns-header .ns-nav__hamburger { display: none; }
	.ns-mobile-menu, .ns-mobile-menu.is-open { display: none; }

	/* centro centralizado de verdade (coluna do meio entre dois 1fr) */
	.ns-header .ns-nav__center {
		display: inline-flex;
		justify-self: center;
		align-items: center;
		gap: 34px;
	}
	.ns-header .ns-nav__actions { display: inline-flex; justify-self: end; align-items: center; }
	.ns-header .ns-nav__link,
	.ns-header .ns-nav__trigger {
		color: rgba(255, 255, 255, .86);
		font-weight: 600;
		font-size: 15.5px;
		text-decoration: none;
		text-underline-offset: 6px;
		transition: color .18s ease;
	}
	.ns-header .ns-nav__link:hover,
	.ns-header .ns-nav__link[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--lilac); }
	.ns-header .ns-nav__trigger.is-current { color: #fff; box-shadow: inset 0 0 0 1px rgba(180, 140, 255, .35); }

	/* ---------------------------------------------- mega menu */
	.ns-header .ns-nav__item { height: 76px; display: inline-flex; align-items: center; }
	.ns-header .ns-nav__trigger {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		padding: 8px 14px;
		margin: 0 -14px;
		border-radius: 999px;
		transition: background .2s ease, color .2s ease;
	}
	.ns-header .ns-nav__item.is-open .ns-nav__trigger { background: rgba(255, 255, 255, .1); color: #fff; }
	.ns-header .ns-nav__item.is-open .ns-nav__chevron { transform: rotate(180deg); }

	/* painel centralizado na barra; o padding-top transparente faz a ponte do hover */
	.ns-header .ns-mega {
		position: absolute;
		top: 100%;
		left: 50%;
		width: min(1180px, 100vw - 48px);
		padding-top: 2px;
		transform: translate(-50%, 10px) scale(.985);
		transform-origin: top center;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity .22s ease, transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .32s;
	}
	.ns-header .ns-nav__item.is-open .ns-mega {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translate(-50%, 0) scale(1);
		transition: opacity .22s ease, transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s;
	}
	.ns-header .ns-mega__panel {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr)) 236px;
		gap: 10px;
		padding: 10px;
		background: #fff;
		border: 1px solid rgba(23, 15, 46, .08);
		border-radius: 24px;
		box-shadow: 0 28px 70px rgba(10, 4, 30, .35), 0 4px 14px rgba(10, 4, 30, .12);
	}
	.ns-header .ns-mega__group { padding: 10px 6px 6px; }
	.ns-header .ns-mega__label {
		display: block;
		padding: 0 12px 6px;
		color: var(--brand);
		font-size: 11px;
		font-weight: 700;
		letter-spacing: .14em;
		text-transform: uppercase;
	}
	.ns-header .ns-mega__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
	.ns-header .ns-mega__grid li {
		margin: 0;
		opacity: 0;
		transform: translateY(6px);
		transition: opacity .2s ease, transform .2s ease;
	}
	.ns-header .ns-nav__item.is-open .ns-mega__grid li {
		opacity: 1;
		transform: none;
		transition: opacity .35s ease, transform .4s cubic-bezier(.2, .8, .2, 1);
		transition-delay: calc(var(--i) * 24ms + 40ms);
	}
	.ns-header .ns-mega__link {
		display: flex;
		align-items: flex-start;
		gap: 12px;
		padding: 11px 12px;
		border-radius: 16px;
		text-decoration: none;
		transition: background .2s ease;
	}
	.ns-header .ns-mega__link:hover,
	.ns-header .ns-mega__link:focus-visible { background: #f5f2ff; }
	.ns-header .ns-mega__link:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
	.ns-header .ns-mega__link[aria-current="page"] { background: #f5f2ff; }
	.ns-header .ns-mega__link[aria-current="page"] .ns-mega__title { color: var(--brand); }
	.ns-header .ns-mega__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
	.ns-header .ns-mega__title { color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.3; }
	.ns-header .ns-mega__desc { color: #6b6585; font-weight: 500; font-size: 13px; line-height: 1.45; }
	.ns-header .ns-mega__link .ns-mega__icon { transition: transform .25s cubic-bezier(.2, .8, .2, 1), background .2s ease, color .2s ease; }
	.ns-header .ns-mega__link:hover .ns-mega__icon { transform: translateY(-2px) rotate(-4deg); background: var(--brand); color: #fff; }

	/* bloco lateral: atalho para o diagnóstico */
	.ns-header .ns-mega__aside {
		position: relative;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		gap: 10px;
		padding: 24px;
		border-radius: 18px;
		background: radial-gradient(120% 90% at 100% 0%, var(--brand) 0%, rgba(128, 12, 251, 0) 62%), var(--ink);
		color: #fff;
		text-decoration: none;
		opacity: 0;
		transform: translateX(8px);
		transition: opacity .2s ease, transform .2s ease;
	}
	.ns-header .ns-nav__item.is-open .ns-mega__aside {
		opacity: 1;
		transform: none;
		transition: opacity .4s ease .08s, transform .45s cubic-bezier(.2, .8, .2, 1) .08s;
	}
	.ns-header .ns-mega__aside::after {
		content: "";
		position: absolute;
		width: 160px;
		height: 160px;
		top: -60px;
		right: -60px;
		border-radius: 50%;
		border: 1px solid rgba(255, 255, 255, .18);
		box-shadow: 0 0 0 26px rgba(255, 255, 255, .04), 0 0 0 52px rgba(255, 255, 255, .03);
		transition: transform .6s cubic-bezier(.2, .8, .2, 1);
	}
	.ns-header .ns-mega__aside:hover::after { transform: scale(1.12); }
	.ns-header .ns-mega__kicker { color: var(--lilac); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
	.ns-header .ns-mega__headline { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.25; letter-spacing: -.01em; }
	.ns-header .ns-mega__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; font-size: 14px; }
	.ns-header .ns-mega__more svg { width: 16px; height: 16px; transition: transform .25s ease; }
	.ns-header .ns-mega__aside:hover .ns-mega__more svg { transform: translateX(4px); }

	.ns-header .ns-nav__cta {
		display: inline-flex;
		align-items: center;
		gap: 9px;
		background: var(--brand);
		color: #fff;
		font-weight: 700;
		font-size: 15px;
		line-height: 1;
		border-radius: 999px;
		padding: 13px 22px;
		text-decoration: none;
		box-shadow: 0 6px 20px rgba(128, 12, 251, .35);
		transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
	}
	.ns-header .ns-nav__cta:hover { background: var(--brand-deep); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(128, 12, 251, .45); }
}

/* ------------------------------------------------------ ícones do menu (desktop e mobile) */
.ns-mega__icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
}
.ns-mega__svg { width: 20px; height: 20px; }
.ns-mega__icon--mint { background: #e3f7ef; color: #16956f; }
.ns-mega__icon--peach { background: #fff0e6; color: #d9692c; }
.ns-mega__icon--lilac { background: #f0e9ff; color: #7a2ff0; }
.ns-mega__icon--sky { background: #e6f2ff; color: #2a7fd4; }

/* ------------------------------------------------------ footer */
.ns-footer {
	background: radial-gradient(900px 420px at 85% 0%, rgba(110, 40, 230, .22), transparent 70%), #110a24;
	color: #fff;
}
.ns-footer__cta,
.ns-footer__shell,
.ns-footer__legal { width: min(1240px, 100% - 40px); margin-inline: auto; }

.ns-footer__cta {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 48px 0 40px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.ns-footer__kicker { color: var(--lilac); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ns-footer__cta-title { margin: 8px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.1; letter-spacing: -.02em; max-width: 20ch; }
.ns-footer__cta-btn {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	color: var(--ink);
	font-weight: 700;
	border-radius: 999px;
	padding: 15px 26px;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease;
}
.ns-footer__cta-btn .ns-wa { color: #25d366; }
.ns-footer__cta-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }

.ns-footer__shell {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px 24px;
	padding: 44px 0 36px;
}
.ns-footer__brand-col { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; }
.ns-footer__brand img { display: block; height: 26px; width: auto; }
.ns-footer__tagline { margin: 0; color: rgba(255, 255, 255, .66); font-size: 15px; line-height: 1.55; max-width: 30ch; }
.ns-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.ns-footer__col > span:not(.ns-footer__title) { color: rgba(255, 255, 255, .72); }
.ns-footer__title { margin-bottom: 4px; color: var(--lilac); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ns-footer__col a { color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .18s ease; }
.ns-footer__col a:hover,
.ns-footer__col a[aria-current="page"] { color: #fff; }
.ns-footer__contact { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 6px 0 0; font-size: 15px; }
.ns-footer__contact a,
.ns-footer__contact span { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .18s ease; }
.ns-footer__contact a:hover { color: #fff; }
.ns-footer__contact svg { width: 17px; height: 17px; flex: none; color: var(--lilac); }

.ns-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 20px 0 32px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	color: rgba(255, 255, 255, .55);
	font-size: 14px;
}
.ns-footer__top { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .7); text-decoration: none; }
.ns-footer__top svg { width: 14px; height: 14px; transition: transform .2s ease; }
.ns-footer__top:hover { color: #fff; }
.ns-footer__top:hover svg { transform: translateY(-2px); }

@media (min-width: 760px) {
	.ns-footer__cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 56px 0 48px; }
	.ns-footer__cta-btn { align-self: center; }
}
@media (min-width: 1025px) {
	.ns-footer__shell { grid-template-columns: 1.6fr 1fr 1fr 1fr; padding: 56px 0 44px; }
	.ns-footer__brand-col { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
	.ns-header .ns-mega,
	.ns-header .ns-mega__grid li,
	.ns-header .ns-mega__aside,
	.ns-mega__icon,
	.ns-header .ns-nav__chevron,
	.ns-header .ns-mobile-sub,
	.ns-header .ns-mobile-sub__link,
	.ns-header .ns-nav__cta,
	.ns-footer__cta-btn { transition: none !important; }
}

/* ------------------------------------------------------ formulário de contato (pop-up e Fale conosco) */
.cform { display: flex; flex-direction: column; gap: 16px; color: var(--ink); }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cform__field--full { grid-column: 1 / -1; }
.cform__field > span { color: var(--ink); font-size: 14px; font-weight: 700; }
.cform__field > span::after { content: " *"; color: var(--brand); }
.cform input, .cform select, .cform textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1.5px solid #e1dcef;
	border-radius: 12px;
	background: #fff;
	color: var(--ink);
	font: 500 16px/1.4 var(--body);
	transition: border-color .18s ease, box-shadow .18s ease;
	-webkit-appearance: none;
	appearance: none;
}
.cform textarea { min-height: 112px; resize: vertical; }
.cform select { padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23800cfb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; cursor: pointer; }
.cform input::placeholder, .cform textarea::placeholder { color: #a8a2bd; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(128, 12, 251, .14); }
.cform__msg { display: none; color: #d6322e; font-size: 13px; font-weight: 600; }
.cform__field.is-invalid input, .cform__field.is-invalid select, .cform__field.is-invalid textarea { border-color: #e5484d; background-color: #fff7f7; }
.cform__field.is-invalid .cform__msg { display: block; }
.cform__submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px 24px; border: 0; background: #1fb457; font: 700 16px/1 var(--body); cursor: pointer; }
.cform__submit:hover { background: #179a49; }
.cform__note { margin: -4px 0 0; color: #6b6585; font-size: 13px; text-align: center; }
.cform__done { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px; border-radius: 16px; background: #e8f8ef; text-align: center; }
.cform__done[hidden] { display: none; }
.cform__done strong { color: #11785a; font-size: 16px; }
.cform__done p { margin: 0; color: #2f5a48; font-size: 14px; }
.cform__done a { color: #11785a; font-weight: 700; }
.cform__done-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #16a77c; color: #fff; }
.cform__done-ico svg { width: 22px; height: 22px; }
@media (max-width: 560px) { .cform__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------ pop-up */
.ns-modal-open { overflow: hidden; }
.ns-modal { width: min(620px, 100vw - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: 26px; background: transparent; overflow: visible; }
.ns-modal::backdrop { background: rgba(12, 6, 30, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ns-modal[open] { animation: ns-modal-in .4s cubic-bezier(.2, .8, .2, 1); }
.ns-modal[open]::backdrop { animation: ns-fade-in .3s ease; }
@keyframes ns-modal-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes ns-fade-in { from { opacity: 0; } }
.ns-modal__dialog { position: relative; max-height: calc(100dvh - 24px); overflow-y: auto; padding: 30px; border-radius: 26px; background: #fff; box-shadow: 0 40px 100px rgba(0, 0, 0, .45); }
.ns-modal__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f1edfa; color: var(--ink); cursor: pointer; transition: background .2s ease, transform .3s ease; }
.ns-modal__close:hover { background: #e4dcf7; transform: rotate(90deg); }
.ns-modal__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.ns-modal__head { margin: 0 44px 22px 0; }
.ns-modal__kicker { display: inline-flex; align-items: center; gap: 8px; color: #1fb457; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ns-modal__title { margin: 8px 0 6px; color: var(--ink); font: 800 clamp(1.5rem, 4vw, 1.9rem)/1.1 var(--display); letter-spacing: -.02em; }
.ns-modal__lead { margin: 0; color: #5d5873; font-size: 15px; }
@media (max-width: 560px) { .ns-modal__dialog { padding: 24px 18px 20px; } }

/* ------------------------------------------------------ botão flutuante do WhatsApp */
.ns-fab {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 40;
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	padding: 0;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
	cursor: pointer;
	transition: transform .25s cubic-bezier(.2, .8, .2, 1), background .2s ease;
}
.ns-fab .ns-wa { width: 30px; height: 30px; }
.ns-fab::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #25d366; animation: ns-fab-ping 2.4s ease-out infinite; pointer-events: none; }
@keyframes ns-fab-ping { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.ns-fab:hover { transform: scale(1.08); background: #1fb457; }
.ns-fab:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; }
.ns-fab__tip { position: absolute; right: calc(100% + 12px); top: 50%; padding: 8px 14px; border-radius: 99px; background: var(--ink); color: #fff; font: 700 14px/1 var(--body); white-space: nowrap; opacity: 0; transform: translate(6px, -50%); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.ns-fab:hover .ns-fab__tip, .ns-fab:focus-visible .ns-fab__tip { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 560px) { .ns-fab { right: 16px; bottom: 16px; width: 56px; height: 56px; } .ns-fab__tip { display: none; } }
@media (prefers-reduced-motion: reduce) { .ns-fab::before, .ns-modal[open], .ns-modal[open]::backdrop { animation: none; } }
