/* ═══════════════════════════════════════════════════
   CARD-GUIDE.CSS — feuille unique et réutilisable
   pour toutes les fiches-cartes action Uluana (PDF)
   Reprend les variables de marque du site (variables.css)
   ═══════════════════════════════════════════════════ */

@page {
  size: A4;
  margin: 0;
}

* { box-sizing: border-box; }

:root {
  --bg: #F9F8F5;
  --surface: #FFFFFF;
  --border: rgba(0, 0, 0, 0.08);
  --border-md: rgba(0, 0, 0, 0.14);
  --text: #1C1C1A;
  --muted: #6B6B67;
  --faint: #AEADA8;
  --accent: #1C1C1A;
  --green: #0F6E56;
  --green-bg: #E1F5EE;
  --green-text: #085041;
  --amber: #BA7517;
  --amber-bg: #FAEEDA;
  --amber-text: #633806;
  --red-bg: #FCEBEB;
  --red-text: #7A1F1F;
  --red-border: #C74A4A;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'DM Sans', sans-serif;
}

body {
  font-family: var(--body);
  color: var(--text);
  background: var(--surface);
  font-size: 10.5pt;
  line-height: 1.5;
}

.page {
  padding: 34px 42px 30px;
}

/* ── Bloc réutilisable : titre de section ── */
.section {
  margin-top: 22px;
}
.section-title {
  font-family: var(--display);
  font-size: 15pt;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  border-bottom: 1.5px solid var(--border-md);
  padding-bottom: 6px;
}
.section-num {
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  line-height: 22px;
  border-radius: 50%;
  background: var(--text);
  color: var(--surface);
  font-family: var(--body);
  font-size: 10pt;
  font-weight: 700;
  text-align: center;
  margin-right: 8px;
}

/* ── En-tête (bloc 1) ── */
.header {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-bottom: 8px;
}
.header-eyebrow {
  font-size: 8.5pt;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 6px;
}
.header-title {
  font-family: var(--display);
  font-size: 25pt;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 4px;
}
.header-label {
  font-family: var(--display);
  font-style: italic;
  font-size: 13pt;
  color: var(--green-text);
  margin-bottom: 12px;
}
.meta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 8pt;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border-md);
  color: var(--muted);
}
.chip.difficulty { background: var(--amber-bg); color: var(--amber-text); border-color: transparent; }
.chip.category { background: var(--green-bg); color: var(--green-text); border-color: transparent; }

/* ── Prérequis / suite (bandes fines) ── */
.link-strip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 9pt;
  color: var(--muted);
  background: var(--bg);
  border-left: 3px solid var(--border-md);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
}
.link-strip b { color: var(--text); }

/* ── Cadrage : questions de réflexion ── */
.question-list { list-style: none; padding: 0; margin: 0; }
.question {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 8px;
  background: var(--surface);
}
.question-head {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.question-checkbox {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--faint);
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 2px;
}
.question-text { font-weight: 600; font-size: 10pt; }
.question-why { font-size: 9pt; color: var(--muted); margin-top: 4px; margin-left: 22px; font-style: italic; }

/* ── Méthode pas-à-pas ── */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-marker {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 10.5pt;
}
.step-body { flex: 1; }
.step-title { font-weight: 700; font-size: 10.5pt; margin-bottom: 3px; }
.step-content { color: var(--text); font-size: 9.5pt; margin-bottom: 4px; }
.step-reflect {
  font-size: 9pt;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 5px;
}
.step-howto {
  margin: 8px 0 0;
  padding-left: 16px;
  list-style: none;
}
.step-howto li {
  font-size: 8.8pt;
  color: var(--green-text);
  background: var(--green-bg);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  margin-bottom: 5px;
}
.step-howto li:last-child { margin-bottom: 0; }

/* ── Exemples concrets de charte ── */
.charter-examples { display: flex; gap: 12px; }
.charter-example {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}
.charter-example-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11.5pt;
  margin-bottom: 10px;
}
.charter-swatches { display: flex; gap: 8px; margin-bottom: 10px; }
.swatch { flex: 1; text-align: center; }
.swatch-color {
  width: 100%;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-md);
}
.swatch-label { font-size: 7pt; color: var(--muted); margin-top: 3px; line-height: 1.3; }
.charter-detail { font-size: 8.5pt; margin-top: 6px; }
.charter-detail b { color: var(--text); }
.step-checkbox {
  margin-left: auto;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--muted);
  border-radius: 4px;
  flex-shrink: 0;
}

/* ── Premier pas (mise en avant forte) ── */
.first-step {
  background: var(--text);
  color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-top: 22px;
}
.first-step-eyebrow {
  font-size: 8.5pt;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}
.first-step-action { font-family: var(--display); font-size: 15pt; margin-bottom: 10px; }
.first-step-meta { display: flex; gap: 20px; font-size: 9pt; }
.first-step-meta strong { display: block; color: rgba(255,255,255,0.6); font-weight: 500; font-size: 8pt; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }

/* ── Callouts génériques (tips / warning) réutilisés partout ── */
.callout { border-radius: var(--radius-md); padding: 14px 18px; margin-bottom: 10px; }
.callout-title { font-weight: 700; font-size: 10pt; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.callout ul { margin: 0; padding-left: 18px; }
.callout li { margin-bottom: 6px; font-size: 9.5pt; }
.callout li:last-child { margin-bottom: 0; }

.callout.tips { background: var(--green-bg); }
.callout.tips .callout-title { color: var(--green-text); }

.callout.warning { background: var(--red-bg); border: 1.5px solid var(--red-border); }
.callout.warning .callout-title { color: var(--red-text); }

/* ── Preuve sociale ── */
.testimonial {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: var(--surface);
  font-family: var(--display);
  font-weight: 600;
  font-size: 16pt;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 12.5pt;
  line-height: 1.4;
  margin-bottom: 8px;
}
.testimonial-meta { font-size: 9pt; color: var(--muted); }
.testimonial-result {
  margin-top: 8px;
  font-size: 9pt;
  background: var(--green-bg);
  color: var(--green-text);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  display: inline-block;
}

/* ── Mesure de réussite ── */
.metrics { display: flex; flex-direction: column; gap: 8px; }
.metric {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.metric-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-bg); color: var(--green-text);
  display: flex; align-items: center; justify-content: center;
  font-size: 10pt; font-weight: 700; flex-shrink: 0;
}
.metric-label { font-weight: 600; font-size: 9.5pt; }
.metric-detail { font-size: 8.5pt; color: var(--muted); margin-top: 2px; }

/* ── Et après (footer parcours) ── */
.footer-nav {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1.5px solid var(--border-md);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer-col { flex: 1; }
.footer-col-title {
  font-size: 8pt; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 6px; font-weight: 700;
}
.footer-card {
  font-size: 9pt;
  padding: 8px 10px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}
.footer-card b { color: var(--text); }

.brandmark {
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  color: var(--faint);
  font-size: 8.5pt;
  margin-top: 26px;
}
