/* =========================================================
   SBQS 2026 — Restaurantes
   Escopo: somente .sbqs-tracks.sbqs-restaurantes
   ========================================================= */

/* ---------------------------------------------------------
   Cabeçalho
   --------------------------------------------------------- */

.sbqs-tracks.sbqs-restaurantes {
    box-sizing: border-box;
    min-width: 0;
    overflow-wrap: anywhere;
}

.sbqs-tracks.sbqs-restaurantes .sbqs-tracks__header {
    text-align: center;
    margin-bottom: 32px;
}

.sbqs-tracks.sbqs-restaurantes .sbqs-tracks__header h1 {
    margin-bottom: 8px;
}

.sbqs-tracks.sbqs-restaurantes .sbqs-tracks__header p {
    margin: 0;
}

/* ---------------------------------------------------------
   Seções
   --------------------------------------------------------- */

.sbqs-tracks.sbqs-restaurantes .sbqs-rest-secao + .sbqs-rest-secao {
    margin-top: 50px;
}

.sbqs-tracks.sbqs-restaurantes .sbqs-section-header {
    margin-bottom: 24px;
}

.sbqs-tracks.sbqs-restaurantes .sbqs-section-header h2 {
    margin: 0 0 6px;
    font-size: 24px;
}

.sbqs-tracks.sbqs-restaurantes .sbqs-section-header p {
    margin: 0;
    opacity: 0.7;
}

.sbqs-tracks.sbqs-restaurantes .sbqs-rest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

/* ---------------------------------------------------------
   Cards
   --------------------------------------------------------- */

.sbqs-tracks.sbqs-restaurantes .sbqs-rest-card {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-width: 0;
    padding: 22px;
    border: 1px solid #D8E8EF;
    border-radius: 10px;
    background: #fff;
    text-align: left;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.sbqs-tracks.sbqs-restaurantes .sbqs-rest-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
    border-color: #005B83;
    background: #F7FBFD;
}

.sbqs-tracks.sbqs-restaurantes .sbqs-rest-card--destaque {
    border-color: #005B83;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.sbqs-tracks.sbqs-restaurantes .sbqs-rest-card__distancia {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: #F2C500;
    color: #004B6B;
}

.sbqs-tracks.sbqs-restaurantes .sbqs-rest-card h3 {
    margin: 10px 0 4px;
    font-size: 18px;
    text-align: left;
}

.sbqs-tracks.sbqs-restaurantes .sbqs-rest-card__endereco {
    margin: 0;
    text-align: left;
    font-size: 13px;
    line-height: 1.5;
    color: #005B83;
}

.sbqs-tracks.sbqs-restaurantes .sbqs-rest-card__info {
    margin: 16px 0;
}

.sbqs-tracks.sbqs-restaurantes .sbqs-rest-card__info > div + div {
    margin-top: 10px;
}

.sbqs-tracks.sbqs-restaurantes .sbqs-rest-card__info dt {
    font-size: 13px;
    font-weight: 700;
}

.sbqs-tracks.sbqs-restaurantes .sbqs-rest-card__info dd {
    margin: 2px 0 0;
    font-size: 14px;
    line-height: 1.5;
}

.sbqs-tracks.sbqs-restaurantes .sbqs-rest-card__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.sbqs-tracks.sbqs-restaurantes .sbqs-rest-card__links a {
    font-weight: 600;
    text-decoration: none;
    color: #005B83;
}

.sbqs-tracks.sbqs-restaurantes .sbqs-rest-card__links a:hover {
    color: #D5A900;
}

.sbqs-tracks.sbqs-restaurantes .sbqs-rest-card__links .sbqs-map-link {
    margin-left: auto;
}

/* ---------------------------------------------------------
   Responsivo
   --------------------------------------------------------- */

@media (max-width: 1000px) {
    .sbqs-tracks.sbqs-restaurantes .sbqs-rest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .sbqs-tracks.sbqs-restaurantes {
        padding: 30px 16px 40px;
    }

    .sbqs-tracks.sbqs-restaurantes .sbqs-rest-grid {
        grid-template-columns: 1fr;
    }

    .sbqs-tracks.sbqs-restaurantes .sbqs-tracks__header h1 {
        font-size: 26px;
    }

    .sbqs-tracks.sbqs-restaurantes .sbqs-rest-card {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sbqs-tracks.sbqs-restaurantes .sbqs-rest-card {
        transition: none;
    }

    .sbqs-tracks.sbqs-restaurantes .sbqs-rest-card:hover {
        transform: none;
    }
}
