/* ============================================
   PASSEIOS — CSS v2.0
   Layout profissional, responsivo e clicável
   ============================================ */

/* ── Reset base ── */
*, *::before, *::after { box-sizing: border-box; }

/* ── Container ── */
.passeios-container {
    position: relative;
    width: 100%;
    margin: 1.5rem 0 2rem;
}

/* ── Grid desktop ── */
.passeios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    padding: 0.25rem 0 1rem;
}

/* ── CARD ── */
.passeio-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8ecf0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.passeio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 94, 164, 0.13);
    border-color: #b3d4ef;
}

.passeio-card:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 94, 164, 0.12);
}

/* Estado destacado */
.passeio-card.highlighted {
    border: 2px solid #005ea4;
    box-shadow: 0 6px 24px rgba(0, 94, 164, 0.18);
}

/* ── IMAGEM ── */
.passeio-image {
    position: relative;
    width: 100%;
    height: 195px;
    overflow: hidden;
    background: #eaf0f6;
    flex-shrink: 0;
}

.passeio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
    display: block;
}

.passeio-card:hover .passeio-image img {
    transform: scale(1.04);
}

/* Overlay sutil no hover para legibilidade dos badges */
.passeio-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, transparent 40%, rgba(0,0,0,0.05) 100%);
    pointer-events: none;
}

/* ── BADGE DESTAQUE ── */
.destaque-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
}

.destaque-badge i { font-size: 0.65rem; }

/* ── BADGE APROVADO ── */
.aprovado-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: rgba(22, 163, 74, 0.92);
    color: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3);
    backdrop-filter: blur(4px);
}

/* ── BADGE CATEGORIA ── */
.categoria-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
}

.categoria-badge img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.categoria-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #005ea4;
    white-space: nowrap;
}

/* ── CONTEÚDO DO CARD ── */
.passeio-content {
    padding: 1.1rem 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0;
}

/* Título */
.passeio-title {
    margin: 0 0 0.6rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0d2d52;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

/* Meta info (agência, duração, dificuldade) */
.passeio-agency,
.passeio-duration,
.passeio-difficulty {
    font-size: 0.825rem;
    color: #64748b;
    margin: 0 0 0.3rem;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}

.passeio-agency i,
.passeio-duration i,
.passeio-difficulty i {
    color: #0095ae;
    font-size: 0.75rem;
    width: 13px;
    text-align: center;
    flex-shrink: 0;
}

/* Divisor visual entre meta e descrição */
.passeio-meta-divider {
    height: 1px;
    background: #f0f4f8;
    margin: 0.6rem 0;
    border: none;
}

/* Descrição */
.passeio-description {
    color: #4b5563;
    font-size: 0.845rem;
    line-height: 1.55;
    margin: 0 0 0.65rem;
    flex-grow: 1;
}

.short-text { display: inline; }
.full-text  { display: none; }

.toggle-text {
    color: #005ea4;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    margin-left: 3px;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s;
}
.toggle-text:hover { border-bottom-color: #005ea4; }

/* Vagas */
.passeio-vacancies {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0095ae;
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.passeio-vacancies i {
    font-size: 0.75rem;
}

/* ── FOOTER DO CARD ── */
.passeio-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.65rem;
    border-top: 1px solid #f0f4f8;
    margin-top: auto;
}

/* Botão CTA */
.passeio-btn {
    padding: 0.55rem 1.1rem;
    background: #005ea4;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.83rem;
    text-decoration: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.18s ease, transform 0.15s ease;
    white-space: nowrap;
    cursor: pointer;
    letter-spacing: 0.01em;
}

.passeio-btn:hover {
    background: #004f8c;
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

.passeio-btn:active {
    transform: translateY(0);
}

.passeio-btn i { font-size: 0.78rem; }

/* Preço */
.passeio-price { text-align: right; }

.price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #005ea4;
    margin: 0;
    line-height: 1.2;
}

.price-info {
    font-size: 0.72rem;
    color: #64748b;
    margin: 2px 0 0;
    line-height: 1.2;
}

/* Pulse animation (sob consulta) */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(1.25); }
}

/* ── STRIP DE DESTAQUES ── */
.destaque-strip {
    margin-bottom: 1rem;
}

.destaque-strip-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #d97706;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.destaque-strip-title i { font-size: 0.72rem; }

.destaque-strip-title .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #fde68a, transparent);
}

/* ── SEM RESULTADOS ── */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    color: #64748b;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
}

.no-results i {
    font-size: 2.5rem;
    color: #0095ae;
    margin-bottom: 0.75rem;
    display: block;
}

.no-results h4 {
    color: #1e293b;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.no-results p {
    font-size: 0.875rem;
    margin: 0;
}

/* ── CONTROLES ── */
.carousel-controls {
    display: none; /* visível apenas mobile */
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.75rem;
}

.prev-btn, .next-btn {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #005ea4;
    transition: background 0.18s, transform 0.15s, border-color 0.18s;
    flex-shrink: 0;
}

.prev-btn:hover, .next-btn:hover {
    background: #e8f1fb;
    border-color: #91bfe3;
    transform: translateY(-1px);
}

.prev-btn:active, .next-btn:active {
    transform: scale(0.95);
}

.pagination-dots {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
}

.dot.active {
    width: 18px;
    border-radius: 4px;
    background: #005ea4;
}

.dot:hover:not(.active) { background: #94a3b8; }

/* ── RESPONSIVIDADE ── */

/* Tablet: 2 colunas */
@media (min-width: 640px) and (max-width: 1023px) {
    .passeios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop wide: 3 colunas */
@media (min-width: 1024px) {
    .passeios-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop XL: até 4 */
@media (min-width: 1400px) {
    .passeios-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* ── MOBILE: carrossel horizontal ── */
@media (max-width: 639px) {
    .passeios-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 0.9rem;
        padding: 0.25rem 1rem 0.75rem;
        scrollbar-width: none;
        cursor: grab;
    }

    .passeios-grid::-webkit-scrollbar { display: none; }

    .passeios-grid:active { cursor: grabbing; }

    .passeio-card {
        flex: 0 0 82%;
        scroll-snap-align: start;
        min-width: 260px;
        max-width: 320px;
    }

    .passeio-image { height: 165px; }

    .carousel-controls { display: flex; }

    .passeio-content { padding: 0.9rem 1rem 1rem; }

    .passeio-title { font-size: 0.97rem; }

    .price-value { font-size: 1.1rem; }

    .passeio-btn { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
}

/* ── Acessibilidade / focus ── */
.passeio-card:focus-visible {
    outline: 2px solid #005ea4;
    outline-offset: 2px;
}

.passeio-btn:focus-visible {
    outline: 2px solid #005ea4;
    outline-offset: 2px;
}