/* Identité visuelle Eskalon (palette et typographie du livre blanc, novembre 2026).
   Chargée après les styles propres à chaque page : elle redéfinit les couleurs communes. */
:root {
  --nuit: #1C1026;
  --foret: #138741;
  --foret-fonce: #0F6B34;
  --nuit-claire: #8B7A99;

  /* Couleurs des 5 styles (fonds clairs, texte en Nuit). Correspondance proposée, à valider. */
  --style-creatif: #FFFA99;
  --style-competitif: #FFA280;
  --style-structure: #B8B8E6;
  --style-cooperatif: #9BE6A0;
  --style-authentique: #FFDD80;

  /* Jetons utilisés par les pages existantes */
  --primary: #1C1026;
  --primary-light: #3A2A4A;
  --accent: #138741;
  --accent-hover: #0F6B34;
  --mint: #9BE6A0;
  --lavender: #B8B8E6;
  --yellow-soft: #FFFA99;
  --green: #9BE6A0;
  --blue: #B8B8E6;
  --yellow: #FFFA99;
  --gold: #FFDD80;
  --night-light: #8B7A99;
  --text-dark: #1C1026;
  --text-muted: #5C4E69;
}

/* Fraunces italique : citations et mission seulement */
.citation,
.quote-callout p,
.testimonial-quote,
.mission-quote,
blockquote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
}

/* Bloc « contacter » de la calculatrice : texte Nuit sur fond clair */
.esk-roi .contact-bloc { background: var(--style-authentique); }

/* Pastilles de style (remplacent les émojis) */
.pastille-style {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: -1px;
  border: 1px solid rgba(28, 16, 38, 0.15);
  flex: 0 0 auto;
}
.pastille-style.creatif     { background: var(--style-creatif); }
.pastille-style.competitif  { background: var(--style-competitif); }
.pastille-style.structure   { background: var(--style-structure); }
.pastille-style.cooperatif  { background: var(--style-cooperatif); }
.pastille-style.authentique { background: var(--style-authentique); }

/* Cartes des 5 styles */
.styles-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  margin-top: 50px;
}
.style-card {
  border-radius: 18px;
  padding: 26px 22px;
  color: var(--nuit);
  border: 1px solid rgba(28, 16, 38, 0.08);
}
.style-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--nuit);
}
.style-card p { font-size: 15px; line-height: 1.55; color: var(--nuit); }
.style-card.creatif     { background: var(--style-creatif); }
.style-card.competitif  { background: var(--style-competitif); }
.style-card.structure   { background: var(--style-structure); }
.style-card.cooperatif  { background: var(--style-cooperatif); }
.style-card.authentique { background: var(--style-authentique); }
.styles-cards-link { text-align: center; margin-top: 30px; }
.styles-cards-link a { color: var(--foret); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--foret); }

/* Anatomie du modèle : 5 styles, 3 approches, 30 capacités, 150 talents */
.anatomie {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 40px auto 0;
  align-items: stretch;
}
.anatomie-etape {
  background: #ffffff;
  border: 1px solid var(--border-light, #e8e4dc);
  border-top: 4px solid var(--foret);
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  position: relative;
}
.anatomie-etape .chiffre { font-size: 44px; font-weight: 700; color: var(--nuit); line-height: 1; }
.anatomie-etape .nom { font-weight: 700; color: var(--nuit); margin-top: 6px; }
.anatomie-etape .detail { font-size: 13px; color: var(--text-muted); margin-top: 6px; line-height: 1.45; }
.anatomie-etape:not(:last-child)::after {
  content: '\2192';
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--foret);
  font-weight: 700;
  z-index: 2;
}
@media (max-width: 720px) {
  .anatomie { grid-template-columns: 1fr 1fr; }
  .anatomie-etape:not(:last-child)::after { display: none; }
}

/* Confiance par conception : deux colonnes */
.confiance-colonnes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 980px;
  margin: 50px auto 0;
}
.confiance-col {
  border-radius: 20px;
  padding: 34px 30px;
}
.confiance-col h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
}
.confiance-col ul { list-style: none; margin: 0; padding: 0; }
.confiance-col li { padding: 9px 0 9px 28px; position: relative; font-size: 16px; line-height: 1.55; }
.confiance-col li::before { content: ''; position: absolute; left: 0; top: 16px; width: 12px; height: 12px; border-radius: 50%; }
.confiance-col.personne { background: var(--nuit); color: #ffffff; }
.confiance-col.personne h3 { color: #ffffff; }
.confiance-col.personne li::before { background: var(--style-cooperatif); }
.confiance-col.organisation { background: #ffffff; color: var(--nuit); border: 2px solid var(--border-light, #e8e4dc); }
.confiance-col.organisation h3 { color: var(--nuit); }
.confiance-col.organisation li::before { background: var(--foret); }
.confiance-frontiere { text-align: center; max-width: 760px; margin: 30px auto 0; font-size: 18px; color: var(--nuit); font-weight: 600; }
@media (max-width: 768px) { .confiance-colonnes { grid-template-columns: 1fr; } }

/* Règles de confidentialité en six icônes */
.regles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
  margin-top: 50px;
}
.regle {
  background: #ffffff;
  border: 1px solid var(--border-light, #e8e4dc);
  border-radius: 18px;
  padding: 26px 24px;
}
.regle-icone {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(19, 135, 65, 0.1);
  color: var(--foret);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.regle-icone svg { width: 26px; height: 26px; }
.regle h3 { font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 700; color: var(--nuit); margin-bottom: 8px; }
.regle p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

/* Bulles de questions */
.bulles {
  max-width: 760px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bulle {
  background: #ffffff;
  border: 1px solid var(--border-light, #e8e4dc);
  border-radius: 22px 22px 22px 6px;
  padding: 18px 24px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--nuit);
  max-width: 88%;
  box-shadow: 0 6px 18px rgba(28, 16, 38, 0.06);
}
.bulle:nth-child(even) { align-self: flex-end; border-radius: 22px 22px 6px 22px; background: rgba(155, 230, 160, 0.35); }

/* Encadré des limites */
.limites {
  max-width: 820px;
  margin: 36px auto 0;
  background: #ffffff;
  border-left: 6px solid var(--foret);
  border-radius: 16px;
  padding: 26px 30px;
}
.limites h3 { font-family: 'DM Sans', sans-serif; font-size: 19px; font-weight: 700; color: var(--nuit); margin-bottom: 10px; }
.limites p, .limites li { font-size: 16px; line-height: 1.65; color: var(--text-muted); }
.limites ul { margin: 8px 0 0 20px; }

/* Icônes simples (remplacent les émojis des cartes) */
.icone-simple svg { width: 30px; height: 30px; color: var(--foret); }

/* Avis sous le formulaire public */
.form-avis { font-size: 13px; line-height: 1.6; color: var(--text-muted); margin-top: 24px; text-align: left; }

/* Mention de scénario illustratif */
.scenario-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--foret);
  margin-bottom: 14px;
}
