* {
    border: 0px;
    padding: 0px;
    box-sizing: border-box;
    text-decoration: none;
}

body,
html {
    font-family: "Barlow", sans-serif;
    overflow-x: hidden;
    background-color: #e8ecee;
}


      header {
        padding: 2ch 2vw;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: auto;
            width: 95%;
            margin: auto;

            .logo-header {
                background-color: rgba(255, 255, 255, 0);
                box-shadow: 0px 0px 5px 2px rgba(83, 83, 83, 0);
                width: 120px;
                height: auto;
                border-radius: 30px;

            }

            .abas {
                border-radius: 15px;
                background-color: rgba(85, 85, 85, 0.55);
                backdrop-filter: saturate(180%) blur(20px);
                box-shadow: 0px 0px 6px 2px rgba(255, 255, 255, 0.1);
                padding: 18px 2vw;
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 3vw;

                a {
                    color: white;
                    transition: ease-in-out .2s;
                    font-weight: 400;
                }

                a:hover {
                    color: #d90404;
                    transform: translateY(-1px);
                }
            }

            .btn-contato-vermelho {
                color: rgba(255, 255, 255, 0.9);
                background-color: #D90429;
                border: none;
                outline: none;
                padding: 3px 10px 3px 18px;
                font-size: 16px;
                border-radius: 20px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 10px;
                font-weight: 500;
                font-size: 18px;
                transition: ease-in-out .2s;
                box-shadow: -4px 5px 16px 0px rgba(0, 0, 0, 0.4);


                img {
                    height: 50px;
                    width: 50px;
                    box-shadow: none;
                    transition: ease-in-out .2s;
                }


            }

            .btn-contato-vermelho:hover {
                transform: translateY(-2px) translateX(2px) scale(1.05);
                box-shadow: -4px 5px 16px 0px rgba(0, 0, 0, 0.5);

                img:hover {
                    transform: scale(1.08);

                }
            }
        }

.s1{
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    padding: 0vh 14vw;
        h1{
            font-size: 2vw;
            font-weight: 300;
            color: #8D0801;
            text-align: start;
            margin-bottom: 5vh;
            margin-top: 10vh;
        }

        .card{
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 5vw;
            margin-bottom: 13vh;

                .direita{
                    h2{
                        font-size: 2.5vw;
                        font-weight: 400;
                    }

                    p{
                        width: 100%;
                        font-size: 1vw;
                        line-height: 1.5vw;
                        margin-left: 0.5vw;
                    }
                }

                img{
                    width: 38vw;
                    border-radius: 5px;
                }
        }
}


/* ============================================================
   RDO LOGÍSTICA — TECNOLOGIA: MEDIA QUERIES RESPONSIVAS
   Estratégia: Desktop Down (1440px → Mobile)
   Breakpoints: 1367px | 1024px | 768px | 480px
   Fonte: Montserrat | Fundo: #e8ecee
   Header standalone. .s1 em coluna com cards row.
   ============================================================ */

/* Garantia global de imagens fluidas */
img {
    max-width: 100%;
    height: auto;
}


/* ============================================================
   BREAKPOINT 1: 1367px — Notebooks médios
   Layout row dos cards mantido.
   Padding lateral reduzido, tipografia calibrada.
   ============================================================ */
@media screen and (max-width: 1367px) {

    /* --- HEADER --- */
    header {
        padding: 1.8vw 2vw;
    }

    header .logo-header {
        width: 105px;
    }

    header .abas {
        gap: 2vw;
        padding: 16px 1.8vw;
    }

    header .abas a {
        font-size: 0.82rem;
        letter-spacing: 0.03em;
    }

    header .btn-contato-vermelho {
        font-size: 0.85rem;
        padding: 3px 8px 3px 14px;
    }

    header .btn-contato-vermelho img {
        height: 44px;
        width: 44px;
    }

    /* --- S1 --- */
    .s1 {
        padding: 0 10vw;
    }

    /* H1 "Tecnologia" — label vermelho leve */
    .s1 h1 {
        font-size: clamp(18px, 1.8vw, 1.8vw);
        font-weight: 300;
        letter-spacing: 0.03em;
        margin-top: 6vh;
        margin-bottom: 4vh;
    }

    /* Cards — gap e margem reduzidos proporcionalmente */
    .s1 .card {
        gap: 4vw;
        margin-bottom: 10vh;
    }

    /* Título da tecnologia */
    .s1 .card .direita h2 {
        font-size: clamp(22px, 2.3vw, 2.3vw);
        font-weight: 400;
        letter-spacing: -0.02em;
        margin-bottom: 1.5vh;
    }

    /* Parágrafo — line-height fixo em vw convertido para relativo */
    .s1 .card .direita p {
        font-size: clamp(13px, 0.95vw, 0.95vw);
        line-height: 1.75;
        margin-left: 0.4vw;
    }

    /* Imagem da tecnologia */
    .s1 .card img {
        width: 36vw;
    }
}


/* ============================================================
   BREAKPOINT 2: 1024px — Tablets grandes / Laptops pequenos
   Cards empilham: texto acima, imagem abaixo.
   Bloco centralizado com largura controlada.
   ============================================================ */
@media screen and (max-width: 1024px) {

    /* --- HEADER --- */
    header {
        padding: 2vw 3vw;
    }

    header .logo-header {
        width: 100px;
    }

    header .abas {
        gap: 1.8vw;
        padding: 14px 1.5vw;
    }

    header .abas a {
        font-size: 0.78rem;
    }

    header .btn-contato-vermelho {
        font-size: 0.82rem;
        padding: 3px 8px 3px 12px;
        gap: 8px;
    }

    header .btn-contato-vermelho img {
        height: 40px;
        width: 40px;
    }

    /* --- S1 ---
       Padding lateral reduzido, conteúdo centralizado */
    .s1 {
        padding: 0 8vw;
        align-items: center;
    }

    .s1 h1 {
        font-size: clamp(16px, 2.2vw, 2.2vw);
        font-weight: 300;
        margin-top: 5vh;
        margin-bottom: 4vh;
        width: 80%;
        text-align: start;
    }

    /* Cards: empilham verticalmente, largura = 80% centralizado */
    .s1 .card {
        flex-direction: column;
        align-items: flex-start;
        width: 80%;
        gap: 3vh;
        margin-bottom: 7vh;
    }

    /* Texto alinhado à esquerda dentro do bloco */
    .s1 .card .direita {
        width: 100%;
    }

    .s1 .card .direita h2 {
        font-size: clamp(24px, 3.5vw, 3.5vw);
        font-weight: 400;
        letter-spacing: -0.025em;
        margin-bottom: 1.5vh;
    }

    .s1 .card .direita p {
        font-size: clamp(13px, 1.4vw, 1.4vw);
        line-height: 1.8;
        width: 100%;
        margin-left: 0;
    }

    /* Imagem ocupa mesma largura do bloco pai */
    .s1 .card img {
        width: 100%;
        height: 38vw;
        object-fit: cover;
        border-radius: 8px;
    }
}


/* ============================================================
   BREAKPOINT 3: 768px — Tablets / iPads
   Menu hambúrguer. Cards com separador visual entre eles.
   ============================================================ */
@media screen and (max-width: 768px) {

    /* --- HEADER: Menu Hambúrguer --- */
    header {
        position: relative;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 2.5vw 4vw;
    }

    header .abas {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        width: 100%;
        background-color: rgba(20, 20, 20, 0.96);
        backdrop-filter: saturate(180%) blur(20px);
        border-radius: 12px;
        padding: 1.5rem 2rem;
        gap: 1rem;
        z-index: 100;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    }

    header .abas.menu-aberto {
        display: flex;
    }

    header .abas a {
        font-size: 0.95rem;
        text-align: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        letter-spacing: 0.05em;
        color: white;
    }

    header .abas a:last-child {
        border-bottom: none;
    }

    .btn-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(10px);
        border: none;
        border-radius: 10px;
        cursor: pointer;
        padding: 10px 12px;
        z-index: 101;
    }

    .btn-hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .btn-hamburger.ativo span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .btn-hamburger.ativo span:nth-child(2) {
        opacity: 0;
    }

    .btn-hamburger.ativo span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    header .btn-contato-vermelho {
        display: none;
    }

    /* --- S1 --- */
    .s1 {
        padding: 0 5vw;
        align-items: center;
    }

    .s1 h1 {
        font-size: clamp(15px, 3vw, 3vw);
        font-weight: 300;
        letter-spacing: 0.04em;
        margin-top: 4vh;
        margin-bottom: 4vh;
        width: 88%;
    }

    .s1 .card {
        flex-direction: column;
        align-items: flex-start;
        width: 88%;
        gap: 2.5vh;
        margin-bottom: 0;
        padding-bottom: 5vh;
        border-bottom: 1px solid rgba(141, 8, 1, 0.15);
    }

    /* Remove separador do último card */
    .s1 .card:last-child {
        border-bottom: none;
        padding-bottom: 4vh;
    }

    .s1 .card .direita h2 {
        font-size: clamp(24px, 5.5vw, 5.5vw);
        font-weight: 400;
        letter-spacing: -0.03em;
        line-height: 1.1;
        margin-bottom: 1.5vh;
    }

    .s1 .card .direita p {
        font-size: clamp(13px, 1.9vw, 1.9vw);
        line-height: 1.8;
        margin-left: 0;
        width: 100%;
    }

    .s1 .card img {
        width: 100%;
        height: 44vw;
        object-fit: cover;
        border-radius: 8px;
    }

    @media (hover: none) {
        header .btn-contato-vermelho:hover {
            transform: none;
        }
    }
}


/* ============================================================
   BREAKPOINT 4: 480px — Mobile
   Coluna única. Título de seção discreto.
   H2 das tecnologias com impacto máximo.
   Separadores vermelhos sutis entre cards.
   ============================================================ */
@media screen and (max-width: 480px) {

    /* --- HEADER --- */
    header {
        padding: 3vw 4vw;
    }

    header .logo-header {
        width: 90px;
    }

    header .btn-contato-vermelho {
        display: none;
    }

    /* --- S1 --- */
    .s1 {
        padding: 0 4vw;
        align-items: center;
    }

    /* H1 "Tecnologia" — label pequeno e elegante,
       peso leve mantido conforme o CSS original */
    .s1 h1 {
        font-size: clamp(20px, 3.5vw, 3.5vw);
        font-weight: 400;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        margin-top: 3.5vh;
        margin-bottom: 3.5vh;
        width: 92%;
    }

    /* Cards — largura 92% para manter margem lateral confortável */
    .s1 .card {
        flex-direction: column;
        align-items: flex-start;
        width: 92%;
        gap: 2vh;
        margin-bottom: 0;
        padding-bottom: 5vh;
        border-bottom: 1px solid rgba(141, 8, 1, 0.15);
    }

    .s1 .card:last-child {
        border-bottom: none;
        padding-bottom: 5vh;
    }

    /* H2 nome da tecnologia — dominante,
       tracking negativo cria bloco visual compacto */
    .s1 .card .direita h2 {
        font-size: clamp(26px, 8vw, 8vw);
        font-weight: 400;
        letter-spacing: -0.03em;
        line-height: 1.05;
        margin-bottom: 1.2vh;
    }

    /* Parágrafo — leve, legível, line-height relativo */
    .s1 .card .direita p {
        font-size: clamp(13px, 3.8vw, 3.8vw);
        line-height: 1.8;
        font-weight: 400;
        margin-left: 0;
        width: 100%;
        color: rgba(0, 0, 0, 0.8);
    }

    /* Imagem — full width do bloco, altura proporcional */
    .s1 .card img {
        width: 100%;
        height: 50vw;
        object-fit: cover;
        border-radius: 8px;
    }
}


/* ============================================================
   UTILITÁRIO: Desativa hover em dispositivos touch
   ============================================================ */
@media (hover: none) and (pointer: coarse) {

    header .btn-contato-vermelho:hover {
        transform: none !important;
        box-shadow: inherit !important;
    }
}



/* ============================================================
   ANIMAÇÃO SIMPLES DE ENTRADA (SEM MEXER NO HTML)
   ============================================================ */
header { 
    animation: fadeSubir 0.8s ease-out forwards; 
}

/* Anima o título principal */
.s1 h1 { 
    animation: fadeSubir 0.8s ease-out 0.2s forwards; 
    opacity: 0; 
}

/* Anima cada card em cascata */
.s1 .card:nth-of-type(1) { 
    animation: fadeSubir 0.8s ease-out 0.4s forwards; 
    opacity: 0; 
}
.s1 .card:nth-of-type(2) { 
    animation: fadeSubir 0.8s ease-out 0.6s forwards; 
    opacity: 0; 
}
.s1 .card:nth-of-type(3) { 
    animation: fadeSubir 0.8s ease-out 0.8s forwards; 
    opacity: 0; 
}
.s1 .card:nth-of-type(4) { 
    animation: fadeSubir 0.8s ease-out 1.0s forwards; 
    opacity: 0; 
}

/* O Keyframe que faz a mágica acontecer */
@keyframes fadeSubir {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}