/* ============================================================
   09-components.css — Componentes reutilizáveis
   Mesmo que hoje usado em uma página, são componentes com
   identidade própria que podem ser reaproveitados.
   ============================================================ */

/* =====  Counter Minimal  ===== */
.counter-minimal { position: relative; text-align: center; color: black; }
.counter-minimal-icon { font-size: 24px; line-height: 1; color: #354879; }
.counter-minimal-main {
	font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
	font-size: 36px; font-weight: 400; line-height: 1.2; letter-spacing: 0;
}
.counter-minimal-main > * { display: inline; font: inherit; }
.counter-minimal-main span { display: inline; }
* + .counter-minimal-title { margin-top: 10px; }
* + .counter-minimal-main  { margin-top: 15px; }

@media (max-width: 575.98px) { .counter-minimal-title { font-size: 16px; line-height: 1.4; } }
@media (min-width: 768px) {
	.counter-minimal-icon  { font-size: 38px; }
	.counter-minimal-title { font-size: 16px; }
	.counter-minimal-main  { font-size: 48px; }
}
@media (min-width: 1200px) {
	* + .counter-minimal-main  { margin-top: 25px; }
	* + .counter-minimal-title { margin-top: 24px; }
}

/* ===== Layout Bordered ===== */
.layout-bordered { text-align: center; }
.layout-bordered-item { border: 0 solid #d3d5db; }
.layout-bordered-item-inner {
	display: flex; flex-direction: column; justify-content: center;
	max-width: 290px; padding: 0 15px;
	margin-left: auto; margin-right: auto;
}
.layout-bordered-item-inner > * + * { margin-top: 10px; }

@media (max-width: 767.98px) {
	.layout-bordered-item { padding: 30px 0; }
	.layout-bordered-item:first-child { padding-top: 0; }
	.layout-bordered-item:last-child  { padding-bottom: 0; }
	.layout-bordered-item + .layout-bordered-item { border-top-width: 1px; }
}
@media (min-width: 768px) {
	.layout-bordered { display: flex; }
	.layout-bordered-item { flex-grow: 1; flex-basis: 33.333%; border-right-width: 1px; }
	.layout-bordered-item:first-child { border-left-width: 1px; }
	.layout-bordered-item-inner > * + * { margin-top: 15px; }
}

/* ===== Footer Minimal ===== */
.footer-minimal { padding: 30px 0; }
.footer-minimal-inner { margin-bottom: -18px; text-align: center; }
.footer-minimal-inner > * { margin-bottom: 18px; margin-top: 0; }
.footer-minimal-inner .rights a:hover { color: #fff; opacity: .5; }

@media (min-width: 768px) {
	.footer-minimal-inner {
		display: flex; align-items: center; flex-wrap: wrap;
		justify-content: space-between; text-align: center; margin-left: -20px;
	}
	.footer-minimal-inner > * { margin-left: 20px; }
}

/* ===== Snackbars (RD Framework global) ===== */
.snackbars {
	padding: 9px 16px;
	margin-left: auto; margin-right: auto;
	color: #fff; text-align: left;
	background-color: #354879;
	box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15);
	border-radius: 6px; font-size: 14px;
}
.snackbars p span:last-child { padding-left: 14px; }
.snackbars-left  { display: inline-block; margin-bottom: 0; }
.snackbars-right { display: inline-block; text-transform: uppercase; }
.snackbars-right:hover { text-decoration: underline; }
@media (min-width: 576px) { .snackbars { max-width: 540px; padding: 12px 15px; font-size: 15px; } }

/* ===== Snackbar customizado (notificações JS) ===== */
.snackbar {
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	margin-bottom: 10px;
	animation: slideInRight 0.3s ease;
}
.snackbar-success { border-left: 4px solid #28a745; }
.snackbar-error   { border-left: 4px solid #dc3545; }
.snackbar-inner   { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; }
.snackbar-content { display: flex; align-items: center; gap: 10px; }
.snackbar-content i { font-size: 1.2rem; }
.snackbar-success .snackbar-content i { color: #28a745; }
.snackbar-error   .snackbar-content i { color: #dc3545; }
.snackbar-close   { background: none; border: none; font-size: 1rem; color: #666; cursor: pointer; padding: 5px; }
.snackbar-close:hover { color: #333; }

@keyframes slideInRight {
	from { transform: translateX(100%); opacity: 0; }
	to   { transform: translateX(0);    opacity: 1; }
}

/* ===== Pricing Card ===== */
.pricing-card {
	background-color: #ffffff;
	border-radius: 10px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
	padding: 20px;
	margin: 40px 40px;
	height: 100%;
	transition: transform 0.3s ease;
}
.pricing-card:hover { transform: translateY(-10px); }

.pricing-card-header {
	text-align: center;
	padding-bottom: 20px;
	border-bottom: 1px solid #f0f0f0;
	margin-bottom: 25px;
}
.pricing-card.popular {
	border: 2px solid #007bff;
	position: relative;
}
.pricing-card.popular::before {
	content: "Mais Popular";
	position: absolute;
	top: -12px; right: 30px;
	background: #007bff;
	color: white;
	padding: 5px 15px;
	border-radius: 15px;
	font-size: 14px; font-weight: bold;
}
.price { font-size: 40px; font-weight: bold; color: #2c3e50; margin-bottom: 10px; }
.price-period { color: #7f8c8d; font-size: 16px; }

.pricing-features { list-style: none; padding: 0; margin: 25px 0; }
.pricing-features li {
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
	display: flex; align-items: center;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: "✓"; margin-right: 10px; color: #2ecc71; font-weight: bold; }
.pricing-features li.unavailable::before { content: "✕"; color: #e74c3c; }
.pricing-features li.unavailable { color: #95a5a6; }
.pricing-card-footer { text-align: center; margin-top: auto; padding-top: 10px; }

/* ===== Accordion FAQ ===== */
.accordion-custom .card {
	margin-bottom: 15px;
	border: none; border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.accordion-custom .card-header { background-color: #fff; border-bottom: none; padding: 0; }
.accordion-custom .btn-link {
	display: block; width: 100%;
	text-align: left; color: #2c3e50;
	font-weight: 500; text-decoration: none;
	padding: 20px; position: relative;
	background: none; border: none; cursor: pointer;
}
.accordion-custom .btn-link::after {
	content: "+";
	position: absolute; right: 20px; top: 50%;
	transform: translateY(-50%);
	font-size: 20px; font-weight: 300; transition: all 0.3s;
}
.accordion-custom .btn-link[aria-expanded="true"]::after { content: "-"; }
.accordion-custom .btn-link:hover { text-decoration: none; color: #354879; }
.accordion-custom .card-body { padding: 0 20px 20px 20px; color: #7f8c8d; }

/* ===== Term Item ===== */
.terms-list { margin: 20px 0; }
.term-item {
	background: white;
	padding: 15px 20px; margin-bottom: 10px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	border-left: 4px solid #26A896;
	transition: all 0.3s ease;
	position: relative;
}
.term-item:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12); }
.term-item::before {
	content: "•";
	position: absolute; left: 8px; top: 50%;
	transform: translateY(-50%);
	color: #26A896; font-size: 1.2em; font-weight: bold;
}
.term-content { padding-left: 15px; line-height: 1.6; color: #495057; }

@media (max-width: 768px) {
	.term-item   { padding: 12px 15px; }
	.term-content{ padding-left: 12px; }
}