/* Cercle Ysée - demande de cooptation (28/10/2026). Présentation aérée :
   titres centrés, cartes ivoire, frise verticale à pastilles et filet or. */
.coopt-narrow { max-width: var(--max-w-narrow); }
.coopt-ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.2rem; }
.coopt-h2 { font-family: var(--font-serif); font-weight: 400; font-style: italic; font-size: clamp(1.8rem, 4vw, 2.5rem); text-align: center; color: var(--text); margin-bottom: 1rem; }
.coopt-lead { text-align: center; color: var(--text-muted); line-height: 1.7; max-width: 56ch; margin: 0 auto 1rem; }

/* Frise du parcours */
.frise { list-style: none; margin: 3.5rem 0 0; padding: 0 0 0 2rem; position: relative; }
.frise::before { content: ''; position: absolute; left: 6px; top: .6rem; bottom: .6rem; width: 1px; background: var(--gold); }
.frise-item { position: relative; padding-bottom: 2.6rem; text-align: justify; }
.frise-item:last-child { padding-bottom: 0; }
.frise-item::before { content: ''; position: absolute; left: calc(-2rem + 1px); top: .45rem; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px #fff; }
.frise-item--option::before { background: #fff; border: 1px solid var(--gold-dark); }
.frise-kicker { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: #6E572B; margin-bottom: .35rem; }
.frise-titre { font-family: var(--font-serif); font-weight: 500; font-size: 1.45rem; color: var(--text); margin-bottom: .4rem; }
.frise-item p { color: var(--text); line-height: 1.6; }

/* Formulaire */
.coopt-form-section form { margin-top: 3rem; }
.coopt-card { border: 0; margin: 0 0 2.2rem; padding: clamp(1.6rem, 4vw, 2.6rem); background: #FBF8F1; min-width: 0; }
.coopt-legend { float: left; width: 100%; font-family: var(--font-serif); font-style: italic; font-size: 1.7rem; text-align: center; color: var(--text); margin-bottom: .6rem; }
.coopt-legend + * { clear: both; }
.coopt-note { text-align: center; color: var(--text-muted); font-size: .95rem; line-height: 1.6; margin-bottom: 1.8rem; }
.coopt-q { font-weight: 500; color: var(--text); margin: 1.8rem 0 .8rem; line-height: 1.5; }
.coopt-opt { font-weight: 400; color: var(--text-muted); }
.coopt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; margin-top: 1.2rem; }
.coopt-grid .field--full { margin-top: 0; }
.field label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #6E572B; }
.field input, .field select, .field textarea, .tel select, .tel input {
  font: inherit; font-size: 16px; color: #000; background: #fff; border: 1px solid rgba(110, 87, 43, .35);
  padding: .75rem .9rem; border-radius: 2px; width: 100%; min-width: 0;
}
.field input:focus, .field select:focus, .field textarea:focus, .tel select:focus, .tel input:focus { outline: 2px solid var(--gold-dark); outline-offset: 1px; }
.tel { display: grid; grid-template-columns: minmax(0, 11rem) 1fr; gap: .6rem; }

/* Choix (cases et réponses) */
.choix, .question { display: grid; gap: .5rem; }
.choix label, .question label, .engage {
  display: flex; gap: .75rem; align-items: flex-start; padding: .7rem .9rem; background: #fff;
  border: 1px solid rgba(110, 87, 43, .18); border-radius: 2px; cursor: pointer; line-height: 1.5; color: #000;
  transition: border-color .2s, background .2s;
}
.choix label:hover, .question label:hover, .engage:hover { border-color: var(--gold-dark); }
.choix input, .question input, .engage input { accent-color: #6E572B; width: 18px; height: 18px; flex: 0 0 18px; margin-top: .15rem; }
.choix label:has(input:checked), .question label:has(input:checked), .engage:has(input:checked) { border-color: var(--gold-dark); background: #FFFDF8; }
.question label.nsp { background: transparent; color: var(--text-muted); }
.engage { margin-top: .6rem; text-align: justify; }
.strate { margin-top: 2.2rem; }
.strate:first-child { margin-top: 0; }
.strate-titre { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: #6E572B; text-align: center; padding-bottom: .8rem; border-bottom: 1px solid #6E572B; margin-bottom: .4rem; }
.question { margin-bottom: 1rem; }
.invalide input, .invalide textarea, .question.invalide label, .engage.invalide { border-color: #8A1C1C; }
.question.invalide .coopt-q, .invalide > label { color: #8A1C1C; }
.coopt-erreur { color: #8A1C1C; text-align: center; font-weight: 500; margin: 1rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Résultat */
.coopt-resultat { text-align: center; padding: clamp(2rem, 5vw, 3.2rem) clamp(1.2rem, 4vw, 2.6rem); background: #FBF8F1; margin-top: 3rem; outline: none; }
.score { font-family: var(--font-serif); color: #6E572B; margin: 1rem 0 .4rem; }
#r-score { font-size: clamp(3.6rem, 10vw, 5rem); line-height: 1; }
.score-sur { font-size: 1.3rem; margin-left: .4rem; }
.score-niveau { font-family: var(--font-serif); font-style: italic; font-size: 1.45rem; color: var(--text); margin-bottom: 1rem; }

@media (max-width: 640px) {
  .coopt-grid { grid-template-columns: 1fr; }
  .tel { grid-template-columns: 1fr; }
  .coopt-ctas .btn { width: 100%; justify-content: center; }
}

/* L'exercice de la contribution */
.contrib-texte { font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; line-height: 1.6; color: #000; text-align: justify; margin: 1.4rem auto 0; max-width: 56ch; }
