/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--forest); transition: color 0.18s; }
.breadcrumb a:hover { color: var(--forest-deep); }
.breadcrumb svg { stroke: var(--ink-soft); flex: none; }

/* ─── PAGE INTRO ─── */
.syn-intro {
  background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
  padding: 10px 0 36px;
  border-bottom: 1px solid var(--line);
}
.syn-intro h1 { font-size: 2.4rem; margin-bottom: 10px; }
.syn-intro p { font-size: 1rem; color: var(--ink-soft); max-width: 650px; }
.syn-intro .wrap,
.syn-section .wrap { max-width: 980px; }

/* ─── SECTION ─── */
.syn-section {
  padding: 56px 0 80px;
  background: var(--cream-2);
}

/* ─── TOP BAR (titre + reset) ─── */
.syn-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.syn-bar-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 500;
}
#synReset {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--line);
  transition: color 0.18s, border-color 0.18s;
}
#synReset:hover { color: #c94040; border-color: #c94040; }

/* ─── GRID ─── */
.syn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ─── CARD ─── */
.syn-card {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 24px 26px 20px;
  box-shadow: var(--shadow-sm);
}
.syn-card-title {
  font-family: "Mulish", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--forest);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.syn-card-title svg {
  width: 15px;
  height: 15px;
  stroke: var(--forest);
  flex: none;
}

/* ─── CHECKLIST ─── */
.syn-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.syn-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 7px 8px;
  border-radius: 8px;
  transition: background 0.15s;
  user-select: none;
}
.syn-item:hover { background: var(--cream-2); }
.syn-cb { display: none; }
.syn-mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 1px;
  transition: background 0.18s, border-color 0.18s;
}
.syn-mark svg {
  width: 10px;
  height: 10px;
  stroke: var(--paper);
  stroke-width: 2.8;
  opacity: 0;
  transition: opacity 0.15s;
}
.syn-item:has(.syn-cb:checked) .syn-mark {
  background: var(--forest);
  border-color: var(--forest);
}
.syn-item:has(.syn-cb:checked) .syn-mark svg { opacity: 1; }
.syn-item-text {
  font-size: 0.91rem;
  color: var(--ink-soft);
  line-height: 1.5;
  transition: opacity 0.18s, text-decoration 0.18s;
}
.syn-item:has(.syn-cb:checked) .syn-item-text {
  text-decoration: line-through;
  opacity: 0.45;
}
.syn-item-text a {
  color: var(--forest);
  font-weight: 600;
  text-decoration: underline;
}
.syn-item-text a:hover { color: var(--forest-deep); }

/* ─── NOTE ─── */
.syn-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 12px;
  border-left: 3px solid var(--box-infos);
  border-radius: 0 6px 6px 0;
  background: var(--box-infos-light);
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ─── PRINT CTA ─── */
.syn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.syn-cta-text {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 760px) {
  .syn-grid { grid-template-columns: 1fr; }
  .syn-intro h1 { font-size: 1.9rem; }
  .syn-section { padding: 36px 0 60px; }
  .syn-card { padding: 20px; }
  .syn-cta { flex-direction: column; gap: 14px; }
}

/* ─── PRINT (uniquement les éléments cochés) ─── */
@media print {
  header, footer, .syn-intro .breadcrumb, .syn-bar, .syn-cta,
  .account-btn, .user-btn, .pref-btn, .side-actions, .back-top, .drw, .drw-overlay, .pref-overlay {
    display: none !important;
  }
  .syn-grid { grid-template-columns: 1fr 1fr; }
  .syn-card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }

  .syn-note { display: none !important; }
  .syn-list li { display: none !important; }
  .syn-list li:has(.syn-cb:checked) { display: list-item !important; }
  .syn-card:not(:has(.syn-cb:checked)) { display: none !important; }

  .syn-item:has(.syn-cb:checked) .syn-item-text {
    text-decoration: none;
    opacity: 1;
  }
}
