:root {
  font-family: Inter, Arial, sans-serif;
  color: #1c2936;
  background: #f5f7fa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.55;
}
.wrap {
  max-width: 1100px;
  margin: auto;
  padding: 0 22px;
}
.site {
  background: #102c46;
  color: white;
  padding: 18px 0;
}
.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.site strong {
  font-size: 18px;
}
.site strong span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
}
.site a {
  color: #fff;
  margin-left: 18px;
  text-decoration: none;
}
main {
  padding-top: 42px !important;
  padding-bottom: 50px !important;
}
.eyebrow {
  color: #0a6c7b;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 800;
}
h1 {
  font-size: clamp(29px, 4vw, 43px);
  line-height: 1.16;
  max-width: 820px;
  margin: 12px 0 16px;
}
h2 {
  font-size: 22px;
  margin: 0;
}
.intro {
  font-size: 17px;
  max-width: 850px;
  color: #526274;
}
.notice {
  padding: 19px 22px;
  border-left: 4px solid #b98223;
  background: #fff6e7;
  border-radius: 6px;
  margin: 26px 0;
}
.panel,
.results {
  background: #fff;
  border: 1px solid #e2e8ef;
  border-radius: 13px;
  padding: 27px;
  margin: 20px 0;
  box-shadow: 0 5px 16px #0e25320a;
}
.section-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}
.section-head span {
  background: #e8f4f6;
  color: #006b7c;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 25px;
}
label {
  font-size: 14px;
  font-weight: 650;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
input,
select {
  width: 100%;
  border: 1px solid #bcc9d5;
  border-radius: 7px;
  background: white;
  padding: 12px;
  font: inherit;
  color: #1c2936;
}
input:focus,
select:focus {
  outline: 2px solid #1e7e92;
  outline-offset: 1px;
}
.hint {
  color: #657585;
  font-size: 14px;
}
.actions {
  display: flex;
  gap: 12px;
  margin: 25px 0;
}
button {
  border: 0;
  background: #086b7f;
  color: white;
  border-radius: 8px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
}
button.secondary {
  background: #e8edf2;
  color: #213d51;
}
.result-card {
  border: 1px solid #e0e8ef;
  border-radius: 10px;
  padding: 19px;
  margin: 14px 0;
}
.result-card h3 {
  margin: 0 0 9px;
}
.result-card p {
  margin: 8px 0;
}
.result-card ul {
  margin: 10px 0;
  padding-left: 23px;
}
.status {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.good {
  color: #12744e;
}
.warn {
  color: #97601b;
}
.bad {
  color: #a32e38;
}
.sources a {
  color: #075f83;
}
footer {
  background: #102c46;
  color: #e1e8ef;
  padding: 22px 0;
  font-size: 13px;
}
@media (max-width: 680px) {
  .fields {
    grid-template-columns: 1fr;
  }
  .site .wrap {
    display: block;
  }
  .site nav {
    margin-top: 12px;
  }
  .site a {
    margin: 0 12px 0 0;
  }
  .panel,
  .results {
    padding: 20px;
  }
  .actions {
    flex-wrap: wrap;
  }
}
@media print {
  .site,
  .actions,
  .sources,
  footer,
  .results button {
    display: none !important;
  }
  form {
    display: none;
  }
  .results {
    box-shadow: none;
    border: 0;
  }
}
/* Questionnaire unifié Québec - styles limités au contenu d'évaluation */
#assessment [hidden],
#spouse-details[hidden],
#assessment label[hidden] {
  display: none !important;
}
.progress-note {
  padding: 14px 18px;
  border-radius: 10px;
  background: #eaf4f6;
  color: #164b59;
  font-weight: 650;
  margin: 20px 0;
}
#assessment .panel {
  scroll-margin-top: 90px;
}
#assessment input:invalid:not(:placeholder-shown) {
  border-color: #ad5555;
}
@media print {
  .progress-note,
  .notice {
    display: none !important;
  }
}
