/* forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
.form-control {
    height: 44px;
    background-color: #f4f4f4;
    border-radius: 0;
    border: none;
    box-shadow: none;
    color: #1f232b;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 11px;
    padding-bottom: 10px;
    font-size: 12px;
    line-height: 30px;
    width: 100%;
    margin-bottom: 10px;
    border-radius: 5px;
    box-sizing: border-box;
}

select {
    height: 44px;
    background-color: #f4f4f4;
    border-radius: 0;
    border: none;
    box-shadow: none;
    color: #1f232b;
    padding-left: 10px;
    padding-top: 11px;
    padding-bottom: 10px;
    font-size: 12px;
    line-height: 30px;
    width: 60px;
    margin-bottom: 10px;
    border-radius: 5px;
    margin-right: 2px;
}


input[type="text"] + .theme_button,
input[type="email"] + .theme_button,
input[type="url"] + .theme_button,
input[type="password"] + .theme_button,
input[type="search"] + .theme_button,
input[type="tel"] + .theme_button,
input[type="number"] + .theme_button,
textarea + .theme_button,
select + .theme_button,
.form-control + .theme_button {
    position: absolute;
    padding: 0;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 48px;
    color: #1f232b;
    box-shadow: none;
    background-color: transparent !important;
    border-color: transparent !important;
}
.ls .highlight {
    color: #ff6900;
}

.ls.ms input[type="text"],
.ls.ms input[type="email"],
.ls.ms input[type="url"],
.ls.ms input[type="password"],
.ls.ms input[type="search"],
.ls.ms input[type="tel"],
.ls.ms input[type="number"],
.ls.ms textarea,
.ls.ms .select-group,
.ls.ms .form-control {
    background-color: #ffffff;
}

.ls.ms .with_background input[type="text"],
.ls.ms .with_background input[type="email"],
.ls.ms .with_background input[type="url"],
.ls.ms .with_background input[type="password"],
.ls.ms .with_background input[type="search"],
.ls.ms .with_background input[type="tel"],
.ls.ms .with_background input[type="number"],
.ls.ms .with_background textarea,
.ls.ms .with_background select,
.ls.ms .with_background .form-control {
    border-color: #f4f4f4;
    background-color: #f4f4f4;
}


/* contact forms */
.contact-form {
    position: relative;
    z-index: 3;
}

.contact-form.ls {
    background-color: #fafafa;
}

.contact-form.ls.ms {
    background-color: #f1f1f1;
}

.contact-form label[for] {
    display: none;
}

.contact-form-message textarea {
    min-height: 145px;
}

.contact-form.parallax {
    padding: 50px 50px 35px;
    background-image: url(../img/parallax/map.jpg);
}

.contact-form-respond {
    display: block;
    font-weight: 800;
}

.contact-form-respond:before {
    font-family: 'rt-icons-2';
    content: "\e71a";
    padding-right: 10px;
}

.contact-form p {
    margin-bottom: 10px;
    position: relative;
}

.btn_whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    cursor: pointer;
}

.btn_whatsapp img {
    width: 60px;
    height: 60px;
}

/* Chat */
.chat-box {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 320px;
    background-color: #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    z-index: 9998;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

/* Cabeçalho */
.chat-header {
    background-color: #4ac15a;
    color: white;
    padding: 10px;
    font-weight: bold;
    text-align: center;
}

/* Corpo */
.chat-body {
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
    font-size: 14px;
}

/* Rodapé */
.chat-footer {
    padding: 10px;
    text-align: right;
    background: #eaeaea;
}

.input-chat{
    background-color: white !important;
}

.hidden {
    display: none;
}

.chat-footer button {
    background-color: #4ac15a;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

#serviceType{
    width: 100% !important;
}

.bot-message {
    background-color: #073a53;
    color: white;
    border-radius: 15px;
    margin-bottom: 8px;
    max-width: 90%;
    word-wrap: break-word;
    padding: 10px;
}

/* Inputs */
.user-input {
    width: 100%;
    padding: 8px;
    margin-bottom: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Escondido */
.hidden {
    display: none;
}

.button-disabled {
    background-color: #b7b7b7;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.phone-container{
    display: flex;
}


.form-group.phone-container {
    display: flex;
    gap: 4px;
    width: 100%;
}

.form-group.phone-container select {
    width: 80px;
    min-width: 70px;
    max-width: 90px;
    flex: none;
    margin-right: 0;
    margin-bottom: 0;
    border-radius: 5px 0 0 5px;
    text-align: center;
    margin-left: 0;
    box-sizing: border-box;
}

.form-group.phone-container input[type="tel"] {
    flex: 1;
    width: auto;
    margin-bottom: 0;
    border-radius: 0 5px 5px 0;
    box-sizing: border-box;
}

/* Ajuste específico para os campos do formulário */
.contact-form .col-sm-12 {
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-form .col-sm-12 .form-group {
    margin-bottom: 5px;
}

/* Ajuste adicional para o campo de telefone */
.contact-form .dv-phone {
    margin-bottom: 0;
}

/* Ajuste para o container do serviço e metragem */
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="text"] {
    width: 100%;
    box-sizing: border-box;
}

.scenter {
    display: flex;
    justify-content: center;   /* centraliza os itens */
    flex-wrap: wrap;
}

.scenter .box_serv {
    flex: 0 0 26.3%;           /* mesma largura original do card */
    margin: 0 1.5% 80px;       /* mesmas margens laterais e inferior */
}

.scenter .box_serv a {
    float: none;               /* remove o float que quebra no flex */
    width: 100%;               /* o <a> ocupa 100% do wrapper */
    display: block;
}

/* Empilha no mobile */
@media (max-width: 900px) {
    .scenter .box_serv {
        flex: 0 0 90%;
        margin: 0 5% 30px;
    }
}

.row-mobile{
    width: 100%;
    float: left;
}
.row-content{
    margin-top: 60px;
}

@media (max-width:768px) {
    .row-mobile{
        width: 100%;
        height: 220px;
    }

    .row-content{
        margin-top: 160px;
    }

    .phone_mobl_ph {
        display: block;
        width: 220px;
        margin-left: auto;
        margin-right: auto;
    }
}


.faq-section {
    margin-top: 100px;
    background-color: #e4e4e4;
    padding: 60px 0 40px 0;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.faq-title {
    margin-top: 40px;
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
    color: #3f92ca;
    margin-bottom: 60px;
    letter-spacing: 1px;
}
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 14px;
    box-shadow: 0 2px 12px #0001;
    overflow: hidden;
    border: 1px solid #e0e8ef;
}

.page-faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 14px;
    box-shadow: 0 2px 12px #0001;
    overflow: hidden;
    border: 1px solid #e0e8ef;
}

.faq-question {
    cursor: pointer;
    padding: 22px 60px 22px 28px;
    font-size: 1.13rem;
    font-weight: 600;
    color: #0b244d;
    position: relative;
    transition: background 0.2s;
}

.page-faq-question {
    cursor: pointer;
    padding: 22px 60px 22px 28px;
    font-size: 1.13rem;
    font-weight: 600;
    color: #0b244d;
    position: relative;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #eaf4fb;
}
.faq-question .faq-icon {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    color: #1d82c4;
    transition: transform 0.3s;
}
.faq-answer {
    padding: 0 28px 22px 28px;
    font-size: 1rem;
    color: #333;
    display: none;
    animation: fadeIn 0.4s;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question .faq-icon {
    transform: translateY(-50%) rotate(180deg);
}


.faq-show-more{
    background-color: #E46F03;
    color: #ffffff;
    padding-top: 10px;
    padding-bottom: 7px;
    border-radius: 8px;
    bottom: -17px;
    width: 140px;
    border: 0px;
    font-size: 13px;
    text-align: center;
}

.page-faq-answer {
    padding: 0 28px 22px 28px;
    font-size: 1rem;
    color: #333;
    display: block;
    animation: fadeIn 0.4s;
}

.faq-search {
    margin: 20px auto;
    text-align: center;
    position: relative;
    width: 100%;
}

.faq-search input {
    padding: 12px 20px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-search input:focus {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    outline: none;
}

.faq-search input::placeholder {
    color: #aaa;
    font-style: italic;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@media (max-width: 600px) {
    .faq-accordion {
        padding: 0 8px;
    }
    .faq-title {
        font-size: 1.3rem;
    }
    .faq-question {
        font-size: 1rem;
        padding: 18px 44px 18px 16px;
    }
    .faq-answer {
        font-size: 0.97rem;
        padding: 0 16px 18px 16px;
    }
}

#chatService {
    width: 100% !important;
    box-sizing: border-box;
}
