/* =========================================================================
   Green Sinais - folha principal
   Cores e superfícies vêm dos tokens de light.css / dark.css; raios e
   tipografia dos tokens abaixo. Sem !important, salvo para sobrescrever
   utilitários do Bootstrap que já são !important (marcados "utilitário").
   ========================================================================= */

:root {
	/* raios: xs em cabeçalhos de tabela e selos fixos, sm em botões, campos e badges, md em cards */
	--radius-xs: 4px;
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-pill: 50rem;
	/* tipografia: corpo 14px, tabelas e textos pequenos 13px, título de bloco 20px */
	--font-body: .875rem;
	--font-small: .8125rem;
	--font-title: 1.25rem;
	/* camadas */
	--z-filter-panel: 999;
	/* telas de autenticação: sempre escuras, independentes do tema; o grão é um SVG de ruído */
	--auth-bg: #0b0d10;
	--auth-surface: #15191e;
	--auth-input: #0f1317;
	--auth-text: #e6e8eb;
	--auth-muted: #9aa3ad;
	--auth-border: rgba(255, 255, 255, .08);
	--auth-border-strong: rgba(255, 255, 255, .18);
	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
body {
	background-color: var(--background-color);
	color: var(--text-color);
	min-height: 90vh;
	font-family: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: var(--font-body);
}

@media (min-width: 768px) {
	.container {
		max-width: 95%;
	}
}

@media (min-width: 2000px) {
	.container {
		max-width: 1900px;
	}
}

/* ---------- Tipografia ---------- */
h4, .h4 {
	font-size: var(--font-title);
}
h5, .h5 {
	font-size: 1.0625rem;
}
h6, .h6 {
	font-size: .9375rem;
}
small, .small {
	font-size: var(--font-small);
}
.neo-regular {
	font-style: normal;
}
.neo-bold {
	font-style: normal;
	font-weight: 700;
}
.font-700 {
	font-weight: 700;
}
.font-800 {
	font-weight: 800;
}
.font-900 {
	font-weight: 900;
}
.font-mini {
	font-size: .72rem;
}
.min-text {
	font-size: 8px;
}
.table, .badge, .badge-fixed-big, .badge-fixed-medium {
	font-variant-numeric: tabular-nums;
}

/* ---------- Links e foco ---------- */
a {
	color: var(--link-color);
	text-decoration: none;
}
a:hover {
	color: var(--link-hover);
	text-decoration: none;
}
a:focus, button:focus, .btn:focus, .btn-close:focus, .navbar-toggler:focus, .accordion-button:focus {
	outline: 0;
	box-shadow: none;
}
input:focus, select:focus, textarea:focus, .form-control:focus, .form-select:focus {
	outline: 0;
}
button::-moz-focus-inner {
	border: 0;
}

/* ---------- Navbar ---------- */
.navbar .navbar-nav,
.navbar .navbar-nav a,
.navbar .navbar-nav .nav-link,
.navbar .navbar-nav .theme-toggle,
.navbar .selected-value {
	color: var(--navbar-link);
}
.navbar .navbar-nav {
	font-weight: 600;
}
.navbar .navbar-nav a:hover,
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .theme-toggle:hover,
.navbar .navbar-nav .theme-toggle:focus-visible {
	color: var(--verde-escuro);
}
/* menu recolhido (celular) */
.navbar-mobile {
	margin-top: .5rem;
	padding: .5rem 0;
	border-top: 1px solid var(--navbar-border);
}

/* ---------- Cores utilitárias ---------- */
.bg-light {
	background-color: var(--surface) !important; /* utilitário do Bootstrap */
}
.text-dark {
	color: var(--text-color) !important; /* utilitário do Bootstrap fica invisível no tema escuro */
}
.text-muted {
	color: var(--text-muted) !important; /* utilitário do Bootstrap */
}
.border, .border-top, .border-bottom, .border-start, .border-end {
	border-color: var(--border-color) !important; /* utilitário do Bootstrap */
}
.bg-surface {
	background-color: var(--surface);
}
.bg-black {
	background-color: var(--black);
}
.text-custom, .text-inverse {
	color: var(--text-color);
}
.text_green, .text-green {
	color: var(--verde-escuro);
}
.text_red {
	color: var(--red-cancel);
}
.text_info {
	color: var(--ligh-blue);
}
.text_warning {
	color: var(--yellow);
}
/* faixa de secao (formularios, resultados, deals) */
.identification {
	background-color: var(--bg-results);
	color: var(--text-color);
	border-radius: var(--radius-xs);
	font-weight: 700;
	font-size: var(--font-small);
	text-align: center;
	padding: .375rem .5rem;
}
.border-green {
	border: 3px solid var(--green);
	border-radius: var(--radius-md);
	margin-top: 20px;
}
hr {
	color: var(--text-muted);
}

/* ---------- Raios ---------- */
.rounded-custom {
	border-radius: var(--radius-sm);
}
div.rounded-custom, article.rounded-custom, iframe.rounded-custom {
	border-radius: var(--radius-md);
}
.rounded-custom-right {
	border-top-right-radius: var(--radius-sm);
	border-bottom-right-radius: var(--radius-sm);
}
.rounded-custom-left {
	border-top-left-radius: var(--radius-sm);
	border-bottom-left-radius: var(--radius-sm);
}
.bg-light.rounded {
	border-radius: var(--radius-md) !important; /* utilitário .rounded do Bootstrap */
}
.alert, .dropdown-menu, .form-control, .form-select {
	border-radius: var(--radius-sm);
}
.modal-content, .card {
	border-radius: var(--radius-md);
}

/* ---------- Botões ---------- */
.btn {
	position: relative; /* posiciona o brilho do hover */
	overflow: hidden;
	border-radius: var(--radius-sm);
	font-size: var(--font-body);
}
.btn-sm {
	font-size: var(--font-small);
}
.btn-info, .btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .btn-info:disabled,
.show > .btn-info.dropdown-toggle {
	color: var(--on-primary);
}
.btn-whatsapp, .btn-whatsapp-rounded {
	color: var(--on-primary);
	background-color: var(--verde-escuro);
	border-color: var(--verde-escuro);
}
.btn-whatsapp:hover, .btn-whatsapp:focus, .btn-whatsapp:active,
.btn-whatsapp-rounded:hover, .btn-whatsapp-rounded:focus, .btn-whatsapp-rounded:active {
	color: var(--on-primary);
	background-color: var(--verde-escuro);
	border-color: var(--verde-escuro);
	box-shadow: 1px 1px 14px var(--glow-primary);
	transition: .3s;
}
.btn-yellow-rounded {
	color: var(--on-yellow);
	background-color: var(--yellow);
	border-color: var(--yellow);
}
.btn-yellow-rounded:hover, .btn-yellow-rounded:focus, .btn-yellow-rounded:active {
	color: var(--on-yellow);
	background-color: var(--yellow);
	border-color: var(--yellow);
	box-shadow: 1px 1px 14px var(--glow-yellow);
	transition: .3s;
}
.btn-cancel, .btn-cancel-rounded {
	color: var(--btn-cancel-text);
	background-color: var(--btn-cancel-bg);
	border-color: var(--btn-cancel-bg);
}
.btn-cancel:hover, .btn-cancel:focus, .btn-cancel:active,
.btn-cancel-rounded:hover, .btn-cancel-rounded:focus, .btn-cancel-rounded:active {
	color: var(--btn-cancel-text);
	background-color: var(--btn-cancel-bg);
	border-color: var(--btn-cancel-bg);
}
.btn-cancel-rounded:hover {
	box-shadow: 1px 1px 14px var(--glow-cancel);
	transition: .3s;
}
.btn-plan {
	color: var(--on-primary);
	background-color: var(--green);
	border-color: var(--green);
	font-weight: 700;
}
.btn-plan:hover, .btn-plan:focus, .btn-plan:active {
	color: var(--on-primary);
	background-color: var(--green);
	border-color: var(--green);
	box-shadow: 0 0 30px var(--green), 0 0 20px var(--green), 0 0 20px var(--green);
	transition: .3s;
}
.btn-invisible {
	background-color: transparent;
	border-color: transparent;
	color: var(--text-color);
}
.btn-whatsapp-rounded:active, .btn-info:active, .btn-warning:active, .btn-whatsapp:active {
	transition: transform .2s;
	transform: scale(.9);
}
/* brilho que atravessa o botão no hover */
.btn:hover::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(45deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .2), rgba(255, 255, 255, 0));
	animation: brilho 3s forwards;
}
@keyframes brilho {
	0% {
		transform: translateX(-100%);
	}
	50% {
		transform: translateX(100%);
	}
	100% {
		transform: translateX(100%);
	}
}
.zoom:hover {
	transition: transform .5s;
	transform: scale(1.02);
}

/* ---------- Badges ---------- */
.badge-soft-success, .badge-soft-info, .badge-soft-warning, .badge-soft-danger,
.badge-soft-orange, .badge-soft-pink, .badge-soft-cancel {
	color: var(--badge-text);
	border-radius: var(--radius-sm);
}
.badge-soft-success {
	background-color: var(--soft-success-bg);
}
.badge-soft-info {
	background-color: var(--soft-info-bg);
}
.badge-soft-warning {
	background-color: var(--soft-warning-bg);
}
.badge-soft-danger {
	background-color: var(--soft-danger-bg);
}
.badge-soft-orange {
	background-color: var(--soft-orange-bg);
}
.badge-soft-pink {
	background-color: var(--soft-pink-bg);
}
.badge-soft-cancel {
	background-color: var(--soft-cancel-bg);
}
.badge-fixed-big, .badge-fixed-medium {
	display: inline-block;
	text-align: center;
	padding: 2px;
	border-radius: var(--radius-xs);
}
.badge-fixed-big {
	min-width: 63px;
}
.badge-fixed-medium {
	min-width: 50px;
}
.border-dotter-badge-success {
	border: 1px dashed var(--verde-escuro);
}

/* ---------- Blocos: título, seções e rodapé formam um card só ---------- */
.block-head {
	border-radius: var(--radius-md);
}
.block-section, .block-foot {
	border-top: 1px solid var(--border-color);
	border-radius: 0;
}
.block-foot {
	border-bottom-left-radius: var(--radius-md);
	border-bottom-right-radius: var(--radius-md);
}
/* última seção sem rodapé depois dela (ramos condicionais) fecha o card */
.block-section:not(:has(+ .block-section, + .block-foot)) {
	border-bottom-left-radius: var(--radius-md);
	border-bottom-right-radius: var(--radius-md);
}
/* título só perde os cantos de baixo quando existe conteúdo colado nele */
.block-head:has(+ .block-section, + .block-foot, + .block-body.d-block) {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
@media (min-width: 992px) {
	.block-head:has(+ .block-body) {
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}
}

/* ---------- Tabelas ---------- */
.table {
	color: var(--text-color);
	border-color: var(--border-color);
	font-size: var(--font-small);
	--bs-table-hover-bg: var(--hover-bg);
	--bs-table-hover-color: var(--text-color);
	--bs-table-striped-bg: var(--hover-bg);
	--bs-table-striped-color: var(--text-color);
}
.table th {
	border: 0;
	background-color: var(--bg-results);
	color: var(--text-color);
	padding-top: .375rem;
	padding-bottom: .375rem;
}
.table th:first-child {
	border-top-left-radius: var(--radius-xs);
	border-bottom-left-radius: var(--radius-xs);
	padding-left: 10px;
}
.table th:last-child {
	border-top-right-radius: var(--radius-xs);
	border-bottom-right-radius: var(--radius-xs);
	padding-right: 10px;
}
.table td:first-child {
	padding-left: 10px;
}
.table td:last-child {
	padding-right: 10px;
}
/* resultados da estratégia (detalhe): cinco métricas por período, número em destaque e chip de porcentagem */
.results-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	margin-top: .75rem;
}
.results-col {
	display: grid;
	justify-items: center;
	gap: .375rem;
	padding: .5rem .25rem;
	border-left: 1px solid var(--border-color);
	text-align: center;
}
.results-col:first-child {
	border-left: 0;
}
.results-label {
	font-size: var(--font-small);
	font-weight: 700;
}
.results-num {
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}
.results-green {
	color: var(--verde-escuro);
}
.results-red {
	color: var(--red-cancel);
}
.results-chip {
	display: inline-block;
	min-width: 56px;
	padding: 2px 8px;
	font-size: .75rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
@media (max-width: 575.98px) {
	.results-grid {
		grid-template-columns: repeat(2, 1fr);
		row-gap: .5rem;
	}
	.results-col {
		border-left: 0;
	}
}
/* cabeçalhos ordenáveis: caret discreto; a coluna ativa mostra a direção via aria-sort */
.table th[role="button"] {
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
}
.table th[role="button"]::after {
	content: "\f0dc";
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	font-size: .7em;
	margin-left: .35em;
	opacity: 0; /* só no hover e na coluna ordenada */
}
.table th[role="button"]:hover {
	color: var(--verde-escuro);
}
.table th[role="button"]:hover::after,
.table th[aria-sort]::after {
	opacity: 1;
}
.table th[aria-sort] {
	color: var(--verde-escuro);
}
.table th[aria-sort="ascending"]::after {
	content: "\f0de";
}
.table th[aria-sort="descending"]::after {
	content: "\f0dd";
}

/* ---------- Formulários ---------- */
.form-control, .form-select {
	background-color: var(--input-bg);
	color: var(--text-color);
	border-color: var(--border-strong);
	font-size: var(--font-body);
}
.form-control-sm, .form-select-sm {
	font-size: var(--font-small);
}
.form-select {
	background-image: var(--select-arrow);
}
.form-control:focus, .form-select:focus {
	background-color: var(--input-bg);
	color: var(--text-color);
	border-color: var(--verde-escuro);
	box-shadow: 0 0 0 .2rem var(--primary-ring);
}
.form-control::placeholder {
	color: var(--text-muted);
	opacity: 1;
}
.form-control:disabled, .form-control[readonly], .form-select:disabled {
	background-color: var(--surface-2);
	color: var(--text-muted);
}
.form-control::file-selector-button {
	background-color: var(--surface-2);
	color: var(--text-color);
	border-color: var(--border-strong);
}
.form-check-input {
	background-color: var(--input-bg);
	border-color: var(--border-strong);
}
.form-check-input:checked {
	background-color: var(--verde-escuro);
	border-color: var(--verde-escuro);
}
.form-check-input:focus {
	border-color: var(--verde-escuro);
	box-shadow: 0 0 0 .2rem var(--primary-ring);
}
/* bolinha do switch desligado: o Bootstrap usa preto a 25%, invisível sobre campo escuro;
   com foco mantém a mesma bolinha (o anel já indica o foco) e ligado segue branca */
.form-switch .form-check-input,
.form-switch .form-check-input:focus:not(:checked) {
	background-image: var(--switch-knob);
}
.input-group-text {
	background-color: var(--surface-2);
	color: var(--text-color);
	border-color: var(--border-strong);
}
/* help text dos formulários crispy */
#hint_id_on_off, #hint_id_activate, #hint_id_delete_signal_message, #hint_id_just_scheduled, #hint_id_show_on_off_message, #hint_id_test_mode, #hint_id_clear_results, #hint_id_on_off_scheduled_message, #hint_id_interrupt_on_amount, #hint_id_gales_signals, #hint_id_score_signals, #hint_id_gales_reply_to, #hint_id_only_one, #hint_id_retry_in_sequence, #hint_id_send_analyzing_message, #hint_id_delete_analyzing_message {
	display: block;
}
/* checkboxes das estratégias */
.roulletes-checkboxes div {
	overflow-y: auto;
	width: 45%;
}
@media (max-width: 768px) {
	.roulletes-checkboxes div {
		width: 100%;
	}
}
/* formulário de grupos */
.expand_config {
	cursor: pointer;
}
.schedule-plus-input {
	max-width: 219px;
}
.schedule-input {
	max-width: 158px;
}

/* ---------- Alertas ---------- */
.alert ul {
	list-style-type: none;
	padding: 0;
}

/* ---------- Dropdowns, modais, cards e listas ---------- */
.dropdown-menu {
	background-color: var(--surface);
	border-color: var(--border-color);
	color: var(--text-color);
	font-size: var(--font-body);
}
.dropdown-item {
	color: var(--text-color);
}
.dropdown-item:hover, .dropdown-item:focus {
	color: var(--text-color);
	background-color: var(--hover-bg);
}
.dropdown-item:active, .dropdown-item.active {
	color: var(--on-primary);
	background-color: var(--ligh-blue);
}
.dropdown-divider {
	border-top-color: var(--border-color);
}
.modal-content {
	background-color: var(--surface);
	border-color: var(--border-color);
	color: var(--text-color);
}
.modal-header, .modal-footer {
	border-color: var(--border-color);
}
.btn-close {
	filter: var(--icon-invert);
}
.card {
	background-color: var(--surface);
	border-color: var(--border-color);
}
.card-header, .card-footer {
	background-color: var(--surface-2);
	border-color: var(--border-color);
}
.list-group-item {
	background-color: var(--surface);
	border-color: var(--border-color);
	color: var(--text-color);
}

/* ---------- Acordeão ---------- */
.accordion-item {
	border-color: var(--border-color);
	border-bottom: 1px solid var(--border-color);
	background-color: transparent;
	border-radius: 0;
}
.accordion-button {
	padding: 10px;
	background-color: transparent;
	color: var(--text-color);
}
.accordion-button::after {
	filter: var(--icon-invert);
}
.accordion-button:not(.collapsed) {
	color: inherit;
	background-color: transparent;
	box-shadow: none;
}
.accordion-header {
	color: var(--text-color);
}
.accordion-body {
	padding: 7px;
}

/* ---------- Tooltips ---------- */
.tooltip {
	font-size: var(--font-small);
}
.tooltip-inner {
	background-color: var(--tooltip-bg);
	color: var(--tooltip-text);
}
.bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
	border-top-color: var(--tooltip-bg);
}
.bs-tooltip-end .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
	border-right-color: var(--tooltip-bg);
}
.bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
	border-bottom-color: var(--tooltip-bg);
}
.bs-tooltip-start .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
	border-left-color: var(--tooltip-bg);
}

/* ---------- Paginação ---------- */
.page-link {
	background-color: var(--surface);
	color: var(--text-muted);
	border-color: var(--border-color);
}
.page-link:hover, .page-link:focus {
	background-color: var(--surface-2);
	color: var(--text-color);
	border-color: var(--border-color);
	box-shadow: none;
}
.page-item.active .page-link {
	z-index: 0;
	background-color: var(--surface-3);
	color: var(--text-color);
	border-color: var(--border-color);
}
.page-item.disabled .page-link {
	background-color: var(--surface);
	color: var(--text-muted);
	border-color: var(--border-color);
}
.page-item:first-child .page-link {
	border-top-left-radius: var(--radius-sm);
	border-bottom-left-radius: var(--radius-sm);
}
.page-item:last-child .page-link {
	border-top-right-radius: var(--radius-sm);
	border-bottom-right-radius: var(--radius-sm);
}

/* ---------- Painel de filtros ---------- */
#filterPanel {
	position: fixed;
	top: 0;
	right: -300px;
	width: 300px;
	height: calc(100% - 48px);
	transition: right .5s;
	z-index: var(--z-filter-panel);
}
#filterPanel .scroll {
	overflow-y: auto;
	position: relative;
	height: calc(100% - 158px);
	top: 0;
}
#filterPanel.open {
	right: 0;
	box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}
#filterPanel .div-btn-filter {
	position: absolute;
	z-index: var(--z-filter-panel);
	bottom: 0;
	width: 100%;
	border-top: 1px solid var(--border-color);
}

/* ---------- Loader ---------- */
.loader {
	position: absolute;
	top: 20%;
	left: 45%;
	transform: translate(-50%, -50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: inline-block;
	border-top: 4px solid var(--white);
	border-right: 4px solid transparent;
	box-sizing: border-box;
	animation: rotation 1s linear infinite;
}
.loader::after {
	content: '';
	box-sizing: border-box;
	position: absolute;
	left: 0;
	top: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border-bottom: 4px solid var(--verde-claro);
	border-left: 4px solid transparent;
}
@keyframes rotation {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* ---------- Toast ---------- */
.wrapper-toast {
	width: 330px;
	padding: 25px 15px;
	position: fixed;
	top: 50px;
	right: 0;
	z-index: -1; /* o JS sobe para 3 ao exibir */
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: flex-end;
}
.wrapper-toast .toast {
	max-width: 330px;
	height: auto;
	padding: 15px 5px 15px 15px;
	background-color: var(--surface);
	color: var(--text-color);
	box-shadow: 0 5px 10px rgba(0, 0, 0, .08);
	border-radius: var(--radius-sm);
	border: 0;
	display: grid;
	grid-template-columns: 1.2fr 6fr .5fr;
	transform: translate(400px);
	transition: opacity .4s ease-in-out, transform .4s ease-in-out;
	opacity: 0;
}
.wrapper-toast .toast.toast-active {
	opacity: 1;
	transform: translateX(0);
}
.border-toast-success {
	border-left: 6px solid var(--verde-escuro);
}
.border-toast-erro {
	border-left: 6px solid var(--red-cancel);
}
.border-toast-info {
	border-left: 6px solid var(--ligh-blue);
}
.border-toast-warning {
	border-left: 6px solid var(--yellow);
}
.container-1, .container-2 {
	align-self: center;
}
.container-1 i {
	font-size: 30px;
}
.container-2 p:first-child {
	font-size: 16px;
	margin: 0;
}
.container-2 p:last-child {
	font-size: 12px;
	font-weight: 400;
	margin: 0;
}
.toast button {
	align-self: flex-start;
	background-color: transparent;
	font-size: 25px;
	line-height: 0;
	color: var(--text-muted);
	cursor: pointer;
	border: 0;
}

/* ---------- Seletor de idioma ---------- */
.custom-select {
	position: relative;
}
.custom-options {
	display: none;
	position: absolute;
	min-width: 100%;
	padding: .25rem;
	background-color: var(--surface);
	color: var(--text-color);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
	z-index: 5;
}
.custom-option {
	padding: .375rem .75rem;
	cursor: pointer;
	border-radius: var(--radius-xs);
	color: var(--text-color);
}
.custom-option:hover {
	background-color: var(--hover-bg);
	color: var(--verde-escuro);
}
.option-svg {
	width: 16px;
	align-items: center;
}

/* ---------- Slide de jogos ---------- */
.swiper-slide > img {
	max-height: 110px;
}

/* ---------- Galeria ---------- */
.gallery-controls {
	top: 5px;
	right: 5px;
	z-index: 2;
}
.gallery-photo-name {
	bottom: 0;
	left: 0;
	z-index: 1;
	position: absolute;
	background-color: var(--overlay-dark);
	border-radius: 0 var(--radius-xs) 0 0;
	font-size: .72rem;
}
.see-image {
	min-height: 150px;
	min-width: 100%;
	aspect-ratio: 1 / 1;
	background-color: var(--hover-bg);
	border-radius: var(--radius-md);
	text-align: center;
	border: 1px dashed var(--border-strong);
	position: relative;
	display: flex;
	justify-content: center;
	overflow: hidden;
	font-size: 3rem;
	color: var(--icon-faint);
	object-fit: contain;
}
.see-image i {
	align-self: center;
}
.see-image img {
	object-fit: contain;
}
.see-image:hover {
	transition: filter .3s;
	filter: brightness(80%);
}
.clear-image {
	position: absolute;
	bottom: 0;
	left: 12px;
	z-index: 2;
	border-radius: 0 var(--radius-md) 0 var(--radius-md);
	font-size: .72rem;
	background-color: var(--overlay-bg);
	color: var(--white);
	padding: 5px;
}
.alert-image {
	position: absolute;
	bottom: 0;
	left: 12px;
	right: 12px;
	z-index: 1;
	border-radius: 0 0 var(--radius-md) var(--radius-md);
	font-size: .72rem;
	background-color: var(--overlay-bg);
	color: var(--red-cancel);
	padding: 5px;
}

/* ---------- Vídeos tutoriais: capa clicável no lugar do iframe ---------- */
.yt-facade {
	cursor: pointer;
	overflow: hidden;
	background-color: var(--black);
}
.yt-facade img {
	object-fit: cover;
}
.yt-play {
	display: flex;
	align-items: center;
	justify-content: center;
}
.yt-play i {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 4px;
	font-size: 1.25rem;
	color: var(--on-primary);
	background-color: var(--overlay-dark);
	transition: transform .15s ease-out, background-color .15s ease-out;
}
.yt-facade:hover .yt-play i, .yt-facade:focus-visible .yt-play i {
	background-color: var(--verde-escuro);
	transform: scale(1.08);
}
.yt-facade:focus-visible {
	outline: 2px solid var(--verde-escuro);
	outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
	.yt-play i {
		transition: none;
	}
}

/* ---------- Telas de autenticação: fundo escuro com grão e card central ---------- */
.auth-page {
	min-height: 100vh;
	display: flex;
	align-items: flex-start; /* card um pouco acima do centro */
	justify-content: center;
	padding: 12vh 1rem 2rem;
	background-color: var(--auth-bg);
	background-image: var(--grain);
	color: var(--auth-text);
}
.auth-card {
	width: 100%;
	max-width: 420px;
	padding: 2rem 1.75rem;
	background-color: var(--auth-surface);
	border: 1px solid var(--auth-border);
	border-radius: var(--radius-md);
	box-shadow: 0 1rem 2rem rgba(0, 0, 0, .35);
}
.auth-brand {
	text-align: center;
	margin-bottom: 1.5rem;
}
.auth-tagline {
	margin: .5rem 0 0;
	font-size: var(--font-small);
	color: var(--auth-muted);
}
.auth-card h4 {
	font-weight: 700;
	margin-bottom: .5rem;
}
.auth-card p, .auth-card li {
	color: var(--auth-muted);
}
.auth-card ul {
	padding-left: 1.25rem;
}
.auth-card .form-label, .auth-card .form-check-label {
	color: var(--auth-text);
}
.auth-card .form-control {
	background-color: var(--auth-input);
	color: var(--auth-text);
	border-color: var(--auth-border-strong);
}
.auth-card .form-control:focus {
	background-color: var(--auth-input);
	color: var(--auth-text);
	border-color: var(--verde-escuro);
}
.auth-card .form-control::placeholder {
	color: var(--auth-muted);
}
.auth-card .form-check-input {
	background-color: var(--auth-input);
	border-color: var(--auth-border-strong);
}
.auth-card .text-muted, .auth-card .form-text {
	color: var(--auth-muted) !important; /* utilitário do Bootstrap nos textos de ajuda */
}
.auth-card .btn-whatsapp {
	padding-top: .625rem;
	padding-bottom: .625rem;
	font-weight: 700;
}
.auth-card .alert {
	font-size: var(--font-small);
}
.auth-link {
	color: var(--auth-muted);
}
.auth-link:hover, .auth-link:focus-visible {
	color: var(--verde-escuro);
}
.auth-status {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin: 1rem 0;
	padding: .625rem .75rem;
	border: 1px dashed var(--auth-border-strong);
	border-radius: var(--radius-sm);
	font-size: var(--font-small);
	font-weight: 700;
}
.auth-password {
	position: relative;
}
.auth-password .form-control {
	padding-right: 2.75rem;
}
.auth-password:has(.is-invalid) + .invalid-feedback {
	display: block; /* o crispy põe o erro como irmão do input; o wrapper do olhinho quebra o seletor do Bootstrap */
}
.auth-password .form-control.is-invalid {
	background-position: right 2.75rem center;
}
.auth-eye {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 2.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	border-radius: var(--radius-sm);
	color: var(--auth-muted);
	cursor: pointer;
}
.auth-eye:hover {
	color: var(--auth-text);
}
.auth-eye:focus-visible {
	color: var(--auth-text);
	outline: 2px solid var(--verde-escuro);
	outline-offset: -2px;
}
@media (max-width: 575.98px) {
	.auth-card {
		padding: 1.5rem 1.25rem;
	}
}

/* ---------- Catalogador: fichas das rodadas ---------- */
.round {
	display: inline-block;
	min-width: 2.4rem;
	padding: .1rem .4rem;
	border-radius: 6px;
	border: 1px solid transparent;
	font-size: .74rem;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	vertical-align: top;
	color: var(--black);
}
.round-red {
	background: var(--red-cancel);
	color: var(--on-primary);
}
.round-black {
	background: var(--black);
	color: var(--on-primary);
	border-color: rgba(255, 255, 255, .25);
}
.round-white {
	background: var(--white);
	color: var(--black);
	border-color: var(--surface-3);
}
.round-blue {
	background: var(--ligh-blue);
}
.round-purple {
	background: var(--purple);
}
.round-pink {
	background: var(--pink);
	color: var(--on-primary);
}
.round-yellow {
	background: var(--yellow);
}
.round-green {
	background: var(--verde-escuro);
}
.round-orange {
	background: var(--orange);
}
.round-grey {
	background: var(--cinza-claro);
	color: var(--black);
}
.round-more {
	background: transparent;
	color: var(--text-color);
	border: 1px dashed var(--text-muted);
	font-family: inherit;
	cursor: pointer;
	opacity: .8;
}
.round-more:hover, .round-more:focus {
	opacity: 1;
	border-style: solid;
}
.round-time {
	display: block;
	font-size: .6rem;
	font-weight: 400;
	line-height: 1.1;
	padding-bottom: .1rem;
	opacity: .85;
}
.sc-legend .round {
	min-width: 1.5rem;
}

/* ---------- Primeiros passos (dashboard): fichas com o estado e só o próximo passo em destaque ---------- */
.onboarding {
	padding: 1rem;
	transition: padding .35s ease;
}
.onboarding.is-collapsed {
	padding: .5rem 1rem;
}
@media (prefers-reduced-motion: reduce) {
	.onboarding {
		transition: none;
	}
}
.onboarding-progress {
	height: 4px;
	margin: .5rem 0 .75rem;
	border-radius: var(--radius-pill);
	background-color: var(--surface-3);
	overflow: hidden;
}
.onboarding-progress span {
	display: block;
	height: 100%;
	border-radius: var(--radius-pill);
	background-color: var(--verde-escuro);
}
.onboarding-chips {
	list-style: none;
	margin: 0 0 .75rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .375rem;
}
.onboarding-chip {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .2rem .625rem .2rem .2rem;
	border-radius: var(--radius-pill);
	background-color: var(--surface-2);
	font-size: var(--font-small);
	font-weight: 600;
	color: var(--text-muted);
}
.onboarding-mark {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: .7rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	background-color: var(--surface-3);
	color: var(--text-color);
}
.onboarding-chip.is-done {
	color: var(--text-color);
}
.onboarding-chip.is-done .onboarding-mark {
	background-color: var(--verde-escuro);
	color: var(--on-primary);
}
.onboarding-chip.is-next {
	color: var(--text-color);
	background-color: var(--soft-success-bg);
}
.onboarding-next {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .75rem;
}
.onboarding-next .onboarding-text {
	flex: 1;
	min-width: 220px;
}

/* ---------- Ícone grande dos estados vazios ---------- */
.empty-icon {
	margin: .5rem 0 1rem;
	font-size: 56px;
	line-height: 1;
	color: var(--text-muted);
	opacity: .6;
}

/* ---------- Upgrade de plano na aside: chip na linha do plano abre a escada e o botão ---------- */
.plan-line {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .375rem;
}
.plan-chip {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	padding: 0 .5rem;
	border: 0;
	border-radius: var(--radius-xs);
	background-color: var(--upgrade-soft);
	color: var(--upgrade);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.7;
	cursor: pointer;
	transition: background-color .15s ease-out, color .15s ease-out;
}
.plan-chip .fas {
	font-size: 10px;
}
.plan-chip:hover, .plan-chip:focus-visible, .plan-chip[aria-expanded="true"] {
	background-color: var(--upgrade);
	color: var(--on-primary);
}
@media (hover: none) {
	.plan-chip {
		padding: .125rem .625rem;
		font-size: 12px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.plan-chip {
		transition: none;
	}
}
.plan-ladder {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 4px;
	margin-top: .75rem;
}
.plan-ladder span {
	display: block;
	height: 6px;
	border-radius: var(--radius-xs);
	background-color: var(--surface-3);
}
.plan-ladder span.is-done {
	background-color: var(--verde-escuro);
}
.plan-ladder span.is-next {
	background-color: var(--upgrade-soft);
	outline: 1px dashed var(--upgrade);
	outline-offset: -1px;
}
.plan-ladder-labels {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 4px;
	margin-top: .25rem;
	font-size: 11px;
	line-height: 1.3;
	color: var(--text-muted);
	text-align: center;
}
.plan-ladder-labels span:first-child {
	text-align: left;
}
.plan-ladder-labels span:last-child {
	text-align: right;
}
.plan-ladder-labels .is-current {
	color: var(--text-color);
	font-weight: 700;
}
.plan-ladder-labels .is-next {
	color: var(--upgrade);
	font-weight: 700;
}
.btn-upgrade {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .375rem;
	width: 100%;
	color: var(--on-primary);
	background: linear-gradient(135deg, var(--upgrade-2) 0%, var(--upgrade) 55%, var(--upgrade-3) 100%);
	border-color: transparent;
	box-shadow: 0 4px 12px var(--upgrade-glow);
}
.btn-upgrade:hover, .btn-upgrade:focus {
	color: var(--on-primary);
	background: linear-gradient(135deg, var(--upgrade) 0%, var(--upgrade-3) 100%);
}

/* ---------- Switch de ligar/desligar (salas e estratégias na listagem): o switch é o status ---------- */
.room-switch {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	width: 36px;
	height: 20px;
	margin: 0;
	cursor: pointer;
}
.room-switch input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}
.room-switch-track {
	position: absolute;
	inset: 0;
	border-radius: var(--radius-pill);
	background-color: var(--surface-3);
	transition: background-color .2s ease-out;
}
.room-switch-track::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background-color: var(--on-primary);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
	transition: transform .2s ease-out;
}
.room-switch input:checked + .room-switch-track {
	background-color: var(--verde-escuro);
}
.room-switch input:checked + .room-switch-track::after {
	transform: translateX(16px);
}
.room-switch.is-busy input + .room-switch-track {
	background-color: var(--yellow); /* mesma especificidade do :checked acima, por isso vem depois */
}
.room-switch.is-busy input + .room-switch-track::after {
	transform: translateX(8px);
}
.room-switch input:disabled + .room-switch-track {
	cursor: default;
}
.room-switch input:focus-visible + .room-switch-track {
	outline: 2px solid var(--verde-escuro);
	outline-offset: 2px;
}
.room-power-state {
	margin-left: .5rem;
	font-weight: 600;
	white-space: nowrap;
}
.room-power-state.is-muted {
	color: var(--text-muted);
}
.room-power-spinner {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: .35rem;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	vertical-align: -2px;
	animation: rotation .8s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
	.room-switch-track, .room-switch-track::after {
		transition: none;
	}
	.room-power-spinner {
		animation: none;
	}
}

/* ---------- Deals ---------- */
.deal-logo {
	height: 55px;
	overflow: hidden;
	object-fit: contain;
}

/* ---------- Planos ---------- */
.plans {
	background-color: var(--background-color); /* fundo da página, para os cards (surface) terem contraste */
}
.plans-hero h1 {
	font-size: clamp(24px, 3.4vw, 34px);
	line-height: 1.15;
}
.plans-hero p {
	max-width: 58ch;
	margin: .625rem auto 0;
	font-size: 15px;
	color: var(--text-muted);
}
.plans-rooms {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 1.25rem;
	padding: 4px;
	border-radius: var(--radius-md);
	background-color: var(--surface);
	border: 1px solid var(--border-color);
}
.plans-rooms span {
	padding: 0 .625rem 0 .5rem;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--text-muted);
}
.plans-rooms button {
	font: inherit;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--text-color);
	background: transparent;
	border: 0;
	border-radius: var(--radius-sm);
	padding: .5rem 1rem;
	cursor: pointer;
}
.plans-rooms button[aria-pressed="true"] {
	background-color: var(--verde-escuro);
	color: var(--on-primary);
}
.plans-rooms-hint {
	margin-top: .625rem;
	font-size: 12.5px;
	color: var(--text-muted);
}
.plan-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1.5rem 1.375rem 1.25rem;
	background-color: var(--surface);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}
.plan-card.is-featured {
	border-color: var(--verde-escuro);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}
.plan-flag {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	padding: 4px 12px;
	border-radius: var(--radius-pill);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #3d2f00;
	background-color: var(--gold);
}
.plan-flag.is-mine {
	color: var(--badge-text);
	background-color: var(--soft-success-bg);
}
.plan-name {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: 20px;
	font-weight: 900;
}
.plan-emoji {
	font-size: 22px;
}
.plan-tagline {
	margin-top: 2px;
	font-size: 13px;
	color: var(--text-muted);
}
.plan-price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: .375rem;
	margin-top: 1rem;
}
.plan-cur {
	font-size: 16px;
	font-weight: 700;
	color: var(--text-muted);
}
.plan-val {
	font-size: 42px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums;
}
.plan-per {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-muted);
}
.plan-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .5rem;
	margin-top: .375rem;
	font-size: 12.5px;
	color: var(--text-muted);
}
.plan-save {
	padding: 1px .5rem;
	border-radius: var(--radius-xs);
	font-size: 11px;
	font-weight: 800;
	color: var(--badge-text);
	background-color: var(--soft-success-bg);
}
.plan-rooms {
	margin-top: 2px;
	font-size: 12.5px;
	color: var(--text-muted);
}
.plan-feats {
	flex: 1;
	display: grid;
	gap: .5rem;
	margin: 1.125rem 0 0;
	padding: 1.125rem 0 0;
	border-top: 1px solid var(--border-color);
	list-style: none;
	font-size: 13.5px;
}
.plan-feats li {
	display: flex;
	align-items: flex-start;
	gap: .5rem;
}
.plan-feats li > .fas {
	flex: 0 0 auto;
	margin-top: 3px;
	font-size: 12px;
	color: var(--verde-escuro);
}
.plan-feats li.is-plus {
	font-weight: 800;
	color: var(--verde-escuro);
}
.plan-cta {
	margin-top: 1.25rem;
}
.plan-cta .btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	width: 100%;
	padding: .75rem 1rem;
	font-size: 15px;
	font-weight: 800;
	border-radius: var(--radius-sm);
}
.btn-plan-ghost {
	color: var(--text-color);
	background-color: transparent;
	border-color: var(--border-strong);
}
.btn-plan-ghost:hover {
	color: var(--text-color);
	border-color: var(--text-muted);
}
.btn-plan-current {
	color: var(--text-muted);
	background-color: var(--surface-2);
	border-color: var(--surface-2);
	cursor: default;
}
.plan-trust {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .375rem;
	margin-top: .625rem;
	font-size: 11.5px;
	color: var(--text-muted);
}
.plans-compare {
	margin-top: 1.375rem;
	text-align: center;
}
.plans-compare > .btn {
	font-weight: 700;
}
.plans-compare > .btn .fas {
	margin-left: .375rem;
	transition: transform .2s ease-out;
}
.plans-compare > .btn[aria-expanded="true"] .fas {
	transform: rotate(180deg);
}
.plans-table {
	margin-top: 1rem;
	overflow-x: auto;
	text-align: left;
	background-color: var(--surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
}
.plans-table table {
	width: 100%;
	min-width: 640px;
	margin: 0;
	border-collapse: collapse;
	font-size: 13.5px;
}
.plans-table th, .plans-table td {
	padding: .625rem .875rem;
	text-align: center;
	border-bottom: 1px solid var(--border-color);
}
.plans-table th:first-child, .plans-table td:first-child {
	text-align: left;
}
.plans-table thead th {
	font-size: 13px;
	font-weight: 800;
	background-color: var(--surface-2);
}
.plans-table thead th.is-featured {
	color: var(--verde-escuro);
}
.plans-table tbody tr:last-child td {
	border-bottom: 0;
}
.plans-table tbody tr:hover td {
	background-color: var(--hover-bg); /* mesmo hover das tabelas do painel */
}
.plans-table td .fas {
	color: var(--verde-escuro);
}
.plans-table td .plans-dash {
	color: var(--surface-3);
	font-weight: 700;
}
.plans-table td small {
	display: block;
	font-size: 11.5px;
	color: var(--text-muted);
}
.plans-panel {
	display: flex;
	align-items: center;
	gap: 1rem;
	height: 100%;
	padding: 1.25rem 1.375rem;
	background-color: var(--surface);
	border: 1px solid var(--border-color);
	border-radius: 16px;
}
.plans-panel .plans-panel-body {
	flex: 1;
	min-width: 0;
}
.plans-panel h3 {
	font-size: 17px;
	font-weight: 900;
	margin: 0;
}
.plans-panel p {
	margin: .25rem 0 0;
	font-size: 13.5px;
	color: var(--text-muted);
}
.plans-panel .btn {
	margin-top: .625rem;
}
.plans-seal {
	flex: 0 0 auto;
	width: 88px;
	height: auto;
}
.plans-faq h2 {
	font-size: 22px;
	font-weight: 900;
	text-align: center;
	margin: 0;
}
.plans-faq .plans-faq-lead {
	margin: .375rem 0 1rem;
	text-align: center;
	color: var(--text-muted);
}
.plans-faq details {
	margin-bottom: .625rem;
	padding: 0 1.125rem;
	background-color: var(--surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
}
.plans-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	padding: .875rem 0;
	list-style: none;
	font-size: 14.5px;
	font-weight: 800;
	cursor: pointer;
}
.plans-faq summary::-webkit-details-marker {
	display: none;
}
.plans-faq summary .fas {
	flex: 0 0 auto;
	color: var(--text-muted);
	transition: transform .2s ease-out;
}
.plans-faq details[open] summary .fas {
	transform: rotate(180deg);
}
.plans-faq .plans-faq-answer {
	max-width: 75ch;
	padding: 0 0 .875rem;
	font-size: 13.5px;
	color: var(--text-muted);
}
.plans-notice {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin: 2rem 0 0; /* largura total, como os outros blocos da página */
	padding: 1.125rem 1.375rem;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--text-muted);
	background-color: var(--surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
}
.plans-notice b {
	color: var(--text-color);
}
.plans-notice-age {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 2px solid var(--text-muted);
	border-radius: 50%;
	font-size: 12px;
	font-weight: 900;
	color: var(--text-color);
}
.plans-footer {
	margin-top: 1.75rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border-color);
	font-size: 12px;
	color: var(--text-muted);
}
.plans-sticky {
	display: none;
}
@media (max-width: 767.98px) {
	.plans-sticky {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 5;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: .625rem;
		padding: .625rem 1rem calc(.625rem + env(safe-area-inset-bottom, 0px));
		font-size: 13px;
		background-color: var(--surface);
		border-top: 1px solid var(--border-color);
		box-shadow: 0 -6px 20px rgba(0, 0, 0, .12);
	}
	.plans-sticky b {
		display: block;
		font-size: 15px;
	}
	.plans-sticky .btn {
		font-weight: 800;
	}
	.plans {
		padding-bottom: 6rem !important; /* espaço para a barra fixa; o py-5 do Bootstrap é !important */
	}
}
@media (prefers-reduced-motion: reduce) {
	.plans-compare > .btn .fas, .plans-faq summary .fas {
		transition: none;
	}
}
/* ---------- Planos: vitrine "do zero ao primeiro sinal" (escondida para o sinaisPro) ---------- */
.plans-tour {
	margin-top: 3rem;
}
.plans-tour-head {
	text-align: center;
}
.plans-tour-head h2 {
	font-size: clamp(22px, 2.6vw, 28px);
	font-weight: 900;
	line-height: 1.15;
	text-wrap: balance;
}
.plans-tour-head p {
	max-width: 62ch;
	margin: .5rem auto 0;
	font-size: 15px;
	color: var(--text-muted);
}
.plans-step {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 2.5rem;
	align-items: center;
	margin-top: 2.5rem;
}
.plans-step.is-reverse .plans-shot {
	order: 2; /* no desktop a tela alterna de lado */
}
.plans-shot {
	overflow: hidden;
	background-color: var(--surface);
	border: 1px solid var(--border-color);
	border-radius: 14px;
}
.plans-shot-bar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: .5rem .75rem;
	background-color: var(--surface-2);
	border-bottom: 1px solid var(--border-color);
}
.plans-shot-bar > span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: var(--surface-3);
}
.plans-shot-bar > .plans-shot-url {
	flex: 1 1 auto;
	width: auto;
	height: 18px;
	margin-left: .5rem;
	padding: 0 .5rem;
	border-radius: 5px;
	background-color: var(--surface);
	font-size: 11px;
	line-height: 18px;
	color: var(--text-muted);
}
.plans-shot-img {
	aspect-ratio: 16 / 7;
	overflow: hidden;
	background-color: var(--background-color);
}
.plans-shot-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top left;
}
.plans-shot-img.is-wide {
	aspect-ratio: 1280 / 356; /* a tela de salas é curta: quadro na proporção da captura */
}
.plans-step-body h3 {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin: 0;
	font-size: 22px;
	font-weight: 900;
	line-height: 1.2;
}
.plans-step-num {
	flex: 0 0 auto;
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	font-size: 16px;
	font-weight: 900;
	color: var(--badge-text);
	background-color: var(--soft-success-bg);
}
.plans-step-body p {
	margin: .625rem 0 0;
	font-size: 15px;
	color: var(--text-muted);
}
.plans-step-body ul {
	display: grid;
	gap: .5rem;
	margin: .875rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 14.5px;
}
.plans-step-body li {
	display: flex;
	align-items: flex-start;
	gap: .5rem;
}
.plans-step-body li .fas {
	flex: 0 0 auto;
	margin-top: 3px;
	font-size: 14px;
	color: var(--verde-escuro);
}
.plans-chat {
	width: min(100%, 360px);
	margin: 0 auto;
	overflow: hidden;
	background-color: var(--surface-2);
	border: 1px solid var(--border-color);
	border-radius: 18px;
	font-size: 13px;
	line-height: 1.45;
}
.plans-chat-head {
	display: flex;
	align-items: center;
	gap: .625rem;
	padding: .625rem .875rem;
	color: var(--navbar-link);
	background-color: var(--black);
}
.plans-chat-head > span:last-child {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}
.plans-chat-head small {
	font-size: 11px;
	opacity: .7;
}
.plans-chat-avatar {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-weight: 900;
	color: var(--on-primary);
	background-color: var(--verde-escuro);
}
.plans-chat-body {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	padding: .75rem;
}
.plans-chat-msg {
	align-self: flex-start;
	max-width: 88%;
	padding: .4375rem .625rem;
	color: var(--text-color);
	background-color: var(--surface);
	border-radius: 12px 12px 12px 4px;
}
.plans-chat-msg time {
	font-size: 10px;
	color: var(--text-muted);
}
.plans-chat-btn {
	display: block;
	margin-top: .375rem;
	padding: .375rem .5rem;
	border-radius: 8px;
	text-align: center;
	font-weight: 800;
	color: var(--badge-text);
	background-color: var(--soft-success-bg);
}
.plans-phone {
	width: min(100%, 290px);
	margin: 0 auto;
	padding: 10px;
	background-color: var(--black);
	border: 1px solid var(--border-strong); /* no tema escuro a moldura preta se confundia com o fundo */
	border-radius: 34px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}
.plans-phone-screen {
	aspect-ratio: 9 / 17.5;
	overflow: hidden;
	border-radius: 24px;
	background-color: var(--background-color);
}
.plans-phone-screen img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}
.plans-step-num .fas {
	font-size: 15px;
}
.plans-tour-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem;
	margin-top: 2.5rem;
}
.plans-tour-cta .btn {
	font-weight: 800;
}
@media (max-width: 767.98px) {
	.plans-step {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
		margin-top: 2rem;
	}
	.plans-step.is-reverse .plans-shot {
		order: 0; /* no celular a tela vem sempre antes do texto */
	}
	.plans-shot-img, .plans-shot-img.is-wide {
		aspect-ratio: 16 / 9; /* no celular todas as telas mostram o canto superior esquerdo ampliado */
	}
}
@keyframes fall {
	0% {
		opacity: 0;
		transform: translateY(-100%);
	}
	50% {
		opacity: 1;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}
.price_new {
	position: relative;
	display: inline-block;
	animation: fall .1s ease-in-out;
}
