@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght@160..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dongle&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sansation:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=REM:ital,wght@0,100..900;1,100..900&display=swap');

body {
    overflow-x: hidden;
}

header {
    height: 90px;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    font-size: 15px;
    font-family: 'Readex Pro', sans-serif;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header .row {
    width: 100%;
}

header .row#main-header {
    display: flex;
    align-items: center;
    height: 100%;
}

header .col#logo {
    margin-right: auto;
    padding-left: 120px;
}

header .col img {
    position: absolute;
    top: 10%;
    width: 12%;
}

header .col-1 {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

header .col-1 a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    transition: 0.3s ease-in-out;
}

header .col-1 a:hover {
    color: rgb(1, 149, 149);
    transition: 0.3s ease-in-out;
}

header #last-col {
    margin-right: 150px;

    .fa-whatsapp {
        width: 20px;
        height: 20px;
    }

    a {
        text-decoration: none;
        color: rgb(255, 255, 255);
        padding: 5px;
        background-color: #56db2a00;
        border: 2px solid #56db2a;
        border-radius: 3px;
        border-top-right-radius: 15px;
        border-bottom-left-radius: 15px;
        transition: 0.3s ease-in-out;
        display: flex;
        width: fit-content;
        align-items: center;
        justify-content: center;
    }

    a:hover {
        background-color: #56db2a;
        color: white;
        transition: 0.3s ease-in-out;
    }
}

header #burguer-menu {
    display: none;
    width: fit-content;
    cursor: pointer;
}

#list-menu #whatsapp-contact {
    margin: 10px;
    width: 100%;
}

#list-menu #whatsapp-contact .fa-whatsapp {
    width: 20px;
    height: 20px;
}

#list-menu #whatsapp-contact a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    padding: 5px;
    background-color: #56db2a;
    border: 2px solid #56db2a;
    border-radius: 3px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    transition: 0.3s ease-in-out;
    display: flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
}

#list-menu #whatsapp-contact a:hover {
    background-color: transparent;
    color: black;
    transition: 0.3s ease-in-out;
}

main #list-menu {
    display: none;
    position: fixed;
    right: -71%;
    height: 100%;
    width: 70%;
    background-color: white;
    box-shadow: -4px 0 4px rgba(0, 0, 0, 0.244);
    font-family: 'Readex Pro', sans-serif;
    font-size: 20px;
}

main {
    font-family: 'Readex Pro', sans-serif;
}

main #product-content {
    padding-top: 150px;
    margin-top: 0 !important;
}

main #list-menu .row {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 15px;
}

main #list-menu .row .fa-xmark {
    width: 20px;
    color: red;
    height: 20px;
    cursor: pointer;
}

main #list-menu .row a {
    text-decoration: none;
    color: black;
}

main #home-swiper {
    width: 100%;
    height: fit-content;
}

main #home-swiper .swiper-slide {
    background-color: transparent;
    width: 100%;
    height: 96vh;
    display: flex;
    align-items: end;
    justify-content: left;
    text-align: left;
}

.fade-in {
    transform: translateX(-100px);
    opacity: 0;
}

.fade-in-children {
    opacity: 0;
    transform: translateX(-30px);
}

main #home-swiper .swiper-slide img {
    height: 100%;
    width: 100%;
    object-fit: fill;
    position: absolute;
    z-index: 0;
}

main #home-swiper .swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to top, rgba(0, 67, 154, 0.5), rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.15) 100%);
}

main #home-swiper .swiper-slide #home-letter-box {
    z-index: 1000;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: end;
    justify-content: flex-start;
    padding: 5%;
}

main #home-swiper .swiper-slide h1 {
    font-family: 'REM', sans-serif;
    font-size: 300%;
    color: white;
    width: 45%;
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari */
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
}

main #whatsapp-fab {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 1000;
    width: 50px;
    height: 50px;
}

main #whatsapp-fab .fa-whatsapp {
    width: 100%;
    height: 100%;
    color: white;
    background-color: #25D366;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 1px 2px 8px gray;
}

main #home .col {
    padding: 50px;
    text-align: justify;
    flex-direction: column;
    display: flex;
}

main #home .col p {
    font-size: 20px;
}

main #home img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 1px 2px 8px gray;
}

#feedback-vids .col {
    display: flex;
    align-items: center;
    justify-content: center;
}

#feedback-vids .col .player {
    width: clamp(220px, 18vw, 420px);
    aspect-ratio: 9 / 16;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 1px 2px 8px gray;
    transition: transform 0.3s ease;
    margin-bottom: 50px;
}

#feedback-vids .col .player:hover {
    transform: scale(1.05);
    transition: 0.3s ease-in-out;
}

#feedback-vids .col .video-modal video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#feedback-vids .col .video-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#feedback-vids .col .video-modal {
    background: black;
    border-radius: 15px;
    overflow: hidden;
}

main #about .row.mb-5.mt-5 {
    padding: 0 70px;
}

main #about .col {
    max-height: 200px;
    height: 100%;
    z-index: 1;
    width: clamp(230px, 20vw, 400px);
    overflow: hidden;
    border-radius: 20px;
}

main #about .col .menu-item {
    height: 15vh;
}

main #about .col .row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    background-color: rgba(128, 128, 128, 0.163);
    transition: 0.3s ease-in-out;
    padding: 10px;
    cursor: pointer;

    .fa-circle-dot {
        width: 20px;
        height: 20px;
    }

    p {
        margin: 0;
        width: fit-content;
        font-size: 18px;
    }
}

.about-option {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #3098cd;
    border-radius: 15px;
    background-color: transparent;
    color: #3098cd;
    flex-direction: column;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    overflow: hidden;
    z-index: 9999;
}

.about-option h1 {
    text-align: center;
    width: 100%;
}

.about-option:hover {
    background-color: #3098cd;
    color: white;
    transition: 0.3s ease-in-out;
}

.about-option .fa-arrow-pointer {
    transform: translateX(50px) translateY(100px);
    width: 40px;
    height: 40px;
}

main #about .col .row:hover,
main #about .col .row.active {
    background-color: #3098cd;
    color: white;
    transition: 0.3s ease-in-out;
}

main #about .col .content {
    display: none;
    text-align: justify;
    height: 100%;
    padding: 10px;
    background-color: rgba(128, 128, 128, 0.163);
    opacity: 0;
}

main #about .col .content.active {
    display: block;
    opacity: 100%;
    transition: 0.3s ease-in-out;
}

main #products #product-swiper {
    width: 100%;
    height: 360px;
}

main #products #product-swiper .swiper-slide {
    display: flex;
    width: 33%;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 18px;

    img {
        width: 100%;
    }
}

main #products-container img {
    object-fit: contain;
    max-height: 180px;
    max-width: 235px;
    height: 100%;
}

main #products-container #all-laser-machines .card {
    cursor: pointer;
    height: 30vh;
}

#products-mobile {
    display: none;
}

.swiper#about-swiper {
    display: none;
}

.swiper#about-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    padding: 15px;
    text-align: left;
    height: 60vh;
    border: 1px solid rgba(128, 128, 128, 0.701);
    border-radius: 15px;
    margin: 20px;
    background-color: white;
    box-shadow: inset 1px 2px 8px gray;
}

main #contact img {
    width: 70%;
}

#partners #swiper-partners {
    width: calc(100% + 15vw);
    height: 200px;
}

#partners #swiper-partners .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

#partners #swiper-partners .swiper-slide img {
    height: 100%;
    object-fit: contain;
}

main #contact a {
    text-decoration: none;
    font-size: 18px;
}

main #contact .fa-solid {
    width: 20px;
    height: 20px;
}

#contact-desktop .fa-whatsapp,
#contact-desktop .fa-envelope,
#contact-desktop .fa-globe,
#contact-desktop .fa-location-dot {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

#contact-mobile {
    display: none;
}

main #home-mobile {
    display: none;
}

footer {
    font-family: 'Readex Pro', sans-serif;
    height: 480px;
    /* background-image: linear-gradient(to top, #dc3545, #dc3545 80%, white 100%); */
    background-color: #3098cd;
}

footer a,
footer h5,
footer p,
footer .col {
    text-decoration: none;
    color: white;
}

footer .col {
    margin-bottom: 8px;
}

footer a:hover {
    color: white;
    transition: 0.3s ease-in-out;
}

#footer-contact-mobile {
    display: none;
}

.footer-contact .fa-globe,
.footer-contact .fa-envelope,
.footer-contact .fa-whatsapp,
.footer-contact .fa-instagram {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

.footer-contact a {
    display: flex;
    align-items: center;
}

.choose-swiper {
    width: 100%;
    height: 410px;
}

.choose-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: justify;
    background-color: white;
    width: 100%;
    height: 100%;
}

.choose-swiper .swiper-slide h2,
#choose-swiper .swiper-slide p {
    width: fit-content;
}

@media screen and (max-width: 860px) {
    footer {
        height: 650px;
    }

    .footer-contact {
        display: none;
    }

    #footer-contact-mobile {
        display: flex;
    }
}

@media screen and (max-width: 850px) and (min-width: 721px) {

    header {
        height: 150px;
    }

    header #logo {
        padding-left: 0 !important;
        margin-right: 0 !important;
        display: flex;
        justify-content: center;
    }

    header .col img {
        top: 5%;
        width: 40%;
    }

    #top-header {
        display: none !important;
    }

    #main-header {
        z-index: 1000;
        height: 100px;
    }

    header #last-col {
        display: none;
    }

    header .col-1 {
        display: none;
    }

    header #burguer-menu {
        display: block;
        z-index: 9999;
    }

    #burguer-menu .fa-bars {
        width: 50px;
        height: 50px;
    }

    main #list-menu {
        display: flex;
        flex-direction: column;
        z-index: 900;
        font-size: 40px;
    }

    main #list-menu .row .fa-xmark {
        width: 50px;
        height: 50px;
    }

    main #list-menu .fa-whatsapp {
        width: 40px !important;
        height: 40px !important;
    }

    main #home-mobile {
        display: flex;
        background-image: url(./imgs/banner-1-mobile.jpeg);
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 110vh;
    }

    main #home .text-center {
        display: none;
    }

    main #home .col {
        text-align: left;
    }

    #main #home .col h1 {
        font-size: 52px;
        font-weight: bold;
    }

    main #home .col p {
        font-size: 25px;
    }

    main #home .col button {
        width: 100% !important;
    }

    main #home .col button h3 {
        font-size: 40px;
    }

    .swiper {
        display: none;
    }

    main #about .container-fluid {
        padding: 0 !important;
    }

    #about-container {
        display: none;
    }

    #contact-desktop {
        display: none;
    }

    #contact-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #contact-mobile h3 {
        font-size: xx-large;
    }

    #contact-mobile .row a {
        display: flex;
        align-items: center;
        font-weight: bold;
        font-size: 30px;
    }

    #contact-mobile .fa-whatsapp,
    #contact-mobile .fa-envelope,
    #contact-mobile .fa-globe,
    #contact-mobile .fa-location-dot {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
}

@media screen and (max-width: 720px) {

    header {
        height: 125px;
        z-index: 1000;
    }

    #top-header {
        display: none !important;
    }

    header #last-col {
        display: none;
    }

    header .col-1 {
        display: none;
    }

    header #burguer-menu {
        display: block;
        z-index: 9999;
        margin-top: 20px;
    }

    main #home-letter-box{
        padding: 0 !important;
        padding-top: 100px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    main #home-letter-box h1 {
        font-size: 250% !important;
        width: 90% !important;
        background: none !important;
        backdrop-filter: none !important;
        border: none !important;
    }

    main #home .text-center {
        display: none;
    }

    header #burguer-menu .fa-bars {
        width: 30px;
        height: 30px;
    }

    main #list-menu {
        display: flex;
        flex-direction: column;
        z-index: 1000;
    }

    header .col {
        padding-left: 30px;
    }

    header .col#logo {
        padding-left: 50px;
    }

    header .col img {
        top: 8%;
        width: 50%;
    }

    #home-swiper .swiper-slide {
        height: 65vh !important;
    }

    #home-swiper .swiper-slide img {
        object-fit: cover !important;
    }

    #home-mobile {
        display: flex !important;
        background-image: url(./imgs/banner-1-mobile.jpeg);
        background-repeat: no-repeat;
        background-size: 105% !important;
        width: 100%;
        height: 80vh;
    }

    main #home .col h1 {
        font-size: 40px !important;
    }

    main #home .col p {
        font-size: 18px !important;
    }

    main #home .col button {
        width: 100% !important;
    }

    #about-container {
        display: none;
    }

    main #about .container-fluid {
        padding: 0 !important;
    }

    main #about-option {
        width: 33.3% !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 150px !important;
    }

    main #about-option h1 {
        font-size: 25px !important;
        hyphens: auto;
        word-break: break-word;
        margin: 0 !important;
    }

    main #about-option .fa-arrow-pointer {
        width: 30px !important;
        height: 30px !important;
    }

    main #home .col button h3 {
        font-size: 25px !important;
    }

    #contact-desktop {
        display: none;
    }

    #contact-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #contact-mobile h3 {
        font-size: xx-large;
    }

    #contact-mobile .row a {
        display: flex;
        align-items: center;
        font-weight: bold;
        font-size: 20px;
    }

    #contact-mobile .fa-whatsapp,
    #contact-mobile .fa-envelope,
    #contact-mobile .fa-globe,
    #contact-mobile .fa-location-dot {
        width: 25px;
        height: 25px;
        margin-right: 10px;
    }

    .swiper#about-swiper {
        display: flex;
    }

}

/* ===== MOBILE E TABLET ===== */

@media (max-width: 768px) {

    /* Header geral */
    #top-header {
        display: none !important;
    }

    #main-header {
        padding: 10px 0;
        display: flex;
        justify-content: center;
        position: relative;
    }

    /* Logo */
    #logo {
        padding-left: 0 !important;
        margin-right: 0 !important;
        display: flex;
        justify-content: center !important;
    }

    #logo img {
        position: static !important;
        width: 45% !important;
        margin: 0 auto;
    }

    /* Oculta navegação desktop */
    #main-header .col-1,
    #last-col {
        display: none !important;
    }

    /* Mostra botão hambúrguer */
    #burguer-menu {
        display: block !important;
        position: absolute;
        right: 20px;
        top: 20px;
        font-size: 28px;
        cursor: pointer;
    }

    /* GRID dos produtos */
    .col-md-3 {
        width: 50% !important;
        flex: 0 0 50% !important;
    }

    .produto-card {
        height: 230px !important;
        padding: 12px !important;
    }

    .produto-card img {
        max-height: 120px !important;
    }

    .produto-card h5 {
        font-size: 16px !important;
    }

}


@media (max-width: 480px) {

    /* GRID vira 1 por linha */
    .col-md-3 {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    .produto-card {
        height: 200px !important;
    }

    .produto-card img {
        max-height: 150px !important;
    }

    /* Logo menor ainda */
    #logo img {
        width: 55% !important;
    }

    #burguer-menu {
        font-size: 26px !important;
    }

    #products-mobile {
        display: flex;
    }
}

/* ===== CONTAINER PRINCIPAL PRODUTOS ===== */

#products-container .card[style*="height: 550px"] {
    height: auto !important;
    min-height: 500px;
}

#products-container .card-body {
    flex-direction: column !important;
}

/* ===== GRID DAS MÁQUINAS ===== */

#products-container .laser-machines {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Remove largura fixa 19% */
#products-container .laser-machines .card {
    width: calc(24% - 10px) !important;
    /* 5 por linha desktop */
    height: auto !important;
    transition: 0.2s ease;
    align-items: center;
}

#products-container .laser-machines .card:hover {
    transform: translateY(-3px);
}

/* Imagem ajustada */
#products-container .laser-machines img {
    width: 100%;
    height: 140px;
    object-fit: contain;
}

/* Texto */
#products-container .card-subtitle {
    text-align: center;
    padding: 10px 5px;
    font-size: 16px;
}

#mid-banner #mobile {
    display: none;
}

/* ===== TABLET ===== */
@media (max-width: 992px) {

    #products-container .laser-machines .card {
        width: calc(23% - 10px) !important;
        /* 4 por linha */
    }

    #products-container .laser-machines img {
        height: 120px;
    }
}

/* ===== TABLET PEQUENO ===== */
@media (max-width: 768px) {

    #products-container .card[style*="height: 550px"] {
        min-height: auto;
    }

    #products-container .laser-machines {
        max-height: none;
        overflow: visible !important;
    }

    #products-container .laser-machines .card {
        width: calc(50% - 10px) !important;
        /* 2 por linha */
    }

    #products-container .laser-machines img {
        height: 120px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 480px) {

    #products-container .laser-machines .card {
        width: 100% !important;
        /* 1 por linha */
        height: 180px !important;
    }

    #products-container .laser-machines img {
        width: 100%;
        height: 85%;
    }

    #products-container .card-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {

    /* deixa o banner crescer conforme conteúdo */
    #mid-banner {
        height: auto !important;
        min-height: 100vh;
        flex-direction: column;
    }

    #mid-banner #desktop {
        display: none !important;
    }

    #mid-banner #mobile {
        display: flex !important;
    }

    /* imagem vira background normal */
    #mid-banner img {
        position: relative !important;
        width: 100vw !important;
        height: 100% !important;
    }

    /* remove margens fixas */
    #mid-banner .row {
        margin-left: 0 !important;
        padding: 20px;
        text-align: center;
        position: absolute;
        top: 75%;
    }

    #mid-banner .fade-in-children {
        margin-top: 0 !important;
        transform: translateY(-250px) !important;
    }

    #mid-banner h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
        height: auto !important;
    }

    #mid-banner h2 {
        font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
        height: auto !important;
        width: fit-content !important;
    }

    #mid-banner ul {
        padding-left: 20px;
        text-align: left;
    }

    #mid-banner .row {
        margin-right: 0 !important;
    }

    #mid-banner #col-1 {
        display: none;
    }

    #mid-banner #col-2 {
        padding-left: 25px;
    }

    #mid-banner .row .row {
        flex-direction: column;
    }

    #mid-banner .row .row .col {
        width: 100%;
    }

    /* parágrafos legíveis */
    #mid-banner p {
        font-size: 0.95rem !important;
        text-align: justify;
    }
}