/* CSS limpo da página Retífica Detroit.
   Duplicidades removidas e prefixos antigos renomeados. */

body.retifica-detroit-page {
    --retifica-primary: #ff1826;
    --retifica-primary-2: #ff1826;
    --retifica-gray: #6a6a6a;
    --retifica-gray-dark: #3f4348;
    --retifica-light: #f5f5f3;
    --retifica-border: rgba(63, 67, 72, 0.14);
    color: var(--retifica-gray-dark);
    background: #ffffff;
}

.retifica-detroit-page p {
    color: #666d75;
}

.retifica-detroit-page .site-header,
.retifica-detroit-page .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.retifica-detroit-page .navbar {
    min-height: 92px;
}

.retifica-detroit-page .brand {
    gap: 0;
}

.retifica-detroit-page .nav-menu {
    color: #4d535a;
}

.retifica-detroit-page .nav-menu a:hover,
.retifica-detroit-page .nav-menu a.is-active {
    color: var(--retifica-primary);
}

.retifica-detroit-page .nav-toggle {
    color: #3f4348;
    border-color: rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.03);
}

.retifica-detroit-page .btn--primary {
    background: linear-gradient(135deg, var(--retifica-primary-2), var(--retifica-primary));
    color: #221a05;
    box-shadow: 0 18px 34px rgba(229, 177, 27, 0.24);
}

.retifica-detroit-page .btn--gold {
    background: linear-gradient(135deg, #4b4f55, #2d3136);
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(63, 67, 72, 0.18);
}

.retifica-detroit-page .btn--outline {
    color: #3f4348;
    border: 1px solid rgba(63, 67, 72, 0.22);
    background: rgba(255, 255, 255, 0.82);
}

.retifica-detroit-page .kicker,
.retifica-detroit-page .section-label {
    color: var(--retifica-primary);
}

.retifica-detroit-page .kicker::before,
.retifica-detroit-page .section-label::before {
    background: var(--retifica-primary);
}

.retifica-banner {
    --retifica-banner-header-gap: var(--site-header-height, 126px);
    --retifica-banner-mobile-media-height: clamp(270px, 44svh, 420px);
    position: relative;
    height: clamp(520px, calc(100svh - var(--retifica-banner-header-gap)), 600px);
    min-height: 520px;
    max-height: 600px;
    margin-top: var(--retifica-banner-header-gap);
    overflow: hidden;
    isolation: isolate;
    background: #171a1f;
    color: #ffffff;
}

.retifica-banner__slider,
.retifica-banner__slide {
    position: absolute;
    inset: 0;
}

.retifica-banner__slider {
    z-index: 1;
}

.retifica-banner__slide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    isolation: isolate;
    transition: opacity 0.75s ease, visibility 0.75s ease;
}

.retifica-banner__slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.retifica-banner__picture {
    position: absolute;
    inset: 0;
    z-index: -3;
    display: block;
    overflow: hidden;
    background: #111417;
}

.retifica-banner__picture img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1.055);
    transition: transform 6.8s linear;
}

.retifica-banner__slide.is-active .retifica-banner__picture img {
    transform: scale(1);
}

.retifica-banner__slide::before,
.retifica-banner__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}


/* BANNER TOPO -- aqui muda o degrade que sobrepõe a imagem -- VERSÃO DESKTOP ---*/
.retifica-banner__slide::before {
    z-index: -2;
    background: linear-gradient(
            90deg,
            rgba(31, 34, 37, 0.32) 0%,
            rgba(31, 34, 37, 0.68) 42%,
            rgba(31, 34, 37, 0.25) 72%,
            rgba(31, 34, 37, 0.08) 100%
        ),
        radial-gradient(circle at 82% 28%, rgba(229, 177, 27, 0.24), transparent 30%);
}

.retifica-banner__slide::after {
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.04));
}

.retifica-banner__grid {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.18));
}

.retifica-banner__inner {
    position: relative;
    z-index: 4;
    min-height: inherit;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: clamp(64px, 8vw, 118px);
    padding-bottom: clamp(74px, 8vw, 118px);
}

.retifica-banner__content {
    width: min(100%, 820px);
    max-width: 70vw;
    color: #ffffff;
}

.retifica-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    margin-bottom: 22px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 4px solid var(--retifica-primary);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.retifica-banner__title {
    max-width: 880px;
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(54px, 6.3vw, 98px);
    line-height: 0.92;
    text-wrap: balance;
}

.retifica-banner__text {
    max-width: 720px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(18px, 1.75vw, 23px);
    line-height: 1.48;
}

.retifica-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.retifica-banner .btn--outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(7, 8, 11, 0.28);
}

.retifica-banner .btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(7, 8, 11, 0.42);
}

.retifica-banner__arrow {
    position: absolute;
    top: 50%;
    z-index: 8;
    width: 58px;
    height: 78px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(7, 8, 11, 0.58);
    color: #ffffff;
    font-size: 44px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(10px);
}

.retifica-banner__arrow:hover,
.retifica-banner__arrow:focus-visible {
    background: var(--retifica-primary);
    border-color: var(--retifica-primary);
    color: #1e1704;
    outline: 0;
}

.retifica-banner__arrow--prev {
    left: 22px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.retifica-banner__arrow--next {
    right: 22px;
    clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
}

.retifica-banner__dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transform: translateX(-50%);
}

.retifica-banner__dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.retifica-banner__dots button:hover,
.retifica-banner__dots button:focus-visible {
    background: rgba(255, 255, 255, 0.82);
    outline: 0;
    transform: translateY(-1px);
}

.retifica-banner__dots button.is-active {
    width: 38px;
    background: var(--retifica-primary);
}

.retifica-banner.is-static .retifica-banner__arrow,
.retifica-banner.is-static .retifica-banner__dots {
    display: none;
}

.retifica-about__media figcaption {
    padding: 14px 18px;
    font-size: 13px;
    color: #67707a;
    background: #fff;
}

.retifica-about__copy {
    display: grid;
    gap: 20px;
}

.retifica-about__copy h2 {
    color: #2d3136;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 6px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--retifica-border);
    padding: 22px;
    min-height: 170px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.06);
}

.feature-card::after {
    content: "";
    position: absolute;
    right: -42px;
    top: -42px;
    width: 98px;
    height: 98px;
    background: rgba(229, 177, 27, 0.14);
    transform: rotate(45deg);
}

.feature-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-family: "Barlow Condensed", Inter, sans-serif;
    font-size: 24px;
    font-weight: 900;
    background: var(--retifica-primary);
    color: #2b2106;
    margin-bottom: 18px;
}

.feature-card strong {
    display: block;
    font-family: "Barlow Condensed", Inter, sans-serif;
    font-size: 26px;
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #2d3136;
}

.feature-card p {
    font-size: 15px;
    color: #68707a;
}


/* GALERIA DE FOTOS - interno de SERVIÇOS -- aqui muda a imagem do BG ---*/
.gallery-section-servicos {
    background-image: url("../assets/images/bg/bg_galeria_fotos_retifica.jpg");
}



/* GALERIA DE FOTOS -- aqui muda a imagem do BG ---*/
.gallery-section {
    background-image: url("../assets/images/bg/bg_galeria_fotos_retifica02.jpg");
}

.gallery-carousel,
.brands-carousel {
    position: relative;
}

.carousel-shell {
    position: relative;
    padding-inline: 68px;
}

.carousel-viewport {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 22px;
    transition: transform 0.45s ease;
    will-change: transform;
}

.gallery-item {
    flex: 0 0 calc((100% - 44px) / 3);
}

.gallery-card {
    border: 1px solid var(--retifica-border);
    background: #fff;
    box-shadow: 0 16px 44px rgba(17, 24, 39, 0.08);
    overflow: hidden;
}

.gallery-card button {
    border: 0;
    background: none;
    padding: 0;
    width: 100%;
    cursor: pointer;
    text-align: left;
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 4.4;
    object-fit: cover;
    display: block;
}

.gallery-card figcaption {
    padding: 14px 16px;
    font-size: 14px;
    color: #5d6670;
}




/* GALERIA EM GRID - Estrutura Retífica Detroit */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    grid-auto-flow: dense;
}

.gallery-grid__item {
    min-width: 0;
    aspect-ratio: 1 / 1;
}

.gallery-grid__item.is-gallery-hidden {
    display: none;
}

.gallery-grid__item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-grid .gallery-card {
    height: 100%;
    margin: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-grid .gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 58px rgba(17, 24, 39, 0.14);
}

.gallery-grid .gallery-card button {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.gallery-grid .gallery-card button::after {
    content: "Clique para ampliar";
    position: absolute;
    inset: auto 12px 12px 12px;
    z-index: 2;
    padding: 9px 10px;
    background: rgba(47, 52, 57, 0.88);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-grid .gallery-card button:hover::after,
.gallery-grid .gallery-card button:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.gallery-grid .gallery-card button:focus-visible {
    outline: 3px solid var(--retifica-primary);
    outline-offset: 4px;
}

.gallery-grid .gallery-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-grid .gallery-card:hover img,
.gallery-grid .gallery-card button:focus-visible img {
    transform: scale(1.045);
}

.gallery-grid__item--large .gallery-card img {
    aspect-ratio: 1 / 1;
}

.gallery-actions {
    margin-top: 34px;
    text-align: center;
}

.gallery-actions [hidden] {
    display: none;
}

@media (max-width: 1080px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .gallery-grid__item--large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 680px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .gallery-grid__item--large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-grid .gallery-card button::after {
        display: none;
    }

    .gallery-actions {
        margin-top: 26px;
    }

    .gallery-actions .btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .gallery-grid {
        gap: 10px;
    }
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 68px;
    border: 0;
    cursor: pointer;
    z-index: 3;
    background: #2f3439;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    transition: 0.25s ease;
}

.carousel-arrow:hover {
    background: var(--retifica-primary);
    color: #1d1705;
}

.carousel-prev {
    left: 0;
    clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.carousel-next {
    right: 0;
    clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
}

.retifica-services {
    background-image: url("../assets/images/bg/bg_footer_inject.jpg");
}

.retifica-services .section-heading h2,
.retifica-services .section-heading p,
.retifica-services .section-heading .kicker {
    color: #fff;
}


.retifica-services .section-heading .kicker::before {
    background: var(--retifica-primary);
}

.retifica-services .solution-card {
    min-height: 250px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}


/* SERVIÇOS E ESPECIALIDADES -- aqui muda a cor do 'quadradinho' que tem no canto inferior dos itens ---*/
.retifica-services .solution-card::after {
    background: rgba(16, 15, 15, 0.18);
}

.retifica-services .solution-card span {
    background: var(--retifica-primary);
    color: #2b2106;
}

.retifica-services .solution-card h3,
.retifica-services .solution-card p {
    color: #fff;
}

.retifica-video {
    background: linear-gradient(90deg, rgba(31, 34, 37, 0.88) 0%, rgba(31, 34, 37, 0.78) 100%),
        url("../assets/images/estrutura/estrutura_img.jpg") center/cover no-repeat;
}

.video-box {
    max-width: 980px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--retifica-border);
    box-shadow: 0 25px 70px rgba(17, 24, 39, 0.08);
    padding: clamp(20px, 4vw, 34px);
}

.video-box h2,
.video-box p,
.video-box .kicker {
    text-align: center;
    display: block;
}

.video-box .kicker::before {
    display: none;
}

.video-box p {
    max-width: 680px;
    margin: 14px auto 0;
}

.video-frame {
    margin-top: 28px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: #111;
    aspect-ratio: 16 / 9;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.retifica-detroit-page .segments .section-heading h2 {
    color: #2d3136;
}

.retifica-detroit-page .segment-grid {
    border-color: rgba(63, 67, 72, 0.1);
    background: rgba(63, 67, 72, 0.1);
}

.retifica-detroit-page .segment-card {
    background: #fff;
}

.retifica-detroit-page .segment-card span {
    color: var(--retifica-primary);
}

.retifica-detroit-page .segment-card strong {
    color: #2d3136;
}

.retifica-detroit-page .segment-card:hover {
    background: #454a50;
}

.retifica-detroit-page .segment-card::after {
    background: rgba(229, 177, 27, 0.16);
}

.retifica-detroit-page .segment-card:hover::after {
    background: rgba(229, 177, 27, 0.38);
}

.retifica-detroit-page .quality-section {
    background: #fff;
}

.retifica-detroit-page .quality-grid {
    margin-top: 0;
}

.retifica-detroit-page .quality-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(180deg, #4b5056, #35393e);
    box-shadow: 0 22px 50px rgba(17, 24, 39, 0.18);
}

.retifica-detroit-page .quality-card:hover b {
    color: var(--retifica-primary-2);
}

.retifica-detroit-page .quality-card:hover strong,
.retifica-detroit-page .quality-card:hover p {
    color: #fff;
}

.retifica-detroit-page .quality-section h2 {
    color: #2d3136;
}

.retifica-detroit-page .quality-card {
    transition: transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
    background: #f5f5f3;
    border-color: rgba(63, 67, 72, 0.1);
}

.retifica-detroit-page .quality-card strong {
    color: #2d3136;
}

.retifica-detroit-page .quality-card b {
    color: var(--retifica-primary);
}

.retifica-detroit-page .contact {
    background-image: url("../assets/images/bg/bg_footer_inject.jpg");
    color: #fff;
}

.retifica-detroit-page .contact h2,
.retifica-detroit-page .contact .kicker,
.retifica-detroit-page .contact p {
    color: #fff;
}

.retifica-detroit-page .contact .kicker::before {
    background: var(--retifica-primary);
}

.retifica-detroit-page .contact-card {
    border-left-color: var(--retifica-primary);
}

.retifica-detroit-page .quote-form {
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
    border-radius: 20px 0px 20px 0px;
}

.retifica-detroit-page .quote-form input:focus,
.retifica-detroit-page .quote-form textarea:focus,
.retifica-detroit-page .quote-form select:focus {
    border-color: var(--retifica-primary);
}

.brands-section {
    background-image: url("../assets/images/bg/bg_marcas_inject.jpg");
}

.brands-section .section-heading {
    text-align: center;
    margin-inline: auto;
}

.brands-section .section-heading .kicker {
    justify-content: center;
}

.brand-item {
    flex: 0 0 calc((100% - 66px) / 4);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 24px;
    border: 1px solid var(--retifica-border);
    background: #fff;
    box-shadow: 0 14px 38px rgba(17, 24, 39, 0.06);
}

.brand-item img {
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.9;
}


/* FAIXA CTA -- aqui muda a imagem do BG ----*/
.retifica-detroit-page .company-cta {
    background-image: url("../assets/images/bg/bg_cta_retifica.jpg");
}

.retifica-detroit-page .company-cta__box {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(0, 0, 0, 0.08);
    border-radius: 20px;
}

.retifica-detroit-page .company-cta__box h2 {
    color: #2d3136;
}

.retifica-detroit-page .company-cta__box p {
    color: #535b64;
}

.retifica-detroit-page .site-footer {
    background: #202225;
    border-top: 0;
}

.retifica-detroit-page .site-footer h3 {
    color: var(--retifica-primary);
}

.retifica-detroit-page .float-whatsapp {
    background: #25d366;
    color: #081108;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px clamp(76px, 7vw, 110px);
    background: rgba(0, 0, 0, 0.9);
}

.lightbox.is-open {
    display: flex;
}

.lightbox__content {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 12px;
    width: min(100%, 1120px);
    max-height: 88vh;
}

.lightbox__content img {
    width: auto;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.lightbox__caption {
    max-width: 100%;
    padding: 8px 14px;
    border-left: 3px solid var(--retifica-primary);
    background: rgba(47, 52, 57, 0.92);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

.lightbox__close,
.lightbox__arrow {
    border: 0;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.lightbox__close {
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 4;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: #111111;
    font-size: 30px;
    line-height: 1;
}

.lightbox__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 58px;
    height: 76px;
    display: grid;
    place-items: center;
    background: rgba(47, 52, 57, 0.92);
    color: #ffffff;
    font-size: 46px;
    line-height: 1;
    transform: translateY(-50%);
}

.lightbox__arrow--prev {
    left: clamp(12px, 3vw, 42px);
    clip-path: polygon(0 0, 100% 0, calc(100% - 13px) 100%, 0 100%);
}

.lightbox__arrow--next {
    right: clamp(12px, 3vw, 42px);
    clip-path: polygon(13px 0, 100% 0, 100% 100%, 0 100%);
}

.lightbox__close:hover,
.lightbox__close:focus-visible,
.lightbox__arrow:hover,
.lightbox__arrow:focus-visible {
    background: var(--retifica-primary);
    color: #1d1705;
    outline: 0;
}

.lightbox__arrow:hover,
.lightbox__arrow:focus-visible {
    transform: translateY(-50%) scale(1.04);
}

.lightbox__arrow[hidden] {
    display: none;
}


@media (max-width: 680px) {
    .lightbox {
        padding: 18px 16px 84px;
    }

    .lightbox__content {
        gap: 10px;
    }

    .lightbox__content img {
        max-height: 74vh;
    }

    .lightbox__caption {
        width: 100%;
        font-size: 12px;
    }

    .lightbox__close {
        top: 10px;
        right: 10px;
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.94);
    }

    .lightbox__arrow {
        top: auto;
        bottom: 18px;
        width: 54px;
        height: 54px;
        border-radius: 50%;
        clip-path: none;
        font-size: 34px;
        transform: none;
    }

    .lightbox__arrow--prev {
        left: calc(50% - 66px);
    }

    .lightbox__arrow--next {
        right: calc(50% - 66px);
    }

    .lightbox__arrow:hover,
    .lightbox__arrow:focus-visible {
        transform: none;
    }
}


.top-strip__contacts {
    gap: 18px;
}

.top-strip__social {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-radius: 999px;
    transition: 0.25s ease;
    margin-left: 4px;
}

.top-strip__social:hover {
    background: var(--retifica-primary);
    color: #241c06;
    border-color: var(--retifica-primary);
}

.top-strip__social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.retifica-about {
    background: #3f4348;
    color: #fff;
    padding-bottom: 0;
}

.retifica-about__main {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 56px;
    align-items: center;
}

.retifica-about__media-wrap {
    position: relative;
    padding-left: 34px;
    padding-top: 34px;
}

.retifica-about__media-wrap::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 120px;
    height: 180px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.24) 1.2px, transparent 1.2px);
    background-size: 10px 10px;
    opacity: 0.9;
}

.retifica-about__media {
    overflow: hidden;
    background: transparent;
    border: 0;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.retifica-about__media img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 5.1;
}

.retifica-about__stamp {
    position: absolute;
    right: -22px;
    bottom: -20px;
    width: 220px;
    min-height: 170px;
    background: #e9e9e9;
    color: #131619;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px;
    border-bottom: 5px solid var(--retifica-primary);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.18);
}

.retifica-about__stamp strong {
    font-family: "Barlow Condensed", Inter, sans-serif;
    font-size: 44px;
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #d9a40f;
}

.retifica-about__stamp span {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.35;
}

.retifica-about__copy h2,
.retifica-about__copy p,
.retifica-about__copy .section-label {
    color: #fff;
}

.retifica-about__copy p {
    color: rgba(255, 255, 255, 0.82);
}

.retifica-about__mini {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin: 8px 0 8px;
}

.retifica-about__mini-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
}

.retifica-about__mini-item svg {
    width: 34px;
    height: 34px;
    fill: var(--retifica-primary);
    margin-top: 4px;
}

.retifica-about__mini-item strong {
    display: block;
    color: #fff;
    font-size: 18px;
    margin-bottom: 6px;
}

.retifica-about__mini-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
}

.retifica-about__band {
    background: #2f3439;
    margin-top: 62px;
    padding: 42px 0 46px;
}

.retifica-about__band .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.retifica-about__band .feature-card {
    min-height: 220px;
}

.retifica-video .video-box {
    background: rgba(32, 36, 40, 0.78);
    border-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 20px 0px 20px 0px;
}

.retifica-video .video-box h2,
.retifica-video .video-box p,
.retifica-video .video-box .kicker {
    color: #fff;
}

.retifica-detroit-page .segments {
    background: linear-gradient(180deg, rgba(245, 245, 243, 0.96), rgba(245, 245, 243, 0.96)),
        url("https://images.unsplash.com/photo-1513828583688-c52646db42da?auto=format&fit=crop&w=1920&q=85")
            center/cover fixed no-repeat;
    background-image: url("../assets/images/bg/bg_footer_inject.jpg");
}

.retifica-detroit-page .segments .section-heading h2,
.retifica-detroit-page .segments .section-heading .kicker {
    color: #fff;
}

.retifica-detroit-page .segments .section-heading p {
    color: rgba(255, 255, 255, 0.75);
}

.retifica-detroit-page .segment-card:hover strong,
.retifica-detroit-page .segment-card:hover p,
.retifica-detroit-page .segment-card:hover span {
    color: #fff !important;
}

.retifica-detroit-page .segment-card::after,
.retifica-detroit-page .segment-card:hover::after {
    background: rgba(229, 177, 27, 0.26);
}

.quality-section {
    background: #3f4348;
}

.quality-section .section-heading h2,
.quality-section .section-heading .kicker {
    color: #fff;
}

.quality-section .section-heading p {
    color: rgba(255, 255, 255, 0.75);
}

.lab-layout {
    display: grid;
    grid-template-columns: 0.94fr 1.06fr;
    gap: 40px;
    align-items: start;
    margin-top: 44px;
}

.lab-process__intro {
    margin-bottom: 22px;
}

.lab-process__intro h3 {
    color: #fff;
    font-size: clamp(28px, 2.8vw, 38px);
    margin-bottom: 10px;
}

.lab-process__intro p {
    color: rgba(255, 255, 255, 0.76);
    max-width: 680px;
}

.quality-section .quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.quality-section .quality-card {
    min-height: 200px;
    background: #f5f5f3;
}

.quality-section .quality-card p {
    color: #616974;
}

.site-footer {
    background: #2f3439;
}

.footer-contact-strip {
    margin-top: 22px;
    padding: 22px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.footer-contact-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    align-items: center;
}


/* FOOTER -- aqui muda a cor dos ícones dos contatos do Footer Rodapé ----*/
.footer-contact-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 24, 38, 0.45);
    background: rgba(73, 47, 48, 0.08);
    color: var(--retifica-primary);
}

.footer-contact-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.footer-contact-item strong {
    display: block;
    color: #fff;
    font-size: 22px;
    margin-bottom: 4px;
    font-family: "Barlow Condensed", Inter, sans-serif;
    text-transform: uppercase;
}

.footer-contact-item span {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.5;
}

.footer__bottom {
    padding-top: 18px;
    padding-bottom: 18px;
}


/* AQUI MUDA A COR DA FAIXA ACIMA DO MENU DO TOPO ----*/
.retifica-detroit-page .top-strip {
    background: #151515 !important;
}

.retifica-detroit-page .brand img {
    width: auto;
    display: block;
    max-height: 112px !important;
}

.retifica-detroit-page .brand--footer img {
    max-height: 110px !important;
}


/* QUEM SOMOS -- aqui muda a imagem do BG ---*/
body.retifica-detroit-page .retifica-about {
    background-image: url("../assets/images/bg/bg_retifica_quemsomos.jpg");
    color: #2d3136 !important;
    padding-bottom: 0 !important;
}

body.retifica-detroit-page .retifica-about__main {
    display: grid !important;
    grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr) !important;
    gap: 64px !important;
    align-items: center !important;
}

body.retifica-detroit-page .retifica-about__media-wrap {
    position: relative !important;
    padding: 36px 0 36px 36px !important;
    min-height: 580px !important;
}

body.retifica-detroit-page .retifica-about__media-wrap::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    width: 190px !important;
    height: 250px !important;
    background-image: linear-gradient(rgba(63, 67, 72, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(63, 67, 72, 0.12) 1px, transparent 1px) !important;
    background-size: 56px 56px !important;
    opacity: 1 !important;
    z-index: 0 !important;
}

body.retifica-detroit-page .retifica-about__media {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    height: 520px !important;
    background: #111 !important;
    overflow: hidden !important;
    border: 0 !important;
    box-shadow: 0 32px 75px rgba(17, 24, 39, 0.13) !important;
    clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%) !important;
}

body.retifica-detroit-page .retifica-about__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    aspect-ratio: auto !important;
}

body.retifica-detroit-page .retifica-about__media figcaption {
    position: absolute !important;
    left: 22px !important;
    bottom: 22px !important;
    z-index: 2 !important;
    padding: 10px 14px !important;
    color: #ffffff !important;
    background: rgba(17, 24, 39, 0.78) !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}


/* QUEM SOMOS - SELO -- aqui muda as configurações da onde fica o selo por cima da foto da fachada no item 'quem somos' ---*/
body.retifica-detroit-page .retifica-about__stamp {
    position: absolute !important;
    right: -30px !important;
    bottom: 0 !important;
    z-index: 3 !important;
    width: 250px !important;
    min-height: 220px !important;    
    background: #ffffff !important;
    color: #ffffff !important;
	border-radius: 10px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    text-align: center !important;
}

body.retifica-detroit-page .retifica-about__stamp strong {
    color: var(--retifica-primary-2) !important;
    font-size: 46px !important;
}

body.retifica-detroit-page .retifica-about__stamp span {
    color: #ffffff !important;
}

body.retifica-detroit-page .retifica-about__copy h2,
body.retifica-detroit-page .retifica-about__copy .section-label,
body.retifica-detroit-page .retifica-about__mini-item strong {
    color: #2d3136 !important;
}

body.retifica-detroit-page .retifica-about__copy p,
body.retifica-detroit-page .retifica-about__mini-item p {
    color: #5f6872 !important;
}

body.retifica-detroit-page .retifica-about__band {
    background-image: url("../assets/images/bg/bg_footer_inject.jpg");
    margin-top: 58px !important;
    padding: 48px 0 !important;
}

body.retifica-detroit-page .quality-section {
    background-image: url("../assets/images/bg/bg_marcas_inject.jpg");
    color: #2d3136 !important;
}

body.retifica-detroit-page .quality-section .section-heading h2,
body.retifica-detroit-page .quality-section .section-heading .kicker,
body.retifica-detroit-page .quality-section .quality-card strong,
body.retifica-detroit-page .quality-section .quality-card b {
    color: #2d3136 !important;
}


/* TEXTO TITULO -- aqui muda o titulo do item "Nossos diferenciais" ----*/
body.retifica-detroit-page .lab-process__intro h3 {
    color: #ff1826 !important;
}




body.retifica-detroit-page .quality-section .section-heading p,
body.retifica-detroit-page .lab-process__intro p,
body.retifica-detroit-page .quality-section .quality-card p {
    color: #5f6872 !important;
}

body.retifica-detroit-page .quality-section .quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
}

body.retifica-detroit-page .quality-section .quality-card {
    min-height: 190px !important;
    background: #f5f5f3 !important;
    border: 1px solid rgba(63, 67, 72, 0.1) !important;
}

body.retifica-detroit-page .quality-section .quality-card:hover {
    background: linear-gradient(180deg, #4b5056, #35393e) !important;
}

body.retifica-detroit-page .quality-section .quality-card:hover b {
    color: var(--retifica-primary-2) !important;
}

body.retifica-detroit-page .quality-section .quality-card:hover strong,
body.retifica-detroit-page .quality-section .quality-card:hover p {
    color: #ffffff !important;
}

body.retifica-detroit-page .footer-contact-strip {
    border-top: 0 !important;
    border-bottom: 0 !important;
    margin-top: 26px !important;
    padding: 26px 0 8px !important;
}

body.retifica-detroit-page .footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-top: 24px !important;
    padding-top: 20px !important;
    padding-bottom: 18px !important;
}

body.retifica-detroit-page .lab-layout {
    display: grid !important;
    grid-template-columns: minmax(360px, 520px) minmax(0, 1fr) !important;
    gap: 46px !important;
    align-items: center !important;
    margin-top: 48px !important;
}

body.retifica-detroit-page .lab-visual {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
}

body.retifica-detroit-page .lab-carousel {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 667px !important;
    min-height: 667px !important;
    overflow: hidden !important;
    background: #111 !important;
    clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%) !important;
    box-shadow: 0 32px 75px rgba(17, 24, 39, 0.14) !important;
}

body.retifica-detroit-page .lab-carousel__slide {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: scale(1.02) !important;
    transition: opacity 0.65s ease,
        visibility 0.65s ease,
        transform 5s linear !important;
}

body.retifica-detroit-page .lab-carousel__slide.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1.0) !important;
}

body.retifica-detroit-page .lab-carousel__slide img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

body.retifica-detroit-page .lab-carousel__arrow {
    display: grid !important;
    place-items: center !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 4 !important;
    width: 44px !important;
    height: 58px !important;
    border: 0 !important;
    background: rgba(7, 8, 11, 0.62) !important;
    color: #fff !important;
    font-size: 30px !important;
    cursor: pointer !important;
}

body.retifica-detroit-page .lab-carousel__arrow:hover {
    background: var(--retifica-primary) !important;
    color: #1f1804 !important;
}

body.retifica-detroit-page .lab-carousel__arrow--prev {
    left: 0 !important;
    clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%) !important;
}

body.retifica-detroit-page .lab-carousel__arrow--next {
    right: 0 !important;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%) !important;
}

body.retifica-detroit-page .lab-carousel__dots {
    position: absolute !important;
    left: 24px !important;
    bottom: 22px !important;
    z-index: 4 !important;
    display: flex !important;
    gap: 8px !important;
}

body.retifica-detroit-page .lab-carousel__dots button {
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.55) !important;
    cursor: pointer !important;
}

body.retifica-detroit-page .lab-carousel__dots button.is-active {
    width: 34px !important;
    background: var(--retifica-primary) !important;
}

@media (max-width: 1080px) {

    .retifica-banner {
        height: clamp(540px, calc(100svh - var(--retifica-banner-header-gap)), 600px);
        min-height: 540px;
        max-height: 600px;
    }

    .retifica-banner__content {
        max-width: 760px;
    }

    .retifica-banner__title {
        font-size: clamp(46px, 8vw, 76px);
    }

    .retifica-banner__text {
        max-width: 640px;
    }

    .retifica-banner__arrow {
        width: 48px;
        height: 64px;
        font-size: 34px;
    }

    .retifica-banner__arrow--prev {
        left: 14px;
    }

    .retifica-banner__arrow--next {
        right: 14px;
    }

    .retifica-detroit-page .nav-menu {
        background: rgba(255, 255, 255, 0.98);
        border-color: rgba(0, 0, 0, 0.08);
    }

    .retifica-detroit-page .nav-menu a {
        border-bottom-color: rgba(0, 0, 0, 0.08);
    }

    .retifica-detroit-page .contact__grid,
    .retifica-detroit-page .company-cta__box {
        grid-template-columns: 1fr;
    }

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

    .carousel-shell {
        padding-inline: 56px;
    }

    .gallery-item {
        flex-basis: calc((100% - 22px) / 2);
    }

    .brand-item {
        flex-basis: calc((100% - 22px) / 2);
    }

    .retifica-about__main,
    .lab-layout,
    .footer-contact-strip {
        grid-template-columns: 1fr;
    }

    .retifica-about__band .feature-grid,
    .quality-section .quality-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .retifica-about__stamp {
        right: 12px;
    }

    .retifica-detroit-page .brand img {
        max-height: 84px !important;
    }

    body.retifica-detroit-page .retifica-about__main,
    body.retifica-detroit-page .lab-layout {
        grid-template-columns: 1fr !important;
    }

    body.retifica-detroit-page .retifica-about__media-wrap {
        min-height: auto !important;
    }

    body.retifica-detroit-page .lab-layout {
        grid-template-columns: 1fr !important;
    }

    body.retifica-detroit-page .lab-carousel {
        height: 667px !important;
        min-height: 667x !important;
    }

}

@media (max-width: 680px) {

    .retifica-banner {
        height: auto;
        min-height: 760px;
        max-height: none;
        background: #2e3237;
    }

    .retifica-banner__picture {
        inset: 0 0 auto;
        height: var(--retifica-banner-mobile-media-height);
    }

    .retifica-banner__picture img {
        object-position: center top;
    }

    .retifica-banner__slide::before {
        height: var(--retifica-banner-mobile-media-height);
        background: linear-gradient(180deg, rgba(31, 34, 37, 0.08) 0%, rgba(31, 34, 37, 0.12) 46%, rgba(31, 34, 37, 0.78) 100%),
            radial-gradient(circle at 82% 22%, rgba(229, 177, 27, 0.18), transparent 30%);
    }

    .retifica-banner__slide::after {
        top: var(--retifica-banner-mobile-media-height);
        background: linear-gradient(180deg, #3f4348 0%, #272b30 100%);
    }

    .retifica-banner__grid {
        display: none;
    }

    .retifica-banner__inner {
        align-items: flex-start;
        min-height: inherit;
        padding-top: calc(var(--retifica-banner-mobile-media-height) + 22px);
        padding-bottom: 92px;
    }

    .retifica-banner__content {
        width: 100%;
        max-width: none;
        padding: 22px 18px 24px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-left: 4px solid var(--retifica-primary);
        background: rgba(31, 34, 37, 0.94);
        box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
    }

    .retifica-banner__badge {
        margin-bottom: 16px;
        padding: 8px 10px;
        border-left-width: 3px;
        font-size: 10px;
        line-height: 1.35;
        letter-spacing: 0.1em;
    }

    .retifica-banner__title {
        max-width: 100%;
        margin-bottom: 14px;
        font-size: clamp(34px, 10.6vw, 48px);
        line-height: 0.98;
    }

    .retifica-banner__text {
        max-width: 100%;
        margin-bottom: 20px;
        font-size: 15px;
        line-height: 1.58;
    }

    .retifica-banner__actions {
        gap: 10px;
    }

    .retifica-banner__actions .btn {
        width: 100%;
        min-height: 50px;
        padding: 0 18px;
        font-size: 11px;
    }

    .retifica-banner__arrow {
        top: clamp(135px, 22svh, 210px);
        width: 42px;
        height: 56px;
        font-size: 28px;
        background: rgba(7, 8, 11, 0.62);
    }

    .retifica-banner__arrow--prev {
        left: 0;
    }

    .retifica-banner__arrow--next {
        right: 0;
    }

    .retifica-banner__dots {
        bottom: 24px;
        gap: 8px;
    }

    .retifica-banner__dots button {
        width: 10px;
        height: 10px;
    }

    .retifica-banner__dots button.is-active {
        width: 32px;
    }

    .feature-grid,
    .retifica-detroit-page .solution-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        display: grid;
    }

    .gallery-item,
    .brand-item {
        flex-basis: 100%;
    }

    .carousel-shell {
        padding-inline: 44px;
    }

    .carousel-arrow {
        width: 38px;
        height: 54px;
        font-size: 28px;
    }

    .video-box {
        padding: 18px;
    }

    .top-strip__contacts {
        display: flex;
        flex-wrap: wrap;
    }

    .retifica-about__mini,
    .retifica-about__band .feature-grid,
    .quality-section .quality-grid {
        grid-template-columns: 1fr;
    }

    .retifica-about__media-wrap {
        padding-left: 18px;
        padding-top: 18px;
    }

    .retifica-about__stamp {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 14px;
    }

    .footer-contact-item {
        grid-template-columns: 52px 1fr;
    }

    .retifica-detroit-page .brand img {
        max-height: 68px !important;
    }

    body.retifica-detroit-page .retifica-about__media,
    body.retifica-detroit-page .lab-carousel {
        clip-path: none !important;
    }

    body.retifica-detroit-page .retifica-about__media {
        height: 380px !important;
    }

    body.retifica-detroit-page .retifica-about__stamp {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        margin-top: 14px !important;
    }

    body.retifica-detroit-page .lab-carousel {
        height: 360px !important;
        min-height: 360px !important;
        clip-path: none !important;
    }

    body.retifica-detroit-page .quality-section .quality-grid {
        grid-template-columns: 1fr !important;
    }

}

@media (max-width: 420px) {

    .retifica-banner {
        --retifica-banner-mobile-media-height: clamp(240px, 40svh, 330px);
    }

    .retifica-banner__inner {
        padding-top: calc(var(--retifica-banner-mobile-media-height) + 18px);
    }

    .retifica-banner__content {
        padding: 18px 14px 20px;
    }

    .retifica-banner__title {
        font-size: clamp(31px, 10.5vw, 42px);
    }

    .retifica-banner__text {
        font-size: 14px;
    }

}
