/* =========================================================
   SGSA — ONDE ESTAMOS
   Página simples integrada ao layout global.
   ========================================================= */

.onde-page {
    position: relative;
    z-index: 2;

    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;

    padding: 58px 0 115px;
}

/* =========================================================
   CABEÇALHO DA PÁGINA
   ========================================================= */

.onde-header {
    text-align: center;
    margin-bottom: 48px;
}

.onde-header h1 {
    margin: 0;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 400;

    line-height: 1;
    letter-spacing: -.025em;

    text-shadow: 0 4px 18px rgba(0, 0, 0, .6);
}

.onde-header h1 span {
    color: var(--sgsa-gold);
}

.onde-divider {
    width: 64px;
    height: 2px;

    margin: 20px auto 17px;

    background: var(--sgsa-gold);

    box-shadow: 0 0 10px rgba(215, 163, 61, .22);
}

.onde-schedule {
    margin: 0;

    color: rgba(255, 255, 255, .82);

    font-size: .95rem;
    line-height: 1.6;
}

.onde-schedule strong {
    color: #ffffff;
}

/* =========================================================
   LOCAIS
   ========================================================= */

.onde-locations {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 28px;
}

.onde-location {
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(114, 27, 32, .88),
            rgba(55, 14, 18, .92)
        );

    border: 1px solid rgba(215, 163, 61, .48);
    border-radius: 8px;

    box-shadow:
        0 18px 42px rgba(0, 0, 0, .38),
        0 0 0 1px rgba(255, 255, 255, .025);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.onde-location:hover {
    transform: translateY(-5px);

    border-color: rgba(240, 198, 107, .88);

    box-shadow:
        0 24px 50px rgba(0, 0, 0, .48),
        0 0 24px rgba(215, 163, 61, .08);
}

/* =========================================================
   IMAGENS
   ========================================================= */

.onde-image {
    position: relative;

    aspect-ratio: 3 / 1;

    overflow: hidden;

    background: #2a1013;
}

.onde-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(28, 7, 10, .52),
            transparent 60%
        );

    pointer-events: none;
}

.onde-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .5s cubic-bezier(.2, .8, .2, 1),
        filter .5s ease;
}

.onde-location:hover .onde-image img {
    transform: scale(1.035);
    filter: brightness(1.05);
}

/* =========================================================
   INFORMAÇÕES
   ========================================================= */

.onde-info {
    min-height: 88px;

    display: flex;
    align-items: center;

    gap: 18px;

    padding: 18px 22px;
}

.onde-number {
    flex: 0 0 auto;

    color: var(--sgsa-gold);

    font-size: .72rem;
    font-weight: 700;

    letter-spacing: .12em;
}

.onde-state {
    display: block;

    margin-bottom: 5px;

    color: rgba(240, 198, 107, .82);

    font-size: .62rem;
    font-weight: 700;

    letter-spacing: .18em;
}

.onde-info h2 {
    margin: 0;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(1.3rem, 2vw, 1.65rem);
    font-weight: 400;

    line-height: 1.15;
}

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 760px) {

    .onde-page {
        width: min(100% - 24px, 560px);

        padding: 42px 0 100px;
    }

    .onde-header {
        margin-bottom: 34px;
    }

    .onde-header h1 {
        font-size: clamp(2.25rem, 12vw, 3.2rem);
    }

    .onde-schedule {
        font-size: .86rem;
    }

    .onde-locations {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .onde-info {
        min-height: 76px;
        padding: 16px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .onde-location,
    .onde-image img {
        transition: none;
    }
}
