/* Aviso em pop-up (recesso e outros comunicados) */
.otv-aviso[hidden] { display: none !important; }
.otv-aviso {
	position: fixed; inset: 0; z-index: 2147483000;
	display: flex; align-items: center; justify-content: center;
	padding: 20px 16px;
	font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.otv-aviso-fundo {
	position: absolute; inset: 0;
	background: rgba(4, 39, 29, .62);
	-webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
	opacity: 0; transition: opacity .3s ease;
	cursor: pointer;
}
.otv-aviso-caixa {
	position: relative; overflow: hidden;
	box-sizing: border-box;
	width: min(460px, 100%);
	max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto;
	padding: 40px 36px 32px;
	border-radius: 24px;
	text-align: center;
	color: #E2EED6;
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(214, 234, 140, .16), transparent 55%),
		radial-gradient(90% 70% at 0% 100%, rgba(30, 138, 107, .35), transparent 60%),
		linear-gradient(160deg, #0E5A43 0%, #0B4D3A 45%, #04271D 100%);
	box-shadow: 0 30px 70px rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(214, 234, 140, .16);
	opacity: 0; transform: translateY(18px) scale(.97);
	transition: opacity .32s ease, transform .42s cubic-bezier(.2, .9, .25, 1.15);
}
/* arcos decorativos em verde-limão, como nas artes da Otovida */
.otv-aviso-caixa::before, .otv-aviso-caixa::after {
	content: ''; position: absolute; pointer-events: none;
	border: 1.5px solid rgba(214, 234, 140, .3); border-radius: 50%;
}
.otv-aviso-caixa::before { width: 340px; height: 340px; left: -250px; top: -120px; }
.otv-aviso-caixa::after { width: 300px; height: 300px; right: -230px; bottom: -150px; }
.otv-aviso-caixa > * { position: relative; }
.otv-aviso-caixa:focus { outline: none; }
.otv-aviso.is-open .otv-aviso-fundo { opacity: 1; }
.otv-aviso.is-open .otv-aviso-caixa { opacity: 1; transform: none; }

.otv-aviso-x {
	position: absolute; top: 14px; right: 14px; z-index: 2;
	width: 38px; height: 38px; padding: 0; margin: 0; border: 0; border-radius: 50%;
	display: grid; place-items: center;
	background: rgba(255, 255, 255, .1); color: #fff;
	cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease;
}
.otv-aviso-x:hover { transform: rotate(90deg); background: #D6EA8C; color: #04271D; }

.otv-aviso-ico {
	display: inline-grid; place-items: center;
	width: 62px; height: 62px; margin: 0 0 14px;
	border-radius: 50%;
	background: #D6EA8C; color: #04271D;
	box-shadow: 0 0 0 8px rgba(214, 234, 140, .14);
}
.otv-aviso-kicker {
	margin: 0 0 6px; padding: 0;
	font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
	color: rgba(226, 238, 214, .72);
}
.otv-aviso-t {
	margin: 0 0 18px; padding: 0;
	font-family: inherit; font-size: 30px; line-height: 1.12; font-weight: 500;
	color: #fff; letter-spacing: -.01em; text-transform: none;
}
.otv-aviso-t strong { display: block; font-weight: 800; color: #D6EA8C; text-transform: uppercase; letter-spacing: .01em; }
.otv-aviso-d p {
	margin: 0 0 12px; padding: 0;
	font-size: 15.5px; line-height: 1.6; color: #E2EED6;
}
.otv-aviso-d strong { color: #fff; font-weight: 700; white-space: nowrap; }
.otv-aviso-d .otv-aviso-agr {
	margin: 18px 0 0; padding-top: 16px;
	border-top: 1px solid rgba(214, 234, 140, .22);
	font-size: 14.5px; color: rgba(226, 238, 214, .86);
}
.otv-aviso-ok {
	margin: 24px 0 0;
	min-width: 170px; padding: 13px 30px; border: 0; border-radius: 999px;
	background: #D6EA8C; color: #04271D;
	font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: .02em;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
	cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.otv-aviso-ok:hover { background: #fff; transform: translateY(-1px); }
.otv-aviso-x:focus-visible, .otv-aviso-ok:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
html.otv-aviso-on, html.otv-aviso-on body { overflow: hidden; }

@media (max-width: 420px) {
	.otv-aviso-caixa { padding: 34px 22px 26px; border-radius: 20px; }
	.otv-aviso-t { font-size: 26px; }
	.otv-aviso-d p { font-size: 15px; }
	.otv-aviso-ico { width: 54px; height: 54px; }
}
@media (max-height: 640px) {
	.otv-aviso-caixa { padding: 26px 22px 22px; }
	.otv-aviso-ico { display: none; }
	.otv-aviso-t { font-size: 24px; margin-bottom: 12px; }
	.otv-aviso-d p { font-size: 14px; line-height: 1.5; margin-bottom: 8px; }
	.otv-aviso-d .otv-aviso-agr { font-size: 13.5px; margin-top: 12px; padding-top: 12px; }
	.otv-aviso-ok { margin-top: 16px; padding: 11px 26px; }
	.otv-aviso-x { top: 10px; right: 10px; width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
	.otv-aviso-fundo, .otv-aviso-caixa { transition: opacity .15s linear; transform: none; }
	.otv-aviso-x:hover { transform: none; }
}
