/* DAUX — Dados Abertos. Estilos exclusivos da página. */

.daux-dados-card {
    max-width: 1040px;
    margin: 0 auto;
    padding: 28px 32px;
    border: 1px solid #e9e2dc;
    border-top: 4px solid #d76500;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 20px #00000008;
}

.daux-dados-card h2 {
    margin: 0 0 14px;
    color: #3c332f;
    font-size: clamp(23px, 2.5vw, 29px);
    line-height: 1.4;
}

.daux-dados-intro {
    margin: 0 0 24px;
    color: #444;
    font-size: 16px;
    line-height: 1.8;
}

.daux-dados-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.daux-dados-link {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 100px;
    padding: 20px;
    border: 1px solid #e7d8ca;
    border-radius: 8px;
    background: #fffaf5;
    color: #813700;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.daux-dados-link:hover {
    border-color: #b55b16;
    background: #fff0e2;
}

.daux-dados-link:hover .daux-dados-name {
    text-decoration: underline;
}

.daux-dados-format {
    display: inline-flex;
    flex: 0 0 64px;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 54px;
    border: 1px solid #dfc7b3;
    border-radius: 6px;
    background: #fff;
    color: #813700;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.daux-dados-info {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.daux-dados-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.daux-dados-filename {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.daux-dados-arrow {
    flex: 0 0 auto;
    color: #984100;
    font-size: 30px;
    line-height: 1;
}

@media (max-width: 540px) {
    .daux-dados-card {
        padding: 22px 16px;
    }

    .daux-dados-link {
        gap: 12px;
        padding: 16px 12px;
    }

    .daux-dados-format {
        flex-basis: 48px;
        width: 48px;
        height: 46px;
        font-size: 12px;
    }

    .daux-dados-name {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .daux-dados-link {
        transition: none;
    }
}
