@import url('./blog.css');
@import url("./single-post.css");

html {
    scroll-padding-top: 80px;
}

/* Para navegadores mais antigos */
[id] {
    scroll-margin-top: 80px;
}

li.menu-materiais {
    width: 200px;
    text-align: center;
}

li.menu-materiais a {
    white-space: break-spaces !important;
}

li.menu-item a {
    padding-bottom: 8px !important;
}

li.menu-item a::after {
    height: 2px !important;
    background: #ef4c7e !important;
}

.elementor-nav-menu {
    align-items: center;
}

li.menu-contato {
    display: inline-flex;
    margin-left: 20px !important;
}

li.menu-contato a::after {
    display: none !important;
}

li.menu-contato a {
    background-color: #FF7300;
    color: #000 !important;
    text-decoration: none;
    border-radius: 15px;
    padding: 8px 24px !important;
}

li.menu-contato svg {
    fill: #000;
    font-size: 1rem;
}

li.menu-contato:hover a {
    background-color: #000;
    color: #FF7300 !important;
}

li.menu-contato:hover svg {
    fill: #FF7300;
}

.tag-secao h4 {
    padding: 8px 16px;
    display: inline-block;
    background: #f5b828;
    border-radius: 60px;
}

.tag-form h1 {
    color: #000;
    padding: 16px 32px;
    display: inline-block;
    background: #f5b828;
    border-radius: 60px;

    @media screen and (max-width: 992px) {
        border-radius: 30px;
        font-size: 48px !important;
        padding: 16px 32px !important;
        max-width: 256px;
    }
}

.tag-projeto h3 {
    display: inline-block;
    padding: 8px 32px;
    border: 2px solid #ef4c7e;
    border-radius: 30px;
}

.tag-producao h4 {
    display: inline-block;
    padding: 8px 32px;
    border: 2px solid #2EB4E8;
    border-radius: 30px;
}

.lista-projeto ul,
.lista-branco ul {
    color: #fff;
}

.projeto .colchete-esq::before {
    content: "";
    position: absolute;
    width: 28px;
    height: 100%;
    left: 0;
    background: url("../images/colchete-esq.png") no-repeat;
    background-size: cover;
    background-position: top center;
    z-index: 2;
}

.projeto .colchete-dir::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 100%;
    right: 0;
    background: url("../images/colchete-dir.png") no-repeat;
    background-size: cover;
    background-position: top center;
    z-index: 2;
}

.underline-custom {
    position: relative;
    word-break: keep-all;
    display: inline-block;
}

.underline-custom::after {

    position: absolute;
    content: "";
    width: 100%;
    height: 13px;
    background: url("/wp-content/uploads/2025/05/underline.png") no-repeat;
    background-size: contain;
    bottom: -8px;
    left: 0;
}

#form-contato {
    color: #fff;
}

#modalAmostra h2.modal-title {
    font-size: 32px;
    color: #491D7F;
    margin-bottom: 20px;
}

.btn-close {
    z-index: 9;
}

#modalAmostra .modal-content {
    background-color: #F7F3FF;
    padding: 54px 64px;

    @media screen and (max-width: 992px) {
        padding: 32px 16px;
    }
}

.modalEixo .modal-content {
    background: transparent;
    border: none;
}

#form-contato label,
#form-contato input,
#form-contato textarea,
#form-amostra label,
#form-amostra input {
    font-size: 18px;
}

#form-contato input::placeholder,
#form-contato textarea::placeholder,
#form-contato select option:first-child {
    color: #696969;
}

#form-contato select option:not(:first-child) {
    color: #000 !important;
}


#form-contato input[type="text"],
#form-contato input[type="email"],
#form-contato textarea {
    background: #fff;
    color: #000;
    border-radius: 15px;
    padding: 16px 32px;
    border: none;
}

#form-amostra input[type="text"],
#form-amostra input[type="email"] {
    background: #fff;
    color: #000;
    border-radius: 15px;
    padding: 16px 32px;
    border: 1px solid #491D7F;
}

#form-contato select {
    background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-position: right 16px center;
    background-repeat: no-repeat;
    color: #000;
    border-radius: 15px;
    padding: 16px 32px;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 40px;
}

#form-contato a {
    color: #fff;
    text-decoration: underline;
    display: inline-block;
}

#form-amostra a {
    color: #000;
    text-decoration: underline;
    display: inline-block;
}

#form-contato input[type="submit"] {
    width: 100%;
}

input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
}

.info-contato a {
    color: #000;
    text-decoration: none;
    display: inline-block;
}

/* Estilo para o menu quando fixo */
#menu-main.menu-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #491D7F !important;
    border-bottom: 1px solid #FF7300;
    transition: all 0.3s ease;
    width: 100%;
    /* padding: 16px 0; */
    margin-top: 0 !important;
}

/* Garantir que o texto do menu fica visível contra o fundo roxo */
#menu-main.menu-fixed .elementor-nav-menu--main .elementor-nav-menu a {
    color: #ffffff;
}

/* Ajuste para versão mobile */
@media (max-width: 1024px) {
    #menu-main {
        position: relative !important;
        background-color: #491D7F !important;
        margin-top: 0 !important;
        /* padding: 16px 0; */
        border-bottom: 1px solid #FF7300;
    }

    #menu-main .elementor-menu-toggle,
    #menu-main .elementor-menu-toggle svg {
        color: #ffffff;
        fill: #ffffff;
    }

    #menu-main.menu-fixed {
        background-color: #491D7F !important;
        border-bottom: 1px solid #FF7300;
    }

    ul.elementor-nav-menu {
        padding: 20px 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 15px;
    }

    li.menu-materiais {
        width: 100%;
        text-align: center;
    }

    li.menu-contato {
        margin-left: 0 !important;
    }

    .projeto .colchete-esq::before {
        display: none;
    }

    .projeto .colchete-dir::after {
        display: none;
    }
}