/**
 * Frota Rent-a-Car — Public CSS (M3 Fase 1)
 *
 * Aplica-se em /rent-a-car/ (archive) e /rent-a-car/{slug}/ (single).
 * Consistente com o design system: Montserrat, #E52528, padding hierarchy.
 */

/* ============================================================
   Archive — Hero
   ============================================================ */
.mc-frota-archive {
	font-family: "Montserrat", sans-serif;
	color: #1a1a1a;
}

.mc-frota-hero {
	background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
	color: #fff;
	padding: 96px 24px 80px;
	border-top: 2px solid #E52528;
}

.mc-frota-hero-inner {
	max-width: 1280px;
	margin: 0 auto;
}

.mc-frota-hero-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	color: #E52528;
	margin-bottom: 16px;
	text-transform: uppercase;
}

.mc-frota-hero-title {
	font-size: 48px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -1px;
	margin: 0 0 16px;
	max-width: 720px;
	color: #fff;
}

.mc-frota-hero-title em {
	color: #E52528;
	font-style: italic;
	font-weight: 700;
}

.mc-frota-hero-subhead {
	font-size: 18px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
	max-width: 600px;
}

/* ============================================================
   Archive — Lista + toolbar
   ============================================================ */
.mc-frota-list {
	padding: 64px 24px 96px;
	background: #f9fafb;
}

.mc-frota-list-inner {
	max-width: 1280px;
	margin: 0 auto;
}

.mc-frota-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 32px;
	flex-wrap: wrap;
	gap: 16px;
}

.mc-frota-count {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #1a1a1a;
	font-weight: 700;
}
.mc-frota-count::before {
	content: "";
	width: 3px;
	height: 16px;
	border-radius: 2px;
	background: #E52528;
}

.mc-frota-sort label {
	font-size: 13px;
	color: #4b5563;
	margin-right: 8px;
	font-weight: 500;
}

.mc-frota-sort select {
	padding: 8px 32px 8px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	font-size: 13px;
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

/* ============================================================
   Archive — Grid + Cards
   ============================================================ */
.mc-frota-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

@media (max-width: 600px) {
	.mc-frota-grid { grid-template-columns: 1fr; }
}

.mc-frota-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	transition: transform 0.2s, box-shadow 0.2s;
}

.mc-frota-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px #E5252820;
}

.mc-frota-card-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.mc-frota-card-img-wrap {
	position: relative;
	background: #f3f4f6;
	aspect-ratio: 16 / 11;
	overflow: hidden;
}

.mc-frota-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mc-frota-card-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9ca3af;
}

.mc-frota-card-placeholder svg {
	width: 60px;
	height: 60px;
}

.mc-frota-card-categoria {
	position: absolute;
	top: 12px;
	left: 12px;
	background: rgba(255, 255, 255, 0.95);
	color: #1a1a1a;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.mc-frota-card-pill {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.mc-frota-card-pill--manutencao {
	background: #fef3c7;
	color: #92400e;
}

.mc-frota-card-pill--indisponivel {
	background: #1a1a1a;
	color: #fff;
}

.mc-frota-card.is-indisponivel {
	opacity: 0.7;
}

.mc-frota-card.is-indisponivel:hover {
	opacity: 1;
}

.mc-frota-card-body {
	padding: 18px 20px 20px;
}

@keyframes mc-frota-led { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.mc-frota-card-marca {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 11px;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 700;
	margin-bottom: 5px;
	line-height: 1;
}
.mc-frota-card-marca::before {
	content: "";
	width: 3px;
	height: 11px;
	border-radius: 2px;
	background: #E52528;
	animation: mc-frota-led 1.8s ease-in-out infinite;
}

.mc-frota-card-title {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 14px;
	color: #1a1a1a;
	line-height: 1.3;
	letter-spacing: -0.2px;
}

.mc-frota-card-specs {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.mc-frota-card-specs li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: #4b5563;
	font-weight: 500;
}

.mc-frota-card-specs li svg {
	color: #6b7280;
	flex-shrink: 0;
}

/* Caixa de velocidades sempre na segunda linha */
.mc-frota-card-specs .mc-frota-card-spec-caixa {
	flex-basis: 100%;
}

.mc-frota-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 14px;
	border-top: 1px solid #f3f4f6;
}

.mc-frota-card-preco-value {
	font-size: 20px;
	font-weight: 800;
	color: #1a1a1a;
	letter-spacing: -0.5px;
}

.mc-frota-card-preco-unit {
	font-size: 12px;
	color: #6b7280;
	margin-left: 2px;
}

.mc-frota-card-cta {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #E52528;
	font-size: 13px;
	font-weight: 600;
	transition: gap 0.18s;
}

.mc-frota-card-link:hover .mc-frota-card-cta {
	gap: 8px;
}

/* Empty state */
.mc-frota-empty {
	text-align: center;
	padding: 80px 16px;
	background: #fff;
	border-radius: 12px;
}

.mc-frota-empty p {
	color: #6b7280;
	font-size: 16px;
	margin-bottom: 24px;
}

.mc-frota-empty-cta {
	display: inline-block;
	padding: 12px 28px;
	background: #E52528;
	color: #fff;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}

/* ============================================================
   Single — Breadcrumb
   ============================================================ */
.mc-frota-single {
	font-family: "Montserrat", sans-serif;
	color: #1a1a1a;
	background: #f9fafb;
}

.mc-frota-breadcrumb {
	background: #fff;
	border-bottom: 1px solid #e5e7eb;
}

.mc-frota-breadcrumb-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 14px 24px;
	font-size: 13px;
	color: #6b7280;
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}

.mc-frota-breadcrumb a {
	color: #6b7280;
	text-decoration: none;
}

.mc-frota-breadcrumb a:hover {
	color: #E52528;
}

.mc-frota-breadcrumb .current {
	color: #1a1a1a;
	font-weight: 500;
}

/* ============================================================
   Single — Hero (galeria + summary)
   ============================================================ */
.mc-frota-hero-single {
	padding: 48px 24px;
}

.mc-frota-hero-single-inner {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 48px;
	align-items: start;
}

@media (max-width: 900px) {
	.mc-frota-hero-single-inner { grid-template-columns: 1fr; gap: 32px; }
}

.mc-frota-gallery {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.mc-frota-main-img,
.mc-frota-main-img-placeholder {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.mc-frota-main-img-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9ca3af;
	background: #f3f4f6;
}

.mc-frota-summary {
	background: #fff;
	padding: 32px;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.mc-frota-summary-cat {
	display: inline-block;
	background: #1a1a1a;
	color: #fff;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.mc-frota-summary-marca {
	display: block;
	font-size: 13px;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 600;
	margin-bottom: 4px;
}

.mc-frota-summary-title {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 16px;
	line-height: 1.2;
	letter-spacing: -0.5px;
}

.mc-frota-summary-preco {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #f3f4f6;
}

.mc-frota-summary-preco strong {
	font-size: 32px;
	color: #E52528;
	font-weight: 800;
	letter-spacing: -1px;
}

.mc-frota-summary-preco span {
	font-size: 14px;
	color: #6b7280;
}

.mc-frota-summary-specs {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mc-frota-summary-specs li {
	background: #f3f4f6;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 13px;
	color: #4b5563;
	font-weight: 500;
}

.mc-frota-summary-specs li strong {
	color: #1a1a1a;
	font-weight: 700;
}

/* Placeholder Reserva (Fase 2) */
.mc-frota-reserva-placeholder {
	background: #fafafa;
	border: 1px dashed #d1d5db;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 24px;
}

.mc-frota-reserva-soon {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #6b7280;
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e5e7eb;
}

.mc-frota-cta {
	display: block;
	text-align: center;
	padding: 14px 24px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	margin-bottom: 8px;
	transition: background 0.18s, color 0.18s;
}

.mc-frota-cta-primary {
	background: #E52528;
	color: #fff;
}

.mc-frota-cta-primary:hover {
	background: #c81f22;
}

.mc-frota-cta-secondary {
	background: transparent;
	color: #1a1a1a;
	border: 1.5px solid #1a1a1a;
}

.mc-frota-cta-secondary:hover {
	background: #1a1a1a;
	color: #fff;
}

.mc-frota-summary-condicoes {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mc-frota-summary-condicoes li {
	padding: 8px 0;
	font-size: 13px;
	color: #4b5563;
	border-bottom: 1px solid #f3f4f6;
}

.mc-frota-summary-condicoes li:last-child {
	border-bottom: none;
}

/* Descrição */
.mc-frota-descricao {
	padding: 32px 24px 96px;
}

.mc-frota-descricao-inner {
	max-width: 800px;
	margin: 0 auto;
	background: #fff;
	padding: 40px;
	border-radius: 12px;
}

.mc-frota-descricao h2 {
	margin: 0 0 20px;
	font-size: 22px;
	font-weight: 700;
	color: #1a1a1a;
}

.mc-frota-descricao p {
	line-height: 1.7;
	color: #4b5563;
	margin-bottom: 16px;
}
