.gray_sub_title{
    color:black;
}

/* BANNER */
.banner_slide {
    position: relative;
    width: 100%;
    height: 60em;
    overflow: hidden;
    margin-top: 10em;
}
.slideshow { display: flex; transition: transform 0.5s ease; }
.slide_1, .slide_2, .slide_3, .slide_4 {
    min-width: 100%;
    height: 60em;
    display: flex;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.slide_1 { background-image: url(/imagens/banners/banner_galpao.jpg); }
.slide_2 { background-image: url(/imagens/banners/banner_produtos.jpg); }
.slide_3 { background-image: url(/imagens/banners/banner_func.jpg); }
.slide_4 { background-image: url(/imagens/banners/banner_metz_antigo.jpg); }

.banner-text {
    width: 30%;
    padding: 2em;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    word-wrap: break-word;
}
.slide_2 .banner-text, .slide_4 .banner-text {
    margin-left: auto;
    justify-content: flex-start;
}
.banner-text p { font-size: 8em; margin: 0; text-align: center; }

.slideshow-dots {
    position: absolute;
    bottom: 1em;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8em;
}
.btn_dot_slide {
    width: 2.5em;
    height: 0.8em;
    background-color: lightgray;
    cursor: pointer;
}
.btn_dot_slide.active { background-color: darkgray; }

/* QUEM SOMOS */
.container_quem_somos {
    max-width: 60%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    padding: 5em;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    flex-wrap: wrap;
    transition: background-color 0.3s ease;
}
.div_qs_text {
    width: 65%;
    text-align: left;
    flex: 1 1 60%;
}
.container_quem_somos img {
    width: 25em;
    aspect-ratio: 1/1;
    border-radius: 50%;
    flex: 1 1 30%;
    max-width: 100%;
    object-fit: cover;
}
.container_quem_somos p { font-size: 1.6em; color: #332222; line-height: 1.6; }
.container_quem_somos .btn_light_red { margin: 1em auto 0; text-align: center; }
.container_quem_somos:hover { background-color: #faf7f1; }

/* PRODUTOS */
.container_prod {
    width: 100%;
    margin-top: 12em;
    background-color: white;
    padding-bottom: 1em;
    background-image: url(/imagens/background/background_prod_section.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}
.div_prod_header {
    width: 100%;
    height: 60em;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.prod_title {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 4em;
    border-radius: 0.5em;
    width: 60%;
    max-width: 80%;
    margin: 0 auto;
    text-align: center;
}
.prod_title h2 { margin-bottom: 0.5em; }
.prod_title p { font-size: 1.6em; color: #332222; line-height: 1.6; }
.container_prod h3 { text-align: center; margin-top: 2em; }
.container_prod hr { color: #ADADAD; width: 90%; margin: 2em auto; }
.container_prod_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    margin: 0 10em 0 10em;
    border-radius: 1em;
    margin-bottom: 15em;
}

/* CARDS PRODUÇÃO */
.div_prod_cot {
    width: 70%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 auto;
    gap: 1em;
}
.cot_card_materiais, .cot_card_processos {
    background-size: cover;
    background-position: center;
    color: white;
    text-shadow: var(--text_shadow_default);
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 1em;
    flex: 1 1 30%;
    padding: 2em;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}
.cot_card_materiais { background-image: url(/imagens/cards/card_materiais_n.png); }
.cot_card_processos { background-image: url(/imagens/cards/card_processos_n.png); }

.big_card_white_text {
    background-color: rgba(0, 0, 0, 0.4);
    font-size: 3em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    font-weight: 500;
}
.list_card_cot {
    background-color: rgba(0, 0, 0, 0.4);
    list-style-type: disc;
    padding-left: 5em;
    margin-top: 2em;
}
.list_item_cot {
    color: white;
    text-shadow: var(--text_shadow_default);
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.5em;
}

/* SLIDESHOW PRODUTOS */
.slideshow_container {
    position: relative;
    width: 90%;
    margin: auto;
    overflow: hidden;
    height: 35em;
    border-radius: 1em;
}
.slideshow_item {
    position: absolute;
    border-radius: 1em;
    top: 0;
    left: 100%;
    width: 100%;
    opacity: 0;
    padding: 20px;
    background-color: white;
    transition: transform 0.8s ease, opacity 0.8s ease;
}
.slideshow_item.active { transform: translateX(0); opacity: 1; left: 0; }
.slideshow_item_content {
    display: flex;
    padding: 1em;
    height: 25em;
    text-decoration: none;
    justify-content: space-evenly;
}
.card_white_descr {
    text-align: center;
    align-self: center;
    font-size: 1.5em;
    color: #333;
    padding: 3em;
    letter-spacing: .1em;
}
.slideshow_prev, .slideshow_next {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #333;
    cursor: pointer;
}
.slideshow_prev:hover, .slideshow_next:hover { color: #888888; }
.slideshow_prev { left: 10px; }
.slideshow_next { right: 10px; }
.card_white_text {
    text-align: center;
    font-size: 2.5em;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 400;
    color: #b4b4b4;
}
.slideshow_dots { text-align: center; position: absolute; bottom: 1px; width: 100%; }
.slideshow_dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
}
.slideshow_dots span.active { background-color: #333; }
.btn_light_red { margin: 2em; }

/* ENDEREÇO */
.container_endereco {
    width: 100%;
    background-color: white;
    display: flex;
    height: 65em;
    padding: 5em;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}
.div_ender_text {
    flex-basis: 35%;
    padding: 3em;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #E7E7E7;
    border-bottom: 5px solid #B4B4B4;
    height: 100%;
    box-sizing: border-box;
}
.div_ender_text p {
    position: relative;
    z-index: 1;
    margin-top: 1em;
    font-size: 2em;
    font-weight: 600;
    padding: 0 1em;
    text-align: center;
}
.div_ender_text img {
    flex: 1;
    width: 70%;
    max-height: 70%;
    object-fit: cover;
    opacity: 0.3;
    margin: auto;
}
iframe {
    flex-basis: 65%;
    width: 100%;
    height: 100%;
}

/* ========== TABLET ========== */
@media (max-width: 1024px) {
    .banner_slide, .slide_1, .slide_2, .slide_3, .slide_4 { height: 40em; }
    .banner-text { width: 40%; font-size: .8em; }
    .container_quem_somos img { width: 30em; margin: 2em 0; }
    .div_qs_text { text-align: center; }
    .div_prod_header { height: 50em; }
    .prod_title { padding: 3em; width: 70%; }
    .prod_title p { font-size: 1.5em; }
    .container_prod_content { margin: 0 5em; }
    .cot_card_materiais, .cot_card_processos { flex: 1 1 45%; }
    .card_white_descr { display: none; }
    .container_endereco { flex-direction: column; height: auto; }
    .div_ender_text { flex-basis: auto; height: auto; align-items: center; }
    .div_ender_text img { height: 20em; width: 20em; }
    iframe { height: 40em; width: 100%; }
}

/* ========== CELULAR ========== */
@media (max-width: 768px) {
    .banner_slide, .slide_1, .slide_2, .slide_3, .slide_4 { height: 30em; }
    
    /* Caixa escura dos slides: largura moderada e texto centralizado */
    .banner-text {
        width: 45% !important;
        font-size: 2.5em !important;
        padding: 1.2em !important;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    .banner-text p {
        text-align: center !important;
        font-size: inherit;
    }
    .slide_2 .banner-text,
    .slide_4 .banner-text {
        margin-left: auto;
        justify-content: center !important;
    }
    
    .btn_dot_slide { width: 1.8em; height: 0.6em; }
    .gray_sub_title { font-size: 1.8em; }
    
    /* Títulos */
    .section_title {
        font-size: 1.8rem !important;
        margin-top: 2.5em !important;
        margin-bottom: 1em !important;
    }
    .section_title#produtos {
        margin-top: 3em !important;
        margin-bottom: 1.2em !important;
    }
    .container_prod { margin-top: 2em !important; }
    
    .slideshow_container {
    width: 90%;
    }
    .container_quem_somos { flex-direction: column; padding: 3em; max-width: 95%; }
    .div_qs_text { width: 95% !important; text-align: center; }
    .container_quem_somos img { width: 15em; margin: 2em 0; }
    .container_quem_somos .btn_light_red { margin-top: 2em; }
    
    .div_prod_header { height: 45em; }
    .prod_title { padding: 2em; width: 80%; }
    .prod_title p { font-size: 1.4em; }
    .container_prod_content { margin: 1em 1em 5em 1em; }
    
    /* Cards - sem margens laterais extras */
    .cot_card_materiais, .cot_card_processos {
        flex: 1 1 100%;
        width: auto;
        margin: 0 2em 1em 2em;
        padding: 2em;
    }
    .div_prod_cot {
        width: 100%;
        padding: 0;
        margin-bottom: 4em;
        flex-direction: column;
        align-items: stretch;
        gap: 1em;
    }
    .container_prod { background-attachment: scroll; }
    
    .div_ender_text { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 1em; padding: 1.5em; }
    .div_ender_text p { font-size: 1.4em; margin: 0; text-align: left; }
    .div_ender_text img { width: 3em !important; height: 3em !important; object-fit: contain; opacity: 0.6; margin: 0; }
    .container_endereco { padding: 1.5em; }
    .div_ender_text, iframe { width: 100% !important; }
    iframe { height: 30em; }
}