/* A Fiber — página institucional (ptbr) */

.page-about-us {
    --au-radius: 1.125rem;
}

/* —— Hero banner —— */

.page-about-us #homeHero.home-us-hero .banner-home-us__title {
    margin-top: clamp(4rem, 10vh, 7rem);
}

.page-about-us #homeHero.home-us-hero .banner-home-us__tagline {
    max-width: 36rem;
    /* Espaçamento até o CTA — alinhado a banner-scrolled / page-granita-pool */
    margin-bottom: clamp(1.5rem, 3vw, 3rem);
}

.page-about-us #homeHero.home-us-hero .banner-home-us__actions {
    margin-top: 0;
}

/* Reveal (banner) */
.page-about-us .au-reveal-up {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity 0.62s ease, transform 0.62s ease;
    transition-delay: var(--au-reveal-delay, 0ms);
    will-change: opacity, transform;
}

.page-about-us .au-reveal-up.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media only screen and (max-width: 767.98px) {
    .page-about-us #homeHero.home-us-hero .banner-home-us {
        position: relative;
        display: flex;
        flex-direction: column;
        min-height: min(100svh, 44rem);
        overflow: hidden;
    }

    .page-about-us #homeHero.home-us-hero .banner-home-us__media {
        position: absolute;
        inset: 0;
        z-index: 0;
        width: 100%;
        height: 100%;
    }

    .page-about-us #homeHero.home-us-hero .banner-home-us__img {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: cover;
        object-position: center 40%;
    }

    .page-about-us #homeHero.home-us-hero #topSite:not(.topSite--scrolled) {
        position: relative;
        z-index: 30;
    }

    .page-about-us #homeHero.home-us-hero #topSite.topSite--scrolled {
        z-index: 1100;
    }

    .page-about-us #homeHero.home-us-hero .banner-home-us__inner {
        position: relative;
        z-index: 10;
        flex: 1 1 auto;
        display: flex !important;
        flex-direction: column;
        align-items: stretch !important;
        align-self: stretch;
        width: 100%;
        min-height: min(100svh, 44rem) !important;
        flex-grow: 1 !important;
        padding-top: 0 !important;
        padding-bottom: clamp(1.75rem, 6vh, 2.75rem);
    }

    .page-about-us #homeHero.home-us-hero .banner-home-us__inner > .row {
        flex: 1 1 auto;
        display: flex;
        align-items: stretch;
        width: 100%;
        min-height: 100%;
        height: 100%;
        margin: 0;
    }

    /* Texto no terço médio-inferior, como no layout mobile */
    .page-about-us #homeHero.home-us-hero .banner-home-us__inner > .row > [class*="col-"] {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        flex: 1 1 auto;
        min-height: 100%;
        height: 100%;
        padding-top: clamp(11rem, 32vh, 15rem);
        padding-left: clamp(0.15rem, 1vw, 0.35rem);
        padding-right: clamp(0.15rem, 1vw, 0.35rem);
        text-align: left;
    }

    .page-about-us #homeHero.home-us-hero .banner-home-us__title,
    .page-about-us #homeHero.home-us-hero .banner-home-us__title--mobile {
        flex-shrink: 0;
        margin-top: 0 !important;
        margin-bottom: 0;
        font-size: clamp(2.875rem, 11vw, 3.35rem) !important;
        line-height: 1.05 !important;
        letter-spacing: -0.04em !important;
        text-align: left;
    }

    .page-about-us #homeHero.home-us-hero p.banner-home-us__tagline,
    .page-about-us #homeHero.home-us-hero p.banner-home-us__tagline--mobile {
        flex-shrink: 0;
        width: 100%;
        max-width: min(100%, 21.5rem);
        margin-top: clamp(0.85rem, 2.5vh, 1.15rem) !important;
        margin-bottom: clamp(1rem, 2.8vh, 1.35rem) !important;
        font-size: var(--font-size-home-hero-tagline-mobile) !important;
        line-height: 1.35 !important;
        text-align: left;
        text-shadow:
            0 1px 2px rgba(0, 0, 0, 0.5),
            0 2px 10px rgba(0, 0, 0, 0.35);
    }

    .page-about-us #homeHero.home-us-hero .banner-home-us__actions {
        flex-shrink: 0;
        margin-top: 0 !important;
        margin-bottom: 0;
        justify-content: flex-start;
    }

    .page-about-us #homeHero.home-us-hero .cta_buttom {
        font-size: var(--font-size-home-hero-cta-mobile) !important;
        padding: 0.35rem 1.25rem;
    }
}

/* —— Tipografia de seção (padrão engenharia-certificacao) —— */

.page-about-us .au-section-title {
    font-size: var(--pf-section-title-size);
    font-weight: 400;
    line-height: var(--pf-section-title-line-height);
    letter-spacing: -0.02em;
    color: var(--color-grey);
}

.page-about-us .au-section-subtitle {
    font-weight: 300;
    font-size: var(--font-size-home-hero-description);
    line-height: 1.45;
    color: #6b7370;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 767.98px) {
    .page-about-us .au-section-title {
        font-size: var(--pf-section-title-size-mobile) !important;
    }

    .page-about-us .au-section-header {
        max-width: 21rem;
        margin-left: auto;
        margin-right: auto;
    }

    .page-about-us .au-section-subtitle {
        font-size: var(--font-size-home-hero-description-mobile);
        line-height: 1.45;
        max-width: 18.5rem;
        margin-top: 1rem;
    }
}

/* —— Quem é a FIBER (#quem-e-fiber) —— */

#quem-e-fiber.au-quem-section {
    background-color: var(--color-white);
    padding-bottom: var(--mt-default-web);
}

#quem-e-fiber .au-quem-text {
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
}

#quem-e-fiber .au-quem-text__title {
    font-size: var(--pf-section-title-size);
    font-weight: 400;
    line-height: var(--pf-section-title-line-height);
    letter-spacing: -0.02em;
    color: var(--color-grey);
    text-align: center;
}

#quem-e-fiber .au-quem-text__body {
    margin-top: 2rem;
    font-weight: 300;
    font-size: var(--font-size-home-hero-description);
    line-height: 1.45;
    color: #6b7370;
    text-align: center;
}

#quem-e-fiber .au-quem-text__body + .au-quem-text__body {
    margin-top: 1.25rem;
}

#quem-e-fiber .au-quem-carousel {
    position: relative;
}

/* Reduz a imagem para caber inteira na tela junto com o texto ao lado */
@media only screen and (min-width: 768px) {
    #quem-e-fiber .au-quem-carousel {
        max-width: 85%;
        margin-left: auto;
        margin-right: auto;
    }
}

#quem-e-fiber .au-quem-carousel__viewport {
    overflow: hidden;
    border-radius: var(--au-radius);
}

#quem-e-fiber .au-quem-carousel__track {
    display: flex;
    transition: transform 0.55s ease;
    will-change: transform;
}

#quem-e-fiber .au-quem-carousel__slide {
    position: relative;
    flex: 0 0 100%;
    max-width: 100%;
}

#quem-e-fiber .au-quem-carousel__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
}

/* Legenda em pill com borda branca — padrão learn-more (.dfsrl-card__pill) */
#quem-e-fiber .au-quem-carousel__caption {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: calc(50% - 1rem);
    bottom: 2.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    margin: 0;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

#quem-e-fiber .au-quem-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: var(--color-background-button-cta);
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#quem-e-fiber .au-quem-carousel__nav--prev {
    left: 0.85rem;
}

#quem-e-fiber .au-quem-carousel__nav--next {
    right: 0.85rem;
}

#quem-e-fiber .au-quem-carousel__nav:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.06);
}

#quem-e-fiber .au-quem-carousel__nav:disabled {
    opacity: 0.35;
    cursor: default;
}

#quem-e-fiber .au-quem-carousel__indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

#quem-e-fiber .au-quem-carousel__dash {
    width: 2.2rem;
    height: 0.48rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    background-color: #d4d4d4;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

#quem-e-fiber .au-quem-carousel__dash.is-active {
    background-color: var(--color-background-button-cta);
}

#quem-e-fiber .au-quem-carousel__dash:focus-visible {
    outline: 2px solid var(--color-background-button-cta);
    outline-offset: 3px;
}

@media only screen and (max-width: 991.98px) {
    #quem-e-fiber .au-quem-layout {
        --bs-gutter-y: 2.5rem;
    }
}

@media only screen and (max-width: 767.98px) {
    #quem-e-fiber.au-quem-section {
        overflow-x: clip;
        padding-bottom: var(--mt-default-web-mobile);
    }

    /* Mesmas margins laterais do learn-more (#saiba-mais .image-container) */
    #quem-e-fiber .au-quem-carousel {
        --bs-gutter-x: 1.5rem;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding-left: calc(var(--bs-gutter-x) * 0.8);
        padding-right: calc(var(--bs-gutter-x) * 0.8);
        box-sizing: border-box;
    }

    #quem-e-fiber .au-quem-carousel__viewport {
        border-radius: clamp(1.25rem, 4.5vw, 1.75rem);
    }

    #quem-e-fiber .au-quem-layout {
        --bs-gutter-y: 2.5rem;
        margin-top: 0;
    }

    #quem-e-fiber .au-quem-text {
        max-width: 21rem;
    }

    #quem-e-fiber .au-quem-text__title {
        font-size: var(--pf-section-title-size-mobile) !important;
    }

    #quem-e-fiber .au-quem-text__body {
        max-width: 18.5rem;
        margin-top: 1.5rem;
        margin-left: auto;
        margin-right: auto;
        font-size: var(--font-size-home-hero-description-mobile);
        line-height: 1.45;
    }

    #quem-e-fiber .au-quem-text__body + .au-quem-text__body {
        margin-top: 1.1rem;
    }

    #quem-e-fiber .au-quem-carousel__caption {
        width: auto;
        min-width: 14.5rem;
        max-width: calc(100% - 2.5rem);
        bottom: 1rem;
        min-height: 2.65rem;
        padding: 0.4rem 1.35rem;
        border-width: 1.5px;
        font-size: 1.05rem;
        background: none;
        background-color: transparent;
        box-shadow: none;
        text-shadow: none;
        filter: none;
        backdrop-filter: none;
    }

    /* Layout mobile: só dashes + swipe (sem setas) */
    #quem-e-fiber .au-quem-carousel__nav {
        display: none;
    }

    #quem-e-fiber .au-quem-carousel__indicators {
        gap: 0.5rem;
        margin-top: 1.95rem;
    }

    #quem-e-fiber .au-quem-carousel__dash {
        width: 1.55rem;
        height: 0.38rem;
    }
}

/* —— Nossa expertise (#nossa-expertise) —— */

#nossa-expertise.au-exp-section {
    background-color: var(--color-white);
    /* Degradê do topo conforme layout: cinza claro esmaecendo até o branco */
    background-image: linear-gradient(180deg, #f3f3f3 0%, #f5f5f5 35%, #fafafa 65%, #ffffff 100%);
    background-repeat: no-repeat;
    background-size: 100% 11.5rem;
    padding-top: var(--mt-default-web);
    overflow: hidden;
}

#nossa-expertise .au-exp-wave {
    display: block;
    height: auto;
    margin-top: 1.5rem;
    pointer-events: none;
    user-select: none;
}

#nossa-expertise .au-exp-block {
    background-color: var(--color-white);
    padding: clamp(3rem, 6vw, 3rem) 0;
}

#nossa-expertise .au-exp-block--alt {
    background-color: #f4f4f2;
}

#nossa-expertise .au-exp-block__media-col {
    display: flex;
    justify-content: center;
}

#nossa-expertise .au-exp-block__img {
    display: block;
    width: 100%;
    max-width: 35rem;
    aspect-ratio: 6 / 7;
    object-fit: cover;
    object-position: center center;
    border-radius: var(--au-radius);
}

#nossa-expertise .au-exp-block__img--placeholder {
    background-color: #e6e8e6;
}

#nossa-expertise .au-exp-block__content {
    max-width: 30rem;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (min-width: 992px) {
    #nossa-expertise .au-exp-block__content {
        max-width: none;
        margin-left: 4.5rem;
        margin-right: 0;
        margin-top: 3.5rem;
    }

    /* Imagem à esquerda alinhada com a logo do topo (início do container) */
    #nossa-expertise .au-exp-block:not(.au-exp-block--alt) .au-exp-block__media-col {
        justify-content: flex-start;
    }

    /* Imagem à direita alinhada com a borda direita do carrossel do Quem é a FIBER */
    #nossa-expertise .au-exp-block--alt .au-exp-block__img {
        width: calc(100% - 3.8rem);
        margin-left: auto;
        margin-right: 3.8rem;
    }

    /* Texto dos blocos alternados mais para dentro, próximo da imagem à direita */
    #nossa-expertise .au-exp-block--alt .au-exp-block__content {
        margin-left: 17%;
    }
}

#nossa-expertise .au-exp-category {
    display: inline-block;
    min-width: 10rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #cfd4d2;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: #6b7370;
    text-transform: uppercase;
}

#nossa-expertise .au-exp-title {
    margin-top: 1.75rem;
    font-size: var(--pf-section-title-size);
    font-weight: 400;
    line-height: var(--pf-section-title-line-height);
    letter-spacing: -0.02em;
    color: var(--color-grey);
}

#nossa-expertise .au-exp-body {
    margin-top: 1.5rem;
    max-width: 24rem;
    font-weight: 300;
    font-size: var(--font-size-home-hero-description);
    line-height: 1.45;
    color: #6b7370;
}

@media only screen and (max-width: 991.98px) {
    #nossa-expertise .au-exp-block__row {
        --bs-gutter-y: 2rem;
    }

    #nossa-expertise .au-exp-block__content {
        text-align: center;
    }

    #nossa-expertise .au-exp-title {
        text-align: center;
    }

    #nossa-expertise .au-exp-body {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

@media only screen and (max-width: 767.98px) {
    #nossa-expertise.au-exp-section {
        background-size: 100% 9.5rem;
        padding-top: var(--mt-default-web-mobile);
    }

    #nossa-expertise .au-exp-wave--mobile {
        display: block;
        width: 100%;
        margin-top: 1.75rem;
        margin-bottom: 0.25rem;
    }

    #nossa-expertise .au-exp-block {
        padding: 4rem 0;
    }

    #nossa-expertise .au-exp-block:first-child {
        padding-top: 1.25rem;
    }

    #nossa-expertise .au-exp-block__row {
        --bs-gutter-y: 1.35rem;
    }

    #nossa-expertise .au-exp-block__media-col {
        justify-content: flex-start;
    }

    #nossa-expertise .au-exp-block__img {
        max-width: none;
        width: 100%;
        aspect-ratio: 4 / 5;
        border-radius: clamp(1.25rem, 4.5vw, 1.75rem);
    }

    /* Layout mobile: conteúdo à esquerda (ref. expertise.png) */
    #nossa-expertise .au-exp-block__content {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    #nossa-expertise .au-exp-category {
        min-width: 48%;
        max-width: 12rem;
        padding-bottom: 0.55rem;
        font-size: var(--font-size-extra-small);
        letter-spacing: 0.12em;
    }

    #nossa-expertise .au-exp-title {
        margin-top: 1.1rem;
        font-size: var(--pf-section-title-size-mobile) !important;
        text-align: left;
    }

    #nossa-expertise .au-exp-body {
        margin-top: 1rem;
        margin-left: 0;
        margin-right: 0;
        max-width: none;
        font-size: var(--font-size-home-hero-description-mobile);
        line-height: 1.45;
        text-align: left;
    }
}

/* —— Expansão global (#expansao-global) —— */

#expansao-global.au-expansao-section {
    background-color: var(--color-white);
    padding-bottom: var(--mt-default-web);
}

#expansao-global .au-expansao-carousel {
    position: relative;
}

#expansao-global .au-expansao-carousel__viewport {
    overflow: hidden;
}

#expansao-global .au-expansao-carousel__track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.55s ease;
    will-change: transform;
}

#expansao-global .au-expansao-carousel__slide {
    position: relative;
    flex: 0 0 calc((100% - 3.75rem) / 4);
    max-width: calc((100% - 3.75rem) / 4);
}

#expansao-global .au-expansao-carousel__img {
    display: block;
    width: 100%;
    aspect-ratio: 8 / 9;
    object-fit: cover;
    object-position: center center;
    border-radius: 12px;
}

#expansao-global .au-expansao-carousel__img--placeholder {
    background-color: #e6e8e6;
}

#expansao-global .au-expansao-carousel__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1rem;
    margin: 0;
    padding: 0 0.75rem;
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

#expansao-global .au-expansao-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: var(--color-background-button-cta);
    color: #fff;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

#expansao-global .au-expansao-carousel__nav--prev {
    left: 0.75rem;
}

#expansao-global .au-expansao-carousel__nav--next {
    right: 0.75rem;
}

#expansao-global .au-expansao-carousel__nav:hover:not(:disabled),
#expansao-global .au-expansao-carousel__nav:focus-visible {
    background-color: #8f5a42;
}

#expansao-global .au-expansao-carousel__nav:disabled {
    opacity: 0.35;
    cursor: default;
}

#expansao-global .au-expansao-carousel__indicators {
    display: none;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

#expansao-global .au-expansao-carousel__dash {
    width: 2.2rem;
    height: 0.48rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    background-color: #d4d4d4;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#expansao-global .au-expansao-carousel__dash.is-active {
    background-color: var(--color-background-button-cta);
}

#expansao-global .au-expansao-carousel__dash:focus-visible {
    outline: 2px solid var(--color-background-button-cta);
    outline-offset: 3px;
}

#expansao-global .au-expansao-panel {
    margin-top: 1.25rem;
    padding: 2.5rem 3rem;
    background-color: #f4f4f2;
    border-radius: 12px;
}

#expansao-global .au-expansao-panel__copy {
    max-width: 17.5rem;
    margin-left: auto;
    margin-right: auto;
}

#expansao-global .au-expansao-panel__text {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--color-grey);
    text-align: center;
}

#expansao-global .au-expansao-panel__cta {
    margin-top: 1.5rem;
}

#expansao-global .au-expansao-panel__map {
    display: block;
    width: 100%;
    height: auto;
}

@media only screen and (max-width: 991.98px) {
    #expansao-global .au-expansao-carousel__slide {
        flex: 0 0 calc((100% - 1.25rem) / 2);
        max-width: calc((100% - 1.25rem) / 2);
    }

    #expansao-global .au-expansao-panel {
        padding: 2rem 1.5rem;
    }
}

@media only screen and (max-width: 767.98px) {
    #expansao-global.au-expansao-section {
        overflow-x: clip;
    }

    /* Mesmas margins laterais do learn-more / quem-e-fiber */
    #expansao-global .au-expansao-carousel {
        --bs-gutter-x: 1.5rem;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding-left: calc(var(--bs-gutter-x) * 0.8);
        padding-right: calc(var(--bs-gutter-x) * 0.8);
        box-sizing: border-box;
    }

    #expansao-global .au-expansao-carousel__track {
        gap: 0;
    }

    #expansao-global .au-expansao-carousel__slide {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #expansao-global .au-expansao-carousel__img {
        aspect-ratio: 4 / 5;
        border-radius: clamp(1.25rem, 4.5vw, 1.75rem);
    }

    #expansao-global .au-expansao-carousel__caption {
        bottom: 1.1rem;
        font-size: 1.15rem;
        text-shadow: none;
    }

    #expansao-global .au-expansao-carousel__nav {
        width: 2.25rem;
        height: 2.25rem;
    }

    #expansao-global .au-expansao-carousel__nav--prev {
        left: calc(var(--bs-gutter-x) * 0.8 + 0.35rem);
    }

    #expansao-global .au-expansao-carousel__nav--next {
        right: calc(var(--bs-gutter-x) * 0.8 + 0.35rem);
    }

    #expansao-global .au-expansao-carousel__indicators {
        display: flex;
        gap: 0.5rem;
        margin-top: 1.95rem;
    }

    #expansao-global .au-expansao-carousel__dash {
        width: 1.55rem;
        height: 0.38rem;
    }

    /* Mobile: texto → mapa → CTA (ref. expansao-global.png) */
    #expansao-global .au-expansao-panel {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 2rem;
        padding: 0;
        background-color: transparent;
        border-radius: 0;
    }

    #expansao-global .au-expansao-panel__row,
    #expansao-global .au-expansao-panel__copy-col,
    #expansao-global .au-expansao-panel__copy,
    #expansao-global .au-expansao-panel__map-col {
        display: contents;
    }

    #expansao-global .au-expansao-panel__text {
        order: 1;
        max-width: 18.5rem;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.2rem;
        line-height: 1.4;
    }

    #expansao-global .au-expansao-panel__map {
        order: 2;
        width: 100%;
        max-width: 100%;
        margin-top: 2.5rem;
    }

    #expansao-global .au-expansao-panel__cta {
        order: 3;
        margin-top: 2.5rem;
    }
}

/* —— Relacionamento sem fronteiras (#relacionamento) —— */

#relacionamento.au-rel {
    background-color: var(--color-white);
}

#relacionamento .au-rel__banner {
    position: relative;
    width: 100%;
}

#relacionamento .au-rel__media {
    position: relative;
    width: 100%;
    line-height: 0;
}

#relacionamento .au-rel__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center center;
}

#relacionamento .au-rel__img--placeholder {
    aspect-ratio: 1920 / 795;
    background-color: #3c4442;
}

#relacionamento .au-rel__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: clamp(2rem, 5vw, 4rem) 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.18) 55%, transparent 100%);
    pointer-events: none;
}

/* Desktop: textos um pouco mais abaixo do centro */
@media (min-width: 768px) {
    #relacionamento .au-rel__overlay {
        padding-top: clamp(14.5rem, 16vh, 10rem);
        padding-bottom: clamp(1.5rem, 4vw, 3rem);
    }
}

#relacionamento .au-rel__eyebrow {
    max-width: 22rem;
    font-weight: 300;
    font-size: var(--font-size-home-hero-description);
    line-height: 1.45;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

#relacionamento .au-rel__title {
    margin-top: 0;
    font-weight: 400;
    font-style: normal;
    font-size: var(--font-size-home-hero-title);
    line-height: 1.05;
    text-shadow: 0 2px 0 #8c9292, 0 4px 14px rgba(0, 0, 0, 0.35);
    letter-spacing: clamp(-3px, -0.08vw, -5px);
    margin-top: 1rem;
}

@media (min-width: 1024px) and (max-width: 1400px) {
    #relacionamento .au-rel__title {
        font-size: calc(var(--font-size-home-hero-title) - 1.5rem);
    }
}

@media (min-width: 768px) and (max-width: 1400px) {
    #relacionamento .au-rel__title {
        font-size: 6rem;
    }
}

/* —— FAQ (padrão faq-form-section) —— */

.page-about-us #about-us-faq-form.au-faq .faq-form-title {
    font-size: var(--pf-section-title-size);
    font-weight: 400;
    line-height: var(--pf-section-title-line-height);
    letter-spacing: -0.02em;
    color: var(--color-grey);
}

.page-about-us #about-us-faq-form.au-faq .faq-form-subtitle {
    font-weight: 300;
    font-size: var(--font-size-home-hero-description);
    line-height: 1.45;
    color: #6b7370;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 767.98px) {
    .page-about-us #about-us-faq-form.au-faq .faq-form-title {
        font-size: var(--pf-section-title-size-mobile) !important;
        max-width: 21rem;
        margin-left: auto;
        margin-right: auto;
    }

    .page-about-us #about-us-faq-form.au-faq .faq-form-subtitle {
        font-size: var(--font-size-home-hero-description-mobile);
        line-height: 1.45;
        max-width: 18.5rem;
    }
}

@media only screen and (max-width: 767.98px) {
    #relacionamento .au-rel__banner {
        min-height: min(100svh, 44rem);
    }

    #relacionamento .au-rel__media {
        position: absolute;
        inset: 0;
        height: 100%;
    }

    #relacionamento .au-rel__img {
        height: 100%;
        object-fit: cover;
        object-position: 58% center;
    }

    /* Texto na base + degradê inferior (ref. relacionamentos.png) */
    #relacionamento .au-rel__overlay {
        position: relative;
        min-height: min(100svh, 44rem);
        align-items: flex-end;
        padding-top: 0;
        padding-bottom: clamp(2rem, 7vh, 3.25rem);
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0) 42%,
            rgba(0, 0, 0, 0.22) 68%,
            rgba(0, 0, 0, 0.5) 100%
        );
    }

    /* Mobile: título acima do texto — espaçamento no título */
    #relacionamento .au-rel__title,
    #relacionamento .au-rel__title--mobile {
        margin-top: 0;
        margin-bottom: 1.75rem !important;
        font-size: var(--font-size-home-hero-title-mobile) !important;
        line-height: 1.05;
        letter-spacing: -0.04em !important;
        text-shadow: none;
    }

    #relacionamento .au-rel__eyebrow,
    #relacionamento .au-rel__eyebrow--mobile {
        max-width: min(100%, 20.5rem);
        margin-bottom: 0 !important;
        font-size: var(--font-size-home-hero-description-mobile);
        line-height: 1.45;
        text-shadow: none;
    }
}

/* Acessibilidade — usuários que preferem menos movimento */
@media (prefers-reduced-motion: reduce) {
    .page-about-us .au-reveal-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media only screen and (max-width: 480px) {
    .page-about-us #homeHero.home-us-hero .banner-home-us {
        min-height: min(100svh, 44rem);
    }

    .page-about-us #homeHero.home-us-hero .banner-home-us__inner {
        min-height: min(100svh, 44rem) !important;
        padding-bottom: clamp(1.5rem, 5vh, 2.25rem);
    }

    /* Mantém o bloco de texto no meio/baixo do banner (ref. banner.png mobile) */
    .page-about-us #homeHero.home-us-hero .banner-home-us__inner > .row > [class*="col-"] {
        padding-top: clamp(5rem, 19vh, 6rem);
    }

    .page-about-us #homeHero.home-us-hero .banner-home-us__title,
    .page-about-us #homeHero.home-us-hero .banner-home-us__title--mobile {
        font-size: var(--font-size-home-hero-title-mobile) !important;
        line-height: 1.02 !important;
        letter-spacing: -0.05em !important;
    }

    .page-about-us #homeHero.home-us-hero p.banner-home-us__tagline,
    .page-about-us #homeHero.home-us-hero p.banner-home-us__tagline--mobile {
        max-width: min(100%, 19.5rem);
        margin-top: clamp(0.9rem, 2.2vh, 1.2rem) !important;
        margin-bottom: clamp(1.1rem, 2.8vh, 1.5rem) !important;
    }

    .page-about-us #homeHero.home-us-hero .cta_buttom {
        font-size: var(--font-size-home-hero-cta-mobile) !important;
        padding: 0.32rem 1.15rem;
    }
}

/* —— Ajustes para telas de 1024px a 1280px (notebooks) —— */
@media (min-width: 1024px) and (max-width: 1280.98px) {
    /* Títulos de seção */
    .page-about-us .au-section-title,
    .page-about-us #quem-e-fiber .au-quem-text__title,
    .page-about-us #nossa-expertise .au-exp-title,
    .page-about-us #about-us-faq-form.au-faq .faq-form-title {
        font-size: 2.75rem;
    }

    /* Título do banner Relacionamento */
    .page-about-us #relacionamento .au-rel__title {
        font-size: 4.75rem;
        letter-spacing: -3px;
    }

    /* Imagens do carrossel Quem é a FIBER menores */
    .page-about-us #quem-e-fiber .au-quem-carousel {
        max-width: 72%;
    }

    /* Imagens dos blocos Nossa expertise menores */
    .page-about-us #nossa-expertise .au-exp-block__img {
        max-width: 21.5rem;
    }
}
