/* =========================================================
   Dock One — page-specific styles
   Apenas o que não tem equivalente direto em Tailwind v4
   ========================================================= */

/* ----- Hero (section-header-hero-video): estilos do styles-redesign removidos ----- */
.section-header-hero {
    position: relative;
    background-color: #14191a;
}

.section-header-hero .container {
    position: relative;
    z-index: 2;
}

.section-header-hero .row {
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5rem;
}

.section-header-hero h1.title-2 {
    font-size: 48px;
    line-height: 60px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.dock-shine {
    background: linear-gradient(110deg, white, 45%, #00d8d8, 55%, white);
    background-size: 260% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 3s ease-out infinite alternate;
}

.section-header-hero p {
    font-size: 20px;
    line-height: 30px;
    color: #fff;
}

.section-header-hero .text-wrapper {
    max-width: 1024px;
}

.section-header-hero .header-hero-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.section-header-hero .z-2 {
    z-index: 2;
    position: relative;
}

.floating-text {
    margin-top: 4rem;
}

/* Vídeo de fundo */
.section-header-hero .video-holder {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.section-header-hero .video-holder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(360deg, rgb(20, 25, 26) 0%, rgba(20, 25, 26, 0.75) 40%, rgba(20, 25, 26, 0.55) 100%);
    z-index: 1;
}

.section-header-hero.video .video-full {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, 28%);
    width: auto;
    min-width: 100%;
}

/* Botão hero */
.new-button {
    width: fit-content;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    color: #000;
    background: #00d8d8;
    border-radius: 4px;
    font-family: "Roboto Mono", monospace;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid #00d8d8;
    margin: 0 auto;
}

.new-button.teal {
    border-color: #00d8d8;
    background: #00d8d8;
    color: #000;
}

.new-button.teal:hover {
    color: #000;
    border-color: #eeff88;
    background: #eeff88;
}

@media (min-width: 992px) {
    .section-header-hero.video .new-button.teal.scroll-to-section {
        min-width: 230px;
    }
}

@media (max-width: 991px) {
    .floating-text {
        margin-top: 2rem;
    }

    .section-header-hero .row {
        min-height: auto;
    }

    .section-header-hero h1.title-2 {
        font-size: 32px;
        line-height: 48px;
    }

    .section-header-hero p {
        font-size: 16px;
        line-height: 24px;
    }

    .section-header-hero .new-button.teal.scroll-to-section {
        min-width: 100%;
        margin: 0;
    }
}

@media (min-width: 768px) and (max-width: 1439px) {
    .section-header-hero.video .row {
        min-height: 100vh;
    }

    .section-header-hero.video .video-full {
        transform: translate(-50%, 35%);
        width: 120%;
    }
}

/* ----- pinnedSection: layout ScrollTrigger (JS-dependente) ----- */
.pinnedSection {
    display: flex;
    position: relative;
    /* container centralizado com bordas */
    max-width: 1520px;
    margin-left: auto;
    margin-right: auto;
    border-left: 1px solid #313131;
    border-right: 1px solid #313131;
}

.pinnedSection .imageColumn {
    width: 50%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #313131;
}

.pinnedSection .imageContainer {
    width: 100%;
    height: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.pinnedSection .imageContainer img {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    transition: opacity 0.1s ease;
    object-fit: cover;
}

.pinnedSection .imageContainer img.active {
    opacity: 1;
}

.pinnedSection .contentColumn {
    width: 50%;
}

.pinnedSection .contentColumn .boxContent {
    height: 100vh;
    padding: 8rem 6rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid #313131;
}

.pinnedSection .contentColumn .boxContent p {
    margin-bottom: 1rem;
}

.pinnedSection .contentColumn .boxContent h3 {
    font-size: 1.75rem !important;
    line-height: 2rem !important;
}

.pinnedSection .contentColumn .boxContent>div>div {
    font-size: 18px !important;
    line-height: 27px !important;
}

.pinnedSection .boxTitle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 4rem 4rem 2rem;
    text-align: center;
    z-index: 1;
}

/* Mobile boxContent: sem min-height, padding simples */
#sua-operacao-mobile .boxContent {
    min-height: 0;
    height: auto;
    display: block;
    padding: 0;
    border-bottom: 0;
}

/* ----- Porque Dock One ----- */
#porque_dock_one .grid-1-2-1-columns {
    display: grid;
    grid-template-columns: 10vw 1fr 10vw;
}

#porque_dock_one .grid-four-columns-items {
    display: grid;
    grid-template-columns: 10vw 1fr 1fr 1fr 10vw;
}

/* Título maior */
#porque_dock_one h2 {
    font-size: 40px !important;
    line-height: 50px !important;
    font-weight: 700 !important;
}

/* Cards: bordas, padding, hover */
#porque_dock_one .icon-box-light-gray {
    border-top: 1px solid #1CC0C0;
    padding: 24px;
    z-index: 2;
    transition: background 0.5s ease, border-color 0.5s ease, color 0.5s ease;
    position: relative;
}

#porque_dock_one .icon-box-light-gray:not(.box-6):not(.box-11):not(.box-12) {
    border-left: 1px solid #1CC0C0;
}

#porque_dock_one .icon-box-light-gray .title-5 {
    color: #14191A !important;
    font-weight: 700 !important;
    font-size: 20px;
    line-height: 28px;
    margin-top: 12px;
    margin-bottom: 8px;
}

#porque_dock_one .icon-box-light-gray .text {
    color: #14191A !important;
    font-weight: 400 !important;
    font-size: 16px;
    line-height: 24px;
}

#porque_dock_one .icon-box-light-gray .text p {
    margin: 0;
}

#porque_dock_one .icon-box-light-gray .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #EEFF88;
    border-radius: 8px;
    padding: 8px;
}

#porque_dock_one .icon-box-light-gray .icon img {
    max-width: 32px;
    max-height: 32px;
}

#porque_dock_one .icon-box-light-gray .icon-hover {
    display: none;
}

#porque_dock_one .icon-box-light-gray:not(.empty-box):hover {
    background: #14191A;
}

#porque_dock_one .icon-box-light-gray:not(.empty-box):hover .icon-initial {
    display: none;
}

#porque_dock_one .icon-box-light-gray:not(.empty-box):hover .icon-hover {
    display: block;
}

#porque_dock_one .icon-box-light-gray:not(.empty-box):hover .title-5 {
    color: #00D8D8 !important;
}

#porque_dock_one .icon-box-light-gray:not(.empty-box):hover .text {
    color: white !important;
}

/* Empty boxes: sem padding/conteúdo, mas mantêm bordas para o grid de linhas */
#porque_dock_one .icon-box-light-gray.empty-box {
    padding: 0;
}

#porque_dock_one .icon-box-light-gray.empty-box .inner {
    display: none;
}

/* Bottom row de linhas conectoras (entre porque_dock_one e operacao-eficiente) */
#porque_dock_one .porque-bottom-row {
    display: grid;
    grid-template-columns: 10vw 1fr 1fr 1fr 10vw;
}

#porque_dock_one .porque-bottom-row .bottom-line {
    min-height: 80px;
    border-top: 1px solid #1CC0C0;
}

#porque_dock_one .porque-bottom-row .bottom-line:nth-child(3),
#porque_dock_one .porque-bottom-row .bottom-line:nth-child(4) {
    border-left: 1px solid #1CC0C0;
}

#porque_dock_one .porque-bottom-row .bottom-line.last,
#porque_dock_one .porque-bottom-row .bottom-line.edge:last-child {
    border-right: 0;
}

/* Edges (10vw laterais) só com border-top */
#porque_dock_one .porque-bottom-row .bottom-line.edge {
    border-right: 0;
}

@media (max-width: 767px) {

    #porque_dock_one .grid-1-2-1-columns,
    #porque_dock_one .grid-four-columns-items {
        display: block;
    }

    #porque_dock_one .icon-box-light-gray.empty-box {
        display: none;
    }

    #porque_dock_one .icon-box-light-gray:not(.box-5):not(.box-6):not(.box-11):not(.box-12) {
        border-right: 0 !important;
    }
}

/* ----- Múltiplas Possibilidades: card hover + image overlay ----- */
.possibility-card {
    border-top: 1px solid #313131;
    padding: 24px;
    transition: border 0.2s ease;
}

.possibility-card:not(.box-4) {
    border-right: 1px solid #313131;
}

.possibility-card:hover {
    border: 1px solid rgba(0, 216, 216, 0.5) !important;
}

.tw-image-overlay {
    position: relative;
    display: inline-block;
}

.tw-image-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.possibility-card:hover .tw-image-overlay::before {
    opacity: 0;
}

/* ----- Accordion Redesign / Segurança (Operação Eficiente) ----- */
.accordionRedesign .card {
    border-radius: 9px;
    border: solid 3px #124A4B;
    margin-bottom: 1.5rem;
    background: #142222;
    overflow: hidden;
}

.accordionRedesign .card-header {
    background: transparent;
    padding: 0;
    border-bottom: 0;
}

.accordionRedesign .card button.btn-link {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 1.25rem 3rem 1.25rem 1.5rem;
    text-align: left;
    color: #00d8d8 !important;
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    cursor: pointer;
    background-image: url('../../img/icons/icon-close-yellow.svg');
    background-repeat: no-repeat;
    background-position: calc(100% - 1.25rem) 50%;
    background-size: 16px;
    transition: color 0.2s ease;
}

.accordionRedesign .card button.btn-link.collapsed {
    color: #fff !important;
    font-weight: 400;
    background-image: url('../../img/icons/icon-open-white.svg');
}

.accordionRedesign .card .card-body {
    padding: 0 1.5rem 1.25rem;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
}

.accordionRedesign.accordionSeguranca .card .card-body {
    border-top: 0;
}

.accordionRedesign .collapse:not(.show) {
    display: none;
}

/* ----- Banner Eficiente: imagens com posicionamento absoluto ----- */
.banner-eficiente {
    min-height: 580px;
    border: 1px solid #124A4B;
    max-width: 80%;
    margin: 0 auto;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.banner-eficiente img {
    position: absolute;
}

.banner-eficiente img.img-eficiente-1 {
    left: -40px;
    bottom: 30px;
}

.banner-eficiente img.img-eficiente-2 {
    right: -40px;
    bottom: 150px;
}

.banner-eficiente img.img-eficiente-3 {
    right: 90px;
    bottom: 70px;
}

.banner-eficiente img.img-eficiente-4 {
    right: -60px;
    bottom: 20px;
}

@media (max-width: 500px) {
    .banner-eficiente {
        max-width: 90%;
        min-height: 800px;
        border: 0 !important;
        margin-bottom: 4rem;
    }

    .banner-eficiente img.img-eficiente-1 {
        max-width: 120px;
    }

    .banner-eficiente img.img-eficiente-2,
    .banner-eficiente img.img-eficiente-3,
    .banner-eficiente img.img-eficiente-4 {
        max-width: 75px;
    }

    .banner-eficiente img.img-eficiente-3 {
        right: 50px;
        bottom: 90px;
    }

    .banner-eficiente img.img-eficiente-4 {
        right: -40px;
        bottom: 40px;
    }
}

/* ----- Destaques: imagem de fundo + content overlay ----- */
.featured.big {
    overflow: hidden;
}

.featured .image-featured {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    display: block;
}

.featured .content-wrapper {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 40px;
    z-index: 1;
}

/* ----- #operacao-eficiente border bottom ----- */
#operacao-eficiente {
    border-bottom: 1px solid #313131;
}