:root { --brand: #0d6efd; }

body.public-body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: #0f172a;
    background: #f8fafc;
}
.public-header { background: #0f172a; color: #fff; padding: 14px 0; }
.public-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; }
.public-brand i { font-size: 22px; color: var(--brand); }
.public-brand img { border-radius: 8px; }
.public-footer { background: #0f172a; color: #cbd5e1; padding: 28px 0; margin-top: 40px; }
.public-footer strong, .public-footer a { color: #f1f5f9; }
.public-footer .text-muted { color: #94a3b8 !important; }

.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff; padding: 60px 0 50px; text-align: center;
}
.hero h1 { font-size: clamp(26px, 5vw, 44px); font-weight: 800; margin-bottom: 12px; }
.hero p { color: #cbd5e1; font-size: 17px; max-width: 620px; margin: 0 auto; }

.excursion-card {
    background: #fff; border-radius: 16px; overflow: hidden; height: 100%;
    border: 1px solid #eef1f7; box-shadow: 0 8px 24px rgba(15,23,42,.06);
    display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s;
}
.excursion-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(15,23,42,.12); }
.excursion-cover { height: 190px; background: linear-gradient(135deg, #1e3a8a, #0f172a); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); font-size: 46px; }
.excursion-cover img { width: 100%; height: 100%; object-fit: cover; }
.excursion-card .card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.excursion-card h3 { font-size: 17px; font-weight: 700; margin: 0; }
.price-tag { font-size: 22px; font-weight: 800; color: var(--brand); }
.meta-chip { font-size: 12.5px; color: #475569; display: inline-flex; align-items: center; gap: 5px; }

.booking-summary {
    background: #fff; border-radius: 16px; border: 1px solid #eef1f7;
    padding: 20px; position: sticky; top: 16px;
}
.section-title { font-weight: 700; font-size: 19px; margin: 0 0 12px; }
.badge-soft { background: #eef2ff; color: #3730a3; font-weight: 600; }

/* Seat map */
.seat-map { display: flex; flex-direction: column; gap: 8px; align-items: center; padding: 10px; }
.seat-row { display: flex; gap: 8px; align-items: center; }
.seat {
    width: 44px; height: 44px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; cursor: pointer; border: 2px solid transparent;
    transition: transform .1s; user-select: none;
}
.seat:active { transform: scale(.95); }
.seat.disponivel { background: #dcfce7; color: #166534; border-color: #86efac; }
.seat.ocupado { background: #fee2e2; color: #991b1b; border-color: #fca5a5; cursor: not-allowed; }
.seat.reservado { background: #fef3c7; color: #92400e; border-color: #fcd34d; cursor: not-allowed; }
.seat.bloqueado { background: #334155; color: #e2e8f0; border-color: #1e293b; }
.seat.selected { background: var(--brand); color: #fff; border-color: #0b5ed7; transform: translateY(-2px); }
.seat.aisle { width: 24px; border: 0; background: transparent; cursor: default; }
.seat.driver { background: #e2e8f0; color: #334155; border-style: dashed; }
.seat-legend { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; font-size: 12.5px; }
.seat-legend span { display: inline-flex; align-items: center; gap: 6px; }
.seat-dot { width: 16px; height: 16px; border-radius: 5px; display: inline-block; }
.bus-frame { background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 18px; padding: 14px; max-width: 420px; margin: 0 auto; }
.bus-front { text-align: center; color: #94a3b8; font-size: 12px; margin-bottom: 8px; letter-spacing: .2em; }

@media (max-width: 767.98px) {
    .hero { padding: 40px 0 32px; }
    .booking-summary { position: static; }
    .bus-frame { max-width: 100%; padding: 10px; }
    .seat-map, .seat-row { gap: 6px; }
    .seat { width: 36px; height: 36px; font-size: 11px; border-radius: 8px; }
    .seat.aisle { width: 14px; }
}
