.bdp-post-grid-main{
    margin: unset !important;
}

.wpcf7 input{
    margin: unset;
}

/* Respiro visual do formulário no banner - evita sobreposição com navbar */
.banner-slider .slick-slide img {
    display: block;
    height: 775px !important;
}

@media (max-width: 768px) {
    .banner-slider .slick-slide img {
        height: 950px !important;
    }
}

.banner-slider .caption {
    padding-top: 120px;    /* Clearance da navbar (~110px) */
    padding-bottom: 80px;  /* Respiro inferior */
}

@media(max-width: 768px) {
    .banner-slider .caption {
        padding-top: 100px;
        padding-bottom: 60px;
    }
}

@media(max-width: 484px) {
    .banner-slider .caption {
        padding-top: 80px;
        padding-bottom: 50px;
    }
}

@media(max-width: 1080px){
    .wpcf7-textarea{
        height: 0 !important;
    }
}

@media(max-width: 484px){
    #wpcf7-f19-p17-o1 form{
        margin-top: unset !important;
    }
}

@media(max-width: 384px){
    #blocks{
        margin-block: 10px !important ;
        font-size: 10px !important ;
    }

    .nav .mobile-logo{
        width: 4rem !important;
        height: 5rem !important;
    }
}

/* Custom Quote Form in Banner */
.custom-quote-form-container {
    background-color: rgba(17, 17, 17, 0.75);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    color: #fff;
    margin-top: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

@media(max-width: 768px){
    .custom-quote-form-container {
        max-width: 500px;
        margin-top: 1rem;
    }
}

.custom-quote-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.custom-quote-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.custom-quote-form .form-group {
    display: flex;
    flex-direction: column;
}

.custom-quote-form .form-group label {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.custom-quote-form .half {
    flex: 1 1 calc(50% - 7.5px);
}

.custom-quote-form .full {
    flex: 1 1 100%;
}

.custom-quote-form input[type=\

text\],
.custom-quote-form input[type=\email\],
.custom-quote-form input[type=\tel\],
.custom-quote-form input[type=\number\],
.custom-quote-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.custom-quote-form input::placeholder,
.custom-quote-form textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.custom-quote-form input:focus,
.custom-quote-form textarea:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255,255,255,0.2);
}

/* Checkbox pills */
.custom-quote-form .wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.custom-quote-form .wpcf7-list-item {
    margin: 0;
}

.custom-quote-form .wpcf7-list-item-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-quote-form .wpcf7-list-item input[type=\checkbox\] {
    display: none;
}

.custom-quote-form .wpcf7-list-item input[type=\checkbox\]:checked + .wpcf7-list-item-label {
    background: #fff;
    color: #111;
    border-color: #fff;
    font-weight: 600;
}

/* Submit button */
.custom-quote-form .submit-row {
    margin-top: 10px;
    position: relative;
}

.custom-quote-form .wpcf7-submit {
    width: 100%;
    padding: 14px;
    background-color: #fff;
    color: #111;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

.custom-quote-form .wpcf7-submit:hover {
    background-color: #e0e0e0;
}

/* File upload */
.custom-quote-form .custom-file-upload input[type=\file\] {
    font-size: 13px;
}

@media (max-width: 574px) {
    .custom-quote-form .half {
        flex: 1 1 100%;
    }
}




/* Custom Quote Form in Banner - override */
.custom-quote-form-container {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    color: #fff;
    margin-top: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.custom-quote-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.custom-quote-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.custom-quote-form .form-group {
    display: flex;
    flex-direction: column;
}

.custom-quote-form .form-group label {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.custom-quote-form .half {
    flex: 1 1 calc(50% - 10px);
}

.custom-quote-form .full {
    flex: 1 1 100%;
}

.custom-quote-form input[type=\
text\],
.custom-quote-form input[type=\email\],
.custom-quote-form input[type=\tel\],
.custom-quote-form input[type=\number\],
.custom-quote-form textarea {
    width: 100%;
    padding: 14px 0 10px 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.custom-quote-form input::placeholder,
.custom-quote-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.custom-quote-form input:focus,
.custom-quote-form textarea:focus {
    outline: none;
    border-bottom: 1px solid #fff;
    background: transparent;
}

/* Checkbox pills */
.custom-quote-form .wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.custom-quote-form .wpcf7-list-item {
    margin: 0;
}

.custom-quote-form .wpcf7-list-item-label {
    display: inline-block;
    padding: 8px 18px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-quote-form .wpcf7-list-item input[type=\checkbox\] {
    display: none;
}

.custom-quote-form .wpcf7-list-item input[type=\checkbox\]:checked + .wpcf7-list-item-label {
    background: rgba(255, 255, 255, 0.9);
    color: #111;
    border-color: transparent;
    font-weight: 500;
}

/* Submit button */
.custom-quote-form .submit-row {
    margin-top: 15px;
    position: relative;
}

.custom-quote-form .wpcf7-submit {
    width: 100%;
    padding: 16px;
    background-color: #fff;
    color: #111;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    letter-spacing: 1px;
}

.custom-quote-form .wpcf7-submit:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* File upload */
.custom-quote-form .custom-file-upload input[type=\file\] {
    font-size: 13px;
    padding: 10px 0;
    border: none;
}

@media (max-width: 574px) {
    .custom-quote-form .half {
        flex: 1 1 100%;
    }
}

