* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --text_shadow_default: 
    .5px .5px 1px rgba(0, 0, 0, 0.4),  
    -.5px -.5px 1px rgba(0, 0, 0, 0.4),
    .5px -.5px 1px rgba(0, 0, 0, 0.4),
    -.5px .5px 1px rgba(0, 0, 0, 0.4);
}

html{
    font-size: 62.5%;
    font-family: "Inter", Arial, sans-serif;
    background-color: #f5f5f5;
    scroll-behavior: smooth;
}

/* BOTOES */
.scroll-to-top {
    position: fixed;
    bottom: 1em;
    right: 1em;
    background-color: #3b3b3b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    cursor: pointer;
    display: none;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scroll-to-top:hover { background-color: #000000; }

.btn_light_red{
    display: block;
    padding: 1em 1.5em;
    font-size: 1.5em;
    background-color: #f08080;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    width: fit-content;
    transition: all 0.4s ease;  
    cursor: pointer;  
}
.btn_light_red:hover{ background-color: #ff6666; }

/* TÍTULOS GLOBAIS (Desktop) */
.section_title {
    text-align: center;
    font-size: 3em;
    color: #333;
    letter-spacing: .15em;
    font-weight: 600;
    margin-top: 4em;
    margin-bottom: 1.5em;
    scroll-margin-top: 6em;
}
.small_section_title{
    font-size: 3em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.gray_sub_title{
    color: #979797;
    letter-spacing: .3em;
    font-size: 2em;
    text-transform: uppercase;
    font-weight: 500;
}

/* HEADER */
.header_hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 3vw;
    background-color: white;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
.header_hero img { max-height: 10em; }
.navegation_list_hero {
    display: flex;
    gap: 1em;
    list-style: none;
    margin: 0;
    padding: 0;
}
.item_menu_hero { position: relative; }
.item_menu_hero > a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8em 2em;
    font-size: 1.7rem;
    border: 0.2em solid black;
    text-decoration: none;
    color: black;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    min-width: 8em;
    text-align: center;
}
.item_menu_hero > a:hover { background-color: black; color: white; }
.item_menu_hero i { margin-right: 0.3em; }

.dropdown_menu {
    display: block;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 8em;
    z-index: 1;
    list-style-type: none;
    background-color: white;
    border-bottom: 2px solid rgb(55, 55, 55);
}
.item_menu_hero:hover .dropdown_menu {
    opacity: 1;
    transform: scaleY(1);
}
.dropdown_menu li a {
    width: 100%;
    display: block;
    color: #333;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: 1.2rem;
    text-decoration: none;
    text-align: left;
    padding: .5em;
    border-radius: 0.2em;
}
.dropdown_menu li a:hover { background-color: #f3f3f3; }

/* SIDE MENU */
.overlay{
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5); 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1001; 
}
.overlay.active { opacity: 1; visibility: visible; }

.div_btn_side_menu{
    position: absolute;
    width: 3em;
    right: 2em;
    padding: .5em;
    font-size: 2em;
    cursor: pointer;
    border: 3px solid black;
    display: none;
    text-align: center;
}
.div_btn_side_menu:active{ background-color: #dcdcdc; }

.close-icon-left {
    position: absolute;
    top: .5em;
    left: 50%;
    font-size: 3em;
    color: #979797;
    cursor: pointer;
}
.close-icon-left:hover { color: #555; }

.side-nav-left{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    width: 25em;
    right: -35em;
    top: 0;
    background-color: white;
    z-index: 1002;
    height: 100vh;
    transition: right 0.3s ease;
}
.side-nav-left.active { right: 0; }
.side_nav_navegation_list{
    list-style-type: none;
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-top: 6em;
    width: 100%;
    padding: 0 2em;
}
/* Item padrão do menu */
.side_nav_item_menu{
    padding: 0;               /* remove o padding do li */
    width: 100%;
    border: 2px solid black;
    margin-bottom: .5em;
    transition: all .5s ease;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;            /* garante que o link ocupe toda a altura */
}
.side_nav_item_menu a{
    display: block;
    width: 100%;
    padding: 1em;            /* mesmo padding que antes estava no li */
    color: black;
    text-decoration: none;
    font-size: 1.2em;
    letter-spacing: .1em;
    box-sizing: border-box;
}
.side_nav_item_menu i { margin-right: .5em; }

/* Submenu */
.side_nav_sub_menu{
    padding: 0;               /* remove o padding do li */
    border-top: 2px solid #cacaca;
    border-bottom: 2px solid #cacaca;
    width: 100%;
    margin-bottom: 1.5em;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;
}
.side_nav_sub_menu a {
    display: block;
    width: 100%;
    padding: 1em;            /* mesmo padding que antes estava no li */
    color:#7c7c7c;
    text-decoration: none;
    font-size: 1em;
    box-sizing: border-box;
}
.side_nav_sub_menu i { margin-right: .5em; }

/* CONTATO */
.container_info {
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em 10em;
}
.div_info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    max-width: 80em;
    gap: 5em;
    padding-bottom: 2em;
    margin-bottom: 2em;
    border-bottom: 1px solid #B4B4B4;
}
.div_info_contato, .div_info_emp, .div_info_link {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    width: auto;
    gap: 1em;
}
.text_info_title { font-size: 2em; line-height: 2em; text-align: left; }
.text_info_email, .text_info_cel, .text_info_fone, .text_info_cnpj, .text_info_razao_social, .text_info_insta {
    font-size: 1.3em;
    letter-spacing: 0.1em;
    text-align: left;
}
.div_contato_form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;
    padding: 2em 0;
}
.small_title { margin-bottom: 1em; font-size: 2em; font-weight: 500; text-align: center; }
.div_contato_text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 1em;
}
.div_contato_text p { font-size: 1.5em; line-height: 1.8em; }
.text_info_email i, .text_info_cel i, .text_info_fone i, .text_info_cnpj i, .text_info_razao_social i {
    margin-right: 0.5em;
    color: #555;
    font-size: 1.2em;
    vertical-align: middle;
}

/* FOOTER */
footer{
    width: 100%;
    height: 6em;
    background-color: #171111;
    display: flex;
    align-items: center;
}
footer p { color: white; text-align: center; margin: auto; font-size: 1.5em; font-weight: 400; }

/* ========== TABLET ========== */
@media (max-width: 1024px) {
    .item_menu_hero a { font-size: 1.5rem; padding: 0.7em 1.5em; }
    .header_hero img { max-height: 8em; }
    .section_title { font-size: 2.5em; } /* tablet: título um pouco menor */
    .div_info { flex-direction: column; align-items: center; }
    .div_info_contato, .div_info_emp { align-items: center; text-align: center; }
    .div_contato_form { width: 80%; }
}

/* ========== CELULAR ========== */
@media (max-width: 768px) {
    .navegation_hero { display: none; }
    .div_btn_side_menu { display: inline-block; right: 1em; }
    
    /* Base igual ao desktop para não distorcer */
    html { font-size: 62.5%; }
    
    .item_menu_hero a {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0.5em;
        font-size: 1.2rem;
        min-width: unset;
        width: 4em;
    }
    .menu_text { display: none; }
    .item_menu_hero i { font-size: 1.5rem; margin: 0; }
    .scroll-to-top { width: 3em; height: 3em; bottom: 1em; right: 1em; font-size: 1.8rem; }
    .small_section_title { font-size: 2.4rem; }
    .gray_sub_title { font-size: 1.8rem; letter-spacing: 0.2em; }
    .btn_light_red { font-size: 1.6rem; padding: 1em 1em; }
    .text_info_title { font-size: 2rem; }
    .text_info_email, .text_info_cel, .text_info_fone, .text_info_cnpj, .text_info_razao_social, .text_info_insta { font-size: 1.5rem; }
    .container_info { padding: 1em 2em; }
    .div_contato_text { gap: 1.5em; }
    
    /* Títulos globais no mobile (para outras páginas) */
    .section_title {
        font-size: 2rem;
        margin-top: 3em;
        margin-bottom: 1.5em;
    }
}