main {
    background-image: url(/assets/background/paper_backgorund.png);
}

.carrossel {
    width: 100%;
    aspect-ratio: 12 / 5;
    min-height: 420px;
    max-height: 90vh;

    position: relative;
    overflow: hidden;
}

.carrossel_item {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;

    color: #FFFDFD;
    font-family: 'open-sans-regular', sans-serif;
}

.carrossel_item.active {
    opacity: 1;
    pointer-events: auto;
}

.logo_carossel {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.9));
    max-width: 90%;
    height: auto;
}

.carrossel_button_link {
    background-color: #FFFDFD;
    color: #075123;
    border: none;
    border-radius: clamp(4px, 0.4vw, 8px);

    padding:
        clamp(2px, 1vw, 14px) clamp(6px, 2vw, 28px);

    font-size: clamp(14px, 1.2vw, 20px);
    font-weight: 600;
    font-style: italic;

    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.carrossel_button_link:hover {
    background-color: #f3ffeb;
    /* border: 1px solid #075123; */
}

#carrossel_item_1 {
    background-image: url(/assets/photos/chaminhao_vermelho_transburg.jpeg);
    background-size: cover;
    /* ajusta pela ALTURA */
    background-position: center;
    background-repeat: no-repeat;
}

#carrossel_item_1 img {
    width: 90%;
    display: block;
}

#carrossel_item_1_content,
#carrossel_item_3_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;

    text-align: right;
    max-width: 480px;

    margin-left: auto;
    padding-right: clamp(16px, 5vw, 64px);

    gap: clamp(20px, 4vw, 60px);
}


#carrossel_item_1_content p {
    font-size: clamp(14px, 3vw, 50px);
}

.carrossel_overlay_left,
.carrossel_overlay_right {
    pointer-events: none;
}

.carrossel_overlay_left {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;

    background: linear-gradient(270deg,
            #075123,
            #075123,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.15));
}

.carrossel_overlay_right {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;

    background: linear-gradient(270deg,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.15),
            #075123,
            #075123);
}

#carrossel_item_2 {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    height: 100%;
    background: linear-gradient(135deg, #04331a, #075123);
    overflow: hidden;
}

#carrossel_item_2 img.side {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) saturate(0.9);
}

#carrossel_item_2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(7, 81, 35, 0.85),
        rgba(7, 81, 35, 0.4),
        rgba(7, 81, 35, 0.85)
    );
    z-index: 1;
}

#carrossel_item_2>img {
    filter: brightness(0.85) contrast(1.05);
}

#carrossel_item_2_grid2 {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 40px;
}

#carrossel_item_2_grid2 p {
    font-size: clamp(16px, 3vw, 42px);
    font-family: 'open-sans-condensed-regular', sans-serif;
    color: #ffffff;
    margin: 0;
    letter-spacing: 2px;
}

#carrossel_item_2 .logo_carossel {
    width: clamp(120px, 30vw, 600px);
    height: auto;
}


#carrossel_item_3 {
    background-image: url(/assets/photos/caminhhao_exibindo_logo.jpeg);
    background-size: cover;
    /* ajusta pela ALTURA */
    background-position: center;
    background-repeat: no-repeat;
}

#carrossel_item_1 img {
    width: 90%;
    display: block;
}

#carrossel_item_3_content p {
    font-size: clamp(14px, 3vw, 50px);
}

#carrossel_item_3 img {
    width: 90%;
    display: block;
}

#carrossel_item_3 button {
    align-self: center;
}

/* botões */
#carrossel_buttons_container {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.carrossel_button {
    pointer-events: all;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    color: #fff;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;
    border-radius: 50%;
    margin: 0 12px;

    transition: background 0.2s ease, transform 0.15s ease;
}

.carrossel_button:hover {
    background: rgba(0, 0, 0, 0.65);
    transform: scale(1.08);
}

.carrossel_button:active {
    transform: scale(0.95);
}

#carrossel_item_4 {
    background-image: url(/assets/photos/caminhao_amarelo_silo_por_do_sol_12-5_baixo.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#carrossel_item_4_content {
    display: flex;
    justify-content: center;
    align-items: end;
    height: 100%;
    padding: clamp(10px, 5vw, 30px);
    text-align: center;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

#carrossel_item_4_content p {
    position: relative;
    font-size: clamp(14px, 3vw, 50px);
    color: #fffffd;
    text-align: center;
    padding: clamp(40px, 4vw, 80px) clamp(20px, 4vw, 60px) clamp(20px, 4vw, 60px);
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 12px;
}

.floating_logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%); /* metade fora */
    
    width: clamp(60px, 8vw, 120px);
    background: #ffffff;
    padding: 8px;
    border-radius: 50%;
    
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.carrossel_button_link2{
    background-color: #DAA520;
    color: #000000;
    border: none;
    border-radius: clamp(4px, 0.4vw, 8px);

    padding:
        clamp(2px, 1vw, 14px) clamp(6px, 2vw, 28px);

    font-size: clamp(14px, 1.2vw, 20px);
    font-weight: 600;
    font-style: italic;

    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#carrossel_item_5 {
    background-image: url("/assets/photos/Prancheta 1.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 900px) {
    #carrossel_item_5 {
        background-size: contain;
        background-color: #062a18;
    }
}


#carrossel_item_5_content {
    align-self: center;
    justify-content: center;
    justify-items: center;
    text-align: center;
    font-family: 'open-sans-condensed-regular', sans-serif;
    background: radial-gradient(rgba(2, 48, 21, 0.822), rgba(74, 168, 71, 0.397));
    padding: clamp(16px, 5vw, 100px);
    padding-left: clamp(20px, 20vw, 200px);
    padding-right: clamp(20px, 20vw, 200px);
    border-radius: 16px;
    backdrop-filter: blur(2px);
    max-width: min(90%, 900px);
}

#carrossel_item_5_content p {
    font-size: clamp(14px, 3vw, 50px);
}

#carrossel_item_5_content img {
    max-width: clamp(300px, 40vw, 600px);
}

#carrossel_item_5_content .logo_carossel {
    filter: drop-shadow(0 6px 12px rgba(255, 255, 255, 0.315));
    background-color: #fff;
    padding: 8px;
    border-radius: 16px;
}

@media (max-width: 900px) {

    .carrossel {
        aspect-ratio: auto;
        min-height: 520px;
    }

    #carrossel_item_1,
    #carrossel_item_3 {
        background: #075123;
    }

    #carrossel_item_1_content,
    #carrossel_item_3_content {
        max-width: 90%;
        padding: 0 20px;
        align-items: center;
        text-align: center;
    }

    #carrossel_item_2 {
        grid-template-columns: 1fr;
    }

    #carrossel_item_2 img {
        display: none;
    }

    #carrossel_item_2 .logo_carossel {
        display: block;
    }

    #carrossel_item_2_grid2 p {
        margin: 0 10%;
    }
}


/* introduction cards */

#introduction_container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;

    padding: 60px 20px;
    align-items: stretch;

    max-width: 1200px;
    margin: 0 auto;
}

.card_introduction {
    background-color: #FFFDFD;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card_introduction img {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
}

.title_card_introduction {
    font-weight: bold;
    color: #075123;
    margin-bottom: 8px;
}

.description_card_introduction {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

#introduction_text_container {
    position: relative;

    max-width: 100%;
    max-height: 100%;

    padding: clamp(40px, 6vw, 90px) clamp(30px, 5vw, 80px);

    background-image: url(/assets/photos/comboio_caminhoes_grupoburg.jpeg);
    background-size: cover;
    background-position: center;

    color: #FFFDFD;
    border-radius: 16px;
    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}


#introduction_text_container::before {
    content: "";
    position: absolute;

    inset: 0;
    background-image: url(/assets/Logo.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: clamp(280px, 45%, 520px);

    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
}

#introduction_text_container>* {
    position: relative;
    z-index: 1;
}

.title-main {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.title-sub {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 600;
    color: #b8f0c2;
    margin-bottom: 20px;
}

#introduction_text_container p {
    max-width: 520px;
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.6;
}

@media (max-width: 768px) {
    #introduction_text_container {
        text-align: center;
        min-height: auto;
    }

    #introduction_text_container::after {
        background-position: center;
        background-size: 60%;
        opacity: 0.12;
    }

    #introduction_text_container p {
        margin: 0 auto;
    }
}


#introduction_text_container h2 {
    margin-bottom: 10px;
}

#introduction_text_container p {
    max-width: 420px;
    line-height: 1.5;
}

#cards_introduction_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {

    #introduction_container {
        grid-template-columns: 1fr;
    }

    #introduction_text_container {
        min-height: 250px;
        text-align: center;
    }

    #cards_introduction_container {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .card_introduction {
        max-width: 90%;
    }
}


@media (max-width: 480px) {

    #introduction_text_container h2 {
        font-size: 22px;
    }

    #introduction_text_container p {
        font-size: 14px;
    }

    .card_introduction img {
        width: 80px;
        height: 80px;
    }
}

/* caminhao_destaque_banner */
#caminhao_destaque_banner {
    width: 100%;
    max-width: 1200px;
    display: block;
    margin: 40px auto;

    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
}

#caminhao_destaque_banner.visible {
    opacity: 1;
    transform: translateY(0);
}

/* action invite */

#action_invite_container {
    min-height: 350px;
    text-align: center;
    align-content: center;
    background-image: radial-gradient(#30794c, #075123);
    padding: 20px;
}

#action_invite_container h2 {
    font-size: 50px;
    color: #FFFDFD;
}

#action_invite_container p {
    font-size: 24px;
    color: #FFFDFD;
}

#action_invite_container button {
    color: #075123;
    font-weight: 600;
    font-style: italic;
    font-family: 'Open Sans SemiBold Italic', sans-serif;
    background-color: #FFFDFD;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 15px;
    margin: 0px 20px 20px 0px;
    margin-bottom: 20px;
    justify-items: center;
    text-align: center;
    box-shadow: #555 2px 2px 5px;
    cursor: pointer;
    font-size: 24px;
}