/* Agendasoft - Site institucional - Moderno e minimalista */
:root {
	--inst-primary: #2563eb;
	--inst-primary-hover: #1d4ed8;
	--inst-light: #eff6ff;
	--inst-muted: #64748b;
	--inst-border: #e2e8f0;
	--inst-radius: 12px;
	--inst-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
	--inst-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
}

.inst-body {
	font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
	color: #1e293b;
	line-height: 1.6;
}

/* Conteúdo centralizado - evita telas esticadas */
.inst-main {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.inst-container {
	max-width: 1140px;
	width: 100%;
	margin: 0 auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

/* Navbar - mesma largura máxima do conteúdo */
.inst-nav .container {
	max-width: 1140px;
	margin: 0 auto;
}
.inst-nav {
	background: #fff !important;
	box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.06);
}
.inst-nav .navbar-brand {
	font-weight: 700;
	color: #1e293b !important;
	font-size: 1.2rem;
}
.inst-nav .nav-link {
	color: #475569 !important;
	font-weight: 500;
	padding: 0.5rem 0.75rem !important;
	border-radius: 8px;
}
.inst-nav .nav-link:hover {
	color: var(--inst-primary) !important;
	background: var(--inst-light);
}
.inst-nav .btn-login {
	background: var(--inst-primary);
	color: #fff !important;
	padding: 0.4rem 1rem;
	border-radius: 8px;
	font-weight: 600;
}
.inst-nav .btn-login:hover {
	background: var(--inst-primary-hover);
	color: #fff !important;
}

/* Hero + conteúdo */
.inst-hero {
	padding: 3rem 0 4rem;
	text-align: center;
}
.inst-hero .inst-logo {
	max-height: 80px;
	width: auto;
	margin-bottom: 1.5rem;
}
.inst-hero h1 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 1rem;
}
.inst-hero .lead {
	color: var(--inst-muted);
	font-size: 1.1rem;
	max-width: 560px;
	margin: 0 auto 1.5rem;
}
.inst-btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--inst-primary);
	color: #fff;
	padding: 0.75rem 1.5rem;
	border-radius: var(--inst-radius);
	font-weight: 600;
	border: none;
	text-decoration: none;
	transition: background 0.2s;
}
.inst-btn-primary:hover {
	background: var(--inst-primary-hover);
	color: #fff;
}
.inst-btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: transparent;
	color: var(--inst-primary);
	padding: 0.75rem 1.5rem;
	border-radius: var(--inst-radius);
	font-weight: 600;
	border: 2px solid var(--inst-primary);
	text-decoration: none;
	transition: all 0.2s;
}
.inst-btn-outline:hover {
	background: var(--inst-light);
	color: var(--inst-primary);
}

/* Seção Sobre + Funcionalidades */
.inst-section {
	padding: 3rem 0;
}
.inst-section-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 0.5rem;
}
.inst-section-sub {
	color: var(--inst-muted);
	margin-bottom: 2rem;
}
.inst-card {
	background: #fff;
	border: 1px solid var(--inst-border);
	border-radius: var(--inst-radius);
	box-shadow: var(--inst-shadow);
	padding: 1.5rem;
	height: 100%;
	transition: box-shadow 0.2s, border-color 0.2s;
}
.inst-card:hover {
	box-shadow: var(--inst-shadow-lg);
	border-color: #cbd5e1;
}
.inst-card .inst-icon {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	background: var(--inst-light);
	color: var(--inst-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	margin-bottom: 1rem;
}
.inst-card h3 {
	font-size: 1.1rem;
	font-weight: 600;
	color: #0f172a;
	margin-bottom: 0.5rem;
}
.inst-card p {
	color: var(--inst-muted);
	font-size: 0.95rem;
	margin: 0;
}

/* Carrinho / resumo do plano no cadastro */
.inst-cart-card {
	background: #fff;
	border: 1px solid var(--inst-border);
	border-radius: var(--inst-radius);
	box-shadow: var(--inst-shadow);
	overflow: hidden;
}
.inst-cart-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--inst-light);
	color: var(--inst-primary);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.75rem 1.25rem;
	border-bottom: 1px solid var(--inst-border);
}
.inst-cart-icon {
	font-size: 1.1rem;
	opacity: 0.9;
}
.inst-cart-body {
	padding: 1.25rem 1.5rem;
}
.inst-cart-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 0.5rem;
}
.inst-cart-row:last-of-type {
	margin-bottom: 0.75rem;
}
.inst-cart-label {
	font-size: 0.875rem;
	color: var(--inst-muted);
}
.inst-cart-nome {
	font-weight: 600;
	color: #0f172a;
}
.inst-cart-valor {
	font-weight: 700;
	color: var(--inst-primary);
	font-size: 1.1rem;
}
.inst-cart-desc {
	font-size: 0.875rem;
	color: var(--inst-muted);
	line-height: 1.45;
	padding-top: 0.75rem;
	border-top: 1px dashed var(--inst-border);
}

/* Formulário cadastro */
.inst-form-page {
	max-width: 900px;
	margin: 0 auto;
	padding: 2rem 0 3rem;
}
.inst-form-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 0.25rem;
}
.inst-form-sub {
	color: var(--inst-muted);
	margin-bottom: 1.5rem;
}
.inst-form-card {
	background: #fff;
	border: 1px solid var(--inst-border);
	border-radius: var(--inst-radius);
	box-shadow: var(--inst-shadow);
	padding: 2rem;
}
.inst-form-card .form-group label {
	font-weight: 600;
	color: #334155;
	margin-bottom: 0.35rem;
}
.inst-form-card .form-control {
	border-radius: 8px;
	border: 1px solid var(--inst-border);
	padding: 0.6rem 0.75rem;
}
.inst-form-card .form-control:focus {
	border-color: var(--inst-primary);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.inst-form-section {
	margin-bottom: 1.75rem;
}
.inst-form-section-title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--inst-primary);
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.inst-form-section-title .fa {
	opacity: 0.9;
}
.inst-checkbox-label {
	font-size: 0.95rem;
	color: #475569;
}
.inst-checkbox-label a {
	color: var(--inst-primary);
	font-weight: 500;
}
.inst-hint {
	font-size: 0.8rem;
	color: var(--inst-muted);
	margin-top: 0.25rem;
}
.inst-submit-btn {
	width: 100%;
	padding: 0.9rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	border-radius: var(--inst-radius);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

/* Pagamento (step 2) */
.inst-ativar-conta-oculto {
	display: none !important;
}

.inst-plan-card {
	border: 2px solid var(--inst-primary);
	background: var(--inst-light);
	border-radius: var(--inst-radius);
	padding: 1.5rem;
	margin-bottom: 1.5rem;
}
.inst-plan-card h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 0.5rem;
}
.inst-steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 2rem;
}
.inst-step {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--inst-border);
	color: var(--inst-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 0.9rem;
}
.inst-step.ativo {
	background: var(--inst-primary);
	color: #fff;
}
.inst-step.concluido {
	background: #22c55e;
	color: #fff;
}

/* Footer - mesma largura máxima */
.inst-footer .container {
	max-width: 1140px;
	margin: 0 auto;
}

/* Rodapé - padrão institucional (fundo escuro, 3 colunas) */
.inst-footer {
	background: #1e3a5f;
	color: #fff;
	padding: 1.5rem 0;
	font-size: 0.9rem;
}
.inst-footer-inner {
	min-height: 60px;
}
.inst-footer-brand {
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.25rem;
}
.inst-footer-slogan {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.85);
}
.inst-footer-date,
.inst-footer-copy {
	color: rgba(255, 255, 255, 0.9);
}
.inst-footer-copy {
	margin-top: 0.25rem;
	font-size: 0.85rem;
}
.inst-footer-link {
	color: #fff;
	text-decoration: underline;
}
.inst-footer-link:hover {
	color: rgba(255, 255, 255, 0.9);
}
.inst-footer-email-icon {
	margin-right: 0.35rem;
	opacity: 0.9;
}
.inst-footer-email .inst-footer-link {
	text-decoration: none;
}
.inst-footer-email .inst-footer-link:hover {
	text-decoration: underline;
}

/* Utilitários */
.inst-alert {
	border-radius: var(--inst-radius);
}

/* Fale Conosco: e-mail dentro do card */
.inst-card a[href^="mailto:"] {
	word-break: break-all;
	max-width: 100%;
}
