/**
 * Page questionnaire-canada — styles éditeur HubSpot + fond de section formulaire
 */

.dnd_area-row-0-max-width-section-centering > .row-fluid {
  max-width: 1260px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.dnd_area-row-0-background-layers {
  background-image: linear-gradient(rgba(42, 48, 69, 1), rgba(42, 48, 69, 1)) !important;
  background-position: left top !important;
  background-size: auto !important;
  background-repeat: no-repeat !important;
}

.body-website-wrapper .body-container {
  padding-left: 0;
  padding-right: 0;
  max-width: none;
  width: 100%;
}

@media (min-width: 768px) {
  .dnd_area-row-0-vertical-alignment > .row-fluid {
    display: flex !important;
    flex-direction: row;
  }
  .cell_1609970559499-vertical-alignment,
  .cell_1609730663341-vertical-alignment {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }
}

#hs_cos_wrapper_widget_1609970559396 {
  border: 3px solid #fff !important;
  display: block !important;
  padding: 20px !important;
}

#hs_cos_wrapper_widget_1609970559396 label:not(.hs-error-msg) {
  color: #fff !important;
  font-size: 15px !important;
  line-height: 15px !important;
}

#hs_cos_wrapper_widget_1609970559396 .hs-richtext,
#hs_cos_wrapper_widget_1609970559396 .form-title,
#hs_cos_wrapper_widget_1609970559396 .submitted-message {
  color: #fff !important;
  line-height: 18px !important;
}

#hs_cos_wrapper_widget_1609970559396 input[type="text"],
#hs_cos_wrapper_widget_1609970559396 input[type="email"],
#hs_cos_wrapper_widget_1609970559396 textarea,
#hs_cos_wrapper_widget_1609970559396 select {
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}

/* Formulaire Zoho (remplace HubSpot) */
.questionnaire-form-root {
  width: 100%;
}

.questionnaire-form .hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.questionnaire-form .hs-form-field {
  margin-bottom: 18px;
}

.questionnaire-form label {
  display: block;
  color: #fff !important;
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.questionnaire-form .required {
  color: #69f;
}

.questionnaire-form input[type="text"],
.questionnaire-form input[type="email"],
.questionnaire-form input[type="tel"],
.questionnaire-form textarea,
.questionnaire-form select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 15px;
  color: #222;
  background: #fff;
}

.questionnaire-radio-group,
.questionnaire-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.questionnaire-radio-label,
.questionnaire-checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  font-weight: 400;
  cursor: pointer;
}

.questionnaire-radio-label input,
.questionnaire-checkbox-label input {
  margin-top: 4px;
  flex-shrink: 0;
}

.questionnaire-radio-label span,
.questionnaire-checkbox-label span {
  flex: 1;
}

.questionnaire-submit {
  margin-top: 24px;
  text-align: left;
}

.questionnaire-submit .theme-btn {
  cursor: pointer;
  border: none;
  padding: 12px 28px;
  font-size: 16px;
}

.questionnaire-form-message {
  color: #fff;
  padding: 10px 0 20px;
  line-height: 1.5;
}

.questionnaire-form-message--error {
  color: #ffb4b4;
}
