/**
 * Clé des Anges — Bilans payants (module générique).
 * Complète tirage.css / tarot.css (cartes, pioche, gate, .cda-recap réutilisés).
 * Taille de police héritée du site (règle maison : ne pas figer la font-size du texte).
 */

.cda-bilan-form {
  display: flex;
  flex-direction: column;
  gap: 1.1em;
  margin: 1.4em 0;
}

.cda-bilan-champ {
  display: flex;
  flex-direction: column;
  gap: .4em;
}
.cda-bilan-champ > span {
  font-weight: 600;
  letter-spacing: .01em;
}

.cda-bilan-champ input[type="text"],
.cda-bilan-champ input[type="email"],
.cda-bilan-champ input[type="date"],
.cda-bilan-champ select {
  width: 100%;
  padding: .7em .9em;
  border: 1px solid rgba(176, 130, 46, .3);
  border-radius: .6em;
  background: rgba(255, 255, 255, .6);
  font: inherit;
  color: inherit;
}

/* Cases de focus (Thème de l'année). */
.cda-bilan-focus {
  display: flex;
  flex-wrap: wrap;
  gap: .55em;
}
.cda-bilan-check {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .5em .8em;
  border: 1px solid rgba(176, 130, 46, .28);
  border-radius: 999px;
  cursor: pointer;
}
.cda-bilan-check input { accent-color: #b0822e; }

/* Bloc « l'autre personne » repliable. */
.cda-bilan-autre {
  border: 1px dashed rgba(176, 130, 46, .35);
  border-radius: .7em;
  padding: .4em .9em;
}
.cda-bilan-autre summary {
  cursor: pointer;
  font-weight: 600;
  color: #a85a62;
  padding: .3em 0;
}
.cda-bilan-autre .cda-bilan-champ { margin-top: .6em; }

/* Zone de tirage (après paiement). */
.cda-bilan-tirage { text-align: center; margin: 1.4em 0; }
.cda-bilan-tirage-titre {
  font-weight: 600;
  color: #a85a62;
  margin-bottom: .6em;
}

/* Rapport rendu (titres ### → sous-titres, comme les exemples). */
.cda-bilan-rapport { margin-top: 1.2em; line-height: 1.72; }
.cda-bilan-rapport p { margin: .55em 0; }
.cda-bilan-h3 {
  margin: 1.5em 0 .2em;
  font-weight: 700;
  font-size: .82em;            /* relatif : proportionnel au texte hérité */
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a85a62;
}

.cda-bilan-message {
  text-align: center;
  color: #7a5a1e;
  margin: 1em 0 0;
  min-height: 1.4em;
}

/* Bouton « Télécharger en PDF » sous le rapport. */
.cda-bilan-pdf {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 2em auto 0;
  padding: .8em 1.8em;
  border-radius: 999px;
  background: linear-gradient(110deg, #e9b9b6, #d99a9e);
  color: #281c28;
  font-weight: 600;
  text-decoration: none;
}
.cda-bilan-pdf:hover { filter: brightness(1.04); }

@media (prefers-color-scheme: dark) {
  .cda-bilan-champ input,
  .cda-bilan-champ select { background: rgba(255, 255, 255, .06); }
  .cda-bilan-tirage-titre,
  .cda-bilan-autre summary,
  .cda-bilan-h3 { color: #e7a9ae; }
}
