/* Página Empresa — estilos exclusivos (extraídos de empresa.html) */

/* Cabeçalho BAW: mesmas medidas do index */
body.machion-baw-header .header-top .outer-container {
    padding-top: 10px;
    padding-bottom: 10px;
}
body.machion-baw-header .header-top .social-links li h5,
body.machion-baw-header .header-top .links-list li {
    font-size: 14px;
    line-height: 20px;
}
body.machion-baw-header .header-top .social-links li a {
    font-size: 16px;
}
body.machion-baw-header .header-top .social-links li:before {
    top: 10px;
}
body.machion-baw-header .header-top .links-list li a {
    white-space: nowrap;
}
@media (min-width: 768px) {
    body.machion-baw-header .main-header .header-lower .outer-box,
    body.machion-baw-header .sticky-header .outer-box {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 0;
    }
    body.machion-baw-header .main-header .header-lower .menu-left-content,
    body.machion-baw-header .sticky-header .menu-left-content {
        grid-column: 1;
        justify-self: start;
        margin-right: 0;
        border-right: none;
        padding-right: 36px;
    }
    body.machion-baw-header .main-header .header-lower .menu-area,
    body.machion-baw-header .sticky-header .menu-area {
        grid-column: 2;
        justify-self: stretch;
        display: flex;
        justify-content: center;
        align-items: center;
        flex: none !important;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        border-left: 1px solid #e2e2e2;
        border-right: 1px solid #e2e2e2;
        padding-left: 32px;
        padding-right: 32px;
    }
    body.machion-baw-header .main-header .header-lower .menu-area .main-menu,
    body.machion-baw-header .sticky-header .menu-area .main-menu {
        float: none;
        margin: 0 auto;
        flex-shrink: 0;
    }
    body.machion-baw-header .main-header .header-lower .menu-right-content,
    body.machion-baw-header .sticky-header .menu-right-content {
        grid-column: 3;
        justify-self: end;
        margin-left: 0;
        border-left: none;
        padding-left: 36px;
    }
}
body.machion-baw-header .main-header .header-lower .menu-left-content,
body.machion-baw-header .sticky-header .menu-left-content {
    padding-top: 20px;
    padding-bottom: 20px;
}
body.machion-baw-header .main-header .header-lower .menu-left-content .logo-box,
body.machion-baw-header .sticky-header .menu-left-content .logo-box {
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 32px;
}
body.machion-baw-header .main-header .header-lower .menu-left-content .logo-box img,
body.machion-baw-header .sticky-header .menu-left-content .logo-box img {
    max-height: 52px;
    width: auto;
    vertical-align: middle;
}
body.machion-baw-header .main-header .header-lower .menu-left-content .logo-box:before,
body.machion-baw-header .sticky-header .menu-left-content .logo-box:before {
    height: 52px;
    right: -18px;
    top: 0;
}
body.machion-baw-header .main-header .header-lower .main-menu .navigation > li,
body.machion-baw-header .sticky-header .main-menu .navigation > li {
    margin-left: 12px;
    margin-right: 12px;
}
body.machion-baw-header .main-header .header-lower .main-menu .navigation > li > a,
body.machion-baw-header .sticky-header .main-menu .navigation > li > a {
    padding-top: 16px;
    padding-bottom: 16px;
    line-height: 26px;
    font-size: 16px;
}
body.machion-baw-header .main-header .header-lower .main-menu .navigation > li > a:before,
body.machion-baw-header .sticky-header .main-menu .navigation > li > a:before {
    top: 16px;
}
body.machion-baw-header .main-header .header-lower .main-menu .navigation > li > a:after,
body.machion-baw-header .sticky-header .main-menu .navigation > li > a:after {
    top: 17px;
}

/* Empresa — Mesmas áreas que about-2.jpg (400×594) e faq-1.jpg (412×614); PNGs com object-fit cover */
.about-style-two.baw-empresa-page-about .image-column {
    overflow: visible;
}
.about-style-two.baw-empresa-page-about .image-box {
    overflow: visible;
}
.about-style-two.baw-empresa-page-about .image-box .image-1 {
    aspect-ratio: 400 / 594;
    overflow: hidden;
    width: 100%;
}
.about-style-two.baw-empresa-page-about .image-box .image-1 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.about-style-two.baw-empresa-page-about .image-box .image-2 {
    position: absolute;
    left: auto;
    right: -10px;
    bottom: -28px;
    width: 66%;
    max-width: 66%;
    margin: 0;
    z-index: 2;
    aspect-ratio: 412 / 614;
    overflow: hidden;
    box-sizing: border-box;
}
.about-style-two.baw-empresa-page-about .image-box .image-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
@media only screen and (max-width: 499px) {
    .about-style-two.baw-empresa-page-about .image-box .image-2 {
        position: relative;
        right: auto;
        bottom: auto;
        width: 66%;
        max-width: 66%;
        margin-top: 30px;
        margin-left: auto;
    }
}

/* Carrossel Sobre: títulos em exatamente 2 linhas (sem quebras extra) */
.about-style-two .slider-content .about-carousel .sec-title h2 {
    font-size: clamp(17px, 1.65vw + 0.9rem, 48px);
    line-height: 1.15;
}
.about-style-two .slider-content .about-carousel .sec-title h2 .baw-empresa-h2-line {
    display: block;
    white-space: nowrap;
}
.about-style-two.baw-empresa-page-about .slider-content .about-carousel .content-box {
    max-width: 30rem;
    margin-right: auto;
}

/* Mobile: setas ao lado do título do carrossel "Sobre" */
.baw-empresa-page-about .baw-empresa-title-with-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.baw-empresa-page-about .baw-empresa-title-with-nav .baw-empresa-title-inner {
    flex: 1;
    min-width: 0;
}
.baw-empresa-page-about .baw-empresa-about-arrow {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid #d8d8d8;
    border-radius: 50%;
    background: #fff;
    color: #a9a6a5;
    cursor: pointer;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}
.baw-empresa-page-about .baw-empresa-about-arrow:hover,
.baw-empresa-page-about .baw-empresa-about-arrow:focus-visible {
    color: #e4492e;
    border-color: #e4492e;
    outline: none;
}
.baw-empresa-page-about .baw-empresa-about-arrow-glyph {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
    font-family:
        system-ui,
        -apple-system,
        'Segoe UI',
        Roboto,
        Arial,
        sans-serif;
}
@media (min-width: 992px) {
    .baw-empresa-page-about .baw-empresa-title-with-nav {
        display: block;
    }
}
@media (max-width: 991.98px) {
    .baw-empresa-page-about .slider-content .owl-nav {
        display: none !important;
    }
}

/* Statements: PNGs — mesma área dos flaticons; clique fica no <li> (evita arrastar imagem) */
.statements-section .tab-btn-box.centred {
    display: flex;
    width: 100%;
}
.statements-section .tab-btn-box.centred .tab-btns {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.statements-section .tab-btn-box.centred .tab-btns li {
    flex: 1 1 25%;
}
@media (max-width: 991.98px) {
    .statements-section .tab-btn-box.centred .tab-btns li {
        flex-basis: 50%;
    }
}
@media (max-width: 575.98px) {
    .statements-section .tab-btn-box.centred .tab-btns li {
        flex-basis: 100%;
    }
}
.statements-section .tab-btns li {
    position: relative;
    z-index: 2;
    -webkit-user-select: none;
    user-select: none;
}
.statements-section .tab-btns li .icon-box.baw-statement-icon img {
    display: block;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    object-fit: contain;
    pointer-events: none;
    transition: filter 0.35s ease;
}
/* Aba aberta: ícone + título em laranja BAW */
.statements-section .tab-btns li.active-btn h4 {
    color: #e4492e;
}
.statements-section .tab-btns li.active-btn .icon-box.baw-statement-icon img {
    filter: invert(42%) sepia(92%) saturate(1800%) hue-rotate(330deg) brightness(0.98) contrast(1.05);
}

/* Statements — imagem do pilar: fundo branco, borda e foto um pouco menor */
.statements-section .tabs-content .content-box .bg-layer {
    background-color: #ffffff;
    border: 1px solid #e2e2e2;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

@media (min-width: 992px) {
    .statements-section .tabs-content .content-box .bg-layer {
        width: 46%;
        padding: 28px 24px;
    }
    .statements-section .tabs-content .content-box .inner-box {
        width: 54%;
    }
}

/*
 * Em telas onde responsive.css esconde .bg-layer, na Empresa usamos as imagens
 * baw-statements-tab-*-bg.png no topo do bloco (não os ícones pequenos das abas).
 */
@media (max-width: 991.98px) {
    /* Permite a faixa .bg-layer em 100vw sem cortar (full bleed) */
    .baw-empresa-statements-tabs .tabs-content {
        overflow-x: visible !important;
        overflow-y: hidden;
    }
    .baw-empresa-statements-tabs .tabs-content .content-box {
        display: flex;
        flex-direction: column;
        overflow-x: visible !important;
        /* Sem padding: a faixa fica colada no topo do bloco escuro; o texto usa .inner-box */
        padding: 0 !important;
    }
    .baw-empresa-statements-tabs .tabs-content .content-box .bg-layer {
        display: block !important;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        width: calc(100% - 40px) !important;
        max-width: calc(100% - 40px);
        margin-left: auto;
        margin-right: auto;
        height: clamp(220px, 58vw, 400px) !important;
        min-height: 200px;
        flex-shrink: 0;
        padding: 20px 16px;
        background-color: #ffffff;
        border: 1px solid #e2e2e2;
        box-sizing: border-box;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
    .baw-empresa-statements-tabs .tabs-content .content-box .inner-box {
        width: 100% !important;
        padding: 28px 20px 40px 20px !important;
    }
    .baw-empresa-statements-tabs .tabs-content .content-box .big-text {
        display: none !important;
    }
}

/* Transição das abas Statements — mesma linguagem visual do preloader (laranja #e4492e, brilho, profundo) mas gesto diferente: pulso + sweep único, sem logo/ondas infinitas */
.baw-empresa-statements-tabs.tabs-box .tab {
    transform: none;
    transition: none;
}
.baw-empresa-statements-tabs.tabs-box .tab.active-tab {
    transform: none;
}
.baw-empresa-statements-tabs .tabs-content .content-box {
    overflow: hidden;
}
.baw-empresa-statements-tabs .tabs-content .content-box::before,
.baw-empresa-statements-tabs .tabs-content .content-box::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
}
/* Pulso radial momentâneo (eco do glow do preloader, uma batida) */
.baw-empresa-statements-tabs .tabs-content .tab.baw-tab--flash .content-box::before {
    background: radial-gradient(
        circle at 50% 42%,
        rgba(228, 73, 46, 0.2) 0%,
        rgba(228, 73, 46, 0.06) 38%,
        transparent 62%
    );
    animation: baw-tab-pulse 0.55s ease-out forwards;
}
/* Sweep de luz horizontal único (parecido com o sheen do load, mas trajeto reto e mais curto) */
.baw-empresa-statements-tabs .tabs-content .tab.baw-tab--flash .content-box::after {
    background: linear-gradient(
        100deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(255, 255, 255, 0.22) 50.5%,
        rgba(255, 255, 255, 0.1) 51%,
        transparent 60%,
        transparent 100%
    );
    mix-blend-mode: screen;
    animation: baw-tab-sheen-sweep 0.65s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes baw-tab-pulse {
    0% {
        opacity: 0;
        transform: scale(0.92);
    }
    35% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(1.08);
    }
}
@keyframes baw-tab-sheen-sweep {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    15% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}
.baw-empresa-statements-tabs .tabs-content .tab .inner-box,
.baw-empresa-statements-tabs .tabs-content .tab .big-text {
    position: relative;
    z-index: 3;
    transition:
        opacity 0.34s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.34s cubic-bezier(0.4, 0, 0.2, 1),
        filter 0.34s cubic-bezier(0.4, 0, 0.2, 1);
}
.baw-empresa-statements-tabs .tabs-content .tab .inner-box .theme-btn {
    transition:
        opacity 0.34s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.34s cubic-bezier(0.4, 0, 0.2, 1),
        filter 0.34s cubic-bezier(0.4, 0, 0.2, 1);
}
.baw-empresa-statements-tabs .tabs-content .tab.baw-tab--out .inner-box,
.baw-empresa-statements-tabs .tabs-content .tab.baw-tab--out .big-text,
.baw-empresa-statements-tabs .tabs-content .tab.baw-tab--out .inner-box .theme-btn {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(5px);
}
.baw-empresa-statements-tabs .tabs-content .tab.baw-tab--in .inner-box,
.baw-empresa-statements-tabs .tabs-content .tab.baw-tab--in .big-text,
.baw-empresa-statements-tabs .tabs-content .tab.baw-tab--in .inner-box .theme-btn {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(8px);
}
@media (prefers-reduced-motion: reduce) {
    .baw-empresa-statements-tabs .tabs-content .tab.baw-tab--flash .content-box::before,
    .baw-empresa-statements-tabs .tabs-content .tab.baw-tab--flash .content-box::after {
        animation: none !important;
        opacity: 0 !important;
    }
    .baw-empresa-statements-tabs .tabs-content .tab .inner-box,
    .baw-empresa-statements-tabs .tabs-content .tab .big-text,
    .baw-empresa-statements-tabs .tabs-content .tab .inner-box .theme-btn {
        transition-duration: 0.12s !important;
        filter: none !important;
    }
    .baw-empresa-statements-tabs .tabs-content .tab.baw-tab--out .inner-box,
    .baw-empresa-statements-tabs .tabs-content .tab.baw-tab--out .big-text,
    .baw-empresa-statements-tabs .tabs-content .tab.baw-tab--out .inner-box .theme-btn,
    .baw-empresa-statements-tabs .tabs-content .tab.baw-tab--in .inner-box,
    .baw-empresa-statements-tabs .tabs-content .tab.baw-tab--in .big-text,
    .baw-empresa-statements-tabs .tabs-content .tab.baw-tab--in .inner-box .theme-btn {
        transform: none !important;
    }
}

/* Funfacts: PNGs no círculo — mesmo tamanho visual dos flaticons (50px no icon-box 90×90) */
.funfact-section .funfact-block-one .inner-box .icon-box.baw-funfact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.funfact-section .funfact-block-one .inner-box .icon-box.baw-funfact-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

/* Funfacts Empresa: ícone e número acima; título e descrição abaixo (coluna centralizada) */
.funfact-section .funfact-block-one .inner-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.funfact-section .funfact-block-one .inner-box .icon-box {
    margin-right: 0;
    margin-bottom: 12px;
}
.funfact-section .funfact-block-one .inner-box .count-outer {
    margin-right: 0;
    margin-bottom: 10px;
}

/* Sub-título em cima do h2 (inline-block+inline-block punha os dois na mesma linha) */
.growth-section .sec-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.growth-section .sec-title .sub-title {
    color: rgba(255, 255, 255, 0.9);
}
.growth-section .sec-title .sub-title:before {
    background: rgba(255, 255, 255, 0.45);
}
.growth-section .sec-title h2.baw-growth-title-fade {
    display: block;
    max-width: 100%;
    color: #ffffff;
    background: none;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
.growth-section .sec-title p {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
/* Forma (shape-10): mais escura */
.growth-section .pattern-layer {
    filter: brightness(0.48) contrast(1.06);
}
.growth-section .image-layer {
    overflow: hidden;
}
/* Foto: um pouco mais clara */
.growth-section .image-layer img {
    filter: brightness(0.66);
}
.growth-section .image-layer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.32);
    pointer-events: none;
}
.growth-section .auto-container {
    position: relative;
    z-index: 1;
}
