/* ========================================================================== 
   VALOR TERRA NUA - OESTE DA BAHIA
   ========================================================================== */

.aiba-vtn {
    --vtn-green: #007b4e;
    --vtn-green-dark: #005f3c;
    --vtn-ink: #001719;
    --vtn-text: #42504c;
    --vtn-muted: #6b7b76;
    --vtn-soft: #f2f8f6;
    --vtn-line: #dce8e4;
    --vtn-white: #ffffff;
    background: var(--vtn-soft);
    color: var(--vtn-ink);
}

.aiba-vtn-hero {
    min-height: 380px;
    padding: 130px 0 72px;
}

.aiba-vtn-hero .hero-visual-bg {
    background-position: center 42%;
}

.aiba-vtn-hero .hero-visual-overlay {
    background: linear-gradient(105deg, rgba(0, 23, 25, 0.97) 0%, rgba(0, 23, 25, 0.82) 48%, rgba(0, 23, 25, 0.34) 100%);
}

.aiba-vtn-hero .hero-content-stack {
    gap: 26px;
}

.aiba-vtn-hero .hero-main-title {
    font-size: clamp(38px, 5vw, 58px);
}

.vtn-content {
    padding: 58px 0 76px;
}

.vtn-sheet {
    overflow: hidden;
    border: 1px solid rgba(0, 63, 49, 0.1);
    border-radius: 24px;
    background: var(--vtn-white);
    box-shadow: 0 20px 55px rgba(0, 46, 36, 0.08);
}

.vtn-sheet-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding: 32px 36px 28px;
}

.vtn-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--vtn-green);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.vtn-sheet-header h2 {
    margin: 0;
    color: var(--vtn-ink);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 850;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.vtn-sheet-header p {
    margin: 9px 0 0;
    color: var(--vtn-muted);
    font-size: 14px;
}

.vtn-count {
    flex: 0 0 auto;
    padding: 8px 14px;
    border: 1px solid rgba(0, 123, 78, 0.16);
    border-radius: 999px;
    background: var(--vtn-soft);
    color: var(--vtn-green-dark);
    font-size: 12px;
    font-weight: 760;
}

.vtn-mobile-hint {
    display: none;
    margin: 0;
    padding: 13px 20px;
    border-top: 1px solid var(--vtn-line);
    border-bottom: 1px solid var(--vtn-line);
    background: #f8fbfa;
    color: var(--vtn-muted);
    font-size: 12px;
    font-weight: 650;
}

.vtn-mobile-hint span {
    margin-right: 6px;
    color: var(--vtn-green);
    font-size: 16px;
}

.vtn-table-scroll {
    overflow-x: auto;
    outline: none;
    scrollbar-color: #9bbab1 #edf4f2;
    scrollbar-width: thin;
}

.vtn-table-scroll:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(0, 123, 78, 0.22);
}

.vtn-table-scroll::-webkit-scrollbar {
    height: 10px;
}

.vtn-table-scroll::-webkit-scrollbar-track {
    background: #edf4f2;
}

.vtn-table-scroll::-webkit-scrollbar-thumb {
    border: 2px solid #edf4f2;
    border-radius: 10px;
    background: #9bbab1;
}

.vtn-table {
    width: 100%;
    min-width: 1180px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-variant-numeric: tabular-nums;
}

.vtn-table th,
.vtn-table td {
    border: 0;
    border-bottom: 1px solid #e5eeeb;
}

.vtn-table thead th {
    padding: 17px 14px;
    background: var(--vtn-ink);
    color: rgba(255, 255, 255, 0.96);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.025em;
    line-height: 1.35;
    text-align: right;
    text-transform: uppercase;
    vertical-align: bottom;
}

.vtn-table thead th span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 9px;
    font-weight: 650;
}

.vtn-table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 4;
    text-align: left;
}

.vtn-table tbody th,
.vtn-table tbody td {
    padding: 15px 14px;
    background: var(--vtn-white);
    color: var(--vtn-text);
    font-size: 13px;
    line-height: 1.35;
    text-align: right;
    vertical-align: middle;
}

.vtn-table tbody tr:nth-child(even) th,
.vtn-table tbody tr:nth-child(even) td {
    background: #f9fbfa;
}

.vtn-table tbody tr:hover th,
.vtn-table tbody tr:hover td {
    background: #eef8f4;
}

.vtn-table .vtn-city {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 245px;
    color: var(--vtn-ink);
    font-size: 12px;
    font-weight: 780;
    letter-spacing: 0.01em;
    text-align: left;
    box-shadow: 8px 0 14px -13px rgba(0, 23, 25, 0.8);
}

.vtn-col-city {
    width: 260px;
}

.vtn-table td {
    white-space: nowrap;
}

.vtn-value-missing {
    color: #8a5a10 !important;
    font-size: 11px !important;
    font-style: italic;
}

.vtn-source {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 20px 34px 22px;
    background: #e8f5f0;
    color: var(--vtn-text);
}

.vtn-source svg {
    flex: 0 0 auto;
    width: 21px;
    height: 21px;
    color: var(--vtn-green);
}

.vtn-source p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
}

.vtn-source strong {
    color: var(--vtn-green-dark);
}

@media (max-width: 991px) {
    .vtn-mobile-hint {
        display: block;
    }
}

@media (max-width: 767px) {
    .aiba-vtn-hero {
        min-height: 340px;
        padding: 102px 0 54px;
    }

    .aiba-vtn-hero .hero-visual-bg {
        background-attachment: scroll;
    }

    .aiba-vtn-hero .hero-content-stack {
        gap: 22px;
    }

    .aiba-vtn-hero .hero-main-title {
        font-size: 34px;
    }

    .vtn-content {
        padding: 30px 0 50px;
    }

    .vtn-sheet {
        border-radius: 18px;
    }

    .vtn-sheet-header {
        display: block;
        padding: 24px 22px 21px;
    }

    .vtn-sheet-header p {
        font-size: 13px;
        line-height: 1.55;
    }

    .vtn-count {
        display: inline-flex;
        margin-top: 16px;
    }

    .vtn-table {
        min-width: 1120px;
    }

    .vtn-table thead th {
        padding: 14px 12px;
    }

    .vtn-table tbody th,
    .vtn-table tbody td {
        padding: 14px 12px;
    }

    .vtn-table .vtn-city {
        min-width: 220px;
    }

    .vtn-source {
        align-items: flex-start;
        padding: 18px 22px 20px;
    }
}

@media print {
    .aiba-vtn-hero,
    .vtn-mobile-hint,
    .site-footer,
    .footer-area {
        display: none !important;
    }

    .vtn-content {
        padding: 0;
    }

    .vtn-sheet {
        border: 0;
        box-shadow: none;
    }

    .vtn-table-scroll {
        overflow: visible;
    }

    .vtn-table {
        min-width: 0;
        font-size: 8px;
    }
}
