/* AVBA Core Accueil & Catalogue v1.0.58 — formulaire estimation unifié */

/* Ancre confortable sous le header fixe. */
#formulaire{scroll-margin-top:96px;}

/* Les anciennes sections formulaire reprennent la même ambiance que le nouveau bloc d'accueil. */
body:not(.home) .avba-section--form{
  position:relative !important;
  overflow:hidden !important;
  padding-top:72px !important;
  padding-bottom:76px !important;
  background:linear-gradient(110deg,rgba(22,16,13,.98) 0%,rgba(40,29,23,.98) 55%,rgba(25,18,15,.99) 100%) !important;
  color:var(--avba-ivory,#f3ede2) !important;
  border-top:1px solid rgba(198,161,91,.18) !important;
}
body:not(.home) .avba-section--form::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  pointer-events:none !important;
  background:radial-gradient(circle at 12% 18%,rgba(198,161,91,.07),transparent 28%),linear-gradient(135deg,transparent 0 48%,rgba(198,161,91,.025) 48% 53%,transparent 53% 100%) !important;
}
body:not(.home) .avba-section--form > *{position:relative;z-index:1;}
body:not(.home) .avba-section--form .avba-form-section-copy .avba-kicker{color:var(--avba-gold,#c6a15b)!important;}
body:not(.home) .avba-section--form .avba-form-section-copy h2{color:#f5eee3!important;}
body:not(.home) .avba-section--form .avba-form-section-copy .avba-lead{color:rgba(245,238,227,.72)!important;}

/* Panneau clair : même langage visuel que le formulaire en bas de l'accueil. */
body:not(.home) .avba-section--form .avba-form-panel,
body:not(.home) .avba-section--form .avba-estimation-wrap{
  color:var(--avba-dark,#181310)!important;
}
body:not(.home) .avba-section--form .avba-form-panel{
  padding:30px 34px 32px !important;
  border:1px solid rgba(198,161,91,.26) !important;
  background:var(--avba-paper,#f6f1e8) !important;
  box-shadow:0 24px 60px rgba(0,0,0,.18) !important;
}
body:not(.home) .avba-section--form .avba-estimation-form-intro{
  margin:0 0 16px !important;
  padding:0 0 16px !important;
  border-bottom:1px solid rgba(59,48,42,.13) !important;
}
body:not(.home) .avba-section--form .avba-estimation-form-intro strong{
  display:block !important;
  color:var(--avba-brown,#3b302a) !important;
  font-family:var(--avba-display,Georgia,serif) !important;
  font-size:1.28rem !important;
  font-weight:400 !important;
  line-height:1.2 !important;
}
body:not(.home) .avba-section--form .avba-estimation-form-intro span{
  display:block !important;
  margin-top:5px !important;
  color:var(--avba-taupe,#75675e) !important;
  font-size:.76rem !important;
}
body:not(.home) .avba-section--form .avba-estimation-field,
body:not(.home) .avba-section--form .avba-estimation-choice{padding:7px 0 !important;}
body:not(.home) .avba-section--form .avba-estimation-grid{gap:14px !important;}
body:not(.home) .avba-section--form .avba-estimation-form input[type=text],
body:not(.home) .avba-section--form .avba-estimation-form input[type=email],
body:not(.home) .avba-section--form .avba-estimation-form input[type=tel],
body:not(.home) .avba-section--form .avba-estimation-form input[type=date],
body:not(.home) .avba-section--form .avba-estimation-form select{
  min-height:47px!important;
  padding:11px 12px!important;
  background:#fff!important;
}
body:not(.home) .avba-section--form .avba-estimation-form textarea{
  min-height:105px!important;
  padding:12px!important;
  background:#fff!important;
}
body:not(.home) .avba-section--form .avba-estimation-upload-box{padding:10px!important;}
body:not(.home) .avba-section--form .avba-estimation-upload-trigger{
  grid-template-columns:44px minmax(0,1fr) auto!important;
  gap:12px!important;
  padding:11px 13px!important;
}
body:not(.home) .avba-section--form .avba-estimation-upload-icon{width:44px!important;height:44px!important;font-size:1.4rem!important;}
body:not(.home) .avba-section--form .avba-estimation-upload-button{min-width:100px!important;min-height:38px!important;padding:8px 13px!important;}
body:not(.home) .avba-section--form .avba-estimation-upload-meta{margin-top:8px!important;font-size:.72rem!important;}
body:not(.home) .avba-section--form .avba-estimation-submit{
  width:100%!important;
  min-height:54px!important;
  margin-top:6px!important;
  background:var(--avba-gold,#c6a15b)!important;
  border-color:var(--avba-gold,#c6a15b)!important;
  color:var(--avba-dark,#181310)!important;
}

/* Choix recontact : même correctif propre que sur l'accueil. */
body:not(.home) .avba-section--form .avba-estimation-choice-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}
body:not(.home) .avba-section--form .avba-estimation-choice-grid label{
  position:relative!important;
  display:block!important;
  min-width:0!important;
  min-height:58px!important;
  margin:0!important;
  padding:10px 10px 9px 38px!important;
  box-sizing:border-box!important;
}
body:not(.home) .avba-section--form .avba-estimation-choice-grid input[type=radio]{
  position:absolute!important;
  left:12px!important;
  top:13px!important;
  width:17px!important;
  height:17px!important;
  margin:0!important;
  accent-color:var(--avba-gold,#c6a15b)!important;
}
body:not(.home) .avba-section--form .avba-estimation-choice-grid label > span,
body:not(.home) .avba-section--form .avba-estimation-choice-grid strong,
body:not(.home) .avba-section--form .avba-estimation-choice-grid small{display:block!important;min-width:0!important;white-space:normal!important;}

@media(max-width:760px){
  #formulaire{scroll-margin-top:76px;}
  body:not(.home) .avba-section--form{padding-top:52px!important;padding-bottom:56px!important;}
  body:not(.home) .avba-section--form .avba-form-panel{padding:20px 16px 22px!important;box-shadow:0 16px 38px rgba(0,0,0,.16)!important;}
  body:not(.home) .avba-section--form .avba-estimation-upload-trigger{grid-template-columns:44px minmax(0,1fr)!important;}
  body:not(.home) .avba-section--form .avba-estimation-upload-button{grid-column:1/-1!important;width:100%!important;}
  body:not(.home) .avba-section--form .avba-estimation-choice-grid{grid-template-columns:1fr!important;gap:7px!important;}
  body:not(.home) .avba-section--form .avba-estimation-choice-grid label{min-height:55px!important;padding:9px 10px 8px 38px!important;}
  body:not(.home) .avba-section--form .avba-estimation-choice-grid input[type=radio]{top:12px!important;}
}
