.esalq-page {
    --esalq-accent: #6b7d5f;
}

.esalq-page #hero-caption .hero-title {
    max-width: min(100%, 1100px);
    margin: 0;
    font-size: clamp(2.65rem, 10vw, 10.5rem);
    line-height: 1;
    white-space: normal;
    text-wrap: balance;
}

.esalq-page #hero-bg-image {
    background-color: #171717;
    image-rendering: auto;
}

.esalq-page #hero-bg-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 64%);
}

.esalq-page #hero-description .has-opacity > span {
    opacity: .82;
}

.esalq-page .light-content .light-section .has-mask-fill > span {
    -webkit-text-fill-color: #595959;
}

.esalq-page .dark-section .has-mask-fill > span {
    -webkit-text-fill-color: #d6d6d6;
}

.esalq-page #project-nav .next-hero-title {
    max-width: 85vw;
    font-size: clamp(2.75rem, 12vw, 11rem);
    line-height: 1;
    white-space: normal;
    text-wrap: balance;
}

.esalq-page #project-nav .next-project-image-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 62%);
}

.esalq-page.runtime-fallback .has-cover::after,
.esalq-page .has-cover:focus-within::after {
    width: 0;
}

@media (prefers-reduced-motion: reduce) {
    .esalq-page #hero-bg-image {
        background-position: center !important;
    }

    .esalq-page #hero-description .has-opacity > span {
        opacity: 1 !important;
    }

    .esalq-page .has-mask-fill > span {
        -webkit-text-fill-color: currentColor !important;
        background-image: none !important;
    }

    .esalq-page .has-cover::after {
        width: 0;
    }

    .esalq-page .has-cover img {
        transform: none !important;
    }
}

.esalq-page .case-meta-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.esalq-page .case-meta-list li {
    margin-bottom: 12px;
    color: #cfcfcf;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.esalq-page .case-meta-list strong {
    color: #fff;
    font-weight: 600;
}

.esalq-page .case-meta-text {
    display: block;
}

.esalq-page .case-icon {
    font-size: 22px;
    line-height: 1.2;
    color: var(--esalq-accent);
    flex-shrink: 0;
}

.esalq-page .case-context {
    margin-top: 18px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.esalq-page .case-context.full-width {
    clear: both;
    width: 100%;
}

.esalq-page .case-context h3 {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #fff;
}

.esalq-page .case-context p {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
}

.esalq-page .case-context-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 20px;
    align-items: start;
}

.esalq-page .case-context-grid p {
    margin: 0;
}

.esalq-page .case-context-grid p:not(:nth-child(4n + 1)) {
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.esalq-page .case-block p {
    color: #cfcfcf;
    line-height: 1.8;
}

.esalq-page .case-block p + p {
    margin-top: 16px;
}

.esalq-page .case-block-title {
    margin-bottom: 24px;
}

.esalq-page .case-highlight {
    margin-top: 24px;
    padding: 20px 24px;
    border-left: 3px solid var(--esalq-accent);
    background: rgba(255, 255, 255, 0.04);
}

.esalq-page .case-highlight p {
    color: #e4e4e4;
    margin: 0 0 12px;
}

.esalq-page .case-highlight p:last-child {
    margin-bottom: 0;
}

.esalq-page .case-quote {
    margin-top: 24px;
    padding-left: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.25);
    color: #d9d9d9;
    font-style: italic;
    line-height: 1.7;
}

.esalq-page .case-image-stack,
.esalq-page .case-image-columns {
    display: grid;
    gap: 22px;
}

.esalq-page .case-image-stack {
    grid-template-columns: 1fr;
}

.esalq-page .case-image-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.esalq-page .case-image-stack.single {
    margin-bottom: 24px;
}

.esalq-page .case-image-longform {
    margin: 28px 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.esalq-page .case-image-longform figure:first-child {
    grid-row: 1 / span 2;
}

.esalq-page .case-image-longform figure:nth-child(2),
.esalq-page .case-image-longform figure:nth-child(3) {
    grid-column: 2;
}

.esalq-page .case-image-longform img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.esalq-page .case-image-longform figure:first-child img {
    aspect-ratio: 3 / 4;
}

.esalq-page .case-image-longform figure:not(:first-child) img {
    aspect-ratio: 16 / 10;
}

.esalq-page .case-image-stack figure,
.esalq-page .case-image-columns figure {
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
}

.esalq-page .case-image-stack img,
.esalq-page .case-image-columns img {
    width: 100%;
    height: auto;
    display: block;
}

.esalq-page .case-image-loose {
    gap: 28px;
}

.esalq-page .case-image-loose figure {
    width: 100%;
}

.esalq-page .case-image-loose .loose-right {
    width: 88%;
    justify-self: end;
}

.esalq-page .case-image-loose .loose-left {
    width: 92%;
    justify-self: start;
}

.esalq-page .case-image-feature {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.esalq-page .case-image-feature figure {
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
}

.esalq-page .case-image-feature img {
    width: 100%;
    height: auto;
    display: block;
}

.esalq-page .case-image-feature figure:last-child {
    grid-column: 1 / -1;
}

.esalq-page .case-heading-icon,
.esalq-page .case-inline-icon {
    font-size: 20px;
    line-height: 1;
    color: var(--esalq-accent);
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.esalq-page .case-heading-icon {
    margin-right: 10px;
}

.esalq-page .case-inline-icon {
    margin-right: 8px;
}

.esalq-page .case-bullet-list {
    margin: 16px 0 0;
    padding-left: 18px;
    color: #cfcfcf;
    line-height: 1.7;
}

.esalq-page .case-bullet-list li {
    margin-bottom: 8px;
}

.esalq-page .light-section .case-block p,
.esalq-page .light-section .case-block .has-opacity {
    color: #2f2f2f;
    opacity: 1;
}

.esalq-page .light-section [data-texto-rolagem],
.esalq-page .light-section [data-texto-rolagem] strong {
    color: #000;
}

.esalq-page .dark-section [data-texto-rolagem],
.esalq-page .dark-section [data-texto-rolagem] strong {
    color: #fff;
}

.esalq-page .light-section .case-meta-list li {
    color: #3a3a3a;
}

.esalq-page .light-section .case-meta-list strong {
    color: #141414;
}

.esalq-page .light-section .case-context {
    border-top-color: #c5c5c5;
}

.esalq-page .light-section .case-context h3 {
    color: #141414;
}

.esalq-page .light-section .case-context p {
    color: #3a3a3a;
}

.esalq-page .light-section .case-context-grid p:not(:nth-child(4n + 1)) {
    border-left-color: rgba(0, 0, 0, 0.18);
}

.esalq-page .light-section .case-highlight {
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
    border-left-color: var(--esalq-accent);
}

.esalq-page .light-section .case-highlight p {
    color: #3b3b3b;
}

.esalq-page .light-section .case-quote {
    color: #3b3b3b;
    border-left-color: rgba(0, 0, 0, 0.2);
}

.esalq-page .light-section .case-bullet-list {
    color: #3a3a3a;
}

.esalq-page .case-longform {
    max-width: 980px;
    margin: 0 auto;
}

.esalq-page .case-longform h3 {
    margin-top: 28px;
}

.esalq-page .case-manifesto {
    max-width: 980px;
    margin: 0 auto;
}

.esalq-page .case-manifesto-line {
    margin: 0 0 14px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #e0e0e0;
}

.esalq-page .case-manifesto-note {
    margin-top: 24px;
    color: #bdbdbd;
    line-height: 1.6;
}

.esalq-page .case-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 32px;
}

.esalq-page .case-faq-title {
    margin-bottom: 32px;
}

.esalq-page .case-faq-grid h3 {
    color: var(--esalq-accent);
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.esalq-page .case-faq-grid p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.esalq-page #galeria .content-slider .clapat-slide .slide-img {
    width: 100%;
    height: min(78vh, 860px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0c0c0c;
}

.esalq-page #galeria .content-slider .clapat-slide .slide-img a {
    width: 100%;
    height: 100%;
    display: block;
}

.esalq-page #galeria .content-slider .clapat-slide .slide-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.esalq-gallery-controls button {
    border: 0;
    border-radius: 50%;
    background: rgb(23 23 23 / 88%);
}

.esalq-gallery-controls .slider-button-prev {
    left: 8px;
}

.esalq-gallery-controls .slider-button-next {
    right: 8px;
}

.esalq-page #backtotop {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
}

.esalq-page footer .socials {
    display: flex;
    flex-direction: row-reverse;
    gap: 3px;
}

.esalq-page footer .socials li {
    margin: 0;
}

.esalq-page footer .doa-footer-login {
    pointer-events: auto;
}

@media (min-width: 768px) {
    .esalq-page #backtotop .button-text {
        display: block;
    }
}

@media (min-width: 1025px) {
    .esalq-page footer .socials-wrap {
        width: 344px;
    }

    .esalq-page footer .socials-wrap:hover .socials li:nth-child(n + 6),
    .esalq-page footer .socials-wrap:focus-within .socials li {
        opacity: 1;
        transform: translateY(10px);
    }

    .esalq-page footer .socials-wrap:focus-within {
        transform: translateY(-40px);
    }
}

@media (max-width: 767px) {
    .esalq-page footer {
        height: 140px;
    }

    .esalq-page #footer-container {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        height: 100%;
        padding: 12px 16px;
    }

    .esalq-page #footer-container #backtotop.button-wrap.left {
        position: relative;
        inset: auto;
        width: 44px;
        height: 44px;
        margin: 0;
    }

    .esalq-page #backtotop .icon-wrap {
        width: 44px;
        height: 44px;
    }

    .esalq-page footer .footer-middle,
    .esalq-page footer .copyright,
    .esalq-page footer .socials-wrap {
        height: auto;
        margin: 0;
    }

    .esalq-page footer .copyright {
        padding: 0;
        font-size: 12px;
        line-height: 1.45;
    }

    .esalq-page footer .socials-wrap {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .esalq-page footer .socials li,
    .esalq-page footer .socials li a {
        height: 32px;
    }

    .esalq-page footer .socials img {
        max-width: 22px;
        max-height: 22px;
    }
}

@media (max-width: 768px) {
    .esalq-page .case-image-stack,
    .esalq-page .case-image-columns {
        gap: 16px;
    }

    .esalq-page .case-image-columns {
        grid-template-columns: 1fr;
    }

    .esalq-page .case-image-longform figure:first-child,
    .esalq-page .case-image-longform figure:nth-child(2),
    .esalq-page .case-image-longform figure:nth-child(3) {
        grid-column: auto;
        grid-row: auto;
    }

    .esalq-page .case-image-longform figure img {
        aspect-ratio: 16 / 10;
    }

    .esalq-page .case-image-loose figure,
    .esalq-page .case-image-loose .loose-right,
    .esalq-page .case-image-loose .loose-left {
        width: 100%;
        justify-self: stretch;
    }

    .esalq-page .case-image-feature {
        grid-template-columns: 1fr;
    }

    .esalq-page .case-image-feature figure:last-child {
        grid-column: auto;
    }

    .esalq-page .case-context-grid {
        grid-template-columns: 1fr;
    }

    .esalq-page .case-context-grid p {
        padding-left: 0;
        border-left: 0;
    }


    .esalq-page #galeria .content-slider .clapat-slide .slide-img {
        height: min(62vh, 520px);
    }
}
