/* =========================================================
   15. INFORMAÇÕES — HORÁRIOS E LOCALIZAÇÃO
========================================================= */

.info-section {
    border-top: 1px solid var(--line);
    padding: 28px 2px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 14px;
    align-items: stretch;
}

.info-card {
    min-width: 0;
    padding: 22px 20px;
    border: 1px solid var(--text-border);
    border-radius: var(--radius);
    background: var(--card);
}

.info-label {
    display: block;
    margin-bottom: 10px;
    color: var(--accent-dark);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .13em;
}

.info-card h2 {
    margin: 0;
    color: var(--text);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.03em;
}

.info-heading>p {
    margin: 7px 0 20px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

/* HORÁRIOS */

.hours-list {
    border-top: 1px solid var(--line);
}

.hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.hours-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.hours-row>span {
    color: var(--text);
    font-size: 12px;
    line-height: 1.4;
}

.hours-row>strong {
    flex-shrink: 0;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.hours-row.hours-closed>span,
.hours-row.hours-closed>strong {
    color: var(--text-subtle);
}

/* LOCALIZAÇÃO */

.info-location {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg2);
}

.location-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 5px 0 18px;
    border: 1px solid var(--primary-border);
    border-radius: 15px;
    color: var(--accent-dark);
    background: var(--card);
}

.location-address {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 14px 0 22px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.location-address strong {
    color: var(--text);
    font-weight: 600;
}

.location-address span {
    color: var(--text-subtle);
    font-size: 11px;
}

.location-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    margin-top: auto;
    padding: 0 14px;
    border: 1px solid var(--text-border);
    border-radius: 12px;
    background: var(--card);
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
    transition: border-color .2s ease, background .2s ease;
}

.location-button span {
    color: var(--accent-dark);
    font-size: 17px;
}

.location-button:hover {
    background: var(--bg2);
    border-color: var(--accent);
    color: var(--text);
}

/* CELULAR */

@media (max-width: 600px) {
    .info-section {
        padding-top: 24px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .info-card {
        padding: 20px;
    }

    .info-card h2 {
        font-size: 20px;
    }

    .hours-row {
        padding: 15px 0;
    }

    .hours-row>span {
        font-size: 13px;
    }

    .hours-row>strong {
        font-size: 12px;
    }

    .location-icon {
        margin-top: 8px;
    }
}

/* =========================================================
   DROPDOWN — HORÁRIOS DE ATENDIMENTO
========================================================= */

.hours-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    width: 100%;
    padding: 0;

    background: transparent;
    border: none;

    text-align: left;
    cursor: pointer;
}

.hours-toggle .info-heading {
    flex: 1;
}

.hours-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;
    flex-shrink: 0;

    background: var(--primary-soft);
    color: var(--primary);

    border: 1px solid var(--primary-border);
    border-radius: 50%;

    font-size: 15px;

    transition: transform .3s ease;
}

/* CONTEÚDO */

.hours-content {
    display: grid;
    grid-template-rows: 0fr;

    opacity: 0;
    margin-top: 0;

    transition:
        grid-template-rows .35s ease,
        opacity .25s ease,
        margin-top .35s ease;
}

.hours-content > .hours-list {
    overflow: hidden;
}

/* ABERTO */

.info-hours.open .hours-content {
    grid-template-rows: 1fr;

    opacity: 1;
    margin-top: 20px;
}

.info-hours.open .hours-arrow {
    transform: rotate(180deg);
}

/* LINHAS */

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 13px 0;

    border-bottom: 1px solid var(--line);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row span {
    color: var(--muted);
    font-size: 13px;
}

.hours-row strong {
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}

/* ACESSIBILIDADE */

.hours-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
    border-radius: 8px;
}

/* ÍCONE DO DROPDOWN */

.hours-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hours-arrow .eye-closed {
    display: none;
}

/* DROPDOWN ABERTO */

.info-hours.open .hours-arrow .eye-open {
    display: none;
}

.info-hours.open .hours-arrow .eye-closed {
    display: block;
}
