body {
    background: #F5F5F5;
}

/* input.your-file {
    position:relative;
  }
  input.your-file:before {
    content:"Escolher arquivo";
    position:absolute;
    left:0;
    padding:5px;
    background:red;
    color:#fff;
    width:130px;
    text-align:center;
    border-radius:5px;
    cursor:pointer;
  }
  input.your-file>input {
    visibility:hidden;
  } */

.contato-banner-desktop {
    width: 100%;
    position: relative;
    max-width: 100%;
    overflow: hidden;
    height: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contato-banner-desktop .contato-banner-gradient {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.contato-banner-desktop .contato-banner-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 5%, rgba(0, 0, 0, 0.75) 127.36%);
    z-index: 1;
}

.contato-banner-desktop img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 290px;
    object-fit: cover;
    z-index: 0;
}

.contato-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.contato-bread-crumb-category {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
    align-self: baseline;
    padding-left: calc(10.4% + 213px);
    bottom: 109px;
    column-gap: 5px;
}

.contato-bread-crumb-category a {
    color: #fff;
    text-align: center;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
}

.contato-bread-crumb-category p {
    line-height: 5px;
    color: #FFF;
}

.contato-banner-title {
    color: #FFF;
    text-align: center;
    font-family: Lobster, sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    z-index: 3;
    position: absolute;
    bottom: 55px;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contato-banner-line {
    width: 60px;
    height: 3px;
    background-color: #FFF;
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.contato-italy-flag-bar {
    display: flex;
    width: 100%;
    height: 5px;
}

.contato-flag-color {
    flex: 1;
}

.contato-flag-color.green {
    background-color: #008B44;
}

.contato-flag-color.white {
    background-color: #FFF;
}

.contato-flag-color.red {
    background-color: #CE0E2D;
}

.contato-category-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 30px;
    position: relative;
    padding-bottom: 36px;
    overflow: hidden;
}

.contato-category-container-left-image, .contato-category-container-right-image {
    position: absolute;
    z-index: 5;
}

.contato-category-container-left-image {
    right: 68vw;
    top: 120px;
    width: 550px;
    height: 355px;
    z-index: -1;
}

.contato-category-container-right-image {
    left: 82vw;
    top: 80px;
    width: 237px;
    height: 261px;
}

/* Estilo do contêiner principal do formulário para centralização */
.contato-category-list-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px; /* Defina a largura máxima do formulário */
    margin: 0 auto;
    padding: 20px;
}

/* Estilo para foms */
.wpcf7-form-control {
    margin: 10px 0;
    padding-left: 17px;
}

.wpcf7-form-control:last-child {
    margin-bottom: 0;
}

/* Estilo para os placeholders */
.wpcf7-form-control::placeholder {
    color: rgba(114, 114, 114, 0.75);
    font-family: "space-grotesk", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    padding-left: 17px;
}

.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-file {
    padding-left: 17px !important; /* Aplicando padding-left */
    background-color: #FFF; /* Certificando-se que o fundo é branco */
    border-radius: 30px;
    border: 1px solid #E0E0E0;
    font-size: 15px;
    color: rgba(114, 114, 114, 0.75);
    font-family: "space-grotesk", sans-serif;
    font-size: 15px;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-file {
    border-radius: 30px !important;
    border: 1px solid #E0E0E0; /* Cor da borda */
}

.wpcf7-form-control.wpcf7-textarea {
    border-radius: 5px !important;
    border: 1px solid #E0E0E0; /* Cor da borda */
}

.wpcf7-form-control.wpcf7-text[name="your-name"] {
    width: 840px;
    height: 39px;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    padding-left: 27px;
}
.wpcf7-form-control.wpcf7-text[name="your-name"]::placeholder {
    font-size: 15px;
    padding: 0;
}

/* Estilo para os campos de E-mail e Celular lado a lado */
.wpcf7-form .form-row-2 {
    display: flex;
    justify-content: space-between;
    gap: 40px; /* Espaço entre os campos */
    width: 100%;
}

.wpcf7-form-control.wpcf7-email[name="your-email"],
.wpcf7-form-control.wpcf7-tel[name="your-cellphone"] {
    width: 400px;
    height: 39px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    padding-left: 27px;
}

.wpcf7-form-control.wpcf7-text[name="your-email"]::placeholder,
.wpcf7-form-control.wpcf7-tel[name="your-cellphone"]::placeholder {
    font-size: 15px;
    padding: 0;
}

/* Estilo para o campo de Telefone */
.wpcf7-form-control.wpcf7-tel[name="your-phone"] {
    width: 400px;
    height: 39px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    padding-left: 27px;
    margin-bottom: 10px;
}

.wpcf7-form-control.wpcf7-tel[name="your-phone"]::placeholder {
    font-size: 15px;
    padding: 0;
}

/* Estilo para os campos de Escolha o Assunto e Arquivo lado a lado */
.wpcf7-form .form-row-3 {
    display: flex;
    justify-content: space-between;
    gap: 40px; /* Espaço entre os campos */
    width: 100%;
}

.wpcf7-form-control.wpcf7-select[name="your-subject"],
.wpcf7-form-control.wpcf7-file[name="your-file"] {
    background-color: #FFF;
    width: 400px;
    height: 39px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    padding-left: 27px;
}

.wpcf7-form-control.wpcf7-tel[name="your-subject"]::placeholder,
.wpcf7-form-control.wpcf7-tel[name="your-file"]::placeholder {
    font-size: 15px;
    padding: 0;
}


/* Estilo para o campo de Mensagem */
.wpcf7-form-control.wpcf7-textarea[name="your-message"] {
    width: 840px;
    height: 226px;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    /* padding-left: 27px; */
}

.wpcf7-form-control.wpcf7-tel[name="your-message"]::placeholder {
    font-size: 15px;
    padding: 0;
}

/* Estilo para o botão de envio */
.wpcf7-form .wpcf7-submit {
    background-color: #F49811;
    color: #FFF;
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    cursor: pointer;
    margin-top: 20px;
    text-transform: uppercase;
    /* transition: background-color 0.3s ease; */
    width: 180px;
    height: 40px;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
}

.wpcf7-form .wpcf7-submit:hover {
    border: 1px solid #F49811;
    background: #FFF;
    color: #F49811;
}

/* Permitir apenas redimensionamento vertical */
.wpcf7-form-control.wpcf7-textarea {
    resize: vertical;
}

.form-row-flex {
    display: flex;
    justify-content: space-between;
    gap: 40px; /* Espaçamento entre os campos */
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.form-row-phone {
    display: flex;
    flex-direction:row-reverse;
    width: 100%;
    margin: 10px 0;
}

.button-container{
    display: flex;
    justify-content: center;
}

.wpcf7-response-output {
    display: none;
}

.wpcf7-not-valid-tip {
    color: #CE0E2D;
    padding-left: 28px;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.info-text {
    width: 100%;
    height: 116px;
    flex-shrink: 0;
    display: flex;
    justify-content: center; /* Alinhamento horizontal */
    align-items: flex-start; /* Alinhamento vertical (parte de cima do container) */
}

.info-text p {
    width: 840px;
    color: #252525;
    text-align: center;
    font-family: "space-grotesk", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 146.667% */
    margin: 0; /* Remove a margem padrão do <p> */
}

.wpcf7-form-control.wpcf7-select.subject-select {
  padding: 8px !important;
  padding-left: 27px !important;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;

  background-image: url("../assets/images/dropdown-arrow.svg");
  background-repeat: no-repeat;
  background-position: 365px 14px;
}


.success-container {
    text-align: center;
    margin-top: 40px;
}

.success-title {
    color: #094DA4;
    font-family: 'Lobster', sans-serif;
    font-size: 60px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    width: 788px;
    margin: 20px auto;
}

.success-text {
    color: #094DA4;
    font-family: 'Lobster', sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    width: 788px;
    margin: 0 auto;
}

.wpcf7-form-control.wpcf7-not-valid {
    border: 2px solid #CE0E2D !important;
    color: #CE0E2D !important;
}

.file-error-style {
    position: absolute;
    margin-top: 23px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 10px;
    left: 0;
    width: 200px;
    transform: translateX(-153px);
}

.custom-file-upload.error {
    border: 2px solid #CE0E2D !important;
}

.file-upload-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 899px) {
    .form-row-flex,
    .form-row-phone,
    .form-row-name,
    .form-row-message {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;

    }

    .wpcf7-form-control.wpcf7-text[name="your-name"],
    .wpcf7-form-control.wpcf7-email[name="your-email"],
    .wpcf7-form-control.wpcf7-tel[name="your-cellphone"],
    .wpcf7-form-control.wpcf7-tel[name="your-phone"],
    .wpcf7-form-control.wpcf7-select[name="your-subject"], 
    .wpcf7-form-control.wpcf7-file[name="your-file"],
    .wpcf7-form-control.wpcf7-textarea[name="your-message"] {
        width: 700px;
    }

    .wpcf7-form-control.wpcf7-text[name="your-name"],
    .wpcf7-form-control.wpcf7-email[name="your-email"],
    .wpcf7-form-control.wpcf7-tel[name="your-cellphone"],
    .wpcf7-form-control.wpcf7-tel[name="your-phone"],
    .wpcf7-form-control.wpcf7-select[name="your-subject"], 
    .wpcf7-form-control.wpcf7-file[name="your-file"],
    .wpcf7-form-control.wpcf7-textarea[name="your-message"],
    .custom-file-upload {
        margin-top:15px
    }

    .contato-category-container-left-image {
        display: none;
    }

    .wpcf7-form-control.wpcf7-select.subject-select {
        background-position: 666px 14px;
    }
}

.custom-file-upload {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: border-color 0.3s;
    width: 400px;
    height: 39px;
    border-radius: 30px;
    background: #FFF;
  
    p {
      display: flex;
      height: 100%;
      /* overflow: hidden; */
      width: 100%;
      justify-content: space-between;
      align-items: center;
      padding: 0 18px;
    }
  }

@media (max-width: 768px) {
    .contato-banner-title {
        font-size: 34px;
        bottom: 45px;
    }

    .contato-bread-crumb-category {
        align-self: center;
        justify-content: center;
        padding-left: calc(5.2% + -36px);
        top: calc(5.2% + -102px);
    }

    .contato-banner-line {
        bottom: 30px;
    }

    .contato-category-container {
        row-gap: 60px;
        padding-bottom: 30px;
    }

    .contato-category-container-left-image {
        right: 75vw;
        top: 180px;
        width: 471.2px;
        height: 311.4px;
    }

    .contato-category-container-right-image {
        left: 80vw;
        top: 120px;
        width: 376.19px;
        height: 415px;
    }

    .wpcf7-form-control.wpcf7-text[name="your-name"],
    .wpcf7-form-control.wpcf7-email[name="your-email"],
    .wpcf7-form-control.wpcf7-tel[name="your-cellphone"],
    .wpcf7-form-control.wpcf7-tel[name="your-phone"],
    .wpcf7-form-control.wpcf7-select[name="your-subject"], 
    .wpcf7-form-control.wpcf7-file[name="your-file"] {
        width: 324px;
        height: 39px;
        font-size: 12px;
    }

    .wpcf7-form-control.wpcf7-tel[name="your-phone"] {
        margin-bottom: 0;
    }

    .wpcf7-form-control.wpcf7-textarea[name="your-message"] {
        width: 324px;
        height: 123px;
    }

    .info-text {
        margin-bottom: 27px;
    }

    .info-text p {
        color: #252525;
        text-align: center;
        font-family: "space-grotesk";
        font-size: 10px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px; /* 220% */
        width: 320px;
    }

    .custom-file-upload {
        display: flex;
        align-items: center;
        gap: 10px;
        border: 2px dashed #ccc;
        border-radius: 10px;
        background-color: #f9f9f9;
        cursor: pointer;
        transition: border-color 0.3s;
        width: 324px;
        height: 39px;
        border-radius: 30px;
        border: 1px solid #E0E0E0;
        background: #FFF;
        margin-top: 15px;
    }

    #file-name {
        text-align: center;
        white-space: nowrap;
        padding-left: 5px;
        font-size: 10px !important;
    }

    .upload-button {
        min-width: 93px;
    }

    .wpcf7-form-control.wpcf7-select.subject-select {
        background-position: 291px 14px;
    }

    .button-container {
        transform: translateX(22px);
    }

    .file-error-style {
        transform: translateX(-117px);
    }
    
}

@media (max-width: 658px) {
    .contato-characteristics-section {
        width: 100%;
        height: 390px;
    }

    .contato-characteristics-text {
        width: 360px;
        height: 307px;
        align-content: center;
        padding: 20px;
    }

    .success-title {
        font-size: 40px;
    }

    .success-text {
        font-size: 25px;
    }

    .contato-category-container-success-image {
        width: 260px;
        height: 233px;
    }
}

input[type="file"] {
  display: none;
}


.upload-button {
  width: 93px;
  height: 15px;
  border-radius: 3px;
  border: 1px solid #A9A8A8;
  background: rgba(217, 217, 217, 0.60);
  color: #727272;
  padding-left: 6px;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: capitalize;
  cursor: pointer;

  transition: background-color 0.3s ease;
}

#file-name {
  font-size: 10px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
  display: inline-block;
}


@media (max-width: 456px) {
    .success-title {
        font-size: 40px;
        text-wrap: balance;
        height: 50px;
        width: 300px;
        margin-bottom: 50px;
    }
}