:root {
	--app-bg: #f4f6f8;
	--app-panel: #fff;
	--app-ink: #172033;
	--app-muted: #526173;
	--app-border: #d8dee8;
	--app-border-soft: #e1e7ee;
	--app-nav: #0a0e1a;
	--app-nav-panel: #0d1117;
	--app-nav-hover: #111827;
	--app-focus: rgba(47, 111, 62, 0.4);
	--app-shadow: 0 12px 30px rgba(16, 24, 40, 0.07);
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--app-bg);
	color: var(--app-ink);
	-webkit-text-size-adjust: 100%;
}

body.app-nav-open {
	overflow: hidden;
}

a,
button,
input,
select,
textarea {
	-webkit-tap-highlight-color: rgba(47, 111, 62, 0.16);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--app-focus) !important;
	outline-offset: 3px !important;
}

.fade.in {
	opacity: 1;
}

.collapse.in {
	display: block;
}

.modal.in {
	display: block;
}

.modal.in .modal-dialog {
	transform: none;
}

.modal-backdrop.in {
	opacity: .5;
}

.skip-link {
	background: #fff;
	border: 1px solid var(--app-border);
	border-radius: 8px;
	color: var(--app-ink);
	font-size: 13px;
	font-weight: 900;
	left: 14px;
	line-height: 1;
	padding: 12px 14px;
	position: fixed;
	text-decoration: none;
	top: 12px;
	transform: translateY(-160%);
	transition: transform 0.16s ease;
	z-index: 1400;
}

.skip-link:focus,
.skip-link:focus-visible {
	transform: translateY(0);
}

.app-skip-target {
	display: block;
	height: 1px;
	outline: none;
	width: 1px;
}

.topbar,
.sidenav,
.app-bottom-nav {
	-webkit-font-smoothing: antialiased;
}

.topbar-menu-btn,
.sidenav-close,
.app-bottom-nav-item {
	min-height: 44px;
	min-width: 44px;
}

.topbar-brand:focus-visible,
.topbar-menu-btn:focus-visible,
.sidenav-close:focus-visible,
.sidenav-item:focus-visible,
.app-bottom-nav-item:focus-visible {
	outline-color: rgba(255, 255, 255, 0.42) !important;
}

.sidenav {
	box-shadow: 20px 0 50px rgba(2, 6, 23, 0.3);
}

.sidenav-header {
	position: relative;
}

.sidenav-close {
	align-items: center;
	background: #111827;
	border: 1px solid #1e2a3a;
	border-radius: 8px;
	color: #cbd5e1;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 18px;
	justify-content: center;
	margin-left: auto;
	padding: 0;
}

.sidenav-close:hover,
.sidenav-close:focus {
	background: #1e2a3a;
	color: #fff;
}

.sidenav-item {
	border-left: 3px solid transparent;
}

.sidenav-item.is-active {
	background: #111827;
	border-left-color: currentColor;
	color: #f8fafc;
}

.sidenav-item.is-active .sidenav-item-icon {
	background: #1e2a3a;
}

.home-event-panel {
	padding: 28px 20px 28px 24px;
}

.home-event-summary-content,
.event-context-inner,
.guests-hero,
.minha-agenda-hero,
.profile-hero,
.activity-hero,
.app-info-hero,
.sponsors-hero {
	max-width: 1060px;
}

.guests-hero,
.minha-agenda-hero,
.profile-hero,
.activity-hero,
.app-info-hero,
.sponsors-hero {
	align-items: flex-start;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--app-border);
	border-radius: 0;
	box-shadow: none;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin: 0 auto 24px;
	padding: 0 20px 22px;
}

.activity-hero {
	border-left: 5px solid #97bf0c;
	padding-left: 20px;
}

.guests-heading,
.minha-agenda-heading,
.profile-hero-main,
.app-info-heading,
.sponsors-heading {
	align-items: flex-start;
	display: flex;
	gap: 14px;
	min-width: 0;
}

.guests-icon,
.minha-agenda-icon,
.app-info-icon,
.sponsors-icon {
	align-items: center;
	background: #eaf4eb;
	border: 1px solid #c7ddc7;
	border-radius: 8px;
	color: #2f6f3e;
	display: flex;
	flex: 0 0 44px;
	font-size: 20px;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.home-event-kicker,
.event-context-kicker,
.guests-kicker,
.minha-agenda-kicker,
.profile-kicker,
.activity-kicker,
.app-info-kicker,
.sponsors-kicker {
	color: #6b7280;
	display: block;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0;
	margin-bottom: 5px;
	text-transform: uppercase;
}

.home-event-kicker {
	align-self: flex-start;
	background: #edf7ee;
	border: 1px solid #c7ddc7;
	border-radius: 999px;
	color: #2f6f3e;
	padding: 8px 12px;
}

.home-event-summary-content h1,
.event-context-title,
.guests-heading h1,
.minha-agenda-heading h1,
.profile-heading h1,
.activity-hero h1,
.app-info-heading h1,
.sponsors-heading h1 {
	color: var(--app-ink);
	font-family: "Roboto", sans-serif;
	font-size: 30px !important;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.15;
	margin: 0 !important;
	text-shadow: none;
}

.home-event-summary-content h1 {
	font-size: 34px !important;
	max-width: 860px;
}

.activity-hero h1 {
	max-width: 760px;
}

.guests-heading p,
.minha-agenda-heading p,
.profile-heading p,
.app-info-heading p,
.sponsors-heading p {
	color: var(--app-muted);
	font-size: 15px;
	line-height: 1.45;
	margin: 8px 0 0;
	max-width: 620px;
}

.home-event-actions,
.minha-agenda-actions,
.profile-actions,
.activity-hero-actions,
.app-info-actions,
.sponsors-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.home-button,
.guests-button,
.minha-agenda-button,
.profile-button,
.activity-button,
.app-info-button,
.sponsors-button {
	align-items: center;
	border-radius: 8px;
	display: inline-flex;
	font-size: 13px;
	font-weight: 900;
	gap: 8px;
	justify-content: center;
	line-height: 1;
	min-height: 42px;
	padding: 0 14px;
	text-transform: uppercase;
}

.home-button .fa,
.guests-button .fa,
.minha-agenda-button .fa,
.profile-button .fa,
.activity-button .fa,
.app-info-button .fa,
.sponsors-button .fa {
	line-height: 1;
	margin-top: 0;
}

.app-info-button,
.sponsors-button {
	background: #111827;
	border: 1px solid #111827;
	color: #fff;
	text-decoration: none;
}

.app-info-button:hover,
.app-info-button:focus,
.sponsors-button:hover,
.sponsors-button:focus {
	background: #2f3644;
	border-color: #2f3644;
	color: #fff;
	text-decoration: none;
}

.app-info-page,
.sponsors-page {
	background: var(--app-bg);
	min-height: calc(100vh - 55px);
	padding: 32px 0 64px;
}

.app-info-panel,
.sponsors-groups {
	margin: 0 auto;
	max-width: 1060px;
	padding: 0 20px;
}

.app-info-panel {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-info-section,
.sponsors-group,
.sponsors-empty {
	background: #fff;
	border: 1px solid var(--app-border-soft);
	border-radius: 8px;
	box-shadow: var(--app-shadow);
}

.app-info-section {
	color: var(--app-muted);
	font-size: 15px;
	line-height: 1.6;
	padding: 18px;
}

.app-info-section-kicker,
.sponsors-group-kicker {
	color: #6b7280;
	display: block;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0;
	margin-bottom: 5px;
	text-transform: uppercase;
}

.app-info-section h2,
.sponsors-group-header h2 {
	color: var(--app-ink);
	font-family: "Roboto", sans-serif;
	font-size: 22px;
	font-weight: 900;
	line-height: 1.2;
	margin: 0;
}

.app-info-section h3 {
	color: var(--app-ink);
	font-size: 16px;
	font-weight: 900;
	line-height: 1.25;
	margin: 18px 0 8px;
}

.app-info-section p {
	line-height: 1.6;
	margin: 12px 0 0;
}

.app-info-section a {
	font-weight: 900;
}

.sponsors-groups {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.sponsors-group {
	padding: 18px;
}

.sponsors-group-header {
	border-bottom: 1px solid #edf1f5;
	margin-bottom: 16px;
	padding-bottom: 12px;
}

.sponsors-list {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.sponsor-logo-card {
	align-items: center;
	background: #fff;
	border: 1px solid var(--app-border-soft);
	border-radius: 8px;
	display: flex;
	justify-content: center;
	min-height: 132px;
	padding: 18px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.sponsor-logo-card:hover,
.sponsor-logo-card:focus {
	border-color: #b6d2ba;
	box-shadow: var(--app-shadow);
	transform: translateY(-2px);
}

.sponsor-logo-card img {
	display: block;
	height: auto;
	max-height: 86px;
	max-width: 100%;
	object-fit: contain;
}

.sponsors-empty {
	align-items: center;
	color: var(--app-muted);
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: center;
	min-height: 300px;
	padding: 44px 24px;
	text-align: center;
}

.sponsors-empty-icon {
	align-items: center;
	background: #eaf4eb;
	border: 1px solid #c7ddc7;
	border-radius: 8px;
	color: #2f6f3e;
	display: flex;
	font-size: 24px;
	height: 54px;
	justify-content: center;
	width: 54px;
}

.sponsors-empty h2 {
	color: var(--app-ink);
	font-size: 22px;
	font-weight: 900;
	line-height: 1.2;
	margin: 6px 0 0;
}

.sponsors-empty p {
	font-size: 15px;
	line-height: 1.5;
	margin: 0;
	max-width: 360px;
}

.event-context-bar {
	background: #fff;
	border-bottom: 1px solid var(--app-border);
}

.event-context-inner {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1140px;
	padding: 18px 20px;
}

.event-context-kicker {
	color: #6b7280;
	display: block;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0;
	margin-bottom: 5px;
	text-transform: uppercase;
}

.event-context-title {
	color: var(--app-ink);
	font-family: "Roboto", sans-serif;
	font-size: 22px !important;
	font-weight: 900;
	line-height: 1.2;
	margin: 0 !important;
}

.event-context-note {
	align-items: center;
	background: #fff8e1;
	border: 1px solid #f0d48a;
	border-radius: 8px;
	color: #5d4300;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 800;
	gap: 8px;
	line-height: 1.35;
	margin: 0;
	max-width: 360px;
	padding: 10px 12px;
}

.event-context-note .fa {
	flex: 0 0 auto;
}

.modal-content {
	border: 0;
	border-radius: 8px;
	box-shadow: 0 22px 70px rgba(16, 24, 40, 0.24);
	overflow: hidden;
}

.modal-header {
	background: #0a0e1a;
	border-bottom: 0;
	color: #fff;
	padding: 18px 20px;
}

.modal-title {
	color: inherit;
	font-weight: 900;
	line-height: 1.25;
}

.modal-body {
	color: var(--app-muted);
	font-size: 15px;
	line-height: 1.55;
	padding: 20px;
}

.modal-body p {
	line-height: 1.55;
	margin: 0 0 14px;
}

.modal-body p:last-child {
	margin-bottom: 0;
}

.modal-footer {
	align-items: center;
	background: #f8fafc;
	border-top: 1px solid var(--app-border-soft);
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
	padding: 14px 20px;
}

.modal-footer input[type="checkbox"] {
	margin: 0;
}

.modal-footer label {
	color: var(--app-ink);
	cursor: pointer;
	font-size: 14px;
	font-weight: 800;
	margin: 0 auto 0 0;
}

.modal-footer .btn {
	border-radius: 8px;
	font-weight: 900;
	min-height: 42px;
	width: auto;
}

.modal-footer .btn:disabled {
	cursor: not-allowed;
	opacity: 0.62;
}

.home-action-card,
.cover-event-card,
.agenda-activity-card,
.minha-agenda-card,
.guest-card-link,
.profile-panel {
	will-change: transform;
}

@media (hover: none) {
	.home-action-card:hover,
	.cover-event-card:hover,
	.agenda-activity-card:hover,
	.guest-card-link:hover {
		transform: none;
	}
}

@media (max-width: 767px) {
	.topbar {
		padding: 0 12px;
	}

	.topbar-brand-name {
		font-size: 14px;
	}

	.sidenav {
		max-width: calc(100vw - 42px);
		width: 300px;
	}

	.sidenav-header {
		padding-right: 14px;
	}

	.event-context-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
		padding: 16px;
	}

	.event-context-title {
		font-size: 19px !important;
	}

	.event-context-note {
		max-width: none;
		width: 100%;
	}

	.home-event-panel {
		padding: 24px 16px 26px;
	}

	.app-info-page,
	.sponsors-page {
		padding: 22px 0 44px;
	}

	.app-info-panel,
	.sponsors-groups {
		padding: 0 16px;
	}

	.app-info-panel {
		grid-template-columns: 1fr;
	}

	.guests-hero,
	.minha-agenda-hero,
	.profile-hero,
	.activity-hero,
	.app-info-hero,
	.sponsors-hero {
		flex-direction: column;
		gap: 16px;
		padding: 0 16px 18px;
	}

	.activity-hero {
		margin-left: auto;
		margin-right: auto;
	}

	.home-event-summary-content h1,
	.event-context-title,
	.guests-heading h1,
	.minha-agenda-heading h1,
	.profile-heading h1,
	.activity-hero h1,
	.app-info-heading h1,
	.sponsors-heading h1 {
		font-size: 25px !important;
	}

	.home-event-actions,
	.minha-agenda-actions,
	.profile-actions,
	.activity-hero-actions,
	.app-info-actions,
	.sponsors-actions,
	.home-button,
	.guests-button,
	.minha-agenda-button,
	.profile-button,
	.activity-button,
	.app-info-button,
	.sponsors-button {
		width: 100%;
	}

	.modal-dialog {
		margin: 12px;
	}

	.modal-footer {
		align-items: stretch;
		flex-direction: column;
	}

	.modal-footer label {
		margin: 0;
	}

	.modal-footer .btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
