@media (max-width: 1024px) {
    .footer-content {
        justify-content: center;
        text-align: center;
    }

    .footer-schedule {
        align-items: center;
    }

    .main .navbar {
        width: 95%;
    }

    .navbar img {
        width: 160px;
    }

    .menu-list {
        gap: 20px;
    }

    .content-1 {
        width: 95%;
        height: auto;
    }

    .content-1 .titulo h1 {
        font-size: 64px;
    }

    .content-1 .titulo p {
        font-size: 22px;
        width: 70%;
    }

    .epson img {
        width: 380px;
    }

    .autorizada p {
        width: 80%;
    }

    #solucoes .card {
        width: 95%;
        height: auto;
        flex-direction: column;
        align-items: center;
    }

    .img,
    .imgs,
    .imgscafe {
        width: 100%;
        height: auto;
    }

    .img img,
    .imgs img {
        width: 300px;
    }

    .imgscafe img {
        width: 380px;
    }

    .info {
        width: 90%;
        margin: 20px;
    }

    .titulo h2 {
        flex-wrap: wrap !important;
    }

    .roll {
        margin-bottom: 0 !important;
    }

    .nubefood {
        width: 100%;
        height: 480px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        margin-top: 5px;

    }

    .nubefood .texto {
        width: 80%;
        font-size: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nubefood .nubebtn {
        font-size: 12px;
    }

    .nubefood .nube {
        width: 250px;
        height: 250px;
        margin-top: 30px;
    }

    .footer-schedule {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .totem {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .totem h1 {
        max-width: 90%;
        font-size: 26px;
        text-align: center;
    }

    .totem img {
        height: 210px;
    }

    .gertec {
        display: none;
    }

    .menu-list {
        width: 100%;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;

        background: #fff;
        width: 100%;

        display: flex;

        border-radius: 12px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, .15);

        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);

        transition:
            opacity .25s ease,
            transform .25s ease,
            visibility .25s;

        z-index: 9999;
        /* <<< ESSENCIAL */
    }

    .menu-wrapper {
        width: 100%;
    }
    
    #diminuir{
        font-size: 15px;
    }
}


@media (max-width: 768px) {
    #diminuir{
        font-size: 15px;
    }
    .imgscompleta {
        width: 100%;             /* ocupa toda a largura */
        height: 250px;           /* altura fixa para caber em tela pequena */
        border-radius: 20px 20px 0 0;  /* bordas arredondadas adaptadas */
    }

    .imgscompleta img {
        object-position: center; /* centraliza a parte importante da imagem */
    }

    /* Se o card inteiro for um container, você pode empilhar o texto */
    .card-container {
        display: flex;
        flex-direction: column;  /* empilha imagem em cima e texto embaixo */
    }
    .footer {
        padding: 40px 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }

    .footer-logo img {
        max-width: 260px;
    }

    .footer-schedule {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .formcontato form {
        width: 90%;
        margin-left: -20px;
    }

    .formcontato form input,
    .formcontato form select {
        width: 100%;
        font-size: 18px;
    }

    .button {
        justify-content: center;
    }

    .button button {
        width: 100%;
    }

    .content-2 {
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
    }

    .content-2 .textoforms {
        max-width: 100%;
        text-align: left;
    }

    .content-2 form {
        max-width: 100%;
    }

    .submit {
        width: calc(100% - 40px);
    }

    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .menu-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;

        background: #fff;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 25px 0;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .menu-wrapper.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .menu-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* DROPDOWN MOBILE */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 400px;
    }

    /* REMOVE hover no mobile */
    .dropdown:hover .dropdown-menu {
        opacity: 0;
        visibility: hidden;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
    }

    .content-1 {
        align-items: center;
        text-align: center;
    }

    .content-1 .titulo h1 {
        font-size: 44px;
    }

    .content-1 .titulo p {
        width: 100%;
        font-size: 18px;
    }

    .demo,
    .demo-two,
    .demo-black {
        padding: 14px 30px;
        font-size: 16px;
    }

    .epson {
        height: auto;
        padding: 40px 0;
    }

    .epson img {
        width: 280px;
    }

    .autorizada h2 {
        padding: 14px 24px;
        font-size: 18px;
        text-align: center;
    }

    .autorizada p {
        width: 90%;
        font-size: 14px;
    }

    #solucoes .card {
        margin: 20px 0;
    }

    .lista-beneficios,
    .lista-beneficios-sistemas {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lista-beneficios li,
    .lista-beneficios-sistemas li {
        white-space: normal;
        font-size: 14px;
    }

    .footer img {
        width: 300px;
    }

    .footer {
        height: auto;
        padding: 30px 0;
    }

    .footer .opt {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }


    .roll {
        margin-top: 20px !important;
    }

    .hex-tech-bg {
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        height: 100%;
        width: 100%;
    }

    .menu-item {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .menu-item .bar {
        height: 16px;
        margin-right: 4px;
    }

    .menu-list li {
        width: 100%;
        text-align: center;
    }

    .nubefood {
        width: 100%;
        height: 480px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        margin-top: 5px;

    }

    .nubefood .texto {
        width: 80%;
        font-size: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nubefood .nubebtn {
        font-size: 12px;
    }

    .nubefood .nube {
        width: 250px;
        height: 250px;
        margin-top: 30px;
    }

    .footer-schedule {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .totem {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .totem h1 {
        max-width: 90%;
        font-size: 26px;
        text-align: center;
    }

    .totem img {
        height: 210px;
    }

    .gertec {
        display: none;
    }

    .menu-list {
        width: 100%;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;

        background: #fff;
        width: 100%;

        display: flex;

        border-radius: 12px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, .15);

        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);

        transition:
            opacity .25s ease,
            transform .25s ease,
            visibility .25s;

        z-index: 9999;
        /* <<< ESSENCIAL */
    }

    .menu-wrapper {
        width: 100%;
    }
}


@media (max-width: 480px) {
    #diminuir{
        font-size: 15px;
    }
    .content-2 {
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
    }

    .content-2 .textoforms {
        max-width: 100%;
        text-align: left;
    }

    .content-2 form {
        max-width: 100%;
    }

    .submit {
        width: calc(100% - 40px);
    }

    .content-1 .titulo h1 {
        font-size: 36px;
    }

    .content-1 .titulo p {
        font-size: 16px;
    }

    .roll {
        margin-bottom: 0 !important;
    }

    .roll img {
        width: 40px;
    }

    .img img,
    .imgs img,
    .imgscafe img {
        width: 260px;
    }

    .arrow {
        font-size: 22px;
        margin: 0 10px;
    }

    .card .titulocard .titulos {
        font-size: 17px !important;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .menu-item {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .menu-item .bar {
        height: 16px;
        margin-right: 4px;
    }

    .dropdown>a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .dropdown .arrows {
        font-size: 12px;
        margin-left: 4px;
    }

    .menu-list li {
        width: 100%;
        text-align: center;
    }

    .nubefood {
        width: 100%;
        height: 480px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        margin-top: 5px;

    }

    .nubefood .texto {
        width: 80%;
        font-size: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nubefood .nubebtn {
        font-size: 12px;
    }

    .nubefood .nube {
        width: 250px;
        height: 250px;
        margin-top: 30px;
    }

    .footer-schedule {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .totem {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .totem h1 {
        max-width: 90%;
        font-size: 26px;
        text-align: center;
    }

    .totem img {
        height: 210px;
    }

    .gertec {
        display: none;
    }

    .menu-list {
        width: 100%;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;

        background: #fff;
        width: 100%;

        display: flex;

        border-radius: 12px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, .15);

        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);

        transition:
            opacity .25s ease,
            transform .25s ease,
            visibility .25s;

        z-index: 9999;
        /* <<< ESSENCIAL */
    }

    .menu-wrapper {
        width: 100%;
    }
}


/* GARANTE REFERÊNCIA */
.navbar {
    position: relative;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    margin: 20px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #000;
    border-radius: 3px;
    transition: 0.3s;
}


/* MOBILE */
@media (max-width: 768px) {
    .footer {
        padding: 40px 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }

    .footer-logo img {
        max-width: 260px;
    }

    .footer-schedule {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .formcontato form {
        width: 90%;
        margin-left: -20px;
    }

    .formcontato form input,
    .formcontato form select {
        width: 100%;
        font-size: 18px;
    }

    .button {
        justify-content: center;
    }

    .button button {
        width: 100%;
    }

    .hamburger {
        display: flex;
    }

    .menu-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;

        background: #fff;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 25px 0;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .menu-wrapper.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .menu-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* DROPDOWN MOBILE */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    /* DESATIVA HOVER NO MOBILE */
    .dropdown:hover .dropdown-menu {
        opacity: 0;
        visibility: hidden;
    }

    .card .titulocard .titulos {
        font-size: 17px !important;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .menu-item {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .menu-item .bar {
        height: 16px;
        margin-right: 4px;
    }

    .dropdown>a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .dropdown .arrows {
        font-size: 12px;
        margin-left: 4px;
    }

    .menu-list li {
        width: 100%;
        text-align: center;
    }

    .nubefood {
        width: 100%;
        height: 480px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        margin-top: 5px;

    }

    .nubefood .texto {
        width: 80%;
        font-size: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nubefood .nubebtn {
        font-size: 12px;
    }

    .nubefood .nube {
        width: 250px;
        height: 250px;
        margin-top: 30px;
    }

    .footer-schedule {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .totem {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .totem h1 {
        max-width: 90%;
        font-size: 26px;
        text-align: center;
    }

    .totem img {
        height: 210px;
    }

    .gertec {
        display: none;
    }

    .menu-list {
        width: 100%;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;

        background: #fff;
        width: 100%;

        display: flex;

        border-radius: 12px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, .15);

        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);

        transition:
            opacity .25s ease,
            transform .25s ease,
            visibility .25s;

        z-index: 9999;
        /* <<< ESSENCIAL */
    }

    .menu-wrapper {
        width: 100%;
    }
}