.arge-docs-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.arge-docs-wrapper {
    width: 100%;
    margin: 0 auto;
}

.arge-docs-title {
    margin: 0 0 24px;
    color: #1d2b4f;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.15;
    font-weight: 700;
}

.arge-docs-list {
    width: 100%;
    margin: 34px 0 0;
    padding: 0;
    border-bottom: 1px solid #cfd6df;
}

.arge-doc-row,
.arge-doc-row:link,
.arge-doc-row:visited {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 60px;
    padding: 17px 14px;
    border: 0;
    border-top: 1px solid #cfd6df;
    background: #ffffff;
    color: #1d2b4f;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.25s ease, padding-left 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.arge-doc-row:hover,
.arge-doc-row:focus-visible {
    color: #F56421;
    background: rgba(245, 100, 33, 0.055);
    padding-left: 22px;
    outline: none;
}

.arge-doc-row-title {
    min-width: 0;
}

.arge-doc-row-action,
.arge-doc-row-count {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    background: rgba(245, 100, 33, 0.1);
    color: #F56421;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.arge-doc-year .arge-doc-row-title::after {
    content: "+";
    display: inline-block;
    margin-left: 10px;
    color: #F56421;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
}

.arge-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.arge-modal.is-open {
    display: flex;
}

.arge-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 34, 0.72);
}

.arge-modal-box {
    position: relative;
    z-index: 2;
    width: min(100%, 760px);
    max-height: 82vh;
    overflow-y: auto;
    padding: 38px 36px;
    background: #ffffff;
    border-top: 5px solid #F56421;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    outline: none;
}

.arge-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 0;
    background: #F56421;
    color: #ffffff;
    font-family: inherit;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s ease;
}

.arge-modal-close:hover,
.arge-modal-close:focus-visible {
    background: #1d2b4f;
    outline: none;
}

.arge-modal-label {
    display: block;
    margin-bottom: 8px;
    color: #F56421;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.arge-modal h3 {
    margin: 0 50px 26px 0;
    color: #1d2b4f;
    font-size: clamp(28px, 5vw, 36px);
    line-height: 1.2;
    font-weight: 700;
}

.arge-modal-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.arge-modal-list li {
    margin: 0;
    border-top: 1px solid #e4e8ee;
}

.arge-modal-list li:last-child {
    border-bottom: 1px solid #e4e8ee;
}

.arge-modal-list a,
.arge-modal-list a:link,
.arge-modal-list a:visited {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 0;
    color: #1d2b4f;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.arge-modal-list a:hover,
.arge-modal-list a:focus-visible {
    color: #F56421;
    padding-left: 6px;
    outline: none;
}

.arge-modal-doc-title {
    min-width: 0;
}

.arge-modal-doc-action {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    background: rgba(245, 100, 33, 0.1);
    color: #F56421;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.arge-modal-open {
    overflow: hidden;
}

.arge-docs-empty {
    margin: 20px 0;
    color: #1d2b4f;
    font-size: 15px;
}

@media (max-width: 700px) {
    .arge-docs-list {
        margin-top: 24px;
        border-bottom: none;
    }

    .arge-doc-row,
    .arge-doc-row:link,
    .arge-doc-row:visited {
        display: block;
        margin-bottom: 12px;
        padding: 16px 15px;
        border: 1px solid #e4e8ee;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    }

    .arge-doc-row:hover,
    .arge-doc-row:focus-visible {
        padding-left: 15px;
    }

    .arge-doc-row-action,
    .arge-doc-row-count {
        margin-top: 10px;
    }

    .arge-modal {
        padding: 16px;
    }

    .arge-modal-box {
        max-height: 86vh;
        padding: 32px 22px;
    }

    .arge-modal h3 {
        margin-right: 44px;
    }

    .arge-modal-list a,
    .arge-modal-list a:link,
    .arge-modal-list a:visited {
        display: block;
        font-size: 15px;
    }

    .arge-modal-doc-action {
        margin-top: 10px;
    }
}

/* Correccoes visuais: botao de fechar e etiqueta duplicada */
.arge-modal-close,
.arge-modal-close:hover,
.arge-modal-close:focus-visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent !important;
    color: #F56421 !important;
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
    text-align: center;
    box-shadow: none !important;
}

.arge-modal-close:hover,
.arge-modal-close:focus-visible {
    color: #1d2b4f !important;
    outline: none;
}

.arge-modal-list a::after,
.arge-modal-list a:link::after,
.arge-modal-list a:visited::after,
.arge-modal-list a:hover::after,
.arge-modal-list a:focus::after {
    content: none !important;
    display: none !important;
}
