/* Página de Contato Styles */

.contato-content {
    padding: 30px 50px 0px 50px;
    max-width: 1440px;
    margin: 0 auto;


@media (max-width: 768px) {
    padding: 0
}
}


.contato-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;

}

.contato-container > div:first-child {
    position: relative;
}

.contato-image { 
    img{
        position: absolute;
        top: -122px;
        left: -150px;
        right: 0;
        margin: 0 auto;
        width: 600px;
    }
}
 

/* Lado direito - Formulário */
.contato-container > div:last-child {
    padding: 60px 50px;
    background: #fff;
}

.contato-container h1 {
    font-size: 35px;
    font-weight: 700;
    color: #2F2E34;
    margin: 0 0 20px 0;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
}

.contato-container > div:last-child p {
    font-size: 12px;
    color: #767676;
    margin: 0 0 40px 0;
    line-height: 20px;
    font-family: 'Poppins', sans-serif;
}

/* Formulário */
.contato-form {
    width: 100%;
}

.contato-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contato-form input,
.contato-form select,
.contato-form textarea {
    padding: 15px 20px;
    border: none;
    background: #F1F1F1;
    border-radius: 10px;
    font-size: 16px;
    color: #2F2E34;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.contato-form input:focus,
.contato-form select:focus,
.contato-form textarea:focus {
    outline: none;
    background: #f1f1f1;
    box-shadow: 0 0 0 2px #162134;
}

.contato-form input::placeholder,
.contato-form textarea::placeholder {
    color: #999;
}

.contato-form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

.contato-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Campo de upload de CV */
#cv-upload-container {
    margin: 10px 0;
}

#cv-upload-container label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #162134;
    font-size: 14px;
}

#cv-upload-container input[type="file"] {
    padding: 10px;
    background: #F1F1F1;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
}

#cv-upload-container input[type="file"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px #162134;
}

#cv-upload-container small {
    display: block;
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

/* Política de privacidade */
.contato-form > p {
    font-size: 14px;
    color: #767676;
    margin: 0 0 30px 0;
    line-height: 1.5;
}

.contato-form > p a {
    color: #D4272B;
    text-decoration: none;
    font-weight: 500;
}

.contato-form > p a:hover {
    text-decoration: underline;
}

/* Botão de envio */
.contato-form button {
    background: #D4272B;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content; 
}

/* .contato-form button:hover {
    background: #B01E22;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 39, 43, 0.3);
} */

.contato-form button::after {
    content: url(../images/whiteright.svg);
    position: relative;
    top: 2px;
    margin-left: 8px;
}

/* Responsividade */
@media (max-width: 1024px) {
    .contato-container {
        grid-template-columns: 1fr;
        margin: 0px; 
    }
    
    
    .contato-container > div:first-child {
        display: none;
    }
    
    .contato-container > div:last-child {
        padding: 40px 30px;
    }
    
    .contato-container h1 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    
    .contato-form input,
    .contato-form select,
    .contato-form textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .contato-form button {
        width: 100%;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .contato-container {
        margin: 10px;
        margin-top: 15px;
    }
    
    .contato-container > div:first-child,
    .contato-container > div:last-child {
        padding: 20px 15px;
    }
    
    .contato-container h1 {
        font-size: 22px;
    }
    
    .contato-form form {
        gap: 15px;
    }
}


.trabalhe-conosco {
    .contato-container{
        grid-template-columns: 1fr;
        width: 60%;
        margin: 0 auto;
        text-align: center;
        @media (max-width: 768px) {
            width: 100%;
        }
        .contato-form button{
            margin: 0 auto;
            display: block;
        }
    }
}

/* Estilos do formulário Bitrix24 */
.b24-form {
    width: 100%;
}

.b24-form-wrapper {
    border: none !important;
}

.b24-form-border-bottom {
    border-bottom: none !important;
}

.b24-form-padding-side {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.b24-form-header {
    text-align: left !important;
    padding: 0 !important;
}

.b24-form-header-title {
    text-align: left !important;
    font-size: 24px;
    font-weight: 700 !important;
    color: #2F2E34;
    font-family: 'Poppins', sans-serif;
}

.b24-form-header-description {
    text-align: left !important;
    font-size: 14px;
    color: #767676;
    line-height: 1.5;
    font-family: 'Poppins', sans-serif;
}

/* Checkbox de aceitar termos */
.b24-form-field-agreement .b24-form-control-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
}

.b24-form-field-agreement input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
}

.b24-form-field-agreement .b24-form-control-desc,
.b24-form-field-agreement .b24-form-field-agreement-link {
    color: #2F2E34 !important;
    font-size: 14px;
}

.b24-form-field-agreement .b24-form-control-required {
    color: #D4272B !important;
}

/* Relatar abuso alinhado à esquerda */
.b24-form-sign {
    text-align: left !important;
}