@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;500&family=Rubik:wght@300;500&display=swap');

:root {
    --pad: 20px;
    --mar: 20px;
    --radius: 5px;
    --blue: #25356E;
    --gradient-blue: linear-gradient(90deg, rgba(37, 53, 110, 1) 0%, rgba(69, 95, 191, 1) 100%);
    --padd-section-xl: 150px;
    --padd-section-lg: 100px;
    --padd-section-md: 80px;
    --padd-section-sm: 60px;
}

* {
    margin: 0;
    padding: 0;
    border: none;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    overflow-x: hidden;
}

h2 {
    font-size: 2.3rem;

    @media screen and (max-width: 489px) {
        font-size: 1.6rem;
    }
}

.margin-y {
    margin: var(--mar) 0;
}

.underline {
    border-bottom: solid 1px var(--color);
}

.flex {
    display: flex;
    gap: var(--pad);
    width: 100%;
    height: 100%;

    &.inline {
        display: inline-flex;
    }

    &.align-center {
        align-items: center;
    }

    &.justify-center {
        justify-content: center;
    }

    &.justify-between {
        justify-content: space-between;
    }

    &.flex-column {
        flex-direction: column;
    }
}

.text-center {
    text-align: center;
}

.cl-blue {
    color: var(--blue);
}

.cl-white {
    color: #fff;
}

.bg-gradient {
    background: var(--gradient-blue);
}

.bg-blue {
    background: var(--blue);
}

.content-section {
    padding: 80px var(--padd-section-xl);
    min-width: calc(100% - var(--padd-section-xl) * 2);

    @media screen and (max-width: 1199px) {
        padding: 60px var(--padd-section-lg);
        min-width: calc(100% - var(--padd-section-lg) * 2);
    }

    @media screen and (max-width: 991px) {
        padding: 60px var(--padd-section-sm);
        min-width: calc(100% - var(--padd-section-sm) * 2);
    }
}

.content-section-x {
    padding: 0 var(--padd-section-xl);
    min-width: calc(100% - var(--padd-section-xl) * 2);
}

.content-title {
    max-width: 60%;

    @media screen and (max-width: 1199px) {
        max-width: 80%;
    }

    @media screen and (max-width: 991px) {
        max-width: 98%;
    }
}

.btn-cta {
    background: var(--gradient-blue);
    border-radius: var(--radius);
    color: #fff;
    display: inline-block;
    padding: 20px;
    text-transform: uppercase;
    text-align: center;

    &.full-width {
        width: calc(100% - 40px);
    }

    &.white {
        background: rgba(255, 255, 255, .8);
        color: #333;
        text-shadow: none;
    }

    @media screen and (max-width: 991px) {
        &.top {
            padding: 10px;
            font-size: 0.9rem;
        }
    }
}

.banner-main {
    background-image: url('../images/bg-hero-banner-lp-maxtag.png');
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    width: calc(100% - 360px);
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    padding: 0 180px;

    &:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, .6);
        width: 100%;
        height: 100%;
        z-index: 5;
    }

    .content-left {
        color: #fff;
        position: relative;
        z-index: 6;
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 40%;

        h2 {
            text-shadow: 1px 1px 10px #000;
        }

        p {
            font-size: 1.8rem;
            text-shadow: 8px 0px 10px lightcoral;
            display: inline-block;
            padding: 20px;
        }

        span {
            text-shadow: 1px 1px 10px #000;
        }

        @media screen and (max-width: 1199px) {
            width: 50%;
        }

        @media screen and (max-width: 991px) {
            width: 100%;
        }
    }

    .content-right {
        width: 60%;
        position: relative;
        z-index: 5;
        display: flex;
        align-items: center;
        height: 100%;

        @media screen and (max-width: 1199px) {
            width: 50%;
        }

        @media screen and (max-width: 991px) {
            width: 0%;
            display: none;
        }
    }

    @media screen and (max-width: 1199px) {
        padding: 0 90px;
        width: calc(100% - 180px);
    }

    @media screen and (max-width: 991px) {
        padding: 0 40px;
        width: calc(100% - 80px);
    }
}

.seo-text-hidden {
    position: relative;
    left: -9999%;
}

.content-video {
    height: calc(100vh - 300px);
    overflow: visible;
    padding: 50px 0;
    position: relative;

    &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        background-image: url('../images/img-design-responsivo.png');
        background-position: bottom;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 100%;
        opacity: 0.5;
        z-index: 5;
        background-attachment: fixed;

        @media screen and (max-width: 768px) {
            background-size: 150vh;
        }

        @media screen and (max-width: 480px) {
            background-size: 120vh;
        }
    }

    a {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 6;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-close {
    position: absolute;
    top: 32px;
    right: 32px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
}

.whatsapp-float {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 9999;
    background: none;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;

    @media screen and (max-width: 991px) {
        right: -5px;
        bottom: 16px;

    }
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.top-fixed-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 80px;
    background: var(--blue);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    transition: top 0.3s;
}

.menu-content {
    display: flex;
    align-items: center;
    padding: 0 var(--padd-section-xl);
    height: 100%;
    justify-content: space-between;

    .small-budget-btn {
        display: none;
    }

    @media screen and (max-width: 1199px) {
        padding: 0 var(--padd-section-lg);
    }

    @media screen and (max-width: 991px) {
        padding: 0 var(--padd-section-sm);
    }

    @media screen and (max-width: 767px) {
        div:nth-of-type(2) {
            display: none;
        }

        img {
            width: 120px;
        }

        .small-budget-btn {
            display: block;
        }
    }
}

.budget-modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 95vw;
    padding: 32px 32px 24px 32px;
    position: relative;
    box-shadow: 0 0 40px #0003;
}

.budget-modal-content .modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    color: #444;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
}

.budget-form h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    font-weight: bold;
    color: #222;
}

.budget-form .form-group {
    margin-bottom: 18px;
}

.budget-form .form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
}

.budget-form input,
.budget-form textarea {
    width: calc(100% - 28px);
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background: #fff;
    resize: none;
}

.budget-form input,
.budget-form textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

.budget-form textarea {
    min-height: 100px;
}

.budget-form .btn-enviar {
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 32px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-left: 16px;
    transition: 500ms;
}

.budget-form .btn-enviar:hover {
    background: var(--gradient-blue);
}

.budget-form .align-center {
    align-items: center;
}

#formMessage {
    background-color: #eee;
    margin-top: 16px;
    font-size: 1.1rem;
    color: var(--blue);
    padding: var(--pad);
    display: none;
}

.grid-columns {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns-total), 1fr);
    gap: 100px;
    margin: 60px 0;
    width: 100%;

    img {
        max-height: 350px;
        width: auto;
        object-fit: contain;
    }
}

@media (max-width: 1024px) {
    .grid-columns {
        grid-template-columns: repeat(1, 1fr);
    }
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.carousel-track {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 0;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track>* {
    min-width: 280px;
    max-width: 320px;
    flex: 0 0 auto;
}

.carousel-btn {
    background: #1877F3;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

.carousel-btn:hover {
    background: #145db2;
    opacity: 1;
}

.carousel-btn.prev {
    margin-right: 8px;
}

.carousel-btn.next {
    margin-left: 8px;
}

.modal-content video,
.content-video video {
    width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .modal-content video,
    .content-video video {
        max-width: 100vw;
    }
}