/* Rubaco – Pages formulaires (Devis, Retirage, Contact, Régler une facture) : titres et bandeau bleu réduits, mention reCAPTCHA éloignée du bouton */
body.page-id-10241 .header-page-wrapper header.bcover.bcover,
body.page-id-10237 .header-page-wrapper header.bcover.bcover,
body.page-id-10158 .header-page-wrapper header.bcover.bcover,
body.page-id-10156 .header-page-wrapper header.bcover.bcover{padding:4px 0!important;min-height:0!important}
body.page-id-10241 .header-page-wrapper header.bcover.bcover h1.page-title,
body.page-id-10237 .header-page-wrapper header.bcover.bcover h1.page-title,
body.page-id-10158 .header-page-wrapper header.bcover.bcover h1.page-title,
body.page-id-10156 .header-page-wrapper header.bcover.bcover h1.page-title{font-size:18px!important;line-height:1.2!important;margin:0!important}
body.page-id-10241 .gsection_title,
body.page-id-10237 .gsection_title,
body.page-id-10158 .gsection_title,
body.page-id-10156 .gsection_title,
body.page-id-10241 .wpforms-field-divider h3,
body.page-id-10237 .wpforms-field-divider h3,
body.page-id-10158 .wpforms-field-divider h3,
body.page-id-10156 .wpforms-field-divider h3{font-size:16px!important;line-height:1.2!important;margin:0 0 6px!important}
body.page-id-10241 .gsection,
body.page-id-10237 .gsection,
body.page-id-10158 .gsection,
body.page-id-10156 .gsection,
body.page-id-10241 .wpforms-field-divider,
body.page-id-10237 .wpforms-field-divider,
body.page-id-10158 .wpforms-field-divider,
body.page-id-10156 .wpforms-field-divider{padding-top:4px!important;padding-bottom:2px!important;margin-top:8px!important}
@media (max-width:767px){
body.page-id-10241 .header-page-wrapper header.bcover.bcover h1.page-title,
body.page-id-10237 .header-page-wrapper header.bcover.bcover h1.page-title,
body.page-id-10158 .header-page-wrapper header.bcover.bcover h1.page-title,
body.page-id-10156 .header-page-wrapper header.bcover.bcover h1.page-title{font-size:16px!important}
}
@media (min-width:768px){
body.page-id-10241 .rbc-recaptcha-note,
body.page-id-10237 .rbc-recaptcha-note,
body.page-id-10158 .rbc-recaptcha-note,
body.page-id-10156 .rbc-recaptcha-note{margin-top:28px!important}
}
/* Mobile : pas d'espace inutile entre la mention reCAPTCHA et le footer */
@media (max-width:767px){
body.page-id-10241 .content-page-wrapper,
body.page-id-10237 .content-page-wrapper,
body.page-id-10158 .content-page-wrapper,
body.page-id-10156 .content-page-wrapper{margin-bottom:0!important;padding-bottom:12px!important}
body.page-id-10241 section.block_text,
body.page-id-10237 section.block_text,
body.page-id-10158 section.block_text,
body.page-id-10156 section.block_text,
body.page-id-10241 .wpforms-container,
body.page-id-10237 .wpforms-container,
body.page-id-10158 .wpforms-container,
body.page-id-10156 .wpforms-container,
body.page-id-10241 .rbc-recaptcha-note,
body.page-id-10237 .rbc-recaptcha-note,
body.page-id-10158 .rbc-recaptcha-note,
body.page-id-10156 .rbc-recaptcha-note{margin-bottom:0!important}
body.page-id-10241 .devis-page-wrapper,
body.page-id-10237 .devis-page-wrapper,
body.page-id-10158 .devis-page-wrapper,
body.page-id-10156 .devis-page-wrapper{padding-bottom:12px!important}
}
/* Case RGPD remplacée par une simple phrase d'information (WPForms Retirage et Contact) */
.rbx-rgpd-info input[type=checkbox]{display:none!important}
.wpforms-container .wpforms-form .rbx-rgpd-info ul li label.wpforms-field-label-inline{padding-left:0!important;margin-left:0!important}
.wpforms-container .wpforms-form .rbx-rgpd-info ul li label.wpforms-field-label-inline::before,
.wpforms-container .wpforms-form .rbx-rgpd-info ul li label.wpforms-field-label-inline::after{display:none!important;content:none!important}
.rbx-rgpd-info a{color:inherit!important;text-decoration:underline!important}
/* Nous contacter : textes du formulaire en bleu comme les autres formulaires */
body.page-id-10158 #wpforms-form-20439 .wpforms-field-label,
body.page-id-10158 #wpforms-form-20439 .wpforms-field-label-inline,
body.page-id-10158 #wpforms-form-20439 legend,
body.page-id-10158 #wpforms-form-20439 .wpforms-field-description{color:#1a3a6b!important}

/* Phrase « Vos données servent… » : même rendu partout que sur Demander un devis (10px, gris, italique, centré) */
body.page-id-10156 .rgpd-advert,.rbx-rgpd-info em{font-size:10px!important;line-height:14px!important;font-style:italic!important;color:#6b7280!important;text-align:center!important;display:block}
.rbx-rgpd-info ul li label.wpforms-field-label-inline{display:block!important;width:100%;text-align:center!important}

/* Mobile : espace réduit entre le bandeau bleu et le début du formulaire */
@media (max-width:767px){
html body.page-id-10237 .content-page-wrapper,html body.page-id-10158 .content-page-wrapper,html body.page-id-10156 .content-page-wrapper{margin-top:10px!important}
body.page-id-10158 #wpforms-20439{margin-top:0!important}
body.page-id-10158 #wpforms-20439-field_11-container{padding-top:0!important}
body.page-id-10156 #gform_wrapper_4{margin-top:0!important}
body.page-id-10156 #gform_4{margin-top:0!important}
body.page-id-10241 .devis-page-wrapper{padding-top:4px!important}
body.page-id-10241 .devis-form-card{padding-top:6px!important}
body.page-id-10241 #gform_9 .gf_progressbar_wrapper{margin-bottom:2px!important}
}

/* Devis « J'ai déjà mon modèle » (?jdm=1) : le champ Référence, prérempli « Mon propre modèle » en lecture seule, est masqué
   (sa valeur reste envoyée et continue de piloter l'affichage des champs pose / forme / dimensions) */
body.page-id-10241 #field_9_22.gfield_read_only{display:none!important}
body.page-id-10241 #gform_fields_9:has(#field_9_22.gfield_read_only) #field_9_48{grid-column:1 / -1!important}
/* Devis « J'ai déjà mon modèle » : ordre des champs = dimensions, forme, quantité, puis support et pose
   (le formulaire de devis classique, depuis une référence, garde son ordre) */
body.page-id-10241 #gform_fields_9:has(#field_9_22.gfield_read_only) #field_9_57{order:1}
body.page-id-10241 #gform_fields_9:has(#field_9_22.gfield_read_only) #field_9_58{order:2}
body.page-id-10241 #gform_fields_9:has(#field_9_22.gfield_read_only) #field_9_56{order:3}
body.page-id-10241 #gform_fields_9:has(#field_9_22.gfield_read_only) #field_9_47{order:4}
body.page-id-10241 #gform_fields_9:has(#field_9_22.gfield_read_only) #field_9_48{order:5}
body.page-id-10241 #gform_fields_9:has(#field_9_22.gfield_read_only) #field_9_59{order:6}
