.elementor-3510 .elementor-element.elementor-element-1c7dd391{--display:flex;}.elementor-3510 .elementor-element.elementor-element-1c7dd391:not(.elementor-motion-effects-element-type-background), .elementor-3510 .elementor-element.elementor-element-1c7dd391 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://tralconstruction.com/wp-content/uploads/2020/11/png-img-18.png");}.elementor-3510 .elementor-element.elementor-element-2fb297c{text-align:center;}.elementor-3510 .elementor-element.elementor-element-b934cb7 .wpcf7-submit{color:#030303;}/* Start custom CSS for heading, class: .elementor-element-2fb297c *//* Fix the section containing the form */
.contact_page1,
.contact_page1__wrap,
section:has(.contact_page1__item) {
  position: relative !important;
  z-index: 10 !important;
  background: #fff !important;
}

/* Fix the row containing the form */
.contact_page1 .row,
.wpcf7 .row {
  position: relative !important;
  z-index: 10 !important;
}

/* Fix each input field */
.contact_page1__item {
  position: relative !important;
  z-index: 11 !important;
  background: #fff !important;
  isolation: isolate !important;
}

/* Ensure inputs are fully clickable and on top */
.contact_page1__item input[type="text"],
.contact_page1__item input[type="email"],
.contact_page1__item input[type="tel"],
.contact_page1__item textarea,
.wpcf7 input[name="text-prenom"],
.wpcf7 input[name="text-nom"] {
  position: relative !important;
  z-index: 12 !important;
  background: #fff !important;
  pointer-events: auto !important;
  cursor: text !important;
}

/* Push the BACK background section behind */
.elementor-widget-container:has(.wpcf7) {
  position: relative !important;
  z-index: 10 !important;
  background: #fff !important;
}

/* Kill any background image bleed on parent sections */
.elementor-section:has(.wpcf7) .elementor-background-overlay,
.elementor-section:has(.wpcf7) .elementor-motion-effects-container {
  z-index: -1 !important;
}


/* ── HEADER TOP BAR ── */
.header__top1__left {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 16px !important;
}
.header__top1__left span {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}
.header__top1__left span i {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}
.header__top1__left span a {
  display: inline !important;
  white-space: nowrap !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 9 !important;
}

/* ── FORM FIELDS ── */

/* Fix icon blocking input clicks */
.contact_page1__item {
  position: relative !important;
  z-index: 1 !important;
  background: #fff !important;
}

.contact_page1__item input,
.contact_page1__item textarea {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  pointer-events: auto !important;
  cursor: text !important;
}

/* Icon positioned behind input — not blocking */
.contact_page1__item i {
  position: absolute !important;
  right: 15px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* Fix background bleed-through on focus */
.contact_page1__item input:focus,
.contact_page1__item textarea:focus {
  position: relative !important;
  z-index: 3 !important;
  background: #fff !important;
  outline: none !important;
}

/* Phone — numbers only via pattern */
input[name="tel-phone"] {
  inputmode: numeric !important;
}

/* ── CORPS DE MÉTIER ── */
.corps-label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
  margin-top: 15px !important;
  color: #1b5bb5 !important;
  font-size: 15px !important;
  width: 100% !important;
}

/* Nice Select styling */
.wpcf7-form-control-wrap[data-name="y-corps"] select {
  display: none !important;
}
.wpcf7-form-control-wrap[data-name="y-corps"] .nice-select {
  width: 100% !important;
  height: 55px !important;
  line-height: 55px !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  font-size: 15px !important;
  color: #333 !important;
  background-color: #fff !important;
  padding: 0 15px !important;
  float: none !important;
  display: block !important;
}
.wpcf7-form-control-wrap[data-name="y-corps"] .nice-select .list {
  width: 100% !important;
  max-height: 300px !important;
  overflow-y: auto !important;
  border-radius: 4px !important;
  z-index: 999 !important;
}
.wpcf7-form-control-wrap[data-name="y-corps"] .nice-select .list .option {
  padding: 8px 15px !important;
  font-size: 14px !important;
  color: #333 !important;
}
.wpcf7-form-control-wrap[data-name="y-corps"] .nice-select .list .option[data-value*="PHASE"],
.wpcf7-form-control-wrap[data-name="y-corps"] .nice-select .list .option[data-value*="SECOND"] {
  font-weight: bold !important;
  color: #1b5bb5 !important;
  background-color: #f0f4ff !important;
  pointer-events: none !important;
  cursor: default !important;
}
.wpcf7-form-control-wrap[data-name="y-corps"] .nice-select .list .option:hover {
  background-color: #e8f0fe !important;
  color: #1b5bb5 !important;
}/* End custom CSS */
/* Start custom CSS for cf7, class: .elementor-element-b934cb7 *//* ================================================
   SECTION & WRAPPER
   ================================================ */
.contact_page1,
.contact_page1__wrap,
section:has(.contact_page1__item) {
  position: relative !important;
  z-index: 10 !important;
  background: #fff !important;
}

.contact_page1 .row,
.wpcf7 .row {
  position: relative !important;
  z-index: 10 !important;
}

.elementor-widget-container:has(.wpcf7) {
  position: relative !important;
  z-index: 10 !important;
  background: #fff !important;
}

.elementor-section:has(.wpcf7) .elementor-background-overlay,
.elementor-section:has(.wpcf7) .elementor-motion-effects-container {
  z-index: -1 !important;
}

/* ================================================
   FORM ITEM WRAPPER
   ================================================ */
.contact_page1__item {
  position: relative !important;
  z-index: 11 !important;
  background: #fff !important;
  isolation: isolate !important;
}

/* ================================================
   THE <p> TAG — POSITIONING CONTEXT FOR ICON
   ================================================ */
.contact_page1__item p {
  position: relative !important;
  margin: 0 !important;
}

/* Hide the <br> that pushes icon onto a new line */
.contact_page1__item p br {
  display: none !important;
}

/* ================================================
   INPUT & TEXTAREA FIELDS
   ================================================ */
.contact_page1__item p > .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
}

.contact_page1__item input[type="text"],
.contact_page1__item input[type="email"],
.contact_page1__item input[type="tel"],
.contact_page1__item textarea,
.wpcf7 input[name="text-prenom"],
.wpcf7 input[name="text-nom"] {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  background: #fff !important;
  pointer-events: auto !important;
  cursor: text !important;
}

.contact_page1__item input:focus,
.contact_page1__item textarea:focus {
  position: relative !important;
  z-index: 3 !important;
  background: #fff !important;
  outline: none !important;
}

/* Phone — numeric keyboard on mobile */
input[name="tel-phone"] {
  inputmode: numeric !important;
}

/* ================================================
   ICONS — OVERLAID ON RIGHT SIDE OF FIELD
   ================================================ */
.contact_page1__item p > i {
  position: absolute !important;
  right: 15px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 3 !important;
  pointer-events: none !important;
  color: #f0a500 !important;
  font-size: 16px !important;
}

/* Textarea icon — pin to top-right instead of vertical center */
.contact_page1__textarea p > i {
  top: 20px !important;
  transform: none !important;
}

/* ================================================
   HEADER TOP BAR
   ================================================ */
.header__top1__left {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 16px !important;
}

.header__top1__left span {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}

.header__top1__left span i {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.header__top1__left span a {
  display: inline !important;
  white-space: nowrap !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 9 !important;
}

/* ================================================
   CORPS DE MÉTIER — LABEL
   ================================================ */
.corps-label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
  margin-top: 15px !important;
  color: #1b5bb5 !important;
  font-size: 15px !important;
  width: 100% !important;
}

/* Hide stray <br> tags inside corps-label */
.corps-label br {
  display: none !important;
}

/* ================================================
   CORPS DE MÉTIER — MULTISELECT
   ================================================ */

/* Hide nice-select — incompatible with multiple */
.wpcf7-form-control-wrap[data-name="y-corps"] .nice-select {
  display: none !important;
}



/* Individual option items */
.wpcf7-form-control-wrap[data-name="y-corps"] select option {
  padding: 8px 15px !important;
  font-size: 14px !important;
  color: #333 !important;
  background-color: #fff !important;
  cursor: pointer !important;
}

/* Selected option highlight */
.wpcf7-form-control-wrap[data-name="y-corps"] select option:checked {
  background-color: #1b5bb5 !important;
  color: #fff !important;
}

/* Hover state */
.wpcf7-form-control-wrap[data-name="y-corps"] select option:hover {
  background-color: #e8f0fe !important;
  color: #1b5bb5 !important;
}

/* Focus state on the select box */
.wpcf7-form-control-wrap[data-name="y-corps"] select:focus {
  border-color: #1b5bb5 !important;
  box-shadow: 0 0 0 3px rgba(27, 91, 181, 0.15) !important;
  outline: none !important;
}

/* ================================================
   CORPS DE MÉTIER — HINT TEXT
   ================================================ */
.corps-hint {
  margin-top: 8px !important;
  font-size: 13px !important;
  color: #888 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.corps-hint i {
  color: #1b5bb5 !important;
  font-size: 13px !important;
}

.corps-hint kbd {
  background: #f0f0f0 !important;
  border: 1px solid #ccc !important;
  border-radius: 3px !important;
  padding: 1px 5px !important;
  font-size: 12px !important;
  color: #333 !important;
  font-family: monospace !important;
}


/* ================================================
   CORPS DE MÉTIER — CUSTOM CHECKBOX LIST
   ================================================ */

.corps-checkbox-list {
  width: 100% !important;
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  background: #fff !important;
  max-height: 280px !important;
  overflow-y: auto !important;
  padding: 8px 0 !important;
}

/* Section headers */
.corps-section-header {
  padding: 10px 16px 4px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #1b5bb5 !important;
  background: #f0f5ff !important;
  border-top: 1px solid #e0e8ff !important;
  border-bottom: 1px solid #e0e8ff !important;
  margin: 4px 0 !important;
}

/* Each checkbox row */
.corps-checkbox-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 9px 16px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  color: #333 !important;
  transition: background 0.15s ease !important;
  user-select: none !important;
  border-bottom: 1px solid #f5f5f5 !important;
}

.corps-checkbox-item:last-child {
  border-bottom: none !important;
}

.corps-checkbox-item:hover {
  background: #f0f5ff !important;
  color: #1b5bb5 !important;
}

/* Custom checkbox styling */
.corps-checkbox-item input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  accent-color: #1b5bb5 !important;
  cursor: pointer !important;
  border-radius: 3px !important;
  margin: 0 !important;
}

/* Checked row highlight */
.corps-checkbox-item:has(input:checked) {
  background: #e8f0fe !important;
  color: #1b5bb5 !important;
  font-weight: 600 !important;
}

/* Scrollbar styling */
.corps-checkbox-list::-webkit-scrollbar {
  width: 6px !important;
}
.corps-checkbox-list::-webkit-scrollbar-track {
  background: #f5f5f5 !important;
}
.corps-checkbox-list::-webkit-scrollbar-thumb {
  background: #1b5bb5 !important;
  border-radius: 3px !important;
}

/* Also update the hint text */
.corps-hint {
  margin-top: 8px !important;
  font-size: 13px !important;
  color: #888 !important;
}/* End custom CSS */