@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* ====================================
   SCROLL SUAVE MODERNO
   ==================================== */

/* Scroll suave nativo */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Ajusta para header fixo se houver */
}

/* Customização da barra de scroll */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #333, #666);
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #555, #888);
}

/* Para Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #666 #f1f1f1;
}

/* Animação suave para elementos que entram na tela */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Botão "Voltar ao Topo" */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #333, #666);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #555, #888);
}

/* Indicador de progresso de scroll */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #333, #666, #999);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Animação para seções */
.section {
    transition: all 0.3s ease;
}

/* Efeito parallax suave */
.parallax-element {
    transform: translateZ(0);
    will-change: transform;
}

body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    /* ou flex-start se quiser alinhado à esquerda */
}

.logo-image {
    max-height: 100px;
    /* ajuste conforme necessário */
    width: auto;
    object-fit: contain;
}

.title-logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 1rem 0;
    /* equivalente ao my-3 */
}

.logo-momentus {
    width: 360px;
    /* ajuste conforme necessário */
    height: auto;
    object-fit: contain;
}

.section {
    padding: 30px 0;
}

.banner-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.banner-container h2 {
    font-size: 49pt;
    font-weight: 800;
    margin: 0;
    color: black;
}

.banner-container p {
    font-family: "Lato", sans-serif;
    letter-spacing: 0.05em;
    font-size: 20pt;
    color: black;
}

.banner-container p strong {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    color: black;
}

.banner-text {
    position: absolute;
    top: 100px;
    left: 50px;
    width: 451px;
    max-width: 100%;
    color: black;
    font-family: "Lato", sans-serif;
    text-transform: uppercase;
}

.banner-title {
    font-size: 2.5em;
    font-weight: bold;
    margin: 0;
    color: black;
}

.banner-subtitle {
    font-size: 1.2em;
    margin: 10px 0 0 0;
    line-height: 1.4;
}

.banner-subtitle strong {
    font-weight: bold;
}

.image-full {
    width: 100%;
    height: auto;
    display: block;
}

h4.start-title,
h5.start-title {
    font-size: 39pt;
    font-weight: 900;
}

h4.start-title-2 {
    font-size: 49pt;
    font-weight: 900;
}

.institucional {
    font-size: 22pt;
}

.vantagens .icon {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.vantagens h6 {
    font-weight: bold;
}

.black-box {
    background-color: #000;
    color: #fff;
    padding: 40px;
}

.black-box input {
    margin-bottom: 15px;
}

.metrics-image-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.metrics-box {
    margin-bottom: 0 !important;
    width: 100%;
    background-color: #000;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.metrics-image {
    width: 100%;
    height: calc(100vh - 264px); /* altura padrão desktop */
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

/* Layout desktop: imagem e vídeo lado a lado, mesma altura */
.metrics-image-container .row.d-none.d-md-flex {
    display: flex;
    align-items: stretch; /* faz as colunas terem altura igual */
}

.metrics-image-container .row.d-none.d-md-flex img,
.metrics-image-container .row.d-none.d-md-flex video {
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.owl-items {
    font-family: "Lato", sans-serif;
    font-size: 18pt;
    font-weight: 300;
    color: #000;
    text-align: center;
    padding: 10px;
    background-color: #f8f8f8;
    border-radius: 5px;
    margin: 5px;
    text-transform: uppercase;
}

/* Mobile */
@media screen and (max-width: 768px) {
    .metrics-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
        margin: 0;
        padding: 0;
    }

    .metrics-image-container video {
        height: auto; /* deixa o vídeo seguir o aspect-ratio */
    }
}

/* Remove classes conflitantes */
.metrics-image.image-full {
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}


.metrics-box h4 {
    font-size: 5rem;
    font-weight: 900;
}

.brands .row {
    margin: 0;
}

.brands img {
    max-height: 80px;
    /* ajuste conforme necessário */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    margin: 0 15px 15px 15px;
}

.brands img:hover {
    transform: scale(1.1);
}

/* Para garantir centralização em todas as telas */
.brands [class*="col-"] {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    text-align: center;
    align-content: center;
}


.products img {
    width: 100%;
    border-radius: 4px;
}

footer {
    text-align: center;
    padding: 40px 0 20px;
    font-size: 0.9rem;
}

footer div {
    font-size: 18pt;
    font-weight: 700;
}

/* Layout para desktop */
.categories-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    margin-top: 1rem;
    width: 100%;
}

.category-item {
    font-weight: 500;
    color: inherit;
}

.category-separator {
    color: inherit;
    margin: 0 5px;
}

.vantagens div h6 {
    font-size: 1rem;
}

.form-btn {
    width: 100%;
    text-align: right;
}

.cta-box {
    background-color: #000;
    color: #fff;
    padding: 40px;
}

.cta-final-box {
    background-color: #000;
    color: #fff;
    padding: 40px;
}

.titulo-cta {
    font-size: 24pt;
    font-weight: 900;
    margin-bottom: 20px;
}

/* Para responsividade em telas menores */
@media (max-width: 768px) {
    .brands img {
        max-height: 80px;
        /* ajuste conforme necessário */
        width: auto;
        object-fit: contain;
        transition: transform 0.3s ease;
        margin: 0 15px 50px 15px;
    }
    .metrics-box h4 {
        font-size: 2rem;
        font-weight: 900;
        text-align: center !important;
        margin: 15px 0 !important;
    }
    .subtitle {
        font-size: 1rem !important;
        text-align: center !important;
        margin: 15px 0 !important;
    }

    .form-btn {
        width: 100%;
        text-align: center;
    }

    .form-btn input {
        display: table;
        width: 100%;
    }

    .vantagens div h6 {
        font-size: 0.7rem;
        padding: 0 15px !important;
        text-align: center !important;
    }

    h4.start-title,
    h5.start-title {
        font-size: 22pt !important;
        font-weight: 900;
        text-align: center !important;
        margin: 15px 0 !important;
        padding: 15px 0 !important;
    }

    h4.start-title-2 {
        width: 100%;
        font-size: 29pt !important;
        font-weight: 900;
        text-align: center !important;
        margin: 15px 0 !important;
    }

    .institucional {
        font-size: 12pt !important;
        text-align: center !important;
    }

    /* Banner Lojista - Desktop */
    .banner-lojista .row.align-items-center {
        display: flex;
        align-items: stretch;
        margin: 0; /* remove margem do row */
    }

    .banner-lojista .col-md-9,
    .banner-lojista .col-md-3 {
        padding: 0; /* remove padding das colunas */
        display: flex;
        flex-direction: column;
    }

    .banner-lojista .col-md-9 .banner-container,
    .banner-lojista .col-md-9 .image-full,
    .banner-lojista .col-md-3 video {
        flex: 1; /* preenche toda altura do container */
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .metrics-box {
        flex-direction: column !important;
    }

    .title-logo-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .logo-momentus {
        width: 100%;
        height: auto;
        margin: 0 auto;
        padding: 0 70px;
    }

    .logo-image {
        max-height: 45px;
    }

    .categories-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }

    .category-item {
        width: calc(30% - 5px);
        font-size: 1rem;
        text-align: center;
        margin-bottom: 10px;
    }

    .category-separator {
        display: none;
        /* esconde os separadores no mobile */
    }
}

/* Mobile: mantém empilhado e respeita aspect-ratio do vídeo */
@media screen and (max-width: 768px) {
    .banner-lojista .col-12 video,
    .banner-lojista .col-md-9 .image-full {
        height: auto;
        object-fit: cover;
    }
}

/* Para telas muito pequenas, pode usar 1 por linha se necessário */
@media (max-width: 480px) {
    .form-btn {
        width: 100%;
        text-align: center;
    }

    .form-btn input {
        display: table;
        width: 100%;
    }

    .subtitle {
        font-size: 1rem !important;
        text-align: center !important;
    }

    .vantagens div h6 {
        font-size: 0.7rem;
    }

    .category-item {
        width: calc(30% - 5px);
        font-size: 1rem;
        /* mantém 2 por linha mesmo em telas pequenas */
    }
}