/* =========================================
   AG Trabalhos
   Frontend Styles
========================================= */
/* ==========================
   Nav Section Job
========================== */
.nav-job-desk {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 7.5%;
}
.nav-item-job {
    animation: riseIn 0.7s cubic-bezier(.19, 1, .22, 1) forwards;
    transform: translateY(14px);
    text-decoration: none;
    flex-direction: column;
    align-items: start;
    color: #575757;
    display: flex;
    gap: 14px;
    opacity: 0;
}
.nav-item-job:hover .nav-icon {
    background: #ffc20d;
}
.nav-job-mob {
    display: none;
}
.nav-icon {
    transition: background 0.35s ease;
    justify-content: center;
    background: #0094aa;
    align-items: center;
    position: relative;
    overflow: hidden;
    display: flex;
    min-width: 40px;
    width: 40px;
    height: 40px;
    color: #fff;
}
.nav-icon i {
    position: relative;
    font-size: 1.2rem;
    z-index: 1;
}
.nav-label {
    color: #575757;
    font-size: 1rem;
    line-height: 1.1;
}
.nav-job .nav-icon i {
    animation: pulse 0.9s infinite ease-in-out;
}
/* ==========================
   Card
========================== */
.card {
    position: relative;
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: clamp(60px, 18.4vw, 330px) minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(4px, 0.6vw, 8px);
    margin: -1px 0 0;
    padding: 0 0 clamp(24px, 4vw, 40px) 0;
    margin-top: 5rem;
    border: 0;
}
/* ==========================
   Sidebar
========================== */
.sidebar {
    position: relative;
    min-height: 100%;
    padding: 0 0 clamp(4px, 1vw, 12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.brand-vertical {
    display: inline-block;
    transform: rotate(-90deg);
    transform-origin: center;
    white-space: nowrap;
    font-size: clamp(24px, 5.08vw, 50px);
    font-weight: 600;
    letter-spacing: clamp(0.80em, 0.94vw, 0.96em);
    margin-top: 17rem;
    color: var(--cor_quinary);
    animation: fadeIn 0.8s ease 0.15s forwards;
}
/* ==========================
   Grid
========================== */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(164px, 1fr);
    gap: 0;
}
.ag-trabalho-tile {
    transform: translateY(24px);
    aspect-ratio: 560 / 347;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.ag-trabalho-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.001);
    transition: transform 0.7s cubic-bezier(.19, 1, .22, 1), filter 0.6s ease;
}
.ag-trabalho-tile:hover img {
    transform: scale(1.08);
    filter: brightness(0.85);
}
.ag-trabalho-tile .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 14px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
    opacity: 0;
    transition: opacity 0.45s ease;
}
.ag-trabalho-tile:hover .overlay {
    opacity: 1;
}
.ag-trabalho-tile .overlay span {
    color: #fff;
    font-size: clamp(15px, 1.08vw, 16px);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    transform: translateY(8px);
    transition: transform 0.45s ease;
    line-height: 1;
}
.ag-trabalho-tile:hover .overlay span {
    transform: translateY(0);
}
.row1 {
    grid-column: 1;
    grid-row: 1;
}
.row1-b {
    grid-column: 2;
    grid-row: 1;
}
.row2 {
    grid-column: 1;
    grid-row: 2;
}
.row2-b {
    grid-column: 2;
    grid-row: 2;
}
.row3 {
    grid-column: 1;
    grid-row: 3;
}
.row3-b {
    grid-column: 2;
    grid-row: 3;
}
/* ==========================
   Grid trabalhos
========================== */
.grid-trabalhos {
    grid-template-columns: repeat(2,1fr);
    display: grid;
    margin: auto;
    width: 100%;
    gap: 0;
}
.grid-trabalhos .trabalho {
    opacity: 0;
}
.trabalho {
    overflow: hidden;
}
.trabalho img {
    transition: all .5s ease;
    display: block;
    width: 100%;
}
.trabalho.active img,
.trabalho:active img,
.trabalho:hover img,
.trabalho:focus img {
    transform: scale(1.05);
}
.trabalhos {
    padding: 0 5rem 5rem 5rem;
    margin-bottom: 0;
}
/* ==========================
   Select trabalhos
========================== */
.select-ag-trabalhos {
    margin: 5rem 0;
    position: relative;
    width: 300px;
}
.select-ag-trabalhos select {
    padding: 1rem 2.8rem 1rem 1.8rem;
    width: 100%;
    height: 60px;
    border: none;
    background: #e4e4e4;
    font-weight: 700;
    font-size: 1rem;
    color: #9e9e9e;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    outline: none;
}
.select-ag-trabalhos select:hover {
    background: var(--cor_primary);
    color: var(--cor_white);
}
.select-ag-trabalhos i {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cor_primary);
    font-size: 1.5rem;
    pointer-events: none;
}
.select-ag-trabalhos:hover i {
    color: #e4e4e4;
}
.ag-trabalho-item {
    position: relative;
    overflow: hidden;
    min-height: 462px;
    margin-bottom: 5rem;
}
.ag-trabalho-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1000px;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 2;
}
.ag-trabalho-bg {
    position: absolute;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    inset: 0;
}
.logo-trabalho-desk {
	margin-bottom: 2.5rem;
	display: block;
}
.logo-trabalho-mob {
	display: none;
}
.ag-trabalho-content {
    position: relative;
    z-index: 2;
    min-height: 462px;
    padding: 8rem;
}
.ag-trabalho-item h2 {
    color: var(--cor_tertiary);
}
.ag-trabalho-item p {
    margin-bottom: 3rem;
    color: var(--cor_white);
    font-size: 1.2rem;
}
.btn-ag-trabalhos {
    background-color: var(--cor_primary);
    border-color: var(--cor_primary);
    color: var(--cor_white);
    padding: 1rem 1.8rem;
}
.btn-ag-trabalhos:hover,
.btn-ag-trabalhos:focus {
    background-color: var(--cor_tertiary);
    border-color: var(--cor_tertiary);
    color: var(--cor_quinary);
}
/* ==========================
   Single
========================== */
.ag-trabalho-single {
    width: 100%;
}
.ag-case-editorial-wrap {
    text-align: center;
    padding: 3rem;
    width: 100%;
}
.ag-case-shell {
    padding: 0 5rem 0;
}
.ag-case-only-mobile {
    display: none;
}
.ag-case-banner {
    margin: 0 auto;
    width: min(100%, 2160px);
}
.ag-case-banner-image {
    display: block;
    width: 100%;
    height: auto;
}
.ag-case-content {
    color: var(--cor_quinary);
    font-size: 1.125rem;
    line-height: 1.7;
}
.ag-case-content > :first-child {
    margin-top: 0;
}
.ag-case-content > :last-child {
    margin-bottom: 0;
}
.ag-case-media,
.ag-case-mobile-media {
    margin: 0;
}
.ag-case-media {
    width: 100%;
    overflow: hidden;
}
.ag-case-desktop-image,
.ag-case-mobile-image {
    display: block;
    width: 100%;
    height: 100%;
}
.ag-case-media-row {
    display: grid;
    gap: 0;
}
.ag-case-media-row-halves {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.ag-case-media-row-65-35 {
    grid-template-columns: minmax(0, 1128fr) minmax(0, 618fr);
}
.ag-case-media-row-35-65 {
    grid-template-columns: minmax(0, 618fr) minmax(0, 1128fr);
}
.ag-case-media-row-56-44 {
    grid-template-columns: minmax(0, 980fr) minmax(0, 766fr);
}
.ag-case-media-row-44-56 {
    grid-template-columns: minmax(0, 766fr) minmax(0, 980fr);
}
.ag-case-mobile-story {
    margin: 0 auto;
    padding: 0;
    width: min(100%, 603px);
    text-align: center;
}
.ag-case-mobile-card {
    margin-bottom: 0;
}
.ag-trabalhos-section--content .ag-trabalhos-section__content {
    --ag-case-copy-bg: transparent;
    --ag-trabalhos-title-color: var(--cor_quinary);
    --ag-trabalhos-subtitle-color: var(--cor_primary);
    --ag-trabalhos-text-color: var(--cor_quinary);

    background: var(--ag-case-copy-bg);
    
    color: var(--ag-trabalhos-text-color);
    padding: 18px 4px 0;
}
.ag-trabalhos-section--content .ag-trabalhos-section__content h1,
.ag-trabalhos-section--content .ag-trabalhos-section__content h2,
.ag-trabalhos-section--content .ag-trabalhos-section__content h3,
.ag-trabalhos-section--content .ag-trabalhos-section__content h4,
.ag-trabalhos-section--content .ag-trabalhos-section__content h5,
.ag-trabalhos-section--content .ag-trabalhos-section__content h6 {
    color: var(--ag-trabalhos-title-color, inherit);
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    margin: 0 0 .6rem;
    text-transform: uppercase;
}
.ag-trabalhos-section--content .ag-trabalhos-section__content h1 span,
.ag-trabalhos-section--content .ag-trabalhos-section__content h2 span,
.ag-trabalhos-section--content .ag-trabalhos-section__content h3 span,
.ag-trabalhos-section--content .ag-trabalhos-section__content h4 span,
.ag-trabalhos-section--content .ag-trabalhos-section__content h5 span,
.ag-trabalhos-section--content .ag-trabalhos-section__content h6 span {
    color: var(--ag-trabalhos-subtitle-color);
    letter-spacing: .08em;
    margin: 0 0 .7rem;
}
.ag-trabalhos-section--content .ag-trabalhos-section__content p {
    color: var(--ag-trabalhos-text-color);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1;
    margin: 0;
}
.ag-case-results-mobile {
    --ag-case-results-bg: #a8433d;
    --ag-case-results-title: #ffffff;
    --ag-case-results-intro: #ffffff;
    --ag-case-results-stat-1-number: #f3a43d;
    --ag-case-results-stat-1-label: #f3a43d;
    --ag-case-results-connector: #ffffff;
    --ag-case-results-stat-2-number: #f3a43d;
    --ag-case-results-stat-2-label: #f3a43d;
    --ag-case-results-summary: #fff7f0;
    --ag-case-results-cities: #f3a43d;
    --ag-case-results-description: #fff7f0;
    background: var(--ag-case-results-bg);
    color: var(--ag-case-results-description);
    margin: 0;
    padding: 38px 24px 34px;
}
.ag-case-results-mobile h2 {
    color: var(--ag-case-results-title);
    font-size: 2.85rem;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1;
    margin: 0 0 2rem;
    text-transform: uppercase;
}
.ag-case-results-intro {
    color: var(--ag-case-results-intro);
    font-size: 1rem;
    line-height: 1;
    margin: 0 0 1rem;
    font-weight: 300;
}
.ag-case-results-stats {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr auto 1fr;
    margin: 0 auto 1.5rem;
    max-width: 360px;
}
.ag-case-results-stat strong {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: .02em;
    line-height: .9;
}
.ag-case-results-stat:first-child strong {
    color: var(--ag-case-results-stat-1-number);
}
.ag-case-results-stat span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    margin-top: .3rem;
}
.ag-case-results-stat:first-child span {
    color: var(--ag-case-results-stat-1-label);
}
.ag-case-results-stats em {
    color: var(--ag-case-results-connector);
    display: block;
    font-size: 1.7rem;
    font-weight: 300;
    font-style: normal;
    line-height: 1;
}
.ag-case-results-stat:last-child strong {
    color: var(--ag-case-results-stat-2-number);
}
.ag-case-results-stat:last-child span {
    color: var(--ag-case-results-stat-2-label);
}
.ag-case-results-summary,
.ag-case-results-description {
    font-size: 1rem;
    line-height: 1;
    margin: 0 auto 1.35rem;
    font-weight: 300;
    max-width: 360px;
}
.ag-case-results-summary {
    color: var(--ag-case-results-summary);
    font-weight: 300;
}
.ag-case-results-cities {
    color: var(--ag-case-results-cities);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    margin: 0 auto 1.5rem;
    max-width: 370px;
}
.ag-case-results-description {
    margin-bottom: 0;
}
body.single-ag_cases .ag-trabalho-single + .nav-row {
    padding: 2rem 5rem 2.5rem;
}
.nav-row-job {
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.nav-row-job .nav-item {
    position: absolute;
    right: 0;
}
.nav-row-item-job {
    animation: riseIn 0.7s cubic-bezier(.19, 1, .22, 1) forwards;
    transform: translateY(14px);
    background: transparent;
    -webkit-appearance: none;
    text-decoration: none;
    align-items: center;
    appearance: none;
    box-shadow: none;
    color: #575757;
    cursor: pointer;
    display: flex;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    gap: 14px;
    opacity: 0;
}
.nav-row-item-job:hover .nav-icon {
    background: #ffc20d;
}
.nav-row-item-job .nav-icon i {
    animation: pulse 0.9s infinite ease-in-out;
}
@media (max-width: 767.98px) {
    .ag-trabalhos-hide-mobile {
        display: none !important;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .ag-trabalhos-hide-tablet {
        display: none !important;
    }
}
@media (min-width: 992px) {
    .ag-trabalhos-hide-desktop {
        display: none !important;
    }
}
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .card {
        display: block;
        margin: 1rem 0;
        width: auto;
        /*z-index: -1;*/
    }
    .sidebar {
        display: block;
    }
    .brand-vertical {
        transform: rotate(0);
        text-align: center;
        margin: 1rem 0;
        display: block;
    }
    .grid {
        display: block;
    }
    .nav-job-desk {
        display: none;
    }
    .nav-job-mob {
        margin-top: 3rem;
        padding-left: 0;
        display: block;
    }
    .nav-item-job {
        justify-content: center;
        flex-direction: row;
    }
    .ag-case-only-desktop {
        display: none;
    }
    .ag-case-only-mobile {
        display: block;
    }
    .ag-trabalho-single {
        position: relative;
        margin-bottom: 0;
        padding-bottom: 0;
        /*z-index: -1;*/
    }
    .ag-case-shell {
        padding: 3rem 1.5rem 1.5rem 1.5rem;
    }
    .ag-case-editorial-wrap {
        display: none;
    }
    .ag-case-desktop-gallery {
        padding: 0 16px;
    }
    .ag-case-mobile-story {
        width: 100%;
        max-width: none;
        overflow: hidden;
    }
    .ag-trabalhos-section--content .ag-trabalhos-section__content {
        padding: 3rem;
    }
    .ag-case-title {
        font-size: 2.35rem;
    }
    .ag-case-summary {
        font-size: 1rem;
    }
    .ag-case-content {
        font-size: 1rem;
        line-height: 1.65;
    }
    .ag-case-results-mobile {
        padding: 32px 18px 28px;
    }
    .ag-case-results-mobile h2 {
        font-size: 2.2rem;
        margin-bottom: 1.7rem;
    }
    .ag-case-results-stats {
        gap: 10px;
        max-width: 300px;
    }
    .ag-case-results-stat strong {
        font-size: 3.35rem;
    }
    .ag-trabalho-single .nav-row {
        padding: 0 1.5rem 1.5rem;
    }
    .ag-trabalho-single .nav-row .nav-top {
        display: inline-block;
        text-align: right;
    }
    .ag-trabalho-single .nav-row .nav-top .nav-icon {
        display: inline-flex;
        margin-bottom: 0.5rem;
    }
    .ag-trabalho-single .nav-row .nav-top .nav-label {
        display: block;
    }
    body.single-ag_cases .ag-trabalho-single + .nav-row {
        padding: 1rem 1.5rem 2rem;
    }
    .trabalhos {
        padding: 0 1.5rem 1.5rem;
    }
    .select-ag-trabalhos {
        margin: 2rem 0;
    }
    .ag-trabalho-item {
        min-height: auto;
        margin-bottom: 1.5rem;
        padding: 0;
    }
	.ag-trabalho-bg {
        background-position: 100%;
        justify-content: center;
        position: relative;
        text-align: center;
        align-items: end;
        display: flex;
        padding: 1rem;
        height: 220px;
    }
	.logo-trabalho-desk {
		display: none;
	}
	.logo-trabalho-mob {
		display: block;
		width: 45%;
	}
    .ag-trabalho-content {
        background: #575756;
        text-align: center;
        min-height: auto;
        padding: 40px 20px;
    }
    .ag-case-results-summary {
        max-width: 195px;
    }
    .ag-case-results-cities {
        font-size: 0.9rem;
        font-weight: 600;
        line-height: 1.2;
    }
    .nav-row-job {
        height: 82.22px;
    }
    .nav-row-item-job {
        display: inline-block;
    }
    .nav-row-job .nav-top .nav-icon {
        display: inline-flex;
        margin-bottom: 0.5rem;
    }
    .nav-row-job .nav-top .nav-label {
        display: block;
    }
}
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .card {
        display: block;
        margin: 1rem 0;
        width: auto;
        /*z-index: -1;*/
    }
    .sidebar {
        display: block;
    }
    .brand-vertical {
        transform: rotate(0);
        text-align: center;
        margin: 1rem 0;
        display: block;
    }
    .grid {
        display: block;
    }
    .nav-job-desk {
        display: none;
    }
    .nav-job-mob {
        margin-top: 3rem;
        padding-left: 0;
        display: block;
    }
    .nav-item-job {
        justify-content: center;
        flex-direction: row;
    }
    .ag-case-only-desktop {
        display: none;
    }
    .ag-case-only-mobile {
        display: block;
    }
    .ag-trabalho-single {
        position: relative;
        margin-bottom: 0;
        padding-bottom: 0;
        /*z-index: -1;*/
    }
    .ag-case-shell {
        padding: 3rem 1.5rem 1.5rem 1.5rem;
    }
    .ag-case-editorial-wrap {
        display: none;
    }
    .ag-case-desktop-gallery {
        padding: 0 16px;
    }
    .ag-case-mobile-story {
        width: 100%;
        max-width: none;
        overflow: hidden;
    }
    .ag-trabalhos-section--content .ag-trabalhos-section__content {
        padding: 3rem;
    }
    .ag-case-title {
        font-size: 2.35rem;
    }
    .ag-case-summary {
        font-size: 1rem;
    }
    .ag-case-content {
        font-size: 1rem;
        line-height: 1.65;
    }
    .ag-case-results-mobile {
        padding: 32px 18px 28px;
    }
    .ag-case-results-mobile h2 {
        font-size: 2.2rem;
        margin-bottom: 1.7rem;
    }
    .ag-case-results-stats {
        gap: 10px;
        max-width: 300px;
    }
    .ag-case-results-stat strong {
        font-size: 3.35rem;
    }
    .ag-trabalho-single .nav-row {
        padding: 0 1.5rem 1.5rem;
    }
    .ag-trabalho-single .nav-row .nav-top {
        display: inline-block;
        text-align: right;
    }
    .ag-trabalho-single .nav-row .nav-top .nav-icon {
        display: inline-flex;
        margin-bottom: 0.5rem;
    }
    .ag-trabalho-single .nav-row .nav-top .nav-label {
        display: block;
    }
    body.single-ag_cases .ag-trabalho-single + .nav-row {
        padding: 1rem 1.5rem 2rem;
    }
    .trabalhos {
        padding: 0 1.5rem 1.5rem;
    }
    .select-ag-trabalhos {
        margin: 2rem 0;
    }
    .ag-trabalho-item {
        min-height: auto;
        margin-bottom: 1.5rem;
        padding: 0;
    }
    .ag-trabalho-bg {
        background-position: 100%;
        justify-content: center;
        position: relative;
        text-align: center;
        align-items: end;
        display: flex;
        padding: 1rem;
        height: 300px;
    }
    .logo-trabalho-desk {
		display: none;
	}
	.logo-trabalho-mob {
		display: block;
		width: 50%;
	}
    .ag-trabalho-content {
        background: #575756;
        text-align: center;
        min-height: auto;
        padding: 40px 20px;
    }
    .ag-case-results-summary {
        max-width: 195px;
    }
    .ag-case-results-cities {
        font-size: 0.9rem;
        font-weight: 600;
        line-height: 1.2;
    }
    .nav-row-job {
        height: 82.22px;
    }
    .nav-row-item-job {
        display: inline-block;
    }
    .nav-row-job .nav-top .nav-icon {
        display: inline-flex;
        margin-bottom: 0.5rem;
    }
    .nav-row-job .nav-top .nav-label {
        display: block;
    }
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .card {
        display: block;
        margin: 1rem 0;
        width: auto;
        /*z-index: -1;*/
    }
    .sidebar {
        display: block;
    }
    .brand-vertical {
        transform: rotate(0);
        text-align: center;
        margin: 1rem 0;
        display: block;
    }
    .grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: minmax(164px, 1fr);
        gap: 3px;
    }
    .nav-job-desk {
        display: none;
    }
    .nav-job-mob {
        margin-top: 3rem;
        padding-left: 0;
        display: block;
    }
    .nav-item-job {
        justify-content: center;
        flex-direction: row;
    }
    .ag-case-only-desktop {
        display: none;
    }
    .ag-case-only-mobile {
        display: block;
    }
    .ag-trabalho-single {
        position: relative;
        margin-bottom: 0;
        padding-bottom: 0;
        /*z-index: -1;*/
    }
    .ag-case-shell {
        padding: 3rem 1.5rem 1.5rem 1.5rem;
    }
    .ag-case-editorial-wrap {
        display: none;
    }
    .ag-case-desktop-gallery {
        padding: 0 16px;
    }
    .ag-case-mobile-story {
        width: 100%;
        max-width: none;
        overflow: hidden;
    }
    .ag-trabalhos-section--content .ag-trabalhos-section__content {
        padding: 3rem;
    }
    .ag-case-title {
        font-size: 2.35rem;
    }
    .ag-case-summary {
        font-size: 1rem;
    }
    .ag-case-content {
        font-size: 1rem;
        line-height: 1.65;
    }
    .ag-case-results-mobile {
        padding: 32px 18px 28px;
    }
    .ag-case-results-mobile h2 {
        font-size: 2.2rem;
        margin-bottom: 1.7rem;
    }
    .ag-case-results-stats {
        gap: 10px;
        max-width: 300px;
    }
    .ag-case-results-stat strong {
        font-size: 3.35rem;
    }
    .ag-trabalho-single .nav-row {
        padding: 0 1.5rem 1.5rem;
    }
    .ag-trabalho-single .nav-row .nav-top {
        display: inline-block;
        text-align: right;
    }
    .ag-trabalho-single .nav-row .nav-top .nav-icon {
        display: inline-flex;
        margin-bottom: 0.5rem;
    }
    .ag-trabalho-single .nav-row .nav-top .nav-label {
        display: block;
    }
    body.single-ag_cases .ag-trabalho-single + .nav-row {
        padding: 1rem 1.5rem 2rem;
    }
    .trabalhos {
        padding: 0 1.5rem 1.5rem;
    }
    .select-ag-trabalhos {
        margin: 2rem 0;
    }
    .ag-trabalho-item {
        min-height: auto;
        margin-bottom: 1.5rem;
        padding: 0;
    }
    .ag-trabalho-bg {
        background-position: 100%;
        justify-content: center;
        position: relative;
        text-align: center;
        align-items: end;
        display: flex;
        padding: 1rem;
        height: 450px;
    }
    .logo-trabalho-desk {
		display: none;
	}
	.logo-trabalho-mob {
		display: block;
		width: 80%;
	}
    .ag-trabalho-content {
        background: #575756;
        text-align: center;
        min-height: auto;
        padding: 40px 20px;
    }
    .ag-case-results-summary {
        max-width: 195px;
    }
    .ag-case-results-cities {
        font-size: 0.9rem;
        font-weight: 600;
        line-height: 1.2;
    }
    .nav-row-job {
        height: 82.22px;
    }
    .nav-row-item-job {
        display: inline-block;
    }
    .nav-row-job .nav-top .nav-icon {
        display: inline-flex;
        margin-bottom: 0.5rem;
    }
    .nav-row-job .nav-top .nav-label {
        display: block;
    }
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .ag-trabalho-content {
        min-height: 450px;
        padding: 4rem;
    }
}
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .ag-trabalho-bg {
        background-position: 70%;
    }
}
@media (min-width: 1280px) {
    .ag-trabalho-bg {
        background-position: 85%;
    }
}
@media (min-width: 1340px) {
    .ag-trabalho-bg {
        background-position: 90%;
    }
}
@media (min-width: 1367px) {
    .ag-trabalho-bg {
        background-position: 100%;
    }
}
@media (min-width: 1440px) {
    .ag-trabalho-bg {
        background-position: 100%;
    }
}
@media (min-width: 1536px) {
    .ag-trabalho-bg {
        background-position: 100%;
    }
}
@media (min-width: 1728px) {
    .ag-trabalho-content {
        min-height: 462px;
        align-items: center;
        display: flex;
    }
}
@media (min-width: 1920px) {
    .ag-trabalho-content {
        min-height: 620px;
        align-items: center;
        display: flex;
    }
}
@media (min-width: 2048px) {
    .ag-trabalho-content {
        min-height: 620px;
        align-items: center;
        display: flex;
    }
}






.ag-trabalhos-single,
.ag-trabalhos-archive {
    color: var(--ag-trabalhos-ink);
}

.ag-trabalhos-single img,
.ag-trabalhos-archive img,
.ag-trabalhos-section img {
    display: block;
    max-width: 100%;
    height: auto;
}

.ag-trabalhos-hero {
    position: relative;
    overflow: hidden;
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
    padding-bottom: clamp(2rem, 4vw, 3.5rem);
    background: transparent;
    color: var(--ag-trabalhos-ink);
}

.ag-trabalhos-hero__media {
    position: relative;
    width: min(100%, 1240px);
    margin: 0 auto;
    border-radius: calc(var(--ag-trabalhos-radius) - 4px);
    overflow: hidden;
    background: var(--ag-trabalhos-surface-strong);
}

.ag-trabalhos-hero__media img {
    width: 100%;
    height: clamp(280px, 42vw, 520px);
    object-fit: cover;
}

.ag-trabalhos-hero__inner {
    position: relative;
    z-index: 1;
    min-height: 0;
    display: block;
    padding-top: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: 0;
}

.ag-trabalhos-hero__content {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.ag-trabalhos-eyebrow,
.ag-trabalhos-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ag-trabalhos-accent);
}

.ag-trabalhos-badge {
    margin-bottom: 1rem;
}

.ag-trabalhos-hero__title,
.ag-trabalhos-title,
.ag-trabalhos-card__title,
.ag-trabalhos-archive__title {
    margin: 0;
    line-height: 0.88;
    letter-spacing: -0.04em;
    text-wrap: balance;
    font-weight: 300;
}

.ag-trabalhos-hero__title {
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    margin-top: 0.85rem;
}

.ag-trabalhos-hero__subtitle,
.ag-trabalhos-subtitle {
    margin: 1.25rem 0 0;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.ag-trabalhos-hero__subtitle {
    color: var(--ag-trabalhos-muted);
}

.ag-trabalhos-hero__resume {
    max-width: 900px;
    margin: 1.5rem auto 0;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.55;
    color: var(--ag-trabalhos-muted);
}

.ag-trabalhos-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    max-width: 760px;
    margin: 2rem auto 0;
    text-align: left;
}

.ag-trabalhos-meta dt {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ag-trabalhos-accent);
}

.ag-trabalhos-meta dd {
    margin: 0.35rem 0 0;
}

.ag-trabalhos-sections {
    padding-top: 1rem;
    background: #fff;
}

.ag-trabalhos-section {
    position: relative;
}

.ag-trabalhos-section__content {
    width: 100%;
}

/*
.ag-trabalhos-section--full .ag-trabalhos-section__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1.05fr);
    gap: 2rem;
    align-items: center;
}
*/

.ag-trabalhos-section--full.ag-trabalhos-variant--media-left .ag-trabalhos-section__content {
    grid-template-columns: minmax(320px, 1.05fr) minmax(0, 1fr);
}

.ag-trabalhos-section--full.ag-trabalhos-variant--media-left .ag-trabalhos-text {
    order: 2;
}

.ag-trabalhos-section--full.ag-trabalhos-variant--media-left .ag-trabalhos-media {
    order: 1;
}

.ag-trabalhos-section--content.ag-trabalhos-variant--spotlight .ag-trabalhos-text,
.ag-trabalhos-section--full.ag-trabalhos-variant--spotlight .ag-trabalhos-text {
    padding: 2rem;
    border-radius: calc(var(--ag-trabalhos-radius) - 6px);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    box-shadow: var(--ag-trabalhos-shadow);
}

.ag-trabalhos-text > * + * {
    margin-top: 1rem;
}

.ag-trabalhos-title {
    color: var(--ag-trabalhos-title-color, inherit);
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.ag-trabalhos-subtitle {
    color: var(--ag-trabalhos-subtitle-color, var(--ag-trabalhos-muted));
}

.ag-trabalhos-copy,
.ag-trabalhos-excerpt,
.ag-trabalhos-card__excerpt,
.ag-trabalhos-results__item p {
    color: var(--ag-trabalhos-muted);
    line-height: 1.55;
}

.ag-trabalhos-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-top: 1.5rem;
}

.ag-trabalhos-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--ag-trabalhos-button-background, var(--ag-trabalhos-accent));
    color: var(--ag-trabalhos-button-color, #fff);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ag-trabalhos-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(188, 108, 37, 0.18);
}

.ag-trabalhos-button--secondary,
.ag-trabalhos-button--outline {
    background: transparent;
    border-color: currentColor;
    color: var(--ag-trabalhos-ink);
}

.ag-trabalhos-button--text {
    background: transparent;
    border-color: transparent;
    padding-left: 0;
    padding-right: 0;
    color: var(--ag-trabalhos-accent);
}

.ag-trabalhos-grid {
    display: grid;
    /*
    gap: 1.5rem;
    margin-top: 2rem;
    */
}

.ag-trabalhos-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ag-trabalhos-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ag-trabalhos-section--two_columns.ag-trabalhos-variant--offset .ag-trabalhos-grid--2 > :nth-child(2),
.ag-trabalhos-section--three_columns.ag-trabalhos-variant--offset .ag-trabalhos-grid--3 > :nth-child(2) {
    transform: translateY(2.5rem);
}

.ag-trabalhos-section--three_columns.ag-trabalhos-variant--spotlight .ag-trabalhos-grid--3 > :nth-child(2) {
    transform: scale(1.04);
    z-index: 1;
}

.ag-trabalhos-media {
    margin: 0;
    overflow: hidden;
    border-radius: calc(var(--ag-trabalhos-radius) - 6px);
    background: var(--ag-trabalhos-surface-strong);
    box-shadow: var(--ag-trabalhos-shadow);
}

.ag-trabalhos-media img {
    width: 100%;
    height: 100%;
    min-height: 280px;
}

.ag-trabalhos-media figcaption {
    padding: 1rem 1.25rem;
    color: var(--ag-trabalhos-muted);
    background: #fff;
}

.ag-trabalhos-mosaic {
    display: grid;
    grid-template-columns: repeat(var(--ag-mosaic-columns, 2), minmax(0, 1fr));
    grid-auto-rows: minmax(var(--ag-mosaic-row-height, 180px), auto);
    align-items: stretch;
}

.ag-trabalhos-mosaic > * {
    min-width: 0;
    min-height: 100%;
    margin: 0;
}

.ag-trabalhos-mosaic > .ag-animate {
    min-width: 0;
}

.ag-trabalhos-mosaic__item {
    height: 100%;
}

.ag-trabalhos-mosaic__item .ag-trabalhos-media {
    height: 100%;
}

.ag-trabalhos-mosaic__item img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.ag-trabalhos-mosaic__link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.ag-trabalhos-mosaic__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 100%;
    padding: clamp(1.5rem, 3vw, 2.75rem);
    border-radius: calc(var(--ag-trabalhos-radius) - 6px);
    background: var(--ag-mosaic-item-background, #c55640);
    color: var(--ag-mosaic-item-text-color, #fff4df);
    box-shadow: var(--ag-trabalhos-shadow);
}

.ag-trabalhos-mosaic__content > * + * {
    margin-top: 0.875rem;
}

.ag-trabalhos-mosaic__subtitle {
    margin: 0;
    color: var(--ag-mosaic-item-subtitle-color, var(--ag-mosaic-item-text-color, #fff4df));
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    font-weight: var(--ag-mosaic-item-subtitle-weight, 600);
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ag-trabalhos-mosaic__title {
    margin: 0;
    color: var(--ag-mosaic-item-title-color, #ffffff);
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    font-weight: var(--ag-mosaic-item-title-weight, 700);
    line-height: 0.95;
    text-transform: uppercase;
}

.ag-trabalhos-mosaic__description,
.ag-trabalhos-mosaic__description p {
    font-size: clamp(0.9rem, 1vw, 1rem);
    color: var(--ag-mosaic-item-text-color, #fff4df);
    font-weight: var(--ag-mosaic-item-text-weight, 400);
}

.ag-trabalhos-mosaic__description ul {
    list-style-position: inside;
    padding-left: 0;
}

.ag-trabalhos-mosaic__description p:first-child {
    margin-top: 0;
}

.ag-trabalhos-mosaic__description p:last-child {
    margin-bottom: 0;
}

.ag-trabalhos-quote {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.25rem 1.5rem;
    align-items: center;
    padding: 2rem;
    margin: 2rem 0 0;
    border-radius: var(--ag-trabalhos-radius);
    background: linear-gradient(145deg, #fcfaf6, #efe8db);
    box-shadow: var(--ag-trabalhos-shadow);
}

.ag-trabalhos-quote__avatar img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    min-height: 0;
}

.ag-trabalhos-quote__text {
    margin: 0;
    font-size: clamp(1.25rem, 2.4vw, 2rem);
    line-height: 1.45;
    letter-spacing: -0.03em;
}

.ag-trabalhos-quote__meta {
    grid-column: 2;
    display: grid;
    gap: 0.25rem;
    color: var(--ag-trabalhos-muted);
}

.ag-trabalhos-quote__meta strong {
    color: var(--ag-trabalhos-ink);
}

.ag-trabalhos-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.ag-trabalhos-stat-card {
    padding: 1.5rem;
    border-radius: calc(var(--ag-trabalhos-radius) - 8px);
    background: #fff;
    border: 1px solid var(--ag-trabalhos-border);
    box-shadow: var(--ag-trabalhos-shadow);
}

.ag-trabalhos-stat-card strong {
    display: block;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 0.95;
    color: var(--ag-trabalhos-accent);
}

.ag-trabalhos-stat-card h3 {
    margin: 0.75rem 0 0;
    font-size: 1.1rem;
}

.ag-trabalhos-stat-card p {
    margin: 0.75rem 0 0;
    color: var(--ag-trabalhos-muted);
    line-height: 1.6;
}

.ag-trabalhos-timeline {
    position: relative;
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-left: 1.5rem;
}

.ag-trabalhos-timeline::before {
    content: "";
    position: absolute;
    left: 0.35rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--ag-trabalhos-accent), rgba(188, 108, 37, 0.15));
}

.ag-trabalhos-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.ag-trabalhos-timeline__item::before {
    content: "";
    position: absolute;
    left: -1.21rem;
    top: 0.45rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--ag-trabalhos-accent);
    box-shadow: 0 0 0 5px rgba(188, 108, 37, 0.14);
}

.ag-trabalhos-timeline__period {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ag-trabalhos-accent);
}

.ag-trabalhos-timeline__content {
    padding: 1.25rem 1.4rem;
    border-radius: calc(var(--ag-trabalhos-radius) - 8px);
    background: #fff;
    border: 1px solid var(--ag-trabalhos-border);
    box-shadow: var(--ag-trabalhos-shadow);
}

.ag-trabalhos-timeline__content h3 {
    margin: 0;
    font-size: 1.2rem;
}

.ag-trabalhos-timeline__content p {
    margin: 0.75rem 0 0;
    color: var(--ag-trabalhos-muted);
    line-height: 1.7;
}

.ag-trabalhos-video {
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    border-radius: calc(var(--ag-trabalhos-radius) - 6px);
    box-shadow: var(--ag-trabalhos-shadow);
    background: #000;
}

.ag-trabalhos-video iframe,
.ag-trabalhos-video video,
.ag-trabalhos-video embed,
.ag-trabalhos-video object {
    display: block;
    width: 100%;
    border: 0;
}

.ag-trabalhos-video--16-9 iframe,
.ag-trabalhos-video--16-9 video {
    aspect-ratio: 16 / 9;
}

.ag-trabalhos-video--4-3 iframe,
.ag-trabalhos-video--4-3 video {
    aspect-ratio: 4 / 3;
}

.ag-trabalhos-video--1-1 iframe,
.ag-trabalhos-video--1-1 video {
    aspect-ratio: 1 / 1;
}

.ag-trabalhos-video--21-9 iframe,
.ag-trabalhos-video--21-9 video {
    aspect-ratio: 21 / 9;
}

.ag-trabalhos-results {
    padding: 1.5rem 0 4rem;
    background: #fff;
}

.ag-trabalhos-results__grid,
.ag-trabalhos-archive__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.ag-trabalhos-results__item,
.ag-trabalhos-card {
    padding: 1.75rem;
    border: 1px solid var(--ag-trabalhos-border);
    border-radius: var(--ag-trabalhos-radius);
    background: var(--ag-trabalhos-card);
    box-shadow: var(--ag-trabalhos-shadow);
}

.ag-trabalhos-results__item strong {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    color: var(--ag-trabalhos-accent);
}

.ag-trabalhos-results__item h2 {
    margin: 0.75rem 0 0;
    font-size: 1.2rem;
}

.ag-trabalhos-archive {
    padding-top: clamp(1rem, 3vw, 2rem);
    padding-bottom: 4rem;
}

.ag-trabalhos-archive__header {
    max-width: 900px;
    margin: 0 auto 2.75rem;
    text-align: center;
}

.ag-trabalhos-archive__title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    margin-top: 0.75rem;
}

.ag-trabalhos-archive__description {
    max-width: 860px;
    margin: 1.25rem auto 0;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.55;
    color: var(--ag-trabalhos-muted);
}

.ag-trabalhos-card {
    padding: 0;
    overflow: hidden;
    border-radius: 22px;
}

.ag-trabalhos-card__link {
    display: block;
    height: 100%;
    aspect-ratio: 16 / 10;
    text-decoration: none;
}

.ag-trabalhos-card__image img,
.ag-trabalhos-card__placeholder {
    width: 100%;
    min-height: 240px;
    object-fit: cover;
}

.ag-trabalhos-card__placeholder {
    display: grid;
    padding: 1.35rem 1.35rem 1.5rem;
    background: var(--ag-trabalhos-surface-strong);
    color: var(--ag-trabalhos-muted);
    font-size: clamp(2rem, 3vw, 2.75rem);
    margin-top: 0.35rem;
    padding: 1.5rem;
}

.ag-trabalhos-card__title {
    margin-top: 0.75rem;
    margin-top: 0.5rem;
}

.ag-trabalhos-card__meta {
    display: inline-block;
    margin-top: 1rem;
    color: var(--ag-trabalhos-muted);
}

.ag-trabalhos-pagination {
    margin-top: 2rem;
}

.ag-trabalhos-cta {
    --ag-cta-background: linear-gradient(135deg, #1f2933 0%, #2f455c 100%);
    --ag-cta-background-image: none;
    --ag-cta-icon-color: #ffffff;
    --ag-cta-icon-background: transparent;
    --ag-cta-icon-radius: 24px;
    --ag-cta-title-color: #ffffff;
    --ag-cta-text-color: rgba(255, 255, 255, 0.88);
    --ag-cta-button-bg: #bc6c25;
    --ag-cta-button-text: #ffffff;
    --ag-cta-button-bg-hover: #9f581b;
    --ag-cta-button-text-hover: #ffffff;
    --ag-cta-button-padding-y: 1rem;
    --ag-cta-button-padding-x: 2.25rem;
    --ag-cta-button-radius: 999px;
    --ag-cta-button-width: auto;
    --ag-cta-overlay-color: transparent;
    padding-top: 5rem;
    padding-bottom: 5rem;
    background: var(--ag-cta-background);
    background-image: var(--ag-cta-background-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.ag-trabalhos-cta .cta-section__overlay {
    position: absolute;
    inset: 0;
    background: var(--ag-cta-overlay-color);
    z-index: 0;
}

.ag-trabalhos-cta .container {
    position: relative;
    z-index: 1;
}

.ag-trabalhos-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
}

.ag-trabalhos-cta__main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
}

.ag-trabalhos-cta__icon,
.ag-trabalhos-cta .cta-section__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    padding: 1rem;
    background: var(--ag-cta-icon-background);
    color: var(--ag-cta-icon-color);
    border-radius: var(--ag-cta-icon-radius);
    flex-shrink: 0;
}

.ag-trabalhos-cta__icon svg,
.ag-trabalhos-cta__icon i,
.ag-trabalhos-cta__icon span,
.ag-trabalhos-cta .cta-section__button-icon svg,
.ag-trabalhos-cta .cta-section__button-icon i,
.ag-trabalhos-cta .cta-section__button-icon span {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1.75rem;
    fill: currentColor;
}

.ag-trabalhos-cta .cta-section__title {
    color: var(--ag-cta-title-color);
}

.ag-trabalhos-cta .cta-section__description {
    color: var(--ag-cta-text-color);
}

.ag-trabalhos-cta__actions {
    min-width: min(100%, 280px);
}

.ag-trabalhos-cta .btn-ag-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: var(--ag-cta-button-width);
    padding: var(--ag-cta-button-padding-y) var(--ag-cta-button-padding-x);
    border: 0;
    border-radius: var(--ag-cta-button-radius);
    background: var(--ag-cta-button-bg);
    color: var(--ag-cta-button-text);
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.ag-trabalhos-cta .btn-ag-cta:hover,
.ag-trabalhos-cta .btn-ag-cta:focus {
    background: var(--ag-cta-button-bg-hover);
    color: var(--ag-cta-button-text-hover);
    transform: translateY(-2px);
}

.ag-trabalhos-cta .cta-section__button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/*
.ag-trabalhos-hide-desktop {
    display: none;
}
*/

@media (max-width: 1024px) {
    /*
    .ag-trabalhos-section--full .ag-trabalhos-section__content {
        grid-template-columns: 1fr;
    }
    */
    .ag-trabalhos-quote,
    .ag-trabalhos-timeline__item {
        grid-template-columns: 1fr;
    }

    .ag-trabalhos-quote__meta {
        grid-column: auto;
    }

    .ag-trabalhos-section--two_columns.ag-trabalhos-variant--offset .ag-trabalhos-grid--2 > :nth-child(2),
    .ag-trabalhos-section--three_columns.ag-trabalhos-variant--offset .ag-trabalhos-grid--3 > :nth-child(2),
    .ag-trabalhos-section--three_columns.ag-trabalhos-variant--spotlight .ag-trabalhos-grid--3 > :nth-child(2) {
        transform: none;
    }

    .ag-trabalhos-grid--2,
    .ag-trabalhos-grid--3 {
        grid-template-columns: 1fr;
    }

    .ag-trabalhos-mosaic {
        grid-template-columns: repeat(var(--ag-mosaic-columns-tablet, var(--ag-mosaic-columns, 2)), minmax(0, 1fr));
    }

    .ag-trabalhos-section__content {
        max-width: 100% !important;
    }
}

@media (max-width: 767px) {
    .ag-trabalhos-hide-mobile {
        display: none;
    }

    .ag-trabalhos-hero__inner,
    .ag-trabalhos-archive {
        padding-top: 2rem;
        padding-bottom: 4rem;
    }

    .ag-trabalhos-hero__media img {
        height: 260px;
    }

    .ag-trabalhos-hero__title,
    .ag-trabalhos-archive__title,
    .ag-trabalhos-card__title {
        line-height: 0.95;
    }

    .ag-trabalhos-cta {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .ag-trabalhos-cta__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ag-trabalhos-cta__main {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .ag-trabalhos-cta__actions,
    .ag-trabalhos-cta .btn-ag-cta {
        width: 100%;
    }

    .ag-trabalhos-mobile-reverse .ag-trabalhos-grid {
        display: flex;
        flex-direction: column-reverse;
    }

    .ag-trabalhos-mosaic {
        grid-template-columns: repeat(var(--ag-mosaic-columns-mobile, 1), minmax(0, 1fr));
        grid-auto-rows: minmax(calc(var(--ag-mosaic-row-height, 180px) * 0.7), auto);
    }

    .ag-trabalhos-mosaic > * {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .ag-trabalhos-mosaic__content {
        min-height: 240px;
    }

    .ag-trabalhos-meta {
        grid-template-columns: 1fr;
    }
}







.ag-animate {
    opacity: 0;
    will-change: opacity, transform;
}
.ag-animate.is-visible {
    animation-duration: .8s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(.19,1,.22,1);
}
.ag-animation-left.is-visible {
    animation-name: fadeRight;
}
.ag-animation-right.is-visible {
    animation-name: fadeLeft;
}
.ag-animation-top.is-visible {
    animation-name: fadeDown;
}
.ag-animation-bottom.is-visible {
    animation-name: fadeUp;
}
.ag-animation-fade.is-visible {
    animation-name: fadeIn;
}
.ag-animation-zoom-in {
    transform: scale(.8);
}
.ag-animation-zoom-in.is-visible {
    animation-name: zoomIn;
}
.ag-animation-zoom-out {
    transform: scale(1.15);
}
.ag-animation-zoom-out.is-visible {
    animation-name: zoomOut;
}
.ag-animation-flip-left {
    transform: perspective(800px) rotateY(-90deg);
    transform-origin: center;
}
.ag-animation-flip-left.is-visible {
    animation-name: flipLeft;
}
.ag-animation-flip-right {
    transform: perspective(800px) rotateY(90deg);
    transform-origin: center;
}
.ag-animation-flip-right.is-visible {
    animation-name: flipRight;
}
/* ==========================
   Fade Up
========================== */
.animateFadeUp {
    animation: fadeUp .7s ease forwards;
    will-change: transform, opacity;
    opacity: 0;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==========================
   Fade Down
========================== */
.animateFadeDown {
    animation: fadeDown .7s ease forwards;
    will-change: transform, opacity;
    opacity: 0;
}
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==========================
   Fade Left
========================== */
.animateFadeLeft {
    animation: fadeLeft .7s ease forwards;
    will-change: transform, opacity;
    opacity: 0;
}
@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* ==========================
   Fade Right
========================== */
.animateFadeRight {
    animation: fadeRight .7s ease forwards;
    will-change: transform, opacity;
    opacity: 0;
}
@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* ==========================
   Zoom In
========================== */
.animateZoomIn {
    animation: zoomIn .7s ease forwards;
    will-change: transform, opacity;
    opacity: 0;
}
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* ==========================
   Zoom Out
========================== */
.animateZoomOut {
    animation: zoomOut .7s ease forwards;
    will-change: transform, opacity;
    opacity: 0;
}
@keyframes zoomOut {
    from {
        opacity: 0;
        transform: scale(1.15);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* ==========================
   Flip Left
========================== */
@keyframes flipLeft {
    from {
        opacity: 0;
        transform: perspective(800px) rotateY(-90deg);
    }
    to {
        opacity: 1;
        transform: perspective(800px) rotateY(0);
    }
}
/* ==========================
   Flip Right
========================== */
@keyframes flipRight {
    from {
        opacity: 0;
        transform: perspective(800px) rotateY(90deg);
    }
    to {
        opacity: 1;
        transform: perspective(800px) rotateY(0);
    }
}
/* ==========================
   Rotate In
========================== */
.animateRotateIn {
    animation: rotateIn .8s ease forwards;
    transform-origin: center;
    will-change: transform, opacity;
    opacity: 0;
}
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-8deg) scale(.95);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}
/* ==========================
   Flip Up
========================== */
.animateFlipUp {
    animation: flipUp .8s ease forwards;
    transform-origin: bottom;
    will-change: transform, opacity;
    opacity: 0;
}
@keyframes flipUp {
    from {
        opacity: 0;
        transform: perspective(800px) rotateX(90deg);
    }
    to {
        opacity: 1;
        transform: perspective(800px) rotateX(0);
    }
}
/* ==========================
   Bounce In
========================== */
.animateBounceIn {
    animation: bounceIn .8s ease forwards;
    will-change: transform, opacity;
    opacity: 0;
}
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
    70% {
        transform: scale(.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
/* ==========================
   Blur In
========================== */
.animateBlurIn {
    animation: blurIn .8s ease forwards;
    filter: blur(10px);
    opacity: 0;
}
@keyframes blurIn {
    from {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}
/* ==========================
   Direções de entrada
========================== */
.ag-animation-left {
    transform: translateX(-80px);
}
.ag-animation-right {
    transform: translateX(80px);
}
.ag-animation-top {
    transform: translateY(-80px);
}
.ag-animation-bottom {
    transform: translateY(80px);
}
.ag-animation-fade {
    transform: none;
}
/* ==========================
   Fade In
========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* ==========================
   Fade Up
========================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==========================
   Fade Down
========================== */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==========================
   Fade Left
========================== */
@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* ==========================
   Fade Right
========================== */
@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* ==========================
   Zoom In
========================== */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* ==========================
   Zoom Out
========================== */
@keyframes zoomOut {
    from {
        opacity: 0;
        transform: scale(1.15);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* ==========================
   Rotate In
========================== */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-8deg) scale(.95);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}
/* ==========================
   Flip Up
========================== */
@keyframes flipUp {
    from {
        opacity: 0;
        transform: perspective(800px) rotateX(90deg);
    }
    to {
        opacity: 1;
        transform: perspective(800px) rotateX(0);
    }
}
/* ==========================
   Bounce In
========================== */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
    70% {
        transform: scale(.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
/* ==========================
   Blur In
========================== */
@keyframes blurIn {
    from {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}
/* ==========================
   Rise In
========================== */
@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==========================
   Pulse
========================== */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}