/* Therra : questionnaire d'inscription */
.therra-candidature { max-width: 760px; margin: 0; }
.therra-candidature .therra-section { border: 1.5px solid #e2d6c8; border-radius: 12px; padding: 22px 24px 10px; margin: 0 0 22px; background: #fff; }
.therra-candidature .therra-section > legend { font-weight: 600; font-size: 1.15em; color: #7d4b12; padding: 0 8px; margin-left: -8px; }
.therra-candidature .therra-section > .therra-aide { margin: 0 0 14px; }
.therra-candidature .therra-grille { display: flex; flex-wrap: wrap; gap: 16px 20px; }
.therra-candidature .therra-champ { flex: 1 1 100%; margin: 0 0 4px; }
.therra-candidature .therra-champ.therra-demi { flex: 1 1 calc(50% - 10px); min-width: 220px; }
.therra-candidature .therra-label, .therra-candidature .therra-champ label { font-weight: 600; }
.therra-candidature textarea, .therra-candidature input[type="text"], .therra-candidature input[type="email"], .therra-candidature input[type="tel"] { box-sizing: border-box; padding: 12px 14px; border: 1.5px solid #e2d6c8; border-radius: 8px; font: inherit; width: 100%; background: #fff; }
.therra-candidature textarea:focus, .therra-candidature input:focus { outline: none; border-color: #7d4b12; }
.therra-candidature .therra-options { display: flex; flex-direction: column; gap: 8px; }
.therra-candidature .therra-options-ligne { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; }
.therra-candidature .therra-champ label.therra-option, .therra-candidature .therra-champ label.therra-suite, .therra-candidature .therra-likert-choix label { font-weight: 400; }
.therra-candidature .therra-option { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.therra-candidature .therra-option input { margin-top: 5px; accent-color: #7d4b12; flex: 0 0 auto; }
.therra-candidature .therra-suite { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; font-weight: 400; }
.therra-candidature .therra-suite span { font-size: .92em; opacity: .8; }
.therra-candidature .therra-requis { color: #b17a46; }
.therra-candidature .therra-champ-erreur { display: block; color: #b32d2e; font-size: .9em; margin-top: 4px; }
.therra-candidature .therra-manque textarea, .therra-candidature .therra-manque input[type="text"], .therra-candidature .therra-manque input[type="email"], .therra-candidature .therra-manque input[type="tel"] { border-color: #b32d2e; }
.therra-candidature .therra-manque > .therra-label, .therra-candidature .therra-manque > label { color: #b32d2e; }
.therra-candidature .therra-site-web { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.therra-candidature .therra-champ-conditions label { font-weight: 400; }
.therra-candidature .therra-champ-conditions a { color: #7d4b12; }

/* Échelle éthique */
.therra-likert-liste { list-style: none; margin: 0; padding: 0; counter-reset: aff; }
.therra-likert-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid #efe6da; counter-increment: aff; }
.therra-likert-item:first-child { border-top: 0; }
.therra-likert-texte { flex: 1 1 auto; }
.therra-likert-texte::before { content: counter(aff) ". "; color: #b17a46; font-weight: 600; }
.therra-likert-choix { display: flex; gap: 6px; flex: 0 0 auto; }
.therra-likert-choix label { position: relative; width: 38px; height: 38px; cursor: pointer; }
.therra-likert-choix input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.therra-likert-choix span { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1.5px solid #e2d6c8; border-radius: 50%; font-weight: 600; color: #7d4b12; background: #fff; transition: background .15s, border-color .15s; }
.therra-likert-choix input:checked + span { background: #7d4b12; border-color: #7d4b12; color: #fff; }
.therra-likert-choix input:focus-visible + span { box-shadow: 0 0 0 3px rgba(125, 75, 18, .25); }
.therra-likert-item.therra-manque .therra-likert-choix span { border-color: #b32d2e; }

.therra-candidature-merci h2 { color: #7d4b12; margin-top: 0; }

@media (max-width: 640px) {
	.therra-candidature .therra-section { padding: 18px 16px 8px; }
	.therra-likert-item { flex-direction: column; align-items: flex-start; gap: 10px; }
	.therra-likert-choix { width: 100%; justify-content: space-between; }
	.therra-likert-choix label, .therra-likert-choix span { width: 44px; height: 44px; }
}
